Commit graph

270 commits

Author SHA1 Message Date
Andrey Sidorov
b39672b9d3 Merge pull request #113 from aurium/master
Enhance keySyms
2015-11-09 19:56:33 -08:00
Andrey Sidorov
84ecd7afe3 Merge pull request #115 from sidorares/render-improvements
Render improvements
2015-11-09 19:52:07 -08:00
Andrey Sidorov
b635b3209d increment seq_num before assigning callback so response mapping is correct 2015-11-08 23:59:10 +11:00
Andrey Sidorov
4a3f3f6075 fix formatting; fix binomial filter params check; set format beforehand for SetPictureTransform 2015-11-08 16:53:24 +11:00
Andrey Sidorov
a49c9adeb3 don't increment seq_num if exception is thrown 2015-11-08 12:13:53 +11:00
Andrey Sidorov
fa9dbe2000 add Render.AddTraps request 2015-11-04 16:44:25 +11:00
Aurélio A. Heckert
6ad3f94b93 Lazily load keySyms 2015-11-02 15:31:38 -03:00
Aurélio A. Heckert
de2b73ca2b Enhance keySyms
* Direct translate from X.Org's xproto/keysymdef.h
* Adds the key description as JSON data
* Update examples where the `x11.keySyms` API changes
2015-10-31 17:37:58 -03:00
Andrey Sidorov
5c72df00e5 added PolyEdge,PolyMode,Repeat,Subpixel and Filters constants 2015-10-26 10:18:13 +11:00
Andrey Sidorov
c5fb01edaa added PictOp constant codes 2015-10-26 10:09:01 +11:00
Andrey Sidorov
63fbe2e671 add SetPictureTransform 2015-10-26 09:54:37 +11:00
Aurélio A. Heckert
68e261dabe Adds missed AltGr keycode
`XK_ISO_Level3_Shift` is the code name for `AltGr`.

`NoSymbol` will help us to know when a keycode is meaningless or if it is unknown.

Also, i believe http://cgit.freedesktop.org/xorg/proto/xproto/tree/keysymdef.h is a better source to find keycodes. :-)
2015-10-24 18:07:29 -03:00
Andrey Sidorov
31785d9a5b fix Render.SetPictureFilter 2015-10-23 10:41:30 +11:00
Santiago Gimeno
dbe2d97bee src: fix some more events parsing
- DestroyNotify, UnmapNotify, MapNotify and MapRequest.
- Add some tests.
2015-10-01 11:53:04 +02:00
Santiago Gimeno
3b18e43fe6 src: fix CreateNotify parsing and add new test
- The first 4 fields in an event 'CCSL' are already unpacked in
  expectReplyHeader. No need to get the L field again: it is already in the
  'extra' variable.
2015-10-01 11:35:26 +02:00
Andrey Sidorov
28fdbadb0b fix CreateNotify parsing #102 2015-09-29 23:18:11 +10:00
Ian Scott
c00a790c2b Fix XClient arguments 2015-06-25 15:57:20 -07:00
Ian Scott
2d7d6cbc8f Fall back to TCP if socket does not exist
Also have client emit error on stream error if there is no initCb.
2015-06-25 15:47:02 -07:00
Michael J M Thomson
520be559e8 Add function Rectangles. Fix function Mask 2015-05-29 11:17:34 +10:00
Ian Scott
dc90e2760d Add FreePicture to XRender 2015-04-20 10:46:24 -07:00
dizzib
45ab095ef2 add ClearArea 2015-03-04 13:26:20 +00:00
Santiago Gimeno
b3ca6fb04b src: add AllowEvents core request 2015-01-20 13:57:08 +01:00
Ian Scott
3e3f1805a2 Remove debug messages from MappingNotify 2015-01-14 10:08:59 -08:00
Santiago Gimeno
76ce6c4141 src: ignore invalid mask values
- Avoiding a TypeError exception @ packValueMask.
- Added a test.
2015-01-08 13:33:06 +01:00
Andrey Sidorov
5e76aafd30 Merge pull request #75 from timroes/master
Add LowerWindow method
2015-01-04 08:35:24 +11:00
Tim Roes
ff73173cd5 feat: fix format of LeaveNotify event 2015-01-03 21:33:06 +01:00
Tim Roes
2f66f04d9f feat: add LowerWindow method 2015-01-03 20:41:33 +01:00
Santiago Gimeno
5712dfd4c9 src: maskList.sort @ packValueMask must be numeric 2014-12-09 16:15:03 +01:00
Santiago Gimeno
28e9343487 src: fix CreateGC attributes encoding
- Every attribute must have 4 byte length.
- Add test.
2014-12-09 10:33:19 +01:00
Santiago Gimeno
e5be17ac46 src: fix CreateWindow attributes encoding
- Every attribute must have 4 byte length.
- Add test.
2014-12-09 10:33:19 +01:00
Santiago Gimeno
7c86cedcab events: fix ConfigureRequest parsing
- Add test that would fail without this change.
2014-12-09 10:00:17 +01:00
Andrey Sidorov
b89376a00e route event to parent if parent id exist 2014-10-08 20:41:45 +11:00
Andrey Sidorov
6643bd97f7 use wid instead of window for consistency 2014-10-08 14:58:47 +11:00
Andrey Sidorov
cb3cfa91eb fix in rates calculations in GetScreenInfo 2014-10-04 20:46:29 +10:00
champii
6d6c8d3b9f Extensions, tests and exemples are now cps-style 2014-09-23 16:09:18 +02:00
champii
4feba92047 fixed PR 2014-09-23 15:41:37 +02:00
champii
0c95b39c28 Norme 2014-09-23 15:32:49 +02:00
champii
b69f67222b added FreeCursor call 2014-09-23 15:32:49 +02:00
champii
d46d43a22e Trying to fix tests 2014-09-23 15:32:48 +02:00
champii
48f132b3fe ConfigureWindow, CreateWindow and CreateGC now give good format size to buffer, fixed some tests 2014-09-23 15:32:48 +02:00
champii
3b6f692d54 Trying to fix PutImage BadLength 2014-09-23 15:32:48 +02:00
champii
793b551b7a fixed putImage 2014-09-23 15:32:48 +02:00
champii
21002831a0 trying to use PutImage 2014-09-23 15:32:48 +02:00
champii
2e2a87f6ff trying to use PutImage 2014-09-23 15:32:48 +02:00
champii
643c004fb5 removed log 2014-09-23 15:32:48 +02:00
champii
965b5ca997 Test 2014-09-23 15:32:48 +02:00
champii
e5e4eac0e5 Added CreateCursor Method 2014-09-23 15:32:48 +02:00
Andrey Sidorov
bcee037683 Merge pull request #61 from sidorares/render-glyphs
WIP: Render extension text related functions
2014-09-08 12:27:40 +10:00
Santiago Gimeno
db42c54427 Really fix KillClient / KillKlient 2014-07-28 19:01:12 +02:00
Santiago Gimeno
18404d0de1 Fix name of KillClient request
- s/KillKlient/KillClient
- Keep KillClient for backwards compatibility.
2014-07-07 13:13:43 +02:00