summaryrefslogtreecommitdiff
path: root/man
AgeCommit message (Collapse)Author
2023-03-07Add XtReallocArray() for overflow checking of multiplied argsAlan Coopersmith
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>
2022-06-14codespell-fixesThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2022-06-14add _X_NORETURN to agree with header-fileThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-06-10fix documentation to refect reality..Walter Harms
XtNewString is strdup() with NULL check. A Function not a macro. Signed-off-by: Walter Harms <wharms@bfs.de>
2019-06-10fix fake-quotes in manpagesThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-05-07manpage style fix: sentences should end at the end of a lineThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-05-07updated spec to correspond to the current implementation of XtAppMainLoopThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-05-07update manpage for changes to XtAppMainLoop()Thomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-21add #include for <X11/Intrinsic.h> to manpages, per conventionThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-21move MenuPopdown and MenuPopup to section to distinguish these actions from ↵Thomas E. Dickey
C prototypes (and use the "Xt" prefix for these names as implemented since X11R4). Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-16remove calls to "IN" macro, which was recently removed from headerThomas E. Dickey
2019-04-16update manpage prototype for XtFindFile()Thomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> Conflicts: man/XtFindFile.man
2019-04-16fix minor regression in prototype updatesThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-16avoid using C keyword "default" as parameter nameThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-16updated manual pages' C prototypes to agree with the header-files.Thomas E. Dickey
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
2019-04-16The last commit removed "IN" macro, but not the lines which used it.Thomas E. Dickey
2019-04-16Remove unused macros to ease maintenanceWalter Harms
After the last cleanups all the private macros are now obsolet. They are removed with: sed -e'/^\.de/,/^\.ny/d' -i
2019-04-16Merge branch 'master' of ssh://gitlab.freedesktop.org/xorg/lib/libxtWalter Harms
Conflicts: man/XtManageChildren.man
2019-04-15remove in-text macrosWalter Harms
The in-text macros are a problem when maintaining the text. While removing i noticed several problems with missing definitions this is fixed also.
2019-04-11restore fixed-pitch formatting of code-examplesThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-11The ".BR" macro is used to join bold/regular text.Thomas E. Dickey
Use ".B" when only bold is intended. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-04-04FIX: add missing .fiWalter Harms
2019-04-04replace the use of .Ds/.De macro with the std. RS/.RE macroWalter Harms
this make way to remove all private macro definitions from the header. Now only plain man macros are used.
2019-04-04remove space after < for include filenameWalter Harms
using <X11/Xutil.h> instead of < X11/Xutil.h > make things more easy and closer to std. man pages noted by Thomas Dickey
2019-04-02replace .ZN with .BRWalter Harms
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>
2019-04-02Replace last two uses of .Pn with .ZNWalter Harms
After this patch the macro can savely be removed. Signed-off-by: Walter Harms <wharms@bfs.de>
2019-03-16update the "Ds" macro in the other files, for consistencyThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-03-16None of the versions of the "Ds" macro (going back to X11R4) worked withThomas E. Dickey
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>
2019-03-16fix typo from last changeThomas E. Dickey
2019-03-16trim down the "De" macro by removing the parts that used never-defined registersThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-03-16cleanup undefined macros in manpagesThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-03-16split-up lines longer than 80 columns in manpagesThomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-03-16fix typo from last stepThomas E. Dickey
2019-03-16trim undefined symbol "D" from ".Ds" macros in manpages.Thomas E. Dickey
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-03-16workaround for obsolete macro/command ".ny", in the manpages since lateThomas E. Dickey
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>
2012-08-23Remove unused macros that are temptations to presentation-level klugery.Eric S. Raymond
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>
2012-08-23Eliminate use of tab stops.Eric S. Raymond
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-07-30Avoid referencing something that isn't defined. Bring in the definition from ↵Thomas Klausner
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>
2011-10-03Strip trailing whitespaceAlan Coopersmith
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>
2011-03-08man: replace hard coded section number 3Xt with __libmansuffix__ #35050Gaetan Nadon
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>
2011-01-12Add XtAsprintf() as a new exported APIAlan Coopersmith
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>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-08-17man: whitespace managementGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-17man: store shadow man pages in git rather than generating themGaetan Nadon
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>
2010-08-06man: using the C preprocessor is not required for man pages.Gaetan Nadon
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>
2009-10-06Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
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>
2009-10-06Use make rules instead of shell for loops to generate shadow man pagesAlan Coopersmith
Allows parallel make and simpler build logs/error reporting Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-30Janitor: ansification, make distcheck, compiler warnings, .gitignore.Paulo Cesar Pereira de Andrade
Most "compiler" warnings were actually sparse warnings, due to assigning a integer to a pointer, or an external symbol without a previous declaration.
2008-10-20X.Org Bug 17942: libXt manpage formattingPeter Breitenlohner
<http://bugs.freedesktop.org/show_bug.cgi?id=17942>
2007-02-26Sync XtGetErrorDatabaseText() prototype with reality.Matthieu Herrb