Commit Graph

1590 Commits

Author SHA1 Message Date
Liang Chang 6fdcc6b8b5 dtinfo: update help callback name to XmNhelpCallback. 2022-03-03 13:44:27 +00:00
Liang Chang a84595bf03 dtinfo: ensure the print setup dialog initializing properly. 2022-03-03 13:44:27 +00:00
Liang Chang 342386bfab dtinfo: prevent allocating redundant DtPrintSetupData. 2022-03-03 13:44:27 +00:00
Liang Chang bad30e1b1a dtinfo: fix a highlighting issue. 2022-03-03 13:44:26 +00:00
Liang Chang b796f9fce4 dtinfo: fix a crash. 2022-03-03 13:44:25 +00:00
Liang Chang 6cb67ad217 dtdocbook: update the token of new line. 2022-03-03 13:44:24 +00:00
Liang Chang fbc297e77a dtinfo: improve font recognition. 2022-03-03 13:44:24 +00:00
Jon Trulson 383b5e4b59 dtstyle: fix bugs preventing SM save from working properly
All of the dtstyle session save routines used sprintf/snprintf whereby
the destination buffer was also a source buffer, like so:

snprintf(bufr, sizeof(style.tmpBigStr), "%s*Fonts.x: %d\n", bufr, x);
         ^^^^                            ^^                 ^^^^

That results in undefined behavior, which mainly meant missing or
currupted XRM resources being saved in the session file for dtstyle.
2022-02-26 15:51:09 -07:00
Liang Chang a52f988e47 dtstyle: fix window functions. 2022-02-26 02:10:00 +00:00
Jon Trulson b8e98f9ff8 Remove include of non-existant fonts.am file 2022-02-21 22:05:44 +08:00
Liang Chang 5b1a6658f1 dtlogin: set fontpath to support i18n. 2022-02-21 21:22:08 +08:00
Liang Chang 0188f99ea3 fontaliases: make the font aliases to support i18n. 2022-02-21 21:22:08 +08:00
Liang Chang 9af0993de5 fontaliases: add font aliases. 2022-02-21 21:22:07 +08:00
Liang Chang 658e42d317 fontaliases: revise fonts.alias for UTF-8 to display
multi-language correctly.
2022-02-21 21:22:07 +08:00
Jon Trulson 49c73d57ec dtfile: make sure dterror.ds is generated and installed 2022-02-21 14:03:12 -07:00
Jon Trulson 7a0c30b547 docbook/doc_utils: make sure XTOOLLIB follows DTCLIENTLIBS to fix link error 2022-02-12 14:41:29 -07:00
Liang Chang 5fb7f4da67 dtlogin: use POSIX.1 non-local jumps. 2022-02-07 09:48:23 +08:00
Liang Chang 36ff969285 dtdocbook: set language for infolib properly. 2022-02-07 09:48:23 +08:00
Liang Chang 2213dfb045 dtdocbook: update macros. 2022-02-07 09:48:23 +08:00
Liang Chang 79b8d6ecb4 localized: build dtprintinfo.cat. 2022-02-07 09:48:22 +08:00
Liang Chang 1eccd2e042 dtlogin: make the language menu works. 2022-02-07 09:48:13 +08:00
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