Commit Graph

558 Commits

Author SHA1 Message Date
Peter Howkins fa4fe1fb47 libdtterm: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Peter Howkins 108c2fab2c libdtprint: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Peter Howkins 37e03a1820 libdtwidget: resolve uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins 182aa9fe5a libdtsearch: Resolve uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins 320576e069 libdthelp: Resolve uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins b807066429 libdtsvc: Resolve Uninitialized warnings 2021-12-24 10:50:27 -07:00
Peter Howkins 35e94e3878 libtt: Resolve uninitialized warningss 2021-12-24 10:50:27 -07:00
Jon Trulson 31774af2f2 library versioning: try to keep the versions at 2.1.0 for all platforms 2021-12-23 13:06:44 -07:00
Jon Trulson 3a0e92adb6 Rename autotools_config.h to cde_config.h to better reflect it's ownership. 2021-12-22 13:21:43 -07:00
Jon Trulson 1b67815df2 configure, libtt: add check for rpc_inline_t and define if not supported 2021-12-22 13:14:55 -07:00
Jon Trulson 931bcaa494 dtsr, DtSearch: finish removing need for BYTE_SWAP define 2021-12-21 16:42:29 -07:00
Jon Trulson 3a0c2ae879 Move DtXinerama.h and PamSvc.h into include/Dt/ 2021-12-21 16:42:29 -07:00
Jon Trulson e10d06f210 configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
2021-12-21 16:42:22 -07:00
Jon Trulson 17602b4d21 Library (.so) versioning: preserve previous library version
Ticket #120

Change libtool's shared library version info to 3:0:1 to preserve the
previous library version of 2.1.0.

See https://autotools.io/libtool/version.html for the details on how
libtool handles this versioning info.

See https://verbump.de/ for a handy 'version calculator' using
libtools rules.
2021-12-16 12:40:15 -07:00
Jon Trulson e7d657c376 libtt: remove hardcoded -lstdc++ used to build TT library
Hardcoding a -lstdc++ is wrong, since not all OSs are likely to handle
C++ in the same way.

The issue is that libtt needs to be built as a C++ library, so we use
a fake dummy.cxx file to convince libtool to do so instead, rather
than trying to force the issue by linking a (possibly missing)
libstdc++.
2021-12-13 16:44:01 -07:00
Jon Trulson a5a2d937cb Automate versioning for CDE, set current version to 2.4.0b
Previously in the imake world, changing the CDE version required hand
editing a handful of files.

This commit makes these files into ".in" files.  configure.ac now
holds CDE version information -- both in the AC_INIT() call and in the
CDE_VERSION_* variables a few lines down.

Changing the CDE version now involves editing those two locations in
configure.ac only.

Thereafter, a configure run will replace version information in the
following files with the current CDE version:

copyright
doc/common/help/HELPEnt.sgm
include/Dt/Dt.h
lib/tt/bin/ttauth/ttauth.man

This also causes a catch-22 problem with ToolTalk.  So the
tooltalk.inc file is gone and the relevant TT Makefiles have been
modified to set and define the TT version in those Makefiles that
actually use it.
2021-12-13 16:43:42 -07:00
Jon Trulson 4a0f9701ab DtHelp: remove unused forced bit order depending on OS type 2021-12-12 15:23:28 -07:00
Jon Trulson 75ea7be520 DtSearch/raima: use autodetected byte endianness rather than forcing based on OS 2021-12-12 12:29:48 -07:00
Jon Trulson c479fe7b9e Fix some logical-not-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson 24a2f05138 Fix some shift-op-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson dda11f0e38 Fix a bunch of -Wempty-body warnings reported by clang
Many of these were real bugs, like:

if (cond);
   do_something

etc...

