• src/conio/win32cio.c

    From deuce@VERT to CVS commit on Tuesday, September 23, 2014 17:18:10
    src/conio win32cio.c 1.99 1.100
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv14768

    Modified Files:
    win32cio.c
    Log Message:
    Fix bug reported by DigitalMan in Win32 console mode where if the screen size is changed so that the new X is larger or smaller than the old X *and* the
    new Y is different to the old Y in the opposite direction (ie: Old X is smaller and new Y is larger), the screen would not change size, but the internal state would act as though it had.

    Since SetConsoleScreenBufferSize() cannot set the screen buffer smaller than the window in either dimension, and SetConsoleWindowInfo() cannot set the window
    larger than the screen buffer size in either direction, all resizing calls would
    fail, but the internal state would still be updated.

    This change prevents the size inversion calls from being used, and does not update the internal state on failure of any call.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Ragnarok@VERT/DOCKSUD to deuce on Tuesday, September 23, 2014 23:29:10
    El 23/09/14 21:18, deuce escribió:
    src/conio win32cio.c 1.99 1.100
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv14768

    Modified Files:
    win32cio.c
    Log Message:
    Fix bug reported by DigitalMan in Win32 console mode where if the screen size is changed so that the new X is larger or smaller than the old X *and* the new Y is different to the old Y in the opposite direction (ie: Old X is smaller
    and new Y is larger), the screen would not change size, but the internal state
    would act as though it had.

    Since SetConsoleScreenBufferSize() cannot set the screen buffer smaller than the window in either dimension, and SetConsoleWindowInfo() cannot set the window
    larger than the screen buffer size in either direction, all resizing calls would
    fail, but the internal state would still be updated.

    This change prevents the size inversion calls from being used, and does not update the internal state on failure of any call.


    can you append the url to the diff on the footer of mail that send on
    commits?

    like this:

    http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/conio/win32cio.c?r1=1.99&r2=1.100&pathrev=HEAD

    i think that is very useful just click and quick go to the patch if the
    commit was interest people that read the mail.

    thanks! =)

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From deuce@VERT to CVS commit on Wednesday, November 12, 2014 23:40:55
    src/conio win32cio.c 1.100 1.101
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv3785

    Modified Files:
    win32cio.c
    Log Message:
    Set cio_textinfo.screenwidth and cio_textinfo.screenheight before calling win32_textmode() since they are used to determine how the screen buffer
    needs to be resized before changing the window size.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT/ISIS to CVS commit on Sunday, November 30, 2014 14:59:00
    src/conio win32cio.c 1.100 1.101
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv3785

    Modified Files:
    win32cio.c
    Log Message:
    Set cio_textinfo.screenwidth and cio_textinfo.screenheight before calling win32_textmode() since they are usedto determine how the screen buffer
    needs to be resized before changing the window size.



    þ Synchronet þ Vertrauen þ Home of Sy
  • From rswindell@VERT to CVS commit on Thursday, October 26, 2017 13:39:00
    src/conio win32cio.c 1.102 1.103
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11540

    Modified Files:
    win32cio.c
    Log Message:
    Added range checks when initializing textinfo.screenwidth and screeheight (don't wrap around if value is > 255) - presumably these textinfo struct members were left as unsigned chars (8-bits) to preserve compatiblity with legacy conio apps, but I'm not sure. Perhaps we could increase these to
    at least 16-bit integers or bigger in the future, in which case these range checks would need to be removed or replaced.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, November 04, 2017 19:22:03
    src/conio win32cio.c 1.103 1.104
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23651

    Modified Files:
    win32cio.c
    Log Message:
    Fixed potential uninitialized pointer return value in win32_getcliptext().


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Monday, February 05, 2018 10:14:13
    src/conio win32cio.c 1.105 1.106
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23346

    Modified Files:
    win32cio.c
    Log Message:
    Alas, SetConsoleScreenBufferInfoEx() is new for Vista/Server 2008, so
    isn't available to mingw. No palette setting for Win32 console. :-(




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Monday, February 05, 2018 10:52:27
    src/conio win32cio.c 1.106 1.107
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv27233

    Modified Files:
    win32cio.c
    Log Message:
    Fix disabled code.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 17, 2020 10:01:39
    src/conio win32cio.c 1.109 1.110
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv16982

    Modified Files:
    win32cio.c
    Log Message:
    Get the clipboard in UTF-8




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 17, 2020 17:53:30
    src/conio win32cio.c 1.110 1.111
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv28815

    Modified Files:
    win32cio.c
    Log Message:
    Fix Win32 copytext() implementation.
    The Win32 getcliptext() implementation is apparently smoking crack though...




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 17, 2020 20:51:12
    src/conio win32cio.c 1.111 1.112
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23881

    Modified Files:
    win32cio.c
    Log Message:
    Fix up some types.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Tuesday, May 23, 2023 13:05:13
    https://gitlab.synchro.net/main/sbbs/-/commit/60b8f649e065f029f9346021
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Fix typo in last commit

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Saturday, June 03, 2023 23:50:10
    https://gitlab.synchro.net/main/sbbs/-/commit/66d352bac8575a3ec039c8d3
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Fix warning C4101: 'i': unreferenced local variable

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 11:57:30
    https://gitlab.synchro.net/main/sbbs/-/commit/d0e73f2d65bbe706abe73a74
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Fix mingw32 warning... export variable correctly.

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