Commit Graph
100 Commits
Author SHA1 Message Date
Liang Chang 4104341be1 dtinfogen: preserve NBSP. 2021-12-06 06:49:22 +08:00
Liang Chang 8a01ce9f87 DtSearch: improve support for Japanese. 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 3f950009bc DtSearch: Migrate to UTF-8. 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 f3949ff449 DtHelp: Add the multibyte character support to _DtCvStrcspn. 2021-12-06 06:42:33 +08:00
Liang Chang a9ddcffd94 DtHelp: Add the multibyte character support to _DtCvChar. 2021-12-06 06:42:32 +08:00
Liang Chang a9ceb6db7a DtHelp: Apply graceful degradation for font loading to avoid a segmentation
fault.
2021-12-06 06:42:32 +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 6a26b02606 DtHelp: Fix a multibyte character parsing issue. 2021-12-06 06:34:39 +08:00
Liang Chang 5cdaa6ec31 doc: Added Japanese UTF-8 documents. 2021-12-06 06:34:39 +08:00
Liang Chang 09d85d387d doc/ja_JP.dt-eucJP: Adjust some characters to conform to EUC-JP. 2021-12-06 06:34:38 +08:00
Liang Chang df7bc69a3f dtdocbook: Migrate instant to UTF-8. 2021-12-06 06:34:38 +08:00
Liang Chang b816b85575 DtTerm: enable post-process output. 2021-12-03 22:10:57 +09: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
Liang Chang a976460e59 fontaliases: revise fonts.alias for UTF-8 to display
multi-language correctly.
2021-11-05 13:45:18 -06:00
Liang Chang fc486e47a7 Merge branch 'tmp' into dtwm 2021-11-05 14:58:55 +08:00
Liang Chang c38a5a8b71 dtwm: Respond to the following EWMH:
_NET_WM_STATE_MAXIMIZED_VERT
      _NET_WM_STATE_MAXIMIZED_HORZ

A window is maximized if both _NET_WM_STATE_MAXIMIZED_VERT and
_NET_WM_STATE_MAXIMIZED_HORZ are set.
2021-11-05 14:45:42 +08:00
Liang Chang 08ebba5225 dtwm: Respond to the following EWMH:
_NET_WM_NAME
      _NET_WM_ICON_NAME
2021-11-05 14:21:34 +08:00
Liang Chang c6e8d60548 dtwm: Add processing functions for _NET_WM_NAME and _NET_WM_ICON_NAME. 2021-11-05 14:21:34 +08:00
Liang Chang 9a8debd7d1 dtwm: Add definitions for _NET_WM_NAME and _NET_WM_ICON_NAME. 2021-11-05 14:21:34 +08:00
Liang Chang 7734a01e41 dtwm: Create stretcher windows when regenerate a frame for a frameless
window to make the resize cursors show again.
2021-11-05 14:21:33 +08:00
Liang Chang d90f765c0a dtwm: Create title bar window if clientTitleWin is NULL when regenerate
client frame.
2021-11-05 14:21:33 +08:00
Liang Chang f05bc54ceb dtwm: To avoid a segfault, allocate gadget rectangles when regenerate
window frame. A typical case, create a frameless window then regenerate
it's frame.
2021-11-05 14:21:33 +08:00
Liang Chang 8fa32b3db5 dtwm: Trigger fullscreen in an "edge trigger" manner to avoid wrong
behaviors caused by some unusual operations. E.g., after entered
fullscreen, applications change windows to other states instead of
leaving fullscreen.
2021-11-05 14:21:32 +08:00
Liang Chang 6ad08f9948 configure.ac: add AC_CHECK_LIB for libXpm. 2021-10-18 10:10:20 -06:00
Liang Chang c47e290379 Remove DtXpm. 2021-10-18 10:10:20 -06:00
Liang Chang 6f30664428 dtappbuilder: use libXpm directly. 2021-10-18 10:10:20 -06:00
Liang Chang f05a7b12c8 dtprintinfo: use libXpm directly. 2021-10-18 10:10:20 -06:00
Liang Chang 94cba197d5 dtudcfonted: use libXpm directly. 2021-10-18 10:10:20 -06:00
Liang Chang 0672e9e0cf DtHelp: use libXpm directly. 2021-10-18 10:10:20 -06:00
Liang Chang b2ff2704cf dticon: use libXpm directly. 2021-10-18 10:10:20 -06:00
Liang Chang 6a0990615d dticon: make sure min_x and min_y are within icon to avoid a
segfault.
2021-10-18 10:10:20 -06:00
Liang Chang 3886c7d09c dtwm: Respond to the following EWMH:
_NET_WM_FULLSCREEN_MONITORS
      _NET_WM_STATE_FULLSCREEN
