summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add xawhistoHEADmasterWalter Harms2023-05-133-2/+86
|
* add examplesWalter Harms2023-05-1210-0/+608
| | | | provide some examples to support the documentation
* Set close-on-exec when opening filesAlan Coopersmith2023-03-283-10/+25
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXaw 1.0.15libXaw-1.0.15Alan Coopersmith2023-03-151-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith2023-03-041-1/+2
| | | | | | | | | | | | | | | | | AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:13: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:13: the top level libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Replace calls to index() with strchr()Alan Coopersmith2023-02-282-14/+14
| | | | | | Use C standard API instead of old BSD equivalent Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add .git-blame-ignore-revs to hide whitespace commits from git blameAlan Coopersmith2023-02-281-0/+18
| | | | | | | | | To use this in your local repo clone, you will need to either run `git blame --ignore-revs-file .git-blame-ignore-revs` or set it permanently with `git config blame.ignoreRevsFile .git-blame-ignore-revs` Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith2023-02-251-1/+1
| | | | | | Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* issue #6: fix typo in XawMax parameter in GetBlockBoundariesThomas E. Dickey2022-07-041-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* Stop memory leak in error paths in XawTextSinkConvertPropertyList()Alan Coopersmith2022-05-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issues reported by Oracle Parfait static analyzer: Error: Memory leak Memory leak [memory-leak] (CWE 401): Memory leak of pointer pointer allocated with XtCalloc(1, 144) at line 1586 of lib/libXaw/src/TextSink.c in function 'XawTextSinkConvertPropertyList'. pointer allocated at line 1570 with XtCalloc(1, 144) pointer leaks when XawFindArgVal(params, "font") != NULL at line 1573 and argval->value != NULL at line 1574 and XLoadQueryFont(screen->display, argval->value) == NULL at line 1577. Memory leak [memory-leak] (CWE 401): Memory leak of pointer pointer allocated with XtCalloc(1, 144) at line 1605 of lib/libXaw/src/TextSink.c in function 'XawTextSinkConvertPropertyList'. pointer allocated at line 1570 with XtCalloc(1, 144) pointer leaks when argval->value == NULL at line 1574 and XawFindArgVal(params, "foreground") != NULL at line 1593 and argval->value != NULL at line 1594 and XAllocNamedColor(...) == 0 at line 1595. Memory leak [memory-leak] (CWE 401): Memory leak of pointer pointer allocated with XtCalloc(1, 144) at line 1622 of lib/libXaw/src/TextSink.c in function 'XawTextSinkConvertPropertyList'. pointer allocated at line 1570 with XtCalloc(1, 144) pointer leaks when argval->value == NULL at line 1574 and XawFindArgVal(params, "background") != NULL at line 1610 and argval->value != NULL at line 1611 and XAllocNamedColor(...) == 0 at line 1612. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Stop memory leak in GetResourcePixmapPath()Alan Coopersmith2022-05-071-0/+1
| | | | | | | | | | | | Fixes issue reported by Oracle Parfait static analyzer: Error: Memory leak Memory leak [memory-leak] (CWE 401): Memory leak of pointer pointer allocated with XtMalloc((strlen(value.addr) + 1)) at line 700 of lib/libXaw/src/Pixmap.c in function 'GetResourcePixmapPath'. pointer allocated at line 679 with XtMalloc((strlen(value.addr) + 1)) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix ctype(3) users.Taylor R Campbell2022-05-076-17/+17
| | | | | | The API requires "unsigned char" arguments. Signed-off-by: Thomas Klausner <tk@giga.or.at>
* Fix spelling/wording issuesAlan Coopersmith2022-05-0766-221/+222
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-05-071-0/+99
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-05-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXaw 1.0.14libXaw-1.0.14Matt Turner2021-03-271-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* compiler-warning fixes for const-mismatches, no object-changeThomas E. Dickey2019-11-268-31/+35
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* reduce compiler warnings using casts, no object changeThomas E. Dickey2019-11-2521-90/+92
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix compiler warning by updating parameter type for call to XtDisplayInitializeThomas E. Dickey2019-11-252-2/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* change COMMON_CFLAGS and COMMON_CPPFLAGS to AM_CFLAGS and AM_CPPFLAGSThomas E. Dickey2019-11-251-8/+8
| | | | | | | respectively so the default .c.o rule works (needed for the "Regress" script). Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* use _X_UNUSED to quiet unused-parameter warningsThomas E. Dickey2019-07-0636-398/+362
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some compiler warnings in MenuButton.c by changing the menu name from ↵Thomas E. Dickey2019-07-042-2/+2
| | | | | | String to char* Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some type/conversion warnings (no object change)Thomas E. Dickey2019-07-041-7/+10
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some type/conversion warnings (no object change)Thomas E. Dickey2019-07-041-2/+9
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix misleading indentation, which gave a compiler warningThomas E. Dickey2019-07-041-2/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some type/conversion compiler warnings (no object change)Thomas E. Dickey2019-07-041-4/+7
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some type/conversion compiler warnings (no object change)Thomas E. Dickey2019-07-041-3/+6
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some type/conversion compiler warnings (no object change)Thomas E. Dickey2019-07-041-17/+17
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix some type/comparison compiler warnings (no object change)Thomas E. Dickey2019-07-041-20/+21
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* change a couple of variable-types to reduce compiler warnings (no object change)Thomas E. Dickey2019-07-041-2/+3
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix a missing struct-initializer, and quiet unused-parameter warningsThomas E. Dickey2019-07-041-0/+31
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* change variables to/from char* vs String to reduce compiler warnings (no ↵Thomas E. Dickey2019-07-041-3/+5
| | | | | | object change) Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* quiet some more type-conversion warnings, as well as unused-parametersThomas E. Dickey2019-07-041-7/+15
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* trim some stray backslashes leftover from nroff, and fix some whitespace in ↵Thomas E. Dickey2019-07-046-83/+83
| | | | | | code samples Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add --disable-const option, from libXtThomas E. Dickey2019-07-041-0/+8
|
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-35/+39
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-115/+118
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-29/+29
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-13/+13
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-8/+8
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-14/+14
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-116/+116
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-37/+43
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-45/+49
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-38/+38
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-27/+27
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-30/+30
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet gcc conversion-warnings, no object changeThomas E. Dickey2019-07-041-2/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>