]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agolabel: we can't ignore sizes on ellipsized labels
Benjamin Otte [Sun, 3 Apr 2011 13:03:19 +0000 (15:03 +0200)]
label: we can't ignore sizes on ellipsized labels

So don't use this optimization when a label is ellipsized.

https://bugzilla.gnome.org/show_bug.cgi?id=646517

13 years agocssprovider: Use g_type_depth() instead of computing the depth manually
Benjamin Otte [Fri, 1 Apr 2011 22:03:18 +0000 (00:03 +0200)]
cssprovider: Use g_type_depth() instead of computing the depth manually

13 years agosizerequest: return CONSTANT_SIZE in return_if_fail()
Benjamin Otte [Thu, 31 Mar 2011 22:21:04 +0000 (00:21 +0200)]
sizerequest: return CONSTANT_SIZE in return_if_fail()

13 years agotestgtk: Make it possible to stop the progressbar from updating
Benjamin Otte [Thu, 31 Mar 2011 13:09:07 +0000 (15:09 +0200)]
testgtk: Make it possible to stop the progressbar from updating

This way, I can check that my invalidation fixes actually work.

13 years agoGtkTimeline: don't look when animations are disabled
Matthias Clasen [Thu, 14 Apr 2011 12:56:07 +0000 (08:56 -0400)]
GtkTimeline: don't look when animations are disabled

Otherwise, we end up doing maximal work with minimal effect, and
bring the X server to 100% CPU. Note that this makes spinner widgets
look really unclear, but they really have to be changed to adapt
to enable-animations == FALSE at the widget level.

13 years agoMove documentation to inline comments: GtkIconFactory
Javier Jardón [Wed, 13 Apr 2011 21:46:18 +0000 (22:46 +0100)]
Move documentation to inline comments: GtkIconFactory

13 years agoMove documentation to inline comments: GtkHandleBox
Javier Jardón [Wed, 13 Apr 2011 21:36:00 +0000 (22:36 +0100)]
Move documentation to inline comments: GtkHandleBox

13 years agoMove documentation to inline comments: GtkFontSelection
Javier Jardón [Wed, 13 Apr 2011 21:23:44 +0000 (22:23 +0100)]
Move documentation to inline comments: GtkFontSelection

13 years agoMove documentation to inline comments: GtkFileChooserDialog
Javier Jardón [Wed, 13 Apr 2011 21:17:51 +0000 (22:17 +0100)]
Move documentation to inline comments: GtkFileChooserDialog

13 years agoMove documentation to inline comments: GtkFileChooserButton
Javier Jardón [Wed, 13 Apr 2011 19:46:31 +0000 (20:46 +0100)]
Move documentation to inline comments: GtkFileChooserButton

13 years agoMove documentation to inline comments: GtkToggleToolButton
Javier Jardón [Wed, 13 Apr 2011 19:37:21 +0000 (20:37 +0100)]
Move documentation to inline comments: GtkToggleToolButton

13 years agoBump version
Matthias Clasen [Wed, 13 Apr 2011 22:15:43 +0000 (18:15 -0400)]
Bump version

13 years agoFix make dist in gdk/broadway
Matthias Clasen [Wed, 13 Apr 2011 21:48:48 +0000 (17:48 -0400)]
Fix make dist in gdk/broadway

13 years agowayland: Remove non-existing gdkscreen-wayland.h from SOURCES
Kristian Høgsberg [Wed, 13 Apr 2011 18:33:22 +0000 (14:33 -0400)]
wayland: Remove non-existing gdkscreen-wayland.h from SOURCES

13 years agoAdd new symbols
Matthias Clasen [Wed, 13 Apr 2011 18:24:18 +0000 (14:24 -0400)]
Add new symbols

13 years agoAdd new symbols to the docs
Matthias Clasen [Wed, 13 Apr 2011 18:09:39 +0000 (14:09 -0400)]
Add new symbols to the docs

And add a 'Since 3.2' index too.

13 years agoAdd a bug ref
Matthias Clasen [Wed, 13 Apr 2011 17:35:36 +0000 (13:35 -0400)]
Add a bug ref

13 years agoGtkMenuShell: always 'activate' menu shells
Matthias Clasen [Wed, 13 Apr 2011 17:28:46 +0000 (13:28 -0400)]
GtkMenuShell: always 'activate' menu shells

Failing to do so can leave us with a stuck grab in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=554057

13 years agoUpdated NEWS
Matthias Clasen [Wed, 13 Apr 2011 15:42:34 +0000 (11:42 -0400)]
Updated NEWS

13 years agoFix a link in README
Matthias Clasen [Wed, 13 Apr 2011 04:24:21 +0000 (00:24 -0400)]
Fix a link in README

Patch by Thomas Andersen
https://bugzilla.gnome.org/show_bug.cgi?id=647594

