William McBrine
d75af9836e
Table markdown for "Portability" sections
2025-02-18 22:37:31 -05:00
William McBrine
3c67ce4471
Adding the NetBSD functions reminded me how outdated the "Portability"
...
tables were. Hopefully this is more useful, if still questionable.
2019-05-12 18:35:47 -04:00
William McBrine
a0b7d587c1
Inconsistent line wrap length and spacing in "man page" descriptions.
2019-05-11 20:34:11 -04:00
William McBrine
4a15672341
Rebranding -- it's still public domain, but I'll no longer refer to it
...
as "Public Domain Curses". (Outside of the official docs, no one ever
did, anyway.)
2019-01-30 15:32:02 -05:00
William McBrine
74c33118cf
Same here.
2019-01-21 12:02:01 -05:00
William McBrine
eb87282857
Remove all trailing spaces.
2018-01-13 22:36:58 -05:00
William McBrine
cb7d82fc4b
Man page sections reformatted slightly, markdown-style.
2016-01-07 10:44:04 -05:00
William McBrine
51fec8ee32
Id tags aren't useful with git.
2015-06-20 09:06:43 -04:00
William McBrine
b73c2efb21
Some more documentation cleanup.
2008-07-14 12:22:13 +00:00
William McBrine
649d5171fa
Abandoning tabs, and changing indent to 4 spaces -- part 1.
2008-07-13 16:08:18 +00:00
William McBrine
bdc31fad97
Removed maintain.er and boilerplate; integrated contents into README;
...
replaced boilerplate with "Public Domain Curses", which covers both the
name and the (lack of) copyright status. :-)
2008-07-13 06:36:32 +00:00
William McBrine
902553ba67
Include config.h only from curspriv.h. Hopefully this will facilitate
...
moving it in the future...
2007-11-07 04:55:21 +00:00
William McBrine
65c53f035a
Move man page comment blocks to just after the RCSID.
2007-06-14 14:11:31 +00:00
William McBrine
a0ad37d420
Oops... can't have RCSID before including the file where the macro is
...
defined!
2007-06-14 13:50:28 +00:00
William McBrine
8f80d32951
Changed RCSIDs to not end with a semicolon -- avoids warnings with
...
-pedantic. Also, as long as I'm changing them, I decided to move them
all to just below the boilerplate, to have them in a more consistent
location.
2007-06-14 13:36:36 +00:00
William McBrine
3d8eea8473
Documentation: Removed the distinction between "X/Open Description" and
...
"PDCurses Description"; various cleanup. The new policy is simply to
describe PDCurses' behavior; if anyone wants the canonical descriptions
(which these weren't, anyway), they can refer to X/Open directly.
2007-03-16 06:33:45 +00:00
William McBrine
65754acd63
Spacing -- made man page header consistent.
2006-12-25 14:27:13 +00:00
William McBrine
68f0edd643
Similar changes for 0 as for NULL.
2006-11-05 07:13:40 +00:00
William McBrine
b83a8af26f
Reordered functions -- if there's a core function, it goes at the top;
...
others below arranged by group. Use "%p" instead of "%x" for pointers.
Made man page prototypes match functions.
2006-11-04 12:59:03 +00:00
William McBrine
7a547d2cba
Missing vw_scanw() from portability chart.
2006-11-01 15:22:37 +00:00
William McBrine
a3d640534b
Updated portability charts (removed "'88", flagged functions as Y in
...
X/Open column if they're in the current (1996) standard); removed
comments about macro implementation where no longer applicable.
2006-10-23 05:03:31 +00:00
William McBrine
1914c543c0
Dropped the "No distribution..." clause. It was widely violated anyway.
...
I only kept it in 2.8, rewriting it to mention trademark, to make it
clear that PDCurses was always public domain, despite the seemingly
contradictory wording in the boilerplate, and that trademark (not
copyright) was the only basis for restricting distribution in this case.
But I don't want to be like the Mozilla Foundation.
2006-10-15 02:42:26 +00:00
William McBrine
b228b60eea
Instead of defining CURSES_LIBRARY to include curspriv.h, include
...
curses.h (and define CURSES_LIBRARY) from curspriv.h. Also created
pdcwin.h, and moved some things there.
2006-10-08 20:54:30 +00:00
William McBrine
b59c9ba9a6
Static functions should probably not use the PDC_-style names, nor be
...
listed in the man page. More of these to do.
2006-08-21 16:42:41 +00:00
William McBrine
168e66f674
These functions are never defined as macros.
2006-08-20 21:48:36 +00:00
William McBrine
34f6b6d2ae
Useless comments.
2006-07-15 15:38:24 +00:00
William McBrine
8453b89ce2
New RCSID macro for RCS id strings; also added RCS id comments to the
...
remaining .h files. Note that the RCS ids are now static per module and
all have the same name.
2006-03-29 20:06:41 +00:00
William McBrine
9f644f5480
Make it static.
2006-03-20 17:33:57 +00:00
William McBrine
1c1a9184cf
Moved PDC_vsscanf() to scanw.c; removed external declarations for it.
2006-03-20 17:30:42 +00:00
William McBrine
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.
2006-03-20 17:11:18 +00:00
William McBrine
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().
2006-02-27 21:48:04 +00:00
William McBrine
e5921a8c88
Formatting -- mainly shortening the man-start and man-end lines to match
...
the boilerplate box.
2006-02-23 01:46:54 +00:00
William McBrine
aff031cf7b
New format for the boilerplate; other formatting. Yes, I'm probably
...
spending too much time on this.
2006-02-22 06:09:47 +00:00
William McBrine
6e07b01950
Simplified and (hopefully) clarified the boilerplate.
2006-02-16 22:59:50 +00:00
William McBrine
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.
2006-02-08 17:40:33 +00:00
William McBrine
5a9c907701
Spacing on "Portability" sections. To Do: Update these for X/Open '96.
2006-01-30 12:17:18 +00:00
William McBrine
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.
2006-01-30 02:10:55 +00:00
William McBrine
62b6ff87e3
Removed lines of asterisks from function headers; made spacing more
...
consistent; minor code cleanups.
2006-01-28 19:31:00 +00:00
William McBrine
b00304ab9f
More boilerplate reformatting.
2006-01-28 15:01:41 +00:00
William McBrine
56cce59ec7
Abandon non-stdarg code (it didn't work right). May as well abandon all
...
non-ANSI code now.
2006-01-28 14:51:16 +00:00
William McBrine
46c9e97efc
Per the spec, non-macro implementations for COLOR_PAIR(), PAIR_NUMBER(),
...
getbkgd(), mvgetnstr(), mvwgetnstr(), vw_printw(), and vw_scanw().
2006-01-27 18:41:37 +00:00
William McBrine
7b00053f56
Formatting, redundant code.
2006-01-27 16:18:00 +00:00
William McBrine
30337ac0d7
Replaced global c_printscanbuf with local buffers in vwprintw() and
...
vwscanw(); also, minor formatting.
2006-01-25 14:32:35 +00:00
William McBrine
e5c55b4eed
Added vwprintw() and vwscanw(); added macros for vw_printw and vw_scanw;
...
reworked other functions to use these. THESE are the last of the
non-attr_t, non-widechar functions from the standard, and I really mean
it this time.
2006-01-25 13:41:35 +00:00
William McBrine
1d49f9a31b
Redundant stdarg includes and defines (these are in curspriv.h).
2006-01-15 23:17:35 +00:00
William McBrine
ecdbfeb380
Reversing myself -- I had changed all move()'s to wmove(stdscr) (and
...
some already were that way), but it's no more direct, and move() is one
less parameter.
2006-01-14 06:42:03 +00:00
William McBrine
a611ccb3e5
Eliminated some redundant code; minor formatting changes. Also, some
...
routines accessed window structures in their variable declarations,
_before_ checking for a NULL window pointer.
2006-01-13 01:17:59 +00:00
William McBrine
ec5a8f3efb
Mostly formatting. Removed some cruft and dead code. Fixed a few minor
...
bugs. Hopefully didn't introduce any. :-)
2006-01-06 10:32:16 +00:00
William McBrine
1514521e2c
Replaced "if (trace_on) PDC_debug()" calls and surrounding ifdefs with
...
PDC_LOG() macro, just for neatness' sake. (First post-2.7 change.)
2006-01-03 07:34:43 +00:00
Mark Hessling
6b507fc980
Initial revision
2001-01-10 08:31:57 +00:00