1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

2384 commits

Author SHA1 Message Date
Pascal Stumpf
a4f9413950 Fix dtcm build on OpenBSD-current.
libcompat and header files will be gone in the upcoming 5.5 release, so we
cannot use the ftime(3) interface there.  Fall back to the SVR4 version of the
code, but use the tm_gmtoff field of struct tm to get the timezone.
Unfortunately, that is not portable (because I really really would like to
remove that old and crummy struct timeb from the public API).
2014-02-22 19:09:37 -07:00
Eugene Doudine
23e217b329 Fixes segfault in dtprintinfo when used UTF-8 locale, bug was caused by unchecked return value of XmeRenderTableGetDefaultFont() 2014-02-22 19:07:52 -07:00
Eugene Doudine
4c56765da3 Fix for several segfaults in dtwm that happen with UTF-8 locale and were caused by unckeked XmeRenderTableGetDefaultFont return value 2014-02-22 19:07:52 -07:00
alx
46a6a58fbd wwl: fixed dtinfo segfault due to missing copy constructor in WArgList 2014-02-22 19:05:47 -07:00
alx
0e707fe71f dtscreen: cosmic flame fractals missing drawing code 2014-02-22 19:05:47 -07:00
alx
9dd8ea27bf dtfile: fclose called twice on same handle 2014-02-22 19:05:47 -07:00
Eugene Doudine
70987253b3 Bugfix for #9 Cut off fonts in titles 2014-02-18 00:24:35 -07:00
Jon Trulson
0b3f253ba4 Fix for xorg-xkb partially freezes dtwm when keyboard layout is changed.
Patch submitted by Eugene Doudine <dudinea@gmail.com>
2014-02-17 14:37:09 -07:00
Jon Trulson
cab52a91ef dtexec: use proper FD_CLOEXEC rather than a hardcoded 1 2013-12-29 15:41:56 -07:00
Jon Trulson
90baa59dc1 dtexec: fix a case on linux where an infinite loop could occur. 2013-12-29 15:00:16 -07:00
Jon Trulson
2fc37b0f45 Add dtwm.mgg Greek UTF translation from Antonis Tsolomitis 2013-12-29 12:54:55 -07:00
Ulrich Wilkens
6b0da8f335 Introduction of BSDArchitecture 2013-10-20 16:23:40 -06:00
Isaac Dunham
380867c31c Add -quiet option to dtlogin.
This should shut up the console spamming, for those who use VT1.
Default behavior is not changed.
2013-09-24 18:08:56 -06:00
Isaac Dunham
e3973a9320 dtlogin: use proper path to getty and /usr/local/bin in path on Linux 2013-09-24 18:05:37 -06:00
Ulrich Wilkens
2d08153289 correction of message files 2013-09-15 19:35:53 -06:00
Ulrich Wilkens
0f7bbcc209 No symlinks to libraries on OpenBSD (default install) 2013-09-05 11:21:53 -06:00
Jon Trulson
a493d3588d Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2013-09-03 11:53:03 -06:00
Peter Howkins
c742edcb2f dtstyle: Resolve 70 compiler warnings 2013-09-03 15:41:58 +01:00
Peter Howkins
d57739782f dtstyle: Alphabetically sort the backdrops in the backdrop list. 2013-09-03 14:34:11 +01:00
Pascal Stumpf
394e32bd0b Do not install symlinks to libraries on OpenBSD. 2013-08-31 17:34:01 -06:00
Jon Trulson
c6f1d5ac05 dtinfogen_worker: don't free variables then use them later.
In several places, variables were XFree()'d, but then used in system()
commands later.  This would cause various issues - on my system, I'd
get:

sh: 1: Syntax error: EOF in backquote substitution
system for rm failed; exiting...

