Santiago Gimeno
3caf470c97
Fixes in some replies
...
- Some optional data was not being returned.
2013-07-16 15:38:18 +02:00
Minko Gechev
9b0457817a
Byte order specified
2013-06-02 01:23:33 +03:00
Minko Gechev
4407b398a4
Collecting the cookies information in a loop
2013-06-01 15:59:19 +03:00
Santiago Gimeno
c2645fd09e
Declare variable in TranslateCoordinates callback
2013-05-27 12:59:39 +02:00
Santiago Gimeno
9ee3721dd2
Really fix the parsing of the event type field
...
- Typo: use the bitwise operator and not the comparison operator
2013-05-22 14:58:32 +02:00
Santiago Gimeno
e361424792
Fix format of some requests
2013-05-21 14:38:35 +02:00
Santiago Gimeno
e69f1b7475
Add support for signed data
...
- Use Buffer write functions
2013-05-21 14:38:21 +02:00
Santiago Gimeno
1ad9c385b5
Fix the parsing of the type field in Event msgs
...
- According to the standard, the most significant bit of the 8-bit type code is
used to flag if the event was generated from a SendEvent request. See Event
Format section in Chapter 1 of the specification.
2013-05-10 09:45:51 +02:00
Santiago Gimeno
24a5816991
Add TranslateCoordinates core request
2013-03-27 11:57:04 +01:00
Santiago Gimeno
759da10e8f
A couple of fixes in GetGeometry
...
- Make ext variable local.
- Fix typo in borderWidth attribute.
2013-03-12 12:08:53 +01:00
Santiago Gimeno
c1efb0c840
Cache atoms to avoid redundant requests
...
- Once cached we really don't need to send InternAtom and AtonName requests, so
we bypass them.
- Add atom_names property to XClient: it's basically the atoms object property
reversed. It'll be used to cache the atom names.
- Add some tests.
- Issue #22 .
2013-02-28 14:43:26 +01:00
Andrey Sidorov
d16d1a7247
Merge branch 'master' of github.com:sidorares/node-x11
2013-02-26 11:26:01 +11:00
Andrey Sidorov
07cbcea4d7
hash instead of array in GetWindowAttributes result
2013-02-26 11:25:53 +11:00
Santiago Gimeno
243651b4d8
Add ConfigureWindow core request
...
- Update requests based on ConfigureWindow to use the new implementation.
- Add sibling field in valueMask.ConfigureWindow.
- Add new tests.
2013-02-22 10:32:49 +01:00
Andrey Sidorov
3f1b8e5442
GenTextures, TexCoord2D, BindTexture, TextureParameterf, TexEnvf
2013-02-20 12:00:10 +11:00
Andrey Sidorov
3f064b218e
get rid of lib/x11 nested subdirectory, lib/x11 -> lib
2013-02-19 16:23:53 +11:00
Andrey Sidorov
bc84ca9c59
remove debug output
2012-12-20 01:16:43 +11:00
Andrey Sidorov
aa7ab0b7d5
cleanup
2012-12-20 01:16:19 +11:00
Andrey Sidorov
8e833145ab
Automatically send Render buffer if too large or before any GLX call
2012-12-20 00:55:31 +11:00
Andrey Sidorov
a951aa26cb
QueryPointer result unpacking
2012-12-20 00:54:19 +11:00
Santiago Gimeno
4508f9e93d
Change createClient signature
...
- The new signature is:
createClient(options, initCB), where
- options is an optional object that defines different parameters such as
display, etc.
- initCB is an optional callback with the signature: function(err, display)
- The initCB is going to be called with an error ONLY if the connection to the X
server fails. Further errors in the server connection will be 'emitted'.
- Update tests and test-runner.js accordingly.
- Update README.
2012-12-19 09:34:19 +01:00
Andrey Sidorov
34efb7ad30
merge conflict
2012-12-13 00:59:46 +11:00
Andrey Sidorov
224a360c13
referted incorrect merge
2012-12-12 23:32:16 +11:00
Andrey Sidorov
4a6ce3f2d3
merge conflicts
2012-12-12 22:40:54 +11:00
Andrey Sidorov
3e9b5f7faa
ConfigureNotify event parser
2012-12-12 22:33:08 +11:00
Andrey Sidorov
82fd6207f7
auto-generated constants from gl.h
2012-12-12 22:26:19 +11:00
Andrey Sidorov
2777e6dd01
import constants; Light,Material,Normal,BlendFunc
2012-12-12 22:25:52 +11:00
Andrey Sidorov
2aa2001067
glFinish
2012-12-12 22:24:33 +11:00
Andrey Sidorov
a5087c35c6
glHint
2012-12-11 16:05:18 +11:00
Andrey Sidorov
10fef2fe9a
glx extension and glxRender-encoded commands
2012-12-10 00:01:24 +11:00
Andrey Sidorov
f1eacd8864
xserver accepts requests now (handshake data still from pre-saved file)
2012-11-27 11:28:28 +11:00
Andrey Sidorov
c473c9cad7
initial implementation for fixes extension
2012-11-27 10:42:35 +11:00
Andrey Sidorov
dfb9ff059a
Merge branch 'master' of https://github.com/sidorares/node-x11
2012-11-27 10:41:04 +11:00
Andrey Sidorov
11c6f05e9f
fix in calculation rgba32 visual
2012-11-27 10:40:59 +11:00
Santiago Gimeno
f8a3c71252
Some more fixes in extensions
...
- Return always if the extension is not available
2012-11-26 18:15:05 +01:00
Santiago Gimeno
9b8cef815b
A couple of fixes in xtest extension
...
- Return directly in case of error retrieving the extension.
- QueryVersion should be GetVersion and fix its format.
- Add a test for GetVersion.
- Modify test-runner.js so it uses async library to add dynamically the test
files to be used.
2012-11-26 16:51:56 +01:00
Santiago Gimeno
c0dccec8bc
Add DPMS extension
...
- Implemented all requests defined in:
http://www.x.org/releases/X11R7.6/doc/xextproto/dpms.pdf
- Tests added.
2012-11-23 14:44:25 +01:00
Santiago Gimeno
6822d759f0
Add RaiseWindow request
2012-08-06 10:40:44 +02:00
Andrey Sidorov
7312baef09
Merge pull request #11 from santigimeno/master
...
A couple of fixes in unpackEvent
2012-08-04 15:53:39 -07:00
Santiago Gimeno
a98de8d47c
Add revertTo param
2012-08-05 00:01:22 +02:00
Santiago Gimeno
5d4caccca8
A couple of fixes in unpackEvent
2012-08-04 22:27:03 +02:00
Santiago Gimeno
fd939c985d
Add SetInputFocus
2012-08-03 15:21:29 +02:00
Santiago Gimeno
2df9069ef1
Declare some more undeclared variables
...
So they don't pollute the global object.
2012-07-24 09:57:48 +02:00
Andrey Sidorov
eeba3b1796
inherit errors from Error
2012-07-17 14:47:17 +10:00
Andrey Sidorov
8e1f501701
return roundtrip time in ping() callback
2012-07-17 01:21:28 +10:00
Andrey Sidorov
f3681b9aa2
ping() and close() for connection
2012-07-16 19:48:03 +10:00
Andrey Sidorov
39d905df5f
long stacktrace benchmarks in comments
2012-07-16 14:31:01 +10:00
Andrey Sidorov
7df3e1d3fd
disable long stack trace to improve performance
2012-07-16 14:26:33 +10:00
Andrey Sidorov
2decda57fd
handle sequence overflow (more than 65535 requests in one connection)
2012-07-16 14:18:52 +10:00
Santiago Gimeno
d5ad3c4134
Declare cookieNum with var so it is not global
2012-07-12 17:27:58 +02:00