Commit Graph

1590 Commits

Author SHA1 Message Date
Jon Trulson a2d3491150 dtmailpr/Makefile.am: remove unsupported defines 2021-12-12 16:45:48 -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
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 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 f8877e8e24 dtinfo: fix some installation issues 2021-12-10 12:52:07 -07:00
Liang Chang 5bff5c5514 DtMmdb: repair lex source in compression dir. 2021-12-11 00:47:56 +08: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 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 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 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
Liang Chang bcdd71df8c dtinfogen: repair lex and yacc source. 2021-12-06 06:45:42 +08:00
Liang Chang 00c5ba3508 dtinfo: improve MessageMgr to avoid unexpected behavior. 2021-12-06 06:42:36 +08:00
Liang Chang a16ba22f1a DtMmdb: add UTF-8 encoding for nbsp. 2021-12-06 06:42:36 +08:00
Liang Chang dd4431719f DtMmdb: check if the log file exists before deleting to avoid
crash.
2021-12-06 06:42:35 +08:00
Liang Chang 4ddd76449c dtinfo: make search highlight works for UTF-8. 2021-12-06 06:42:35 +08:00
Liang Chang e2216838d1 dtinfo: Fix a font issue to make the multilingual text can be
displayed correctly.
2021-12-06 06:42:34 +08:00
Liang Chang e38f1ae3cf DtMmdb: Remove an extra space from the environment variable "schemaDEBUG". 2021-12-06 06:42:33 +08:00
Liang Chang c2fd541ffc DtMmdb: Initialize "oid_in_string_buf" to 0 to ensure "get_oid_2" returns a
correct "oid".
2021-12-06 06:42:33 +08:00
Liang Chang 6f952545fb dtdocbook: Migrate doc2sdl to UTF-8. 2021-12-06 06:42:31 +08:00
Liang Chang f2623acbe7 dthelp: Fix a multibyte character parsing issue. 2021-12-06 06:34:40 +08:00
Liang Chang df7bc69a3f dtdocbook: Migrate instant to UTF-8. 2021-12-06 06:34:38 +08:00
Jon Trulson b9dbea9d3a dtinfo/dtinfo: get it to build
After fixing up some problems with the dtinfo/mmdb library, dtinfo now
links.
2021-12-05 11:57:50 -07:00
Jon Trulson 7540b13e2b dtinfo/dtinfo/src: more changes to the way the libs are made 2021-12-05 11:57:50 -07:00
Jon Trulson 10c77328fa dtinfo/DtMmdb: Fix up another build issue 2021-12-05 11:57:50 -07:00
Jon Trulson 97b2f86eba dtinfo/mmdb: redo the way this library is built
Specifically:

- use libtool so that the top level library contains the actual
  objects, and not just the sub-archives, which the linker will just
  ignore.
- create the source files via symlinks rather than referencing them
  with relative paths.  Doing it that way causes a 'make clean' to
  delete objects in DtMmdb/ which is wrong.
- fix up utility/ - it seemed to be building more source files than
  the original Imakefile listed.  Other changes may need to be done
  here if similar mistakes were made in other subdirs.
2021-12-05 11:57:50 -07:00
Jon Trulson b24fd04619 dtinfo: get src/UAS building, finish msg and res building
Also, rework the way we build convenience libs for the classes to use
libtool.  This fixes some potential linking issues and dependency
checking.

Next up will be to see if we can link and install it, along with it's
message catalogs, resources, etc.
2021-12-05 11:57:50 -07:00
Jon Trulson bdf9256ab2 dtinfo/dtinfo: initial stab at making it build 2021-12-05 11:57:50 -07:00