2021-08-07 16:19:25 +08:00
Liang Chang 78c8241738 dtwm: Support multi-monitor fullscreen. 2021-08-07 15:09:28 +08:00
Liang Chang 6a28507dbc dtwm: Regenerate frame when decoration updated. 2021-08-07 14:31:04 +08:00
Liang Chang 1c310b8635 dtwm: Improve response for decoration hint from client.
Add a function: InitClientData.
2021-08-07 14:17:54 +08:00
Liang Chang e648aab6b1 dtwm: Add EWMH related source code. 2021-08-07 13:14:34 +08:00
Liang Chang 50ea1705c7 dtwm: Relocate base window when regenerate its frame. 2021-08-06 08:36:05 +08:00
Liang Chang bcf6e517d3 dtwm: Add a function: GetHeadInfoById. 2021-08-05 17:09:35 +08:00
Liang Chang 4a346ea8f5 linux.cf: Enable PTS driver and libutempter. 2021-06-02 19:56:30 -06:00
Liang Chang 11da82df52 FreeBSD.cf: Enable PTS driver and libutempter. 2021-06-02 19:56:30 -06:00
Liang Chang d60bbdc251 databases: Install dtterm as an unprivileged program when PTS driver and
libutempter are available.
2021-06-02 19:56:30 -06:00
Liang Chang 5854cd8543 dtterm: Add libutempter support for utmp/wtmp updates. 2021-06-02 19:56:30 -06:00
Liang Chang ba1c6bf810 DtTerm: Add libutempter support for utmp/wtmp updates. 2021-06-02 19:56:30 -06:00
Liang Chang 82d4a8bb68 DtTerm: Add pts driver support. 2021-06-02 19:56:30 -06:00
Liang Chang 3909c8dbcc dtinfo: Fix a segmentation fault.
The return value from CanvasRenderer::_dofont is a pointer. It will be passed
to the free function. Ensure that pointer always points to a dynamically
allocated memory to avoid segmentation faults.
2021-06-02 19:56:29 -06:00
Liang Chang bc99bbe5b4 dtlogin: revise the Imakefile for config. 2021-06-02 19:56:29 -06:00
Liang Chang c75169ca3f DtPamSvc: Improve user experience. 2021-06-02 19:56:29 -06:00
Liang Chang e68846d543 dtsession: revise localAuthenticate. 2021-06-02 19:56:29 -06:00
Liang Chang 7d8dea61b2 dtlogin: add utmpx support to UtmpIdOpen. 2021-06-02 19:56:29 -06:00
Liang Chang bf9c9c2299 databases: use "src" files to generate CDE-MIN.udb and CDE-RUN.udb. 2021-06-02 19:56:29 -06:00
Liang Chang b46b77e0aa dtsession: add rules for config dir into Imakefile. 2021-06-02 19:56:29 -06:00
Liang Chang 5d85af571a DtPamSvc: use utmpx. 2021-06-02 19:56:29 -06:00
Liang Chang 254a0a1abd dtlogin: use utmpx when PAM is enabled. 2021-06-02 19:56:29 -06:00
Liang Chang a4d81ecbaa Enable PAM support for dtlogin and dtsession. 2021-06-02 19:56:29 -06:00
Liang Chang 678c85021a dtsession: rename PAM config file. 2021-06-02 19:56:29 -06:00
Liang Chang 62bad7d8d2 dtlogin: rename PAM config file. 2021-06-02 19:56:29 -06:00
Liang Chang 7cd6b8b714 DtPamSvc: update Imakefile. 2021-06-02 19:56:29 -06:00
Liang Chang b5416991b1 Add PAM support to dtsession. 2021-06-02 19:56:29 -06:00
Liang Chang 876d271305 dtlogin: get rid of some warnings. 2021-06-02 19:56:29 -06:00
Liang Chang becdbc9816 Add PAM support to dtlogin. 2021-06-02 19:56:29 -06:00
Liang Chang c10684c63c Add lib DtPamSvc. 2021-06-02 19:56:29 -06:00
Liang Chang f20db682bb dtterm: Change the default log host to localhost.
To check the log function, add -DLOG_USAGE to the Imakefile then build the
dtterm. There are a logger in the util directory, run it to receive log
messages.
2021-06-02 19:56:29 -06:00
Liang Chang 997d11a702 dtappbuilder: Fix unsigned integer rollover. 2021-06-02 19:56:29 -06:00
Liang Chang 44cba6f3d1 dtappbuilder: Fix a crash when resize a text pane. The crash is occurred when
drag on the scrollbar to resize.
2021-06-02 19:56:29 -06:00
Liang Chang 7f7c2ca045 dtappbuilder: set the minimum limit for rows and columns to avoid rollover. 2021-06-02 19:56:28 -06:00
Liang Chang 0b27b11c6b dtappbuilder: set the default size (in pixels) for terminal pane. 2021-06-02 19:56:28 -06:00
Liang Chang caf8c25c15 dtappbuilder: ensure the resize box always inside the main window to avoid the
rendering glitch.
2021-06-02 19:56:28 -06:00
Liang Chang 191f1476bd dtappbuilder: set limits on the resize rectangle to avoid rollover. 2021-06-02 19:56:28 -06:00
Liang Chang 7cd4221824 ttsnoop: check the return value from tt_message_op to avoid a segmentation
fault.
2021-06-02 19:56:28 -06:00
Liang Chang 75a4e93d38 ttsnoop: adjust data types to ensure the result of pointer comparison is
correct.
2021-06-02 19:56:28 -06:00
Liang Chang a25a32157f ttsnoop: adjust the text field on ttChooser. 2021-06-02 19:56:28 -06:00
Liang Chang 056afeb35a dtappbuilder: fix the rendering glitch of the list widget which contains a
label.
2021-06-02 19:56:28 -06:00
Liang Chang 6dcbe6275d dtappbuilder: fix issues of property settings for text field. 2021-06-02 19:56:28 -06:00
Liang Chang f203067211 dtappbuilder: fix issues of property settings for term pane. 2021-06-02 19:56:28 -06:00
Liang Chang 8d6262ca3e dtappbuilder: fix issues of property settings for spin box. 2021-06-02 19:56:28 -06:00
Liang Chang 808ce58e3d dtappbuilder: fix issues of property settings for separator. 2021-06-02 19:56:28 -06:00
Liang Chang 8c4375d435 dtappbuilder: fix issues of property settings for scale. 2021-06-02 19:56:28 -06:00
Liang Chang ade018eb79 dtappbuilder: fix issues of property settings for menubar. 2021-06-02 19:56:28 -06:00
Liang Chang c8116cae70 dtappbuilder: fix issues of property settings for menu. 2021-06-02 19:56:28 -06:00
Liang Chang 16b11c143c dtappbuilder: fix issues of property settings for main window. 2021-06-02 19:56:28 -06:00
Liang Chang f266789703 dtappbuilder: fix issues of property settings for label. 2021-06-02 19:56:28 -06:00
Liang Chang c99824a47a dtappbuilder: fix issues of property settings for group. 2021-06-02 19:56:28 -06:00
Liang Chang 18d195cdf5 dtappbuilder: fix issues of property settings for file selection dialog. 2021-06-02 19:56:28 -06:00
Liang Chang 6b93ec7733 dtappbuilder: fix issues of property settings for draw area pane. 2021-06-02 19:56:28 -06:00
Liang Chang 49136ea0b6 dtappbuilder: fix issues of property settings for custom dialog. 2021-06-02 19:56:28 -06:00
Liang Chang a179685eab dtappbuilder: fix issues of property settings for control pane. 2021-06-02 19:56:28 -06:00
Liang Chang 7cd96a802d dtappbuilder: fix issues of property settings for combo box. 2021-06-02 19:56:28 -06:00