3b1fe05e78
[broadway] Wire up the delete event
2011-04-07 10:03:17 +02:00
adc05ae6b7
[broadway] Add configure event for browser-side geometry changes
...
Atm this only works for the useToplevelWindows case, but we can add
a browser wm to make use of it inside the browser too.
2011-04-07 10:03:17 +02:00
e1dcd6735e
[broadway] Remove unused query pointer message
2011-04-07 10:03:16 +02:00
a0048d5e70
[broadway] Add _gdk_broadway_display_consume_all_input
...
This parses and queues all currently availible input data non-blockingly.
Useful to ensure the latest up-to-date future info.
2011-04-07 10:03:16 +02:00
fdc2059edb
[broadway] Track future pointer events locations during parsing
...
We want this info so that we can avoid roundtrips and still get
a somewhat better querying for pointer locations.
2011-04-07 10:03:16 +02:00
1fa952fb04
[broadway] Add helper for processing input at idle
2011-04-07 10:03:16 +02:00
e113cf26fb
[broadway] Keep track of current real cursor window (sans grabs)
...
We need this to be able to do a non-roundtripping get-window.
2011-04-07 10:03:16 +02:00
ee1657d88e
[broadway] Break out _gdk_broadway_display_read_all_input_nonblocking
...
This is useful in other places, like when we want to iterate over
all messages recieved so far.
2011-04-07 10:03:16 +02:00
d664e78c94
[broadway] Make pointer grabs not roundtrip
...
Since we're really only initializing grabs (except for implicit
grabs at least) from the client side we might as well do all the grab
time checks on the client side to avoid unnecassary roundtrips.
2011-04-07 10:03:16 +02:00
8aad17592e
[broadway] Parse broadway input messages earlier
...
We now parse the broadway messages as soon as they are read from the wire.
This will let us sanely do lookahead in the message queue later.
2011-04-07 10:03:15 +02:00
084003953d
broadway: Make broadway port configurable with BROADWAY_DISPLAY
2011-03-14 15:58:55 +01:00
95b19bca33
broadway: Implement pointer grabs
2011-03-14 11:52:46 +01:00
614eb3b3d7
broadway: Add _gdk_broadway_display_block_for_input
2011-03-11 14:45:13 +01:00
e08396450d
broadway: Break out websockets parsing and message processing
...
We need this to be able to correctly handle the recieve buffer
during message processing. Without the split we would be
recursing over the use of it.
2011-03-11 14:41:03 +01:00
7c12e5f27e
broadway: Implement gdk_display_flush
2011-03-11 14:37:39 +01:00
0fa32e98a4
broadway: Change input handling to use polling rather than async reads
...
We do this because we need to be able to switch to using sync reads
when we're doing a roundtripping call, and that is too complex
with the async code.
2011-03-10 21:22:19 +01:00
d4e2414d4a
broadway: Add serial tracking and roundtripping
2011-03-10 14:58:47 +01:00
d8f061ad42
[broadway] Update to new GDK backend APIs
2011-02-11 15:59:50 +01:00
07db0e38b0
[broadway] Make broadway build with new gdk-backend setup
...
Convert all global functions to vtable calls, etc.
2011-01-19 19:52:51 +01:00
190f533258
[broadway] Remove unnecessary backend-specific function
...
These were just blindly copied from the X backend
2010-12-04 22:59:04 +01:00
0b6265b76a
[broadway] Only allow one input session
2010-11-25 22:09:33 +01:00
a4fc901c07
[broadway] Handle errors in input nicer
...
Also, fix a leak
2010-11-25 22:09:33 +01:00
e7169f75e6
Move send_error up
2010-11-25 22:09:33 +01:00
1b3efb3599
Save current input request
2010-11-25 22:09:33 +01:00
ccab600fb4
Move event generation to gdkeventsource.c
2010-11-25 22:09:33 +01:00
0539303dfc
Handle output errors correctly
2010-11-25 22:09:33 +01:00
fcce2986ce
[broadway] Keep track of the GSocketConnection for the output
2010-11-25 22:09:32 +01:00
f407b4a5f5
Rename BroadwayClient to BroadwayOutput
2010-11-25 22:09:32 +01:00
93fec05183
[broadway] Track last mouse position
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
d211d78eef
[broadway] Track window<->id mapping
2010-11-25 22:09:30 +01:00
cdd274a55c
[broadway] Missed a place to use event time
2010-11-25 22:09:30 +01:00
65d4edbd5b
[broadway] Send event timestamps from client
2010-11-25 22:09:30 +01:00
2e8f21cb1b
[broadway] Allow loading client.html as "/" only
2010-11-25 22:09:30 +01:00
163a278d13
Fix button numbers in events (starts with 1, not 0)
2010-11-25 22:09:30 +01:00
884527a958
[broadway] Initial work on mouse events
2010-11-25 22:09:30 +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
8a0429b42d
Flesh out http server to handle client.html and broadway.js
2010-11-25 22:09:29 +01:00
ded9bc698b
Add initial http server
2010-11-25 22:09:29 +01:00
6651eab293
[broadway] Initial hookup of broadway client
2010-11-25 22:09:29 +01:00
d707d057c2
[broadway] Rename X11 -> Broadway in all code
...
This just runs:
for i in *.[ch]; do
sed -i s/DisplayX11/DisplayBroadway/g $i;
sed -i s/PrivateX11/PrivateBroadway/g $i;
sed -i s/ImplX11/ImplBroadway/g $i;
sed -i s/KeymapX11/KeymapBroadway/g $i;
sed -i s/ScreenX11/ScreenBroadway/g $i;
sed -i s/GdkX11Monitor/GdkBroadwayMonitor/g $i;
sed -i s/_X11/_BROADWAY/g $i;
sed -i s/x11/broadway/g $i;
done
2010-11-25 22:09:29 +01:00
c456e98880
Remove X use from broadway backend
2010-11-25 22:09:28 +01:00
a54e556ad8
Remove event translators
2010-11-25 22:09:28 +01:00
5b480e1b0d
[broadway] Copy X backend to broadway
2010-11-25 22:09:19 +01:00