summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02libXaw3d 1.6.6HEADlibXaw3d-1.6.6masterAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef ISCAlan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef macIIAlan Coopersmith1-8/+0
Stop working around a bug in the macII A/UX 1.0 cc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17Remove unused sharedlib.cAlan Coopersmith2-200/+1
It was only built by Imake if SUNSHLIB was defined. SUNSHLIB was only set in the Imake configs for SunOS versions < 5 (i.e. before Solaris 2.0). It has never been used in the autoconf builds. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef __UNIXOS2__Alan Coopersmith1-19/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef __osf__Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef AIXV3Alan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef sonyAlan Coopersmith1-7/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-17unifdef NCRAlan Coopersmith2-16/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-07Multisink.c: Clear -Werror=incompatible-pointer-types errorAlan Coopersmith1-1/+1
MultiSink.c: In function ‘SetValues’: MultiSink.c:582:18: error: passing argument 1 of ‘SetTabs’ from incompatible pointer type [-Werror=incompatible-pointer-types] 582 | SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); | ^ | | | MultiSinkObject {aka struct _MultiSinkRec *} MultiSink.c:99:21: note: expected ‘Widget’ {aka ‘struct _WidgetRec *’} but argument is of type ‘MultiSinkObject’ {aka ‘struct _MultiSinkRec *’} 99 | static void SetTabs(Widget, int, short *); | ^~~~~~ Adopts change originally made to libXaw in XFree86 4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-13gitlab CI: add xz-utils to container for "make distcheck"Alan Coopersmith1-3/+3
Also update to latest ci-templates Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-12libXaw3d 1.6.5libXaw3d-1.6.5Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2023-03-27Set close-on-exec when opening filesAlan Coopersmith3-9/+27
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-03-04configure: pass noyywrap to AC_PROG_LEX if using autoconf 2.70 or laterAlan Coopersmith1-3/+3
Raises minimum autoconf version from 2.60 to 2.64 for m4_version_prereq Clears autoconf warning: configure.ac:29: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... configure.ac:29: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-03-04configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-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>
2022-11-12Issue #5: incompatible function pointer passed in _XawImRealize()Alan Coopersmith3-3/+18
Import wrapper function with expected arguments from libXaw, where it appears to have been originally fixed in XFree86 3.9Nb by Paulo Cesar Pereira de Andrade. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-08-26libXaw3d 1.6.4libXaw3d-1.6.4Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-07convert ISO8859-1 encoded source files to UTF-8Alan Coopersmith3-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-07gitlab CI: add a basic build testAlan Coopersmith1-0/+99
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-07Fix spelling/wording issuesAlan Coopersmith37-120/+120
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-07Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-02-14issue #4: configure doesn't fail if flex is not installedThomas E. Dickey1-0/+6
add a check for lex like the existing one for yacc Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-07-01build-fixes when _CONST_X_STRING is definedThomas E. Dickey3-6/+4
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2019-03-09Pass correct number of atoms from SelectSave to _XawTextSaltAwaySelectionAlan Coopersmith1-3/+2
When filling in the array, we correctly limited to the 256 slots allocated but then we reset the value to an unlimited number when passing it on to the function that walks the array, which could lead to it walking too far. Fixes https://gitlab.freedesktop.org/xorg/lib/libxaw/issues/2 Reported-by: Praveen Kumar <praveen.pk@samsung.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> (Adapted from libXaw commit c01d47c4c0e0a66e0989d40f73827d0a55f693cc)
2018-12-07Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-19Update README for gitlab migrationAlan Coopersmith3-26/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-09-30Fix fd leak when write() fails in WriteToFile()Alan Coopersmith1-3/+6
Reported by parfait 1.1 bug checking tool: File Descriptor Leak: Leaked File Descriptor fd at line 1098 of src/MultiSrc.c in function 'WriteToFile'. fd initialized at line 1096 with creat fd leaks when creat(name, 438) != -1 at line 1096. (Adapted from libXaw commit a30892ed9b6d193f6eb2bab5b37180ac8f63b0b1.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-09-30Bug 24635: File Descriptor leaks in libxaw-1.0.7Eric Sesterhenn1-2/+6
http://bugs.freedesktop.org/show_bug.cgi?id=24635 (Adapted from libXaw commit f373e193a48eaf6d799d0b6ad32fd58d8ae8b3bd.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-06-18libXaw3d 1.6.3libXaw3d-1.6.3Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2018-03-24Avoid using dead pointer in _XawTextSetSelectionAlan Coopersmith1-1/+1
Reported by: https://bugs.freedesktop.org/show_bug.cgi?id=94375 Fix copied from 2D libXaw commit 11c3a104141e1a4946ad949dfb5514df0b66a031 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2016-08-29darwin: Remove incorrect export of vendorShellClassRec and ↵Jeremy Huddleston Sequoia1-3/+13
vendorShellWidgetClass Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2015-09-27Get rid of some extraneous ; at the end of C source linesAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-11-07Use SEEK_* names instead of raw numbers for fseek whence argumentAlan Coopersmith3-6/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-11-07Just use C89 size_t instead of rolling our own Size_t & Off_tAlan Coopersmith2-23/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-07-17Fix abs() usage.Thomas Klausner1-1/+1
For long arguments, use labs(). Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2014-06-04autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-1/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-04configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-06Remove support for pre-C89 headers (unifdef -UX_NOT_STDC_ENV)Alan Coopersmith5-19/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-06Replace TXT16 with XChar2b inlineAlan Coopersmith1-9/+5
No longer need #define to substitute it now that we no longer set it to a different type on CRAY systems. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-06Remove CRAY/WORD64 support (unifdef -UCRAY -UWORD64)Alan Coopersmith1-49/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-06-06Fix --disable-feature options in configureJavier Pello1-6/+17
Make --disable-feature options passed to configure not enable the feature but keep it disabled instead. Signed-off-by: Javier Pello <javier.pello@urjc.es> Signed-off-by: James Cloos <cloos@jhcloos.com>
2012-03-29libXaw3d 1.6.2libXaw3d-1.6.2Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-03-29XawIm.c: silence incompatible pointer type warningsMatt Turner1-3/+2
Makes code for _XawImCallVendorShellExtResize identical to libXaw. Fixes XawIm.c: In function '_XawImCallVendorShellExtResize': XawIm.c:1554:2: warning: passing argument 1 of 'XawVendorShellExtResize' from incompatible pointer type [enabled by default] XawIm.c:93:13: note: expected 'Widget' but argument is of type 'VendorShellWidget' Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-03-29Make Box.c:PreferredSize match libXawMatt Turner1-7/+5
Fix up from 5d367cd9d0c. No functional changes. Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-03-29Fix segfaults when changing the text of a backed internationaled text widgetMatt Turner1-0/+1
Same fix appeared in libXaw as part of XFree86 4.3.0.1. Fixes: http://gnats.netbsd.org/37610 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-03-24Add XawTextGetSink for compatibility with libXawMarkus Steinborn4-0/+14
Patch found at http://gitorious.org/xaw3d/xaw3d/commit/ccb1ffde090006f5a715c1e3d4da5f4d6fae05d3 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-03-24Avoid integer overflowMarkus Steinborn1-2/+6
Found at http://gitorious.org/xaw3d/xaw3d/commit/3ba3e52454bb684a73601ec91e2c274e776f711a Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>