summaryrefslogtreecommitdiff
path: root/src/TMaction.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace XtMalloc() calls with XtMallocArray()Alan Coopersmith2023-03-071-5/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Replace XtRealloc() calls with XtReallocArray()Alan Coopersmith2023-03-071-4/+4
| | | | 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>
* Use memcpy() instead of XtMemmove() when buffers are known to differAlan Coopersmith2022-08-111-2/+1
| | | | | | | | | | | | | Most of these came from a mass XtBCopy() -> XtMemmove() substitution in 1993 with a commit comment of "ANSIfication". But include/X11/IntrinsicI.h now defines XtMemmmove() as just calling memcpy() as long as src & dst differ, so remove an unnecessary check when we've just allocated a buffer, and reduce the chance that someone thinks we'll actually call memmove() instead of memcpy() Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* cppcheck fixes (const, null dereferencing, uninitialized, scope)Thomas E. Dickey2022-06-181-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* cppcheck and clang --analyze fixesThomas E. Dickey2022-06-181-1/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* codespell-fixesThomas E. Dickey2022-06-141-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* improved the script used for typedef-options with indent, updated indentationThomas E. Dickey2019-08-011-19/+19
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* remove the ARGUSED lines, which confuse GNU indent, ditto for LINTLIBRARYThomas E. Dickey2019-07-141-2/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* indent'd like "x-indent.sh", but with a more complete set of typedefs - seeThomas E. Dickey2019-07-141-661/+624
| | | | | | https://github.com/ThomasDickey/cindent-snapshots/blob/master/scripts/xxx-profile Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* use _X_UNUSED to quiet compiler warningsThomas E. Dickey2019-07-071-2/+2
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* build-fix and compiler-warnings when TRACE_TM is definedThomas E. Dickey2019-05-291-3/+4
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix unused-assignment warnings (clang --analyze)Thomas E. Dickey2019-05-181-4/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fixes cppcheck "style" warnings (mostly variable-scope)Thomas E. Dickey2019-05-181-6/+8
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* add casts to quiet compiler warnings with Solaris 11.4 / gcc 7.3.0Thomas E. Dickey2019-05-181-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* eliminate casts of NULL for String* and Cardinal*, since those are unnecessaryThomas E. Dickey2019-04-151-5/+5
| | | | | | as well as interfere with proposed const-string changes. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* This cleans up the "easy" warning fixes which can be made using myThomas E. Dickey2019-04-061-14/+14
| | | | | | | | | | | | | | | Regress script, comparing object-files before/after the edits: https://invisible-island.net/ansification/index.html https://invisible-island.net/scripts/readme.html The changes are casts, which quiet the gcc warnings about implicit conversion that my "gcc-normal" script would show. I avoided reformatting the code. The change reduces the number of gcc warnings from 769 to 163. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* resolv:assignment discards 'const' qualifier from pointer targetWalter Harms2019-01-151-1/+1
|
* resolv:shadows a previous localWalter Harms2019-01-081-5/+5
|
* Revert "Avoid shadowing variables."Alan Coopersmith2013-07-101-5/+5
| | | | | This reverts commit 3919044bd7d3bcb85ce3425a43b8889a248a7542. Breaks programs such as xcalc & xlogo on multiple platforms.
* Avoid shadowing variables.Thomas Klausner2013-07-091-5/+5
| | | | | Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Strip trailing whitespaceAlan Coopersmith2011-10-031-1/+1
| | | | | | | 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>
* Purge cvs tags.Jesse Adkins2010-10-061-2/+0
| | | | | Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Honor that GetClassActions() may return NULL.walter harms2010-10-051-3/+5
| | | | | Signed-off-by: Walter <wharms@bfs.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Sun's copyrights belong to Oracle nowAlan Coopersmith2010-09-231-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update Sun license notices to current X.Org standard formAlan Coopersmith2010-01-141-12/+23
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* - conditionally include config.h in xc/lib/Xt sourcesXORG-6_8_99_8Søren Sandmann Pedersen2005-05-181-0/+3
| | | | - add build system for lib/Xt
* Convert lib/Xt to ANSI C (Thomas Dickey). Fixes for a few valgrind warningsXORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1Matthieu Herrb2005-02-211-120/+122
| | | | (Thomas Dickey).
* Merging XORG-CURRENT into trunkXACE-SELINUX-MERGECOMPOSITEWRAPEgbert Eich2004-04-231-1/+1
|
* Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich2004-03-141-1/+1
|
* Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich2004-03-031-1/+1
|
* readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich2004-02-261-1/+1
|
* Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich2004-02-261-1/+1
|
* XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16Kaleb Keithley2003-11-251-21/+3
|
* XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley2003-11-141-2/+3
|
* R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley2003-11-141-0/+1068