13 years agoMove documentation to inline comments: GtkColorSelectionDialog
Javier Jardón [Wed, 13 Apr 2011 13:36:28 +0000 (14:36 +0100)]
Move documentation to inline comments: GtkColorSelectionDialog

13 years agodocs: Fix a typo: gtk_style_get_context -> gtk_style_has_context
Javier Jardón [Wed, 13 Apr 2011 12:53:41 +0000 (13:53 +0100)]
docs: Fix a typo: gtk_style_get_context -> gtk_style_has_context

13 years agoMove documentation to inline comments: GtkClipboard
Javier Jardón [Wed, 13 Apr 2011 11:48:47 +0000 (12:48 +0100)]
Move documentation to inline comments: GtkClipboard

13 years agoMove documentation to inline comments: GtkCheckMenuItem
Javier Jardón [Wed, 13 Apr 2011 11:32:47 +0000 (12:32 +0100)]
Move documentation to inline comments: GtkCheckMenuItem

13 years agoMove documentation to inline comments: GtkCheckButton
Javier Jardón [Wed, 13 Apr 2011 11:25:06 +0000 (12:25 +0100)]
Move documentation to inline comments: GtkCheckButton

13 years agoMove documentation to inline comments: GtkTable
Javier Jardón [Wed, 13 Apr 2011 00:45:33 +0000 (01:45 +0100)]
Move documentation to inline comments: GtkTable

13 years agoMove documentation to inline comments: GtkStatusIcon
Javier Jardón [Wed, 13 Apr 2011 00:07:48 +0000 (01:07 +0100)]
Move documentation to inline comments: GtkStatusIcon

13 years agoMove documentation to inline comments: GtkHButtonBox
Javier Jardón [Tue, 12 Apr 2011 23:55:22 +0000 (00:55 +0100)]
Move documentation to inline comments: GtkHButtonBox

13 years agoMove documentation to inline comments: GtkFrame
Javier Jardón [Tue, 12 Apr 2011 23:49:30 +0000 (00:49 +0100)]
Move documentation to inline comments: GtkFrame

13 years agocombobox: always give the full allocation to the button in menu mode
Cosimo Cecchi [Tue, 12 Apr 2011 18:20:27 +0000 (14:20 -0400)]
combobox: always give the full allocation to the button in menu mode

The button is what draws the background/frame outline of the combobox,
and padding is defined as the spacing *inside* the widget between the
border and the content.

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agocombobox: rename border->padding for code clarity
Cosimo Cecchi [Tue, 12 Apr 2011 18:10:43 +0000 (14:10 -0400)]
combobox: rename border->padding for code clarity

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agocombobox: allocate the right border to the arrow and not to the label
Cosimo Cecchi [Wed, 6 Apr 2011 02:36:24 +0000 (22:36 -0400)]
combobox: allocate the right border to the arrow and not to the label

When the combobox is in menu mode, the right padding of the togglebutton
inside, should be allocated to its rightmost children, which is the
arrow.

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agocombobox: don't use the border as a padding
Cosimo Cecchi [Tue, 5 Apr 2011 21:44:49 +0000 (17:44 -0400)]
combobox: don't use the border as a padding

This causes the combobox to behave badly from the theme.

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agocombobox: don't add the button style class to the whole widget
Cosimo Cecchi [Tue, 5 Apr 2011 21:36:42 +0000 (17:36 -0400)]
combobox: don't add the button style class to the whole widget

It already has a toggle button inside, and this way we cannot theme them
separately.

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agobutton: don't use the border values for padding
Cosimo Cecchi [Tue, 5 Apr 2011 19:35:05 +0000 (15:35 -0400)]
button: don't use the border values for padding

It's wrong, and makes it impossible to theme the button properly.

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agobutton: make gtk_button_get_props() return the padding too
Cosimo Cecchi [Tue, 5 Apr 2011 19:34:32 +0000 (15:34 -0400)]
button: make gtk_button_get_props() return the padding too

https://bugzilla.gnome.org/show_bug.cgi?id=646882

13 years agogtk_window_present_with_time: fix when window is not initially visible
Dan Winship [Tue, 12 Apr 2011 17:03:38 +0000 (13:03 -0400)]
gtk_window_present_with_time: fix when window is not initially visible

When called on a hidden window, gtk_window_present_with_time() would
just fall back to gtk_widget_show(), completely ignoring the passed-in
timestamp. This ended up working anyway if the timestamp came from
in-process, since gdk_window_x11_show() would initialize its user_time
from the time of the most recent event. But if the timestamp came from
another process, this would result in the window being shown with an
out-of-date timestamp.

Fix this by remembering the timestamp from
gtk_window_present_with_time(), and then setting the GdkWindow's
user_time from that when it the window is realized.

https://bugzilla.gnome.org/show_bug.cgi?id=647275

