Commit Graph

87 Commits

Author SHA1 Message Date
Liang Chang ade018eb79 dtappbuilder: fix issues of property settings for menubar. 2021-06-02 19:56:28 -06:00
Liang Chang c8116cae70 dtappbuilder: fix issues of property settings for menu. 2021-06-02 19:56:28 -06:00
Liang Chang 16b11c143c dtappbuilder: fix issues of property settings for main window. 2021-06-02 19:56:28 -06:00
Liang Chang f266789703 dtappbuilder: fix issues of property settings for label. 2021-06-02 19:56:28 -06:00
Liang Chang c99824a47a dtappbuilder: fix issues of property settings for group. 2021-06-02 19:56:28 -06:00
Liang Chang 18d195cdf5 dtappbuilder: fix issues of property settings for file selection dialog. 2021-06-02 19:56:28 -06:00
Liang Chang 6b93ec7733 dtappbuilder: fix issues of property settings for draw area pane. 2021-06-02 19:56:28 -06:00
Liang Chang 49136ea0b6 dtappbuilder: fix issues of property settings for custom dialog. 2021-06-02 19:56:28 -06:00
Liang Chang a179685eab dtappbuilder: fix issues of property settings for control pane. 2021-06-02 19:56:28 -06:00
Liang Chang 7cd96a802d dtappbuilder: fix issues of property settings for combo box. 2021-06-02 19:56:28 -06:00
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