]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agocall g_test_init() from gtk_test_init().
15:39:40 Tim Janik [Thu, 22 Nov 2007 14:38:26 +0000 (14:38 +0000)]
call g_test_init() from gtk_test_init().

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

16 years agoTranslation updated by Ivar Smolin.
Priit Laes [Thu, 22 Nov 2007 11:38:44 +0000 (11:38 +0000)]
Translation updated by Ivar Smolin.

2007-11-22  Priit Laes  <plaes@svn.gnome.org>

* et.po: Translation updated by Ivar Smolin.

svn path=/trunk/; revision=19032

16 years agoFix a casting problem. (#485662, patch by Herbert Valerio Riedel)
Matthias Clasen [Thu, 22 Nov 2007 06:04:41 +0000 (06:04 +0000)]
Fix a casting problem. (#485662, patch by Herbert Valerio Riedel)

2007-11-22  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
        (#485662, patch by Herbert Valerio Riedel)

svn path=/trunk/; revision=19025

16 years agoFix an aliasing problem. (#347585, Ed Catmur)
Matthias Clasen [Thu, 22 Nov 2007 05:50:32 +0000 (05:50 +0000)]
Fix an aliasing problem. (#347585, Ed Catmur)

2007-11-22  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)

svn path=/trunk/; revision=19024

16 years ago* gdk/quartz/gdktestutils-quartz.c: Add stubs for the testing functions to
Richard Hult [Wed, 21 Nov 2007 11:29:03 +0000 (11:29 +0000)]
* gdk/quartz/gdktestutils-quartz.c: Add stubs for the testing functions to

2007-11-21  Richard Hult  <richard@imendio.com>

* gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
stubs for the testing functions to fix the build.

svn path=/trunk/; revision=19023

16 years agoFix C89 compilation issue. (#467711, The Written Word)
Behdad Esfahbod [Wed, 21 Nov 2007 09:32:35 +0000 (09:32 +0000)]
Fix C89 compilation issue. (#467711, The Written Word)

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

16 years agoAdd xsetting for gtk-scrolled-window-placement (#458103).
Ross Burton [Wed, 21 Nov 2007 09:22:48 +0000 (09:22 +0000)]
Add xsetting for gtk-scrolled-window-placement (#458103).

2007-11-21  Ross Burton  <ross@openedhand.com>

* gdk/x11/gdksettings.c:
Add xsetting for gtk-scrolled-window-placement (#458103).

svn path=/trunk/; revision=19021

16 years agoMake GtkMenuItem's arrow size themeable. (#469239, Michael Natterer)
Behdad Esfahbod [Wed, 21 Nov 2007 09:22:06 +0000 (09:22 +0000)]
Make GtkMenuItem's arrow size themeable. (#469239, Michael Natterer)

2007-11-21  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
        (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
        (#469239, Michael Natterer)

svn path=/trunk/; revision=19020

16 years agoAdd Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
Behdad Esfahbod [Wed, 21 Nov 2007 09:12:59 +0000 (09:12 +0000)]
Add Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for

2007-11-21  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
        Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
        gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
        (#436536, Tommi Komulainen)

svn path=/trunk/; revision=19019

16 years agoFix the default value of the toolbar-style property. (#489782, Jan Janech)
Matthias Clasen [Wed, 21 Nov 2007 05:49:35 +0000 (05:49 +0000)]
Fix the default value of the toolbar-style property. (#489782, Jan Janech)

2007-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
        property.  (#489782, Jan Janech)

svn path=/trunk/; revision=19018

16 years agoAvoid drawing one too many frames. (#107398, Owen Taylor, Miguel Gomez)
Matthias Clasen [Wed, 21 Nov 2007 04:56:50 +0000 (04:56 +0000)]
Avoid drawing one too many frames. (#107398, Owen Taylor, Miguel Gomez)

2007-11-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
        frames.  (#107398, Owen Taylor, Miguel Gomez)

svn path=/trunk/; revision=19017

16 years agoUse G_DEFINE_TYPE (#469341, Björn Lindqvist)
Matthias Clasen [Wed, 21 Nov 2007 04:12:13 +0000 (04:12 +0000)]
Use G_DEFINE_TYPE (#469341, Björn Lindqvist)

2007-11-20  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.c: Use G_DEFINE_TYPE (#469341,
        Björn Lindqvist)

svn path=/trunk/; revision=19016

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 20 Nov 2007 20:19:49 +0000 (20:19 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=19015

16 years agoFixed copyright for newly submitted files.
Tim Janik [Tue, 20 Nov 2007 17:44:06 +0000 (17:44 +0000)]
Fixed copyright for newly submitted files.

svn path=/trunk/; revision=19014

16 years agoChangeLog: added Gtk+ testing utility development history.
Tim Janik [Tue, 20 Nov 2007 15:04:33 +0000 (15:04 +0000)]
ChangeLog: added Gtk+ testing utility development history.

svn path=/trunk/; revision=19013

16 years agoMoved Gdk test functions from Gtk+ to Gdk test utils.
Tim Janik [Tue, 20 Nov 2007 15:03:31 +0000 (15:03 +0000)]
Moved Gdk test functions from Gtk+ to Gdk test utils.

* gdk/Makefile.am: added gdktestutils.h to public includes.

* gdk/gdk.h: added gdktestutils.h to public includes.

* gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
gdk_test_render_sync.

* gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.

* gdk/x11/Makefile.am: build gdktestutils-x11.c.

* gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.

* gtk/gtktestutils.c:
* gtk/gtktestutils.h:
* gtk/gtk.symbols: removed gtk_test_simulate_button
gtk_test_simulate_key, gtk_test_xserver_render_sync.

* gtk/tests/testing.c: call gdk_test_render_sync.

svn path=/trunk/; revision=19012

16 years agoAdded unit tests for Gtk+ testing utilities.
Tim Janik [Tue, 20 Nov 2007 15:03:28 +0000 (15:03 +0000)]
Added unit tests for Gtk+ testing utilities.

* gtk/tests/testing.c: added a sample test program that tests Gtk+ test
utility functions. some g_test_* related portions are disabled and need
to be enabled once Gtk+ depends on a new glib with the GLib testing
framework integrated.

* gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
added exemplary test rules to run tests inside Xvfb. this needs to depend
on gtester for full fledged testing.

* gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
collecting _get_type functions to catch e.g. gtk_text_get_type().

* configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.

svn path=/trunk/; revision=19011

16 years agoAdded Gtk+ testing utilities.
Tim Janik [Tue, 20 Nov 2007 15:03:26 +0000 (15:03 +0000)]
Added Gtk+ testing utilities.

* gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
for the most part, the functions herein involve navigating and interacting
with dialog elements programatically, to automate user interaction tests of
dialogs and widgets.

* gtk/gtk.h: include gtk/gtktestutils.h as public API.

* gtk/gtk.symbols: added gtk_test_* symbols.

* gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
generate gtktypefuncs.c which contains a list of all _get_type functions in
Gtk+ and Gdk.

svn path=/trunk/; revision=19010

16 years agoAdd support for 512x512 Leopard icons, using the ic09 iconType
Bastien Nocera [Tue, 20 Nov 2007 11:15:12 +0000 (11:15 +0000)]
Add support for 512x512 Leopard icons, using the ic09 iconType

2007-11-20  Bastien Nocera  <hadess@hadess.net>

* io-icns.c: (load_resources): Add support for 512x512 Leopard
icons, using the ic09 iconType

svn path=/trunk/; revision=19009

16 years agoAdd icns loader to the files to translate
Bastien Nocera [Tue, 20 Nov 2007 10:28:35 +0000 (10:28 +0000)]
Add icns loader to the files to translate

2007-11-20  Bastien Nocera  <hadess@hadess.net>

* POTFILES.in: Add icns loader to the files to translate

svn path=/trunk/; revision=19008

16 years agoadd support for conditional icns gdk-pixbuf loader (Closes: #395738)
Bastien Nocera [Tue, 20 Nov 2007 10:26:57 +0000 (10:26 +0000)]
add support for conditional icns gdk-pixbuf loader (Closes: #395738)

2007-11-20  Bastien Nocera  <hadess@hadess.net>

* configure.in: add support for conditional icns gdk-pixbuf loader
(Closes: #395738)

2007-11-20  Bastien Nocera  <hadess@hadess.net>

* Makefile.am:
* io-icns.c: Add icns (MacOS X icons) loader, based on work by
Lyonel Vincent <lyonel@ezix.org> (Closes: #395738)

svn path=/trunk/; revision=19007

16 years agoFix some typos
Matthias Clasen [Mon, 19 Nov 2007 18:59:49 +0000 (18:59 +0000)]
Fix some typos

svn path=/trunk/; revision=19006

16 years agoupdated version number to 2.15.0 for development.
10:31:26 Tim Janik [Mon, 19 Nov 2007 10:19:11 +0000 (10:19 +0000)]
updated version number to 2.15.0 for development.

2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>

        * configure.in: updated version number to 2.15.0 for development.

svn path=/trunk/; revision=19005

16 years agoupdated version number to 2.15.0 for development.
10:31:26 Tim Janik [Mon, 19 Nov 2007 09:41:05 +0000 (09:41 +0000)]
updated version number to 2.15.0 for development.

2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>

        * configure.in: updated version number to 2.15.0 for development.

svn path=/trunk/; revision=19004

16 years ago=== Branch for 2.12 ===
10:27:39 Tim Janik [Mon, 19 Nov 2007 09:26:25 +0000 (09:26 +0000)]
=== Branch for 2.12 ===

2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>

        === Branch for 2.12 ===

svn path=/trunk/; revision=19003

16 years agoFix the GtkBuildable implementation to allow setting column types.
Matthias Clasen [Mon, 19 Nov 2007 05:47:36 +0000 (05:47 +0000)]
Fix the GtkBuildable implementation to allow setting column types.

2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreestore.c: Fix the GtkBuildable implementation
        to allow setting column types.  (#496795, James Stephenson)

svn path=/trunk/; revision=19001

16 years agoMake gtk_check_version() return const. (#496734, Nicolas Joseph)
Matthias Clasen [Mon, 19 Nov 2007 05:34:19 +0000 (05:34 +0000)]
Make gtk_check_version() return const. (#496734, Nicolas Joseph)

2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmain.[hc]: Make gtk_check_version() return const.
        (#496734, Nicolas Joseph)

svn path=/trunk/; revision=19000

16 years agoCorrect docs for program-name property. (#496689, Thomas Wood)
Matthias Clasen [Mon, 19 Nov 2007 05:28:28 +0000 (05:28 +0000)]
Correct docs for program-name property. (#496689, Thomas Wood)

2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaboutdialog.c: Correct docs for program-name property.
        (#496689, Thomas Wood)

svn path=/trunk/; revision=18999

16 years agoSmall correction to the informational DTD. (#496277, Nicolas Joseph)
Matthias Clasen [Mon, 19 Nov 2007 05:02:30 +0000 (05:02 +0000)]
Small correction to the informational DTD. (#496277, Nicolas Joseph)

2007-11-19  Matthias Clasen <mclasen@redhat.com>

        * gtk/tmpl/gtkbuilder.sgml: Small correction to the
        informational DTD.  (#496277, Nicolas Joseph)

svn path=/trunk/; revision=18998

16 years agoUse gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.
Paolo Borelli [Sat, 17 Nov 2007 10:18:13 +0000 (10:18 +0000)]
Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.

2007-11-17  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtktextbuffer.c:
* gtk/gtktextlayout.c:
* gtk/gtktextview.c:
Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.

svn path=/trunk/; revision=18997

16 years agonew functions _gtk_text_btree_get_insert() and
Yevgen Muntyan [Thu, 15 Nov 2007 17:03:09 +0000 (17:03 +0000)]
new functions _gtk_text_btree_get_insert() and

2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtktextbtree.h:
* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
and _gtk_text_btree_get_selection_bound() (#497102).
* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
(gtk_text_buffer_get_selection_bound): use them here instead of
hash table lookup.

svn path=/trunk/; revision=18996

16 years agosort returned tags array by tags priority (#497102).
Yevgen Muntyan [Thu, 15 Nov 2007 17:00:33 +0000 (17:00 +0000)]
sort returned tags array by tags priority (#497102).

2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned
tags array by tags priority (#497102).
* gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes):
* gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here.

svn path=/trunk/; revision=18995

16 years agodo not call _gtk_text_btree_get_iter_at_line() and
Yevgen Muntyan [Thu, 15 Nov 2007 16:24:42 +0000 (16:24 +0000)]
do not call _gtk_text_btree_get_iter_at_line() and

2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtktextlayout.c: (gtk_text_layout_get_line_display),
(get_style): do not call _gtk_text_btree_get_iter_at_line() and
_gtk_text_btree_get_tags() for every segment, instead call them
once and then collect the tags while iterating over the segments.
(get_tags_array_at_iter), (tags_array_toggle_tag): new functions
for tags array handling.

svn path=/trunk/; revision=18994

16 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 14 Nov 2007 14:25:13 +0000 (14:25 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=18993

16 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 14 Nov 2007 14:01:58 +0000 (14:01 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=18992

16 years agoremove recently added gdk_flush() again, it's not needed after all.
Michael Natterer [Wed, 14 Nov 2007 10:09:44 +0000 (10:09 +0000)]
remove recently added gdk_flush() again, it's not needed after all.

2007-11-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_popup): remove recently added
gdk_flush() again, it's not needed after all.

svn path=/trunk/; revision=18991

16 years agotests/testbbox.c use g_object_ref/unref instead of deprecated functions.
Michael Natterer [Wed, 14 Nov 2007 10:00:37 +0000 (10:00 +0000)]
tests/testbbox.c use g_object_ref/unref instead of deprecated functions.

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

16 years agoRemove conflict marker.
Michael Natterer [Wed, 14 Nov 2007 09:45:59 +0000 (09:45 +0000)]
Remove conflict marker.

svn path=/trunk/; revision=18989

16 years agocast pointers to fix warnings about signdness.
Michael Natterer [Wed, 14 Nov 2007 09:45:14 +0000 (09:45 +0000)]
cast pointers to fix warnings about signdness.

2007-11-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkstyle.c (gtk_default_draw_focus): cast pointers to fix
warnings about signdness.

svn path=/trunk/; revision=18988

16 years agoReviewed by Richard:
Sven Herzberg [Tue, 13 Nov 2007 21:05:09 +0000 (21:05 +0000)]
Reviewed by Richard:

2007-11-12  Sven Herzberg  <herzi@imendio.com>

Reviewed by Richard:

* gdk/quartz/gdkquartz.h: include <gdk/gdkprivate.h> with angle
brackets and not with quotation marks

svn path=/trunk/; revision=18987

16 years agoAvoid loading the ISO8859-1 iconv module. We're already doing all the
Alexander Larsson [Mon, 12 Nov 2007 15:51:55 +0000 (15:51 +0000)]
Avoid loading the ISO8859-1 iconv module. We're already doing all the

2007-11-12  Alexander Larsson  <alexl@redhat.com>

        * gdk/x11/gdkselection-x11.c:
Avoid loading the ISO8859-1 iconv module.
We're already doing all the required work anyway.
This saves 4kb private dirty memory per gtk+ process

svn path=/trunk/; revision=18986

16 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 12 Nov 2007 10:28:37 +0000 (10:28 +0000)]
Translation updated by Ivar Smolin.

2007-11-12  Priit Laes  <plaes@svn.gnome.org>

* et.po: Translation updated by Ivar Smolin.

svn path=/trunk/; revision=18985

16 years agoMoved gtk_text_view_update_im_spot_location() calls into an idle, fixes
Yevgen Muntyan [Sun, 11 Nov 2007 19:07:27 +0000 (19:07 +0000)]
Moved gtk_text_view_update_im_spot_location() calls into an idle, fixes

2007-11-11  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtktextview.c: Moved gtk_text_view_update_im_spot_location()
calls into an idle, fixes #494776.
GtkTextViewPrivate:im_spot_idle, do_update_im_spot_location(),
queue_update_im_spot_location(), flush_update_im_spot_location(): new
field and functions to queue the call;
(changed_handler): call queue_update_im_spot_location() instead of
gtk_text_view_update_im_spot_location();
(gtk_text_view_key_press_event): flush the idle here.

svn path=/trunk/; revision=18984

16 years agoConvert delayed_properties hashtable to linked list. Fixes #495769.
Ryan Lortie [Sun, 11 Nov 2007 18:06:11 +0000 (18:06 +0000)]
Convert delayed_properties hashtable to linked list. Fixes #495769.

2007-11-10  Ryan Lortie  <desrt@desrt.ca>

        * gtk/gtkbuilder.c: Convert delayed_properties hashtable to linked
        list.  Fixes #495769.

svn path=/trunk/; revision=18983

16 years agoAvoid unaligned accesses that cause problems on some architectures. (patch
Matthias Clasen [Sun, 11 Nov 2007 03:24:06 +0000 (03:24 +0000)]
Avoid unaligned accesses that cause problems on some architectures. (patch

2007-11-10  Matthias Clasen <mclasen@redhat.com>

        * io-jpeg.c: Avoid unaligned accesses that cause
        problems on some architectures.  (patch by David Miller)

svn path=/trunk/; revision=18982

16 years agoParse a file given on the cmdline
Matthias Clasen [Sat, 10 Nov 2007 23:59:05 +0000 (23:59 +0000)]
Parse a file given on the cmdline

svn path=/trunk/; revision=18981

16 years agoLeak less in error paths
Matthias Clasen [Sat, 10 Nov 2007 23:57:32 +0000 (23:57 +0000)]
Leak less in error paths

svn path=/trunk/; revision=18980

16 years agoDon't leak buffer if an error occurs.
Matthias Clasen [Sat, 10 Nov 2007 05:03:10 +0000 (05:03 +0000)]
Don't leak buffer if an error occurs.

2007-11-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkbuilder.c (gtk_builder_add_from_file): Don't
        leak buffer if an error occurs.

svn path=/trunk/; revision=18979

16 years agoMore robustness improvements of the parser
Matthias Clasen [Sat, 10 Nov 2007 04:50:15 +0000 (04:50 +0000)]
More robustness improvements of the parser

svn path=/trunk/; revision=18978

16 years agoDon't assert on misplaced signal elements
Matthias Clasen [Sat, 10 Nov 2007 04:15:44 +0000 (04:15 +0000)]
Don't assert on misplaced signal elements

svn path=/trunk/; revision=18977

16 years agoHandle misplaced property elements without asserting.
Matthias Clasen [Sat, 10 Nov 2007 02:36:56 +0000 (02:36 +0000)]
Handle misplaced property elements without asserting.

2007-11-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkbuilderparser.c (parse_property): Handle misplaced
        property elements without asserting.

svn path=/trunk/; revision=18976

16 years agoguard for windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported
Kristian Rietveld [Fri, 9 Nov 2007 22:44:31 +0000 (22:44 +0000)]
guard for windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported

2007-11-09  Kristian Rietveld  <kris@imendio.com>

* gdk/gdkwindow.c (gdk_window_process_all_updates): guard for
windows with GDK_WINDOW_DESTROYED set.  (Fixes #482531, reported
by Sebastien Bacher).

svn path=/trunk/; revision=18975

16 years agoStylistic fixes
Matthias Clasen [Fri, 9 Nov 2007 16:56:17 +0000 (16:56 +0000)]
Stylistic fixes

svn path=/trunk/; revision=18974

16 years agodon't leak 'filename' field memory when loading more than one file into
Matthias Clasen [Fri, 9 Nov 2007 00:33:45 +0000 (00:33 +0000)]
don't leak 'filename' field memory when loading more than one file into

2007-11-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkbuilder.c: don't leak 'filename' field memory when loading
        more than one file into the same GtkBuilder instance. Noticed by
        Ryan Lortie.

svn path=/trunk/; revision=18973

16 years agoinclude <glib.h> instead of <glib/gmarkup.h>
Michael Natterer [Thu, 8 Nov 2007 12:30:01 +0000 (12:30 +0000)]
include <glib.h> instead of <glib/gmarkup.h>

2007-11-08  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbuildable.h: include <glib.h> instead of <glib/gmarkup.h>

svn path=/trunk/; revision=18972

16 years agoForgotten file
Matthias Clasen [Thu, 8 Nov 2007 05:21:06 +0000 (05:21 +0000)]
Forgotten file

svn path=/trunk/; revision=18971

16 years agoAdd GString 'text' to the property info structure. Used to accumulate
Ryan Lortie [Thu, 8 Nov 2007 04:12:52 +0000 (04:12 +0000)]
Add GString 'text' to the property info structure. Used to accumulate

2007-11-07  Ryan Lortie  <desrt@desrt.ca>

        * gtk/gtkbuilderprivate.h: Add GString 'text' to the property info
        structure.  Used to accumulate property text across multiple 'text'
        calls.

        * gtk/gtkbuilderparser.c: Instead of translating/copying text on each
        'text' call while in <property> accumulate the text until the end and
        do it all in one go.  This fixes handling of <!-- --> inside
        properties as well as <property/> cases.

svn path=/trunk/; revision=18970

16 years agocall gdk_flush() after showing the menu so we can definitely grab on it.
Michael Natterer [Tue, 6 Nov 2007 14:23:56 +0000 (14:23 +0000)]
call gdk_flush() after showing the menu so we can definitely grab on it.

2007-11-06  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_popup): call gdk_flush() after showing
the menu so we can definitely grab on it. Grab failure found by
Xan Lopez.

svn path=/trunk/; revision=18969

16 years agofixed docs.
Michael Natterer [Tue, 6 Nov 2007 08:57:33 +0000 (08:57 +0000)]
fixed docs.

2007-11-06  Michael Natterer  <mitch@imendio.com>

* gtk/gtkwidget.c (gtk_widget_keynav_failed): fixed docs.

svn path=/trunk/; revision=18968

16 years agoMake shift tab work with unicode layouts (e.g. all Leopard layouts), fixes
Richard Hult [Sun, 4 Nov 2007 18:11:22 +0000 (18:11 +0000)]
Make shift tab work with unicode layouts (e.g. all Leopard layouts), fixes

2007-11-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Make shift
tab work with unicode layouts (e.g. all Leopard layouts), fixes
bug #493404.

svn path=/trunk/; revision=18967

16 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sun, 4 Nov 2007 10:46:12 +0000 (10:46 +0000)]
Translation updated by Ivar Smolin.

2007-11-04  Priit Laes  <plaes@svn.gnome.org>

* et.po: Translation updated by Ivar Smolin.

svn path=/trunk/; revision=18966

16 years agoFix bug #486369, by passing the selection info along when pasting.
Richard Hult [Sat, 3 Nov 2007 13:12:45 +0000 (13:12 +0000)]
Fix bug #486369, by passing the selection info along when pasting.

2007-11-03  Richard Hult  <richard@imendio.com>

* gtk/gtkclipboard-quartz.c: (clipboard_owner_destroyed),
(gtk_clipboard_set_contents), (clipboard_unset): Fix bug #486369,
by passing the selection info along when pasting.

svn path=/trunk/; revision=18965

16 years agoMake the grab breaking on window move work on Leopard (as well as Tiger)
Richard Hult [Sat, 3 Nov 2007 09:52:34 +0000 (09:52 +0000)]
Make the grab breaking on window move work on Leopard (as well as Tiger)

2007-11-03  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: Make the grab breaking on window
move work on Leopard (as well as Tiger) by ignoring which mouse
button is pressed.

svn path=/trunk/; revision=18964

16 years agoCalculate the frame rect correctly when resizing toplevels, fixes bug
Richard Hult [Sat, 3 Nov 2007 09:45:25 +0000 (09:45 +0000)]
Calculate the frame rect correctly when resizing toplevels, fixes bug

2007-11-03  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
Calculate the frame rect correctly when resizing toplevels, fixes
bug #492209.

svn path=/trunk/; revision=18963

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Fri, 2 Nov 2007 12:22:20 +0000 (12:22 +0000)]
Updated Norwegian bokmål translation.

2007-11-02  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=18962

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Fri, 2 Nov 2007 12:18:48 +0000 (12:18 +0000)]
Updated Norwegian bokmål translation.

2007-11-02  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=18961

16 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Thu, 1 Nov 2007 11:08:11 +0000 (11:08 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=18960

16 years agoRedo the fix for bug #492117, by adding a getter for the private drag
Richard Hult [Thu, 1 Nov 2007 08:45:30 +0000 (08:45 +0000)]
Redo the fix for bug #492117, by adding a getter for the private drag

2007-11-01  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h:
* gdk/quartz/gdkdnd-quartz.c:
* gdk/quartz/gdkquartz.h:
* gtk/gtkdnd-quartz.c: Redo the fix for bug #492117, by adding a
getter for the private drag context info so we don't need to
expose so much in the public quartz header file.

svn path=/trunk/; revision=18959

16 years agoFix build, bug #492117.
Richard Hult [Thu, 1 Nov 2007 07:29:55 +0000 (07:29 +0000)]
Fix build, bug #492117.

2007-11-01  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.h: Fix build, bug #492117.

svn path=/trunk/; revision=18958

16 years agoUpdated Finnish translation (fix for bug #484148)
Ilkka Tuohela [Wed, 31 Oct 2007 14:44:13 +0000 (14:44 +0000)]
Updated Finnish translation (fix for bug #484148)

svn path=/trunk/; revision=18957

16 years agoUpdated Finnish translation (fix for bug #484148)
Ilkka Tuohela [Wed, 31 Oct 2007 14:25:17 +0000 (14:25 +0000)]
Updated Finnish translation (fix for bug #484148)

svn path=/trunk/; revision=18956

16 years agoImplement manual resize and move.
Richard Hult [Wed, 31 Oct 2007 11:01:56 +0000 (11:01 +0000)]
Implement manual resize and move.

2007-10-31  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h:
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_begin_resize_drag),
(gdk_window_begin_move_drag): Implement manual resize and move.

svn path=/trunk/; revision=18955

16 years agoSetup autorelease pool, plugs occasional leak on leopard.
Richard Hult [Wed, 31 Oct 2007 10:14:53 +0000 (10:14 +0000)]
Setup autorelease pool, plugs occasional leak on leopard.

2007-10-31  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_process_updates): Setup autorelease pool,
plugs occasional leak on leopard.

svn path=/trunk/; revision=18954

16 years agoFix build warning (trackingRect should be 0, not nil).
Richard Hult [Wed, 31 Oct 2007 10:07:47 +0000 (10:07 +0000)]
Fix build warning (trackingRect should be 0, not nil).

2007-10-31  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.c: Fix build warning (trackingRect should be
0, not nil).

svn path=/trunk/; revision=18953

16 years agoChain up to the parent's finalize virtual function.
Emmanuele Bassi [Tue, 30 Oct 2007 12:25:39 +0000 (12:25 +0000)]
Chain up to the parent's finalize virtual function.

2007-10-30  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkbuilder.c (gtk_builder_finalize): Chain up to the
parent's finalize virtual function.

svn path=/trunk/; revision=18952

16 years agoAllow the ::delete-range handler to delete text after the text it was
Owen Taylor [Sun, 28 Oct 2007 22:27:15 +0000 (22:27 +0000)]
Allow the ::delete-range handler to delete text after the text it was

2007-10-28  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Allow
        the ::delete-range handler to delete text after the text it was
        explicitly asked to delete without confusing us as to whether
        we're currently on an editable or not-editable segment.
        (#491207)

svn path=/trunk/; revision=18951

16 years agoDisable beeps when backspacing in textviews by default on Win32 systems.
Cody Russell [Fri, 26 Oct 2007 20:02:41 +0000 (20:02 +0000)]
Disable beeps when backspacing in textviews by default on Win32 systems.

2007-10-26  Cody Russell  <cody@jhu.edu>

        * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
        Disable beeps when backspacing in textviews by default on
        Win32 systems. (#490624, Daniel Atallah)

svn path=/trunk/; revision=18950

16 years agoPay attention to tags that turn invisibility off as well as tags that turn
Owen Taylor [Fri, 26 Oct 2007 14:02:06 +0000 (14:02 +0000)]
Pay attention to tags that turn invisibility off as well as tags that turn

2007-10-26  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible):
        Pay attention to tags that turn invisibility off as well
        as tags that turn invsibility on. (#488051, Mathias Hasselmann)

svn path=/trunk/; revision=18949

16 years agoImprove gtk_builder_get_type_from_name() documentation. (#461222, Murray
Johan Dahlin [Wed, 24 Oct 2007 18:24:44 +0000 (18:24 +0000)]
Improve gtk_builder_get_type_from_name() documentation. (#461222, Murray

2007-10-24  Johan Dahlin  <jdahlin@async.com.br>

* gtk/gtkbuilder.c: Improve gtk_builder_get_type_from_name()
documentation. (#461222, Murray Cumming)

svn path=/trunk/; revision=18948

16 years agoUpdated Irish translation.
Seán de Búrca [Wed, 24 Oct 2007 14:33:04 +0000 (14:33 +0000)]
Updated Irish translation.

2007-10-24  Seán de Búrca  <sdeburca@svn.gnome.org>

    * ga.po: Updated Irish translation.

svn path=/trunk/; revision=18947

16 years agoUse an autorelease pool.
Richard Hult [Wed, 24 Oct 2007 12:56:28 +0000 (12:56 +0000)]
Use an autorelease pool.

2007-10-24  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (update_toplevel_order): Use an
autorelease pool.

svn path=/trunk/; revision=18946

16 years agoGive up instead of raising an error if we can't find the parent dialog
Johan Dahlin [Wed, 24 Oct 2007 11:52:56 +0000 (11:52 +0000)]
Give up instead of raising an error if we can't find the parent dialog

2007-10-24  Johan Dahlin  <jdahlin@async.com.br>

* gtk/gtk-builder-convert
(GtkBuilderConverter._convert_dialog_response):
Give up instead of raising an error if we can't find
the parent dialog when converting response ids.
(#479463, Priyank)

svn path=/trunk/; revision=18945

16 years agoParse signals after <child> tags and add tests. (#468793, Benjamin Otte)
Johan Dahlin [Wed, 24 Oct 2007 11:48:17 +0000 (11:48 +0000)]
Parse signals after <child> tags and add tests. (#468793, Benjamin Otte)

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

16 years agoAllow empty property nodes so we can set empty strings. (#486420, Xavier
Johan Dahlin [Wed, 24 Oct 2007 09:46:31 +0000 (09:46 +0000)]
Allow empty property nodes so we can set empty strings. (#486420, Xavier

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

16 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Tue, 23 Oct 2007 20:58:02 +0000 (20:58 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=18942

16 years agoHandle NSFilenamesPboardType in addition to NSURLPboardType to support dnd
Richard Hult [Tue, 23 Oct 2007 19:07:32 +0000 (19:07 +0000)]
Handle NSFilenamesPboardType in addition to NSURLPboardType to support dnd

2007-10-23  Richard Hult  <richard@imendio.com>

* gtk/gtkquartz.c:
(_gtk_quartz_get_selection_data_from_pasteboard): Handle
NSFilenamesPboardType in addition to NSURLPboardType to support
dnd with multiple files from Finder, based on patch from Paul
Davis (bug #467490).

svn path=/trunk/; revision=18941

16 years agoMaintain a list for the stacking order of windows. Implement lower and
Richard Hult [Tue, 23 Oct 2007 13:06:31 +0000 (13:06 +0000)]
Maintain a list for the stacking order of windows. Implement lower and

2007-10-23  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_raise, gdk_window_lower, gdk_window_new,
_gdk_windowing_window_destroy): Maintain a list for the stacking
order of windows. Implement lower and raise for child windows. The
list for toplevels is created on demand, and cleared when a window
gets or resigns main status and when new windows are created.
(find_child_window_helper): Use the sorted list to go through
windows from top to bottom. Take any titlebar in consideration for
toplevels, to stop events from sometimes punching through (bugs
#473813 and #489370).

svn path=/trunk/; revision=18940

16 years agoUse gtk_ascii_tolower/toupper instead of the C library variants. (#488918,
Johan Dahlin [Mon, 22 Oct 2007 09:15:50 +0000 (09:15 +0000)]
Use gtk_ascii_tolower/toupper instead of the C library variants. (#488918,

2007-10-22  Johan Dahlin  <jdahlin@async.com.br>

* gtk/gtkbuilder.c: Use gtk_ascii_tolower/toupper instead of the C
library variants. (#488918, Sertaç Ö. Yıldız)

svn path=/trunk/; revision=18939

16 years agoUpdated Irish translation.
Seán de Búrca [Sun, 21 Oct 2007 23:21:46 +0000 (23:21 +0000)]
Updated Irish translation.

2007-10-21  Seán de Búrca  <sdeburca@svn.gnome.org>

        * ga.po: Updated Irish translation.

svn path=/trunk/; revision=18938

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Sun, 21 Oct 2007 21:49:52 +0000 (21:49 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=18937

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Sun, 21 Oct 2007 21:49:44 +0000 (21:49 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=18936

16 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Sun, 21 Oct 2007 19:22:04 +0000 (19:22 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=18935

16 years agoUpdated Irish translation.
Seán de Búrca [Sun, 21 Oct 2007 17:20:45 +0000 (17:20 +0000)]
Updated Irish translation.

2007-10-21  Seán de Búrca  <sdeburca@svn.gnome.org>

    * ga.po: Updated Irish translation.

svn path=/trunk/; revision=18934

16 years agoAdd a block around the WM_ACTIVATE case to avoid declaring variables in
Tor Lillqvist [Fri, 19 Oct 2007 12:36:04 +0000 (12:36 +0000)]
Add a block around the WM_ACTIVATE case to avoid declaring variables in

2007-10-19  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Add a block
around the WM_ACTIVATE case to avoid declaring variables in the
middle of a block. (#488017)

svn path=/trunk/; revision=18932

16 years agoDraw focus rect for buttons with relief set to GTK_RELIEF_NONE. (#487954)
Cody Russell [Thu, 18 Oct 2007 17:14:36 +0000 (17:14 +0000)]
Draw focus rect for buttons with relief set to GTK_RELIEF_NONE. (#487954)

2007-10-18  Cody Russell  <cody@jhu.edu>

        * modules/engines/ms-windows/msw_style.c: Draw focus rect for
        buttons with relief set to GTK_RELIEF_NONE. (#487954)

svn path=/trunk/; revision=18931

16 years agoTranslation update by Ivar Smolin.
Priit Laes [Thu, 18 Oct 2007 14:07:43 +0000 (14:07 +0000)]
Translation update by Ivar Smolin.

2007-10-18  Priit Laes  <plaes@svn.gnome.org>

* et.po: Translation update by Ivar Smolin.

svn path=/trunk/; revision=18930

16 years agogdk/win32/gdkevents-win32.c Force non-modal transient dialogs to iconify
Cody Russell [Thu, 18 Oct 2007 00:31:22 +0000 (00:31 +0000)]
gdk/win32/gdkevents-win32.c Force non-modal transient dialogs to iconify

2007-10-17  Cody Russell  <cody@jhu.edu>

        * gdk/win32/gdkevents-win32.c
        * gdk/win32/gdkwindow-win32.[ch]: Force non-modal transient dialogs
        to iconify with their parents on Win32.  Maintain a list of transient
        children, and whenever a window is hidden or restored we now do the
        same thing to all connected transient windows above and below the
        current window in the chain.  See comment under WM_ACTIVATE for the
        reasons why.  (#164537, #371036, #405178)

svn path=/trunk/; revision=18929

16 years agoMove -Wl,-luuid to LDFLAGS to make libtool happy.
Owen Taylor [Wed, 17 Oct 2007 18:39:09 +0000 (18:39 +0000)]
Move -Wl,-luuid to LDFLAGS to make libtool happy.

2007-10-17  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (libgtk_win32_2_0_la_LDFLAGS): Move -Wl,-luuid
        to LDFLAGS to make libtool happy.

svn path=/trunk/; revision=18928

16 years agoUse -Wl,-luuid instead of -luuid to work around libtool lossage.
Tor Lillqvist [Wed, 17 Oct 2007 16:30:17 +0000 (16:30 +0000)]
Use -Wl,-luuid instead of -luuid to work around libtool lossage.

2007-10-17  Tor Lillqvist  <tml@novell.com>

* gtk/Makefile.am (libgtk_win32_2_0_la_LIBADD): Use -Wl,-luuid
instead of -luuid to work around libtool lossage.

svn path=/trunk/; revision=18927

16 years agoBump version
Matthias Clasen [Wed, 17 Oct 2007 05:08:07 +0000 (05:08 +0000)]
Bump version

svn path=/trunk/; revision=18926