Commit Graph

6325 Commits

Author SHA1 Message Date
matthieu
bbb3c76e2e Remove the code that allowed to install xcbgen under /usr/X11R6/lib/
We can now use x11/py-xcbgen if needed.
2018-07-19 11:58:46 +00:00
matthieu
437b06c43f Document the use of this Makefile with x11/py-xcbgen.
(not part of standard xenocara builds)
2018-07-19 11:52:37 +00:00
matthieu
0523432214 This file is not generated by configure, @ substitutions arent available 2018-07-17 11:52:12 +00:00
okan
2f18ffa39d Remove unused prototype; from Ross L Richardson. 2018-07-16 14:19:23 +00:00
matthieu
ebae2cc3f5 Remove useless test for DISPLAY number.
This script is only run by xenodm for DISPLAY=:0
2018-07-16 06:52:00 +00:00
matthieu
d39b1994a3 OpenBSD id 2018-07-15 09:58:03 +00:00
matthieu
d31532afbd Make Xstartup/Xreset consistent with GiveConsole/TakeConsole 2018-07-15 09:53:23 +00:00
matthieu
3a72f101b6 sync 2018-07-15 09:08:07 +00:00
matthieu
2a47fd34e2 regen 2018-07-15 09:07:48 +00:00
matthieu
10783d146c Revert the removal of Xreset and Xstartup. 2018-07-15 09:05:11 +00:00
matthieu
8f9a6b1d79 Update to libXinerama 1.1.4 2018-07-12 15:16:03 +00:00
matthieu
da360a65cc Update to libXScrnSaver 1.2.3 2018-07-12 15:10:28 +00:00
matthieu
31ce09c6a5 Update to xf86-video-rendition 4.2.7 2018-07-12 15:00:43 +00:00
matthieu
e5adab7f60 Update to xf86-input-synaptics 1.9.1 2018-07-12 14:52:23 +00:00
matthieu
c1baa67540 Update to xf86-input-mouse 1.9.3 2018-07-12 14:44:41 +00:00
matthieu
38960e7a0a Update to xkbcomp 1.4.2 2018-07-12 14:38:26 +00:00
matthieu
0aad528dd7 pledges for session can be tighten a bit now. 2018-07-11 20:28:41 +00:00
matthieu
15bc4073c0 The file descriptor parameter is not used by DefineSelf() in xenodm.
Zap it.
2018-07-11 19:51:12 +00:00
matthieu
4feeb26f77 sessreg -x is useless if not updating utmp. Remove it.
Also don't try to remove utmp lines that were not written.
2018-07-11 19:20:40 +00:00
matthieu
bfa500ee29 sync 2018-07-11 19:09:16 +00:00
matthieu
ec07007116 Ooops I didn't intend to commit that part. revert it. 2018-07-11 19:06:29 +00:00
matthieu
b3e8c00865 Actually remove the source files for Xstartup and Xreset 2018-07-11 19:05:22 +00:00
matthieu
35981369b1 Remove Xstartup and Xreset script. Xenodm uses GiveConsole and TakeConsole 2018-07-11 19:03:50 +00:00
matthieu
5d69c81cc1 Keep a better trace of pending children to be reaped. 2018-07-11 16:57:04 +00:00
matthieu
c3094ef041 Delete unused code 2018-07-11 16:33:44 +00:00
matthieu
6d7357f962 Bind <Key>Escape to erase-line by default. 2018-07-11 16:28:54 +00:00
matthieu
c8c914a77e Less ifdef cruft. 2018-07-11 16:26:25 +00:00
matthieu
bf265b5bbc use strvis on login name when logging debug information it since it
may contain control characters. And remove an extra logging of the same.
2018-07-11 16:20:20 +00:00
matthieu
8f540c071b Restore previous SIGCHLD handler in serverPause().
This fixes the issue where xenodm whould stay stuck after kill the
Xserver twice.

While here add some more Debug() calls to help following what's going on
2018-07-11 14:35:46 +00:00
kettenis
323f3c34c5 Use __MAP_NOFAULT such that a client cannot use ftruncate and make the
X server crash.

ok deraadt@, matthieu@
2018-07-11 06:59:03 +00:00
matthieu
2c8cd3e507 Also revert this one, doesn't look right either. 2018-07-10 15:52:52 +00:00
matthieu
a8c7a38ea4 Revert some of the strlcpy() conversions which are wrong. 2018-07-10 15:32:27 +00:00
matthieu
8b4158c82d Remove more unused ifdefs blocks 2018-07-10 14:58:57 +00:00
matthieu
91c82fae6b Remove useless ifdefs 2018-07-10 14:50:21 +00:00
matthieu
a08190694c Get rid of strcpy and strncpy (they were all looking safe though) 2018-07-10 14:44:34 +00:00
matthieu
1b4f7ecea8 Consistant use of bool whenever possible. 2018-07-10 14:20:42 +00:00
matthieu
8e35b035af Remove unused code. 2018-07-10 13:57:31 +00:00
matthieu
72e68d3bca Remove the unused localHostname() function. 2018-07-10 13:15:50 +00:00
matthieu
e573efcd34 Make sure the fontconfig cache in the xbaseXX.tgz set is valid.
Tarballs only store timestamps with 1s resolution, while the
fontconfig cache uses nano-second resolution from the filesystem to
check that a directory hasn't changed.

So the font directories extracted by the installer were almost always
considered out of date, causing applications that use fontconfig to
trigger a rebuild of the cache.

Now, when installing with DESTDIR set, we use a perl one-liner to
remove the nanoseconds from the mtime of the fonts directories before
running fc-cache, so that the timestamps recorded in the cache match
what will be set after extracting the xfont set.

Help and suggestions from at least guenther@, millert@, espie@
and deraadt@
2018-07-09 21:20:56 +00:00
matthieu
3d6c235903 Remove the local -c chroot change, unused now. 2018-07-09 21:16:41 +00:00
matthieu
fddab55788 FcCacheFindByStat(): fix checking of the nanoseconds field.
ok millert@
2018-07-09 17:09:44 +00:00
matthieu
53d0e5e23b Remove prototype for function that doesn't exist anymore in xenodom. 2018-07-09 16:52:19 +00:00
matthieu
e5b6c5a29f Source the Xsetup script before initializing the greeter widget.
Based on a request by weerd@, tested by jca@ and weerd@
2018-07-09 15:02:41 +00:00
matthieu
06061c495d white space 2018-07-08 17:45:38 +00:00
matthieu
b406222ebc update 2018-07-08 17:16:44 +00:00
visa
caae66c045 sync 2018-07-07 14:56:22 +00:00
deraadt
3ae7282bc9 sync 2018-07-06 03:31:17 +00:00
deraadt
5e297892c8 sync 2018-06-29 17:18:44 +00:00
kettenis
7a6863f74a The futex-based implementation of libxshmfence requires atomic operations
that hppa, m88k and sh don't provide.  Since DRI3 requires libxshmfence,
this means we can't enable DRI3 on these platforms.

ok matthieu@
2018-06-28 20:11:32 +00:00
deraadt
2b4ad4e7db sync 2018-06-27 13:21:42 +00:00