1 2008-08-13 Matthias Clasen <mclasen@redhat.com>
3 Bug 547516 – Add comments for translators in gtkprintbackendcups.c
5 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
6 hints. Patch by Leonardo Ferreira Fontenelle
8 2008-08-13 Michael Natterer <mitch@imendio.com>
10 * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
14 * gtk/gtkentrycompletion.c
16 * gtk/gtkoldeditable.c
19 * gtk/gtkwidget.c: changed accordingly.
21 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
23 Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama
24 doesn't compile on Solaris
26 * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile
27 when HAVE_SOLARIS_XINERAMA is defined.
29 2008-08-13 Michael Natterer <mitch@imendio.com>
31 * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
32 g_dgettext() to fix warning about discarded qualifier.
34 2008-08-12 Paolo Borelli <pborelli@katamail.com>
36 * gtk/gtkclipboard.c (gtk_clipboard_store):
37 use canonical signal name.
39 2008-08-12 Paolo Borelli <pborelli@katamail.com>
41 Bug 526234 - make shift+ctrl+del delete till the end of line
43 * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
44 keyboard shortcuts to delete to the end/start of the current line.
46 2008-08-12 Michael Natterer <mitch@imendio.com>
48 * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
49 label to set the color on.
51 (gtk_link_button_add): call set_link_color() so the label gets
52 the right color no matter how the link button is created.
54 2008-08-12 Michael Natterer <mitch@imendio.com>
56 * gtk/gtkassistant.c: remove unused variable and fix formatting of
57 some function headers.
59 2008-08-12 Michael Natterer <mitch@imendio.com>
61 * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
64 * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
65 visible for GDK_PIXBUF_COMPILATION.
67 * contrib/gdk-pixbuf-xlib/Makefile.am
69 * demos/gtk-demo/Makefile.am
70 * gdk-pixbuf/pixops/Makefile.am
74 * gtk/tests/Makefile.am
75 * gtk/theme-bits/Makefile.am
76 * modules/engines/ms-windows/Makefile.am
77 * modules/engines/pixbuf/Makefile.am
78 * modules/input/Makefile.am
80 * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
82 2008-08-12 Michael Natterer <mitch@imendio.com>
84 * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
85 g_return_val_if_fail() now that the function has a return value.
87 2008-08-12 Sven Neumann <sven@gimp.org>
92 * gtk/gtkcolorbutton.c
98 * gtk/gtkfilechooserdefault.c
107 * gtk/gtkrecentchooserdialog.c
108 * gtk/gtkrecentchooserutils.c
112 * gtk/gtktextbuffer.c
117 * gtk/gtkwindow-decorate.c
118 * gtk/gtkwindow.c: use canonical signal names in some more places
119 that I missed earlier. Also changed this in the documentation and
122 2008-08-12 Sven Neumann <sven@gimp.org>
125 * gtk/gtkradiotoolbutton.c: property nick and blurb should be
126 marked with P_(), not _().
128 2008-08-12 Michael Natterer <mitch@imendio.com>
130 * examples/gtkdial/gtkdial.c
131 * gdk/gdkapplaunchcontext.c
133 * gtk/gtkcellrendererpixbuf.c
134 * gtk/gtkcellrenderertext.c
141 * gtk/gtktexttagtable.c: remove dereferencing from some function
142 pointers i missed before.
144 2008-08-12 Michael Natterer <mitch@imendio.com>
146 * gtk/gtkaccellabel.c
151 * gtk/gtkfilechooserbutton.c
152 * gtk/gtkfilechooserdefault.c
160 * gtk/gtkmessagedialog.c
165 * gtk/gtkprintunixdialog.c
167 * gtk/gtkrecentchooserdefault.c
176 * gtk/gtkwin32embedwidget.c: chain up unconditionally in
177 realize(), unrealize(), map(), unmap(), style_set(),
178 key_press_event() and size_request()
180 2008-08-12 Michael Natterer <mitch@imendio.com>
182 * gtk/gtkwidget.c: change names of default implementations of
183 our own signals to consistently contain "real":
185 gtk_widget_style_set -> gtk_widget_real_style_set
186 gtk_widget_direction_changed -> gtk_widget_real_direction_changed
188 2008-08-12 Michael Natterer <mitch@imendio.com>
190 * gtk/*.c: consistently chain up using
191 GTK_FOO_CLASS(parent_class)->bar(instance) instead of
192 (*GTK_FOO_CLASS(parent_class))->bar(instance).
194 2008-08-12 Matthias Clasen <mclasen@redhat.com>
196 Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
197 of an ouput parameter
199 * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
200 return the GIcon directly.
201 Complaint by Murray Cumming
203 2008-08-11 Michael Natterer <mitch@imendio.com>
205 Bug 546754 – 2.13.6 update create rendering issue in the evolution
208 * gtk/gtkadjustment.c: instead of CLAMP(), use
210 value = MIN (value, upper - page_size);
211 value = MAX (value, lower);
213 so we don't end up below lower if upper - page_size is smaller
216 2008-08-11 Matthias Clasen <mclasen@redhat.com>
218 Bug 546616 – CUPS print backend uses 1.2 API without guards
220 * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
221 of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
222 Patch by Sven Herzberg and Richard Hult
224 2008-08-11 Michael Natterer <mitch@imendio.com>
226 Bug 547270 – Make GtkHSV public
229 * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
230 always public anyway).
232 * gtk/gtkhsv.h: add single-include guards, add class struct padding,
233 seal the instance member, cleanup.
235 * gtk/gtkhsv.c: center the widget in its allocation,
236 add "Since: 2.14", cleanup.
238 2008-08-11 Torsten Schoenfeld <kaffeetisch@gmx.de>
240 * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
241 to correctly state 2.14, not 2.16.
243 2008-08-11 Sven Neumann <sven@gimp.org>
245 * demos/gtk-demo/changedisplay.c
246 * demos/gtk-demo/clipboard.c
247 * demos/gtk-demo/drawingarea.c
248 * demos/gtk-demo/iconview.c
249 * demos/gtk-demo/images.c
250 * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
252 2008-08-11 Matthias Clasen <mclasen@redhat.com>
254 Bug 547211 – Duplicated mnemonic
256 * gtk/gtkmountoperation.c: Change mnemonics around in
257 the password dialog to avoid a conflict.
258 Reported by Gil Forcada
260 2008-08-11 Sven Neumann <sven@gimp.org>
262 * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
264 2008-08-11 Sven Neumann <sven@gimp.org>
266 * examples/*: updated the (quite outdated) examples to use
267 canonical signal names as well. Removed some unneeded casts and
268 trailing whitespace while I was on it...
270 2008-08-11 Sven Neumann <sven@gimp.org>
272 * modules/input/gtkimcontextime.c
273 * modules/input/gtkimcontextmultipress.c
274 * modules/input/gtkimcontextxim.c: use canonical signal names.
276 2008-08-11 Sven Neumann <sven@gimp.org>
278 * gtk/gtkdnd-quartz.c
282 * gtk/gtkimcontextsimple.c
283 * gtk/gtkimmulticontext.c
284 * gtk/gtkoptionmenu.c
286 * gtk/gtkrecentchooserdefault.c
287 * gtk/gtkscrolledwindow.c
288 * gtk/gtksocket-x11.c: use canonical signal names in some more
289 places that I missed earlier.
291 2008-08-11 Sven Neumann <sven@gimp.org>
293 * gtk/gtkaccelgroup.c
294 * gtk/gtkactiongroup.c
296 * gtk/gtkcelleditable.c
297 * gtk/gtkclipboard-quartz.c
299 * gtk/gtkcolorbutton.c
302 * gtk/gtkcurve.c: use canonical signal names.
304 2008-08-11 Sven Neumann <sven@gimp.org>
307 * gtk/gtkentrycompletion.c
311 * gtk/gtkinputdialog.c
312 * gtk/gtktreeview.c: use canonical signal names.
314 2008-08-11 Sven Neumann <sven@gimp.org>
319 * gtk/gtklistitem.c: use canonical signal names.
321 2008-08-11 Sven Neumann <sven@gimp.org>
327 * gtk/gtkoldeditable.c
328 * gtk/gtkpaned.c: use canonical signal names.
330 2008-08-11 Michael Natterer <mitch@imendio.com>
332 * demos/gtk-demo/textscroll.c (create_text_view): don't use the
333 deprecated gtk_box_pack_start_defaults().
335 2008-08-11 Sven Neumann <sven@gimp.org>
337 * gtk/gtkaboutdialog.c
338 * gtk/gtkcellrendereraccel.c
339 * gtk/gtkcellrenderercombo.c
340 * gtk/gtkcellrendererspin.c
341 * gtk/gtkcellrenderertext.c
346 * gtk/gtkdnd-quartz.c
349 * gtk/gtkentrycompletion.c
350 * gtk/gtkfilechooserbutton.c
351 * gtk/gtkfilechooserdefault.c
352 * gtk/gtkfilechooserentry.c
354 * gtk/gtkinputdialog.c
355 * gtk/gtkmenutoolbutton.c
357 * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
359 2008-08-11 Sven Neumann <sven@gimp.org>
363 * gdk/gdkdisplaymanager.c: use canonical signal names.
365 2008-08-10 Richard Hult <richard@imendio.com>
367 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
368 (gtk_clipboard_request_uris): Implement missing functions.
370 2008-08-09 Sven Herzberg <sven@imendio.com>
372 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
374 * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
376 2008-08-08 Cody Russell <bratsche@gnome.org>
378 Bug 547027 – menus are broken
381 * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
382 mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
383 in menus caused by bug #56070.
385 2008-08-09 Sven Herzberg <sven@imendio.com>
387 Get the gdk+cairo test to pass distcheck, too
389 * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
390 pick up the one created at build time
391 * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
394 2008-08-08 Sven Neumann <sven@gimp.org>
397 * gtk/gtkscrolledwindow.c
399 * gtk/gtkspinbutton.c
401 * gtk/gtkstatusicon.c: use canonical signal names.
403 2008-08-08 Sven Neumann <sven@gimp.org>
406 * gtk/gtktextbuffer.c
407 * gtk/gtktextlayout.c
408 * gtk/gtktexttagtable.c
414 * gtk/gtktreemodelfilter.c
415 * gtk/gtktreemodelsort.c
416 * gtk/gtktreeviewcolumn.c: use canonical signal names.
418 2008-08-08 Sven Neumann <sven@gimp.org>
422 * gtk/gtktreesortable.c
425 * gtk/gtkviewport.c: use canonical signal names.
427 2008-08-08 Sven Neumann <sven@gimp.org>
430 * gtk/gtkwindow.c: use canonical signal names.
432 2008-08-08 Sven Neumann <sven@gimp.org>
434 * gtk/gtkadjustment.c
441 * gtk/gtkspinbutton.c
445 * gtk/gtkviewport.c: use the canonical signal name "value-changed"
446 instead of "value_changed".
448 2008-08-08 Tor Lillqvist <tml@novell.com>
451 * gtk/makegtkalias.pl
453 * gtk/gtkfilechooser.c
455 * gtk/gtkiconfactory.c
460 * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
463 2008-08-07 Matthias Clasen <mclasen@redhat.com>
465 * configure.in: Its g_content_type_from_mime_type, not
466 g_content_type_for_mime_type. Noticed by Roger Brown
468 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
470 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
471 combination of g_warning+exit to avoid misleading the user.
473 2008-08-07 Michael Natterer <mitch@imendio.com>
475 * gtk/gtkactiongroup.c
476 * gtk/gtkcellrendererspin.c
477 * gtk/gtkfilechooserbutton.c
478 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
480 2008-08-07 Michael Natterer <mitch@imendio.com>
484 * gtk/gtkfilechooserbutton.c
486 * gtk/gtkmenutoolbutton.c
487 * gtk/gtkoptionmenu.c
488 * gtk/gtkradiobutton.c
489 * gtk/gtkradiomenuitem.c
492 * gtk/gtktreeview.c: chain up unconditionally in destroy().
494 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
496 2008-08-07 Michael Natterer <mitch@imendio.com>
498 Bug 546756 – gnome-panel crashed with SIGSEGV in
499 g_type_check_instance_cast()
501 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
502 and remove the image now that it's an internal child and isn't
503 destroyed by gtk_container_destroy() any longer. Thanks to tml for
504 helping bisecting this down.
506 2008-08-07 Sven Neumann <sven@gimp.org>
508 Bug 546771 - Add writable property "visited" to GtkLinkButton
511 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
512 read-write property with getters and setters. Also move the nick
513 and blurb of the "uri" property to the proper translation domain.
515 2008-08-07 Michael Natterer <mitch@imendio.com>
517 * gtk/gtkicontheme.c (apply_emblems): move variables to local
518 scopes, fix indentation and silence bogus warning about using
519 uninitialized variables.
521 2008-08-07 Richard Hult <richard@imendio.com>
523 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
525 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
526 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
527 deadlock and missing events.
529 2008-08-07 Richard Hult <richard@imendio.com>
531 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
532 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
533 Implement those, fixes loading python bindings.
535 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
537 Bug 545031 – list of recently used files is created world-readable
539 * gtk/gtkrecentmanager.c:
540 (gtk_recent_manager_real_changed): Set the recently-used.xbel
541 file to 0600. (Guido Berhoerster)
543 2008-08-06 Michael Natterer <mitch@imendio.com>
545 * modules/printbackends/cups/gtkcupsutils.c
546 (gtk_cups_connection_test_free): remove return value, this
547 function returns void.
549 2008-08-06 Michael Natterer <mitch@imendio.com>
554 * gtk/gtkscrolledwindow.c
555 * gtk/gtktreeview.c: remove CLAMPing from values passed to
556 gtk_adjustment_set_value() since it does it right now.
558 2008-08-05 Matthias Clasen <mclasen@redhat.com>
560 * configure.in: Bump version
562 * === Released 2.13.6 ===
564 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
565 since it breaks make distcheck.
567 2008-08-05 Michael Natterer <mitch@imendio.com>
569 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
570 early if priv->button is NULL to avoid zillions of warnings when
571 destroying combo boxes that were working fine before the
572 button sensitivity patch.
574 2008-08-05 Michael Natterer <mitch@imendio.com>
576 Bug 544858 – Seal GtkAdjustment
579 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
582 Add accessors for all properties and additionally a new function
583 gtk_adjustment_configure() which sets all properties at
584 once. Patch by Christian Dywan and myself.
586 2008-08-05 Michael Natterer <mitch@imendio.com>
588 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
589 to [lower...upper-page_size] instead of only [lower...upper].
591 * README: add note about this change.
593 While this fix is correct and should have been there forever, it
594 has the potential to break some corner cases, however these cases
595 would set page_size to a value != 0 which suggests they want it
598 2008-08-05 Michael Natterer <mitch@imendio.com>
600 * tests/testiconview.c: don't use the deprecated
601 gtk_box_pack_start_defaults().
603 2008-08-04 Matthias Clasen <mclasen@redhat.com>
605 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
607 * gtk/gtkcelllayout.c:
609 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
610 implementations. Patch by Antti Kaijanmäki
612 2008-08-05 Tor Lillqvist <tml@novell.com>
614 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
615 avoid warning on Win64.
617 2008-08-05 Tor Lillqvist <tml@novell.com>
619 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
620 gintptr instead of long when calculating hash, so we get all of
621 the pointer bits on Win64 where long is 32 bits.
623 2008-08-05 Tor Lillqvist <tml@novell.com>
625 * gtk/gtkprintoperation-win32.c: Don't need to declare
626 IPrintDialogCallback with mingw64 either. It seems to be provided
627 with the newer versions of the headers included with mingw64.
629 2008-08-05 Tor Lillqvist <tml@novell.com>
631 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
633 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
634 as the GdkNativeWindow parameter to
635 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
637 * gtk/gtkwin32embed.h
638 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
639 parameters to actually be WPARAM and LPARAM.
641 * gtk/gtkplug-win32.c: Adapt accordingly.
643 2008-08-04 Matthias Clasen <mclasen@redhat.com>
645 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
646 a word, use 'audible' instead.
648 2008-08-05 Tor Lillqvist <tml@novell.com>
650 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
651 with parens so cast covers all of it.
653 2008-08-04 Matthias Clasen <mclasen@redhat.com>
655 Bug 382291 – Automatically dim the combobox when the model is empty
658 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
659 property with getter and setter to control the sensitity of
660 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
661 Christian Dywan and others.
663 * README.in: Add a note about automatic combobox sensitivity.
665 2008-08-04 Matthias Clasen <mclasen@redhat.com>
667 * gtk/tests/Makefile.am: Skip crossingevents test when
668 running make check, since it doesn't work on a naked
671 2008-08-05 Tor Lillqvist <tml@novell.com>
673 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
677 * gdk/win32/gdkdnd-win32.c
678 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
679 from guint32 to GdkNativeWindow for
680 gdk_drag_get_protocol_for_display() and
681 gdk_drag_get_protocol(). This is not an API break on existing
682 platforms, as GdkNativeWindow has been guint32 for them
687 * gdk/win32/gdkselection-win32.c
688 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
689 parameter of gdk_selection_send_notify_for_display() and
690 gdk_selection_send_notify().
692 * gdk/win32/gdkcursor-win32.c
693 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
694 versa to avoid gcc 4.4 signedness warnings.
696 * gdk/win32/gdkevents-win32.c
697 * gdk/win32/gdkproperty-win32.c
698 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
699 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
700 values in debugging output using the %p format.
702 * gdk/win32/gdkkeys-win32.c
703 * gdk/win32/gdkfont-win32.c
704 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
706 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
709 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
713 * gtk/gtkwindow.c: Change the type of the xid parameter of the
714 internal gtk_window_remove_embedded_xid() and
715 gtk_window_add_embedded_xid() functions from guint to
718 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
719 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
720 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
723 2008-08-05 Tor Lillqvist <tml@novell.com>
725 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
726 before doing bit tests on them.
728 2008-08-05 Tor Lillqvist <tml@novell.com>
730 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
731 Windows, too. It just makes more sense, as a HWND *is* a kind of
734 * gdk/gdkconfig.h.win32: Ditto here.
736 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
738 Bug 534979 – GtkImageMenuItem is a bin but has two children.
740 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
741 include the image widget when iterating over non-internal
742 children. Patch by rainwoodman.
744 2008-08-04 Matthias Clasen <mclasen@redhat.com>
748 2008-08-04 Matthias Clasen <mclasen@redhat.com>
750 * configure.in: Bump glib dependency to 2.17.6
752 2008-08-04 Michael Natterer <mitch@imendio.com>
757 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
759 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
761 2008-08-04 Michael Natterer <mitch@imendio.com>
763 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
764 "gdkrgb" is in the debug flags.
766 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
767 here, this function is deprecated and the debug flag didn't work
768 when using GDK properly.
770 2008-08-04 Matthias Clasen <mclasen@redhat.com>
772 * gtk/gtkicontheme.c: Update to handle GEmblem.
774 2008-08-04 Michael Natterer <mitch@imendio.com>
776 * tests/prop-editor.c: undeprecate (apart from still using
779 2008-08-04 Michael Natterer <mitch@imendio.com>
781 * gtk/gtkseparatortoolitem.c
782 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
784 * gtk/gtkcalendar.c (calendar_set_display_option): use
785 gtk_calendar_set_display_options() instead of the deprecated
786 gtk_calendar_display_options().
788 2008-08-04 Carlos Garnacho <carlos@imendio.com>
790 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
792 2008-08-04 Carlos Garnacho <carlos@imendio.com>
794 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
795 to be the GtkNotebook background color. This is a workaround to
796 prevent black pixels in rounded tabs when reordering. Improves
799 2008-08-04 Carlos Garnacho <carlos@imendio.com>
802 * gtk/gtkfilechooserbutton.[ch]:
803 * gtk/gtkfilechooserdefault.[ch]:
804 * gtk/gtkfilechooserdialog.[ch]:
805 * gtk/gtkfilechooserwidget.[ch]: Deprecate
806 gtk_file_chooser_*_new_with_backend(), since GIO is already used
807 directly. Fixes #545976.
809 2008-08-04 Carlos Garnacho <carlos@imendio.com>
812 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
814 * gtk/gtkfilechooserbutton.c:
815 * gtk/gtkfilechooserdefault.c:
816 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
818 2008-08-04 Michael Natterer <mitch@imendio.com>
820 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
822 Fix pltcheck.sh by restricting the visibility of deprecated
823 symbols to the places where they are actually used:
829 * gtk/gtkprogressbar.c
831 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
832 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
839 * gtk/gtkprogress.h: make the headers visible if the respective
840 __GTK_FOO_C__ are defined.
842 2008-08-04 Michael Natterer <mitch@imendio.com>
846 * gtk/gtkoldeditable.c
850 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
852 2008-08-04 Michael Natterer <mitch@imendio.com>
856 * gtk/gtkitemfactory.[ch]
858 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
860 2008-08-04 Sven Neumann <sven@gimp.org>
862 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
863 color when the "visited" state is changed.
865 2008-08-04 Michael Natterer <mitch@imendio.com>
867 * gtk/gtkwindow.c: move the code of the deprecated
868 gtk_window_set_policy() to a new private function
869 gtk_window_set_policy_internal() and call it from
870 gtk_window_set_policy().
872 (gtk_window_set_resizable): use the new internal function in order
873 to avoid our own deprecated public API.
875 2008-08-04 Michael Natterer <mitch@imendio.com>
877 * gtk/gtkbindings.c: move the code of the deprecated
878 gtk_binding_entry_clear() to a new private function
879 gtk_binding_entry_clear_internal() and call it from
880 gtk_binding_entry_clear().
882 (_gtk_binding_entry_add_signall)
883 (gtk_binding_parse_bind): use the new internal function in order
884 to avoid our own deprecated public API.
886 2008-08-04 Michael Natterer <mitch@imendio.com>
888 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
889 avoid our own deprecated public API and use
890 gtk_font_selection_get_font_internal() instead of
891 gtk_font_selection_get_font().
893 (gtk_font_selection_get_font)
894 (gtk_font_selection_dialog_get_font): Add missing
895 "Deprecated: 2.0" to the api doc comments.
897 2008-08-04 Michael Natterer <mitch@imendio.com>
899 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
901 2008-08-04 Tor Lillqvist <tml@novell.com>
903 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
904 Windows. AC_SUBST it.
907 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
909 2008-08-04 Tor Lillqvist <tml@novell.com>
911 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
913 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
915 * gdk/gdkconfig.h.win32: Ditto here.
917 2008-08-04 Tor Lillqvist <tml@novell.com>
919 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
920 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
922 2008-08-04 Tor Lillqvist <tml@novell.com>
924 * configure.in: Don't bother with the test "if gio can sniff png"
925 if $gio_can_sniff has been already set. Preset it to "no" for
926 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
927 or from Unix to Windows in general. No idea how this should be
928 handled for cross-compilation in general.
930 2008-08-04 Tor Lillqvist <tml@novell.com>
932 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
933 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
934 present in NT-based Windows since Windows 2000.
935 (enum_monitor): For some reason the MONITORINFOEX struct in
936 mingw-win64 is different than the proper one as in MSDN and 32-bit
937 mingw, so just copy the proper definition here.
939 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
941 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
942 gtk_tree_view_enable_model_drag_source unsets reorderable property
944 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
947 2008-08-03 Matthias Clasen <mclasen@redhat.com>
949 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
951 2008-08-03 Matthias Clasen <mclasen@redhat.com>
953 Bug 546128 – Weirz string
955 * gtk/gtksettings.c: Add a translator hint.
956 Requested by Ignacio Casal Quinteiro
958 2008-08-02 Tor Lillqvist <tml@novell.com>
960 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
962 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
963 potential leak. Thanks to Morten Welinder.
965 2008-08-02 Tor Lillqvist <tml@novell.com>
967 * gtk/gtkprint-win32.c
968 * gtk/gtkprint-win32.h
969 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
972 2008-08-02 Tor Lillqvist <tml@novell.com>
974 Bug 339699 - implement gtk_print_operation_set_show_dialog for
977 * gtk/gtkprint-win32.c
978 * gtk/gtkprint-win32.h
979 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
981 2008-08-02 Matthias Clasen <mclasen@redhat.com>
983 Bug 544302 – GtkStatusIcon should support GIcon
986 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
987 Patch by Christian Dywan
989 2008-08-02 Matthias Clasen <mclasen@redhat.com>
991 Bug 429427 – Add "arrow-spacing" style property to GtkRange
993 * gtk/gtkrange.c: Add an arrow-spacing style property.
994 Patch by Carlos Garnacho and Christian Dywan
996 2008-08-02 Matthias Clasen <mclasen@redhat.com>
998 Bug 429411 – add style properties to set minimum progressbar
1001 * gtk/gtkprogressbar.c: Add style properties for minimum size.
1002 Patch by Carlos Garnacho and Christian Dywan
1004 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1006 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1009 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1012 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1014 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1017 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1018 Explain and show how iterators pointing to empty rows should be
1019 handled in the visible function. Patch by Björn Lindqvist
1021 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1023 Bug 539733 – No way to control treeview separator height
1025 * gtk/gtktreeview.c: Respect the wide-separators and
1026 separator-height style properties when drawing separators.
1027 Patch by Christian Dywan
1029 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1031 Bug 65818 – rename gtk_window_set_default() and add getter for it
1034 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1035 gtk_window_get_default_widget. Patch by Christian Dywan
1037 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1039 Bug 344383 – use po/LINGUAS
1041 * po/LINGUAS: New file, to make translators happy.
1042 * configure.in: Use po/LINGUAS
1043 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1044 Patch by Claude Paroz
1046 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1048 * gdk/gdkapplaunchcontext.c: Improve the docs
1050 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1052 Bug 545931 – small documentation typos
1054 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1056 2008-08-01 Hans Breuer <hans@breuer.org>
1058 * gdk/makefile.msc : build gdkwindowimpl
1060 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1063 * tests/makefile.msc : update
1065 2008-07-31 Cody Russell <bratsche@gnome.org>
1067 Bug 56070 – Can't click button after setting it sensitive.
1069 * gtk/gtkwidget.[ch]
1074 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1076 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1078 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1079 has worked on and helped out with this.
1081 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1083 Bug 424207 – printing hangs on unreachable cups server
1085 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1086 non-blocking test for reachability of the cups server.
1088 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1089 while trying to get the default printer. Patch by Marek Kasik.
1091 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1093 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1094 timer for automatic commit.
1096 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1097 timer for the store timeout.
1099 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1102 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1103 with second-granularity versions. Patch by Marek Kasik.
1105 2008-07-30 Tor Lillqvist <tml@novell.com>
1107 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1108 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1109 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1110 is in hundredths of a millimeter. Patch by Sven Neumann.
1112 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1114 * gtk/gtktreemodel.c: Small doc improvements.
1116 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1118 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1120 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1122 2008-07-27 Sven Herzberg <sven@imendio.com>
1124 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1126 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1128 2008-07-25 Murray Cumming <murrayc@murrayc.com>
1130 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1131 Documented the activate and popup-menu signals as being for use
1132 by applications and language bindings, though they are G_SIGNAL_ACTION,
1133 as stated in bug #361561.
1135 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
1137 * modules/printbackends/cups/gtkprintbackendcups.c:
1138 (cups_printer_get_options): don't try free gettext() values,
1139 fix a printing dialog crasher (bug 544390)
1141 2008-07-24 Cody Russell <bratsche@gnome.org>
1143 Bug 544510 – SetTimer callback signatures has the wrong type
1145 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1146 sync_timer_proc() to use UINT_PTR for the 'id' parameter
1147 instead of 'id'. Patch by Richard Hult.
1149 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1151 Bug 543915 – "Sole completion" translation issue
1153 * gtk/gtkfilechooserentry.c: Add translator hints to a
1154 bunch of strings. Requested by Andre Klapper
1156 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1158 Bug 544265 – GDK assumes XFIXES extension
1160 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1161 Only call XFixes functions if the server has the extension.
1162 Reported by Ian Turner.
1164 2008-07-22 Matthias Clasen <mclasen@redhat.com>
1166 * configure.in: Compare two content types, not content type
1169 2008-07-22 Sven Herzberg <sven@imendio.com>
1171 Fix svn:ignore and the include condition
1173 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1175 2008-07-22 Tor Lillqvist <tml@novell.com>
1177 * configure.in: Workaround for what apparently is a bug in MSYS:
1178 returning -1 from main() is misinterpreted as exit status 0, so
1179 make sure we return 0 or 1. (The net effect of the bug was that no
1180 image loading worked on Windows.)
1182 2008-07-22 Sven Herzberg <sven@imendio.com>
1184 Add a test for my fixes from July 20th.
1186 * configure.in: create gdk/tests/Makefile
1187 * gdk/Makefile.am: include the tests subfolder
1188 * gdk/tests/Makefile.am: create and run my test
1189 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1190 (passes at least for x11 and quartz backends)
1192 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
1194 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1195 if driver is detected as randr12_compat (ie X driver
1196 is not RandR 1.2 compliant). Fixes multihead with
1197 such drivers. Bug #543317.
1199 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1201 * configure.in: Default to linking against Xinerama again,
1202 so that we can fallback to Xinerama when broken X drivers
1203 make Xrandr useless. Sigh.
1205 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1207 * configure.in: Bump version
1209 * === Released 2.13.5 ===
1211 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1213 * gtk/gtktestutils.c:
1214 * gtk/gtkscalebutton.c:
1215 * gtk/gtkmessagedialog.c:
1217 * gtk/gtkcontainer.c:
1218 * gtk/gtkcolorseldialog.c:
1219 * gtk/gtkaccelgroup.c:
1221 * gtk/gtkfontsel.c: Fix some doc problems.
1223 2008-07-21 Michael Natterer <mitch@imendio.com>
1225 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1226 the deprecated gtk_box_pack_start_defaults().
1228 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1229 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1230 instead of the deprecated gtk_binding_entry_add_signall().
1232 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
1234 * gtk/gtkrecentmanager.c:
1235 (recent_app_info_new), (recent_app_info_free): Use GSlice to
1236 allocate the application data for recently used resources;
1237 do not call time() to initialize the timestamp, as it will
1238 be overwritten anyway later. (#535223, Michael Meeks)
1240 2008-07-21 Kristian Rietveld <kris@gtk.org>
1242 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1244 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1245 for width_changed != NULL. (Patch by Josselin Mouette).
1247 2008-07-21 Michael Natterer <mitch@imendio.com>
1249 Bug 442042 – GtkScaleButton is too limited
1251 * tests/testvolumebutton.c: forgot to commit code that tests
1252 toggling the button's orientation. Also fixes the file's coding
1255 2008-07-21 Cody Russell <bratsche@gnome.org>
1257 Bug 153567 – Repaint glitches in widgets
1259 * gdk/win32/gdkevents-win32.c: Set a sync timer when
1260 we receive WM_SYNCPAINT, and RedrawWindow() once
1263 2008-07-21 Michael Natterer <mitch@imendio.com>
1265 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1266 g_signal_override_class_handler() instead of
1267 g_signal_override_class_closure().
1269 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1271 (gtk_text_view_compat_move_focus): chain up using
1272 g_signal_chain_from_overridden_handler() instead of the generic
1273 g_signal_chain_from_overridden() which needs manual fiddling with
1274 millions of GValues.
1276 2008-07-21 Michael Natterer <mitch@imendio.com>
1278 * gtk/gtkuimanager.c: remove redundant include.
1280 2008-07-21 Michael Natterer <mitch@imendio.com>
1282 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
1284 * gtk/gtkfilechooserdefault.c
1286 * gtk/gtkmenushell.c
1287 * gtk/gtkscalebutton.c
1290 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
1291 some missing I_() to the signal names.
1293 2008-07-21 Michael Natterer <mitch@imendio.com>
1295 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
1296 functions and virtual function implementations. Some minor
1299 2008-07-20 Andre Klapper <a9016009@gmx.de>
1301 Bug 543915 - translation issues
1303 * modules/printbackends/cups/gtkprintbackendcups.c:
1304 Add translator comments for several strings.
1306 2008-07-20 Sven Herzberg <sven@imendio.com>
1308 reviewed by: Richard Hult
1310 Fixes #543868: GdkPixmap is upside down on quartz
1312 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
1313 coordinate space from GTK+ orientation to CoreGraphics orientation
1314 before calling CoreGraphics code
1315 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
1316 coordinate space flipping (we always get it right, now)
1317 * gdk/quartz/gdkpixmap-quartz.c
1318 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
1319 creating the CGContextRef
1321 2008-07-20 Sven Herzberg <sven@imendio.com>
1323 reviewed by: Richard Hult
1325 Extracted the CGContextRef creation into a virtual function of
1326 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
1329 * gdk/quartz/gdkdrawable-quartz.c
1330 (gdk_quartz_drawable_get_context): dropped the different
1331 implementations; forward to the virtual function now
1332 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
1333 * gdk/quartz/gdkpixmap-quartz.c
1334 (gdk_pixmap_impl_quartz_get_context),
1335 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
1336 * gdk/quartz/gdkwindow-quartz.c
1337 (gdk_window_impl_quartz_get_context),
1338 (gdk_window_impl_quartz_class_init): implemented get_context()
1340 2007-08-19 Matthias Clasen <mclasen@redhat.com>
1344 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1346 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
1347 inside "apply" signal handler
1349 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
1350 Patch by Antti Kaijanmäki
1352 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1354 Bug 543217 – GTK application crashed with directfb backend
1356 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
1357 _gdk_visual_init(). Patch by Huimin He.
1359 2008-07-18 Federico Mena Quintero <federico@novell.com>
1361 * gtk/updateiconcache.c (build_cache): If the resulting cache file
1362 would be empty, erase the old cache file as well as the temporary file.
1364 2008-07-18 Federico Mena Quintero <federico@novell.com>
1366 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
1367 do funny casts to avoid compiler warnings.
1369 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
1371 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
1373 * gtk/gtkmodules.c (load_module): Likewise.
1375 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
1377 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
1379 * gtk/queryimmodules.c (query_module): Likewise.
1381 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
1382 (find_widget_at_pointer): Likewise.
1384 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1386 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
1387 hunk of the previous commit.
1389 2008-07-18 Sven Herzberg <sven@imendio.com>
1391 Make aliasfilecheck.sh pass for the quartz backend, too.
1393 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
1395 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
1397 * configure.in: Added Pashto (ps) to ALL_LINGUAS
1399 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1401 Bug 447998 - GtkBuilder does not support building parts of the xml tree
1405 * gtk/gtkbuilderprivate.h:
1406 * gtk/gtkbuilderparser.c:
1408 Add two new functions that allow cherry picking and construct
1409 objects from a ui description file or string.
1411 * gtk/tests/builder.c: tests for the above.
1413 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1415 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
1416 signal) case and plug a couple of leaks.
1418 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1420 Bug 543244 – crashes when renaming a bookmark
1422 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
1423 free a GFile. Reported by Sebastien Bacher
1425 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1427 Bug 339591 – Detect list of availible cover pages
1429 Patch by Marek Kasik:
1430 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
1431 available cover pages and the default front and back cover pages
1432 from the cups server.
1434 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1436 Bug 384940 – handle rejecting jobs and authentication meaningfully
1438 Patch by Marek Kasik, icons by Mike Langlie:
1440 * gtk/gtkprintbackend.h:
1441 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
1442 and getters/setters.
1445 * gtk/gtkiconfactory.c:
1447 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
1449 * modules/printbackends/cups/gtkprintbackendcups.c:
1450 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
1453 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1455 * configure.in: Add a test to see if GIO can sniff image data,
1456 this should make gdk-pixbuf use its own sniffing again, on OS X.
1458 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
1460 Bug 542523 – GtkTextTag should handle setting properties to NULL
1462 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1463 setting it to NULL instead of displaying a warning.
1465 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1467 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1469 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1470 Call shortcuts_check_popup_sensitivity() every time the
1471 menu is popped up. Problem reported by Hong Jen Yee
1473 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1475 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1476 gtk_file_chooser_unselect_all
1478 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1479 the image when the label is set to "(None)". Reported by
1482 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1484 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1486 Bug 507394 – mem leak from gtk_selection_add_targets
1488 * gtk/gtkoldeditable.c: Free target lists in finalize.
1489 Reported by Christian Persch
1491 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1494 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1496 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1498 * gtk/gtklabel.c: Trivial doc fix.
1500 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1502 Bug 542853 – jasper test fails due to incomplete library arguments
1504 * configure.in: Add -ljpeg when checking for jasper.
1505 Reported by Mike Calmus
1507 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1509 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1512 2008-07-11 Kristian Rietveld <kris@gtk.org>
1514 Bug 316087 - Resizing columns is chaotic
1516 * gtk/gtktreeprivate.h: add new member fields.
1518 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1520 (gtk_tree_view_size_allocate_columns): rework the size allocation
1521 mechanism to only recalculate the expand values if the width of the
1522 widget, content or the column configuration has changed,
1523 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1524 to before the adjustment updates so the proper width is used after
1526 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1527 use the column width minus the expand value for the resized width,
1528 (gtk_tree_view_move_column_after): update call to
1529 gtk_tree_view_size_allocate_columns().
1531 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1532 resized width to FALSE.
1534 * tests/Makefile.am:
1535 * tests/testtreecolumnsizing.c: new interactive test program
1536 for testing column resizing with different column configurations.
1538 2008-07-11 Simos Xenitellis <simos@gnome.org>
1540 * gtk/compose-parse.py:
1541 * gtk/gtkimcontextsimple.c:
1542 Fixed typo for the name of Markus Kuhn, issue mentioned
1543 in bug #321896 (comment 61).
1545 2008-07-11 Simos Xenitellis <simos@gnome.org>
1547 Bug 334418 – Support easy input of ellipsis
1549 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1550 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
1552 2008-07-03 Murray Cumming <murrayc@murrayc.com>
1554 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
1555 tooltip-markup properties: Interpret an empty string as a NULL
1556 string because an empty tooltip is silly. This will help
1557 language bindings that do not bother to have the two types of
1561 2008-07-10 Matthias Clasen <mclasen@redhat.com>
1563 Bug 542234 – iconview a11y implementation segfaults
1565 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1568 2008-07-08 Christian Neumair <cneumair@gnome.org>
1570 * gtk/gtkuimanager.c (update_node):
1571 Skip update of accelerator child node if it has no associated action.
1574 2008-07-07 Cody Russell <bratsche@gnome.org>
1576 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1578 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1579 existing modal hint value before setting it.
1581 2008-07-07 Cody Russell <bratsche@gnome.org>
1583 Bug 540994 – [Win32] Some windows don't appear at the top when created
1585 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1587 I actually already committed this one by accident, probably when I committed
1588 #541305, but just wanted to document it here in the ChangeLog.
1590 2008-07-07 Johan Dahlin <johan@gnome.org>
1592 * gtk/tests/builder.c (test_cell_view):
1593 Add a test case for 528845.
1595 2008-07-07 Tor Lillqvist <tml@novell.com>
1597 * gdk/win32/gdkwindow-win32.c
1598 (gdk_window_foreign_new_for_display): Need to initialise
1599 private->impl here, too.
1601 2008-07-07 Michael Natterer <mitch@imendio.com>
1603 * gtk/gtkfilesystem.c: include the two needed headers instead of
1606 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1608 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1611 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1612 implementation. Reported by Kevin Ryde.
1614 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1616 Bug 469068 – clarify gdk_cairo_create()
1618 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1619 contexts cannot be cached for handling expose events.
1620 Proposed by Behdad Esfahbod.
1622 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1624 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1626 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1627 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1629 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1631 Bug 510225 – gtk_widget_get_composite_name retval should be freed
1633 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1634 docs. Pointed out by Wolfgang Oertl
1636 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1638 Bug 531129 – gtk_style_copy() does not include a return value or
1641 * gtk/gtkstyle.c: Document gtk_style_copy.
1643 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1645 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1646 Bug 513580 – Broken link in GTK+ FAQ
1648 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1650 2008-07-07 Christian Dywan <christian@imendio.com>
1652 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1653 erroneously added g_return_if_fail (bug #541811).
1655 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1657 Bug 343663 – source-buffer highlighting highlights "char" in
1658 gtk_text_iter_forward_char
1660 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1662 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1664 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1666 * gtk/gtksettings.c: Improve the documentation of the
1667 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1669 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1671 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1674 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1675 Check that the cursor is over a valid date before retrieving
1676 its details. Patch by Chris Wilson
1678 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1680 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1682 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1683 64-bit brokenness. Reported by Christian Hammond.
1685 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1687 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1690 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1691 Be more robust. Reported by Jelte van der Hoek
1693 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1695 Bug 540917 – deprecate pack_start_defaults()
1698 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1699 Proposed by Owen Taylor
1701 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1703 * configure.in: Bump version
1705 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1707 * === Released 2.13.4 ===
1709 2008-07-05 Michael Natterer <mitch@imendio.com>
1711 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
1712 deprecated section because it isn't deprecated.
1714 2008-07-05 Michael Natterer <mitch@imendio.com>
1716 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
1717 other include weirdness in this file.
1719 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1723 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1725 * gtk/gtkiconview.c:
1727 * gtk/gtkscalebutton.c: Small doc fixes.
1729 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1732 * gdk/x11/gdktestutils-x11.c: Small doc fixes
1734 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1736 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
1738 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
1740 * gtk/gtkentry.c: Fix the property getter for text-length property.
1742 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
1744 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1746 * gtk/gtkmenu.c: Debork the attach-widget property.
1748 2008-07-04 Michael Natterer <mitch@imendio.com>
1752 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
1762 * gtk/gtkoldeditable.c
1765 * gtk/gtktipsquery.c
1767 * gtk/gtktreeitem.c: don't #define it again before including
1768 gtkalias.h after it has been #undef'ed before.
1770 2008-07-04 Michael Natterer <mitch@imendio.com>
1772 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
1773 to FALSE instead of 0.
1775 2008-07-04 Michael Natterer <mitch@imendio.com>
1777 Allocate with GSlice:
1779 * gtk/gtkassistant.c: GtkAssistantPage
1780 * gtk/gtkcellview.c: GtkCellViewCellInfo
1781 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
1782 * gtk/gtkfilefilter.c: FilterRule
1783 * gtk/gtknotebook.c: GtkNotebookPage
1785 2008-07-04 Michael Natterer <mitch@imendio.com>
1787 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
1789 2008-07-04 Michael Natterer <mitch@imendio.com>
1791 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
1792 variable to GtkWidget fo fix two warnings.
1794 2008-07-04 Michael Natterer <mitch@imendio.com>
1796 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
1800 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
1801 and _get_minus_button(). Patch by Christian Dywan.
1803 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1805 * gtk/gtkscalebutton.c:
1807 * gdk/gdkwindowimpl.c: Fix make check.
1809 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1811 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
1812 constructed using GtkUIManager
1814 * gtk/gtkmenuitem.c: Fall back to the default positioning when
1815 the menuitem is not realized. Patch by Björn Lindqvist.
1817 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1819 Bug 540612 – mem leak in filechooser
1821 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
1822 Patch by Christian Persch.
1824 2008-07-04 Tor Lillqvist <tml@novell.com>
1826 Bug 540861 - invalid UTF-8 in input device name
1828 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
1829 Unicode, and convert to UTF-8 for the GdkDevice's name field.
1831 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1833 Bug 538863 – Fixes assertion on entering empty folder
1835 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
1836 select the first row if the folder is empty.
1837 Patch by Olle Bergkvist.
1839 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1841 Bug 540915 – GtkBuilder sets properties in reverse order
1843 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
1844 in which they are specified in the xml file.
1846 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1848 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
1852 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
1853 accessor for the popup. Patch by Christian Dywan
1855 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1857 Bug 535498 – Printing demo broken
1859 * demos/gtk-demo/printing.c: Use monospace as font name,
1860 not mono. Also use the right advance when moving from line to line.
1861 Patch by Yevgen Muntyan.
1863 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1865 Bug 538547 – Update doc-shooter in gtk documentation
1867 * docs/tools/Makefile.am:
1868 * docs/tools/folder.png:
1869 * docs/tools/gnome.png: New images
1871 * docs/tools/widgets.c: Use the new images.
1872 Patch by Baptiste Mille-Mathias.
1874 2008-07-03 Michael Natterer <mitch@imendio.com>
1876 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
1877 names of binding signal implementations.
1879 2008-07-03 Li Yuan <li.yuan@sun.com>
1881 * gail-uninstalled.pc.in:
1882 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
1884 2008-07-03 Cody Russell <bratsche@gnome.org>
1886 Bug 540529 – Remove all GIMP references
1890 * gtk+-unix-print-2.0.pc.in:
1891 * gtk+-2.0-uninstalled.pc.in:
1892 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
1893 GTK+ Graphical UI Library in the pkg-config files.
1895 2008-07-02 Cody Russell <bratsche@gnome.org>
1897 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
1899 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
1902 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
1903 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
1906 2008-07-02 Cody Russell <bratsche@gnome.org>
1908 Bug 541249 – [Win32] Fix some internal static methods
1910 * gdk/gdkwindow-win32.c: Make the interface implementation methods
1913 2008-07-02 Michael Natterer <mitch@imendio.com>
1915 Bug 537591 – Don't hardcode minimum width of menuitems
1917 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
1918 introduces a "width-chars" style property which replaces the
1919 hardcoded minimum width of menuitems with submenu. Patch
1920 extracted from Maemo-GTK+.
1922 2008-07-02 Michael Natterer <mitch@imendio.com>
1924 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
1926 2008-07-02 Kristian Rietveld <kris@imendio.com>
1928 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
1929 Since s/2.16/2.14/ for the new gicon property.
1931 2008-07-02 Kristian Rietveld <kris@imendio.com>
1933 Bug 455268 - Add gtk-enable-tooltips GtkSetting
1936 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
1938 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
1940 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
1941 introduced XSetting into account.
1943 * demos/gtk-demo/appwindow.c: don't use the now deprecated
1944 gtk_toolbar_set_tooltips().
1946 2008-07-02 Cody Russell <bratsche@gnome.org>
1948 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
1950 * gdk/win32/gdkprivate-win32.h:
1951 * gdk/win32/gdkgeometry-win32.c:
1952 * gdk/win32/gdkevents-win32.c:
1953 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
1954 the newly refactored GdkWindow code.
1956 2008-07-01 Cody Russell <bratsche@gnome.org>
1958 Bug 539164 – Windows' System Menu blocks main loop
1960 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
1961 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
1962 GLib mainloop from there.
1964 2008-07-01 Richard Hult <richard@imendio.com>
1966 Some aftermath from the window impl cleanups:
1968 * gdk/quartz/gdkwindow-quartz.c:
1969 (gdk_window_merge_child_input_shapes): Rename and export again.
1970 (gdk_window_quartz_get_offsets): Make static.
1972 2008-07-01 Michael Natterer <mitch@imendio.com>
1974 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
1976 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1978 539790 – [PATCH] Please add three new settings to GtkSettings
1980 * gdk/x11/gdksettings.c:
1981 * gtk/gtksettings.c: Add event sound settings.
1982 Patch by Lennart Poettering.
1984 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1986 Bug 434535 – printoperation's create_surface doesn't check temp file
1987 creation for success
1989 Patch by Marek Kasik:
1991 * gtk/gtkprintoperation-unix.c
1992 (_gtk_print_operation_platform_backend_create_preview_surface):
1993 Handle failure to create temp file by returning NULL.
1995 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
1996 Return FALSE if surface creation fails.
1998 (print_pages): If the preiew signal is not handled, show an
2001 2008-07-01 Michael Natterer <mitch@imendio.com>
2003 Bug 442042 – GtkScaleButton is too limited
2005 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2006 property that can be changed at any time after widget
2007 creation. Add public API for it.
2009 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2011 2008-06-30 Michael Natterer <mitch@imendio.com>
2013 Some unrelated cleanups found while reviewing
2014 the offscreen window patch:
2016 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2017 functions, fix some function header indentation, update
2018 documentation of redirect_to_drawable().
2020 * gdk/x11/gdkwindow-x11.c
2021 * gdk/x11/gdkpixmap-x11.c: fix function header
2022 formatting/indentation.
2024 * gtk/gtkwidget.c: use I_() on "damage_event".
2026 2008-06-30 Michael Natterer <mitch@imendio.com>
2028 * gdk/gdkinternals.h: remove duplicate declaration of
2031 2008-06-30 Michael Natterer <mitch@imendio.com>
2033 * gdk/Makefile.am: reorder source lists alphabetically.
2035 2008-06-30 Matthias Clasen <mclasen@redhat.com>
2037 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2039 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2040 Patch by Owen Taylor
2042 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
2044 Bug 530255 – GtkAboutDialog cuts off comments label
2045 Followup patch from Jan Arne Petersen
2047 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2049 2008-06-28 Michael Natterer <mitch@imendio.com>
2051 * gtk/gtkselection.h: properly indent the newly added
2052 GtkSelectionData accessors. Some newlines can't hurt either.
2054 2008-06-27 Mikael Hallendal <micke@imendio.com>
2056 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2058 2008-06-27 Mikael Hallendal <micke@imendio.com>
2060 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2061 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2062 pack_start and pack_end in order to reduce the code duplication.
2064 2008-06-27 Michael Natterer <mitch@imendio.com>
2066 Bug 442042 – GtkScaleButton is too limited
2068 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2069 "gtk-scalebutton-popup-window" on the popup window so it is
2072 2008-06-27 Kristian Rietveld <kris@imendio.com>
2074 * gdk/quartz/gdkgeometry-quartz.c:
2075 * gdk/quartz/gdkwindow-quartz.c:
2076 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2079 2008-06-27 Carlos Garnacho <carlos@imendio.com>
2081 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2082 critical warnings. Bug #539470.
2084 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
2086 Abstract some GdkWindow API into an interface that the backends
2087 must implement. (based on a patch by Alex Larsson)
2089 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2091 * gdk/gdk.symbols: Move symbols around.
2093 * gdk/gdkinternals.h:
2094 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2095 from the backends to a GInterface that the backends should implement
2098 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2099 wrapper call around the GdkWindowImpl interface vtable.
2101 * gdk/x11/gdkevents-x11.c:
2102 * gdk/x11/gdkgeometry-x11.c:
2103 * gdk/x11/gdkprivate-x11.h:
2104 * gdk/x11/gdkwindow-x11.c:
2105 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2106 the GdkWindowImpl interface.
2108 2008-06-27 Martyn Russell <martyn@imendio.com>
2110 Bug 540318 - Invalid URL
2112 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2113 in the warning produced here.
2115 2008-06-27 Michael Natterer <mitch@imendio.com>
2117 Bug 442042 – GtkScaleButton is too limited
2119 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2120 stuff that is part of the public API continues to be created in
2121 init() to stay compatible. Move creating of the popup scale to
2122 constructor(). Add an internal HScale class. Changed popup
2123 positioning for horizontal scales accordingly.
2125 2008-06-26 Michael Natterer <mitch@imendio.com>
2127 * gtk/gtkscalebutton.c
2128 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2129 prototypes, remove redundant includes, remove a little trailing
2132 2008-06-26 Richard Hult <richard@imendio.com>
2134 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2136 (_gtk_quartz_get_selection_data_from_pasteboard),
2137 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2138 Christian Dywan to clean up selection data setting.
2140 2008-06-26 Richard Hult <richard@imendio.com>
2142 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2143 deprecated function gtk_widget_ref, replace with g_object_ref.
2145 2008-06-26 Michael Natterer <mitch@imendio.com>
2147 * gtk/gtkfilesystem.c: #include "config.h"
2149 2008-06-26 Carlos Garnacho <carlos@imendio.com>
2151 * gtk/gtkfilechooserdefault.c
2152 (gtk_file_chooser_default_get_current_folder): current_folder can be
2153 NULL here, do not try to reference it (Bug #540235)
2154 (gtk_file_chooser_default_get_files): Deal better with
2155 gtk_file_chooser_default_get_current_folder() being able to return
2158 2008-06-26 Michael Natterer <mitch@imendio.com>
2160 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2161 allocate the GtkTextUtilCallbackInfo structs with GSlice.
2163 2008-06-25 Michael Natterer <mitch@imendio.com>
2165 * gtk/gtktypeutils.h: there is no reason to include
2166 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2167 replacing the <glib-object.h> include. Also move the remaining few
2168 non-deprecated things to the top and move some deprecated things
2169 around to clean up the mess with too many deprecated sections even
2172 2008-06-24 Michael Natterer <mitch@imendio.com>
2174 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2175 (also for GTK_COMPILATION). Move some deprecated typedefs around
2176 to reduce the mess with zillions of deprecated sections.
2178 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2179 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2180 though the latter is probably completely pointless.
2182 2008-06-24 Michael Natterer <mitch@imendio.com>
2184 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2185 the dialog's vbox was added (bug #539732).
2187 2008-06-24 Carlos Garnacho <carlos@imendio.com>
2189 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2190 thought for handling non-direct children. Fixes #539732.
2191 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2192 doesn't provide enough control to API users (removing, reordering...),
2193 this is better handled through:
2194 (gtk_dialog_get_content_area): New function which just returns
2196 * gtk/gtk.symbols: Modify accordingly.
2197 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2198 using gtk_dialog_get_[action|content]_area() instead of accessing
2199 dialog struct members directly.
2201 2008-06-24 Michael Natterer <mitch@imendio.com>
2203 * gtk/gtkassistant.h
2204 * gtk/gtkcellrenderer.h
2205 * gtk/gtkfilechooserentry.h
2209 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2210 if there is any other widget included, they all have to include
2211 their respective parent classes (the is-a relation works for
2214 2008-06-24 Michael Natterer <mitch@imendio.com>
2216 * gtk/gtktextutil.h: remove includes from this internal header.
2218 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2220 2008-06-23 Michael Natterer <mitch@imendio.com>
2222 * gtk/gtkinvisible.h: formatting.
2224 2008-06-23 Michael Natterer <mitch@imendio.com>
2227 * gtk/gtkbuildable.h
2228 * gtk/gtkbuilderprivate.h
2229 * gtk/gtkcelllayout.h
2230 * gtk/gtkentrycompletion.h
2231 * gtk/gtkfilechoosersettings.h
2232 * gtk/gtkfilesystem.h
2233 * gtk/gtkfilesystemmodel.h
2234 * gtk/gtkicontheme.h
2235 * gtk/gtklinkbutton.h
2236 * gtk/gtkpagesetup.h
2237 * gtk/gtkpapersize.h
2238 * gtk/gtkprintcontext.h
2239 * gtk/gtkprintoperation.h
2240 * gtk/gtkprintoperationpreview.h
2241 * gtk/gtkprintsettings.h
2242 * gtk/gtkrecentchooserprivate.h
2243 * gtk/gtkrecentmanager.h
2244 * gtk/gtksearchengine.h
2246 * gtk/gtktreeselection.h
2247 * gtk/gtktreeviewcolumn.h
2248 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2249 <glib-object.h>. There is no point in relying on them being pulled
2250 in by other headers in some places and placing them explicitly in
2251 other places, so choose the "as little includes as possible"
2252 approach and get rid of them.
2254 2008-06-23 Kristian Rietveld <kris@imendio.com>
2256 * gdk/gdkenumtypes.h.template:
2257 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2258 * gtk/gtktypebuiltins.h.template:
2259 * perf/typebuiltins.h.template: do not hard code the prefix of the
2260 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2262 2008-06-23 Michael Natterer <mitch@imendio.com>
2264 * gtk/gtkmountoperation.h
2265 * gtk/gtktestutils.h
2266 * gtk/gtkshow.[ch]: remove as many includes as possible from these
2267 new files. They can't be included individually, so nothing can break.
2269 2008-06-22 Michael Natterer <mitch@imendio.com>
2271 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
2272 registering the "modifier-mask" property.
2274 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2276 * *.[ch]: Include "config.h" instead of <config.h>
2278 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
2279 Rubberstamped by Mitch and Tim
2281 2008-06-21 Carlos Garnacho <carlos@imendio.com>
2283 Bug 539466 – GtkMenuShell API/ABI break in trunk.
2285 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
2286 different name and packing width.
2288 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2290 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
2293 2008-06-21 Michael Natterer <mitch@imendio.com>
2295 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
2296 indentation, replace header by a GDK copyright header (don't say
2297 "The Gnome Library"), remove trailing whitespace.
2299 2008-06-21 Hans Breuer <hans@breuer.org>
2301 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
2302 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
2303 passing the surface to cairo_surface_show_page(), not the context
2304 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
2305 '<' : signed/unsigned mismatch by using guint for the loop
2307 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
2308 an uint, gtk_menu_get_active() returns the widget pointer. Convert
2309 the latter to the former by calculating the index in menu::children
2310 Also fix some occurences of g_return_if_fail() where
2311 g_return_val_if_fail() was meant
2313 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
2315 Bug 539363 – Segfault when creating GtkPlugs
2317 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
2318 property names. "socket window" => "socket-window"
2320 2008-06-20 Jody Goldberg <jody@gnome.org>
2322 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
2323 Fix life cycle to avoid crash. [#536966]
2325 2008-06-20 Hans Breuer <hans@breuer.org>
2327 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
2328 a value of the appropriate type with g_return_val_if_fail
2330 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
2332 * gtk/gtkfilesystem.c : don't add the "File System" on win32
2334 * tests/makefile.msc : remove broken autotestfile(system|chooser)
2337 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2339 * gtk/gtkbutton.c: Document a style property
2341 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
2344 * gtk/gtkcolorsel.c:
2346 * gtk/gtkitemfactory.c:
2347 * gtk/gtknotebook.c:
2348 Fix up deprecated markup syntax. Add version numbers and
2349 a message on the remaning ones.
2351 2008-06-20 Mikael Hallendal <micke@imendio.com>
2353 * tests/testthreads.c: Use g_signal_connect instead of
2356 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
2357 While the code is not built, people may still look at it.
2359 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
2361 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
2364 * gtk/gtkliststore.h:
2366 * gtk/gtktextchild.h:
2367 * gtk/gtktreemodelfilter.h:
2368 * gtk/gtktreemodelsort.h:
2369 * gtk/gtktreestore.h:
2370 #include <gdkconfig.h> not <gdk/gdkconfig.h>
2372 2008-06-20 Martyn Russell <martyn@imendio.com>
2374 * gtk/gtkaccelgroup.c: Fix warnings from calling
2375 g_object_notify() on a GtkAccelGroup without casting to a
2378 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2380 * gtk/gtkcolorsel.c: Modernize and order things as most
2381 other objects. Defines at the top, class init before init
2382 before gobject methods before object method before widget
2383 methods. No changes to the logic done.
2385 2008-06-20 Martyn Russell <martyn@imendio.com>
2387 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
2388 properties that don't exist. Also, make sure we notify for
2389 the "is-locked" property.
2391 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2393 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
2395 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2397 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
2399 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
2401 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
2402 allocation to avoid compiler warnings
2404 2008-06-20 Michael Natterer <mitch@imendio.com>
2406 * gtk/gtkaccellabel.h
2407 * gtk/gtkactiongroup.h
2408 * gtk/gtkalignment.h
2410 * gtk/gtkaspectframe.h
2412 * gtk/gtkhandlebox.h
2413 * gtk/gtkprogressbar.h
2416 * gtk/gtkscalebutton.h
2417 * gtk/gtkselection.h: fix some formatting and spacing uglyness
2418 that got merged from the GSEAL branch.
2420 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2423 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
2424 * gtk/gtkmessagedialog.h:
2425 Add missing accessor for sealed field GtkMessageDialog->image.
2427 2008-06-20 Michael Natterer <mitch@imendio.com>
2429 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
2432 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2434 * gtk/gtkaccelgroup.c:
2435 * gtk/gtkcolorseldialog.c:
2436 * gtk/gtkcontainer.c:
2438 * gtk/gtkentry.c (gtk_entry_class_init):
2440 * gtk/gtkhandlebox.c:
2442 * gtk/gtkmenu.c (gtk_menu_class_init):
2443 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
2444 * gtk/gtkplug.c (gtk_plug_class_init):
2445 * gtk/gtkselection.c:
2447 * gtk/gtktreeselection.c:
2448 * gtk/gtkwidget.c (gtk_widget_class_init):
2450 Add missing Since: gtk-doc markup for newly added GSEAL API.
2451 Change all Since: GSEAL-branch to Since: 2.14.
2453 2008-06-20 Michael Natterer <mitch@imendio.com>
2455 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
2456 the code merged from the GSEAL branch.
2458 2008-06-20 Michael Natterer <mitch@imendio.com>
2460 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
2461 value from GtkHButtonBox to GtkWidget.
2463 2008-06-20 Michael Natterer <mitch@imendio.com>
2465 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2468 2008-06-20 Michael Natterer <mitch@imendio.com>
2470 * gtk/gtkwindow.[ch]
2471 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2472 gtk_window_group_list_windows().
2474 2008-06-20 12:35:20 +0200 Tim Janik
2476 * Fixed wrongly resolved merge conflicts.
2478 2008-06-19 19:01:41 +0200 Carlos Garnacho
2480 Add gtk_window_group_get_windows().
2483 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2485 2008-06-19 18:39:47 +0200 Carlos Garnacho
2487 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2489 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2491 2008-06-19 18:38:35 +0200 Carlos Garnacho
2493 Document gtk_container_get_focus_child().
2495 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2497 2008-06-19 13:50:06 +0200 Christian Dywan
2499 Add gtk_plug_get_socket_window
2501 2008-06-19 13:11:52 +0200 Christian Dywan
2503 Remove superflous gtkselection accessors and merge _get_data
2505 2008-06-13 15:56:51 +0200 Christian Dywan
2507 Implement gtk_selection_get_display, style fixes
2509 2008-06-13 15:45:00 +0200 Christian Dywan
2511 Fix indentation of a comment.
2513 2008-06-13 15:10:08 +0200 Christian Dywan
2515 Change docs and signature of gtk_widget_get_allocation
2517 2008-06-13 14:22:17 +0200 Christian Dywan
2519 Remove unneeded GtkColorSelectionDialog accessors
2521 2008-06-13 12:57:54 +0200 Christian Dywan
2523 Fix documentaion of gtk_menu_item_get_accel_path
2525 2008-06-11 13:49:34 +0200 Christian Dywan
2527 Fix gtk_widget_get_allocation
2529 2008-06-07 15:37:18 +0200 Carlos Garnacho
2531 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2535 * gtk/gtkcellrenderer.h:
2536 * gtk/gtkcellrenderertext.h:
2537 * gtk/gtkcheckmenuitem.h:
2538 * gtk/gtkcontainer.h:
2540 * gtk/gtkhandlebox.h:
2541 * gtk/gtkimcontextsimple.h:
2543 * gtk/gtkliststore.h:
2545 * gtk/gtkmenuitem.h:
2546 * gtk/gtkmenushell.h:
2547 * gtk/gtknotebook.h:
2550 * gtk/gtkprintjob.h:
2551 * gtk/gtkprogressbar.h:
2554 * gtk/gtkscrolledwindow.h:
2555 * gtk/gtksizegroup.h:
2557 * gtk/gtkspinbutton.h:
2558 * gtk/gtkstatusbar.h:
2560 * gtk/gtktearoffmenuitem.h:
2561 * gtk/gtktextbuffer.h:
2562 * gtk/gtktextview.h:
2563 * gtk/gtktogglebutton.h:
2565 * gtk/gtktreestore.h:
2566 * gtk/gtktreeviewcolumn.h:
2567 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2569 2008-06-06 19:02:17 +0200 Christian Dywan
2573 2008-06-06 17:58:21 +0200 Christian Dywan
2575 Seal GtkSelectionData
2577 2008-06-06 17:57:23 +0200 Christian Dywan
2579 Fix GtkDialog, don't add vbox via gtk_container_add.
2581 2008-06-06 13:39:34 +0200 Kristian Rietveld
2583 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
2585 2008-06-03 09:11:50 +0200 Kristian Rietveld
2589 2008-05-30 16:48:12 +0100 Martyn Russell
2591 Seal GtkFontSelection & GtkFontSelectionDialog
2593 2008-05-29 10:35:29 +0200 Kristian Rietveld
2595 Seal GtkTearoffMenuItem.
2597 (the torn_off field is for internal state keeping, you can retrieve
2598 the value from the parent menu's tearoff_state).
2600 2008-05-27 18:34:12 +0200 Christian Dywan
2604 2008-05-27 18:17:44 +0200 Christian Dywan
2608 2008-05-27 15:10:02 +0200 Christian Dywan
2612 2008-05-27 14:17:45 +0200 Christian Dywan
2616 2008-05-27 14:04:31 +0200 Christian Dywan
2620 2008-05-27 12:40:08 +0200 Christian Dywan
2624 2008-05-27 12:39:49 +0200 Christian Dywan
2626 Seal GtkIMMultiContext
2628 2008-05-27 12:39:17 +0200 Christian Dywan
2630 Seal GtkIMContextSimple
2632 2008-05-27 12:14:53 +0200 Christian Dywan
2636 2008-05-27 11:14:21 +0200 Christian Dywan
2640 2008-05-27 10:54:20 +0200 Christian Dywan
2642 Fix the build by including gdkconfig.h in gtkprinter.h.
2644 2008-05-27 10:38:02 +0200 Christian Dywan
2648 2008-05-27 10:20:56 +0200 Christian Dywan
2652 2008-05-26 17:58:19 +0200 Kristian Rietveld
2656 2008-05-26 17:54:56 +0200 Kristian Rietveld
2660 2008-05-26 17:48:23 +0200 Kristian Rietveld
2664 2008-05-26 17:39:38 +0200 Kristian Rietveld
2668 2008-05-26 17:31:06 +0200 Kristian Rietveld
2672 2008-05-26 17:27:22 +0200 Kristian Rietveld
2676 2008-05-26 17:07:43 +0200 Kristian Rietveld
2680 2008-05-26 17:07:37 +0200 Kristian Rietveld
2684 2008-05-26 16:39:27 +0200 Kristian Rietveld
2686 Seal GtkTextTagTable.
2688 2008-05-26 16:34:13 +0200 Kristian Rietveld
2692 2008-05-26 17:08:19 +0200 Christian Dywan
2696 2008-05-26 16:40:05 +0200 Christian Dywan
2700 2008-05-26 16:37:54 +0200 Christian Dywan
2704 2008-05-26 14:09:32 +0200 Kristian Rietveld
2706 Seal priv pointer in GtkToggleToolButton.
2708 2008-05-26 14:04:51 +0200 Kristian Rietveld
2710 Seal priv pointer in GtkUIManager.
2712 2008-05-26 14:01:32 +0200 Kristian Rietveld
2714 Seal priv pointer in GtkToolItem.
2716 2008-05-26 14:01:12 +0200 Kristian Rietveld
2718 Seal priv pointer in GtkToolButton.
2720 2008-05-26 14:00:24 +0200 Kristian Rietveld
2722 Seal priv pointer in GtkToggleAction.
2724 2008-05-26 13:58:01 +0200 Kristian Rietveld
2726 Seal priv pointer in GtkStatusIcon.
2728 2008-05-26 13:57:33 +0200 Kristian Rietveld
2730 Seal priv pointer in GtkSeparatorToolItem.
2732 2008-05-26 13:56:33 +0200 Kristian Rietveld
2734 Seal priv pointer in GtkScaleButton.
2736 2008-05-26 13:55:57 +0200 Kristian Rietveld
2738 Seal priv pointer in GtkRecentManager.
2740 2008-05-26 13:55:25 +0200 Kristian Rietveld
2742 Seal priv pointer in GtkRecentChooserWidget.
2744 2008-05-26 13:54:39 +0200 Kristian Rietveld
2746 Seal priv pointer in GtkRecentChooserMenu.
2748 2008-05-26 13:54:15 +0200 Kristian Rietveld
2750 Seal priv pointer in GtkRecentChooserDialog.
2752 2008-05-26 13:52:40 +0200 Kristian Rietveld
2754 Seal priv pointer in GtkRecentAction.
2756 2008-05-26 13:51:47 +0200 Kristian Rietveld
2758 Seal priv pointer in GtkRadioAction.
2760 2008-05-26 13:50:49 +0200 Kristian Rietveld
2762 Seal priv pointer in GtkPrintUnixDialog.
2764 2008-05-26 13:50:08 +0200 Kristian Rietveld
2766 Seal priv pointer in GtkPrintOperation.
2768 2008-05-26 13:49:41 +0200 Kristian Rietveld
2770 Seal priv pointer in GtkPrinter.
2772 2008-05-26 13:48:49 +0200 Kristian Rietveld
2774 Seal priv pointer in GtkPageSetupUnixDialog.
2776 2008-05-26 13:47:39 +0200 Kristian Rietveld
2778 Seal priv pointer in GtkMenuToolButton.
2780 2008-05-26 13:47:29 +0200 Kristian Rietveld
2782 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
2784 2008-05-26 13:23:45 +0200 Kristian Rietveld
2786 Seal priv pointer in GtkLinkButton.
2788 2008-05-26 13:22:25 +0200 Kristian Rietveld
2790 Seal priv pointer in GtkIconView.
2792 2008-05-26 13:22:04 +0200 Kristian Rietveld
2794 Seal priv pointer in GtkIconTheme.
2796 2008-05-26 13:13:49 +0200 Kristian Rietveld
2798 Seal child_allocation field in GtkFrame.
2800 2008-05-26 13:10:17 +0200 Kristian Rietveld
2802 Sealed priv pointer in GtkFontButton.
2804 2008-05-26 13:07:14 +0200 Kristian Rietveld
2806 Seal priv pointer in GtkFileChooserButton.
2808 2008-05-26 13:06:43 +0200 Kristian Rietveld
2810 Seal priv pointer in GtkExpander.
2812 2008-05-26 13:03:24 +0200 Kristian Rietveld
2814 Sealed remaining (private) fields in GtkContainer.
2816 2008-05-26 13:02:26 +0200 Kristian Rietveld
2818 Seal priv pointer in GtkComboBoxEntry.
2820 2008-05-26 13:01:40 +0200 Kristian Rietveld
2822 Seal priv pointer in GtkComboBox.
2824 2008-05-26 13:00:59 +0200 Kristian Rietveld
2826 Seal private_data pointer in GtkColorSel.
2828 2008-05-26 12:57:50 +0200 Kristian Rietveld
2830 Seal 3 remaining fields in GtkButton.
2832 2008-05-26 12:55:24 +0200 Kristian Rietveld
2834 Seal priv pointer in GtkBuilder.
2836 2008-05-26 12:52:44 +0200 Kristian Rietveld
2838 Seal center_allocation field in GtkAspectFrame.
2840 2008-05-26 12:48:18 +0200 Kristian Rietveld
2842 Seal priv pointer in GtkAction.
2844 2008-05-26 12:46:11 +0200 Kristian Rietveld
2846 Seal priv pointer in GtkAboutDialog.
2848 2008-05-26 12:41:46 +0200 Kristian Rietveld
2852 2008-05-26 12:39:54 +0200 Kristian Rietveld
2856 2008-05-26 11:59:35 +0200 Kristian Rietveld
2858 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
2860 2008-05-26 11:52:20 +0200 Kristian Rietveld
2862 Add new GtkColorSelectionDialog accessors to gtk.symbols.
2864 2008-05-26 11:41:47 +0200 Kristian Rietveld
2866 gtklabel.h: include bit-size of fields inside GSEAL parens.
2868 2008-05-26 11:40:07 +0200 Kristian Rietveld
2870 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
2872 2008-05-26 11:39:35 +0200 Kristian Rietveld
2874 gtkentry.h: include bit-size of fields inside GSEAL parens.
2876 2008-05-26 11:34:14 +0200 Kristian Rietveld
2878 Add new accessors for GtkEntry to gtk.symbols.
2880 2008-05-26 11:23:56 +0200 Kristian Rietveld
2882 Also seal GtkWindowGroup in gtkwindow.h
2884 2008-05-26 10:48:48 +0200 Kristian Rietveld
2886 Fix the build by including gdkconfig.h in gtktextchild.h.
2888 2008-05-23 18:48:56 +0200 Christian Dywan
2892 2008-05-23 18:28:39 +0200 Christian Dywan
2896 2008-05-23 18:28:07 +0200 Christian Dywan
2898 Seal GtkColorSelectionDialog
2900 2008-05-23 18:03:44 +0200 Carlos Garnacho
2902 Seal GtkTextChildAnchor.
2904 * gtk/gtktextchild.h: Sealed private member.
2906 2008-05-23 17:42:01 +0200 Carlos Garnacho
2910 * gtk/gtkwindow.h: Seal all fields.
2912 2008-05-23 17:40:09 +0200 Carlos Garnacho
2914 Add gtk_window_get_default()
2916 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
2917 * gtk/gtk.symbols: same here.
2919 2008-05-09 15:41:57 +0100 Martyn Russell
2921 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
2923 2008-05-02 16:31:40 +0200 Martyn Russell
2927 2008-05-02 16:30:09 +0200 Martyn Russell
2929 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
2931 2008-04-27 18:49:50 +0200 Kristian Rietveld
2933 Seal GtkToggleButton.
2935 * gtk/gtktogglebutton.h: Seal all member fields.
2937 2008-04-27 18:41:46 +0200 Kristian Rietveld
2939 Seal GtkTreeViewColumn.
2941 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
2942 still troublesome. We are probably going to need an accessor for this and
2943 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
2944 resized_width can be useful, but I really consider them to be private and
2945 of not much use to applications.
2947 2008-04-27 18:23:23 +0200 Kristian Rietveld
2949 Seal GtkRadioMenuItem.
2951 * gtk/gtkradiomenuitem.h: Seal member field.
2953 2008-04-27 18:21:29 +0200 Kristian Rietveld
2955 Seal GtkRadioButton.
2957 * gtk/gtkradiobutton.h: seal member field.
2959 2008-04-27 18:11:41 +0200 Kristian Rietveld
2961 Seal GtkTreeSelection.
2963 * gtk/gtktreeselection.h: Seal all member fields.
2965 2008-04-27 18:09:46 +0200 Kristian Rietveld
2967 Add gtk_tree_selection_get_select_function().
2969 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
2971 * gtk/gtk.symbols: add new function.
2973 2008-04-27 16:05:02 +0200 Kristian Rietveld
2975 Seal GtkScrolledWindow.
2977 * gtk/gtkscrolledwindow.h: Seal all object member fields.
2979 2008-04-27 15:56:33 +0200 Kristian Rietveld
2981 Seal GtkCellRenderer.
2983 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
2984 already accessible via GObject properties.
2986 2008-04-27 15:56:01 +0200 Kristian Rietveld
2988 Add "editing" GObject property to GtkCellRenderer.
2990 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
2991 (gtk_cell_renderer_get_property),
2992 (gtk_cell_renderer_set_property): add the property and hook
2995 2008-04-27 15:42:08 +0200 Kristian Rietveld
2997 Seal GtkCellRendererText.
2999 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3002 2008-04-27 15:40:47 +0200 Kristian Rietveld
3004 Seal GtkCellRendererCombo.
3006 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
3007 that were not marked as private are already accessible via GObject properties.
3009 2008-04-27 15:39:41 +0200 Kristian Rietveld
3011 Seal GtkCellRendererAccel.
3013 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3016 2008-04-18 16:55:44 +0200 Kristian Rietveld
3020 * gtk/gtktreeview.h: seal private pointer.
3022 2008-04-18 16:52:54 +0200 Kristian Rietveld
3024 Seal GtkTreeModelFilter
3026 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3029 2008-04-18 16:50:55 +0200 Kristian Rietveld
3031 Seal GtkTreeModelSort
3033 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3034 all public member fields.
3036 2008-04-18 16:42:28 +0200 Kristian Rietveld
3040 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3041 public member fields.
3043 2008-04-18 16:37:43 +0200 Kristian Rietveld
3047 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3048 public member fields.
3050 2008-04-18 18:26:31 +0200 Carlos Garnacho
3052 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3054 2008-04-18 18:25:22 +0200 Carlos Garnacho
3056 * gtk/gtkcontainer.h: seal members.
3058 2008-04-11 17:28:54 +0200 Carlos Garnacho
3060 * gtk/gtkmisc.h: seal members.
3062 2008-04-11 17:28:05 +0200 Carlos Garnacho
3064 *gtk/gtkfixed.h: seal members.
3066 2008-04-11 16:04:23 +0200 Michael Natterer
3068 * gtk/gtkcellrendererpixbuf.h: seal all members.
3070 2008-04-11 16:01:19 +0200 Michael Natterer
3072 * gtk/gtkcellrendererprogress.h: seal private member.
3074 2008-04-11 15:43:22 +0200 Michael Natterer
3076 * gtk/gtkcellrenderertoggle.h: seal all members.
3078 2008-04-04 18:50:05 +0200 Carlos Garnacho
3080 * gtk/gtkfilechooserwidget.h: Seal the private member.
3082 2008-04-04 18:46:47 +0200 Carlos Garnacho
3084 gtk/gtkfilechooserdialog.h: seal the private member.
3086 2008-04-04 18:42:17 +0200 Carlos Garnacho
3088 * gtk/gtkentrycompletion.h: Seal private member.
3090 2008-04-04 18:36:35 +0200 Carlos Garnacho
3092 * gtk/gtkcellview.h: Seal the private member.
3094 2008-04-04 18:28:00 +0200 Carlos Garnacho
3096 * gtk/gtkcolorbutton.h: seal private member.
3098 2008-04-04 18:27:26 +0200 Carlos Garnacho
3100 * gtk/gtkcheckmenuitem.h: seal public struct members.
3102 2008-04-04 18:25:25 +0200 Carlos Garnacho
3104 * gtk/gtkcalendar.h: seal public struct members.
3106 2008-04-04 18:24:15 +0200 Carlos Garnacho
3108 * gtk/gtkdialog.h: Also seal variables marked as private.
3110 2008-04-04 17:35:48 +0200 Michael Natterer
3112 * gtk/gtkimagemenuitem.h: seal private member.
3114 2008-04-04 17:28:56 +0200 Michael Natterer
3116 * gtk/gtkiconfactory.h: seal private member.
3118 2008-03-28 16:56:53 +0000 Martyn Russell
3122 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3123 member and clean up .c file to reflect this.
3125 2008-03-28 15:00:09 +0100 Sven Herzberg
3129 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3131 2008-03-28 16:38:00 +0100 Michael Natterer
3133 * gtk/gtkdrawingarea.h: seal instance struct member.
3135 2008-03-28 16:23:32 +0100 Christian Dywan
3137 Seal GtkScaleButton public fields
3139 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3141 2008-03-28 16:07:50 +0100 Christian Dywan
3143 Seal GtkScale public fields
3145 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3147 2008-03-14 20:45:34 +0100 Christian Dywan
3149 Seal GtkProgressBar public fields
3152 2008-03-14 20:32:12 +0100 Christian Dywan
3154 Seal GtkFrame public vars
3156 2008-03-14 18:57:35 +0100 Carlos Garnacho
3158 Deprecate direct access to public variables in GtkButton.
3160 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3162 2008-03-14 18:56:23 +0100 Carlos Garnacho
3164 Deprecate direct access to public variables in GtkButtonBox.
3166 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3168 2008-03-14 18:54:35 +0100 Carlos Garnacho
3170 Deprecate direct access to public variables in GtkBox.
3172 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3174 2008-03-09 11:50:41 +0100 Carlos Garnacho
3176 Seal GtkMessageDialog public vars
3178 2008-03-09 11:38:00 +0100 Carlos Garnacho
3180 Seal GtkDialog public vars
3182 2008-03-09 11:32:05 +0100 Carlos Garnacho
3184 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3186 2008-03-09 11:31:46 +0100 Carlos Garnacho
3188 Seal GtkAssistant public fields
3190 2008-03-09 11:31:30 +0100 Carlos Garnacho
3192 Seal GtkNotebook public fields
3194 2008-03-07 20:29:47 +0100 Mikael Hallendal
3196 Deprecate direct access to child in GtkBin.
3198 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3200 2008-03-07 18:25:59 +0000 Martyn Russell
3202 Sealed GtkAccelGroup and added
3204 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3205 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3206 macro for public struct members which should be private.
3208 2008-03-07 18:54:22 +0100 Mikael Hallendal
3210 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3212 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3214 2008-03-07 18:48:29 +0100 Mikael Hallendal
3216 Deprecate arrow_type and shadow_type direct access in GtkArrow.
3218 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3220 2008-03-07 18:35:12 +0100 Mikael Hallendal
3222 Added GSEAL to GtkAlignment.
3224 * gtk/gtkalignment.h: Seal the object data with GSEAL.
3226 2008-03-07 15:24:27 +0100 Tim Janik
3228 Introduce GSEAL() macro.
3230 * configure.in: define GSEAL() when generating gdkconfig.h
3232 2008-06-20 Michael Natterer <mitch@imendio.com>
3234 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3237 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3238 (gtk_combo_box_insert_text)
3239 (gtk_combo_box_prepend_text)
3240 (gtk_combo_box_remove_text)
3241 (gtk_combo_box_real_get_active_text): apply patch from Christian
3242 Dywan which adds the needed g_return_if_fail() to prevent the
3245 2008-06-20 Cody Russell <cody@jhu.edu>
3247 * gdk/directfb/gdkwindow-directfb.c:
3249 Rename gdk_window_new -> _gdk_window_new and
3250 gdk_window_reparent -> _gdk_window_reparent to fix
3251 the build. (#539095, Sebastien Bacher)
3253 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3255 * gtk/gtkmenuitem.c: remove an unused variable and cast
3256 accel_path to gchar, just like in gtkmenu.c
3258 2008-06-19 Matthias Clasen <mclasen@redhat.com>
3260 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3263 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3265 * gtk/gtkprintbackend.c: Fix a typo in a comment
3267 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3268 Cast buf to unsigned char to avoid two compiler
3272 * gtk/gtkstyle.c (gtk_style_finalize):
3273 Do not ignore the return value of g_slist_remove.
3274 gtkstyle.c changes rubberstamped by Owen.
3276 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3278 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
3279 (gtk_tree_view_set_enable_tree_lines):
3280 gdk_gc_set_dashes expects a list of gint8, not guint8.
3282 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3284 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
3285 Remove an unused variable and cast to gchar to avoid a compiler
3288 2008-06-19 Christian Persch <chpe@gnome.org>
3290 * docs/reference/gtk/gtk-sections.txt:
3292 * gtk/gtkclipboard.c:
3293 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
3294 targets. Bug #537639.
3296 2008-06-19 Christian Persch <chpe@gnome.org>
3298 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
3299 hardcoded target tables. Bug #516092.
3301 2008-06-19 Christian Persch <chpe@gnome.org>
3303 * gdk-pixbuf/gdk-pixbuf-io.c:
3304 * gdk-pixbuf/gdk-pixdata.c:
3305 * gdk-pixbuf/io-ani.c:
3306 * gdk-pixbuf/io-bmp.c:
3307 * gdk-pixbuf/io-gdip-utils.c:
3308 * gdk-pixbuf/io-gif.c:
3309 * gdk-pixbuf/io-icns.c:
3310 * gdk-pixbuf/io-ico.c:
3311 * gdk-pixbuf/io-jasper.c:
3312 * gdk-pixbuf/io-jpeg.c:
3313 * gdk-pixbuf/io-pcx.c:
3314 * gdk-pixbuf/io-png.c:
3315 * gdk-pixbuf/io-pnm.c:
3316 * gdk-pixbuf/io-ras.c:
3317 * gdk-pixbuf/io-tga.c:
3318 * gdk-pixbuf/io-tiff.c:
3319 * gdk-pixbuf/io-wbmp.c:
3320 * gdk-pixbuf/io-xbm.c:
3321 * gdk-pixbuf/io-xpm.c:
3322 * gtk/gtkfilechooserdefault.c:
3323 * gtk/gtkfilesystemmodel.c:
3324 * gtk/gtkiconfactory.c:
3325 * gtk/gtkicontheme.c:
3327 * gtk/gtkpagesetup.c:
3328 * gtk/gtkpapersize.c:
3329 * gtk/gtkprintoperation-win32.c:
3330 * gtk/gtktextbufferserialize.c:
3331 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
3333 * configure.in: Update glib requirement to 2.17.3.
3335 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3337 * demos/testpixbuf.c (new_testrgb_window):
3338 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
3339 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
3340 (gtk_item_factory_create_item):
3341 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
3342 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
3343 (gtk_progress_bar_new_with_adjustment):
3344 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
3345 * gtk/gtktext.c (gtk_text_new):
3346 * gtk/gtkviewport.c (gtk_viewport_new):
3347 * tests/simple.c (main):
3348 * tests/testgtk.c (create_statusbar), (create_get_image),
3349 (create_saved_position), (create_tooltips), (create_cursors),
3350 (create_display_screen), (create_progress_bar), (create_idle_test):
3351 * tests/testmultidisplay.c (make_selection_dialog), (main):
3352 * tests/testmultiscreen.c (main):
3353 * tests/testrgb.c (new_testrgb_window):
3354 Use g_object_new instead of gtk_widget_new
3356 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3358 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
3360 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
3363 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
3364 to avoid a gcc warning.
3366 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3368 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
3369 the filename in the name entry in CREATE_FOLDER mode when changing
3370 folders, so that you can enter a new subfolder name, double-click on a
3371 folder to change to it, and close the dialog.
3373 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
3374 the filename in the entry in CREATE_FOLDER mode, either.
3376 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3378 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
3379 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
3382 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
3383 clear the entry for CREATE_FOLDER either; this needs the same
3384 behavior as SAVE mode.
3385 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
3388 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3390 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
3391 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3392 (model_add_bookmarks):
3393 (model_update_current_folder):
3394 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
3395 (shortcuts_reload_icons): Use standard icon names.
3397 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3399 * gtk/Makefile.am: Add some more aliases for standard
3400 icon names to the builtin icon theme: drive-harddisk,
3401 folder, folder-remote, text-x-generic.
3403 2008-06-18 Michael Natterer <mitch@imendio.com>
3405 * gtk/gtkcalendar.c: set the maximum of the "year" property to
3406 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
3407 calculations which in turn caused writing beyond the boundaries of
3408 the calendar->day_month[] and day[] arrays which in turn caused a
3409 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
3411 2008-06-18 Michael Natterer <mitch@imendio.com>
3414 * tests/autotestfilechooser.c
3415 * tests/buildertest.c
3416 * tests/defaultvaluetest.c
3417 * tests/floatingtest.c
3418 * tests/objecttests.c
3419 * tests/pixbuf-init.c
3420 * tests/textbuffertest.c: remove unit tests here...
3422 * gtk/tests/Makefile.am
3423 * gtk/tests/builder.c
3424 * gtk/tests/defaultvalue.c
3425 * gtk/tests/filechooser.c
3426 * gtk/tests/floating.c
3427 * gtk/tests/object.c
3428 * gtk/tests/pixbuf-init.c
3429 * gtk/tests/textbuffer.c: ...and add them here.
3431 2008-06-18 Michael Natterer <mitch@imendio.com>
3433 * gdk/gdk.h: deprecate GdkDestroyNotify.
3437 * gdk/x11/gdkevents-x11.c
3438 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
3440 2008-06-18 Michael Natterer <mitch@imendio.com>
3442 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
3444 * gtk/gtkactiongroup.[ch]
3445 * gtk/gtkcombobox.[ch]
3446 * gtk/gtkcontainer.[ch]
3447 * gtk/gtkliststore.[ch]
3451 * gtk/gtktreedatalist.[ch]
3452 * gtk/gtktreemodelfilter.[ch]
3453 * gtk/gtktreemodelsort.[ch]
3454 * gtk/gtktreeprivate.h
3455 * gtk/gtktreeselection.[ch]
3456 * gtk/gtktreesortable.[ch]
3457 * gtk/gtktreestore.[ch]
3458 * gtk/gtktreeview.[ch]
3459 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
3461 2008-06-18 Michael Natterer <mitch@imendio.com>
3463 * tests/testgtk.c: some more undeprecation.
3465 2008-06-18 Michael Natterer <mitch@imendio.com>
3467 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3470 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3472 2008-06-18 Michael Natterer <mitch@imendio.com>
3474 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3476 * gtk/gtk.symbols: changed accordingly.
3478 * gtk/gtksettings.c (gtk_settings_install_property)
3479 (gtk_settings_install_property_parser): get rid of using
3480 gtk_type_class() by keeping a static reference to GtkSettingsClass
3481 around in both functions and passing that pointer on to
3482 settings_install_property_parser().
3484 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3487 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3490 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3492 * gtk/gtkstyle.c: Add deprecated version
3493 and change the deprecation markup used by ref/unref
3495 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3498 Add deprecated versions and fixup markup.
3500 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3502 * gtk/gtkaboutdialog.c:
3503 * gtk/gtkbutton.c (gtk_button_class_init):
3504 Don't markup deprecated in italics.
3506 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3508 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3509 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3511 2008-06-17 Michael Natterer <mitch@imendio.com>
3513 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3515 2008-06-17 Michael Natterer <mitch@imendio.com>
3517 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3518 function gtk_object_init_type().
3520 2008-06-17 Michael Natterer <mitch@imendio.com>
3522 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3523 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3524 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
3527 2008-06-17 Tor Lillqvist <tml@novell.com>
3529 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3530 #undef/#define dance here, too, because
3531 gtk_notebook_set_group_id() is deprecated but used here before it
3532 is defined, and gcc complains about conflicting type from the
3533 implicit int declaration when it sees the actual void definition.
3535 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3538 2008-06-17 Michael Natterer <mitch@imendio.com>
3540 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3547 * gtk/gtkoldeditable.c
3550 * gtk/gtktipsquery.c
3552 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3553 actually use deprecated symbols (not just types or macros),
3554 #define it again before #include "gtkalias.h" so the symbols match
3555 and the beast links.
3557 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3559 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3561 2008-06-17 Michael Natterer <mitch@imendio.com>
3563 * modules/input/gtkimcontextmultipress.h
3564 * modules/input/gtkimcontextthai.h
3565 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3566 type checking macros.
3568 2008-06-17 Michael Natterer <mitch@imendio.com>
3570 * gtk/gtktypeutils.h: really move the GtkType typedef to an
3571 undeprecated section.
3573 2008-06-17 Michael Natterer <mitch@imendio.com>
3575 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3576 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3577 Move the GtkType typedef to an undeprecated section.
3579 2008-06-17 Michael Natterer <mitch@imendio.com>
3581 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3582 of GTK_CHECK ones because it's the parent class of an undeprecated
3583 class and the GTK_CHECK stuff will soon be deprecated.
3585 2008-06-17 Michael Natterer <mitch@imendio.com>
3588 * gtk/gtkinputdialog.c
3589 * gtk/gtkmenutoolbutton.c
3590 * gtk/gtkoptionmenu.c
3592 * gtk/gtktooltips.c: add or move around
3593 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3594 deprecated stuff again (with the minor glitch that it doesn't
3595 link ;) but at least it's a tool to keep the code clean).
3597 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3599 * gtk/gtkrecentmanager.c:
3600 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3603 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3605 * gtk/gtkrecentmanager.c:
3606 (gtk_recent_manager_remove_item),
3607 (gtk_recent_manager_move_item): Increase the consistency of the
3608 errors returned by GtkRecentManager. (Paolo Borelli)
3610 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3612 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3614 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3616 * gtk/gtkrecentmanager.c:
3617 (gtk_recent_manager_remove_item): Consistently use the same
3618 error when removing a URI from an empty GtkRecentManager.
3620 2008-06-17 Michael Natterer <mitch@imendio.com>
3622 * gtk/gtkfilechooserdefault.c: remove static integer variables
3623 which hold the number of members in GtkTargetEntry arrays and use
3624 G_N_ELEMENTS() directly instead.
3626 2008-06-17 Michael Natterer <mitch@imendio.com>
3628 * gtk/gtk.symbols: move some deprecated symbols into
3629 #ifndef GTK_DISABLE_DEPRECATED.
3631 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3633 * gtk/gtkfilechooserdefault.c:
3634 (gtk_file_chooser_default_init),
3635 (gtk_file_chooser_default_constructor),
3636 (gtk_file_chooser_default_screen_changed),
3637 (recent_start_loading): Remove the GtkRecentManager screen
3638 dance, as it has been deprecated since 2.12. Now we get the
3639 GtkRecentManager singleton whewn we create the FileChooserDefault
3640 instance. (Michael Natterer)
3642 2008-06-17 Michael Natterer <mitch@imendio.com>
3644 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3645 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3647 2008-06-17 Michael Natterer <mitch@imendio.com>
3649 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3652 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3653 in via deprecated headers.
3655 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3657 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3659 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3660 against XKB being stupid. Reported by Pedro Villavicencio.
3662 2008-06-17 Michael Natterer <mitch@imendio.com>
3664 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3665 and unref() instead of the deprecated gtk_widget_ref() and unref().
3667 2008-06-16 Michael Natterer <mitch@imendio.com>
3669 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3670 svn since 2.8 but was never used.
3672 2008-06-16 Michael Natterer <mitch@imendio.com>
3674 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3675 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3676 (the former is deprecated and #defined to gtk_binding_entry_clear)
3678 2008-06-16 Michael Natterer <mitch@imendio.com>
3680 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3681 unused) "gtkmarshal.h".
3683 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
3685 Bug 538182 – pango_cairo_context_update_layout is not noop after
3686 gtk_widget_create_pango_layout
3688 * gtk/gtksettings.c (settings_update_font_options): Make sure all
3689 font option fields are set to non-DEFAULT values.
3691 2008-06-16 Michael Natterer <mitch@imendio.com>
3696 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3697 gtk_rc_style_unref().
3699 2008-06-16 Michael Natterer <mitch@imendio.com>
3701 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
3702 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
3703 gtk_marshal_BOOLEAN__VOID.
3705 2008-06-16 Michael Natterer <mitch@imendio.com>
3707 * gtk/gtkcellrendereraccel.h
3709 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
3710 macros for type checking.
3712 (gtk_object_get_type): change prototype to return GType instead of
3715 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3717 * gtk/Makefile.am: Make folder, user-home and user-desktop links
3718 to gtk-directory in the builtin icon theme, so that we can
3719 use these icon names without risk of ending up without an icon.
3721 2008-06-16 Tor Lillqvist <tml@novell.com>
3723 Bug 538362 - Get Win32 icons back in the file chooser
3725 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
3726 reference to an icon resource in a DLL or .EXE in the same format
3727 as the DefaultIcon strings in the Registry. In that case, extract
3728 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
3729 code has to be in sync with the corresponding code in
3730 glib/gio/gcontenttype.c.
3732 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3734 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
3735 to the builtin icon theme, to avoid showing broken images when
3736 there is no icon theme around. The new icons are thanks to
3739 2008-06-16 Michael Natterer <mitch@imendio.com>
3741 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
3742 GtkFileChooserDefault struct.
3744 * gtk/gtkfilechooserdefault.c: don't allocate and free the
3747 2008-06-16 Carlos Garnacho <carlos@imendio.com>
3749 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
3752 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
3753 Allow again setting any of the properties to render an image back to
3756 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3758 * gtk/gtkimage.c: When pixel-size is specified, use
3759 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
3761 2008-06-15 Carlos Garnacho <carlos@imendio.com>
3763 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
3764 path here as expected, not just the basename.
3766 * gtk/gtkfilechooserdefault.c
3767 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
3768 a reference to file, since it can be destroyed when switching back to
3771 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
3772 and desktop directories are dealt by the filechooser as normal files,
3773 not volumes, so the icon for these is handled directly by GIO.
3774 (_gtk_file_system_volume_render_icon): Update caller.
3776 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3778 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
3780 2008-06-14 Cody Russell <bratsche@gnome.org>
3782 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
3784 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
3785 according to MSDN docs, associates the open clipboard with the
3786 current task. (#378158, reported by Andreas Köhler)
3788 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3790 * configure.in: Bump version
3792 * === Released 2.13.3 ===
3794 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3796 * gtk/gtkaccelgroup.c: Add some docs
3798 * gdk/gdkwindow.c: Fix doc typos
3800 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3802 * gtk/gtkfilesystem.c: Avoid PLT entries by including
3805 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3807 * gtk/gtkfilechooserbutton.c:
3808 * gtk/gtkfilechooserdefault.c:
3809 * gtk/gtkfilechooserentry.c:
3810 * gtk/gtkfilesystem.c:
3811 * gtk/gtkfilesystem.h:
3812 * gtk/gtkfilesystemmodel.c:
3813 * gtk/gtkpathbar.c: Really make GtkFileSystem private
3814 by _-prefixing all functions.
3816 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3818 * docs/RELEASE-HOWTO: Updates
3819 * INSTALL.in: Bump version
3821 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3825 2008-06-13 Michael Natterer <mitch@imendio.com>
3827 * gtk/gtkcellrendereraccel.h
3828 * gtk/gtkfilechooser.h
3829 * gtk/gtkfilechooserdialog.h
3830 * gtk/gtkfilechooserwidget.h
3831 * gtk/gtkmenutoolbutton.h
3832 * gtk/gtkpagesetup.h
3833 * gtk/gtkpapersize.h
3834 * gtk/gtkprintcontext.h
3835 * gtk/gtkprintoperation.h
3836 * gtk/gtkprintoperationpreview.h
3837 * gtk/gtkprintsettings.h
3838 * gtk/gtkradiotoolbutton.h
3839 * gtk/gtkrecentchooser.h
3840 * gtk/gtkrecentchooserdialog.h
3841 * gtk/gtkrecentchoosermenu.h
3842 * gtk/gtkrecentchooserwidget.h
3843 * gtk/gtkseparatortoolitem.h
3845 * gtk/gtktoggletoolbutton.h
3847 * gtk/gtktoolbutton.h
3848 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
3849 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
3851 2008-06-13 Michael Natterer <mitch@imendio.com>
3853 * gtk/gtktexttagtable.h: remove double inclusion of
3856 2008-06-13 Michael Natterer <mitch@imendio.com>
3858 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
3859 local "image" variable from GtkImage to GtkWidget to fix warning.
3861 2008-06-13 Michael Natterer <mitch@imendio.com>
3863 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
3864 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3866 2008-06-13 Michael Natterer <mitch@imendio.com>
3868 * gtk/gtkuimanager.c (start_element_handler): silently skip
3869 unknown attributes instead of bailing out with an error in order
3870 to be compatible with possible future attribute names.
3872 This is related to the discussion in bug #516425 but actually
3873 needed for any kind of XML format extension.
3875 2008-05-23 Hans Breuer <hans@breuer.org>
3877 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
3878 Avoids crashing when the target can not be written, bug #537685
3880 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
3882 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
3883 it was not needed here anyway.
3885 2008-06-13 Matthias Clasen <mclasen@redhat.com>
3887 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
3888 Patch by Jan Arne Peterson
3890 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3892 Bug 537985 – gtk_init_with_args() doesn't open a display after
3895 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
3896 even when gtk_parse_args() has already been called.
3897 Patch by Mathias Hasselmann
3899 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3901 Bug 524222 – GtkToolbar with mix of buttons with and without
3904 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
3905 Improve appearance of "both vertical" mode toolbuttons.
3906 Patch by Peter Johanson
3908 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3910 Bug 519092 – Add accessibility support to GtkVolumeButton
3912 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
3913 Patch by Jonh Wendell
3915 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3917 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
3918 GtkAction has problems
3919 Patch by Peter Johanson
3921 * gtk/gtkaction.c (connect_proxy): Set the image of a button
3922 proxy to the "icon-name" property.
3924 (gtk_action_set_short_label): If the "image" property is set
3925 on the button proxy, also tries to set the "label" property on
3928 2008-06-12 Michael Natterer <mitch@imendio.com>
3931 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
3932 in via "gtkintl.h" from <glib/gi18n-lib.h>.
3934 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3936 RH bug 248245 and 449379: cups client printing from gnome
3939 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
3940 printer URI construction. Patch by Marek Kasik
3942 2008-06-12 Michael Natterer <mitch@imendio.com>
3944 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
3945 limit the number of displayed items by the actual screen height
3946 instead of some arbitrary value (Bug #408154, Xan Lopez and
3949 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
3951 Bug 503071 – Application direction changes to right to left even if
3952 theres no translation
3954 * configure.in: Bump glib requirement.
3956 * gtk/gtkaccellabel.c
3957 (_gtk_accel_label_class_get_accelerator_label):
3958 * gtk/gtkactiongroup.c (dgettext_swapped):
3959 * gtk/gtkbuilder.c (gtk_builder_class_init):
3960 * gtk/gtkbuilderparser.c (_dpgettext),
3961 (_gtk_builder_parser_translate):
3962 * gtk/gtkfilechooserdefault.c (list_size_data_func):
3963 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
3965 * gtk/gtkmain.c (setlocale_initialization),
3966 (do_pre_parse_initialization), (gettext_initialization):
3967 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
3968 Use g_dgettext() and g_dngettext().
3970 2008-06-11 Matthias Clasen <mclasen@redhat.com>
3972 * docs/RELEASE-HOWTO: Updates
3974 2008-06-11 Tor Lillqvist <tml@novell.com>
3976 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
3977 support Win9x anyway, we can use ProcessIdToSessionId()
3980 2008-06-11 Michael Natterer <mitch@imendio.com>
3982 * gtk/gtkfilechooserbutton.c: fix local prototype of
3983 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
3985 2008-06-10 Matthias Clasen <mclasen@redhat.com>
3987 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
3989 * gtk/gtkoptionmenu.c:
3990 * gtk/gtkcombobox.c: Set the window type hint on popups.
3991 Patch by Danny Baumann
3993 2008-06-10 Matthias Clasen <mclasen@redhat.com>
3995 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
3996 (gtk_file_system_volume_render_icon): Add standard icon names,
3997 and also fall back to builtin gtk stock icons.
3999 2008-06-10 Christian Persch <chpe@gnome.org>
4001 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4002 (gtk_tree_view_maybe_begin_dragging_row),
4003 (gtk_tree_view_set_reorderable),
4004 (gtk_tree_view_enable_model_drag_source),
4005 (gtk_tree_view_enable_model_drag_dest),
4006 (gtk_tree_view_unset_rows_drag_source),
4007 (gtk_tree_view_unset_rows_drag_dest): Make
4008 gtk_tree_view_enable_model_drag_[source|dest] compatible with
4009 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4011 2008-06-10 Christian Persch <chpe@gnome.org>
4013 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4014 (dest_row_free), (set_dest_row), (ensure_info),
4015 (gtk_tree_view_remove), (gtk_tree_view_put),
4016 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4019 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4021 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4022 use g_file_new_for_uri.
4024 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4026 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4029 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4033 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4034 #520874, comment #8. It's no longer used directly by GTK+.
4036 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4038 Bug 520874 - Should use gio directly.
4040 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4041 provides helper functions for asynchronous calls, folder abstraction
4042 and uniform handling of volumes/drives/mounts.
4044 * gtk/gtkfilesystemwin32.[ch]:
4045 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4047 * gtk/gtkfilechooser.c:
4048 * gtk/gtkfilechooserbutton.c:
4049 * gtk/gtkfilechooserdefault.c:
4050 * gtk/gtkfilechooserentry.[ch]:
4051 * gtk/gtkfilechooserprivate.h:
4052 * gtk/gtkfilechooserutils.c:
4053 * gtk/gtkfilesystemmodel.[ch]:
4054 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4055 Do not load filesystem implementation modules.
4058 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4059 anymore, nor the unix/win32 implementations.
4061 * README.in: Add blurb about these changes.
4063 2008-06-09 Kristian Rietveld <kris@gtk.org>
4065 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4067 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4068 (gtk_cell_renderer_combo_set_property),
4069 (gtk_cell_renderer_combo_editing_done),
4070 (gtk_cell_renderer_combo_start_editing): introduce private class
4071 struct, allow model to be set to NULL.
4073 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
4075 Bug 131920 – gtkNotebook sends incorrect switch_page value
4077 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4078 signal send correct page index when page index 0 is active and
4079 removed. (#131920, Samuel Fogh)
4081 2008-06-08 Kristian Rietveld <kris@gtk.org>
4083 Bug 536730 - memory corruption in gtktreeview
4085 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4086 remove the expand/collapse timeout and node, then free the rbtree.
4088 2008-06-08 Kristian Rietveld <kris@gtk.org>
4090 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4092 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4093 find path if we found valid nodes, return FALSE otherwise. (Patch
4094 from Matthias Clasen).
4096 2008-06-08 Matthias Clasen <mclasen@redhat.com>
4098 * gtk/gtkrecentmanager.c:
4099 * gtk/gtkrecentfilter.c:
4100 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4103 2008-06-08 Christian Persch <chpe@gnome.org>
4105 Bug 535608 – do not string-copy accel paths in the menu code
4107 * gtk/gtkaccelgroup.c:
4108 * gtk/gtkaccelmap.c:
4111 * gtk/gtkmenuitem.c:
4112 * gtk/gtkwidget.c: Don't store the accel path as a string in
4113 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4114 keeping a string copy around is just a waste of memory.
4115 Improve the documentation to mention this.
4117 2008-06-07 Tor Lillqvist <tml@novell.com>
4119 Bug 536990 - updateiconcache.c: 'close ()' is redundant
4121 * gtk/updateiconcache.c (build_cache): Drop redundant close()
4122 calls. fclose() on a fdopen()ed stream closes the underlying file
4125 2008-06-06 Matthias Clasen <mclasen@redhat.com>
4127 Bug 536757 – regression: openoffice.org menus are placed at wrong
4128 position since 2.12.10
4130 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4131 Return the right coordinates.
4133 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
4135 Bug 536185 – monitor font configuration
4138 * gdk/x11/gdksettings.c:
4139 * gtk/gtksettings.c (gtk_settings_class_init),
4140 (gtk_settings_notify), (settings_update_fontconfig):
4141 Monitor xsettings key Fontconfig/Timestamp and upon change,
4142 reread fontconfig configuration, clear Pango's caches, and
4145 2008-06-06 Ross Burton <ross@burtonini.com>
4148 Fix trivial typo in documentation.
4150 2008-06-06 Tor Lillqvist <tml@novell.com>
4152 * config.h.win32.in: Slight update to match what configure
4155 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
4157 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4158 constant to the end of the list, to avoid breaking the stable ABI
4160 2008-06-05 Michael Natterer <mitch@imendio.com>
4162 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4164 2008-06-05 Li Yuan <li.yuan@sun.com>
4166 * gail-uninstalled.pc.in:
4167 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4168 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4170 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4172 * docs/RELEASE-HOWTO: Update a bit
4174 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4176 * configure.in: Bump version
4178 * === Released 2.13.2 ===
4180 2008-06-03 Federico Mena Quintero <federico@novell.com>
4182 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4183 If the user presses Tab while the completion feedback window is
4184 active, then we'll assert. Remove the assertion and just re-set
4185 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4187 2008-06-03 Colin Walters <walters@redhat.com>
4189 Bug 535303 – add _get_implementation to GtkStatusIcon
4191 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4192 function to retrieve internal X11 window ID, useful for libnotify.
4193 * gtk/gtkstatusicon.h: Prototype it.
4194 * docs/reference/gtk/gtk-sections.txt: Add to docs.
4195 * gtk/gtk.symbols: Export it.
4197 2008-06-03 Tor Lillqvist <tml@novell.com>
4199 * gtk/updateiconcache.c (build_cache): Use g_open().
4201 2008-06-03 Michael Natterer <mitch@imendio.com>
4204 * gtk/gtkctree.h: revert includes to how they have been before the
4205 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4206 that you can't include <gtk/gtk.h> from two headers where one is a
4207 parent class of the other and expect them both to be includable
4210 2008-06-03 Michael Natterer <mitch@imendio.com>
4212 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4214 2008-06-02 Matthias Clasen <mclasen@redhat.com>
4216 Bug 536092 – GtkEntryCompletion's popup window should set type hint
4218 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4219 a type hint on the popup window to help compiz.
4220 Patch by Vaclav Slavik.
4222 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
4224 Bug 535862 – gtk_action_create_icon can't create icons from the
4227 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4228 the default factories as it's supposed.
4230 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
4232 Bug 535497 – Print preview doesn't work.
4234 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4235 instead of launching Preview.app directly.
4237 2008-06-02 Michael Natterer <mitch@imendio.com>
4239 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4240 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4243 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
4245 Bug 535830 – wrong content type adding an item
4247 * gtk/gtkrecentmanager.c:
4248 (gtk_recent_manager_add_item_query_info): Use the correct API
4249 for retrieving the fast MIME type of a URI. (Carlos Garcia
4252 2008-05-31 Kristian Rietveld <kris@imendio.com>
4254 Bug 530146 - Setting non-string tooltip with
4255 gtk_tree_view_set_tooltip_column() segfaults
4257 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4258 gtk_tree_model_get_value() and explicitly transform the value to a
4259 string before setting it as tooltip.
4261 2008-05-30 Tor Lillqvist <tml@novell.com>
4263 * modules/engines/ms-windows/msw_style.h
4264 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4266 2008-05-30 Michael Natterer <mitch@imendio.com>
4268 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4269 GDestroyNotify when using it in g_object_set_data_full().
4271 2008-05-30 Michael Natterer <mitch@imendio.com>
4273 * gdk/gdkapplaunchcontext.h
4274 * gdk/gdktestutils.h
4275 * gtk/gtkmountoperation.h
4277 * gtk/gtktestutils.h
4278 * gtk/gtktoolshell.h: no need to allow disabling single includes
4279 conditionally in these new files. Simply forbid including them
4280 individually from the beginning.
4282 2008-05-30 Tor Lillqvist <tml@novell.com>
4284 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
4286 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
4289 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4291 * configure.in: Bump version
4293 * === Released 2.13.1 ===
4297 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4299 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
4301 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4303 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
4305 2008-05-29 Tor Lillqvist <tml@novell.com>
4307 Bug 535526 - updateiconcache.c: using open/close without prototype
4309 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
4310 g_utime() when available instead of utime() for UTF-8 pathname
4313 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
4315 Bug 56355 – GtkLabel - Not all changes propagate correctly
4317 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
4318 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
4319 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
4320 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
4321 notifications of mnemonic-keyval changes.
4323 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4325 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
4327 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
4328 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
4329 * gtk/gtk.symbols: Additions
4330 * tests/testimage.c: Add a GIcon test
4332 2008-05-29 Michael Natterer <mitch@imendio.org>
4335 * gtk/gtkunixprint.h: add a single-include header for the unix
4338 * gtk/gtkpagesetupunixdialog.h
4341 * gtk/gtkprintunixdialog.h: add single-include guards that #error
4342 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
4343 files is included individually.
4345 * gtk/gtkprintbackend.h
4346 * gtk/gtkprinter-private.h
4347 * modules/printbackends/cups/gtkprintbackendcups.c
4348 * modules/printbackends/cups/gtkprintercups.h
4349 * modules/printbackends/lpr/gtkprintbackendlpr.c
4350 * tests/buildertest.c
4351 * tests/defaultvaluetest.c
4352 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
4355 2008-05-28 Michael Natterer <mitch@imendio.com>
4357 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
4358 excess newlines and sprinkled some newlines where needed. Zero
4359 code or formatting changes included.
4361 2008-05-28 Michael Natterer <mitch@imendio.com>
4363 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
4365 2008-05-28 Michael Natterer <mitch@imendio.com>
4367 * gtk/gtkcolorbutton.h: fix comment: the widget is called
4368 GtkColorButton, not GtkColorSelectButton. Remove trailing
4369 whitespace and excess newlines.
4371 2008-05-28 Michael Natterer <mitch@imendio.com>
4373 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
4374 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
4375 to CPPFLAGS so it's impossible to commit code that would break
4376 apps which use DISABLE_INCLUDE defines.
4378 2008-05-28 Michael Natterer <mitch@imendio.com>
4380 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
4383 * gtk/gtktypebuiltins.h.template
4384 * gtk/gtkversion.h.in
4385 * gtk/gtk*.h: add single-include guards that #error out if
4386 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4387 included individually.
4389 * gtk/gtkprintbackend.h
4390 * gtk/gtkprinter-private.h
4391 * gtk/gtktextlayout.h
4392 * gtk/gtktexttagprivate.h
4393 * gtk/gtktexttypes.h
4394 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
4395 headers in these private or semi-private headers.
4397 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
4399 * gtk/gtkpagesetupunixdialog.h
4402 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
4408 * gtk/gtkitemfactory.h
4411 * gtk/gtkoldeditable.h
4412 * gtk/gtkoptionmenu.h
4416 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
4417 instead of individual headers in these deprecated headers. They
4418 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
4419 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
4420 and include them individually, which should continue to work.
4422 * gtk/gtkclist.c: include "gtkctree.h" because of the change
4425 2008-05-28 Kristian Rietveld <kris@imendio.com>
4427 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
4430 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
4431 cursor_offset *must* be larger than background height of the cursor
4432 node, not just equal otherwise there is no guarantee there is a next
4435 2008-05-28 Michael Natterer <mitch@imendio.com>
4437 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
4439 2008-05-28 Michael Natterer <mitch@imendio.com>
4441 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
4444 * gdk/gdkenumtypes.h.template
4445 * gdk/gdk*.h: add single-include guards that #error out if
4446 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4447 included individually. Also removed some redundant includes and
4448 did some tiny trailing whitespace removal that's not worth to
4451 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
4454 * gdk/win32/gdkwin32.h
4455 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
4458 2008-05-28 Kristian Rietveld <kris@imendio.com>
4460 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
4461 current widget again.
4463 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4464 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4465 custom_was_reset field to check if the custom widget is set again in
4466 the query-tooltip callback; if not, we set it to NULL. Based on a
4467 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4468 and Christian Persch.
4470 2008-05-28 Michael Natterer <mitch@imendio.com>
4472 * modules/printbackends/cups/gtkcupsutils.c
4473 * modules/printbackends/cups/gtkprintbackendcups.c
4474 * modules/printbackends/file/gtkprintbackendfile.c
4475 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4476 <gtk/gtk.h> instead of individual files.
4478 2008-05-28 Michael Natterer <mitch@imendio.com>
4480 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4483 2008-05-28 Kristian Rietveld <kris@imendio.com>
4485 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4487 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4488 ->priv->tree != NULL. Suggestion from Stefan Kost.
4490 2008-05-28 Kristian Rietveld <kris@imendio.com>
4492 Bug 324282 - add selected signal to cell renderer combo.
4494 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4495 (gtk_cell_renderer_combo_changed),
4496 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4497 that will be emitted as soon as the combo box emitted changed and has
4498 an active iterator. (Modified patch based on work by James
4501 * gtk/gtkmarshalers.list: add marshaler.
4503 2008-05-28 Kristian Rietveld <kris@imendio.com>
4505 Refactor expand/collapse timeout handling (amendment to bug 511217).
4507 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4508 (remove_expand_collapse_timeout): new functions, the remove function
4509 also clears expanded_collapsed_node,
4510 (cancel_arrow_animation): moved to be next to the add/remove timeout
4512 (gtk_tree_view_unrealize),
4513 (gtk_tree_view_row_deleted),
4514 (gtk_tree_view_set_model),
4515 (cancel_arrow_animation),
4516 (gtk_tree_view_real_expand_row),
4517 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4519 2008-05-28 Kristian Rietveld <kris@imendio.com>
4521 Amendment of bug 485218 - Strange warning encountered.
4523 * gtk/gtktreemodelsort.[ch]
4524 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4525 indication whether or not the conversion had succeeded.
4527 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4529 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4531 * modules/printbackends/cups/gtkprintbackendcups.c
4532 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4533 if the printer does not support level 3. Patch by Marek Kašík.
4535 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4537 Bug 404571 - Scroll arrow backgrounds should be painted with different
4540 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
4541 as detail when drawing scroll arrow backgrounds. Proposed by
4544 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4546 Bug 511217 - potential memory corruption after refreshing a tree_view
4548 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4549 expanded_collapsed_node when canceling the animation.
4550 Patch by Nicholas Setton.
4552 2008-05-28 Michael Natterer <mitch@imendio.com>
4554 * modules/input/gtkimcontextime.h
4555 * modules/input/gtkimcontextmultipress.h
4556 * modules/input/gtkimcontextthai.h
4557 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4560 * modules/input/gtkimcontextime.c
4561 * modules/input/gtkimcontextmultipress.c
4562 * modules/input/gtkimcontextxim.c
4563 * modules/input/imam-et.c
4564 * modules/input/imcedilla.c
4565 * modules/input/imcyrillic-translit.c
4566 * modules/input/iminuktitut.c
4567 * modules/input/imipa.c
4568 * modules/input/imti-er.c
4569 * modules/input/imti-et.c
4570 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4571 "gtk/gtkintl.h" to the end of includes.
4573 2008-05-28 Michael Natterer <mitch@imendio.com>
4575 * modules/engines/pixbuf/pixbuf-style.h
4576 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4577 instead of individual files.
4579 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4581 Bug 485218 - Strange warning encountered
4583 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4584 (gtk_tree_model_sort_convert_child_iter_to_iter):
4585 (gtk_tree_model_sort_build_level): Better warnings. Patch
4586 by Kristian Rietveld.
4588 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4590 Bug 351910 - Search column setting lost
4592 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4593 the docs. Patch by Matt Barnes.
4595 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4597 Bug 477278 - avoid unnecessary pointer subtraction
4599 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
4600 subtraction that sparse complains about. Patch by Christian
4603 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4605 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4607 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4608 Commit the entry text before doing an increment. Patch by
4611 2008-05-27 Federico Mena Quintero <federico@novell.com>
4613 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4614 drag and drop from the file list into itself, as it doesn't make
4615 sense (it would just change the current folder).
4617 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4618 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4621 2008-05-27 Michael Natterer <mitch@imendio.com>
4623 * gtk/gtksignal.h: move deprecated guards around everything,
4624 including includes and include guards (just as in all other
4627 2008-05-27 Tor Lillqvist <tml@novell.com>
4629 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4630 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4631 <sys/stat.h> on Windows, and the mode used in open() doesn't
4632 matter much as there are no rwxrwxrwx bits on Windows anyway.)
4633 Open file in binary mode. Passing "b" to fdopen() later isn't
4636 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
4638 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4639 invalid or invisible widgets.
4641 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4643 Bug 531008 – Crash in gtkprintunixdialog.c
4645 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4646 the dialog closes. Patch by Yevgen Muntyan.
4648 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4650 RH bug 248245: cups client printing from gnome applications fail
4652 * modules/printbackends/cups/gtkprintbackendcups.c
4653 (gtk_print_backend_cups_print_stream): Specify the right server.
4655 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4657 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4658 rubberbanding when "select-multiple" is TRUE. Bug #446068.
4660 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4662 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4663 correctly dialog buttons sensitivity when the anonymous option is
4664 enabled by default. Bug #531865.
4666 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4668 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4669 password dialog modal and transient for the parent window also if it
4670 was specified in the constructor. Bug #531864.
4672 2008-05-26 Richard Hult <richard@imendio.com>
4674 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4675 setting the default font, might need to tweak this.
4677 2008-05-26 Michael Natterer <mitch@imendio.com>
4679 * examples/gtkdial/gtkdial.h
4680 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4682 2008-05-26 Michael Natterer <mitch@imendio.com>
4684 * gtk/gtkimmodule.h: fix indentation.
4686 2008-05-26 Michael Natterer <mitch@imendio.com>
4688 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4690 * gtk/gtkshow.c: remove inclusion of single files from gdk/
4692 Removed trailing whitespace in both files.
4694 2008-05-26 Richard Hult <richard@imendio.com>
4696 Bug 530353 – Mac-like gtk_accelerator_get_label()
4698 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4699 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4700 On quartz, make gtk_accelerator_get_label() format a Mac-like
4701 string, using unicode characters for modifier keys, arrows, delete
4702 etc. Patch from Yevgen Muntyan.
4704 2008-05-26 Richard Hult <richard@imendio.com>
4706 Bug 534869 – Length miscalculation in
4707 _gtk_quartz_get_selection_data_from_pasteboard
4709 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
4710 Get the number of bytes, not the number of characters, patch from
4713 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4715 * gtk/gtkwidget.c: Some doc formatting fixes.
4717 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4719 Bug 511163 – Remove pango_extents_to_pixels() calls
4721 * gtk/gtkcellrenderertext.c (get_size): Use
4722 pango_layout_get_pixel_extents.
4724 * configure.in: Bump Pango requirement to 1.20
4726 * INSTALL.in: Update required versions
4728 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4730 Bug 513811 – Use cairo_format_stride_for_width()
4732 * gtk/gtkhsv.c (paint_ring, paint_triangle):
4733 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
4734 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
4736 * configure.in: Bump cairo requirement to 1.6.0
4738 * INSTALL.in: Update required versions
4740 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4742 * gtk/gtkshow.[hc]: Formatting fixes
4744 * gtk/gtkmountoperation.c: Add docs
4746 2008-05-25 Cody Russell <bratsche@gnome.org>
4748 Bug 507389 – use gslice for gtksettings
4750 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
4751 Report and patch by Christian Persch.
4753 2008-05-25 Cody Russell <bratsche@gnome.org>
4755 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
4756 when options are missing
4758 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
4759 that other processes that try to open it will fail gracefully. Also
4760 fix a crasher caused by lack of a NULL check. Report and patch
4763 2008-05-25 Cody Russell <bratsche@gnome.org>
4765 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
4767 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
4768 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
4769 so that we also take into account for foreign windows.
4770 Report and patch by Nathaniel Smith.
4772 2008-05-25 Cody Russell <bratsche@gnome.org>
4774 Bug 525461 - Don't invalidate under an input-only child
4776 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
4777 Check that the window is not input-only before invalidating.
4778 Report and patch by Owen Taylor.
4780 2008-05-25 Cody Russell <bratsche@gnome.org>
4782 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
4783 window frame extents
4785 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4786 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
4788 2008-05-25 Cody Russell <bratsche@gnome.org>
4790 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
4791 caused by missing flag initialization
4793 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
4794 top-level private flags correctly. Patch by Danny Baumann.
4796 2008-05-25 Cody Russell <bratsche@gnome.org>
4798 Bug 534463 - non-editable GtkTextView should not call
4799 gtk_im_context_focus_in in focus event
4801 * gtk/gtktextview.c: Add checks to see if the textview is
4802 editable. Patch by Wang Diancheng.
4804 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4806 Bug 501730 – use GSlice for small allocs
4808 * gtk/gtkmenuitem.c:
4809 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
4810 Patch by Christian Persch.
4812 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4814 Bug 523930 – sort -> search in gtktreeview.c
4816 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
4817 glitch, pointed out by Björn Lindqvist.
4819 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4821 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
4823 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
4824 doc glitch, pointed out by Christian Persch.
4826 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4828 Bug 534694 – Col id in GtkListStore could be out of range
4830 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
4831 a bit. Pointed out by Jan Arne Petersen.
4833 2008-05-25 Matthias Clasen <mclasen@redhat.com>
4835 Bug 532497 – Configure problem when cross-compiling
4837 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
4838 pointed out by Marko Lindqvist.
4840 2008-05-25 Richard Hult <richard@imendio.com>
4842 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4843 Slight coding style cleanup.
4845 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
4847 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
4848 Added support for parsing required toolkit versions (so that ui descriptions
4849 can target specific versions of the backend widget libraries) bug 527612.
4851 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
4852 for the added xml tags to the ui description.
4854 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
4855 for requires tag handling.
4857 2008-05-25 Richard Hult <richard@imendio.com>
4859 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
4860 gtk_drag_source_info_destroy in an idle, workaround for bug
4861 #501588, that makes any code that uses the context returned from
4862 gtk_drag_begin() crash, like treeview/iconview dnd.
4863 (GdkDragSourceOwner::provideDataForType): only use the data if we
4866 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4868 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
4869 to the drag actions to allow trash (#137717).
4871 2008-05-25 Josselin Mouette <joss@malsain.org>
4873 reviewed by: Matthias Clasen
4875 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
4876 check that tracker is actually working before using it. Fixes
4879 2008-05-25 Sven Neumann <sven@gimp.org>
4881 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
4882 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
4883 and don't create an output window if it is set.
4885 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
4886 drawing areas. Fixes bug #519317.
4888 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4890 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
4891 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
4893 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
4894 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
4895 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
4896 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
4897 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
4898 (start_spinning), (gtk_spin_button_button_release),
4899 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
4900 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
4901 (gtk_spin_button_update): Reorder strange window hierarchy of the
4902 GtkSpinButton (#466000).
4904 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4906 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
4907 fix the wrong position for right and center justified labels with
4908 logical.x > 0 (#530255).
4910 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4912 * gtk/gtkfilechooserdefault.c:
4913 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
4916 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
4918 * tests/pixbuf-lowmem.c
4919 * tests/pixbuf-random.c
4920 * tests/pixbuf-randomly-modified.c
4921 * tests/pixbuf-read.c
4922 * tests/pixbuf-threads.c
4924 * tests/testtreeview.c: Fix remaining compiler warnings in these
4927 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
4929 reviewed by: Matthias Clasen
4934 * gtk/gtkshow.c: (gtk_show_uri):
4936 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
4938 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
4940 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
4942 * tests/buildertest.c: (test_list_store): Add test.
4944 2008-05-24 Matthias Clasen <mclasen@redhat.com>
4946 Bug 520989 – icon factory buildable too strict
4948 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
4949 an optional attribute.
4951 2008-05-24 Matthias Clasen <mclasen@redhat.com>
4953 Bug 387972 – gtkassistant drawing problem
4955 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
4956 GtkAssistant work better in glade.
4958 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4960 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
4961 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
4962 used in GtkToolItem) (#532787).
4964 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4966 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
4967 try to toggle the visibility of the location entry field in search and
4968 recent mode (#526422).
4970 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
4972 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
4973 (shortcuts_list_create): Show parse name as tooltip for path
4974 shortcuts (#137503).
4976 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
4978 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
4979 pango_color_parse, do not reference XParseColor forms (#434991).
4981 2008-05-24 James Sharpe <jsharpe@gnome.org>
4983 * gdk/gdk.symbols: Remove duplicate
4984 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
4985 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
4987 2008-05-23 Hans Breuer <hans@breuer.org>
4989 * **/makefile.msc gtk/makefile.msc.in : updated
4990 * gtk/gtkwidget.c : fix c99ism (variable at start of block
4991 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
4993 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
4994 setlocale(LC_ALL, ...)
4996 2008-05-23 Tor Lillqvist <tml@novell.com>
4998 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
4999 gdk_window_remove_redirection.
5001 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5002 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5003 changes. Remove now unnecessary parameter checks as the caller
5006 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5008 2008-05-23 Tor Lillqvist <tml@novell.com>
5010 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5011 anything if style doesn't change. Improve debugging output.
5013 2008-05-23 Michael Natterer <mitch@gimp.org>
5016 * tests/print-editor.c
5017 * tests/prop-editor.h
5018 * tests/testmountoperation.c
5019 * tests/testmultidisplay.c
5020 * tests/testnouiprint.c
5022 * tests/testprintfileoperation.h
5023 * tests/testtreesort.c
5024 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5025 files. Remove some redundant includes.
5027 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
5029 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5030 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5032 2008-05-21 Richard Hult <richard@imendio.com>
5034 * gdk/quartz/gdkwindow-quartz.c:
5035 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5036 offscreen rendering changes, fixes build.
5038 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
5040 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5042 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5043 return snapshot pixmap coordinates widget relative in *clip_rect.
5045 * tests/testgtk.c: fixed bogus NULL pointer unref.
5047 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
5049 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5050 widget's allocation to cover extra widget windows placed outside the
5051 widget allocation (spinbutton arrows are the prime example for this).
5053 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
5055 * Applied pixmap redirection patch by Alexander Larsson with
5056 various updates from:
5057 Bug 318807 – Offscreen windows and window redirection.
5062 * updated docs to mention "Since 2.16".
5064 * tests/testgtk.c: fixed snapshooting pixmap leak.
5065 convert pixmap to pixbuf after snapshooting, to compensate for different
5066 bit depths (occurs when snapshooting ARGB visuals and displaying the
5067 pixmap in an RGB visual).
5069 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5071 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5072 need for it. enqueue damage notification as GDK_DAMAGE events
5073 for each painting redirection at the start of the event queue.
5074 consider windows with a redirection fully visible when invalidating,
5075 and when updating from backing store. cleaned up stale variables.
5077 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5079 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5080 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5081 tree, drawingarea, text, handlebox, etc.
5082 clip the redirected window hierarchy to window sizes, the visible
5083 rectangles don't need to be taken into account here.
5084 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5085 in case pixmap visuals could mismatch.
5087 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5092 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5093 of possibly obscured widgets into an offscreen pixmap.
5095 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5096 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5098 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5100 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5101 implementations here, adapted them to propagate redirects to child windows.
5102 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5103 clipped to visible region. queue GDK_DAMAGE event delivery.
5104 gdk_window_redirect_to_drawable(): install window painting redirection.
5105 gdk_window_remove_redirection(): remove previously installed redirection.
5107 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5108 renamed _gdk_window_new() and _gdk_window_reparent().
5110 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5111 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5113 * gdk/gdkevents.h: added GDK_DAMAGE event type.
5115 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5117 * gdk/gdkinternals.h: added internal prototypes.
5119 2008-05-21 Michael Natterer <mitch@imendio.com>
5121 * gtk/gtkalignment.c
5125 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5127 2008-05-20 Matthias Clasen <mclasen@redhat.com>
5129 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5132 Patch by Marek Kasik.
5135 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5137 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5139 * modules/printbackends/file/gtkprintbackendfile.c:
5140 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5141 get_default_page_size.
5143 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5144 select its default paper size.
5146 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5147 use the printer default.
5149 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5150 if we don't have a default page setup.
5152 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
5154 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5155 can accept NULL for none. Fixes bug #533920.
5157 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
5159 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5160 gtk_spin_button_update): Remove two chunks of duplicated
5163 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
5165 * reverted recent unapproved changes by Yair Hershkovitz,
5166 regarding: Bug 503071 – Application direction changes to right
5167 to left even if theres no translation.
5169 2008-05-19 Richard Hult <richard@imendio.com>
5171 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5172 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5173 SetSystemUIMode instead of hiding and showing the menubar.
5175 2008-05-19 Federico Mena Quintero <federico@novell.com>
5177 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5178 can't be resized until you expand the "Browse for other folders"
5181 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5182 Removed the "get_resizable" method.
5183 (_gtk_file_chooser_embed_get_resizable): Removed.
5185 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5187 * gtk/gtkfilechooserdefault.c: Likewise.
5189 * gtk/gtkfilechooserdialog.c
5190 (file_chooser_widget_default_size_changed): Act as if the dialog
5191 were always resizable.
5193 2008-05-19 Michael Natterer <mitch@imendio.com>
5195 * gtk/gtkcellrenderer.c
5196 * gtk/gtkcellrendererpixbuf.c
5197 * gtk/gtkcellrenderertoggle.c
5198 * gtk/gtkimagemenuitem.c
5199 * gtk/gtkmenutoolbutton.c
5200 * gtk/gtkoptionmenu.c
5201 * gtk/gtkstatusbar.c
5202 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5204 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
5206 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5207 g_disable_setlocale().
5209 2008-05-17 Richard Hult <richard@imendio.com>
5211 * gdk/quartz/gdkwindow-quartz.c:
5212 (gdk_window_impl_quartz_invalidate_maybe_recurse):
5213 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5214 of g_idle_add. Add a temporary check if the window is already in
5215 the updates list, since update_area currently doesn't always match
5216 the backend's state, see bug #530801.
5218 2008-05-13 Tor Lillqvist <tml@novell.com>
5220 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5222 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5223 the "packet rate" of devices to zero instead of 50. This is
5224 reported to help significantly with Wacom tablet behaviour in GIMP
5225 and Inkscape. Patch from Thomas Bleeker.
5227 2008-05-12 Richard Hult <richard@imendio.com>
5229 * gdk/quartz/gdkevents-quartz.c:
5230 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5231 as it's no longer necessary; instead the added quartz API to get
5232 the nsevent from an event should be used. Also move the global
5233 filter up so it's done before the check for window-less events.
5235 2008-05-12 Tor Lillqvist <tml@novell.com>
5237 Bug 532558 - Cannot build dll when using separate builddir
5240 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5243 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
5245 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5247 2008-05-12 Tor Lillqvist <tml@novell.com>
5249 Bug 532059 - Leak in win32 clipboard manipulation
5251 * gdk/win32/gdkselection-win32.c
5252 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5255 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
5257 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5258 gettext_initialization only once.
5260 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5261 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
5262 with the extended functionality that was in the removed dpgettext().
5264 * gtk/gtkaccellabelc:
5266 * gtk/gtkimmulticontext.c:
5267 * gtk/gtkactiongroup.c:
5268 * gtk/gtkintl.h: use glib i18n api.
5270 2008-05-08 Richard Hult <richard@imendio.com>
5272 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
5273 currently invalidated region. Fixes bug #532048, patch by Yevgen
5276 2008-05-08 Richard Hult <richard@imendio.com>
5278 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
5279 fd's revents, not the first one. Fixes bug #531056, spotted by
5282 2008-05-07 Tor Lillqvist <tml@novell.com>
5284 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
5287 2008-05-05 Matthias Clasen <mclasen@redhat.com>
5289 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
5290 more printer status information in the print dialog.
5292 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
5293 printer-state-reasons into suitable messages and icons.
5295 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
5296 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
5297 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
5299 * gtk/gtkiconfactory.c:
5300 * gtk/gtkstock.h: New stock icons to display printer state.
5302 2008-05-07 Michael Natterer <mitch@imendio.com>
5304 * gdk/gdkinternals.h
5306 * gdk/directfb/gdkevents-directfb.c
5307 * gdk/quartz/gdkevents-quartz.c
5308 * gdk/win32/gdkevents-win32.c
5309 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
5310 order parameters src,dest and make src const.
5312 2008-05-06 Richard Hult <richard@imendio.com>
5314 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
5315 * gdk/gdkinternals.h: Add private backend data to events, and
5316 handle it when copying/freeing events. Currently only needed in
5319 * gdk/directfb/gdkevents-directfb.c:
5320 * gdk/quartz/gdkevents-quartz.c:
5321 * gdk/win32/gdkevents-win32.c:
5322 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
5323 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
5324 directfb. Implement for quartz. Part of fixing bug #473822.
5326 2008-05-05 Richard Hult <richard@imendio.com>
5328 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
5329 framework if there is one.
5331 2008-05-05 Michael Natterer <mitch@imendio.com>
5333 * gtk/gtkcellrenderercombo.h
5334 * gtk/gtkcellrendererspin.h
5335 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
5338 * gtk/gtkfilechooserdialog.h
5339 * gtk/gtkfilechooserwidget.h
5340 * gtk/gtkscalebutton.h: reorder instance and class structs to be
5343 2008-05-04 Richard Hult <richard@imendio.com>
5345 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
5346 gdk_unicode_to_keyval() worked before using the result. Makes
5347 function keys work, bug #530156. Also add F16 to the function key
5350 2008-05-04 Richard Hult <richard@imendio.com>
5352 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
5353 semicolon after if statement. Fixes bug #530963, patch from Yevgen
5356 2008-05-02 Michael Natterer <mitch@imendio.com>
5358 * gtk/gtk.h: add 15 files that were missing (they all got included
5359 indirectly by including gtk.h, so should have been here in the
5362 2008-05-02 Michael Natterer <mitch@imendio.com>
5364 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
5366 2008-05-01 Richard Hult <richard@imendio.com>
5368 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
5369 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
5371 2008-05-01 Matthias Clasen <mclasen@redhat.com>
5373 * modules/imput/imthai.c: Register the right translation domain.
5375 2008-04-30 Matthias Clasen <mclasen@redhat.com>
5377 Bug 529386 – Printing options hidden by blacklisted option
5379 * modules/printbackend/cups/gtkprintbackendcups.c
5380 (cups_printer_get_options): Fix the blacklist handling.
5381 Patch by Marek Kašík.
5383 2008-04-30 Richard Hult <richard@imendio.com>
5385 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
5388 2008-04-30 Richard Hult <richard@imendio.com>
5390 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
5391 nsevents with the gdk lock held, fixes deadlock when doing manual
5392 window resizing with threading enabled.
5394 2008-04-30 Richard Hult <richard@imendio.com>
5396 * gdk/quartz/gdkevents-quartz.c:
5397 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
5398 Alt to Alt and Cmd to Meta. This is not only more logical but also
5399 makes it easier to have Mac-like behavior.
5401 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
5403 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
5404 painting the flat box instead of recalculating it. (#437493,
5407 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
5409 Bug 529841 – incorrect position in directfb
5411 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
5413 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
5415 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
5417 2008-04-25 Michael Natterer <mitch@imendio.com>
5419 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
5420 <pango/pango-layout.h>.
5422 * gtk/gtkiconfactory.c
5426 * gtk/queryimmodules.c: remove inclusion of single files from
5427 pango, none of them was actually needed.
5429 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
5430 <pango/pango-utils.h>.
5432 2008-04-25 Michael Natterer <mitch@imendio.com>
5434 * gdk/gdkfont.h: include <pango/pango.h> instead of
5435 <pango/pango-font.h>.
5437 2008-04-25 Michael Natterer <mitch@imendio.com>
5439 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
5442 2008-04-21 Michael Natterer <mitch@imendio.com>
5444 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
5445 crashing when NULL pointers get passed.
5447 2008-04-18 Michael Natterer <mitch@imendio.com>
5449 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
5450 here have the same style.
5452 2008-04-18 Michael Natterer <mitch@imendio.com>
5454 * gtk/gtkicontheme.h
5455 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
5458 * gtk/gtkbuilderparser.c
5459 * gtk/gtklinkbutton.c
5461 * gtk/gtkrecentchooserdefault.c
5462 * gtk/gtkrecentchoosermenu.c
5463 * modules/input/gtkimcontextthai.c: remove inclusion of single
5464 files from gdk, none of the includes was actually needed.
5466 2008-04-18 Michael Natterer <mitch@imendio.com>
5468 * gdk/gdk.h: reorder one include so they are all alphabetical.
5470 2008-04-18 Michael Natterer <mitch@imendio.com>
5472 * modules/printbackends/cups/gtkprintercups.[ch]
5473 (gtk_printer_cups_get_ppd_name): change return value and local
5474 variable to const gchar* to fix warning about discarding const
5477 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5479 * gtk/gtkrecentmanager.c:
5480 (gtk_recent_manager_set_filename): Keep the default storage
5481 file in $HOME, as we don't have a migration code in place yet.
5483 2008-04-18 Michael Natterer <mitch@imendio.com>
5485 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5486 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5488 2008-04-17 Michael Natterer <mitch@imendio.com>
5490 * gtk/gtkiconfactory.c (get_default_icons): register the
5491 GTK_STOCK_PAGE_SETUP icon.
5493 2008-04-17 Michael Natterer <mitch@imendio.com>
5495 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5496 g_return_if_fail(tooltips != NULL);
5498 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5500 * gtk/gtkwindow.c: Chain up in buildable_finish()
5502 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5503 cases where g_path_get_dirname() returns "."
5505 * docs/reference/gtk/tmpl/gtklabel.sgml,
5506 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5507 for the <attributes> tags on GtkLabel
5509 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5511 * gtk/gtkrecentmanager.c:
5512 (gtk_recent_manager_real_changed): Fix last commit, and
5513 complete the gtk-recent-files-max-age semantics: if the
5514 property is set to 0 then purge the list.
5516 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5518 Bug 488507 – boundless growth of .recently-used.xbel file
5519 slows down applications
5521 * gtk/gtkrecentmanager.c:
5522 (gtk_recent_manager_init),
5523 (gtk_recent_manager_real_changed),
5524 (gtk_recent_manager_set_filename),
5525 (gtk_recent_manager_clamp_to_age): Clamp the recently
5526 used resources list by the age of its items, using
5527 the newly added GtkSettings property.
5529 * gtk/gtksettings.c (gtk_settings_class_init): Add the
5530 gtk-recent-files-max-age property, controlling the
5531 maximum age of the items in the recently used resources
5534 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5536 * gtk/gtkrecentmanager.c:
5537 (gtk_recent_manager_add_item_query_info),
5538 (gtk_recent_manager_add_item): Emit the ::changed signal
5539 at the end of the asynchronous MIME type query.
5541 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5543 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5546 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5547 changes in the recently used resources storage file, and
5548 drop the timeout-based poll.
5550 * ChangeLog: Fix attribution of the patch of the previous
5553 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5555 Bug 506062 – gtk_recent_manager_add_item does not detect mime
5558 * configure.in: Depend on gio-2.0
5560 * gtk/gtkrecentmanager.c:
5561 (gtk_recent_manager_add_item_query_info_cb),
5562 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5563 query the MIME type of the passed URI (based on a patch by
5566 2008-04-11 Carlos Garnacho <carlos@imendio.com>
5568 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5569 page to visited page list instead of next current page. (#527466,
5570 patch by Marcus Brinkmann)
5572 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
5574 * gtk/gtklabel.c: Added <attributes> / <attribute>
5575 custom tags to parse pango attributes into labels (#527486).
5577 * tests/buildertest.c: Added tests for GtkLabel custom
5580 2008-04-10 Carlos Garnacho <carlos@imendio.com>
5582 * gtk/gtknotebook.c (hide_drag_window): Do not call
5583 gtk_widget_set_parent_window(), using widget->window instead of NULL
5584 to unset is the wrong thing, and gtk_widget_unparent() will already
5585 take care of this (#467698, patch by Sébastien Granjoux)
5587 2008-04-08 Tor Lillqvist <tml@novell.com>
5589 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5590 these functions with G_MODULE_EXPORT.
5592 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
5594 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5595 (gtk_file_system_volume_render_icon):
5596 Fix fallback icon rendering size
5598 2008-04-08 Michael Natterer <mitch@imendio.com>
5600 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5601 touchscreen-mode keynav corner case: when navigating to the parent
5602 menu, make sure we don't close two menus at the same time in case
5603 the deepest open menu has no selectable items.
5605 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
5607 * gtk/gtkwidget.c: Clarified a g_warning message regarding
5608 parsing accelerators from builder files.
5610 2008-04-03 Cody Russell <bratsche@gnome.org>
5612 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5613 of the block. (#526021, reported by Kazuki IWAMOTO)
5615 2008-04-03 Tor Lillqvist <tml@novell.com>
5617 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5620 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5621 workaround for a specific kind of screwed up locale setting.
5623 2008-04-02 Matthias Clasen <mclasen@redhat.com>
5625 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5626 colormaps. Found by Daniel Berrange.
5628 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
5630 * tests/autotestfilechooser.c: Cover
5631 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5632 name. (#346058, Joe Halliwell)
5634 2008-04-02 Federico Mena Quintero <federico@novell.com>
5636 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5637 chooser incorrectly substitutes and expands a ~ when you type it
5638 in the filename entry.
5640 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5641 basenames result in a slash-terminated pathname.
5642 gtk_file_system_unix_parse() is correct, but it was splitting
5643 "/home/username" into path="/home" and file_part="username", which
5644 is not what the caller wants when the entry has just "~" or
5647 2008-04-02 Tor Lillqvist <tml@novell.com>
5649 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5650 and gtksearchenginetracker.c on Windows.
5652 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5655 2008-04-01 Cody Russell <bratsche@gnome.org>
5657 * configure.in: Bump required Cairo to 1.5.2.
5659 * gtk/gtkprintoperation-win32.c: Add support for using the new
5660 cairo_win32_printing_surface for printing. Also fixed to use
5661 cairo_surface_show_page(). (#488833 and #521178)
5663 2008-03-31 Cody Russell <bratsche@gnome.org>
5665 * demos/gtk-demo/printing.c (draw_page): Move down each line in
5666 units of text_height rather than in units of data->font_size.
5667 (totally awesome catch by Dom Lachowicz)
5669 2008-03-28 Richard Hult <richard@imendio.com>
5671 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5672 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5673 event to the mainloop and don't generate one at all if the
5674 toplevel didn't change. Use the actual window and not the toplevel
5675 as event window. These changes make the generated crossing events
5676 match the X11 behavior and fixes issues with e.g. tooltips,
5677 comboboxes and menus.
5679 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5680 the view has no window, it will be updated as soon as it's put
5683 * gdk/quartz/gdkwindow-quartz.c:
5684 (_gdk_quartz_window_debug_highlight): Make it possible to track
5685 multiple windows with debug highlighting.
5686 (show_window_internal): Remove workaround for tooltips and popups
5687 that is no longer needed with the above changes.
5689 2008-03-26 Federico Mena Quintero <federico@novell.com>
5691 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5692 helper function; factored out from the functions that commit the
5693 current suggested autocompletion and that refresh the entry's paths.
5694 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5695 (_gtk_file_chooser_entry_get_file_part): Likewise.
5696 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
5697 makes the entry have the correct paths when *not* using any form
5698 of completion (and makes the file chooser work when clicking the
5701 2008-03-25 Richard Hult <richard@imendio.com>
5703 * gdk/quartz/gdkevents-quartz.c:
5704 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
5705 can't find a matching window.
5707 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
5708 comment, and only trigger an event for non-temp windows, fixes
5709 problems for tooltips caused by the workarounds for the
5710 problematic tracking rect API.
5712 2008-03-25 Richard Hult <richard@imendio.com>
5714 * gdk/quartz/gdkwindow-quartz.c:
5715 (gdk_window_quartz_process_all_updates): Plug a leak and add a
5716 check that we have a toplevel before accessing it.
5718 2008-03-24 Tor Lillqvist <tml@novell.com>
5720 Bug 524151 - Dragging of 0-byte files results in an empty filename
5721 on Windows XP and above
5723 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
5724 being empty first. For some reason ISHellLink and IPersistFile
5725 succeeds in interpreting empty files as shortcuts, claiming the
5726 target of the shortcut is an empty path.
5728 Change the function to take the wide character file name that the
5729 caller already has anyway, to avoid a superfluous conversion from
5732 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
5734 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
5735 against NULL pointer. (#467051, Gian Mario Tagliaretti)
5737 2008-03-23 Cody Russell <bratsche@gnome.org>
5739 * gdk/win32/gdkevents-win32.c (show_window_recurse):
5740 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
5741 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
5742 menus from a maximized window would force the window to restore
5745 2008-03-23 Johan Dahlin <johan@gnome.org>
5747 * gtk/gtk-builder-convert:
5748 Properly convert GtkImageMenuItems which use stock labels but don't
5750 (#523932, Brian Pepple)
5752 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
5754 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
5755 New function implements GtkCellLayoutClass::get_cells. (#523787)
5757 2008-03-22 Tor Lillqvist <tml@novell.com>
5759 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
5761 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
5762 GDK_THREADS_LEAVE() call. Approved by mclasen.
5764 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
5766 * gtk/gtkexpander.c (gtk_expander_get_label):
5767 gtk_label_get_label() should be used instead of
5768 gtk_label_get_text(). (#353088, Xan Lopez)
5770 2008-03-21 Tor Lillqvist <tml@novell.com>
5772 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
5773 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
5774 gdip-pixbuf-loader module.
5776 * configure.in: Add switch --disable-gdiplus-loaders that disables
5777 building of the GDI+ loaders.
5779 When including loaders in the gdk-pixbuf library, and building
5780 GDI+ loaders, either build in all the GDI+ loaders or none of
5781 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
5782 signal building them in.
5784 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
5785 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
5786 indicate whether they should be built-in.
5788 For the rest of the changes, see gdk-pixbuf/ChangeLog.
5790 2008-03-20 Tor Lillqvist <tml@novell.com>
5792 * gtk/Makefile.am: Revert accidental change that went in as part
5793 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
5794 Darwin. On Windows one has to use a newer GNU grep that has -o,
5795 for instance the one from gnuwin32, instead of the oldish one in
5796 MSYS that doesn't have -o.
5798 2008-03-20 Tor Lillqvist <tml@novell.com>
5800 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
5801 pass NULL for %s to g_message().
5802 (main): Drop unnecessary call to gtk_widget_destroy().
5804 2008-03-20 Tor Lillqvist <tml@novell.com>
5806 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
5808 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
5809 in one dimension, or centered in case it doesn't fit.
5810 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
5813 2008-03-18 Tor Lillqvist <tml@novell.com>
5815 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
5817 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
5818 G_MODULE_ENTRY decoration can be put in a more correct place.
5820 2008-03-18 Sven Neumann <sven@gimp.org>
5822 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
5823 alternative button order on the password dialog.
5825 2008-03-18 Tor Lillqvist <tml@novell.com>
5827 Bug 99192 - Add --with-include-input-modules
5829 * configure.in: Add --with-included-immodules switch. Handled in a
5830 similar way as the --with-included-loaders switch. For each input
5831 method module foo: Collect the list of input modules to be built
5832 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
5833 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
5834 Define Automake conditionals INCLUDE_IM_FOO.
5836 * modules/input/Makefile.am: For modules to be included in libgtk,
5837 build a static library.
5839 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
5840 gdk-pixbuf to get unique names for the functions called by libgtk
5841 in the included case. Use G_MODULE_EXPORT in the non-included case
5842 so that we don't unnecessarily export unneeded random global
5845 * gtk/Makefile.am: Build the included modules and link them into libgtk.
5847 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
5848 copy/paste leftover mentions of "themes" in comments.
5850 2008-03-18 Tor Lillqvist <tml@novell.com>
5852 * tests/Makefile.am: Build testmountoperation only on Unix for now.
5854 2008-03-17 Christian Kellner <gicmo@gnome.org>
5856 Implement GtkMountOperation, a subclass of GMountOperation
5857 to be used with gio wherever there is the need to ask the
5858 user for credentials or questions while mounting a volume.
5861 * gtk/gtkmountoperation.c:
5862 * gtk/gtkmountoperation.h:
5863 Implement GtkMountOperation.
5865 * gtk/gtk.h: Add gtkmountoperation.h
5866 * gtk/Makefile.am: Add gtkmountoperation.[hc]
5867 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
5868 * tests/testmountoperation.c: Test program for it.
5869 * tests/Makefile.am: Add testmountoperation.
5871 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
5873 * gtk/gtkcontainer.c: Properly document
5874 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
5876 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5878 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
5879 style names for the ComboBox thickness style
5881 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5883 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
5884 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
5885 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
5886 intelligent separation for the xp theming engine and the classic
5887 theme while drawing the GtkComboBox button. combobox_draw_arrow
5888 is not used anymore, commented. The style has been updated to fix
5889 border/thickness glitches in the combobox according to the fixes
5890 commited regarding bug #521442. (bug #461805)
5892 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
5894 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
5895 now aware of both the combobox and frame (if has-frame is set)
5896 thickness and border. (bug #521442)
5898 2008-03-15 Andre Klapper <a9016009@gmx.de>
5900 * configure.in: Added "si" to ALL_LINGUAS.
5902 2008-03-15 Matthias Clasen <mclasen@redhat.com>
5904 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
5905 Set window type hint on the search popup. (#522279, Danny Baumann)
5907 2008-03-15 Matthias Clasen <mclasen@redhat.com>
5909 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
5910 appropriate. (#521934, Huang Peng)
5912 2008-03-14 Michael Natterer <mitch@imendio.com>
5915 * gtk/gtkbuilderprivate.h
5916 * gtk/gtkfilechoosersettings.c
5917 * gtk/gtksearchenginesimple.c
5918 * gtk/tests/liststore.c
5919 * gtk/tests/treestore.c: remove single-file includes of GLib
5920 headers or replace them by <glib.h> where needed.
5922 2008-03-14 Michael Natterer <mitch@imendio.com>
5924 * gtk/gtkadjustment.c: coding style cleanup.
5926 (gtk_adjustment_set_property): no need to call g_object_notify()
5927 on the set properties.
5929 Implement GObject::dispatch_properties_changed() and make sure we
5930 emit "changed" when anything but the "value" property changes.
5932 2008-03-14 Tor Lillqvist <tml@novell.com>
5934 * gdk/win32/gdkevents-win32.c: Drop the support for the
5935 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
5936 Win95. Thanks to mitch for noticing this obsolete code.
5938 2008-03-14 Cody Russell <bratsche@gnome.org>
5940 * examples/scribble-xinput/scribble-xinput.c: Changed
5941 'void int main()' to 'int main()'. (#522211, Liqing Huang)
5943 2008-03-14 Richard Hult <richard@imendio.com>
5945 * gdk/quartz/gdkwindow-quartz.c:
5946 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
5947 only flush the toplevel once per update.
5949 2008-03-13 Federico Mena Quintero <federico@novell.com>
5951 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
5952 Set the mouse cursor of the feedback window to invisible, so that
5953 we respect GtkEntry's invisible cursor while typing.
5955 2008-03-13 Federico Mena Quintero <federico@novell.com>
5957 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
5958 the feedback window at entry_height/2 pixels to the right of the
5959 cursor, for a cheap "M-width / 2" spacing.
5961 2008-03-13 Sven Neumann <sven@gimp.org>
5963 * gtk/gtkfilechooserdefault.c
5964 * gtk/gtkprintunixdialog.c: set alternative button order for
5965 overwrite confirmation dialogs (bug #522191).
5967 2008-03-13 Sven Neumann <sven@gimp.org>
5969 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
5970 (overwrite_confirmation_dialog): added some line-breaks for
5973 2008-03-12 Federico Mena Quintero <federico@novell.com>
5975 Rework the way completion works in GtkFileChooserEntry. Fixes
5976 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
5977 Tab completion should work even if the cursor is not at the end of
5980 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
5983 We distinguish between two cases:
5985 - autocompletion - happens only in the Open modes by
5986 inserting and selecting the common prefix as you type.
5988 - explicit completion - happens when you hit Tab.
5990 When some type of completion needs to happen, the entry first
5991 parses its input and sees if it needs to initiate a folder load.
5992 Completion will not happen until the folder finishes loading.
5994 If the folder is already completely loaded, then completion is
5995 performed immediately. Otherwise, the entry queues a pending
5996 completion and starts loading the new folder (or waits until the
5997 current folder is completely loaded).
5999 Tab completion is allowed to happen even if the cursor is not at
6000 the end of the entry.
6002 There is a new feedback mechanism for explicit completion, so that
6003 you will get an Emacs-like tip whenever there are ambiguities in
6004 completion, no matches, etc. (This needs to be polished so that
6005 we support RTL entries and all the fancy Pango layout in GtkEntry).
6007 The only remaining thing to fix is the popup suggestion window.
6008 Unfortunately, GtkEntryCompletion does not let us do what we want,
6009 and will need further changes.
6011 2008-03-12 Tor Lillqvist <tml@novell.com>
6013 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6015 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6016 for the TaskbarCreated message in the window procedure for the
6017 dummy "tray observer" window we create. When we get a
6018 TaskbarCreated message, iterate over the status icons and re-add
6019 them to the task bar, and update them by calling
6020 gtk_status_icon_update_image().
6022 Move some ifdefs around to avoid unused functions.
6024 2008-03-12 Tor Lillqvist <tml@novell.com>
6026 * config.h.win32.in: Update to match what configure produces.
6028 2008-03-12 Jens Granseuer <jensgr@gmx.net>
6030 * modules/printbackends/cups/gtkprintbackendcups.c:
6031 (cups_printer_prepare_for_print): Don't define variables in the
6032 middle of a block. (#522067)
6034 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6036 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
6037 dialog for print-to-file. (#474302, Marek Kašík)
6039 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6041 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6042 (#469210, Wouter Bolsterlee)
6044 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6046 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
6047 paper_size here. (#488820, Morten Welinder)
6049 2008-03-12 Michael Natterer <mitch@imendio.com>
6051 * acconfig.h: remove this deprecated file.
6053 * configure.in: added comments to all instances of AC_DEFINE() so
6054 config.h can be completely generated from configure.in.
6056 2008-03-12 Michael Natterer <mitch@imendio.com>
6058 * modules/printbackends/cups/gtkprintbackendcups.c: include
6059 <glib/gstdio.h> for g_fopen().
6061 2008-03-11 Matthias Clasen <mclasen@redhat.com>
6063 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6064 g_ascii_formatd when formatting custom paper sizes, since
6065 cups doesn't handle , as decimal separator. (#521548)
6067 2008-03-11 Tor Lillqvist <tml@novell.com>
6069 Bug 469868 - Filenames with colon ":" are not saved correctly
6071 * gtk/gtkfilechooserentry.c (insert_text_callback)
6072 (delete_text_callback) [Win32]: New functions to make sure that
6073 colons used otherwise than as a separator after a drive letter, or
6074 characters that are always illegal in file names, are rejected on
6075 input. This means that the GTK+ file chooser can't be used to
6076 input full names of alternate data streams, but oh well. There are
6077 still more checks that could be done on the file names, see the
6078 bug report. But this will do for now.
6079 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6081 2008-03-11 Jordi Mallach <jordi@sindominio.net>
6083 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6085 2008-03-11 Michael Natterer <mitch@imendio.com>
6087 * gdk/linux-fb/*: removed linux-fb backend files.
6091 * docs/README.linux-fb
6092 * gtk/Makefile.am: remove remaining traces of linux-fb.
6094 * gtk/gtkwindow-decorate.c: same here. There is some code that
6095 calls into linux-fb to set window move/resize callbacks. I put it
6096 in #if 0 as a reminder because we did use decorated windows with
6097 the DirectFB backend and it did work, so I don't really know why
6098 this code is needed or how it could work with DirectFB back then.
6099 The file does actually compile now if DECORATE_WINDOWS is defined,
6100 but I didn't test with DirectFB to check if it does anything.
6102 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
6104 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6105 Take thickness into account in the size allocation of the child widgets in
6109 2008-03-11 Richard Hult <richard@imendio.com>
6111 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6113 2008-03-10 Tor Lillqvist <tml@novell.com>
6115 * tests/teststatusicon.c (do_exit, popup_menu): Add the
6116 possibility to test what happens if the process just calls exit()
6117 without any orderly cleanup of GTK+.
6119 2008-03-10 Tor Lillqvist <tml@novell.com>
6121 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6123 2008-03-10 Tor Lillqvist <tml@novell.com>
6125 Bug 520286 - Non-deletable window has no minimize / maximize buttons
6127 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6128 New debugging output function that decodes a set of WS_* bits.
6130 * gdk/win32/gdkprivate-win32.h: Declare it.
6132 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6133 New function that enables or disables one menu entry in the system
6134 menu of a top-level window. (The corresponding decoration will
6135 then also be enabled or disabled (grayed).)
6137 (update_style_bits): Do as the comment says and don't try to
6138 update the window style based on the GdkWMFunctions set for the
6141 (update_system_menu): New function that enables or disables the
6142 system menu entries based on a window's stored set of
6145 (gdk_window_set_functions): Call update_system_menu() instead of
6146 update_style_bits().
6148 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
6150 * README.in: Reword the 2.14 release notes entry about the
6151 deprecation of the gtkitemfactory.h header, and fix typos
6154 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
6156 * modules/engines/ms-windows/msw_style.c (draw_shadow):
6157 Do not draw frame if parent if combobox.
6159 Uses scrollbar width system metrics for combobox button.
6160 Fixes #461805 for XP theme engine.
6162 2008-03-07 Johan Dahlin <johan@gnome.org>
6165 * gtk/gtkbuilderparser.c:
6166 * gtk/gtkbuilderprivate.h:
6167 * gtk/gtkiconfactory.c:
6168 * tests/buildertest.c:
6169 - Treat enums like enums and not values
6170 - Avoid invalid free, in case of more than two sources
6171 - Add better error messages
6172 - Add much improved tests
6173 (#520979, Christian Persch)
6175 2008-03-07 Carlos Garnacho <carlos@imendio.com>
6177 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6180 2008-03-06 Federico Mena Quintero <federico@novell.com>
6182 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6183 GtkFileChooserDialog should set a default response button if the
6184 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
6186 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6187 function, refactor from where there was duplicated code.
6188 (gtk_file_chooser_dialog_map): Look at the buttons in our
6189 action_area. If the response ID for a button is one of the stock
6190 ones, make it the default response button.
6192 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6194 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6196 * gtk/gtkbuilderprivate.h:
6197 * gtk/gtkiconfactory.c:
6198 * tests/buildertest.c:
6199 Implement GtkBuildable on GtkIconFactory, to make
6200 it possible to register custom stock icons.
6203 2008-03-06 Johan Dahlin <johan@gnome.org>
6207 * gtk/gtkstyle.c: npoints->n_points.
6208 * gtk/gtktestutils.h: widget->spinner
6209 * gtk/gtktestutils.c: argc->argcp, argv->argvp
6211 2008-03-06 William Lachance <wrlach@gmail.com>
6213 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
6214 string localizable (as it should be).
6216 2008-03-06 William Lachance <wrlach@gmail.com>
6218 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6219 the time for today's date. It's redudant. (see bug #410517).
6221 2008-03-06 Xan Lopez <xan@gnome.org>
6223 * gtk/gtkfixed.c: fix typo in documentation.
6225 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6227 * gtk/gtkitemfactory.h:
6228 * gtk/gtktypeutils.h:
6229 Move GtkTranslateFunc to gtktypeutils.h so we can completely
6230 deprecate gtkitemfactory.h.
6232 * gtk/gtkactiongroup.h:
6234 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6237 Add a note describing this slight incompatible change
6239 2008-03-06 Johan Dahlin <johan@gnome.org>
6241 * gtk/gtkpreview.h: Avoid double-deprecation.
6243 2008-03-06 Michael Natterer <mitch@imendio.com>
6246 * gtk/Makefile.am: move the remaining deprecated widgets to the
6247 separate sections and replaced spaces by tabs in Makefile.am
6249 2008-03-05 Johan Dahlin <johan@gnome.org>
6251 * configure.in: Add --disable-cups option.
6252 (#513826, Alberto Ruiz)
6256 Separate broken and deprecated sources and headers into different sections
6258 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6260 2008-03-05 Kristian Rietveld <kris@imendio.com>
6262 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6263 short-circuit in case an empty root level would be build (and thus
6264 directly destroyed) if no virtual root has been set.
6266 2008-03-04 Matthias Clasen <mclasen@redhat.com>
6268 * modules/printbackends/cups/gtkprintbackendcups.c:
6269 Honor cups user default options from ~/.cups/lpoptions
6270 (#469210, Stijn Hoop)
6272 2008-03-04 Michael Natterer <mitch@imendio.com>
6275 * gtk/gtkcolorbutton.c
6276 * gtk/gtkentrycompletion.c
6277 * gtk/gtkfontbutton.c
6281 * gtk/gtkpreview.c: don't include "gtksignal.h".
6283 * gtk/gtkfilefilter.c
6284 * gtk/gtkrecentchoosermenu.c
6285 * gtk/gtkrecentfilter.c
6286 * gtk/gtktext.c: don't include "gtkobject.h".
6288 2008-03-04 Simos Xenitellis <simos@gnome.org>
6290 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
6291 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
6293 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
6296 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
6297 file, contains compose sequences that used to exist in
6298 gtk/gtkimcontextsimple.c
6300 * gtk/compose-parse.py: Script to generate compose
6301 sequences from upstream (Xorg).
6303 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
6304 check_algorithmically): New functions. First two search in
6305 gtk_compose_seqs_compact[] for matching compose sequence, third
6306 tries NFC normalisation on incoming compose sequence.
6307 (gtk_im_context_simple_filter_keypress):
6308 Adds searching with check_compact_table(), check_algorithmically().
6310 2008-03-03 Carlos Garnacho <carlos@imendio.com>
6312 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
6313 scrollwheel work in GtkPathBar.
6315 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
6317 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
6318 an input-only window, event_window, which we'll use to capture
6320 (gtk_path_bar_map): Show the event_window under the rest of the
6321 windows, so it will be a catch-all for unhandled events.
6323 2008-03-03 Sven Neumann <sven@gimp.org>
6325 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
6326 typo in the documentation of the GtkFileChooserButtons::file-set
6327 signal (see bug #353196).
6329 2008-03-03 Tor Lillqvist <tml@novell.com>
6331 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6334 2008-03-02 Johan Dahlin <johan@gnome.org>
6336 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
6337 Remove left-over focus_pad variable.
6338 (#490892, Claudio Saavedra)
6340 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
6341 (#518166, Matt Kraai)
6343 2008-03-02 Johan Dahlin <johan@gnome.org>
6345 * docs/tutorial/gtk-tut.sgml: Add a missing space
6346 (#517954, Matt Kraai)
6348 2008-03-03 Tor Lillqvist <tml@novell.com>
6350 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
6351 the widget is a GtkButton before casting.
6353 2008-03-02 Johan Dahlin <johan@gnome.org>
6355 * configure.in: Compare using = instead of ==, which is portable.
6356 (#490787, Thomas Klausner)
6358 2008-03-02 Johan Dahlin <johan@gnome.org>
6360 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
6361 fixes non-C++ build.
6362 (#496032, Nelson Benitez)
6364 2008-02-29 Johan Dahlin <johan@gnome.org>
6366 * demos/gtk-demo/demo.ui:
6367 * gtk/gtkbuilderparser.c:
6368 * gtk/gtkbuilderprivate.h:
6369 * gtk/gtkliststore.c:
6370 * tests/buildertest.c:
6371 Add translatable/context and comment attributes on
6372 <col> tags under a GtkListStore. Refactor parts of the
6373 translation api and make it available inside gtk+ itself.
6374 Update tests and example.
6375 Fixes a part of #518642
6377 2008-02-29 Johan Dahlin <johan@gnome.org>
6380 Add missing g_return_val_if_fail checks for public API.
6382 * gtk/gtkbuilderparser.c:
6383 * gtk/gtkbuilderprivate.h:
6384 Do not use g_error for a few more errors, instead set
6385 the GError sent in through add_from_file/add_from_string.
6386 * tests/buildertest.c:
6387 Add a couple of new parsing tests.
6388 (#519199, Pavel Syomin)
6390 2008-02-29 Federico Mena Quintero <federico@novell.com>
6392 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
6393 refreshing an existing folder (i.e. when we are about to reload
6394 its file list), turn off the folder's is_finished_loading flag.
6395 Otherwise callers which do ::is_finished_loading() followed by
6396 ::list_children() will get nothing.
6398 2008-02-29 Cody Russell <bratsche@gnome.org>
6400 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
6401 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
6403 2008-02-28 Matthias Clasen <mclasen@redhat.com>
6405 * gtk/gtkcalendar.h: Remove trailing comma from enum to
6406 make the compiler happy. (#517295, Sylvain Pasche)
6408 2008-02-27 Michael Natterer <mitch@imendio.com>
6410 * gtk/gtkmenushell.c
6413 * gtk/gtktipsquery.c
6418 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
6419 private functions and virtual function implementations.
6421 2008-02-27 Richard Hult <richard@imendio.com>
6423 * gdk/quartz/GdkQuartzView.c:
6424 * gdk/quartz/GdkQuartzView.h:
6425 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
6426 Fix performance regression for borderless transparent windows
6429 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
6431 * tests/testgtk.c: Revert back to r19454.
6433 2008-02-27 Sven Neumann <sven@gimp.org>
6435 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
6436 Quartz backend, use a native Mac OS X application for the print
6437 preview (bug #518624).
6439 2008-02-26 Michael Natterer <mitch@imendio.com>
6441 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
6442 the members of info->tag_stack since they are a) gobjects and b)
6443 not even owned by us, ugh... Fixes crash when deserializing fails.
6445 2008-02-26 Sven Neumann <sven@gimp.org>
6447 * docs/tools/shooter.c (find_toplevel_window)
6448 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
6449 argument passed to XQueryTree().
6451 2008-02-25 Matthias Clasen <mclasen@redhat.com>
6453 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
6454 don't use beagle_query_add_hit_type.
6456 2008-02-25 Richard Hult <richard@imendio.com>
6458 * gdk/quartz/gdkevents-quartz.c
6459 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
6461 2008-02-24 Richard Hult <richard@imendio.com>
6463 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6464 shown without gdk's control when clicking the dock icon.
6466 2008-02-24 Richard Hult <richard@imendio.com>
6468 * gdk/quartz/gdkprivate-quartz.h:
6469 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6470 Use the subtype field for the custom event that is used to wake up
6471 the mainloop so we can have other custom event types.
6473 * gdk/quartz/gdkevents-quartz.c:
6474 (_gdk_quartz_events_trigger_crossing_events):
6475 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6476 crossing events after showing a window if necessary, to work
6477 around problems with the tracking rect API.
6479 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6481 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6482 wrong results on win32 because it doesn't set the printing units,
6483 which affect the transformation of the cairo context
6484 (#347125, Erik van Pienbroek)
6486 2008-02-22 Tor Lillqvist <tml@novell.com>
6488 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6490 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6492 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6493 acceptable for a module to only support the save_to_callback()
6494 method if it marks itself as WRITABLE
6496 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6498 * configure.in: Bump version
6500 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6502 * === Released 2.13.0 ===
6504 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6506 2008-02-21 Tor Lillqvist <tml@novell.com>
6508 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6509 pass the format string to strftime in the C library's locale's
6510 charset, not the system's. Correspondingly, the return value from
6511 strftime() is in the C library's locale's charset. (#509885)
6513 2008-02-20 Richard Hult <richard@imendio.com>
6515 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6516 the right window level and shadow after recreating the window.
6518 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6519 necessary after drawing (bug #517338).
6521 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6523 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6524 call to g_type_class_unref in case of error. (#517563)
6526 2008-02-18 Sven Neumann <sven@gimp.org>
6528 * gtk/Makefile.am (STOCK_ICONS)
6529 * gtk/stock-icons/16/gtk-page-setup.png
6530 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6531 taken from GNOME icon theme.
6533 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6535 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
6537 * configure.in: Added Kannada (kn) to ALL_LINGUAS
6539 2008-02-17 Johan Dahlin <johan@gnome.org>
6541 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
6542 When converting a stock item based on the label, remove the label property.
6544 2008-02-17 Richard Hult <richard@imendio.com>
6546 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6547 position after showing the window since the window manager might
6548 not place it where we requested in the first places.
6550 2008-02-17 Richard Hult <richard@imendio.com>
6552 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6553 (_gdk_quartz_window_detach_from_parent),
6554 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6555 the toplevel ordering list in all places where the order is
6556 potentially changed. Fixes mouse focus issues for windows with
6557 a transient parent set.
6559 2008-02-17 Richard Hult <richard@imendio.com>
6561 * gdk/quartz/gdkevents-quartz.c
6562 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6563 window when event debugging is enabled.
6565 2008-02-16 Richard Hult <richard@imendio.com>
6567 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6568 to the scroll event (bug #516757, Paul Davis).
6570 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6574 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6576 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
6579 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6581 * gdk/Makefile.am: Don't install private headers. (#463510)
6583 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6584 the installed header gdkprivate.h.
6586 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6588 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6589 a crash with hidden, reorderable tabs. (#513230,
6590 Mike Massonnet, patch by Carlos Garnacho)
6592 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6594 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6595 Warn on duplicate action group names. (#501746, Christian
6598 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6601 * modules/other/gail/tests/Makefile.am:
6602 * modules/other/gail/libgail-util/Makefile.am:
6603 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6604 builds. (#516254, Yevgen Muntyan)
6606 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6611 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
6612 instead of hardcoded target tables. (#516092, Christian Persch)
6614 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6616 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6617 add the same target atom twice. (#516087, Christian Persch)
6619 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6621 * tests/testfilechooser.c: Add a --backend option.
6622 (#516073, Christian Persch)
6624 2008-02-16 Richard Hult <richard@imendio.com>
6626 * gdk/quartz/gdkprivate-quartz.h:
6627 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6630 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6632 * configure.in: Go back to 2.13.0 as version for now,
6633 as there was no consensus to do the jump.
6635 * many other places: Update Since: tags.
6637 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6639 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6641 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6643 2008-02-15 Richard Hult <richard@imendio.com>
6645 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6646 instead of bounds when resizing windows.
6648 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6650 * gdk/x11/gdkkeys-x11.c:
6651 * gdk/x11/gdkcolor-x11.c:
6652 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6654 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6656 * gdk/x11/gdktestutils-x11.c:
6657 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6659 2008-02-15 Tor Lillqvist <tml@novell.com>
6661 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6662 leak Registry key handles. (#516578)
6664 2008-02-14 Richard Hult <richard@imendio.com>
6666 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6667 makeKeyWindow unfortunately doesn't work in all cases, we must use
6668 makeKeyAndOrderFront.
6670 2008-02-14 Richard Hult <richard@imendio.com>
6672 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6673 (gdk_window_hide), (gdk_window_fullscreen),
6674 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6675 the window is hidden.
6677 2008-02-14 Richard Hult <richard@imendio.com>
6679 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6680 resizing to be consistent and to avoid introducing an internal
6681 transform in the view.
6683 2008-02-14 Richard Hult <richard@imendio.com>
6685 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6688 2008-02-14 Johan Dahlin <johan@gnome.org>
6690 * gdk/gdktestutils.h
6691 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6693 2008-02-13 Richard Hult <richard@imendio.com>
6695 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6696 Remove unused variables.
6697 (gtk_clipboard_set_contents),
6698 (gtk_clipboard_get_owner), (clipboard_unset),
6699 (gtk_clipboard_request_targets): Notify the previous clipboard
6700 owner when the owner changes. Fixes bug #493406.
6702 2008-02-13 Richard Hult <richard@imendio.com>
6704 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
6705 the return value (return number of colors that failed), and handle
6707 (gdk_colormap_free_colors): Fix typo in comment.
6709 2008-02-13 Kristian Rietveld <kris@imendio.com>
6711 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
6712 queue a redraw if the rubber banding has actually been active.
6714 2008-02-12 Matthias Clasen <mclasne@redhat.com>
6716 * gtk/gtkpapersize.c:
6717 * gtk/gtkprintoperation.c:
6718 * gtk/gtkvolumebutton.c:
6719 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
6720 out by Behdad Esfahbod.
6722 2008-02-12 Federico Mena Quintero <federico@novell.com>
6724 Merged from gtk-2-12:
6726 Don't focus the file list when shortcuts get activated. This
6727 removes a lot of ambiguity in when the file selection should
6728 change, and makes the overall code flow simpler.
6730 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
6731 file/save dialog clears the filename entry when changing
6734 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
6735 focus should not go to the file list when a shortcut is activated.
6737 * gtk/gtkfilechooserdefault.c
6738 (shortcuts_activate_volume_mount_cb): Don't focus the file list
6739 (shortcuts_activate_get_info_cb): Likewise.
6741 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
6742 the file list (this was the last place where we would focus the
6743 file list explicitly). If you are in the location entry, for
6744 example, you don't want Alt-Home to take you to the file list; you
6745 just want the current folder to change. Thanks to Olle Bergkvist
6746 <olle.bergkvist@yahoo.se> for pointing this out in
6747 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
6748 (focus_browse_tree_view_if_possible): Removed.
6750 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6752 Skip exensions when selecting filenames in the save-as dialog.
6753 (#362516, Carlos Garnacho)
6755 * gtk/gtkfilechooserentry.h:
6756 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
6757 New function to skip the extension part when selecting a filename.
6758 (_gtk_file_chooser_entry_set_base_folder): Use it here.
6760 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
6763 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6765 * gtk/gtkiconview.c: Fix state change reporting for
6766 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
6768 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
6770 * gtk/gtkrecentchooser.c:
6771 (gtk_recent_chooser_class_init): Set the default value of the
6772 :show-not-found property to TRUE, as every implementation sets
6775 * gtk/gtkrecentchooserdefault.c:
6776 (_gtk_recent_chooser_default_init): Sync show_tips to the
6777 default value of the :show-tips property.
6779 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6781 * gtk/gtkclipboard-quartz.c:
6783 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
6786 2008-02-12 Kristian Rietveld <kris@imendio.com>
6788 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
6789 (gtk_tree_view_real_toggle_cursor_row): guard against people
6790 deleting the row in question in the selection-changed callback.
6791 (#514621, Andreas Koehler).
6793 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6795 * gtk/*.c: Unify the handling of various "Enter" keysyms
6796 all over the place. (#515047, Christian Persch)
6798 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6800 * gtk/gtkfilesystemmodel.c:
6802 * gtk/gtkwidget.c: Use g_value_set_static_string() where
6803 appropriate. (#515042, Christian Persch)
6805 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6807 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
6809 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6811 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
6813 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6815 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
6816 (recent_model_sort_drag_data_get):
6817 (search_model_sort_drag_data_get):
6818 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
6819 * gtk/gtkpathbar.c (button_drag_data_get_cb):
6820 Use gtk_selection_data_set_uris() instead of doing it
6821 by hand. (#514890, Christian Persch)
6823 2008-02-12 Michael Natterer <mitch@imendio.com>
6825 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
6826 gtk_get_current_event_time().
6828 2008-02-12 Michael Natterer <mitch@imendio.com>
6830 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
6831 gtk_window_get_key_hash() to get the hash instead of manually
6832 fiddling with quarks and gtk_window_keys_changed(). Also add
6833 g_return_if_fail() to this public function.
6835 2008-02-11 Matthias Clasen <mclasen@redhat.com>
6837 Support keynav in status icons. (#473786, Li Yuan)
6839 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
6841 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
6843 2008-02-11 Kristian Rietveld <kris@imendio.com>
6845 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
6846 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
6847 wrt. link deletion from list; contination of fix for #503569.
6849 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
6851 * gtk/gtkrecentchoosermenu.c:
6852 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
6853 on the placeholder menu item.
6855 * tests/testrecentchoosermenu.c:
6856 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
6857 whether the placeholder menu item gets shown.
6859 2008-02-10 Cody Russell <bratsche@gnome.org>
6861 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
6862 Check the return value of _gtk_file_chooser_get_file_system () for
6863 NULL before passing it to gtk_file_system_path_to_uri ().
6864 (#515667, Francesco Montorsi)
6866 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
6868 * gtk/gtkbuilder.c: Improve the documentation for
6869 gtk_builder_connect_signals. (#514471)
6871 2008-02-10 Matthias Clasen <mclasen@redhat.com>
6873 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
6876 2008-02-08 Cody Russell <bratsche@gnome.org>
6878 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
6879 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
6881 2008-02-08 Richard Hult <richard@imendio.com>
6883 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
6884 delta from the NSEvent for now, generating multiple scroll events
6885 results in a lot of events getting queued up and things get really
6888 2008-02-08 Sven Herzberg <sven@imendio.com>
6890 Adjust the code to match the documentation, examples, "common sense"
6891 and existing applications.
6893 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
6894 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
6897 2008-02-07 Cody Russell <bratsche@gnome.org>
6899 * gdk/win32/gdkevents-win32.c
6900 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
6901 of a block that were causing compile problems on old
6902 compilers. (#515053, reported by Kazuki IWAMOTO)
6904 2008-02-07 Michael Natterer <mitch@imendio.com>
6911 * gtk/gtkmenushell.c
6913 * gtk/gtkoptionmenu.c
6917 * gtk/gtkradiomenuitem.c
6919 * gtk/gtkscrolledwindow.c
6920 * gtk/gtksocket.c: remove g_return_if_fail() from private
6921 functions and virtual function implementations.
6923 2008-02-07 Michael Natterer <mitch@imendio.com>
6926 * gtk/gtkassistant.c
6930 * gtk/gtkcellrenderercombo.c
6933 * gtk/gtkdrawingarea.c
6934 * gtk/gtkentrycompletion.c
6940 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
6941 functions and virtual function implementations.
6943 2008-02-07 Christian Persch <chpe@gnome.org>
6945 * gdk/gdkpixbuf-render.c:
6946 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
6947 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
6948 otherwise there will be random pixel values in the semi-transparent
6949 area of the pixbuf within the mask. Bug #487865.
6951 2008-02-06 Cody Russell <bratsche@gnome.org>
6953 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
6954 otherwise things get wonky when you click on a menu. This fixes
6955 a regression caused in #505928. Thanks to Tor for spotting this
6958 2008-02-06 Michael Natterer <mitch@imendio.com>
6960 * gtk/gtkcontainer.c
6967 * gtk/gtkmenushell.c
6969 * gtk/gtkseparatortoolitem.c
6971 * gtk/gtktextlayout.c
6972 * gtk/gtktoggletoolbutton.c
6973 * gtk/gtktoolbutton.c
6976 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
6979 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6981 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
6982 Allow to store half-open ranges.
6984 2008-02-05 Cody Russell <bratsche@gnome.org>
6986 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
6987 down the stack until we get to a window that is mapped.
6988 Otherwise hiding a window will cause all windows in the app
6989 to be blocked. (#514643)
6991 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6993 * gtk/updateiconcache.c: Ignore images in the toplevel theme
6994 directory, avoiding one source of invalid caches that has been
6995 spotted in the wild.
6997 2008-02-05 Matthias Clasen <mclasen@redhat.com>
6999 * gtk/updateiconcache.c: Fix the previous commit to compile.
7001 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7003 * gtk/updateiconcache.c: Install a printerr handler that
7004 prepends the program name, since gtk-update-icon-cache output
7005 often appears in the middle of other output, e.g. rpm update logs.
7007 2008-02-05 Cody Russell <bratsche@gnome.org>
7009 * gdk/win32/gdkprivate-win32.h
7010 * gdk/win32/gdkevents-win32.c
7011 * gdk/win32/gdkwindow-win32.c
7012 * gdk/win32/gdkwindow-win32.h
7013 * gdk/win32/gdkwin32.h:
7014 Modal window rework. (#455627 and #511111)
7016 2008-02-04 Michael Natterer <mitch@imendio.com>
7018 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7019 g_return_if_fail() if the cell is not part of the combo instead of
7020 crashing in the next line.
7022 2008-02-01 Cody Russell <cody@jhu.edu>
7024 * modules/engines/ms-windows/xp_theme.[ch]
7025 * modules/engines/ms-windows/xp_theme_defs.h
7026 * modules/engines/ms-windows/msw_rc_style.c
7027 * modules/engines/ms-windows/msw_theme_main.c
7028 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7029 attempted to stylize more like the rest of the gtk+ stack's code.
7031 2008-02-01 Michael Natterer <mitch@imendio.com>
7033 * tests/testgtk.c: initialize GdkColor structs to fix warning
7034 about uninitialized "pixel" member.
7036 * tests/testactions.c: connect the toolbar_style() callback so it
7037 does something useful and doesn't warn about being defined but not
7040 2008-01-31 Cody Russell <bratsche@gnome.org>
7042 * gdk/win32/gdkevents-win32.c:
7043 Refactored some of the window hiding/showing code from
7044 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
7045 under WM_ACTIVATE was causing the application to go into
7046 a weird state when the user right-clicked on the taskbar
7047 entry of a window that was minimized. (#505928)
7049 2008-01-31 Cody Russell <bratsche@gnome.org>
7051 * gtk/gtkpaned.c (gtk_paned_set_position):
7052 Change queue_resize() to queue_draw(), and add a check for
7053 child2 != NULL in case someone calls this before there is
7054 a child packed in there. (#144269 again)
7056 2008-01-31 Sven Neumann <sven@gimp.org>
7058 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7059 applied patch from Denis Oliver Kropp <dok@directfb.org>.
7061 2008-01-31 Sven Neumann <sven@gimp.org>
7063 * gdk/directfb/gdkdisplay-directfb.c
7064 * gdk/directfb/gdkdrawable-directfb.c
7065 * gdk/directfb/gdkprivate-directfb.h
7066 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7067 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7069 2008-01-31 Richard Hult <richard@imendio.com>
7071 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7072 issues with undecorated windows. Revert the change done on
7073 2008-01-25 and fix it by using the view's bounds instead. The
7074 bounds will always be up to date when setting up the tracking
7075 rect, so this should be more robust.
7077 2008-01-30 Sven Neumann <sven@gimp.org>
7079 * gdk/directfb/gdkdrawable-directfb.c
7080 * gdk/directfb/gdkwindow-directfb.c
7081 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7082 Oliver Kropp <dok@directfb.org>. Adds debug messages using
7083 DirectFB's debugging system
7085 2008-01-30 Sven Neumann <sven@gimp.org>
7087 * gdk/directfb/gdkdirectfb.h
7088 * gdk/directfb/gdkdisplay-directfb.c
7089 * gdk/directfb/gdkdrawable-directfb.c
7090 * gdk/directfb/gdkim-directfb.c
7091 * gdk/directfb/gdkimage-directfb.c
7092 * gdk/directfb/gdkinput-directfb.c
7093 * gdk/directfb/gdkmain-directfb.c
7094 * gdk/directfb/gdkpixmap-directfb.c
7095 * gdk/directfb/gdktestutils-directfb.c
7096 * gdk/directfb/gdkvisual-directfb.c
7097 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7098 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7099 errors and has some cleanups.
7101 2008-01-30 Michael Natterer <mitch@imendio.com>
7103 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7104 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7107 * gtk/updateiconcache.c (add_string): cast const gchar* to
7108 gpointer when inserting in a GHashTable.
7110 * tests/testcalendar.c (calendar_detail_cb): remove const from
7111 return value since it's a newly allocated string.
7113 (calendar_update_details): free the detail.
7115 2008-01-29 Johan Dahlin <johan@gnome.org>
7117 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7119 * demos/gtk-demo/demo.ui:
7120 Move the about dialog to the glade file, add accessible tags
7121 examples to the markup file.
7123 2008-01-28 Paolo Borelli <pborelli@katamail.com>
7125 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7126 layout, fixes #512375.
7128 2008-01-28 Michael Natterer <mitch@imendio.com>
7130 * gtk/gtktextchild.c
7131 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7133 2008-01-28 Michael Natterer <mitch@imendio.com>
7135 * demos/gtk-demo/builder.c (about_activate): use
7136 gtk_about_dialog_set_program_name() instead of the deprecated
7139 2008-01-28 Michael Natterer <mitch@imendio.com>
7141 * gtk/gtktextchild.c
7142 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7145 2008-01-26 Johan Dahlin <johan@gnome.org>
7147 * tests/Makefile.am:
7148 * tests/textbuffertest.c:
7149 Rename textbuffer test and port it to the new test framework
7151 2008-01-25 Johan Dahlin <johan@gnome.org>
7153 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7154 unsetting of GTK_MODULES.
7156 * gtk/gtk-builder-convert
7157 (GtkBuilderConverter._convert_adjustment): Handle the case where
7158 there is no child text node.
7159 (GtkBuilderConverter): Allow xml comments in most places.
7161 2008-01-25 Johan Dahlin <johan@gnome.org>
7163 * gtk/gtk-builder-convert
7164 (GtkBuilderConverter._convert_combobox_items): Remove the items
7165 even if there are no items set.
7166 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7167 signals and tooltips for all menu items subclasses and
7168 GtkImageMenuItem:label.
7169 Makes it possible to fully convert and run Jokosher.glade.
7171 2008-01-25 Johan Dahlin <johan@gnome.org>
7173 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7174 (gtk_widget_buildable_get_internal_child), (free_action),
7175 (free_relation), (gtk_widget_buildable_parser_finished),
7176 (accessibility_start_element),
7177 (gtk_widget_buildable_custom_tag_start),
7178 (gtk_widget_buildable_custom_finished):
7179 Implement accessible support, fixes #454653.
7181 * gtk/gtk-builder-convert:
7182 Add support for migrating old glade files
7184 * tests/buildertest.c: (test_widget), (test_file):
7185 Add accessible tests and imprve the test_file function to display
7186 toplevels and run dialogs.
7188 2008-01-25 Richard Hult <richard@imendio.com>
7190 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7191 didn't change, fixes focus event issues for undecorated windows.
7193 2008-01-25 Richard Hult <richard@imendio.com>
7195 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7196 const and remove unused variables).
7198 2008-01-25 Michael Natterer <mitch@imendio.com>
7201 * gtk/gtkcellrenderer.h
7202 * gtk/gtkimcontext.h
7206 * gtk/gtktreeprivate.h
7207 * gtk/gtktreeviewcolumn.h
7208 * gtk/gtkwidget.h: add const to constant structs which are passed
7209 into GTK+. Also add some forgotten const for const strings.
7213 * gtk/gtkcellrenderer.c
7214 * gtk/gtkimcontext.c
7219 * gtk/gtktreeviewcolumn.c
7220 * gtk/gtkwidget.c: changed accordingly.
7222 2008-01-25 Sven Herzberg <sven@imendio.com>
7224 Reviewed by Johan Dahlin.
7226 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7227 this is called with something that's not a GtkUIManager
7229 2008-01-24 Johan Dahlin <johan@gnome.org>
7231 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
7232 Chain up to parent, so widgets can have internal children.
7234 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7236 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7239 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7241 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7243 Use pango_layout_set_height() for calendar details (#506049).
7245 * configure.in: Require 1.19.3 for pango_layout_set_height().
7246 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7248 2008-01-18 Johan Dahlin <johan@gnome.org>
7250 * gtk/gtk-builder-convert (get_property_node): New method
7251 (GtkBuilderConverter._create_object): Conditionally take a node as
7252 a property value, so don't lose translate/context attributes if they
7254 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7255 property values instead of strings.
7256 (#509153, Erik van Pienbroek)
7258 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
7260 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7262 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7263 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7264 * tests/testcalendar.c: Duplicate calendar details before returning.
7266 2008-01-16 Christian Persch <chpe@gnome.org>
7268 * gtk/gtkwidget.c: Store the event mask and extension event mode
7269 directly in the gobject data pointer, instead of in an allocated
7272 2008-01-16 Michael Natterer <mitch@imendio.com>
7274 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
7275 gdk-pixbuf now uses gio functions.
7277 2008-01-16 Matthias Clasen <mclasen@redhat.com>
7279 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
7280 the notify::model signal. (#509819, David Zeuthen)
7282 2008-01-15 Michael Natterer <mitch@imendio.com>
7290 * gdk/gdkwindow.h: made more struct pointer and array parameters
7291 const. GDK should now be constified as far as possible without
7292 breaking source compatibility. Includes some minor cleanup like
7293 indentation and s/nfoo/n_foo/ (bug #508544).
7299 * gdk/gdkregion-generic.c
7301 * gdk/directfb/gdkdisplay-directfb.c
7302 * gdk/directfb/gdkwindow-directfb.c
7303 * gdk/quartz/gdkdisplay-quartz.c
7304 * gdk/quartz/gdkwindow-quartz.c
7305 * gdk/win32/gdkdisplay-win32.c
7306 * gdk/win32/gdkwindow-win32.c
7307 * gdk/x11/gdkdisplay-x11.c
7308 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7310 2008-01-14 Michael Natterer <mitch@imendio.com>
7312 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
7315 (gtk_rc_parse_any): change variables to const and introduce
7316 another local variable to fix const warnings.
7318 2008-01-14 Michael Natterer <mitch@imendio.com>
7320 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
7321 of gdk_screen_get_font_options() to gpointer to get rid of const
7324 2008-01-14 Michael Natterer <mitch@imendio.com>
7326 * tests/testdnd.c (source_drag_data_get): fix another call to
7327 gtk_selection_data_set().
7329 2008-01-14 Michael Natterer <mitch@imendio.com>
7331 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
7334 2008-01-14 Michael Natterer <mitch@imendio.com>
7336 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
7338 2008-01-14 Michael Natterer <mitch@imendio.com>
7340 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
7341 "uris" to guchar* when passing it to gtk_selection_data_set().
7343 2008-01-14 Michael Natterer <mitch@imendio.com>
7349 * gdk/gdkinternals.h
7351 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
7352 parameters const (bug #508544).
7357 * gdk/gdkrectangle.c
7358 * gdk/gdkpolyreg-generic.c
7359 * gdk/gdkregion-generic.c
7360 * gdk/directfb/gdkcolor-directfb.c
7361 * gdk/directfb/gdkgc-directfb.c
7362 * gdk/directfb/gdkgeometry-directfb.c
7363 * gdk/directfb/gdkwindow-directfb.c
7364 * gdk/quartz/gdkcolor-quartz.c
7365 * gdk/quartz/gdkgc-quartz.c
7366 * gdk/quartz/gdkgeometry-quartz.c
7367 * gdk/quartz/gdkwindow-quartz.c
7368 * gdk/win32/gdkcolor-win32.c
7369 * gdk/win32/gdkgc-win32.c
7370 * gdk/win32/gdkgeometry-win32.c
7371 * gdk/win32/gdkprivate-win32.h
7372 * gdk/win32/gdkwindow-win32.c
7373 * gdk/x11/gdkcolor-x11.c
7374 * gdk/x11/gdkgc-x11.c
7375 * gdk/x11/gdkgeometry-x11.c
7376 * gdk/x11/gdkmain-x11.c
7377 * gdk/x11/gdkprivate-x11.h
7378 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7380 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
7383 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7385 Explain name choice for gtk_tool_item_toolbar_reconfigured.
7387 * gtk/gtktoolitem.c: Add comment expaining name choice for
7388 gtk_tool_item_toolbar_reconfigured.
7390 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7392 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
7393 implementations to notify its children, when some aspect of their
7394 configuration changed (#509042).
7396 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
7397 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
7398 Rename _gtk_tool_item_toolbar_reconfigured.
7400 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7402 Include <gtk/gtktoolshell.h> from gtk.h.
7404 * gtk/gtk.h: Add gtktoolshell.h
7406 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7408 Print angle brackets arround e-mail addresses in the about dialog
7409 (#409520, Mariano Suárez-Alvarez).
7411 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
7413 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
7415 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
7416 special casing so test widgets are always queues for destruction
7419 * gtk/tests/testing.c: removed bits left-over from testing without
7422 2008-01-10 Tor Lillqvist <tml@novell.com>
7424 * modules/other/gail/libgail-util/Makefile.am
7425 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
7428 2008-01-10 Tor Lillqvist <tml@novell.com>
7430 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
7431 uses gtkprintunixdialog API.
7433 2008-01-10 Tor Lillqvist <tml@novell.com>
7435 * gdk/win32/gdkdisplay-win32.c
7436 * gdk/win32/gdkglobals-win32.c
7437 * gdk/win32/gdkprivate-win32.h
7438 * gdk/win32/gdkscreen-win32.c
7439 * gdk/win32/gdkwindow-win32.c: Implement
7440 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
7441 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
7444 2008-01-10 Cody Russell <bratsche@gnome.org>
7446 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
7447 Properly ref/unref windows and parents. (#506769)
7449 2008-01-10 Richard Hult <richard@imendio.com>
7451 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7452 (gdk_window_hide), (move_resize_window_internal): Move the
7453 tracking rect workaround from here...
7455 * gdk/quartz/GdkQuartzWindow.c:
7456 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
7457 movements during showing/hiding operations. Fixes bug #508516.
7459 2008-01-10 Michael Natterer <mitch@imendio.com>
7461 * gdk/directfb/gdkscreen-directfb.c
7462 (gdk_screen_get_monitor_width_mm)
7463 (gdk_screen_get_monitor_height_mm)
7464 (gdk_screen_get_monitor_plug_name): add these functions to make
7467 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7469 * gtk/gtkrecentchoosermenu.c:
7470 (idle_populate_func), (idle_populate_clean_up): Fix possible
7471 recursion by resetting the idle source id. (#507605, William
7474 2008-01-10 Kristian Rietveld <kris@imendio.com>
7476 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7477 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7478 avoid valgrind warnings. (#507751, patch from Christian Persch).
7480 2008-01-10 Kristian Rietveld <kris@imendio.com>
7482 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7483 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7485 2008-01-10 Kristian Rietveld <kris@imendio.com>
7487 Fix #477175, reported by Juri Pakaste.
7489 * gtk/gtktreeprivate.h:
7490 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7491 tree_view->priv->dy here directly, just calculate the new value
7492 and set it on the adjustment,
7493 (gtk_tree_view_adjustment_changed): add guards to not call
7494 gtk_tree_view_dy_to_top_row() if we are currently in
7495 gtk_tree_view_top_row_to_dy(),
7496 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7497 coordinates, not tree coordinates,
7498 (gtk_tree_view_real_start_editing): add cast.
7500 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7501 position of the editable in the "create new row and start editing"
7504 2008-01-09 Michael Natterer <mitch@imendio.com>
7506 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7509 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7510 * gtk/gtkicontheme.c (theme_list_contexts)
7511 (gtk_icon_theme_lookup_icon)
7512 * gtk/gtkimcontextsimple.c (beep_window)
7513 * gtk/gtklinkbutton.c (set_link_color)
7514 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7517 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7518 variable and add const to another to fix a warning.
7520 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7522 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7523 the current page. (#499951, Andreas Sandberg)
7525 2008-01-06 Johan Dahlin <johan@gnome.org>
7527 * gtk/gtkspinbutton.c: Declare value in the example code for
7528 GtkSpinButton::output, as pointed out by Anders Carlsson.
7530 2008-01-06 Christian Persch <chpe@gnome.org>
7532 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7533 and remove an obsolete event box. Bug #506760.
7535 2008-01-06 Johan Dahlin <johan@gnome.org>
7537 * tests/buildertest.c (test_domain):
7538 Update, GtkBuilder::translation-domain is no longer set
7540 * gtk/gtkbuilderparser.c (parse_interface):
7541 Allow domains to be overridden in <interface>'s if a translation-domain
7542 is set in the builder.
7543 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7544 of the builder, make the domain set in the <interface> apply only to strings
7546 (#496831, Ryan Lortie)
7548 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
7551 * gtk/gtktreestore.c (tree_model_end_element):
7552 Remove an unused variable
7554 2008-01-06 Matthias Clasen <mclasen@redhat.com>
7556 * gtk/gtkspinbutton.c: Document the ::output signal and
7557 add an example. (#507566, example by Owen Taylor)
7559 2008-01-06 Johan Dahlin <johan@gnome.org>
7561 * gtk/gtkcellrenderercombo.c:
7562 (gtk_cell_renderer_combo_get_property),
7563 (gtk_cell_renderer_combo_set_property):
7564 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7565 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7566 * gtk/gtknotebook.c: (gtk_notebook_set_property):
7567 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7568 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7569 (gtk_text_buffer_get_property):
7570 * gtk/gtktextview.c: (gtk_text_view_set_property):
7571 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7572 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7573 (gtk_tool_button_get_property):
7574 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7575 (gtk_tool_item_get_property):
7576 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7577 * gtk/gtkwidget.c: (gtk_widget_set_property):
7578 * gtk/gtkwindow.c: (gtk_window_set_property):
7579 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7582 2008-01-06 Johan Dahlin <johan@gnome.org>
7584 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
7585 Make sure that --root works for toplevel widgets.
7586 (#491847, Phil Lello)
7588 2008-01-05 Johan Dahlin <johan@gnome.org>
7590 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7591 to make sure that make test-report works properly
7593 2008-01-05 Christian Persch <chpe@gnome.org>
7595 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7596 GType as integer through gpointer. Bug #507395.
7598 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
7600 Avoid some compiler warnings (#507000).
7602 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7603 for value argument of _gtk_builder_flags_from_string.
7604 * gtk/gtkwidget.c: Don't alias the child pointer passed
7605 to gdk_window_get_user_data.
7607 2008-01-04 Michael Natterer <mitch@imendio.com>
7609 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7610 to set the time in the returned GdkTimeCoords.
7612 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
7614 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7615 correct comparison function (kudos to Christian Persch and
7616 Claudio Saavedra for spotting this)
7618 * gtk/gtkrecentchooserutils.c:
7619 (sort_recent_items_mru),
7620 (sort_recent_items_lru): Ditto as above.
7622 2008-01-03 Johan Dahlin <johan@gnome.org>
7624 * tests/defaultvaluetest.c: Make it pass again.
7626 2008-01-02 Johan Dahlin <johan@gnome.org>
7628 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
7629 make it pass on Ubuntu.
7630 (main): Use gtk_test_list_all_types () instead of providing our
7632 And it no longer passes.
7634 2007-12-30 Johannes Schmid <jhs@gnome.org>
7636 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7637 Also reorder menu when reordering tabs by drag & drop
7640 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7641 Add a menu to one of the notebooks to have a test-case for
7642 the change mentioned above.
7644 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
7646 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7648 2007-12-31 Christian Persch <chpe@gnome.org>
7650 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7651 Plug a mem leak. Bug #506107.
7653 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7655 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7656 icon cache api change. (#506135, Kazuki Iwamoto)
7658 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7660 Consider "wide-separators" and "separator-height" style properties:
7661 The separator is drawn using gtk_paint_box instead of cairo, when
7662 "wide-separators" is set. Also do not highlight details for previous
7663 or next month, if their day matches the selected day. (#339540)
7665 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7666 in gtk_calendar_size_request and calendar_paint_day
7667 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7668 for selected detail separators in GtkCalendar.
7670 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7672 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7674 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7675 a local variable instead in gtk_calendar_size_request.
7677 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7679 * tests/defaultvaluetest.c: Add enough exclusions to make the
7682 2007-12-28 Christian Persch <chpe@gnome.org>
7684 * modules/other/gail/Makefile.am:
7685 * modules/other/gail/tests/*:
7686 * configure.in: Merge tests from standalone gail. Bug #504568.
7688 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7690 * gtk/gtkclipboard.c: Make the finalizer work when display is
7693 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7695 Draw bottom shadow of GtkCalender headings. (#506113)
7697 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7699 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7701 * gtk/gtkcalendar.c: Document the initial values of year/month/day
7704 2007-12-28 Christian Persch <chpe@gnome.org>
7706 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
7707 a mem leak. Bug #506096.
7709 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7712 * gtk/gtktreeview.c:
7713 * gtk/gtkprintoperation.c:
7714 * gtk/gtkprogressbar.c:
7715 * gtk/gtkmessagedialog.c:
7716 * gtk/gtknotebook.c:
7720 * gtk/gtklinkbutton.c:
7721 * gtk/gtkmenu.c: More default property value corrections.
7723 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7725 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
7726 accel_group unless it is set.
7728 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7730 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
7732 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7734 * gtk/gtkhandlebox.c: Fix the default values of shadow and
7735 shadow-type properties.
7737 * gtk/gtkfontsel.c: Fix the default values of several properties.
7739 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
7742 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
7744 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
7747 2007-12-28 Johan Dahlin <johan@gnome.org>
7749 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
7750 (gtk_dialog_buildable_custom_tag_start): Chain up.
7751 This makes it possible to have accelerators tags on GtkDialog
7754 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7756 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
7757 are shown within the widget, or just as tooltip. (#339540)
7759 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
7760 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
7761 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
7764 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7766 Try more decent appearance of calendar details separator. (#339540)
7768 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
7769 and make it short by one pixel on each side.
7771 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7773 Apply trivial code-style changes from attachement 101101. (#339540)
7775 * tests/testcalendar.c: Some updates to current GTK+ code-style.
7777 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7779 Restructure testcalendar for testing calendar details. (#339540)
7781 * tests/testcalendar.c: Push code arround for testing calendar details.
7783 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7785 Implement GtkTooltip API for calendar details. (#339540)
7787 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
7788 Remember detail overflows in calendar_paint_day to show the tooltip
7789 only when neccessary.
7791 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7793 Without setting "detail-width-chars" and "detail-height-rows"
7794 properties not only the widget has to be redrawn on certain
7795 conditions, but also its size must be recalculated. (#339540)
7797 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
7798 that function instead of gtk_widget_queue_draw.
7800 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7802 Consider details for size-request and expose-event. (#339540)
7804 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
7805 is_color_attribute functions. Change gtk_calendar_size_request
7806 and calendar_paint_day to consider and show calender details.
7808 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7810 * gtk/gtkcombobox.c: Introduce local priv variables to
7813 2007-12-27 Matthias Clasen <mclasen@redhat.com>
7815 * gtk/gtkcombobox.c: Correct the default value for the
7816 tearoff-title property.
7818 * gtk/gtkcellrenderertext.c: Fix the default value for the
7819 wrap-mode and font-scale properties.
7821 * gtk/gtkaspectratio.c: Fix the default value for the ratio
7824 2007-12-27 Matthias Clasen <mclasen@redhat.com>
7826 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
7827 defines. (#505708, MINAMI Hirokazu)
7829 2007-12-27 Christian Persch <chpe@gnome.org>
7831 * Makefile.am: Install gail.pc. Bug #505859.
7833 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
7835 Add infrastructure for GtkCalendar details. (#339540)
7837 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
7838 Add "detail-width-chars" and "detail-height-rows" properties,
7839 and gtk_calendar_set_detail_func function.
7841 2007-12-27 Xan Lopez <xan@gnome.org>
7844 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
7846 Add gtk_border_new to avoid memory allocator confusions when using
7847 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
7849 2007-12-27 Christian Persch <chpe@gnome.org>
7851 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
7852 bug #504886 not to read unitialised memory.
7854 2007-12-26 Xan Lopez <xan@gnome.org>
7856 * gtk/gtkstatusbar.c (has_extra_children): take into account the
7857 modification of the internal frame contents to decide if we have
7858 extra children. (#415677)
7860 2007-12-22 Christian Persch <chpe@gnome.org>
7862 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
7864 2007-12-25 Christian Persch <chpe@gnome.org>
7866 * modules/other/gail/gailwindow.c: (gail_window_initialize):
7867 Initialise |widget|. Fixes a buglet introduced by the commit from bug
7870 2007-12-25 Christian Persch <chpe@gnome.org>
7872 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
7874 2007-12-25 Christian Persch <chpe@gnome.org>
7876 * modules/other/gail/*.[ch]: Remove relocations from the atk
7877 factories. Remove unused gail_foo_new() functions. Fix object
7878 instantiation to be derivation safe by moving initialisation code
7879 from the removed gail_foo_new() functions to the
7880 AtkObjectClass::initialize implementation. Bug #505226.
7882 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7884 * modules/other/gail/gailentry.c:
7885 * modules/other/gail/gailimage.c:
7886 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
7887 uses of clipboards and settings. (#504722, Christian Persch)
7889 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7891 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
7894 2007-12-24 Matthias Clasen <mclasen@redhat.com>
7896 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
7897 use the time and button information from the event. (#504901,
7900 2007-12-23 Cody Russell <bratsche@gnome.org>
7902 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
7903 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
7904 Fixes a regression caused by #164537 patch where transient
7905 windows that are hidden get shown (incorrectly) when their
7906 parents are minimized. (#504984)
7908 2007-12-22 Christian Persch <chpe@gnome.org>
7910 * modules/other/gail/gailcell.c:
7911 * modules/other/gail/gailcontainercell.c:
7912 * modules/other/gail/gailexpander.c:
7913 * modules/other/gail/gailtextcell.c:
7914 * modules/other/gail/gailtextview.c:
7915 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
7917 2007-12-22 Christian Persch <chpe@gnome.org>
7919 * modules/other/gail/*.c: Include config.h. Bug #504720.
7921 2007-12-22 Christian Persch <chpe@gnome.org>
7923 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
7924 handwritten get_type functions. Bug #504661.
7926 2007-12-23 Xan Lopez <xan@gnome.org>
7928 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
7929 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
7931 Patch by Sadrul Habib Chowdhury (#504804)
7933 2007-12-22 Christian Persch <chpe@gnome.org>
7935 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
7936 #504645, patch by Li Yuan.
7938 2007-12-22 Christian Persch <chpe@gnome.org>
7940 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
7942 2007-12-22 Christian Persch <chpe@gnome.org>
7944 * modules/other/gail/gail.c:
7945 * modules/other/gail/gailbutton.c:
7946 * modules/other/gail/gailcell.c:
7947 * modules/other/gail/gailcombo.c:
7948 * modules/other/gail/gailcombo.h:
7949 * modules/other/gail/gailcombobox.c:
7950 * modules/other/gail/gailentry.c:
7951 * modules/other/gail/gailexpander.c:
7952 * modules/other/gail/gailmenuitem.c:
7953 * modules/other/gail/gailnotebook.c:
7954 * modules/other/gail/gailnotebookpage.c:
7955 * modules/other/gail/gailnotebookpage.h:
7956 * modules/other/gail/gailoptionmenu.c:
7957 * modules/other/gail/gailrange.c:
7958 * modules/other/gail/gailtextview.c:
7959 * modules/other/gail/gailtreeview.c:
7960 * modules/other/gail/gailtreeview.h:
7961 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
7964 2007-12-22 Matthias Clasen <mclasen@redhat.com>
7966 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
7969 2007-12-21 Richard Hult <richard@imendio.com>
7971 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
7972 Plug leak of destroyed subviews, fixes bug #504753.
7974 2007-12-20 Johan Dahlin <johan@gnome.org>
7976 * tests/Makefile.am (TEST_PROGS):
7977 * tests/defaultvaluetest.c: Add a test for default values,
7978 based on program by Christan Perch
7980 2007-12-20 Johan Dahlin <johan@gnome.org>
7982 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
7983 Refactor to avoid some duplication.
7984 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
7985 Fixes #504749, Yuri Pimenov
7987 2007-12-20 Kristian Rietveld <kris@imendio.com>
7989 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
7990 the build work again on systems without xrandr 1.2.
7992 2007-12-20 Christian Persch <chpe@gnome.org>
7995 * modules/other/gail/libgail-util/Makefile.am:
7996 Keep the same libtool version as the standalone libgail-util had.
7999 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
8001 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8003 2007-12-20 Alexander Larsson <alexl@redhat.com>
8005 * gdk/x11/gdkapplaunchcontext-x11.c:
8006 Update for gio API changes
8008 2007-12-20 Richard Hult <richard@imendio.com>
8010 * gdk/quartz/GdkQuartzWindow.c:
8011 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8012 processing events after changing the size.
8014 2007-12-20 Richard Hult <richard@imendio.com>
8016 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8017 Add stub for quartz to fix build.
8019 2007-12-20 Christian Persch <chpe@gnome.org>
8021 * modules/other/gail/Makefile.am:
8022 * modules/other/gail/gailimage.c: (gail_image_class_init),
8023 (gail_image_init), (elide_underscores), (gail_image_get_name),
8024 (atk_image_interface_init), (gail_image_finalize):
8025 * modules/other/gail/gailimage.h:
8026 R modules/other/gail/gailintl.h:
8027 * po/POTFILES.skip: Use the stock item's label as the name of the
8028 accessible in gailimage.c. Bug #504246.
8030 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
8032 Avoid some compiler warnings and remove obsolete code. (#339540)
8034 * gtk/gtkcalendar.c: Change week and year variable in
8035 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8036 0" block from calendar_paint_day: The feature in question is handled
8037 few lines above. Cast data returned by gtk_selection_data_get_text()
8038 to (gchar*) in gtk_calendar_drag_data_received.
8040 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
8042 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8044 2007-12-19 Johan Dahlin <johan@gnome.org>
8046 * tests/buildertest.c (test_object_properties):
8047 Add another call to gtk_builder_add_string after using
8048 delayed properties, as reported in #504393 but already
8051 2007-12-18 Christian Persch <chpe@gnome.org>
8054 * docs/reference/Makefile.am:
8055 * docs/reference/libgail-util/*:
8056 * gail-uninstalled.pc.in:
8058 * modules/Makefile.am:
8059 * modules/other/Makefile.am:
8060 * modules/other/gail/*:
8061 * modules/other/gail/libgail-util/*:
8062 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8064 2007-12-17 Matthias Clasen <mclasen@redhat.com>
8066 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8067 * gdk/win32/gdkproperty-win32.c:
8068 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8070 * gtk/gtkimmodule.[hc]:
8071 * gtk/gtkimmulticontext.[hc]: When determining the default context,
8072 look at the gtk-im-module setting, and listen for changes to the
8073 setting. (#502446, Akira Tagoh)
8075 2007-12-17 Kristian Rietveld <kris@imendio.com>
8077 * gtk/gtktooltip.c (gtk_tooltip_finalize),
8078 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8079 to NULL as soon as it's destroyed. (#496546, patch from
8082 2007-12-17 Kristian Rietveld <kris@imendio.com>
8084 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8085 always determine what arrow to show if show_sort_indicator is true.
8086 (#352738, Chris Vine).
8088 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
8090 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8093 * gtk/gtkpaned.c: Call gtk_container_forall instead of
8094 gtk_container_foreach in get_child_panes.
8096 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
8098 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8100 Plug leak: When reordering the info in the list the old node is
8101 removed but not freed. (#503569)
8103 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
8105 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8106 Use u32 instead of __u32 and u8 instead of __u8 as the other types
8107 are deprecated since DirectFB 1.0.0. If compiling with an older
8108 version define the new type name to the old types. Fixes bug #503190.
8110 2007-12-14 Ray Strode <rstrode@redhat.com>
8112 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8113 instead of g_signal_connect_after (..., "realize", ...) as an
8114 alternative to gtk_widget_realize () (bug 503537).
8116 2007-12-14 Michael Natterer <mitch@imendio.com>
8118 * gdk/gdkinternals.h
8119 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8122 * gdk/gdkapplaunchcontext.c
8123 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8124 header already includes everything now.
8126 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8128 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8129 next stable release shall be 2.16, not 2.14 - even if disagree.
8131 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8133 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8135 Change GtkToolItem to retrieve its properties from GtkToolShell
8136 interface, instead of relying on being child of a GtkToolbar.
8139 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8140 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8141 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8142 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8143 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8144 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8145 Take section docs from template file and update them for GtkToolShell.
8146 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8147 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8149 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8151 Extract loading of GtkPageSetup and GtkPrintSettings from their
8152 *_new_*() functions and move that code into separate
8153 *_load_*() functions (#475565).
8155 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8156 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8157 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8158 Change the matching *_new_*() functions to use those functions.
8160 2007-12-14 Matthias Clasen <mclasen@redhat.com>
8163 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8165 2007-12-14 Kristian Rietveld <kris@imendio.com>
8167 * gtk/tests/liststore.c:
8168 * gtk/tests/treestore.c: added tests for insertion functions.
8170 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
8172 * Add RandR 1.2 support
8174 - New monitors_changed signal - New API to get width/height of
8175 monitors, and the name of the plug
8177 2007-12-13 Kristian Rietveld <kris@imendio.com>
8179 * gtk/tests/liststore.c:
8180 * gtk/tests/treestore.c: test the move and swap functions on a
8181 store with only one node.
8183 2007-12-13 Kristian Rietveld <kris@imendio.com>
8185 * gtk/gtktestutils.c (gtk_test_init): add a call to
8188 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8191 2007-12-13 Kristian Rietveld <kris@imendio.com>
8193 * gtk/tests/liststore.c:
8194 * gtk/tests/treestore.c: start composing tests for the list and tree
8197 * gtk/tests/treeview-scrolling.c: added automated tests for
8198 GtkTreeView's scrolling "subsystem".
8200 * gtk/tests/Makefile.am: updated; added new test programs.
8202 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
8204 Make the code compile again after the GdkAppLaunchContext changes.
8206 * configure.in: Add gio-2.0 to GDK_PACKAGES.
8207 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8209 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8211 * gdk/gdkapplaunchcontext.c: Add docs
8213 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8215 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
8216 in gdk, providing startup notification. (#503203)
8218 * gdk/x11/gdkapplaunchcontext-x11.c:
8219 * gdk/win32/gdkapplaunchcontext-win32.c:
8220 * gdk/quartz/gdkapplaunchcontext-quartz.c:
8221 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8222 parts. All but X11 are just empty stubs for now.
8225 * gdk/gdkinternals.h:
8227 * gdk/x11/Makefile.am:
8228 * gdk/win32/Makefile.am:
8229 * gdk/quartz/Makefile.am:
8230 * gdk/directfb/Makefile.am: Necessary glue.
8232 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
8234 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8236 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8238 * gdk/directfb/gdktestutils-directfb.c:
8239 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8240 which adds testing functions to the DirectFB backend.
8242 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8244 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8245 Ciccani which fixes the mixing of gdk and cairo rendering.
8247 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
8249 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8250 on "drag-motion" handlers. Clearify documentation for
8253 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
8255 * buildertest.c: made unnecessarily exported symbols static.
8256 switched g_return_if_fail() statements in tests to assertions.
8257 special cased currently failing Widget/accesibility test to
8258 run only for g_test_thorough(), so it doesn't break make check.
8259 some coding style fixes.
8261 * Makefile.am: added buildertest to TEST_PROGS.
8263 2007-12-11 Stefan Kost <ensonic@users.sf.net>
8265 * docs/tutorial/gtk-tut.sgml:
8266 Use gtk_widget_get_parent_window() instead of widget->parent->window.
8268 2007-12-10 Richard Hult <richard@imendio.com>
8270 * gdk/quartz/Makefile.am:
8271 * gdk/quartz/gdkquartz.h:
8272 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
8273 header (bug #405915). Also add a getter for the toplevel nswindow.
8275 2007-12-10 Richard Hult <richard@imendio.com>
8277 * gdk/quartz/gdkdrawable-quartz.c:
8278 (gdk_quartz_drawable_get_context),
8279 (gdk_quartz_drawable_release_context):
8280 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
8281 (gdk_event_check), (gdk_event_dispatch), (poll_func):
8282 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
8283 used for each drawing context and in prepare, dispatch and poll
8284 with one that exists across each main loop iteration. Fixes leaks
8285 on leopard and protects against future leaks introduce when the
8286 underlying system changes again (bug #492977).
8288 2007-12-10 Richard Hult <richard@imendio.com>
8290 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
8291 Fix the check for no changes to position and size.
8293 2007-12-10 Richard Hult <richard@imendio.com>
8295 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
8296 sized areas at (0, 0), patch from Paul Davis.
8298 2007-12-10 Richard Hult <richard@imendio.com>
8300 * gdk/quartz/gdkprivate-quartz.h:
8301 * gdk/quartz/gdkeventloop-quartz.c:
8302 (_gdk_quartz_event_loop_get_pending),
8303 (_gdk_quartz_event_loop_check_pending),
8304 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
8305 (gdk_event_check), (gdk_event_dispatch):
8306 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
8307 (_gdk_events_queue): Fix a bug where we could end up trying to
8308 handle the same event more than once. Based on patch from Paul
8311 2007-12-10 Tor Lillqvist <tml@novell.com>
8313 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
8316 2007-12-10 Matthias Clasen <mclasen@redhat.com>
8318 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
8319 to avoid further fallout from the fix for bug 388321.
8321 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8323 * gdk/directfb/gdkgc-directfb.c:
8324 * gdk/directfb/gdkdrawable-directfb.c:
8325 * gdk/directfb/gdkdirectfb.h:
8326 * gdk/directfb/gdkwindow-directfb.c:
8327 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8328 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
8329 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
8330 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
8331 which are expected to improve the performance of the DirectFB backend.
8332 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
8334 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8336 * gtk/gtkcontainer.c: Correct the documentation of child
8337 property getter arguments. (#501992, David Brigada)
8339 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8341 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
8342 leak pixbufs. (#502250, Yevgen Muntyan)
8344 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
8346 * gtk/gtkprintunixdialog.c:
8347 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
8348 Print and Page Setup dialogs (#502202).
8350 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
8352 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
8353 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
8354 of XVFB_START, since it's the GTESTER invokation that needs this.
8356 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
8358 * gdk-pixbuf/gdk-pixbuf.symbols:
8360 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
8361 positives in abicheck.sh
8363 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8365 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
8366 GDK events generations in the DirectFB backend.
8368 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
8370 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
8371 set of likely unused display ids, because MacOS has no seq(1) command.
8373 2007-12-06 Richard Hult <richard@imendio.com>
8375 * gdk/quartz/gdkevents-quartz.c:
8376 (synthesize_crossing_events_for_ns_event): Fix warning when
8377 switching spaces in leopard.
8379 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
8381 * tests/floatingtest.c: ported to new testing framework.
8383 * tests/Makefile.am: run floatingtest as testing framework test.
8385 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
8387 * tests/autotestfilechooser.c: majorly speed up execution by reducing
8388 timeouts and converting main loop sleeps to pending/iterate loops with
8389 very low priority async handlers. eliminate output for non-verbose
8390 tests. assert successfull subtests in all test functions. use testing
8391 framework in main().
8393 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
8394 executed inside Xvfb upon make check.
8396 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
8398 * tests/objecttests.c: use string comparisons for string property
8399 values and get rid of referencing symbols in array initialization.
8401 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
8403 * gtk+/Makefile.decl: run tests in current dir after setting up the
8404 logging directory, so their results get properly merged into the
8407 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
8408 tests to loop over registered Gdk/Gtk+ types.
8410 * gtk+/tests/objecttests.c: new test program, implements automated
8411 property tests. several properties are blacklisted because they
8412 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
8413 can be used to test blacklisted properties and see which proprty failed.
8415 2007-12-04 Richard Hult <richard@imendio.com>
8417 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
8418 Fully initialize the root window, fixes bug #501583.
8420 2007-12-04 Matthias Clasen <mclasen@redhat.com>
8422 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
8425 2007-12-03 Richard Hult <richard@imendio.com>
8427 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
8428 Don't crash when dragging from a source that doesn't support uri
8429 lists (bug #499868, Paul Davis).
8431 2007-12-03 Richard Hult <richard@imendio.com>
8433 * gdk/quartz/gdkwindow-quartz.c:
8434 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
8435 parent relative bg pixmap is set, and no parent has a bg
8436 pixmap. Fixes bug #500804.
8438 2007-12-03 Matthias Clasen <mclasen@redhat.com>
8440 Two optimizations for icon cache lookups.
8442 * gtk/gtkiconcache.[hc]:
8443 * gtk/gtkicontheme.c: Remember the directory index for
8444 subdirectories, instead of running over the directory list
8447 * gtk/gtkiconcache.c (find_image_offset): Remember the last
8448 chain and try it first; this helps with the the usage patterns
8449 in gtkicontheme.c, where the same icon is queried for a lot
8452 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
8454 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
8455 functions from header files. this should be portable across linux and
8456 Mac OS, unlike the previpous sed expression.
8458 2007-12-1 Cody Russell <bratsche@gnome.org>
8460 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
8461 On Windows, queue a redraw of child2 whenever we set
8462 the pane handle position. This is unfortunately kind
8463 of hacky, but solves the visual artifacts that were
8464 occuring on at least certain types of child widgets
8465 (e.g., text views and tree views) that are inside
8466 horizontal or vertical panes. (#144269)
8468 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8470 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8472 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8474 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8477 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8479 * gtk/Makefile.am: Fix ordering of subdirs.
8481 2007-11-28 Tor Lillqvist <tml@novell.com>
8483 A proper build of GNU libintl is supposed to export the variable
8484 _nl_msg_cat_cntr. configure looks for that variable in order to
8485 recognize GNU gettext. If it sees that it is indeed GNU gettext
8486 that is used, it decides to install message catalogs in
8487 share/locale, otherwise in lib/locale. Until now on Windows I have
8488 built GTK+ against a build of GNU gettext that did not export
8489 _nl_msg_cat_cntr. But this will change, so we can't assume message
8490 catalogs are always in lib/locale.
8492 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8493 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8494 before the inclusion of gtkprivate.h so that it sees the original
8497 * gtk-zip.sh.in: Check whether the message catalogs are in
8498 share/locale or lib/locale.
8500 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8501 that the code in _gtk_get_localedir() will find the slashes.
8503 2007-11-28 Tor Lillqvist <tml@novell.com>
8505 * gtk/Makefile.am: Improve portability. The -o option is present
8506 only in newish GNU egreps. Use one more sed in the pipeline
8509 2007-11-28 Tor Lillqvist <tml@novell.com>
8511 Fix #375893, patch by Ben Hague:
8513 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8514 around GetLogicalDrives() that takes also the viewable drive
8515 restrictions in the Registry (which are usually the result of an
8516 Active Directory Group Policy) into account.
8518 (check_volumes, gtk_file_system_win32_list_volumes) Call
8519 get_viewable_logical_drives() instead of GetLogicalDrives().
8521 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8523 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8524 variables to silence valgrind. (#495124, Morten Welinder)
8526 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8528 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8529 that the construct_child function is responsible for returning a
8531 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8532 objects from constructors
8533 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8534 g_object_ref() to this construction function (it's the only
8539 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8541 * gtkbuilder.c: remove concept of root objects and just refcount
8542 all objects in the builder. Fixes #496651.
8544 2007-11-26 Ryan Lortie <desrt@desrt.ca>
8546 * tests/buildertest.c (test_window): fix invalid free
8548 2007-11-26 Josselin Mouette <joss@malsain.org>
8550 reviewed by: Federico Mena Quintero
8552 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8553 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8554 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8555 Make the shortcuts activate with a single click. (#148828)
8556 Fix a few things affected by the change:
8557 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
8558 where no shortcut is selected.
8559 - Don't activate a shortcut in the response callback.
8560 - Filter out duplicate entries in volumes and bookmarks to
8561 avoid the selection to change when reordering them with DnD.
8563 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8566 * gtk/gtknotebook.c:
8567 * gtk/gtkplugprivate.h:
8569 * gtk/gtksocketprivate.h:
8570 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8572 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8574 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8575 (#495574, Richard Hult)
8577 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8579 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8580 String change ! (#376361, Sven Neumann)
8582 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8584 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8586 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8589 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8591 * gtk/gtkassistant.c: Improve alternative button
8592 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8594 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8596 * gtk/gtkcalendar.c: Fix a theming problem with colors
8597 in GtkCalendar. (#499703, Michael Hofmann)
8599 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8601 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8603 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8605 Use templates for glib-mkenums calls instead of
8606 complicated commandlines in Makefiles. (#429910)
8608 * gdk-pixbuf/Makefile.am:
8611 * perf/Makefile.am: Use templates for glib-mkenums
8613 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8614 * gdk/gdkenumtypes.[ch].template:
8615 * gtk/gtktypebuiltings.[ch].template:
8616 * perf/typebuiltins.[ch].template: The templates
8618 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8620 * gtk/gtkfilechooserbutton.c:
8621 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8622 some compilers choke on that. (#467722)
8624 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8626 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8627 about hook setup. (#425004, Emmanuele Bassi)
8629 2007-11-26 Tor Lillqvist <tml@novell.com>
8631 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8632 monitor the window currently is on, not always the primary
8633 monitor. (#463865, Tim Evans)
8635 2007-11-26 Tor Lillqvist <tml@novell.com>
8637 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8639 * gdk/win32/Makefile.am: Add it.
8641 2007-11-26 Tor Lillqvist <tml@novell.com>
8643 * configure.in: Don't add jasper to all_loaders if no libjasper.
8645 2007-11-25 Bastien Nocera <hadess@hadess.net>
8647 * configure.in: Add detection for libjasper, used by the
8648 gdk-pixbuf JPEG2000 loader
8650 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8652 * configure.in: Require gtk-doc 1.8
8654 * */*.c: Use gtk-doc abbreviations for examples in docs.
8656 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8658 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8661 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8663 * gtk/gtkdialog.c: Move signal and property documentation inline,
8664 fix a problem with the ::response signal docs. (#499133, Josselin
8667 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
8669 * Makefile.decl: initialize automake variables EXTRA_DIST and
8670 TEST_PROGS for unconditional appending via += in other makefiles.
8671 define recursive test targets: test, test-report, perf-report,
8672 full-report, as described here:
8673 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8674 the test targets will execute Gtk+ test programs within an Xvfb session.
8676 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8678 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8679 g_test_run() to run the tests to integrate with the testing framework.
8681 * gtk/tests/Makefile.am: removed exemplary testing rules.
8683 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8684 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8685 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8686 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8687 * docs/reference/Makefile.am, docs/tools/Makefile.am:
8688 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8689 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8690 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8691 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8692 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8693 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8694 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8695 * modules/engines/ms-windows/Theme/Makefile.am:
8696 * modules/engines/ms-windows/Makefile.am:
8697 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
8698 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8699 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8700 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
8701 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
8702 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
8703 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
8705 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8707 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
8708 (#485662, patch by Herbert Valerio Riedel)
8710 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8712 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
8714 2007-11-21 Richard Hult <richard@imendio.com>
8716 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
8717 stubs for the testing functions to fix the build.
8719 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8721 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
8722 (#467711, The Written Word)
8724 2007-11-21 Ross Burton <ross@openedhand.com>
8726 * gdk/x11/gdksettings.c:
8727 Add xsetting for gtk-scrolled-window-placement (#458103).
8729 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8731 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
8732 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
8733 (#469239, Michael Natterer)
8735 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8737 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
8738 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
8739 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
8740 (#436536, Tommi Komulainen)
8742 2007-11-21 Matthias Clasen <mclasen@redhat.com>
8744 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
8745 property. (#489782, Jan Janech)
8747 2007-11-20 Matthias Clasen <mclasen@redhat.com>
8749 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
8750 frames. (#107398, Owen Taylor, Miguel Gomez)
8752 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
8754 Moved Gdk test functions from Gtk+ to Gdk test utils.
8756 * gdk/Makefile.am: added gdktestutils.h to public includes.
8758 * gdk/gdk.h: added gdktestutils.h to public includes.
8760 * gdk/gdk.symbols: added gdk_test_simulate_button,
8761 gdk_test_simulate_key, gdk_test_render_sync.
8763 * gdk/gdktestutils.h: new file, added prototypes for
8764 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
8766 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
8768 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
8769 gdk_test_simulate_key, gdk_test_render_sync.
8771 * gtk/gtktestutils.c:
8772 * gtk/gtktestutils.h:
8773 * gtk/gtk.symbols: removed gtk_test_simulate_button
8774 gtk_test_simulate_key, gtk_test_xserver_render_sync.
8776 * gtk/tests/testing.c: call gdk_test_render_sync.
8778 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
8780 Added unit tests for Gtk+ testing utilities.
8782 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
8783 utility functions. some g_test_* related portions are disabled and need
8784 to be enabled once Gtk+ depends on a new glib with the GLib testing
8785 framework integrated.
8787 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
8788 tests. added exemplary test rules to run tests inside Xvfb. this
8789 needs to depend on gtester for full fledged testing.
8791 * gtk/Makefile.am: build gtk+/gtk/tests, define
8792 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
8793 e.g. gtk_text_get_type().
8795 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
8797 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
8799 Added Gtk+ testing utilities.
8801 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
8802 functions. for the most part, the functions herein involve
8803 navigating and interacting with dialog elements programatically,
8804 to automate user interaction tests of dialogs and widgets.
8806 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
8808 * gtk/gtk.symbols: added gtk_test_* symbols.
8810 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
8811 the build. generate gtktypefuncs.c which contains a list of all
8812 _get_type functions in Gtk+ and Gdk.
8814 2007-11-20 Bastien Nocera <hadess@hadess.net>
8816 * configure.in: add support for conditional icns gdk-pixbuf loader
8819 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
8821 * configure.in: updated version number to 2.15.0 for development.
8823 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
8825 === Branch for 2.12 ===