Commit Graph

  • 8fdda400ff Merged PDC_clr_update() into doupdate(). William McBrine 2006-03-27 14:15:54 +00:00
  • 00ba481498 Removed PDC_doupate(), and the undocumented check for the environment variable "PDC_FULL_DISPLAY". Performance testing showed no difference. It probably _did_ make a difference, back in the refrbrk = TRUE days, by bypassing the delay after each line. William McBrine 2006-03-27 14:07:21 +00:00
  • 61b5c857a4 Made "direct_video" DOS-only. William McBrine 2006-03-27 04:35:41 +00:00
  • c0d45a2eea PDC_putchar() doesn't actually exist. William McBrine 2006-03-27 04:26:18 +00:00
  • 1d8dc13844 Saving x/y no longer needed in wnoutrefresh() with the removal of the title() stuff. William McBrine 2006-03-26 02:23:23 +00:00
  • aa30d51645 "if defined", "if !defined", "ifdef" and "ifndef" were used inconsistently. The new rule is: Use the shorter form wherever possible. William McBrine 2006-03-26 01:48:55 +00:00
  • 31bd736913 video_seg, video_ofs, and video_page to DOS only; also, formatting. To Do: I don't think video_page is needed at all, and direct_video could be DOS-specific. William McBrine 2006-03-26 01:17:14 +00:00
  • eb8bc14dca os_version = leftover debugging. William McBrine 2006-03-26 00:54:10 +00:00
  • dc12e986e6 Removed "full_redraw". It was never initialized (neither true or false), and used only to invoke PDC_clr_scrn(), in one block that's been commented out since version 2.2. Also removed PDC_clr_scrn(), which was never used except in the same place. William McBrine 2006-03-25 23:57:50 +00:00
  • e3c1734a0b PDC_clr_update() is never called with anything other than curscr, and I see no reason to preserve the ability to do so. William McBrine 2006-03-25 23:39:55 +00:00
  • 7823bf9e68 Simplified PDC_transform_line(). William McBrine 2006-03-25 13:49:31 +00:00
  • 8ebb837afc Formatting. William McBrine 2006-03-25 12:20:20 +00:00
  • 8c5344ecb5 No point keeping the typeahead() calls in here, either. William McBrine 2006-03-25 12:17:11 +00:00
  • d3f34a088b Formatting. William McBrine 2006-03-25 10:37:17 +00:00
  • 6dc02753d2 Formatting. William McBrine 2006-03-25 04:11:21 +00:00
  • 0bea81fe49 Simplified and merged PDC_clr_update(). (Eliminates what are essentially redundant implementations of PDC_transform_line() for each port; and the remaining code is identical between ports.) William McBrine 2006-03-25 03:17:37 +00:00
  • f33ac8a958 Formatting. William McBrine 2006-03-25 01:37:35 +00:00
  • 0fe444aba2 Updated build number. William McBrine 2006-03-25 00:53:35 +00:00
  • 677bec6012 typeahead() just didn't work. Perhaps one day this will be reimplemented correctly. But more likely not -- it really only makes sense for slow terminals. William McBrine 2006-03-25 00:41:27 +00:00
  • 723791050e _use_idc and _use_idl have never been used in PDCurses, although the values could be set by idlok() and idcok(). Nor do they make sense in the PDCurses context. The only reason to consider retaining them is compatibility -- HPUX, Solaris and Tru64 curses all have them. But NCurses and BSD don't; and per the standard, the WINDOW struct should be opaque, so it shouldn't matter. idlok() and idcok(), by contrast, must be retained, although they do nothing. William McBrine 2006-03-25 00:30:36 +00:00
  • 842b829817 Removed wtitle() etc. and associated structures. These were added by Frotz and marked "Need to document these" for 14+ years... I'm hoping that since they never _were_ documented, no one else ever used them; otherwise I'd be more reluctant to remove them. But in general, I feel that PDCurses should implement standards and be compatible, and not encourage development of PDCurses-specific code. William McBrine 2006-03-25 00:11:53 +00:00
  • 414bf4fcf6 More simplification. William McBrine 2006-03-23 12:19:09 +00:00
  • 3d21e8aa7c Some more simplification. William McBrine 2006-03-22 17:10:18 +00:00
  • b24ec0d210 More simplification. William McBrine 2006-03-22 14:05:29 +00:00
  • 05b88e95c3 Remove xcurses-config as part of "make distclean". William McBrine 2006-03-22 14:05:01 +00:00
  • b29240a5bb Simplified configure files; merged accommon.m4 into aclocal.m4, since it's no longer tracking MH's version. William McBrine 2006-03-22 13:34:50 +00:00
  • bde3b05c88 Formatting, dead code. William McBrine 2006-03-22 11:59:53 +00:00
  • 47897cf138 Default to /usr/local as install directory. William McBrine 2006-03-21 19:28:17 +00:00
  • bc35002a8b Formatting, consistency. William McBrine 2006-03-21 00:13:56 +00:00
  • 150369fd80 Comments. William McBrine 2006-03-20 23:57:06 +00:00
  • eace49d475 Updated comments. William McBrine 2006-03-20 23:49:44 +00:00
  • 9f644f5480 Make it static. William McBrine 2006-03-20 17:33:57 +00:00
  • 1c1a9184cf Moved PDC_vsscanf() to scanw.c; removed external declarations for it. William McBrine 2006-03-20 17:30:42 +00:00
  • fe795d9ba3 The call to wgetstr() in vwscanw() was already safe, due to the use of MAXLINE in getstr.c; but it makes more sense to specify the limit here. William McBrine 2006-03-20 17:11:18 +00:00
  • d133a075fa WINDOW._blank was never set to anything but ' '. William McBrine 2006-03-20 07:46:26 +00:00
  • a97b70b2b0 Dropped support for PDCURSES_WCLR. I doubt that anyone ever used it. William McBrine 2006-03-20 07:43:33 +00:00
  • b49e16c275 Finally finished merging the comments from the header files into the old readme.* text. William McBrine 2006-03-20 07:34:43 +00:00
  • 7555f692e8 32 bits are enough for the "long" chtype, but 64 bits were used on a 64-bit system, wasting memory. Now conditioned on _LP64. This could be faster, too. Also updated build number. William McBrine 2006-03-20 01:13:09 +00:00
  • d4d676a385 vsnprintf() is not in all versions of Borland/Turbo C. I'll add this back when I figure out which ones do have it. William McBrine 2006-03-20 00:56:56 +00:00
  • c618e1e80a Reflect configure.in -> configure.ac change. William McBrine 2006-03-11 11:42:24 +00:00
  • 49d34f92ea Removed some redundancies. William McBrine 2006-03-11 11:37:53 +00:00
  • e9706a7572 Revert to AC_CANONICAL_SYSTEM -- autoupdate changed this to AC_CANONICAL_TARGET, but that gives a bunch of warnings with autoconf. Need to get a better handle on this. William McBrine 2006-03-11 10:46:53 +00:00
  • 09b7477310 New name for configure.in, as recommended by autoconf. William McBrine 2006-03-11 06:43:13 +00:00
  • 44f48ed692 Not having the ANSI headers is an error; remove some redundant tests. William McBrine 2006-03-11 06:36:58 +00:00
  • de56ac93f8 Need to include config.h again. William McBrine 2006-03-11 06:23:16 +00:00
  • 3aa9199cd6 Some non-configure platforms that HAVE_VSNPRINTF; updated build number. William McBrine 2006-03-11 06:11:47 +00:00
  • 4865dcc859 if -> ifdef, just for consistency. William McBrine 2006-03-11 03:47:27 +00:00
  • d8379edab0 Use vsnprintf() when possible. To Do: Add it for the non-configure builds. William McBrine 2006-03-11 03:45:35 +00:00
  • 8e12cef8e1 Upgraded to autoconf 2.59; added check for vsnprintf(). Much more to do in regards to the build system. William McBrine 2006-03-11 03:41:01 +00:00
  • 9f54744e4e "source version" doesn't work with the /bin/sh in OpenBSD. :-/ There seems no choice but to hardwire the version number in xcurses-config.in. William McBrine 2006-03-11 03:15:12 +00:00
  • 62a2927f73 One more stray reference to the saa dir. William McBrine 2006-03-10 11:16:11 +00:00
  • 18fe9ed7fb Formatting. William McBrine 2006-03-01 09:52:25 +00:00
  • f72aaf4d9b Simplified Watcom makefiles -- "demos.lnk" not needed. William McBrine 2006-03-01 09:40:51 +00:00
  • 5d1619e159 Unused parameters. William McBrine 2006-03-01 08:34:35 +00:00
  • 574e0c831d Formatting. William McBrine 2006-03-01 08:04:34 +00:00
  • 1ff69071e7 Absurd warning supression for LCC: "while (1)" -> "for (;;)". William McBrine 2006-03-01 08:01:02 +00:00
  • 191c211bf1 Last of the Borland/LCC warnings. Not elegant, but oh well. William McBrine 2006-03-01 07:48:33 +00:00
  • f8fd21ac1b Not needed / warning cleanup. William McBrine 2006-03-01 05:34:36 +00:00
  • dcb45976b3 Here's the way to satisfy all compilers. William McBrine 2006-03-01 05:25:56 +00:00
  • 562bf63a16 Typo. William McBrine 2006-02-28 21:48:10 +00:00
  • f4f0c12e8e Changed object lists from one per line to as many as will fit. I suppose the old way was intended to be neater, but I think it's actually easier to read this way. To Do: Still a lot of redundancy. William McBrine 2006-02-28 20:42:35 +00:00
  • 3c343d8c9e Turn off the clipboard test. If I weren't concerned about backward compatibility, I'd remove all the clipboard functionality. I don't see how it belongs in a curses library. William McBrine 2006-02-28 19:18:57 +00:00
  • 6d5b3d5870 Removed PDC_ORIGINAL_COLORS comments. William McBrine 2006-02-28 02:09:15 +00:00
  • cb85c3d072 Now, if start_color() is not called, the default colors are used, even if PDC_ORIGINAL_COLORS is not set. This corresponds to other implementations. If PDC_ORIGINAL_COLORS _is_ set, the default colors are used even after start_color(). However, I'm going to mark this as deprecated. William McBrine 2006-02-28 02:04:57 +00:00
  • 425c138795 consts for *scanw(). Again, not in the standard -- and this time, for some reason, ncurses is less sanguine about it, using NCURSES_CONST instead of the plain const used in *printw(); but again, I see no logical reason not to do it. Also added a const for PDC_vsscanf(), though in fact it wasn't needed after all as a prerequisite for adding consts to *scanw(). William McBrine 2006-02-27 21:48:04 +00:00
  • c7376480d9 New TERMINAL structure. Not much, but anyway. William McBrine 2006-02-27 09:20:16 +00:00
  • 9b9cefde2e Proper (more or less) implementation of newterm(); allow error return from set_term(). William McBrine 2006-02-27 08:53:43 +00:00
  • d187b18759 Added const to *printw(). This is not in the standard, but I can see no logical reason not to do it, and it's done by several other curses implementations. To Do: *scanw(); but that will require altering PDC_vsscanf() first, or removing it. William McBrine 2006-02-27 08:38:14 +00:00
  • c97f25ca85 More consts. William McBrine 2006-02-27 08:19:33 +00:00
  • 451bd32e7b More consts. William McBrine 2006-02-27 08:13:04 +00:00
  • 6393e92333 More consts. William McBrine 2006-02-27 07:58:31 +00:00
  • da30ef9b74 Added const to XCurses_transform_line(). William McBrine 2006-02-27 07:48:45 +00:00
  • 5b3658fb7c Added const to PDC_set_title(). William McBrine 2006-02-27 07:28:32 +00:00
  • 7f85a08f5a Updated build number. William McBrine 2006-02-25 22:32:26 +00:00
  • 2df1731a4d Musn't mess with the original window data. William McBrine 2006-02-25 21:34:45 +00:00
  • a88c8c123c Let's try this again -- print ACS_BLOCK as reversed space in X11. And it seems I forgot to commit lccwin32.mak; there, I took out "-D__LCC__". William McBrine 2006-02-25 21:21:16 +00:00
  • 7a62fe4265 LINK is no longer used. William McBrine 2006-02-25 10:08:02 +00:00
  • 1c5cb1c204 Simplified; demos built in one pass. William McBrine 2006-02-25 04:36:37 +00:00
  • 6b26a9ff84 Minor tweaks. William McBrine 2006-02-25 02:53:23 +00:00
  • 4130822b4b Need time.h. William McBrine 2006-02-24 02:40:31 +00:00
  • 62264f9862 Added calls to srand(). William McBrine 2006-02-24 02:38:21 +00:00
  • af8c7ffd9e Multiple calls to srand() not needed. William McBrine 2006-02-24 02:34:23 +00:00
  • 41c5871ec2 napms(12) is the lowest value that actually works in DJGPP. To Do: fix napms() in DJGPP. William McBrine 2006-02-24 02:33:20 +00:00
  • 103fd71e4b Formatting, typos, redundant text. William McBrine 2006-02-23 17:16:03 +00:00
  • b819fa129a Formatting. William McBrine 2006-02-23 01:49:12 +00:00
  • e5921a8c88 Formatting -- mainly shortening the man-start and man-end lines to match the boilerplate box. William McBrine 2006-02-23 01:46:54 +00:00
  • 105156122c Formatting. William McBrine 2006-02-23 00:11:35 +00:00
  • 7053af840d New format for boilerplate. (Another broken CVS session... argh.) William McBrine 2006-02-22 06:10:34 +00:00
  • aff031cf7b New format for the boilerplate; other formatting. Yes, I'm probably spending too much time on this. William McBrine 2006-02-22 06:09:47 +00:00
  • edf8f5ff64 Removed REGISTERWINDOWS stuff. This seems to have been an abortive attempt to provide functionality comparable to that now provided by the panel library. Most of the code was removed in version 2.2 (at the same time the panel lib was added). No released version actually worked, AFAICT. William McBrine 2006-02-22 05:25:19 +00:00
  • 91b2d2124f COLOR_PAIR() should & with A_COLOR, not A_ATTRIBUTES. William McBrine 2006-02-21 17:20:17 +00:00
  • 31033f3c09 Added PDC_COLOR_SHIFT, moved PDC_ATTR_SHIFT to curses.h, simplified macros and functions. William McBrine 2006-02-21 07:05:43 +00:00
  • 0841d0b85c PDC_SHIFT is too generic; make it PDC_ATTR_SHIFT. William McBrine 2006-02-21 06:40:52 +00:00
  • 54eecf50da Removed useless extra element of atrtab[]; removed spurious extra color pair in 16-bit mode; revised comments (PDCurses' behavior is in fact per the standard, not an abberation). William McBrine 2006-02-21 04:59:21 +00:00
  • 3b7f3ee654 Formatting. William McBrine 2006-02-21 04:46:51 +00:00
  • e540ded7a3 Formatting. William McBrine 2006-02-21 04:41:17 +00:00
  • 90488beb8a Redundant calls to PDC_init_atrtab(). William McBrine 2006-02-21 04:32:26 +00:00
  • f52f1a6e77 Same init_pair() code for 16-bit and 32-bit chtypes, and for XCurses. Much cruft removed, and the 16-bit chtype now works in XCurses. William McBrine 2006-02-21 04:21:13 +00:00
  • 25bcb57f7b Better defaults for 16-bit chtype. William McBrine 2006-02-21 02:51:02 +00:00
  • 977db23489 Formatting. William McBrine 2006-02-21 02:38:58 +00:00