Commit Graph

35 Commits

Author SHA1 Message Date
520dd09e8a broadway: Use camelCase for all js code 2011-03-15 10:26:53 +01:00
2635a27814 broadway: Fix flicker when resizing windows
Resizing a canvas causes a clear, so we have to save the previous
content and restore to avoid flickering.
2011-03-15 10:18:07 +01:00
e3a2176a1f broadway: double buffer window updates
Ensure that we're writing all the updates for a single rendering op
in one go without callbacks inbetween. That way some rendering will
be delayed, but the user will never see partial renderings.
2011-03-15 09:50:07 +01:00
08f832908e broadway: Ensure we begin a path when clipping 2011-03-14 20:59:28 +01:00
acd72d0961 broadway: Do copy rects with compositing mode "copy" 2011-03-14 20:59:00 +01:00
a5e5e2343c broadway: Fix undefined variable error in js 2011-03-14 16:38:24 +01:00
63c0198347 broadway: Start windows transparent rather than black
This avoids flashing
2011-03-14 16:04:34 +01:00
9214796a4d broadway: Report right coordinates on ungrab enter 2011-03-14 15:46:29 +01:00
99d194b747 broadway: Fix various typos in mouse button event reporting 2011-03-14 15:24:25 +01:00
a1de735b87 broadway: Track button state 2011-03-14 12:09:19 +01:00
e53abee805 broadway: Fix time in ungrab 2011-03-14 12:02:18 +01:00
95b19bca33 broadway: Implement pointer grabs 2011-03-14 11:52:46 +01:00
c2ce462486 broadway: Add debug logging framework for js 2011-03-14 10:05:24 +01:00
e2f8215751 broadway: Fix typo that broke window hiding 2011-03-14 09:51:54 +01:00
6713fe9ca4 broadway: Get query_state window coords from browser side 2011-03-11 21:39:11 +01:00
27848432c7 broadway: Split out getPositionsFromAbsCoord from getPositionsFromEvent 2011-03-11 21:28:39 +01:00
54905a8986 broadway: Fix up a bunch of js style issues 2011-03-11 21:12:57 +01:00
cc808ae063 broadway: Move event coordinate calculation to browser side 2011-03-11 21:10:23 +01:00
0cefd54122 broadway: Implement pointer query_status 2011-03-11 14:56:31 +01:00
d4e2414d4a broadway: Add serial tracking and roundtripping 2011-03-10 14:58:47 +01:00
80f332308f [broadway] Add initial keyboard event support 2010-11-25 22:09:34 +01:00
667d23aa7c [broadway] Hook mousewheel scrolling 2010-11-25 22:09:33 +01:00
d6029949e6 [broadway] Disable context menu so rmb works 2010-11-25 22:09:33 +01:00
9cc073803f [broadway] Only open one websocket for input! 2010-11-25 22:09:33 +01:00
b82ed84709 [broadway] Implement window resize 2010-11-25 22:09:32 +01:00
d0e403c54d [broadway] Fix up scrolling 2010-11-25 22:09:32 +01:00
e64a38eeef [broadway] Fix x/y mismatch in canvas position 2010-11-25 22:09:30 +01:00
e6c340519c [broadway] Send diffs as bilevel rgba instead of true diff
The true diff only works if the destination keeps perfect 32bit
canvas data, which is not always true. So, instead we send only
changed pixels, masking the others to 0 via alpha 0.
2010-11-25 22:09:30 +01:00
6fe849d4f1 [broadway] Send and use canvas ids in events 2010-11-25 22:09:30 +01:00
8f9c6eb1a9 [broadway] clean up input sending js 2010-11-25 22:09:30 +01:00
65d4edbd5b [broadway] Send event timestamps from client 2010-11-25 22:09:30 +01:00
1e3dffeee9 Send mouse events from js 2010-11-25 22:09:29 +01:00
852b317b4f Initial sketch of websockets support 2010-11-25 22:09:29 +01:00
f11a7d2fde Don't put output on stdin, instead do it on http connection 2010-11-25 22:09:29 +01:00
0b85341737 Add broadway javascript and html part 2010-11-25 22:09:29 +01:00