Commit Graph

  • ff3fe0d61c
    Merge b608ed6560 into 6f719c79d5 Simon Sobisch 2025-06-18 12:16:07 -0400
  • 6f719c79d5
    Updated MANUAL.md Bill-Gray 2025-06-18 12:15:47 -0400
  • b608ed6560
    MANUAL.md: text attribute update GitMensch-manual-text-attributes Simon Sobisch 2025-06-18 08:13:53 +0200
  • af828339d9 ci-build vs-versions adjusted GitMensch-patch-appveypor-vs2022 Simon Sobisch 2025-06-17 19:54:24 +0000
  • f63e0ab4d9
    Updated HISTORY.md and the PDC_VER_DAY constant Bill-Gray 2025-06-16 21:24:35 -0400
  • f027dcf7b1
    Clarified docs for 'common' mouse handling, and removed some unused code Bill-Gray 2025-06-16 21:23:30 -0400
  • 6306ac2d48
    getch() triggered an assert() if a multi-byte character was entered. Fixes issue #335, reported by Robin Haberkorn. Bill-Gray 2025-06-16 18:24:10 -0400
  • 2426dbc85e
    WinCon/pdcscrn.c fix to a warning emitted with --std=c23. Provided by Gisle Vanem. See issue #333. Bill-Gray 2025-06-16 18:12:53 -0400
  • 89e84df2d6
    x11new/Makefile had ~20 lines devoted to DOS, MinGW, and other things that an X11 platform need not think about. Pointed out by Simon Sobisch. Bill-Gray 2025-06-16 18:11:30 -0400
  • 83fa89ce74
    SDL1 and x11new now set the 'repeat' modifier bit correctly. Bill-Gray 2025-06-13 20:56:21 -0400
  • 6bf92e1a06
    SDL2 no longer set the PDC_KEY_MODIFIER_REPEAT flag (added in commit 71cbba60aa, back in 2018) Bill-Gray 2025-06-13 20:53:58 -0400
  • 7193dc6b20
    'ozdemo' : improved ASCII map of Australia, and switched to a more visible color scheme (on some platforms, yellow on green is nearly invisible) Bill-Gray 2025-06-12 13:41:27 -0400
  • 6feb3aa89e
    Updated PDC_VER_MONTH, PDC_VER_DAY; marked button-move events as deprecated; added possible future key modifiers. Bill-Gray 2025-06-12 12:02:08 -0400
  • 967c486be1
    Updated x11new/README.md to mention ability to change font size Bill-Gray 2025-06-12 11:59:24 -0400
  • 7091e37357
    x11new/Makefile : need to search added include and library directories on FreeBSD Bill-Gray 2025-06-12 11:26:15 -0400
  • 43066a8c8c
    x11new : hitting Ctrl-Minus or Ctrl-Plus decrements or increments the font size. If the window is maximized, this changes the number of lines/columns (and you need to handle the resize event). Otherwise, the window gets smaller/bigger and the number of lines/columns is retained. Bill-Gray 2025-06-12 11:11:17 -0400
  • 8087722643
    x11new : some memory can be freed, even if NO_LEAKS isn't defined. free( NULL), it turns out, isn't an error; we need not check for a non-NULL pointer before calling free(). Bill-Gray 2025-05-20 21:24:56 -0400
  • 2061fe4053
    Brought version date, HISTORY.md up to date Bill-Gray 2025-05-20 17:57:40 -0400
  • bae06a863c
    DRM/framebuffer port's only console code use is to shut off the hardware cursor and turn it back on. We don't really need PDC_puts_to_stdout(). Bill-Gray 2025-05-20 16:52:12 -0400
  • f300bfa0c0
    In the framebuffer/DRM port, outputting codes to set the mouse state accomplishes nothing. (It causes no apparent harm, but it's useless code.) Bill-Gray 2025-05-20 16:51:34 -0400
  • d348eb66d6
    I expect to make the 'blink state' a steadily incremented value in at least some ports, instead of being a simple on/off switch. If blinking text occurs over stages, instead of just flashing, it may be less jarring. Bill-Gray 2025-05-20 16:45:37 -0400
  • b08805c7dd
    Updated x11new README.md to reflect changes and to indicate that this port is the likely path forward Bill-Gray 2025-05-20 16:43:52 -0400
  • 6221595646
    Makefiles for x11new and framebuffer/DRM port were based on the VT makefile. The references to Microsoft Windows NT make no sense here. Bill-Gray 2025-05-20 16:33:37 -0400
  • 97c213b14b
    Follow-up to preceding commit : code to generate the bitmap used for the mouse cursor in the framebuffer/DRM port Bill-Gray 2025-05-20 16:32:25 -0400
  • 7578a604b9
    Framebuffer/DRM port can now _show_ (but doesn't yet respond to) a mouse cursor, if built with HAVE_MOUSE=Y. Getting clicks/move events will be a separate, and probably simple, issue. Bill-Gray 2025-05-20 16:22:45 -0400
  • 9efd32336c
    Removed a // (C++-style) comment. Follow-up to previous 88000094 fixes of C90 compliance issues. Bill-Gray 2025-05-17 21:03:36 -0400
  • 880000943a
    Fixed various C90 compliance issues : variables declared after code instead of at the top of a block, true/false used instead of TRUE/FALSE, C++-style comments Bill-Gray 2025-05-17 20:58:50 -0400
  • ff93967c2f
    Brought HISTORY.md and version constants up to date v4.5.1 Bill-Gray 2025-05-12 20:57:06 -0400
  • 633f5173bc
    x11new/README.md had extraneous backslashes and referred to libXcurses. Bill-Gray 2025-05-12 20:55:09 -0400
  • a573438140
    MSVC objected to implicit casts from integer to short. Bill-Gray 2025-05-09 19:46:04 -0400
  • b544b3d517
    Similar to preceding commit 46a5e0024 : 'false' is not supported by default on OpenWATCOM. (Fixed previously in WinCon, now in WinGUI.) Bill-Gray 2025-05-08 21:51:32 -0400
  • 46a5e00246
    Fix to previous commits : 'false' is not supported by default on OpenWATCOM. Bill-Gray 2025-05-08 21:36:26 -0400
  • 9e857e7792
    VT now uses the 'common/mouse.c' (q.v.) logic for managing mouse input. See preceding commits 52d206870c, 592d27f164, 812bd6953a, and issue #130. Bill-Gray 2025-05-08 20:45:46 -0400
  • 812bd6953a
    WinCon now uses the 'common/mouse.c' (q.v.) logic for managing mouse input. See preceding commits 52d206870c, 592d27f164, and issue #130. Bill-Gray 2025-05-08 20:32:05 -0400
  • 91645ceb9b
    'testcurs' demo revised to display more mouse input data, for both the 'classic' and ncurses interfaces. Added to assist in testing the new mouse-handling code (see commits 52d206870c, 592d27f164, issue #130, and some commits to come). Bill-Gray 2025-05-08 20:24:22 -0400
  • 592d27f164
    WinGUI now uses the 'common/mouse.c' (q.v.) logic for managing mouse input. See preceding commit 52d206870c and issue #130. Bill-Gray 2025-05-08 20:12:16 -0400
  • 52d206870c
    Added code for the platform-independent bits of mouse handling, and revised 'x11new' to use it. Part of issue #330. Bill-Gray 2025-05-08 20:03:04 -0400
  • fd7a035504
    'mouse.c' : if we're trapping the PDCurses*-specific BUTTONn_MOVED events, these are reflected in the ncurses-style 'bstate' bitmask as 'REPORT_MOUSE_POSITION'. Bill-Gray 2025-05-08 16:51:27 -0400
  • 766a920efd
    x11: Fix broken -c -o test in configure script (shameless copy of wmcbrine/PDCurses#171, by fragglet) Bill-Gray 2025-04-29 17:29:28 -0400
  • 9ad929efdc
    Moved a couple more screen-related externals (_default_foreground_idx, _default_background_idx) into the SCREEN structure, where they properly belong. Follow-up to preceding commit a60b63df74. Bill-Gray 2025-04-27 10:50:19 -0400
  • a60b63df74
    PDC_blink_state should be (and now is) part of the SCREEN structure. (Many externals should be part of SCREEN. This is a start.) Bill-Gray 2025-04-27 10:33:50 -0400
  • 98438d234c
    The function to mark cells of particular attributes for refreshing really should be static to 'color.c'. (At least at present. There is the possibility that bold or blinking text may need to be similarly marked somewhere, sometime, on some platform(s). Bill-Gray 2025-04-27 10:27:10 -0400
  • 5e94dfa7f9
    WinCon/WinGUI PDC_clearclipboard() function now returns PDC_CLIP_SUCCESS only if the EmptyClipboard() call succeeds, aligning with wmcbrine/PDCurses@26f091f0b6 and wmcbrine/PDCurses@da691a62eb . Also some minor reformatting of associated documentation, again to bring it into alignment with William McBrine's version. Bill-Gray 2025-04-27 10:26:28 -0400
  • a1648ec0eb
    Updated version date constant, history Bill-Gray 2025-04-17 17:52:50 -0400
  • b370696b7f
    Made PDC_realloc_array() non-static. There are various places within PDCursesMod where it could, or should, be used. Bill-Gray 2025-04-17 17:50:53 -0400
  • a5d21a71b5
    'testcurs' : color test now tells you if the gradient test runs out of colors Bill-Gray 2025-04-16 21:59:05 -0400
  • 7a520f6261
    'testcurs' can now test the ncurses mouse interface. In ncurses, that's all it _can_ test (because ncurses lacks the 'classic' SysV undocumented mouse functions). In PDCursesMod, you can choose at compile time. Bill-Gray 2025-04-16 17:52:39 -0400
  • d391921be0
    VT build using GNU Make failed when cross-compiling demos and tests with MinGW Bill-Gray 2025-04-16 15:20:10 -0400
  • e8f098d6de
    VT port now works (mostly) on Haiku. The Haiku terminal sends different sequences for cursor keys. The sequences sent for mouse movements/presses/clicks are slightly non-standard, but in a way that can still be parsed correctly with slightly changed code. Bill-Gray 2025-04-14 13:03:26 -0400
  • ecc8ac4d5b
    WinGUI : if mouseinterval( 0); has been called, and/or click events are not enabled for a particular mouse button, then return mouse button presses immediately; don't queue them and wait for a corresponding button release. From issue #330. Bill-Gray 2025-04-14 12:40:32 -0400
  • de6c742b4a
    'testcurs' modified to allow full control over the mouse mask, and to be able to set mouseinterval(0). Largely for testing issue #330 (and related problems noticed while investigating that issue). Bill-Gray 2025-04-14 12:23:33 -0400
  • c869587f4c
    Merge branch 'x11new' Bill-Gray 2025-04-14 12:20:54 -0400
  • 0f3125393c
    Changes for ncurses test program building : those requiring the forms library (cardfile, demo_forms, dup_fields, form_driver_w) don't work in wide mode and are, at least for the nonce, excluded. Bill-Gray 2025-04-13 13:02:15 -0400
  • 8bf383a7b5
    'testcurs' : fix buffer overflow if more than 79 characters were entered in inputTest and outputTest Bill-Gray 2025-04-13 12:40:05 -0400
  • 35f4184370
    x11new : the (global) font structure can be static to 'pdcscrn.c'. Preparatory to some improvements in font handling for this platform. x11new Bill-Gray 2025-04-13 12:33:55 -0400
  • 77f19c9d0d
    x11new : Clarified README.md about use of printf()s in PDCursesMod (and PDCurses) platforms with an underlying terminal Bill-Gray 2025-04-13 12:32:35 -0400
  • 489267b5bb
    x11new Makefile didn't build some demos Bill-Gray 2025-04-13 12:31:21 -0400
  • 284b3ed902
    x11new : Ctrl-C now breaks the program when not in raw-input mode, and FUNCTION_KEY_ABORT works as well if set (tested with 'brk_test' and 'ripoff', respectively) Bill-Gray 2025-04-03 22:11:07 -0400
  • 645c3186df
    x11new and framebuffer/DRM : when blinking, you could get packets longer than MAX_PACKET_LEN. They need to be broken up... which is easy to do. Bill-Gray 2025-03-28 15:21:31 -0400
  • 33d639175b
    x11new in NO_LEAKS=Y mode ignored spaces. Bill-Gray 2025-03-28 10:35:19 -0400
  • 8e40fd7b68
    Updated README.md for x11new port. Two 'to do' items are completed, a new one added, and some minor edits made. Bill-Gray 2025-03-27 18:05:04 -0400
  • de474ab6ce
    x11new : keyboard handling for 'no leaks' remains incomplete (and US-layout only), but is better than it was. Bill-Gray 2025-03-27 18:03:11 -0400
  • 71c97d8fcb
    x11new : now supports A_LEFT, A_RIGHT, A_TOP, A_UNDERLINE, A_STRIKEOUT attributes Bill-Gray 2025-03-27 17:12:52 -0400
  • dfd2aab6c8
    'New' X11 now handles wheel events Bill-Gray 2025-03-27 12:54:38 -0400
  • a78440a209
    'ripoff' demo provides an error message/explanation if you ask for too many lines, instead of just bombing out. Program keeps going, albeit without the requested lines, in both PDCursesMod and ncurses. Bill-Gray 2025-03-26 21:50:30 -0400
  • 90bfe77cb3
    x11_new : need to XSync() in PDC_doupdate(). Screen updates done in PDC_transform_line() may be, and usually are, deferred (see comments in IMPLEMNT.md). Bill-Gray 2025-03-26 21:08:51 -0400
  • 4a6121801f
    'New' X11 port : found/worked around remaining X11 memory leaks. Updated docs for this port, and incremented version month/day. Bill-Gray 2025-03-26 12:15:34 -0400
  • 0a16083dd2
    'New' X11 port now supports setting/changing the title bar (PDC_set_title() function). Bill-Gray 2025-03-26 11:49:43 -0400
  • 3267806ace
    Provided ability to build a (nearly) leak-free version of the 'new' X11 port Bill-Gray 2025-03-26 11:47:17 -0400
  • 9a4a2dd7f1
    First stab at mouse handling. Wheel events remain TBD. Bill-Gray 2025-03-23 10:27:37 -0400
  • 9f80c0cee2
    Corrected cursor display and background/foreground default coloring for reversed text Bill-Gray 2025-03-23 10:26:35 -0400
  • ae4a49799c
    Follow-up to e96f3f0b0 : PDC_font_descent should be declared in pdcx11.h Bill-Gray 2025-03-23 10:25:30 -0400
  • f16f6ce0f2
    Removed commented-out debugging/testing code Bill-Gray 2025-03-23 10:17:44 -0400
  • e96f3f0b03
    Font metrics determined via XQueryFont(), rather than being hardwired. This should simplify changing fonts. Also, we ought to (and now do( shift fonts vertically by the font descent. Bill-Gray 2025-03-22 16:25:01 -0400
  • 433dbfb1d7
    Restarting Curses failed to reset the 'prev_fg'/'prev_bg' values. You could get odd colors in the 'restart' test program. Bill-Gray 2025-03-20 21:19:36 -0400
  • ed0cf1f531
    Initial commit of experimental new X11 port Bill-Gray 2025-03-20 16:22:40 -0400
  • f3188affb9
    Framebuffer/DRM port : cursor did not rotate when the screen did. Now, it rotates and we have at least some other cursor styles (half-block, cross, caret sort of) supported. Bill-Gray 2025-03-12 22:14:10 -0400
  • 66f6e5c53c
    Code cosmetology : removed an unnecessarily shadowed variable Bill-Gray 2025-03-12 22:07:39 -0400
  • a0302a68a8
    VT: Ctrl-C should (and now does) call raise(SIGINT) instead of simply exiting. See comments on issue #23. Bill-Gray 2025-03-11 16:52:58 -0400
  • db3cbb7b0e
    DRM port : can specify screen to use via PDC_SCREEN as an integer, and can (with some permissions required) cycle displays by hitting Alt-= Bill-Gray 2025-03-11 16:49:03 -0400
  • c1a545d4d9
    'testcurs' : when using PDC_getclipboard(), the application is responsible for calling PDC_freeclipboard(). Bill-Gray 2025-02-12 15:07:47 -0500
  • 5a6170982e
    Array bound checking should be done _before_ checking for null terminators. Similar issue as in commit c03e650a7020c8c2945d74fb4ecf25; in both cases, Valgrind will complain about the access of an element just past the end of the valid array. Bill-Gray 2025-02-11 21:11:03 -0500
  • 38c7571b13
    Merge pull request #326 from Bill-Gray/portable-panel_hidden v4.5.0 Simon Sobisch 2025-01-22 20:33:04 +0100
  • fce47cf4c0 make panel_hidden portable, prepare for release Simon Sobisch 2025-01-22 10:54:46 +0000
  • a5f13c248c
    Update wide/zero-character width tables from Unicode 15.1.0 to 16.0.0 Bill-Gray 2024-12-11 12:21:11 -0500
  • 7ff555a483
    Moved 'minor new features' above 'bug fixes' (which matches the order for previous HISTORY.md entries). Eliminated a redundant paragraph about the removal of PDC_set_box_type(). Bill-Gray 2024-10-28 10:38:57 -0400
  • 19ed6aa1f1
    Brought history, version date constant up to date. Bill-Gray 2024-10-28 10:31:01 -0400
  • 267f92a2c0
    Makefile for OS/2 GUI port, based on the OS/2 console port Makefile (q.v.) Mark Hessling 2024-10-15 17:37:43 -0400
  • 82084db679
    Updated version constants, added OS/2 GUI to list of platforms in 'ozdemo.c'. Bill-Gray 2024-10-15 16:23:45 -0400
  • b4e9adbac7
    Makefile revisions for console OS/2 Mark Hessling 2024-10-15 16:18:04 -0400
  • 23b1fbed61
    Merge pull request #315 from chasonr/os2gui Bill Gray 2024-10-15 16:08:40 -0400
  • 8466f73e21
    WinGUI display : I don't think the code that displays a preceding and trailing character is really needed to avoid stray pixel garbage. In fact, I can't see how that could possibly have ever worked. It caused some (not all) of the flickering problem described in issue #322. Bill-Gray 2024-10-03 10:23:28 -0400
  • a96ed0fac6
    The 'ripoff' test program now also tests PDC_set_function_key(). There wasn't previously a demo or test that exercised that function. Bill-Gray 2024-10-03 10:19:42 -0400
  • 027c3a598a
    Added assert()s to check various input parameters to core functions Bill-Gray 2024-10-03 10:16:52 -0400
  • e30b2b7c2c
    WinCon: define all of PDC_WIDE, UNICODE, _UNICODE if one of those are defined GitMensch-Dunicode Simon Sobisch 2024-09-19 07:44:51 +0200
  • d2f479a830
    Brought HISTORY up to date. Bill-Gray 2024-07-29 20:16:55 -0400
  • d6b7e998eb
    WinCon and WinGUI Borland Turbo C makefiles now specify the lack of a 'stdint.h'. If you build with -DUTF8, you need not add -DWIDE (this has been the case with most makefiles for a long time, but we'd not caught up on the Borland ones until now). Bill-Gray 2024-07-29 20:14:57 -0400
  • 1ad9562b9a
    Changes to support building of 'libform' (ncurses forms menu) and some associated ncurses demos Bill-Gray 2024-07-29 20:13:13 -0400
  • 07bc4ac785
    The ncurses 'menu' library can now be built and used with PDCursesMod, and the ncurses program 'demo_menus' built and used to test it out. Bill-Gray 2024-07-29 12:49:34 -0400
  • 21b415468b
    VT flavor : have to use basic I/O functions with Digital Mars compiler Bill-Gray 2024-07-23 15:59:34 -0400