Up to [cvs.NetBSD.org] / pkgsrc / x11 / libXt
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libXt: Fix a syntax error. This appeared as a compilation error on centos-7 on drecklypkg ci. It's unclear to me how this code ever compiled successfully, on any platform.
libXt: update to 1.3.1. Alan Coopersmith (11): README.md: update & correct links to O'Reilly X Toolkit books unifdef ultrix unifdef sgi unifdef hpux unifdef __osf__ unifdef AIXV3 unifdef MOTOROLA unifdef USG unifdef VMS unifdef __EMX__ unifdef AIXSHLIB & SUNSHLIB Matt Turner (1): libXt 1.3.1 Mohamed Akram (1): Improve linking with widget libraries on macOS Thomas E. Dickey (8): issue #17: avoid _Static_assert from c++ issue #18: cross-build issue in util issue #19: include <process.h> on Windows for getpid() issue #20: c23 boolean conflict remove substitution for EXEEXT_FOR_BUILD, not defined in automake Add continue_to_dispatch parameter to _XtResourceConfigurationEH() eliminate an unnecessary cast quiet a couple of unused-parameter warnings
libXt: add upstream bug report URLs
libXt: Do not use _Static_assert in C++ code. Fixes lots of dependencies. Bump PKGREVISION.
libXt: update to 1.3.0. Alan Coopersmith (19): gitlab CI: add a basic build test Build xz tarballs instead of bzip2 Fix spelling/wording issues gitlab CI: stop requiring Signed-off-by in commits Use memcpy() instead of memmove() when buffers are known not to overlap Use memcpy() instead of XtMemmove() when buffers are known to differ tests: update g_test_bug_base url from bugzilla to gitlab tests: Use XORG_MEMORY_CHECK_FLAGS from xorg-macros 1.16 tests: Replace g_assert() calls with g_assert_*() calls configure.ac: Replace HAVE_LIBRARY with AC_CHECK_LIB Add xfilesearchpath to xt.pc TMstate.c: Handle -Wduplicated-branches warnings Remove "All rights reserved" from Oracle copyright notices configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL test: Add unit tests for XtMalloc, XtCalloc, & XtRealloc Add XtReallocArray() for overflow checking of multiplied args Replace XtRealloc() calls with XtReallocArray() Replace XtMalloc() calls with XtMallocArray() libXt 1.3.0 Alex Richardson (6): Define LONG64 if __SIZEOF_LONG__ indicates 64-bit long XtArgVal: Support architectures where pointers are bigger than long Use XtUIntPtr for integer types that can hold pointers Cast via intptr_t when converting integers to pointers Fix XrmResource layout if pointers are bigger than long Fix InternalCallbackRec layout if pointers are bigger than 64 bits Keith Packard (1): Support buttons > 5 in translation tables [v2] Thomas E. Dickey (7): add _X_NORETURN to agree with header-file codespell-fixes cppcheck and clang --analyze fixes fixes for gcc13 warnings cppcheck fixes (const, null dereferencing, uninitialized, scope) cppcheck (revise IsDescendant() to fix possible null-dereference) update copyright-date
x11/libXt: Fix pie-bitrotted cross-build.
x11: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./x11/py-qt4/distinfo PyQt4_gpl_mac-4.12.3.tar.gz
x11: Remove SHA1 hashes for distfiles
Matt Turner (1): libXt 1.2.1 Thomas E. Dickey (72): update to 1.1.5.3 to reflect documentation updates/review fix a typo use _X_UNUSED to quiet compiler warnings constify table passed to _XtTableAddConverter to reduce strict compiler warnings fix a possibly-uninitialized quark, and remove unnecessary casts which produced warnings remove/amend a few casts which produced warnings fix a couple of strict warnings by refactoring macros add curly-braces in a couple of places to allow running "indent" indent'd like "x-indent.sh", but with a more complete set of typedefs - see (last line repeated ~ 40 times) turn off indent in generated files remove the ARGUSED lines, which confuse GNU indent, ditto for LINTLIBRARY bump minor version to reflect code-cleanup improved the script used for typedef-options with indent, updated indentation issue 12 - DISPLAY=:0.-1 XtScreenDatabase segfault new build issue #12: work within existing interface which attempts to obtain the add a null-pointer check, overlooked in fix for issue #12. _XtCalloc actually uses a Cardinal, not size_t Walter Harms (3): no need to check arguments for XtFree() refactoring, reduce indent level add errorhandling to _XtVaToTypedArgList()
libXt: update to 1.2.0. Alan Coopersmith (3): Get rid of some extraneous ; at the end of C source lines Update README for gitlab migration Update configure.ac bug URL for gitlab migration Benjamin Tissoires (3): Fix leaks detected by covscan dummy fix for covscan Fix covscan complain Emil Velikov (1): autogen.sh: use quoted string variables Fabrice Fontaine (1): libXt: util: don't link makestrs with target cflags Jeremy Huddleston Sequoia (1): darwin: Don't build libXt with -flat_namespace Jon Turney (2): Fix WHITEFILL after const fixes Provide suseconds_t typedef on Win32 Mihail Konev (1): autogen: add default patch prefix Peter Hutterer (1): autogen.sh: use exec instead of waiting for configure to finish Rin Okuyama (1): avoid -Wformat errors from clang when building with -DDEBUG Thomas E. Dickey (134): fix build when XT_GEO_TATTLER is defined fix bug introduced by workaround for obsolete macro/command ".ny", in the manpages since late trim undefined symbol "D" from ".Ds" macros in manpages. fix typo from last step split-up lines longer than 80 columns in manpages cleanup undefined macros in manpages trim down the "De" macro by removing the parts that used never-defined registers fix typo from last change None of the versions of the "Ds" macro (going back to X11R4) worked with update the "Ds" macro in the other files, for consistency Use standard size_t type in the casts for length-parameter of memcpy, memmove bzero was marked "legacy" in POSIX 2001, and is not part of the later revisions. This cleans up the "easy" warning fixes which can be made using my The ".BR" macro is used to join bold/regular text. restore fixed-pitch formatting of code-examples eliminate casts of NULL for String* and Cardinal*, since those are unnecessary Referring to the xterm FAQ The last commit removed "IN" macro, but not the lines which used it. This is a minimal change which compiles when predefining _CONST_X_STRING, Allow all of the "argv" strings to be writable, since those arrays may resolve const-mismatches in internal functions of Intrinsic.c resolve const-mismatches in Shell.c fix gcc warnings in Display.c fix shadowing warning for widgetClass parameter; no binary-change fix const-mismatches in TMparse.c fix const-mismatches in TMprint.c fix const-mismatches in Tmstate.c change return-type to avoid const-mismatches updated manual pages' C prototypes to agree with the header-files. avoid using C keyword "default" as parameter name fix minor regression in prototype updates remove some debris... fix: some ASCII characters were mangled into Unicode look-alikes by the way - an overdue notification update several function prototypes to use void-return or void-parameter, modify function prototypes in spec to correspond to updates made in headers updated return-type for XtFindFile, also due to _CONST_X_STRING corrected prototype for XtAppSetFallbackResources; error in spec correct prototype for XtDisplay; error in spec correct prototype for XtInitialize; error in spec The conversion to xml's funcdef dropped one or more parameters from several change ambiguous String's to char* or const-char*, as well as adding the fix a typo whitespace-fixes, plus convert examples to standard C add (with an external script "markup-literallayout") <code> tags use DOCTYPE consistently in included xml files, to allow using named entities modify xml-files to use named-entities, for easier manipulation corrected some nested list formatting fix ``fake quotes'' fill in titles for some references to ICCCM and X11 documents use programlisting tag rather than workaround for literallayout font. use consistent labeling for xref's use lineannotation tag to solve font mismatches for xref's inside formatted sample code to fit in 80 columns whitespace/formatting fixes use lineannotation tag whitespace/formatting fix use lineannotation tag The conversion to xml overlooked the nroff document's use of "\%" for trim spurious backslashes from translation of nroff to docbook xml use ldquo/rdquo/ndash where appropriate correct an error from the original document's depiction of escape_char use ldquo/rdquo/ndash where appropriate update manpage prototype for XtFindFile() Add --disable-const and --enable-geo-tattler options for new/updated features. remove calls to "IN" macro, which was recently removed from header fix cut/paste error in description of --enable-geo-tattler configure option update xorg's documentation-urls The interface changes made recently have to be documented, and due to the summarize X11R6.3 and X11R6.4 changes finish summarizing X11R6 vs documentation updates begin section on the conversion to standard C fill in background for wide-prototypes fill in prototype information for a code example, as well as for add some missing "typedef" keywords for prototyped function-pointers. fill in a few missing typedef keywords, and a missing "*" in prototype, as well as minor clarification of "XtIs<class>" minor tweak to work around docbook's limited formatting move MenuPopdown and MenuPopup to section to distinguish these actions from C prototypes (and use the "Xt" prefix for these names as implemented since X11R4). add #include for <X11/Intrinsic.h> to manpages, per convention summarize the const-changes in X11R7+ updated the acknowledgements section, and added a few notes to the release-7 section bump to 1.1.5.1 (actually 1.2.0 should be the target) adapt change from libXaw for inserting the package version into the spec restore the last 3-4 pages of "Registering a New Resource Converter", improved markup for the restored pages ignore the generated file used for version-number fixes for typos and formatting glitches fix gcc warnings when assigning into a bit-field by first masking the value fix 5 more simple gcc warnings use "const void *" rather than "char *" for memcmp, etc XtAppProcessEvent expects XtInputMask parameter, which is unsigned-long fixes for gcc warnings, no object-change if Xalloca.h is corrected to use size_t param, one change is still needed in eliminate an unnecessary cast which gave a gcc warning and add a null-pointer check add casts to fix compiler warnings Add related fix from Proposed revision of XtAppMainLoop() in update manpage for changes to XtAppMainLoop() updated spec to correspond to the current implementation of XtAppMainLoop add a note pointing out the change in design manpage style fix: sentences should end at the end of a line remove an #include used in debugging add casts to quiet compiler warnings with Solaris 11.4 / gcc 7.3.0 fixes cppcheck "style" warnings (mostly variable-scope) ensure XWindowChanges value is initialized before updating it (clang --analyze) fix unused-assignment warnings (clang --analyze) fix most clang --analyze warnings about null-pointers use explicit pointer check to eliminate a clang --analyze warning in VarGet.c use _X_NORETURN, works for gcc and clang trim obsolete ifdef for ISC, and correct nonstandard "NaNS" to "NaN" bump to 1.1.5.2 to reflect noreturn-changes bump to 1.1.5.2 to reflect noreturn-changes fix compiler-warning when DEBUG is defined add prototype for DEBUG-function build-fix and compiler-warnings when TRACE_TM is defined build- and compiler-warning fixes when XTTRACEMEMORY is defined fix compiler warnings when _TRACE_HEAP is defined fix compiler warnings when WHITEFILL is defined add superscript-markup in range definitions drop "session" resource XtNsession / XtCSession, which was listed in X11R6 but never defined in headers fix fake-quotes in manpages fix a syntax mess introduced by R6.6 ifdef'ing correct markup for header- and library-filenames; they are not functions fix formatting errata use strdup in two places; remove a bogus "else" from X11R6.4 changes reduce ifdef/ifndef inconsistency for USE_POLL fix some punctuation errata fix some more errata, plus reformat a list for consistency update to 1.1.5.3 to reflect documentation updates/review update for proposed release as 1.2.0 fix a typo force a version-bump add a dependency on makestrs to help with parallel builds Walter Harms (27): no need to check XFree arguments resolv:shadows a previous local resolv:shadows a previous local resolv:shadows a previous local resolv:shadows a previous local resolv:shadows a previous local no need to check args for free resolv:assignment discards 'const' qualifier from pointer target alloc+bzero == calloc resolv:shadows a global declaration no need to check XFree arguments resolv:assignment discards 'const' qualifier from pointer target Replace last two uses of .Pn with .ZN replace .ZN with .BR remove space after < for include filename replace the use of .Ds/.De macro with the std. RS/.RE macro FIX: add missing .fi remove in-text macros Remove unused macros to ease maintenance Fix input starvation in XtMainLoop() closes bug #7 save one indent level no need to check argument for X(t)Free no need to check arument for XtFree() remove useles else fix documentation to refect reality.. make _XtWaitForSomething accept always the same number of arguments remove dead code
Add SHA512 digests for distfiles for x11 category Problems found locating distfiles: Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2 Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz Package xservers: missing distfile xservers-3.3.6.5.tar.bz2 Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Update to 1.1.5: Alan Coopersmith (8): Revert "Avoid shadowing variables." If CFLAGS_FOR_BUILD is not set, include CWARNFLAGS in default value makestrs: use strchr() instead of index() makestrs: Replace malloc()+strcpy() calls with strdup() calls makestrs: Replace strcpy()+strcat() calls with snprintf() calls makestrs: Use asprintf() if available unifdef -UCRAY -UCRAY2 libXt 1.1.5 Gaetan Nadon (1): Use $(MKDIR_P) in Makefile.am for better code portability Jon TURNEY (2): Include direct.h header for _getdrives() on Win32 Include unistd.h for getpid() Rob Clark (1): asprintf needs _GNU_SOURCE on some platforms Thierry Reding (1): Fix cross-compilation Thomas Klausner (7): Add missing comma to fix DEBUG build. Use appropriate variable type for vsnprintf return value. Mark non-returning function with appropriate attribute. Ignore test-driver from automake-1.13. Avoid shadowing variables. Fix char vs. unsigned char warnings. Use string.h instead of X11/Xos.h. Yaakov Selkowitz (1): Fix _XtInherit on x86_64 Windows
Update to 1.1.4: This release provides the fixes for the recently announced security issues CVE-2013-2002 & CVE-2013-2005, along with other code & doc cleanups, build fixes, automake compatibility changes, and packaging improvements. Adam Jackson (1): configure: Remove AM_MAINTAINER_MODE Alan Coopersmith (5): unifdef -U__UNIXOS2__ Unchecked return values of XGetWindowProperty [CVE-2013-2005] unvalidated length in _XtResourceConfigurationEH [CVE-2013-2002] Remove old strtoul workaround for SunOS 4 libXt 1.1.4 Colin Walters (1): autogen.sh: Implement GNOME Build API Egbert Eich (2): Install ErrorDB into a $datarootdir-path, not $libdir. Add XtErrorDB directory to pkg-config file. Eric S. Raymond (2): Eliminate use of tab stops. Remove unused macros that are temptations to presentation-level klugery. Julien Cristau (1): Add copyright notice and license from the X Consortium to COPYING Thierry Reding (1): Use AM_CPPFLAGS instead of INCLUDES Thomas Klausner (2): Avoid referencing something that isn't defined. Bring in the definition from another manual page. Fix DEBUG build (TMparse.c:376:1: error: overflow in implicit constant conversion)
Update to 1.1.3: 1.1.3: This regression repair release reverts a regrettable revision. 1.1.2: This release includes a good number of bug fixes, some initial unit tests for checking several recent fixes, compiler warning cleanups, and build configuration improvements. The included documentation for the libXt API has been transformed into the DocBook/XML format, to allow processing with the same toolchain as the rest of the X.Org docs, producing better and more modern output formats, and providing support for cross-linking with the other X.Org docs. 1.1.1: This release fixes a longstanding crash on 64bit sparc, and a nasty bug in the new XtAsprintf function added in 1.1.0. 1.1.0: This release includes several bug fixes, as well as the usual set of recent build configuration improvements & janitorial cleanups. The minor version was bumped to indicate addition of XtAsprintf to exported API. 1.0.9: This release includes several bug fixes, as well as the usual set of recent build configuration improvements & janitorial cleanups.
Update to libXt-1.0.8: Don't install makestrs and fix a OSX bug.
Update to libXt-1.0.7. Changes: Use make rules instead of shell for loops to generate shadow man pages Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Replace AC_DEFINE_DIR with AX_DEFINE_DIR from Autoconf Archive Link against libICE Fix compilation of host tools in cross-compilation case
Update to 1.0.6: Adam Jackson (1): libXt 1.0.6 Alan Coopersmith (3): Solaris builds need to pass -intelabi to makestrs, even on SPARC Update ac_define_dir.m4 to 2008-04-12 version Add README with pointers to mailing list, bugzilla & git repos Alan Hourihane (4): Link with winsock for WIN32 platforms fix logic inverted problem less speed, more haste Set a blank default search path for WIN32 Andreas Luik (1): Recalculate fd_set more aggressively (bug #808) [was patch-ag] Ben Byer (1): added -flat_namespace to CFLAGS for Darwin Colin Harrison (4): Add __MINGW32__ Fix some build issues for Win32 platforms Xming specific configuration file settings Reduce the path searches on mingw Daniel Stone (1): configure.ac: Minor thinko James Cloos (1): Add missing PHONY line for automatic ChangeLog generation Jeremy Huddleston (1): darwin: Don't use poll() on versions of darwin before darwin10 John McKernan (2): Sun bug #1237023: Dtterm crashes in XtDisplayAccelerators() Sun bug 4010369: Too slow to process Keycode 0 events in Xt Translati= on Mgr. John Tapsell (1): configure.ac: Use native compiler for build tools Jon TURNEY (1): Cygwin/X: Build fix Julien Cristau (1): Allow C++ apps to build using libXt Matthieu Herrb (2): Sync XtGetErrorDatabaseText() prototype with reality. nuke RCS Ids Paulo Cesar Pereira de Andrade (1): Janitor: ansification, make distcheck, compiler warnings, .gitignore. Peter Breitenlohner (1): X.Org Bug 17942: libXt manpage formatting
Add patch from GIT to recalculate fd_set more aggressively in NextEvent.c, as select() can modify it. Add hacks.mk to build with -fno-strict-aliasing when needed; there are quite a few warnings about this. Given this is an important dependency, IMHO it's better to just disable it. Bump rev.
Hello Joerg, smaller patches are nicer than larger ones. By the way, each patch should start with a line containing an RCS Id.
Teach libXt about cross-compiliation: - add an automake conditional to configure - use that to build xmakestr using manual build rules. X11_CFLAGS is honoured, but not CFLAGS as the latter is likely to contain platform specific flags. - use either makestr or xmakestr for building StringDefs.c, depending on whether we are cross-compiling or not. - pass down native compiler and flags for cross-compiliation Supported-by: Google SoC 2007
Update to libXt-1.0.5: Merged local patches and fixed markup in a man page.
Update to libXt-1.0.4. No functional changes, but a bash regression.
Import libXt-1.0.3 from pkgrsc-wip: This is the X Toolkit Intrinsics library. Xt Intrinsics is a library of C routines (based on Xlib) used for designing user interfaces with widgets. It also provides functions for handling events, initializing windows, and interpreting resource files. This is from the modular X.org project.
Initial revision