]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoRename gtk_tree_model_filter_remove_node for internal consistency
Kristian Rietveld [Fri, 20 May 2011 18:39:12 +0000 (20:39 +0200)]
Rename gtk_tree_model_filter_remove_node for internal consistency

12 years agoChange signature of gtk_tree_model_filter_remove_node
Kristian Rietveld [Fri, 20 May 2011 18:33:30 +0000 (20:33 +0200)]
Change signature of gtk_tree_model_filter_remove_node

12 years agoAdd thorough unit test for bug #621076
Xavier Claessens [Fri, 20 May 2011 18:25:24 +0000 (20:25 +0200)]
Add thorough unit test for bug #621076

Minor edits and additions by Kristian Rietveld.

12 years agoCorrections to has-child filter tests
Kristian Rietveld [Fri, 20 May 2011 18:21:11 +0000 (20:21 +0200)]
Corrections to has-child filter tests

12 years agoImprove specific_has_child_filter() test to also verify signals
Kristian Rietveld [Fri, 20 May 2011 07:11:49 +0000 (09:11 +0200)]
Improve specific_has_child_filter() test to also verify signals

12 years agoImprove specific_root_has_child_filter test to also verify signals
Kristian Rietveld [Fri, 20 May 2011 06:49:58 +0000 (08:49 +0200)]
Improve specific_root_has_child_filter test to also verify signals

12 years agoHave a separate category for tests of gtk_tree_model_filter_row_deleted
Kristian Rietveld [Sat, 14 May 2011 12:50:07 +0000 (14:50 +0200)]
Have a separate category for tests of gtk_tree_model_filter_row_deleted

12 years agoAdd two unit tests for gtk_tree_model_filter_row_inserted
Kristian Rietveld [Sat, 14 May 2011 12:47:39 +0000 (14:47 +0200)]
Add two unit tests for gtk_tree_model_filter_row_inserted

12 years agoUse g_assert_cmpint instead of g_assert in check_level_length()
Kristian Rietveld [Sat, 14 May 2011 12:45:54 +0000 (14:45 +0200)]
Use g_assert_cmpint instead of g_assert in check_level_length()

12 years agoRefactor emitting row-inserted for new nodes to a common code path
Kristian Rietveld [Sat, 14 May 2011 12:42:31 +0000 (14:42 +0200)]
Refactor emitting row-inserted for new nodes to a common code path

Suggested by Xavier Claessens / bug 621076.

12 years agoFix comment
Kristian Rietveld [Sat, 14 May 2011 12:10:27 +0000 (14:10 +0200)]
Fix comment

12 years agoFactor out find_elt_with_offset
Kristian Rietveld [Sat, 14 May 2011 12:09:51 +0000 (14:09 +0200)]
Factor out find_elt_with_offset

Suggested by Xavier Claessens / bug 621076.

12 years agoRefactor to a common code path for inserts of nodes in levels
Kristian Rietveld [Sat, 14 May 2011 09:47:01 +0000 (11:47 +0200)]
Refactor to a common code path for inserts of nodes in levels

Suggested by Xavier Claessens / bug 621076.

(Additional obseration: this should speed up the filter model's
handling of row-inserted as a binary search is now used instead
of a linear scan).

12 years agoImprove error messages of signal monitor
Xavier Claessens [Wed, 11 May 2011 20:07:01 +0000 (22:07 +0200)]
Improve error messages of signal monitor

12 years agoFactor out another part of gtk_tree_model_filter_row_deleted
Kristian Rietveld [Mon, 9 May 2011 20:22:24 +0000 (22:22 +0200)]
Factor out another part of gtk_tree_model_filter_row_deleted

12 years agoThree more TreeModelFilter remove ancestor tests
Kristian Rietveld [Mon, 9 May 2011 08:36:22 +0000 (10:36 +0200)]
Three more TreeModelFilter remove ancestor tests

12 years agoIn sort model also emit row-deleted after updating the data structures
Kristian Rietveld [Mon, 9 May 2011 08:29:54 +0000 (10:29 +0200)]
In sort model also emit row-deleted after updating the data structures

