Commit Graph

575 Commits

Author SHA1 Message Date
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
Liang Chang
6a26b02606 DtHelp: Fix a multibyte character parsing issue. 2021-12-06 06:34:39 +08:00
Liang Chang
b816b85575 DtTerm: enable post-process output. 2021-12-03 22:10:57 +09:00
Jon Trulson
23b3b76c1d lib/csa: fix implicit-function-declaration warnings 2021-11-12 16:21:34 -07:00
Jon Trulson
5223d0408e lib/DtTerm: fix implicit-function-declaration warnings 2021-11-12 16:14:18 -07:00
Jon Trulson
fd3be337fa lib/DtWidgets: fix implicit-function-declaration warnings 2021-11-12 15:05:56 -07:00
Jon Trulson
6d50de9448 DialogBox.c: fix ptr<->int conversion 2021-10-23 16:40:22 -06:00
Jon Trulson
f61316c4f4 tt_ldpath: fix broken logic in find_lib 2021-10-23 14:50:40 -06:00
Liang Chang
c47e290379 Remove DtXpm. 2021-10-18 10:10:20 -06:00
Liang Chang
0672e9e0cf DtHelp: use libXpm directly. 2021-10-18 10:10:20 -06:00
OBATA Akio
4316bb797d libcsa: fix to use proper xdr function for time_t 2021-10-12 17:24:26 +09:00
OBATA Akio
008bcba766 libcsa: always use time_t for tick 2021-10-12 17:24:26 +09:00
OBATA Akio
194ae3639f libcsa: remove duplicated function prototype
Just `_DtCm_clnt_call` is used anycase.
2021-10-12 17:24:13 +09:00