Commit graph

509 commits

Author SHA1 Message Date
dizzib
45ab095ef2 add ClearArea 2015-03-04 13:26:20 +00:00
Andrey Sidorov
28aa28eccb fix sendevent example 2015-03-01 14:54:36 +11:00
Andrey Sidorov
9b603d4375 1.0.3 2015-02-19 20:45:24 +11:00
Andrey Sidorov
a5cced0dbc start changelog 2015-02-19 20:45:06 +11:00
Andrey Sidorov
ad59dbea4b Merge pull request #82 from santigimeno/fix_randr_test
test: fix randr.js test
2015-01-21 23:39:25 +11:00
Andrey Sidorov
ac450d184a Merge pull request #81 from santigimeno/allow_events
Allow events
2015-01-21 23:38:56 +11:00
Santiago Gimeno
2e7bf6cb18 test: fix randr.js test 2015-01-21 12:41:19 +01:00
Santiago Gimeno
b27831d1d2 test: add allow-events test
- Ported from X Test Suite @ http://cgit.freedesktop.org/xorg/test/xts/
2015-01-21 12:40:31 +01:00
Santiago Gimeno
b3ca6fb04b src: add AllowEvents core request 2015-01-20 13:57:08 +01:00
Santiago Gimeno
5e14ac2301 Merge pull request #78 from Arteris/master
Remove debug messages from MappingNotify
2015-01-14 19:20:31 +01:00
Ian Scott
3e3f1805a2 Remove debug messages from MappingNotify 2015-01-14 10:08:59 -08:00
Andrey Sidorov
ef2c30793a Merge pull request #77 from santigimeno/value_mask_fixes
src: ignore invalid mask values
2015-01-09 08:53:22 +11: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
ea67111025 Update README.md 2015-01-04 10:04:41 +11:00
Andrey Sidorov
5e76aafd30 Merge pull request #75 from timroes/master
Add LowerWindow method
2015-01-04 08:35:24 +11:00
Andrey Sidorov
1d9c7f2f4b Merge pull request #76 from timroes/leaveNotify
feat: fix format of LeaveNotify event
2015-01-04 08:30:53 +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
7351c47bc8 Version 1.0.2 2014-12-10 12:57:28 +01:00
Santiago Gimeno
8f5f6f91d2 Update maintainer list 2014-12-10 12:57:01 +01:00
Andrey Sidorov
c54f073b14 Merge pull request #74 from sidorares/fix_create_window
Fix CreateWindow and CreateGC attributes encoding
2014-12-10 09:01:57 +11:00
Santiago Gimeno
5712dfd4c9 src: maskList.sort @ packValueMask must be numeric 2014-12-09 16:15:03 +01:00
Santiago Gimeno
ca5bcb7df4 test: clean configure-request test 2014-12-09 10:34:49 +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
Andrey Sidorov
0fc0a6a411 Merge pull request #73 from sidorares/fix_configure_request
events: fix ConfigureRequest parsing
2014-12-09 20:26:49 +11: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
5abfc86d1c Merge pull request #72 from anko/fix-ext-tests
Fix null-reference errors from extension-tests
2014-11-04 08:30:57 +11:00
An Ko
52a8739daf Check for errors directly instead of with isError 2014-11-03 16:43:37 +01:00
An Ko
19b937094b Assign to local vars instead of globals
These were being assigned to globals for some reason.

The tests return the same results when they're local, so I'll assume
this was a typo.
2014-11-03 16:06:20 +01:00
An Ko
6d76962bb2 Correspondingly rename xtest callback param
The first parameter is the error param after all.

The test logic is unchanged.
2014-11-03 16:01:05 +01:00
An Ko
c67043f1ed Receive xrandr & dpms exts correctly in tests
This makes tests pass that were failing with null reference errors.

`XClient.require` was passing the callback function to `requireExt`,
which called it with parameters `null, ext` on success. The callback
itself seemed to assume it will get only one parameter, which is either
the extension on an error, hence why it tried to call methods on a
`null`.
2014-11-03 15:52:34 +01:00
Andrey Sidorov
def55ef359 fix example errors 2014-10-24 17:12:56 +11:00
Andrey Sidorov
e0256e4941 Merge pull request #71 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2014-10-09 08:46:25 +11:00
The Gitter Badger
7739cc0ddf Added Gitter badge 2014-10-08 21:36:58 +00:00
Andrey Sidorov
b89376a00e route event to parent if parent id exist 2014-10-08 20:41:45 +11:00
Andrey Sidorov
bcc4eba348 fix failing test due to window -> wid rename 2014-10-08 15:08:04 +11:00
Andrey Sidorov
74750ca95b 1.0.1 2014-10-08 14:59:32 +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
Andrey Sidorov
3e3846d6e6 Merge pull request #70 from Champii/master
CreateCursor, valueMask and format
2014-09-24 08:46:14 +10:00
champii
47b791dc42 coding style 2014-09-23 16:31:08 +02: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