Commit graph

588 commits

Author SHA1 Message Date
Andrey Sidorov
f040f8bbba 2.1.0 2016-05-25 16:55:12 +10:00
Andrey Sidorov
88370a111e Merge pull request #125 from Arteris/handshake_error
Unpack handshake error
2016-05-19 12:08:39 +10:00
Ian Scott
b9bebe3a11 Unpack handshake error 2016-05-18 18:14:03 -07:00
Andrey Sidorov
60f8b08037 add unused IDs buffer 2016-05-18 20:22:24 +10:00
Andrey Sidorov
1d77f21ec7 Merge pull request #80 from Arteris/master
Handle cases where depths appear multiple times
2016-05-18 09:14:33 +10:00
Ian Scott
bbaf2a8654 Refactor to keep number of parsed depths in a counter 2016-05-17 14:42:42 -07:00
Ian Scott
7ed7e896e1 Handle cases where depths appear multiple times 2016-05-17 14:41:53 -07:00
Andrey Sidorov
44f9982495 Merge pull request #124 from Arteris/auth_fix2
Fix auth for remote hosts and handle different auth families
2016-05-17 19:51:52 +10:00
Ian Scott
1f5e2310a6 Fix remoteFamily on Node v0.10 2016-05-16 09:45:39 -07:00
Ian Scott
a42f043768 Emit error when handshake fails, such as with bad xauth 2016-05-13 18:59:41 -07:00
Ian Scott
c694394b6d Test xauth in Travis tests 2016-05-13 18:59:33 -07:00
Ian Scott
e8883275bf Fix auth for remote hosts and handle different auth families
- Use the remote address to find the auth cookie instead of the local
  hostname
- Read family type as big endian in Xauthority file
- Don't upgrade 127.0.0.1 TCP connections to unix domain socket (libX11
  and xcb don't do this)
- Don't error if no auth cookie is found; continue without auth
2016-03-21 16:00:52 -07:00
Andrey Sidorov
edbe678f84 Merge pull request #123 from Coldewey/master
Reads message_type from ClientMessage.
2016-02-03 03:12:17 -08:00
plehmkuhl
d327261c74 Adjusted testcase "client-message.js" to match other tests. 2016-02-03 11:42:32 +01:00
plehmkuhl
4fd0385911 Fixed datatype returned by message_type on ClientMessage event.
Added Testcase.
2016-02-03 11:08:58 +01:00
plehmkuhl
27c70c7315 Reads nessage_type from ClientMessage.
See: https://tronche.com/gui/x/xlib/events/client-communication/client-message.html
2016-02-02 16:26:41 +01:00
Andrey Sidorov
f21cdb187b Merge pull request #122 from Arteris/auth_fix
Xauth fixes
2016-01-28 16:58:18 -08:00
Ian Scott
86f977f9bd Handle nonexistent Xauthority file 2016-01-28 16:35:04 -08:00
Ian Scott
582bd1a1b2 Use os-homedir for older node.js versions 2016-01-28 14:51:16 -08:00
Ian Scott
e90c1fd239 Find cookie with same logic as libXau 2016-01-28 14:50:24 -08:00
Andrey Sidorov
ce238c7c0b 2.0.5 2016-01-15 16:02:20 +11:00
Andrey Sidorov
70519cbb38 handle Internet cookie addresses correctly. Fixes #121 2016-01-15 16:01:54 +11:00
Andrey Sidorov
0d7346fbac 2.0.4 2016-01-15 00:37:26 +11:00
Andrey Sidorov
7e22a439e8 don't overwrite ClientMessage type 2016-01-15 00:37:15 +11:00
Andrey Sidorov
72f79ea9f9 2.0.3 2016-01-02 13:31:52 +11:00
Andrey Sidorov
9a7adcefb1 fix Render.Triangles index bug 2016-01-02 13:31:34 +11:00
Andrey Sidorov
62c6df1c6d add link to Xplain 2015-12-16 17:02:01 +11:00
Andrey Sidorov
f1e41dab05 2.0.2 2015-12-11 15:27:44 +11:00
Andrey Sidorov
97dba66197 fix incorrect format in SetPictureTransform 2015-12-11 15:15:10 +11:00
Andrey Sidorov
6627fd5168 Merge pull request #116 from ahstro/patch-1
Missing space
2015-11-15 02:52:59 -08:00
Anton Strömkvist
7f0b054dbc Missing space
`varblack` => `var black`
2015-11-15 11:15:00 +01:00
Andrey Sidorov
0ad17ed7e4 2.0.1 2015-11-10 15:11:48 +11:00
Andrey Sidorov
abde205593 2.0.0 2015-11-10 14:58:43 +11:00
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
c473fe4f72 fix closing '})' 2015-11-08 16:57:21 +11:00
Andrey Sidorov
737ecc7b60 build: add node 0.12, 4.2 and 5.0 to matrix 2015-11-08 16:56:16 +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
21cc95a8bb add test to verify all ext files are at least parseable 2015-11-08 16:51:34 +11:00
Andrey Sidorov
a49c9adeb3 don't increment seq_num if exception is thrown 2015-11-08 12:13:53 +11:00
Andrey Sidorov
39a9931cbf add example for AddTraps, SetPictureTransform and SetPictureFilter 2015-11-06 13:57:39 +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
d8cd686ea3 Shows how to use keySyms data 2015-10-31 17:38:48 -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
f21c8d3c2a Update README.md 2015-10-26 10:21:05 +11: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