Commit Graph

1334 Commits

Author SHA1 Message Date
Liang Chang 5854cd8543 dtterm: Add libutempter support for utmp/wtmp updates. 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 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 b46b77e0aa dtsession: add rules for config dir into Imakefile. 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 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 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 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
Edmond Orignac 53c35daea1 misc.c: in cm_mbchar check string!=NULL before dereferencing it 2021-06-02 19:56:28 -06:00
Jon Trulson 297918bb56 dtprintinfo: try to mitigate some stupid in ParseJob.C for sun
Marco Ivaldi pointed me to some unsafe code in ParseJob.c.  I do not
have a sun machine (well, not currently operational anyway), so the
code is not tested.  But seriously, this is some horrible code.  This
local parser for sun needs to be rewritten!
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
Liang Chang 06596f9cf8 dtappbuilder: fix issues of property settings for choice. 2021-06-02 19:56:28 -06:00
Liang Chang c5ca7bca30 dtappbuilder: fix issues of property settings for button. 2021-06-02 19:56:28 -06:00
Liang Chang 606225bef2 dtappbuilder: fix issues of property settings for list. 2021-06-02 19:56:28 -06:00
Liang Chang d42a89232a dtappbuilder: adjust data types to avoid type casting errors. 2021-06-02 19:56:28 -06:00
Liang Chang a64fc5192c dtappbuilder: fix issues of property settings for text pane. 2021-06-02 19:56:27 -06:00
Liang Chang c26c2e75ad dtappbuilder: adjust data types to avoid type casting errors. 2021-06-02 19:56:27 -06:00
Liang Chang d6ad977ba7 dtappbuilder: ensure mouse operations are not interfering by key masks (e.g.,
Caps Lock, Num Lock, etc.) when editing (resize, double-click, etc.) widgets.
2021-06-02 19:56:27 -06:00
Liang Chang cdf48013e0 dtappbuilder: ensure the subtypes of widgets are properly initialized. 2021-06-02 19:56:27 -06:00
Liang Chang ff952fcfbc dtcm: Avoid to leave an unclosable window when there is no appointment in
"Appointment List...".
2021-06-02 19:56:27 -06:00
Liang Chang fc118ea6f8 dtfile: fix a segmentation fault that occurred when drag and drop file with the
same name.
2021-06-02 19:56:27 -06:00