Commit Graph

  • 18464b0527 256 colors for the Windows console. This version doesn't allow init_color() or color_content() for colors 16-255, just uses Windows' predefined palette. To Do: Determine when to revert to COLORS = 16; fix for ConEmu if possible. William McBrine 2018-02-05 05:17:10 -05:00
  • 3c8b621884 If the current console attribute was not the default, init_color() could set the current foreground color to the color intended for the default foreground, #7 (dim white). Workaround for Windows bug. William McBrine 2018-02-04 16:05:17 -05:00
  • 45c191509d Allow KEY_* codes (including KEY_RESIZE) to exit firework, as other keys do. William McBrine 2018-02-02 20:37:31 -05:00
  • d65fbf4c19 Unneeded includes. William McBrine 2018-02-02 09:56:44 -05:00
  • b3780c0b20 In SDL2, apps that didn't explicitly handle resizing locked up. Now, they can continue running, at their old size. (To Do: xmas is still a basket case.) William McBrine 2018-01-31 23:28:47 -05:00
  • 758a55efb5 Better reverse attribute handling for Windows console *without* COMMON_LVB_REVERSE_VIDEO. William McBrine 2018-01-31 17:22:46 -05:00
  • ce63b796bb Resize handling for ptest. William McBrine 2018-01-31 15:38:56 -05:00
  • 318dcd15ee Reverse blink test. William McBrine 2018-01-30 14:49:50 -05:00
  • 9476684fea Real blinking for the Windows console. William McBrine 2018-01-30 13:57:15 -05:00
  • cdddccd6bb The DLL-building options for Cygwin referred to pdcurses.def, which no longer exists, and used the now-deprecated dllwrap. But I've so far been unable to build x11 under current Cygwin, so an updated version is passed over for now, pending that. (Note that Cygwin works fine with wincon.) William McBrine 2018-01-29 22:13:04 -05:00
  • 8b75489cc2 Doc oversight from the configure move. William McBrine 2018-01-29 21:54:21 -05:00
  • e2cdf6a691 Renamed "win32" to "wincon". William McBrine 2018-01-29 21:42:13 -05:00
  • 4a3cbec196 Also update the makefile comments. William McBrine 2018-01-29 21:28:10 -05:00
  • a3207179c4 Renamed makefiles from "XXXYYY.mak" to "Makefile.XXX", where XXX is the compiler, and YYY was the platform -- which was redundant with the directory name. This way, the makefiles sort together, apart from the source files. It also lets me drop the extension on one of them for each port, so that one can be used without "-f". (I chose gcc for this, somewhat arbitrarily.) Inspired by contemplating the renaming of "win32". William McBrine 2018-01-29 21:04:08 -05:00
  • a26c390c15 Check for a couple of additional error conditions in panel. William McBrine 2018-01-29 17:46:14 -05:00
  • 4731dc5a8e Test for screens too small for ptest. William McBrine 2018-01-29 17:41:27 -05:00
  • dfdd909b10 Updated description of available attributes. William McBrine 2018-01-28 13:38:25 -05:00
  • 5900870853 These vars unneeded without A_INVIS. William McBrine 2018-01-28 12:27:19 -05:00
  • 0307820513 The rest of the (currently unused) quasi-standard attributes. William McBrine 2018-01-28 11:33:31 -05:00
  • 94182c8cfa The standard-defined behavior of A_PROTECT (though rarely implemented) is nothing like what PDCurses was doing, which IMHO was not useful. William McBrine 2018-01-28 11:26:09 -05:00
  • 1169c14053 A_LEFT and A_RIGHT are quasi-standard, although no one seems to know what they're supposed to do. So we may as well assign them the behaviors of *LINE, and retain those as aliases. William McBrine 2018-01-28 11:11:41 -05:00
  • d7963e49ff Overloading A_INVIS with A_ITALIC meant that the attribute had radically different behavior on different platforms, which seems highly undesirable. Since A_INVIS is fairly useless anyway, pending more available attribute bits, I'm redefining it to A_NORMAL (i.e. nothing), and devoting the bit to A_ITALIC. (My only reservation here is that A_INVIS is standard, while A_ITALIC is not.) William McBrine 2018-01-28 10:32:34 -05:00
  • c66b7bd37a Possibly an even better arrangement of the color cube. William McBrine 2018-01-28 02:47:20 -05:00
  • 9c7d8e8ef7 Platform-specific. William McBrine 2018-01-28 01:37:38 -05:00
  • 8701f07845 Slightly faster Windows compilarion. William McBrine 2018-01-27 23:45:12 -05:00
  • e689c90074 Not used. William McBrine 2018-01-27 22:18:14 -05:00
  • d40a4950b4 Redundant includes. William McBrine 2018-01-27 20:48:53 -05:00
  • 7f3f5129c9 X11 install was also broken. Fixes partly after M.H. William McBrine 2018-01-26 20:54:31 -05:00
  • bf4c9d3a58 Dynamic X11 build broken since the configure move. Fix after Mark Hessling. William McBrine 2018-01-26 13:42:54 -05:00
  • 719d1b81ff History for 3.5. William McBrine 2018-01-15 21:34:46 -05:00
  • 8c9c0611c1 Doesn't actually need to be set to 1 -- anything will do; formatting. William McBrine 2018-01-14 20:58:15 -05:00
  • 4e5bde67cb Unused parameter. William McBrine 2018-01-14 09:52:48 -05:00
  • eb87282857 Remove all trailing spaces. William McBrine 2018-01-13 22:36:58 -05:00
  • ab2e22661b Dropped MS C for DOS... it doesn't work anymore. William McBrine 2018-01-13 10:25:27 -05:00
  • 00a5144b18 After Bill Gray: "Don't redraw the entire screen each time a mouse button goes up." William McBrine 2018-01-12 22:54:28 -05:00
  • 3d2ce1e5dc Common .lrf file for Borland DOS and OS/2. William McBrine 2018-01-12 19:29:20 -05:00
  • cf795e29f8 Need to remove the .map file here, too. William McBrine 2018-01-12 18:53:12 -05:00
  • 1999e3735c Corrected Borland version number. William McBrine 2018-01-12 18:50:38 -05:00
  • 07fa7eb64d Parameters too long for tlib in OS/2. William McBrine 2018-01-12 18:45:19 -05:00
  • 1ba0a7c070 Dropped support for Cset/2. I don't think I was ever able to test this. William McBrine 2018-01-12 16:01:24 -05:00
  • 9440109351 Date that sucker, finally. William McBrine 2018-01-12 13:18:27 -05:00
  • 86ceb0bafd Build number. William McBrine 2018-01-12 13:04:29 -05:00
  • 80de555122 Updated configure. William McBrine 2018-01-12 13:01:32 -05:00
  • 97d32e7dce Updated version number. William McBrine 2018-01-12 12:33:57 -05:00
  • 32cffc9e08 ALT key combos sometimes not reported in X11, per Mark Hessling et al. William McBrine 2018-01-12 08:15:50 -05:00
  • 2ef81e5a0b debug: document PDC_TRACE_FLUSH for PDCurses.md ellie timoney 2017-10-23 13:48:45 +11:00
  • b9f639b5b6 debug: add PDC_TRACE_FLUSH env var to toggle aggressive fflush() ellie timoney 2017-10-23 13:18:27 +11:00
  • 01aedfcba6 debug: hold trace file open while trace is enabled ellie timoney 2017-10-23 00:50:02 +11:00
  • 209089a594 Clarify needed library. William McBrine 2018-01-11 15:15:11 -05:00
  • a7870bf943 SDL1 deprecated for Windows -- use SDL2. William McBrine 2018-01-11 15:13:14 -05:00
  • 9ff8764d6b From Mark Hessling: "Ensure -DPDC_WIDE is promulgated through to xcurses-config so that projects using XCurses get the correct keyboard values." William McBrine 2018-01-09 18:59:19 -05:00
  • 549aca1ffc Updated SDL2 build notes (mostly from SDL1). William McBrine 2018-01-09 15:59:59 -05:00
  • 8b3627c070 Kludgy MinGW support added to SDL2 Makefile. Edit paths as needed. William McBrine 2018-01-09 13:51:07 -05:00
  • 775a2271bf Lucida -> Consola looks slightly better on my Windows system. (Courier New is rendered weirdly, with 'e' and 'S' out of line... gotta figure that out.) William McBrine 2018-01-09 08:11:34 -05:00
  • e6bc8553ce Warning suppression for MinGW. William McBrine 2018-01-09 01:00:12 -05:00
  • 10ff9490f8 It's a long time since this demo was new. Let's call it something more apt. William McBrine 2018-01-08 13:14:42 -05:00
  • 41c09ecd06 Show both types of bold on the attribute page at once, if possible. William McBrine 2018-01-07 20:01:57 -05:00
  • 33a21b6a43 Oops. William McBrine 2018-01-07 19:55:19 -05:00
  • 20a4ac3545 Same for SDL1. William McBrine 2018-01-07 19:53:48 -05:00
  • 7a2c74e4dd SDL blink refinement -- as in X11, ensure start on solid, and re-render after shutdown. William McBrine 2018-01-07 18:29:51 -05:00
  • c126f279e8 Same for SDL1. William McBrine 2018-01-07 14:22:16 -05:00
  • 2f5fba953a Real blinking for SDL2. Partly after Bill Gray. William McBrine 2018-01-07 13:55:34 -05:00
  • 9feaffe5fe Don't need blank_text. William McBrine 2018-01-07 05:49:58 -05:00
  • 277fe455b1 True blinking text for X11 -- after Kevin Lamonte and Bill Gray. William McBrine 2018-01-06 19:17:37 -05:00
  • ad248d7e52 Extra attrib test -- underlined blinking. William McBrine 2018-01-06 17:11:31 -05:00
  • d9b5f5a7ee These x11 keysyms can be ifdef'ed directly. William McBrine 2018-01-06 09:06:51 -05:00
  • 6ba9ed058d I think this is better left to package maintainers. William McBrine 2018-01-06 08:13:00 -05:00
  • 8783206a4c No promises. William McBrine 2018-01-06 07:43:36 -05:00
  • d9fb37d508 Dropped support for Digital Mars. William McBrine 2018-01-06 00:05:50 -05:00
  • 3a685c6081 makedist.mif for gccwin32.mak; $(RM) everywhere. Needs testing. William McBrine 2018-01-05 21:16:26 -05:00
  • 6da8d892da Combined mingwin32.mak into gccwin32.mak. William McBrine 2018-01-05 18:13:58 -05:00
  • 528875e5f9 It's past time to drop the duplicated panel library kludge. (To Do: Merge panel.h with curses.h?) William McBrine 2018-01-05 10:12:10 -05:00
  • 9ab5376cf9 OS/2 include path was missing from my Open Watcom install... I assume it's not just me. William McBrine 2018-01-05 00:10:24 -05:00
  • e1dc67e4e4 Unix-friendly pathname separators and option markers for Watcom, after Tee-Kiah Chia. Not tested under Linux by me, yet. William McBrine 2018-01-04 23:51:32 -05:00
  • dae7b16eb6 SDL's PDC_scr_open() is too long. More to do here? William McBrine 2018-01-04 22:03:05 -05:00
  • dd881639e2 Suppress Borland warning. William McBrine 2018-01-04 18:43:46 -05:00
  • 3aabae92f6 Update comment. William McBrine 2018-01-04 16:17:54 -05:00
  • 0c232d8a22 A better location for this? + comment William McBrine 2018-01-02 16:49:43 -05:00
  • 49bbcee653 Add support for A_UNDERLINE, A_LEFTLINE, A_RIGHTLINE and A_PROTECT to Windows console, as well as better handling of A_REVERSE. (For Windows 10, at least -- not sure how far back this goes. Doesn't seem to work in XP.) William McBrine 2018-01-02 15:01:20 -05:00
  • bf7e9b0cc4 Oops. William McBrine 2018-01-02 07:39:41 -05:00
  • d86ad902fa Display the extended colors in testcurs. William McBrine 2018-01-02 07:32:24 -05:00
  • 57bbbb9015 256 colors for SDL and X11. After Bill Gray et al. William McBrine 2018-01-02 06:50:25 -05:00
  • bb06fd24d6 Allow for opaque window structs. To Do: getattrs() isn't really standard, either (although shared with ncurses). William McBrine 2018-01-02 00:46:23 -05:00
  • 4df86d3ae6 Quarter-height cursor for visibility == 1 in X11. William McBrine 2018-01-01 18:15:41 -05:00
  • 0b2831c94f Alternate (bold, italic) fonts and line attributes could leave some residue onscreen; this clears it up. Also, keep A_LEFTLINE in the box. William McBrine 2018-01-01 17:01:27 -05:00
  • 86e8742ac5 Need to ifdef these, too. William McBrine 2018-01-01 13:47:01 -05:00
  • 6f853d4aeb Better alignment. William McBrine 2018-01-01 13:19:15 -05:00
  • 5f109b8e3e Don't need sysattrs in narrow mode. William McBrine 2018-01-01 13:12:58 -05:00
  • 6df76705c4 Added "Attrib test" page to testcurs. William McBrine 2018-01-01 13:10:19 -05:00
  • 820bf424e4 Put testcurs' "Output test" into blink mode, if possible. William McBrine 2018-01-01 11:56:21 -05:00
  • 06f3d4e702 Added SP->termattrs and PDC_set_bold(). termattrs() is actually useful now. The main goal here is to allow A_BOLD to select *either* high intensity color (the old behavior) *or* a genuine bold font (the new option for SDL-TTF and X11), but not both at once; and also to facilitate similar choice with A_BLINK in the future. (High-intensity color can still be combined with bold fonts by directly selecting one of the 8-15 colors.) A_ITALIC is also half-covered, but since A_INVIS is kind of useless, I've omitted PDC_set_italic(). To Do: Test everywhere; more docs. William McBrine 2018-01-01 09:36:58 -05:00
  • d2feec20da Bring back 10x20 bold, pending... William McBrine 2017-12-31 23:56:17 -05:00
  • 68a4ef68c6 If COLORS >= 16, use colors 0-15 directly in the color test, instead of or'ing with A_BOLD to get the high-intensity colors. To Do: More of this. William McBrine 2017-12-31 13:59:47 -05:00
  • 8dcde27e8e Italic and bold support for SDL (1 and 2), in WIDE mode (TTF) only. To Do: Performance tuning? William McBrine 2017-12-30 23:52:45 -05:00
  • 1d8df138b7 Check only for matching widths... it seems too difficult to get the variant fonts matching in both dimensions. (Yes, there could be problems with this.) William McBrine 2017-12-30 22:28:01 -05:00
  • 56952d5697 Yes, it was backwards. William McBrine 2017-12-30 22:02:35 -05:00
  • c80ef08155 10x20 bold kind of sucks, and is missing characters. William McBrine 2017-12-30 21:43:30 -05:00
  • b3b320c329 Eh. William McBrine 2017-12-30 20:27:19 -05:00
  • 79b343510c Redundant. William McBrine 2017-12-30 20:06:38 -05:00
  • 3f70d30e69 Added "boldFont" resource for X11. After M.H. William McBrine 2017-12-30 18:57:03 -05:00