Liang Chang
38eb7b43d3
DtMmdb: install spec files to datadir.
2021-12-15 00:21:08 +08:00
Jon Trulson
b55897489f
Fix up a few more implicit-function-declaration warnings on the BSDs
2021-12-13 16:46:02 -07:00
Jon Trulson
5f02c65da0
dthelpdemo: disable it
...
No one is going to want to build and use this example in the
forseeable future, so just disable it.
2021-12-13 16:46:02 -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
a2d3491150
dtmailpr/Makefile.am: remove unsupported defines
2021-12-12 16:45:48 -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
a77253f9ce
Fix a Wself-assign-field clang warning
...
The arg that should be on the rhs seems to be commented out for some
reason, and assigning a variable to itself is pointless, so just
comment it out with a comment explaining why.
2021-12-12 13:43:44 -07:00
Jon Trulson
ab409095d6
Fix a couple of unused-comparison clang warnings
2021-12-12 12:52:14 -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
Liang Chang
3c59e7a98f
configure.ac: add makefiles.
2021-12-12 09:48:51 +08:00
Liang Chang
a0ac8c06bf
dtdocbook: remove hardcoded /usr/dt.
2021-12-12 09:38:16 +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
d470302354
Fix several pointer-bool-conversion warnings that could cause cores
2021-12-11 17:39:35 -07:00
Jon Trulson
adc056eb83
MIMEBodyPart.C: fix a couple sizeof-pointer-memaccess 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
Liang Chang
3acbed6bc9
dtdocbook: install SGML DTDs to datadir.
2021-12-11 23:58:55 +08:00
Liang Chang
e85356165f
dtinfogen: update include directives.
2021-12-11 10:46:31 +08:00
Liang Chang
26818c2a22
dtinfogen: update prefix for lex source.
2021-12-11 09:07:23 +08:00
Jon Trulson
18e25ce273
dtsession/SmUI.c: fix a build issue on OpenBSD 7
2021-12-10 17:24:40 -07:00
Liang Chang
3212d19a78
dtinfogen: replace Xt-related functions.
2021-12-11 06:07:37 +08:00
Liang Chang
ad58dca2aa
DtMmdb: repair lex source in schema dir.
2021-12-11 05:40:20 +08:00
Jon Trulson
b900f8a36d
DtPamSvc: move PamSvc.h to include/Dt/
2021-12-10 14:08:02 -07:00
Jon Trulson
f8877e8e24
dtinfo: fix some installation issues
2021-12-10 12:52:07 -07:00
Jon Trulson
383f0cf4a0
C/guides: install them
2021-12-10 12:01:48 -07:00
Liang Chang
5bff5c5514
DtMmdb: repair lex source in compression dir.
2021-12-11 00:47:56 +08:00
Jon Trulson
30e65c6b14
doc/common/guides/guides_env.am: use HELP_LANG
2021-12-10 09:47:31 -07:00
Liang Chang
ef6d06fb88
DtMmdb: repair lex and yacc source in StyleSheet dir.
2021-12-11 00:08:35 +08:00
Liang Chang
206632cfbb
dtinfogen: file renaming.
2021-12-10 07:59:47 +08:00
Liang Chang
ff439cb2f4
DtMmdb: prepare for building dtinfoge.
2021-12-10 07:12:02 +08:00
Jon Trulson
b29bd77a2f
m4/compiler_flag_chk.m4: fix bug related to not testing the actual flag
2021-12-09 15:48:20 -07:00
Jon Trulson
a9e028f7c6
doc/C: get m-guides setup
2021-12-09 15:00:00 -07:00
Jon Trulson
eebb078c19
doc/C/guides: build the infolib and search DB
2021-12-09 13:50:21 -07:00
Jon Trulson
e26c8fb9a4
doc/C/guides: build the TOCs
2021-12-08 16:58:05 -07:00
Jon Trulson
e437a02e0b
dtinfo/dtinfogen: make it build
...
Now, as to whether it all actually works, I guess we will see.
2021-12-06 17:47:00 -07:00
Jon Trulson
93a3d73ef7
dtinfo: install required stuff, also in localized/
2021-12-06 11:59:00 -07:00
Jon Trulson
b6c938fb47
dtinfo: move the dtinfo_dfiles_hfiles.mk makefile include into dtinfo/src/
2021-12-05 19:48:48 -07:00
Jon Trulson
89cdc161d0
dtinfo: move the dtinfo_env.mk makefile include to programs/dtinfo/
2021-12-05 19:15:05 -07:00
Liang Chang
3697a3696b
DtHelp: support ending the lines which contains multibyte characters.
2021-12-06 07:31:21 +08:00
Liang Chang
142b1e5241
dtdocbook: update SGML DTDs.
2021-12-06 07:30:36 +08:00
Liang Chang
d6ce4d14f5
dtinfogen: Remove an unused environment variable.
2021-12-06 06:49:24 +08:00
Liang Chang
07e8d816d3
dtinfogen: Migrate to UTF-8.
2021-12-06 06:49:23 +08:00
Liang Chang
4104341be1
dtinfogen: preserve NBSP.
2021-12-06 06:49:22 +08:00
Liang Chang
8a01ce9f87
DtSearch: improve support for Japanese.
2021-12-06 06:49:22 +08:00
Liang Chang
ab1ea96d79
dtinfo: change the default encoding to UTF-8.
2021-12-06 06:49:21 +08:00
Liang Chang
88361e2c47
DtMmdb: change the default encoding to UTF-8.
2021-12-06 06:49:21 +08:00
Liang Chang
c6ffe6061c
dtinfogen: fix a space character.
2021-12-06 06:49:21 +08:00