1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-12 19:22:41 +00:00
Commit graph

2595 commits

Author SHA1 Message Date
hyousatsu
615d9a3907 dtsession: fix a crash. 2023-08-16 23:18:47 -04:00
hyousatsu
b577546819 tt: make the ttserver process events properly. 2023-06-12 09:48:42 +00:00
hyousatsu
549b759c66 dtstyle: make the style manager recognize wheel mouse correctly. 2023-06-11 07:33:37 +00:00
Jon Trulson
ece21debbb .gitignore: add new locations of dtsession/dtlogin PAM files 2023-04-01 14:48:13 -06:00
hyousatsu
b979a073df dtwm: fix a segfault. 2023-03-28 02:16:17 +00:00
hyousatsu
760d36bfe9 dtlogin: use sessreg to manage utmp/wtmp. 2023-03-27 08:48:27 +00:00
hyousatsu
28277ce88e dtsession: change the maximum size of cover dialog to fullscreen. 2023-02-26 11:59:29 +00:00
hyousatsu
2351a19d7e dtwm: support _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. 2023-02-26 11:59:29 +00:00
hyousatsu
e22fd8d84f dtwm: optimize EWMH processing. 2023-02-26 11:59:21 +00:00
Jon Trulson
1f101d22f0 lib/DtHelp: strmove(): return memmove() result 2023-02-18 15:50:28 -07:00
Jon Trulson
61b58271f9 dticon, dtpad, dtterm: fix session save issues (sprintf bogosity)
Diff supplied by: Giacomo Comes <comes@naic.edu>
2023-02-18 15:40:08 -07:00
Jon Trulson
b909f1a9e8 dtksh: enable SHOPT_ECHOPRINT 2023-02-18 15:33:09 -07:00
Jon Trulson
61dbd624b2 dtfile/dterror.ds: fix script defines typo 2023-02-18 15:25:53 -07:00
Jon Trulson
d45a233e50 pgadmin.dt: set icon from pgadmin to pgadmin3 2023-02-18 15:16:14 -07:00
Jon Trulson
e76cd50d3c Add DesktopNames=CDE to cde.desktop
Suggestion from Giacomo Comes <comes@naic.edu>:

    In this way, after a login, the desktop manager will set the
    environment variables: XDG_CURRENT_DESKTOP and XDG_SESSION_DESKTOP
2023-02-18 15:13:11 -07:00
Cy Schubert
8a24d70d5e Fix build under LLVM15
Fix many -Wint-conversion errors such as the example below, including
an aso atomics error.

connect.c:87:12: error: incompatible pointer to integer conversion initializing 'LONG' (aka 'int') with an expression of type 'void *' [-Wint-conversion]
   DB_ADDR mdba = NULL;   /* db address of current member record */
           ^      ~~~~
2023-02-18 14:47:38 -07:00
Jon Trulson
65e8cf9019 Patch from Giacomo Comes: rename ksh manpage to ksh-cde
The man page dtksh.1 only refers to the dt extensions.  For options,
operands, input files, etc, such man page points to the (k)sh.1 man
page. Since the version of ksh installed with the OS is different from
the one used to build dtksh, the correct documantation of dtksh can be
found only in cde's ksh man page. To avoid any conflict or confusion,
my patch renames cde's ksh.1 as ksh-cde.1
2023-02-18 13:56:51 -07:00
Jon Trulson
02b4302a73 Apply various patches from Giacomo Comes <comes@naic.edu>
This makes certain changes if you are bold enough to use a different
installation prefix than /usr/dt:

- fix MANDIR output from dtsearchpath
- missing dtopn_* links
- /usr/dt/bin is always needed
- fix DTKORNSHELL output for dtlp
2023-02-04 13:03:49 -07:00
Peter Howkins
8dff0e37b7 (Pascal Stumpf) dtlogin: On OpenBSD start X as root (it drops privileges later) 2023-01-22 23:31:42 +00:00
Peter Howkins
3e50d92fbf (Pascal Stumpf) CDE doesn't provide the ksh binary, don't install the manpage for it 2023-01-22 23:27:24 +00:00
Peter Howkins
85022e0218 (Pascal Stumpf) Makefile.am change several places where ${prefix} should be $(CDE_INSTALLATION_TOP) 2023-01-22 23:23:53 +00:00
hyousatsu
e201ef0a7b dtwm: add a new feature -- window rename. 2023-01-22 13:59:40 -07:00
hyousatsu
8ed81a67a7 localized: fix the character encoding errors in zh_TW.UTF-8. 2023-01-22 13:59:40 -07:00
hyousatsu
0011ed2f70 dtwm: optimize EWMH processing. 2023-01-22 13:59:40 -07:00
hyousatsu
a90666402c dtwm: add support for _NET_WM_VISIBLE_NAME and
_NET_WM_VISIBLE_ICON_NAME.
2023-01-22 13:59:40 -07:00
hyousatsu
69d47966ad dtwm: fix compiler warnings. 2023-01-22 13:59:39 -07:00
hyousatsu
bba694f5f2 dtwm: fix a title bar resizing issue. 2023-01-22 13:59:39 -07:00
hyousatsu
d500c61527 DtTerm: fix a segfault by allocating a string dynamically. 2023-01-12 15:07:20 +00:00
Jon Trulson
503d09172b Prepare 2.5.1 release 2022-10-01 11:18:27 -06:00
Liang Chang
1d451e0e2e dtsession: help xterm load the appropriate font. 2022-08-28 17:51:24 +00:00
Jon Trulson
3300d665a0 Upgrade ksh93 to 1.0.3
This commit upgrades ksh93 to the latest version.  Some minor changes
were required in the dtkcmds.c to make this work.