12 years agoCorrect GtkTreeModelFilter to never unref an already deleted child node
Kristian Rietveld [Mon, 9 May 2011 08:29:37 +0000 (10:29 +0200)]
Correct GtkTreeModelFilter to never unref an already deleted child node

12 years agoImprove filter model remove node unit tests
Kristian Rietveld [Mon, 9 May 2011 08:19:39 +0000 (10:19 +0200)]
Improve filter model remove node unit tests

12 years agoPrint failed assertions for failed child iterator conversions
Kristian Rietveld [Mon, 9 May 2011 08:04:24 +0000 (10:04 +0200)]
Print failed assertions for failed child iterator conversions

12 years agoMake _get_iter invalidate iterators when FALSE is returned
Kristian Rietveld [Mon, 9 May 2011 07:51:50 +0000 (09:51 +0200)]
Make _get_iter invalidate iterators when FALSE is returned

12 years agoAdd more unit tests for gtk_tree_model_filter_row_deleted()
Kristian Rietveld [Mon, 9 May 2011 07:47:20 +0000 (09:47 +0200)]
Add more unit tests for gtk_tree_model_filter_row_deleted()

12 years agoFurther reduce variable shadowing by factoring code out into functions
Kristian Rietveld [Mon, 9 May 2011 07:06:25 +0000 (09:06 +0200)]
Further reduce variable shadowing by factoring code out into functions

12 years agoAdd unit test for bug 77977 for reference
Kristian Rietveld [Mon, 9 May 2011 06:50:45 +0000 (08:50 +0200)]
Add unit test for bug 77977 for reference

12 years agoAdd bug base and bug numbers to tree model unit tests
Kristian Rietveld [Mon, 9 May 2011 06:41:29 +0000 (08:41 +0200)]
Add bug base and bug numbers to tree model unit tests

12 years agoMove TreeModelSort specific tests to a new sortmodel.c file
Kristian Rietveld [Mon, 9 May 2011 06:37:07 +0000 (08:37 +0200)]
Move TreeModelSort specific tests to a new sortmodel.c file

12 years agoMake naming of tree model unit tests consistent
Kristian Rietveld [Mon, 9 May 2011 06:32:11 +0000 (08:32 +0200)]
Make naming of tree model unit tests consistent

All test paths now start with the name of the class which is being
tested.

12 years agoPut all GtkTreeModel unit tests in a single binary
Kristian Rietveld [Mon, 9 May 2011 06:25:27 +0000 (08:25 +0200)]
Put all GtkTreeModel unit tests in a single binary

This to reduce linking time and have all tests in a single binary.

12 years agowidget-factory: add the primary-toolbar hint to the toolbar
Cosimo Cecchi [Mon, 22 Aug 2011 15:40:41 +0000 (11:40 -0400)]
widget-factory: add the primary-toolbar hint to the toolbar

12 years agoUpdate config.h.win32.in
Chun-wei Fan [Fri, 19 Aug 2011 06:33:20 +0000 (14:33 +0800)]
Update config.h.win32.in

-Only define HAVE_STRINGS_H when MSVC is not used
-Define HVE_STDINT_H for Visual C++ 2010 and later, as Visual C++ 2010
 does ship with a "proper" stdint.h by default
-Add check macros HAVE_RINT and HAVE_ROUND--they are only defined when
 MSVC is not used
-Remove obsolete check macros

12 years agoUpdate configure.ac to check for rint()/round()
Chun-wei Fan [Fri, 19 Aug 2011 07:38:47 +0000 (15:38 +0800)]
Update configure.ac to check for rint()/round()

Added check in configure.ac to check for the rint() and
round() functions as they are normally only available in C99
compilers.

12 years agoInclude C89 fallback code
Chun-wei Fan [Fri, 19 Aug 2011 06:26:52 +0000 (14:26 +0800)]
Include C89 fallback code

gtk/gtkborderimage.c, gtk/gtklabel.c and gtk/gtkstyleproperty.c call
round() and/or rint(), which was only available in C99 compilers.

