Andrey Sidorov
ff0a950994
CreateGlyphSet / AddGlyphs
2014-03-26 00:30:58 +11:00
Andrey Sidorov
dc1050afb4
link to a very good glx implementation
2014-03-25 22:14:26 +11:00
Andrey Sidorov
942f48a5e9
cleanup tabs
2014-03-25 21:31:16 +11:00
Santiago Gimeno
a8a8a9f0f2
Fix typo in crtcs field
2014-03-21 16:09:24 +01:00
Santiago Gimeno
0288e45f08
Add XFixes CreateRegionFromWindow request
...
- And add WINDOW_REGION_KIND type.
2014-03-21 16:07:51 +01:00
Santiago Gimeno
4376fcac49
Fix parsing of CreateNotify event
2014-03-21 12:29:22 +01:00
Andrey Sidorov
140d92c339
Merge pull request #58 from santigimeno/xfixes_requests
...
Add some REGION-related XFIXES requests
2014-03-20 10:38:21 +11:00
Santiago Gimeno
5d49ed338c
Add some REGION-related XFIXES requests
...
- CreateRegion, DestroyRegion, UnionRegion, TranslateRegion and FetchRegion
2014-03-19 17:01:27 +01:00
Santiago Gimeno
3e98160fea
Add GetCrtcInfo and fix in GetScreenResources
2014-03-13 13:24:37 +01:00
Santiago Gimeno
88ac8179c6
Add GetScreenResources request and MODEFLAG type
...
- Don't include the length fields in GetScreenResources and SetScreenConfig
replies as the're redundant.
2014-03-11 10:25:21 +01:00
Santiago Gimeno
76f969e311
Add RANDR SetScreenConfig GetScreenInfo requests
...
- Also added ROTATION and CONFIGSTATUS types.
2014-03-10 15:42:44 +01:00
Andrey Sidorov
73dda10b1a
glx error parsers #49
2014-03-08 19:05:21 +11:00
Andrey Sidorov
0113db66af
unly delete seq2stack entry when in debug mode
2014-03-08 18:09:54 +11:00
Andrey Sidorov
56001da581
use property setter in debug mode to map seq num to stack trace
2014-03-08 18:04:09 +11:00
Andrey Sidorov
6f455fffd9
added BindTexImage / ReleaseTexImage
2014-03-06 22:52:15 +11:00
Andrey Sidorov
10b68eecad
add VendorPrivate and CreatePixmap
2014-03-06 10:51:19 +11:00
Andrey Sidorov
13d3f680b9
add ProgramString and BindProgram
2014-03-06 10:50:35 +11:00
Andrey Sidorov
a9c2254aed
use RenderLarge for TexImage2D
2014-03-03 11:56:33 +11:00
Andrey Sidorov
bd119318e0
RenderLarge request
2014-03-03 11:56:01 +11:00
Andrey Sidorov
ebb77199fc
fix in error parsing: bad_value, min/maj opcode now calculated correctly
2014-03-03 11:55:44 +11:00
Andrey Sidorov
a5e75b4e7d
remove debug
2014-03-03 11:54:49 +11:00
Andrey Sidorov
1545b39196
add TexImage2D and TexParameter functions
2014-02-18 10:34:00 +11:00
Andrey Sidorov
e354b8332b
fix offset in GenTextures result
2014-02-14 16:40:20 +11:00
Santiago Gimeno
1e36e5d426
Fix some event names
...
- ButtonPress, ButtonRelease, MotionNotify and EnterNotify
2014-01-28 12:14:19 +01:00
Santiago Gimeno
69825534f6
Fix ConfigureNotify event name
2014-01-28 10:59:49 +01:00
Santiago Gimeno
ea5976e42d
Add GrabServer and UngrabServer requests
2013-11-25 14:53:19 +01:00
Santiago Gimeno
ec6c56a191
Expose eventMask in X client.
2013-11-19 13:09:12 +01:00
Santiago Gimeno
690d24413b
Add ClientMessage event
2013-11-18 17:34:27 +01:00
Santiago Gimeno
90148d64a8
Update DestroyNotify and MapNotify handling
...
- To be better aligned with the spec.
2013-11-05 10:22:26 +01:00
Santiago Gimeno
85773377e9
Handle UnmapNotify event
2013-11-05 10:21:42 +01:00
Andrey Sidorov
521cdeb105
fix RRScreenChangeNotify event parser
2013-11-01 13:51:50 +11:00
Andrey Sidorov
c6dcb2b67d
initiall support for RANDR extension
2013-11-01 13:05:14 +11:00
Dominic Tarr
7fc33f3bab
add EnterWindow event, and give events names
2013-10-30 11:12:15 -07:00
Santiago Gimeno
951564b0d1
Fix GetAtomName
...
- We were not catching the atoms.
- We were leaking the Client.pending_atoms object.
- Fix test so it does what it was supposed to do.
2013-10-28 16:55:08 +01:00
Santiago Gimeno
533f490806
Add Grab requests
...
- GrabPointer, UngrabPointer, GrabButton, UngrabButton, ChangeActivePointerGrab,
GrabKeyboard, UngrabKeyboard, GrabKey and UngrabKey
2013-10-21 11:27:26 +02:00
Santiago Gimeno
3b415bcec5
Add GetInputFocus request
2013-07-17 08:12:10 +02:00
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
Santiago Gimeno
75e3a3ddd3
Add MoveResizeWindow request
2012-07-11 13:38:03 +02:00
Andrey Sidorov
d2707f8d38
PolyFillArc request
2012-06-15 11:00:13 +10:00
Andrey Sidorov
e24ad5dc9f
fix for DeletePropery request
2012-06-13 15:16:09 +10:00
Andrey Sidorov
313aa8a1cc
global variable pollution fix
2012-06-13 13:12:50 +10:00
Andrey Sidorov
cfbf71c6b8
ConvertSelection request
2012-06-11 23:59:40 +10:00
Andrey Sidorov
de99f7ec14
SelectionRequest and SelectionNotify events
2012-06-11 23:59:09 +10:00
Andrey Sidorov
5315432ce4
AppleWM events
2012-06-11 23:57:51 +10:00
Andrey Sidorov
f5303b0ad9
PropertyNotify and SelectionClear unpackers
2012-06-11 17:05:23 +10:00
Andrey Sidorov
06d87c5908
Get/SetSelectionOwner requests
2012-06-09 14:15:19 +10:00
Andrey Sidorov
771330201b
signed x,y in CreateWindow, value instead of array in ListProps
2012-06-09 13:52:14 +10:00
Andrey Sidorov
93c09e553e
ListProperties request
2012-06-08 23:13:01 +10:00
Andrey Sidorov
5b6fd461ac
return if no extension present
2012-06-08 19:27:27 +10:00
Andrey Sidorov
5dec4c29b7
SetScreenSaver request
2012-06-08 15:00:13 +10:00
Andrey Sidorov
0b68bbbdb0
initial support to add event parsers from extension
2012-06-08 14:59:35 +10:00
Andrey Sidorov
58e526d913
SCREEN-SAVER extension
2012-06-08 14:57:24 +10:00
Andrey Sidorov
5d6bdee7de
DamageNotify event decoder
2012-06-07 23:09:27 +10:00
Andrey Sidorov
d7765b01bf
FrameGetRect, FrameHitTest requests
2012-06-07 12:17:24 +10:00
Andrey Sidorov
41ceeb67d8
AppleWM extension
2012-06-05 12:56:02 +10:00
Andrey Sidorov
3eaaadd0da
global variable leak test
2012-06-01 18:17:26 +10:00
Andrey Sidorov
ca5efc1941
KillKlient and ForceScreenSaver requests
2012-06-01 11:57:20 +10:00
Andrey Sidorov
33775da6df
connect using idcorrect DISPLAY
2012-06-01 00:00:31 +10:00
Andrey Sidorov
5098763855
global object pollution fixed
2012-05-31 19:20:38 +10:00
Andrey Sidorov
0fd0e4485a
first integration test
2012-05-31 12:53:45 +10:00
Andrey Sidorov
f40eb4e3d2
XC-MISC extension
2012-05-31 11:06:46 +10:00
Andrey Sidorov
b0931f1feb
SHAPE extension
2012-05-31 11:05:51 +10:00
Andrey Sidorov
1a82cc2141
fix for GetOverlayWindow callback
2012-05-29 16:32:43 +10:00
Andrey Sidorov
fba32b442a
correct size for all requests
2012-05-29 15:56:41 +10:00
Andrey Sidorov
31194398bc
DAMAGE and Composite extensions
2012-05-29 09:56:40 +10:00
Andrey Sidorov
3298795a7b
use padded 4 bytes for all CreatePicture parameters
2012-05-01 13:11:40 +10:00
Andrey Sidorov
93cec8ecc7
load BigReq extansion by default
2012-05-01 13:08:19 +10:00
Andrey Sidorov
0c2cdeb884
ChangeGC and ListFonts requests
2012-04-18 15:07:03 +10:00
Andrey Sidorov
f2c3090e9a
extra depth argunebt in CreateWindow
2012-04-11 16:53:27 +10:00
Andrey Sidorov
4a1964febb
all callbacks now have error as first argument
2012-04-11 16:50:14 +10:00
Andrey Sidorov
e53a974668
constants added
2012-04-11 16:49:37 +10:00
Andrey Sidorov
15bbd67965
end event in client
2012-04-11 16:49:24 +10:00
Andrey Sidorov
bc641f3bce
shift pixel 8bits left in AllocColor result
2012-04-11 16:43:58 +10:00
Andrey Sidorov
c5c5d973b5
make borderWidth, class, visual and depth arguments optional defaults to 0
2012-04-11 11:29:45 +10:00
Andrey Sidorov
c26bc6b47d
initial X bridge library code
2012-04-05 12:36:38 +10:00
Andrey Sidorov
79596460c8
pixel_with -> pixel_width typo
2012-02-28 17:34:11 +11:00
Andrey Sidorov
a6cb1c2629
more event decoders
2012-02-28 17:32:28 +11:00
Andrey Sidorov
270c30f9e5
CreateColormap, ResizeWindow, MoveWindow, GetImage, GetWindowAttributes requests
2012-02-28 17:31:41 +11:00
Andrey Sidorov
b7a6c8b190
ChangeWindowAttributes, ChangeSaveSet, ReparentWindow requests
2012-02-03 20:45:20 +11:00
Andrey Sidorov
b35752cd28
fix in connection code
2012-01-20 14:37:08 +11:00
Andrey Sidorov
1123cfd466
initial ConfigureWindow implementation
2012-01-18 16:49:29 +11:00
Andrey Sidorov
3732cc4e20
keyboard event
2012-01-18 16:48:54 +11:00
Andrey Sidorov
20c969d9f7
python-xlib link
2011-12-31 09:02:35 +11:00
Andrey Sidorov
f2f52d92f9
extra fix for $DISPLAY parsing
2011-12-16 09:36:00 +11:00
Andrey Sidorov
f5a65e5a42
open correct socket on local OSX display
2011-12-15 18:05:11 +11:00
Andrey Sidorov
564f4f0126
capture stack trace for Render functions)
2011-12-15 09:31:29 +11:00
Andrey Sidorov
d24332c90f
fix for incorrect length of authType & authData strings in handshake
2011-11-25 23:25:02 +01:00
Andrew Swerlick
986c3f07e2
Added GetGeometry request
2011-09-13 23:05:39 -04:00
Andrey Sidorov
44b409bccd
keycodes list reading at incorrect offset
2011-09-14 09:28:07 +10:00
Andrey Sidorov
dfa3a14820
some debug dump removed
2011-09-11 23:11:28 +10:00
Andrey Sidorov
0073aec478
some debug dump removed
2011-09-11 23:03:53 +10:00
Andrey Sidorov
9e0b53c793
associate stack trace for function call with sequence number
2011-09-11 23:02:53 +10:00
sidorares
d6bc4d5c32
BigReq should work now
2011-09-09 11:30:18 +10:00
sidorares
9b439d3d80
save reference to client before emitting connect event
2011-09-09 11:27:17 +10:00
Andrey Sidorov
53c5df562b
initial big-reqests support
2011-09-09 10:04:19 +10:00
sidorares
7158b5c59f
XTEST FakeInput request
2011-09-08 12:38:46 +10:00
sidorares
5e999c3446
WarpPointer request
2011-09-07 13:06:09 +10:00
Andrey Sidorov
a40ba7d874
initial SendEvent implementation
2011-09-07 09:50:19 +10:00
sidorares
1696c4b28a
links to protocol docs
2011-09-05 10:33:53 +10:00
sidorares
0a09793726
require(extension)
2011-09-02 11:52:29 +10:00
Andrey Sidorov
1bbc9dbe88
ininial extantions framework, rendar extension, render example
2011-09-02 10:16:30 +10:00