Commit Graph

40603 Commits

Author SHA1 Message Date
Robert Ancell
bd051ef539 Correct spelling of Ambiance theme (still doesn't work though) 2014-10-22 11:02:52 -05:00
Ryan Lortie
098881dbe4 mir: we must leak the window ref for now
By the time we get the call to ensure_no_surface() the window is already
being disposed and the qdata is gone.  Our attempt to free the copy of
the ref owned by Mir by looking it up again from our qdata will fail.
2014-10-22 11:02:52 -05:00
Robert Ancell
8e2d7440f2 Set KeyEvent string field 2014-10-22 11:02:52 -05:00
Ryan Lortie
bf13df274e mir: do proper event dispatching
We had a race where destroying a window while an event is being
dispatched to it could result in a crash.  We can't just hold a ref on
the window because the object is externally visible and we could end up
running a binding's toggle ref handler in the mir thread.

Add a proper source type with a queue and try to do this properly by
dispatching the event back to the main thread before we check if the
window still exists (through use of a weak ref).

This commit also moves all of the event translation code out of
gdkmirwindowimpl.c (which is getting a bit big...).
2014-10-22 11:02:52 -05:00
Robert Ancell
287a243050 Counter suspicious hover-exit events 2014-10-22 11:02:52 -05:00
Robert Ancell
6003c0bd61 Generate crossing events 2014-10-22 11:02:52 -05:00
Robert Ancell
99d9328fb4 Let GDK decide if it wants events, ignore the event mask 2014-10-22 11:02:52 -05:00
Robert Ancell
368a4d218f Remove debugging 2014-10-22 11:02:52 -05:00
Robert Ancell
23b636ddfd Correctly hide windows 2014-10-22 11:02:52 -05:00
Robert Ancell
552862aa44 Handle Mir events on the main thread 2014-10-22 11:02:52 -05:00
Robert Ancell
0a93bb9e2f Finalize MirWindowImpl values 2014-10-22 11:02:52 -05:00
Robert Ancell
129ac8f16c Implement gdk_mir_window_impl_get_device_state 2014-10-22 11:02:52 -05:00
Robert Ancell
eb2833b1bd Get menus working (sort of) 2014-10-22 11:02:52 -05:00
Robert Ancell
1312c07ae2 Fix return windows in gdk_mir_pointer_query_state 2014-10-22 11:02:52 -05:00
Robert Ancell
fe477552e1 Use event queue (sort of) correctly 2014-10-22 11:02:52 -05:00
Robert Ancell
0056a15bf9 Disable debugging message 2014-10-22 11:02:52 -05:00
Robert Ancell
d32e477db8 Disable debugging message 2014-10-22 11:02:52 -05:00
Robert Ancell
8b7b8994e7 Flesh out keymap 2014-10-22 11:02:52 -05:00
Robert Ancell
f94ff93f8d Emit events 2014-10-22 11:02:52 -05:00
Robert Ancell
ebf902b524 Don't set send_event, make public function private 2014-10-22 11:02:52 -05:00
Robert Ancell
88d2759bfe Link associated devices 2014-10-22 11:02:52 -05:00
Robert Ancell
1cbae5042e Make separate keyboard and pointer device classes 2014-10-22 11:02:51 -05:00
Robert Ancell
d576231fc6 Set initial window event mask, don't set event variables we don't need 2014-10-22 11:02:51 -05:00
Robert Ancell
5588b60142 Set more event fields 2014-10-22 11:02:51 -05:00
Ryan Lortie
0c73bf5735 mir: create devices from _constructed
The "display" property is not yet set at time of _init.
2014-10-22 11:02:51 -05:00
Robert Ancell
6530cb95fc Stub Mir module 2014-10-22 11:02:51 -05:00
Chun-wei Fan
4e66cca58d Visual Studio Builds: Fix broadwayd Build
There is now a broadway-buffer.c source that needs to be built for this, so
add it into the projects.  Since crypt() is no longer used, don't include
crypt.c in the builds, and so clean up the projects a bit.
2014-10-22 19:40:48 +08:00
Matthias Clasen
911f3fb6d2 Drop a reference to gtkthemingengineprivate.h
That file does not exist.
3.15.0
2014-10-22 01:18:54 -04:00
Matthias Clasen
15845b53cd 3.15.0 2014-10-22 01:13:00 -04:00
Matthias Clasen
5ee7445048 Add GtkSidebar to the widget gallery 2014-10-22 01:13:00 -04:00
Matthias Clasen
247f2c9192 Add GtkGLArea to the widget gallery 2014-10-22 01:13:00 -04:00
Matthias Clasen
fc13ff501d GtkSidebar: Make docs show up 2014-10-22 01:13:00 -04:00
Matthias Clasen
e14c0bb394 Document gtk_sidebar_get_stack 2014-10-22 01:12:59 -04:00
Matthias Clasen
33851dbe24 Document gtk_printer_option_set_get_groups 2014-10-22 01:12:59 -04:00
Matthias Clasen
10f3d330be Fix docs for gtk_settings_set_property_value 2014-10-22 00:32:38 -04:00
Matthias Clasen
f73db86a63 Fix docs for gtk_css_provider_load_from_resource 2014-10-22 00:32:38 -04:00
Matthias Clasen
9fb44a3c67 Add all sidebar API to the docs 2014-10-22 00:32:38 -04:00
Matthias Clasen
3b3a623520 Add new papersize api to the docs 2014-10-22 00:32:32 -04:00
Matthias Clasen
cc31235d2e Add a 3.16 index
We have new GDK api already.
2014-10-21 23:56:36 -04:00
Matthias Clasen
0f309c9dcf Skip GdkX11GLContext in some object tests
Since it can't be constructed without specifying a GdkWindow,
which we don't have here.
2014-10-21 23:48:12 -04:00
Matthias Clasen
6440263ef3 GL: Follow naming conventions
All the GDK type defines are GDK_TYPE_..., so follow this
pattern for the GLContext subclasses as well.
2014-10-21 23:48:12 -04:00
Benjamin Otte
7d96770453 cssnodedeclaration: Fix src/dest swap in memmove()
The main cause here were the wrong style classes being removed, such as
"message-dialog" instead of "csd" for GtkMessageDialog.
2014-10-22 03:39:17 +02:00
Lapo Calamandrei
cf5f6759f0 Adwaita: use -gtk-icon-source: none on paned...
...to get rid of the handle decoration istead of setting a transparent
background and abuse a background image for the background color.
2014-10-21 20:35:50 +02:00
Benjamin Otte
c2864a81a4 modelbutton: Fix up for style context changes
- Don't do work anymore that's done in GtkButton
- Don't do a save/restore just to set the state, instead set the state
  in the right places.
2014-10-21 20:31:05 +02:00
Benjamin Otte
727bdd1929 inspector: Add missing directory when scanning for themes 2014-10-21 20:31:05 +02:00
Lapo Calamandrei
298974b9da Adwaita: colorswatch on selected elements style fix 2014-10-21 16:34:42 +02:00
Lapo Calamandrei
01e6811776 Adwaita: axes borders of notebooks inside frame
This is what the old adwaita did, not having a better solution for
removing double borders, better to have this back even if it can
be problematic in certain cases.
2014-10-21 15:37:39 +02:00
Lapo Calamandrei
51bfa10eed Adwaita: properly fix places sidebar
Forgot to treat treeview background... Some code refactoring in
the process.
2014-10-21 15:37:39 +02:00
Andika Triwidada
d58317728e Updated Indonesian translation 2014-10-21 12:46:13 +00:00
Ryan Lortie
6d7f5d4431 wayland: don't init if XDG_RUNTIME_DIR missing
wayland doesn't strictly follow the XDG_RUNTIME_DIR spec by falling back
to another directory in case the runtime dir is not properly set.

When this variable is unset, wayland will log an error to us, which we
treat as fatal, aborting the entire program.

Skip ourselves all the trouble and don't try to bring up the wayland
backend when we know it will fail in this way.

https://bugzilla.gnome.org/show_bug.cgi?id=738873
2014-10-21 08:12:12 -04:00