1. 27 Feb, 2022 1 commit
  2. 23 Feb, 2022 1 commit
  3. 11 Feb, 2022 1 commit
  4. 22 May, 2021 1 commit
  5. 15 May, 2021 1 commit
  6. 14 May, 2021 1 commit
  7. 03 May, 2021 1 commit
  8. 05 Apr, 2021 1 commit
  9. 13 Mar, 2021 2 commits
    • Deucе's avatar
      We can't pollute the namespace with curses everywhere. · 687d092c
      Deucе authored
      Just rename ESCDELAY member to escdelay.
      687d092c
    • Deucе's avatar
      include curs_fix from ciolib.h to fix openSUSE · e679fa13
      Deucе authored
      Apparently, the ncurses in openSUSE Leap-15.2 has the following:
      Since we have a struct member named ESCDELAY, we can't actually set
      it at all when this macro is defined.
      
      The three possibilities to deal with this are:
      1) Rename the ESCDELAY member.
         Likely the best option long-term, but I don't want to find everything
         and update it at this time.
      2) Avoid using the ESCDELAY member #ifdef ESCDELAY
         Which makes it not work in the exact set of circumstances it makes
         sense in.
      3) #include curs_fix.h from ciolib.h
         This actually renames the ESCDELAY member to _nc_ESCDELAY, but you
         won't be able to actually notice this.
      e679fa13
  10. 09 Mar, 2021 1 commit
    • Deucе's avatar
      Deal with dorkit hangup issues... commit #1 · 9a89f8c9
      Deucе authored
      1) Ciolib CIO_KEY_QUIT and CIO_KEY_MOUSE conflicted with ALT_7 and ALT_6
         respectively, change these to use \xE0 prefixes.
      2) Add a new dorkit key "CONNECTION_CLOSED" which is returned by getkey()
         after the connection is closed.
      3) Have the various connection back-ends send a CONNECTION_CLOSED key to
         the keyboard buffer when the connection is closed.
      4) Have the local console send a CONNECTION_CLOSED key when the window
         is closed.
      5) Disable auto_terminate in dorkit.
      6) Introduce dk.connection.disconnect_timeout variable (defaults to 30
         seconds).  After a CONNECTION_CLOSED key is received, dorkit will
         immediately set js.terminated, then after disconnect_timeout seconds,
         will enable js.auto_terminate.
      7) After a CONNECTION_CLOSED key, waitkey() always returns true, getkey()
         always returns a CONNECTION_CLOSED key, and getbyte() always returns
         undefined.
      8) To prevent a poorly written door from hogging 100% CPU for the whole
         30 seconds, put an mswait(1) in the connection check when the
         inactivity timer is running.
      9a89f8c9
  11. 16 Aug, 2020 1 commit
  12. 27 Jun, 2020 1 commit
  13. 14 May, 2020 2 commits
  14. 07 May, 2020 1 commit
  15. 04 May, 2020 1 commit
  16. 29 Apr, 2020 1 commit
  17. 25 Apr, 2020 2 commits
  18. 17 Apr, 2020 2 commits
  19. 16 Apr, 2020 1 commit
    • deuce's avatar
      Give each font a codepage. · e89200ca
      deuce authored
      getcliptext() and copytext() (ie: copy/paste) now work on UTF-8 strings.
      Not tested on Win32 yet.
      e89200ca
  20. 13 Apr, 2020 2 commits
  21. 12 Apr, 2020 1 commit
  22. 03 Apr, 2020 1 commit
  23. 02 Apr, 2020 1 commit
    • deuce's avatar
      SyncTERM changes: · 34ec98f0
      deuce authored
      Have SyncTERM save/restore the window size
      
      Ciolib changes:
      Hopefully fix streaming texture updates (ie: white screen)
      - Request pixel data on expose rather than re-render texture
      - This allows the rect update to copy the screen
      Fix ALT-Enter fullscreen toggle
      Ensure vstatlock is held when accessing cvstat
      Add setwinsize() and setwinpos() to ciolib
      Return window position from get_window_info() in SDL mode
      SDL driver no longer supports setscaling() (use setwinsize())
      Use ALT-<arrow> to change window scaling, not Meta
      Add winwidth/winheight to vstat structure
      34ec98f0
  24. 01 Apr, 2020 2 commits
    • deuce's avatar
      More SDL2 fixes... · 0294a141
      deuce authored
      Remove CIOLIB_MODE_SDL_YUV* macros, these modes have no point anymore
      Fix SDL prototypes
      
      Use _beginthread() instead of SDL_CreateThread().  For some reason, using
      CreateThread() sometimes caused an application crash (ie: when using -?)
      Everyhing else uses _beginthread() so there's no reason for this to be
      special, especially when it breaks stuff.
      0294a141
    • deuce's avatar
      Fix Windows builds some more... re-introduce CIOLIB_main(), but only for · b838d32c
      deuce authored
      Win32 now (and it only runs main() from WinMain()).  This shouldn't be
      necessary for MSVC builds.
      b838d32c
  25. 31 Mar, 2020 1 commit
  26. 25 Jul, 2019 2 commits
  27. 11 Jul, 2019 3 commits
  28. 22 Mar, 2019 1 commit
    • rswindell's avatar
      Use default calling convention (__cdecl) for DLL funcs in Borland builds. · bf82a889
      rswindell authored
      Fix age-old bug with Borland/C++Builder built executables (Windows):
      to achieve compatibility with  the default __cdecl symbol naming rules of
      Visual C++, we were using __stdcall convention for DLL functions when
      building code with Borland/C++Builder tools and using the default (__cdecl)
      convention when building with Microsoft (Visual C++) tools. Although this
      allowed symbols to be located when linking, the calling convention mismatch
      caused a stack cleanup issue that very rarely manifested itself in a bug
      (e.g. exception of some kind in sbbsctrl.exe, usually). Mismatching
      the calling conventions was unintentional (I thought the default for MSVC
      DLL functions was __stdcall) - but since the calls to MSVC-Built DLL functions
      worked 99% of the time, I didn't realize there was an underlying issue. So I
      now work-around the DLL symbol naming mismatch using a command-line option (-a)
      passed to implib in src/sbbs3/ctrl/makelibs.bat
      
      I had previously worked-around exceptions when calling MSVC DLL functions in
      sbbsctrl.exe by calling the problematic DLL functions from a timer tick handler
      rather than a user control (e.g. button) event handler. Those work-arounds can
      now be removed.
      
      The erroneous "DLLCALL" definition design pattern was replicated (copy/pasted)
      to many other projects' header files in cvs.synchro.net. In the future, we may
      want to just remove all instances of *CALL since they now serve no purpose and
      appear as useless "Kruft" (but do allow us to more-easily globally change DLL
      function calling conventions if/when necessary in the future).
      bf82a889
  29. 18 Apr, 2018 1 commit
  30. 14 Feb, 2018 2 commits