Commit Graph

86 Commits

Author SHA1 Message Date
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