Most of the changes were in Makefile.am - primarily ensuring that
SHOPTS_* defines matched between dtksh and ksh93 builds, and that
ksh93 was actually told about them :)

The SHOPTS_* defines need to be assigned as the integer 1 as well, or
various preprocessor checks in ksh93 would fail.

Also:

- got rid of SUIDEXECDEFINES - this is a holdover from the Imake days
  and was never defined anyway.

- removed some SHOPT_* defines that no longer existed.

- do not pass CFLAGS to the ksh build at all - no need to complicate
  things.
2022-08-27 18:04:53 -06:00
Jon Trulson
3a68f5db40 Merge commit '97ef0077f06cef6f6bb93b0dae22441078647486' as 'cde/programs/dtksh/ksh93' 2022-08-27 13:53:17 -06:00
Jon Trulson
97ef0077f0 Squashed 'cde/programs/dtksh/ksh93/' content from commit b16c91f01
git-subtree-dir: cde/programs/dtksh/ksh93
git-subtree-split: b16c91f012
2022-08-27 13:53:17 -06:00
Jon Trulson
4bea26e4b7 Remove ksh 1.0.0beta 2022-08-27 13:52:40 -06:00
Liang Chang
3449ea6767 dtsession: help applications enable "international". 2022-08-13 13:55:48 -06:00
Liang Chang
2d186d4cdd doc: set locale explicitly for building doc. 2022-08-13 13:55:48 -06:00
Liang Chang
f63a747814 dtdocbook: set locale explicitly. 2022-08-13 13:55:48 -06:00
Jon Trulson
dcee51c158 #130: Xserver.src: fix sun X server path 2022-08-07 15:15:33 -06:00
Jon Trulson
e03eabfd59 #127: dtcm: solaris - use readdir instead of readdir_r 2022-08-07 15:11:21 -06:00
Jon Trulson
f0494103c3 Delete all unused/obsolete .elist files
These (export lists) aren't needed on modern compilers and haven't
been for quite awhile (like 2+ decades).
2022-08-06 17:59:05 -06:00
Jon Trulson
2d0c4d6d39 Kill off OSMAJORVERSION and OSMINORVERSION defines/cpp flags
This has meant very little for a long time as configure.ac just
hardcoded these values depending on the current OS versions at the
time.

The only place where this is really 'needed' is XlationSvc.c in DtSvc
so that differences between locale specifications on various versions
of an OS can be accounted for. So for now, we just define those when
building DtSvc.

We could probably safely remove them as well with an update to the
Xlate locale DB to remove ancient cruft we don't care about anymore.

For various other modules, like dtlogin, dtsession, etc we just use
the code that was already being used due to the hardcoded values we've
had for the last 10-ish years.
2022-08-06 17:57:44 -06:00
Jon Trulson
6fddca178f dtlogin: remove HP BLS B1 simple authentication support (BLS) 2022-08-06 17:57:44 -06:00
Jon Trulson
37367d5e12 libtt: remove OPT_LOCAL_MOUNT_TYPE, OS_VERSION - never used anywhere
OS_VERSION was used with a '#if defined(sun)', but since it was never
set anywhere it just omitted that block.  If the block turns up to be
broken on sun systems, then someone will fix it properly.
2022-08-06 17:57:44 -06:00
Jon Trulson
a3e491d648 doc: re-enable building the dtinfo guides on netbsd
As long as you have enough space in /tmp (10MB is the default! change
this!) these will build fine.
2022-08-06 13:09:01 -06:00
Jon Trulson
2d355712ea C locales: recursively delete C locale directories on make install
In previous versions of CDE (<2.5.0), these were directories with
en_US symlinked to them.  Attempting to do a 'make install' with 2.5.0
would yield errors since only a non-recursive 'rm' was being done.

On 2.5.0+, these are symlinks to the en_US versions now.
2022-08-06 12:30:56 -06:00
Chase
45cee195bd Generify source code
Previously we would fail in some parts of the code if we did not have a
premade configuration, now we use any code that was marked as Linux, BSD and
Solaris as our basis in order to support building unknown Unix systems.
2022-08-06 11:31:51 -06:00
Chase
06863e826e lib/DtTerm/TermPrim: clean up defines 2022-08-06 11:31:50 -06:00
Chase
b38c2b02a8 Remove detected -lcrypt flag 2022-08-06 11:31:50 -06:00
Jon Trulson
47cc5d4a72 configure.ac: remove extra -lm check, move dl check to after libm check
In addition, do not fail the configure if libdl[d] is not found.
Building may still fail in that case, but then it may not :)
2022-07-31 20:00:09 -06:00
Chase
60e60b9836 configure: detect libm 2022-07-31 18:33:49 -06:00