Commit graph

184 commits

Author SHA1 Message Date
Santiago Gimeno
6822d759f0 Add RaiseWindow request 2012-08-06 10:40:44 +02:00
Andrey Sidorov
7312baef09 Merge pull request #11 from santigimeno/master
A couple of fixes in unpackEvent
2012-08-04 15:53:39 -07:00
Santiago Gimeno
a98de8d47c Add revertTo param 2012-08-05 00:01:22 +02:00
Santiago Gimeno
5d4caccca8 A couple of fixes in unpackEvent 2012-08-04 22:27:03 +02:00
Santiago Gimeno
fd939c985d Add SetInputFocus 2012-08-03 15:21:29 +02:00
Santiago Gimeno
2df9069ef1 Declare some more undeclared variables
So they don't pollute the global object.
2012-07-24 09:57:48 +02:00
Andrey Sidorov
eeba3b1796 inherit errors from Error 2012-07-17 14:47:17 +10:00
Andrey Sidorov
8e1f501701 return roundtrip time in ping() callback 2012-07-17 01:21:28 +10:00
Andrey Sidorov
f3681b9aa2 ping() and close() for connection 2012-07-16 19:48:03 +10:00
Andrey Sidorov
39d905df5f long stacktrace benchmarks in comments 2012-07-16 14:31:01 +10:00
Andrey Sidorov
7df3e1d3fd disable long stack trace to improve performance 2012-07-16 14:26:33 +10:00
Andrey Sidorov
2decda57fd handle sequence overflow (more than 65535 requests in one connection) 2012-07-16 14:18:52 +10:00
Santiago Gimeno
d5ad3c4134 Declare cookieNum with var so it is not global 2012-07-12 17:27:58 +02:00
Santiago Gimeno
75e3a3ddd3 Add MoveResizeWindow request 2012-07-11 13:38:03 +02:00
Andrey Sidorov
d2707f8d38 PolyFillArc request 2012-06-15 11:00:13 +10:00
Andrey Sidorov
e24ad5dc9f fix for DeletePropery request 2012-06-13 15:16:09 +10:00
Andrey Sidorov
313aa8a1cc global variable pollution fix 2012-06-13 13:12:50 +10:00
Andrey Sidorov
cfbf71c6b8 ConvertSelection request 2012-06-11 23:59:40 +10:00
Andrey Sidorov
de99f7ec14 SelectionRequest and SelectionNotify events 2012-06-11 23:59:09 +10:00
Andrey Sidorov
5315432ce4 AppleWM events 2012-06-11 23:57:51 +10:00
Andrey Sidorov
f5303b0ad9 PropertyNotify and SelectionClear unpackers 2012-06-11 17:05:23 +10:00
Andrey Sidorov
06d87c5908 Get/SetSelectionOwner requests 2012-06-09 14:15:19 +10:00
Andrey Sidorov
771330201b signed x,y in CreateWindow, value instead of array in ListProps 2012-06-09 13:52:14 +10:00
Andrey Sidorov
93c09e553e ListProperties request 2012-06-08 23:13:01 +10:00
Andrey Sidorov
5b6fd461ac return if no extension present 2012-06-08 19:27:27 +10:00
Andrey Sidorov
5dec4c29b7 SetScreenSaver request 2012-06-08 15:00:13 +10:00
Andrey Sidorov
0b68bbbdb0 initial support to add event parsers from extension 2012-06-08 14:59:35 +10:00
Andrey Sidorov
58e526d913 SCREEN-SAVER extension 2012-06-08 14:57:24 +10:00
Andrey Sidorov
5d6bdee7de DamageNotify event decoder 2012-06-07 23:09:27 +10:00
Andrey Sidorov
d7765b01bf FrameGetRect, FrameHitTest requests 2012-06-07 12:17:24 +10:00
Andrey Sidorov
41ceeb67d8 AppleWM extension 2012-06-05 12:56:02 +10:00
Andrey Sidorov
3eaaadd0da global variable leak test 2012-06-01 18:17:26 +10:00
Andrey Sidorov
ca5efc1941 KillKlient and ForceScreenSaver requests 2012-06-01 11:57:20 +10:00
Andrey Sidorov
33775da6df connect using idcorrect DISPLAY 2012-06-01 00:00:31 +10:00
Andrey Sidorov
5098763855 global object pollution fixed 2012-05-31 19:20:38 +10:00
Andrey Sidorov
0fd0e4485a first integration test 2012-05-31 12:53:45 +10:00
Andrey Sidorov
f40eb4e3d2 XC-MISC extension 2012-05-31 11:06:46 +10:00
Andrey Sidorov
b0931f1feb SHAPE extension 2012-05-31 11:05:51 +10:00
Andrey Sidorov
1a82cc2141 fix for GetOverlayWindow callback 2012-05-29 16:32:43 +10:00
Andrey Sidorov
fba32b442a correct size for all requests 2012-05-29 15:56:41 +10:00
Andrey Sidorov
31194398bc DAMAGE and Composite extensions 2012-05-29 09:56:40 +10:00
Andrey Sidorov
3298795a7b use padded 4 bytes for all CreatePicture parameters 2012-05-01 13:11:40 +10:00
Andrey Sidorov
93cec8ecc7 load BigReq extansion by default 2012-05-01 13:08:19 +10:00
Andrey Sidorov
0c2cdeb884 ChangeGC and ListFonts requests 2012-04-18 15:07:03 +10:00
Andrey Sidorov
f2c3090e9a extra depth argunebt in CreateWindow 2012-04-11 16:53:27 +10:00
Andrey Sidorov
4a1964febb all callbacks now have error as first argument 2012-04-11 16:50:14 +10:00
Andrey Sidorov
e53a974668 constants added 2012-04-11 16:49:37 +10:00
Andrey Sidorov
15bbd67965 end event in client 2012-04-11 16:49:24 +10:00
Andrey Sidorov
bc641f3bce shift pixel 8bits left in AllocColor result 2012-04-11 16:43:58 +10:00
Andrey Sidorov
c5c5d973b5 make borderWidth, class, visual and depth arguments optional defaults to 0 2012-04-11 11:29:45 +10:00
Andrey Sidorov
c26bc6b47d initial X bridge library code 2012-04-05 12:36:38 +10:00
Andrey Sidorov
79596460c8 pixel_with -> pixel_width typo 2012-02-28 17:34:11 +11:00
Andrey Sidorov
a6cb1c2629 more event decoders 2012-02-28 17:32:28 +11:00
Andrey Sidorov
270c30f9e5 CreateColormap, ResizeWindow, MoveWindow, GetImage, GetWindowAttributes requests 2012-02-28 17:31:41 +11:00
Andrey Sidorov
b7a6c8b190 ChangeWindowAttributes, ChangeSaveSet, ReparentWindow requests 2012-02-03 20:45:20 +11:00
Andrey Sidorov
b35752cd28 fix in connection code 2012-01-20 14:37:08 +11:00
Andrey Sidorov
1123cfd466 initial ConfigureWindow implementation 2012-01-18 16:49:29 +11:00
Andrey Sidorov
3732cc4e20 keyboard event 2012-01-18 16:48:54 +11:00
Andrey Sidorov
20c969d9f7 python-xlib link 2011-12-31 09:02:35 +11:00
Andrey Sidorov
f2f52d92f9 extra fix for $DISPLAY parsing 2011-12-16 09:36:00 +11:00
Andrey Sidorov
f5a65e5a42 open correct socket on local OSX display 2011-12-15 18:05:11 +11:00
Andrey Sidorov
564f4f0126 capture stack trace for Render functions) 2011-12-15 09:31:29 +11:00
Andrey Sidorov
d24332c90f fix for incorrect length of authType & authData strings in handshake 2011-11-25 23:25:02 +01:00
Andrew Swerlick
986c3f07e2 Added GetGeometry request 2011-09-13 23:05:39 -04:00
Andrey Sidorov
44b409bccd keycodes list reading at incorrect offset 2011-09-14 09:28:07 +10:00
Andrey Sidorov
dfa3a14820 some debug dump removed 2011-09-11 23:11:28 +10:00
Andrey Sidorov
0073aec478 some debug dump removed 2011-09-11 23:03:53 +10:00
Andrey Sidorov
9e0b53c793 associate stack trace for function call with sequence number 2011-09-11 23:02:53 +10:00
sidorares
d6bc4d5c32 BigReq should work now 2011-09-09 11:30:18 +10:00
sidorares
9b439d3d80 save reference to client before emitting connect event 2011-09-09 11:27:17 +10:00
Andrey Sidorov
53c5df562b initial big-reqests support 2011-09-09 10:04:19 +10:00
sidorares
7158b5c59f XTEST FakeInput request 2011-09-08 12:38:46 +10:00
sidorares
5e999c3446 WarpPointer request 2011-09-07 13:06:09 +10:00
Andrey Sidorov
a40ba7d874 initial SendEvent implementation 2011-09-07 09:50:19 +10:00
sidorares
1696c4b28a links to protocol docs 2011-09-05 10:33:53 +10:00
sidorares
0a09793726 require(extension) 2011-09-02 11:52:29 +10:00
Andrey Sidorov
1bbc9dbe88 ininial extantions framework, rendar extension, render example 2011-09-02 10:16:30 +10:00
sidorares
7ccc7f45ea XRENDER example added 2011-09-01 10:53:26 +10:00
sidorares
6e7551663d more codes link comment 2011-08-30 15:18:18 +10:00
sidorares
c1ee1fea65 GetKeyboardMapping fix + test 2011-08-30 15:16:07 +10:00
sidorares
42e3e4c9a6 keysyms constants file 2011-08-30 12:28:57 +10:00
sidorares
1a7929ee9f more render examples 2011-08-08 13:50:39 +10:00
Andrey Sidorov
c93a16eca3 Linear, Conical and Radial gradients 2011-08-08 09:24:28 +10:00
sidorares
2b907bdc5f working RenderTriangle test 2011-08-05 13:20:30 +10:00
sidorares
b46876bdc3 more XRender requests 2011-08-03 17:28:09 +10:00
sidorares
501cc67fce store function instead of request name (extensions!!!) 2011-08-02 15:22:09 +10:00
sidorares
bf2c603be7 try to connect with empty auth data if no Xauthority file 2011-08-02 14:12:30 +10:00
sidorares
d2a56871d2 bug in port calculation 2011-08-01 16:42:30 +10:00
sidorares
24761ec261 pass displayNum to the XClient contructor 2011-08-01 16:35:35 +10:00
sidorares
0a81b9fdf8 .Xauth-based authorisation 2011-08-01 16:13:44 +10:00
sidorares
6cf8937e2a pixmap pupport in Window class 2011-07-26 15:51:30 +10:00
sidorares
e23f1caa68 CreatePixmap and CopyArea requests 2011-07-26 13:44:44 +10:00
sidorares
1cfab85500 pass correctly mouse button (and keyboard) code in unpackEvent 2011-07-26 11:22:00 +10:00
sidorares
30f2f74d59 AllocColor request 2011-07-25 19:50:51 +10:00
sidorares
8cf496a220 connet handler as a parameter to createClient 2011-07-25 13:50:46 +10:00
sidorares
71f6317e92 wrapper for Window.title property -> ChangeProperty/WM_NAME 2011-07-22 16:14:29 +10:00
Andrey Sidorov
4ac7010e45 TODO comment: values-set list values are actually of variable size, need to refactor 2011-07-22 09:41:14 +10:00
Andrey Sidorov
d694000bd0 bitGravity typo 2011-07-22 09:31:17 +10:00
sidorares
1b5eb9145f fix for PolyPoint/PolyLine requests (incorrect length) 2011-07-21 17:19:06 +10:00
sidorares
a1d1bb6e42 GetProperty request 2011-07-21 16:07:34 +10:00