while building the guides.
2013-08-31 17:18:53 -06:00
Ulrich Wilkens
219474c9c8 dtinfo activation 2013-08-29 19:50:02 -06:00
Ulrich Wilkens
4ec9658299 dtinfo other files 2013-08-29 19:47:51 -06:00
Ulrich Wilkens
acdae62484 documents for dtinfo 2013-08-29 19:46:29 -06:00
Ulrich Wilkens
92424bd169 dtinfo subdirectory mmdb 2013-08-29 19:45:18 -06:00
Ulrich Wilkens
eb698f32cf dtinfo subdirectory dtinfogen 2013-08-29 19:44:12 -06:00
Ulrich Wilkens
aef2830df2 dtinfo subdirectory dtinfo 2013-08-29 19:42:40 -06:00
Ulrich Wilkens
fbd81ef151 dtinfo subdirectory DtMmdb 2013-08-29 19:41:27 -06:00
Ulrich Wilkens
0be684281d Remove installation of motif man pages. 2013-08-29 19:40:02 -06:00
Pascal Stumpf
335a00c6f1 dtlp: Fix the path to DtFuncs.dtsh if CDE_INSTALLATION_TOP != /usr/dt.
While here, also point the man page to the correct default location.
2013-08-06 17:27:37 -06:00
Ulrich Wilkens
85993b42ab avoid identical Vector instantiations. 2013-07-29 19:17:20 -06:00
Pascal Stumpf
29f2ad7dd7 dtlogin: correct path to getty. 2013-07-25 18:36:34 -06:00
Ulrich Wilkens
a4ab06ac1e lib/DtHelp: added missing include. 2013-07-25 18:29:33 -06:00
Pascal Stumpf
1b319ff67d include unistd.h for read(2) prototype. Fixes dtdocbook on PowerPC.
There are a lot more warnings here, but this one was an actual bug.  Full
treatment pending ...
2013-07-23 19:01:13 -06:00
Pascal Stumpf
79486301d1 Make dtksh build on OpenBSD/powerpc. 2013-07-23 18:47:54 -06:00
Pascal Stumpf
c50eb571e3 OpenBSD.cf: don't include xorg.cf (leftover) 2013-07-23 18:46:31 -06:00
Pascal Stumpf
20081d15c9 ttsnoop: deal with iostream.h and missing sentinels.
Replacing strstream may be possible, but requires more work and a better
understanding of the code.
2013-07-23 18:44:56 -06:00
Pascal Stumpf
380232cb93 Kill iostream.h deprecation warnings on *BSD. 2013-07-23 18:43:05 -06:00
Pascal Stumpf
f9a70b5165 SECURITY fix for dtappintegrate: Use mktemp(1) to generate a template.
Using a fixed filename in /tmp is just begging for a symlink attack ...
2013-07-22 17:26:19 -06:00
Pascal Stumpf
6c42732461 error.ds.src: don't hardcode /usr/dt 2013-07-22 17:25:00 -06:00
Pascal Stumpf
aa470d2e3a Adapt dtlogin/config/_common.ksh.src for OpenBSD:
* ps(1) is totally different on BSD and Linux.  The OSF commandline works fine.
* fontpath is in /usr/X11R6 on OpenBSD.
2013-07-22 17:24:13 -06:00
Pascal Stumpf
2e6347984b Simplify programs/Imakefile a bit. dtksh, dtlogin and dtcm build everywhere. 2013-07-22 17:23:24 -06:00
Pascal Stumpf
57cfd2162d s,/usr/dt,CDE_INSTALLATION_TOP,g in dtlogin/config 2013-07-22 17:22:23 -06:00
Pascal Stumpf
5153c43c50 Xreset.src: Do not hardcode /usr/dt. 2013-07-22 17:21:20 -06:00
Pascal Stumpf
9bd98b70f2 Do not hardcode /usr/dt in print.dt. 2013-07-22 17:20:25 -06:00
Pascal Stumpf
7e0a9517e3 Silence lots of warnings in lib/DtHelp.
* 64bit warnings
* Missing prototypes
* explicit parentheses / brackets

There's still some work to be done, but, as always, it's a start ...
2013-07-22 17:19:13 -06:00
Pascal Stumpf
0c165f56f5 kill a few more warnings in DtPrint 2013-07-22 17:15:34 -06:00
Pascal Stumpf
387ae5bdab sync warning flags betseen cc and c++ on OpenBSD 2013-07-22 17:14:15 -06:00
Pascal Stumpf
c48771be2b Do not use -fpermissive in programs/nsgmls. It's not needed. 2013-07-22 17:13:11 -06:00
Pascal Stumpf
dc0e8ea74d Kill most warnings in lib/DtTerm.
Mostly missing headers, explicit parentheses and new prototypes.

Some Caveats:
* I haven't compile-tested the SVR4 getpty file, it might need another tweak
* There were operator precedence bugs in TermPrimCursor.c and TermPrimRender.c
  (^ vs. !=).  This might change behaviour, but at least I haven't experienced
  any crashes ...
* This adds a little more dependencies for include ordering, but unless we
  want to play the "headers that include headers that include headers..." game,
  this is unavoidable.
2013-07-22 17:12:07 -06:00