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

1609 commits

Author SHA1 Message Date
Jon Trulson
8ba629fcd1 Merge branch 'master' into utf8-conversion 2019-01-15 12:02:49 -07:00
Chase
4d7f9df692 Use iconv on linux 2019-01-14 10:48:28 -07:00
Alex Ivanov
b9f352df59 define M4Cmd 2019-01-08 19:48:47 -07:00
tu83
d5faa0360c Fixed segfault for mode switching when compiled with clang
dtcalc compiled with clang segfaulted when switched
to a different mode like Deg to Rad or Financial to
Scientific. Was reproducable at least under FreeBSD/AMD64.
Fixed now.
2019-01-06 18:55:19 +01:00
Jon Trulson
2902373dbb Merge branch 'master' into utf8-conversion 2018-11-08 14:51:46 -07:00
Jon Trulson
76721c2348 dtcalc/calctool.h: Use include stdlib rather than extern declarations 2018-11-08 14:19:25 -07:00
Jon Trulson
965e5c0384 Merge branch 'master' into utf8-conversion-2 2018-11-07 11:24:00 -07:00
Peter Howkins
cb4075e855 libDtHelp: Fix another regression caused by Coverity fix, clicking 'Help Manager' works again. 2018-11-07 17:04:59 +00:00
Peter Howkins
fff0c54538 libDtHelp: Fix a regression with the Help Index pages caused by an overzealous Coverity fix 2018-11-07 01:05:56 +00:00
Jon Trulson
cf89ba1a77 Merge branch 'master' into utf8-conversion-2 2018-11-05 15:52:14 -07:00
Jon Trulson
59dc231872 linux: DtHelp/StringFuncs, enable real iconv() support
For some reason, the #include of iconv.h was removed, and dummy stubs
were put in place on linux systems (only).  This caused iconv() calls
to be completely ignored.

Now we use iconv() just like very other OS we support.
2018-11-05 15:33:16 -07:00
Jon Trulson
54b7550205 utf8 conversion: mostly working, help has issues
Localization seems to work.  The main help viewer dies though.  Other
parts of help seem to work.  Index causes a crash too.