This adds the inclusion of the fallback implementation (gtk/fallback-c89.c)
to define these functions if they are not initially made available by the
compiler.

Also remove the rint() implementation in gtk/gtklabel.c as it is now in
the fallback implmentation.

12 years agoAdd fallback implemetation for rint()/round()
Chun-wei Fan [Fri, 19 Aug 2011 07:56:32 +0000 (15:56 +0800)]
Add fallback implemetation for rint()/round()

Add an implementation for rint() and round() for compilers that do not
define one or both of them.  Note that this file should be included
after config.h was included.

12 years agoUpdated Persian translation
Arash Mousavi [Fri, 19 Aug 2011 20:29:30 +0000 (00:59 +0430)]
Updated Persian translation

12 years agoBug 656851 – Allow use of GVariant in GtkListStore
David Zeuthen [Thu, 18 Aug 2011 21:07:13 +0000 (17:07 -0400)]
Bug 656851 – Allow use of GVariant in GtkListStore

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoAdded UG translation
Abduxukur Abdurixit [Fri, 19 Aug 2011 17:57:26 +0000 (19:57 +0200)]
Added UG translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Thu, 18 Aug 2011 09:29:40 +0000 (16:29 +0700)]
Updated Indonesian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 16 Aug 2011 23:39:00 +0000 (01:39 +0200)]
Updated Spanish translation

12 years agoUse GtkFontChooser in testtoplevelembed
Matthias Clasen [Tue, 16 Aug 2011 14:42:54 +0000 (10:42 -0400)]
Use GtkFontChooser in testtoplevelembed

This was pointed out in bug 656639.

12 years agoUpdated Galician translations
Fran Dieguez [Tue, 16 Aug 2011 11:31:28 +0000 (13:31 +0200)]
Updated Galician translations

12 years agoUpdate VS property sheets
Chun-wei Fan [Tue, 16 Aug 2011 06:38:03 +0000 (14:38 +0800)]
Update VS property sheets

Copy the Win32-specific GDK backend headers during the "install" stage
as well, as they were missed in the install, causing trouble when
building other projects like WebKitGTK+.

Thanks to greg.hellings for pointing this out in Bug 653964.

12 years agoPost-release bump
Matthias Clasen [Tue, 16 Aug 2011 02:01:55 +0000 (22:01 -0400)]
Post-release bump

12 years ago3.1.12
Matthias Clasen [Tue, 16 Aug 2011 01:57:10 +0000 (21:57 -0400)]
3.1.12

12 years agoupdate translation for Punjabi
A S Alam [Tue, 16 Aug 2011 01:28:45 +0000 (06:58 +0530)]
update translation for Punjabi

12 years agoFix up symbol lists for recent api additions
Matthias Clasen [Tue, 16 Aug 2011 01:25:58 +0000 (21:25 -0400)]
Fix up symbol lists for recent api additions

12 years agoUpdate NEWS for 3.1.12
Matthias Clasen [Tue, 16 Aug 2011 00:49:53 +0000 (20:49 -0400)]
Update NEWS for 3.1.12

12 years agotestgtk: remove dead code
Matthias Clasen [Mon, 15 Aug 2011 23:40:24 +0000 (19:40 -0400)]
testgtk: remove dead code

12 years agoFix a typo
Matthias Clasen [Mon, 15 Aug 2011 23:24:59 +0000 (19:24 -0400)]
Fix a typo

12 years agoMake setting fontname work, independent of a screen
Matthias Clasen [Mon, 15 Aug 2011 03:46:14 +0000 (23:46 -0400)]
Make setting fontname work, independent of a screen

12 years agoKeep the currently selected font over theme changes
Matthias Clasen [Mon, 15 Aug 2011 03:16:45 +0000 (23:16 -0400)]
Keep the currently selected font over theme changes

When repopulating the list of fonts, don't loose the current
selection, unless the font is no longer in the list.

12 years agoDeprecate GtkFontSelection and GtkFontSelectionDialog
Matthias Clasen [Mon, 15 Aug 2011 02:51:39 +0000 (22:51 -0400)]
Deprecate GtkFontSelection and GtkFontSelectionDialog