13 years agoGdkDeviceManagerXI2: don't set user_time on ButtonRelease
Dan Winship [Mon, 11 Apr 2011 16:13:44 +0000 (12:13 -0400)]
GdkDeviceManagerXI2: don't set user_time on ButtonRelease

The XI2 device manager was mistakenly setting the window user_time on
both ButtonPress and ButtonRelease, which meant that processes that
tried to launch another process based on the time of a ButtonPress
event would end up always focus-stealing-preventing the new app.

https://bugzilla.gnome.org/show_bug.cgi?id=647275

13 years agoGtkWidgetPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:50:30 +0000 (12:50 -0400)]
GtkWidgetPrivate: Improve struct packing

13 years agoGtkTreeModelFilterPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:50:05 +0000 (12:50 -0400)]
GtkTreeModelFilterPrivate: Improve struct packing

13 years agoGtkToolItemGroupPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:49:40 +0000 (12:49 -0400)]
GtkToolItemGroupPrivate: Improve struct packing

13 years agoGtkToolItemPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:49:16 +0000 (12:49 -0400)]
GtkToolItemPrivate: Improve struct packing

13 years agoGtkToolbarPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:48:55 +0000 (12:48 -0400)]
GtkToolbarPrivate: Improve struct packing

13 years agoGtkTextViewPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:48:30 +0000 (12:48 -0400)]
GtkTextViewPrivate: Improve struct packing

13 years agoGtkTextBufferPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:48:02 +0000 (12:48 -0400)]
GtkTextBufferPrivate: Improve struct packing

13 years agoGtkTextBTreeNode: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:46:28 +0000 (12:46 -0400)]
GtkTextBTreeNode: Improve struct packing

13 years agoGtkStyleContextPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:45:51 +0000 (12:45 -0400)]
GtkStyleContextPrivate: Improve struct packing

13 years agoGtkSpinButtonPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:45:28 +0000 (12:45 -0400)]
GtkSpinButtonPrivate: Improve struct packing

13 years agoGtkScrolledWindowPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:42:37 +0000 (12:42 -0400)]
GtkScrolledWindowPrivate: Improve struct packing

13 years agoGtkRangePrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:42:14 +0000 (12:42 -0400)]
GtkRangePrivate: Improve struct packing

13 years agoGtkProgressBarPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:40:30 +0000 (12:40 -0400)]
GtkProgressBarPrivate: Improve struct packing

Also remove the unused blocks and in_block members.

13 years agoGtkPanedPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:37:55 +0000 (12:37 -0400)]
GtkPanedPrivate: Improve struct packing

13 years agoGtkNumerableIconPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:35:17 +0000 (12:35 -0400)]
GtkNumerableIconPrivate: Improve struct packing

13 years agoGtkMenuItemPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:34:53 +0000 (12:34 -0400)]
GtkMenuItemPrivate: Improve struct packing

13 years agoGtkListStorePrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:34:29 +0000 (12:34 -0400)]
GtkListStorePrivate: Improve struct packing

13 years agoGtkLabelPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:34:11 +0000 (12:34 -0400)]
GtkLabelPrivate: Improve struct packing

13 years agoGtkImagePrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:33:45 +0000 (12:33 -0400)]
GtkImagePrivate: Improve struct packing

13 years agoGtkIconViewPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:33:24 +0000 (12:33 -0400)]
GtkIconViewPrivate: Improve struct packing

13 years agoGtkIconThemePrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:33:04 +0000 (12:33 -0400)]
GtkIconThemePrivate: Improve struct packing

13 years agoGtkEntryBufferPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:32:29 +0000 (12:32 -0400)]
GtkEntryBufferPrivate: Improve struct packing

13 years agoGtkCellViewPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:32:04 +0000 (12:32 -0400)]
GtkCellViewPrivate: Improve struct packing

13 years agoGtkCellRendererTextPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:31:28 +0000 (12:31 -0400)]
GtkCellRendererTextPrivate: Improve struct packing

13 years agoGtkCellRendererPixbufPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:30:36 +0000 (12:30 -0400)]
GtkCellRendererPixbufPrivate: Improve struct packing

13 years agoGtkCellRendererAccelPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:30:04 +0000 (12:30 -0400)]
GtkCellRendererAccelPrivate: Improve struct packing

13 years agoGtkCellAreaBoxPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:25:53 +0000 (12:25 -0400)]
GtkCellAreaBoxPrivate: Improve struct packing

13 years agoGtkButtonPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:25:25 +0000 (12:25 -0400)]
GtkButtonPrivate: Improve struct packing

13 years agoGtkBoxPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:24:56 +0000 (12:24 -0400)]
GtkBoxPrivate: Improve struct packing

13 years agoGtkAppChooserWidgetPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:24:34 +0000 (12:24 -0400)]
GtkAppChooserWidgetPrivate: Improve struct packing

13 years agoGtkAppChooserButtonPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:24:05 +0000 (12:24 -0400)]
GtkAppChooserButtonPrivate: Improve struct packing

13 years agoGtkAccelLabel: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:23:35 +0000 (12:23 -0400)]
GtkAccelLabel: Improve struct packing

13 years agoGdkWindowImplX11: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:39:14 +0000 (10:39 -0400)]
GdkWindowImplX11: Struct packing improvements

13 years agoGdkX11Screen: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:38:38 +0000 (10:38 -0400)]
GdkX11Screen: Struct packing improvements

13 years agoGdkX11DragContext: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:37:51 +0000 (10:37 -0400)]
GdkX11DragContext: Struct packing improvements

13 years agoGdkX11DeviceXI: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:37:08 +0000 (10:37 -0400)]
GdkX11DeviceXI: Struct packing improvements

13 years agoGdkScreen: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:36:39 +0000 (10:36 -0400)]
GdkScreen: Struct packing improvements

13 years agoGdkWindow: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:35:34 +0000 (10:35 -0400)]
GdkWindow: Struct packing improvements

13 years agoGdkDisplay: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:34:55 +0000 (10:34 -0400)]
GdkDisplay: Struct packing improvements

13 years agoGdkCursor: Struct packing improvements
Matthias Clasen [Tue, 12 Apr 2011 14:34:28 +0000 (10:34 -0400)]
GdkCursor: Struct packing improvements

13 years agoMerge branch 'gdk-backend-wayland'
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

13 years ago[broadway] Cancel key events after seeing them
Alexander Larsson [Tue, 12 Apr 2011 11:38:04 +0000 (13:38 +0200)]
[broadway] Cancel key events after seeing them

13 years ago[broadway] Fix canvas resize when resizing browser window
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.

13 years ago[broadway] Fix typo
Alexander Larsson [Tue, 12 Apr 2011 09:21:47 +0000 (11:21 +0200)]
[broadway] Fix typo

13 years ago[broadway] Combine window move and resize into one op
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.

13 years ago[broadway] Fix various js warnings
Alexander Larsson [Tue, 12 Apr 2011 08:17:36 +0000 (10:17 +0200)]
[broadway] Fix various js warnings

13 years ago[broadway] Add stacktrace debugging functions
Alexander Larsson [Tue, 12 Apr 2011 08:13:38 +0000 (10:13 +0200)]
[broadway] Add stacktrace debugging functions

13 years ago[broadway] Always send configure events from browser
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.

13 years ago[broadway] When resyncing, first create all windows then set attributes
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.

13 years ago[broadway] More complete handling of transient parent
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

13 years ago[broadway] Use mozInnerScreenX & co to get window position
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.

13 years ago[broadway] Parse x/y as signed
Alexander Larsson [Mon, 11 Apr 2011 14:43:01 +0000 (16:43 +0200)]
[broadway] Parse x/y as signed

13 years ago[broadway] Update window geometry after showing window
Alexander Larsson [Mon, 11 Apr 2011 14:42:41 +0000 (16:42 +0200)]
[broadway] Update window geometry after showing window

13 years ago[broadway] Don't cache surface.transientToplevel as that might change at various...
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

13 years agoGtkWindow: rearrange private struct to fill some holes
Matthias Clasen [Mon, 11 Apr 2011 22:33:43 +0000 (18:33 -0400)]
GtkWindow: rearrange private struct to fill some holes

13 years agoSmall cleanup in statusbar
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

13 years agoMove documentation to inline comments: GtkTearoffMenuItem
Javier Jardón [Mon, 11 Apr 2011 21:52:00 +0000 (22:52 +0100)]
Move documentation to inline comments: GtkTearoffMenuItem

13 years agoMove documentation to inline comments: GtkCellRendererPixbuf
Javier Jardón [Mon, 11 Apr 2011 21:47:18 +0000 (22:47 +0100)]
Move documentation to inline comments: GtkCellRendererPixbuf

13 years agoMove documentation to inline comments: GtkCellRendererCombo
Javier Jardón [Mon, 11 Apr 2011 21:39:48 +0000 (22:39 +0100)]
Move documentation to inline comments: GtkCellRendererCombo

13 years agoMove documentation to inline comments: GtkHSeparator
Javier Jardón [Mon, 11 Apr 2011 21:33:38 +0000 (22:33 +0100)]
Move documentation to inline comments: GtkHSeparator

13 years agoMove documentation to online comments: GtkCellRendererSpin
Javier Jardón [Mon, 11 Apr 2011 21:14:35 +0000 (22:14 +0100)]
Move documentation to online comments: GtkCellRendererSpin

13 years agoUpdated Japanese translation.
Takayoshi OKANO [Mon, 11 Apr 2011 14:17:23 +0000 (23:17 +0900)]
Updated Japanese translation.