Commit graph

484 commits

Author SHA1 Message Date
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
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
Andrey Sidorov
91a2c4a8cc don't send undefined args for CreateWindow 2014-09-08 12:12:14 +10:00
Andrey Sidorov
c1e788b159 Merge pull request #67 from santigimeno/fix_kill
Really fix KillClient / KillKlient
2014-07-29 08:44:16 +10:00
Santiago Gimeno
db42c54427 Really fix KillClient / KillKlient 2014-07-28 19:01:12 +02:00
Andrey Sidorov
ae71050a5d Merge pull request #65 from santigimeno/fixkillklient
Fix name of KillClient request
2014-07-07 21:32:54 +10: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
Andrey Sidorov
421261aaac add MappingNotify event 2014-05-02 14:37:37 +10:00
Andrey Sidorov
cefaaf942f fix in changefont glyphele serialization 2014-04-04 14:23:51 +11:00
Andrey Sidorov
cd29ef9dde support 16 and 32 bit strings 2014-04-03 01:25:40 +11:00
Andrey Sidorov
88266bd3cb link to big list of request codes 2014-04-03 01:24:45 +11:00
Andrey Sidorov
17d5a7f285 delete pre-rendered font 2014-04-01 23:43:31 +11:00
Andrey Sidorov
368b88104f use text from args 2014-04-01 23:43:04 +11:00
Andrey Sidorov
8e8900f663 example deps 2014-04-01 23:42:23 +11:00
Andrey Sidorov
b9264546a9 tabs 2014-04-01 23:42:04 +11:00
Andrey Sidorov
8c81c10edc move text example to separate folder 2014-03-31 14:39:59 +11:00
Andrey Sidorov
01c607cd3e cleanups 2014-03-31 14:06:11 +11:00
Andrey Sidorov
33005e8f76 fix: signed 13 and 32 bit ints (l and s formats) 2014-03-31 14:05:51 +11:00
Andrey Sidorov
a930aa4d13 gradient example 2014-03-31 11:22:05 +11:00
Andrey Sidorov
9731bc454e use solid pixap, resize glyphs to have width multiples of 4 2014-03-31 10:53:57 +11:00
Andrey Sidorov
8cfac532ec ComositeGlyph fixes 2014-03-31 10:52:57 +11:00