12 years agoTrivial formatting fix
Matthias Clasen [Mon, 15 Aug 2011 02:50:44 +0000 (22:50 -0400)]
Trivial formatting fix

12 years agoAdd docs
Matthias Clasen [Mon, 15 Aug 2011 02:33:23 +0000 (22:33 -0400)]
Add docs

12 years agoAdd new symbols
Matthias Clasen [Mon, 15 Aug 2011 02:33:10 +0000 (22:33 -0400)]
Add new symbols

12 years agoAdd filtering to the font chooser
Matthias Clasen [Mon, 15 Aug 2011 02:20:00 +0000 (22:20 -0400)]
Add filtering to the font chooser

12 years agoAdd 'no matches' functionality
Matthias Clasen [Thu, 11 Aug 2011 09:23:21 +0000 (11:23 +0200)]
Add 'no matches' functionality

Initial cut at showing a 'no matches' message if the font list
is empty.

12 years agoMake the fontchooser dialog come up in a reasonable size
Matthias Clasen [Tue, 9 Aug 2011 14:13:58 +0000 (16:13 +0200)]
Make the fontchooser dialog come up in a reasonable size

This is not a perfect solution; we really just want to set
a nice default size, but GTK+ does not make that easy.

12 years agoJust use a single grid
Matthias Clasen [Tue, 9 Aug 2011 07:24:39 +0000 (09:24 +0200)]
Just use a single grid

The subgrid didn't really add anything.

12 years agoClean up error handling
Matthias Clasen [Tue, 9 Aug 2011 00:11:38 +0000 (02:11 +0200)]
Clean up error handling

12 years agoRename some statics
Matthias Clasen [Tue, 9 Aug 2011 00:07:47 +0000 (02:07 +0200)]
Rename some statics

gtk_font_chooser_ref_{family,face} -> gtk_font_chooser_set_{family,face}

12 years agoAvoid extraneous signals at destroy time
Matthias Clasen [Tue, 9 Aug 2011 00:04:22 +0000 (02:04 +0200)]
Avoid extraneous signals at destroy time

We need to disconnect the cursor-changed handler before the
treeview gets destroyed, to avoid unwanted emissions.

12 years agoFix minor issues in the tests
Matthias Clasen [Tue, 9 Aug 2011 00:02:55 +0000 (02:02 +0200)]
Fix minor issues in the tests

12 years agoSimplify a few things
Matthias Clasen [Mon, 8 Aug 2011 23:10:39 +0000 (01:10 +0200)]
Simplify a few things

Adwaita seems to misrender focus on entries with margins, so
use spacing instead. Also, don't use entry buffer unnecessarily.

12 years agoTrivial formatting fixes
Matthias Clasen [Mon, 8 Aug 2011 22:10:00 +0000 (00:10 +0200)]
Trivial formatting fixes

Just committing these is easier than writing them up.

12 years agoGtkFontChooserDialog: GtkFontButton now uses GtkFontChooserDialog instead of GtkFontS...
Alberto Ruiz [Wed, 27 Jul 2011 23:22:22 +0000 (00:22 +0100)]
GtkFontChooserDialog: GtkFontButton now uses GtkFontChooserDialog instead of GtkFontSelectionDialog

12 years agoGtkFontChooser: get_font_name did not return the font size
Alberto Ruiz [Wed, 27 Jul 2011 23:21:40 +0000 (00:21 +0100)]
GtkFontChooser: get_font_name did not return the font size

12 years agoGtkFontChooser: Stub code to handle empty list by search.
Alberto Ruiz [Wed, 27 Jul 2011 22:24:15 +0000 (23:24 +0100)]
GtkFontChooser: Stub code to handle empty list by search.

12 years agoGtkFontChooser: font-name property notification wasn't properly propagated during...
Alberto Ruiz [Wed, 27 Jul 2011 13:11:43 +0000 (14:11 +0100)]
GtkFontChooser: font-name property notification wasn't properly propagated during size change from the spinbutton

