1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00
Commit graph

1978 commits

Author SHA1 Message Date
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
ff952fcfbc dtcm: Avoid to leave an unclosable window when there is no appointment in
"Appointment List...".
2021-06-02 19:56:27 -06:00
Liang Chang
fc118ea6f8 dtfile: fix a segmentation fault that occurred when drag and drop file with the
same name.
2021-06-02 19:56:27 -06:00
Liang Chang
e7402803df dtcm: fix a segfault that occurred when opening the "Appointment List..." in
the "View" menu.
2021-06-02 19:56:26 -06:00
Liang Chang
4190143c91 dtcm: fix a segfault when "Drag Appt" in the dtcm_editor. 2021-06-02 19:56:26 -06:00
Liang Chang
d428d68edb csa: replace sprintf with asprintf to avoid segfaults. 2021-06-02 19:56:26 -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
Liang Chang
1b1078ba7d ttsnoop: fix a segfault that occurred when clicking "Version..." in the "Snoop"
menu.
2021-06-02 19:56:26 -06:00
Lev Kujawski
39a72ca69b Specify SPARC and SPARC64 as big endian platforms
config/cf/DtInfo.tmpl: Modify ByteOrderDefines define
2021-06-02 19:56:26 -06:00
Lev Kujawski
a4d9902a48 Switch default backdrop from SkyLight to KnitLight
programs/dtwm/Dtwm.defs.src: Update default Dtwm backdrop
localized/*/app-defaults/Dtwm.tmsg: Update translations to reflect change

For CDE users with sufficiently high resolution screens, the abrupt
transition towards the end of the default SkyLight backdrop image bore
a close enough resemblance to graphical corruption to spur bug
reports. This problem likely did not manifest to the original CDE
developers using the typical monitors of the 1990s.

This patch changes the default backdrop to KnitLight, which comports
well with CDE's low distraction UI while still offering something
visually interesting enough to showcase CDE's support for bitmap
backdrops. Because of the repeating pattern within KnitLight, this
problem will not occur in the future. Additionally, SkyLight will be
retained as a CDE backdrop.
2021-06-02 19:56:26 -06:00
Lev Kujawski
356ac2f327 Purge unused Freetype dependency from CDE
config/cf/{DragonFly,OpenBSD,darwin}.cf: Remove Freetype imake settings
config/cf/darwinLib.tmpl: Do not link against Freetype
debian/control: Remove Freetype and Xft dependencies
*/Imakefile: Purge Freetype includes

lib/DtWidget/ComboBoxP.h
lib/DtWidget/SpinBoxP.h
programs/dtfile/ChangeDirP.c
programs/dtlogin/vgcallback.c
    Undefine USE_XFT so Motif 2.3 doesn't pull in Freetype

CDE included Freetype and Xft solely to satisfy builds of Motif with
Xft support enabled. However, as CDE only supports bitmap fonts, this
dependency was entirely superfluous and unnecessarily broke backwards
compatibility with older systems.
2021-06-02 19:56:26 -06:00
Lev Kujawski
1f52f5ca81 Avoid Global Offset Table (GOT) limits by enabling -fPIC on the BSDs.
config/cf/bsdLib.rules: Switch -fpic to -fPIC
lib/DtXinerama/Imakefile: Use $(PICFLAGS) instead of -fpic

Several tickets have been opened by users encountering the low 8KiB
GOT limit on SPARC systems running BSD. This change makes CDE builds
on BSD more consistent with those on Linux, where -fPIC has been the
default without any reported issues.
2021-06-02 19:56:26 -06:00
Jon Trulson
14eb374e0a .gitignore: Add some MsgCat.c generated files 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
Lev Kujawski
3379999106 dtinfo: rename the CATGETS macro to MCATGETS 2021-06-02 19:51:24 -06:00
Lev Kujawski
fc1d29be81 config/cf/Imake.cf: Define AArch64Architecture on the BSDs. 2021-06-02 19:51:24 -06:00
Jon Trulson
7b79d810eb dthelp/parser: disable parallel building 2021-06-01 18:23:46 -06:00
Jon Trulson
9f5021a81f pm_randon.h: fix conversion warning (int to float) 2021-06-01 18:23:46 -06:00
Jon Trulson
e8345c9241 autotools: specify tirpc lib to link the tooltalk binaries
Newer ubuntu's do not seem to honor the implied library dependency of
libtt->libtirpc, so we must explicitly specify libtirpc when linking
them.
2021-06-01 18:23:46 -06:00
Jon Trulson
248c75515e libDtTerm: fixes to build in autotools branch for freebsd 2021-06-01 18:23:46 -06:00
Jon Trulson
487305f7cf dtappbuilder: fixes to build in autotools branch for freebsd 2021-06-01 18:23:37 -06:00
Chase
2642674ed4 dtcm: make /var/spool/calendar for user 2021-03-14 15:09:03 -06:00
Chase
58ccd05459 dtinfo: make auxillary libs and programs build 2021-02-28 20:32:46 -07:00
Chase
08622925c8 dthelp: fix spurious compilation failure 2021-02-22 20:18:26 -07:00
Chase
14c3c6ebd8 dtappbuilder: make it build in parallel 2021-02-21 18:42:42 -07:00
Chase
4b461f5627 dthelp/parser/pass2: make it build 2021-02-21 18:35:52 -07:00
Chase
434943913b dthelp/parser/canon1: get it to build 2021-02-21 18:35:43 -07:00
Chase
cbdb9cb3fa dtksh: allow parallel building 2021-02-13 19:19:18 -07:00
Chase
622496bdd6 ttsnoop: make it build under autotools 2021-02-13 18:51:36 -07:00
Chase
6807fbb75e dthelp/parser/helptag: build under autotools 2021-02-07 19:44:12 -07:00
Jon Trulson
37eba21c97 dtksh: disable parallel builds
This module will crash on multicore builds, so disable that for dtksh
until we can investigate and fix, if possible.
2021-01-31 13:43:28 -07:00
Chase
4836c389f6 dtksh: specifically test for patch 2021-01-31 13:22:57 -07:00
Chase
6a62f10047 dtksh: make it build under autotools 2021-01-31 13:22:57 -07:00
Jon Trulson
d9a8325c8d Disable Japanese locale support since we do not currently support it
make distclean ignores the language definitions, as it should.

However, we had options that suggested that the Japanese locale was
supported.  Distclean would decend into that locale directory and
fail, since of course we do not actually support that locale and it is
not currently buildable.
2021-01-31 13:11:41 -07:00
Jon Trulson
1fad87f7bd ksh93: re-add the ksh submodule at 47468f 2021-01-30 19:12:43 -07:00
Jon Trulson
1941713a36 Remove no longer needed Makefile.am for ksh 2021-01-30 19:09:26 -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
9a695e9411 dtprintinfo: don't use rresvport() on Linux systems using the musl C library
Disable binding a privileged client port with rresvport() on Linux
systems using the musl C library, where that function is
unsupported. If there is a need for XPrint support, a BSD-licensed
implementation of rresvport() is available in the portable edition of
OpenSSH.
2021-01-30 17:22:27 -07:00
Lev Kujawski
f7227e1b74 dtinfo: Include config.h for the definition of u_int
Also, properly include unistd.h as a system header.
2021-01-30 17:22:12 -07:00
Lev Kujawski
c2d2accbad dtinfo: the musl C library requires the inclusion of the POSIX fcntl header 2021-01-30 17:21:57 -07:00