Commit Graph

556 Commits

Author SHA1 Message Date
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
Liang Chang 0007043d25 Merge branch 'master' into dtdocbook 2021-12-12 20:13:16 +08: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 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
OBATA Akio 16fe76ed65 Fix to include system header files for using functions 2021-10-08 14:40:56 +09:00
OBATA Akio ed90eb7f45 Change to use POSIX confirmed `select` argments unconditionally
Current condition is unsufficient, and It is already used unconditionally
in other sources.
2021-09-30 15:53:59 +09:00
OBATA Akio 20c1768a19 Change to detect iconv implementation with autoconf
Use iconv.m4 (and required macros) form gettext-0.21.
2021-09-21 14:04:40 +09:00
Jon Trulson be6bc0aa54 Remove some unused imake *.tmpl files
We still keep some of them for doc/ and dtinfo until those are
building properly.
2021-09-19 14:42:11 -06:00
b'Jon Trulson d43e6bd6c2 Merge /u/obache/cdesktopenv/ branch fix/missing-version-bump into master
https://sourceforge.net/p/cdesktopenv/code/merge-requests/31/
2021-09-19 18:57:22 +00:00
OBATA Akio 692771fb07 Get rid of support of ancient signal handler return type int
Such environments are missing void type, older K&R C, and
such supports already had been removed in various places.
Furthermore, current hardcoded 'SIGNALRETURNSINT' is wrong.
2021-09-19 18:08:41 +09:00
OBATA Akio 483a4c314f lib/tt: fix missing version bump 2021-09-14 18:40:29 +09:00
Jon Trulson 3e81d4c4de csa: specify correct time_t type in _DtCm_print_tick() prototype 2021-08-07 18:32:33 -06:00
Jon Trulson cc60fb8241 configure: remove freetype checks, we do not need freetype anymore 2021-07-08 16:35:51 -06:00
Jon Trulson 2730367844 utempter: complete the implementation
Liang Chang added utempter support to the dtterm widget in
pre-autoconf CDE.  While the code itself was merged, it was still not
"turned on" for autoconf builds.

This commit completes the implementation allowing dtterm on Linux and
the BSDs to be installed without having to be setuid root -- as long
as the libutempter headers and libraries are installed.
2021-07-04 16:45:57 -06:00
Adam Sampson 67ef980644 DtSvc: fix error return from DtHelpReturnSelectedWidgetId
return(NULL) is correct for the other functions here but not for this
one, since it's meant to return a DtHELP_ error code. The man page also
says it should also set *widget to NULL on error.
2021-07-04 13:17:30 -06:00
Adam Sampson d9769e4774 DtSvc: add missing #include (for malloc) 2021-07-04 13:15:33 -06:00
Jon Trulson ac8bd41373 Revert "Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym"
This reverts commit 15a2032626.

This is wrong - it is missing the proper include file, and the
new function takes 4 arguments not 3.
2021-07-04 13:00:51 -06:00
Jon Trulson 369b3e89d9 Begin removal of some Imakefiles, and other no longer useful cruft
This commit will not completely remove all Imake files, specifically
those for sections that have not been completed yet.

Also, the databases dir has been moved to databases-delete-later until
we have everything building and installed properly.
2021-07-03 18:23:40 -06:00
Jon Trulson 727baab329 Bump version to 2.4.0a for upcoming merge 2021-07-03 17:24:22 -06:00
Jon Trulson 5a03b6a5e8 Merge branch 'master' into autotools-conversion 2021-07-03 16:56:54 -06:00
Jon Trulson 8e4de15495 Bump version to 2.4.0 for release 2021-07-03 13:35:15 -06:00
Jon Trulson 4338ac2e2a Merge branch 'master' into autotools-conversion 2021-06-26 15:06:38 -06:00
Jon Trulson 2a3e91383b autotools: get the PAM support from master working on linux and freebsd 2021-06-02 19:57:23 -06:00