Commit graph

524 commits

Author SHA1 Message Date
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
Andrey Sidorov
fb817b8e2b add tinywm 2015-06-18 09:41:46 +10:00
Andrey Sidorov
39ec8aca60 Add xoowm and basedwm to list of users 2015-06-18 09:36:43 +10:00
Andrey Sidorov
472cdf5cfc Update README.md 2015-06-11 10:42:52 +10:00
Andrey Sidorov
90ea482119 Merge pull request #93 from megadonkey/shape
Adds Shape extension request Rectangles; fixes Mask
2015-05-30 17:10:31 +10:00
Michael J M Thomson
749b877d99 Added Shape rectangles example. Fixed shape mask test 2015-05-29 16:15:03 +10:00
Michael J M Thomson
fafa42e6e6 Add Shape Rectangles test. Fix Shape Mask test 2015-05-29 14:28:05 +10:00
Michael J M Thomson
520be559e8 Add function Rectangles. Fix function Mask 2015-05-29 11:17:34 +10:00
Andrey Sidorov
e7d9ba7cb4 Merge pull request #89 from Arteris/add_freepicture
Add FreePicture to XRender
2015-04-21 07:20:39 +10:00
Ian Scott
dc90e2760d Add FreePicture to XRender 2015-04-20 10:46:24 -07:00
Andrey Sidorov
76f148345b Update README.md 2015-03-19 23:18:58 +11:00
Andrey Sidorov
20886399ed Merge pull request #84 from dizzib/dev_clear_area
Add ClearArea method
2015-03-15 13:43:31 +11:00
Andrey Sidorov
b0a926d3de add xoowm to a list of users 2015-03-13 12:58:22 +11:00
dizzib
33f953db32 replace timeout with expose 2015-03-06 09:34:59 +00:00
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