Commit Graph

6449 Commits

Author SHA1 Message Date
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
deraadt
3bd5debfc5 sync 2018-06-26 18:20:32 +00:00
kettenis
c7bc2b344c Enable various bits of DRI3 support.
ok matthieu@
2018-06-26 06:51:17 +00:00
bru
a011f4db8a Improve the wheel emulation logic. Make the axis filtering symmetrical,
and less restrictive for vertical scrolling.

Thanks to Jake Champlin for help with the issue.

ok matthieu@
2018-06-18 20:07:30 +00:00
deraadt
609cb010a4 sync 2018-06-10 14:21:39 +00:00
kettenis
191958dfc8 Make sure we create shared memory files in /tmp such that programs can use
the "tmppath" pledge to allow creation of shared memory fences.

ok matthieu@
2018-06-09 11:44:13 +00:00
kettenis
3a5dfaa265 Add OpenBSD support using process-global futexes.
ok matthieu@
2018-06-08 13:16:24 +00:00
matthieu
d9fb28853a add BSD build infrastructure 2018-06-07 22:05:13 +00:00
matthieu
14d42ae4fa Makefile for dri3proto 2018-06-07 21:59:18 +00:00
matthieu
b1a440ca66 Import libxshmfence 1.4 2018-06-07 21:57:28 +00:00
matthieu
9d95a9952f Import dri3proto 1.0 2018-06-07 21:56:17 +00:00
kettenis
caa5824472 Make sure HAVE_DRI3 is defined when DRI3 support is enabled.
Matches what is done for Linux.

ok jsg@
2018-06-07 09:25:32 +00:00
matthieu
eb834a5bcb Explcitely disable xf86misc and fontcache extension support.
Some people may still have old files lying around while building.
Suggested by deraadt@
2018-05-29 06:02:52 +00:00
matthieu
3b5f1cf2f4 Use -mxgot to build libepoxy on mips64 and mips64el.
ok visa@ who reported that mips64 is affected too.
2018-05-26 08:52:16 +00:00
matthieu
cd6e03ffaf sync 2018-05-26 08:17:01 +00:00
matthieu
864ae5542e Remind people to bump dependent libs majors too. 2018-05-26 07:51:37 +00:00
matthieu
766a354a9d Bump majors after libfreetype major bump 2018-05-26 07:51:00 +00:00
matthieu
5653f6ed60 sync 2018-05-25 06:26:21 +00:00
matthieu
ebc336bb23 update 2018-05-25 06:26:00 +00:00
matthieu
9d6c736422 Update to libepoxy 1.5.2. ok aja@ 2018-05-25 06:24:59 +00:00
matthieu
4fab2a217f update 2018-05-21 20:07:31 +00:00
matthieu
337449ed83 Update to libdmx 1.1.4 2018-05-21 20:06:55 +00:00
matthieu
4defdf0a2a Update to libpciaccess 0.14 2018-05-21 20:02:28 +00:00
matthieu
e2efba86ec Update to xbitmaps 1.1.2 2018-05-21 19:52:26 +00:00
matthieu
ac5bf229a1 update 2018-05-21 18:49:32 +00:00
matthieu
ca1e08f7e7 Update xwud to 1.0.5 2018-05-21 18:47:37 +00:00
matthieu
b04bdc2c8c Update to xwininfo 1.1.4 2018-05-21 18:44:13 +00:00