Liang Chang
b994693701
programs: remove a duplicate subdir from Makefile.am.
2022-02-01 01:44:56 +08:00
Liang Chang
9fcdd2564e
dtappbuilder: improve font settings.
2022-02-01 01:40:17 +08:00
Liang Chang
59094bcc26
dtdocbook: fix a linking issue.
2022-02-01 00:22:13 +08:00
Liang Chang
b4ffb694bd
Merge branch 'master' into dtdocbook
2022-01-30 08:04:32 +08:00
Liang Chang
dacddb0853
programs: update Makefile.am.
2022-01-30 07:16:37 +08:00
Liang Chang
ec2fa5bb78
dtinfo: fix a highlighting issue.
2022-01-29 21:21:01 +08:00
Liang Chang
75280cc25b
localized: update templates.
2022-01-26 19:50:37 +08:00
Liang Chang
6482ae5392
localized: add Japanese template.
2022-01-26 19:50:37 +08:00
Liang Chang
0b67251c6e
localized: convert zh_TW.dt-eucTW to zh_TW.UTF-8.
2022-01-26 19:50:37 +08:00
Liang Chang
7e713eb81b
localized: convert zh_CN.dt-eucCN to zh_CN.UTF-8.
2022-01-26 19:50:37 +08:00
Liang Chang
d92fce07ce
localized: convert ko_KR.dt-eucKR to ko_KR.UTF-8.
2022-01-26 19:50:37 +08:00
Liang Chang
4b897dc788
localized: convert ja_JP.dt-eucJP to ja_JP.UTF-8.
2022-01-26 19:50:37 +08:00
Liang Chang
2c3e1c8e31
dtdocbook: remove unnecessary header files dependency.
2022-01-26 19:50:12 +08:00
Liang Chang
b03cd0f2aa
dtdocbook: update doc_utils/Makefile.am.
2022-01-26 19:50:11 +08:00
Liang Chang
37c4d2e975
dtinfo: remove an unnecessary header file dependency.
2022-01-26 19:50:11 +08:00
Liang Chang
b239c00ae8
dthelp: use system locales.
2022-01-26 19:50:11 +08:00
Liang Chang
075c5db58b
nsgmls: remove nsgmls and use onsgmls contained in OpenSP.
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
f3baea9faa
dtinfo: update bookmark spec.
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
f9e02f163b
dtdocbook: update SGML DTDs.
2022-01-26 19:50:10 +08:00
Liang Chang
c9662c8f26
dtdocbook: remove xlate_locale.
2022-01-26 19:50:10 +08:00
Liang Chang
9c8d899aa0
dtdocbook: update SGML DTDs.
2022-01-26 19:50:10 +08:00
Liang Chang
4f791b9dd4
dbtoman: remove duplicate source code and merge into dtdocbook.
2022-01-26 19:49:03 +08:00
Jon Trulson
75c377065a
dtprintinfo: ParseJobs.C: fix some compile errors for solaris
...
The whole parsing function for solaris printing is really bad and needs
rewritten.
2022-01-15 11:58:12 -07:00
Peter Howkins
341fdfbe71
various: Window objects should be initialised to 0 not NULL
2021-12-24 10:50:28 -07:00
Peter Howkins
33fad36133
dtappbuilder: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
04fcc11f12
dtcm: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
5f784d1013
dtfile: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
bd49a5c948
dthelp: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
793d8b9262
dtappbuilder: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
0332c396c2
dtlogin: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
238385530d
dtmail: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
16c3ed3650
dtprintinfo: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
bf266ee14b
dtstyle: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
7641634130
dtwm: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
8844150d7f
dtaction:: Resolve uninitialized warnings, use a set access more for the SULog file
2021-12-24 10:50:28 -07:00
Peter Howkins
93a0b4bc7e
dtappbuilder: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
2c134302c8
dtcm: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
85684c337a
dtcreate: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
1227dabec4
dtdocbook: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
207253b401
dtfile: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
daf072463a
dthelp: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
0e038e3b52
dticon: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
1e92a43e54
dtimsstart: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
efa29a21e0
dtksh: Resolve uninitialized warningsc
2021-12-24 10:50:28 -07:00
Peter Howkins
bbaaf942be
dtlogin: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
72b59ec869
dtmail: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
85268b3476
dtpad: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
3600e87527
dtprintinfo: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
284c760616
dtsr: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
4eb099b047
dtstyle: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
f073bc2e24
dtwm: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
7a08d8cedc
localized/util: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
ef10a4924c
nsgmls: Resolve uninitialized warnings
2021-12-24 10:50:28 -07:00
Peter Howkins
20e2618097
ttsnoop: Resolve uninitialized warnings
2021-12-24 10:50:28 -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
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
71f46b5a56
backdrops: don't install Makefile.am as a backdrop. Ahem.
2021-12-20 15:14:07 -07:00
Jon Trulson
71132d8cab
dthelp.dt.src: hack to make Dthelpview ACTION work
...
For reasons I have been unable to determine, running:
dtaction Dthelpview
or Selecting 'Help Manager' from the front panel fails trying to run
the appropriate EXEC_STRING. It get's corrupted in some fashion and
you will usually see an error in ~/.dt/errorlog of the form:
/usr/dt/bin/t/bin/dthelpview: No such file or directory
or more commonly:
/bin/sh: /us: No such file or directory
It is not clear where this corruption is taking place, but it shows up
in 'dttypes' output as well.
This hack simply removes 10 spaces between the two commands that are
run:
EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; \
/usr/dt/bin/dthelpview -helpVolume browser
'
Which seems to solve (hide) the problem. Finding the real cause of
this will be saved for a later date when more is known and in
particular whether this happens with other ACTIONS.
2021-12-20 15:06:07 -07:00
Liang Chang
1e9b4660ad
doc2sdl: use POSIX regex functions.
2021-12-21 01:53:53 +08:00
Liang Chang
73078fb103
doc2sdl: install locale files to datadir.
2021-12-20 06:31:10 +08:00
Liang Chang
9e04623d4b
doc2sdl: install tpt to datadir.
2021-12-20 04:39:37 +08:00
Jon Trulson
4029c5b813
dtcm/RFCMIME: fix a guaranteed buffer overflow
2021-12-19 12:25:50 -07:00
Jon Trulson
dddca18f9b
dtbuilder.c.src: fix empty-body warnings
2021-12-19 12:02:40 -07:00
Jon Trulson
2559a96ee8
dtmail: fix vla warning
2021-12-19 11:48:35 -07:00
Jon Trulson
bbba562a22
dtsession: don't change perms of dtsession if HAS_PAM_LIBRARY
2021-12-19 11:30:36 -07:00
Liang Chang
024860dab6
doc2sdl: convert strings files to UTF-8.
2021-12-20 01:34:33 +08:00
Jon Trulson
2e4029de70
dtcalc: remove matherr() extern due to reversion of a9175c89
2021-12-17 15:21:24 -07:00
Jon Trulson
35360f9900
Revert "dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings."
...
This reverts commit a9175c896d .
This is the wrong fix for matherr() troubles.
2021-12-17 15:19:07 -07:00
Jon Trulson
65d17786a1
dtmail: #118 : don't fail install if mail group does not exist
2021-12-16 14:30:27 -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
05fa4044f4
Look over the install rules and adjust where appropriate
...
These are just minor tweaks to make sure the 'make install' part does
what it is supposed to do. I also removed some commented code in the
dtmail Makefile related to SunOS, as that is not currently suppoerted
anyway.
2021-12-15 15:41:53 -07:00
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
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
Peter Howkins
e2646219a4
dticon: Resolve some warnings about format bufferss
2021-11-25 05:14:25 +00:00
Peter Howkins
021a5ef691
dtfile: Resolve warnings about format string overflow.s
2021-11-25 04:58:01 +00:00
Peter Howkins
0307f6af82
dtpad: resolve warnings due to buffer safety
2021-11-25 04:44:30 +00:00
Peter Howkins
9f8dbf6a6c
dtcalc: Remove more 'extern' variables in .c files, by putting them in .h. Also reduce scope of vars and funcs with static.
2021-11-25 04:29:25 +00:00
Peter Howkins
a9175c896d
dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings.
2021-11-25 03:09:45 +00:00
Jon Trulson
41dbfddc10
dtsession/Makefile.am: add config to SUBDIR so PAM config is built/installed
...
Also, update .gitignore due to some renaming of the PAM config files.
2021-11-22 13:18:17 -07:00
Liang Chang
c8762bcb01
autotools: install PAM configuration files directly instead of by
...
using the setup script.
2021-11-22 06:30:41 +08:00
Liang Chang
dd17c6a394
dtsearchpath: fix a crash when running dtappgather.
2021-11-21 15:56:58 +08:00
Jon Trulson
cf7e51ccb5
dthelp: fix implicit-function-declaration warnings (the rest)
...
... at least with regard to the non-generated code.
2021-11-16 18:28:23 -07:00
Jon Trulson
4f16e12ed8
dthelp: fix implicit-function-declaration warnings (mostly)
2021-11-16 16:24:58 -07:00
Jon Trulson
cc422524f7
dtsr: fix implicit-function-declaration warnings
2021-11-16 15:42:09 -07:00
Jon Trulson
e8af2b9ac8
dtpdm: fix implicit-function-declaration warnings
2021-11-16 15:24:09 -07:00
Jon Trulson
fd53532bcf
dtappbuilder: fix implicit-function-declaration warnings
...
With the exception of the yy* issues. Can resolve those at a later
time.
2021-11-16 15:21:44 -07:00
Jon Trulson
0ee97b3645
dtcm: fix implicit-function-declaration warnings
2021-11-16 14:46:48 -07:00
Jon Trulson
f6c0a00a7a
dtksh: fix implicit-function-declaration warnings
...
Tis does not fix those warnings in ksh93 itself, only the stuff we are
responsible for.
2021-11-16 12:39:18 -07:00
Jon Trulson
4b3901f63b
dtspcd: fix implicit-function-declaration warnings
2021-11-16 11:45:11 -07:00
Jon Trulson
36c9476a74
dtcalc: fix implicit-function-declaration warnings
2021-11-16 11:42:21 -07:00
Jon Trulson
5a0e223ea1
dtterm: fix implicit-function-declaration warnings
2021-11-16 10:40:44 -07:00
Jon Trulson
3fe7bbeca5
dtsession/SmSave: fix format pointer confusion warnings
2021-11-16 09:57:20 -07:00
Jon Trulson
3f1f2ea0f6
dticon: fix implicit-function-declaration warnings
2021-11-15 16:07:28 -07:00
Jon Trulson
6f553130a3
dtstyle: fix implicit-function-declaration warnings
2021-11-15 16:07:28 -07:00