Alexander Larsson
d8f061ad42
[broadway] Update to new GDK backend APIs
2011-02-11 15:59:50 +01:00
Alexander Larsson
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
Alexander Larsson
190f533258
[broadway] Remove unnecessary backend-specific function
...
These were just blindly copied from the X backend
2010-12-04 22:59:04 +01:00
Alexander Larsson
0b6265b76a
[broadway] Only allow one input session
2010-11-25 22:09:33 +01:00
Alexander Larsson
a4fc901c07
[broadway] Handle errors in input nicer
...
Also, fix a leak
2010-11-25 22:09:33 +01:00
Alexander Larsson
e7169f75e6
Move send_error up
2010-11-25 22:09:33 +01:00
Alexander Larsson
1b3efb3599
Save current input request
2010-11-25 22:09:33 +01:00
Alexander Larsson
ccab600fb4
Move event generation to gdkeventsource.c
2010-11-25 22:09:33 +01:00
Alexander Larsson
0539303dfc
Handle output errors correctly
2010-11-25 22:09:33 +01:00
Alexander Larsson
fcce2986ce
[broadway] Keep track of the GSocketConnection for the output
2010-11-25 22:09:32 +01:00
Alexander Larsson
f407b4a5f5
Rename BroadwayClient to BroadwayOutput
2010-11-25 22:09:32 +01:00
Alexander Larsson
93fec05183
[broadway] Track last mouse position
2010-11-25 22:09:30 +01:00
Alexander Larsson
6fe849d4f1
[broadway] Send and use canvas ids in events
2010-11-25 22:09:30 +01:00
Alexander Larsson
d211d78eef
[broadway] Track window<->id mapping
2010-11-25 22:09:30 +01:00
Alexander Larsson
cdd274a55c
[broadway] Missed a place to use event time
2010-11-25 22:09:30 +01:00
Alexander Larsson
65d4edbd5b
[broadway] Send event timestamps from client
2010-11-25 22:09:30 +01:00
Alexander Larsson
2e8f21cb1b
[broadway] Allow loading client.html as "/" only
2010-11-25 22:09:30 +01:00
Alexander Larsson
163a278d13
Fix button numbers in events (starts with 1, not 0)
2010-11-25 22:09:30 +01:00
Alexander Larsson
884527a958
[broadway] Initial work on mouse events
2010-11-25 22:09:30 +01:00
Alexander Larsson
852b317b4f
Initial sketch of websockets support
2010-11-25 22:09:29 +01:00
Alexander Larsson
f11a7d2fde
Don't put output on stdin, instead do it on http connection
2010-11-25 22:09:29 +01:00
Alexander Larsson
8a0429b42d
Flesh out http server to handle client.html and broadway.js
2010-11-25 22:09:29 +01:00
Alexander Larsson
ded9bc698b
Add initial http server
2010-11-25 22:09:29 +01:00
Alexander Larsson
6651eab293
[broadway] Initial hookup of broadway client
2010-11-25 22:09:29 +01:00
Alexander Larsson
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
Alexander Larsson
c456e98880
Remove X use from broadway backend
2010-11-25 22:09:28 +01:00
Alexander Larsson
a54e556ad8
Remove event translators
2010-11-25 22:09:28 +01:00
Alexander Larsson
5b480e1b0d
[broadway] Copy X backend to broadway
2010-11-25 22:09:19 +01:00