1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

2161 commits

Author SHA1 Message Date
Lev Kujawski
d14d956c00 Rename functions within ToolTalk that conflict with the musl C library headers. 2021-01-10 18:08:00 -07:00
Lev Kujawski
5d5523fd6a Define _DtPLATFORM_MAX_LEN for C libraries (including musl) that do not provide the SVID SYS_NMLN definition. Use sizeof() to replace another #ifdef. 2021-01-10 18:08:00 -07:00
Chase
10f2382561 dtksh/findsym.c: fix compiler warnings 2021-01-01 18:41:26 -07:00
Chase
428223ee80 use a patchfile to augment init.c instead of copying it entirely 2021-01-01 18:41:26 -07:00
Chase
90fff44682 dtksh: use bin/package flat make instead of shell
Shell isn't portable, so upstream ksh93 has a "flat" function that we can use
to put binaries in a static place that doesn't require a shell command. We still
do need an intermediate setup.sh shell script due to a bug in ksh that object
files aren't being put in lib, and FEATURE not in include. We also cut out some
 unused symbols, and a hpux specific implementation of dynlib (new hpux should
 conform to the posix implementation anyhow.)
2021-01-01 18:41:26 -07:00
Liang Chang
12f2fb1f10 dtdocbook: fix a segmentation fault. 2021-01-01 03:07:37 +08:00
Liang Chang
bc39b47162 dtopen: fix the syntax errors of comment. 2020-12-29 00:20:37 +08:00
Chase
f884dce398 dtkcmds.c: use Empty macro instead of empty string 2020-12-13 17:45:39 -07:00
Chase
5cec09b9f2 dtksh: use sh_addbuiltin instead of manually editing builtins.c 2020-12-06 18:24:33 -07:00
Chase
80825d1651 dtksh: update to commit 67880e3 2020-12-06 18:24:33 -07:00
Peter Howkins
d98b2c4c34 dtcm: Always use ANSI function prototypes 2020-11-29 01:55:09 +00:00
Peter Howkins
c62a5049ed libcsa: Always use ANSI function prototypes 2020-11-27 16:58:22 +00:00
Peter Howkins
aef196c6ca dtcalc: remove some pointless macroing of function names to uppercase versionss 2020-11-26 23:00:18 +00:00
Peter Howkins
e4024b0bf9 dtcalc: Remove support for optional K&R prototypes to simplify code 2020-11-26 22:24:51 +00:00
Peter Howkins
25d34e6398 dtcreate: remove hacky solution to declaring and defining variables in .h files
Split them into .c and .h like usual.y
2020-11-26 03:16:16 +00:00
Jon Trulson
e18e2480dc dthelp parser htag1: add new global.c from master 2020-11-24 17:03:14 -07:00
Jon Trulson
90e61dda5f Merge branch 'master' into autotools-conversion 2020-11-24 16:53:24 -07:00
Peter Howkins
dc45d133c9 dthelp: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 05:42:59 +00:00
Peter Howkins
9ff00704b3 dtudcfonted: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 03:16:50 +00:00
Peter Howkins
0444e500bc libDtSearch: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:48:10 +00:00
Peter Howkins
ee04641879 dticon: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:25:30 +00:00
Peter Howkins
30f2d925ef dtcreate: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:19:05 +00:00
Peter Howkins
361b8f1456 dtappbbuilder: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:19:05 +00:00
Peter Howkins
e1196cdfec dtcalc: Resolve gcc 10 errors about multiple definitions of global variables 2020-11-24 02:19:05 +00:00
Jon Trulson
b21968f26a fix broken dev version number: 2.3.1a -> 2.3.2a 2020-11-23 17:01:37 -07:00
Peter Howkins
4fd18c3c16 dtstyle: Remove duplicate definition of NumOfPalettes that was a) wrong b) causing issues on recent compilers 2020-11-23 18:28:01 +00:00
Peter Howkins
67f62e5a8a all: remove deprecated sys_errlist[] and replace with ANSI C strerror() 2020-11-02 05:30:08 +00:00
Chase
fc700e296b Dtksh: fix callback segfault 2020-10-19 18:36:29 -06:00
Chase
9f290039eb ksh93: update to commit dd9bc2 2020-10-19 18:36:29 -06:00
Chase
461d326bbe dtksh: Use ksh93 translate over augmented version
We can reduce our differences from upstream ksh by simply using their
ERROR_translate() function instead of our janky and obsolete msg_translate,
we also move DtGetMessage() to msgs.c and lockedfiledescriptors and,
unlockfiledescriptors to extra.c to lessen modifications to init.c, which
all changes will hopefully be moved elsewhere in the future
2020-10-19 18:36:29 -06:00
Chase
3443543744 dtkcmds.c: add extra field to discipline functions 2020-10-12 05:32:57 -06:00
Chase
96c4a3ea52 ksh: update to commit 092b90 2020-09-20 11:29:00 -06:00
Jon Trulson
2b338e4241 dtdocbook/xlate_locale: add proper include for strcmp 2020-09-08 08:44:19 -06:00
Jon Trulson
ebc283a2a7 Merge branch 'master' into autotools-conversion 2020-09-07 18:20:13 -06:00
Jon Trulson
29ddc05827 dthelp/parser/pass1: disable parallel builds due to occasional failures 2020-09-07 17:50:40 -06:00
Jon Trulson
cc12058502 dtdocbook: make it build under autotools
Remove a pile of old SGML stuff we no longer need in dtdocbook since
we use NSGMLS.

