Commit Graph

91 Commits

Author SHA1 Message Date
Liang Chang 5afe94ea3e dtappbuilder: Fix unsigned integer rollover. 2021-04-05 07:30:49 +08:00
Liang Chang 7287f262ad dtappbuilder: Fix a crash when resize a text pane. The crash is occurred when
drag on the scrollbar to resize.
2021-04-05 07:30:49 +08:00
Liang Chang 2851d666eb dtappbuilder: set the minimum limit for rows and columns to avoid rollover. 2021-04-05 07:29:50 +08:00
Liang Chang f70877daa2 dtappbuilder: set the default size (in pixels) for terminal pane. 2021-03-03 09:33:23 +08:00
Liang Chang 3a99e98d6a dtappbuilder: ensure the resize box always inside the main window to avoid the
rendering glitch.
2021-03-03 09:33:23 +08:00
Liang Chang 915ba5d5a9 dtappbuilder: set limits on the resize rectangle to avoid rollover. 2021-03-03 09:31:06 +08:00
Liang Chang 8e076e164a dtappbuilder: fix the rendering glitch of the list widget which contains a
label.
2021-02-19 05:39:16 +08:00
Liang Chang fb0bedaa48 dtappbuilder: fix issues of property settings for text field. 2021-02-17 20:47:00 +08:00
Liang Chang 60b0fc29a9 dtappbuilder: fix issues of property settings for term pane. 2021-02-17 20:33:08 +08:00
Liang Chang ffe857f6ca dtappbuilder: fix issues of property settings for spin box. 2021-02-17 20:22:00 +08:00
Liang Chang a52f25b081 dtappbuilder: fix issues of property settings for separator. 2021-02-17 20:09:19 +08:00
Liang Chang 69fbdb771b dtappbuilder: fix issues of property settings for scale. 2021-02-17 19:41:04 +08:00
Liang Chang fbb7e865a7 dtappbuilder: fix issues of property settings for menubar. 2021-02-17 19:23:52 +08:00
Liang Chang 523c440536 dtappbuilder: fix issues of property settings for menu. 2021-02-17 19:14:51 +08:00
Liang Chang 1b143dd7a7 dtappbuilder: fix issues of property settings for main window. 2021-02-17 18:53:26 +08:00
Liang Chang 933d48e589 dtappbuilder: fix issues of property settings for label. 2021-02-17 18:41:35 +08:00
Liang Chang 471afeaa2c dtappbuilder: fix issues of property settings for group. 2021-02-17 18:17:04 +08:00
Liang Chang 26508f3f76 dtappbuilder: fix issues of property settings for file selection dialog. 2021-02-17 09:23:18 +08:00
Liang Chang d22ec65675 dtappbuilder: fix issues of property settings for draw area pane. 2021-02-17 08:37:03 +08:00
Liang Chang 213ae1f8d7 dtappbuilder: fix issues of property settings for custom dialog. 2021-02-17 08:20:51 +08:00
Liang Chang 0d92904b06 dtappbuilder: fix issues of property settings for control pane. 2021-02-17 08:08:16 +08:00
Liang Chang feb4d1b495 dtappbuilder: fix issues of property settings for combo box. 2021-02-17 07:54:41 +08:00
Liang Chang 4cbb0506dc dtappbuilder: fix issues of property settings for choice. 2021-02-17 07:42:04 +08:00
Liang Chang 473bb74440 dtappbuilder: fix issues of property settings for button. 2021-02-17 07:24:03 +08:00
Liang Chang a9d7c58bd6 dtappbuilder: fix issues of property settings for list. 2021-02-17 06:38:27 +08:00
Liang Chang a90c07f027 dtappbuilder: adjust data types to avoid type casting errors. 2021-02-17 06:19:02 +08:00
Liang Chang 73cab75511 dtappbuilder: fix issues of property settings for text pane. 2021-02-17 01:59:40 +08:00
Liang Chang 0cdf0f774f dtappbuilder: adjust data types to avoid type casting errors. 2021-02-17 01:52:47 +08:00
Liang Chang 64cfdf3213 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-02-16 17:40:05 +08:00
Liang Chang 1fcba2048b dtappbuilder: ensure the subtypes of widgets are properly initialized. 2021-02-15 21:18:27 +08:00
Liang Chang d7445d1179 dtappbuilder: fix a segmentation fault that occurred when clicking "Edit" in
the "Menu Property Editor".
2021-02-12 20:05:55 +08:00
Liang Chang 97bfb63551 dtappbuilder: fix a segmentation fault that occurred when repeating "Add Item"
-> "Delete" -> "Add Item" in the "Revolving Property Editor".
2021-02-12 19:24:50 +08:00
Liang Chang a3d1e17c32 dtappbuilder: fix a segmentation fault that occurred when clicking "Edit" in
the "Revolving Property Editor".
2021-02-12 19:04:32 +08:00
Liang Chang bb0b2838a5 dtappbuilder: apply graceful degradation for font loading to avoid a
segmentation fault.
2021-02-12 19:03:09 +08:00
Lev Kujawski 7010b2c11b 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-01-31 16:17:13 -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
Peter Howkins 361b8f1456 dtappbbuilder: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:19:05 +00: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