Age | Commit message (Collapse) | Author |
|
Uses reallocarray() if available, otherwise checks for overflow itself,
if overflow is possible (i.e. in ILP32 & ILP64 environments, but not LP64
with 32-bit ints).
Includes unit tests and XtMallocArray() helper macro.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
XtNewString is strdup() with NULL check. A Function not a macro.
Signed-off-by: Walter Harms <wharms@bfs.de>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
C prototypes (and use the "Xt" prefix for these names as implemented since X11R4).
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Conflicts:
man/XtFindFile.man
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
This takes into account the _CONST_X_STRING feature, distinguishing
between String and char* and const char*, but also in
several cases, such as XtSessionGetToken, the manual page was wrong.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Conflicts:
man/XtAppErrorMsg.man
|
|
|
|
After the last cleanups all the private macros are
now obsolet. They are removed with:
sed -e'/^\.de/,/^\.ny/d' -i
|
|
Conflicts:
man/XtManageChildren.man
|
|
The in-text macros are a problem when maintaining the text.
While removing i noticed several problems with missing
definitions this is fixed also.
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Use ".B" when only bold is intended.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
|
|
this make way to remove all private macro definitions from
the header. Now only plain man macros are used.
|
|
using <X11/Xutil.h> instead of < X11/Xutil.h > make things
more easy and closer to std. man pages
noted by Thomas Dickey
|
|
By replacing we do two things:
1. this fixes the troff behavier
2. this moves us closer to std. man pages
3. after this patch the macro ZN can be deleted
Signed-off-by: Walter Harms <wharms@bfs.de>
|
|
After this patch the macro can savely be removed.
Signed-off-by: Walter Harms <wharms@bfs.de>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
groff, and would display badly. Modified the macro in the files which use
it, to do what was intended.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
1989 in X11R4. The command was given a ".ny0", but nroff did not accept
more than two-character names, so it "should" have been ".ny 0". Further,
since there is no standard macro "ny" (and no command), define a fallback.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Also, change .Ds/.De to use CW font, as what they're wrapping is code displays.
This may not be recognized on archaic Unixes, but .ft 1 isn't any too safe
either. The PostScript and DVI drivers both grok CW.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
another manual page.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512130
The Xt manpages are installed in section 3 (and not 3Xt as upstream
would have it). But, internal cross-references (in particular, in the
SEE ALSO part) are left alone, and keep pointing at Foo(3Xt). The
result is that they can't be automatically followed from manpage
sanitizers such as dwww or emacs.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Like asprintf() but using XtMalloc() to tie into the Xt memory allocation
and error handling subsystems.
Bumps libXt version to 1.0.99.1 so that modules can set their pkg-config
dependency to libXt >= 1.0.99.1 to require XtAsprintf().
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Simplify the build process and the makefile.
Local fix in CVS for bug 5628 is not required
as the problem has been fixed in
util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
There were no special symbols needing cpp.
Everything can be handled by the default MAN_SUBSTS in util-macros.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Includes adding many $(AM_V_GEN) calls for the AM_SILENT_RULES included
by XORG_DEFAULT_OPTIONS when automake-1.11 or newer is used
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Allows parallel make and simpler build logs/error reporting
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Most "compiler" warnings were actually sparse warnings, due to
assigning a integer to a pointer, or an external symbol without
a previous declaration.
|
|
<http://bugs.freedesktop.org/show_bug.cgi?id=17942>
|
|
|