Commit Graph

  • beeb118938 More sensible definition and use of PDC_COLOR_PAIRS. William McBrine 2006-02-21 02:27:23 +00:00
  • 422bad2a50 PDCurses always acted as though start_color() had been called, whether it had or not. Now it actually does something, allowing a monochrome mode. To Do: Should init_pair() return ERR if !start_color()? William McBrine 2006-02-21 01:23:07 +00:00
  • a0844eeea1 Incorrect dimensions were shown when resizing. Also, removed the remnants of WMHints code. (Perhaps it will be revived later... but I have yet to find a WM where it helps.) William McBrine 2006-02-19 05:04:16 +00:00
  • 528f11b18e Formatting. William McBrine 2006-02-19 00:21:12 +00:00
  • 5506cd44be Added support for KEY_RESIZE. William McBrine 2006-02-18 23:52:26 +00:00
  • 9f181aa7ef Formatting. William McBrine 2006-02-18 23:52:07 +00:00
  • 221acf38b7 Added erase() calls after resize_term(). Not ideal, but needed here. William McBrine 2006-02-18 23:28:11 +00:00
  • cd2947d9e7 Updated build number. William McBrine 2006-02-17 03:26:09 +00:00
  • 5aa4a0f5ef New installation method: "xcurses" subdirectory in include directory. Instead of having to rename the header files and edit source, one can just specify "-I/usr/local/include/xcurses" (or whatever) at build time. xcurses.h and xpanel.h are still installed for backwards compatibility. William McBrine 2006-02-17 03:25:33 +00:00
  • 9fc28fd121 Formatting. William McBrine 2006-02-17 01:00:30 +00:00
  • 1757451211 Don't want the TRACE stuff. William McBrine 2006-02-17 00:47:43 +00:00
  • f7fdb35ba0 Added demos/README to dist and zip targets. William McBrine 2006-02-17 00:42:17 +00:00
  • 12b4f95d4b Removed floating point code so I can build it everywhere. Yes, I know it's supposedly slightly less random on some platforms. No, I don't care. William McBrine 2006-02-17 00:31:50 +00:00
  • c634ecb73b Ah, not the correct expansion of SIZEOF. Also, formatting. William McBrine 2006-02-17 00:03:04 +00:00
  • 677df73e4c Missed one. William McBrine 2006-02-16 23:40:30 +00:00
  • 6e07b01950 Simplified and (hopefully) clarified the boilerplate. William McBrine 2006-02-16 22:59:50 +00:00
  • f75779f448 Removed boilerplate from demos, added README. (Most of the demos originated outside PDCurses, and are already labelled appropriately. To Do: Still need to check on the status/origins of some of these.) William McBrine 2006-02-16 21:51:30 +00:00
  • b1ebb5fcfc Stupid warning suppression. William McBrine 2006-02-16 07:43:17 +00:00
  • 99c60ca79a Corrected line continuation for Watcom. William McBrine 2006-02-16 07:31:46 +00:00
  • e93d4f8643 rain and worm aren't building because of the floating point issues. :-/ William McBrine 2006-02-16 07:31:19 +00:00
  • f78ce3db72 Added return from main as warning suppression. Of course, this _adds_ a warning under Borland. (sigh) William McBrine 2006-02-16 07:29:09 +00:00
  • 10f77b82ac Added rain and worm to other makefiles. William McBrine 2006-02-16 06:46:58 +00:00
  • 7a35a46b30 Need some snazzier demos -- let's steal rain and worm from ncurses. William McBrine 2006-02-16 06:11:39 +00:00
  • 416c44c43c The XSetWMHints() call also causes problems with the icon under some window managers. Commenting it out for now. William McBrine 2006-02-16 03:11:57 +00:00
  • 51444f1133 Since the icon says "XCurses", use that instead of "PDCurses" for the default title. William McBrine 2006-02-15 08:39:57 +00:00
  • 2d22b117f2 OK, the icon is back! William McBrine 2006-02-15 08:36:12 +00:00
  • 59fdf48d0c The default icon was broken since the addition of XPM support (May '03). This fixes it for 2.7. Now to figure out how _I_ broke it in pre-2.8. William McBrine 2006-02-15 07:46:36 +00:00
  • a85610f8e6 Added PDCURSES_HOME to "include version" lines to allow building from other directories; also, formatting. William McBrine 2006-02-14 18:41:00 +00:00
  • b052b6ee1b Accidentally reverted to -O3. William McBrine 2006-02-14 03:23:32 +00:00
  • 7370e2d4fc Corrected use of "source version". Problem reported by MH. William McBrine 2006-02-14 02:53:07 +00:00
  • ba4db70370 Reports of its death were greatly exaggerated. William McBrine 2006-02-14 02:07:57 +00:00
  • 0980a811e8 If cursorColor is obsolete, let's remove the remaining references. William McBrine 2006-02-14 00:21:53 +00:00
  • 8d57a7c2aa Updated build number. William McBrine 2006-02-13 23:52:23 +00:00
  • 926ce34f0c Formatting, spelling. William McBrine 2006-02-13 19:57:58 +00:00
  • dc333a8eba Define XCURSES if not DOS, OS2 or WIN32. William McBrine 2006-02-13 19:44:37 +00:00
  • f7dda123da Updated comments about XCursesExit(), as well as XCursesProgramName; formatting. William McBrine 2006-02-13 18:32:20 +00:00
  • dcd9fa7883 Formatting. William McBrine 2006-02-13 18:16:35 +00:00
  • d9fcfb6c95 Formatting. William McBrine 2006-02-13 17:58:58 +00:00
  • 26420f4aa4 XCursesExit() calls no longer needed. William McBrine 2006-02-13 17:18:05 +00:00
  • da3d57a162 In the curses process, set up "atexit(XCursesExit)" -- explicit calls to XCursesExit are no longer needed. William McBrine 2006-02-13 17:03:34 +00:00
  • f9655b3873 Missed a say() call. William McBrine 2006-02-13 16:36:04 +00:00
  • fa43bc3c15 #warning doesn't work in old Borland... hmpf. William McBrine 2006-02-10 19:28:50 +00:00
  • af01c1dd02 Added "version" to zip and dist targets. William McBrine 2006-02-10 19:25:30 +00:00
  • d63d0934b6 A couple more references to VER_DOT. William McBrine 2006-02-10 19:18:54 +00:00
  • e472bfba93 Upgraded version numbers. (No, it's not that time yet.) William McBrine 2006-02-10 19:06:23 +00:00
  • 2c8afef9a0 Spelling. William McBrine 2006-02-10 18:57:03 +00:00
  • b1f75a84f9 Consolidated version info from all the makefiles into one included file, "version". To Do: Check if this is a problem for some non-GNU makes. William McBrine 2006-02-10 18:20:15 +00:00
  • 96aa1f5910 Formatting. William McBrine 2006-02-10 17:55:28 +00:00
  • 733e083ca4 Issue a warning if anyone includes this file. William McBrine 2006-02-10 17:41:34 +00:00
  • 56b213d234 Some duplicative comments (originally from the .h files). William McBrine 2006-02-08 21:47:56 +00:00
  • 6901c3eaa5 Standardized gcc-based compilers on -O2, for now. William McBrine 2006-02-08 18:42:43 +00:00
  • 9a373887ee "/mf" is redundant. I'm not too sure of the usefulness of "/ei", either. William McBrine 2006-02-08 18:35:14 +00:00
  • 3675163832 I don't think "/bm" is a desirable default, either; and "/mf" is redundant. William McBrine 2006-02-08 18:27:20 +00:00
  • 48cc8f7f1d Removed "/3s"; let Watcom use its native calling convention by default. William McBrine 2006-02-08 18:10:10 +00:00
  • ab71e6fbff Formatting. William McBrine 2006-02-08 17:57:18 +00:00
  • 0b60330917 Updated build number. William McBrine 2006-02-08 17:49:47 +00:00
  • d97e9dc8e1 More PDC_CDECL removal. (Resume from broken CVS pipe; why does it do that?) William McBrine 2006-02-08 17:41:13 +00:00
  • b0ecceeae5 Removed PDC_CDECL. It was used only in Watcom/Win32, and that, only in 2.7 (it was commented out previously). I tried all combinations of the supported Win32 compilers, and could not get any one to build binaries against another's libraries, except LCC against MSVC libs (even the reverse didn't work) -- and that didn't even involve cdecl. It's possible this could be made to work, but clearly it will involve a lot more than just PDC_CDECL. Meanwhile, it's... well, really ugly. So I'm dumping it, and just advise you to build PDCurses with the same compiler you use to build your app -- as far as I can tell, that's the only way that's ever worked anyway. William McBrine 2006-02-08 17:40:33 +00:00
  • dbee52e1ac New logic for termname() and longname(): termname() always returns "pdcurses"; longname() returns "PDCurses for [platform] [adapter] [COLOR/MONO]-YxX" (adapter is only defined for DOS and OS/2). This is the first time these functions return _anything_ in Win32. William McBrine 2006-02-07 20:16:52 +00:00
  • f481519d75 PDC_chadd() -> waddch() for simplification. William McBrine 2006-02-07 14:12:42 +00:00
  • 67c535436b Spelling, formatting, etc. William McBrine 2006-02-06 13:58:24 +00:00
  • dcf654c178 Combined readme.now into HISTORY. Needs a lot of work still. William McBrine 2006-02-06 04:32:25 +00:00
  • 154160e5de Hmm. William McBrine 2006-02-06 03:37:25 +00:00
  • 47d5e097f7 Inclusion of config.h is not needed here. William McBrine 2006-02-06 03:13:31 +00:00
  • f97934a6d7 config.h is not used in DOS or OS/2. William McBrine 2006-02-06 02:54:27 +00:00
  • 0821f39498 Formatting. William McBrine 2006-02-06 02:50:28 +00:00
  • 4f20b2925d Replaced readme.2? with readme.now, as found in 1.x (PCcurses) versions, and incorporating the older content. This is a temporary measure, as I still intend to rework this into a proper HISTORY file. William McBrine 2006-02-06 02:47:33 +00:00
  • c48730167d Warning cleanup for Borland. William McBrine 2006-02-06 01:55:00 +00:00
  • 57b7cd5403 Inclusion of config.h no longer needed here. William McBrine 2006-02-06 01:13:18 +00:00
  • 2a9463c606 Inclusion of config.h no longer needed here. William McBrine 2006-02-05 23:54:31 +00:00
  • bdf6a521f0 Formatting, simplification. William McBrine 2006-02-05 14:27:04 +00:00
  • d74c81929b Gratuitous multiplication. William McBrine 2006-02-05 13:55:09 +00:00
  • 3a7c737db1 "say()" is still too generic; make it "XCsay()". William McBrine 2006-02-05 13:18:10 +00:00
  • 4c817e1cde bcopy() -> memmove(). William McBrine 2006-02-05 05:09:18 +00:00
  • 135b4d357c Same thing for MOUSE_DEBUG -- replaced ifdef/printf with MOUSE_LOG. In the process, I removed the distinction (whatever it was) between MOUSE_DEBUG and MOUSE_DEBUG1. William McBrine 2006-02-05 05:03:09 +00:00
  • c6a0dae7bb say() -> XC_LOG, for clarity and code savings. William McBrine 2006-02-04 20:40:27 +00:00
  • 005dae294a In fact, let's just do this. William McBrine 2006-02-04 19:35:06 +00:00
  • f8b19126e0 Implementation of intrflush() made no sense (what it did was unrelated to what it's supposed to do). Empty for now... William McBrine 2006-02-04 19:30:32 +00:00
  • c07c791d1c Comparison of signed and unsigned. William McBrine 2006-02-04 17:35:12 +00:00
  • f975a60951 Rearrangement. William McBrine 2006-02-04 14:36:15 +00:00
  • 83706050b8 Minor corrections. William McBrine 2006-02-04 14:20:53 +00:00
  • cbf02d746b Extra warnings for Watcom/DOS. William McBrine 2006-02-04 04:15:43 +00:00
  • f7e0537160 Warning supression no longer needed. William McBrine 2006-02-04 04:08:59 +00:00
  • 922a37c818 The xmas demo benefits especially from NOMACROS. William McBrine 2006-02-04 03:51:31 +00:00
  • 230ace23e0 Removed the ", OK" macros. Avoids warnings; plus, most of these are not macros in most other curses implementations. William McBrine 2006-02-04 03:43:08 +00:00
  • 2787c73986 NOMACROS, new build number, comments. William McBrine 2006-02-04 03:28:32 +00:00
  • 8075f25a74 draino() is not in the standard, and is redundant, and an ugly name. Therefore let it be only a macro. William McBrine 2006-02-04 03:00:01 +00:00
  • 5b51ddc484 Made nonl() and nl() conform to the standard behavior; moved them from outopts to inopts. William McBrine 2006-02-04 02:34:00 +00:00
  • bb10e14c2a resetty() was not restoring LINES and COLS. Changing from PDC_resize_screen() to resize_term() fixes this. To Do: Change in reset_shell_mode()? And, is there a downside I'm missing? William McBrine 2006-02-04 01:57:50 +00:00
  • 87bbc65582 Removed some "if 0" blocks. William McBrine 2006-02-04 01:47:50 +00:00
  • 17cc2f5f66 flushinp() was not implemented for Win32. William McBrine 2006-02-04 00:58:41 +00:00
  • ca15593ff0 Replaced readme.ver with HISTORY in binary dist targets. William McBrine 2006-02-03 15:08:33 +00:00
  • 67ee7f8b34 Missing continuation. William McBrine 2006-01-30 12:21:50 +00:00
  • 5a9c907701 Spacing on "Portability" sections. To Do: Update these for X/Open '96. William McBrine 2006-01-30 12:17:18 +00:00
  • f370f911cc "const" on rcsid tag strings, and break them after the equal sign to keep them within 80 chars. Added rcsid to the X modules. William McBrine 2006-01-30 02:10:55 +00:00
  • e070838da3 Add HISTORY, remove readme.* from zip and dist; add *.spec to zip. William McBrine 2006-01-29 23:16:37 +00:00
  • 0136e11391 Fit all PDC_LOG calls within 80 columns (in the source, not the output). William McBrine 2006-01-29 23:05:22 +00:00
  • 190b7a86f2 Spacing. William McBrine 2006-01-29 20:03:22 +00:00
  • 9a06f68a41 XCurses_redraw_curscr() not used. William McBrine 2006-01-29 19:18:28 +00:00
  • fbb62d2d48 Simplified XCursesDisplayText(). William McBrine 2006-01-29 19:15:37 +00:00