Skip to content
Snippets Groups Projects
  1. Feb 14, 2024
  2. Feb 12, 2024
  3. Feb 11, 2024
  4. Feb 10, 2024
  5. Feb 09, 2024
    • Deucе's avatar
      Fix crash found by vttest. · 7f309d69
      Deucе authored
      If DL was passed a parameter equal to or greater than the number of
      lines from the current line to the last line in the region, it would
      try to move a negative-sized box up, which resulted in a crash.
      
      This fixes that three ways:
      1) Do not allow moving boxes with negative X/Y sizes
      2) In dellines, clamp the lines to the number that could be deleted
      3) Don't move lines up of all rest of the lines are being deleted
      7f309d69
  6. Feb 08, 2024
  7. Feb 07, 2024
  8. Feb 04, 2024
  9. Jan 31, 2024
  10. Jan 29, 2024
    • Deucе's avatar
      Save disk space at the expense of CPU usage. · 2ca1e4a0
      Deucе authored
      Previously, we compiled in a RGB -> YCbCr table and used that for
      scaling, which added 128MB to the size of binaries that enabled
      non-integer scaling.  The decision was then made to eliminated
      non-integer scaling support from the Synchronet utilities to save
      disk space.
      
      With the use of the YCoCg-R, we can more efficiently transform between
      the colour spaces, (about 50% more CPU than using the table), so
      it's no longer prohibitive to do this in real-time.
      
      This should also have the effect of making the Synchronet utilities
      use the correct aspect ratio for the various screen modes rather
      than forcing the use of square pixels.  I expect DigitalMan will
      hate that.
      2ca1e4a0
    • Deucе's avatar
      Use the YCoCg-R colour space instead of YCbCr. · b7757abd
      Deucе authored
      It seems to provide similar perceptual results, and is much faster
      to transform with RGB.  It's still slower than the table lookup,
      but not crushingly so.
      b7757abd
  11. Jan 21, 2024
  12. Jan 20, 2024
    • Rob Swindell's avatar
      The great BOOL->bool conversion in xpdev · 118984e9
      Rob Swindell authored
      Still using BOOL where we need Win32 API compatibility.
      Using JSBool instead of BOOL or bool where it matters.
      Changed most relevant TRUE/FALSE to true/false too (though it's not as critical).
      
      You shouldn't need to #include <stdbool.h> anywhere now - gen_defs.h should do that automatically/correctly based on the language/version/tool. In C23, stdbool.h isn't even needed for bool/true/false definitions (they're keywords), so we don't bother including stdbool.h in that case.
      Microsoft didn't define __STDC_VERSION__ in their older tool chains (even though they were C99 compatible and had stdbool.h), so we use a _MSC_VER check to know that there's a stdbool.h we should use in that case.
      
      For other/old compilers (e.g. Borland C) we #define bool/true/false following the pattern of stdbool.h (doesn't use a typedef).
      
      I didn't convert UIFC yet.
      
      This addresses issue #698
      118984e9
  13. Dec 29, 2023
  14. Dec 28, 2023
  15. Dec 27, 2023
  16. Dec 25, 2023
  17. Dec 09, 2023
  18. Sep 28, 2023
  19. Aug 03, 2023
    • Deucе's avatar
      Add support for 90-97 and 100-107 SGR parameters · c8243e19
      Deucе authored
      This allows directly setting bright foreground and background colours
      rather than using bold and blink to indirectly modify them.
      
      These do not have an effect if the desired mode is not possible
      (ie: no bright background, no bright foreground).
      c8243e19
  20. Jul 30, 2023
Loading