12 years agoGtkFontChooser: Missing G_END_DECLS in fontchooser header
Alberto Ruiz [Wed, 27 Jul 2011 12:04:21 +0000 (13:04 +0100)]
GtkFontChooser: Missing G_END_DECLS in fontchooser header

12 years agoGtkFontChooser: Using G_N_ELEMENTS instead of a define
Alberto Ruiz [Mon, 25 Jul 2011 17:37:13 +0000 (18:37 +0100)]
GtkFontChooser: Using G_N_ELEMENTS instead of a define

12 years agoGtkFontChooser: Using the widget instead of the private struct as signal data in...
Alberto Ruiz [Mon, 25 Jul 2011 17:16:55 +0000 (18:16 +0100)]
GtkFontChooser: Using the widget instead of the private struct as signal data in all conects

12 years agoGtkFontChooser: Fixed coding style wrt spacing around operators
Alberto Ruiz [Mon, 25 Jul 2011 16:46:50 +0000 (17:46 +0100)]
GtkFontChooser: Fixed coding style wrt spacing around operators

12 years agoGtkFontChooser: Using explicit comparisons for g_strcmp0
Alberto Ruiz [Mon, 25 Jul 2011 16:41:59 +0000 (17:41 +0100)]
GtkFontChooser: Using explicit comparisons for g_strcmp0

12 years agoGtkFontChooser: Added missing breaks in switch statements
Alberto Ruiz [Mon, 25 Jul 2011 16:38:54 +0000 (17:38 +0100)]
GtkFontChooser: Added missing breaks in switch statements

12 years agoGtkFontChooser: Setting all ought to be static functions as static
Alberto Ruiz [Mon, 25 Jul 2011 16:35:36 +0000 (17:35 +0100)]
GtkFontChooser: Setting all ought to be static functions as static

12 years agoGtkFontChooserDialog: Add parent window as a parameter in the constructor
Alberto Ruiz [Mon, 25 Jul 2011 16:14:49 +0000 (17:14 +0100)]
GtkFontChooserDialog: Add parent window as a parameter in the constructor

12 years agoGtkFontChooserDialog: Fix get_font_chooser public function name
Alberto Ruiz [Mon, 25 Jul 2011 15:34:02 +0000 (16:34 +0100)]
GtkFontChooserDialog: Fix get_font_chooser public function name

12 years agoGtkFontChooser: Set correct margin values between UI elements
Alberto Ruiz [Mon, 25 Jul 2011 15:30:28 +0000 (16:30 +0100)]
GtkFontChooser: Set correct margin values between UI elements

12 years agoGtkFontChooserDialog: Use g_object_new to set initial values in the dialog constructor
Alberto Ruiz [Mon, 25 Jul 2011 15:08:23 +0000 (16:08 +0100)]
GtkFontChooserDialog: Use g_object_new to set initial values in the dialog constructor

12 years agoGtkFontChooser: Remove outdated Copyright information
Alberto Ruiz [Mon, 25 Jul 2011 15:04:35 +0000 (16:04 +0100)]
GtkFontChooser: Remove outdated Copyright information

12 years agoGtkFontChooser: Fix size synchronization between slider and spin button
Alberto Ruiz [Mon, 25 Jul 2011 14:16:09 +0000 (15:16 +0100)]
GtkFontChooser: Fix size synchronization between slider and spin button

12 years agoGtkFontChooser: Cleanup comments and fix indentation alignments
Alberto Ruiz [Tue, 19 Jul 2011 22:43:57 +0000 (23:43 +0100)]
GtkFontChooser: Cleanup comments and fix indentation alignments

12 years agoGtkFontChooser: Remove default geometry defines
Alberto Ruiz [Wed, 13 Jul 2011 23:34:37 +0000 (00:34 +0100)]
GtkFontChooser: Remove default geometry defines

12 years agoGtkFontChooser: Fix scroll callback connected to treeview instead of preview
Alberto Ruiz [Wed, 13 Jul 2011 23:11:08 +0000 (00:11 +0100)]
GtkFontChooser: Fix scroll callback connected to treeview instead of preview

