Chun-wei Fan
2268e9d6c9
Broadway: Allow Compilation on Windows/MSVC
...
-Don't include unistd.h unconditionally as it's not available in Visual
Studio, but include io.h where necessary.
-Avoid C99isms, and use _chsize_s in place of ftruncate when unistd.h is
not available (as in the case of Visual Studio)
2013-07-01 14:51:03 +02:00
Tarnyko
4b49c44b0a
win32: Make broadway build
2013-07-01 14:46:25 +02:00
Tarnyko
53a9311e2c
broadway: Add win32 support
2013-06-13 19:35:43 +02:00
Tarnyko
e2da2259ad
broadway: Support TCP displays
2013-06-13 19:12:46 +02:00
Tarnyko
d4dacc596f
broadway: Only use gio-unix on G_OS_UNIX
2013-06-13 18:15:10 +02:00
Tarnyko
050702494b
broadway: Remove unused includes
2013-06-13 18:09:32 +02:00
Tarnyko
b20d949470
broadway: Add configure checks for sys/mman.h
2013-06-13 18:01:44 +02:00
Alexander Larsson
8084e6e468
broadway: Ensure we allocate shm surface space early
...
This is nicer then getting random sigbus later
2013-04-03 15:58:42 +02:00
Alexander Larsson
c340dfeaf8
Broadway: Fix shm names
...
We were sometimes getting zero chars in the name, making them
shorter, due to an off-by-zero in the size.
2013-04-03 15:58:41 +02:00
Alexander Larsson
99cc5758b1
broadway: Ensure broadway request members are 32bit aligned
2013-03-18 16:41:02 +01:00
Alexander Larsson
ada20f475d
broadway: Make /dev/shm names nicer
2013-01-10 23:59:23 +01:00
Alexander Larsson
8e686357c4
broadway: Move window position ownership to browser
...
With this we always roundtrip position change to the webbrowser.
This avoids conflicts when things change from both directions (app and user).
Also, we fake configure evens when there is no web client to ensure
apps get the events.
2013-01-08 18:05:06 +01:00
Alexander Larsson
f72d1a8d2b
broadway: Fix gdk_broadway_server_wait_for_reply
...
We didn't properly queue an idle to handle the read messages so they
were never serviced in some situations.
2013-01-08 18:05:06 +01:00
Alexander Larsson
ec45d2f8c7
broadway: Handle NULL surface in update
...
This happen if nothing has been drawn yet.
2012-12-27 22:56:04 +01:00
Alexander Larsson
e00bc73de8
broadway: Rename gdkbroadway-server-client.c to gdkbroadway-server.c
2012-12-27 22:56:04 +01:00
Alexander Larsson
5ee8b69418
broadway: Rename gdkbroadway-server.c to broadway-server.c
...
This way the broadway-*.c namespace is for the daemon and gdk* for the
gdk lib.
2012-12-27 22:56:03 +01:00
Alexander Larsson
20b79b06ee
broadway: rename broadway.[ch] to broadway-output.[ch]
2012-12-27 22:56:03 +01:00
Alexander Larsson
fc96ef51d7
broadway: Initial version of separate broadway server
...
This kinda works but is very rudimentary
2012-12-27 22:56:03 +01:00
Alexander Larsson
9aa36d8d0d
broadway: Add enum for even types
2012-12-27 22:56:03 +01:00
Alexander Larsson
dfbabfbd6d
broadway: Use SOURCE operator when scrolling
2012-12-20 00:00:16 +01:00
Alexander Larsson
9e65be6c48
broadway: Allow reconnecting to a broadway page
2012-12-20 00:00:16 +01:00
Alexander Larsson
0a808bea54
broadway: Separate out the server parts
...
This (shouldn't) change any behaviour, but it moves the
webserver parts to a separate file, making the broadway display file
smaller and preparing for later separating out the server to its own
process.
2012-12-20 00:00:16 +01:00