• src/conio/win32gdi.c

    From Deuc¿@VERT to Git commit to main/sbbs/m on Sun Nov 17 11:08:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/22b0bdaa8df1e5876322ff6d
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    When SyncTERM is deactivated and it is in fullscreen mode, minimize.

    This appears to be the best we can do when Windows+M (minimize all)
    is pressed. We don't seem to be notified that we should minimize,
    only that a different application is being activated.

    This also makes Alt-TAB behave a bit more like expected.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 1 22:01:29 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8af79c027793dc21498c2d54
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Fix an MSVC warning

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Jan 12 08:48:24 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/cf67458be4a36d4dd3f53aed
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Fix typo

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Nov 27 08:10:31 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/ca1ac24888f7a6ffece13c7d
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Possibly fix ticket 212

    And extra byte was being allocated to hold the UTF-16 string on
    Windows. Assuming this is to hold a terminating NUL, that needs
    to be two bytes since a NUL is two bytes in UTF-16.

    May fix ticket 212.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Nov 27 08:11:39 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/273d0081e2c95b51f9d38645
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Revert "Possibly fix ticket 212"

    This reverts commit ca1ac24888f7a6ffece13c7de15a54e05e4b9a99.

    The size + 1 was being multiplied by sizeof(*LPWSTR), so that
    wasn't the issue.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Dec 5 22:41:13 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/16458f3b0ba13c98bbd18fa2
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Add a dash of crazy to placate MSDN.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Dec 5 23:53:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/151af2c066100dff02f06712
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Almost, just turns out that CreatePipe() is useless.

    So, ReadFile() will work the same if you don't specify an OVERLAPPED
    structure regardless of a handle being overlapped or not. However, CreatePipe() doesn't create it overlapped, so we need to create our
    own CreatePipe() thing that does open the read end for overlapped.

    Also, fix some bugs in the overlapped bits and now it appears to work.

    Enjoy the lowered CPU utilization.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net