summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-06Don't need to use target-specific CFLAGS for makestrsAlan Coopersmith
It's the only thing built in that directory, so we can use AM_CFLAGS and drop the requirement for AM_PROG_CC_C_O in configure.ac Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-06Incorrect cast in XtCvtIntToPixmap could cause bus error on 64-bit machinesAlan Coopersmith
Originally fixed by Leo Binchy for Sun Bug 4163152 to resolve bus error on VSW5 (XTS) testing on 64-bit SPARC test run on Solaris 7. ( Testcase: XtCvtIntToPixmap, Purpose: 1) Since we're converting from Int to Pixmap, need to access the argument passed in as an int, not a Pixmap, which is consistent with the other IntToXXX converters in this file. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2011-03-04configure: Bump version to 1.1.0 for releaselibXt-1.1.0Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-03-04darwin: Don't use poll() when expected to run on darwin10 and priorJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-02-04Shell.c: TopLevelSetValues ignores iconic state if shell not yet realizedAlan Coopersmith
Fix originally created by Leo Binchy for Sun to fix Solaris bug 1243761 The XmNiconic resource doesn't work Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-04GetResources: protect against underflow when type conversion failsAlan Coopersmith
Fix originally created by Leo Binchy for Sun to fix Solaris bug 1211553: XtVaCreateManagedWidget with list of resources XtVaTypedArg cause core dump Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-04Remove unused #ifdef UNALIGNED version of Xt macros & functionsAlan Coopersmith
Trying to outsmart the compiler and libc is a losing battle, but since UNALIGNED was never defined, we weren't even trying. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-03config: comment, minor upgrade, quote and layout configure.acGaetan Nadon
Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. Add AC_CONFIG_SRCDIR([Makefile.am]) This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
2011-01-28config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12Convert ALLOCATE_LOCAL + sprintf to XtAsprintfAlan Coopersmith
Now that we don't need to separately strlen the format string, put it directly into the function call to clear gcc warnings of: Initialize.c:397: warning: format not a string literal, argument types not checked Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-12Convert ResConfig.c to use XtAsprintf() instead of XtMalloc + sprintfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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-12-22Convert some sprintf calls to snprintfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2010-12-05config: AC_PROG_CC is provided by XORG_DEFAULT_OPTIONS nowAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-05config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-05Remove ancient #if defined(macII) hack for A/UX from makestrs.cAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-05Remove non-USE_SNPRINTF case from src/Error.cAlan Coopersmith
unifdef -DUSE_SNPRINTF src/Error.c Plus manual removal of old #ifdef notyet section that said not enough platforms had snprintf support yet. Welcome to the new millenium! Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-10remove strcmp in src/ResConfig.cwalter harms
Make remainder check like in the rest of code and replace strcmp() Signed-off-by: walter harms <wharms@bfs.de> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-10QueryEventMask: fix NULL checkwalter harms
_XtGetPerWidgetInput may return NULL avoid possible NULL references Signed-off-by: walter harms <wharms@bfs.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-10src/Resource.c: Fix possible NULL accesswalter harms
Signed-off-by: walter harms <wharms@bfs.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-10XtFree() can handle NULL , remove checkwalter harms
Signed-off-by: walter harms <wharms@bfs.de> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-28libXt 1.0.9libXt-1.0.9Alan Coopersmith
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-10-05makestrs: Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONSGaetan Nadon
The value of MAN_SUBST is the same for all X.Org packages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-05makestrs: Use $(SED) from AC_PROG_SED supplied by XORG_DEFAULT_OPTIONSGaetan Nadon
Use the appropriate platform version of sed Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-05makestrs: remove unsed $(appman_DATA)Gaetan Nadon
Man page is not installed, this variable is not defined. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-05Honor that GetClassActions() may return NULL.walter harms
Signed-off-by: Walter <wharms@bfs.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23Sun's copyrights belong to Oracle nowAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23Bug 1478: Selection.c damages user error handler functionRyan Hajdaj
https://bugs.freedesktop.org/show_bug.cgi?id=1478 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-22fix dereference in TMprint.cwalter harms
the current codes checks for eventWidget == NULL after accessing eventWidget->core.tm.proc_table now it checks for eventWidget before access eventWidget->core.tm.proc_table. Signed-off-by: walter harms <wharms@bfs.de> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.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>
2010-06-08Move Xt specs from xorg-docs moduleAlan Coopersmith
For now, just checked in and included in dist tarballs, not processed into a usable format - same as it was in xorg-docs Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-05-19Move sm from Requires to Requires.private in xt.pcAlan Coopersmith
As explained in https://bugs.freedesktop.org/show_bug.cgi?id=26943 since libXt callers need the SM headers but don't necessarily need to link directly to libSM, it should be in Requires.private, not Requires. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-04-16Bug 26943: wrong dependencies in xt.pc.inAlan Coopersmith
https://bugs.freedesktop.org/show_bug.cgi?id=26943 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-05config: update and relocate AX_DEFINE_DIR macroGaetan Nadon
Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-04Use automake silent rules for BUILT_SOURCES generationYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-29config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-29config: remove the pkgconfig pc.in file from EXTRA_DISTGaetan Nadon
Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-27config: remove execute permission on configureation fileGaetan Nadon
Introduced in commit 6baea764567c3327f1d85ba91375adaea6dab46d "Link with winsock for WIN32 platforms" Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-15libXt 1.0.8libXt-1.0.8Rémi Cardona
Signed-off-by: Rémi Cardona <remi@gentoo.org>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-14COPYING: add missing copyright noticesGaetan Nadon
Refer to: ActionHook.c Copyright 1987, 1988 by Digital Equipment Corporation Copyright 1993 by Sun Microsystems, Inc. Mountain View, CA. Copyright 1987, 1988, 1998 The Open Group Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-11darwin: xnu doesn't support poll on ttys on the master side.Jeremy Huddleston
<rdar://problem/7360546> Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-12-07Fix make distcheck (./util/makestrs.1 left after distclean)Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-07Don't install makestrs on the systemRémi Cardona
It has no known outside-libXt users. Let's not install it and its man page. Signed-off-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-11-27Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-27Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.