Others were just cosmetic - like placing the ';' on a separate line to
make the intention clear.
2021-12-11 13:10:24 -07:00
Jon Trulson b900f8a36d DtPamSvc: move PamSvc.h to include/Dt/ 2021-12-10 14:08:02 -07:00
Liang Chang b816b85575 DtTerm: enable post-process output. 2021-12-03 22:10:57 +09:00
Jon Trulson 23b3b76c1d lib/csa: fix implicit-function-declaration warnings 2021-11-12 16:21:34 -07:00
Jon Trulson 5223d0408e lib/DtTerm: fix implicit-function-declaration warnings 2021-11-12 16:14:18 -07:00
Jon Trulson fd3be337fa lib/DtWidgets: fix implicit-function-declaration warnings 2021-11-12 15:05:56 -07:00
Jon Trulson 6d50de9448 DialogBox.c: fix ptr<->int conversion 2021-10-23 16:40:22 -06:00
Jon Trulson f61316c4f4 tt_ldpath: fix broken logic in find_lib 2021-10-23 14:50:40 -06:00
Liang Chang c47e290379 Remove DtXpm. 2021-10-18 10:10:20 -06:00
Liang Chang 0672e9e0cf DtHelp: use libXpm directly. 2021-10-18 10:10:20 -06:00
OBATA Akio 4316bb797d libcsa: fix to use proper xdr function for time_t 2021-10-12 17:24:26 +09:00
OBATA Akio 008bcba766 libcsa: always use time_t for tick 2021-10-12 17:24:26 +09:00
OBATA Akio 194ae3639f libcsa: remove duplicated function prototype
Just `_DtCm_clnt_call` is used anycase.
2021-10-12 17:24:13 +09:00
OBATA Akio 16fe76ed65 Fix to include system header files for using functions 2021-10-08 14:40:56 +09:00
OBATA Akio ed90eb7f45 Change to use POSIX confirmed `select` argments unconditionally
Current condition is unsufficient, and It is already used unconditionally
in other sources.
2021-09-30 15:53:59 +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
b'Jon Trulson d43e6bd6c2 Merge /u/obache/cdesktopenv/ branch fix/missing-version-bump into master
https://sourceforge.net/p/cdesktopenv/code/merge-requests/31/
2021-09-19 18:57:22 +00: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
OBATA Akio 483a4c314f lib/tt: fix missing version bump 2021-09-14 18:40:29 +09:00
Jon Trulson 3e81d4c4de csa: specify correct time_t type in _DtCm_print_tick() prototype 2021-08-07 18:32:33 -06:00
Jon Trulson cc60fb8241 configure: remove freetype checks, we do not need freetype anymore 2021-07-08 16:35:51 -06:00
Jon Trulson 2730367844 utempter: complete the implementation
Liang Chang added utempter support to the dtterm widget in
pre-autoconf CDE.  While the code itself was merged, it was still not
"turned on" for autoconf builds.

This commit completes the implementation allowing dtterm on Linux and
the BSDs to be installed without having to be setuid root -- as long
as the libutempter headers and libraries are installed.
2021-07-04 16:45:57 -06:00
Adam Sampson 67ef980644 DtSvc: fix error return from DtHelpReturnSelectedWidgetId
return(NULL) is correct for the other functions here but not for this
one, since it's meant to return a DtHELP_ error code. The man page also
says it should also set *widget to NULL on error.
2021-07-04 13:17:30 -06:00
Adam Sampson d9769e4774 DtSvc: add missing #include (for malloc) 2021-07-04 13:15:33 -06:00
Jon Trulson ac8bd41373 Revert "Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym"
This reverts commit 15a2032626.

This is wrong - it is missing the proper include file, and the
new function takes 4 arguments not 3.
2021-07-04 13:00:51 -06:00
Jon Trulson 369b3e89d9 Begin removal of some Imakefiles, and other no longer useful cruft
This commit will not completely remove all Imake files, specifically
those for sections that have not been completed yet.

Also, the databases dir has been moved to databases-delete-later until
we have everything building and installed properly.
2021-07-03 18:23:40 -06:00
Jon Trulson 727baab329 Bump version to 2.4.0a for upcoming merge 2021-07-03 17:24:22 -06:00
Jon Trulson 5a03b6a5e8 Merge branch 'master' into autotools-conversion 2021-07-03 16:56:54 -06:00
Jon Trulson 8e4de15495 Bump version to 2.4.0 for release 2021-07-03 13:35:15 -06:00