Crash:
*** Error in `/usr/dt/bin/dthelpview': malloc(): memory corruption (fast): 0x00000000021fefb0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f61814917e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x82651)[0x7f618149c651]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f618149e184]
/usr/lib/x86_64-linux-gnu/libxcb.so.1(+0xc2ab)[0x7f617f71d2ab]
/usr/lib/x86_64-linux-gnu/libxcb.so.1(+0x9ed1)[0x7f617f71aed1]
/usr/lib/x86_64-linux-gnu/libxcb.so.1(+0xa31d)[0x7f617f71b31d]
/usr/lib/x86_64-linux-gnu/libxcb.so.1(xcb_writev+0x45)[0x7f617f71b3a5]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XSend+0x19e)[0x7f6181b2a54e]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XReply+0x82)[0x7f6181b2aa42]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XSync+0x4d)[0x7f6181b2652d]
/usr/lib/x86_64-linux-gnu/libXm.so.4(XmUpdateDisplay+0x49)[0x7f61821c1d89]
/usr/dt/lib/libDtHelp.so.2(+0x2cf1d)[0x7f6182ae8f1d]
/usr/dt/lib/libDtHelp.so.2(+0x2d66d)[0x7f6182ae966d]
/usr/dt/lib/libDtHelp.so.2(_DtHelpGlobSrchDisplayDialog+0x2205)[0x7f6182aebca5]
/usr/dt/lib/libDtHelp.so.2(_DtHelpDisplayIndexCB+0x26)[0x7f6182af07e6]
/usr/lib/x86_64-linux-gnu/libXm.so.4(+0xde9d5)[0x7f618216e9d5]
/usr/lib/x86_64-linux-gnu/libXm.so.4(+0xdf0c5)[0x7f618216f0c5]
/usr/lib/x86_64-linux-gnu/libXm.so.4(_XmDispatchGadgetInput+0x113)[0x7f6182140683]
/usr/lib/x86_64-linux-gnu/libXm.so.4(_XmGadgetActivate+0x22)[0x7f61821ef0b2]
/usr/lib/x86_64-linux-gnu/libXt.so.6(+0x48965)[0x7f6181e6f965]
/usr/lib/x86_64-linux-gnu/libXt.so.6(_XtTranslateEvent+0x31a)[0x7f6181e7090a]
/usr/lib/x86_64-linux-gnu/libXt.so.6(XtDispatchEventToWidget+0x4cb)[0x7f6181e4921b]
/usr/lib/x86_64-linux-gnu/libXt.so.6(+0x228dd)[0x7f6181e498dd]
/usr/lib/x86_64-linux-gnu/libXt.so.6(XtDispatchEvent+0xc9)[0x7f6181e499b9]
/usr/lib/x86_64-linux-gnu/libXt.so.6(XtAppProcessEvent+0x1d7)[0x7f6181e555d7]
/usr/lib/x86_64-linux-gnu/libXt.so.6(XtAppMainLoop+0x2d)[0x7f6181e49d9d]
/usr/dt/bin/dthelpview[0x401b77]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f618143a830]
/usr/dt/bin/dthelpview[0x401c89]
2018-11-04 20:21:20 -07:00
Jon Trulson
5839bfdc5f Fix .gitignore for ISO8859-1 docs 2018-11-04 19:31:22 -07:00
Jon Trulson
c876a76f4f utf8 conversion: fix up seperation of locale and doc building
Docs (help and the dtinfo guides) are now always built using the
ISO8859-1 locale.  To support UTF-8, our docbook needs to be updated
to something from this century, ideally this decade.  In addition, a
conversion to XML would also be required as a result.  So, until that
happens, use ISO8859-1 for docs.

However, other locale information, like message catalogs, resource
files, and the like are now converted to UTF-8.

All supported languages are now built by default on linux again.
2018-11-04 19:25:57 -07:00
Jon Trulson
6a5dc63f3b UTF-8 conversion: fixup database Imakefiles, config and gitignore 2018-11-04 18:36:07 -07:00
Jon Trulson
63ad725508 UTF-8 conversion: programs/localized/sv_SE 2018-11-04 18:35:54 -07:00
Jon Trulson
8c73c01cb1 UTF-8 conversion: programs/localized/it_IT 2018-11-04 18:34:49 -07:00
Jon Trulson
592c6bc5d1 UTF-8 conversion: programs/localized/fr_FR 2018-11-04 18:34:43 -07:00
Jon Trulson
6867b04b1b UTF-8 conversion: programs/localized/es_ES 2018-11-04 18:34:34 -07:00
Jon Trulson
c2997ba60c UTF-8 conversion: programs/localized/de_DE 2018-11-04 18:34:23 -07:00
Jon Trulson
0c42562d39 Remove useless logs/ directory 2018-11-04 18:34:06 -07:00
Jon Trulson
d197b1c4bb UTF-8 conversion: convert imports/motif/localized 2018-11-04 18:33:31 -07:00
Jon Trulson
2c1f56d37c Merge branch 'master' into cde-next 2018-11-04 10:56:04 -07:00
Matthew R. Trower
0ffb04938c Repair and simplify installCDE.src:CleanDaemons() 2018-11-04 10:33:13 -07:00
Matthew R. Trower
041788debc Restore original tail functionality in ttsnoop, with POSIX args 2018-11-04 10:28:42 -07:00
Peter Howkins
de69b56458 installCDE: fix outputting of missing files on install, caused by C&P error in shellshock fixes 2018-11-01 22:19:46 +00:00
Matthew R. Trower
a94c997e8f Clean up UseInstalledX11 logic 2018-10-25 12:15:03 -06:00
Matthew R. Trower
012862e8ee Add default TCLLIB, and allow override in host.def
Restores build on Sun, and maybe others.
2018-10-25 11:43:43 -06:00
chase
7d6a4ae645 dbtoman: Improve readability 2018-10-14 18:01:20 -06:00
Jon Trulson
2fb1f12654 dtdocbook/instant: add Tcl_GetErrorLine check for older versions of Tcl 2018-10-07 13:28:04 -06:00
chase
1db1e96b08 Clean up OPENBUGS
This patch fixes some wierd word splicing that occured with the importing of
the sources, which caused the last letter of many bugs to be cut off, with
some of them cutting off more, I made my best judgement on what was supposed
to be there.

This patch also gets rid of old bugs and software that CDE no longer includes.
2018-10-06 17:01:45 -06:00
chase
dd68514e4f Remove hpversion.h from repository
This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.
2018-10-06 17:00:38 -06:00
chase
90a2b2848a remove ultrix support 2018-09-30 17:27:04 -06:00
chase
d8c017caa2 gpftobdf.c: fix long int comiler warnings 2018-09-30 17:26:27 -06:00
chase
286d1895c4 debian: misc cleanup 2018-09-30 17:26:10 -06:00
Jon Trulson
2dadc23e0e Merge branch 'master' into cde-next 2018-09-22 15:50:13 -06:00
Jon Trulson
77a027039c docbook.tcl, instant: finish remaining help generation issues with tcl
In this commit, we convert FreeBSD and OpenBSD to use a system version
of TCL (8.6).

We also get rid of the hairy and buggy "CompareI18NStrings" custom Tcl
function and use the newer Tcl's builtin dictionary sort mechanism for
generating the Indexes and Glossaries, which were silently broken in
previous commits.

It was just not possible to use the same Tcl code in modern versions
of Tcl in addition to the ancient version included with CDE - so, now
we will always depend on the system version.  It's been tested with
8.6 and 8.7 versions of Tcl with great results.
2018-09-22 12:27:27 -06:00
Jon Trulson
1fb82e3327 Remove ancient included tcl code 2018-09-22 12:27:09 -06:00
Jon Trulson
1c40db8eb0 dtdocbook/tcl/tcl.h: Add compatibility defines for old Tcl
dtdocbook/instant has been modified to use a more modern Tcl (8.6),
which means certain functions are not present when we are using the
dtdocbook/tcl (7.5) version of tcl instead of a modern system version.

So, create some defines that should work around this problem.
2018-09-20 16:50:28 -06:00
Jon Trulson
6a72e2cea8 Change version to 2.3.0a (devel) 2018-09-20 16:49:01 -06:00
Jon Trulson
e82991579f use system tcl: clean up Imake files for dtdocbook/instant 2018-09-19 17:49:15 -06:00
Jon Trulson
23c4c0667d instant: encode 8bit chars to keep Tcl happy 2018-09-19 17:40:25 -06:00
Jon Trulson
7712950fb7 docbook/instant: fix a few more issues 2018-09-19 17:40:25 -06:00
Jon Trulson
776e031b60 docbook.tcl: fix up some problems using a modern Tcl
One issue that came up was attempting to read array values indexed by
a key that didn't exist when generating indexes and glossaries.

I am not sure why this hasn't been a problem before, but for now, we
simply won't try to emit array values for non-existant array indexes.
2018-09-19 17:40:25 -06:00
Jon Trulson
68559d4f76 tcl: use the system version, initial work only on linux for now 2018-09-19 17:40:25 -06:00
chase
bf0b602b9a il: Remove deprecated files 2018-08-26 16:58:38 -06:00
Jon Trulson
58af8b5c5e configShlibs.src: Fixup some bugs introduced by previous commits 2018-08-26 16:45:22 -06:00
chase
d002967908 dtprintegrate: fix shellcheck warnings 2018-08-26 15:45:23 -06:00
chase
6f2d38aaa0 dtappintegrate.src and dtopen.src: fix shellcheck warnings 2018-08-26 15:45:08 -06:00
chase
5e96644596 DtsMM.c: Remove null in string 2018-08-26 15:44:47 -06:00