summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Restructure testcalendar for testing calendar details. (#339540)Mathias Hasselmann2007-12-281-124/+398
| | | | | | * tests/testcalendar.c: Push code arround for testing calendar details. svn path=/trunk/; revision=19264
* Add a test for default property values, based on program by Christan PerchJohan Dahlin2007-12-212-0/+514
| | | | | | | | | | | 2007-12-20 Johan Dahlin <johan@gnome.org> * tests/Makefile.am (TEST_PROGS): * tests/defaultvaluetest.c: Add a test for default property values, based on program by Christan Perch svn path=/trunk/; revision=19215
* Add another call to gtk_builder_add_string after using delayed properties,Johan Dahlin2007-12-191-2/+11
| | | | | | | | | | | | 2007-12-19 Johan Dahlin <johan@gnome.org> * tests/buildertest.c (test_object_properties): Add another call to gtk_builder_add_string after using delayed properties, as reported in #504393 but already fixed in #495769. svn path=/trunk/; revision=19197
* Remove all .cvsignore files.Michael Natterer2007-12-131-65/+0
| | | | svn path=/trunk/; revision=19169
* made unnecessarily exported symbols static. switched g_return_if_fail()15:44:01 Tim Janik2007-12-112-409/+308
| | | | | | | | | | | | | | | | 2007-12-11 15:44:01 Tim Janik <timj@imendio.com> * buildertest.c: made unnecessarily exported symbols static. switched g_return_if_fail() statements in tests to assertions. special cased currently failing Widget/accesibility test to run only for g_test_thorough(), so it doesn't break make check. some coding style fixes. * Makefile.am: added buildertest to TEST_PROGS. svn path=/trunk/; revision=19157
* ported to new testing framework.13:38:36 Tim Janik2007-12-062-15/+21
| | | | | | | | | | | | 2007-12-06 13:38:36 Tim Janik <timj@imendio.com> * tests/floatingtest.c: ported to new testing framework. * tests/Makefile.am: run floatingtest as testing framework test. svn path=/trunk/; revision=19118
* majorly speed up execution by reducing timeouts and converting main loop10:44:52 Tim Janik2007-12-062-106/+75
| | | | | | | | | | | | | | | | | 2007-12-06 10:44:52 Tim Janik <timj@imendio.com> * tests/autotestfilechooser.c: majorly speed up execution by reducing timeouts and converting main loop sleeps to pending/iterate loops with very low priority async handlers. eliminate output for non-verbose tests. assert successfull subtests in all test functions. use testing framework in main(). * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's executed inside Xvfb upon make check. svn path=/trunk/; revision=19117
* use string comparisons for string property values and get rid of08:23:38 Tim Janik2007-12-061-8/+7
| | | | | | | | | | | 2007-12-06 08:23:38 Tim Janik <timj@imendio.com> * tests/objecttests.c: use string comparisons for string property values and get rid of referencing symbols in array initialization. svn path=/trunk/; revision=19116
* run tests in current dir after setting up the logging directory, so their18:59:59 Tim Janik2007-12-052-1/+364
| | | | | | | | | | | | | | | | | | | | 2007-12-05 18:59:59 Tim Janik <timj@imendio.com> * gtk+/Makefile.decl: run tests in current dir after setting up the logging directory, so their results get properly merged into the resulting test log. * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for tests to loop over registered Gdk/Gtk+ types. * gtk+/tests/objecttests.c: new test program, implements automated property tests. several properties are blacklisted because they seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose can be used to test blacklisted properties and see which proprty failed. svn path=/trunk/; revision=19115
* fix invalid freeRyan Lortie2007-11-271-3/+0
| | | | | | | | | 2007-11-26 Ryan Lortie <desrt@desrt.ca> * tests/buildertest.c (test_window): fix invalid free svn path=/trunk/; revision=19073
* call g_test_init() from gtk_test_init().15:39:40 Tim Janik2007-11-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-22 15:39:40 Tim Janik <timj@imendio.com> * gtk/gtktestutils.c: call g_test_init() from gtk_test_init(). * gtk/tests/testing.c: use g_test_add_func() to register tests and use g_test_run() to run the tests to integrate with the testing framework. * gtk/tests/Makefile.am: removed exemplary testing rules. * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am: * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am: * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am: * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am: * docs/reference/Makefile.am, docs/tools/Makefile.am: * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am: * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am: * demos/gtk-demo/Makefile.am, demos/Makefile.am: * modules/input/Makefile.am, modules/printbackends/file/Makefile.am: * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am: * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: * modules/engines/ms-windows/Theme/Makefile.am: * modules/engines/ms-windows/Makefile.am: * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am: * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am: * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am: * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am: * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am: * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. svn path=/trunk/; revision=19033
* Fix C89 compilation issue. (#467711, The Written Word)Behdad Esfahbod2007-11-211-1/+5
| | | | | | | | | | 2007-11-21 Behdad Esfahbod <behdad@gnome.org> * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue. (#467711, The Written Word) svn path=/trunk/; revision=19022
* tests/testbbox.c use g_object_ref/unref instead of deprecated functions.Michael Natterer2007-11-142-4/+5
| | | | | | | | | | | 2007-11-14 Michael Natterer <mitch@imendio.com> * tests/testbbox.c * tests/testframe.c: use g_object_ref/unref instead of deprecated functions. svn path=/trunk/; revision=18990
* Parse a file given on the cmdlineMatthias Clasen2007-11-101-0/+25
| | | | svn path=/trunk/; revision=18981
* Parse signals after <child> tags and add tests. (#468793, Benjamin Otte)Johan Dahlin2007-10-241-0/+22
| | | | | | | | | | | | | | | | 2007-10-24 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: (_gtk_builder_construct), (_gtk_builder_add_signals): * gtk/gtkbuilderparser.c: (end_element): * gtk/gtkbuilderprivate.h: * tests/buildertest.c: (test_connect_signals): Parse signals after <child> tags and add tests. (#468793, Benjamin Otte) svn path=/trunk/; revision=18944
* Allow empty property nodes so we can set empty strings. (#486420, XavierJohan Dahlin2007-10-241-7/+40
| | | | | | | | | | 2007-10-24 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilderparser.c (end_element): Allow empty property nodes so we can set empty strings. (#486420, Xavier Claessens) svn path=/trunk/; revision=18943
* Change testcase to not update screen information on configure-event, sinceMatthias Clasen2007-10-161-4/+5
| | | | | | | | | | | | 2007-10-16 Matthias Clasen <mclasen@redhat.com> * tests/testxinerama.c: Change testcase to not update screen information on configure-event, since it hides information for all available screens but add a button to query current monitor instead (#485437, Frederic Crozat) svn path=/trunk/; revision=18913
* Add a second volume button.Matthias Clasen2007-10-041-1/+8
| | | | | | | | | | | | 2007-10-04 Matthias Clasen <mclasen@redhat.com> * tests/testvolumebutton.c: Add a second volume button. * gtk/gtkscalebutton.c: Doh, don't release grabs we don't hold. (#478371, reported by Bill Nottingham) svn path=/trunk/; revision=18881
* svn path=/trunk/; revision=18842Hans Breuer2007-09-172-2/+10
| | | | svn path=/trunk/; revision=18842
* Add code to test gtk_tooltip_set_custom()Matthias Clasen2007-07-241-0/+32
| | | | | | | | | | 2007-07-23 Matthias Clasen <mclasen@redhat.com> * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom() svn path=/trunk/; revision=18533
* Remove obsolete code. Bug #459566.Christian Persch2007-07-231-21/+0
| | | | | | | | | 2007-07-23 Christian Persch <chpe@gnome.org> * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete code. Bug #459566. svn path=/trunk/; revision=18531
* Port the GtkRecentChooser default implementation widget to the newEmmanuele Bassi2007-07-232-0/+3
| | | | | | | | | | | | | | | | | | 2007-07-23 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default implementation widget to the new tooltips API, and make it look like the GtkFileChooser widget in recent files mode (move the full path from the widget to a tooltip on the row) to improve consistency. * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget to the new tooltips API. * tests/testrecentchooser.c: * tests/testrecentchoosermenu.c: Exercise the tooltips code paths. svn path=/trunk/; revision=18526
* Apply a patch by Emmanuele Bassi to limit the number of shown recentMatthias Clasen2007-07-201-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2007-07-20 Matthias Clasen <mclasen@redhat.com> Apply a patch by Emmanuele Bassi to limit the number of shown recent files. (#439715) * gtk/gtksettings.c: Add a setting for the number of recent files to display by default. * gtk/gtkrecentchooserdefault.c: * gtk/gtkfilechooserdefault.c: Respect the limit. * gtk/gtkrecentmanager.c: Remove the poll timeout in dispose, and do not stat more often than every 5 seconds. * gtk/gtkrecentchooserutils.c: * gtk/gtkrecentchoosermenu.c: Cleanups * tests/testrecentchoosermenu.c: Test limits. svn path=/trunk/; revision=18510
* add more convenience API.Kristian Rietveld2007-07-191-1/+5
| | | | | | | | | | | | | | | | | | 2007-07-19 Kristian Rietveld <kris@imendio.com> * gtk/gtk.symbols: * gtk/gtktreeprivate.h: * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context), (gtk_tree_view_[sg]et_tooltip_column): add more convenience API. * tests/testtooltip.c (query_tooltip_tree_view_cb): use gtk_tree_view_get_tooltip_context(). * demos/gtk-demo/demo.ui: add a tooltip column to the list store, set tooltip-column on the tree view. svn path=/trunk/; revision=18496
* #408327, improve tooltip positioning.Kristian Rietveld2007-07-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-13 Kristian Rietveld <kris@imendio.com> #408327, improve tooltip positioning. * gtk/gtk.symbols: updated. * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out positioning code in here, (gtk_tooltip_set_tip_area): new function to set the tooltip area, (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip once the pointer leaves the tip area. * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row), (gtk_tree_view_set_tooltip_cell): convenience functions to set tip area for row/column/cell. * tests/testtooltips.c (query_tooltip_tree_view_cb): use gtk_tree_view_set_tooltip_row. svn path=/trunk/; revision=18464
* Replace non-deprecated API using old tooltips API, deprecate old tooltipsKristian Rietveld2007-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-09 Kristian Rietveld <kris@imendio.com> Replace non-deprecated API using old tooltips API, deprecate old tooltips API for real. (#451575). * gtk/gtk.symbols: updated. * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call _gtk_tooltips_toggle_keyboard_mode() anymore. * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip): deprecated, (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements. * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use new API, (gtk_tool_item_set_tooltip): deprecated, (gtk_tool_item_set_tooltip_{text,markup): replacements. (GtkToolItemClass:set_tooltip): deprecated. * gtk/gtktooltips.[ch]: strip out all unused parts, made gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(), deprecate all of gtk_tooltips_*. * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return TRUE, (GtkToolbar:tooltips): deprecated, renamed. * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to set the tooltip text. * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now, will be removed GtkFileChooserDefault has been converted. svn path=/trunk/; revision=18418
* |___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___*Johan Dahlin2007-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | 2007-07-09 Johan Dahlin,,, <jdahlin@lozenge> |___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___* gtk/gtkactiongroup.c: (gtk_action_group_buildable_init), |___(gtk_action_group_buildable_add_child), |___(accelerator_start_element), |___(gtk_action_group_buildable_custom_tag_start), |___(gtk_action_group_buildable_custom_tag_end): |___* gtk/gtkuimanager.c: (child_hierarchy_changed_cb), |___(gtk_ui_manager_buildable_construct_child): |___* tests/buildertest.c: (test_uimanager_simple): |___Add actiongroup/action accelerator support for builder. #454654 svn path=/trunk/; revision=18408
* Parse <accessibility> but don't do anything yet. Do not stripJohan Dahlin2007-07-081-0/+15
| | | | | | | | | | | | | | 2007-07-08 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): Parse <accessibility> but don't do anything yet. * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not strip atk/accessibility tags * tests/buildertest.c (test_widget): Test this svn path=/trunk/; revision=18399
* Fix confusing indentationJohan Dahlin2007-07-041-6/+6
| | | | svn path=/trunk/; revision=18372
* Report errors about integer parsing back up. (#452988)Matthias Clasen2007-07-031-0/+1
| | | | | | | | | | | | 2007-07-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcelllayout.c (attributes_text_element): Report errors about integer parsing back up. (#452988) * tests/buildertest.c: Add an extra check. svn path=/trunk/; revision=18364
* 2.11.5GTK_2_11_5Matthias Clasen2007-07-021-6/+8
| | | | svn path=/trunk/; revision=18345
* Improve error handling for enum/flags, rename the converter functions toJohan Dahlin2007-06-301-0/+29
| | | | | | | | | | | | | | | | | 2007-06-30 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: * gtk/gtkbuilder.h: * gtk/gtkbuilderparser.c: * gtk/gtkbuilderprivate.h: * gtk/gtkwidget.c: * tests/buildertest.c: Improve error handling for enum/flags, rename the converter functions to be consistent. Add tests. Fixes #452465 svn path=/trunk/; revision=18312
* Move type-func to <object> instead of <child>, add a test to make sureJohan Dahlin2007-06-301-0/+26
| | | | | | | | | | | | | 2007-06-30 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object), (parse_child): * tests/buildertest.c: (test_types): Move type-func to <object> instead of <child>, add a test to make sure that it works as desired, #452463 svn path=/trunk/; revision=18306
* Make boolean string parsing consistent, #452464Johan Dahlin2007-06-301-0/+26
| | | | | | | | | | | | | | 2007-06-30 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean), (parse_property), (parse_signal): * gtk/gtkbuilderprivate.h: * tests/buildertest.c: (test_value_from_string): Make boolean string parsing consistent, #452464 svn path=/trunk/; revision=18305
* Improve reference counting, #447967Johan Dahlin2007-06-291-25/+132
| | | | | | | | | | | | | 2007-06-29 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: (gtk_builder_finalize), (gtk_builder_get_parameters), (_gtk_builder_construct): * tests/buildertest.c: Improve reference counting, #447967 svn path=/trunk/; revision=18292
* Connect the "destroy" signal so that the 'window' pointer is set back toRyan Lortie2007-06-291-1/+5
| | | | | | | | | | | | | | | | | 2007-06-29 Ryan Lortie <desrt@desrt.ca> * tests/testgtk.c (create_composited_window): Connect the "destroy" signal so that the 'window' pointer is set back to NULL (like for the other examples). * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't destroy the Damage here. By finalize() XDestroyWindow has already been called (and took the Damage with it). Bug #452046. svn path=/trunk/; revision=18290
* Check the code and domain of GErrors instead of the string valuesJohan Dahlin2007-06-271-6/+17
| | | | | | | | * tests/buildertest.c: (test_value_from_string): Check the code and domain of GErrors instead of the string values svn path=/trunk/; revision=18263
* Add GtkBuilder and GError arguments to gtk_builder_value_from_string andJohan Dahlin2007-06-271-14/+27
| | | | | | | | | | | | | | | | | * gtk/gtkbuilder.c: (gtk_builder_get_parameters), (gtk_builder_value_from_string), (gtk_builder_value_from_string_type): * gtk/gtkbuilder.h: * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property), (attributes_text_element): * gtk/gtkliststore.c: (list_store_text): * tests/buildertest.c: (test_value_from_string): Add GtkBuilder and GError arguments to gtk_builder_value_from_string and gtk_builder_value_from_string_type. (#451428) svn path=/trunk/; revision=18262
* Add a test to check object propertiesJohan Dahlin2007-06-271-0/+39
| | | | | | | | * tests/buildertest.c (test_object_properties): Add a test to check object properties svn path=/trunk/; revision=18253
* Set an error if we encounter properties without values set (#451303,Johan Dahlin2007-06-271-0/+7
| | | | | | | | | | | * gtk/gtkbuilder.h (enum): * gtk/gtkbuilderparser.c (end_element): * tests/buildertest.c (test_parser): Set an error if we encounter properties without values set (#451303, Philip Withnall) svn path=/trunk/; revision=18252
* Fix a bunch of small bugs when parsing property valuesJohan Dahlin2007-06-261-1/+78
| | | | | | | | | | | * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a bunch of small bugs when parsing property values (boolean/int/uint/long/ulong/float/double). Bug #451353. * tests/buildertest.c: Add tests for the above. svn path=/trunk/; revision=18250
* Extend the C++ keyword test to include internal GDK headers (#449016).Mathias Hasselmann2007-06-2611-4/+114
| | | | | | | | | | 2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de> * configure.in, tests/Makefile.am, tests/autotestkeywords.cc, tests/dummy-headers/*: Extend the C++ keyword test to include internal GDK headers (#449016). svn path=/trunk/; revision=18244
* Create test for finding C++ keywords in public header files (#449016).Mathias Hasselmann2007-06-262-0/+9
| | | | | | | | | | 2007-06-26 Mathias Hasselmann <mathias.hasselmann@gmx.de> * ChangeLog, configure.in, tests/Makefile.am, tests/autotestkeywords.cc: Create test for finding C++ keywords in public header files (#449016). svn path=/trunk/; revision=18243
* applied patch from Xan Lopez to eliminate gap in painted frame forTim Janik2007-06-222-0/+152
| | | | | | | | | | | | | | Fri Jun 22 12:13:39 2007 Tim Janik <timj@imendio.com> * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez to eliminate gap in painted frame for yaling=0.0 or yalign=1.0. * tests/testframe.c: added test application from Xan Lopez to test xalign/yalign interactions with xthickness/ythickness. svn path=/trunk/; revision=18216
* Improving handling of tooltip-text property. Also check result of tooltipMathias Hasselmann2007-06-151-0/+20
| | | | | | | | | 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de> * gtk/gtkwidget.c: Improving handling of tooltip-text property. * tests/testtooltips.c: Also check result of tooltip getters. svn path=/trunk/; revision=18143
* Introduce convenience property "GtkWidget:tooltip-text" taking care ofMathias Hasselmann2007-06-151-6/+6
| | | | | | | | | | | | | | | | | | 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de> * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols, gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce convenience property "GtkWidget:tooltip-text" taking care of escaping it for unwanted markup entities. Add functions to set tooltip text: gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(), gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup(). * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text() to set the tooltip text without using markup. Patches from Emmanuele Bassi (#447643). svn path=/trunk/; revision=18142
* Add GtkBuilder, fixes #172535Johan Dahlin2007-06-152-1/+1468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-15 Johan Dahlin <jdahlin@async.com.br> * demos/gtk-demo/Makefile.am: * demos/gtk-demo/builder.c: (quit_activate), (about_activate), (do_builder): * demos/gtk-demo/demo.ui: * docs/reference/gtk/gtk-docs.sgml: * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/gtk.types: * docs/reference/gtk/tmpl/gtkbuildable.sgml: * docs/reference/gtk/tmpl/gtkbuilder.sgml: * gtk/Makefile.am: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkaction.c: (gtk_action_buildable_init), (gtk_action_buildable_set_name), (gtk_action_buildable_get_name): * gtk/gtkactiongroup.c: (gtk_action_group_get_type), (gtk_action_group_buildable_init), (gtk_action_group_buildable_add), (gtk_action_group_buildable_set_name), (gtk_action_group_buildable_get_name): * gtk/gtkbuildable.c: (gtk_buildable_get_type), (gtk_buildable_set_name), (gtk_buildable_get_name), (gtk_buildable_add), (gtk_buildable_set_property), (gtk_buildable_parser_finished), (gtk_buildable_construct_child), (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end), (gtk_buildable_custom_finished), (gtk_buildable_get_internal_child): * gtk/gtkbuildable.h: * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init), (gtk_builder_finalize), (gtk_builder_set_property), (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily), (gtk_builder_real_get_type_from_name), (gtk_builder_get_parameters), (gtk_builder_get_internal_child), (_gtk_builder_construct), (_gtk_builder_add), (apply_delayed_properties), (_gtk_builder_finish), (gtk_builder_new), (gtk_builder_add_from_file), (gtk_builder_add_from_string), (gtk_builder_get_object), (object_add_to_list), (gtk_builder_get_objects), (gtk_builder_set_translation_domain), (gtk_builder_get_translation_domain), (gtk_builder_connect_signals_default), (gtk_builder_connect_signals), (gtk_builder_connect_signals_full), (gtk_builder_value_from_string), (gtk_builder_value_from_string_type), (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string), (gtk_builder_get_type_from_name), (gtk_builder_error_quark): * gtk/gtkbuilder.h: * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop), (error_missing_attribute), (error_invalid_attribute), (error_invalid_tag), (builder_construct), (parse_object), (free_object_info), (_get_type_by_symbol), (parse_child), (free_child_info), (parse_property), (free_property_info), (parse_signal), (_free_signal_info), (parse_interface), (create_subparser), (free_subparser), (subparser_start), (subparser_end), (parse_custom), (start_element), (end_element), (text), (_gtk_builder_parser_parse_buffer): * gtk/gtkbuilderprivate.h: * gtk/gtkcelllayout.c: (attributes_start_element), (attributes_text_element), (_gtk_cell_layout_buildable_custom_tag_start), (_gtk_cell_layout_buildable_custom_tag_end), (_gtk_cell_layout_buildable_add): * gtk/gtkcelllayout.h: * gtk/gtkcellview.c: (gtk_cell_view_buildable_init), (gtk_cell_view_buildable_custom_tag_start), (gtk_cell_view_buildable_custom_tag_end): * gtk/gtkcolorseldialog.c: (gtk_color_selection_dialog_buildable_interface_init), (gtk_color_selection_dialog_buildable_get_internal_child): * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init), (gtk_combo_box_buildable_custom_tag_start), (gtk_combo_box_buildable_custom_tag_end): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_buildable_interface_init), (gtk_combo_box_entry_buildable_get_internal_child): * gtk/gtkcontainer.c: (gtk_container_get_type), (gtk_container_buildable_init), (gtk_container_buildable_add), (gtk_container_buildable_set_child_property), (attributes_start_element), (attributes_text_element), (gtk_container_buildable_custom_tag_start), (gtk_container_buildable_custom_tag_end): * gtk/gtkdebug.h: * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init), (gtk_dialog_buildable_get_internal_child), (attributes_start_element), (attributes_text_element), (gtk_dialog_buildable_custom_tag_start), (gtk_dialog_buildable_custom_finished): * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init): * gtk/gtkexpander.c: (gtk_expander_buildable_add), (gtk_expander_buildable_init): * gtk/gtkfontsel.c: (gtk_font_selection_dialog_buildable_interface_init), (gtk_font_selection_dialog_buildable_get_internal_child): * gtk/gtkframe.c: (gtk_frame_buildable_init), (gtk_frame_buildable_add): * gtk/gtkiconview.c: (gtk_icon_view_buildable_init), (gtk_icon_view_buildable_custom_tag_start), (gtk_icon_view_buildable_custom_tag_end): * gtk/gtkliststore.c: (gtk_list_store_buildable_init), (list_store_start_element), (list_store_end_element), (list_store_text), (gtk_list_store_buildable_custom_tag_start), (gtk_list_store_buildable_custom_tag_end): * gtk/gtkmain.c: * gtk/gtknotebook.c: (gtk_notebook_buildable_init), (gtk_notebook_buildable_add): * gtk/gtksizegroup.c: (gtk_size_group_buildable_init), (size_group_start_element), (gtk_size_group_buildable_custom_tag_start), (gtk_size_group_buildable_custom_finished): * gtk/gtktreestore.c: (gtk_tree_store_buildable_init), (tree_model_start_element), (gtk_tree_store_buildable_custom_tag_start), (gtk_tree_store_buildable_custom_finished): * gtk/gtktreeview.c: (gtk_tree_view_buildable_init), (gtk_tree_view_buildable_add): * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init): * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init), (gtk_ui_manager_buildable_add), (gtk_ui_manager_buildable_construct_child), (gtk_ui_manager_buildable_custom_tag_start), (gtk_ui_manager_buildable_custom_tag_end): * gtk/gtkwidget.c: (gtk_widget_get_type), (gtk_widget_buildable_interface_init), (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name), (gtk_widget_buildable_set_property), (gtk_widget_buildable_parser_finshed), (accel_group_start_element), (gtk_widget_buildable_custom_tag_start), (gtk_widget_buildable_custom_finshed): * gtk/gtkwindow.c: (gtk_window_buildable_interface_init), (gtk_window_buildable_set_property), (gtk_window_buildable_parser_finished): * tests/Makefile.am: * tests/buildertest.c: (builder_new_from_string), (test_parser), (signal_normal), (signal_after), (signal_object), (signal_object_after), (signal_first), (signal_second), (signal_extra), (signal_extra2), (test_connect_signals), (test_uimanager_simple), (test_domain), (test_translation), (test_sizegroup), (test_list_store), (test_tree_store), (test_types), (test_spin_button), (test_notebook), (test_construct_only_property), (test_children), (test_child_properties), (test_treeview_column), (test_icon_view), (test_combo_box), (test_combo_box_entry), (test_cell_view), (test_dialog), (test_accelerators), (test_widget), (main): Add GtkBuilder, fixes #172535 svn path=/trunk/; revision=18141
* updated explicit usage of RegisterClassExW to match the WNDCLASSEXW. TrueHans Breuer2007-06-153-45/+22
| | | | | | | | | | | | | 2007-06-15 Hans Breuer <hans@breuer.org> * gtk/makefile.msc.in tests/makefile.msc : updated * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW to match the WNDCLASSEXW. True dynamic linking of SetLayeredWindowAttributes * tests/testprint.c tests/testnouiprint.c : use G_PI svn path=/trunk/; revision=18140
* Audit of GtkTreeView coordinate system usage. (#142494).Kristian Rietveld2007-06-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-13 Kristian Rietveld <kris@imendio.com> Audit of GtkTreeView coordinate system usage. (#142494). * gtk/gtktreeview.[ch]: general documentation updates, (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos): update coordinate translations, (gtk_tree_view_tree_to_widget_coords), (gtk_tree_view_widget_to_tree_coords): Deprecated, (gtk_tree_view_convert_.*_coords): 6 new functions for doing transformations between coordinate systems. * gtk/gtk.symbols: updated. * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase with new gtk_tree_view_convert_widget_to_bin_window_coords(). * docs/reference/gtk/Makefile.am * docs/reference/gtk/images/tree-view-coordinates.png: add new image. * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the different coordinate systems. svn path=/trunk/; revision=18119
* make testiconview show brokennessMatthias Clasen2007-06-111-1/+6
| | | | svn path=/trunk/; revision=18102