Commit Graph

587 Commits

Author SHA1 Message Date
Chase edf4319548 Discontinue HPUX support 2022-07-23 17:49:33 -06:00
Peter Howkins 1f5ec7f034 Allow the window manager to handle centered, fit and fill backdrops 2022-07-06 17:00:49 -06:00
Liang Chang c3b1d645a9 DtUtil1: fix a pointer casting issue. 2022-04-15 13:33:24 -04:00
Liang Chang 1adb29e6a7 tt: remove an unnecessary macro definition. 2022-03-25 16:02:53 -06:00
Liang Chang 0797e9ca72 tt: ensure all versions of mapping can be deleted from portmap. 2022-03-25 15:24:31 -06:00
Liang Chang 2e69f83d33 tt: ensure ttsession is shut down properly. 2022-03-23 23:54:31 +00:00
Liang Chang 1ac963d735 tt: prevent superfluous ttsession processes. 2022-03-24 14:49:03 +00:00
Liang Chang 14c89d4578 DtSearch: processing multibyte characters based on locale settings
to avoid confusion.
2022-03-03 13:44:26 +00:00
Jon Trulson 06460abd36 DtSvc/MsgLog.c: remove extra 'noise' around log events
Previous:
-=-=-=-=
*** INFORMATION(0): dtwm: PID 1758056: Sun Feb 27 15:49:37 2022
Workspace Manager: XmeRenderTableGetDefaultFont() failed, trying a fixed font

*** [142]

-=-=-=-=

New:
-=-=-=-=
*** INFORMATION(0): dtwm: PID 1758839: Sun Feb 27 15:54:09 2022
Workspace Manager: XmeRenderTableGetDefaultFont() failed, trying a fixed font
[142 bytes]

-=-=-=-=
2022-02-27 15:58:48 -07:00
Liang Chang 9077b5fd85 DtSearch: fix a crash. 2022-02-07 09:48:23 +08:00
Liang Chang 0a523304b6 DtMmdb: fix a yacc syntax error. 2022-02-07 09:48:23 +08:00
Liang Chang d985889b74 lib: update Makefile.am. 2022-02-01 09:32:31 +08:00
Liang Chang b4ffb694bd Merge branch 'master' into dtdocbook 2022-01-30 08:04:32 +08:00
Liang Chang ec433c3eaa DtHelp: keep processing even when some fonts are missing. 2022-01-26 19:50:38 +08:00
Liang Chang f3965ed394 DtHelp: use system locales. 2022-01-26 19:50:11 +08:00
Liang Chang 3c67bd0cb1 DtEncap: use system locales. 2022-01-26 19:50:11 +08:00
Liang Chang e93b2bc626 DtMmdb: move to lib directory as a standalone library. 2022-01-26 19:50:11 +08:00
Liang Chang c6661c92c9 dtdocbook: merge dtinfogen into dtdocbook. 2022-01-26 19:50:11 +08:00
Peter Howkins 5a763ae48b libtt: Resolve format-overflow issues 2021-12-24 10:50:28 -07:00
Peter Howkins 35c9fd24a3 libcsa: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Peter Howkins fa4fe1fb47 libdtterm: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Peter Howkins 108c2fab2c libdtprint: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Peter Howkins 37e03a1820 libdtwidget: resolve uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins 182aa9fe5a libdtsearch: Resolve uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins 320576e069 libdthelp: Resolve uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins b807066429 libdtsvc: Resolve Uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins 35e94e3878 libtt: Resolve uninitialized warningss 2021-12-24 10:50:27 -07:00
Jon Trulson 31774af2f2 library versioning: try to keep the versions at 2.1.0 for all platforms 2021-12-23 13:06:44 -07:00
Jon Trulson 3a0e92adb6 Rename autotools_config.h to cde_config.h to better reflect it's ownership. 2021-12-22 13:21:43 -07:00
Jon Trulson 1b67815df2 configure, libtt: add check for rpc_inline_t and define if not supported 2021-12-22 13:14:55 -07:00
Jon Trulson 931bcaa494 dtsr, DtSearch: finish removing need for BYTE_SWAP define 2021-12-21 16:42:29 -07:00
Jon Trulson 3a0c2ae879 Move DtXinerama.h and PamSvc.h into include/Dt/ 2021-12-21 16:42:29 -07:00
Jon Trulson e10d06f210 configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
2021-12-21 16:42:22 -07:00
Jon Trulson 17602b4d21 Library (.so) versioning: preserve previous library version
Ticket #120

