Ulrich Wilkens
29294e0373
Fix FreeBSD 10.1 build
2014-11-20 17:48:57 -07:00
Ulrich Wilkens
01d6c363fa
OpenIndiana and Solaris port
2014-10-28 13:40:11 -06:00
Ulrich Wilkens
42e891d9e7
Resolve many build warnings
...
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -06:00
Ulrich Wilkens
c3f74eec17
FreeBSD 10 clang port
2014-07-27 12:32:35 -06:00
Eugene Doudine
4e2adc1f8e
Fixes the bug, which caused dtterm to show stripes of wrong color between text lines when using fontsets that include fonts of slightly different heights.
...
The cause of the bug was that X*DrawImageString draws background
according to the extents of the given string, not to extents of the font set,
which determine terminal line height.
Now, when such a situation is detected, the background is cleared before
drawing the characters.
2014-05-03 22:11:41 -06:00
Ulrich Wilkens
d24fd29b52
Fix dtfile and dtterm on NetBSD
2014-03-11 13:06:55 -06:00
Jon Trulson
b147e0ce12
libDtTerm: add include <stdio.h> so FILE is properly defined.
...
TermPrim/TermPrimDebug.h references FILE without including the
required header file. I am not sure why this hasn't shown up before.
2014-03-09 00:21:40 -07:00
Ulrich Wilkens
6b0da8f335
Introduction of BSDArchitecture
2013-10-20 16:23:40 -06:00
Ulrich Wilkens
4ec9658299
dtinfo other files
2013-08-29 19:47:51 -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
Karsten Pedersen
69997241c5
Fixed building on FreeBSD 8.x
2013-02-26 17:28:17 -07:00
Pascal Stumpf
0ec1d6b692
Avoid negative array subscript; break out of the loop if that happens.
2012-11-27 23:46:12 -07:00
Peter Howkins
31c2131935
libDtTerm: Resolve all -Wformat-security warnings.
2012-08-27 20:36:59 +01:00
Marcin Cieslak
31aaa48344
FreeBSD port: dtsearch, dtterm, dtwidget, dthelp
...
FreeBSD portability of dtsearch, dtterm, dtwidget, dthelp
Work in progress for dtlogin and dtmail
2012-08-13 19:53:10 -06:00
Pascal Stumpf
131c7a9e04
Imakefile diffs for OpenBSD.
2012-08-11 19:23:43 -06:00
Pascal Stumpf
8bbf5a7a1b
Allow dtterm to at least allocate a pty on OpenBSD. Display is still mangled, however, and it frequently crashes (64bit issue).
2012-08-10 14:08:48 -06:00
Pascal Stumpf
19647809e4
OpenBSD fixes for lib/DtTerm: values.h, #ifdef's and some constants that are not defined on BSD. Also, leave out utmp stuff that does not work on BSD. Note that this terminal allocation does not work properly yet, but this will be fixed later.
2012-08-10 14:07:36 -06:00
Jon Trulson
91f7988cf3
dtterm: fixes so job control will work.
2012-06-18 16:01:17 -06:00
Jon Trulson
62b669a6af
dtterm: disable svr4 streams semantics on linux
2012-06-18 15:32:02 -06:00
Peter Howkins
43a91fa718
Don't include a couple of non-existant svr4 files on linux.
2012-03-20 20:50:16 +00:00
Peter Howkins
1476da61f7
Change over Linux to using the System V style pty code, it seems at some
...
point Linuxes pty code is no longer the BSD legacy one by default anymore.
2012-03-20 20:43:06 +00:00
Peter Howkins
42b737ba2a
On linux it seems that _XTyname() only takes one argument, no buffer required.
2012-03-11 19:12:51 +00:00
Peter Howkins
546683e176
GCC no longer supports <varargs.h>, change to <stdarg.h>
2012-03-11 14:21:26 +00:00
Peter Howkins
c884521619
Add GNU LGPL headers to all .c .C and .h files
2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa
Initial import of the CDE 2.1.30 sources from the Open Group.
2012-03-10 18:21:40 +00:00