]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Mon, 26 Nov 2007 17:32:19 +0000 (17:32 +0000)]
Use templates for glib-mkenums calls instead of complicated commandlines
2007-11-26 Matthias Clasen <mclasen@redhat.com>
Use templates for glib-mkenums calls instead of
complicated commandlines in Makefiles. (#429910)
* gdk-pixbuf/Makefile.am:
* gdk/Makefile.am:
* gtk/Makefile.am:
* perf/Makefile.am: Use templates for glib-mkenums
* gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
* gdk/gdkenumtypes.[ch].template:
* gtk/gtktypebuiltings.[ch].template:
* perf/typebuiltins.[ch].template: The templates
svn path=/trunk/; revision=19053
Matthias Clasen [Mon, 26 Nov 2007 17:10:00 +0000 (17:10 +0000)]
Don't use guint8 for bitfields, since some compilers choke on that.
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c:
* gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
some compilers choke on that. (#467722)
svn path=/trunk/; revision=19051
Matthias Clasen [Mon, 26 Nov 2007 16:48:21 +0000 (16:48 +0000)]
Add a note about hook setup. (#425004, Emmanuele Bassi)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
about hook setup. (#425004, Emmanuele Bassi)
svn path=/trunk/; revision=19050
Priit Laes [Mon, 26 Nov 2007 14:58:34 +0000 (14:58 +0000)]
Translation updated by Ivar Smolin.
2007-11-26 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19049
Priit Laes [Mon, 26 Nov 2007 14:46:29 +0000 (14:46 +0000)]
Translation updated by Ivar Smolin.
2007-11-26 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19048
Tor Lillqvist [Sun, 25 Nov 2007 22:59:50 +0000 (22:59 +0000)]
Use the monitor the window currently is on, not always the primary
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
monitor the window currently is on, not always the primary
monitor. (#463865, Tim Evans)
svn path=/trunk/; revision=19047
Tor Lillqvist [Sun, 25 Nov 2007 22:25:18 +0000 (22:25 +0000)]
New file, dummy implementations.
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
* gdk/win32/Makefile.am: Add it.
svn path=/trunk/; revision=19045
Tor Lillqvist [Sun, 25 Nov 2007 22:18:52 +0000 (22:18 +0000)]
Don't add jasper to all_loaders if no libjasper.
2007-11-26 Tor Lillqvist <tml@novell.com>
* configure.in: Don't add jasper to all_loaders if no libjasper.
* gdk-pixbuf/Makefile.am: Fix static build of the icns loader.
svn path=/trunk/; revision=19044
Nickolay V. Shmyrev [Sun, 25 Nov 2007 19:49:46 +0000 (19:49 +0000)]
Updated Russian translation by Vasiliy Faronov <qvvx@yandex.ru>
2007-11-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation
by Vasiliy Faronov <qvvx@yandex.ru>
svn path=/trunk/; revision=19043
Bastien Nocera [Sun, 25 Nov 2007 18:07:01 +0000 (18:07 +0000)]
Add detection for libjasper, used by the gdk-pixbuf JPEG2000 loader
2007-11-25 Bastien Nocera <hadess@hadess.net>
* configure.in: Add detection for libjasper, used by the
gdk-pixbuf JPEG2000 loader
2007-11-25 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* io-jasper.c: Add the libjasper JPEG2000 loader
(Closes: #469901)
svn path=/trunk/; revision=19042
Matthias Clasen [Sun, 25 Nov 2007 06:51:19 +0000 (06:51 +0000)]
Require gtk-doc 1.8
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* configure.in: Require gtk-doc 1.8
* */*.c: Use gtk-doc abbreviations for examples in docs.
svn path=/trunk/; revision=19041
Matthias Clasen [Sun, 25 Nov 2007 06:07:44 +0000 (06:07 +0000)]
Fix a typo
svn path=/trunk/; revision=19039
Matthias Clasen [Sun, 25 Nov 2007 05:40:49 +0000 (05:40 +0000)]
Move signal and property documentation inline, fix a problem with the
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdialog.c: Move signal and property documentation inline,
fix a problem with the ::response signal docs. (#499133, Josselin
Mouette)
svn path=/trunk/; revision=19038
Priit Laes [Sat, 24 Nov 2007 12:42:58 +0000 (12:42 +0000)]
Translation updated by Ivar Smolin.
2007-11-24 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19036
Priit Laes [Sat, 24 Nov 2007 12:42:45 +0000 (12:42 +0000)]
Translation updated by Ivar Smolin.
2007-11-24 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19035
15:48:26 Tim Janik [Thu, 22 Nov 2007 14:47:57 +0000 (14:47 +0000)]
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
the test targets will execute Gtk+ test programs within an Xvfb session.
* 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=19034
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
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
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
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
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
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
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
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
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
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
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
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
Yannig MARCHEGAY [Tue, 20 Nov 2007 20:19:49 +0000 (20:19 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19015
Tim Janik [Tue, 20 Nov 2007 17:44:06 +0000 (17:44 +0000)]
Fixed copyright for newly submitted files.
svn path=/trunk/; revision=19014
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
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
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
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
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
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
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
Matthias Clasen [Mon, 19 Nov 2007 18:59:49 +0000 (18:59 +0000)]
Fix some typos
svn path=/trunk/; revision=19006
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
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
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
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
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
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
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
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
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
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
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
Matej Urbančič [Wed, 14 Nov 2007 14:25:13 +0000 (14:25 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=18993
Matej Urbančič [Wed, 14 Nov 2007 14:01:58 +0000 (14:01 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=18992
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
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
Michael Natterer [Wed, 14 Nov 2007 09:45:59 +0000 (09:45 +0000)]
Remove conflict marker.
svn path=/trunk/; revision=18989
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
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
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
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
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
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
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
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
Matthias Clasen [Sat, 10 Nov 2007 23:57:32 +0000 (23:57 +0000)]
Leak less in error paths
svn path=/trunk/; revision=18980
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
Matthias Clasen [Sat, 10 Nov 2007 04:50:15 +0000 (04:50 +0000)]
More robustness improvements of the parser
svn path=/trunk/; revision=18978
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
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
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
Matthias Clasen [Fri, 9 Nov 2007 16:56:17 +0000 (16:56 +0000)]
Stylistic fixes
svn path=/trunk/; revision=18974
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
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
Matthias Clasen [Thu, 8 Nov 2007 05:21:06 +0000 (05:21 +0000)]
Forgotten file
svn path=/trunk/; revision=18971
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
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
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
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
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
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
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
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
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
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
Ihar Hrachyshka [Thu, 1 Nov 2007 11:08:11 +0000 (11:08 +0000)]
Updated Belarusian Latin translation.
svn path=/trunk/; revision=18960
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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