Commit Graph

1418 Commits

Author SHA1 Message Date
Jon Trulson bbabcfd5f0 dtsession: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Jon Trulson 47348e59de dtlogin: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Jon Trulson abb408b24f dtwm: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Peter Howkins 62b63331ed dtstyle: Alphabetically sort the list of screen savers. 2021-11-15 21:13:52 +00:00
Jon Trulson 3e7a921af2 dthelp/parser: disable parallel building for eltdef and util 2021-11-12 17:30:44 -07:00
Jon Trulson 6e4b443309 dtpad: fix implicit-function-declaration warnings 2021-11-12 16:37:02 -07:00
Jon Trulson 36ff45cc17 Revert "fontaliases: revise fonts.alias for UTF-8 to display"
This reverts commit a976460e59.

This just does not look as good, and the fonts appear too tiny.  It
needs more work, andshould support all OS's since they pretty much (at
least with the linuxen and bsd's) all use the same fonts and X servers.
2021-11-11 16:48:52 -07:00
Jon Trulson bfd694e8c7 doc: fix dtdocbook so it can handle parallel builds
Enable parallel building of the help files.
2021-11-11 10:03:50 -07:00
Jon Trulson 1bb5a9f030 doc: remove some no longer needed Imakefiles 2021-11-10 18:45:50 -07:00
Jon Trulson d340e07794 Setup some missing files needed for help to build correctly 2021-11-10 11:04:10 -07:00
Jon Trulson b3309f59d3 doc: get the C SDL help files building 2021-11-09 19:46:17 -07:00
Jon Trulson f4bd53c82e Re-add doc2sdl/SGML directory so dtdocbook can work 2021-11-08 20:28:12 -07: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
Jon Trulson c12e6fea5b dtinfo: remove endian checks from Makefile, handled by autotools now 2021-10-23 22:08:48 -06:00
Jon Trulson 9369d1d5b9 dtcm: timeops.c/getdate.y: fix fbsd build errors
Commit e0508b31 introduced build errors on FreeBSD.  This corrects
them.

HAVE_DECL_TIMEZONE should only be used to determine whether or not the
'timezone' variable is defined in a header file or whether it must be
specifically 'extern'ed.

On fbsd, a definition exists, but it is a function in libc and not an
integer timezone value that can be mutliplied or divided.
2021-10-23 21:59:33 -06:00
Jon Trulson 5754d65248 ttsnoop/DtTt.C: fix -Wreturn-type warnings 2021-10-23 16:44:48 -06:00
Jon Trulson 237a3a4d94 DtSetPref.C: fix some pointer<->int conversions 2021-10-23 15:47:21 -06:00
Jon Trulson d7223930d4 dtkcmds.c: fix some pointer<->int conversions 2021-10-23 15:47:09 -06:00
Jon Trulson efa6b6eadc dtksh: move fsym() into widget.c where it belongs
This function is only used in one place, so move it there and delete
findsym.c
2021-10-23 15:05:56 -06:00
Jon Trulson 03c71dd23e xdmauth.c: fix some implicit-int warnings 2021-10-23 14:24:23 -06:00
Jon Trulson d880853113 tptregexp/regsub.c: use string.h 2021-10-23 14:13:33 -06:00
OBATA Akio e0508b3130 dtcm: change to detect TZ offset way with configure 2021-10-23 18:29:04 +09:00
OBATA Akio 87bdee3d19 dtcm: change to use `_XLocaltime` instead of `localtime` consitently 2021-10-23 16:54:35 +09:00
OBATA Akio fb91c9416d dtcm: resolve mismatch between `tm.tm_gmtoff` and global `timezone`
`timezone` and `tm.tm_gmtoff` represent reversed sign value each other.
Change `tm.tm_gmtoff` usage to be matched with `timezone`.
2021-10-23 16:54:35 +09:00
OBATA Akio 224f04cb29 dtcm: fix `localtime()` usage
It is expexted the first argument is `*time_t`, not `time_t`.
2021-10-23 16:54:35 +09: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 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
OBATA Akio 16eb6092b0 dtcm: prevent to use `NULL` as a Tick type
Tick (aka time_t) shall be an integer type, not a pointer.
Change to use `0` instead of `NULL`.
2021-10-16 17:07:37 +09:00
OBATA Akio 2c9db8fe37 dtcm: include <iso8601.h> of libcsa to resolve type mismatch 2021-10-12 17:24:26 +09:00
OBATA Akio bbf4d451d9 Fix mismatch functionally for temporary file name 2021-10-08 17:30:48 +09:00
OBATA Akio 2390217a75 Fix to decide data and return type explicity 2021-10-08 17:25:17 +09:00
OBATA Akio f7327e92d6 Change to use the standard signal handler signature unconditionally
Current condition is incomplete and it is already used on other codes.
2021-10-08 14:41:28 +09:00
OBATA Akio 16fe76ed65 Fix to include system header files for using functions 2021-10-08 14:40:56 +09:00
OBATA Akio 20c1768a19 Change to detect iconv implementation with autoconf
Use iconv.m4 (and required macros) form gettext-0.21.
2021-09-21 14:04:40 +09:00
Jon Trulson be6bc0aa54 Remove some unused imake *.tmpl files
We still keep some of them for doc/ and dtinfo until those are
building properly.
2021-09-19 14:42:11 -06:00
OBATA Akio 692771fb07 Get rid of support of ancient signal handler return type int
Such environments are missing void type, older K&R C, and
such supports already had been removed in various places.
Furthermore, current hardcoded 'SIGNALRETURNSINT' is wrong.
2021-09-19 18:08:41 +09:00
Jon Trulson b876ab3932 dtinfo: use autotools endian detection instead of cpu-specific checks
This affects the definitions of OLIAS_BIG_ENDIAN and
OLIAS_LITTLE_ENDIAN when building mmdb.
2021-08-07 18:25:36 -06:00
Jon Trulson b0af0a49aa dtterm: fix problem introduced with 0e9b1140ea, preventing install of dtterm
The tic command needs to be under the 'install-exec-hook:' target, not
the 'install:' target.  Specifying the 'install:' target overrides
everything else, causing the dtterm binary to not be installed on a
'make install'
2021-08-07 17:31:27 -06:00