12 years agoGtkFontChooser: Remove the themed color for the font title
Alberto Ruiz [Wed, 13 Jul 2011 23:09:34 +0000 (00:09 +0100)]
GtkFontChooser: Remove the themed color for the font title

12 years agoGtkFontChooser: Use a nested grid to achieve the right layout in the size controls
Alberto Ruiz [Wed, 13 Jul 2011 22:53:44 +0000 (23:53 +0100)]
GtkFontChooser: Use a nested grid to achieve the right layout in the size controls

12 years agoGtkFontChooser: Fix expand and fill properties for the grid layout
Alberto Ruiz [Wed, 13 Jul 2011 22:06:43 +0000 (23:06 +0100)]
GtkFontChooser: Fix expand and fill properties for the grid layout

12 years agoGtkFontChooser: Use GtkBox instead of GtkVBox as base class.
Alberto Ruiz [Sun, 10 Jul 2011 19:30:00 +0000 (20:30 +0100)]
GtkFontChooser: Use GtkBox instead of GtkVBox as base class.

12 years agoGtkFontChooser: Use const instead of G_CONST_RETURN
Alberto Ruiz [Sat, 9 Jul 2011 02:16:03 +0000 (03:16 +0100)]
GtkFontChooser: Use const instead of G_CONST_RETURN

12 years agoGtkFontChooser: Add preview entry to the grid
Alberto Ruiz [Thu, 12 May 2011 00:41:10 +0000 (02:41 +0200)]
GtkFontChooser: Add preview entry to the grid

12 years agoGtkFontChooser: Initial work to use GtkGrid
Alberto Ruiz [Thu, 12 May 2011 00:32:47 +0000 (02:32 +0200)]
GtkFontChooser: Initial work to use GtkGrid

12 years agoGtkFontChooser: GtkFontChooserDialog: Update documenation to reflect Since: 3.2
Alberto Ruiz [Wed, 11 May 2011 23:55:14 +0000 (01:55 +0200)]
GtkFontChooser: GtkFontChooserDialog: Update documenation to reflect Since: 3.2

12 years agoGtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to gtkfontchooserdi...
Alberto Ruiz [Wed, 11 May 2011 20:52:39 +0000 (22:52 +0200)]
GtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to gtkfontchooserdialog.[ch]

12 years agoGtkFontChooser: Use symbolic icons in the filter entry
Alberto Ruiz [Wed, 11 May 2011 14:58:51 +0000 (16:58 +0200)]
GtkFontChooser: Use symbolic icons in the filter entry

12 years agoGtkFontChooser: Now shearch filters each individual term rather than the whole string...
Alberto Ruiz [Wed, 11 May 2011 14:47:15 +0000 (16:47 +0200)]
GtkFontChooser: Now shearch filters each individual term rather than the whole string at once

12 years agoGtkFontChooser: Restore automatic alignment on scroll to selection
Alberto Ruiz [Wed, 11 May 2011 14:36:28 +0000 (16:36 +0200)]
GtkFontChooser: Restore automatic alignment on scroll to selection

12 years agoGtkFontChooser: Removed support for deprecated functionality from GtkFontSelector
Alberto Ruiz [Wed, 11 May 2011 13:59:23 +0000 (15:59 +0200)]
GtkFontChooser: Removed support for deprecated functionality from GtkFontSelector

12 years agoGtkFontChooser: Expose the new widget in gtk.h and add test cases
Alberto Ruiz [Wed, 11 May 2011 13:48:21 +0000 (15:48 +0200)]
GtkFontChooser: Expose the new widget in gtk.h and add test cases

12 years agoGtkFontChooser: Renaming the class names and fixing the tests
Alberto Ruiz [Wed, 11 May 2011 13:21:55 +0000 (15:21 +0200)]
GtkFontChooser: Renaming the class names and fixing the tests

12 years agoGtkFontChooser: Remove wrong usage of GTK_DISABLE_DEPRECATED
Alberto Ruiz [Sun, 8 May 2011 14:45:20 +0000 (15:45 +0100)]
GtkFontChooser: Remove wrong usage of GTK_DISABLE_DEPRECATED