Commit Graph

52 Commits

Author SHA1 Message Date
Chase 61ed7ad39c dthelp: merge duplicate headers 2025-12-14 13:32:54 -07:00
Chase 9d9f3f9380 dthelp/parser: use standard ctype case functions 2025-11-25 12:31:07 -07:00
hyousatsu f0123efa84 Fix some warnings. 2024-07-21 00:43:27 +00:00
Chase 45cee195bd Generify source code
Previously we would fail in some parts of the code if we did not have a
premade configuration, now we use any code that was marked as Linux, BSD and
Solaris as our basis in order to support building unknown Unix systems.
2022-08-06 11:31:51 -06:00
Chase 4370a95a84 dthelp: remove obsolete and non-compiled code 2022-07-30 19:36:32 -06:00
Chase edf4319548 Discontinue HPUX support 2022-07-23 17:49:33 -06:00
Liang Chang b4ffb694bd Merge branch 'master' into dtdocbook 2022-01-30 08:04:32 +08:00
Liang Chang b239c00ae8 dthelp: use system locales. 2022-01-26 19:50:11 +08:00
Peter Howkins daf072463a dthelp: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Liang Chang f2623acbe7 dthelp: Fix a multibyte character parsing issue. 2021-12-06 06:34:40 +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 3e7a921af2 dthelp/parser: disable parallel building for eltdef and util 2021-11-12 17:30:44 -07:00
OBATA Akio 2390217a75 Fix to decide data and return type explicity 2021-10-08 17:25:17 +09:00
Jon Trulson 51646fb06a programs/: remove Imakefiles for completed modules 2021-07-03 19:12:43 -06:00
Jon Trulson afbf39af01 dthelp/parser/pass2: disable parallel builds for this module 2021-06-02 19:57:23 -06:00
Chase 08622925c8 dthelp: fix spurious compilation failure 2021-02-22 20:18:26 -07:00
Chase 4b461f5627 dthelp/parser/pass2: make it build 2021-02-21 18:35:52 -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
Chase 37a7c7c7ce programs/dthelp: add automake files 2019-10-23 15:34:20 -06:00
Peter Howkins 5aa1fed48b dthelp: Convert all K&R function definitions to ANSI (C90) standard 2018-06-24 00:50:56 +01:00
Peter Howkins f89139dd84 dthelp: Remove spectaculaly obsolete MSDOS support 2018-06-23 01:38:03 +01:00
Peter Howkins 757249c65b dthelp: Remove always on macro M_NOPAR which was just there to support ancient compilers that don't have 'void' 2018-06-23 00:48:36 +01:00
Peter Howkins 725b02e6bf dthelp: Remove define M_PROTO that was always turned on (for all platforms) that enabled ANSI not K&R function prototypes 2018-06-22 20:40:47 +01:00
chase 809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Ulrich Wilkens 297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
chase 4f5e7fe5e3 Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
chase 164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
Peter Howkins 48b97a4c41 dthelp: Further coverity fixes 2018-04-30 04:11:44 +01:00
chase 33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Peter Howkins 9b4b82c1f0 dthelp: coverity fixes 2018-04-13 20:26:23 +01:00
Peter Howkins 10468068ac dthelp: more coverity fixes 2018-04-11 02:07:55 +01:00
Peter Howkins e12e009eb5 dthelp: compiler warning and coverity warning fixes 2018-03-29 00:21:44 +01:00
Ulrich Wilkens 29294e0373 Fix FreeBSD 10.1 build 2014-11-20 17:48:57 -07:00
Ulrich Wilkens 01d6c363fa OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
Ulrich Wilkens 42e891d9e7 Resolve many build warnings
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -06:00
Jon Trulson b2db23c0af cleanup: eliminate "implicit declaration" warnings.
Also fixed a potential core/memory corruption in dticon.
2014-03-24 15:58:11 -06:00
Peter Howkins b14833740b Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2012-08-30 21:38:11 +01:00
Peter Howkins 71f8af6943 dthelp: Resolve 106 compiler warnings. 2012-08-30 21:37:25 +01:00
Jon Trulson d0b5ebebd9 dthelp/text.c: use snprintf 2012-08-30 12:44:50 -06:00
Marcin Cieslak 31aaa48344 FreeBSD port: dtsearch, dtterm, dtwidget, dthelp
FreeBSD portability of dtsearch, dtterm, dtwidget, dthelp

Work in progress for dtlogin and dtmail
2012-08-13 19:53:10 -06:00
Pascal Stumpf 0bbd4ff9aa Get rid of malloc.h.
This is a non-POSIX/ISO-C header.  It is ok to include this on Linux, but it
is obsolete on BSD; FreeBSD even throws an error if you include it with
__STDC__ defined.  Every system should nowadays have malloc() defined in
stdlib.h.

Diff is largely mechanical, replacing malloc.h with stdlib.h where it is not
yet included anyway.
2012-08-12 14:20:58 -06:00
Pascal Stumpf 3e4517dc2a OpenBSD patches for dtcalc, dtdocbook, dthelp and dtimsstart. 2012-08-11 19:43:41 -06:00
James Woodcock f646b8b1a1 Remove unnecessary extern modifier on struct declarations. 2012-08-09 13:55:54 -06:00
Jon Trulson f42fa885be Fix SIGSEGV while compiling dthelp on 64 bit systems.
Patch from Ulrich Wilkens <mail@uwilkens.de>

I have a little patch for a problem that I found when I tried to
compile dthelp on 64bit FreeBSD. It could also be a problem on other
64bit systems.  The problem is that the program context compiles but
fails running with segmentation fault.

context uses the function m_malloc() which is missing a correct
prototype sometimes. Then it's treated to return int instead of void *
. On 64bit systems this cuts off the higher 32 bits because void * is
64bit whereas int is only 32bit.
2012-08-06 22:42:34 -06:00
Jon Trulson 860aa64942 Fix some minor issues and re-enable building of DE, ES, FR, and IT locale data (help and message cats)
Note, there are still some issues with certain programs appearing not
to use their localized message catalogs properly, while others work
fine.

Also, in order to build these now, you need to make sure you have
installed the DE, ES, FR, and IT locales before building or you will
get failures.  On [k]ubuntu, at least, you can install these with the
following commands:

sudo locale-gen de_DE
sudo locale-gen es_ES
sudo locale-gen fr_FR
sudo locale-gen it_IT
2012-07-13 17:42:12 -06:00
Peter Howkins 1d97f19166 Linux compilation fixes for dthelp (Matthew Howkins) 2012-04-12 16:21:14 +01:00