]>
Pileus Git - ~andy/gtk/log
Javier Jardón [Sun, 17 Apr 2011 22:54:00 +0000 (23:54 +0100)]
Move documentation to inline comments: GtkPrintContext
Javier Jardón [Sun, 17 Apr 2011 22:42:17 +0000 (23:42 +0100)]
Move documentation to inline comments: GtkRadioMenuItem
Javier Jardón [Sun, 17 Apr 2011 22:34:41 +0000 (23:34 +0100)]
Move documentation to inline comments: GtkTextMark
Javier Jardón [Fri, 15 Apr 2011 16:26:46 +0000 (17:26 +0100)]
Move documentation to inline comments: GtkRadioToolButton
Chun-wei Fan [Sun, 17 Apr 2011 17:57:37 +0000 (01:57 +0800)]
Update VS 2008 support to use ATK-2.0
-Update GTK+ project and property sheet to use ATK-2.0.
-Tell people about this in the README.txt file
Chun-wei Fan [Sun, 17 Apr 2011 16:17:51 +0000 (00:17 +0800)]
Update build/win32/vs9/README.txt
Make the VS 2008 build instructions and information
more up-to-date and clearer to people.
Please let me know if I have missed any needed details...
Thanks
Paolo Borelli [Sun, 17 Apr 2011 15:23:26 +0000 (17:23 +0200)]
Small cleanup in label sizing code.
Move ellipsized_chars calculation in the scope where it is used.
https://bugzilla.gnome.org/show_bug.cgi?id=647284
Paolo Borelli [Sat, 9 Apr 2011 20:19:51 +0000 (22:19 +0200)]
Factor out a get_char_pixels method for clarity.
https://bugzilla.gnome.org/show_bug.cgi?id=647284
Ignacio Casal Quinteiro [Sun, 17 Apr 2011 14:08:55 +0000 (16:08 +0200)]
[textview] remove idles when unmapping
This avoids the textview taking the whole cpu when it is hidden.
Benjamin Otte [Sun, 17 Apr 2011 10:49:58 +0000 (12:49 +0200)]
docs fix typo
Was accidentally introduced in
1351d40cfe0df7e1d12017af4323fb3ab73b19d2
Thanks Paolo for noticing.
Kristian Rietveld [Tue, 5 Apr 2011 19:13:43 +0000 (21:13 +0200)]
treeview: Do not unconditionally set width_changed to TRUE, which redraws
Patches by Benjamin Otte.
The "invalidate last column" hack is removed. It is now of no use since
the entire widget will be redrawn when a single column changes.
Kristian Rietveld [Tue, 5 Apr 2011 19:09:10 +0000 (21:09 +0200)]
treeview: if we are below rows that changed height: redraw
We have to redraw if we are below a couple of rows that changed height
in do_validate_rows(). This will still require a redraw for a large
amount of cases, can we do better? You would expect that a redraw of
the tree view is not required when the dy changes with the same delta
as the delta of the height accrued when validating the nodes. This
further optimization will likely require changes to the top_row/dy
synchronization code.
Kristian Rietveld [Tue, 5 Apr 2011 19:06:02 +0000 (21:06 +0200)]
treeview: Avoid queueing a redraw in do_validate_rows()
If the changed rows are not visible, we likely do not have to redraw
in conjunction to resize. Spotted by Benjamin Otte.
Benjamin Otte [Wed, 6 Apr 2011 14:10:25 +0000 (16:10 +0200)]
cssprovider: Move private struct definition to header
consistency, improved debugging, etc
Benjamin Otte [Sat, 16 Apr 2011 19:59:36 +0000 (21:59 +0200)]
entry: Fix gtk_entry_get_icon_at_pos()
The passed in coordinates are widget-relative, not window-relative.
Benjamin Otte [Sat, 16 Apr 2011 19:51:41 +0000 (21:51 +0200)]
entry: Use the new get_frame_size() argument in gtk_entry_draw_frame()
Benjamin Otte [Sat, 16 Apr 2011 19:49:01 +0000 (21:49 +0200)]
entry: Add the ability to query frame size in two ways
TRUE: relative to widget->window
FALSE: relative to widget
For now, no caller has beeen changed.
Benjamin Otte [Sat, 16 Apr 2011 19:48:05 +0000 (21:48 +0200)]
window: Only draw the resize grip if it is actually visible
This issue can only be seen if someone calls gtk_widget_draw() on the
window as otherwise gtk_cairo_should_draw_window() would return FALSE.
Benjamin Otte [Sat, 16 Apr 2011 20:01:18 +0000 (22:01 +0200)]
docs: Fix wrong description for query-tooltip
Coordinates are not relative to widget->window
Benjamin Otte [Thu, 14 Apr 2011 13:28:40 +0000 (15:28 +0200)]
menushell: Include a function in the private header
Don't copy over the implementation. This avoids a copy of the function.
Reverts
0098344f84cedb6347fc99691f6e3d358ec112e7 .
Benjamin Otte [Thu, 14 Apr 2011 13:28:21 +0000 (15:28 +0200)]
window: cast value so gcc shuts up
Kristian Rietveld [Sat, 16 Apr 2011 18:16:03 +0000 (20:16 +0200)]
Merge two if-blocks with same condition
Xavier Claessens [Sat, 16 Apr 2011 18:12:39 +0000 (20:12 +0200)]
Do not call invalidate_empty_focus() when not realized
Fixes bug 626503
Stéphane Maniaci [Thu, 14 Apr 2011 19:14:26 +0000 (14:14 -0500)]
Make GtkFileChoser remember the last directory opened
Introduces a 'last-folder-uri' GSettings key, where we remember the last-opened
folder from the previous instance of the file chooser.
The idea is that this works globally, across all applications, so it will be
easy to do things like
1. Save an attachment from a mail (or some other file)
2. Open another program
3. Do File/Open and automatically get sent to the folder where (1) happened.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=644426
Alexander Larsson [Fri, 15 Apr 2011 18:34:04 +0000 (20:34 +0200)]
[broadway] Make close button text unselectable
Alexander Larsson [Fri, 15 Apr 2011 14:31:56 +0000 (16:31 +0200)]
[broadway] Implement gdk_window_begin_resize_drag
This makes the resize grip work.
Alexander Larsson [Fri, 15 Apr 2011 14:18:11 +0000 (16:18 +0200)]
[broadway] Remove window from hashtable when destroyed
Alexander Larsson [Fri, 15 Apr 2011 14:17:27 +0000 (16:17 +0200)]
[broadway] Ungrab if grabbed window is destroyed
Alexander Larsson [Fri, 15 Apr 2011 14:13:01 +0000 (16:13 +0200)]
[broadway] Correctly handle ungrabs in the browser side
Always call doUngrab to get the right event, and always do this
if the grabbed window is hidden or destroyed.
Chun-wei Fan [Fri, 15 Apr 2011 16:42:08 +0000 (00:42 +0800)]
Update gtk/gtkmenuitem.c...
Copy over the implementation of _gtk_menu_shell_activate
so that C4013 warning/error (aka gcc's "implicit
declaration of ...") can be avoided when compiling with MSVC
This is in response of the changes for bug 554057 in commit
5f55c420471db9a05d145e140b3a7cdfc5bdba9f
Paolo Borelli [Wed, 6 Apr 2011 02:43:09 +0000 (04:43 +0200)]
Free MenuPopulateData struct in all the cases.
For clarity factor out create/free functions.
https://bugzilla.gnome.org/show_bug.cgi?id=646876
Javier Jardón [Thu, 14 Apr 2011 23:18:06 +0000 (00:18 +0100)]
Move documentation to inline comments: GtkHSV
Javier Jardón [Thu, 14 Apr 2011 23:08:33 +0000 (00:08 +0100)]
Move documentation to inline comments: GtkMenuToolButton
Javier Jardón [Thu, 14 Apr 2011 23:04:49 +0000 (00:04 +0100)]
Move documentation to inline comments: GtkToolButton
Javier Jardón [Thu, 14 Apr 2011 21:50:45 +0000 (22:50 +0100)]
Move documentation to inline comments: GtkLabel
Javier Jardón [Thu, 14 Apr 2011 21:25:08 +0000 (22:25 +0100)]
Move documentation to inline comments: GtkListStore
Javier Jardón [Thu, 14 Apr 2011 21:07:29 +0000 (22:07 +0100)]
Move documentation to inline comments: GtkIconTheme
Matthias Clasen [Fri, 15 Apr 2011 00:22:18 +0000 (20:22 -0400)]
Don't leak a list when activating keybindings
Patch by Rui Matos,
https://bugzilla.gnome.org/show_bug.cgi?id=647790
Alexander Larsson [Thu, 14 Apr 2011 19:35:48 +0000 (21:35 +0200)]
[broadway] Handle keyboard modifiers in state
Alexander Larsson [Thu, 14 Apr 2011 19:13:28 +0000 (21:13 +0200)]
[broadway] Emulate hardware keycodes in keyboard events
We can't really know the client side keymaps, so we use the keysym
as the hardware keycode (essentially claiming to have a keyboard with
one key for all possible keysyms). This is not ideal, but its hard to
do better with no knowledge of the client side keyboard mappings.
(And html keyboard events suck badly...)
Alexander Larsson [Thu, 14 Apr 2011 19:11:30 +0000 (21:11 +0200)]
[broadway] Implement keyboard event better
We're using the noVNC keyboard even handling model (and some of the
code with permissions). This means we combine data from keydown and
keypress to figure out the translated keysyms according to the keyboard
layout at the users machine.
Chun-wei Fan [Thu, 14 Apr 2011 15:48:49 +0000 (23:48 +0800)]
Add gdk_win32_window_get_type into gdk.symbols
This symbol needs to be exported for GDK (Win32) so that the
runtime checks for Win32 backend usage can be done on
MSVC-compiled versions of GTK+ too.
I did not add the corresponding symbols for the other backend
though-they are probably exported automatically by GCC AFAIK.
This is done to make commit
9db4accf9c30e29979e3e012f0a8b3ef624bb690
work on MSVC
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
Benjamin Otte [Fri, 1 Apr 2011 22:03:18 +0000 (00:03 +0200)]
cssprovider: Use g_type_depth() instead of computing the depth manually
Benjamin Otte [Thu, 31 Mar 2011 22:21:04 +0000 (00:21 +0200)]
sizerequest: return CONSTANT_SIZE in return_if_fail()
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.
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.
Javier Jardón [Wed, 13 Apr 2011 21:46:18 +0000 (22:46 +0100)]
Move documentation to inline comments: GtkIconFactory
Javier Jardón [Wed, 13 Apr 2011 21:36:00 +0000 (22:36 +0100)]
Move documentation to inline comments: GtkHandleBox
Javier Jardón [Wed, 13 Apr 2011 21:23:44 +0000 (22:23 +0100)]
Move documentation to inline comments: GtkFontSelection
Javier Jardón [Wed, 13 Apr 2011 21:17:51 +0000 (22:17 +0100)]
Move documentation to inline comments: GtkFileChooserDialog
Javier Jardón [Wed, 13 Apr 2011 19:46:31 +0000 (20:46 +0100)]
Move documentation to inline comments: GtkFileChooserButton
Javier Jardón [Wed, 13 Apr 2011 19:37:21 +0000 (20:37 +0100)]
Move documentation to inline comments: GtkToggleToolButton
Matthias Clasen [Wed, 13 Apr 2011 22:15:43 +0000 (18:15 -0400)]
Bump version
Matthias Clasen [Wed, 13 Apr 2011 21:48:48 +0000 (17:48 -0400)]
Fix make dist in gdk/broadway
Kristian Høgsberg [Wed, 13 Apr 2011 18:33:22 +0000 (14:33 -0400)]
wayland: Remove non-existing gdkscreen-wayland.h from SOURCES
Matthias Clasen [Wed, 13 Apr 2011 18:24:18 +0000 (14:24 -0400)]
Add new symbols
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.
Matthias Clasen [Wed, 13 Apr 2011 17:35:36 +0000 (13:35 -0400)]
Add a bug ref
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
Matthias Clasen [Wed, 13 Apr 2011 15:42:34 +0000 (11:42 -0400)]
Updated NEWS
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
Javier Jardón [Wed, 13 Apr 2011 13:36:28 +0000 (14:36 +0100)]
Move documentation to inline comments: GtkColorSelectionDialog
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
Javier Jardón [Wed, 13 Apr 2011 11:48:47 +0000 (12:48 +0100)]
Move documentation to inline comments: GtkClipboard
Javier Jardón [Wed, 13 Apr 2011 11:32:47 +0000 (12:32 +0100)]
Move documentation to inline comments: GtkCheckMenuItem
Javier Jardón [Wed, 13 Apr 2011 11:25:06 +0000 (12:25 +0100)]
Move documentation to inline comments: GtkCheckButton
Javier Jardón [Wed, 13 Apr 2011 00:45:33 +0000 (01:45 +0100)]
Move documentation to inline comments: GtkTable
Javier Jardón [Wed, 13 Apr 2011 00:07:48 +0000 (01:07 +0100)]
Move documentation to inline comments: GtkStatusIcon
Javier Jardón [Tue, 12 Apr 2011 23:55:22 +0000 (00:55 +0100)]
Move documentation to inline comments: GtkHButtonBox
Javier Jardón [Tue, 12 Apr 2011 23:49:30 +0000 (00:49 +0100)]
Move documentation to inline comments: GtkFrame
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
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
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
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
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
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
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
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
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
Matthias Clasen [Tue, 12 Apr 2011 16:50:30 +0000 (12:50 -0400)]
GtkWidgetPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:50:05 +0000 (12:50 -0400)]
GtkTreeModelFilterPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:49:40 +0000 (12:49 -0400)]
GtkToolItemGroupPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:49:16 +0000 (12:49 -0400)]
GtkToolItemPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:48:55 +0000 (12:48 -0400)]
GtkToolbarPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:48:30 +0000 (12:48 -0400)]
GtkTextViewPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:48:02 +0000 (12:48 -0400)]
GtkTextBufferPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:46:28 +0000 (12:46 -0400)]
GtkTextBTreeNode: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:45:51 +0000 (12:45 -0400)]
GtkStyleContextPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:45:28 +0000 (12:45 -0400)]
GtkSpinButtonPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:42:37 +0000 (12:42 -0400)]
GtkScrolledWindowPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:42:14 +0000 (12:42 -0400)]
GtkRangePrivate: 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.
Matthias Clasen [Tue, 12 Apr 2011 16:37:55 +0000 (12:37 -0400)]
GtkPanedPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:35:17 +0000 (12:35 -0400)]
GtkNumerableIconPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:34:53 +0000 (12:34 -0400)]
GtkMenuItemPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:34:29 +0000 (12:34 -0400)]
GtkListStorePrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:34:11 +0000 (12:34 -0400)]
GtkLabelPrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:33:45 +0000 (12:33 -0400)]
GtkImagePrivate: Improve struct packing
Matthias Clasen [Tue, 12 Apr 2011 16:33:24 +0000 (12:33 -0400)]
GtkIconViewPrivate: Improve struct packing