]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoUpdate for the new API of the profiler.
Federico Mena Quintero [Fri, 29 Jul 2005 00:38:51 +0000 (00:38 +0000)]
Update for the new API of the profiler.

2005-07-28  Federico Mena Quintero  <federico@ximian.com>

* perf/README: Update for the new API of the profiler.

* perf/gtkwidgetprofiler.[ch]: New files with a widget profiler
object.  This is the old content of timers.[ch] turned into a nice
object, with signals for creation and reporting.  The profiler
needs to maintain some state when reusing the widget, so it's
useful to turn it into a real object.

Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and
GTK_WIDGET_PROFILER_REPORT_EXPOSE.

* perf/main.c: Refactor to use GtkWidgetProfiler.

* perf/appwindow.c (content_area_new): Make this just create a
notebook, instead of a complex arrangement of panes.

* perf/widgets.h: New header file for all the "create a widget"
utility functions.

* perf/treeview.c: New file.  Moved the tree view part from
appwindow.c over to here; GtkTreeView really needs its own tests.
(tree_view_new): Set the shadow type to IN.

* perf/textview.c: Likewise moved over from appwindow.c, but for
GtkTextView.
(text_view_new): Set the shadow type to IN.

* perf/Makefile.am (testperf_SOURCES): Add the new source files;
remove appwindow.h and timers.[ch].

* perf/timers.[ch]: Removed.

* perf/appwindow.h: Removed.

18 years agoCosmetics.
Tor Lillqvist [Fri, 29 Jul 2005 00:35:21 +0000 (00:35 +0000)]
Cosmetics.

18 years agoRemove ifdeffed out code relating to the gdk-ping message. Use the global
Tor Lillqvist [Fri, 29 Jul 2005 00:23:03 +0000 (00:23 +0000)]
Remove ifdeffed out code relating to the gdk-ping message. Use the global

2005-07-29  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating
to the gdk-ping message. Use the global _gdk_display instead of
calling gdk_display_get_default() which would return _gdk_display
anyway.

(append_event, apply_filters, gdk_event_translate): Drop any
GdkDisplay parameter as we only have one display anyway. Use
_gdk_display where needed.

(gdk_event_apply_filters): Delete, move the code into its only
caller, apply_filters().

(generate_button_event): Factor out code from two places in
gdk_event_translate().

(gdk_event_translate): Call generate_button_event() in place of
inline code.

18 years agoNew static function to generate and append the GDK_GRAB_BROKEN events.
Tor Lillqvist [Thu, 28 Jul 2005 23:21:57 +0000 (23:21 +0000)]
New static function to generate and append the GDK_GRAB_BROKEN events.

2005-07-29  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New
static function to generate and append the GDK_GRAB_BROKEN events.

(gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events
when overriding a grab inside the application, like in the X11
backend. Final bits of the fix for #107320, hopefully.

(print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and
GDK_GRAB_BROKEN events.

(gdk_event_translate): Call generate_grab_broken_event() in place
of inline code.

18 years agoRename from blit_inside_window(), as it now does blitting inside a bitmap,
Tor Lillqvist [Thu, 28 Jul 2005 22:24:19 +0000 (22:24 +0000)]
Rename from blit_inside_window(), as it now does blitting inside a bitmap,

2005-07-29  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename
from blit_inside_window(), as it now does blitting inside a
bitmap, too. No code change, still just call BitBlt().
(_gdk_win32_blit): Check for source equalling destination
first. (#169508, #131977)
Do away with the superfluous local draw_impl variable, the
parameter to this function is already a GdkDrawableImplWin32*, no
need to copy and cast it.

18 years agoAvoid spurious core pointer events when the tablet pen is lifted.
Robert Ögren [Thu, 28 Jul 2005 21:53:07 +0000 (21:53 +0000)]
Avoid spurious core pointer events when the tablet pen is lifted.

2005-07-28  Robert Ögren  <gtk@roboros.com>

Avoid spurious core pointer events when the tablet pen is lifted.
(#167000)

* gdk/win32/gdkinput-win32.c (set_ignore_core): New static function,
handles delayed unsetting of _gdk_input_ignore_core.
(_gdk_input_other_event): Call set_ignore_core instead of setting
_gdk_input_ignore_core directly.

18 years agoee
Ivan Stojmirov [Thu, 28 Jul 2005 21:29:05 +0000 (21:29 +0000)]
ee

18 years agoUpdated Greek translation
Nikos Charonitakis [Thu, 28 Jul 2005 16:54:40 +0000 (16:54 +0000)]
Updated Greek translation

18 years agoUpdated Finnish translation
Ilkka Tuohela [Thu, 28 Jul 2005 16:36:20 +0000 (16:36 +0000)]
Updated Finnish translation

18 years agoUpdated Hebrew translation.
Yair Hershkovitz [Thu, 28 Jul 2005 16:33:45 +0000 (16:33 +0000)]
Updated Hebrew translation.

2005-07-28  Yair Hershkovitz  <yairhr@gmail.com>

* he.po: Updated Hebrew translation.

18 years agoBulk changes to Finnish strings
Ilkka Tuohela [Thu, 28 Jul 2005 15:40:11 +0000 (15:40 +0000)]
Bulk changes to Finnish strings

18 years agore-sync with gtk-wimp cvs
Dom Lachowicz [Thu, 28 Jul 2005 12:24:25 +0000 (12:24 +0000)]
re-sync with gtk-wimp cvs

18 years agoUpdated Albanian translation.
Laurent Dhima [Thu, 28 Jul 2005 09:56:38 +0000 (09:56 +0000)]
Updated Albanian translation.

2005-07-28  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

18 years agoShut up CVS
Manish Singh [Wed, 27 Jul 2005 22:17:19 +0000 (22:17 +0000)]
Shut up CVS

18 years agoeee
Ivan Stojmirov [Wed, 27 Jul 2005 21:22:12 +0000 (21:22 +0000)]
eee

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Wed, 27 Jul 2005 10:51:40 +0000 (10:51 +0000)]
Translation updated by Ivar Smolin.

2005-07-27  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Wed, 27 Jul 2005 09:57:19 +0000 (09:57 +0000)]
Updated Translation

18 years agoHandle PS_ALTERNATE, too.
Tor Lillqvist [Wed, 27 Jul 2005 06:28:20 +0000 (06:28 +0000)]
Handle PS_ALTERNATE, too.

2005-07-27  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle
PS_ALTERNATE, too.

* gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for
multi-monitor cases. (#311677, Tim Evans)

18 years agoFixed mismatching format modifier. Build breaker.
Behdad Esfahbod [Wed, 27 Jul 2005 02:38:16 +0000 (02:38 +0000)]
Fixed mismatching format modifier.  Build breaker.

18 years agoFix to be monotonic in the original size (#308145, Morten Welinder)
Owen Taylor [Wed, 27 Jul 2005 00:00:05 +0000 (00:00 +0000)]
Fix to be monotonic in the original size (#308145, Morten Welinder)

2005-07-26  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be
        monotonic in the original size (#308145, Morten Welinder)

18 years agoUse >= not > in deciding whether to subtract out x/ythickness. (#308145,
Owen Taylor [Tue, 26 Jul 2005 23:58:01 +0000 (23:58 +0000)]
Use >= not > in deciding whether to subtract out x/ythickness. (#308145,

2005-07-26  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Use
        >= not > in deciding whether to subtract out x/ythickness.
        (#308145, Morten Welinder)

18 years agoRevert part of patch from #166379; don't have gtk_window_present() change
Elijah Newren [Tue, 26 Jul 2005 23:46:55 +0000 (23:46 +0000)]
Revert part of patch from #166379; don't have gtk_window_present() change

2005-07-26  Elijah Newren  <newren@gmail.com>

Revert part of patch from #166379; don't have gtk_window_present()
change a window's desktop, but rather leave it up to the WM.
(#311653)

* gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a
window's workspace

18 years agoDeclare GetAncestor() and define GA_PARENT if missing (MSVC6). (#311633)
Tor Lillqvist [Tue, 26 Jul 2005 20:42:18 +0000 (20:42 +0000)]
Declare GetAncestor() and define GA_PARENT if missing (MSVC6). (#311633)

2005-07-26  Tor Lillqvist  <tml@novell.com>

* gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
if missing (MSVC6). (#311633)

18 years agoUpdated German translation.
Hendrik Brandt [Tue, 26 Jul 2005 20:21:10 +0000 (20:21 +0000)]
Updated German translation.

2005-07-26  Hendrik Brandt  <heb@gnome-de.org>

* po*/de.po: Updated German translation.

18 years agoNew directory with the start of a framework for testing performance in
Federico Mena Quintero [Tue, 26 Jul 2005 18:46:01 +0000 (18:46 +0000)]
New directory with the start of a framework for testing performance in

2005-07-26  Federico Mena Quintero  <federico@ximian.com>

* perf/: New directory with the start of a framework for testing
performance in GTK+.

* Makefile.am (SRC_SUBDIRS): Added the perf directory.

* configure.in (AC_OUTPUT): Generate perf/Makefile.

18 years agoFix up includes on Win32. (#311630, Kazuki Iwamoto)
Matthias Clasen [Tue, 26 Jul 2005 18:43:27 +0000 (18:43 +0000)]
Fix up includes on Win32. (#311630, Kazuki Iwamoto)

2005-07-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c: Fix up includes on Win32.
(#311630, Kazuki Iwamoto)

18 years agoMake it compile
Matthias Clasen [Tue, 26 Jul 2005 17:16:51 +0000 (17:16 +0000)]
Make it compile

18 years agoAdd ISO_Level3_Shift to the list of keysyms to ignore for composition,
Matthias Clasen [Tue, 26 Jul 2005 15:56:50 +0000 (15:56 +0000)]
Add ISO_Level3_Shift to the list of keysyms to ignore for composition,

2005-07-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to
the list of keysyms to ignore for composition, since
AltGr keys produce it in some keyboard layouts.  (#307283)

18 years agoRemove G_GNUC_NULL_TERMINATED from gtk_widget_new as well, pointed out by
Matthias Clasen [Tue, 26 Jul 2005 15:02:23 +0000 (15:02 +0000)]
Remove G_GNUC_NULL_TERMINATED from gtk_widget_new as well, pointed out by

2005-07-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.h:
* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from
gtk_widget_new as well, pointed out by Kjartan Maraas.

18 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Tue, 26 Jul 2005 12:56:06 +0000 (12:56 +0000)]
Updated Polish translation by GNOME PL Team.

2005-07-26  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

18 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Tue, 26 Jul 2005 11:42:51 +0000 (11:42 +0000)]
Updated Polish translation by GNOME PL Team.

2005-07-26  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

18 years agoPad out the full width, in an attempt to work around bug #311225.
Matthias Clasen [Mon, 25 Jul 2005 20:25:43 +0000 (20:25 +0000)]
Pad out the full width, in an attempt to work around bug #311225.

2005-07-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkhsv.c (paint_triangle): Pad out the full width, in
an attempt to work around bug #311225.

18 years agoCall gtk_menu_attach_to_widget() in the example for the ::popup-menu
Federico Mena Quintero [Mon, 25 Jul 2005 17:37:45 +0000 (17:37 +0000)]
Call gtk_menu_attach_to_widget() in the example for the ::popup-menu

2005-07-22  Federico Mena Quintero  <federico@ximian.com>

* gtk/migrating-checklist.sgml: Call gtk_menu_attach_to_widget()
in the example for the ::popup-menu signal.

18 years agoCall msgfmt -c to catch format string errors
Matthias Clasen [Mon, 25 Jul 2005 14:28:44 +0000 (14:28 +0000)]
Call msgfmt -c to catch format string errors

18 years agoCall msgfmt with -c to catch format string errors
Matthias Clasen [Mon, 25 Jul 2005 14:26:57 +0000 (14:26 +0000)]
Call msgfmt with -c to catch format string errors

18 years agoAdd a missing Plural-Forms declaration
Matthias Clasen [Mon, 25 Jul 2005 14:25:54 +0000 (14:25 +0000)]
Add a missing Plural-Forms declaration

18 years agoFix a format string error.
Matthias Clasen [Mon, 25 Jul 2005 14:22:28 +0000 (14:22 +0000)]
Fix a format string error.

18 years agoTrivial doc fixes.
Matthias Clasen [Mon, 25 Jul 2005 13:55:31 +0000 (13:55 +0000)]
Trivial doc fixes.

2005-07-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodelsort.c: Trivial doc fixes.

* gtk/gtktreesortable.c: Talk about comparison functions, not
sort functions in some places.  (#311398, Fabrice Bauzac)

2005-07-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtktreemodelsort.sgml: Note that the sorting
function is not guaranteed to be stable.  (#311398,
Fabrice Bauzac)

18 years agogtk/gtkfilechooserdialog.[hc] Remove the G_GNUC_NULL_TERMINATED marker
Matthias Clasen [Mon, 25 Jul 2005 13:34:24 +0000 (13:34 +0000)]
gtk/gtkfilechooserdialog.[hc] Remove the G_GNUC_NULL_TERMINATED marker

2005-07-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkobject.[hc]:
* gtk/gtkfilechooserdialog.[hc]
* gtk/gtkdialog.[hc]: Remove the G_GNUC_NULL_TERMINATED marker
from a number of varargs functions where we allow to omit the
varargs completely.  (#311465, Callum McKenzie)

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Mon, 25 Jul 2005 08:51:01 +0000 (08:51 +0000)]
Updated Translation

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Mon, 25 Jul 2005 06:55:27 +0000 (06:55 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2005-07-25  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

18 years agoUpdated spanish translation.
Francisco Javier F. Serrador [Sun, 24 Jul 2005 16:47:23 +0000 (16:47 +0000)]
Updated spanish translation.

2005-07-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated spanish translation.

18 years agoUpdated Norwegian bokmål translation. Same
Kjartan Maraas [Sun, 24 Jul 2005 15:05:06 +0000 (15:05 +0000)]
Updated Norwegian bokmål translation. Same

2005-07-24  Kjartan Maraas  <kmaraas@gnome.org>

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

18 years agoUpdated Czech translation.
Miloslav Trmac [Sat, 23 Jul 2005 16:47:28 +0000 (16:47 +0000)]
Updated Czech translation.

2005-07-23  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

18 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 23 Jul 2005 14:32:53 +0000 (14:32 +0000)]
Updated Portuguese translation.

2005-07-23  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

18 years agoUpdated Simplified Chinese translation
Funda Wang [Sat, 23 Jul 2005 07:03:25 +0000 (07:03 +0000)]
Updated Simplified Chinese translation

18 years agozh_TW.po Updated Traditional Chinese translation.
Chao-Hsiung Liao [Sat, 23 Jul 2005 05:41:12 +0000 (05:41 +0000)]
zh_TW.po Updated Traditional Chinese translation.

2005-07-23  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

* zh_TW.po Updated Traditional Chinese translation.

18 years agoUpdated Portuguese translation.
Duarte Loreto [Fri, 22 Jul 2005 23:41:03 +0000 (23:41 +0000)]
Updated Portuguese translation.

2005-07-23  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Fri, 22 Jul 2005 20:40:44 +0000 (20:40 +0000)]
Translation updated by Tino Meinen.

2005-07-22  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years ago2.7.4
Matthias Clasen [Fri, 22 Jul 2005 20:28:31 +0000 (20:28 +0000)]
2.7.4

18 years agoUpdates
Matthias Clasen [Fri, 22 Jul 2005 16:23:34 +0000 (16:23 +0000)]
Updates

18 years agoPoint out escaping oversight. (#311260, Owen Taylor)
Matthias Clasen [Fri, 22 Jul 2005 16:10:32 +0000 (16:10 +0000)]
Point out escaping oversight. (#311260, Owen Taylor)

2005-07-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup):
Point out escaping oversight.  (#311260, Owen Taylor)

18 years agoUpdated Greek translation
Nikos Charonitakis [Fri, 22 Jul 2005 16:05:00 +0000 (16:05 +0000)]
Updated Greek translation

18 years agoAdd bug ref
Matthias Clasen [Fri, 22 Jul 2005 15:37:10 +0000 (15:37 +0000)]
Add bug ref

18 years agoMake anchored patterns work as they did before.
Matthias Clasen [Fri, 22 Jul 2005 15:34:32 +0000 (15:34 +0000)]
Make anchored patterns work as they did before.

2005-07-22  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-io.c (format_check): Make anchored patterns work
as they did before.

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Fri, 22 Jul 2005 15:33:50 +0000 (15:33 +0000)]
*** empty log message ***

18 years agodone
Ivan Stojmirov [Fri, 22 Jul 2005 11:11:48 +0000 (11:11 +0000)]
done

18 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 22 Jul 2005 10:36:53 +0000 (10:36 +0000)]
Updated Canadian English translation.

2005-07-22  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Fri, 22 Jul 2005 07:16:20 +0000 (07:16 +0000)]
Translation updated by Ivar Smolin.

2005-07-22  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoInterpret patterns where the first byte of the mask is '*' as unanchored.
Matthias Clasen [Fri, 22 Jul 2005 04:37:27 +0000 (04:37 +0000)]
Interpret patterns where the first byte of the mask is '*' as unanchored.

2005-07-22  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-io.c (format_check): Interpret patterns where
the first byte of the mask is '*' as unanchored.  (#311011)
(gdk_pixbuf_new_from_file): Use the first 256 bytes for
sniffing the file format.

18 years agoCleanup a possible resize idle. (#311141, Robert Ögren)
Matthias Clasen [Fri, 22 Jul 2005 03:38:14 +0000 (03:38 +0000)]
Cleanup a possible resize idle. (#311141, Robert Ögren)

2005-07-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
a possible resize idle.  (#311141, Robert Ögren)

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed):
(gtk_tree_model_sort_sort_level): Ref the level while using it,
otherwise it may get nuked by gtk_tree_model_sort_increment_stamp.
(gtk_tree_model_sort_row_deleted): Don't leak the root level
here.  (#300089, James Bramford, Markku Vire)

18 years agoClarify the usage of this function. (gtk_file_chooser_set_uri): Likewise.
Federico Mena Quintero [Fri, 22 Jul 2005 02:54:24 +0000 (02:54 +0000)]
Clarify the usage of this function. (gtk_file_chooser_set_uri): Likewise.

2005-07-21  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify
the usage of this function.
(gtk_file_chooser_set_uri): Likewise.
(gtk_file_chooser_set_current_name): Likewise.

* gtk/gtkfilechooserdefault.c (set_file_system_backend):
Instrument this function for profiling as well.
(gtk_file_chooser_default_init): Likewise; just to have a marker
of where instance initialization begins.

18 years agoExpand the Save example to point out the correct usage of
Federico Mena Quintero [Fri, 22 Jul 2005 02:51:37 +0000 (02:51 +0000)]
Expand the Save example to point out the correct usage of

2005-07-21  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooserdialog.sgml (dialog): Expand the Save
example to point out the correct usage of _set_current_folder()
and _set_current_name(), versus _set_filename() alone.

18 years agoFix a couple of leaks.
Owen Taylor [Thu, 21 Jul 2005 23:37:19 +0000 (23:37 +0000)]
Fix a couple of leaks.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks.

18 years agoAdded "hy" to ALL_LINGUAS. Added Armenian translation by Lilit Azizbekyan
Christian Rose [Thu, 21 Jul 2005 21:43:32 +0000 (21:43 +0000)]
Added "hy" to ALL_LINGUAS. Added Armenian translation by Lilit Azizbekyan

2005-07-21  Christian Rose  <menthos@menthos.com>

* configure.in: Added "hy" to ALL_LINGUAS.
* po/hy.po, po-properties/hy.po: Added
Armenian translation by
Lilit Azizbekyan <lilita@support17> and
Lilit Sargsyan <magicliliac@yahoo.co.uk>.

18 years agoUpdates
Matthias Clasen [Thu, 21 Jul 2005 19:50:54 +0000 (19:50 +0000)]
Updates

2005-07-21  Matthias Clasen  <mclasen@redhat.com>

* NEWS: Updates

18 years agoBe a bit more careful to not shrink the label to a negative width.
Matthias Clasen [Thu, 21 Jul 2005 19:10:48 +0000 (19:10 +0000)]
Be a bit more careful to not shrink the label to a negative width.

2005-07-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be
a bit more careful to not shrink the label to a negative
width.  (#311175, Thomas Vander Stichele)

18 years agomark gtk_socket_steal as deprecated.
Matthias Clasen [Thu, 21 Jul 2005 16:45:04 +0000 (16:45 +0000)]
mark gtk_socket_steal as deprecated.

2005-07-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols: mark gtk_socket_steal as deprecated.

* configure.in: Bump the cairo requirement.

18 years agoAdd header to my last bunch of entries.
Tor Lillqvist [Thu, 21 Jul 2005 14:04:06 +0000 (14:04 +0000)]
Add header to my last bunch of entries.

18 years agoChange machinery for following font rendering xsettings to set cairo font
Owen Taylor [Thu, 21 Jul 2005 13:59:22 +0000 (13:59 +0000)]
Change machinery for following font rendering xsettings to set cairo font

2005-07-19  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for
        following font rendering xsettings to set cairo font
        options on PangoContext

        * gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h
        gdkprivate-x11.h: Get default values for rendering options
        (such as antialiasing, dpi) from the Xft resources for the
        display, borrowing a bit of code from Xft.

        * gtk/gtksettings.c (gtk_settings_class_init): Fix docs for
        values of gtk-xft-hintstyle.

18 years agoMake it work on Win32, too.
Tor Lillqvist [Thu, 21 Jul 2005 13:48:07 +0000 (13:48 +0000)]
Make it work on Win32, too.

2005-07-21  Tor Lillqvist  <tml@novell.com>

* tests/testsocket_common.c: Make it work on Win32, too.

18 years agoNo need for ifdef, can now use GTK_IS_PLUG() with all backends.
Tor Lillqvist [Thu, 21 Jul 2005 13:45:34 +0000 (13:45 +0000)]
No need for ifdef, can now use GTK_IS_PLUG() with all backends.

2005-07-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
use GTK_IS_PLUG() with all backends.

18 years agoMake GtkPlug/Socket API available on all platforms.
Tor Lillqvist [Thu, 21 Jul 2005 13:38:09 +0000 (13:38 +0000)]
Make GtkPlug/Socket API available on all platforms.

2005-07-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtk.symbols: Make GtkPlug/Socket API available on all platforms.

* gtk/Makefile.am: Changes to build GtkPlug/Socket on all platforms.

18 years agogtk/gtksocket.c Splice out backend-dependend parts to separate files, see
Tor Lillqvist [Thu, 21 Jul 2005 13:31:03 +0000 (13:31 +0000)]
gtk/gtksocket.c Splice out backend-dependend parts to separate files, see

2005-07-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtksocket.c
* gtk/gtkplug.c: Splice out backend-dependend parts to separate
files, see below.

* gtk/gtksocketprivate.h
* gtk/gtkplugprivate.h: New files. Declare the backend-specific
functions, and the private backend-independent functions they call
back to.

18 years agogtk/gtksocket-stub.c gtk/gtkplug-stub.c gtk/gtksocket-x11.c
Tor Lillqvist [Thu, 21 Jul 2005 13:26:27 +0000 (13:26 +0000)]
gtk/gtksocket-stub.c gtk/gtkplug-stub.c gtk/gtksocket-x11.c

2005-07-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtksocket-stub.c
* gtk/gtkplug-stub.c
* gtk/gtksocket-x11.c
* gtk/gtkplug-x11.c
* gtk/gtksocket-win32.c
* gtk/gtkplug-win32.c
* gtk/gtkwin32embed.h
* gtk/gtkwin32embed.c: New files, containing the backend-specific
parts of GtkPlug/Socket.

18 years agogtk/gtkxembed.h New function, used in error messages and debugging output.
Tor Lillqvist [Thu, 21 Jul 2005 13:20:06 +0000 (13:20 +0000)]
gtk/gtkxembed.h New function, used in error messages and debugging output.

2005-07-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtkxembed.h
* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
in error messages and debugging output.

18 years agoMerged from gnome-2.10
Nguyen Thai Ngoc Duy [Thu, 21 Jul 2005 11:47:00 +0000 (11:47 +0000)]
Merged from gnome-2.10

18 years agoUse wide-char API when available. (#311079, Peter Zelezny)
Tor Lillqvist [Thu, 21 Jul 2005 07:29:36 +0000 (07:29 +0000)]
Use wide-char API when available. (#311079, Peter Zelezny)

2005-07-21  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
wide-char API when available. (#311079, Peter Zelezny)

18 years agoRevert an accidental commit
Matthias Clasen [Thu, 21 Jul 2005 05:24:45 +0000 (05:24 +0000)]
Revert an accidental commit

18 years agoAdd hints on how to handle "no window" widgets. (#136347)
Matthias Clasen [Thu, 21 Jul 2005 04:33:37 +0000 (04:33 +0000)]
Add hints on how to handle "no window" widgets. (#136347)

2005-07-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base):
Add hints on how to handle "no window" widgets.  (#136347)

18 years agoFollow change in cairo API to add Screen* to
Keith Packard [Thu, 21 Jul 2005 03:57:00 +0000 (03:57 +0000)]
Follow change in cairo API to add Screen* to

2005-07-20  Keith Packard  <keithp@keithp.com>

* gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):

Follow change in cairo API to add Screen* to
cairo_xlib_create_surface_for_bitmap

18 years agoExplicitly use the svg loader, if available. This should help with the
Matthias Clasen [Wed, 20 Jul 2005 20:50:46 +0000 (20:50 +0000)]
Explicitly use the svg loader, if available. This should help with the

2005-07-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the
svg loader, if available. This should help with the fact that
svg is not reliably sniffable with the current gdk-pixbuf sniffing
code.

18 years agoMake sure expanded expanders are not fuzzy. (#310172, reported by
Matthias Clasen [Wed, 20 Jul 2005 20:30:37 +0000 (20:30 +0000)]
Make sure expanded expanders are not fuzzy. (#310172, reported by

2005-07-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded
expanders are not fuzzy.  (#310172, reported by Alexander Larsson,
patch by Owen Taylor)

18 years agoUpdated Slovak translation.
Marcel Telka [Wed, 20 Jul 2005 20:15:38 +0000 (20:15 +0000)]
Updated Slovak translation.

2005-07-20  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

18 years agoDon't fail if we can't get a keyboard grab. (#168351)
Matthias Clasen [Wed, 20 Jul 2005 19:54:04 +0000 (19:54 +0000)]
Don't fail if we can't get a keyboard grab. (#168351)

2005-07-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
can't get a keyboard grab.  (#168351)

18 years agoushe malce
Ivan Stojmirov [Wed, 20 Jul 2005 19:15:43 +0000 (19:15 +0000)]
ushe malce

18 years agoAdd GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.
Matthias Clasen [Wed, 20 Jul 2005 17:55:49 +0000 (17:55 +0000)]
Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.

2005-07-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property):
Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.

18 years agoAdded a few utility functions for profiling; instrument the code, make it
Federico Mena Quintero [Wed, 20 Jul 2005 02:11:37 +0000 (02:11 +0000)]
Added a few utility functions for profiling; instrument the code, make it

2005-07-19  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c: Added a few utility functions for
profiling; instrument the code, make it conditional.

18 years agodon't iterate past the end of the string, so pango_layout_get_cursor_pos()
Kristian Rietveld [Tue, 19 Jul 2005 21:09:03 +0000 (21:09 +0000)]
don't iterate past the end of the string, so pango_layout_get_cursor_pos()

2005-07-19  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
past the end of the string, so pango_layout_get_cursor_pos() won't
complain. (#309211, Tommi Komulainen).

18 years agoDon't bother mentioning the -fnative-struct (used by GCC 2) switch in the
Tor Lillqvist [Tue, 19 Jul 2005 07:09:37 +0000 (07:09 +0000)]
Don't bother mentioning the -fnative-struct (used by GCC 2) switch in the

2005-07-19  Tor Lillqvist  <tml@novell.com>

* gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox):
Don't bother mentioning the -fnative-struct (used by GCC 2) switch
in the error message any longer.

18 years agoSmall formatting fixes in doc comments.
Matthias Clasen [Mon, 18 Jul 2005 19:48:52 +0000 (19:48 +0000)]
Small formatting fixes in doc comments.

2005-07-18  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments.

18 years agoRemove useless calls to gtk_tree_row_reference_inserted/deleted, since we
Matthias Clasen [Mon, 18 Jul 2005 19:14:46 +0000 (19:14 +0000)]
Remove useless calls to gtk_tree_row_reference_inserted/deleted, since we

2005-07-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted)
(gtk_combo_box_model_row_inserted): Remove useless calls
to gtk_tree_row_reference_inserted/deleted, since we
don't use manual row references here.

18 years agoCall gettext_initialization before checking gtk_initialized, otherwise
Matthias Clasen [Mon, 18 Jul 2005 17:13:24 +0000 (17:13 +0000)]
Call gettext_initialization before checking gtk_initialized, otherwise

2005-07-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
gettext_initialization before checking gtk_initialized, otherwise
there are scenarios where it is not called at all. For an
example, see tests/testfilechooserbutton.c.  (#310323,
Arkady L. Shane)

18 years ago[Win32] Bypass libtool, use -Wl,-luuid. This avoids a libtool warning as
Tor Lillqvist [Mon, 18 Jul 2005 15:20:28 +0000 (15:20 +0000)]
[Win32] Bypass libtool, use -Wl,-luuid. This avoids a libtool warning as

2005-07-18  Tor Lillqvist  <tml@novell.com>

* configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use
-Wl,-luuid. This avoids a libtool warning as libuuid is static.

* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
any possible leftover clipping region in the DC if we don't want
any clipping. Thanks to Robert Ögren. (#309823)

18 years agoPropagate the focus-on-click value to the button. (#310543, Christian
Matthias Clasen [Mon, 18 Jul 2005 14:47:55 +0000 (14:47 +0000)]
Propagate the focus-on-click value to the button. (#310543, Christian

2005-07-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate
the focus-on-click value to the button.  (#310543, Christian Persch)

18 years agoAdd a note about the need to handle expose events. We really need a
Matthias Clasen [Mon, 18 Jul 2005 14:25:56 +0000 (14:25 +0000)]
Add a note about the need to handle expose events. We really need a

2005-07-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
about the need to handle expose events. We really need a chapter
on the GTK+ drawing model that we can refer to here... (#310765,
Steve Chaplin)

18 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 18 Jul 2005 08:57:00 +0000 (08:57 +0000)]
Updated Canadian English translation.

2005-07-18  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 18 Jul 2005 07:54:03 +0000 (07:54 +0000)]
Translation updated by Tino Meinen.

2005-07-18  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Simplified Chinese translation
Funda Wang [Mon, 18 Jul 2005 05:17:04 +0000 (05:17 +0000)]
Updated Simplified Chinese translation

18 years agoUpdated French translation.
Christophe Merlet [Sun, 17 Jul 2005 14:25:27 +0000 (14:25 +0000)]
Updated French translation.