gtk2/gdk/broadway
Benjamin Otte 43c212ac28 build: Enable -Wswitch-enum and -Wswitch-default
This patch makes that work using 1 of 2 options:

1. Add all missing enums to the switch statement
  or
2. Cast the switch argument to a uint to avoid having to do that (mostly
   for GdkEventType).

I even found a bug while doing that: clearing a GtkImage with a surface
did not notify thae surface property.

The reason for enabling this flag even though it is tedious at times is
that it is very useful when adding values to an enum, because it makes
GTK immediately warn about all the switch statements where this enum is
relevant.
And I expect changes to enums to be frequent during the GTK4 development
cycle.
2017-10-06 21:23:39 +02:00
..
broadway-buffer.c broadway: Avoid compiler warnings 2015-06-13 21:10:25 -04:00
broadway-buffer.h Switch from sending png frames to our own encoding 2013-11-07 14:09:53 +01:00
broadway-output.c broadway: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
broadway-output.h broadway: Support ipad on-screen keyboard 2013-11-13 12:23:06 +01:00
broadway-protocol.h broadway: Improve touch events 2013-11-14 11:05:16 +01:00
broadway-server.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
broadway-server.h broadway: Initial SSL support 2014-12-15 11:25:43 +00:00
broadway.js Cleanup invalid comments (duplication of words) 2014-08-26 19:55:38 -04:00
broadwayd.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
client.html broadway: Disable all kinds of viewport scrolling and zooming 2013-11-12 13:44:56 +01:00
gdkbroadway-server.c broadway: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gdkbroadway-server.h broadway: Support ipad on-screen keyboard 2013-11-13 12:23:06 +01:00
gdkbroadway.h broadway: Remove all mentions of visuals 2016-11-04 00:15:07 +01:00
gdkbroadwaycursor.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkbroadwaydisplay.h broadway: Support ipad on-screen keyboard 2013-11-13 12:23:06 +01:00
gdkbroadwaydisplaymanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkbroadwaymonitor.h broadway: Fix include rules in gdkbroadwaymonitor.h 2016-04-28 10:20:15 +02:00
gdkbroadwaywindow.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkcursor-broadway.c gdk: Add gdk_cursor_new_from_surface 2013-08-07 13:34:10 +02:00
gdkdevice-broadway.c broadway: Build fixes 2017-08-15 13:59:34 +01:00
gdkdevice-broadway.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevicemanager-broadway.c broadway: Use GdkSeatDefault to Implement GdkSeat 2015-12-15 00:40:21 +01:00
gdkdevicemanager-broadway.h broadway: Add initial touch event support 2013-11-12 16:11:15 +01:00
gdkdisplay-broadway.c API: Remove gdk_window_process_all_updates() 2016-11-23 19:10:34 +01:00
gdkdisplay-broadway.h Drop support for offscreen GdkWindows 2016-10-25 09:54:37 +02:00
gdkdnd-broadway.c gdk/dnd: Don't use default display when getting cursor 2016-04-26 23:03:24 +08:00
gdkeventsource.c Make gdk_event_get_pointer_emulated public 2016-05-10 15:16:45 -04:00
gdkeventsource.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkglobals-broadway.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys-broadway.c gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkmonitor-broadway.c broadway: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-broadway.h broadway: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-broadway.h gdk: Remove testing functions 2017-01-08 03:46:30 +01:00
gdkproperty-broadway.c gdk: Make atoms handled generically 2013-04-15 15:43:27 +02:00
gdkscreen-broadway.c broadway: Remove all mentions of visuals 2016-11-04 00:15:07 +01:00
gdkscreen-broadway.h broadway: Remove all mentions of visuals 2016-11-04 00:15:07 +01:00
gdkselection-broadway.c broadway: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gdkwindow-broadway.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gdkwindow-broadway.h broadway: Implement maximization 2015-07-01 21:07:28 +02:00
meson.build meson: Remove G_LOG_USE_STRUCTURED from target C flags 2017-05-03 16:22:52 +01:00
rawinflate.min.js broadway: Use zlib compression for broadway buffers 2013-11-07 14:09:53 +01:00
toarray.pl gdk/broadway/toarray.pl: Fix Code Generation for MSVC 2014-10-23 09:12:22 +08:00
TODO.broadway broadway: Make /dev/shm names nicer 2013-01-10 23:59:23 +01:00