Commit graph

314 commits

Author SHA1 Message Date
Andrey Sidorov
9ddd4dec84 err as first parameter in createClient cb 2013-02-16 15:09:24 +11:00
Andrey Sidorov
87a236ee44 version bump 2012-12-20 01:17:53 +11:00
Andrey Sidorov
d13d083b89 use new createClient signature 2012-12-20 01:17:12 +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
Andrey Sidorov
5b17a21eff version bump 2012-12-20 00:52:51 +11:00
Andrey Sidorov
568465da52 Merge pull request #20 from santigimeno/new_create_client
Change createClient signature
2012-12-19 01:22:52 -08: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
81773994aa version bump 2012-12-13 15:51:48 +11:00
Andrey Sidorov
34efb7ad30 merge conflict 2012-12-13 00:59:46 +11:00
Andrey Sidorov
aa94a9e5b3 detect visual id 2012-12-13 00:57:52 +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
dd7e740f10 more vlx examples 2012-12-12 22:34:42 +11:00
Andrey Sidorov
3e9b5f7faa ConfigureNotify event parser 2012-12-12 22:33:08 +11:00
Andrey Sidorov
9de1221c94 CreateWindow parameters fix 2012-12-12 22:31:23 +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
e712fdb0a5 draw first frame immediately 2012-12-11 14:13:39 +11:00
Andrey Sidorov
d2f6b9c7fc simple opengl example 2012-12-11 14:05:30 +11:00
Andrey Sidorov
10fef2fe9a glx extension and glxRender-encoded commands 2012-12-10 00:01:24 +11:00
Andrey Sidorov
c92cb57bb2 Merge pull request #18 from jiyinyiyong/master
Edit requrie pathes in examples
2012-11-30 23:30:50 -08:00
jiyinyiyong
95115a6dd7 edit the x11 require pathes of examples 2012-12-01 09:39:07 +08:00
Andrey Sidorov
882f10f008 typo 2012-11-27 11:50:05 +11:00
Andrey Sidorov
51d8f3077f xeyes (WIP) 2012-11-27 11:44:06 +11:00
Andrey Sidorov
3c111d0f73 initial implementation of xcb xml -> js generation 2012-11-27 11:42:57 +11:00
Andrey Sidorov
046c2b8b4b version bump 2012-11-27 11:42:12 +11:00
Andrey Sidorov
659599a360 tick what's done 2012-11-27 11:38:33 +11:00
Andrey Sidorov
86c6f5997d PolyFillArc example 2012-11-27 11:33:24 +11:00
Andrey Sidorov
ff230a1dee ListFonts request example 2012-11-27 11:32:06 +11:00
Andrey Sidorov
acfa90a264 fix path 2012-11-27 11:30:48 +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
10dab3c2bf example embedding browser window from remote machine 2012-11-27 10:56:10 +11:00
Andrey Sidorov
ea07a651e7 example of embeeding xterm window 2012-11-27 10:44:13 +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
Andrey Sidorov
3a928b3857 Update README.md 2012-11-27 10:32:25 +11:00
Andrey Sidorov
b54e314538 Merge pull request #15 from santigimeno/extension_fixes
A couple of fixes in xtest extension
2012-11-26 15:05:37 -08: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
Andrey Sidorov
39e85aa20c Merge pull request #14 from santigimeno/add_dpms_extension
Add DPMS extension
2012-11-25 10:51:57 -08:00
Santiago Gimeno
e6796ab192 Only execute dpms test when we can
- Add test-runner.js to be able to execute the dpms when these
  conditions are complied:
     1 - DPMS extension is supported.
     2 - DPMS version is 1.1.
     3 - DPMS is capable.
2012-11-25 19:35:07 +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
Andrey Sidorov
78a9977228 repository field updated 2012-08-26 08:06:42 +10:00
Andrey Sidorov
ae26f88a27 Merge pull request #13 from santigimeno/master
Add RaiseWindow request
2012-08-14 04:08:45 -07:00