Commit Graph

  • 97b021efa8 Port the de-escalation mechanism we have in src to xenocara's make bootstrap/obj/build. This is now possible due to a normal build not writing to the source tree anymore. natano 2016-10-14 10:14:00 +0000
  • 9a3b6b7fd4 remove another unused proto okan 2016-10-12 16:11:15 +0000
  • 0f8f5eae25 sync matthieu 2016-10-11 22:37:16 +0000
  • ecf19b24f5 Remove the REORDER_DEPENDENCIES mechanism. The xenocara build process is not writing in the source tree. This and previous commits was done in cooperation with natano@ and deraadt@ matthieu 2016-10-11 22:36:53 +0000
  • fd18c20e72 regen matthieu 2016-10-11 22:14:30 +0000
  • c9d0110642 Force AM_MAINTAINER_MODE in all Xenocara packages built by autotools matthieu 2016-10-11 21:54:35 +0000
  • d9fc70eb7c Remove the global 'make includes' step from 'make build'. This is no longer needed and gets in the way of tightening permission used during build. ok and suggestions natano@ matthieu 2016-10-10 13:34:43 +0000
  • 178fb5f1c1 Move headers files to 'GL/' so that the library can be built without installed headers. matthieu 2016-10-10 13:27:14 +0000
  • f8fe4cae65 sync deraadt 2016-10-10 01:59:40 +0000
  • e505251050 update shadchin 2016-10-09 11:51:41 +0000
  • e4a819d748 Update to xkeyboard-config 2.19 shadchin 2016-10-09 11:49:40 +0000
  • 8cc5efb076 Provide a default clean target now that bsd.subdir.mk doesn't. matthieu 2016-10-09 09:54:56 +0000
  • 6c14b73344 ks_tables.h is always considered out of date due to the forced rebuild of the makekeys util. This means it's also rebuilt during install. First as root during build, later by the BUILDUSER during release, which won't be able to rewrite it, because it's now owned by root. With this result: natano 2016-10-08 21:51:47 +0000
  • dde5cc23a3 Put back the NOPROFILE= that I accidentally removed in previous commit matthieu 2016-10-08 19:29:18 +0000
  • dd04a74464 use the pkg-config support from bsd.xorg.mk to handle libGLw and libepoxy .pc files rather than manually generating them as root in postinstall. Spotted by natano@ ok natano@. matthieu 2016-10-08 19:09:34 +0000
  • eef7efd841 update matthieu 2016-10-08 16:25:45 +0000
  • f8928160a7 Fix package version in fontconfig.pc matthieu 2016-10-08 14:09:10 +0000
  • a1a192d258 Rename 2 kbfunc to match closer to what they do okan 2016-10-06 14:53:52 +0000
  • a53fef7b1e Add an argument to the callbacks to pass the xevent context, button or key press. This allows to remove a few hacks to duplicate functions only for behaviour changes; now differing behaviours are pushed down to the callback. Also will allow for previously unavailable actions to be bind-able down the road. okan 2016-10-06 14:41:19 +0000
  • 4e1d180946 Check the ptr bounds in the new client during cycling, since not all actions do ptrsave, such as restoring client geometry; adapted from a diff by Vadim Vygonets. okan 2016-10-06 14:30:05 +0000
  • 4a70ba0924 More accurate to say 'toggle', rather than 'select', for group[n]/nogroup. okan 2016-10-05 14:01:23 +0000
  • 62af7b9761 Add CM-a for 'nogroup' (CM-0 stays for now); update manpage to reflect. okan 2016-10-05 13:35:17 +0000
  • ddbad284c7 Stash wmname into conf. okan 2016-10-05 13:10:59 +0000
  • c42b7d0a28 When removing xrandr regions, ensure clients are within the bounds of the screen; adapted from an ancient diff from Sviatoslav Chagaev. Things in this area will likely change, but put this in so it works now and serves as a reminder. okan 2016-10-04 20:15:55 +0000
  • 13cbbbd6c0 ignore chown error (for systems which don't install a Xserver) deraadt 2016-10-04 19:48:48 +0000
  • a7e1d9acfc Calculate client nameqlen in client_setname(), the only place it's needed/used. okan 2016-10-04 15:52:32 +0000
  • d592dd99f7 Turn CALMWM_NGROUPS define into variable, ngroups. okan 2016-10-04 15:18:20 +0000
  • e61292a300 Avoid buffer underflow on empty strings. matthieu 2016-10-04 15:11:05 +0000
  • 1e4e5956d0 Protocol handling issues in libXv matthieu 2016-10-04 15:09:40 +0000
  • ce0f69616f Out of boundary access and endless loop in libXtst matthieu 2016-10-04 15:08:08 +0000
  • 26cabdb32f Validate lengths while parsing server data. matthieu 2016-10-04 15:05:13 +0000
  • 9f957a9f79 Avoid OOB write in XRenderQueryFilters matthieu 2016-10-04 15:03:48 +0000
  • aebb61b811 Avoid out of boundary accesses on illegal responses matthieu 2016-10-04 15:02:31 +0000
  • 342b1570d2 Properly validate server responses matthieu 2016-10-04 15:01:03 +0000
  • 269364ad66 Integer overflow on illegal server response The 32 bit field "rep.length" is not checked for validity, which allows an integer overflow on 32 bit systems. matthieu 2016-10-04 14:59:47 +0000
  • 89e55bbf5a Validation of server responses in XGetImage() Check if enough bytes were received for specified image type and geometry. Otherwise GetPixel and other functions could trigger an out of boundary read later on. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016 matthieu 2016-10-04 14:58:26 +0000
  • bd2560e2ec The validation of server responses avoids out of boundary accesses. From Tobias Stoeckmann / Xorg Securiry adrvisory Oct 4, 2016. matthieu 2016-10-04 14:56:37 +0000
  • cdbe6c3bc9 Start simplifying menu code; and in turn, remove a cursor no longer needed. okan 2016-10-03 18:43:49 +0000
  • 6889482fc7 Defaults are split between defines and conf_init(); normalize these, as well as give 'sticky' groups its own variable. okan 2016-10-03 14:42:34 +0000
  • dcdbf54e85 For both kb and mouse move, it is possible to grab a client and move it completely off the screen/region; instead, if the pointer is outside of the client bounds, warp the pointer to the closest edge before moving. okan 2016-10-03 13:52:17 +0000
  • 3881d6ad85 client_ptrwarp should not deal with unhiding or raising clients (non ptr requests); most callers do this already - deal with the few that do not. client_ptrwarp becomes a simple wrapper (setpos) but it will be expanded. okan 2016-10-03 13:41:30 +0000
  • c542153d63 revert pixman-vmx.c to the version of pixman-0.32.8. gcc 4.2 is not able to compile the new version. XXX switch back to 0.34 once macppc switches to clang. matthieu 2016-10-03 06:57:44 +0000
  • 1a97432a77 Fix ownership of fonts.dir and font.scale files as well as fontconfig font caches. mkfontdir and mkfontscale are now run out of font/alias at the end of the build or install, like fc-cache. fc-cache is using its -y (sysroot) flag that works if used correctly. matthieu 2016-10-02 20:55:09 +0000
  • 400881a786 Fix ownership of /etc/fonts/conf.d/42-luxi-mono.conf link matthieu 2016-10-02 20:51:20 +0000
  • 71be0511eb Fix installation of libXaw.so.15.0 link. matthieu 2016-10-02 19:11:16 +0000
  • 8587a95e4f fix the ownership of the link /usr/X11R6/bin/X -> Xorg matthieu 2016-10-02 17:21:29 +0000
  • 321b9b9f5f regen matthieu 2016-10-02 17:17:04 +0000
  • b0eedeca6e Handle the libXaw.so.xx.y symlink in afterinstall: in Makefile.bsd-wrapper No more diffs with upstreams in autoconf files; owneship of links for non-root/noperm installs is handled too. matthieu 2016-10-02 17:16:31 +0000
  • f086547c98 regen matthieu 2016-10-02 10:30:28 +0000
  • d9e10c2579 Remove local patch for platforms without shared libs matthieu 2016-10-02 10:30:06 +0000
  • 99edbe0a23 Reduce diffs with upstreams matthieu 2016-10-02 10:00:36 +0000
  • 836cc0eece regen matthieu 2016-10-02 09:36:26 +0000
  • 245607701d Typo font.dir -> fonts.dir matthieu 2016-10-02 09:34:35 +0000
  • 0ba6be2810 Explicitly set owner and group of the mouse(4) manpage symlink. Needed for noperm release. tb 2016-10-02 09:30:18 +0000
  • da27f01d12 Set owner and group of the XScreenSaver(3) manpage symlink. Needed for noperm release. tb 2016-10-02 09:28:53 +0000
  • d026ee755f Set owner and group of the mandoc.db, the xetcsum file for sysmerge and of the app-defaults symlink. Needed for noperm release. tb 2016-10-02 09:25:23 +0000
  • 2b5da2cd8d Explicitly set owner and group of the symlinks in etc/fonts/conf.d and of the fonts.dir and fonts.scale indexes. Needed for noperm release. tb 2016-10-02 09:23:26 +0000
  • c3666a91f0 chown -h symbolic links in conf.d. Needed for noperm release. There are a few remaining symlinks that will be fixed later. tb 2016-10-02 09:19:28 +0000
  • 7112b55027 Explicitly set owners of the xorg.db locate(1) database and of the xetc.tgz set for sysmerge. Needed for noperm release. tb 2016-10-02 09:16:22 +0000
  • c5b53bf9ac Explicitly set the owner of the shell scripts in etc/X11/xdm and of the chooser and xdm binaries to BINOWN:BINGRP. Needed for noperm release. tb 2016-10-02 09:12:46 +0000
  • cb8938ecc4 Update to pixman 0.34.0. matthieu 2016-10-01 10:17:43 +0000
  • 679d00b4fa remove unused proto okan 2016-09-30 21:44:51 +0000
  • 5a1d71fd93 Set the initial ptr position during client init, instead of waiting until (maybe) a ptrwarp call. Likewise, explicitly ensure an inbounds ptr position (same as initial) when saving. okan 2016-09-30 20:55:54 +0000
  • 54cccf114b Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests; the one line wrappers provided no value and limited altering calls where needed; additionally, most of them had but one caller. okan 2016-09-30 18:28:06 +0000
  • e49083a483 Replace mousefunc_sweep_draw() with a generic menu_windraw() using va lists; use it appropriately for both window dimension and position in the respective mousefunc calls. okan 2016-09-30 15:12:19 +0000
  • e30959f62f Switch to XWindowEvent() pulling out events that match the mask *and* window. okan 2016-09-30 15:05:02 +0000
  • 035ba40ddc no need to unmap menu window again okan 2016-09-29 00:30:40 +0000
  • 1b369f6063 Mechanical change: move screen menu bits to their own struct. okan 2016-09-29 00:21:55 +0000
  • b46a5b0b56 Inline Xft draw and extents wrappers; too much abstraction. okan 2016-09-28 17:06:33 +0000
  • 7c35826ca9 Do not call sweep_draw() too early: don't yet have w/h dimensions; plus we will get a MotionNotify event right away anyway, setting required parameters. okan 2016-09-28 15:54:54 +0000
  • 02593ff9e1 pixman: upstreams tarballs contain an empty ChangeLog. matthieu 2016-09-25 10:31:16 +0000
  • 7c3e92162c update matthieu 2016-09-24 19:09:33 +0000
  • 2638f19466 update matthieu 2016-09-23 07:15:30 +0000
  • 374d386034 Continue merging kb and mouse functions: fold mousefunc_menu_{client,cmd,group} into the respective kbfunc_menu_{client,cmd,group} functions; simply pass a flag down from config denoting mouse action behaviour. okan 2016-09-22 14:36:03 +0000
  • c1ac946076 Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell okan 2016-09-20 19:58:54 +0000
  • 489250a384 de-static client_inbound() okan 2016-09-20 19:11:19 +0000
  • 47ecd2dcf9 remove debug that accidentally snuck in okan 2016-09-20 18:23:12 +0000
  • d9f512008b Get rid of curcc, instead cycle through the queue; removes the need for client_none(). okan 2016-09-20 18:21:32 +0000
  • cdd4bf21cb Make video -i work ootb. jca 2016-09-16 20:29:03 +0000
  • 9b943acf32 During init, query screen for _NET_ACTIVE_WINDOW and set that client as active; while we already look at what's under the pointer, use this information first, then look under the pointer (saving that round-trip). This restores the active state to a client after restart even if the pointer is not above it (and of course the pointer is not above another client). okan 2016-09-16 14:32:02 +0000
  • cabc3c79ba sync deraadt 2016-09-16 00:27:48 +0000
  • faafc6dd35 Some clients fail to setup hints at all, so initalize for them; fallout from r1.218 switching to malloc - clearly missed this case. okan 2016-09-14 21:00:24 +0000
  • b0ab7f2e87 Fix-up a few simple uses of client_current(): check CLIENT_ACTIVE flag instead of relying on curcc. okan 2016-09-14 19:45:33 +0000
  • fe5fda4a31 Make shure that all autotools generated install commands specify a user and a group. matthieu 2016-09-14 08:31:47 +0000
  • 237d1b1cf5 init label okan 2016-09-13 17:42:58 +0000
  • 7f7dbbf558 sync deraadt 2016-09-13 15:08:06 +0000
  • 6937dedc0d Limit mouse resize to hints within the client; matches kbd resize behaviour. okan 2016-09-13 13:42:28 +0000
  • 466ceeb29f include <sys/time.h> before wsconsio.h matthieu 2016-09-12 22:12:44 +0000
  • b9d0c0fb7c Fix a bunch of gcc warnings. - constify name field - rename devname -> devnam - replace deprecated Xprintf() with asprintf() matthieu 2016-09-12 21:57:14 +0000
  • 595a0e50e5 sys/select.h -> sys/time.h matthieu 2016-09-12 21:46:25 +0000
  • d2533042e8 Fix build after headers cleanup. include wscons headers after sys/ioct.h and sys/select.h with deraadt@ and kettenis@ matthieu 2016-09-12 21:44:30 +0000
  • 76fe6f1ba0 sync deraadt 2016-09-12 16:39:34 +0000
  • 2cf2a03756 sync deraadt 2016-09-12 15:28:03 +0000
  • 14d946c938 Switch to just malloc since we need initialize most everything anyway. okan 2016-09-12 13:48:41 +0000
  • 310ca33ad8 change 'sticky' to 'stick' to toggle client stickiness (seems the default binding worked for everyone for a long time!); conflict with group sticky found by Ali Farzanrad - thanks! okan 2016-09-12 13:47:00 +0000
  • 537eb90d08 sync deraadt 2016-09-12 12:44:05 +0000
  • c7371fb865 Fix installation modes and ownership. matthieu 2016-09-11 19:22:56 +0000
  • 7f4dc93108 Define an empty inline intel_sync_close() in a header for dri2 to match newer intel code instead of putting an ifdef around the call. jsg 2016-09-05 11:20:18 +0000
  • b4ced79982 Remove zaurus specific default VT configuration (it had only 2 VTs) matthieu 2016-09-04 19:13:17 +0000
  • 8113144b81 Remove zaurus keyboard model guenther 2016-09-03 14:58:02 +0000