Jon Trulson
af7ba55f78
Add basic Xinerama support via new lib/DtXinerama
...
This adds a basic library and support to dtsession and dtlogin to
support Xinerama/Twinview, where multimple monitors are used to make
up an X11 screen.
The main goal here is to draw dialogs and such centered on a monitor,
rather than spread out over multiple monitors.
Might need to add sorting - as on my test system, what I would
consider monitor 0, appears to actually be monitor 1. So a sort might
need to be added to sort the screens according to increasing x and y
offsets so it make sense to a user.
Also, this library is built statically and not documented. Maybe it
could be 'filled' out and refactored/redesigned in the futre if need
be and suppoerted.
It is enabled via a define, CDE_USEXINERAMA in site.def. It's a very
simple lib, so I do not expect any issues with the BSD's - it should
build and work fine, assuming your X server has the XINERAMA
extension, which I think pretty much all of them do at this point.
2013-03-26 19:49:50 -06:00
Jon Trulson
208c1e4999
Add initial Greek UTF-8 translations.
...
Supplied by Antonis Tsolomitis <antonis.tsolomitis@gmail.com>
2013-03-12 15:03:43 -06:00
Karsten Pedersen
69997241c5
Fixed building on FreeBSD 8.x
2013-02-26 17:28:17 -07:00
Karsten Pedersen
cc076d7756
Fixed colored border around workspace buttons
2013-02-26 17:28:10 -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
Pascal Stumpf
943aaadf86
Introduce DTKORNSHELL, analogous to KORNSHELL.
...
DTKORNSHELL is used to specify the install location of dtksh on your system,
preventing hardcoding of /usr/dt/bin/dtksh in Shebang lines and such.
2012-11-24 19:25:27 -07:00
Pascal Stumpf
b49a4ffc94
Keep track of the length of the string in ExpandVariables().
...
On OpenBSD, the 'S' option to malloc(3) enables guard pages (among other
things). This loop could have triggered this trap when reading beyond the
buffer. Also, the whole "while(*ip)" construct was based on the assumption that
the memory after the string is always zero-filled.
2012-11-24 19:25:19 -07:00
Jon Trulson
f84950100f
Revert "Older Linux installations do not have svcfd_create()."
...
This reverts commit 44e384aedb
.
This code is actually needed. If svcfd_create() is not available, it
should be fixed only for those systems that it affects.
2012-11-24 19:16:58 -07:00
Pascal Stumpf
c64ac1985b
Set NATIVEXBINDIR on OpenBSD.
2012-11-20 17:17:37 -07:00
Pascal Stumpf
c57d2191e8
Respect CDE_CONFIGURATION_TOP and CDE_INSTALLATION_TOP.
...
Do not hardcode /etc/dt and /usr/dt.
2012-11-20 17:17:33 -07:00
Pascal Stumpf
76c874b068
dtgreet: Do not crash if LANG is not set in the environment.
...
In that case, catopen() will have never been called, and we'd feed 0 as the
first argument to catgets(). This crashes, at least on OpenBSD.
2012-11-20 17:17:29 -07:00
Pascal Stumpf
0e5560cee4
Correct paths to xterm as failsafe client on the BSDs.
2012-11-20 17:17:25 -07:00
Pascal Stumpf
d821557ca4
Use same SIGCHLD handling for OpenBSD as for OSF.
2012-11-20 17:17:18 -07:00
Peter Howkins
e51d581782
dtaction: Resolve 8 warnings caused by -Wall
2012-11-20 16:22:04 +00:00
Peter Howkins
ea96eb624d
dtcalc: Resolve 82 warnings causing by enabling -Wall
2012-11-20 14:49:40 +00:00
Pascal Stumpf
b64f79b1b8
On OpenBSD, use FILE_MAP_OPTIMIZED.
...
This has the effect of not performing a tt call each time in
ResolveLocalPathName() if we're on the local host anyway. Drastically reduces
dtfile startup time.
2012-11-19 19:44:32 -07:00
Pascal Stumpf
5b9d3fc5ec
Use /usr/sbin/sendmail as default mailer on OpenBSD.
2012-11-19 19:44:29 -07:00
Pascal Stumpf
6ecf213b63
Do not build motif manpages any more.
2012-11-19 19:44:24 -07:00
Pascal Stumpf
fad2d16d20
Remove hack adding csu objects to the linker command line on OpenBSD.
...
This is no longer needed now that $(CC) is used to link shared libraries.
2012-11-19 19:44:19 -07:00
Pascal Stumpf
38f3f5dcba
set AvoidNullMakeCommand on OpenBSD to avoid make warnings
2012-11-19 19:44:15 -07:00
Peter Howkins
e56e3f74e6
dtcalc: Further remove K&R function prototypes and replace with ANSI.
2012-11-19 14:28:52 +00:00
Peter Howkins
f4339cd58e
dtcalc: Convert functions from K&R to ansi declarations.
2012-11-16 17:03:10 +00:00
Peter Howkins
b556633eca
dtscreen: Resolve (all) 11 warnigns caused by -Wall
2012-11-16 15:57:36 +00:00
Peter Howkins
a67b65198d
dtscreen: Resolve a -Wformat-security warning.
2012-11-16 15:29:50 +00:00
Peter Howkins
43cfaeaa65
libDtSearch: Resolve 137 -Wunused-variable warnings.
2012-11-12 17:13:36 +00:00
Peter Howkins
9040256676
libDtSearch: Resolve 38 -Wformat warnings
2012-11-12 16:26:11 +00:00
Peter Howkins
a10520c43c
libDtPrint: Resolve 9 -Wunused-variable warnings.
2012-11-12 15:03:37 +00:00
Peter Howkins
21feacd159
libdthelp: Resolve 65 -Wunused-variable warnings
2012-11-09 17:20:46 +00:00
Peter Howkins
6f2a704bbd
libcsa: Resolve 96 -Wunused-variable warnings.
...
This is not all of them, another ~90 exist in generated code.
2012-11-06 15:07:08 +00:00
Peter Howkins
37c30d32f7
lidtwidget: Resolve 74 -Wunused-variable warnings
2012-11-06 13:56:11 +00:00
Peter Howkins
a0da2db479
dtcalc: Resolve 43 warnings that would be introduced with -Wunused-variable or -Wall
...
Basically 43 local variables declared in functions and then never used.
2012-11-05 16:44:29 +00:00
Marcin Cieslak
2c10f0d62b
Fix location of some SGML files
2012-10-24 18:17:06 -06:00
Ulrich Wilkens
8fd8a8a4db
Fix dtappbuilder on Linux
2012-10-16 21:04:57 -06:00
Ulrich Wilkens
9b4fe61ea4
dtinfo other requirements
2012-10-15 17:59:26 -06:00
Ulrich Wilkens
f17d779dab
dtinfo subtree clients
2012-10-15 17:59:11 -06:00
Ulrich Wilkens
5cdb889f7b
dtinfo subtree tools
2012-10-15 17:59:00 -06:00
Ulrich Wilkens
07e886ba7c
dtinfo subtree dtinfogen
2012-10-15 17:58:44 -06:00
Ulrich Wilkens
51b8929ebd
dtinfo subtree dtinfo
2012-10-15 17:57:49 -06:00
Ulrich Wilkens
8275485b4a
dtinfo subtree mmdb
2012-10-15 17:57:35 -06:00
Ulrich Wilkens
8c8363f4a5
dtinfo subtree DtMmdb
2012-10-15 17:57:14 -06:00
Marcin Cieslak
b92cf08899
Adobe Helvetica as -dt-interface system-
...
Use Adobe Helvetica as the sans serif user
interface font (among others, dtlogin, front
panel buttons, menu titles) instead of Lucida.
While there, move X Consortium comment back
to the top.
This change applies only to FreeBSD.
2012-10-08 19:31:24 +01:00
Peter Howkins
cd39eabb18
libdthelp: resolve 46 compiler warnings
2012-10-08 15:34:45 +01:00
Marcin Cieslak
c3c9abd86f
Set CDE_RELEASE to 2.2.0
2012-10-06 18:42:35 +01:00
Jon Trulson
1c7b2005fe
Update HISTORY for 2.2.0c release
2012-10-04 18:10:33 -06:00
Jon Trulson
7c9ca091be
update CONTRIBUTORS
2012-10-04 18:06:47 -06:00
Jelle Hermsen
b8862cab32
Changed a couple of ifdefs for __FreeBSD__ to CSRG_BASED. These are all clearcut cases. I left the ones I had doubts about, or where I wasn't sure about the OpenBSD side of things to look at later.
2012-10-03 17:06:57 -06:00
David J.McBrayer
8cfdf21526
-Updated README.dtlogin -Update "# Provides:" in dtlogin LSB init script
2012-10-02 18:58:42 -06:00
Marcin Cieslak
40883b0165
Remove missing xmbind and uil from UDB
...
Remove xmbind and uil utilities we
do not build and install from the
packing lists.
2012-10-02 18:57:14 -06:00
Marcin Cieslak
aacfe3e5de
dtfile: Fix crash when trying to open filter dialog
...
On 64-bit machine dtfile crashes when opening
list of file types to filter in Encaps.c:
_DtShowDialog (parent=0x805c80900, map_parent=0x0, top_rec=0x805ce3600,
dialog_data=0x805db25e0, change_proc=0x4489f0 <FilterChange+16>,
change_data=0x805ce3600, close_proc=0x4489c0 <FilterClose+16>,
close_data=0x805ce3600, workspaces=0x0, iconify_state=0 '\0',
ignoreCache=0 '\0', title=0x0, classHints=0x0) at Encaps.c:531
531 ResetFlag(NULL,fr->close);
2012-10-02 18:57:12 -06:00
Jon Trulson
cc5544354f
linux.cf: use -fno-strict-aliasing, define DefaultGcc2i386Opt, use indenting to improve readability
2012-10-01 19:27:36 -06:00