[PATCH xserver] dmx: fix linking

2017-02-02 Thread Mihail Konev
Regressed-in: bb9128fd ("present: disable page flip") Signed-off-by: Mihail Konev <k@ya.ru> --- Maybe there should be #ifdef-s instead - I only bisected :) randr/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/randr/Makefile.am b/randr/Makefile.am in

Re: [PATCH xserver] dmx: fix linking

2017-02-03 Thread Mihail Konev
On Fri, Feb 03, 2017 at 10:08:03AM +0900, Michel Dänzer wrote: > On 03/02/17 06:57 AM, Mihail Konev wrote: > > Regressed-in: bb9128fd ("present: disable page flip") > > Signed-off-by: Mihail Konev <k@ya.ru> > > --- > > Maybe there should be #ifdef-s i

Re: [PATCH xserver] tests: fix library order comment

2017-02-01 Thread Mihail Konev
Actually those *_SYS_LIBS are missing from LIBADD's in other makefiles, and libtool does no reordering. As the original patch then needs to be reverted anyway, maybe merging the fix would be noisy. On Thu, Feb 02, 2017 at 10:04:03AM +0500, Mihail Konev wrote: > ld.gold ignores --as-nee

[PATCH xserver] tests: fix library order comment

2017-02-01 Thread Mihail Konev
ld.gold ignores --as-needed (Observable by: make -C test tests V=1 CFLAGS='-v') Fixes: b1a69863 ("tests: shuffle around the linking order") Signed-off-by: Mihail Konev <k@ya.ru> --- Ubuntu patches gcc builtin -specs= file (the gcc -dumpspec), but gold ignores the arg. test

Re: [PATCH xserver] dmx: fix linking

2017-02-03 Thread Mihail Konev
On Fri, Feb 03, 2017 at 10:08:03AM +0900, Michel Dänzer wrote: > On 03/02/17 06:57 AM, Mihail Konev wrote: > > Regressed-in: bb9128fd ("present: disable page flip") > > Signed-off-by: Mihail Konev <k@ya.ru> > > --- > > Maybe there should be #ifdef-s i

[PATCH v6 xserver] tests: fixes for non-enable-xorg build

2017-01-31 Thread Mihail Konev
v6: Fix commit descriptions - explain failures, and do not duplicate 'git log -L'. I could reorder libxservertest.la libraries if it's better to do so, it just looks time-consuming. >From 0490a7874b9385f6e076596e0834167357b3e229 Mon Sep 17 00:00:00 2001 From: Mihail Konev <k@ya.ru>

Re: [PATCH v7 xserver] tests: fixes for non-enable-xorg build

2017-01-31 Thread Mihail Konev
v7: add regressed-by lines >From c55acff0f1c9bd67ec67119979589b4982a934d3 Mon Sep 17 00:00:00 2001 From: Mihail Konev <k@ya.ru> Date: Mon, 16 Jan 2017 23:55:36 +0500 Subject: [PATCH v7 xserver 1/3] tests: Fix guards for ld -wrap Fixes XQuartz build.

Re: [PATCH v5 xserver 7/6] tests: fix --disable-xorg build

2017-02-08 Thread Mihail Konev
On Mon, Jan 16, 2017 at 02:47:26PM -0500, Adam Jackson wrote: > On Sat, 2017-01-14 at 15:19 +0500, Mihail Konev wrote: > > Commit ead5064581665ff40c177dd1b447949f1420e209 missed that xi1/ > > and xi2/ were conditioned on XORG, and made xfree86-only tests to be > > built uncon

[PATCH xserver] randr,render: link some necessary symbols into

2017-02-08 Thread Mihail Konev
this broke in e50da50118408a195d4d2e1b39817fe7c4447c56. Somehow this does not result in multiple definition errors. Fixes: 3ef16dfb ("dmx: fix linking") Reported-by: Byeong-ryeol Kim <brofk...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- This requires 3ef16dfb to be reverted first. See

Re: [PATCH xserver] randr,render: link some necessary symbols into

2017-02-08 Thread Mihail Konev
On Thu, Feb 09, 2017 at 10:48:14AM +0500, Mihail Konev wrote: > this patch looks to be making more sense than per-OS adjustments (In the sense it does record "A depends on B", whereas reordering does not, while being a "per-OS-adjustment" too). _

Re: [PATCH xserver] tests: Add missing -l dependencies

2017-02-02 Thread Mihail Konev
On Thu, Feb 02, 2017 at 10:40:07PM +0500, Mihail Konev wrote: > It is worth noting, that it was not ld.bfd that scanning in one :) , please edit ___ xorg-devel@lists.x.org: X.Org development Archi

Re: [PATCH xserver] tests: Add missing -l dependencies

