]>
Pileus Git - ~andy/gtk/log
Cosimo Cecchi [Fri, 5 Nov 2010 16:01:34 +0000 (17:01 +0100)]
tests: fix the build
gtk_box_new() changed API recently.
Cosimo Cecchi [Fri, 5 Nov 2010 09:34:15 +0000 (10:34 +0100)]
icon-theme: always force icon sizes for emblems
https://bugzilla.gnome.org/show_bug.cgi?id=634060
Cosimo Cecchi [Fri, 5 Nov 2010 09:33:50 +0000 (10:33 +0100)]
tests: add a test for pixbufs implementing the GIcon interface
https://bugzilla.gnome.org/show_bug.cgi?id=634060
Cosimo Cecchi [Fri, 5 Nov 2010 09:33:16 +0000 (10:33 +0100)]
icon-theme: support pixbufs implementing the GIcon interface
https://bugzilla.gnome.org/show_bug.cgi?id=634060
Cosimo Cecchi [Fri, 5 Nov 2010 12:02:42 +0000 (13:02 +0100)]
gtkwindow: properly set the window icon list (#631331)
This was probably a rendering-cleanup regression.
Tristan Van Berkom [Fri, 5 Nov 2010 13:16:32 +0000 (22:16 +0900)]
Made progress on focus handling.
- Added vfunc to get the allocation of a cell inside an area
- Superclass GtkCellArea handles activation of focused cells
by handling key events (as well as editing of editable cells)
- Added signal "editing-started" to GtkCellArea to signal that
editing has started (generally signaled from inside event handling)
- Added properties "focus-cell" and "edited-cell"
Tristan Van Berkom [Fri, 5 Nov 2010 04:05:20 +0000 (13:05 +0900)]
Committing half-way done focus work.
Murray Cumming [Thu, 4 Nov 2010 15:30:48 +0000 (16:30 +0100)]
GtkWidget/GtkContainer: Slight fixes to geometry-management docs.
Replace it's with its in several places.
Replace some , with .
Replace some ; with .
Fix some plurals.
Other minor corrections.
Murray Cumming [Thu, 4 Nov 2010 15:11:25 +0000 (16:11 +0100)]
GtkWidget: Document the size-request signal deprecation.
Hopefully my text is correct.
Matthias Clasen [Thu, 4 Nov 2010 03:00:05 +0000 (23:00 -0400)]
Handle empty button boxes gracefully
https://bugzilla.gnome.org/show_bug.cgi?id=633915
Christian Dywan [Fri, 22 Oct 2010 14:07:25 +0000 (16:07 +0200)]
Only show Desktop in file chooser button if there is one
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632894
Owen W. Taylor [Tue, 2 Nov 2010 19:30:44 +0000 (15:30 -0400)]
Switch to CSS interpretation of rgb() and rgba() colors
CSS3 defines a somewhat odd syntax for rgba() colors - the rgb values
are integers from 0 to 255 or percentages and the a value is a
float from 0 to 1. To avoid increasing the total amount of confusion
in the world, make gdk_rgb_to_string() and gdk_rgb_parse() follow
this syntax rather than using floats for r, g, and b.
https://bugzilla.gnome.org/show_bug.cgi?id=633762
Ryan Lortie [Wed, 3 Nov 2010 12:26:27 +0000 (08:26 -0400)]
gtktoolitemgroup: don't use GTimeSpec
Use gint64 time instead.
Javier Jardón [Wed, 3 Nov 2010 02:37:13 +0000 (03:37 +0100)]
Revert "Move the /*< private >*/ at the correct position"
All the object structures is opaque
This reverts commit
c59ca4f6b9c144c59cac6288862e7a59eaa7a2cc .
Javier Jardón [Wed, 3 Nov 2010 02:20:20 +0000 (03:20 +0100)]
docs: Improve cross-referencing on GtkGrid docs
Javier Jardón [Wed, 3 Nov 2010 02:19:22 +0000 (03:19 +0100)]
docs: Fix gtk-doc markup in GtkWidget docs
Takayuki KUSANO [Wed, 3 Nov 2010 00:02:19 +0000 (09:02 +0900)]
Updated Japanese translation
Murray Cumming [Tue, 2 Nov 2010 09:43:42 +0000 (10:43 +0100)]
Fix tiny documetnation typo.
Tristan Van Berkom [Tue, 2 Nov 2010 09:01:03 +0000 (18:01 +0900)]
Extended gtk_cell_area_apply_attributes() to account for expander/expanded cells
The state of expanded cells must come from the view, since these states
can vary across views accessing the same model (also "finished up" the
applying of attributes code).
Murray Cumming [Tue, 2 Nov 2010 08:23:24 +0000 (09:23 +0100)]
GtkScrollable: Improve the documentation text.
Tristan Van Berkom [Tue, 2 Nov 2010 07:51:06 +0000 (16:51 +0900)]
Account for the possibility of invisible cells in GtkCellAreaBox/Iter
Also changed the GtkCellAreaBox to keep groups in an array
instead of a list, for this code it's generally more useful
this way (and more optimized).
Tristan Van Berkom [Mon, 1 Nov 2010 08:41:02 +0000 (17:41 +0900)]
Adding tentative implementation of GtkCellAreaBox->grab_focus().
Murray Cumming [Mon, 1 Nov 2010 21:44:18 +0000 (22:44 +0100)]
Removed a trailing enum comma.
Ignacio Casal Quinteiro [Mon, 1 Nov 2010 21:59:21 +0000 (22:59 +0100)]
Normalize boolean.
Ignacio Casal Quinteiro [Mon, 1 Nov 2010 21:42:15 +0000 (22:42 +0100)]
Do not use gbooleans to save some bits.
Matthias Clasen [Mon, 1 Nov 2010 17:12:29 +0000 (13:12 -0400)]
Bump version
Paolo Borelli [Fri, 1 Oct 2010 08:00:13 +0000 (10:00 +0200)]
Get rid of unused shaped_object list in _GtkTextLineDisplay
https://bugzilla.gnome.org/show_bug.cgi?id=631076
Matthias Clasen [Mon, 1 Nov 2010 15:44:30 +0000 (11:44 -0400)]
Update NEWS
Matthias Clasen [Mon, 1 Nov 2010 15:15:30 +0000 (11:15 -0400)]
GtkToolitemGroup: Use monotonic clock for animation timeout
Ignacio Casal Quinteiro [Sat, 30 Oct 2010 16:19:59 +0000 (18:19 +0200)]
Add caseless unit tests for textiter.
Ignacio Casal Quinteiro [Tue, 26 Oct 2010 20:02:38 +0000 (22:02 +0200)]
Add case insensitive to GtkTextIter. Fixes bug #61852.
This code has been taken from GtkSourceView so also kudos to Paolo Maggi
and Paolo Borelli for helping with this patch.
Paolo Borelli [Sun, 31 Oct 2010 12:52:06 +0000 (13:52 +0100)]
Fix backward search bug exposed by the unit test
When searching with multiple lines first_line_start/end were initialized
to the last line start/end iters
Ignacio Casal Quinteiro [Sat, 30 Oct 2010 16:19:59 +0000 (18:19 +0200)]
Add unit tests for textiter.
Matthias Clasen [Mon, 1 Nov 2010 13:16:37 +0000 (09:16 -0400)]
Avoid exporting an extra symbol
Matthias Clasen [Mon, 1 Nov 2010 13:15:57 +0000 (09:15 -0400)]
Fix make check
Paolo Borelli [Mon, 1 Nov 2010 13:15:03 +0000 (14:15 +0100)]
Move the /*< private >*/ at the correct position
Matthias Clasen [Mon, 1 Nov 2010 12:14:19 +0000 (08:14 -0400)]
NEWS for 2.91.3
Ivar Smolin [Mon, 1 Nov 2010 06:19:38 +0000 (08:19 +0200)]
[l10n] Updated Estonian translation
Matthias Clasen [Mon, 1 Nov 2010 02:16:41 +0000 (22:16 -0400)]
Fix a typo
Matthias Clasen [Mon, 1 Nov 2010 02:14:53 +0000 (22:14 -0400)]
Mention actions in the libunique migration guide
Matthias Clasen [Sun, 31 Oct 2010 19:52:32 +0000 (15:52 -0400)]
Fix interaction between scrolling menus and automatic mnemonics
https://bugzilla.gnome.org/show_bug.cgi?id=612611
Michael Natterer [Sun, 31 Oct 2010 19:16:19 +0000 (20:16 +0100)]
gtk: remove all border_width handling from the button box
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
Michael Natterer [Sun, 31 Oct 2010 19:03:55 +0000 (20:03 +0100)]
gtk: fix automatic width of spin buttons which have no width in chars set
Michael Natterer [Sun, 31 Oct 2010 19:00:38 +0000 (20:00 +0100)]
tests: missed these two gtk_box_new() which sneaked in by rebasing...
Matthias Clasen [Sun, 31 Oct 2010 18:34:35 +0000 (14:34 -0400)]
GtkAssistant: Mention custom pages in the introduction
Michael Natterer [Sun, 31 Oct 2010 17:07:20 +0000 (18:07 +0100)]
gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
Matthias Clasen [Sun, 31 Oct 2010 18:09:48 +0000 (14:09 -0400)]
Add content size test for scrolled window
Bastien Nocera [Sat, 30 Oct 2010 19:12:58 +0000 (20:12 +0100)]
GtkAssistant: Add custom page type
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.
The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
Bastien Nocera [Sat, 30 Oct 2010 18:57:55 +0000 (19:57 +0100)]
GtkAssistant: Add more details about buttons shown
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
Matthias Clasen [Sun, 31 Oct 2010 01:25:21 +0000 (21:25 -0400)]
Improve GtkAssistant docs
Martin Nordholts [Sat, 30 Oct 2010 22:06:48 +0000 (00:06 +0200)]
Handle NULL intp in test_increment_intp()
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
Tristan Van Berkom [Mon, 1 Nov 2010 07:01:25 +0000 (16:01 +0900)]
Added cell focus apis to GtkCellArea.
Tristan Van Berkom [Mon, 1 Nov 2010 03:39:00 +0000 (12:39 +0900)]
Added GtkCellRendererState flags to GtkCellArea->event/render() methods
Tristan Van Berkom [Sun, 31 Oct 2010 13:50:53 +0000 (22:50 +0900)]
Changed GtkCellArea margin-left/right... for cell-margin-left/right...
The rationale here is that every cell in an area needs to have space
reserved around it, requests have to be fully margin inclusive...
cells need to have the full size fed as the "background area" and
the "cell area" has margins removed... This will be used by GtkTreeViewColumn
to set the focus line width so that cells can paint a background on the
full background, then render themselves into the cell area... and parents
can go ahead and draw focus and other indicators on the background area
but outside of the cell area.
Tristan Van Berkom [Sun, 31 Oct 2010 09:55:51 +0000 (18:55 +0900)]
Added margins to the cell area
Added margin properties to the cell area, margins will be removed
from the area given to ->render() when creating the inner cell area.
Tristan Van Berkom [Sun, 31 Oct 2010 08:45:29 +0000 (17:45 +0900)]
Implemented cell packing properties on GtkCellAreaBox
Tristan Van Berkom [Sun, 31 Oct 2010 08:45:06 +0000 (17:45 +0900)]
Added GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID to gtkcellarea.h
Tristan Van Berkom [Sun, 31 Oct 2010 08:13:15 +0000 (17:13 +0900)]
Implemented "cell properties" on the GtkCellArea
Added cell "packing" properties for generic configuration
of child cells inside an area.
Tristan Van Berkom [Sun, 31 Oct 2010 06:22:39 +0000 (15:22 +0900)]
Finished up allocation of cells.
Added get_allocated_cells() which returns a practical list
of cells with allocation for render/event time, this abstracts
whether the cells are individually aligned or aligned into groups,
when there are groups of cells before an alignment, those groups
get allocated on the fly for render time.
Tristan Van Berkom [Sun, 31 Oct 2010 04:06:10 +0000 (13:06 +0900)]
Cleaned up GtkCellAreaIter implementation to use arrays to store grouped cell information.
Tristan Van Berkom [Sat, 30 Oct 2010 14:48:52 +0000 (23:48 +0900)]
Adding GtkCellAreaIter arg to GtkCellArea->render/->event
Tristan Van Berkom [Sat, 30 Oct 2010 14:10:43 +0000 (23:10 +0900)]
Fixed hangs in TextView and ToolPalette
Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
Tristan Van Berkom [Sat, 30 Oct 2010 14:09:14 +0000 (23:09 +0900)]
Fixing typo in scrolled window
Seems with GtkScrollable interface we were setting the hadjustment as
the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
found the typo.
Tristan Van Berkom [Sat, 30 Oct 2010 14:06:26 +0000 (23:06 +0900)]
Added the majority of the allocate machinery to GtkCellAreaIter[Box].
Tristan Van Berkom [Sat, 30 Oct 2010 12:40:22 +0000 (21:40 +0900)]
Fixed GtkCellAreaIter to notify invalidation of sizes on flush
Also fixed GtkCellAreaBox to track the iters it creates and flush
them when the overall layout configuration changes (add/remove/reorder/
spacing changed etc).
Javier Jardón [Sat, 30 Oct 2010 04:53:44 +0000 (06:53 +0200)]
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid
Javier Jardón [Sat, 30 Oct 2010 03:00:32 +0000 (05:00 +0200)]
Use gtk_box_new() instead gtk_[v|h]box_new()
Javier Jardón [Sat, 30 Oct 2010 03:01:31 +0000 (05:01 +0200)]
docs: remove template of deprecated gtkcombo widget
Matthias Clasen [Sat, 30 Oct 2010 02:48:26 +0000 (22:48 -0400)]
Migration guide additions
Add some information about expand flags and the scrollable interface.
Christian Persch [Sat, 30 Oct 2010 01:16:52 +0000 (21:16 -0400)]
Make gdk_rgba_to_string() take a const GdkRGBA
https://bugzilla.gnome.org/show_bug.cgi?id=633216
Matthias Clasen [Sat, 30 Oct 2010 01:13:55 +0000 (21:13 -0400)]
Fix initial size allocation with child widgets
On some cases, it would take a resize of the window for children
to 'jump into place'.
https://bugzilla.gnome.org/show_bug.cgi?id=633500
Javier Jardón [Sat, 30 Oct 2010 00:11:05 +0000 (02:11 +0200)]
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
Javier Jardón [Sat, 30 Oct 2010 00:07:28 +0000 (02:07 +0200)]
Use gtk_scale_new() instead gtk_[v|h]scale_new()
Javier Jardón [Sat, 30 Oct 2010 00:01:27 +0000 (02:01 +0200)]
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
Javier Jardón [Fri, 29 Oct 2010 23:47:13 +0000 (01:47 +0200)]
Use gtk_paned_new() instead gtk_[v|h]paned_new()
Javier Jardón [Fri, 29 Oct 2010 23:41:55 +0000 (01:41 +0200)]
Use gtk_ruler_new() instead gtk_[v|h]ruler_new()
Javier Jardón [Fri, 29 Oct 2010 23:32:34 +0000 (01:32 +0200)]
Use gtk_separator_new() instead gtk_[v|h]separator_new()
Javier Jardón [Fri, 29 Oct 2010 23:21:15 +0000 (01:21 +0200)]
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
Michael Natterer [Fri, 29 Oct 2010 11:19:22 +0000 (13:19 +0200)]
gtk: remove declarations of removed internal functions
Matthias Clasen [Fri, 29 Oct 2010 16:58:24 +0000 (12:58 -0400)]
Don't set get_preferred_width_for_height to NULL
The size request machinery expects that it is non-NULL.
Matthias Clasen [Fri, 29 Oct 2010 16:28:42 +0000 (12:28 -0400)]
GtkComboBox: Add a constructor that takes a model and adds an entry
https://bugzilla.gnome.org/show_bug.cgi?id=633050
Javier Jardón [Fri, 29 Oct 2010 01:28:24 +0000 (03:28 +0200)]
Re-enable deprecation guards
Carles Ferrando [Fri, 29 Oct 2010 00:37:58 +0000 (01:37 +0100)]
Updated Catalan (Valencian) translation
Carlos Garnacho [Thu, 28 Oct 2010 21:01:16 +0000 (23:01 +0200)]
Use the client pointer for events with no device.
The core pointer is sort of meaningless in a multidevice environment,
the client pointer is used instead to fake a GdkDevice on events that
don't have one.
Owen W. Taylor [Thu, 28 Oct 2010 20:43:55 +0000 (16:43 -0400)]
Remove unused GdkDeviceManager variable
gdk_display_get_device_manager() was called but the device manager
not used.
Matthias Clasen [Thu, 28 Oct 2010 18:27:04 +0000 (14:27 -0400)]
ifdef X-specific stuff
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
Matthias Clasen [Thu, 28 Oct 2010 18:22:46 +0000 (14:22 -0400)]
GtkButtonBox doesn't do height-for-width
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
John (J5) Palmieri [Thu, 28 Oct 2010 17:25:10 +0000 (13:25 -0400)]
[introspection] annotate delete_text invoker to match do_delete_text v-method
Vincent Untz [Thu, 28 Oct 2010 16:16:55 +0000 (12:16 -0400)]
Port tests to GtkScrollable API instead of deprecated GtkLayout API
https://bugzilla.gnome.org/show_bug.cgi?id=633374
Tristan Van Berkom [Sat, 30 Oct 2010 08:32:15 +0000 (17:32 +0900)]
Made GtkCellAreaBox:align-cells a packing property per cell
Implemented all request apis on GtkCellAreaBox considering
alignment of groups of cells (some cells can be aligned while
others fill space smartly).
Ignacio Casal Quinteiro [Thu, 28 Oct 2010 09:54:05 +0000 (11:54 +0200)]
Remove useless vars.
Tristan Van Berkom [Thu, 28 Oct 2010 07:00:19 +0000 (16:00 +0900)]
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.
Tristan Van Berkom [Thu, 28 Oct 2010 06:41:00 +0000 (15:41 +0900)]
Added a runtime warning if any class is implementing the ->size_request() vfunc.
Tristan Van Berkom [Thu, 28 Oct 2010 06:17:06 +0000 (15:17 +0900)]
Make GtkPathBar use set_size_request() instead of the "size-request" signal.
Tristan Van Berkom [Thu, 28 Oct 2010 06:16:06 +0000 (15:16 +0900)]
Removed size_request from GtkToolItemGroup
Ofcourse GtkToolPalette needs real migration to height-for-width
apis, this patch just removes the need for the size_request
signal and vfunc.
Tristan Van Berkom [Thu, 28 Oct 2010 05:56:04 +0000 (14:56 +0900)]
Use gtk_widget_set_size_request() instead of handling "size-request" signals.
Matthias Clasen [Wed, 27 Oct 2010 19:55:33 +0000 (15:55 -0400)]
Add a migration guide section on size_request
Matthias Clasen [Wed, 27 Oct 2010 17:00:58 +0000 (13:00 -0400)]
Fix the build
Matthias Clasen [Wed, 27 Oct 2010 16:53:47 +0000 (12:53 -0400)]
Fix gtk_fixed_get_preferred_width
When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.
Bastien Nocera [Wed, 27 Oct 2010 16:47:08 +0000 (17:47 +0100)]
gtk: Fix crasher when loading symbolic icons
If the style didn't include symbolic colors for either success,
warning or error, gtk_icon_info_load_symbolic_for_style() would crash.
Instead, make sure we don't try to use the colors if they're not
available, and fallback on default colors inside
_gtk_icon_info_load_symbolic_internal().