Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 21 May, 2021 2 commits
    • Deucе's avatar
      Fix newly-introduced memory leak... · a7a1c268
      Deucе authored
      I was going to start keeping the old rect around again, but that
      idea didn't pan out.  This massive memory leak is what I get for
      not doing more commits while tuning.
      a7a1c268
    • Deucе's avatar
      Optimizations: · b5488bb3
      Deucе authored
      1) Keep a rectangle updated per-screen rather than regenerate each time
      2) Strip palette info when putting pixels into rectangles rather than
         during scaling
      3) Tighten up the screen locks a bit
      4) Don't require a full resend of both screens on an update request
      5) Only force a redraw for cursor movement when the cursor is visible
         (And force it whenever the cursor changes)
      6) Avoid doubles in interpolation
      7) Heavily optimize interpolate_height()
         interpolate_width() likely doesn't need it because it's generally not
         used and also it reads from the next pixel in memory making the
         prefetchers job easier.
      8) Fix some memory-leak-on-error issues
      9) For ARGB8 XImages, manipulate the data directly rather than through
         XPutPixel()
      
      At this point, the scaling and X11 output time is heavily dominated by
      cache misses.  The only really effective way to reduce this hit is to
      spread the work across all the L3 caches in the system or move it into
      the GPU.
      
      With the latest updates, at the S...
      b5488bb3
  2. 20 May, 2021 2 commits
  3. 19 May, 2021 1 commit
    • Deucе's avatar
      Use display aspect ratio, not pixel for tracking. · a5c619fc
      Deucе authored
      People are used to thinking about the aspect ratio of displays and
      used to not thinking at all about that of pixels.  Most of the modes
      are simplt 4:3 modes and the text area is the entire window.  The
      only oddball here is the Commodore 64 and 128 40-column modes.
      Because they have a border around them that's wider on the sides than
      the top/bottom, the display aspect ratio is actually narrower than
      a normal NTSC screen (6:5).  It seems the PAL version actually has
      square pixels, but nobody has asked for a PAL Commodore mode, and I
      think that has a different colour palette too so I'm not doing it.
      
      Just to frustrate DigitalMan a bit, the default custom aspect ratio
      is now 4:3 (but can be configured).  At present, modifying the custom
      mode while *in* the custom modes "works", which no sane person would
      want when adjusting the aspect ratio.
      a5c619fc
  4. 18 May, 2021 1 commit
  5. 15 May, 2021 3 commits
  6. 14 May, 2021 4 commits
  7. 13 May, 2021 1 commit
    • Deucе's avatar
      Add smooth scaling to X11 output · cae45cbd
      Deucе authored
      Uses "pointyscale" for x3 and x5
      Uses xBR from FFmpeg for x2 and x4
      HQx is also included, but unused as it's too slow at x4.
      cae45cbd
  8. 04 May, 2021 1 commit
  9. 27 Jun, 2020 1 commit
  10. 14 May, 2020 1 commit
  11. 07 May, 2020 1 commit
  12. 04 May, 2020 1 commit
  13. 20 Apr, 2020 1 commit
  14. 18 Apr, 2020 1 commit
    • deuce's avatar
      More codepage API changes... · ee9a175d
      deuce authored
      We don't need a unicode -> cpchar with ext...
      We do need codepoint -> cpchar with and without ext.
      ee9a175d
  15. 17 Apr, 2020 4 commits
  16. 16 Apr, 2020 2 commits
  17. 14 Apr, 2020 4 commits
  18. 13 Apr, 2020 1 commit
  19. 12 Apr, 2020 1 commit
  20. 11 Apr, 2020 1 commit
  21. 07 Mar, 2020 1 commit
  22. 25 Jul, 2019 4 commits
  23. 18 Jul, 2019 1 commit