Liang Chang
06596f9cf8
dtappbuilder: fix issues of property settings for choice.
2021-06-02 19:56:28 -06:00
Liang Chang
c5ca7bca30
dtappbuilder: fix issues of property settings for button.
2021-06-02 19:56:28 -06:00
Liang Chang
606225bef2
dtappbuilder: fix issues of property settings for list.
2021-06-02 19:56:28 -06:00
Liang Chang
d42a89232a
dtappbuilder: adjust data types to avoid type casting errors.
2021-06-02 19:56:28 -06:00
Liang Chang
a64fc5192c
dtappbuilder: fix issues of property settings for text pane.
2021-06-02 19:56:27 -06:00
Liang Chang
c26c2e75ad
dtappbuilder: adjust data types to avoid type casting errors.
2021-06-02 19:56:27 -06:00
Liang Chang
d6ad977ba7
dtappbuilder: ensure mouse operations are not interfering by key masks (e.g.,
...
Caps Lock, Num Lock, etc.) when editing (resize, double-click, etc.) widgets.
2021-06-02 19:56:27 -06:00
Liang Chang
cdf48013e0
dtappbuilder: ensure the subtypes of widgets are properly initialized.
2021-06-02 19:56:27 -06:00
Liang Chang
9e4ad4b2f4
dtappbuilder: fix a segmentation fault that occurred when clicking "Edit" in
...
the "Menu Property Editor".
2021-06-02 19:56:26 -06:00
Liang Chang
49185f2624
dtappbuilder: fix a segmentation fault that occurred when repeating "Add Item"
...
-> "Delete" -> "Add Item" in the "Revolving Property Editor".
2021-06-02 19:56:26 -06:00
Liang Chang
920465cb5b
dtappbuilder: fix a segmentation fault that occurred when clicking "Edit" in
...
the "Revolving Property Editor".
2021-06-02 19:56:26 -06:00
Liang Chang
4389fdd633
dtappbuilder: apply graceful degradation for font loading to avoid a
...
segmentation fault.
2021-06-02 19:56:26 -06:00
Lev Kujawski
a6ea2a2d52
Centralize catgets() calls through MsgCat
...
CDE has relied upon catgets() implementations following a relaxed
interpretation of the XPG internationalization standard that ignored
-1, the standard error value returned by catopen, as the catalog
argument. However, this same behavior causes segmentation faults with
the musl C library.
This patch:
- Centralizes (with the exception of ToolTalk) all calls to catopen(),
catgets(), and catclose() through MsgCat within the DtSvc library.
- Prevents calls to catgets() and catclose() that rely upon
undefined behavior.
- Eliminates a number of bespoke catgets() wrappers, including multiple
redundant caching implementations designed to work around a design
peculiarity in HP/UX.
- Eases building CDE without XPG internationalization support by providing
the appropriate macros.
2021-06-02 19:55:15 -06:00
Jon Trulson
487305f7cf
dtappbuilder: fixes to build in autotools branch for freebsd
2021-06-01 18:23:37 -06:00
Chase
14c3c6ebd8
dtappbuilder: make it build in parallel
2021-02-21 18:42:42 -07:00
Jon Trulson
ece5c0ea14
Merge branch 'master' into autotools-conversion
...
Lost the ksh93 submodule so will re-add in a later commit.
2021-01-30 19:04:10 -07:00
Lev Kujawski
325132735b
Use the C99 standard va_copy if possible for compatibility with the musl C library.
2021-01-10 18:08:00 -07:00
Jon Trulson
90e61dda5f
Merge branch 'master' into autotools-conversion
2020-11-24 16:53:24 -07:00
Peter Howkins
361b8f1456
dtappbbuilder: Resolve GCC 10 errors about multiple definitions of global variables
2020-11-24 02:19:05 +00:00
Jon Trulson
e5914dd108
dtappbuilder/src/ab: disable parallel builds
...
Due to the way dtcodegen works, we can't use parallel builds (-j) in
this directory without corrupting things and generating build errors.
2020-09-05 16:20:13 -06:00
Chase
65d2062518
dtappbuilder: make it build under autotools
2020-09-05 15:49:46 -06:00
Jon Trulson
730da7747c
Change "if SUN" conditionals in remaining Makefile.am files to "if SOLARIS"
2019-10-28 18:54:17 -06:00
Chase
41d3e651b4
programs/dtappbuilder: add automake files
2019-10-23 15:34:20 -06:00
Jon Trulson
f4776c21d7
dtappbuilder: remove register keyword
2018-06-27 22:00:56 -06:00
Peter Howkins
bb7ac1f24e
dtappbuilder: Change to ANSI function definitions
2018-06-28 04:08:35 +01:00
chase
809c3d8bb6
Spelling fixes
2018-05-31 22:23:19 -06:00
Ulrich Wilkens
297b6bd845
Fix warnings on FreeBSD
2018-05-31 22:04:08 -06:00
Ulrich Wilkens
885b65a09a
Fixes for OpenBSD
2018-05-31 21:48:07 -06:00
Ulrich Wilkens
16fbb15ecc
Fix BSD and Sun problems after coverity fixes
2018-05-31 17:46:03 -06:00
chase
4f5e7fe5e3
Use POSIX macros for linux
2018-05-24 18:22:55 -06:00
chase
164e695cd0
remove OSF1 support
2018-05-24 14:25:26 -06:00
chase
07900bd93b
Remove Unixware and openserver support
2018-05-20 12:13:07 -06:00
chase
8a4f389634
Remove UXPDS support
2018-05-15 20:27:22 -06:00
Peter Howkins
ad373101d6
dtappbuilder: Coverity fixes mostly related to uninitialised variables
2018-05-01 19:02:14 +01:00
chase
33d2749ea3
Last of the spelling fixed
2018-04-28 12:36:44 -06:00
chase
6d3a19d8f9
Even more spelling fixed
2018-04-28 12:36:33 -06:00
chase
1fe5a550b2
Fix typo in license headers
2018-04-28 12:30:20 -06:00
Peter Howkins
a135a89876
dtappbuilder: Further coverity, resource leaks, copy intofixed size buffer and dereference before null checl
2018-04-28 02:51:10 +01:00
Peter Howkins
73dafa91e7
dtappbuilder: Fix for very wrong sized buffer
2018-04-26 01:50:33 +01:00
Peter Howkins
bb9eef427f
dtappbuilder: Coverity fixes for mising return value and copy into fixed size buffer
2018-04-26 01:36:02 +01:00
Peter Howkins
4007d3a460
dtappbuilder: Resolve all compiler warnings
2018-04-24 21:55:56 +01:00
Jon Trulson
ae6b787c66
dtbuilder/Imakefile: fix clean target to remove dtbuilder executable
2018-04-12 13:38:38 -06:00
Jon Trulson
129ef945b9
dtappbuilder: Add patches from Robert Pangrazio fixing coredumps
2017-08-05 18:49:07 -06:00
Jon Trulson
6bc5c658b8
dtappbuilder: replace accidental %a with %% in write_func_as_strings()
2015-12-18 10:28:37 -07:00
Jon Trulson
2e7ab68300
dtappbuilder: Coverity (memory corruption)
2014-12-26 14:14:32 -07:00
Ulrich Wilkens
01d6c363fa
OpenIndiana and Solaris port
2014-10-28 13:40:11 -06:00
Ulrich Wilkens
42e891d9e7
Resolve many build warnings
...
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -06:00
Jon Trulson
2bf29e5d63
dtappbuilder: abmf.c: more warnings killed
2014-09-20 20:10:01 -06:00
Jon Trulson
bf399748ad
dtappbuilder/dtcodegen: Fix up some warnings, remove use of sys_errlist[].
...
Removed all the cases of sys_errlist[], no one should be using that
today. Also, correct code generation so that declarations like
'Widget w = NULL; Pixmap p = NULL;' etc, aren't produced, which is
wrong. Use '0', not NULL for these.
This should also correct the 2 mis-definitions of Pixmap that commit
6a9327f2ab attempted to fix in ttsnoop.
dtappbuilder still needs a lot of work.
2014-09-20 16:47:11 -06:00
Jon Trulson
1e2bdf93a8
dtappbuilder: bil_store.c: don't return local variables
2014-04-06 16:59:56 -06:00