Change libtool's shared library version info to 3:0:1 to preserve the
previous library version of 2.1.0.

See https://autotools.io/libtool/version.html for the details on how
libtool handles this versioning info.

See https://verbump.de/ for a handy 'version calculator' using
libtools rules.
2021-12-16 12:40:15 -07:00
Jon Trulson e7d657c376 libtt: remove hardcoded -lstdc++ used to build TT library
Hardcoding a -lstdc++ is wrong, since not all OSs are likely to handle
C++ in the same way.

The issue is that libtt needs to be built as a C++ library, so we use
a fake dummy.cxx file to convince libtool to do so instead, rather
than trying to force the issue by linking a (possibly missing)
libstdc++.
2021-12-13 16:44:01 -07:00
Jon Trulson a5a2d937cb Automate versioning for CDE, set current version to 2.4.0b
Previously in the imake world, changing the CDE version required hand
editing a handful of files.

This commit makes these files into ".in" files.  configure.ac now
holds CDE version information -- both in the AC_INIT() call and in the
CDE_VERSION_* variables a few lines down.

Changing the CDE version now involves editing those two locations in
configure.ac only.

Thereafter, a configure run will replace version information in the
following files with the current CDE version:

copyright
doc/common/help/HELPEnt.sgm
include/Dt/Dt.h
lib/tt/bin/ttauth/ttauth.man

This also causes a catch-22 problem with ToolTalk.  So the
tooltalk.inc file is gone and the relevant TT Makefiles have been
modified to set and define the TT version in those Makefiles that
actually use it.
2021-12-13 16:43:42 -07:00
Jon Trulson 4a0f9701ab DtHelp: remove unused forced bit order depending on OS type 2021-12-12 15:23:28 -07:00
Jon Trulson 75ea7be520 DtSearch/raima: use autodetected byte endianness rather than forcing based on OS 2021-12-12 12:29:48 -07:00
Liang Chang 0007043d25 Merge branch 'master' into dtdocbook 2021-12-12 20:13:16 +08:00
Liang Chang 16e67fec81 Merge branch 'master' into dtdocbook 2021-12-12 20:01:35 +08:00
Jon Trulson c479fe7b9e Fix some logical-not-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson 24a2f05138 Fix some shift-op-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson dda11f0e38 Fix a bunch of -Wempty-body warnings reported by clang
Many of these were real bugs, like:

if (cond);
   do_something

etc...

Others were just cosmetic - like placing the ';' on a separate line to
make the intention clear.
2021-12-11 13:10:24 -07:00
Jon Trulson b900f8a36d DtPamSvc: move PamSvc.h to include/Dt/ 2021-12-10 14:08:02 -07:00
Liang Chang 3697a3696b DtHelp: support ending the lines which contains multibyte characters. 2021-12-06 07:31:21 +08:00
Liang Chang 8a01ce9f87 DtSearch: improve support for Japanese. 2021-12-06 06:49:22 +08:00
Liang Chang 3f950009bc DtSearch: Migrate to UTF-8. 2021-12-06 06:42:34 +08:00
Liang Chang f3949ff449 DtHelp: Add the multibyte character support to _DtCvStrcspn. 2021-12-06 06:42:33 +08:00
Liang Chang a9ddcffd94 DtHelp: Add the multibyte character support to _DtCvChar. 2021-12-06 06:42:32 +08:00
Liang Chang a9ceb6db7a DtHelp: Apply graceful degradation for font loading to avoid a segmentation
fault.
2021-12-06 06:42:32 +08:00