summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-25keysymdef.h: delete fourteen long-deprecated symbol namesBenno Schulenberg
They have been deprecated for more than twenty years, and were either misspelled or too specifically named. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
2023-03-25keysymdef.h: name the masculine ordinal indicator similar to feminine oneBenno Schulenberg
The symbolic name for the feminine ordinal indicator is 'ordfeminine', so the name for the masculine ordinal indicator should be 'ordmasculine' instead of just 'masculine'. Deprecate this latter form. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
2023-03-25keysymdef.h: add correctly spelled names for the left and right guillemetBenno Schulenberg
And deprecate the misspelled ones -- guillemots are seabirds [1], guillemets are the sideways double chevrons [2]. [1] https://en.wikipedia.org/wiki/Guillemot [2] https://en.wikipedia.org/wiki/Guillemet This will allow to finally use properly spelt symbol names in the layouts of xkeyboard-config. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
2023-03-19XvMCproto.h: remove ; from the end of sz_* definitionsAlan Coopersmith
Fixes compiler errors of "unexpected ';' before ')'" when calling the SIZEOF macro on XvMC requests. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-03-16Only install PM_spec when legacy protocol support is enabledAlan Coopersmith
PM_spec is the spec for the Proxy Management Protocol, and the other files for that protocol are only installed if legacy protocols are requested from configure or meson Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-24Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-01-10meson: replace deprecated source_root with new project_source_rootAlan Coopersmith
Fixes deprecation warning for meson 0.56.0 and later. Raises minimum meson version to 0.56.0. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-01-10meson: replace join_paths with /Alan Coopersmith
Sets minimum meson version to 0.50.0 due to use of: * 0.49.0: {'/ with string arguments'} * 0.50.0: {'install arg in configure_file'} Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-01-10gitlab CI: run meson instead of ninja for test & install stepsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-29Remove _X_NONNULL macroAlan Coopersmith
We could not find any evidence it was ever used, but defining it caused C++11 compilers to complain: /usr/X11R6/include/X11/Xfuncproto.h:173:24: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define _X_NONNULL(args...) __attribute__((nonnull(args))) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-12Merge branch 'off-by-one'Olivier Fourdan
2022-09-08DRI3: fix off-by-one DRI3 opcodes in descriptionEmil Velikov
The actual protocol and implementation details are unaffected - both here and in xcb. Only the description/diagram section is off. Noticed while skimming through the new 1.3 additions. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2022-08-28presentproto: Minor typo fixesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-08-09xorgproto 2022.2xorgproto-2022.2Olivier Fourdan
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2022-08-05Add the XWAYLAND extensionPeter Hutterer
This extension exists to serve one purpose: reliably identifying Xwayland. Previous attempts at doing so included querying root window properties, output names or input device names. All these attempts are somewhat unreliable. Instead, let's use an extension - where that extension is present we have an Xwayland server. Clients should never need to do anything but check whether the extension exists through XQueryExtension/XListExtensions. This extension provides a single QueryVersion request only, and that is only to provide future compatibility if we ever need anything other than "this extension exists" functionality. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2022-07-24Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-23Win32: Fix collision over 'ControlMask'Jon Turney
Workaround the collision between ControlMask #defined in X11/X.h and ControlMask used as the name of a structure member in w32api/processthreadsapi.h in w32api 10.0.0
2022-07-23gitlab CI: enable gitlab's builtin static analysisAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-23gitlab CI: enable commit & merge request checksAlan Coopersmith
Uses ci-fairy from freedesktop/ci-templates Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-06-08DBE spec: make titles more consistent in Encoding sectionAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-06-08DBE spec: define j in DBEGetVisualInfo reply encodingAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-25DRI3: Add DRI3SetDRMDeviceInUseAustin Shafer
DRI3SetDRMDeviceInUse is a hint that lets a client tell the server what DRM device it is currently using. This lets the server make more informed decisions for what modifiers to return to the client. This is needed for proper linux dmabuf feedback with Xwayland
2022-04-21xorgproto 2022.1xorgproto-2022.1Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-03-25XF86keysyms.h: add new keycodes from kernel v5.17Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-11-09XF86keysyms.h: add new keycodes from kernel v5.13Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-09-15xorgproto 2021.5xorgproto-2021.5Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-09-15specs: Specify XI 2.4 as releasedPovilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-06-15Define LONG64 if __SIZEOF_LONG__ indicates 64-bit longAlex Richardson
All modern compilers (GCC>=4.6, Clang>=3.0) define this macro, so we can use it to detect 64-bit longs without adding to the architecture list. This change allows me to successfully run a simple X11 window on a 64-bit FreeBSD RISC-V QEMU VM via SSH forwarding. Without this change I get an error that DISPLAY cannot be opened. Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
2021-05-30xorgproto-2021.4.99.2xorgproto-2021.4.99.2Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-30Bump inputproto to 2.3.99.2Povilas Kanapickas
2021-05-17specs: Fix type of GESTURECLASS num_touches memberPovilas Kanapickas
This was a copy-paste error from TOUCHCLASS. The protocol structs use uint8_t for num_touches. Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-17specs: Fix type of TOUCHCLASS num_touches memberPovilas Kanapickas
The actual protocol structs use uint8_t. Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-15Bump inputproto to 2.3.99.1Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-15specs: Specify XI 2.4 as unreleasedPovilas Kanapickas
TODO, while useful for grepping, does not actually mean anything, so completely useless. Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-15xorgproto-2021.4.99.1xorgproto-2021.4.99.1Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-11specs: Add support for gesture events as XI 2.4Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-11include: Add support for XI 2.4 gesture input eventsPovilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-04-30xorgproto 2021.4xorgproto-2021.4Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-04-30gitlab CI: check that the autotools and meson versions are in syncPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-04-29xfixes: Add ClientDisconnectModeOlivier Fourdan
The Xserver itself is capable of terminating itself once all X11 clients are gone, yet in a typical full session, there are a number of X11 clients running continuously (e.g. the Xsettings daemon, IBus, etc.). Those always-running clients will prevent the Xserver from terminating, because the actual number of X11 clients will never drop to 0. To solve this issue directly at the Xserver level, this add new entries to the XFixes extension to let the X11 clients themselves specify the disconnect mode they expect. Typically, those X11 daemon clients would specify the disconnect mode XFixesClientDisconnectFlagTerminate to let the Xserver know that they should not be accounted for when checking the remaining clients prior to terminate. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2021-04-16scripts: exit with 77 if python-libevdev is missingPeter Hutterer
This way we pass make check/ninja test even where the module is not available See https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/31#note_879823 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-11Deprecate XK_approxeq and XK_notapproxeq.Pierre Le Marre
Fixes #20
2021-03-10gitlab CI: add a job to compare meson and autotools standard installsPeter Hutterer
Build and install with meson, build and install with autotools and then run diff to compare the two directory trees. They should be the same. This does not install the legacy protocols, they're behind a configure switch. The spec-build is disabled in autotools because we know meson doesn't do that yet, so no point in comparing those. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10meson.build: install the protocol .txt files in docPeter Hutterer
This now matches the autotools installation Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10meson.build: use built-in variable substitution handling instead of sedPeter Hutterer
Generated outputs are identical Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10Integrate the keysym verifier into make checkPeter Hutterer
autotools can't pass arguments, so let's default to 'verify' in the script itself and for distcheck to succeed, we need to set an environment variable to search for the header (it's an out-of-tree build). And due to the very faint chance of there being no python during the xorgproto build, let's make that conditional too. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10Makefile.am: move the man page rules to the topPeter Hutterer
More readable grouping this way Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10Makefile.am: reorder the protocols to group by default and LEGACYPeter Hutterer
An alphabetically ordered list is nice, but it's harder to figure out based on a diff whether a commit affects the legacy protocols or not. Let's group those separately, first the normal protocol files, then all the legacy-only ones. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-01Corrected comments in keysymdef.h.Hannah Rittich
2021-02-25xorgproto-2021.3xorgproto-2021.3Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>