Skip to content
Snippets Groups Projects
  1. May 02, 2023
    • Rob Swindell's avatar
      Fix another small memleak reported by valgrind: global hot keys · 26190952
      Rob Swindell authored
      Not a huge deal, but there it is (or was).
      26190952
    • Deucе's avatar
      Don't link in RGB <-> YUV tables by default. · 8ad626b7
      Deucе authored
      Instead, have the r2yptr and y2rptr pointers that need to be set
      to those tables in order for interpolation to work.  Not setting one
      locks ciolib into "LCD" modes (everything uses square pixels), and
      XBR scaling is disabled.
      
      The CIOLIB_INTERPOLATE_OBJS make variable contains the path to the
      object file that contains those tables, so it's just a matter of
      some code and an extra (128MB) object to link against.
      8ad626b7
  2. May 01, 2023
  3. Apr 30, 2023
    • Rob Swindell's avatar
      Fix typo · bfa675f9
      Rob Swindell authored
      bfa675f9
    • Rob Swindell's avatar
      Fix '?' matches (needs tilde), add more expession/response sections · 70f8d654
      Rob Swindell authored
      I don't think it would've even been possible to match these expressions without
      the tilde.
      70f8d654
    • Rob Swindell's avatar
      A close-parenthesis in a guru.dat response string would throw-off the parser · 3ec07039
      Rob Swindell authored
      After a negative-match of a Guru expression, we were searching for the next
      '(' anywhere in the subsequent chars of the file rather than just the next
      line that started with an open-parenthesis character.
      
      This bug was the secondary cause of the buffer-overflow crash addresseed in
      commit 86150e0a which was triggered by my recent updates to the guru.dat.
      3ec07039
    • Deucе's avatar
      Some more GDI cleanup stuff... · 998ebaf2
      Deucе authored
      Create a proper aspect fix function
      Centre bitmap in window with correct aspect ratio
      Fix cursor at resize points
      Explicitly set high DPI awareness
      Don't snap window larger than allowed
      
      Since this is the newest/simplest display driver, I'm going to use
      this to decide how to do scaling in general so I can abstract that
      into shared code to ensure all drivers have the same scaling
      behaviour.
      
      I haven't tested mouse on windows with black bars yet though, so I
      assume that's broken...
      998ebaf2
    • Rob Swindell's avatar
      Fix memory leak in iniFreeParsedSections(), wasn't freeing the list member · 7d3bcf18
      Rob Swindell authored
      The 'list' member was allocated by iniParseSections() but never freed.
      
      Caught be Nelgin's recent valgrind report, e.g.:
      
      ==2725235== 56 bytes in 1 blocks are indirectly lost in loss record 82 of 191
      ==2725235==    at 0x484DCD3: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==2725235==    by 0x4FA351C: strListAnnex (in /home/bbs/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so)
      ==2725235==    by 0x4F9ADDE: iniParseSections (in /home/bbs/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so)
      ==2725235==    by 0x49F1F0A: read_chat_cfg (in /home/bbs/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so)
      ==2725235==    by 0x49E8BF1: load_cfg (in /home/bbs/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.release/libsbbs.so)
      ==2725235==    by 0x5C14C75: ftp_server (in /home/bbs/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.release/libftpsrvr.so)
      ==2725235==    by 0x5D5AB42: start_thread (pthread_create.c:442)
      ==2725235==    by 0x5DEBBB3: clone (clone.S:100)
      7d3bcf18
    • Deucе's avatar
      Clear to black before drawing frame. · c267c327
      Deucе authored
      Will be needed once scaling works properly.
      c267c327
    • Deucе's avatar
      Final functionality features... · 4f7e825a
      Deucе authored
      Load icon from resource file
      implement seticon()
      
      While the features are all there, some are buggy.  Scaling is wrong
      for example, and keyboard input may do weird things if shift or
      control are held when you take focus away from the window, then
      release them when the focus is elsewhere, then re-focus the window.
      This should only impact extended keys (ie: ones that don't send a
      character to the remote).
      4f7e825a
    • Rob Swindell's avatar
      Fixes and additions · 02719fa1
      Rob Swindell authored
      02719fa1
    • Deucе's avatar
      Implement mousepointer() · 83523dff
      Deucе authored
      83523dff
  4. Apr 29, 2023
  5. Apr 28, 2023
    • Rob Swindell's avatar
      Fix new build error introduced with GDI support · a06bbe2b
      Rob Swindell authored
      unresolved external symbol _try_gdi_init referenced in function initciolib
      
      Function is dependent on WITH_GDI, not _WIN32
      a06bbe2b
    • Deucе's avatar
      Clean up blinker thread · 81bb46cc
      Deucе authored
      There was a lot of weird things going on to avoid locking vstatlock
      inside of screenlock.  Simply this by copying needed vstat stuff
      while we hold the lock.
      81bb46cc
    • Deucе's avatar
      Add the worlds worst input processing · 4d398084
      Deucе authored
      Also, get SyncTERM to stop displaying (null) as the mode.
      
      Video is very slow in the menus, and the input appears to repeat
      forever when connected (but *not* in the menus), but it's something
      at least.
      4d398084
Loading