Use some TCL macros from m4/tcl.m4 to loacate and use information in
the tclConfig.sh script installed with TCL.  I had to modify it to
export TCL_INCLUDE_SPEC, which was present but not imported.
2020-09-07 17:43:01 -06:00
Jon Trulson
43bda68f69 configure.ac: Add TCL detection 2020-09-07 14:31:00 -06:00
Jon Trulson
e5914dd108 dtappbuilder/src/ab: disable parallel builds
Due to the way dtcodegen works, we can't use parallel builds (-j) in
this directory without corrupting things and generating build errors.
2020-09-05 16:20:13 -06:00
Chase
65d2062518 dtappbuilder: make it build under autotools 2020-09-05 15:49:46 -06:00
Chase
9d798ad6d0 dtksh: make new ksh submodule build 2020-08-23 20:13:30 -06:00
Chase
994772518a dtksh/examples: clean up scripts
This commit does three thing:
1. Sets appropriate bits on source files
2. Tells imake to build them as script files, not data files
3. Remove broken examples based on unused code
2020-08-23 20:13:24 -06:00
Chase
5d0125b393 dtksh: add new ksh93 submodule 2020-08-23 20:13:18 -06:00
Chase
0069a6e084 dtksh: remove old ksh from repo 2020-08-23 20:13:14 -06:00
Peter Howkins
cb3180cd2a libcsa: resolve all missing-prototypes warnings 2020-08-01 23:00:23 +01:00
Peter Howkins
f4eb62fa69 libcsa: Resolve all strict-prototype warnings 2020-08-01 22:45:55 +01:00
Peter Howkins
ce4fad4c5a libcsa: Resolve GCC 9 warnings 2020-08-01 21:38:08 +01:00
Chase
0f3bcae232 dtksh: Turn dtksh aliases into builtins and discard BLT_SPC flag
Upstream ksh has removed it's builtin aliases, favoring instead to make them
all builtin commands, this would also allow us to skip having to manually
merge another file, it was explained best in this email:

"Default aliases are an ugly hack that you are better off without.
Disadvantages include:
- 'unalias -a' becomes basically unusable as it gets rid of commands you
probably want;
- shell functions by those names are ignored (unless you quote their
names upon invocation);
- something like 'cmdname=foo; "$cmdname" bar baz' doesn't work if
$cmdname is an alias.

I strongly recommend removing the BLT_SPC flag from all of
your extra dtksh builtins. Making builtins "special builtins" is of no
real benefit at all, while introducing a pointless restriction: shell
functions by those names cannot be defined, which causes a risk of
incompatibility with scripts written for other shells. The BLT_SPC flag
is for a very few historic builtins that must have certain weird
corner-case behaviour of "special" builtins for POSIX compliance and
Bourne shell compatibility reasons."
2020-07-19 19:15:57 -06:00
Jon Trulson
c7907f4f19 .gitignore: add dthelp parser/pass1 files 2020-05-25 12:31:20 -06:00
Jon Trulson
6da55905ec dthelp/parser/pass1: get it to build
So this is going to be tricky/painful getting this parser fully
operational.  It's pretty hairy with various interdependencies and
generated code.

It's rather complicated how each sub dir depends on the previous one.
Also, the parser subdir has dependencies on the helptag subdir, and
vice-versa, so some hackery was needed to get that to work.

Due to the wierd interdepencencies between helptag and parser,
we disable parallel builds there.

This is some really horrible code and design - not surprising since it
dates to 1989.

I think it should just be removed -- who can maintain or refactor this
code?

Also, dthelp_htag1 is now built in pass1/parser/, not in
pass1/helptag/ as it used to be.
2020-04-21 15:40:05 -06:00
Jon Trulson
349802ddd3 dthelpprint: make it build. 2020-04-13 16:21:27 -06:00