2017-02-02 Thread Mihail Konev
On Thu, Feb 02, 2017 at 10:40:07PM +0500, Mihail Konev wrote: > It is worth noting, that it was not ld.bfd that scanning in one > direction, but rather ld.gold ignoring the --as-needed flag > (which, at the time of testing, was built-in into gcc -dumpspecs). > > Reproducible-by: ma

[PATCH xserver] tests: Add missing -l dependencies

2017-02-02 Thread Mihail Konev
und the linking order") Signed-off-by: Mihail Konev <k@ya.ru> --- Tested with all --enable-... except for: werror, strict-compilation, config-hal, xselinux, xwin, xquartz "make -C test tests" works, only Xdmx fails to link :) hw/xfree86/dri/Makefile.am | 2 ++ mie

Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-24 Thread Mihail Konev
am | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > Should be another libxservertest.la_LIBADD -> tests_LDADD breakage. (The static library was acting like ld's --begin-group ... --end-group for all its LIBADD-s). Reviewed-by: Mihail Konev <k@ya.ru> __

Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-25 Thread Mihail Konev
On Wed, Jan 25, 2017 at 09:28:21AM +0500, Mihail Konev wrote: > On Mon, Jan 23, 2017 at 07:15:46PM +0200, Martin Peres wrote: > > Classic GNU ld resolves symbol dependencies only forward, while GOLD > > seems to work regardless of the specified library order. > > > >

Re: [PATCH v5 xserver 7/6] tests: fix --disable-xorg build

2017-01-30 Thread Mihail Konev
Split and rebased on top of 7617a0a1 version attached. Fixes build failures occuring when not building xfree86 DDX. Works for XWin ./configure --enable-static=yes Works for ./configure --disable-xorg >From 2949b5229dc6557dd12f1b9c12a10b12d7ab97fd Mon Sep 17 00:00:00 2001 From: Mihail Konev

Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-25 Thread Mihail Konev
On Wed, Jan 25, 2017 at 09:28:21AM +0500, Mihail Konev wrote: > (The static library was acting like ld's --begin-group ... --end-group > for all its LIBADD-s). Wrong, this would only apply to .a libraries; but *_SYS_LIBS in question are all "-l*"-s. Instead, libtool was reme

Re: (timeout in ms vs. XSyncValueSubtract) Frozen client, found cause, need advise for fix

2017-02-21 Thread Mihail Konev
On Wed, Feb 22, 2017 at 12:28:19AM +0500, Mihail Konev wrote: > > E.g. there is a typo in XSyncValue.lo definition - it should be uint > instead. Also wrong, the entire post was wrong, it was typo in my source. Mihail ___ xorg-devel@lists.x.o

Re: [PATCH xserver] os,dix: relocate when without dtrace

2017-02-18 Thread Mihail Konev
On Sat, Feb 18, 2017 at 01:24:19PM +0500, Mihail Konev wrote: > On Mon, Feb 13, 2017 at 11:01:39PM -0800, Alan Coopersmith wrote: > > > On 02/ 9/17 09:47 PM, Mihail Konev wrote: > > >> Libtool was moving the *.O libraries in front of all others on > >

Re: [PATCH xserver] configure.ac: use subdir-objects

2017-02-16 Thread Mihail Konev
On Fri, Feb 17, 2017 at 04:08:45AM +0500, Mihail Konev wrote: > Don't know whether mi/miinitext.c is better #included instead, > sending as-is. > They are all probably better included instead. ___ xorg-devel@lists.x.org: X.Org development

Re: [PATCH xserver] os,dix: relocate when without dtrace

2017-02-18 Thread Mihail Konev
On Mon, Feb 13, 2017 at 11:01:39PM -0800, Alan Coopersmith wrote: > > On 02/ 9/17 09:47 PM, Mihail Konev wrote: > >> Libtool was moving the *.O libraries in front of all others on > >> the gcc command line, which was necessiating "ld -r" > >> (so that s

Re: (timeout in ms vs. XSyncValueSubtract) Frozen client, found cause, need advise for fix

2017-02-21 Thread Mihail Konev
On Tue, Feb 21, 2017 at 05:48:19PM +0100, walter harms wrote: > > > > XSyncValueSubtract is doing as expected, > XSyncValue is the simulation of 64bitvalues on 32bit. > see this in hex: > 10001 > -2 > 0 = 4294967295 in .lo > Kind of - it errorneously returns 1

Re: (timeout in ms vs. XSyncValueSubtract) Frozen client, found cause, need advise for fix

2017-02-21 Thread Mihail Konev
On Wed, Feb 22, 2017 at 12:28:19AM +0500, Mihail Konev wrote: > > Kind of - it errorneously returns > > 1 0001 > -0 0002 > 1 > Oh. This shouldn't matter in this case, as only is used. Offtop, sorry. Mihail ___

Re: [PATCH xserver] randr,render: link some necessary symbols into

2017-02-09 Thread Mihail Konev
On Thu, Feb 09, 2017 at 11:16:20AM +0500, Mihail Konev wrote: > per-OS-adjustments Sorry for the screaming; it was not OS/toolchain, but ./configure --enable-dmx --with-dtrace=no With it, there are no custom-built os.O/dix.O, and libtool does not reorder them in front of everything e

[PATCH xserver] dmx: fix linking again by brute-forcing

2017-02-08 Thread Mihail Konev
ENT RANDR RENDER ..." would give the original HashGlyph error. Regressed-in: 3ef16dfb ("dmx: fix linking") Suggested-by: Michel Dänzer <mic...@daenzer.net> Reported-by: Byeong-ryeol Kim <brofk...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- I was probabl

Re: [PATCH xserver] Move dtrace out of os,dix

2017-02-09 Thread Mihail Konev
Tiny portability addition: diff --git a/configure.ac b/configure.ac index efe38883125b..9310160c8b7a 100644 --- a/configure.ac +++ b/configure.ac @@ -73,6 +73,7 @@ dnl version-config.h covers the version numbers so they can be bumped without dnl forcing an entire recompile.x

[PATCH xserver] os,dix: rename *.O to *.a

2017-02-09 Thread Mihail Konev
: 49a26681 ("Add DTrace probe points") Fixes: 3ef16dfb ("dmx: fix linking") Reported-by: Byeong-ryeol Kim <brofk...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- Simpler fix that does the same no-*.O, but another way. (Forgot to mention the libtool's mo

[PATCH xserver] Move dtrace out of os,dix

2017-02-09 Thread Mihail Konev
;) Reported-by: Byeong-ryeol Kim <brofk...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- Makes the both previous "linking into" and "configure reordering" patches unnecessary. Editing makefiles was chosen over configure.ac for faster regeneration a

[PATCH v2 xserver] os,dix: rename *.O to *.a

2017-02-09 Thread Mihail Konev
lso remove dtrace lib from dix/, as only the os/ one was used. Fixes: 49a26681 ("Add DTrace probe points") Fixes: 3ef16dfb ("dmx: fix linking") Reported-by: Byeong-ryeol Kim <brofk...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- v2: - remove dtrace lib - fi

Re: [PATCH v2 xserver] os,dix: rename *.O to *.a

2017-02-10 Thread Mihail Konev
Log of searching for "ld -r" attached, in case it is of any help. On Fri, Feb 10, 2017 at 10:47:29AM +0500, Mihail Konev wrote: > > The dtrace-in-a-separate-dir is preferrable, IMO: > - allows for another dtrace-like additional-objects-compiler > - cleaner makefile >

Re: [PATCH v2 xserver] os,dix: rename *.O to *.a

2017-02-10 Thread Mihail Konev
Changing the To: field unintendedly changed recipients, so resending this as a notification, even through it becomes quite a flood. On Sat, Feb 11, 2017 at 04:15:19AM +0500, Mihail Konev wrote: > Log of searching for "ld -r" attached, in case it is of any help. > > On Fri, Fe

[PATCH xserver] os,dix: relocate when without dtrace

2017-02-14 Thread Mihail Konev
;./configure --enable-dmx --with-dtrace=no" build. Fixes: 49a26681 ("Add DTrace probe points") Fixes: 3ef16dfb ("dmx: fix linking") Reported-by: Byeong-ryeol Kim <brofk...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- Compatible with Solaris, adds comme

[PATCH v6 libX11] Compose sequences for rouble sign

2017-02-10 Thread Mihail Konev
Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. Also add Cyrillic sequences for hryvnia sign. Submitted-by: Victor V. Kustov <coy...@bks.tv> Reviewed-by: Victor V. Kustov <coy...@bks.tv> Signed-off-by: Mihail Konev <k@ya.ru> --- v6: Follow Victor's sug

[PATCH xserver] hw/xfree86: remove incomplete sdksyms.c on error

2017-02-16 Thread Mihail Konev
Previously, if sdksyms.sh was failing, the incorrect sdksyms.c would stay, breaking subsequent build attempts. Signed-off-by: Mihail Konev <k@ya.ru> --- Needed this on Solaris due to missing awk -> gawk symlink. hw/xfree86/Makefile.am | 9 - 1 file changed, 8 inserti

[PATCH xserver] configure.ac: use subdir-objects

2017-02-16 Thread Mihail Konev
the "autoreconf -i" warnings. Automake cannot (re)generate per-object '.Plo' makefile that records the dependencies, if it is in another dir (now that the .Plo is in a 'subdirectory', i.e. ../xyz dir). Work this around by symlinking the source files. Signed-off-by: Mihail Konev <k@ya.ru&g

[PATCH xserver 3/3] tests: Remove what was libxservertest.la for !XORG

2017-01-16 Thread Mihail Konev
Before 704a867f8fb7652a8b7d5569bbe44e188457db4e, when XORG is false, libxservertest.la was not ever linked and only built by 'make check'. Remove it (and its XSERVER_LIBS dependency) to fix the build errors likely caused by ordering of its libraries. Signed-off-by: Mihail Konev <k@ya

[PATCH xserver 1/3] tests: fix guards for ld -wrap

2017-01-16 Thread Mihail Konev
Commit 23f6dbc96e47be6cbeed78cc9ef303987c3e29a9 moved -wrap out of HAVE_LD_WRAP, which made the build fail if linker does not support the flag. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[PATCH xserver 0/3] tests: fixes for non-xfree86 build

2017-01-16 Thread Mihail Konev
Mihail Konev (3): tests: Fix guards for ld -wrap tests: Fix guards for xfree86 tests tests: Remove what was libxservertest.la for !XORG test/Makefile.am | 126 --- test/tests.c | 17 2 files changed, 45 insertions(+), 98

[PATCH xserver 2/3] tests: fix guards for xfree86 tests

2017-01-16 Thread Mihail Konev
Commit ead5064581665ff40c177dd1b447949f1420e209 missed that xi1/ and xi2/ were conditioned on XORG, making them built unconditionally. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 40 ++-- test/tests.c | 17 ++--- 2

[PATCH xserver 2/3] tests: Fix guards for xfree86 tests

2017-01-16 Thread Mihail Konev
Commit ead5064581665ff40c177dd1b447949f1420e209 missed that most of tests are xfree86-specific, making them being built unconditionally. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 40 ++-- test/tests.c | 17 ++--- 2

[PATCH xserver 1/3] tests: Fix guards for ld -wrap

2017-01-16 Thread Mihail Konev
Commit 23f6dbc96e47be6cbeed78cc9ef303987c3e29a9 moved -wrap out of HAVE_LD_WRAP, which made the build fail if linker does not support the flag. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[PATCH xserver 2/3] tests: Fix guards for xfree86 tests

2017-01-16 Thread Mihail Konev
Commit ead5064581665ff40c177dd1b447949f1420e209 missed that most of tests are xfree86-specific, making them being built unconditionally. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 40 ++-- test/tests.c | 17 ++--- 2

[PATCH xserver 0/3] tests: fixes for non-xfree86 build

2017-01-16 Thread Mihail Konev
Mihail Konev (3): tests: Fix guards for ld -wrap tests: Fix guards for xfree86 tests tests: Remove what was libxservertest.la for !XORG test/Makefile.am | 126 --- test/tests.c | 17 2 files changed, 45 insertions(+), 98

[PATCH xserver 3/3] tests: Remove what was libxservertest.la for !XORG

2017-01-16 Thread Mihail Konev
Before 704a867f8fb7652a8b7d5569bbe44e188457db4e, when XORG is false, libxservertest.la was not ever linked and only built by 'make check'. Remove it (and its XSERVER_LIBS dependency) to fix the build errors likely caused by ordering of its libraries. Signed-off-by: Mihail Konev <k@ya

[PATCH xserver 1/3] tests: fix guards for ld -wrap

2017-01-16 Thread Mihail Konev
Commit 23f6dbc96e47be6cbeed78cc9ef303987c3e29a9 moved -wrap out of HAVE_LD_WRAP, which made the build fail if linker does not support the flag. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[PATCH xserver] input: fix VT switch disabling devices

2016-09-25 Thread Mihail Konev
able stall. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97880 Regressed-in: 52d6a1e832a5e62289dd4f32824ae16a78dfd7e8 Signed-off-by: Mihail Konev <k@ya.ru> --- The patch could be wrong with regard to namings (InputThreadWait vs. input_wait) and multiple input threads (struct InputT

Correction

2016-09-26 Thread Mihail Konev
> Make sure device removes are processed before doing a VT switch, > so that no removes are "overwritten" with attachments afterwards > (before the main thread releases the input lock, letting them be > processed), which would leave affected devices disabled. The dev->state is not "overwritten

[PATCH xserver] xkb: fix releasing overlay while keydown

2016-11-06 Thread Mihail Konev
release Tilde Keyboard input in the new terminal window(s) would be locked until another Insert+Tilde . Signed-off-by: Mihail Konev <k@ya.ru> --- On Sun, Nov 06, 2016 at 12:03:47AM +0500, Mihail Konev wrote: > + > +if (overlay_enabled) > +

Re: [PATCH v4 xserver] xkb: fix releasing overlay while keydown

2016-11-06 Thread Mihail Konev
There is the log produced with debugging patch to illustrate the logic in v4. I'm not sure if doubled key events are guaranteed behaviour, and not machine-specific one. Tilde down There the "`" is sent [ 12894.309] (II) XkbProcessKeyboardEvent: rel:0 ov_a:0 k_ov:0 [ 12894.309] (II)

[PATCH v4 xserver] xkb: fix releasing overlay while keydown

2016-11-06 Thread Mihail Konev
release Tilde Keyboard input in the new terminal window(s) would be locked until another Insert+Tilde . Reported-by: Mariusz Mazur <mariusz.g.ma...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- v3 was still incorrect and did not done what it was supposed to. This version is

[PATCH xserver] xkb: fix releasing overlay while keydown

2016-11-05 Thread Mihail Konev
key { [ Overlay1_Enable ] }; key { overlay1 = }; // Insert+1 => 2 key { overlay1 = }; // Insert+~ => XF86LaunchA }; xkb_geometry { include "pc(pc104)" }; }; Signed-off-by: Mihail Konev <k@ya.ru> --- Seems to work. The comm

[PATCH v2 xserver] xkb: fix releasing overlay while keydown

2016-11-05 Thread Mihail Konev
key { [ Overlay1_Enable ] }; key { overlay1 = }; // Insert+1 => 2 key { overlay1 = }; // Insert+~ => XF86LaunchA }; xkb_geometry { include "pc(pc104)" }; }; Signed-off-by: Mihail Konev <k

Re: [PATCH v2 xserver] xkb: fix releasing overlay while keydown

2016-11-05 Thread Mihail Konev
On Sun, Nov 06, 2016 at 12:03:47AM +0500, Mihail Konev wrote: > +if (overlay_enabled) > +overlay_keys[which_overlay][(unsigned char)key] = > behavior.data; > +else > +behavior_data = overlay_keys[which_overlay][(unsig

Re: Debugging keyboard overlay+xbindkeys

2016-11-05 Thread Mihail Konev
On Sat, Nov 05, 2016 at 03:43:49AM +0500, Mihail Konev wrote: > On Sat, Nov 05, 2016 at 03:26:54AM +0500, Mihail Konev wrote: > > E.g. you cannot have caps+y be 'yen' and 'YEN' easily. > (Assuming that Unicode 'yen' does not capitalize to 'YEN'). > E.g. caps+y -> ':' ; caps+Y

Re: Debugging keyboard overlay+xbindkeys

2016-11-04 Thread Mihail Konev
On Fri, Nov 04, 2016 at 08:41:28PM +0100, Mariusz Mazur wrote: > Question is, was it there for 22 years cause it's unfixable or because > nobody uses overlay? :) Rather the latter, as overlay does not play nicely with shifts and non-'simple' characters. E.g. you cannot have caps+y be 'yen' and

Re: Debugging keyboard overlay+xbindkeys

2016-11-04 Thread Mihail Konev
On Sat, Nov 05, 2016 at 03:26:54AM +0500, Mihail Konev wrote: > E.g. you cannot have caps+y be 'yen' and 'YEN' easily. (Assuming that Unicode 'yen' does not capitalize to 'YEN'). E.g. caps+y -> ':' ; caps+Y -> '@' . ___ xorg-devel@lists.x.o

Re: Debugging keyboard overlay+xbindkeys

2016-11-04 Thread Mihail Konev
On Sat, Nov 05, 2016 at 03:26:54AM +0500, Mihail Konev wrote: > But maybe I'm wrong and there are applications of this functionality. Didn't read the 'distro' paragraph ;) ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.

Re: Debugging keyboard overlay+xbindkeys

2016-11-05 Thread Mihail Konev
On Sun, Nov 06, 2016 at 12:37:44AM +0500, Mihail Konev wrote: > The only reason not to use arrow-keysyms-on-levels is that > MonoDevelop, Java apps, VTE do not recognize them as "arrows", > i.e. you cannot shift-select, or shift-scroll. > > A possible solution to avoid a

[PATCH v2 xserver] modesetting: fix glamor ifdef

2016-10-14 Thread Mihail Konev
Add a missing ifdef needed for --disable-glamor. Regressed-in: e8695100b17b758359fc4897dbe995231ed224fc Signed-off-by: Mihail Konev <k@ya.ru> --- v2: edit description hw/xfree86/drivers/modesetting/driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/drivers/modes

[PATCH v3 xserver] modesetting: fix glamor ifdef

2016-10-14 Thread Mihail Konev
Add a missing ifdef needed for --disable-glamor. Signed-off-by: Mihail Konev <k@ya.ru> --- v2,3: edit description Perhaps Regressed-in shouldn't be there. hw/xfree86/drivers/modesetting/driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/drivers/modesetting/dr

[PATCH v5] Compose and dead_currency sequences for rouble.

2016-11-26 Thread Mihail Konev
Adds peseta sequences for uniformity. Submitted-by: Victor Kustov <coy...@bks.tv> Signed-off-by: Mihail Konev <k@ya.ru> --- nls/en_US.UTF-8/Compose.pre | 28 1 file changed, 28 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8

Re: [PATCH v4 xserver] xkb: fix releasing overlay while keydown

2016-11-26 Thread Mihail Konev
On Sun, Nov 27, 2016 at 12:55:40AM +0500, Mihail Konev wrote: > Is adding an Xinput property the only way? Rather, should it be an Xi property, or static arrays in xkb are enough? ___ xorg-devel@lists.x.org: X.Org development Archives: h

[PATCH v2 app/setxkbmap] Add ~/.xkb and xdg dir to search path

2016-11-21 Thread Mihail Konev
Signed-off-by: Mihail Konev <k@ya.ru> --- Whichever directories get added, they should not differ from libxkbcommon not to "break per-user installs" between setxkbmap and users of the latter :) setxkbmap.c | 36 1 file changed, 36 ins

[PATCH app/setxkbmap] Add $HOME/.xkb to default search path

2016-11-16 Thread Mihail Konev
Signed-off-by: Mihail Konev <k@ya.ru> BugLink: https://github.com/xkbcommon/libxkbcommon/issues/40 --- setxkbmap.c | 9 + 1 file changed, 9 insertions(+) diff --git a/setxkbmap.c b/setxkbmap.c index cf0f02d6e704..f5b9f637a136 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -50,6

Re: [PATCH app/setxkbmap] Add $HOME/.xkb to default search path

2016-11-16 Thread Mihail Konev
Mistake, sorry. Of course this is useless alone. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH libxkbcommon 1/2] src/context: add XDG search path

2016-11-17 Thread Mihail Konev
Search in $XDG_CONFIG_HOME/xkb, falling back to ~/.config/xkb Signed-off-by: Mihail Konev <k@ya.ru> --- src/context.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/context.c b/src/context.c index 50993e108af6..e9e939b6b0eb 100644 ---

[PATCH libxkbcommon 2/2] src/context: Remove ~/.xkb from search path

2016-11-17 Thread Mihail Konev
Signed-off-by: Mihail Konev <k@ya.ru> --- src/context.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/context.c b/src/context.c index e9e939b6b0eb..c9879a834074 100644 --- a/src/context.c +++ b/src/context.c @@ -76,7 +76,7 @@ XKB_EXPO

[PATCH app/setxkbmap 1/2] Add ~/.xkb to search path

2016-11-17 Thread Mihail Konev
Also look in $XDG_CONFIG_HOME/xkb, falling back to ~/.config/xkb Signed-off-by: Mihail Konev <k@ya.ru> --- configure.ac | 3 +++ setxkbmap.c | 23 +++ 2 files changed, 26 insertions(+) diff --git a/configure.ac b/configure.ac index 65a4ab6ea9b7..1cbded5e0af7

[PATCH app/setxkbmap 2/2] Remove ~/.xkb from search path

2016-11-17 Thread Mihail Konev
Signed-off-by: Mihail Konev <k@ya.ru> --- setxkbmap.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/setxkbmap.c b/setxkbmap.c index 7cac2ce5207c..5d8a0a47baa4 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -397,15 +397,9 @@ parseArgs(int argc, char

Re: [PATCH v3] Compose: add rouble currency

2016-11-03 Thread Mihail Konev
Equals p/P' to rouble. >From ae1bf2fbd2c3893366198a80aed8743af656ee88 Mon Sep 17 00:00:00 2001 From: Victor Kustov <coy...@bks.tv> Date: Mon, 17 Oct 2016 19:44:36 + Subject: [PATCH 1/4] Compose: add rouble currency sequence Signed-off-by: Victor Kustov <coy...@bks.tv> Reviewed-by: Mi

Re: [PATCH v4] Compose: add rouble currency

2016-11-03 Thread Mihail Konev
0 Subject: [PATCH 1/5] Compose: add rouble currency sequence Signed-off-by: Victor Kustov <coy...@bks.tv> Reviewed-by: Mihail Konev <k@ya.ru> --- nls/en_US.UTF-8/Compose.pre | 4 1 file changed, 4 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.p

Re: [PATCH] inputthread: Fix inputthread not listening if a fd gets re-added immediately after removal

2016-10-10 Thread Mihail Konev
*/ > +dev->state = device_state_running; > } else { > dev = calloc(1, sizeof(InputThreadDevice)); > if (dev == NULL) { > -- > 2.9.3 > On 6 Oct 2016, Hans de Goede wrote: > On 24-09-16 19:55, Mihail Konev wrote: > > <..> > >

Re: Request changes in Compose.pre

2016-10-10 Thread Mihail Konev
On Wed Oct 5 09:40:28 UTC 2016, Victor V. Kustov wrote: > Sorry for noise, but I'm discouraged by silence. Maybe I need send > patch by another address or maybe I doing wrong something... Please > give me a tips how I may do it correctly. There are the steps supposed to be performed.

[PATCH xserver] modesetting: add missing ifdef GLAMOR

2016-10-10 Thread Mihail Konev
This fixes --disable-glamor failing to build. Regressed-in: e8695100b17b758359fc4897dbe995231ed224fc Signed-off-by: Mihail Konev <k@ya.ru> --- hw/xfree86/drivers/modesetting/driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/x

Re: [PATCH xserver] modesetting: add missing ifdef GLAMOR

2016-10-10 Thread Mihail Konev
This seems to have been merged shortly after 1.19 RC1, i.e. non-critical bugs deadline. So it is a post-deadline fix for critical regression which occured in a non-critical fix (which happened to be merged too-close to crit line). ___

[PATCH] Add git format.subjectPrefix to modules

2016-10-10 Thread Mihail Konev
1c1c33cd47693 Mon Sep 17 00:00:00 2001 > From: Mihail Konev <k@ya.ru> > Date: Mon, 10 Oct 2016 15:01:11 + > Subject: [PATCH xcb/proto] add git format.subjectPrefix to autogen.sh > > Signed-off-by: Mihail Konev <k@ya.ru> > --- > autogen.sh | 3 +++ >

Re: [PATCH] inputthread: Fix inputthread not listening if a fd gets re-added immediately after removal

2016-10-11 Thread Mihail Konev
On Tue Oct 11 09:30:16 UTC 2016, Hans de Goede wrote: > I've attached another patch (on top of my previous one) for you to try, > I've good hope that this will fix your issue. Fixes #97880, thanks. ___ xorg-devel@lists.x.org: X.Org development

[PATCH modules v2] autogen: add default patch prefix

2016-10-13 Thread Mihail Konev
Took correct wording from libxtrans. Removed obsolete patches. all.tar.xz Description: application/xz ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH xserver] xwin: make glx optional again

2016-10-13 Thread Mihail Konev
Commit 501d8e2b removed --enable-aiglx, but made xwin always be --enable-glx. Signed-off-by: Mihail Konev <k@ya.ru> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4bb014d0d837..25168cc67306 100644 --- a/config

[PATCH v2] Compose: add rouble currency

2016-10-17 Thread Mihail Konev
Victor Kustov <coy...@bks.tv> Reviewed-by: Mihail Konev <k@ya.ru> --- nls/en_US.UTF-8/Compose.pre | 4 1 file changed, 4 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre index adc24fb5b5c2..d7dc74140989 100644 --- a/nls/en_US.UTF-8/Com

[PATCH 1/2] Compose: add ruble currency

2016-10-17 Thread Mihail Konev
From: Victor Kustov <coy...@bks.tv> Signed-off-by: Victor Kustov <coy...@bks.tv> Reviewed-by: Mihail Konev <k@ya.ru> --- nls/en_US.UTF-8/Compose.pre | 4 1 file changed, 4 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre

[PATCH 2/2] Compose: cyrillic ruble sequence

2016-10-17 Thread Mihail Konev
Signed-off-by: Mihail Konev <k@ya.ru> --- nls/en_US.UTF-8/Compose.pre | 4 1 file changed, 4 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre index 041ae0f663a0..2c23928a6f2e 100644 --- a/nls/en_US.UTF-8/Compose.pre +++ b/nls/en_US.UTF-8/Compo

[PATCH xserver] os/inputthread: Ensure pollfd refreshing

2016-10-15 Thread Mihail Konev
file being already polled, should it have a fd for which the "please-remove" has not been procesed yet. In this case, no further events would be seen from the device. Signed-off-by: Mihail Konev <k@ya.ru> Regressed-in: 52d6a1e832a5e62289dd4f32824ae16a78dfd7e8 Bugzilla: ht

[PATCH xserver] tests: Build test programs only when testing

2016-12-10 Thread Mihail Konev
Signed-off-by: Mihail Konev <k@ya.ru> --- In case it is the [exact] opposite of the effect intended (test linking of test programs on every build), should then this be conditioned as a ./configure option? test/Makefile.am | 2 +- test/xi1/Makefile.am | 2 +- test/xi2/Makefile.

[PATCH v2 xserver] tests: Fix DEPENDENCIES typo

2017-01-13 Thread Mihail Konev
704a867 preserves DEPENDENCIES = LIBADD, but it breaks user-supplied -l/-L. Remove the assignment, as automake already does this. Buglink: https://lists.x.org/archives/xorg-devel/2017-January/052320.html Reported-by: Michel Dänzer <mic...@daenzer.net> Signed-off-by: Mihail Konev <k.

[PATCH xserver] tests: Fix LDADD

2017-01-13 Thread Mihail Konev
704a867 tries to preserve libxservertest_la_LIBADD violations, but it breaks some use cases. Follow the automake manual. Buglink: https://lists.x.org/archives/xorg-devel/2017-January/052320.html Reported-by: Michel Dänzer <mic...@daenzer.net> Signed-off-by: Mihail Konev <k@ya.ru&g

[PATCH v5 xserver 7/6] tests: fix --disable-xorg build

2017-01-14 Thread Mihail Konev
. Commit 23f6dbc96e47be6cbeed78cc9ef303987c3e29a9 missed that -wrap arguments to 'ld' could only be present when HAVE_LD_WRAP is true. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 107 ++- test/tests.c | 9 ++--- 2

Re: [PATCH xserver] tests: link against libos too

2017-01-14 Thread Mihail Konev
t: [PATCH xserver] tests: Fix without-dtrace build Signed-off-by: Giuseppe Bilotta <giuseppe.bilo...@gmail.com> Reviewed-by: Mihail Konev <k@ya.ru> Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/test/Makefile.

[PATCH v3 xserver] tests: Fix typo

2017-01-13 Thread Mihail Konev
Remove redundrant/incorrect automake assignment. Buglink: https://lists.x.org/archives/xorg-devel/2017-January/052320.html Reported-by: Michel Dänzer <mic...@daenzer.net> Signed-off-by: Mihail Konev <k@ya.ru> --- v3: reword test/Makefile.am | 1 - 1 file changed, 1 deletion(-)

[PATCH v4 xserver 3/6] tests: Convert test/xi2/ to single binary

2017-01-12 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Signed-off-by: Mihail Konev <k@ya.ru> --- test/tests.h| 19 test/xi2/.gitignore | 12 + test/xi2/Makef

[PATCH v4 xserver 5/6] tests: Move test/{xi1,xi2}/tests to test/

2017-01-12 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Prevents 'make -j' from waiting until last job in xi*/ compeletes. Signed-off-by: Mihail Konev <k@ya.ru> --- configure.ac | 2 -- test/Makefile.am

[PATCH v4 xserver 4/6] tests: Convert test/ to single binary

2017-01-12 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Signed-off-by: Mihail Konev <k@ya.ru> --- test/.gitignore | 12 +--- test/Makefile.am | 51 ++- test/f

[PATCH v4 xserver 0/6] Use single test binary

2017-01-12 Thread Mihail Konev
v3: Rename 'AM_CPPFLAGS +=' -> test_CPPFLAGS (fixes build of 2/6, breaks 5/6). v4: Rename COMMON_LDFLAGS -> COMMON_LD_FLAGS (fixes automake warning). Add 'test_CPPFLAGS += AM_CPPFLAGS' (fixes 5/6 build). Mihail Konev (6): tests: Refactor wraps into protocol-common.c tests: Conver

Re: [PATCH xserver 3/6] tests: Convert test/xi2/ to single binary

2017-01-12 Thread Mihail Konev
On Mon, Jan 09, 2017 at 01:29:17PM +1000, Peter Hutterer wrote: > > +#ifndef INSIDE_PROTOCOL_COMMON > > + > > +extern int enable_XISetEventMask_wrap; > > +extern int enable_GrabButton_wrap; > > + > > +#endif /* INSIDE_PROTOCOL_COMMON */ > > something tells me this woudl be nicer solved by just

[PATCH v4 xserver 1/6] tests: Refactor wraps into protocol-common.c

2017-01-12 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Prepares for joining test/xi2/protocol-* into a single binary. Signed-off-by: Mihail Konev <k@ya.ru> --- test/xi1/Makefile.am | 3 ++- test/xi1/pr

[PATCH v4 xserver 6/6] tests: Remove obsolete libxservertest.la

2017-01-12 Thread Mihail Konev
libcommon.la. Signed-off-by: Mihail Konev <k@ya.ru> --- test/Makefile.am | 51 +-- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 77e5fee67ca2..79b3f1c0a19b 100644 --- a/test/Makef

[PATCH v4 xserver 2/6] tests: Convert test/xi1/ to single binary

2017-01-12 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Signed-off-by: Mihail Konev <k@ya.ru> --- test/tests-common.c | 33 test/tests-common.h | 9

Re: [PATCH xserver] tests: Avoid libtool message

2017-01-12 Thread Mihail Konev
On Thu, Jan 12, 2017 at 01:36:56PM -0500, Adam Jackson wrote: > On Tue, 2017-01-03 at 23:40 +0500, Mihail Konev wrote: > > The "copying selected object files" message appears as some source > > files have the same name, and some objects are included twice. > >

[PATCH v5 xserver] xkb: fix releasing overlay while keydown

2016-11-30 Thread Mihail Konev
be locked until another Insert+Tilde . Reported-by: Mariusz Mazur <mariusz.g.ma...@gmail.com> Signed-off-by: Mihail Konev <k@ya.ru> --- include/xkbsrv.h | 8 xkb/xkbInit.c| 9 + xkb/xkbPrKeyEv.c | 28 +++- 3 files changed, 40 insert

Re: Timings

2017-01-06 Thread Mihail Konev
On Wed, Jan 04, 2017 at 11:37:51AM +0500, Mihail Konev wrote: > In mesurements below, caches were warm (i.e. configure; make; make; touch; > time make). Mistake - I confused ccache with drive cache; the latter is completely irrelevant. ___ xorg

  1   2   >