1 2008-08-15 Claudio Saavedra <csaavedra@igalia.com>
3 Bug 547944 – Self-reference in gtk_page_setup_load_file's docs
5 * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file()
8 2008-08-15 Matthias Clasen <mclasen@redhat.com>
10 Bug 547655 – gio_can_sniff configure test can fail if not installed
11 with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set
13 * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS.
15 2008-08-15 Christian Dywan <christian@imendio.com>
17 Bug 547846 – gtktestutils functions lack Since: tags
19 * gtk/gtktestutils.c: Add missing Since tags
21 2008-08-15 Christian Dywan <christian@imendio.com>
23 Bug 547775 – Documentation of gtk-button-images is not correct
25 * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation
26 of "gtk-button-images" setting
28 2008-08-13 Matthias Clasen <mclasen@redhat.com>
30 Bug 547673 – Accessors for GtkFileSelection.font_entry and
34 * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
35 actually part of the font selection dialog in standard builds.
36 Pointed out by Torsten Schoenfeld
38 2008-08-13 Matthias Clasen <mclasen@redhat.com>
40 Bug 547516 – Add comments for translators in gtkprintbackendcups.c
42 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
43 hints. Patch by Leonardo Ferreira Fontenelle
45 2008-08-13 Michael Natterer <mitch@imendio.com>
47 * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
51 * gtk/gtkentrycompletion.c
53 * gtk/gtkoldeditable.c
56 * gtk/gtkwidget.c: changed accordingly.
58 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
60 Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama
61 doesn't compile on Solaris
63 * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile
64 when HAVE_SOLARIS_XINERAMA is defined.
66 2008-08-13 Michael Natterer <mitch@imendio.com>
68 * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
69 g_dgettext() to fix warning about discarded qualifier.
71 2008-08-12 Paolo Borelli <pborelli@katamail.com>
73 * gtk/gtkclipboard.c (gtk_clipboard_store):
74 use canonical signal name.
76 2008-08-12 Paolo Borelli <pborelli@katamail.com>
78 Bug 526234 - make shift+ctrl+del delete till the end of line
80 * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
81 keyboard shortcuts to delete to the end/start of the current line.
83 2008-08-12 Michael Natterer <mitch@imendio.com>
85 * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
86 label to set the color on.
88 (gtk_link_button_add): call set_link_color() so the label gets
89 the right color no matter how the link button is created.
91 2008-08-12 Michael Natterer <mitch@imendio.com>
93 * gtk/gtkassistant.c: remove unused variable and fix formatting of
94 some function headers.
96 2008-08-12 Michael Natterer <mitch@imendio.com>
98 * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
101 * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
102 visible for GDK_PIXBUF_COMPILATION.
104 * contrib/gdk-pixbuf-xlib/Makefile.am
106 * demos/gtk-demo/Makefile.am
107 * gdk-pixbuf/pixops/Makefile.am
109 * gdk/x11/Makefile.am
111 * gtk/tests/Makefile.am
112 * gtk/theme-bits/Makefile.am
113 * modules/engines/ms-windows/Makefile.am
114 * modules/engines/pixbuf/Makefile.am
115 * modules/input/Makefile.am
117 * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
119 2008-08-12 Michael Natterer <mitch@imendio.com>
121 * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
122 g_return_val_if_fail() now that the function has a return value.
124 2008-08-12 Sven Neumann <sven@gimp.org>
126 * gtk/gtkaccellabel.c
129 * gtk/gtkcolorbutton.c
132 * gtk/gtkdnd-quartz.c
135 * gtk/gtkfilechooserdefault.c
144 * gtk/gtkrecentchooserdialog.c
145 * gtk/gtkrecentchooserutils.c
149 * gtk/gtktextbuffer.c
154 * gtk/gtkwindow-decorate.c
155 * gtk/gtkwindow.c: use canonical signal names in some more places
156 that I missed earlier. Also changed this in the documentation and
159 2008-08-12 Sven Neumann <sven@gimp.org>
162 * gtk/gtkradiotoolbutton.c: property nick and blurb should be
163 marked with P_(), not _().
165 2008-08-12 Michael Natterer <mitch@imendio.com>
167 * examples/gtkdial/gtkdial.c
168 * gdk/gdkapplaunchcontext.c
170 * gtk/gtkcellrendererpixbuf.c
171 * gtk/gtkcellrenderertext.c
178 * gtk/gtktexttagtable.c: remove dereferencing from some function
179 pointers i missed before.
181 2008-08-12 Michael Natterer <mitch@imendio.com>
183 * gtk/gtkaccellabel.c
188 * gtk/gtkfilechooserbutton.c
189 * gtk/gtkfilechooserdefault.c
197 * gtk/gtkmessagedialog.c
202 * gtk/gtkprintunixdialog.c
204 * gtk/gtkrecentchooserdefault.c
213 * gtk/gtkwin32embedwidget.c: chain up unconditionally in
214 realize(), unrealize(), map(), unmap(), style_set(),
215 key_press_event() and size_request()
217 2008-08-12 Michael Natterer <mitch@imendio.com>
219 * gtk/gtkwidget.c: change names of default implementations of
220 our own signals to consistently contain "real":
222 gtk_widget_style_set -> gtk_widget_real_style_set
223 gtk_widget_direction_changed -> gtk_widget_real_direction_changed
225 2008-08-12 Michael Natterer <mitch@imendio.com>
227 * gtk/*.c: consistently chain up using
228 GTK_FOO_CLASS(parent_class)->bar(instance) instead of
229 (*GTK_FOO_CLASS(parent_class))->bar(instance).
231 2008-08-12 Matthias Clasen <mclasen@redhat.com>
233 Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
234 of an ouput parameter
236 * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
237 return the GIcon directly.
238 Complaint by Murray Cumming
240 2008-08-11 Michael Natterer <mitch@imendio.com>
242 Bug 546754 – 2.13.6 update create rendering issue in the evolution
245 * gtk/gtkadjustment.c: instead of CLAMP(), use
247 value = MIN (value, upper - page_size);
248 value = MAX (value, lower);
250 so we don't end up below lower if upper - page_size is smaller
253 2008-08-11 Matthias Clasen <mclasen@redhat.com>
255 Bug 546616 – CUPS print backend uses 1.2 API without guards
257 * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
258 of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
259 Patch by Sven Herzberg and Richard Hult
261 2008-08-11 Michael Natterer <mitch@imendio.com>
263 Bug 547270 – Make GtkHSV public
266 * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
267 always public anyway).
269 * gtk/gtkhsv.h: add single-include guards, add class struct padding,
270 seal the instance member, cleanup.
272 * gtk/gtkhsv.c: center the widget in its allocation,
273 add "Since: 2.14", cleanup.
275 2008-08-11 Torsten Schoenfeld <kaffeetisch@gmx.de>
277 * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
278 to correctly state 2.14, not 2.16.
280 2008-08-11 Sven Neumann <sven@gimp.org>
282 * demos/gtk-demo/changedisplay.c
283 * demos/gtk-demo/clipboard.c
284 * demos/gtk-demo/drawingarea.c
285 * demos/gtk-demo/iconview.c
286 * demos/gtk-demo/images.c
287 * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
289 2008-08-11 Matthias Clasen <mclasen@redhat.com>
291 Bug 547211 – Duplicated mnemonic
293 * gtk/gtkmountoperation.c: Change mnemonics around in
294 the password dialog to avoid a conflict.
295 Reported by Gil Forcada
297 2008-08-11 Sven Neumann <sven@gimp.org>
299 * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
301 2008-08-11 Sven Neumann <sven@gimp.org>
303 * examples/*: updated the (quite outdated) examples to use
304 canonical signal names as well. Removed some unneeded casts and
305 trailing whitespace while I was on it...
307 2008-08-11 Sven Neumann <sven@gimp.org>
309 * modules/input/gtkimcontextime.c
310 * modules/input/gtkimcontextmultipress.c
311 * modules/input/gtkimcontextxim.c: use canonical signal names.
313 2008-08-11 Sven Neumann <sven@gimp.org>
315 * gtk/gtkdnd-quartz.c
319 * gtk/gtkimcontextsimple.c
320 * gtk/gtkimmulticontext.c
321 * gtk/gtkoptionmenu.c
323 * gtk/gtkrecentchooserdefault.c
324 * gtk/gtkscrolledwindow.c
325 * gtk/gtksocket-x11.c: use canonical signal names in some more
326 places that I missed earlier.
328 2008-08-11 Sven Neumann <sven@gimp.org>
330 * gtk/gtkaccelgroup.c
331 * gtk/gtkactiongroup.c
333 * gtk/gtkcelleditable.c
334 * gtk/gtkclipboard-quartz.c
336 * gtk/gtkcolorbutton.c
339 * gtk/gtkcurve.c: use canonical signal names.
341 2008-08-11 Sven Neumann <sven@gimp.org>
344 * gtk/gtkentrycompletion.c
348 * gtk/gtkinputdialog.c
349 * gtk/gtktreeview.c: use canonical signal names.
351 2008-08-11 Sven Neumann <sven@gimp.org>
356 * gtk/gtklistitem.c: use canonical signal names.
358 2008-08-11 Sven Neumann <sven@gimp.org>
364 * gtk/gtkoldeditable.c
365 * gtk/gtkpaned.c: use canonical signal names.
367 2008-08-11 Michael Natterer <mitch@imendio.com>
369 * demos/gtk-demo/textscroll.c (create_text_view): don't use the
370 deprecated gtk_box_pack_start_defaults().
372 2008-08-11 Sven Neumann <sven@gimp.org>
374 * gtk/gtkaboutdialog.c
375 * gtk/gtkcellrendereraccel.c
376 * gtk/gtkcellrenderercombo.c
377 * gtk/gtkcellrendererspin.c
378 * gtk/gtkcellrenderertext.c
383 * gtk/gtkdnd-quartz.c
386 * gtk/gtkentrycompletion.c
387 * gtk/gtkfilechooserbutton.c
388 * gtk/gtkfilechooserdefault.c
389 * gtk/gtkfilechooserentry.c
391 * gtk/gtkinputdialog.c
392 * gtk/gtkmenutoolbutton.c
394 * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
396 2008-08-11 Sven Neumann <sven@gimp.org>
400 * gdk/gdkdisplaymanager.c: use canonical signal names.
402 2008-08-10 Richard Hult <richard@imendio.com>
404 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
405 (gtk_clipboard_request_uris): Implement missing functions.
407 2008-08-09 Sven Herzberg <sven@imendio.com>
409 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
411 * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
413 2008-08-08 Cody Russell <bratsche@gnome.org>
415 Bug 547027 – menus are broken
418 * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
419 mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
420 in menus caused by bug #56070.
422 2008-08-09 Sven Herzberg <sven@imendio.com>
424 Get the gdk+cairo test to pass distcheck, too
426 * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
427 pick up the one created at build time
428 * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
431 2008-08-08 Sven Neumann <sven@gimp.org>
434 * gtk/gtkscrolledwindow.c
436 * gtk/gtkspinbutton.c
438 * gtk/gtkstatusicon.c: use canonical signal names.
440 2008-08-08 Sven Neumann <sven@gimp.org>
443 * gtk/gtktextbuffer.c
444 * gtk/gtktextlayout.c
445 * gtk/gtktexttagtable.c
451 * gtk/gtktreemodelfilter.c
452 * gtk/gtktreemodelsort.c
453 * gtk/gtktreeviewcolumn.c: use canonical signal names.
455 2008-08-08 Sven Neumann <sven@gimp.org>
459 * gtk/gtktreesortable.c
462 * gtk/gtkviewport.c: use canonical signal names.
464 2008-08-08 Sven Neumann <sven@gimp.org>
467 * gtk/gtkwindow.c: use canonical signal names.
469 2008-08-08 Sven Neumann <sven@gimp.org>
471 * gtk/gtkadjustment.c
478 * gtk/gtkspinbutton.c
482 * gtk/gtkviewport.c: use the canonical signal name "value-changed"
483 instead of "value_changed".
485 2008-08-08 Tor Lillqvist <tml@novell.com>
488 * gtk/makegtkalias.pl
490 * gtk/gtkfilechooser.c
492 * gtk/gtkiconfactory.c
497 * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
500 2008-08-07 Matthias Clasen <mclasen@redhat.com>
502 * configure.in: Its g_content_type_from_mime_type, not
503 g_content_type_for_mime_type. Noticed by Roger Brown
505 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
507 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
508 combination of g_warning+exit to avoid misleading the user.
510 2008-08-07 Michael Natterer <mitch@imendio.com>
512 * gtk/gtkactiongroup.c
513 * gtk/gtkcellrendererspin.c
514 * gtk/gtkfilechooserbutton.c
515 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
517 2008-08-07 Michael Natterer <mitch@imendio.com>
521 * gtk/gtkfilechooserbutton.c
523 * gtk/gtkmenutoolbutton.c
524 * gtk/gtkoptionmenu.c
525 * gtk/gtkradiobutton.c
526 * gtk/gtkradiomenuitem.c
529 * gtk/gtktreeview.c: chain up unconditionally in destroy().
531 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
533 2008-08-07 Michael Natterer <mitch@imendio.com>
535 Bug 546756 – gnome-panel crashed with SIGSEGV in
536 g_type_check_instance_cast()
538 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
539 and remove the image now that it's an internal child and isn't
540 destroyed by gtk_container_destroy() any longer. Thanks to tml for
541 helping bisecting this down.
543 2008-08-07 Sven Neumann <sven@gimp.org>
545 Bug 546771 - Add writable property "visited" to GtkLinkButton
548 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
549 read-write property with getters and setters. Also move the nick
550 and blurb of the "uri" property to the proper translation domain.
552 2008-08-07 Michael Natterer <mitch@imendio.com>
554 * gtk/gtkicontheme.c (apply_emblems): move variables to local
555 scopes, fix indentation and silence bogus warning about using
556 uninitialized variables.
558 2008-08-07 Richard Hult <richard@imendio.com>
560 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
562 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
563 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
564 deadlock and missing events.
566 2008-08-07 Richard Hult <richard@imendio.com>
568 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
569 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
570 Implement those, fixes loading python bindings.
572 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
574 Bug 545031 – list of recently used files is created world-readable
576 * gtk/gtkrecentmanager.c:
577 (gtk_recent_manager_real_changed): Set the recently-used.xbel
578 file to 0600. (Guido Berhoerster)
580 2008-08-06 Michael Natterer <mitch@imendio.com>
582 * modules/printbackends/cups/gtkcupsutils.c
583 (gtk_cups_connection_test_free): remove return value, this
584 function returns void.
586 2008-08-06 Michael Natterer <mitch@imendio.com>
591 * gtk/gtkscrolledwindow.c
592 * gtk/gtktreeview.c: remove CLAMPing from values passed to
593 gtk_adjustment_set_value() since it does it right now.
595 2008-08-05 Matthias Clasen <mclasen@redhat.com>
597 * configure.in: Bump version
599 * === Released 2.13.6 ===
601 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
602 since it breaks make distcheck.
604 2008-08-05 Michael Natterer <mitch@imendio.com>
606 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
607 early if priv->button is NULL to avoid zillions of warnings when
608 destroying combo boxes that were working fine before the
609 button sensitivity patch.
611 2008-08-05 Michael Natterer <mitch@imendio.com>
613 Bug 544858 – Seal GtkAdjustment
616 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
619 Add accessors for all properties and additionally a new function
620 gtk_adjustment_configure() which sets all properties at
621 once. Patch by Christian Dywan and myself.
623 2008-08-05 Michael Natterer <mitch@imendio.com>
625 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
626 to [lower...upper-page_size] instead of only [lower...upper].
628 * README: add note about this change.
630 While this fix is correct and should have been there forever, it
631 has the potential to break some corner cases, however these cases
632 would set page_size to a value != 0 which suggests they want it
635 2008-08-05 Michael Natterer <mitch@imendio.com>
637 * tests/testiconview.c: don't use the deprecated
638 gtk_box_pack_start_defaults().
640 2008-08-04 Matthias Clasen <mclasen@redhat.com>
642 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
644 * gtk/gtkcelllayout.c:
646 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
647 implementations. Patch by Antti Kaijanmäki
649 2008-08-05 Tor Lillqvist <tml@novell.com>
651 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
652 avoid warning on Win64.
654 2008-08-05 Tor Lillqvist <tml@novell.com>
656 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
657 gintptr instead of long when calculating hash, so we get all of
658 the pointer bits on Win64 where long is 32 bits.
660 2008-08-05 Tor Lillqvist <tml@novell.com>
662 * gtk/gtkprintoperation-win32.c: Don't need to declare
663 IPrintDialogCallback with mingw64 either. It seems to be provided
664 with the newer versions of the headers included with mingw64.
666 2008-08-05 Tor Lillqvist <tml@novell.com>
668 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
670 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
671 as the GdkNativeWindow parameter to
672 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
674 * gtk/gtkwin32embed.h
675 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
676 parameters to actually be WPARAM and LPARAM.
678 * gtk/gtkplug-win32.c: Adapt accordingly.
680 2008-08-04 Matthias Clasen <mclasen@redhat.com>
682 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
683 a word, use 'audible' instead.
685 2008-08-05 Tor Lillqvist <tml@novell.com>
687 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
688 with parens so cast covers all of it.
690 2008-08-04 Matthias Clasen <mclasen@redhat.com>
692 Bug 382291 – Automatically dim the combobox when the model is empty
695 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
696 property with getter and setter to control the sensitity of
697 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
698 Christian Dywan and others.
700 * README.in: Add a note about automatic combobox sensitivity.
702 2008-08-04 Matthias Clasen <mclasen@redhat.com>
704 * gtk/tests/Makefile.am: Skip crossingevents test when
705 running make check, since it doesn't work on a naked
708 2008-08-05 Tor Lillqvist <tml@novell.com>
710 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
714 * gdk/win32/gdkdnd-win32.c
715 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
716 from guint32 to GdkNativeWindow for
717 gdk_drag_get_protocol_for_display() and
718 gdk_drag_get_protocol(). This is not an API break on existing
719 platforms, as GdkNativeWindow has been guint32 for them
724 * gdk/win32/gdkselection-win32.c
725 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
726 parameter of gdk_selection_send_notify_for_display() and
727 gdk_selection_send_notify().
729 * gdk/win32/gdkcursor-win32.c
730 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
731 versa to avoid gcc 4.4 signedness warnings.
733 * gdk/win32/gdkevents-win32.c
734 * gdk/win32/gdkproperty-win32.c
735 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
736 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
737 values in debugging output using the %p format.
739 * gdk/win32/gdkkeys-win32.c
740 * gdk/win32/gdkfont-win32.c
741 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
743 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
746 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
750 * gtk/gtkwindow.c: Change the type of the xid parameter of the
751 internal gtk_window_remove_embedded_xid() and
752 gtk_window_add_embedded_xid() functions from guint to
755 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
756 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
757 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
760 2008-08-05 Tor Lillqvist <tml@novell.com>
762 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
763 before doing bit tests on them.
765 2008-08-05 Tor Lillqvist <tml@novell.com>
767 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
768 Windows, too. It just makes more sense, as a HWND *is* a kind of
771 * gdk/gdkconfig.h.win32: Ditto here.
773 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
775 Bug 534979 – GtkImageMenuItem is a bin but has two children.
777 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
778 include the image widget when iterating over non-internal
779 children. Patch by rainwoodman.
781 2008-08-04 Matthias Clasen <mclasen@redhat.com>
785 2008-08-04 Matthias Clasen <mclasen@redhat.com>
787 * configure.in: Bump glib dependency to 2.17.6
789 2008-08-04 Michael Natterer <mitch@imendio.com>
794 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
796 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
798 2008-08-04 Michael Natterer <mitch@imendio.com>
800 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
801 "gdkrgb" is in the debug flags.
803 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
804 here, this function is deprecated and the debug flag didn't work
805 when using GDK properly.
807 2008-08-04 Matthias Clasen <mclasen@redhat.com>
809 * gtk/gtkicontheme.c: Update to handle GEmblem.
811 2008-08-04 Michael Natterer <mitch@imendio.com>
813 * tests/prop-editor.c: undeprecate (apart from still using
816 2008-08-04 Michael Natterer <mitch@imendio.com>
818 * gtk/gtkseparatortoolitem.c
819 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
821 * gtk/gtkcalendar.c (calendar_set_display_option): use
822 gtk_calendar_set_display_options() instead of the deprecated
823 gtk_calendar_display_options().
825 2008-08-04 Carlos Garnacho <carlos@imendio.com>
827 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
829 2008-08-04 Carlos Garnacho <carlos@imendio.com>
831 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
832 to be the GtkNotebook background color. This is a workaround to
833 prevent black pixels in rounded tabs when reordering. Improves
836 2008-08-04 Carlos Garnacho <carlos@imendio.com>
839 * gtk/gtkfilechooserbutton.[ch]:
840 * gtk/gtkfilechooserdefault.[ch]:
841 * gtk/gtkfilechooserdialog.[ch]:
842 * gtk/gtkfilechooserwidget.[ch]: Deprecate
843 gtk_file_chooser_*_new_with_backend(), since GIO is already used
844 directly. Fixes #545976.
846 2008-08-04 Carlos Garnacho <carlos@imendio.com>
849 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
851 * gtk/gtkfilechooserbutton.c:
852 * gtk/gtkfilechooserdefault.c:
853 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
855 2008-08-04 Michael Natterer <mitch@imendio.com>
857 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
859 Fix pltcheck.sh by restricting the visibility of deprecated
860 symbols to the places where they are actually used:
866 * gtk/gtkprogressbar.c
868 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
869 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
876 * gtk/gtkprogress.h: make the headers visible if the respective
877 __GTK_FOO_C__ are defined.
879 2008-08-04 Michael Natterer <mitch@imendio.com>
883 * gtk/gtkoldeditable.c
887 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
889 2008-08-04 Michael Natterer <mitch@imendio.com>
893 * gtk/gtkitemfactory.[ch]
895 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
897 2008-08-04 Sven Neumann <sven@gimp.org>
899 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
900 color when the "visited" state is changed.
902 2008-08-04 Michael Natterer <mitch@imendio.com>
904 * gtk/gtkwindow.c: move the code of the deprecated
905 gtk_window_set_policy() to a new private function
906 gtk_window_set_policy_internal() and call it from
907 gtk_window_set_policy().
909 (gtk_window_set_resizable): use the new internal function in order
910 to avoid our own deprecated public API.
912 2008-08-04 Michael Natterer <mitch@imendio.com>
914 * gtk/gtkbindings.c: move the code of the deprecated
915 gtk_binding_entry_clear() to a new private function
916 gtk_binding_entry_clear_internal() and call it from
917 gtk_binding_entry_clear().
919 (_gtk_binding_entry_add_signall)
920 (gtk_binding_parse_bind): use the new internal function in order
921 to avoid our own deprecated public API.
923 2008-08-04 Michael Natterer <mitch@imendio.com>
925 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
926 avoid our own deprecated public API and use
927 gtk_font_selection_get_font_internal() instead of
928 gtk_font_selection_get_font().
930 (gtk_font_selection_get_font)
931 (gtk_font_selection_dialog_get_font): Add missing
932 "Deprecated: 2.0" to the api doc comments.
934 2008-08-04 Michael Natterer <mitch@imendio.com>
936 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
938 2008-08-04 Tor Lillqvist <tml@novell.com>
940 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
941 Windows. AC_SUBST it.
944 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
946 2008-08-04 Tor Lillqvist <tml@novell.com>
948 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
950 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
952 * gdk/gdkconfig.h.win32: Ditto here.
954 2008-08-04 Tor Lillqvist <tml@novell.com>
956 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
957 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
959 2008-08-04 Tor Lillqvist <tml@novell.com>
961 * configure.in: Don't bother with the test "if gio can sniff png"
962 if $gio_can_sniff has been already set. Preset it to "no" for
963 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
964 or from Unix to Windows in general. No idea how this should be
965 handled for cross-compilation in general.
967 2008-08-04 Tor Lillqvist <tml@novell.com>
969 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
970 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
971 present in NT-based Windows since Windows 2000.
972 (enum_monitor): For some reason the MONITORINFOEX struct in
973 mingw-win64 is different than the proper one as in MSDN and 32-bit
974 mingw, so just copy the proper definition here.
976 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
978 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
979 gtk_tree_view_enable_model_drag_source unsets reorderable property
981 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
984 2008-08-03 Matthias Clasen <mclasen@redhat.com>
986 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
988 2008-08-03 Matthias Clasen <mclasen@redhat.com>
990 Bug 546128 – Weirz string
992 * gtk/gtksettings.c: Add a translator hint.
993 Requested by Ignacio Casal Quinteiro
995 2008-08-02 Tor Lillqvist <tml@novell.com>
997 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
999 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
1000 potential leak. Thanks to Morten Welinder.
1002 2008-08-02 Tor Lillqvist <tml@novell.com>
1004 * gtk/gtkprint-win32.c
1005 * gtk/gtkprint-win32.h
1006 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
1009 2008-08-02 Tor Lillqvist <tml@novell.com>
1011 Bug 339699 - implement gtk_print_operation_set_show_dialog for
1014 * gtk/gtkprint-win32.c
1015 * gtk/gtkprint-win32.h
1016 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
1018 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1020 Bug 544302 – GtkStatusIcon should support GIcon
1023 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
1024 Patch by Christian Dywan
1026 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1028 Bug 429427 – Add "arrow-spacing" style property to GtkRange
1030 * gtk/gtkrange.c: Add an arrow-spacing style property.
1031 Patch by Carlos Garnacho and Christian Dywan
1033 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1035 Bug 429411 – add style properties to set minimum progressbar
1038 * gtk/gtkprogressbar.c: Add style properties for minimum size.
1039 Patch by Carlos Garnacho and Christian Dywan
1041 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1043 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1046 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1049 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1051 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1054 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1055 Explain and show how iterators pointing to empty rows should be
1056 handled in the visible function. Patch by Björn Lindqvist
1058 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1060 Bug 539733 – No way to control treeview separator height
1062 * gtk/gtktreeview.c: Respect the wide-separators and
1063 separator-height style properties when drawing separators.
1064 Patch by Christian Dywan
1066 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1068 Bug 65818 – rename gtk_window_set_default() and add getter for it
1071 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1072 gtk_window_get_default_widget. Patch by Christian Dywan
1074 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1076 Bug 344383 – use po/LINGUAS
1078 * po/LINGUAS: New file, to make translators happy.
1079 * configure.in: Use po/LINGUAS
1080 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1081 Patch by Claude Paroz
1083 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1085 * gdk/gdkapplaunchcontext.c: Improve the docs
1087 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1089 Bug 545931 – small documentation typos
1091 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1093 2008-08-01 Hans Breuer <hans@breuer.org>
1095 * gdk/makefile.msc : build gdkwindowimpl
1097 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1100 * tests/makefile.msc : update
1102 2008-07-31 Cody Russell <bratsche@gnome.org>
1104 Bug 56070 – Can't click button after setting it sensitive.
1106 * gtk/gtkwidget.[ch]
1111 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1113 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1115 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1116 has worked on and helped out with this.
1118 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1120 Bug 424207 – printing hangs on unreachable cups server
1122 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1123 non-blocking test for reachability of the cups server.
1125 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1126 while trying to get the default printer. Patch by Marek Kasik.
1128 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1130 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1131 timer for automatic commit.
1133 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1134 timer for the store timeout.
1136 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1139 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1140 with second-granularity versions. Patch by Marek Kasik.
1142 2008-07-30 Tor Lillqvist <tml@novell.com>
1144 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1145 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1146 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1147 is in hundredths of a millimeter. Patch by Sven Neumann.
1149 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1151 * gtk/gtktreemodel.c: Small doc improvements.
1153 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1155 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1157 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1159 2008-07-27 Sven Herzberg <sven@imendio.com>
1161 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1163 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1165 2008-07-25 Murray Cumming <murrayc@murrayc.com>
1167 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1168 Documented the activate and popup-menu signals as being for use
1169 by applications and language bindings, though they are G_SIGNAL_ACTION,
1170 as stated in bug #361561.
1172 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
1174 * modules/printbackends/cups/gtkprintbackendcups.c:
1175 (cups_printer_get_options): don't try free gettext() values,
1176 fix a printing dialog crasher (bug 544390)
1178 2008-07-24 Cody Russell <bratsche@gnome.org>
1180 Bug 544510 – SetTimer callback signatures has the wrong type
1182 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1183 sync_timer_proc() to use UINT_PTR for the 'id' parameter
1184 instead of 'id'. Patch by Richard Hult.
1186 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1188 Bug 543915 – "Sole completion" translation issue
1190 * gtk/gtkfilechooserentry.c: Add translator hints to a
1191 bunch of strings. Requested by Andre Klapper
1193 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1195 Bug 544265 – GDK assumes XFIXES extension
1197 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1198 Only call XFixes functions if the server has the extension.
1199 Reported by Ian Turner.
1201 2008-07-22 Matthias Clasen <mclasen@redhat.com>
1203 * configure.in: Compare two content types, not content type
1206 2008-07-22 Sven Herzberg <sven@imendio.com>
1208 Fix svn:ignore and the include condition
1210 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1212 2008-07-22 Tor Lillqvist <tml@novell.com>
1214 * configure.in: Workaround for what apparently is a bug in MSYS:
1215 returning -1 from main() is misinterpreted as exit status 0, so
1216 make sure we return 0 or 1. (The net effect of the bug was that no
1217 image loading worked on Windows.)
1219 2008-07-22 Sven Herzberg <sven@imendio.com>
1221 Add a test for my fixes from July 20th.
1223 * configure.in: create gdk/tests/Makefile
1224 * gdk/Makefile.am: include the tests subfolder
1225 * gdk/tests/Makefile.am: create and run my test
1226 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1227 (passes at least for x11 and quartz backends)
1229 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
1231 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1232 if driver is detected as randr12_compat (ie X driver
1233 is not RandR 1.2 compliant). Fixes multihead with
1234 such drivers. Bug #543317.
1236 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1238 * configure.in: Default to linking against Xinerama again,
1239 so that we can fallback to Xinerama when broken X drivers
1240 make Xrandr useless. Sigh.
1242 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1244 * configure.in: Bump version
1246 * === Released 2.13.5 ===
1248 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1250 * gtk/gtktestutils.c:
1251 * gtk/gtkscalebutton.c:
1252 * gtk/gtkmessagedialog.c:
1254 * gtk/gtkcontainer.c:
1255 * gtk/gtkcolorseldialog.c:
1256 * gtk/gtkaccelgroup.c:
1258 * gtk/gtkfontsel.c: Fix some doc problems.
1260 2008-07-21 Michael Natterer <mitch@imendio.com>
1262 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1263 the deprecated gtk_box_pack_start_defaults().
1265 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1266 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1267 instead of the deprecated gtk_binding_entry_add_signall().
1269 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
1271 * gtk/gtkrecentmanager.c:
1272 (recent_app_info_new), (recent_app_info_free): Use GSlice to
1273 allocate the application data for recently used resources;
1274 do not call time() to initialize the timestamp, as it will
1275 be overwritten anyway later. (#535223, Michael Meeks)
1277 2008-07-21 Kristian Rietveld <kris@gtk.org>
1279 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1281 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1282 for width_changed != NULL. (Patch by Josselin Mouette).
1284 2008-07-21 Michael Natterer <mitch@imendio.com>
1286 Bug 442042 – GtkScaleButton is too limited
1288 * tests/testvolumebutton.c: forgot to commit code that tests
1289 toggling the button's orientation. Also fixes the file's coding
1292 2008-07-21 Cody Russell <bratsche@gnome.org>
1294 Bug 153567 – Repaint glitches in widgets
1296 * gdk/win32/gdkevents-win32.c: Set a sync timer when
1297 we receive WM_SYNCPAINT, and RedrawWindow() once
1300 2008-07-21 Michael Natterer <mitch@imendio.com>
1302 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1303 g_signal_override_class_handler() instead of
1304 g_signal_override_class_closure().
1306 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1308 (gtk_text_view_compat_move_focus): chain up using
1309 g_signal_chain_from_overridden_handler() instead of the generic
1310 g_signal_chain_from_overridden() which needs manual fiddling with
1311 millions of GValues.
1313 2008-07-21 Michael Natterer <mitch@imendio.com>
1315 * gtk/gtkuimanager.c: remove redundant include.
1317 2008-07-21 Michael Natterer <mitch@imendio.com>
1319 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
1321 * gtk/gtkfilechooserdefault.c
1323 * gtk/gtkmenushell.c
1324 * gtk/gtkscalebutton.c
1327 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
1328 some missing I_() to the signal names.
1330 2008-07-21 Michael Natterer <mitch@imendio.com>
1332 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
1333 functions and virtual function implementations. Some minor
1336 2008-07-20 Andre Klapper <a9016009@gmx.de>
1338 Bug 543915 - translation issues
1340 * modules/printbackends/cups/gtkprintbackendcups.c:
1341 Add translator comments for several strings.
1343 2008-07-20 Sven Herzberg <sven@imendio.com>
1345 reviewed by: Richard Hult
1347 Fixes #543868: GdkPixmap is upside down on quartz
1349 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
1350 coordinate space from GTK+ orientation to CoreGraphics orientation
1351 before calling CoreGraphics code
1352 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
1353 coordinate space flipping (we always get it right, now)
1354 * gdk/quartz/gdkpixmap-quartz.c
1355 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
1356 creating the CGContextRef
1358 2008-07-20 Sven Herzberg <sven@imendio.com>
1360 reviewed by: Richard Hult
1362 Extracted the CGContextRef creation into a virtual function of
1363 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
1366 * gdk/quartz/gdkdrawable-quartz.c
1367 (gdk_quartz_drawable_get_context): dropped the different
1368 implementations; forward to the virtual function now
1369 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
1370 * gdk/quartz/gdkpixmap-quartz.c
1371 (gdk_pixmap_impl_quartz_get_context),
1372 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
1373 * gdk/quartz/gdkwindow-quartz.c
1374 (gdk_window_impl_quartz_get_context),
1375 (gdk_window_impl_quartz_class_init): implemented get_context()
1377 2007-08-19 Matthias Clasen <mclasen@redhat.com>
1381 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1383 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
1384 inside "apply" signal handler
1386 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
1387 Patch by Antti Kaijanmäki
1389 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1391 Bug 543217 – GTK application crashed with directfb backend
1393 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
1394 _gdk_visual_init(). Patch by Huimin He.
1396 2008-07-18 Federico Mena Quintero <federico@novell.com>
1398 * gtk/updateiconcache.c (build_cache): If the resulting cache file
1399 would be empty, erase the old cache file as well as the temporary file.
1401 2008-07-18 Federico Mena Quintero <federico@novell.com>
1403 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
1404 do funny casts to avoid compiler warnings.
1406 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
1408 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
1410 * gtk/gtkmodules.c (load_module): Likewise.
1412 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
1414 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
1416 * gtk/queryimmodules.c (query_module): Likewise.
1418 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
1419 (find_widget_at_pointer): Likewise.
1421 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1423 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
1424 hunk of the previous commit.
1426 2008-07-18 Sven Herzberg <sven@imendio.com>
1428 Make aliasfilecheck.sh pass for the quartz backend, too.
1430 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
1432 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
1434 * configure.in: Added Pashto (ps) to ALL_LINGUAS
1436 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1438 Bug 447998 - GtkBuilder does not support building parts of the xml tree
1442 * gtk/gtkbuilderprivate.h:
1443 * gtk/gtkbuilderparser.c:
1445 Add two new functions that allow cherry picking and construct
1446 objects from a ui description file or string.
1448 * gtk/tests/builder.c: tests for the above.
1450 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1452 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
1453 signal) case and plug a couple of leaks.
1455 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1457 Bug 543244 – crashes when renaming a bookmark
1459 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
1460 free a GFile. Reported by Sebastien Bacher
1462 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1464 Bug 339591 – Detect list of availible cover pages
1466 Patch by Marek Kasik:
1467 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
1468 available cover pages and the default front and back cover pages
1469 from the cups server.
1471 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1473 Bug 384940 – handle rejecting jobs and authentication meaningfully
1475 Patch by Marek Kasik, icons by Mike Langlie:
1477 * gtk/gtkprintbackend.h:
1478 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
1479 and getters/setters.
1482 * gtk/gtkiconfactory.c:
1484 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
1486 * modules/printbackends/cups/gtkprintbackendcups.c:
1487 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
1490 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1492 * configure.in: Add a test to see if GIO can sniff image data,
1493 this should make gdk-pixbuf use its own sniffing again, on OS X.
1495 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
1497 Bug 542523 – GtkTextTag should handle setting properties to NULL
1499 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1500 setting it to NULL instead of displaying a warning.
1502 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1504 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1506 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1507 Call shortcuts_check_popup_sensitivity() every time the
1508 menu is popped up. Problem reported by Hong Jen Yee
1510 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1512 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1513 gtk_file_chooser_unselect_all
1515 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1516 the image when the label is set to "(None)". Reported by
1519 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1521 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1523 Bug 507394 – mem leak from gtk_selection_add_targets
1525 * gtk/gtkoldeditable.c: Free target lists in finalize.
1526 Reported by Christian Persch
1528 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1531 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1533 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1535 * gtk/gtklabel.c: Trivial doc fix.
1537 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1539 Bug 542853 – jasper test fails due to incomplete library arguments
1541 * configure.in: Add -ljpeg when checking for jasper.
1542 Reported by Mike Calmus
1544 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1546 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1549 2008-07-11 Kristian Rietveld <kris@gtk.org>
1551 Bug 316087 - Resizing columns is chaotic
1553 * gtk/gtktreeprivate.h: add new member fields.
1555 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1557 (gtk_tree_view_size_allocate_columns): rework the size allocation
1558 mechanism to only recalculate the expand values if the width of the
1559 widget, content or the column configuration has changed,
1560 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1561 to before the adjustment updates so the proper width is used after
1563 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1564 use the column width minus the expand value for the resized width,
1565 (gtk_tree_view_move_column_after): update call to
1566 gtk_tree_view_size_allocate_columns().
1568 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1569 resized width to FALSE.
1571 * tests/Makefile.am:
1572 * tests/testtreecolumnsizing.c: new interactive test program
1573 for testing column resizing with different column configurations.
1575 2008-07-11 Simos Xenitellis <simos@gnome.org>
1577 * gtk/compose-parse.py:
1578 * gtk/gtkimcontextsimple.c:
1579 Fixed typo for the name of Markus Kuhn, issue mentioned
1580 in bug #321896 (comment 61).
1582 2008-07-11 Simos Xenitellis <simos@gnome.org>
1584 Bug 334418 – Support easy input of ellipsis
1586 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1587 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
1589 2008-07-03 Murray Cumming <murrayc@murrayc.com>
1591 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
1592 tooltip-markup properties: Interpret an empty string as a NULL
1593 string because an empty tooltip is silly. This will help
1594 language bindings that do not bother to have the two types of
1598 2008-07-10 Matthias Clasen <mclasen@redhat.com>
1600 Bug 542234 – iconview a11y implementation segfaults
1602 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1605 2008-07-08 Christian Neumair <cneumair@gnome.org>
1607 * gtk/gtkuimanager.c (update_node):
1608 Skip update of accelerator child node if it has no associated action.
1611 2008-07-07 Cody Russell <bratsche@gnome.org>
1613 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1615 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1616 existing modal hint value before setting it.
1618 2008-07-07 Cody Russell <bratsche@gnome.org>
1620 Bug 540994 – [Win32] Some windows don't appear at the top when created
1622 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1624 I actually already committed this one by accident, probably when I committed
1625 #541305, but just wanted to document it here in the ChangeLog.
1627 2008-07-07 Johan Dahlin <johan@gnome.org>
1629 * gtk/tests/builder.c (test_cell_view):
1630 Add a test case for 528845.
1632 2008-07-07 Tor Lillqvist <tml@novell.com>
1634 * gdk/win32/gdkwindow-win32.c
1635 (gdk_window_foreign_new_for_display): Need to initialise
1636 private->impl here, too.
1638 2008-07-07 Michael Natterer <mitch@imendio.com>
1640 * gtk/gtkfilesystem.c: include the two needed headers instead of
1643 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1645 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1648 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1649 implementation. Reported by Kevin Ryde.
1651 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1653 Bug 469068 – clarify gdk_cairo_create()
1655 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1656 contexts cannot be cached for handling expose events.
1657 Proposed by Behdad Esfahbod.
1659 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1661 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1663 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1664 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1666 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1668 Bug 510225 – gtk_widget_get_composite_name retval should be freed
1670 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1671 docs. Pointed out by Wolfgang Oertl
1673 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1675 Bug 531129 – gtk_style_copy() does not include a return value or
1678 * gtk/gtkstyle.c: Document gtk_style_copy.
1680 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1682 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1683 Bug 513580 – Broken link in GTK+ FAQ
1685 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1687 2008-07-07 Christian Dywan <christian@imendio.com>
1689 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1690 erroneously added g_return_if_fail (bug #541811).
1692 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1694 Bug 343663 – source-buffer highlighting highlights "char" in
1695 gtk_text_iter_forward_char
1697 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1699 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1701 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1703 * gtk/gtksettings.c: Improve the documentation of the
1704 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1706 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1708 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1711 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1712 Check that the cursor is over a valid date before retrieving
1713 its details. Patch by Chris Wilson
1715 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1717 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1719 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1720 64-bit brokenness. Reported by Christian Hammond.
1722 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1724 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1727 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1728 Be more robust. Reported by Jelte van der Hoek
1730 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1732 Bug 540917 – deprecate pack_start_defaults()
1735 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1736 Proposed by Owen Taylor
1738 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1740 * configure.in: Bump version
1742 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1744 * === Released 2.13.4 ===
1746 2008-07-05 Michael Natterer <mitch@imendio.com>
1748 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
1749 deprecated section because it isn't deprecated.
1751 2008-07-05 Michael Natterer <mitch@imendio.com>
1753 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
1754 other include weirdness in this file.
1756 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1760 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1762 * gtk/gtkiconview.c:
1764 * gtk/gtkscalebutton.c: Small doc fixes.
1766 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1769 * gdk/x11/gdktestutils-x11.c: Small doc fixes
1771 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1773 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
1775 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
1777 * gtk/gtkentry.c: Fix the property getter for text-length property.
1779 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
1781 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1783 * gtk/gtkmenu.c: Debork the attach-widget property.
1785 2008-07-04 Michael Natterer <mitch@imendio.com>
1789 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
1799 * gtk/gtkoldeditable.c
1802 * gtk/gtktipsquery.c
1804 * gtk/gtktreeitem.c: don't #define it again before including
1805 gtkalias.h after it has been #undef'ed before.
1807 2008-07-04 Michael Natterer <mitch@imendio.com>
1809 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
1810 to FALSE instead of 0.
1812 2008-07-04 Michael Natterer <mitch@imendio.com>
1814 Allocate with GSlice:
1816 * gtk/gtkassistant.c: GtkAssistantPage
1817 * gtk/gtkcellview.c: GtkCellViewCellInfo
1818 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
1819 * gtk/gtkfilefilter.c: FilterRule
1820 * gtk/gtknotebook.c: GtkNotebookPage
1822 2008-07-04 Michael Natterer <mitch@imendio.com>
1824 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
1826 2008-07-04 Michael Natterer <mitch@imendio.com>
1828 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
1829 variable to GtkWidget fo fix two warnings.
1831 2008-07-04 Michael Natterer <mitch@imendio.com>
1833 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
1837 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
1838 and _get_minus_button(). Patch by Christian Dywan.
1840 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1842 * gtk/gtkscalebutton.c:
1844 * gdk/gdkwindowimpl.c: Fix make check.
1846 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1848 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
1849 constructed using GtkUIManager
1851 * gtk/gtkmenuitem.c: Fall back to the default positioning when
1852 the menuitem is not realized. Patch by Björn Lindqvist.
1854 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1856 Bug 540612 – mem leak in filechooser
1858 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
1859 Patch by Christian Persch.
1861 2008-07-04 Tor Lillqvist <tml@novell.com>
1863 Bug 540861 - invalid UTF-8 in input device name
1865 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
1866 Unicode, and convert to UTF-8 for the GdkDevice's name field.
1868 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1870 Bug 538863 – Fixes assertion on entering empty folder
1872 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
1873 select the first row if the folder is empty.
1874 Patch by Olle Bergkvist.
1876 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1878 Bug 540915 – GtkBuilder sets properties in reverse order
1880 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
1881 in which they are specified in the xml file.
1883 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1885 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
1889 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
1890 accessor for the popup. Patch by Christian Dywan
1892 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1894 Bug 535498 – Printing demo broken
1896 * demos/gtk-demo/printing.c: Use monospace as font name,
1897 not mono. Also use the right advance when moving from line to line.
1898 Patch by Yevgen Muntyan.
1900 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1902 Bug 538547 – Update doc-shooter in gtk documentation
1904 * docs/tools/Makefile.am:
1905 * docs/tools/folder.png:
1906 * docs/tools/gnome.png: New images
1908 * docs/tools/widgets.c: Use the new images.
1909 Patch by Baptiste Mille-Mathias.
1911 2008-07-03 Michael Natterer <mitch@imendio.com>
1913 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
1914 names of binding signal implementations.
1916 2008-07-03 Li Yuan <li.yuan@sun.com>
1918 * gail-uninstalled.pc.in:
1919 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
1921 2008-07-03 Cody Russell <bratsche@gnome.org>
1923 Bug 540529 – Remove all GIMP references
1927 * gtk+-unix-print-2.0.pc.in:
1928 * gtk+-2.0-uninstalled.pc.in:
1929 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
1930 GTK+ Graphical UI Library in the pkg-config files.
1932 2008-07-02 Cody Russell <bratsche@gnome.org>
1934 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
1936 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
1939 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
1940 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
1943 2008-07-02 Cody Russell <bratsche@gnome.org>
1945 Bug 541249 – [Win32] Fix some internal static methods
1947 * gdk/gdkwindow-win32.c: Make the interface implementation methods
1950 2008-07-02 Michael Natterer <mitch@imendio.com>
1952 Bug 537591 – Don't hardcode minimum width of menuitems
1954 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
1955 introduces a "width-chars" style property which replaces the
1956 hardcoded minimum width of menuitems with submenu. Patch
1957 extracted from Maemo-GTK+.
1959 2008-07-02 Michael Natterer <mitch@imendio.com>
1961 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
1963 2008-07-02 Kristian Rietveld <kris@imendio.com>
1965 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
1966 Since s/2.16/2.14/ for the new gicon property.
1968 2008-07-02 Kristian Rietveld <kris@imendio.com>
1970 Bug 455268 - Add gtk-enable-tooltips GtkSetting
1973 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
1975 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
1977 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
1978 introduced XSetting into account.
1980 * demos/gtk-demo/appwindow.c: don't use the now deprecated
1981 gtk_toolbar_set_tooltips().
1983 2008-07-02 Cody Russell <bratsche@gnome.org>
1985 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
1987 * gdk/win32/gdkprivate-win32.h:
1988 * gdk/win32/gdkgeometry-win32.c:
1989 * gdk/win32/gdkevents-win32.c:
1990 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
1991 the newly refactored GdkWindow code.
1993 2008-07-01 Cody Russell <bratsche@gnome.org>
1995 Bug 539164 – Windows' System Menu blocks main loop
1997 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
1998 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
1999 GLib mainloop from there.
2001 2008-07-01 Richard Hult <richard@imendio.com>
2003 Some aftermath from the window impl cleanups:
2005 * gdk/quartz/gdkwindow-quartz.c:
2006 (gdk_window_merge_child_input_shapes): Rename and export again.
2007 (gdk_window_quartz_get_offsets): Make static.
2009 2008-07-01 Michael Natterer <mitch@imendio.com>
2011 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
2013 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2015 539790 – [PATCH] Please add three new settings to GtkSettings
2017 * gdk/x11/gdksettings.c:
2018 * gtk/gtksettings.c: Add event sound settings.
2019 Patch by Lennart Poettering.
2021 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2023 Bug 434535 – printoperation's create_surface doesn't check temp file
2024 creation for success
2026 Patch by Marek Kasik:
2028 * gtk/gtkprintoperation-unix.c
2029 (_gtk_print_operation_platform_backend_create_preview_surface):
2030 Handle failure to create temp file by returning NULL.
2032 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
2033 Return FALSE if surface creation fails.
2035 (print_pages): If the preiew signal is not handled, show an
2038 2008-07-01 Michael Natterer <mitch@imendio.com>
2040 Bug 442042 – GtkScaleButton is too limited
2042 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2043 property that can be changed at any time after widget
2044 creation. Add public API for it.
2046 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2048 2008-06-30 Michael Natterer <mitch@imendio.com>
2050 Some unrelated cleanups found while reviewing
2051 the offscreen window patch:
2053 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2054 functions, fix some function header indentation, update
2055 documentation of redirect_to_drawable().
2057 * gdk/x11/gdkwindow-x11.c
2058 * gdk/x11/gdkpixmap-x11.c: fix function header
2059 formatting/indentation.
2061 * gtk/gtkwidget.c: use I_() on "damage_event".
2063 2008-06-30 Michael Natterer <mitch@imendio.com>
2065 * gdk/gdkinternals.h: remove duplicate declaration of
2068 2008-06-30 Michael Natterer <mitch@imendio.com>
2070 * gdk/Makefile.am: reorder source lists alphabetically.
2072 2008-06-30 Matthias Clasen <mclasen@redhat.com>
2074 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2076 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2077 Patch by Owen Taylor
2079 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
2081 Bug 530255 – GtkAboutDialog cuts off comments label
2082 Followup patch from Jan Arne Petersen
2084 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2086 2008-06-28 Michael Natterer <mitch@imendio.com>
2088 * gtk/gtkselection.h: properly indent the newly added
2089 GtkSelectionData accessors. Some newlines can't hurt either.
2091 2008-06-27 Mikael Hallendal <micke@imendio.com>
2093 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2095 2008-06-27 Mikael Hallendal <micke@imendio.com>
2097 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2098 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2099 pack_start and pack_end in order to reduce the code duplication.
2101 2008-06-27 Michael Natterer <mitch@imendio.com>
2103 Bug 442042 – GtkScaleButton is too limited
2105 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2106 "gtk-scalebutton-popup-window" on the popup window so it is
2109 2008-06-27 Kristian Rietveld <kris@imendio.com>
2111 * gdk/quartz/gdkgeometry-quartz.c:
2112 * gdk/quartz/gdkwindow-quartz.c:
2113 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2116 2008-06-27 Carlos Garnacho <carlos@imendio.com>
2118 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2119 critical warnings. Bug #539470.
2121 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
2123 Abstract some GdkWindow API into an interface that the backends
2124 must implement. (based on a patch by Alex Larsson)
2126 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2128 * gdk/gdk.symbols: Move symbols around.
2130 * gdk/gdkinternals.h:
2131 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2132 from the backends to a GInterface that the backends should implement
2135 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2136 wrapper call around the GdkWindowImpl interface vtable.
2138 * gdk/x11/gdkevents-x11.c:
2139 * gdk/x11/gdkgeometry-x11.c:
2140 * gdk/x11/gdkprivate-x11.h:
2141 * gdk/x11/gdkwindow-x11.c:
2142 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2143 the GdkWindowImpl interface.
2145 2008-06-27 Martyn Russell <martyn@imendio.com>
2147 Bug 540318 - Invalid URL
2149 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2150 in the warning produced here.
2152 2008-06-27 Michael Natterer <mitch@imendio.com>
2154 Bug 442042 – GtkScaleButton is too limited
2156 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2157 stuff that is part of the public API continues to be created in
2158 init() to stay compatible. Move creating of the popup scale to
2159 constructor(). Add an internal HScale class. Changed popup
2160 positioning for horizontal scales accordingly.
2162 2008-06-26 Michael Natterer <mitch@imendio.com>
2164 * gtk/gtkscalebutton.c
2165 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2166 prototypes, remove redundant includes, remove a little trailing
2169 2008-06-26 Richard Hult <richard@imendio.com>
2171 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2173 (_gtk_quartz_get_selection_data_from_pasteboard),
2174 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2175 Christian Dywan to clean up selection data setting.
2177 2008-06-26 Richard Hult <richard@imendio.com>
2179 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2180 deprecated function gtk_widget_ref, replace with g_object_ref.
2182 2008-06-26 Michael Natterer <mitch@imendio.com>
2184 * gtk/gtkfilesystem.c: #include "config.h"
2186 2008-06-26 Carlos Garnacho <carlos@imendio.com>
2188 * gtk/gtkfilechooserdefault.c
2189 (gtk_file_chooser_default_get_current_folder): current_folder can be
2190 NULL here, do not try to reference it (Bug #540235)
2191 (gtk_file_chooser_default_get_files): Deal better with
2192 gtk_file_chooser_default_get_current_folder() being able to return
2195 2008-06-26 Michael Natterer <mitch@imendio.com>
2197 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2198 allocate the GtkTextUtilCallbackInfo structs with GSlice.
2200 2008-06-25 Michael Natterer <mitch@imendio.com>
2202 * gtk/gtktypeutils.h: there is no reason to include
2203 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2204 replacing the <glib-object.h> include. Also move the remaining few
2205 non-deprecated things to the top and move some deprecated things
2206 around to clean up the mess with too many deprecated sections even
2209 2008-06-24 Michael Natterer <mitch@imendio.com>
2211 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2212 (also for GTK_COMPILATION). Move some deprecated typedefs around
2213 to reduce the mess with zillions of deprecated sections.
2215 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2216 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2217 though the latter is probably completely pointless.
2219 2008-06-24 Michael Natterer <mitch@imendio.com>
2221 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2222 the dialog's vbox was added (bug #539732).
2224 2008-06-24 Carlos Garnacho <carlos@imendio.com>
2226 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2227 thought for handling non-direct children. Fixes #539732.
2228 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2229 doesn't provide enough control to API users (removing, reordering...),
2230 this is better handled through:
2231 (gtk_dialog_get_content_area): New function which just returns
2233 * gtk/gtk.symbols: Modify accordingly.
2234 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2235 using gtk_dialog_get_[action|content]_area() instead of accessing
2236 dialog struct members directly.
2238 2008-06-24 Michael Natterer <mitch@imendio.com>
2240 * gtk/gtkassistant.h
2241 * gtk/gtkcellrenderer.h
2242 * gtk/gtkfilechooserentry.h
2246 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2247 if there is any other widget included, they all have to include
2248 their respective parent classes (the is-a relation works for
2251 2008-06-24 Michael Natterer <mitch@imendio.com>
2253 * gtk/gtktextutil.h: remove includes from this internal header.
2255 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2257 2008-06-23 Michael Natterer <mitch@imendio.com>
2259 * gtk/gtkinvisible.h: formatting.
2261 2008-06-23 Michael Natterer <mitch@imendio.com>
2264 * gtk/gtkbuildable.h
2265 * gtk/gtkbuilderprivate.h
2266 * gtk/gtkcelllayout.h
2267 * gtk/gtkentrycompletion.h
2268 * gtk/gtkfilechoosersettings.h
2269 * gtk/gtkfilesystem.h
2270 * gtk/gtkfilesystemmodel.h
2271 * gtk/gtkicontheme.h
2272 * gtk/gtklinkbutton.h
2273 * gtk/gtkpagesetup.h
2274 * gtk/gtkpapersize.h
2275 * gtk/gtkprintcontext.h
2276 * gtk/gtkprintoperation.h
2277 * gtk/gtkprintoperationpreview.h
2278 * gtk/gtkprintsettings.h
2279 * gtk/gtkrecentchooserprivate.h
2280 * gtk/gtkrecentmanager.h
2281 * gtk/gtksearchengine.h
2283 * gtk/gtktreeselection.h
2284 * gtk/gtktreeviewcolumn.h
2285 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2286 <glib-object.h>. There is no point in relying on them being pulled
2287 in by other headers in some places and placing them explicitly in
2288 other places, so choose the "as little includes as possible"
2289 approach and get rid of them.
2291 2008-06-23 Kristian Rietveld <kris@imendio.com>
2293 * gdk/gdkenumtypes.h.template:
2294 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2295 * gtk/gtktypebuiltins.h.template:
2296 * perf/typebuiltins.h.template: do not hard code the prefix of the
2297 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2299 2008-06-23 Michael Natterer <mitch@imendio.com>
2301 * gtk/gtkmountoperation.h
2302 * gtk/gtktestutils.h
2303 * gtk/gtkshow.[ch]: remove as many includes as possible from these
2304 new files. They can't be included individually, so nothing can break.
2306 2008-06-22 Michael Natterer <mitch@imendio.com>
2308 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
2309 registering the "modifier-mask" property.
2311 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2313 * *.[ch]: Include "config.h" instead of <config.h>
2315 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
2316 Rubberstamped by Mitch and Tim
2318 2008-06-21 Carlos Garnacho <carlos@imendio.com>
2320 Bug 539466 – GtkMenuShell API/ABI break in trunk.
2322 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
2323 different name and packing width.
2325 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2327 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
2330 2008-06-21 Michael Natterer <mitch@imendio.com>
2332 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
2333 indentation, replace header by a GDK copyright header (don't say
2334 "The Gnome Library"), remove trailing whitespace.
2336 2008-06-21 Hans Breuer <hans@breuer.org>
2338 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
2339 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
2340 passing the surface to cairo_surface_show_page(), not the context
2341 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
2342 '<' : signed/unsigned mismatch by using guint for the loop
2344 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
2345 an uint, gtk_menu_get_active() returns the widget pointer. Convert
2346 the latter to the former by calculating the index in menu::children
2347 Also fix some occurences of g_return_if_fail() where
2348 g_return_val_if_fail() was meant
2350 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
2352 Bug 539363 – Segfault when creating GtkPlugs
2354 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
2355 property names. "socket window" => "socket-window"
2357 2008-06-20 Jody Goldberg <jody@gnome.org>
2359 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
2360 Fix life cycle to avoid crash. [#536966]
2362 2008-06-20 Hans Breuer <hans@breuer.org>
2364 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
2365 a value of the appropriate type with g_return_val_if_fail
2367 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
2369 * gtk/gtkfilesystem.c : don't add the "File System" on win32
2371 * tests/makefile.msc : remove broken autotestfile(system|chooser)
2374 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2376 * gtk/gtkbutton.c: Document a style property
2378 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
2381 * gtk/gtkcolorsel.c:
2383 * gtk/gtkitemfactory.c:
2384 * gtk/gtknotebook.c:
2385 Fix up deprecated markup syntax. Add version numbers and
2386 a message on the remaning ones.
2388 2008-06-20 Mikael Hallendal <micke@imendio.com>
2390 * tests/testthreads.c: Use g_signal_connect instead of
2393 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
2394 While the code is not built, people may still look at it.
2396 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
2398 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
2401 * gtk/gtkliststore.h:
2403 * gtk/gtktextchild.h:
2404 * gtk/gtktreemodelfilter.h:
2405 * gtk/gtktreemodelsort.h:
2406 * gtk/gtktreestore.h:
2407 #include <gdkconfig.h> not <gdk/gdkconfig.h>
2409 2008-06-20 Martyn Russell <martyn@imendio.com>
2411 * gtk/gtkaccelgroup.c: Fix warnings from calling
2412 g_object_notify() on a GtkAccelGroup without casting to a
2415 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2417 * gtk/gtkcolorsel.c: Modernize and order things as most
2418 other objects. Defines at the top, class init before init
2419 before gobject methods before object method before widget
2420 methods. No changes to the logic done.
2422 2008-06-20 Martyn Russell <martyn@imendio.com>
2424 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
2425 properties that don't exist. Also, make sure we notify for
2426 the "is-locked" property.
2428 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2430 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
2432 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2434 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
2436 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
2438 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
2439 allocation to avoid compiler warnings
2441 2008-06-20 Michael Natterer <mitch@imendio.com>
2443 * gtk/gtkaccellabel.h
2444 * gtk/gtkactiongroup.h
2445 * gtk/gtkalignment.h
2447 * gtk/gtkaspectframe.h
2449 * gtk/gtkhandlebox.h
2450 * gtk/gtkprogressbar.h
2453 * gtk/gtkscalebutton.h
2454 * gtk/gtkselection.h: fix some formatting and spacing uglyness
2455 that got merged from the GSEAL branch.
2457 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2460 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
2461 * gtk/gtkmessagedialog.h:
2462 Add missing accessor for sealed field GtkMessageDialog->image.
2464 2008-06-20 Michael Natterer <mitch@imendio.com>
2466 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
2469 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2471 * gtk/gtkaccelgroup.c:
2472 * gtk/gtkcolorseldialog.c:
2473 * gtk/gtkcontainer.c:
2475 * gtk/gtkentry.c (gtk_entry_class_init):
2477 * gtk/gtkhandlebox.c:
2479 * gtk/gtkmenu.c (gtk_menu_class_init):
2480 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
2481 * gtk/gtkplug.c (gtk_plug_class_init):
2482 * gtk/gtkselection.c:
2484 * gtk/gtktreeselection.c:
2485 * gtk/gtkwidget.c (gtk_widget_class_init):
2487 Add missing Since: gtk-doc markup for newly added GSEAL API.
2488 Change all Since: GSEAL-branch to Since: 2.14.
2490 2008-06-20 Michael Natterer <mitch@imendio.com>
2492 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
2493 the code merged from the GSEAL branch.
2495 2008-06-20 Michael Natterer <mitch@imendio.com>
2497 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
2498 value from GtkHButtonBox to GtkWidget.
2500 2008-06-20 Michael Natterer <mitch@imendio.com>
2502 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2505 2008-06-20 Michael Natterer <mitch@imendio.com>
2507 * gtk/gtkwindow.[ch]
2508 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2509 gtk_window_group_list_windows().
2511 2008-06-20 12:35:20 +0200 Tim Janik
2513 * Fixed wrongly resolved merge conflicts.
2515 2008-06-19 19:01:41 +0200 Carlos Garnacho
2517 Add gtk_window_group_get_windows().
2520 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2522 2008-06-19 18:39:47 +0200 Carlos Garnacho
2524 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2526 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2528 2008-06-19 18:38:35 +0200 Carlos Garnacho
2530 Document gtk_container_get_focus_child().
2532 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2534 2008-06-19 13:50:06 +0200 Christian Dywan
2536 Add gtk_plug_get_socket_window
2538 2008-06-19 13:11:52 +0200 Christian Dywan
2540 Remove superflous gtkselection accessors and merge _get_data
2542 2008-06-13 15:56:51 +0200 Christian Dywan
2544 Implement gtk_selection_get_display, style fixes
2546 2008-06-13 15:45:00 +0200 Christian Dywan
2548 Fix indentation of a comment.
2550 2008-06-13 15:10:08 +0200 Christian Dywan
2552 Change docs and signature of gtk_widget_get_allocation
2554 2008-06-13 14:22:17 +0200 Christian Dywan
2556 Remove unneeded GtkColorSelectionDialog accessors
2558 2008-06-13 12:57:54 +0200 Christian Dywan
2560 Fix documentaion of gtk_menu_item_get_accel_path
2562 2008-06-11 13:49:34 +0200 Christian Dywan
2564 Fix gtk_widget_get_allocation
2566 2008-06-07 15:37:18 +0200 Carlos Garnacho
2568 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2572 * gtk/gtkcellrenderer.h:
2573 * gtk/gtkcellrenderertext.h:
2574 * gtk/gtkcheckmenuitem.h:
2575 * gtk/gtkcontainer.h:
2577 * gtk/gtkhandlebox.h:
2578 * gtk/gtkimcontextsimple.h:
2580 * gtk/gtkliststore.h:
2582 * gtk/gtkmenuitem.h:
2583 * gtk/gtkmenushell.h:
2584 * gtk/gtknotebook.h:
2587 * gtk/gtkprintjob.h:
2588 * gtk/gtkprogressbar.h:
2591 * gtk/gtkscrolledwindow.h:
2592 * gtk/gtksizegroup.h:
2594 * gtk/gtkspinbutton.h:
2595 * gtk/gtkstatusbar.h:
2597 * gtk/gtktearoffmenuitem.h:
2598 * gtk/gtktextbuffer.h:
2599 * gtk/gtktextview.h:
2600 * gtk/gtktogglebutton.h:
2602 * gtk/gtktreestore.h:
2603 * gtk/gtktreeviewcolumn.h:
2604 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2606 2008-06-06 19:02:17 +0200 Christian Dywan
2610 2008-06-06 17:58:21 +0200 Christian Dywan
2612 Seal GtkSelectionData
2614 2008-06-06 17:57:23 +0200 Christian Dywan
2616 Fix GtkDialog, don't add vbox via gtk_container_add.
2618 2008-06-06 13:39:34 +0200 Kristian Rietveld
2620 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
2622 2008-06-03 09:11:50 +0200 Kristian Rietveld
2626 2008-05-30 16:48:12 +0100 Martyn Russell
2628 Seal GtkFontSelection & GtkFontSelectionDialog
2630 2008-05-29 10:35:29 +0200 Kristian Rietveld
2632 Seal GtkTearoffMenuItem.
2634 (the torn_off field is for internal state keeping, you can retrieve
2635 the value from the parent menu's tearoff_state).
2637 2008-05-27 18:34:12 +0200 Christian Dywan
2641 2008-05-27 18:17:44 +0200 Christian Dywan
2645 2008-05-27 15:10:02 +0200 Christian Dywan
2649 2008-05-27 14:17:45 +0200 Christian Dywan
2653 2008-05-27 14:04:31 +0200 Christian Dywan
2657 2008-05-27 12:40:08 +0200 Christian Dywan
2661 2008-05-27 12:39:49 +0200 Christian Dywan
2663 Seal GtkIMMultiContext
2665 2008-05-27 12:39:17 +0200 Christian Dywan
2667 Seal GtkIMContextSimple
2669 2008-05-27 12:14:53 +0200 Christian Dywan
2673 2008-05-27 11:14:21 +0200 Christian Dywan
2677 2008-05-27 10:54:20 +0200 Christian Dywan
2679 Fix the build by including gdkconfig.h in gtkprinter.h.
2681 2008-05-27 10:38:02 +0200 Christian Dywan
2685 2008-05-27 10:20:56 +0200 Christian Dywan
2689 2008-05-26 17:58:19 +0200 Kristian Rietveld
2693 2008-05-26 17:54:56 +0200 Kristian Rietveld
2697 2008-05-26 17:48:23 +0200 Kristian Rietveld
2701 2008-05-26 17:39:38 +0200 Kristian Rietveld
2705 2008-05-26 17:31:06 +0200 Kristian Rietveld
2709 2008-05-26 17:27:22 +0200 Kristian Rietveld
2713 2008-05-26 17:07:43 +0200 Kristian Rietveld
2717 2008-05-26 17:07:37 +0200 Kristian Rietveld
2721 2008-05-26 16:39:27 +0200 Kristian Rietveld
2723 Seal GtkTextTagTable.
2725 2008-05-26 16:34:13 +0200 Kristian Rietveld
2729 2008-05-26 17:08:19 +0200 Christian Dywan
2733 2008-05-26 16:40:05 +0200 Christian Dywan
2737 2008-05-26 16:37:54 +0200 Christian Dywan
2741 2008-05-26 14:09:32 +0200 Kristian Rietveld
2743 Seal priv pointer in GtkToggleToolButton.
2745 2008-05-26 14:04:51 +0200 Kristian Rietveld
2747 Seal priv pointer in GtkUIManager.
2749 2008-05-26 14:01:32 +0200 Kristian Rietveld
2751 Seal priv pointer in GtkToolItem.
2753 2008-05-26 14:01:12 +0200 Kristian Rietveld
2755 Seal priv pointer in GtkToolButton.
2757 2008-05-26 14:00:24 +0200 Kristian Rietveld
2759 Seal priv pointer in GtkToggleAction.
2761 2008-05-26 13:58:01 +0200 Kristian Rietveld
2763 Seal priv pointer in GtkStatusIcon.
2765 2008-05-26 13:57:33 +0200 Kristian Rietveld
2767 Seal priv pointer in GtkSeparatorToolItem.
2769 2008-05-26 13:56:33 +0200 Kristian Rietveld
2771 Seal priv pointer in GtkScaleButton.
2773 2008-05-26 13:55:57 +0200 Kristian Rietveld
2775 Seal priv pointer in GtkRecentManager.
2777 2008-05-26 13:55:25 +0200 Kristian Rietveld
2779 Seal priv pointer in GtkRecentChooserWidget.
2781 2008-05-26 13:54:39 +0200 Kristian Rietveld
2783 Seal priv pointer in GtkRecentChooserMenu.
2785 2008-05-26 13:54:15 +0200 Kristian Rietveld
2787 Seal priv pointer in GtkRecentChooserDialog.
2789 2008-05-26 13:52:40 +0200 Kristian Rietveld
2791 Seal priv pointer in GtkRecentAction.
2793 2008-05-26 13:51:47 +0200 Kristian Rietveld
2795 Seal priv pointer in GtkRadioAction.
2797 2008-05-26 13:50:49 +0200 Kristian Rietveld
2799 Seal priv pointer in GtkPrintUnixDialog.
2801 2008-05-26 13:50:08 +0200 Kristian Rietveld
2803 Seal priv pointer in GtkPrintOperation.
2805 2008-05-26 13:49:41 +0200 Kristian Rietveld
2807 Seal priv pointer in GtkPrinter.
2809 2008-05-26 13:48:49 +0200 Kristian Rietveld
2811 Seal priv pointer in GtkPageSetupUnixDialog.
2813 2008-05-26 13:47:39 +0200 Kristian Rietveld
2815 Seal priv pointer in GtkMenuToolButton.
2817 2008-05-26 13:47:29 +0200 Kristian Rietveld
2819 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
2821 2008-05-26 13:23:45 +0200 Kristian Rietveld
2823 Seal priv pointer in GtkLinkButton.
2825 2008-05-26 13:22:25 +0200 Kristian Rietveld
2827 Seal priv pointer in GtkIconView.
2829 2008-05-26 13:22:04 +0200 Kristian Rietveld
2831 Seal priv pointer in GtkIconTheme.
2833 2008-05-26 13:13:49 +0200 Kristian Rietveld
2835 Seal child_allocation field in GtkFrame.
2837 2008-05-26 13:10:17 +0200 Kristian Rietveld
2839 Sealed priv pointer in GtkFontButton.
2841 2008-05-26 13:07:14 +0200 Kristian Rietveld
2843 Seal priv pointer in GtkFileChooserButton.
2845 2008-05-26 13:06:43 +0200 Kristian Rietveld
2847 Seal priv pointer in GtkExpander.
2849 2008-05-26 13:03:24 +0200 Kristian Rietveld
2851 Sealed remaining (private) fields in GtkContainer.
2853 2008-05-26 13:02:26 +0200 Kristian Rietveld
2855 Seal priv pointer in GtkComboBoxEntry.
2857 2008-05-26 13:01:40 +0200 Kristian Rietveld
2859 Seal priv pointer in GtkComboBox.
2861 2008-05-26 13:00:59 +0200 Kristian Rietveld
2863 Seal private_data pointer in GtkColorSel.
2865 2008-05-26 12:57:50 +0200 Kristian Rietveld
2867 Seal 3 remaining fields in GtkButton.
2869 2008-05-26 12:55:24 +0200 Kristian Rietveld
2871 Seal priv pointer in GtkBuilder.
2873 2008-05-26 12:52:44 +0200 Kristian Rietveld
2875 Seal center_allocation field in GtkAspectFrame.
2877 2008-05-26 12:48:18 +0200 Kristian Rietveld
2879 Seal priv pointer in GtkAction.
2881 2008-05-26 12:46:11 +0200 Kristian Rietveld
2883 Seal priv pointer in GtkAboutDialog.
2885 2008-05-26 12:41:46 +0200 Kristian Rietveld
2889 2008-05-26 12:39:54 +0200 Kristian Rietveld
2893 2008-05-26 11:59:35 +0200 Kristian Rietveld
2895 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
2897 2008-05-26 11:52:20 +0200 Kristian Rietveld
2899 Add new GtkColorSelectionDialog accessors to gtk.symbols.
2901 2008-05-26 11:41:47 +0200 Kristian Rietveld
2903 gtklabel.h: include bit-size of fields inside GSEAL parens.
2905 2008-05-26 11:40:07 +0200 Kristian Rietveld
2907 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
2909 2008-05-26 11:39:35 +0200 Kristian Rietveld
2911 gtkentry.h: include bit-size of fields inside GSEAL parens.
2913 2008-05-26 11:34:14 +0200 Kristian Rietveld
2915 Add new accessors for GtkEntry to gtk.symbols.
2917 2008-05-26 11:23:56 +0200 Kristian Rietveld
2919 Also seal GtkWindowGroup in gtkwindow.h
2921 2008-05-26 10:48:48 +0200 Kristian Rietveld
2923 Fix the build by including gdkconfig.h in gtktextchild.h.
2925 2008-05-23 18:48:56 +0200 Christian Dywan
2929 2008-05-23 18:28:39 +0200 Christian Dywan
2933 2008-05-23 18:28:07 +0200 Christian Dywan
2935 Seal GtkColorSelectionDialog
2937 2008-05-23 18:03:44 +0200 Carlos Garnacho
2939 Seal GtkTextChildAnchor.
2941 * gtk/gtktextchild.h: Sealed private member.
2943 2008-05-23 17:42:01 +0200 Carlos Garnacho
2947 * gtk/gtkwindow.h: Seal all fields.
2949 2008-05-23 17:40:09 +0200 Carlos Garnacho
2951 Add gtk_window_get_default()
2953 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
2954 * gtk/gtk.symbols: same here.
2956 2008-05-09 15:41:57 +0100 Martyn Russell
2958 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
2960 2008-05-02 16:31:40 +0200 Martyn Russell
2964 2008-05-02 16:30:09 +0200 Martyn Russell
2966 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
2968 2008-04-27 18:49:50 +0200 Kristian Rietveld
2970 Seal GtkToggleButton.
2972 * gtk/gtktogglebutton.h: Seal all member fields.
2974 2008-04-27 18:41:46 +0200 Kristian Rietveld
2976 Seal GtkTreeViewColumn.
2978 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
2979 still troublesome. We are probably going to need an accessor for this and
2980 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
2981 resized_width can be useful, but I really consider them to be private and
2982 of not much use to applications.
2984 2008-04-27 18:23:23 +0200 Kristian Rietveld
2986 Seal GtkRadioMenuItem.
2988 * gtk/gtkradiomenuitem.h: Seal member field.
2990 2008-04-27 18:21:29 +0200 Kristian Rietveld
2992 Seal GtkRadioButton.
2994 * gtk/gtkradiobutton.h: seal member field.
2996 2008-04-27 18:11:41 +0200 Kristian Rietveld
2998 Seal GtkTreeSelection.
3000 * gtk/gtktreeselection.h: Seal all member fields.
3002 2008-04-27 18:09:46 +0200 Kristian Rietveld
3004 Add gtk_tree_selection_get_select_function().
3006 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
3008 * gtk/gtk.symbols: add new function.
3010 2008-04-27 16:05:02 +0200 Kristian Rietveld
3012 Seal GtkScrolledWindow.
3014 * gtk/gtkscrolledwindow.h: Seal all object member fields.
3016 2008-04-27 15:56:33 +0200 Kristian Rietveld
3018 Seal GtkCellRenderer.
3020 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
3021 already accessible via GObject properties.
3023 2008-04-27 15:56:01 +0200 Kristian Rietveld
3025 Add "editing" GObject property to GtkCellRenderer.
3027 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
3028 (gtk_cell_renderer_get_property),
3029 (gtk_cell_renderer_set_property): add the property and hook
3032 2008-04-27 15:42:08 +0200 Kristian Rietveld
3034 Seal GtkCellRendererText.
3036 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3039 2008-04-27 15:40:47 +0200 Kristian Rietveld
3041 Seal GtkCellRendererCombo.
3043 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
3044 that were not marked as private are already accessible via GObject properties.
3046 2008-04-27 15:39:41 +0200 Kristian Rietveld
3048 Seal GtkCellRendererAccel.
3050 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3053 2008-04-18 16:55:44 +0200 Kristian Rietveld
3057 * gtk/gtktreeview.h: seal private pointer.
3059 2008-04-18 16:52:54 +0200 Kristian Rietveld
3061 Seal GtkTreeModelFilter
3063 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3066 2008-04-18 16:50:55 +0200 Kristian Rietveld
3068 Seal GtkTreeModelSort
3070 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3071 all public member fields.
3073 2008-04-18 16:42:28 +0200 Kristian Rietveld
3077 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3078 public member fields.
3080 2008-04-18 16:37:43 +0200 Kristian Rietveld
3084 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3085 public member fields.
3087 2008-04-18 18:26:31 +0200 Carlos Garnacho
3089 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3091 2008-04-18 18:25:22 +0200 Carlos Garnacho
3093 * gtk/gtkcontainer.h: seal members.
3095 2008-04-11 17:28:54 +0200 Carlos Garnacho
3097 * gtk/gtkmisc.h: seal members.
3099 2008-04-11 17:28:05 +0200 Carlos Garnacho
3101 *gtk/gtkfixed.h: seal members.
3103 2008-04-11 16:04:23 +0200 Michael Natterer
3105 * gtk/gtkcellrendererpixbuf.h: seal all members.
3107 2008-04-11 16:01:19 +0200 Michael Natterer
3109 * gtk/gtkcellrendererprogress.h: seal private member.
3111 2008-04-11 15:43:22 +0200 Michael Natterer
3113 * gtk/gtkcellrenderertoggle.h: seal all members.
3115 2008-04-04 18:50:05 +0200 Carlos Garnacho
3117 * gtk/gtkfilechooserwidget.h: Seal the private member.
3119 2008-04-04 18:46:47 +0200 Carlos Garnacho
3121 gtk/gtkfilechooserdialog.h: seal the private member.
3123 2008-04-04 18:42:17 +0200 Carlos Garnacho
3125 * gtk/gtkentrycompletion.h: Seal private member.
3127 2008-04-04 18:36:35 +0200 Carlos Garnacho
3129 * gtk/gtkcellview.h: Seal the private member.
3131 2008-04-04 18:28:00 +0200 Carlos Garnacho
3133 * gtk/gtkcolorbutton.h: seal private member.
3135 2008-04-04 18:27:26 +0200 Carlos Garnacho
3137 * gtk/gtkcheckmenuitem.h: seal public struct members.
3139 2008-04-04 18:25:25 +0200 Carlos Garnacho
3141 * gtk/gtkcalendar.h: seal public struct members.
3143 2008-04-04 18:24:15 +0200 Carlos Garnacho
3145 * gtk/gtkdialog.h: Also seal variables marked as private.
3147 2008-04-04 17:35:48 +0200 Michael Natterer
3149 * gtk/gtkimagemenuitem.h: seal private member.
3151 2008-04-04 17:28:56 +0200 Michael Natterer
3153 * gtk/gtkiconfactory.h: seal private member.
3155 2008-03-28 16:56:53 +0000 Martyn Russell
3159 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3160 member and clean up .c file to reflect this.
3162 2008-03-28 15:00:09 +0100 Sven Herzberg
3166 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3168 2008-03-28 16:38:00 +0100 Michael Natterer
3170 * gtk/gtkdrawingarea.h: seal instance struct member.
3172 2008-03-28 16:23:32 +0100 Christian Dywan
3174 Seal GtkScaleButton public fields
3176 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3178 2008-03-28 16:07:50 +0100 Christian Dywan
3180 Seal GtkScale public fields
3182 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3184 2008-03-14 20:45:34 +0100 Christian Dywan
3186 Seal GtkProgressBar public fields
3189 2008-03-14 20:32:12 +0100 Christian Dywan
3191 Seal GtkFrame public vars
3193 2008-03-14 18:57:35 +0100 Carlos Garnacho
3195 Deprecate direct access to public variables in GtkButton.
3197 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3199 2008-03-14 18:56:23 +0100 Carlos Garnacho
3201 Deprecate direct access to public variables in GtkButtonBox.
3203 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3205 2008-03-14 18:54:35 +0100 Carlos Garnacho
3207 Deprecate direct access to public variables in GtkBox.
3209 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3211 2008-03-09 11:50:41 +0100 Carlos Garnacho
3213 Seal GtkMessageDialog public vars
3215 2008-03-09 11:38:00 +0100 Carlos Garnacho
3217 Seal GtkDialog public vars
3219 2008-03-09 11:32:05 +0100 Carlos Garnacho
3221 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3223 2008-03-09 11:31:46 +0100 Carlos Garnacho
3225 Seal GtkAssistant public fields
3227 2008-03-09 11:31:30 +0100 Carlos Garnacho
3229 Seal GtkNotebook public fields
3231 2008-03-07 20:29:47 +0100 Mikael Hallendal
3233 Deprecate direct access to child in GtkBin.
3235 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3237 2008-03-07 18:25:59 +0000 Martyn Russell
3239 Sealed GtkAccelGroup and added
3241 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3242 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3243 macro for public struct members which should be private.
3245 2008-03-07 18:54:22 +0100 Mikael Hallendal
3247 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3249 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3251 2008-03-07 18:48:29 +0100 Mikael Hallendal
3253 Deprecate arrow_type and shadow_type direct access in GtkArrow.
3255 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3257 2008-03-07 18:35:12 +0100 Mikael Hallendal
3259 Added GSEAL to GtkAlignment.
3261 * gtk/gtkalignment.h: Seal the object data with GSEAL.
3263 2008-03-07 15:24:27 +0100 Tim Janik
3265 Introduce GSEAL() macro.
3267 * configure.in: define GSEAL() when generating gdkconfig.h
3269 2008-06-20 Michael Natterer <mitch@imendio.com>
3271 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3274 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3275 (gtk_combo_box_insert_text)
3276 (gtk_combo_box_prepend_text)
3277 (gtk_combo_box_remove_text)
3278 (gtk_combo_box_real_get_active_text): apply patch from Christian
3279 Dywan which adds the needed g_return_if_fail() to prevent the
3282 2008-06-20 Cody Russell <cody@jhu.edu>
3284 * gdk/directfb/gdkwindow-directfb.c:
3286 Rename gdk_window_new -> _gdk_window_new and
3287 gdk_window_reparent -> _gdk_window_reparent to fix
3288 the build. (#539095, Sebastien Bacher)
3290 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3292 * gtk/gtkmenuitem.c: remove an unused variable and cast
3293 accel_path to gchar, just like in gtkmenu.c
3295 2008-06-19 Matthias Clasen <mclasen@redhat.com>
3297 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3300 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3302 * gtk/gtkprintbackend.c: Fix a typo in a comment
3304 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3305 Cast buf to unsigned char to avoid two compiler
3309 * gtk/gtkstyle.c (gtk_style_finalize):
3310 Do not ignore the return value of g_slist_remove.
3311 gtkstyle.c changes rubberstamped by Owen.
3313 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3315 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
3316 (gtk_tree_view_set_enable_tree_lines):
3317 gdk_gc_set_dashes expects a list of gint8, not guint8.
3319 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3321 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
3322 Remove an unused variable and cast to gchar to avoid a compiler
3325 2008-06-19 Christian Persch <chpe@gnome.org>
3327 * docs/reference/gtk/gtk-sections.txt:
3329 * gtk/gtkclipboard.c:
3330 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
3331 targets. Bug #537639.
3333 2008-06-19 Christian Persch <chpe@gnome.org>
3335 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
3336 hardcoded target tables. Bug #516092.
3338 2008-06-19 Christian Persch <chpe@gnome.org>
3340 * gdk-pixbuf/gdk-pixbuf-io.c:
3341 * gdk-pixbuf/gdk-pixdata.c:
3342 * gdk-pixbuf/io-ani.c:
3343 * gdk-pixbuf/io-bmp.c:
3344 * gdk-pixbuf/io-gdip-utils.c:
3345 * gdk-pixbuf/io-gif.c:
3346 * gdk-pixbuf/io-icns.c:
3347 * gdk-pixbuf/io-ico.c:
3348 * gdk-pixbuf/io-jasper.c:
3349 * gdk-pixbuf/io-jpeg.c:
3350 * gdk-pixbuf/io-pcx.c:
3351 * gdk-pixbuf/io-png.c:
3352 * gdk-pixbuf/io-pnm.c:
3353 * gdk-pixbuf/io-ras.c:
3354 * gdk-pixbuf/io-tga.c:
3355 * gdk-pixbuf/io-tiff.c:
3356 * gdk-pixbuf/io-wbmp.c:
3357 * gdk-pixbuf/io-xbm.c:
3358 * gdk-pixbuf/io-xpm.c:
3359 * gtk/gtkfilechooserdefault.c:
3360 * gtk/gtkfilesystemmodel.c:
3361 * gtk/gtkiconfactory.c:
3362 * gtk/gtkicontheme.c:
3364 * gtk/gtkpagesetup.c:
3365 * gtk/gtkpapersize.c:
3366 * gtk/gtkprintoperation-win32.c:
3367 * gtk/gtktextbufferserialize.c:
3368 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
3370 * configure.in: Update glib requirement to 2.17.3.
3372 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3374 * demos/testpixbuf.c (new_testrgb_window):
3375 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
3376 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
3377 (gtk_item_factory_create_item):
3378 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
3379 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
3380 (gtk_progress_bar_new_with_adjustment):
3381 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
3382 * gtk/gtktext.c (gtk_text_new):
3383 * gtk/gtkviewport.c (gtk_viewport_new):
3384 * tests/simple.c (main):
3385 * tests/testgtk.c (create_statusbar), (create_get_image),
3386 (create_saved_position), (create_tooltips), (create_cursors),
3387 (create_display_screen), (create_progress_bar), (create_idle_test):
3388 * tests/testmultidisplay.c (make_selection_dialog), (main):
3389 * tests/testmultiscreen.c (main):
3390 * tests/testrgb.c (new_testrgb_window):
3391 Use g_object_new instead of gtk_widget_new
3393 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3395 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
3397 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
3400 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
3401 to avoid a gcc warning.
3403 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3405 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
3406 the filename in the name entry in CREATE_FOLDER mode when changing
3407 folders, so that you can enter a new subfolder name, double-click on a
3408 folder to change to it, and close the dialog.
3410 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
3411 the filename in the entry in CREATE_FOLDER mode, either.
3413 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3415 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
3416 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
3419 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
3420 clear the entry for CREATE_FOLDER either; this needs the same
3421 behavior as SAVE mode.
3422 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
3425 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3427 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
3428 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3429 (model_add_bookmarks):
3430 (model_update_current_folder):
3431 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
3432 (shortcuts_reload_icons): Use standard icon names.
3434 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3436 * gtk/Makefile.am: Add some more aliases for standard
3437 icon names to the builtin icon theme: drive-harddisk,
3438 folder, folder-remote, text-x-generic.
3440 2008-06-18 Michael Natterer <mitch@imendio.com>
3442 * gtk/gtkcalendar.c: set the maximum of the "year" property to
3443 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
3444 calculations which in turn caused writing beyond the boundaries of
3445 the calendar->day_month[] and day[] arrays which in turn caused a
3446 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
3448 2008-06-18 Michael Natterer <mitch@imendio.com>
3451 * tests/autotestfilechooser.c
3452 * tests/buildertest.c
3453 * tests/defaultvaluetest.c
3454 * tests/floatingtest.c
3455 * tests/objecttests.c
3456 * tests/pixbuf-init.c
3457 * tests/textbuffertest.c: remove unit tests here...
3459 * gtk/tests/Makefile.am
3460 * gtk/tests/builder.c
3461 * gtk/tests/defaultvalue.c
3462 * gtk/tests/filechooser.c
3463 * gtk/tests/floating.c
3464 * gtk/tests/object.c
3465 * gtk/tests/pixbuf-init.c
3466 * gtk/tests/textbuffer.c: ...and add them here.
3468 2008-06-18 Michael Natterer <mitch@imendio.com>
3470 * gdk/gdk.h: deprecate GdkDestroyNotify.
3474 * gdk/x11/gdkevents-x11.c
3475 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
3477 2008-06-18 Michael Natterer <mitch@imendio.com>
3479 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
3481 * gtk/gtkactiongroup.[ch]
3482 * gtk/gtkcombobox.[ch]
3483 * gtk/gtkcontainer.[ch]
3484 * gtk/gtkliststore.[ch]
3488 * gtk/gtktreedatalist.[ch]
3489 * gtk/gtktreemodelfilter.[ch]
3490 * gtk/gtktreemodelsort.[ch]
3491 * gtk/gtktreeprivate.h
3492 * gtk/gtktreeselection.[ch]
3493 * gtk/gtktreesortable.[ch]
3494 * gtk/gtktreestore.[ch]
3495 * gtk/gtktreeview.[ch]
3496 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
3498 2008-06-18 Michael Natterer <mitch@imendio.com>
3500 * tests/testgtk.c: some more undeprecation.
3502 2008-06-18 Michael Natterer <mitch@imendio.com>
3504 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3507 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3509 2008-06-18 Michael Natterer <mitch@imendio.com>
3511 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3513 * gtk/gtk.symbols: changed accordingly.
3515 * gtk/gtksettings.c (gtk_settings_install_property)
3516 (gtk_settings_install_property_parser): get rid of using
3517 gtk_type_class() by keeping a static reference to GtkSettingsClass
3518 around in both functions and passing that pointer on to
3519 settings_install_property_parser().
3521 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3524 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3527 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3529 * gtk/gtkstyle.c: Add deprecated version
3530 and change the deprecation markup used by ref/unref
3532 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3535 Add deprecated versions and fixup markup.
3537 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3539 * gtk/gtkaboutdialog.c:
3540 * gtk/gtkbutton.c (gtk_button_class_init):
3541 Don't markup deprecated in italics.
3543 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3545 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3546 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3548 2008-06-17 Michael Natterer <mitch@imendio.com>
3550 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3552 2008-06-17 Michael Natterer <mitch@imendio.com>
3554 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3555 function gtk_object_init_type().
3557 2008-06-17 Michael Natterer <mitch@imendio.com>
3559 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3560 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3561 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
3564 2008-06-17 Tor Lillqvist <tml@novell.com>
3566 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3567 #undef/#define dance here, too, because
3568 gtk_notebook_set_group_id() is deprecated but used here before it
3569 is defined, and gcc complains about conflicting type from the
3570 implicit int declaration when it sees the actual void definition.
3572 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3575 2008-06-17 Michael Natterer <mitch@imendio.com>
3577 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3584 * gtk/gtkoldeditable.c
3587 * gtk/gtktipsquery.c
3589 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3590 actually use deprecated symbols (not just types or macros),
3591 #define it again before #include "gtkalias.h" so the symbols match
3592 and the beast links.
3594 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3596 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3598 2008-06-17 Michael Natterer <mitch@imendio.com>
3600 * modules/input/gtkimcontextmultipress.h
3601 * modules/input/gtkimcontextthai.h
3602 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3603 type checking macros.
3605 2008-06-17 Michael Natterer <mitch@imendio.com>
3607 * gtk/gtktypeutils.h: really move the GtkType typedef to an
3608 undeprecated section.
3610 2008-06-17 Michael Natterer <mitch@imendio.com>
3612 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3613 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3614 Move the GtkType typedef to an undeprecated section.
3616 2008-06-17 Michael Natterer <mitch@imendio.com>
3618 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3619 of GTK_CHECK ones because it's the parent class of an undeprecated
3620 class and the GTK_CHECK stuff will soon be deprecated.
3622 2008-06-17 Michael Natterer <mitch@imendio.com>
3625 * gtk/gtkinputdialog.c
3626 * gtk/gtkmenutoolbutton.c
3627 * gtk/gtkoptionmenu.c
3629 * gtk/gtktooltips.c: add or move around
3630 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3631 deprecated stuff again (with the minor glitch that it doesn't
3632 link ;) but at least it's a tool to keep the code clean).
3634 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3636 * gtk/gtkrecentmanager.c:
3637 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3640 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3642 * gtk/gtkrecentmanager.c:
3643 (gtk_recent_manager_remove_item),
3644 (gtk_recent_manager_move_item): Increase the consistency of the
3645 errors returned by GtkRecentManager. (Paolo Borelli)
3647 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3649 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3651 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3653 * gtk/gtkrecentmanager.c:
3654 (gtk_recent_manager_remove_item): Consistently use the same
3655 error when removing a URI from an empty GtkRecentManager.
3657 2008-06-17 Michael Natterer <mitch@imendio.com>
3659 * gtk/gtkfilechooserdefault.c: remove static integer variables
3660 which hold the number of members in GtkTargetEntry arrays and use
3661 G_N_ELEMENTS() directly instead.
3663 2008-06-17 Michael Natterer <mitch@imendio.com>
3665 * gtk/gtk.symbols: move some deprecated symbols into
3666 #ifndef GTK_DISABLE_DEPRECATED.
3668 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3670 * gtk/gtkfilechooserdefault.c:
3671 (gtk_file_chooser_default_init),
3672 (gtk_file_chooser_default_constructor),
3673 (gtk_file_chooser_default_screen_changed),
3674 (recent_start_loading): Remove the GtkRecentManager screen
3675 dance, as it has been deprecated since 2.12. Now we get the
3676 GtkRecentManager singleton whewn we create the FileChooserDefault
3677 instance. (Michael Natterer)
3679 2008-06-17 Michael Natterer <mitch@imendio.com>
3681 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3682 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3684 2008-06-17 Michael Natterer <mitch@imendio.com>
3686 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3689 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3690 in via deprecated headers.
3692 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3694 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3696 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3697 against XKB being stupid. Reported by Pedro Villavicencio.
3699 2008-06-17 Michael Natterer <mitch@imendio.com>
3701 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3702 and unref() instead of the deprecated gtk_widget_ref() and unref().
3704 2008-06-16 Michael Natterer <mitch@imendio.com>
3706 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3707 svn since 2.8 but was never used.
3709 2008-06-16 Michael Natterer <mitch@imendio.com>
3711 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3712 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3713 (the former is deprecated and #defined to gtk_binding_entry_clear)
3715 2008-06-16 Michael Natterer <mitch@imendio.com>
3717 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3718 unused) "gtkmarshal.h".
3720 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
3722 Bug 538182 – pango_cairo_context_update_layout is not noop after
3723 gtk_widget_create_pango_layout
3725 * gtk/gtksettings.c (settings_update_font_options): Make sure all
3726 font option fields are set to non-DEFAULT values.
3728 2008-06-16 Michael Natterer <mitch@imendio.com>
3733 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3734 gtk_rc_style_unref().
3736 2008-06-16 Michael Natterer <mitch@imendio.com>
3738 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
3739 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
3740 gtk_marshal_BOOLEAN__VOID.
3742 2008-06-16 Michael Natterer <mitch@imendio.com>
3744 * gtk/gtkcellrendereraccel.h
3746 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
3747 macros for type checking.
3749 (gtk_object_get_type): change prototype to return GType instead of
3752 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3754 * gtk/Makefile.am: Make folder, user-home and user-desktop links
3755 to gtk-directory in the builtin icon theme, so that we can
3756 use these icon names without risk of ending up without an icon.
3758 2008-06-16 Tor Lillqvist <tml@novell.com>
3760 Bug 538362 - Get Win32 icons back in the file chooser
3762 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
3763 reference to an icon resource in a DLL or .EXE in the same format
3764 as the DefaultIcon strings in the Registry. In that case, extract
3765 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
3766 code has to be in sync with the corresponding code in
3767 glib/gio/gcontenttype.c.
3769 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3771 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
3772 to the builtin icon theme, to avoid showing broken images when
3773 there is no icon theme around. The new icons are thanks to
3776 2008-06-16 Michael Natterer <mitch@imendio.com>
3778 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
3779 GtkFileChooserDefault struct.
3781 * gtk/gtkfilechooserdefault.c: don't allocate and free the
3784 2008-06-16 Carlos Garnacho <carlos@imendio.com>
3786 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
3789 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
3790 Allow again setting any of the properties to render an image back to
3793 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3795 * gtk/gtkimage.c: When pixel-size is specified, use
3796 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
3798 2008-06-15 Carlos Garnacho <carlos@imendio.com>
3800 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
3801 path here as expected, not just the basename.
3803 * gtk/gtkfilechooserdefault.c
3804 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
3805 a reference to file, since it can be destroyed when switching back to
3808 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
3809 and desktop directories are dealt by the filechooser as normal files,
3810 not volumes, so the icon for these is handled directly by GIO.
3811 (_gtk_file_system_volume_render_icon): Update caller.
3813 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3815 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
3817 2008-06-14 Cody Russell <bratsche@gnome.org>
3819 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
3821 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
3822 according to MSDN docs, associates the open clipboard with the
3823 current task. (#378158, reported by Andreas Köhler)
3825 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3827 * configure.in: Bump version
3829 * === Released 2.13.3 ===
3831 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3833 * gtk/gtkaccelgroup.c: Add some docs
3835 * gdk/gdkwindow.c: Fix doc typos
3837 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3839 * gtk/gtkfilesystem.c: Avoid PLT entries by including
3842 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3844 * gtk/gtkfilechooserbutton.c:
3845 * gtk/gtkfilechooserdefault.c:
3846 * gtk/gtkfilechooserentry.c:
3847 * gtk/gtkfilesystem.c:
3848 * gtk/gtkfilesystem.h:
3849 * gtk/gtkfilesystemmodel.c:
3850 * gtk/gtkpathbar.c: Really make GtkFileSystem private
3851 by _-prefixing all functions.
3853 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3855 * docs/RELEASE-HOWTO: Updates
3856 * INSTALL.in: Bump version
3858 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3862 2008-06-13 Michael Natterer <mitch@imendio.com>
3864 * gtk/gtkcellrendereraccel.h
3865 * gtk/gtkfilechooser.h
3866 * gtk/gtkfilechooserdialog.h
3867 * gtk/gtkfilechooserwidget.h
3868 * gtk/gtkmenutoolbutton.h
3869 * gtk/gtkpagesetup.h
3870 * gtk/gtkpapersize.h
3871 * gtk/gtkprintcontext.h
3872 * gtk/gtkprintoperation.h
3873 * gtk/gtkprintoperationpreview.h
3874 * gtk/gtkprintsettings.h
3875 * gtk/gtkradiotoolbutton.h
3876 * gtk/gtkrecentchooser.h
3877 * gtk/gtkrecentchooserdialog.h
3878 * gtk/gtkrecentchoosermenu.h
3879 * gtk/gtkrecentchooserwidget.h
3880 * gtk/gtkseparatortoolitem.h
3882 * gtk/gtktoggletoolbutton.h
3884 * gtk/gtktoolbutton.h
3885 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
3886 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
3888 2008-06-13 Michael Natterer <mitch@imendio.com>
3890 * gtk/gtktexttagtable.h: remove double inclusion of
3893 2008-06-13 Michael Natterer <mitch@imendio.com>
3895 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
3896 local "image" variable from GtkImage to GtkWidget to fix warning.
3898 2008-06-13 Michael Natterer <mitch@imendio.com>
3900 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
3901 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3903 2008-06-13 Michael Natterer <mitch@imendio.com>
3905 * gtk/gtkuimanager.c (start_element_handler): silently skip
3906 unknown attributes instead of bailing out with an error in order
3907 to be compatible with possible future attribute names.
3909 This is related to the discussion in bug #516425 but actually
3910 needed for any kind of XML format extension.
3912 2008-05-23 Hans Breuer <hans@breuer.org>
3914 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
3915 Avoids crashing when the target can not be written, bug #537685
3917 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
3919 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
3920 it was not needed here anyway.
3922 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3924 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
3925 Patch by Jan Arne Peterson
3927 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3929 Bug 537985 – gtk_init_with_args() doesn't open a display after
3932 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
3933 even when gtk_parse_args() has already been called.
3934 Patch by Mathias Hasselmann
3936 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3938 Bug 524222 – GtkToolbar with mix of buttons with and without
3941 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
3942 Improve appearance of "both vertical" mode toolbuttons.
3943 Patch by Peter Johanson
3945 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3947 Bug 519092 – Add accessibility support to GtkVolumeButton
3949 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
3950 Patch by Jonh Wendell
3952 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3954 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
3955 GtkAction has problems
3956 Patch by Peter Johanson
3958 * gtk/gtkaction.c (connect_proxy): Set the image of a button
3959 proxy to the "icon-name" property.
3961 (gtk_action_set_short_label): If the "image" property is set
3962 on the button proxy, also tries to set the "label" property on
3965 2008-06-12 Michael Natterer <mitch@imendio.com>
3968 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
3969 in via "gtkintl.h" from <glib/gi18n-lib.h>.
3971 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3973 RH bug 248245 and 449379: cups client printing from gnome
3976 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
3977 printer URI construction. Patch by Marek Kasik
3979 2008-06-12 Michael Natterer <mitch@imendio.com>
3981 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
3982 limit the number of displayed items by the actual screen height
3983 instead of some arbitrary value (Bug #408154, Xan Lopez and
3986 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
3988 Bug 503071 – Application direction changes to right to left even if
3989 theres no translation
3991 * configure.in: Bump glib requirement.
3993 * gtk/gtkaccellabel.c
3994 (_gtk_accel_label_class_get_accelerator_label):
3995 * gtk/gtkactiongroup.c (dgettext_swapped):
3996 * gtk/gtkbuilder.c (gtk_builder_class_init):
3997 * gtk/gtkbuilderparser.c (_dpgettext),
3998 (_gtk_builder_parser_translate):
3999 * gtk/gtkfilechooserdefault.c (list_size_data_func):
4000 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
4002 * gtk/gtkmain.c (setlocale_initialization),
4003 (do_pre_parse_initialization), (gettext_initialization):
4004 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
4005 Use g_dgettext() and g_dngettext().
4007 2008-06-11 Matthias Clasen <mclasen@redhat.com>
4009 * docs/RELEASE-HOWTO: Updates
4011 2008-06-11 Tor Lillqvist <tml@novell.com>
4013 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
4014 support Win9x anyway, we can use ProcessIdToSessionId()
4017 2008-06-11 Michael Natterer <mitch@imendio.com>
4019 * gtk/gtkfilechooserbutton.c: fix local prototype of
4020 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
4022 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4024 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
4026 * gtk/gtkoptionmenu.c:
4027 * gtk/gtkcombobox.c: Set the window type hint on popups.
4028 Patch by Danny Baumann
4030 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4032 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
4033 (gtk_file_system_volume_render_icon): Add standard icon names,
4034 and also fall back to builtin gtk stock icons.
4036 2008-06-10 Christian Persch <chpe@gnome.org>
4038 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4039 (gtk_tree_view_maybe_begin_dragging_row),
4040 (gtk_tree_view_set_reorderable),
4041 (gtk_tree_view_enable_model_drag_source),
4042 (gtk_tree_view_enable_model_drag_dest),
4043 (gtk_tree_view_unset_rows_drag_source),
4044 (gtk_tree_view_unset_rows_drag_dest): Make
4045 gtk_tree_view_enable_model_drag_[source|dest] compatible with
4046 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4048 2008-06-10 Christian Persch <chpe@gnome.org>
4050 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4051 (dest_row_free), (set_dest_row), (ensure_info),
4052 (gtk_tree_view_remove), (gtk_tree_view_put),
4053 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4056 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4058 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4059 use g_file_new_for_uri.
4061 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4063 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4066 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4070 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4071 #520874, comment #8. It's no longer used directly by GTK+.
4073 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4075 Bug 520874 - Should use gio directly.
4077 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4078 provides helper functions for asynchronous calls, folder abstraction
4079 and uniform handling of volumes/drives/mounts.
4081 * gtk/gtkfilesystemwin32.[ch]:
4082 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4084 * gtk/gtkfilechooser.c:
4085 * gtk/gtkfilechooserbutton.c:
4086 * gtk/gtkfilechooserdefault.c:
4087 * gtk/gtkfilechooserentry.[ch]:
4088 * gtk/gtkfilechooserprivate.h:
4089 * gtk/gtkfilechooserutils.c:
4090 * gtk/gtkfilesystemmodel.[ch]:
4091 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4092 Do not load filesystem implementation modules.
4095 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4096 anymore, nor the unix/win32 implementations.
4098 * README.in: Add blurb about these changes.
4100 2008-06-09 Kristian Rietveld <kris@gtk.org>
4102 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4104 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4105 (gtk_cell_renderer_combo_set_property),
4106 (gtk_cell_renderer_combo_editing_done),
4107 (gtk_cell_renderer_combo_start_editing): introduce private class
4108 struct, allow model to be set to NULL.
4110 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
4112 Bug 131920 – gtkNotebook sends incorrect switch_page value
4114 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4115 signal send correct page index when page index 0 is active and
4116 removed. (#131920, Samuel Fogh)
4118 2008-06-08 Kristian Rietveld <kris@gtk.org>
4120 Bug 536730 - memory corruption in gtktreeview
4122 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4123 remove the expand/collapse timeout and node, then free the rbtree.
4125 2008-06-08 Kristian Rietveld <kris@gtk.org>
4127 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4129 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4130 find path if we found valid nodes, return FALSE otherwise. (Patch
4131 from Matthias Clasen).
4133 2008-06-08 Matthias Clasen <mclasen@redhat.com>
4135 * gtk/gtkrecentmanager.c:
4136 * gtk/gtkrecentfilter.c:
4137 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4140 2008-06-08 Christian Persch <chpe@gnome.org>
4142 Bug 535608 – do not string-copy accel paths in the menu code
4144 * gtk/gtkaccelgroup.c:
4145 * gtk/gtkaccelmap.c:
4148 * gtk/gtkmenuitem.c:
4149 * gtk/gtkwidget.c: Don't store the accel path as a string in
4150 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4151 keeping a string copy around is just a waste of memory.
4152 Improve the documentation to mention this.
4154 2008-06-07 Tor Lillqvist <tml@novell.com>
4156 Bug 536990 - updateiconcache.c: 'close ()' is redundant
4158 * gtk/updateiconcache.c (build_cache): Drop redundant close()
4159 calls. fclose() on a fdopen()ed stream closes the underlying file
4162 2008-06-06 Matthias Clasen <mclasen@redhat.com>
4164 Bug 536757 – regression: openoffice.org menus are placed at wrong
4165 position since 2.12.10
4167 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4168 Return the right coordinates.
4170 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
4172 Bug 536185 – monitor font configuration
4175 * gdk/x11/gdksettings.c:
4176 * gtk/gtksettings.c (gtk_settings_class_init),
4177 (gtk_settings_notify), (settings_update_fontconfig):
4178 Monitor xsettings key Fontconfig/Timestamp and upon change,
4179 reread fontconfig configuration, clear Pango's caches, and
4182 2008-06-06 Ross Burton <ross@burtonini.com>
4185 Fix trivial typo in documentation.
4187 2008-06-06 Tor Lillqvist <tml@novell.com>
4189 * config.h.win32.in: Slight update to match what configure
4192 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
4194 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4195 constant to the end of the list, to avoid breaking the stable ABI
4197 2008-06-05 Michael Natterer <mitch@imendio.com>
4199 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4201 2008-06-05 Li Yuan <li.yuan@sun.com>
4203 * gail-uninstalled.pc.in:
4204 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4205 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4207 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4209 * docs/RELEASE-HOWTO: Update a bit
4211 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4213 * configure.in: Bump version
4215 * === Released 2.13.2 ===
4217 2008-06-03 Federico Mena Quintero <federico@novell.com>
4219 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4220 If the user presses Tab while the completion feedback window is
4221 active, then we'll assert. Remove the assertion and just re-set
4222 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4224 2008-06-03 Colin Walters <walters@redhat.com>
4226 Bug 535303 – add _get_implementation to GtkStatusIcon
4228 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4229 function to retrieve internal X11 window ID, useful for libnotify.
4230 * gtk/gtkstatusicon.h: Prototype it.
4231 * docs/reference/gtk/gtk-sections.txt: Add to docs.
4232 * gtk/gtk.symbols: Export it.
4234 2008-06-03 Tor Lillqvist <tml@novell.com>
4236 * gtk/updateiconcache.c (build_cache): Use g_open().
4238 2008-06-03 Michael Natterer <mitch@imendio.com>
4241 * gtk/gtkctree.h: revert includes to how they have been before the
4242 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4243 that you can't include <gtk/gtk.h> from two headers where one is a
4244 parent class of the other and expect them both to be includable
4247 2008-06-03 Michael Natterer <mitch@imendio.com>
4249 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4251 2008-06-02 Matthias Clasen <mclasen@redhat.com>
4253 Bug 536092 – GtkEntryCompletion's popup window should set type hint
4255 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4256 a type hint on the popup window to help compiz.
4257 Patch by Vaclav Slavik.
4259 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
4261 Bug 535862 – gtk_action_create_icon can't create icons from the
4264 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4265 the default factories as it's supposed.
4267 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
4269 Bug 535497 – Print preview doesn't work.
4271 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4272 instead of launching Preview.app directly.
4274 2008-06-02 Michael Natterer <mitch@imendio.com>
4276 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4277 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4280 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
4282 Bug 535830 – wrong content type adding an item
4284 * gtk/gtkrecentmanager.c:
4285 (gtk_recent_manager_add_item_query_info): Use the correct API
4286 for retrieving the fast MIME type of a URI. (Carlos Garcia
4289 2008-05-31 Kristian Rietveld <kris@imendio.com>
4291 Bug 530146 - Setting non-string tooltip with
4292 gtk_tree_view_set_tooltip_column() segfaults
4294 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4295 gtk_tree_model_get_value() and explicitly transform the value to a
4296 string before setting it as tooltip.
4298 2008-05-30 Tor Lillqvist <tml@novell.com>
4300 * modules/engines/ms-windows/msw_style.h
4301 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4303 2008-05-30 Michael Natterer <mitch@imendio.com>
4305 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4306 GDestroyNotify when using it in g_object_set_data_full().
4308 2008-05-30 Michael Natterer <mitch@imendio.com>
4310 * gdk/gdkapplaunchcontext.h
4311 * gdk/gdktestutils.h
4312 * gtk/gtkmountoperation.h
4314 * gtk/gtktestutils.h
4315 * gtk/gtktoolshell.h: no need to allow disabling single includes
4316 conditionally in these new files. Simply forbid including them
4317 individually from the beginning.
4319 2008-05-30 Tor Lillqvist <tml@novell.com>
4321 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
4323 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
4326 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4328 * configure.in: Bump version
4330 * === Released 2.13.1 ===
4334 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4336 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
4338 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4340 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
4342 2008-05-29 Tor Lillqvist <tml@novell.com>
4344 Bug 535526 - updateiconcache.c: using open/close without prototype
4346 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
4347 g_utime() when available instead of utime() for UTF-8 pathname
4350 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
4352 Bug 56355 – GtkLabel - Not all changes propagate correctly
4354 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
4355 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
4356 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
4357 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
4358 notifications of mnemonic-keyval changes.
4360 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4362 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
4364 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
4365 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
4366 * gtk/gtk.symbols: Additions
4367 * tests/testimage.c: Add a GIcon test
4369 2008-05-29 Michael Natterer <mitch@imendio.org>
4372 * gtk/gtkunixprint.h: add a single-include header for the unix
4375 * gtk/gtkpagesetupunixdialog.h
4378 * gtk/gtkprintunixdialog.h: add single-include guards that #error
4379 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
4380 files is included individually.
4382 * gtk/gtkprintbackend.h
4383 * gtk/gtkprinter-private.h
4384 * modules/printbackends/cups/gtkprintbackendcups.c
4385 * modules/printbackends/cups/gtkprintercups.h
4386 * modules/printbackends/lpr/gtkprintbackendlpr.c
4387 * tests/buildertest.c
4388 * tests/defaultvaluetest.c
4389 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
4392 2008-05-28 Michael Natterer <mitch@imendio.com>
4394 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
4395 excess newlines and sprinkled some newlines where needed. Zero
4396 code or formatting changes included.
4398 2008-05-28 Michael Natterer <mitch@imendio.com>
4400 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
4402 2008-05-28 Michael Natterer <mitch@imendio.com>
4404 * gtk/gtkcolorbutton.h: fix comment: the widget is called
4405 GtkColorButton, not GtkColorSelectButton. Remove trailing
4406 whitespace and excess newlines.
4408 2008-05-28 Michael Natterer <mitch@imendio.com>
4410 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
4411 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
4412 to CPPFLAGS so it's impossible to commit code that would break
4413 apps which use DISABLE_INCLUDE defines.
4415 2008-05-28 Michael Natterer <mitch@imendio.com>
4417 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
4420 * gtk/gtktypebuiltins.h.template
4421 * gtk/gtkversion.h.in
4422 * gtk/gtk*.h: add single-include guards that #error out if
4423 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4424 included individually.
4426 * gtk/gtkprintbackend.h
4427 * gtk/gtkprinter-private.h
4428 * gtk/gtktextlayout.h
4429 * gtk/gtktexttagprivate.h
4430 * gtk/gtktexttypes.h
4431 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
4432 headers in these private or semi-private headers.
4434 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
4436 * gtk/gtkpagesetupunixdialog.h
4439 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
4445 * gtk/gtkitemfactory.h
4448 * gtk/gtkoldeditable.h
4449 * gtk/gtkoptionmenu.h
4453 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
4454 instead of individual headers in these deprecated headers. They
4455 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
4456 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
4457 and include them individually, which should continue to work.
4459 * gtk/gtkclist.c: include "gtkctree.h" because of the change
4462 2008-05-28 Kristian Rietveld <kris@imendio.com>
4464 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
4467 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
4468 cursor_offset *must* be larger than background height of the cursor
4469 node, not just equal otherwise there is no guarantee there is a next
4472 2008-05-28 Michael Natterer <mitch@imendio.com>
4474 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
4476 2008-05-28 Michael Natterer <mitch@imendio.com>
4478 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
4481 * gdk/gdkenumtypes.h.template
4482 * gdk/gdk*.h: add single-include guards that #error out if
4483 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4484 included individually. Also removed some redundant includes and
4485 did some tiny trailing whitespace removal that's not worth to
4488 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
4491 * gdk/win32/gdkwin32.h
4492 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
4495 2008-05-28 Kristian Rietveld <kris@imendio.com>
4497 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
4498 current widget again.
4500 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4501 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4502 custom_was_reset field to check if the custom widget is set again in
4503 the query-tooltip callback; if not, we set it to NULL. Based on a
4504 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4505 and Christian Persch.
4507 2008-05-28 Michael Natterer <mitch@imendio.com>
4509 * modules/printbackends/cups/gtkcupsutils.c
4510 * modules/printbackends/cups/gtkprintbackendcups.c
4511 * modules/printbackends/file/gtkprintbackendfile.c
4512 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4513 <gtk/gtk.h> instead of individual files.
4515 2008-05-28 Michael Natterer <mitch@imendio.com>
4517 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4520 2008-05-28 Kristian Rietveld <kris@imendio.com>
4522 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4524 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4525 ->priv->tree != NULL. Suggestion from Stefan Kost.
4527 2008-05-28 Kristian Rietveld <kris@imendio.com>
4529 Bug 324282 - add selected signal to cell renderer combo.
4531 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4532 (gtk_cell_renderer_combo_changed),
4533 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4534 that will be emitted as soon as the combo box emitted changed and has
4535 an active iterator. (Modified patch based on work by James
4538 * gtk/gtkmarshalers.list: add marshaler.
4540 2008-05-28 Kristian Rietveld <kris@imendio.com>
4542 Refactor expand/collapse timeout handling (amendment to bug 511217).
4544 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4545 (remove_expand_collapse_timeout): new functions, the remove function
4546 also clears expanded_collapsed_node,
4547 (cancel_arrow_animation): moved to be next to the add/remove timeout
4549 (gtk_tree_view_unrealize),
4550 (gtk_tree_view_row_deleted),
4551 (gtk_tree_view_set_model),
4552 (cancel_arrow_animation),
4553 (gtk_tree_view_real_expand_row),
4554 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4556 2008-05-28 Kristian Rietveld <kris@imendio.com>
4558 Amendment of bug 485218 - Strange warning encountered.
4560 * gtk/gtktreemodelsort.[ch]
4561 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4562 indication whether or not the conversion had succeeded.
4564 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4566 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4568 * modules/printbackends/cups/gtkprintbackendcups.c
4569 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4570 if the printer does not support level 3. Patch by Marek Kašík.
4572 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4574 Bug 404571 - Scroll arrow backgrounds should be painted with different
4577 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
4578 as detail when drawing scroll arrow backgrounds. Proposed by
4581 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4583 Bug 511217 - potential memory corruption after refreshing a tree_view
4585 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4586 expanded_collapsed_node when canceling the animation.
4587 Patch by Nicholas Setton.
4589 2008-05-28 Michael Natterer <mitch@imendio.com>
4591 * modules/input/gtkimcontextime.h
4592 * modules/input/gtkimcontextmultipress.h
4593 * modules/input/gtkimcontextthai.h
4594 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4597 * modules/input/gtkimcontextime.c
4598 * modules/input/gtkimcontextmultipress.c
4599 * modules/input/gtkimcontextxim.c
4600 * modules/input/imam-et.c
4601 * modules/input/imcedilla.c
4602 * modules/input/imcyrillic-translit.c
4603 * modules/input/iminuktitut.c
4604 * modules/input/imipa.c
4605 * modules/input/imti-er.c
4606 * modules/input/imti-et.c
4607 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4608 "gtk/gtkintl.h" to the end of includes.
4610 2008-05-28 Michael Natterer <mitch@imendio.com>
4612 * modules/engines/pixbuf/pixbuf-style.h
4613 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4614 instead of individual files.
4616 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4618 Bug 485218 - Strange warning encountered
4620 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4621 (gtk_tree_model_sort_convert_child_iter_to_iter):
4622 (gtk_tree_model_sort_build_level): Better warnings. Patch
4623 by Kristian Rietveld.
4625 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4627 Bug 351910 - Search column setting lost
4629 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4630 the docs. Patch by Matt Barnes.
4632 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4634 Bug 477278 - avoid unnecessary pointer subtraction
4636 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
4637 subtraction that sparse complains about. Patch by Christian
4640 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4642 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4644 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4645 Commit the entry text before doing an increment. Patch by
4648 2008-05-27 Federico Mena Quintero <federico@novell.com>
4650 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4651 drag and drop from the file list into itself, as it doesn't make
4652 sense (it would just change the current folder).
4654 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4655 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4658 2008-05-27 Michael Natterer <mitch@imendio.com>
4660 * gtk/gtksignal.h: move deprecated guards around everything,
4661 including includes and include guards (just as in all other
4664 2008-05-27 Tor Lillqvist <tml@novell.com>
4666 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4667 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4668 <sys/stat.h> on Windows, and the mode used in open() doesn't
4669 matter much as there are no rwxrwxrwx bits on Windows anyway.)
4670 Open file in binary mode. Passing "b" to fdopen() later isn't
4673 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
4675 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4676 invalid or invisible widgets.
4678 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4680 Bug 531008 – Crash in gtkprintunixdialog.c
4682 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4683 the dialog closes. Patch by Yevgen Muntyan.
4685 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4687 RH bug 248245: cups client printing from gnome applications fail
4689 * modules/printbackends/cups/gtkprintbackendcups.c
4690 (gtk_print_backend_cups_print_stream): Specify the right server.
4692 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4694 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4695 rubberbanding when "select-multiple" is TRUE. Bug #446068.
4697 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4699 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4700 correctly dialog buttons sensitivity when the anonymous option is
4701 enabled by default. Bug #531865.
4703 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4705 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4706 password dialog modal and transient for the parent window also if it
4707 was specified in the constructor. Bug #531864.
4709 2008-05-26 Richard Hult <richard@imendio.com>
4711 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4712 setting the default font, might need to tweak this.
4714 2008-05-26 Michael Natterer <mitch@imendio.com>
4716 * examples/gtkdial/gtkdial.h
4717 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4719 2008-05-26 Michael Natterer <mitch@imendio.com>
4721 * gtk/gtkimmodule.h: fix indentation.
4723 2008-05-26 Michael Natterer <mitch@imendio.com>
4725 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4727 * gtk/gtkshow.c: remove inclusion of single files from gdk/
4729 Removed trailing whitespace in both files.
4731 2008-05-26 Richard Hult <richard@imendio.com>
4733 Bug 530353 – Mac-like gtk_accelerator_get_label()
4735 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4736 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4737 On quartz, make gtk_accelerator_get_label() format a Mac-like
4738 string, using unicode characters for modifier keys, arrows, delete
4739 etc. Patch from Yevgen Muntyan.
4741 2008-05-26 Richard Hult <richard@imendio.com>
4743 Bug 534869 – Length miscalculation in
4744 _gtk_quartz_get_selection_data_from_pasteboard
4746 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
4747 Get the number of bytes, not the number of characters, patch from
4750 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4752 * gtk/gtkwidget.c: Some doc formatting fixes.
4754 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4756 Bug 511163 – Remove pango_extents_to_pixels() calls
4758 * gtk/gtkcellrenderertext.c (get_size): Use
4759 pango_layout_get_pixel_extents.
4761 * configure.in: Bump Pango requirement to 1.20
4763 * INSTALL.in: Update required versions
4765 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4767 Bug 513811 – Use cairo_format_stride_for_width()
4769 * gtk/gtkhsv.c (paint_ring, paint_triangle):
4770 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
4771 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
4773 * configure.in: Bump cairo requirement to 1.6.0
4775 * INSTALL.in: Update required versions
4777 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4779 * gtk/gtkshow.[hc]: Formatting fixes
4781 * gtk/gtkmountoperation.c: Add docs
4783 2008-05-25 Cody Russell <bratsche@gnome.org>
4785 Bug 507389 – use gslice for gtksettings
4787 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
4788 Report and patch by Christian Persch.
4790 2008-05-25 Cody Russell <bratsche@gnome.org>
4792 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
4793 when options are missing
4795 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
4796 that other processes that try to open it will fail gracefully. Also
4797 fix a crasher caused by lack of a NULL check. Report and patch
4800 2008-05-25 Cody Russell <bratsche@gnome.org>
4802 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
4804 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
4805 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
4806 so that we also take into account for foreign windows.
4807 Report and patch by Nathaniel Smith.
4809 2008-05-25 Cody Russell <bratsche@gnome.org>
4811 Bug 525461 - Don't invalidate under an input-only child
4813 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
4814 Check that the window is not input-only before invalidating.
4815 Report and patch by Owen Taylor.
4817 2008-05-25 Cody Russell <bratsche@gnome.org>
4819 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
4820 window frame extents
4822 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4823 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
4825 2008-05-25 Cody Russell <bratsche@gnome.org>
4827 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
4828 caused by missing flag initialization
4830 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
4831 top-level private flags correctly. Patch by Danny Baumann.
4833 2008-05-25 Cody Russell <bratsche@gnome.org>
4835 Bug 534463 - non-editable GtkTextView should not call
4836 gtk_im_context_focus_in in focus event
4838 * gtk/gtktextview.c: Add checks to see if the textview is
4839 editable. Patch by Wang Diancheng.
4841 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4843 Bug 501730 – use GSlice for small allocs
4845 * gtk/gtkmenuitem.c:
4846 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
4847 Patch by Christian Persch.
4849 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4851 Bug 523930 – sort -> search in gtktreeview.c
4853 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
4854 glitch, pointed out by Björn Lindqvist.
4856 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4858 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
4860 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
4861 doc glitch, pointed out by Christian Persch.
4863 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4865 Bug 534694 – Col id in GtkListStore could be out of range
4867 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
4868 a bit. Pointed out by Jan Arne Petersen.
4870 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4872 Bug 532497 – Configure problem when cross-compiling
4874 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
4875 pointed out by Marko Lindqvist.
4877 2008-05-25 Richard Hult <richard@imendio.com>
4879 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4880 Slight coding style cleanup.
4882 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
4884 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
4885 Added support for parsing required toolkit versions (so that ui descriptions
4886 can target specific versions of the backend widget libraries) bug 527612.
4888 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
4889 for the added xml tags to the ui description.
4891 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
4892 for requires tag handling.
4894 2008-05-25 Richard Hult <richard@imendio.com>
4896 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
4897 gtk_drag_source_info_destroy in an idle, workaround for bug
4898 #501588, that makes any code that uses the context returned from
4899 gtk_drag_begin() crash, like treeview/iconview dnd.
4900 (GdkDragSourceOwner::provideDataForType): only use the data if we
4903 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4905 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
4906 to the drag actions to allow trash (#137717).
4908 2008-05-25 Josselin Mouette <joss@malsain.org>
4910 reviewed by: Matthias Clasen
4912 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
4913 check that tracker is actually working before using it. Fixes
4916 2008-05-25 Sven Neumann <sven@gimp.org>
4918 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
4919 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
4920 and don't create an output window if it is set.
4922 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
4923 drawing areas. Fixes bug #519317.
4925 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4927 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
4928 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
4930 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
4931 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
4932 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
4933 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
4934 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
4935 (start_spinning), (gtk_spin_button_button_release),
4936 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
4937 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
4938 (gtk_spin_button_update): Reorder strange window hierarchy of the
4939 GtkSpinButton (#466000).
4941 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4943 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
4944 fix the wrong position for right and center justified labels with
4945 logical.x > 0 (#530255).
4947 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4949 * gtk/gtkfilechooserdefault.c:
4950 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
4953 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
4955 * tests/pixbuf-lowmem.c
4956 * tests/pixbuf-random.c
4957 * tests/pixbuf-randomly-modified.c
4958 * tests/pixbuf-read.c
4959 * tests/pixbuf-threads.c
4961 * tests/testtreeview.c: Fix remaining compiler warnings in these
4964 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
4966 reviewed by: Matthias Clasen
4971 * gtk/gtkshow.c: (gtk_show_uri):
4973 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
4975 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4977 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
4979 * tests/buildertest.c: (test_list_store): Add test.
4981 2008-05-24 Matthias Clasen <mclasen@redhat.com>
4983 Bug 520989 – icon factory buildable too strict
4985 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
4986 an optional attribute.
4988 2008-05-24 Matthias Clasen <mclasen@redhat.com>
4990 Bug 387972 – gtkassistant drawing problem
4992 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
4993 GtkAssistant work better in glade.
4995 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4997 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
4998 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
4999 used in GtkToolItem) (#532787).
5001 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5003 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
5004 try to toggle the visibility of the location entry field in search and
5005 recent mode (#526422).
5007 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5009 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
5010 (shortcuts_list_create): Show parse name as tooltip for path
5011 shortcuts (#137503).
5013 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
5015 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
5016 pango_color_parse, do not reference XParseColor forms (#434991).
5018 2008-05-24 James Sharpe <jsharpe@gnome.org>
5020 * gdk/gdk.symbols: Remove duplicate
5021 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
5022 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
5024 2008-05-23 Hans Breuer <hans@breuer.org>
5026 * **/makefile.msc gtk/makefile.msc.in : updated
5027 * gtk/gtkwidget.c : fix c99ism (variable at start of block
5028 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
5030 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
5031 setlocale(LC_ALL, ...)
5033 2008-05-23 Tor Lillqvist <tml@novell.com>
5035 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
5036 gdk_window_remove_redirection.
5038 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5039 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5040 changes. Remove now unnecessary parameter checks as the caller
5043 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5045 2008-05-23 Tor Lillqvist <tml@novell.com>
5047 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5048 anything if style doesn't change. Improve debugging output.
5050 2008-05-23 Michael Natterer <mitch@gimp.org>
5053 * tests/print-editor.c
5054 * tests/prop-editor.h
5055 * tests/testmountoperation.c
5056 * tests/testmultidisplay.c
5057 * tests/testnouiprint.c
5059 * tests/testprintfileoperation.h
5060 * tests/testtreesort.c
5061 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5062 files. Remove some redundant includes.
5064 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
5066 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5067 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5069 2008-05-21 Richard Hult <richard@imendio.com>
5071 * gdk/quartz/gdkwindow-quartz.c:
5072 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5073 offscreen rendering changes, fixes build.
5075 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
5077 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5079 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5080 return snapshot pixmap coordinates widget relative in *clip_rect.
5082 * tests/testgtk.c: fixed bogus NULL pointer unref.
5084 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
5086 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5087 widget's allocation to cover extra widget windows placed outside the
5088 widget allocation (spinbutton arrows are the prime example for this).
5090 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
5092 * Applied pixmap redirection patch by Alexander Larsson with
5093 various updates from:
5094 Bug 318807 – Offscreen windows and window redirection.
5099 * updated docs to mention "Since 2.16".
5101 * tests/testgtk.c: fixed snapshooting pixmap leak.
5102 convert pixmap to pixbuf after snapshooting, to compensate for different
5103 bit depths (occurs when snapshooting ARGB visuals and displaying the
5104 pixmap in an RGB visual).
5106 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5108 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5109 need for it. enqueue damage notification as GDK_DAMAGE events
5110 for each painting redirection at the start of the event queue.
5111 consider windows with a redirection fully visible when invalidating,
5112 and when updating from backing store. cleaned up stale variables.
5114 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5116 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5117 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5118 tree, drawingarea, text, handlebox, etc.
5119 clip the redirected window hierarchy to window sizes, the visible
5120 rectangles don't need to be taken into account here.
5121 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5122 in case pixmap visuals could mismatch.
5124 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5129 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5130 of possibly obscured widgets into an offscreen pixmap.
5132 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5133 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5135 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5137 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5138 implementations here, adapted them to propagate redirects to child windows.
5139 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5140 clipped to visible region. queue GDK_DAMAGE event delivery.
5141 gdk_window_redirect_to_drawable(): install window painting redirection.
5142 gdk_window_remove_redirection(): remove previously installed redirection.
5144 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5145 renamed _gdk_window_new() and _gdk_window_reparent().
5147 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5148 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5150 * gdk/gdkevents.h: added GDK_DAMAGE event type.
5152 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5154 * gdk/gdkinternals.h: added internal prototypes.
5156 2008-05-21 Michael Natterer <mitch@imendio.com>
5158 * gtk/gtkalignment.c
5162 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5164 2008-05-20 Matthias Clasen <mclasen@redhat.com>
5166 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5169 Patch by Marek Kasik.
5172 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5174 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5176 * modules/printbackends/file/gtkprintbackendfile.c:
5177 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5178 get_default_page_size.
5180 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5181 select its default paper size.
5183 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5184 use the printer default.
5186 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5187 if we don't have a default page setup.
5189 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
5191 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5192 can accept NULL for none. Fixes bug #533920.
5194 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
5196 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5197 gtk_spin_button_update): Remove two chunks of duplicated
5200 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
5202 * reverted recent unapproved changes by Yair Hershkovitz,
5203 regarding: Bug 503071 – Application direction changes to right
5204 to left even if theres no translation.
5206 2008-05-19 Richard Hult <richard@imendio.com>
5208 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5209 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5210 SetSystemUIMode instead of hiding and showing the menubar.
5212 2008-05-19 Federico Mena Quintero <federico@novell.com>
5214 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5215 can't be resized until you expand the "Browse for other folders"
5218 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5219 Removed the "get_resizable" method.
5220 (_gtk_file_chooser_embed_get_resizable): Removed.
5222 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5224 * gtk/gtkfilechooserdefault.c: Likewise.
5226 * gtk/gtkfilechooserdialog.c
5227 (file_chooser_widget_default_size_changed): Act as if the dialog
5228 were always resizable.
5230 2008-05-19 Michael Natterer <mitch@imendio.com>
5232 * gtk/gtkcellrenderer.c
5233 * gtk/gtkcellrendererpixbuf.c
5234 * gtk/gtkcellrenderertoggle.c
5235 * gtk/gtkimagemenuitem.c
5236 * gtk/gtkmenutoolbutton.c
5237 * gtk/gtkoptionmenu.c
5238 * gtk/gtkstatusbar.c
5239 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5241 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
5243 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5244 g_disable_setlocale().
5246 2008-05-17 Richard Hult <richard@imendio.com>
5248 * gdk/quartz/gdkwindow-quartz.c:
5249 (gdk_window_impl_quartz_invalidate_maybe_recurse):
5250 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5251 of g_idle_add. Add a temporary check if the window is already in
5252 the updates list, since update_area currently doesn't always match
5253 the backend's state, see bug #530801.
5255 2008-05-13 Tor Lillqvist <tml@novell.com>
5257 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5259 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5260 the "packet rate" of devices to zero instead of 50. This is
5261 reported to help significantly with Wacom tablet behaviour in GIMP
5262 and Inkscape. Patch from Thomas Bleeker.
5264 2008-05-12 Richard Hult <richard@imendio.com>
5266 * gdk/quartz/gdkevents-quartz.c:
5267 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5268 as it's no longer necessary; instead the added quartz API to get
5269 the nsevent from an event should be used. Also move the global
5270 filter up so it's done before the check for window-less events.
5272 2008-05-12 Tor Lillqvist <tml@novell.com>
5274 Bug 532558 - Cannot build dll when using separate builddir
5277 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5280 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
5282 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5284 2008-05-12 Tor Lillqvist <tml@novell.com>
5286 Bug 532059 - Leak in win32 clipboard manipulation
5288 * gdk/win32/gdkselection-win32.c
5289 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5292 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
5294 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5295 gettext_initialization only once.
5297 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5298 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
5299 with the extended functionality that was in the removed dpgettext().
5301 * gtk/gtkaccellabelc:
5303 * gtk/gtkimmulticontext.c:
5304 * gtk/gtkactiongroup.c:
5305 * gtk/gtkintl.h: use glib i18n api.
5307 2008-05-08 Richard Hult <richard@imendio.com>
5309 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
5310 currently invalidated region. Fixes bug #532048, patch by Yevgen
5313 2008-05-08 Richard Hult <richard@imendio.com>
5315 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
5316 fd's revents, not the first one. Fixes bug #531056, spotted by
5319 2008-05-07 Tor Lillqvist <tml@novell.com>
5321 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
5324 2008-05-05 Matthias Clasen <mclasen@redhat.com>
5326 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
5327 more printer status information in the print dialog.
5329 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
5330 printer-state-reasons into suitable messages and icons.
5332 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
5333 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
5334 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
5336 * gtk/gtkiconfactory.c:
5337 * gtk/gtkstock.h: New stock icons to display printer state.
5339 2008-05-07 Michael Natterer <mitch@imendio.com>
5341 * gdk/gdkinternals.h
5343 * gdk/directfb/gdkevents-directfb.c
5344 * gdk/quartz/gdkevents-quartz.c
5345 * gdk/win32/gdkevents-win32.c
5346 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
5347 order parameters src,dest and make src const.
5349 2008-05-06 Richard Hult <richard@imendio.com>
5351 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
5352 * gdk/gdkinternals.h: Add private backend data to events, and
5353 handle it when copying/freeing events. Currently only needed in
5356 * gdk/directfb/gdkevents-directfb.c:
5357 * gdk/quartz/gdkevents-quartz.c:
5358 * gdk/win32/gdkevents-win32.c:
5359 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
5360 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
5361 directfb. Implement for quartz. Part of fixing bug #473822.
5363 2008-05-05 Richard Hult <richard@imendio.com>
5365 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
5366 framework if there is one.
5368 2008-05-05 Michael Natterer <mitch@imendio.com>
5370 * gtk/gtkcellrenderercombo.h
5371 * gtk/gtkcellrendererspin.h
5372 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
5375 * gtk/gtkfilechooserdialog.h
5376 * gtk/gtkfilechooserwidget.h
5377 * gtk/gtkscalebutton.h: reorder instance and class structs to be
5380 2008-05-04 Richard Hult <richard@imendio.com>
5382 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
5383 gdk_unicode_to_keyval() worked before using the result. Makes
5384 function keys work, bug #530156. Also add F16 to the function key
5387 2008-05-04 Richard Hult <richard@imendio.com>
5389 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
5390 semicolon after if statement. Fixes bug #530963, patch from Yevgen
5393 2008-05-02 Michael Natterer <mitch@imendio.com>
5395 * gtk/gtk.h: add 15 files that were missing (they all got included
5396 indirectly by including gtk.h, so should have been here in the
5399 2008-05-02 Michael Natterer <mitch@imendio.com>
5401 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
5403 2008-05-01 Richard Hult <richard@imendio.com>
5405 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
5406 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
5408 2008-05-01 Matthias Clasen <mclasen@redhat.com>
5410 * modules/imput/imthai.c: Register the right translation domain.
5412 2008-04-30 Matthias Clasen <mclasen@redhat.com>
5414 Bug 529386 – Printing options hidden by blacklisted option
5416 * modules/printbackend/cups/gtkprintbackendcups.c
5417 (cups_printer_get_options): Fix the blacklist handling.
5418 Patch by Marek Kašík.
5420 2008-04-30 Richard Hult <richard@imendio.com>
5422 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
5425 2008-04-30 Richard Hult <richard@imendio.com>
5427 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
5428 nsevents with the gdk lock held, fixes deadlock when doing manual
5429 window resizing with threading enabled.
5431 2008-04-30 Richard Hult <richard@imendio.com>
5433 * gdk/quartz/gdkevents-quartz.c:
5434 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
5435 Alt to Alt and Cmd to Meta. This is not only more logical but also
5436 makes it easier to have Mac-like behavior.
5438 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
5440 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
5441 painting the flat box instead of recalculating it. (#437493,
5444 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
5446 Bug 529841 – incorrect position in directfb
5448 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
5450 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
5452 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
5454 2008-04-25 Michael Natterer <mitch@imendio.com>
5456 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
5457 <pango/pango-layout.h>.
5459 * gtk/gtkiconfactory.c
5463 * gtk/queryimmodules.c: remove inclusion of single files from
5464 pango, none of them was actually needed.
5466 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
5467 <pango/pango-utils.h>.
5469 2008-04-25 Michael Natterer <mitch@imendio.com>
5471 * gdk/gdkfont.h: include <pango/pango.h> instead of
5472 <pango/pango-font.h>.
5474 2008-04-25 Michael Natterer <mitch@imendio.com>
5476 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
5479 2008-04-21 Michael Natterer <mitch@imendio.com>
5481 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
5482 crashing when NULL pointers get passed.
5484 2008-04-18 Michael Natterer <mitch@imendio.com>
5486 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
5487 here have the same style.
5489 2008-04-18 Michael Natterer <mitch@imendio.com>
5491 * gtk/gtkicontheme.h
5492 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
5495 * gtk/gtkbuilderparser.c
5496 * gtk/gtklinkbutton.c
5498 * gtk/gtkrecentchooserdefault.c
5499 * gtk/gtkrecentchoosermenu.c
5500 * modules/input/gtkimcontextthai.c: remove inclusion of single
5501 files from gdk, none of the includes was actually needed.
5503 2008-04-18 Michael Natterer <mitch@imendio.com>
5505 * gdk/gdk.h: reorder one include so they are all alphabetical.
5507 2008-04-18 Michael Natterer <mitch@imendio.com>
5509 * modules/printbackends/cups/gtkprintercups.[ch]
5510 (gtk_printer_cups_get_ppd_name): change return value and local
5511 variable to const gchar* to fix warning about discarding const
5514 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5516 * gtk/gtkrecentmanager.c:
5517 (gtk_recent_manager_set_filename): Keep the default storage
5518 file in $HOME, as we don't have a migration code in place yet.
5520 2008-04-18 Michael Natterer <mitch@imendio.com>
5522 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5523 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5525 2008-04-17 Michael Natterer <mitch@imendio.com>
5527 * gtk/gtkiconfactory.c (get_default_icons): register the
5528 GTK_STOCK_PAGE_SETUP icon.
5530 2008-04-17 Michael Natterer <mitch@imendio.com>
5532 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5533 g_return_if_fail(tooltips != NULL);
5535 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5537 * gtk/gtkwindow.c: Chain up in buildable_finish()
5539 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5540 cases where g_path_get_dirname() returns "."
5542 * docs/reference/gtk/tmpl/gtklabel.sgml,
5543 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5544 for the <attributes> tags on GtkLabel
5546 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5548 * gtk/gtkrecentmanager.c:
5549 (gtk_recent_manager_real_changed): Fix last commit, and
5550 complete the gtk-recent-files-max-age semantics: if the
5551 property is set to 0 then purge the list.
5553 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5555 Bug 488507 – boundless growth of .recently-used.xbel file
5556 slows down applications
5558 * gtk/gtkrecentmanager.c:
5559 (gtk_recent_manager_init),
5560 (gtk_recent_manager_real_changed),
5561 (gtk_recent_manager_set_filename),
5562 (gtk_recent_manager_clamp_to_age): Clamp the recently
5563 used resources list by the age of its items, using
5564 the newly added GtkSettings property.
5566 * gtk/gtksettings.c (gtk_settings_class_init): Add the
5567 gtk-recent-files-max-age property, controlling the
5568 maximum age of the items in the recently used resources
5571 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5573 * gtk/gtkrecentmanager.c:
5574 (gtk_recent_manager_add_item_query_info),
5575 (gtk_recent_manager_add_item): Emit the ::changed signal
5576 at the end of the asynchronous MIME type query.
5578 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5580 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5583 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5584 changes in the recently used resources storage file, and
5585 drop the timeout-based poll.
5587 * ChangeLog: Fix attribution of the patch of the previous
5590 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5592 Bug 506062 – gtk_recent_manager_add_item does not detect mime
5595 * configure.in: Depend on gio-2.0
5597 * gtk/gtkrecentmanager.c:
5598 (gtk_recent_manager_add_item_query_info_cb),
5599 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5600 query the MIME type of the passed URI (based on a patch by
5603 2008-04-11 Carlos Garnacho <carlos@imendio.com>
5605 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5606 page to visited page list instead of next current page. (#527466,
5607 patch by Marcus Brinkmann)
5609 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
5611 * gtk/gtklabel.c: Added <attributes> / <attribute>
5612 custom tags to parse pango attributes into labels (#527486).
5614 * tests/buildertest.c: Added tests for GtkLabel custom
5617 2008-04-10 Carlos Garnacho <carlos@imendio.com>
5619 * gtk/gtknotebook.c (hide_drag_window): Do not call
5620 gtk_widget_set_parent_window(), using widget->window instead of NULL
5621 to unset is the wrong thing, and gtk_widget_unparent() will already
5622 take care of this (#467698, patch by Sébastien Granjoux)
5624 2008-04-08 Tor Lillqvist <tml@novell.com>
5626 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5627 these functions with G_MODULE_EXPORT.
5629 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
5631 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5632 (gtk_file_system_volume_render_icon):
5633 Fix fallback icon rendering size
5635 2008-04-08 Michael Natterer <mitch@imendio.com>
5637 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5638 touchscreen-mode keynav corner case: when navigating to the parent
5639 menu, make sure we don't close two menus at the same time in case
5640 the deepest open menu has no selectable items.
5642 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
5644 * gtk/gtkwidget.c: Clarified a g_warning message regarding
5645 parsing accelerators from builder files.
5647 2008-04-03 Cody Russell <bratsche@gnome.org>
5649 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5650 of the block. (#526021, reported by Kazuki IWAMOTO)
5652 2008-04-03 Tor Lillqvist <tml@novell.com>
5654 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5657 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5658 workaround for a specific kind of screwed up locale setting.
5660 2008-04-02 Matthias Clasen <mclasen@redhat.com>
5662 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5663 colormaps. Found by Daniel Berrange.
5665 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
5667 * tests/autotestfilechooser.c: Cover
5668 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5669 name. (#346058, Joe Halliwell)
5671 2008-04-02 Federico Mena Quintero <federico@novell.com>
5673 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5674 chooser incorrectly substitutes and expands a ~ when you type it
5675 in the filename entry.
5677 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5678 basenames result in a slash-terminated pathname.
5679 gtk_file_system_unix_parse() is correct, but it was splitting
5680 "/home/username" into path="/home" and file_part="username", which
5681 is not what the caller wants when the entry has just "~" or
5684 2008-04-02 Tor Lillqvist <tml@novell.com>
5686 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5687 and gtksearchenginetracker.c on Windows.
5689 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5692 2008-04-01 Cody Russell <bratsche@gnome.org>
5694 * configure.in: Bump required Cairo to 1.5.2.
5696 * gtk/gtkprintoperation-win32.c: Add support for using the new
5697 cairo_win32_printing_surface for printing. Also fixed to use
5698 cairo_surface_show_page(). (#488833 and #521178)
5700 2008-03-31 Cody Russell <bratsche@gnome.org>
5702 * demos/gtk-demo/printing.c (draw_page): Move down each line in
5703 units of text_height rather than in units of data->font_size.
5704 (totally awesome catch by Dom Lachowicz)
5706 2008-03-28 Richard Hult <richard@imendio.com>
5708 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5709 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5710 event to the mainloop and don't generate one at all if the
5711 toplevel didn't change. Use the actual window and not the toplevel
5712 as event window. These changes make the generated crossing events
5713 match the X11 behavior and fixes issues with e.g. tooltips,
5714 comboboxes and menus.
5716 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5717 the view has no window, it will be updated as soon as it's put
5720 * gdk/quartz/gdkwindow-quartz.c:
5721 (_gdk_quartz_window_debug_highlight): Make it possible to track
5722 multiple windows with debug highlighting.
5723 (show_window_internal): Remove workaround for tooltips and popups
5724 that is no longer needed with the above changes.
5726 2008-03-26 Federico Mena Quintero <federico@novell.com>
5728 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5729 helper function; factored out from the functions that commit the
5730 current suggested autocompletion and that refresh the entry's paths.
5731 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5732 (_gtk_file_chooser_entry_get_file_part): Likewise.
5733 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
5734 makes the entry have the correct paths when *not* using any form
5735 of completion (and makes the file chooser work when clicking the
5738 2008-03-25 Richard Hult <richard@imendio.com>
5740 * gdk/quartz/gdkevents-quartz.c:
5741 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
5742 can't find a matching window.
5744 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
5745 comment, and only trigger an event for non-temp windows, fixes
5746 problems for tooltips caused by the workarounds for the
5747 problematic tracking rect API.
5749 2008-03-25 Richard Hult <richard@imendio.com>
5751 * gdk/quartz/gdkwindow-quartz.c:
5752 (gdk_window_quartz_process_all_updates): Plug a leak and add a
5753 check that we have a toplevel before accessing it.
5755 2008-03-24 Tor Lillqvist <tml@novell.com>
5757 Bug 524151 - Dragging of 0-byte files results in an empty filename
5758 on Windows XP and above
5760 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
5761 being empty first. For some reason ISHellLink and IPersistFile
5762 succeeds in interpreting empty files as shortcuts, claiming the
5763 target of the shortcut is an empty path.
5765 Change the function to take the wide character file name that the
5766 caller already has anyway, to avoid a superfluous conversion from
5769 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
5771 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
5772 against NULL pointer. (#467051, Gian Mario Tagliaretti)
5774 2008-03-23 Cody Russell <bratsche@gnome.org>
5776 * gdk/win32/gdkevents-win32.c (show_window_recurse):
5777 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
5778 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
5779 menus from a maximized window would force the window to restore
5782 2008-03-23 Johan Dahlin <johan@gnome.org>
5784 * gtk/gtk-builder-convert:
5785 Properly convert GtkImageMenuItems which use stock labels but don't
5787 (#523932, Brian Pepple)
5789 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
5791 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
5792 New function implements GtkCellLayoutClass::get_cells. (#523787)
5794 2008-03-22 Tor Lillqvist <tml@novell.com>
5796 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
5798 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
5799 GDK_THREADS_LEAVE() call. Approved by mclasen.
5801 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
5803 * gtk/gtkexpander.c (gtk_expander_get_label):
5804 gtk_label_get_label() should be used instead of
5805 gtk_label_get_text(). (#353088, Xan Lopez)
5807 2008-03-21 Tor Lillqvist <tml@novell.com>
5809 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
5810 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
5811 gdip-pixbuf-loader module.
5813 * configure.in: Add switch --disable-gdiplus-loaders that disables
5814 building of the GDI+ loaders.
5816 When including loaders in the gdk-pixbuf library, and building
5817 GDI+ loaders, either build in all the GDI+ loaders or none of
5818 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
5819 signal building them in.
5821 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
5822 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
5823 indicate whether they should be built-in.
5825 For the rest of the changes, see gdk-pixbuf/ChangeLog.
5827 2008-03-20 Tor Lillqvist <tml@novell.com>
5829 * gtk/Makefile.am: Revert accidental change that went in as part
5830 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
5831 Darwin. On Windows one has to use a newer GNU grep that has -o,
5832 for instance the one from gnuwin32, instead of the oldish one in
5833 MSYS that doesn't have -o.
5835 2008-03-20 Tor Lillqvist <tml@novell.com>
5837 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
5838 pass NULL for %s to g_message().
5839 (main): Drop unnecessary call to gtk_widget_destroy().
5841 2008-03-20 Tor Lillqvist <tml@novell.com>
5843 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
5845 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
5846 in one dimension, or centered in case it doesn't fit.
5847 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
5850 2008-03-18 Tor Lillqvist <tml@novell.com>
5852 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
5854 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
5855 G_MODULE_ENTRY decoration can be put in a more correct place.
5857 2008-03-18 Sven Neumann <sven@gimp.org>
5859 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
5860 alternative button order on the password dialog.
5862 2008-03-18 Tor Lillqvist <tml@novell.com>
5864 Bug 99192 - Add --with-include-input-modules
5866 * configure.in: Add --with-included-immodules switch. Handled in a
5867 similar way as the --with-included-loaders switch. For each input
5868 method module foo: Collect the list of input modules to be built
5869 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
5870 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
5871 Define Automake conditionals INCLUDE_IM_FOO.
5873 * modules/input/Makefile.am: For modules to be included in libgtk,
5874 build a static library.
5876 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
5877 gdk-pixbuf to get unique names for the functions called by libgtk
5878 in the included case. Use G_MODULE_EXPORT in the non-included case
5879 so that we don't unnecessarily export unneeded random global
5882 * gtk/Makefile.am: Build the included modules and link them into libgtk.
5884 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
5885 copy/paste leftover mentions of "themes" in comments.
5887 2008-03-18 Tor Lillqvist <tml@novell.com>
5889 * tests/Makefile.am: Build testmountoperation only on Unix for now.
5891 2008-03-17 Christian Kellner <gicmo@gnome.org>
5893 Implement GtkMountOperation, a subclass of GMountOperation
5894 to be used with gio wherever there is the need to ask the
5895 user for credentials or questions while mounting a volume.
5898 * gtk/gtkmountoperation.c:
5899 * gtk/gtkmountoperation.h:
5900 Implement GtkMountOperation.
5902 * gtk/gtk.h: Add gtkmountoperation.h
5903 * gtk/Makefile.am: Add gtkmountoperation.[hc]
5904 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
5905 * tests/testmountoperation.c: Test program for it.
5906 * tests/Makefile.am: Add testmountoperation.
5908 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
5910 * gtk/gtkcontainer.c: Properly document
5911 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
5913 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5915 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
5916 style names for the ComboBox thickness style
5918 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5920 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
5921 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
5922 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
5923 intelligent separation for the xp theming engine and the classic
5924 theme while drawing the GtkComboBox button. combobox_draw_arrow
5925 is not used anymore, commented. The style has been updated to fix
5926 border/thickness glitches in the combobox according to the fixes
5927 commited regarding bug #521442. (bug #461805)
5929 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5931 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
5932 now aware of both the combobox and frame (if has-frame is set)
5933 thickness and border. (bug #521442)
5935 2008-03-15 Andre Klapper <a9016009@gmx.de>
5937 * configure.in: Added "si" to ALL_LINGUAS.
5939 2008-03-15 Matthias Clasen <mclasen@redhat.com>
5941 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
5942 Set window type hint on the search popup. (#522279, Danny Baumann)
5944 2008-03-15 Matthias Clasen <mclasen@redhat.com>
5946 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
5947 appropriate. (#521934, Huang Peng)
5949 2008-03-14 Michael Natterer <mitch@imendio.com>
5952 * gtk/gtkbuilderprivate.h
5953 * gtk/gtkfilechoosersettings.c
5954 * gtk/gtksearchenginesimple.c
5955 * gtk/tests/liststore.c
5956 * gtk/tests/treestore.c: remove single-file includes of GLib
5957 headers or replace them by <glib.h> where needed.
5959 2008-03-14 Michael Natterer <mitch@imendio.com>
5961 * gtk/gtkadjustment.c: coding style cleanup.
5963 (gtk_adjustment_set_property): no need to call g_object_notify()
5964 on the set properties.
5966 Implement GObject::dispatch_properties_changed() and make sure we
5967 emit "changed" when anything but the "value" property changes.
5969 2008-03-14 Tor Lillqvist <tml@novell.com>
5971 * gdk/win32/gdkevents-win32.c: Drop the support for the
5972 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
5973 Win95. Thanks to mitch for noticing this obsolete code.
5975 2008-03-14 Cody Russell <bratsche@gnome.org>
5977 * examples/scribble-xinput/scribble-xinput.c: Changed
5978 'void int main()' to 'int main()'. (#522211, Liqing Huang)
5980 2008-03-14 Richard Hult <richard@imendio.com>
5982 * gdk/quartz/gdkwindow-quartz.c:
5983 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
5984 only flush the toplevel once per update.
5986 2008-03-13 Federico Mena Quintero <federico@novell.com>
5988 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
5989 Set the mouse cursor of the feedback window to invisible, so that
5990 we respect GtkEntry's invisible cursor while typing.
5992 2008-03-13 Federico Mena Quintero <federico@novell.com>
5994 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
5995 the feedback window at entry_height/2 pixels to the right of the
5996 cursor, for a cheap "M-width / 2" spacing.
5998 2008-03-13 Sven Neumann <sven@gimp.org>
6000 * gtk/gtkfilechooserdefault.c
6001 * gtk/gtkprintunixdialog.c: set alternative button order for
6002 overwrite confirmation dialogs (bug #522191).
6004 2008-03-13 Sven Neumann <sven@gimp.org>
6006 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
6007 (overwrite_confirmation_dialog): added some line-breaks for
6010 2008-03-12 Federico Mena Quintero <federico@novell.com>
6012 Rework the way completion works in GtkFileChooserEntry. Fixes
6013 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
6014 Tab completion should work even if the cursor is not at the end of
6017 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
6020 We distinguish between two cases:
6022 - autocompletion - happens only in the Open modes by
6023 inserting and selecting the common prefix as you type.
6025 - explicit completion - happens when you hit Tab.
6027 When some type of completion needs to happen, the entry first
6028 parses its input and sees if it needs to initiate a folder load.
6029 Completion will not happen until the folder finishes loading.
6031 If the folder is already completely loaded, then completion is
6032 performed immediately. Otherwise, the entry queues a pending
6033 completion and starts loading the new folder (or waits until the
6034 current folder is completely loaded).
6036 Tab completion is allowed to happen even if the cursor is not at
6037 the end of the entry.
6039 There is a new feedback mechanism for explicit completion, so that
6040 you will get an Emacs-like tip whenever there are ambiguities in
6041 completion, no matches, etc. (This needs to be polished so that
6042 we support RTL entries and all the fancy Pango layout in GtkEntry).
6044 The only remaining thing to fix is the popup suggestion window.
6045 Unfortunately, GtkEntryCompletion does not let us do what we want,
6046 and will need further changes.
6048 2008-03-12 Tor Lillqvist <tml@novell.com>
6050 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6052 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6053 for the TaskbarCreated message in the window procedure for the
6054 dummy "tray observer" window we create. When we get a
6055 TaskbarCreated message, iterate over the status icons and re-add
6056 them to the task bar, and update them by calling
6057 gtk_status_icon_update_image().
6059 Move some ifdefs around to avoid unused functions.
6061 2008-03-12 Tor Lillqvist <tml@novell.com>
6063 * config.h.win32.in: Update to match what configure produces.
6065 2008-03-12 Jens Granseuer <jensgr@gmx.net>
6067 * modules/printbackends/cups/gtkprintbackendcups.c:
6068 (cups_printer_prepare_for_print): Don't define variables in the
6069 middle of a block. (#522067)
6071 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6073 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
6074 dialog for print-to-file. (#474302, Marek Kašík)
6076 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6078 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6079 (#469210, Wouter Bolsterlee)
6081 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6083 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
6084 paper_size here. (#488820, Morten Welinder)
6086 2008-03-12 Michael Natterer <mitch@imendio.com>
6088 * acconfig.h: remove this deprecated file.
6090 * configure.in: added comments to all instances of AC_DEFINE() so
6091 config.h can be completely generated from configure.in.
6093 2008-03-12 Michael Natterer <mitch@imendio.com>
6095 * modules/printbackends/cups/gtkprintbackendcups.c: include
6096 <glib/gstdio.h> for g_fopen().
6098 2008-03-11 Matthias Clasen <mclasen@redhat.com>
6100 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6101 g_ascii_formatd when formatting custom paper sizes, since
6102 cups doesn't handle , as decimal separator. (#521548)
6104 2008-03-11 Tor Lillqvist <tml@novell.com>
6106 Bug 469868 - Filenames with colon ":" are not saved correctly
6108 * gtk/gtkfilechooserentry.c (insert_text_callback)
6109 (delete_text_callback) [Win32]: New functions to make sure that
6110 colons used otherwise than as a separator after a drive letter, or
6111 characters that are always illegal in file names, are rejected on
6112 input. This means that the GTK+ file chooser can't be used to
6113 input full names of alternate data streams, but oh well. There are
6114 still more checks that could be done on the file names, see the
6115 bug report. But this will do for now.
6116 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6118 2008-03-11 Jordi Mallach <jordi@sindominio.net>
6120 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6122 2008-03-11 Michael Natterer <mitch@imendio.com>
6124 * gdk/linux-fb/*: removed linux-fb backend files.
6128 * docs/README.linux-fb
6129 * gtk/Makefile.am: remove remaining traces of linux-fb.
6131 * gtk/gtkwindow-decorate.c: same here. There is some code that
6132 calls into linux-fb to set window move/resize callbacks. I put it
6133 in #if 0 as a reminder because we did use decorated windows with
6134 the DirectFB backend and it did work, so I don't really know why
6135 this code is needed or how it could work with DirectFB back then.
6136 The file does actually compile now if DECORATE_WINDOWS is defined,
6137 but I didn't test with DirectFB to check if it does anything.
6139 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
6141 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6142 Take thickness into account in the size allocation of the child widgets in
6146 2008-03-11 Richard Hult <richard@imendio.com>
6148 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6150 2008-03-10 Tor Lillqvist <tml@novell.com>
6152 * tests/teststatusicon.c (do_exit, popup_menu): Add the
6153 possibility to test what happens if the process just calls exit()
6154 without any orderly cleanup of GTK+.
6156 2008-03-10 Tor Lillqvist <tml@novell.com>
6158 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6160 2008-03-10 Tor Lillqvist <tml@novell.com>
6162 Bug 520286 - Non-deletable window has no minimize / maximize buttons
6164 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6165 New debugging output function that decodes a set of WS_* bits.
6167 * gdk/win32/gdkprivate-win32.h: Declare it.
6169 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6170 New function that enables or disables one menu entry in the system
6171 menu of a top-level window. (The corresponding decoration will
6172 then also be enabled or disabled (grayed).)
6174 (update_style_bits): Do as the comment says and don't try to
6175 update the window style based on the GdkWMFunctions set for the
6178 (update_system_menu): New function that enables or disables the
6179 system menu entries based on a window's stored set of
6182 (gdk_window_set_functions): Call update_system_menu() instead of
6183 update_style_bits().
6185 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
6187 * README.in: Reword the 2.14 release notes entry about the
6188 deprecation of the gtkitemfactory.h header, and fix typos
6191 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
6193 * modules/engines/ms-windows/msw_style.c (draw_shadow):
6194 Do not draw frame if parent if combobox.
6196 Uses scrollbar width system metrics for combobox button.
6197 Fixes #461805 for XP theme engine.
6199 2008-03-07 Johan Dahlin <johan@gnome.org>
6202 * gtk/gtkbuilderparser.c:
6203 * gtk/gtkbuilderprivate.h:
6204 * gtk/gtkiconfactory.c:
6205 * tests/buildertest.c:
6206 - Treat enums like enums and not values
6207 - Avoid invalid free, in case of more than two sources
6208 - Add better error messages
6209 - Add much improved tests
6210 (#520979, Christian Persch)
6212 2008-03-07 Carlos Garnacho <carlos@imendio.com>
6214 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6217 2008-03-06 Federico Mena Quintero <federico@novell.com>
6219 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6220 GtkFileChooserDialog should set a default response button if the
6221 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
6223 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6224 function, refactor from where there was duplicated code.
6225 (gtk_file_chooser_dialog_map): Look at the buttons in our
6226 action_area. If the response ID for a button is one of the stock
6227 ones, make it the default response button.
6229 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6231 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6233 * gtk/gtkbuilderprivate.h:
6234 * gtk/gtkiconfactory.c:
6235 * tests/buildertest.c:
6236 Implement GtkBuildable on GtkIconFactory, to make
6237 it possible to register custom stock icons.
6240 2008-03-06 Johan Dahlin <johan@gnome.org>
6244 * gtk/gtkstyle.c: npoints->n_points.
6245 * gtk/gtktestutils.h: widget->spinner
6246 * gtk/gtktestutils.c: argc->argcp, argv->argvp
6248 2008-03-06 William Lachance <wrlach@gmail.com>
6250 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
6251 string localizable (as it should be).
6253 2008-03-06 William Lachance <wrlach@gmail.com>
6255 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6256 the time for today's date. It's redudant. (see bug #410517).
6258 2008-03-06 Xan Lopez <xan@gnome.org>
6260 * gtk/gtkfixed.c: fix typo in documentation.
6262 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6264 * gtk/gtkitemfactory.h:
6265 * gtk/gtktypeutils.h:
6266 Move GtkTranslateFunc to gtktypeutils.h so we can completely
6267 deprecate gtkitemfactory.h.
6269 * gtk/gtkactiongroup.h:
6271 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6274 Add a note describing this slight incompatible change
6276 2008-03-06 Johan Dahlin <johan@gnome.org>
6278 * gtk/gtkpreview.h: Avoid double-deprecation.
6280 2008-03-06 Michael Natterer <mitch@imendio.com>
6283 * gtk/Makefile.am: move the remaining deprecated widgets to the
6284 separate sections and replaced spaces by tabs in Makefile.am
6286 2008-03-05 Johan Dahlin <johan@gnome.org>
6288 * configure.in: Add --disable-cups option.
6289 (#513826, Alberto Ruiz)
6293 Separate broken and deprecated sources and headers into different sections
6295 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6297 2008-03-05 Kristian Rietveld <kris@imendio.com>
6299 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6300 short-circuit in case an empty root level would be build (and thus
6301 directly destroyed) if no virtual root has been set.
6303 2008-03-04 Matthias Clasen <mclasen@redhat.com>
6305 * modules/printbackends/cups/gtkprintbackendcups.c:
6306 Honor cups user default options from ~/.cups/lpoptions
6307 (#469210, Stijn Hoop)
6309 2008-03-04 Michael Natterer <mitch@imendio.com>
6312 * gtk/gtkcolorbutton.c
6313 * gtk/gtkentrycompletion.c
6314 * gtk/gtkfontbutton.c
6318 * gtk/gtkpreview.c: don't include "gtksignal.h".
6320 * gtk/gtkfilefilter.c
6321 * gtk/gtkrecentchoosermenu.c
6322 * gtk/gtkrecentfilter.c
6323 * gtk/gtktext.c: don't include "gtkobject.h".
6325 2008-03-04 Simos Xenitellis <simos@gnome.org>
6327 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
6328 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
6330 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
6333 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
6334 file, contains compose sequences that used to exist in
6335 gtk/gtkimcontextsimple.c
6337 * gtk/compose-parse.py: Script to generate compose
6338 sequences from upstream (Xorg).
6340 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
6341 check_algorithmically): New functions. First two search in
6342 gtk_compose_seqs_compact[] for matching compose sequence, third
6343 tries NFC normalisation on incoming compose sequence.
6344 (gtk_im_context_simple_filter_keypress):
6345 Adds searching with check_compact_table(), check_algorithmically().
6347 2008-03-03 Carlos Garnacho <carlos@imendio.com>
6349 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
6350 scrollwheel work in GtkPathBar.
6352 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
6354 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
6355 an input-only window, event_window, which we'll use to capture
6357 (gtk_path_bar_map): Show the event_window under the rest of the
6358 windows, so it will be a catch-all for unhandled events.
6360 2008-03-03 Sven Neumann <sven@gimp.org>
6362 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
6363 typo in the documentation of the GtkFileChooserButtons::file-set
6364 signal (see bug #353196).
6366 2008-03-03 Tor Lillqvist <tml@novell.com>
6368 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6371 2008-03-02 Johan Dahlin <johan@gnome.org>
6373 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
6374 Remove left-over focus_pad variable.
6375 (#490892, Claudio Saavedra)
6377 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
6378 (#518166, Matt Kraai)
6380 2008-03-02 Johan Dahlin <johan@gnome.org>
6382 * docs/tutorial/gtk-tut.sgml: Add a missing space
6383 (#517954, Matt Kraai)
6385 2008-03-03 Tor Lillqvist <tml@novell.com>
6387 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
6388 the widget is a GtkButton before casting.
6390 2008-03-02 Johan Dahlin <johan@gnome.org>
6392 * configure.in: Compare using = instead of ==, which is portable.
6393 (#490787, Thomas Klausner)
6395 2008-03-02 Johan Dahlin <johan@gnome.org>
6397 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
6398 fixes non-C++ build.
6399 (#496032, Nelson Benitez)
6401 2008-02-29 Johan Dahlin <johan@gnome.org>
6403 * demos/gtk-demo/demo.ui:
6404 * gtk/gtkbuilderparser.c:
6405 * gtk/gtkbuilderprivate.h:
6406 * gtk/gtkliststore.c:
6407 * tests/buildertest.c:
6408 Add translatable/context and comment attributes on
6409 <col> tags under a GtkListStore. Refactor parts of the
6410 translation api and make it available inside gtk+ itself.
6411 Update tests and example.
6412 Fixes a part of #518642
6414 2008-02-29 Johan Dahlin <johan@gnome.org>
6417 Add missing g_return_val_if_fail checks for public API.
6419 * gtk/gtkbuilderparser.c:
6420 * gtk/gtkbuilderprivate.h:
6421 Do not use g_error for a few more errors, instead set
6422 the GError sent in through add_from_file/add_from_string.
6423 * tests/buildertest.c:
6424 Add a couple of new parsing tests.
6425 (#519199, Pavel Syomin)
6427 2008-02-29 Federico Mena Quintero <federico@novell.com>
6429 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
6430 refreshing an existing folder (i.e. when we are about to reload
6431 its file list), turn off the folder's is_finished_loading flag.
6432 Otherwise callers which do ::is_finished_loading() followed by
6433 ::list_children() will get nothing.
6435 2008-02-29 Cody Russell <bratsche@gnome.org>
6437 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
6438 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
6440 2008-02-28 Matthias Clasen <mclasen@redhat.com>
6442 * gtk/gtkcalendar.h: Remove trailing comma from enum to
6443 make the compiler happy. (#517295, Sylvain Pasche)
6445 2008-02-27 Michael Natterer <mitch@imendio.com>
6447 * gtk/gtkmenushell.c
6450 * gtk/gtktipsquery.c
6455 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
6456 private functions and virtual function implementations.
6458 2008-02-27 Richard Hult <richard@imendio.com>
6460 * gdk/quartz/GdkQuartzView.c:
6461 * gdk/quartz/GdkQuartzView.h:
6462 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
6463 Fix performance regression for borderless transparent windows
6466 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
6468 * tests/testgtk.c: Revert back to r19454.
6470 2008-02-27 Sven Neumann <sven@gimp.org>
6472 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
6473 Quartz backend, use a native Mac OS X application for the print
6474 preview (bug #518624).
6476 2008-02-26 Michael Natterer <mitch@imendio.com>
6478 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
6479 the members of info->tag_stack since they are a) gobjects and b)
6480 not even owned by us, ugh... Fixes crash when deserializing fails.
6482 2008-02-26 Sven Neumann <sven@gimp.org>
6484 * docs/tools/shooter.c (find_toplevel_window)
6485 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
6486 argument passed to XQueryTree().
6488 2008-02-25 Matthias Clasen <mclasen@redhat.com>
6490 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
6491 don't use beagle_query_add_hit_type.
6493 2008-02-25 Richard Hult <richard@imendio.com>
6495 * gdk/quartz/gdkevents-quartz.c
6496 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
6498 2008-02-24 Richard Hult <richard@imendio.com>
6500 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6501 shown without gdk's control when clicking the dock icon.
6503 2008-02-24 Richard Hult <richard@imendio.com>
6505 * gdk/quartz/gdkprivate-quartz.h:
6506 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6507 Use the subtype field for the custom event that is used to wake up
6508 the mainloop so we can have other custom event types.
6510 * gdk/quartz/gdkevents-quartz.c:
6511 (_gdk_quartz_events_trigger_crossing_events):
6512 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6513 crossing events after showing a window if necessary, to work
6514 around problems with the tracking rect API.
6516 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6518 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6519 wrong results on win32 because it doesn't set the printing units,
6520 which affect the transformation of the cairo context
6521 (#347125, Erik van Pienbroek)
6523 2008-02-22 Tor Lillqvist <tml@novell.com>
6525 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6527 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6529 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6530 acceptable for a module to only support the save_to_callback()
6531 method if it marks itself as WRITABLE
6533 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6535 * configure.in: Bump version
6537 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6539 * === Released 2.13.0 ===
6541 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6543 2008-02-21 Tor Lillqvist <tml@novell.com>
6545 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6546 pass the format string to strftime in the C library's locale's
6547 charset, not the system's. Correspondingly, the return value from
6548 strftime() is in the C library's locale's charset. (#509885)
6550 2008-02-20 Richard Hult <richard@imendio.com>
6552 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6553 the right window level and shadow after recreating the window.
6555 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6556 necessary after drawing (bug #517338).
6558 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6560 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6561 call to g_type_class_unref in case of error. (#517563)
6563 2008-02-18 Sven Neumann <sven@gimp.org>
6565 * gtk/Makefile.am (STOCK_ICONS)
6566 * gtk/stock-icons/16/gtk-page-setup.png
6567 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6568 taken from GNOME icon theme.
6570 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6572 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
6574 * configure.in: Added Kannada (kn) to ALL_LINGUAS
6576 2008-02-17 Johan Dahlin <johan@gnome.org>
6578 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
6579 When converting a stock item based on the label, remove the label property.
6581 2008-02-17 Richard Hult <richard@imendio.com>
6583 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6584 position after showing the window since the window manager might
6585 not place it where we requested in the first places.
6587 2008-02-17 Richard Hult <richard@imendio.com>
6589 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6590 (_gdk_quartz_window_detach_from_parent),
6591 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6592 the toplevel ordering list in all places where the order is
6593 potentially changed. Fixes mouse focus issues for windows with
6594 a transient parent set.
6596 2008-02-17 Richard Hult <richard@imendio.com>
6598 * gdk/quartz/gdkevents-quartz.c
6599 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6600 window when event debugging is enabled.
6602 2008-02-16 Richard Hult <richard@imendio.com>
6604 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6605 to the scroll event (bug #516757, Paul Davis).
6607 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6611 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6613 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
6616 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6618 * gdk/Makefile.am: Don't install private headers. (#463510)
6620 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6621 the installed header gdkprivate.h.
6623 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6625 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6626 a crash with hidden, reorderable tabs. (#513230,
6627 Mike Massonnet, patch by Carlos Garnacho)
6629 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6631 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6632 Warn on duplicate action group names. (#501746, Christian
6635 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6638 * modules/other/gail/tests/Makefile.am:
6639 * modules/other/gail/libgail-util/Makefile.am:
6640 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6641 builds. (#516254, Yevgen Muntyan)
6643 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6648 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
6649 instead of hardcoded target tables. (#516092, Christian Persch)
6651 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6653 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6654 add the same target atom twice. (#516087, Christian Persch)
6656 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6658 * tests/testfilechooser.c: Add a --backend option.
6659 (#516073, Christian Persch)
6661 2008-02-16 Richard Hult <richard@imendio.com>
6663 * gdk/quartz/gdkprivate-quartz.h:
6664 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6667 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6669 * configure.in: Go back to 2.13.0 as version for now,
6670 as there was no consensus to do the jump.
6672 * many other places: Update Since: tags.
6674 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6676 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6678 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6680 2008-02-15 Richard Hult <richard@imendio.com>
6682 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6683 instead of bounds when resizing windows.
6685 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6687 * gdk/x11/gdkkeys-x11.c:
6688 * gdk/x11/gdkcolor-x11.c:
6689 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6691 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6693 * gdk/x11/gdktestutils-x11.c:
6694 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6696 2008-02-15 Tor Lillqvist <tml@novell.com>
6698 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6699 leak Registry key handles. (#516578)
6701 2008-02-14 Richard Hult <richard@imendio.com>
6703 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6704 makeKeyWindow unfortunately doesn't work in all cases, we must use
6705 makeKeyAndOrderFront.
6707 2008-02-14 Richard Hult <richard@imendio.com>
6709 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6710 (gdk_window_hide), (gdk_window_fullscreen),
6711 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6712 the window is hidden.
6714 2008-02-14 Richard Hult <richard@imendio.com>
6716 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6717 resizing to be consistent and to avoid introducing an internal
6718 transform in the view.
6720 2008-02-14 Richard Hult <richard@imendio.com>
6722 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6725 2008-02-14 Johan Dahlin <johan@gnome.org>
6727 * gdk/gdktestutils.h
6728 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6730 2008-02-13 Richard Hult <richard@imendio.com>
6732 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6733 Remove unused variables.
6734 (gtk_clipboard_set_contents),
6735 (gtk_clipboard_get_owner), (clipboard_unset),
6736 (gtk_clipboard_request_targets): Notify the previous clipboard
6737 owner when the owner changes. Fixes bug #493406.
6739 2008-02-13 Richard Hult <richard@imendio.com>
6741 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
6742 the return value (return number of colors that failed), and handle
6744 (gdk_colormap_free_colors): Fix typo in comment.
6746 2008-02-13 Kristian Rietveld <kris@imendio.com>
6748 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
6749 queue a redraw if the rubber banding has actually been active.
6751 2008-02-12 Matthias Clasen <mclasne@redhat.com>
6753 * gtk/gtkpapersize.c:
6754 * gtk/gtkprintoperation.c:
6755 * gtk/gtkvolumebutton.c:
6756 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
6757 out by Behdad Esfahbod.
6759 2008-02-12 Federico Mena Quintero <federico@novell.com>
6761 Merged from gtk-2-12:
6763 Don't focus the file list when shortcuts get activated. This
6764 removes a lot of ambiguity in when the file selection should
6765 change, and makes the overall code flow simpler.
6767 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
6768 file/save dialog clears the filename entry when changing
6771 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
6772 focus should not go to the file list when a shortcut is activated.
6774 * gtk/gtkfilechooserdefault.c
6775 (shortcuts_activate_volume_mount_cb): Don't focus the file list
6776 (shortcuts_activate_get_info_cb): Likewise.
6778 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
6779 the file list (this was the last place where we would focus the
6780 file list explicitly). If you are in the location entry, for
6781 example, you don't want Alt-Home to take you to the file list; you
6782 just want the current folder to change. Thanks to Olle Bergkvist
6783 <olle.bergkvist@yahoo.se> for pointing this out in
6784 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
6785 (focus_browse_tree_view_if_possible): Removed.
6787 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6789 Skip exensions when selecting filenames in the save-as dialog.
6790 (#362516, Carlos Garnacho)
6792 * gtk/gtkfilechooserentry.h:
6793 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
6794 New function to skip the extension part when selecting a filename.
6795 (_gtk_file_chooser_entry_set_base_folder): Use it here.
6797 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
6800 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6802 * gtk/gtkiconview.c: Fix state change reporting for
6803 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
6805 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
6807 * gtk/gtkrecentchooser.c:
6808 (gtk_recent_chooser_class_init): Set the default value of the
6809 :show-not-found property to TRUE, as every implementation sets
6812 * gtk/gtkrecentchooserdefault.c:
6813 (_gtk_recent_chooser_default_init): Sync show_tips to the
6814 default value of the :show-tips property.
6816 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6818 * gtk/gtkclipboard-quartz.c:
6820 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
6823 2008-02-12 Kristian Rietveld <kris@imendio.com>
6825 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
6826 (gtk_tree_view_real_toggle_cursor_row): guard against people
6827 deleting the row in question in the selection-changed callback.
6828 (#514621, Andreas Koehler).
6830 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6832 * gtk/*.c: Unify the handling of various "Enter" keysyms
6833 all over the place. (#515047, Christian Persch)
6835 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6837 * gtk/gtkfilesystemmodel.c:
6839 * gtk/gtkwidget.c: Use g_value_set_static_string() where
6840 appropriate. (#515042, Christian Persch)
6842 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6844 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
6846 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6848 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
6850 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6852 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
6853 (recent_model_sort_drag_data_get):
6854 (search_model_sort_drag_data_get):
6855 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
6856 * gtk/gtkpathbar.c (button_drag_data_get_cb):
6857 Use gtk_selection_data_set_uris() instead of doing it
6858 by hand. (#514890, Christian Persch)
6860 2008-02-12 Michael Natterer <mitch@imendio.com>
6862 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
6863 gtk_get_current_event_time().
6865 2008-02-12 Michael Natterer <mitch@imendio.com>
6867 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
6868 gtk_window_get_key_hash() to get the hash instead of manually
6869 fiddling with quarks and gtk_window_keys_changed(). Also add
6870 g_return_if_fail() to this public function.
6872 2008-02-11 Matthias Clasen <mclasen@redhat.com>
6874 Support keynav in status icons. (#473786, Li Yuan)
6876 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
6878 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
6880 2008-02-11 Kristian Rietveld <kris@imendio.com>
6882 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
6883 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
6884 wrt. link deletion from list; contination of fix for #503569.
6886 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
6888 * gtk/gtkrecentchoosermenu.c:
6889 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
6890 on the placeholder menu item.
6892 * tests/testrecentchoosermenu.c:
6893 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
6894 whether the placeholder menu item gets shown.
6896 2008-02-10 Cody Russell <bratsche@gnome.org>
6898 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
6899 Check the return value of _gtk_file_chooser_get_file_system () for
6900 NULL before passing it to gtk_file_system_path_to_uri ().
6901 (#515667, Francesco Montorsi)
6903 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
6905 * gtk/gtkbuilder.c: Improve the documentation for
6906 gtk_builder_connect_signals. (#514471)
6908 2008-02-10 Matthias Clasen <mclasen@redhat.com>
6910 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
6913 2008-02-08 Cody Russell <bratsche@gnome.org>
6915 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
6916 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
6918 2008-02-08 Richard Hult <richard@imendio.com>
6920 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
6921 delta from the NSEvent for now, generating multiple scroll events
6922 results in a lot of events getting queued up and things get really
6925 2008-02-08 Sven Herzberg <sven@imendio.com>
6927 Adjust the code to match the documentation, examples, "common sense"
6928 and existing applications.
6930 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
6931 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
6934 2008-02-07 Cody Russell <bratsche@gnome.org>
6936 * gdk/win32/gdkevents-win32.c
6937 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
6938 of a block that were causing compile problems on old
6939 compilers. (#515053, reported by Kazuki IWAMOTO)
6941 2008-02-07 Michael Natterer <mitch@imendio.com>
6948 * gtk/gtkmenushell.c
6950 * gtk/gtkoptionmenu.c
6954 * gtk/gtkradiomenuitem.c
6956 * gtk/gtkscrolledwindow.c
6957 * gtk/gtksocket.c: remove g_return_if_fail() from private
6958 functions and virtual function implementations.
6960 2008-02-07 Michael Natterer <mitch@imendio.com>
6963 * gtk/gtkassistant.c
6967 * gtk/gtkcellrenderercombo.c
6970 * gtk/gtkdrawingarea.c
6971 * gtk/gtkentrycompletion.c
6977 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
6978 functions and virtual function implementations.
6980 2008-02-07 Christian Persch <chpe@gnome.org>
6982 * gdk/gdkpixbuf-render.c:
6983 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
6984 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
6985 otherwise there will be random pixel values in the semi-transparent
6986 area of the pixbuf within the mask. Bug #487865.
6988 2008-02-06 Cody Russell <bratsche@gnome.org>
6990 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
6991 otherwise things get wonky when you click on a menu. This fixes
6992 a regression caused in #505928. Thanks to Tor for spotting this
6995 2008-02-06 Michael Natterer <mitch@imendio.com>
6997 * gtk/gtkcontainer.c
7004 * gtk/gtkmenushell.c
7006 * gtk/gtkseparatortoolitem.c
7008 * gtk/gtktextlayout.c
7009 * gtk/gtktoggletoolbutton.c
7010 * gtk/gtktoolbutton.c
7013 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
7016 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7018 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
7019 Allow to store half-open ranges.
7021 2008-02-05 Cody Russell <bratsche@gnome.org>
7023 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
7024 down the stack until we get to a window that is mapped.
7025 Otherwise hiding a window will cause all windows in the app
7026 to be blocked. (#514643)
7028 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7030 * gtk/updateiconcache.c: Ignore images in the toplevel theme
7031 directory, avoiding one source of invalid caches that has been
7032 spotted in the wild.
7034 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7036 * gtk/updateiconcache.c: Fix the previous commit to compile.
7038 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7040 * gtk/updateiconcache.c: Install a printerr handler that
7041 prepends the program name, since gtk-update-icon-cache output
7042 often appears in the middle of other output, e.g. rpm update logs.
7044 2008-02-05 Cody Russell <bratsche@gnome.org>
7046 * gdk/win32/gdkprivate-win32.h
7047 * gdk/win32/gdkevents-win32.c
7048 * gdk/win32/gdkwindow-win32.c
7049 * gdk/win32/gdkwindow-win32.h
7050 * gdk/win32/gdkwin32.h:
7051 Modal window rework. (#455627 and #511111)
7053 2008-02-04 Michael Natterer <mitch@imendio.com>
7055 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7056 g_return_if_fail() if the cell is not part of the combo instead of
7057 crashing in the next line.
7059 2008-02-01 Cody Russell <cody@jhu.edu>
7061 * modules/engines/ms-windows/xp_theme.[ch]
7062 * modules/engines/ms-windows/xp_theme_defs.h
7063 * modules/engines/ms-windows/msw_rc_style.c
7064 * modules/engines/ms-windows/msw_theme_main.c
7065 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7066 attempted to stylize more like the rest of the gtk+ stack's code.
7068 2008-02-01 Michael Natterer <mitch@imendio.com>
7070 * tests/testgtk.c: initialize GdkColor structs to fix warning
7071 about uninitialized "pixel" member.
7073 * tests/testactions.c: connect the toolbar_style() callback so it
7074 does something useful and doesn't warn about being defined but not
7077 2008-01-31 Cody Russell <bratsche@gnome.org>
7079 * gdk/win32/gdkevents-win32.c:
7080 Refactored some of the window hiding/showing code from
7081 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
7082 under WM_ACTIVATE was causing the application to go into
7083 a weird state when the user right-clicked on the taskbar
7084 entry of a window that was minimized. (#505928)
7086 2008-01-31 Cody Russell <bratsche@gnome.org>
7088 * gtk/gtkpaned.c (gtk_paned_set_position):
7089 Change queue_resize() to queue_draw(), and add a check for
7090 child2 != NULL in case someone calls this before there is
7091 a child packed in there. (#144269 again)
7093 2008-01-31 Sven Neumann <sven@gimp.org>
7095 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7096 applied patch from Denis Oliver Kropp <dok@directfb.org>.
7098 2008-01-31 Sven Neumann <sven@gimp.org>
7100 * gdk/directfb/gdkdisplay-directfb.c
7101 * gdk/directfb/gdkdrawable-directfb.c
7102 * gdk/directfb/gdkprivate-directfb.h
7103 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7104 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7106 2008-01-31 Richard Hult <richard@imendio.com>
7108 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7109 issues with undecorated windows. Revert the change done on
7110 2008-01-25 and fix it by using the view's bounds instead. The
7111 bounds will always be up to date when setting up the tracking
7112 rect, so this should be more robust.
7114 2008-01-30 Sven Neumann <sven@gimp.org>
7116 * gdk/directfb/gdkdrawable-directfb.c
7117 * gdk/directfb/gdkwindow-directfb.c
7118 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7119 Oliver Kropp <dok@directfb.org>. Adds debug messages using
7120 DirectFB's debugging system
7122 2008-01-30 Sven Neumann <sven@gimp.org>
7124 * gdk/directfb/gdkdirectfb.h
7125 * gdk/directfb/gdkdisplay-directfb.c
7126 * gdk/directfb/gdkdrawable-directfb.c
7127 * gdk/directfb/gdkim-directfb.c
7128 * gdk/directfb/gdkimage-directfb.c
7129 * gdk/directfb/gdkinput-directfb.c
7130 * gdk/directfb/gdkmain-directfb.c
7131 * gdk/directfb/gdkpixmap-directfb.c
7132 * gdk/directfb/gdktestutils-directfb.c
7133 * gdk/directfb/gdkvisual-directfb.c
7134 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7135 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7136 errors and has some cleanups.
7138 2008-01-30 Michael Natterer <mitch@imendio.com>
7140 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7141 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7144 * gtk/updateiconcache.c (add_string): cast const gchar* to
7145 gpointer when inserting in a GHashTable.
7147 * tests/testcalendar.c (calendar_detail_cb): remove const from
7148 return value since it's a newly allocated string.
7150 (calendar_update_details): free the detail.
7152 2008-01-29 Johan Dahlin <johan@gnome.org>
7154 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7156 * demos/gtk-demo/demo.ui:
7157 Move the about dialog to the glade file, add accessible tags
7158 examples to the markup file.
7160 2008-01-28 Paolo Borelli <pborelli@katamail.com>
7162 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7163 layout, fixes #512375.
7165 2008-01-28 Michael Natterer <mitch@imendio.com>
7167 * gtk/gtktextchild.c
7168 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7170 2008-01-28 Michael Natterer <mitch@imendio.com>
7172 * demos/gtk-demo/builder.c (about_activate): use
7173 gtk_about_dialog_set_program_name() instead of the deprecated
7176 2008-01-28 Michael Natterer <mitch@imendio.com>
7178 * gtk/gtktextchild.c
7179 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7182 2008-01-26 Johan Dahlin <johan@gnome.org>
7184 * tests/Makefile.am:
7185 * tests/textbuffertest.c:
7186 Rename textbuffer test and port it to the new test framework
7188 2008-01-25 Johan Dahlin <johan@gnome.org>
7190 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7191 unsetting of GTK_MODULES.
7193 * gtk/gtk-builder-convert
7194 (GtkBuilderConverter._convert_adjustment): Handle the case where
7195 there is no child text node.
7196 (GtkBuilderConverter): Allow xml comments in most places.
7198 2008-01-25 Johan Dahlin <johan@gnome.org>
7200 * gtk/gtk-builder-convert
7201 (GtkBuilderConverter._convert_combobox_items): Remove the items
7202 even if there are no items set.
7203 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7204 signals and tooltips for all menu items subclasses and
7205 GtkImageMenuItem:label.
7206 Makes it possible to fully convert and run Jokosher.glade.
7208 2008-01-25 Johan Dahlin <johan@gnome.org>
7210 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7211 (gtk_widget_buildable_get_internal_child), (free_action),
7212 (free_relation), (gtk_widget_buildable_parser_finished),
7213 (accessibility_start_element),
7214 (gtk_widget_buildable_custom_tag_start),
7215 (gtk_widget_buildable_custom_finished):
7216 Implement accessible support, fixes #454653.
7218 * gtk/gtk-builder-convert:
7219 Add support for migrating old glade files
7221 * tests/buildertest.c: (test_widget), (test_file):
7222 Add accessible tests and imprve the test_file function to display
7223 toplevels and run dialogs.
7225 2008-01-25 Richard Hult <richard@imendio.com>
7227 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7228 didn't change, fixes focus event issues for undecorated windows.
7230 2008-01-25 Richard Hult <richard@imendio.com>
7232 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7233 const and remove unused variables).
7235 2008-01-25 Michael Natterer <mitch@imendio.com>
7238 * gtk/gtkcellrenderer.h
7239 * gtk/gtkimcontext.h
7243 * gtk/gtktreeprivate.h
7244 * gtk/gtktreeviewcolumn.h
7245 * gtk/gtkwidget.h: add const to constant structs which are passed
7246 into GTK+. Also add some forgotten const for const strings.
7250 * gtk/gtkcellrenderer.c
7251 * gtk/gtkimcontext.c
7256 * gtk/gtktreeviewcolumn.c
7257 * gtk/gtkwidget.c: changed accordingly.
7259 2008-01-25 Sven Herzberg <sven@imendio.com>
7261 Reviewed by Johan Dahlin.
7263 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7264 this is called with something that's not a GtkUIManager
7266 2008-01-24 Johan Dahlin <johan@gnome.org>
7268 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
7269 Chain up to parent, so widgets can have internal children.
7271 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7273 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7276 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7278 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7280 Use pango_layout_set_height() for calendar details (#506049).
7282 * configure.in: Require 1.19.3 for pango_layout_set_height().
7283 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7285 2008-01-18 Johan Dahlin <johan@gnome.org>
7287 * gtk/gtk-builder-convert (get_property_node): New method
7288 (GtkBuilderConverter._create_object): Conditionally take a node as
7289 a property value, so don't lose translate/context attributes if they
7291 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7292 property values instead of strings.
7293 (#509153, Erik van Pienbroek)
7295 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
7297 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7299 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7300 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7301 * tests/testcalendar.c: Duplicate calendar details before returning.
7303 2008-01-16 Christian Persch <chpe@gnome.org>
7305 * gtk/gtkwidget.c: Store the event mask and extension event mode
7306 directly in the gobject data pointer, instead of in an allocated
7309 2008-01-16 Michael Natterer <mitch@imendio.com>
7311 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
7312 gdk-pixbuf now uses gio functions.
7314 2008-01-16 Matthias Clasen <mclasen@redhat.com>
7316 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
7317 the notify::model signal. (#509819, David Zeuthen)
7319 2008-01-15 Michael Natterer <mitch@imendio.com>
7327 * gdk/gdkwindow.h: made more struct pointer and array parameters
7328 const. GDK should now be constified as far as possible without
7329 breaking source compatibility. Includes some minor cleanup like
7330 indentation and s/nfoo/n_foo/ (bug #508544).
7336 * gdk/gdkregion-generic.c
7338 * gdk/directfb/gdkdisplay-directfb.c
7339 * gdk/directfb/gdkwindow-directfb.c
7340 * gdk/quartz/gdkdisplay-quartz.c
7341 * gdk/quartz/gdkwindow-quartz.c
7342 * gdk/win32/gdkdisplay-win32.c
7343 * gdk/win32/gdkwindow-win32.c
7344 * gdk/x11/gdkdisplay-x11.c
7345 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7347 2008-01-14 Michael Natterer <mitch@imendio.com>
7349 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
7352 (gtk_rc_parse_any): change variables to const and introduce
7353 another local variable to fix const warnings.
7355 2008-01-14 Michael Natterer <mitch@imendio.com>
7357 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
7358 of gdk_screen_get_font_options() to gpointer to get rid of const
7361 2008-01-14 Michael Natterer <mitch@imendio.com>
7363 * tests/testdnd.c (source_drag_data_get): fix another call to
7364 gtk_selection_data_set().
7366 2008-01-14 Michael Natterer <mitch@imendio.com>
7368 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
7371 2008-01-14 Michael Natterer <mitch@imendio.com>
7373 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
7375 2008-01-14 Michael Natterer <mitch@imendio.com>
7377 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
7378 "uris" to guchar* when passing it to gtk_selection_data_set().
7380 2008-01-14 Michael Natterer <mitch@imendio.com>
7386 * gdk/gdkinternals.h
7388 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
7389 parameters const (bug #508544).
7394 * gdk/gdkrectangle.c
7395 * gdk/gdkpolyreg-generic.c
7396 * gdk/gdkregion-generic.c
7397 * gdk/directfb/gdkcolor-directfb.c
7398 * gdk/directfb/gdkgc-directfb.c
7399 * gdk/directfb/gdkgeometry-directfb.c
7400 * gdk/directfb/gdkwindow-directfb.c
7401 * gdk/quartz/gdkcolor-quartz.c
7402 * gdk/quartz/gdkgc-quartz.c
7403 * gdk/quartz/gdkgeometry-quartz.c
7404 * gdk/quartz/gdkwindow-quartz.c
7405 * gdk/win32/gdkcolor-win32.c
7406 * gdk/win32/gdkgc-win32.c
7407 * gdk/win32/gdkgeometry-win32.c
7408 * gdk/win32/gdkprivate-win32.h
7409 * gdk/win32/gdkwindow-win32.c
7410 * gdk/x11/gdkcolor-x11.c
7411 * gdk/x11/gdkgc-x11.c
7412 * gdk/x11/gdkgeometry-x11.c
7413 * gdk/x11/gdkmain-x11.c
7414 * gdk/x11/gdkprivate-x11.h
7415 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7417 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
7420 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7422 Explain name choice for gtk_tool_item_toolbar_reconfigured.
7424 * gtk/gtktoolitem.c: Add comment expaining name choice for
7425 gtk_tool_item_toolbar_reconfigured.
7427 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7429 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
7430 implementations to notify its children, when some aspect of their
7431 configuration changed (#509042).
7433 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
7434 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
7435 Rename _gtk_tool_item_toolbar_reconfigured.
7437 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7439 Include <gtk/gtktoolshell.h> from gtk.h.
7441 * gtk/gtk.h: Add gtktoolshell.h
7443 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7445 Print angle brackets arround e-mail addresses in the about dialog
7446 (#409520, Mariano Suárez-Alvarez).
7448 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
7450 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
7452 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
7453 special casing so test widgets are always queues for destruction
7456 * gtk/tests/testing.c: removed bits left-over from testing without
7459 2008-01-10 Tor Lillqvist <tml@novell.com>
7461 * modules/other/gail/libgail-util/Makefile.am
7462 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
7465 2008-01-10 Tor Lillqvist <tml@novell.com>
7467 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
7468 uses gtkprintunixdialog API.
7470 2008-01-10 Tor Lillqvist <tml@novell.com>
7472 * gdk/win32/gdkdisplay-win32.c
7473 * gdk/win32/gdkglobals-win32.c
7474 * gdk/win32/gdkprivate-win32.h
7475 * gdk/win32/gdkscreen-win32.c
7476 * gdk/win32/gdkwindow-win32.c: Implement
7477 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
7478 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
7481 2008-01-10 Cody Russell <bratsche@gnome.org>
7483 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
7484 Properly ref/unref windows and parents. (#506769)
7486 2008-01-10 Richard Hult <richard@imendio.com>
7488 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7489 (gdk_window_hide), (move_resize_window_internal): Move the
7490 tracking rect workaround from here...
7492 * gdk/quartz/GdkQuartzWindow.c:
7493 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
7494 movements during showing/hiding operations. Fixes bug #508516.
7496 2008-01-10 Michael Natterer <mitch@imendio.com>
7498 * gdk/directfb/gdkscreen-directfb.c
7499 (gdk_screen_get_monitor_width_mm)
7500 (gdk_screen_get_monitor_height_mm)
7501 (gdk_screen_get_monitor_plug_name): add these functions to make
7504 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7506 * gtk/gtkrecentchoosermenu.c:
7507 (idle_populate_func), (idle_populate_clean_up): Fix possible
7508 recursion by resetting the idle source id. (#507605, William
7511 2008-01-10 Kristian Rietveld <kris@imendio.com>
7513 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7514 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7515 avoid valgrind warnings. (#507751, patch from Christian Persch).
7517 2008-01-10 Kristian Rietveld <kris@imendio.com>
7519 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7520 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7522 2008-01-10 Kristian Rietveld <kris@imendio.com>
7524 Fix #477175, reported by Juri Pakaste.
7526 * gtk/gtktreeprivate.h:
7527 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7528 tree_view->priv->dy here directly, just calculate the new value
7529 and set it on the adjustment,
7530 (gtk_tree_view_adjustment_changed): add guards to not call
7531 gtk_tree_view_dy_to_top_row() if we are currently in
7532 gtk_tree_view_top_row_to_dy(),
7533 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7534 coordinates, not tree coordinates,
7535 (gtk_tree_view_real_start_editing): add cast.
7537 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7538 position of the editable in the "create new row and start editing"
7541 2008-01-09 Michael Natterer <mitch@imendio.com>
7543 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7546 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7547 * gtk/gtkicontheme.c (theme_list_contexts)
7548 (gtk_icon_theme_lookup_icon)
7549 * gtk/gtkimcontextsimple.c (beep_window)
7550 * gtk/gtklinkbutton.c (set_link_color)
7551 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7554 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7555 variable and add const to another to fix a warning.
7557 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7559 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7560 the current page. (#499951, Andreas Sandberg)
7562 2008-01-06 Johan Dahlin <johan@gnome.org>
7564 * gtk/gtkspinbutton.c: Declare value in the example code for
7565 GtkSpinButton::output, as pointed out by Anders Carlsson.
7567 2008-01-06 Christian Persch <chpe@gnome.org>
7569 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7570 and remove an obsolete event box. Bug #506760.
7572 2008-01-06 Johan Dahlin <johan@gnome.org>
7574 * tests/buildertest.c (test_domain):
7575 Update, GtkBuilder::translation-domain is no longer set
7577 * gtk/gtkbuilderparser.c (parse_interface):
7578 Allow domains to be overridden in <interface>'s if a translation-domain
7579 is set in the builder.
7580 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7581 of the builder, make the domain set in the <interface> apply only to strings
7583 (#496831, Ryan Lortie)
7585 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
7588 * gtk/gtktreestore.c (tree_model_end_element):
7589 Remove an unused variable
7591 2008-01-06 Matthias Clasen <mclasen@redhat.com>
7593 * gtk/gtkspinbutton.c: Document the ::output signal and
7594 add an example. (#507566, example by Owen Taylor)
7596 2008-01-06 Johan Dahlin <johan@gnome.org>
7598 * gtk/gtkcellrenderercombo.c:
7599 (gtk_cell_renderer_combo_get_property),
7600 (gtk_cell_renderer_combo_set_property):
7601 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7602 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7603 * gtk/gtknotebook.c: (gtk_notebook_set_property):
7604 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7605 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7606 (gtk_text_buffer_get_property):
7607 * gtk/gtktextview.c: (gtk_text_view_set_property):
7608 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7609 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7610 (gtk_tool_button_get_property):
7611 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7612 (gtk_tool_item_get_property):
7613 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7614 * gtk/gtkwidget.c: (gtk_widget_set_property):
7615 * gtk/gtkwindow.c: (gtk_window_set_property):
7616 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7619 2008-01-06 Johan Dahlin <johan@gnome.org>
7621 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
7622 Make sure that --root works for toplevel widgets.
7623 (#491847, Phil Lello)
7625 2008-01-05 Johan Dahlin <johan@gnome.org>
7627 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7628 to make sure that make test-report works properly
7630 2008-01-05 Christian Persch <chpe@gnome.org>
7632 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7633 GType as integer through gpointer. Bug #507395.
7635 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
7637 Avoid some compiler warnings (#507000).
7639 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7640 for value argument of _gtk_builder_flags_from_string.
7641 * gtk/gtkwidget.c: Don't alias the child pointer passed
7642 to gdk_window_get_user_data.
7644 2008-01-04 Michael Natterer <mitch@imendio.com>
7646 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7647 to set the time in the returned GdkTimeCoords.
7649 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
7651 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7652 correct comparison function (kudos to Christian Persch and
7653 Claudio Saavedra for spotting this)
7655 * gtk/gtkrecentchooserutils.c:
7656 (sort_recent_items_mru),
7657 (sort_recent_items_lru): Ditto as above.
7659 2008-01-03 Johan Dahlin <johan@gnome.org>
7661 * tests/defaultvaluetest.c: Make it pass again.
7663 2008-01-02 Johan Dahlin <johan@gnome.org>
7665 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
7666 make it pass on Ubuntu.
7667 (main): Use gtk_test_list_all_types () instead of providing our
7669 And it no longer passes.
7671 2007-12-30 Johannes Schmid <jhs@gnome.org>
7673 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7674 Also reorder menu when reordering tabs by drag & drop
7677 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7678 Add a menu to one of the notebooks to have a test-case for
7679 the change mentioned above.
7681 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
7683 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7685 2007-12-31 Christian Persch <chpe@gnome.org>
7687 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7688 Plug a mem leak. Bug #506107.
7690 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7692 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7693 icon cache api change. (#506135, Kazuki Iwamoto)
7695 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7697 Consider "wide-separators" and "separator-height" style properties:
7698 The separator is drawn using gtk_paint_box instead of cairo, when
7699 "wide-separators" is set. Also do not highlight details for previous
7700 or next month, if their day matches the selected day. (#339540)
7702 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7703 in gtk_calendar_size_request and calendar_paint_day
7704 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7705 for selected detail separators in GtkCalendar.
7707 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7709 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7711 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7712 a local variable instead in gtk_calendar_size_request.
7714 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7716 * tests/defaultvaluetest.c: Add enough exclusions to make the
7719 2007-12-28 Christian Persch <chpe@gnome.org>
7721 * modules/other/gail/Makefile.am:
7722 * modules/other/gail/tests/*:
7723 * configure.in: Merge tests from standalone gail. Bug #504568.
7725 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7727 * gtk/gtkclipboard.c: Make the finalizer work when display is
7730 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7732 Draw bottom shadow of GtkCalender headings. (#506113)
7734 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7736 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7738 * gtk/gtkcalendar.c: Document the initial values of year/month/day
7741 2007-12-28 Christian Persch <chpe@gnome.org>
7743 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
7744 a mem leak. Bug #506096.
7746 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7749 * gtk/gtktreeview.c:
7750 * gtk/gtkprintoperation.c:
7751 * gtk/gtkprogressbar.c:
7752 * gtk/gtkmessagedialog.c:
7753 * gtk/gtknotebook.c:
7757 * gtk/gtklinkbutton.c:
7758 * gtk/gtkmenu.c: More default property value corrections.
7760 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7762 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
7763 accel_group unless it is set.
7765 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7767 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
7769 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7771 * gtk/gtkhandlebox.c: Fix the default values of shadow and
7772 shadow-type properties.
7774 * gtk/gtkfontsel.c: Fix the default values of several properties.
7776 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
7779 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
7781 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
7784 2007-12-28 Johan Dahlin <johan@gnome.org>
7786 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
7787 (gtk_dialog_buildable_custom_tag_start): Chain up.
7788 This makes it possible to have accelerators tags on GtkDialog
7791 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7793 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
7794 are shown within the widget, or just as tooltip. (#339540)
7796 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
7797 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
7798 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
7801 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7803 Try more decent appearance of calendar details separator. (#339540)
7805 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
7806 and make it short by one pixel on each side.
7808 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7810 Apply trivial code-style changes from attachement 101101. (#339540)
7812 * tests/testcalendar.c: Some updates to current GTK+ code-style.
7814 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7816 Restructure testcalendar for testing calendar details. (#339540)
7818 * tests/testcalendar.c: Push code arround for testing calendar details.
7820 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7822 Implement GtkTooltip API for calendar details. (#339540)
7824 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
7825 Remember detail overflows in calendar_paint_day to show the tooltip
7826 only when neccessary.
7828 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7830 Without setting "detail-width-chars" and "detail-height-rows"
7831 properties not only the widget has to be redrawn on certain
7832 conditions, but also its size must be recalculated. (#339540)
7834 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
7835 that function instead of gtk_widget_queue_draw.
7837 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7839 Consider details for size-request and expose-event. (#339540)
7841 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
7842 is_color_attribute functions. Change gtk_calendar_size_request
7843 and calendar_paint_day to consider and show calender details.
7845 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7847 * gtk/gtkcombobox.c: Introduce local priv variables to
7850 2007-12-27 Matthias Clasen <mclasen@redhat.com>
7852 * gtk/gtkcombobox.c: Correct the default value for the
7853 tearoff-title property.
7855 * gtk/gtkcellrenderertext.c: Fix the default value for the
7856 wrap-mode and font-scale properties.
7858 * gtk/gtkaspectratio.c: Fix the default value for the ratio
7861 2007-12-27 Matthias Clasen <mclasen@redhat.com>
7863 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
7864 defines. (#505708, MINAMI Hirokazu)
7866 2007-12-27 Christian Persch <chpe@gnome.org>
7868 * Makefile.am: Install gail.pc. Bug #505859.
7870 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
7872 Add infrastructure for GtkCalendar details. (#339540)
7874 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
7875 Add "detail-width-chars" and "detail-height-rows" properties,
7876 and gtk_calendar_set_detail_func function.
7878 2007-12-27 Xan Lopez <xan@gnome.org>
7881 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
7883 Add gtk_border_new to avoid memory allocator confusions when using
7884 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
7886 2007-12-27 Christian Persch <chpe@gnome.org>
7888 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
7889 bug #504886 not to read unitialised memory.
7891 2007-12-26 Xan Lopez <xan@gnome.org>
7893 * gtk/gtkstatusbar.c (has_extra_children): take into account the
7894 modification of the internal frame contents to decide if we have
7895 extra children. (#415677)
7897 2007-12-22 Christian Persch <chpe@gnome.org>
7899 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
7901 2007-12-25 Christian Persch <chpe@gnome.org>
7903 * modules/other/gail/gailwindow.c: (gail_window_initialize):
7904 Initialise |widget|. Fixes a buglet introduced by the commit from bug
7907 2007-12-25 Christian Persch <chpe@gnome.org>
7909 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
7911 2007-12-25 Christian Persch <chpe@gnome.org>
7913 * modules/other/gail/*.[ch]: Remove relocations from the atk
7914 factories. Remove unused gail_foo_new() functions. Fix object
7915 instantiation to be derivation safe by moving initialisation code
7916 from the removed gail_foo_new() functions to the
7917 AtkObjectClass::initialize implementation. Bug #505226.
7919 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7921 * modules/other/gail/gailentry.c:
7922 * modules/other/gail/gailimage.c:
7923 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
7924 uses of clipboards and settings. (#504722, Christian Persch)
7926 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7928 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
7931 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7933 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
7934 use the time and button information from the event. (#504901,
7937 2007-12-23 Cody Russell <bratsche@gnome.org>
7939 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
7940 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
7941 Fixes a regression caused by #164537 patch where transient
7942 windows that are hidden get shown (incorrectly) when their
7943 parents are minimized. (#504984)
7945 2007-12-22 Christian Persch <chpe@gnome.org>
7947 * modules/other/gail/gailcell.c:
7948 * modules/other/gail/gailcontainercell.c:
7949 * modules/other/gail/gailexpander.c:
7950 * modules/other/gail/gailtextcell.c:
7951 * modules/other/gail/gailtextview.c:
7952 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
7954 2007-12-22 Christian Persch <chpe@gnome.org>
7956 * modules/other/gail/*.c: Include config.h. Bug #504720.
7958 2007-12-22 Christian Persch <chpe@gnome.org>
7960 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
7961 handwritten get_type functions. Bug #504661.
7963 2007-12-23 Xan Lopez <xan@gnome.org>
7965 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
7966 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
7968 Patch by Sadrul Habib Chowdhury (#504804)
7970 2007-12-22 Christian Persch <chpe@gnome.org>
7972 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
7973 #504645, patch by Li Yuan.
7975 2007-12-22 Christian Persch <chpe@gnome.org>
7977 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
7979 2007-12-22 Christian Persch <chpe@gnome.org>
7981 * modules/other/gail/gail.c:
7982 * modules/other/gail/gailbutton.c:
7983 * modules/other/gail/gailcell.c:
7984 * modules/other/gail/gailcombo.c:
7985 * modules/other/gail/gailcombo.h:
7986 * modules/other/gail/gailcombobox.c:
7987 * modules/other/gail/gailentry.c:
7988 * modules/other/gail/gailexpander.c:
7989 * modules/other/gail/gailmenuitem.c:
7990 * modules/other/gail/gailnotebook.c:
7991 * modules/other/gail/gailnotebookpage.c:
7992 * modules/other/gail/gailnotebookpage.h:
7993 * modules/other/gail/gailoptionmenu.c:
7994 * modules/other/gail/gailrange.c:
7995 * modules/other/gail/gailtextview.c:
7996 * modules/other/gail/gailtreeview.c:
7997 * modules/other/gail/gailtreeview.h:
7998 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
8001 2007-12-22 Matthias Clasen <mclasen@redhat.com>
8003 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
8006 2007-12-21 Richard Hult <richard@imendio.com>
8008 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
8009 Plug leak of destroyed subviews, fixes bug #504753.
8011 2007-12-20 Johan Dahlin <johan@gnome.org>
8013 * tests/Makefile.am (TEST_PROGS):
8014 * tests/defaultvaluetest.c: Add a test for default values,
8015 based on program by Christan Perch
8017 2007-12-20 Johan Dahlin <johan@gnome.org>
8019 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
8020 Refactor to avoid some duplication.
8021 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
8022 Fixes #504749, Yuri Pimenov
8024 2007-12-20 Kristian Rietveld <kris@imendio.com>
8026 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
8027 the build work again on systems without xrandr 1.2.
8029 2007-12-20 Christian Persch <chpe@gnome.org>
8032 * modules/other/gail/libgail-util/Makefile.am:
8033 Keep the same libtool version as the standalone libgail-util had.
8036 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
8038 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8040 2007-12-20 Alexander Larsson <alexl@redhat.com>
8042 * gdk/x11/gdkapplaunchcontext-x11.c:
8043 Update for gio API changes
8045 2007-12-20 Richard Hult <richard@imendio.com>
8047 * gdk/quartz/GdkQuartzWindow.c:
8048 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8049 processing events after changing the size.
8051 2007-12-20 Richard Hult <richard@imendio.com>
8053 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8054 Add stub for quartz to fix build.
8056 2007-12-20 Christian Persch <chpe@gnome.org>
8058 * modules/other/gail/Makefile.am:
8059 * modules/other/gail/gailimage.c: (gail_image_class_init),
8060 (gail_image_init), (elide_underscores), (gail_image_get_name),
8061 (atk_image_interface_init), (gail_image_finalize):
8062 * modules/other/gail/gailimage.h:
8063 R modules/other/gail/gailintl.h:
8064 * po/POTFILES.skip: Use the stock item's label as the name of the
8065 accessible in gailimage.c. Bug #504246.
8067 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
8069 Avoid some compiler warnings and remove obsolete code. (#339540)
8071 * gtk/gtkcalendar.c: Change week and year variable in
8072 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8073 0" block from calendar_paint_day: The feature in question is handled
8074 few lines above. Cast data returned by gtk_selection_data_get_text()
8075 to (gchar*) in gtk_calendar_drag_data_received.
8077 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
8079 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8081 2007-12-19 Johan Dahlin <johan@gnome.org>
8083 * tests/buildertest.c (test_object_properties):
8084 Add another call to gtk_builder_add_string after using
8085 delayed properties, as reported in #504393 but already
8088 2007-12-18 Christian Persch <chpe@gnome.org>
8091 * docs/reference/Makefile.am:
8092 * docs/reference/libgail-util/*:
8093 * gail-uninstalled.pc.in:
8095 * modules/Makefile.am:
8096 * modules/other/Makefile.am:
8097 * modules/other/gail/*:
8098 * modules/other/gail/libgail-util/*:
8099 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8101 2007-12-17 Matthias Clasen <mclasen@redhat.com>
8103 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8104 * gdk/win32/gdkproperty-win32.c:
8105 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8107 * gtk/gtkimmodule.[hc]:
8108 * gtk/gtkimmulticontext.[hc]: When determining the default context,
8109 look at the gtk-im-module setting, and listen for changes to the
8110 setting. (#502446, Akira Tagoh)
8112 2007-12-17 Kristian Rietveld <kris@imendio.com>
8114 * gtk/gtktooltip.c (gtk_tooltip_finalize),
8115 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8116 to NULL as soon as it's destroyed. (#496546, patch from
8119 2007-12-17 Kristian Rietveld <kris@imendio.com>
8121 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8122 always determine what arrow to show if show_sort_indicator is true.
8123 (#352738, Chris Vine).
8125 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
8127 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8130 * gtk/gtkpaned.c: Call gtk_container_forall instead of
8131 gtk_container_foreach in get_child_panes.
8133 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
8135 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8137 Plug leak: When reordering the info in the list the old node is
8138 removed but not freed. (#503569)
8140 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
8142 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8143 Use u32 instead of __u32 and u8 instead of __u8 as the other types
8144 are deprecated since DirectFB 1.0.0. If compiling with an older
8145 version define the new type name to the old types. Fixes bug #503190.
8147 2007-12-14 Ray Strode <rstrode@redhat.com>
8149 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8150 instead of g_signal_connect_after (..., "realize", ...) as an
8151 alternative to gtk_widget_realize () (bug 503537).
8153 2007-12-14 Michael Natterer <mitch@imendio.com>
8155 * gdk/gdkinternals.h
8156 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8159 * gdk/gdkapplaunchcontext.c
8160 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8161 header already includes everything now.
8163 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8165 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8166 next stable release shall be 2.16, not 2.14 - even if disagree.
8168 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8170 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8172 Change GtkToolItem to retrieve its properties from GtkToolShell
8173 interface, instead of relying on being child of a GtkToolbar.
8176 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8177 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8178 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8179 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8180 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8181 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8182 Take section docs from template file and update them for GtkToolShell.
8183 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8184 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8186 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8188 Extract loading of GtkPageSetup and GtkPrintSettings from their
8189 *_new_*() functions and move that code into separate
8190 *_load_*() functions (#475565).
8192 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8193 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8194 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8195 Change the matching *_new_*() functions to use those functions.
8197 2007-12-14 Matthias Clasen <mclasen@redhat.com>
8200 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8202 2007-12-14 Kristian Rietveld <kris@imendio.com>
8204 * gtk/tests/liststore.c:
8205 * gtk/tests/treestore.c: added tests for insertion functions.
8207 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
8209 * Add RandR 1.2 support
8211 - New monitors_changed signal - New API to get width/height of
8212 monitors, and the name of the plug
8214 2007-12-13 Kristian Rietveld <kris@imendio.com>
8216 * gtk/tests/liststore.c:
8217 * gtk/tests/treestore.c: test the move and swap functions on a
8218 store with only one node.
8220 2007-12-13 Kristian Rietveld <kris@imendio.com>
8222 * gtk/gtktestutils.c (gtk_test_init): add a call to
8225 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8228 2007-12-13 Kristian Rietveld <kris@imendio.com>
8230 * gtk/tests/liststore.c:
8231 * gtk/tests/treestore.c: start composing tests for the list and tree
8234 * gtk/tests/treeview-scrolling.c: added automated tests for
8235 GtkTreeView's scrolling "subsystem".
8237 * gtk/tests/Makefile.am: updated; added new test programs.
8239 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
8241 Make the code compile again after the GdkAppLaunchContext changes.
8243 * configure.in: Add gio-2.0 to GDK_PACKAGES.
8244 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8246 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8248 * gdk/gdkapplaunchcontext.c: Add docs
8250 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8252 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
8253 in gdk, providing startup notification. (#503203)
8255 * gdk/x11/gdkapplaunchcontext-x11.c:
8256 * gdk/win32/gdkapplaunchcontext-win32.c:
8257 * gdk/quartz/gdkapplaunchcontext-quartz.c:
8258 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8259 parts. All but X11 are just empty stubs for now.
8262 * gdk/gdkinternals.h:
8264 * gdk/x11/Makefile.am:
8265 * gdk/win32/Makefile.am:
8266 * gdk/quartz/Makefile.am:
8267 * gdk/directfb/Makefile.am: Necessary glue.
8269 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
8271 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8273 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8275 * gdk/directfb/gdktestutils-directfb.c:
8276 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8277 which adds testing functions to the DirectFB backend.
8279 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8281 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8282 Ciccani which fixes the mixing of gdk and cairo rendering.
8284 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
8286 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8287 on "drag-motion" handlers. Clearify documentation for
8290 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
8292 * buildertest.c: made unnecessarily exported symbols static.
8293 switched g_return_if_fail() statements in tests to assertions.
8294 special cased currently failing Widget/accesibility test to
8295 run only for g_test_thorough(), so it doesn't break make check.
8296 some coding style fixes.
8298 * Makefile.am: added buildertest to TEST_PROGS.
8300 2007-12-11 Stefan Kost <ensonic@users.sf.net>
8302 * docs/tutorial/gtk-tut.sgml:
8303 Use gtk_widget_get_parent_window() instead of widget->parent->window.
8305 2007-12-10 Richard Hult <richard@imendio.com>
8307 * gdk/quartz/Makefile.am:
8308 * gdk/quartz/gdkquartz.h:
8309 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
8310 header (bug #405915). Also add a getter for the toplevel nswindow.
8312 2007-12-10 Richard Hult <richard@imendio.com>
8314 * gdk/quartz/gdkdrawable-quartz.c:
8315 (gdk_quartz_drawable_get_context),
8316 (gdk_quartz_drawable_release_context):
8317 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
8318 (gdk_event_check), (gdk_event_dispatch), (poll_func):
8319 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
8320 used for each drawing context and in prepare, dispatch and poll
8321 with one that exists across each main loop iteration. Fixes leaks
8322 on leopard and protects against future leaks introduce when the
8323 underlying system changes again (bug #492977).
8325 2007-12-10 Richard Hult <richard@imendio.com>
8327 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
8328 Fix the check for no changes to position and size.
8330 2007-12-10 Richard Hult <richard@imendio.com>
8332 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
8333 sized areas at (0, 0), patch from Paul Davis.
8335 2007-12-10 Richard Hult <richard@imendio.com>
8337 * gdk/quartz/gdkprivate-quartz.h:
8338 * gdk/quartz/gdkeventloop-quartz.c:
8339 (_gdk_quartz_event_loop_get_pending),
8340 (_gdk_quartz_event_loop_check_pending),
8341 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
8342 (gdk_event_check), (gdk_event_dispatch):
8343 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
8344 (_gdk_events_queue): Fix a bug where we could end up trying to
8345 handle the same event more than once. Based on patch from Paul
8348 2007-12-10 Tor Lillqvist <tml@novell.com>
8350 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
8353 2007-12-10 Matthias Clasen <mclasen@redhat.com>
8355 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
8356 to avoid further fallout from the fix for bug 388321.
8358 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8360 * gdk/directfb/gdkgc-directfb.c:
8361 * gdk/directfb/gdkdrawable-directfb.c:
8362 * gdk/directfb/gdkdirectfb.h:
8363 * gdk/directfb/gdkwindow-directfb.c:
8364 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8365 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
8366 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
8367 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
8368 which are expected to improve the performance of the DirectFB backend.
8369 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
8371 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8373 * gtk/gtkcontainer.c: Correct the documentation of child
8374 property getter arguments. (#501992, David Brigada)
8376 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8378 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
8379 leak pixbufs. (#502250, Yevgen Muntyan)
8381 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
8383 * gtk/gtkprintunixdialog.c:
8384 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
8385 Print and Page Setup dialogs (#502202).
8387 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
8389 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
8390 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
8391 of XVFB_START, since it's the GTESTER invokation that needs this.
8393 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
8395 * gdk-pixbuf/gdk-pixbuf.symbols:
8397 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
8398 positives in abicheck.sh
8400 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8402 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
8403 GDK events generations in the DirectFB backend.
8405 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
8407 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
8408 set of likely unused display ids, because MacOS has no seq(1) command.
8410 2007-12-06 Richard Hult <richard@imendio.com>
8412 * gdk/quartz/gdkevents-quartz.c:
8413 (synthesize_crossing_events_for_ns_event): Fix warning when
8414 switching spaces in leopard.
8416 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
8418 * tests/floatingtest.c: ported to new testing framework.
8420 * tests/Makefile.am: run floatingtest as testing framework test.
8422 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
8424 * tests/autotestfilechooser.c: majorly speed up execution by reducing
8425 timeouts and converting main loop sleeps to pending/iterate loops with
8426 very low priority async handlers. eliminate output for non-verbose
8427 tests. assert successfull subtests in all test functions. use testing
8428 framework in main().
8430 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
8431 executed inside Xvfb upon make check.
8433 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
8435 * tests/objecttests.c: use string comparisons for string property
8436 values and get rid of referencing symbols in array initialization.
8438 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
8440 * gtk+/Makefile.decl: run tests in current dir after setting up the
8441 logging directory, so their results get properly merged into the
8444 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
8445 tests to loop over registered Gdk/Gtk+ types.
8447 * gtk+/tests/objecttests.c: new test program, implements automated
8448 property tests. several properties are blacklisted because they
8449 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
8450 can be used to test blacklisted properties and see which proprty failed.
8452 2007-12-04 Richard Hult <richard@imendio.com>
8454 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
8455 Fully initialize the root window, fixes bug #501583.
8457 2007-12-04 Matthias Clasen <mclasen@redhat.com>
8459 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
8462 2007-12-03 Richard Hult <richard@imendio.com>
8464 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
8465 Don't crash when dragging from a source that doesn't support uri
8466 lists (bug #499868, Paul Davis).
8468 2007-12-03 Richard Hult <richard@imendio.com>
8470 * gdk/quartz/gdkwindow-quartz.c:
8471 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
8472 parent relative bg pixmap is set, and no parent has a bg
8473 pixmap. Fixes bug #500804.
8475 2007-12-03 Matthias Clasen <mclasen@redhat.com>
8477 Two optimizations for icon cache lookups.
8479 * gtk/gtkiconcache.[hc]:
8480 * gtk/gtkicontheme.c: Remember the directory index for
8481 subdirectories, instead of running over the directory list
8484 * gtk/gtkiconcache.c (find_image_offset): Remember the last
8485 chain and try it first; this helps with the the usage patterns
8486 in gtkicontheme.c, where the same icon is queried for a lot
8489 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
8491 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
8492 functions from header files. this should be portable across linux and
8493 Mac OS, unlike the previpous sed expression.
8495 2007-12-1 Cody Russell <bratsche@gnome.org>
8497 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
8498 On Windows, queue a redraw of child2 whenever we set
8499 the pane handle position. This is unfortunately kind
8500 of hacky, but solves the visual artifacts that were
8501 occuring on at least certain types of child widgets
8502 (e.g., text views and tree views) that are inside
8503 horizontal or vertical panes. (#144269)
8505 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8507 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8509 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8511 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8514 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8516 * gtk/Makefile.am: Fix ordering of subdirs.
8518 2007-11-28 Tor Lillqvist <tml@novell.com>
8520 A proper build of GNU libintl is supposed to export the variable
8521 _nl_msg_cat_cntr. configure looks for that variable in order to
8522 recognize GNU gettext. If it sees that it is indeed GNU gettext
8523 that is used, it decides to install message catalogs in
8524 share/locale, otherwise in lib/locale. Until now on Windows I have
8525 built GTK+ against a build of GNU gettext that did not export
8526 _nl_msg_cat_cntr. But this will change, so we can't assume message
8527 catalogs are always in lib/locale.
8529 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8530 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8531 before the inclusion of gtkprivate.h so that it sees the original
8534 * gtk-zip.sh.in: Check whether the message catalogs are in
8535 share/locale or lib/locale.
8537 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8538 that the code in _gtk_get_localedir() will find the slashes.
8540 2007-11-28 Tor Lillqvist <tml@novell.com>
8542 * gtk/Makefile.am: Improve portability. The -o option is present
8543 only in newish GNU egreps. Use one more sed in the pipeline
8546 2007-11-28 Tor Lillqvist <tml@novell.com>
8548 Fix #375893, patch by Ben Hague:
8550 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8551 around GetLogicalDrives() that takes also the viewable drive
8552 restrictions in the Registry (which are usually the result of an
8553 Active Directory Group Policy) into account.
8555 (check_volumes, gtk_file_system_win32_list_volumes) Call
8556 get_viewable_logical_drives() instead of GetLogicalDrives().
8558 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8560 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8561 variables to silence valgrind. (#495124, Morten Welinder)
8563 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8565 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8566 that the construct_child function is responsible for returning a
8568 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8569 objects from constructors
8570 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8571 g_object_ref() to this construction function (it's the only
8576 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8578 * gtkbuilder.c: remove concept of root objects and just refcount
8579 all objects in the builder. Fixes #496651.
8581 2007-11-26 Ryan Lortie <desrt@desrt.ca>
8583 * tests/buildertest.c (test_window): fix invalid free
8585 2007-11-26 Josselin Mouette <joss@malsain.org>
8587 reviewed by: Federico Mena Quintero
8589 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8590 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8591 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8592 Make the shortcuts activate with a single click. (#148828)
8593 Fix a few things affected by the change:
8594 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
8595 where no shortcut is selected.
8596 - Don't activate a shortcut in the response callback.
8597 - Filter out duplicate entries in volumes and bookmarks to
8598 avoid the selection to change when reordering them with DnD.
8600 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8603 * gtk/gtknotebook.c:
8604 * gtk/gtkplugprivate.h:
8606 * gtk/gtksocketprivate.h:
8607 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8609 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8611 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8612 (#495574, Richard Hult)
8614 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8616 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8617 String change ! (#376361, Sven Neumann)
8619 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8621 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8623 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8626 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8628 * gtk/gtkassistant.c: Improve alternative button
8629 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8631 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8633 * gtk/gtkcalendar.c: Fix a theming problem with colors
8634 in GtkCalendar. (#499703, Michael Hofmann)
8636 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8638 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8640 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8642 Use templates for glib-mkenums calls instead of
8643 complicated commandlines in Makefiles. (#429910)
8645 * gdk-pixbuf/Makefile.am:
8648 * perf/Makefile.am: Use templates for glib-mkenums
8650 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8651 * gdk/gdkenumtypes.[ch].template:
8652 * gtk/gtktypebuiltings.[ch].template:
8653 * perf/typebuiltins.[ch].template: The templates
8655 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8657 * gtk/gtkfilechooserbutton.c:
8658 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8659 some compilers choke on that. (#467722)
8661 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8663 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8664 about hook setup. (#425004, Emmanuele Bassi)
8666 2007-11-26 Tor Lillqvist <tml@novell.com>
8668 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8669 monitor the window currently is on, not always the primary
8670 monitor. (#463865, Tim Evans)
8672 2007-11-26 Tor Lillqvist <tml@novell.com>
8674 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8676 * gdk/win32/Makefile.am: Add it.
8678 2007-11-26 Tor Lillqvist <tml@novell.com>
8680 * configure.in: Don't add jasper to all_loaders if no libjasper.
8682 2007-11-25 Bastien Nocera <hadess@hadess.net>
8684 * configure.in: Add detection for libjasper, used by the
8685 gdk-pixbuf JPEG2000 loader
8687 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8689 * configure.in: Require gtk-doc 1.8
8691 * */*.c: Use gtk-doc abbreviations for examples in docs.
8693 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8695 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8698 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8700 * gtk/gtkdialog.c: Move signal and property documentation inline,
8701 fix a problem with the ::response signal docs. (#499133, Josselin
8704 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
8706 * Makefile.decl: initialize automake variables EXTRA_DIST and
8707 TEST_PROGS for unconditional appending via += in other makefiles.
8708 define recursive test targets: test, test-report, perf-report,
8709 full-report, as described here:
8710 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8711 the test targets will execute Gtk+ test programs within an Xvfb session.
8713 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8715 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8716 g_test_run() to run the tests to integrate with the testing framework.
8718 * gtk/tests/Makefile.am: removed exemplary testing rules.
8720 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8721 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8722 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8723 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8724 * docs/reference/Makefile.am, docs/tools/Makefile.am:
8725 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8726 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8727 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8728 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8729 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8730 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8731 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8732 * modules/engines/ms-windows/Theme/Makefile.am:
8733 * modules/engines/ms-windows/Makefile.am:
8734 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
8735 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8736 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8737 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
8738 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
8739 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
8740 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
8742 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8744 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
8745 (#485662, patch by Herbert Valerio Riedel)
8747 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8749 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
8751 2007-11-21 Richard Hult <richard@imendio.com>
8753 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
8754 stubs for the testing functions to fix the build.
8756 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8758 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
8759 (#467711, The Written Word)
8761 2007-11-21 Ross Burton <ross@openedhand.com>
8763 * gdk/x11/gdksettings.c:
8764 Add xsetting for gtk-scrolled-window-placement (#458103).
8766 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8768 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
8769 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
8770 (#469239, Michael Natterer)
8772 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8774 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
8775 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
8776 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
8777 (#436536, Tommi Komulainen)
8779 2007-11-21 Matthias Clasen <mclasen@redhat.com>
8781 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
8782 property. (#489782, Jan Janech)
8784 2007-11-20 Matthias Clasen <mclasen@redhat.com>
8786 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
8787 frames. (#107398, Owen Taylor, Miguel Gomez)
8789 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
8791 Moved Gdk test functions from Gtk+ to Gdk test utils.
8793 * gdk/Makefile.am: added gdktestutils.h to public includes.
8795 * gdk/gdk.h: added gdktestutils.h to public includes.
8797 * gdk/gdk.symbols: added gdk_test_simulate_button,
8798 gdk_test_simulate_key, gdk_test_render_sync.
8800 * gdk/gdktestutils.h: new file, added prototypes for
8801 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
8803 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
8805 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
8806 gdk_test_simulate_key, gdk_test_render_sync.
8808 * gtk/gtktestutils.c:
8809 * gtk/gtktestutils.h:
8810 * gtk/gtk.symbols: removed gtk_test_simulate_button
8811 gtk_test_simulate_key, gtk_test_xserver_render_sync.
8813 * gtk/tests/testing.c: call gdk_test_render_sync.
8815 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
8817 Added unit tests for Gtk+ testing utilities.
8819 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
8820 utility functions. some g_test_* related portions are disabled and need
8821 to be enabled once Gtk+ depends on a new glib with the GLib testing
8822 framework integrated.
8824 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
8825 tests. added exemplary test rules to run tests inside Xvfb. this
8826 needs to depend on gtester for full fledged testing.
8828 * gtk/Makefile.am: build gtk+/gtk/tests, define
8829 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
8830 e.g. gtk_text_get_type().
8832 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
8834 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
8836 Added Gtk+ testing utilities.
8838 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
8839 functions. for the most part, the functions herein involve
8840 navigating and interacting with dialog elements programatically,
8841 to automate user interaction tests of dialogs and widgets.
8843 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
8845 * gtk/gtk.symbols: added gtk_test_* symbols.
8847 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
8848 the build. generate gtktypefuncs.c which contains a list of all
8849 _get_type functions in Gtk+ and Gdk.
8851 2007-11-20 Bastien Nocera <hadess@hadess.net>
8853 * configure.in: add support for conditional icns gdk-pixbuf loader
8856 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
8858 * configure.in: updated version number to 2.15.0 for development.
8860 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
8862 === Branch for 2.12 ===