]>
Pileus Git - ~andy/gtk/log
Kristian Høgsberg [Tue, 12 Apr 2011 13:52:44 +0000 (09:52 -0400)]
Merge branch 'gdk-backend-wayland'
Conflicts:
Makefile.am
configure.ac
gdk/Makefile.am
gtk/gtksettings.c
gtk/gtkwindow.c
Alexander Larsson [Tue, 12 Apr 2011 11:38:04 +0000 (13:38 +0200)]
[broadway] Cancel key events after seeing them
Alexander Larsson [Tue, 12 Apr 2011 09:34:13 +0000 (11:34 +0200)]
[broadway] Fix canvas resize when resizing browser window
We always have to resize the canvas, even when its in a toplevel.
Alexander Larsson [Tue, 12 Apr 2011 09:21:47 +0000 (11:21 +0200)]
[broadway] Fix typo
Alexander Larsson [Tue, 12 Apr 2011 09:11:36 +0000 (11:11 +0200)]
[broadway] Combine window move and resize into one op
This way we avoid sending a configure event for the inbetween state
if we're resizeing and moving at the same time.
Alexander Larsson [Tue, 12 Apr 2011 08:17:36 +0000 (10:17 +0200)]
[broadway] Fix various js warnings
Alexander Larsson [Tue, 12 Apr 2011 08:13:38 +0000 (10:13 +0200)]
[broadway] Add stacktrace debugging functions
Alexander Larsson [Tue, 12 Apr 2011 08:10:44 +0000 (10:10 +0200)]
[broadway] Always send configure events from browser
As soon as something changes, even if it was a request from the user
we send a configure event. If not we might race with a app-side
generated configure event.
For instance, a create + resize might create only a configure event for
the create in the browser, but that may get to the app after the app-side
configure event for the resize, overriding the new size.
Alexander Larsson [Mon, 11 Apr 2011 15:49:18 +0000 (17:49 +0200)]
[broadway] When resyncing, first create all windows then set attributes
Some attributes (like transient parent) depende on other windows being
there, so we create all first.
Alexander Larsson [Mon, 11 Apr 2011 15:48:21 +0000 (17:48 +0200)]
[broadway] More complete handling of transient parent
We now handle any order of transient being set and windows shown/created
Alexander Larsson [Mon, 11 Apr 2011 15:03:33 +0000 (17:03 +0200)]
[broadway] Use mozInnerScreenX & co to get window position
This way we don't have to rely on any event, which won't work until
we get an event.
Alexander Larsson [Mon, 11 Apr 2011 14:43:01 +0000 (16:43 +0200)]
[broadway] Parse x/y as signed
Alexander Larsson [Mon, 11 Apr 2011 14:42:41 +0000 (16:42 +0200)]
[broadway] Update window geometry after showing window
Alexander Larsson [Mon, 11 Apr 2011 14:42:02 +0000 (16:42 +0200)]
[broadway] Don't cache surface.transientToplevel as that might change at various times
Matthias Clasen [Mon, 11 Apr 2011 22:33:43 +0000 (18:33 -0400)]
GtkWindow: rearrange private struct to fill some holes
Paolo Borelli [Sat, 9 Apr 2011 14:01:23 +0000 (16:01 +0200)]
Small cleanup in statusbar
Factor out msg_create/free and use g_slist_free_full as appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=647278
Javier Jardón [Mon, 11 Apr 2011 21:52:00 +0000 (22:52 +0100)]
Move documentation to inline comments: GtkTearoffMenuItem
Javier Jardón [Mon, 11 Apr 2011 21:47:18 +0000 (22:47 +0100)]
Move documentation to inline comments: GtkCellRendererPixbuf
Javier Jardón [Mon, 11 Apr 2011 21:39:48 +0000 (22:39 +0100)]
Move documentation to inline comments: GtkCellRendererCombo
Javier Jardón [Mon, 11 Apr 2011 21:33:38 +0000 (22:33 +0100)]
Move documentation to inline comments: GtkHSeparator
Javier Jardón [Mon, 11 Apr 2011 21:14:35 +0000 (22:14 +0100)]
Move documentation to online comments: GtkCellRendererSpin
Takayoshi OKANO [Mon, 11 Apr 2011 14:17:23 +0000 (23:17 +0900)]
Updated Japanese translation.
Alexander Larsson [Mon, 11 Apr 2011 09:56:22 +0000 (11:56 +0200)]
[broadway] Correctly track remote visible state
GDK_WINDOW_IS_MAPPED is not false for withdrawn windows, so we need
to track real visibility ourselves.
Alexander Larsson [Mon, 11 Apr 2011 09:32:25 +0000 (11:32 +0200)]
[broadway] Clean up js side surface handling
* Always calculate the context, don't store in surface.
* Store the toplevel element (frame or canvas) for easy access.
* Always use visibility hidden rathern than display none to hide windows,
as this means we can always rely on dom positioning info.
Alexander Larsson [Mon, 11 Apr 2011 08:54:02 +0000 (10:54 +0200)]
[broadway] Restack on window show to ensure all zIndexes are right
Alexander Larsson [Mon, 11 Apr 2011 08:53:11 +0000 (10:53 +0200)]
[broadway] Store surface, not id in stackingOrder list
Alexander Larsson [Mon, 11 Apr 2011 08:46:48 +0000 (10:46 +0200)]
[broadway] Set transient-for before showing window
When syncing windows, make sure we set transient-for before showing
the window to avoid it being visible with the wrong transient-for
(i.e. possibly on the wrong browser window).
Alexander Larsson [Mon, 11 Apr 2011 08:43:09 +0000 (10:43 +0200)]
[broadway] Fix css typo
rgb takes 3 params, rgba takes four.
Alexander Larsson [Mon, 11 Apr 2011 08:42:03 +0000 (10:42 +0200)]
[broadway] Fix up frame size calculation
Turns out that offsetTop/Left doesn't contain the border, so we need
to manually add that in.
Javier Jardón [Mon, 11 Apr 2011 02:09:38 +0000 (03:09 +0100)]
Move documentation to inline comments: GtkFileChooserWidget
Javier Jardón [Mon, 11 Apr 2011 02:04:20 +0000 (03:04 +0100)]
Move documentation to inline comments: GtkHScale
Javier Jardón [Mon, 11 Apr 2011 02:00:24 +0000 (03:00 +0100)]
Move documentation to inline comments: GtkCellRendererAccel
Javier Jardón [Mon, 11 Apr 2011 01:54:53 +0000 (02:54 +0100)]
Move documentation to inline comments: GtkHScrollbar
Javier Jardón [Mon, 11 Apr 2011 01:51:46 +0000 (02:51 +0100)]
Remove unneded template: gtkimcontext.sgml
Javier Jardón [Mon, 11 Apr 2011 01:47:43 +0000 (02:47 +0100)]
Move documentation to inline comments: GtkFontButton
Javier Jardón [Mon, 11 Apr 2011 01:42:54 +0000 (02:42 +0100)]
Move documentation to inline comments: GtkCellRendererToggle
Javier Jardón [Mon, 11 Apr 2011 01:36:23 +0000 (02:36 +0100)]
Move documentation to inline comments: GtkHPaned
Javier Jardón [Mon, 11 Apr 2011 01:31:56 +0000 (02:31 +0100)]
Move documentation to inline comments: GtkInvisible
Javier Jardón [Mon, 11 Apr 2011 01:18:13 +0000 (02:18 +0100)]
Move documentation to inline comments: GtkCellRendererProgress
Javier Jardón [Mon, 11 Apr 2011 01:04:11 +0000 (02:04 +0100)]
Move documentation to inline comments: GtkMisc
Javier Jardón [Mon, 11 Apr 2011 01:13:02 +0000 (02:13 +0100)]
Move documentation to inline comments: GtkImageMenuItem
Alexander Larsson [Sun, 10 Apr 2011 19:10:07 +0000 (21:10 +0200)]
[broadway] Remove expensive transparency effects from css
Alexander Larsson [Fri, 8 Apr 2011 13:36:07 +0000 (15:36 +0200)]
[broadway] Make the toplevel mode a url parameter
Alexander Larsson [Fri, 8 Apr 2011 13:17:43 +0000 (15:17 +0200)]
[broadway] Position non-popup windows ourselves
We ignore the initial positions for non-popup windows, instead we
place the windows ourselves (or in the useToplevel mode by the WM).
Alexander Larsson [Fri, 8 Apr 2011 13:16:32 +0000 (15:16 +0200)]
[broadway] Fix up toplevel content visibility in useToplevel mode
surfaces.canvas may change if we move to another document, so
reupdate the element to show after ensureSurfaceInDocument.
Alexander Larsson [Fri, 8 Apr 2011 13:00:51 +0000 (15:00 +0200)]
[broadway] Move window to top when moving
Alexander Larsson [Fri, 8 Apr 2011 09:45:51 +0000 (11:45 +0200)]
[broadway] Add some initial work for in-window frames
The css is based on work by Jasper St Pierre:
http://magcius.mecheye.net/vista/
Alexander Larsson [Fri, 8 Apr 2011 09:45:16 +0000 (11:45 +0200)]
[broadway] Fix some typos in the js code
Alexander Larsson [Fri, 8 Apr 2011 06:56:35 +0000 (08:56 +0200)]
[broadway] Use the right doctype for html5
Tristan Van Berkom [Fri, 8 Apr 2011 16:55:50 +0000 (01:55 +0900)]
Fix some crashes caused by unimplemented functions in GdkOffscreenWindow
These crashes happen when accessing GtkWindow properties and the
GdkWindow is an offscreen (fixes https://bugzilla.gnome.org/show_bug.cgi?id=647244)
Matthias Clasen [Sat, 9 Apr 2011 01:34:25 +0000 (21:34 -0400)]
Free the translate queue when closing a display
Not that many people are ever going to hit this.
https://bugzilla.gnome.org/show_bug.cgi?id=645236
Matthias Clasen [Sat, 9 Apr 2011 01:20:26 +0000 (21:20 -0400)]
Fix some possible crashes if the default display is NULL
Unlikely that many people will hit these, but still.
https://bugzilla.gnome.org/show_bug.cgi?id=645176
Matthias Clasen [Sat, 9 Apr 2011 00:46:57 +0000 (20:46 -0400)]
Avoid a warning out of the print dialog
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=647152
Cosimo Cecchi [Thu, 7 Apr 2011 19:22:18 +0000 (15:22 -0400)]
themingengine: don't set a line width before saving the cairo context
https://bugzilla.gnome.org/show_bug.cgi?id=647086
Cosimo Cecchi [Thu, 7 Apr 2011 19:21:51 +0000 (15:21 -0400)]
separator: call gtk_style_context_restore() after drawing
https://bugzilla.gnome.org/show_bug.cgi?id=647086
Cosimo Cecchi [Thu, 7 Apr 2011 19:21:32 +0000 (15:21 -0400)]
calendar: make sure to call gtk_style_context_restore()
https://bugzilla.gnome.org/show_bug.cgi?id=647086
Paolo Borelli [Wed, 6 Apr 2011 04:18:18 +0000 (06:18 +0200)]
Do not leak list when drawing notebook.
When we construct the list in the other order we must free it.
https://bugzilla.gnome.org/show_bug.cgi?id=646886
Carlos Garnacho [Fri, 8 Apr 2011 14:23:39 +0000 (16:23 +0200)]
GdkDevice: Remove duplicate private function
_gdk_device_get_axis_use() dates back to pre-sealing, when the
xi2 work began, this remaining can be gone with a public
gdk_device_get_axis_use() function already in place.
Alexander Larsson [Thu, 7 Apr 2011 19:16:36 +0000 (21:16 +0200)]
[broadway] Enable useToplevelWindow by default for now
Alexander Larsson [Thu, 7 Apr 2011 18:21:22 +0000 (20:21 +0200)]
[broadway] Implement selections
Alexander Larsson [Thu, 7 Apr 2011 18:20:51 +0000 (20:20 +0200)]
[broadway] Remove unused hashtables
Alexander Larsson [Thu, 7 Apr 2011 18:19:30 +0000 (20:19 +0200)]
Make gtkclipboard.c:clipboard_get_timestamp multi-backend safe
We can't just check for the backend defines, we have to do runtime checks too.
Alexander Larsson [Thu, 7 Apr 2011 18:18:13 +0000 (20:18 +0200)]
[broadway] Add gdk_broadway_display_get_last_seen_time
Alexander Larsson [Thu, 7 Apr 2011 18:04:48 +0000 (20:04 +0200)]
[broadway] Fix up header guards to not refer to gdkx.h
Alexander Larsson [Thu, 7 Apr 2011 17:25:16 +0000 (19:25 +0200)]
[broadway] Add gdkbroadway.h public header
Alexander Larsson [Thu, 7 Apr 2011 17:12:51 +0000 (19:12 +0200)]
[broadway] Serialize event times
Event times come from the browser and may change weirdly when we reconnect
with another browser, so we normalize these to be strictly increasing
and with a 5 second gap for each reconnect.
Alexander Larsson [Thu, 7 Apr 2011 13:26:37 +0000 (15:26 +0200)]
[broadway] Fix typo in implicit grab support
We do an implicit grab if there is no grab already, not only if there is
one.
Alexander Larsson [Thu, 7 Apr 2011 13:10:39 +0000 (15:10 +0200)]
[broadway] Handle screen size
Without this menu placement doesn't work right
Alexander Larsson [Thu, 7 Apr 2011 12:36:30 +0000 (14:36 +0200)]
[broadway] Track and report last and future state
This fixes the drawing area demo in gtk-demo
Alexander Larsson [Thu, 7 Apr 2011 12:29:26 +0000 (14:29 +0200)]
[broadway] Report mouse pointer coordinates right
The windows argument to device_query_state can be a client side
window, but we must only handle the "native" part of it (i.e.
window->impl->wrapper).
Alexander Larsson [Wed, 6 Apr 2011 20:23:35 +0000 (22:23 +0200)]
[broadway] Fix all unnecessary warnings
Alexander Larsson [Wed, 6 Apr 2011 20:13:18 +0000 (22:13 +0200)]
[broadway] Wire up the delete event
Alexander Larsson [Wed, 6 Apr 2011 14:51:31 +0000 (16:51 +0200)]
[broadway] Report right root coors in toplevel mode
Alexander Larsson [Wed, 6 Apr 2011 14:39:07 +0000 (16:39 +0200)]
[broadway] Add configure event for browser-side geometry changes
Atm this only works for the useToplevelWindows case, but we can add
a browser wm to make use of it inside the browser too.
Alexander Larsson [Wed, 6 Apr 2011 09:40:40 +0000 (11:40 +0200)]
[broadway] Add experimental toplevel window mode
This mode makes each toplevel window get its own browser window, with
popup windows using the browser window of their transient parent.
Its not idea, as you can't get rid of all browser chrome by default, and
it means popups (like menus) can't extend outside the toplevels. But, it is
kinda cool.
Alexander Larsson [Wed, 6 Apr 2011 09:00:32 +0000 (11:00 +0200)]
[broadway] Fixup ungrab reference to old time variable
Alexander Larsson [Wed, 6 Apr 2011 08:03:42 +0000 (10:03 +0200)]
[broadway] Break out document setup into its own function
In the future we might have more documents (one per toplevel browser
window).
Alexander Larsson [Wed, 6 Apr 2011 08:01:53 +0000 (10:01 +0200)]
[broadway] Remove unused grab.time on browser side
Alexander Larsson [Wed, 6 Apr 2011 07:57:31 +0000 (09:57 +0200)]
[broadway] Break out all command handling to separate functions
We don't want to mix up the argument parsing with the actual implementation.
Alexander Larsson [Wed, 6 Apr 2011 07:46:49 +0000 (09:46 +0200)]
[broadway] Make the surface object a plain js object, not the context
Alexander Larsson [Wed, 6 Apr 2011 07:32:15 +0000 (09:32 +0200)]
[broadway] Centralize surface creation code in js
Alexander Larsson [Tue, 5 Apr 2011 10:27:43 +0000 (12:27 +0200)]
[broadway] Track window type in browser
Alexander Larsson [Tue, 5 Apr 2011 10:02:46 +0000 (12:02 +0200)]
[broadway] Track transient_for
Alexander Larsson [Tue, 5 Apr 2011 08:52:40 +0000 (10:52 +0200)]
[broadway] Remove unused query pointer message
Alexander Larsson [Tue, 5 Apr 2011 08:45:51 +0000 (10:45 +0200)]
[broadway] Don't roundtrip for getting current pointer location
Roundtrips are bad, and this gets called a lot, so we use all currently
availible future info to "emulate" a full roundtrip, but with much lower
cost.
Alexander Larsson [Tue, 5 Apr 2011 08:44:53 +0000 (10:44 +0200)]
[broadway] Add _gdk_broadway_display_consume_all_input
This parses and queues all currently availible input data non-blockingly.
Useful to ensure the latest up-to-date future info.
Alexander Larsson [Tue, 5 Apr 2011 08:43:52 +0000 (10:43 +0200)]
[broadway] Track future pointer events locations during parsing
We want this info so that we can avoid roundtrips and still get
a somewhat better querying for pointer locations.
Alexander Larsson [Tue, 5 Apr 2011 08:43:04 +0000 (10:43 +0200)]
[broadway] Add helper for processing input at idle
Alexander Larsson [Tue, 5 Apr 2011 08:03:14 +0000 (10:03 +0200)]
[broadway] Keep track of current real cursor window (sans grabs)
We need this to be able to do a non-roundtripping get-window.
Alexander Larsson [Fri, 1 Apr 2011 15:07:17 +0000 (17:07 +0200)]
[broadway] Break out _gdk_broadway_display_read_all_input_nonblocking
This is useful in other places, like when we want to iterate over
all messages recieved so far.
Alexander Larsson [Fri, 1 Apr 2011 14:29:03 +0000 (16:29 +0200)]
[broadway] Make pointer grabs not roundtrip
Since we're really only initializing grabs (except for implicit
grabs at least) from the client side we might as well do all the grab
time checks on the client side to avoid unnecassary roundtrips.
Alexander Larsson [Fri, 1 Apr 2011 13:46:01 +0000 (15:46 +0200)]
[broadway] Save last event time seen
Alexander Larsson [Fri, 1 Apr 2011 13:08:28 +0000 (15:08 +0200)]
[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.
Matthias Clasen [Wed, 6 Apr 2011 04:56:37 +0000 (00:56 -0400)]
GtkColorButton: Don't leak references
https://bugzilla.gnome.org/show_bug.cgi?id=646815
Petr Kovar [Wed, 6 Apr 2011 01:43:06 +0000 (03:43 +0200)]
Update Czech translation
Jordi Serratosa [Mon, 4 Apr 2011 19:29:22 +0000 (21:29 +0200)]
[l10n]Fixes on Catalan translation
Jordi Serratosa [Mon, 4 Apr 2011 19:20:32 +0000 (21:20 +0200)]
[l10n]Fixes on Catalan translation
Tristan Van Berkom [Mon, 4 Apr 2011 04:58:05 +0000 (13:58 +0900)]
Fixed bug in GtkSizeRequest code where the cache is not reset properly
Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500
Rodolfo Ribeiro Gomes [Mon, 4 Apr 2011 14:11:26 +0000 (11:11 -0300)]
Updated Brazilian Portuguese translation
Chao-Hsiung Liao [Mon, 4 Apr 2011 12:27:38 +0000 (20:27 +0800)]
Updated Traditional Chinese translation (Hong Kong and Taiwan)