]>
Pileus Git - ~andy/gtk/log
Fran Diéguez [Tue, 15 Mar 2011 14:53:00 +0000 (15:53 +0100)]
Updated Galician translations
Alexander Larsson [Tue, 15 Mar 2011 12:00:24 +0000 (13:00 +0100)]
Merge branch 'broadway'
Alexander Larsson [Tue, 15 Mar 2011 10:47:38 +0000 (11:47 +0100)]
broadway: Enable TCP_NODELAY for output socket
This makes us send data immediately, giving a much snappier
over-network experience.
Alexander Larsson [Tue, 15 Mar 2011 09:33:08 +0000 (10:33 +0100)]
broadway: Fix up whitespace and indentation for js code
Alexander Larsson [Tue, 15 Mar 2011 09:26:53 +0000 (10:26 +0100)]
broadway: Use camelCase for all js code
Alexander Larsson [Tue, 15 Mar 2011 09:18:07 +0000 (10:18 +0100)]
broadway: Fix flicker when resizing windows
Resizing a canvas causes a clear, so we have to save the previous
content and restore to avoid flickering.
Alexander Larsson [Tue, 15 Mar 2011 08:50:07 +0000 (09:50 +0100)]
broadway: double buffer window updates
Ensure that we're writing all the updates for a single rendering op
in one go without callbacks inbetween. That way some rendering will
be delayed, but the user will never see partial renderings.
Alexander Larsson [Mon, 14 Mar 2011 22:25:36 +0000 (23:25 +0100)]
broadway: Don't crash if output is NULL
Alexander Larsson [Mon, 14 Mar 2011 20:40:59 +0000 (21:40 +0100)]
broadway: Implement gdk_broadway_device_window_at_position
This is required for ungrabs to work properly
Alexander Larsson [Mon, 14 Mar 2011 19:59:28 +0000 (20:59 +0100)]
broadway: Ensure we begin a path when clipping
Alexander Larsson [Mon, 14 Mar 2011 19:59:00 +0000 (20:59 +0100)]
broadway: Do copy rects with compositing mode "copy"
Cosimo Cecchi [Mon, 14 Mar 2011 15:01:43 +0000 (11:01 -0400)]
notebook: make GtkNotebook respect the focus-padding style property
https://bugzilla.gnome.org/show_bug.cgi?id=644348
Alexander Larsson [Mon, 14 Mar 2011 15:38:24 +0000 (16:38 +0100)]
broadway: Fix undefined variable error in js
Alexander Larsson [Mon, 14 Mar 2011 15:04:34 +0000 (16:04 +0100)]
broadway: Start windows transparent rather than black
This avoids flashing
Alexander Larsson [Mon, 14 Mar 2011 14:58:55 +0000 (15:58 +0100)]
broadway: Make broadway port configurable with BROADWAY_DISPLAY
Alexander Larsson [Mon, 14 Mar 2011 14:46:29 +0000 (15:46 +0100)]
broadway: Report right coordinates on ungrab enter
Alexander Larsson [Mon, 14 Mar 2011 14:24:25 +0000 (15:24 +0100)]
broadway: Fix various typos in mouse button event reporting
Alexander Larsson [Mon, 14 Mar 2011 11:13:21 +0000 (12:13 +0100)]
broadway: Fix up grab events, its "mode" not "detail" we send
Alexander Larsson [Mon, 14 Mar 2011 11:09:19 +0000 (12:09 +0100)]
broadway: Track button state
Alexander Larsson [Mon, 14 Mar 2011 11:02:18 +0000 (12:02 +0100)]
broadway: Fix time in ungrab
Alexander Larsson [Mon, 14 Mar 2011 10:46:43 +0000 (11:46 +0100)]
broadway: Implement pointer grabs
Alexander Larsson [Mon, 14 Mar 2011 10:22:12 +0000 (11:22 +0100)]
broadway: Fix some window coordinate reporting issues
Alexander Larsson [Mon, 14 Mar 2011 10:21:37 +0000 (11:21 +0100)]
broadway: Remove debug code and fix whitespace issues
Alexander Larsson [Mon, 14 Mar 2011 09:05:24 +0000 (10:05 +0100)]
broadway: Add debug logging framework for js
Alexander Larsson [Mon, 14 Mar 2011 08:51:54 +0000 (09:51 +0100)]
broadway: Fix typo that broke window hiding
Erdal Ronahi [Sun, 13 Mar 2011 20:52:06 +0000 (21:52 +0100)]
Updated Kurdish translation
Erdal Ronahi [Sun, 13 Mar 2011 20:14:00 +0000 (21:14 +0100)]
Updated Kurdish translation
Klemen Košir [Sun, 13 Mar 2011 17:14:48 +0000 (18:14 +0100)]
Updated Slovenian translation
Changwoo Ryu [Sun, 13 Mar 2011 14:27:02 +0000 (23:27 +0900)]
Updated Korean translation
Matthias Clasen [Sun, 13 Mar 2011 02:25:07 +0000 (21:25 -0500)]
Add annotations to gtk_window_get_position
Part of bug 644353, patch by Ulrik Sverdrup.
Matthias Clasen [Sun, 13 Mar 2011 02:23:25 +0000 (21:23 -0500)]
Fix annotations for gtk_accelerator_parse
Part of bug 644353, patch by Ulrik Sverdrup.
Matthias Clasen [Sun, 13 Mar 2011 02:22:27 +0000 (21:22 -0500)]
Formatting fixes
Cosimo Cecchi [Wed, 9 Mar 2011 06:14:24 +0000 (01:14 -0500)]
paned: don't set the "pane-separator" style class to all the container
Otherwise children inherit color properties specified for the pane
separator itself.
https://bugzilla.gnome.org/show_bug.cgi?id=644276
Carlos Garcia Campos [Sat, 12 Mar 2011 16:02:49 +0000 (17:02 +0100)]
themingengine: Use render_background_internal() to render handle background
Instead of using always the background color. This fixes handles that
have a background image like gnome-panel applets in a transparent
panel.
https://bugzilla.gnome.org/show_bug.cgi?id=644570
Petr Kovar [Sat, 12 Mar 2011 22:33:53 +0000 (23:33 +0100)]
Update Czech translation
Matthias Clasen [Sat, 12 Mar 2011 18:42:05 +0000 (13:42 -0500)]
GtkAboutDialog: keep toggle button state in sync
When hiding the dialog, we hide the credits/license parts, so
we need to update the toggle buttons controlling them.
https://bugzilla.gnome.org/show_bug.cgi?id=644355
Klemen Košir [Sat, 12 Mar 2011 18:26:10 +0000 (19:26 +0100)]
Updated Slovenian translation
Bruno Brouard [Sat, 12 Mar 2011 17:03:08 +0000 (18:03 +0100)]
Updated French translation
Daniel Nylander [Fri, 11 Mar 2011 20:55:12 +0000 (21:55 +0100)]
Updated Swedish translation
Daniel Nylander [Fri, 11 Mar 2011 20:41:01 +0000 (21:41 +0100)]
Updated Swedish translation
Alexander Larsson [Fri, 11 Mar 2011 20:39:11 +0000 (21:39 +0100)]
broadway: Get query_state window coords from browser side
Alexander Larsson [Fri, 11 Mar 2011 20:28:39 +0000 (21:28 +0100)]
broadway: Split out getPositionsFromAbsCoord from getPositionsFromEvent
Alexander Larsson [Fri, 11 Mar 2011 20:12:57 +0000 (21:12 +0100)]
broadway: Fix up a bunch of js style issues
Alexander Larsson [Fri, 11 Mar 2011 20:10:23 +0000 (21:10 +0100)]
broadway: Move event coordinate calculation to browser side
Benjamin Otte [Fri, 11 Mar 2011 18:42:26 +0000 (19:42 +0100)]
gtk: Queue a resize after state changes
Lots of style properties - border-width in this case - can change the
size of widgets, so we need to queue a resize instead of just redrawing.
Alexander Larsson [Fri, 11 Mar 2011 13:56:31 +0000 (14:56 +0100)]
broadway: Implement pointer query_status
Alexander Larsson [Fri, 11 Mar 2011 13:45:13 +0000 (14:45 +0100)]
broadway: Add _gdk_broadway_display_block_for_input
Alexander Larsson [Fri, 11 Mar 2011 13:41:03 +0000 (14:41 +0100)]
broadway: Break out websockets parsing and message processing
We need this to be able to correctly handle the recieve buffer
during message processing. Without the split we would be
recursing over the use of it.
Alexander Larsson [Fri, 11 Mar 2011 13:37:39 +0000 (14:37 +0100)]
broadway: Implement gdk_display_flush
Alexander Larsson [Fri, 11 Mar 2011 07:26:37 +0000 (08:26 +0100)]
broadway: Call device vfunc to get device state
We want only one place where we get device state.
Chun-wei Fan [Fri, 11 Mar 2011 04:36:33 +0000 (12:36 +0800)]
Update README.win32
Make the information in that files more up-to-date
Benjamin Otte [Fri, 11 Mar 2011 00:27:37 +0000 (01:27 +0100)]
gdk: Use CAIRO_OPERATOR_SOURCE when painting double-buffered buffer
Otherwise RGBA surfaces will have issues.
This patch only affects non-implicit paints, ie no paints at all in the
real world.
Benjamin Otte [Fri, 11 Mar 2011 00:10:37 +0000 (01:10 +0100)]
gdk: Add GDK_RENDERING environment variable
It's useful for debugging rendering issues, both correctness and
performance wise.
See the added documentation for what it does and how it works.
Alexander Larsson [Thu, 10 Mar 2011 20:22:19 +0000 (21:22 +0100)]
broadway: Change input handling to use polling rather than async reads
We do this because we need to be able to switch to using sync reads
when we're doing a roundtripping call, and that is too complex
with the async code.
Kristian Rietveld [Thu, 10 Mar 2011 20:20:37 +0000 (21:20 +0100)]
Include gdkquartz.h so GDK_IS_QUARTZ_SCREEN is actually defined
Daniel Mustieles [Thu, 10 Mar 2011 18:15:26 +0000 (19:15 +0100)]
Updated Spanish translation
Klemen Košir [Thu, 10 Mar 2011 17:20:23 +0000 (18:20 +0100)]
Updated Slovenian translation
Alexander Larsson [Thu, 10 Mar 2011 13:58:47 +0000 (14:58 +0100)]
broadway: Add serial tracking and roundtripping
Alexander Larsson [Thu, 10 Mar 2011 12:59:30 +0000 (13:59 +0100)]
broadway: Clean up protocol message writing a bit
Centralize the header writing so we can extend it later.
Don't opencode the size of element when increasing p.
Alexander Larsson [Thu, 10 Mar 2011 09:51:04 +0000 (10:51 +0100)]
Merge branch 'gtk-3-0' into broadway
Conflicts:
gdk/gdkdisplaymanager.c
Tristan Van Berkom [Thu, 10 Mar 2011 05:08:15 +0000 (14:08 +0900)]
Fixed gdk_window_beep() to pass the toplevel instance to the toplevel's implementation vfunc.
This incorrect assignment would cause asynchronous aborts from the X server
(they would occur if for instance, an offscreen GtkTreeView calls
gtk_widget_error_bell()).
Daniel Korostil [Thu, 10 Mar 2011 16:33:50 +0000 (18:33 +0200)]
Uploaded Ukranian
Piotr Drąg [Thu, 10 Mar 2011 11:55:22 +0000 (12:55 +0100)]
Updated LINGUAS
Michael Kotsarinis [Wed, 9 Mar 2011 23:25:08 +0000 (01:25 +0200)]
l10n: Updated Greek translation for gtk+
Cosimo Cecchi [Wed, 9 Mar 2011 19:15:43 +0000 (14:15 -0500)]
notebook: add an 'initial-gap' style property
It adds a gap before the first tab in the notebook.
https://bugzilla.gnome.org/show_bug.cgi?id=643841
Tristan Van Berkom [Wed, 9 Mar 2011 06:06:45 +0000 (15:06 +0900)]
Fixed GtkTreeModel::row-deleted documentation
This documentation was in direct conflict with the documentation
of gtk_tree_model_row_deleted() docs, the function docs are TRUE,
the signal docs were FALSE, fixed.
Tristan Van Berkom [Wed, 9 Mar 2011 06:06:45 +0000 (15:06 +0900)]
Fixed GtkTreeModel::row-deleted documentation
This documentation was in direct conflict with the documentation
of gtk_tree_model_row_deleted() docs, the function docs are TRUE,
the signal docs were FALSE, fixed.
Cosimo Cecchi [Tue, 8 Mar 2011 22:08:03 +0000 (17:08 -0500)]
stylecontext: add a raised style class
This is useful for raised elements, for example raised buttons on
primary toolbars.
https://bugzilla.gnome.org/show_bug.cgi?id=644248
Alexander Larsson [Mon, 7 Mar 2011 15:01:46 +0000 (16:01 +0100)]
Remove support for GDK_NATIVE_WINDOWS
GDK_NATIVE_WINDOWS was a way to keep some old apps running that did weird
things in gtk2. We should not have to carry this forwards in gtk 3.x.
We do however keep a g_warning() call reminding people of this fact to
ease debugging when they try to port their applications.
https://bugzilla.gnome.org/show_bug.cgi?id=644119
Carlos Garnacho [Mon, 7 Mar 2011 22:05:03 +0000 (23:05 +0100)]
gtksettings: plug a leak
Make the GValue take the created GString.
Carlos Garnacho [Mon, 7 Mar 2011 22:00:16 +0000 (23:00 +0100)]
cssprovider: Reset the scope before skipping to the next rule after an error happens.
This is so the selector token gets parsed with the correct GScanner scope/config
on all situations.
Carlos Garnacho [Mon, 7 Mar 2011 21:59:45 +0000 (22:59 +0100)]
cssprovider: plug two more leak fixes
Carlos Garnacho [Mon, 7 Mar 2011 21:42:33 +0000 (22:42 +0100)]
cssprovider: return immediately if there's remaining data behind a parsed value
parse_value() could fill in a GError, but yet (incorrectly) return G_TOKEN_NONE,
having the GError leaked as a result.
https://bugzilla.gnome.org/show_bug.cgi?id=642604 , Reported by Felix Riemann.
John Ralls [Mon, 7 Mar 2011 20:28:20 +0000 (12:28 -0800)]
Finish making the GtkSettings object identical on all backends so that it doesn't assert on non-X11 backends
Benjamin Otte [Mon, 7 Mar 2011 16:45:08 +0000 (17:45 +0100)]
x11: Copy from actual window, not parent
This code is a relic from GTK2 days and should not be necessary anymore,
as code now makes sure to only copy those parts of the window that are
not overlapped by parent windows.
By deleting it we fix potential issues with composited and translucent
windows copying the wrong data.
https://bugzilla.gnome.org/show_bug.cgi?id=643416
Matthias Clasen [Mon, 7 Mar 2011 15:08:48 +0000 (10:08 -0500)]
Bump version
Matthias Clasen [Mon, 7 Mar 2011 13:24:27 +0000 (08:24 -0500)]
Update NEWS
Cosimo Cecchi [Mon, 7 Mar 2011 05:17:08 +0000 (00:17 -0500)]
treeview: propagate the selected state from the row
An expander in a row can't be selected on its own otherwise. This way
themes can override the expander colors when the row is selected.
https://bugzilla.gnome.org/show_bug.cgi?id=644089
Carlos Garnacho [Mon, 7 Mar 2011 10:59:33 +0000 (11:59 +0100)]
entry: Do not clobber state when rendering the default icons.
Use lower level methods that just require changing the state in the
GtkStyleContext instead. Fixes a problem where the insensitive state
was being set to the entry becasuse a parent was insensitive, spotted
by Alex Larsson.
Cosimo Cecchi [Sat, 5 Mar 2011 08:01:44 +0000 (03:01 -0500)]
notebook: flip the render order
The render order for tabs is now
- left to right until the active tab
- right to left until the active tab
- active tab
This allows themes that use non-straight lines for the tab curvature to
draw them not worrying about flipping one side after the active tab.
Cosimo Cecchi [Mon, 7 Mar 2011 03:04:13 +0000 (22:04 -0500)]
notebook: fixup the last commit
Let the tab overlap eat the padding, otherwise having tab-overlap >
tab-curvature without cutting the label is impossible.
This way we give the label widget all the allocation possible before
giving up and cutting it if the values for tab-overlap are too extreme
for the given padding.
Cosimo Cecchi [Sat, 5 Mar 2011 08:05:12 +0000 (03:05 -0500)]
notebook: make sure the label widget allocation not exceeds the overlap
Cosimo Cecchi [Sat, 5 Mar 2011 08:05:54 +0000 (03:05 -0500)]
notebook: make sure the allocation keeps track of the tab curvature
This was a genuine typo, because "padding" was calculated but unused in
this branch of the code.
Kristjan SCHMIDT [Sun, 6 Mar 2011 17:27:14 +0000 (18:27 +0100)]
Updated Esperanto translation
Duarte Loreto [Sun, 6 Mar 2011 15:20:37 +0000 (15:20 +0000)]
Updated Portuguese translation
Jorge González [Sun, 6 Mar 2011 14:21:41 +0000 (15:21 +0100)]
Updated Spanish translation
Carlos Garcia Campos [Sat, 5 Mar 2011 11:13:19 +0000 (12:13 +0100)]
xi2: Ignore button release events of button 4-7
We treat button presses of button 4-7 as scroll wheel events, so release
events should be ignored.
https://bugzilla.gnome.org/show_bug.cgi?id=643925
Ignacio Casal Quinteiro [Sun, 6 Mar 2011 10:16:28 +0000 (11:16 +0100)]
Fix conversion from GdkColor to GdkRGBA
Matthias Clasen [Sun, 6 Mar 2011 05:31:20 +0000 (00:31 -0500)]
Use existing mime type for GTK_FILE stock icon
document-x-generic is not actually a mimetype. Using text-x-generic
instead lets us work out-of-the-box in a11y themes.
Matthias Clasen [Sun, 6 Mar 2011 04:25:35 +0000 (23:25 -0500)]
Only count visible children during size request
This was causing spacing between image and label to be requested
in buttons, even though the image is invisible.
Benjamin Otte [Sat, 5 Mar 2011 14:01:19 +0000 (15:01 +0100)]
theme: Fix spinner for inactive state.
Previously, the inactive state caused the spinner's solid line to be
drawn to the right. Now it's drawn to the top instead, which makes the
inactive state look more natural.
Benjamin Otte [Sat, 5 Mar 2011 13:59:25 +0000 (14:59 +0100)]
theme: Make spinner animation turn clockwise
Benjamin Otte [Sat, 5 Mar 2011 13:57:55 +0000 (14:57 +0100)]
theme: Make spinner steps count forward, not backward
This makes the spinner roate the right way again.
Benjamin Otte [Sat, 5 Mar 2011 13:53:26 +0000 (14:53 +0100)]
theme: Make spinner drawing start with the solid line
Previously, for i == 0, we were drawing the translucent line first.
However, people reading the code would always assume the solid line is
indicated by the current step. So make the code do that.
Note that the spinner now rotates in the wrong direction. This will be
fixed in a future commit.
Benjamin Otte [Sat, 5 Mar 2011 13:49:19 +0000 (14:49 +0100)]
theme: Compute scale values once
Use a local variable to store the xscale and yscale, so that it's only
computed once.
Makes it easier to do the changes I'm about to do.
Benjamin Otte [Sat, 5 Mar 2011 13:47:55 +0000 (14:47 +0100)]
theme: Do general cairo setup in one place
Also remove wrong comment.
Benjamin Otte [Sat, 5 Mar 2011 13:46:36 +0000 (14:46 +0100)]
theme: Remove unnecessary save/restore in spinner code
Benjamin Otte [Sat, 5 Mar 2011 13:30:17 +0000 (14:30 +0100)]
theme: Simplify spinner drawing code a bit.
Murray Cumming [Sat, 5 Mar 2011 13:53:52 +0000 (14:53 +0100)]
gtk_init*(): Document that argc/argv can be 0,NULL.
* gtk/gtkmain.c: (gtk_init): Mention that argc and argv can be 0,
using the new text from the g_applicatoin_run() documentation.
There was already introspection annotation about that.
(gtk_init_check, gtk_init_with_args): Use the same text here.
See bug #643649 comment 2.
Rudolfs Mazurs [Sat, 5 Mar 2011 13:48:26 +0000 (15:48 +0200)]
Added Latvian translation.