summaryrefslogtreecommitdiff
path: root/man
Commit message (Collapse)AuthorAgeFilesLines
* Add XtReallocArray() for overflow checking of multiplied argsAlan Coopersmith2023-03-071-11/+14
| | | | | | | | | | 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>
* codespell-fixesThomas E. Dickey2022-06-1410-20/+20
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add _X_NORETURN to agree with header-fileThomas E. Dickey2022-06-144-8/+8
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix documentation to refect reality..Walter Harms2019-06-101-14/+5
| | | | | | XtNewString is strdup() with NULL check. A Function not a macro. Signed-off-by: Walter Harms <wharms@bfs.de>
* fix fake-quotes in manpagesThomas E. Dickey2019-06-107-18/+51
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* manpage style fix: sentences should end at the end of a lineThomas E. Dickey2019-05-0738-116/+227
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* updated spec to correspond to the current implementation of XtAppMainLoopThomas E. Dickey2019-05-071-2/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* update manpage for changes to XtAppMainLoop()Thomas E. Dickey2019-05-071-15/+13
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add #include for <X11/Intrinsic.h> to manpages, per conventionThomas E. Dickey2019-04-21107-0/+108
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* move MenuPopdown and MenuPopup to section to distinguish these actions from ↵Thomas E. Dickey2019-04-212-11/+13
| | | | | | C prototypes (and use the "Xt" prefix for these names as implemented since X11R4). Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* remove calls to "IN" macro, which was recently removed from headerThomas E. Dickey2019-04-162-2/+0
|
* update manpage prototype for XtFindFile()Thomas E. Dickey2019-04-161-1/+1
| | | | | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> Conflicts: man/XtFindFile.man
* fix minor regression in prototype updatesThomas E. Dickey2019-04-164-5/+5
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* avoid using C keyword "default" as parameter nameThomas E. Dickey2019-04-161-2/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* updated manual pages' C prototypes to agree with the header-files.Thomas E. Dickey2019-04-1644-135/+175
| | | | | | | | | | | 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
* The last commit removed "IN" macro, but not the lines which used it.Thomas E. Dickey2019-04-163-3/+0
|
* Remove unused macros to ease maintenanceWalter Harms2019-04-16107-2352/+0
| | | | | | After the last cleanups all the private macros are now obsolet. They are removed with: sed -e'/^\.de/,/^\.ny/d' -i
* Merge branch 'master' of ssh://gitlab.freedesktop.org/xorg/lib/libxtWalter Harms2019-04-16104-671/+690
|\ | | | | | | | | Conflicts: man/XtManageChildren.man
| * restore fixed-pitch formatting of code-examplesThomas E. Dickey2019-04-115-3/+21
| | | | | | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
| * The ".BR" macro is used to join bold/regular text.Thomas E. Dickey2019-04-11104-667/+667
| | | | | | | | | | | | Use ".B" when only bold is intended. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* | remove in-text macrosWalter Harms2019-04-1546-180/+105
|/ | | | | | The in-text macros are a problem when maintaining the text. While removing i noticed several problems with missing definitions this is fixed also.
* FIX: add missing .fiWalter Harms2019-04-042-0/+3
|
* replace the use of .Ds/.De macro with the std. RS/.RE macroWalter Harms2019-04-044-16/+17
| | | | | this make way to remove all private macro definitions from the header. Now only plain man macros are used.
* remove space after < for include filenameWalter Harms2019-04-041-2/+2
| | | | | | | using <X11/Xutil.h> instead of < X11/Xutil.h > make things more easy and closer to std. man pages noted by Thomas Dickey
* replace .ZN with .BRWalter Harms2019-04-02106-954/+954
| | | | | | | | | 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>
* Replace last two uses of .Pn with .ZNWalter Harms2019-04-022-4/+4
| | | | | After this patch the macro can savely be removed. Signed-off-by: Walter Harms <wharms@bfs.de>
* update the "Ds" macro in the other files, for consistencyThomas E. Dickey2019-03-16103-412/+103
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* None of the versions of the "Ds" macro (going back to X11R4) worked withThomas E. Dickey2019-03-164-16/+4
| | | | | | | 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>
* fix typo from last changeThomas E. Dickey2019-03-161-1/+0
|
* trim down the "De" macro by removing the parts that used never-defined registersThomas E. Dickey2019-03-16107-536/+0
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* cleanup undefined macros in manpagesThomas E. Dickey2019-03-1614-15/+13
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* split-up lines longer than 80 columns in manpagesThomas E. Dickey2019-03-1619-19/+42
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix typo from last stepThomas E. Dickey2019-03-161-1/+1
|
* trim undefined symbol "D" from ".Ds" macros in manpages.Thomas E. Dickey2019-03-16107-107/+107
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* workaround for obsolete macro/command ".ny", in the manpages since lateThomas E. Dickey2019-03-16107-107/+321
| | | | | | | | 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>
* Remove unused macros that are temptations to presentation-level klugery.Eric S. Raymond2012-08-23107-6634/+107
| | | | | | | | 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>
* Eliminate use of tab stops.Eric S. Raymond2012-08-232-12/+7
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Avoid referencing something that isn't defined. Bring in the definition from ↵Thomas Klausner2012-07-301-0/+1
| | | | | | | | 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>
* Strip trailing whitespaceAlan Coopersmith2011-10-03107-1294/+1294
| | | | | | | 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>
* man: replace hard coded section number 3Xt with __libmansuffix__ #35050Gaetan Nadon2011-03-0855-87/+87
| | | | | | | | | | | | | 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>
* Add XtAsprintf() as a new exported APIAlan Coopersmith2011-01-123-1/+21
| | | | | | | | | | 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>
* Purge cvs tags.Jesse Adkins2010-10-06107-456/+1
| | | | | Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* man: whitespace managementGaetan Nadon2010-08-171-458/+457
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* man: store shadow man pages in git rather than generating themGaetan Nadon2010-08-17161-289/+165
| | | | | | | | | | 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>
* man: using the C preprocessor is not required for man pages.Gaetan Nadon2010-08-061-37/+2
| | | | | | | 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>
* Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith2009-10-061-70/+70
| | | | | | | 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>
* Use make rules instead of shell for loops to generate shadow man pagesAlan Coopersmith2009-10-061-220/+276
| | | | | | Allows parallel make and simpler build logs/error reporting Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Janitor: ansification, make distcheck, compiler warnings, .gitignore.Paulo Cesar Pereira de Andrade2009-01-301-3/+0
| | | | | | Most "compiler" warnings were actually sparse warnings, due to assigning a integer to a pointer, or an external symbol without a previous declaration.
* X.Org Bug 17942: libXt manpage formattingPeter Breitenlohner2008-10-201-1/+1
| | | | <http://bugs.freedesktop.org/show_bug.cgi?id=17942>
* Sync XtGetErrorDatabaseText() prototype with reality.Matthieu Herrb2007-02-261-4/+1
|