1 2008-08-28 Christian Dywan <christian@imendio.com>
3 Bug 549734 – gtk_selection_data_get_data prototype is wrong
5 * gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the
6 'length' argument of gtk_selection_data_get_data a 'gint', that's
9 2008-08-27 Cody Russell <bratsche@gnome.org>
11 * gdk/win32/gdkevents-win32.c:
12 * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if
13 the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
14 calling ShowWindow (), and show using SW_SHOWMAXIMIZED or
15 SW_RESTORE accordingly. This fixes an issue where maximized
16 windows that are iconified do not restore back to maximized
17 when you click the taskbar. (#528975)
19 2008-08-27 Matthias Clasen <mclasen@redhat.com>
21 * gtk/gtkprintoperation.c: Documentation fixes.
23 2008-08-27 Matthias Clasen <mclasen@redhat.com>
25 * gdk/x11/gdkwindow-x11.c:
26 * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent
27 implementations to avoid #548993. Patch by Ed Catmur.
29 2008-08-27 Matthias Clasen <mclasen@redhat.com>
31 * modules/printbackends/cups/gtkprintbackendcups.c: Don't capitalize
32 "per" in "Pages per Sheet".
34 2008-08-26 Matthias Clasen <mclasen@redhat.com>
36 Bug 549354 – Crash trying to open a file on a remote folder
38 * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle
39 the fact that parent may be NULL without crashing.
41 2008-08-25 Matthias Clasen <mclasen@redhat.com>
43 * modules/printbackends/cups/gtkprintbackendcups.c: Replace
44 a long timeout with a second-granularity timeout.
46 2008-08-25 Matthias Clasen <mclasen@redhat.com>
48 * gtk/gtkprintunixdialog.c:
49 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
50 hints to many strings.
52 2008-08-25 Gian Mario Tagliaretti <gianmt@gnome.org>
54 Bug 549236 – missing Since 2.14 in gtk_file_chooser_get_file
56 * gtk/gtkmountoperation.c:
58 * gtk/gtkfilechooser.c: Fix the docs, missing Since 2.14.
60 2008-08-21 Matthias Clasen <mclasen@redhat.com>
62 * gtk/gtksettings.c: When reconstructing the color hash, try
63 harder to avoid unnecessary notification, since this can lead
64 to infinite reloading of rc files in some situations.
66 2008-08-21 Cody Russell <bratsche@gnome.org>
68 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
69 to see if the window is modally blocked. This doesn't get us anything,
70 and it confuses the search window in GtkTreeView (and potentially other
71 utility windows in other apps). (#520165)
73 2008-08-21 Michael Natterer <mitch@imendio.com>
75 * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
77 2008-08-21 Marek Kasik <mkasik@redhat.com>
79 Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
82 * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges
84 2008-08-21 Marek Kasik <mkasik@redhat.com>
86 * ChangeLog: changelog update for previous commit
88 2008-08-21 Marek Kasik <mkasik@redhat.com>
90 Bug 535158 – can't rearrange the order of multi pages per side
94 * gtk/gtkprintunixdialog.c
95 * gtk/gtkprintsettings.c
96 * gtk/gtkprintsettings.h
98 * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
99 specify layout of pages per sheet in number-up mode
101 Wed Aug 20 18:16:29 2008 Søren Sandmann <sandmann@redhat.com>
103 * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the
104 monitors changed signal when the screen size changes.
106 2008-08-20 Torsten Schoenfeld <kaffeetisch@gmx.de>
108 Bug 548346 – gtk_color_selection_dialog_get_color_selection always
111 * gtk/gtkcolorseldialog.c
112 (gtk_color_selection_dialog_get_color_selection): Use the correct
113 macro to test the validity of the passed-in dialog.
115 2008-08-05 Milan Crha <mcrha@redhat.com>
117 * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
118 arrows even on non-focusable notebook. (#528091)
120 2008-08-19 Federico Mena Quintero <federico@novell.com>
122 http://bugzilla.gnome.org/show_bug.cgi?id=543308 - The file
123 chooser in "compact" mode uses the same size as in "open" mode.
125 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Don't
126 force the default size here. Let GtkFileChooserDefault be solely
127 in charge of default sizing.
128 (set_default_size): Removed obsolete code.
130 * gtk/gtkfilechooserdefault.c (emit_default_size_changed): New
131 helper function, to avoid dupliated code. Only emits the signal
132 if the widget is mapped, because that is when we actually know the
134 (update_preview_widget_visibility): Use emit_default_size_changed()
135 (update_appearance): Likewise.
136 (gtk_file_chooser_default_style_set): Likewise.
137 (gtk_file_chooser_default_screen_changed): Likewise.
138 (gtk_file_chooser_default_map): Likewise.
139 (find_good_size_from_style): Unconditionally compute a good
140 default size for the "OPEN" modes; don't store it in internal fields.
141 (gtk_file_chooser_default_get_default_size): Only compute the
142 font-based size if we are in one of the "OPEN" modes or in
145 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
146 Removed default_width/default_height; we don't store these
147 anymore. This will make recycled file choosers (like in the GIMP)
148 not "remember" their size across invocations. However, this
149 prepares the way for actually remembering the user's size globally
150 in the settings file.
152 2008-08-19 Björn Lindqvist <bjourne@gmail.com>
154 Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate
156 * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some
157 code duplication, no need for separate loops for GTK_PACK_START
160 2008-08-19 Johan Dahlin <johan@gnome.org>
162 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
163 Remove the requres-version tag as well
165 2008-08-18 Matthias Clasen <mclasen@redhat.com>
167 * configure.in: Bump version
169 * ==== Released 2.13.7 ===
171 2008-08-19 Mathias Hasselmann <mathias@openismus.com>
173 Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars
175 * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year"
176 property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days()
177 multiplies the year property with 365 and returns the result as
178 glong. Therefore ceil(log(365, 2)) = 9 bits must be available,
181 2008-08-18 Björn Lindqvist <bjourne@gmail.com>
183 Bug 541315 – Segfault when selecting a GtkMenuItem with submenu
186 * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure
187 that the menu item has a parent before popping it up.
189 2008-08-18 Johan Dahlin <johan@gnome.org>
191 Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView
193 * gtk/gtk-builder-convert: Rename the text property to buffer.
195 2008-08-16 Matthias Clasen <mclasen@redhat.com>
197 * gtk/gtksizegroup.c: Use g_quark_from_static_string() where possible.
199 2008-08-16 Matthias Clasen <mclasen@redhat.com>
203 2008-08-16 Torsten Schoenfeld <kaffeetisch@gmx.de>
205 * gdk/gdkwindow.c: Fix small issues in the documentation of
206 gdk_window_remove_redirection and gdk_window_redirect_to_drawable.
208 2008-08-15 Richard Hult <richard@imendio.com>
210 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): Some
211 aftermath of the fix of bug #543868. Clip and flip to the source,
212 not the destination. Don't save/restore the gstate, it's already
213 done when getting/releasing the context.
215 2008-08-15 Richard Hult <richard@imendio.com>
217 * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
218 Add another missing symbol.
220 2008-08-15 Behdad Esfahbod <behdad@gnome.org>
222 Bug 547680 – fontconfig monitoring can crash apps
224 * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache
225 before recreating fontconfig config.
227 2008-08-15 Sven Herzberg <sven@imendio.com>
229 Use the g_test_*() API for this test
230 reviewed by: Richard Hult
232 * gdk/tests/check-gdk-cairo.c: use the g_test_*() API to permit adding
235 2008-08-15 Sven Herzberg <sven@imendio.com>
237 Prepare for using the g_test_*() API
238 reviewed by: Richard Hult
240 * gdk/tests/check-gdk-cairo.c: use assertions instead of returning an
243 2008-08-15 Claudio Saavedra <csaavedra@igalia.com>
245 Bug 547944 – Self-reference in gtk_page_setup_load_file's docs
247 * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file()
248 documentation. Pointed out by Torsten Schoenfeld.
250 2008-08-15 Matthias Clasen <mclasen@redhat.com>
252 Bug 547655 – gio_can_sniff configure test can fail if not installed
253 with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set
255 * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS.
257 2008-08-15 Christian Dywan <christian@imendio.com>
259 Bug 547846 – gtktestutils functions lack Since: tags
261 * gtk/gtktestutils.c: Add missing Since tags
263 2008-08-15 Christian Dywan <christian@imendio.com>
265 Bug 547775 – Documentation of gtk-button-images is not correct
267 * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation
268 of "gtk-button-images" setting
270 2008-08-13 Matthias Clasen <mclasen@redhat.com>
272 Bug 547673 – Accessors for GtkFileSelection.font_entry and
276 * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
277 actually part of the font selection dialog in standard builds.
278 Pointed out by Torsten Schoenfeld
280 2008-08-13 Matthias Clasen <mclasen@redhat.com>
282 Bug 547516 – Add comments for translators in gtkprintbackendcups.c
284 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
285 hints. Patch by Leonardo Ferreira Fontenelle
287 2008-08-13 Michael Natterer <mitch@imendio.com>
289 * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
293 * gtk/gtkentrycompletion.c
295 * gtk/gtkoldeditable.c
298 * gtk/gtkwidget.c: changed accordingly.
300 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
302 Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama
303 doesn't compile on Solaris
305 * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile
306 when HAVE_SOLARIS_XINERAMA is defined.
308 2008-08-13 Michael Natterer <mitch@imendio.com>
310 * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
311 g_dgettext() to fix warning about discarded qualifier.
313 2008-08-12 Paolo Borelli <pborelli@katamail.com>
315 * gtk/gtkclipboard.c (gtk_clipboard_store):
316 use canonical signal name.
318 2008-08-12 Paolo Borelli <pborelli@katamail.com>
320 Bug 526234 - make shift+ctrl+del delete till the end of line
322 * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
323 keyboard shortcuts to delete to the end/start of the current line.
325 2008-08-12 Michael Natterer <mitch@imendio.com>
327 * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
328 label to set the color on.
330 (gtk_link_button_add): call set_link_color() so the label gets
331 the right color no matter how the link button is created.
333 2008-08-12 Michael Natterer <mitch@imendio.com>
335 * gtk/gtkassistant.c: remove unused variable and fix formatting of
336 some function headers.
338 2008-08-12 Michael Natterer <mitch@imendio.com>
340 * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
343 * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
344 visible for GDK_PIXBUF_COMPILATION.
346 * contrib/gdk-pixbuf-xlib/Makefile.am
348 * demos/gtk-demo/Makefile.am
349 * gdk-pixbuf/pixops/Makefile.am
351 * gdk/x11/Makefile.am
353 * gtk/tests/Makefile.am
354 * gtk/theme-bits/Makefile.am
355 * modules/engines/ms-windows/Makefile.am
356 * modules/engines/pixbuf/Makefile.am
357 * modules/input/Makefile.am
359 * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
361 2008-08-12 Michael Natterer <mitch@imendio.com>
363 * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
364 g_return_val_if_fail() now that the function has a return value.
366 2008-08-12 Sven Neumann <sven@gimp.org>
368 * gtk/gtkaccellabel.c
371 * gtk/gtkcolorbutton.c
374 * gtk/gtkdnd-quartz.c
377 * gtk/gtkfilechooserdefault.c
386 * gtk/gtkrecentchooserdialog.c
387 * gtk/gtkrecentchooserutils.c
391 * gtk/gtktextbuffer.c
396 * gtk/gtkwindow-decorate.c
397 * gtk/gtkwindow.c: use canonical signal names in some more places
398 that I missed earlier. Also changed this in the documentation and
401 2008-08-12 Sven Neumann <sven@gimp.org>
404 * gtk/gtkradiotoolbutton.c: property nick and blurb should be
405 marked with P_(), not _().
407 2008-08-12 Michael Natterer <mitch@imendio.com>
409 * examples/gtkdial/gtkdial.c
410 * gdk/gdkapplaunchcontext.c
412 * gtk/gtkcellrendererpixbuf.c
413 * gtk/gtkcellrenderertext.c
420 * gtk/gtktexttagtable.c: remove dereferencing from some function
421 pointers i missed before.
423 2008-08-12 Michael Natterer <mitch@imendio.com>
425 * gtk/gtkaccellabel.c
430 * gtk/gtkfilechooserbutton.c
431 * gtk/gtkfilechooserdefault.c
439 * gtk/gtkmessagedialog.c
444 * gtk/gtkprintunixdialog.c
446 * gtk/gtkrecentchooserdefault.c
455 * gtk/gtkwin32embedwidget.c: chain up unconditionally in
456 realize(), unrealize(), map(), unmap(), style_set(),
457 key_press_event() and size_request()
459 2008-08-12 Michael Natterer <mitch@imendio.com>
461 * gtk/gtkwidget.c: change names of default implementations of
462 our own signals to consistently contain "real":
464 gtk_widget_style_set -> gtk_widget_real_style_set
465 gtk_widget_direction_changed -> gtk_widget_real_direction_changed
467 2008-08-12 Michael Natterer <mitch@imendio.com>
469 * gtk/*.c: consistently chain up using
470 GTK_FOO_CLASS(parent_class)->bar(instance) instead of
471 (*GTK_FOO_CLASS(parent_class))->bar(instance).
473 2008-08-12 Matthias Clasen <mclasen@redhat.com>
475 Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
476 of an ouput parameter
478 * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
479 return the GIcon directly.
480 Complaint by Murray Cumming
482 2008-08-11 Michael Natterer <mitch@imendio.com>
484 Bug 546754 – 2.13.6 update create rendering issue in the evolution
487 * gtk/gtkadjustment.c: instead of CLAMP(), use
489 value = MIN (value, upper - page_size);
490 value = MAX (value, lower);
492 so we don't end up below lower if upper - page_size is smaller
495 2008-08-11 Matthias Clasen <mclasen@redhat.com>
497 Bug 546616 – CUPS print backend uses 1.2 API without guards
499 * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
500 of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
501 Patch by Sven Herzberg and Richard Hult
503 2008-08-11 Michael Natterer <mitch@imendio.com>
505 Bug 547270 – Make GtkHSV public
508 * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
509 always public anyway).
511 * gtk/gtkhsv.h: add single-include guards, add class struct padding,
512 seal the instance member, cleanup.
514 * gtk/gtkhsv.c: center the widget in its allocation,
515 add "Since: 2.14", cleanup.
517 2008-08-11 Torsten Schoenfeld <kaffeetisch@gmx.de>
519 * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
520 to correctly state 2.14, not 2.16.
522 2008-08-11 Sven Neumann <sven@gimp.org>
524 * demos/gtk-demo/changedisplay.c
525 * demos/gtk-demo/clipboard.c
526 * demos/gtk-demo/drawingarea.c
527 * demos/gtk-demo/iconview.c
528 * demos/gtk-demo/images.c
529 * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
531 2008-08-11 Matthias Clasen <mclasen@redhat.com>
533 Bug 547211 – Duplicated mnemonic
535 * gtk/gtkmountoperation.c: Change mnemonics around in
536 the password dialog to avoid a conflict.
537 Reported by Gil Forcada
539 2008-08-11 Sven Neumann <sven@gimp.org>
541 * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
543 2008-08-11 Sven Neumann <sven@gimp.org>
545 * examples/*: updated the (quite outdated) examples to use
546 canonical signal names as well. Removed some unneeded casts and
547 trailing whitespace while I was on it...
549 2008-08-11 Sven Neumann <sven@gimp.org>
551 * modules/input/gtkimcontextime.c
552 * modules/input/gtkimcontextmultipress.c
553 * modules/input/gtkimcontextxim.c: use canonical signal names.
555 2008-08-11 Sven Neumann <sven@gimp.org>
557 * gtk/gtkdnd-quartz.c
561 * gtk/gtkimcontextsimple.c
562 * gtk/gtkimmulticontext.c
563 * gtk/gtkoptionmenu.c
565 * gtk/gtkrecentchooserdefault.c
566 * gtk/gtkscrolledwindow.c
567 * gtk/gtksocket-x11.c: use canonical signal names in some more
568 places that I missed earlier.
570 2008-08-11 Sven Neumann <sven@gimp.org>
572 * gtk/gtkaccelgroup.c
573 * gtk/gtkactiongroup.c
575 * gtk/gtkcelleditable.c
576 * gtk/gtkclipboard-quartz.c
578 * gtk/gtkcolorbutton.c
581 * gtk/gtkcurve.c: use canonical signal names.
583 2008-08-11 Sven Neumann <sven@gimp.org>
586 * gtk/gtkentrycompletion.c
590 * gtk/gtkinputdialog.c
591 * gtk/gtktreeview.c: use canonical signal names.
593 2008-08-11 Sven Neumann <sven@gimp.org>
598 * gtk/gtklistitem.c: use canonical signal names.
600 2008-08-11 Sven Neumann <sven@gimp.org>
606 * gtk/gtkoldeditable.c
607 * gtk/gtkpaned.c: use canonical signal names.
609 2008-08-11 Michael Natterer <mitch@imendio.com>
611 * demos/gtk-demo/textscroll.c (create_text_view): don't use the
612 deprecated gtk_box_pack_start_defaults().
614 2008-08-11 Sven Neumann <sven@gimp.org>
616 * gtk/gtkaboutdialog.c
617 * gtk/gtkcellrendereraccel.c
618 * gtk/gtkcellrenderercombo.c
619 * gtk/gtkcellrendererspin.c
620 * gtk/gtkcellrenderertext.c
625 * gtk/gtkdnd-quartz.c
628 * gtk/gtkentrycompletion.c
629 * gtk/gtkfilechooserbutton.c
630 * gtk/gtkfilechooserdefault.c
631 * gtk/gtkfilechooserentry.c
633 * gtk/gtkinputdialog.c
634 * gtk/gtkmenutoolbutton.c
636 * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
638 2008-08-11 Sven Neumann <sven@gimp.org>
642 * gdk/gdkdisplaymanager.c: use canonical signal names.
644 2008-08-10 Richard Hult <richard@imendio.com>
646 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
647 (gtk_clipboard_request_uris): Implement missing functions.
649 2008-08-09 Sven Herzberg <sven@imendio.com>
651 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
653 * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
655 2008-08-08 Cody Russell <bratsche@gnome.org>
657 Bug 547027 – menus are broken
660 * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
661 mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
662 in menus caused by bug #56070.
664 2008-08-09 Sven Herzberg <sven@imendio.com>
666 Get the gdk+cairo test to pass distcheck, too
668 * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
669 pick up the one created at build time
670 * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
673 2008-08-08 Sven Neumann <sven@gimp.org>
676 * gtk/gtkscrolledwindow.c
678 * gtk/gtkspinbutton.c
680 * gtk/gtkstatusicon.c: use canonical signal names.
682 2008-08-08 Sven Neumann <sven@gimp.org>
685 * gtk/gtktextbuffer.c
686 * gtk/gtktextlayout.c
687 * gtk/gtktexttagtable.c
693 * gtk/gtktreemodelfilter.c
694 * gtk/gtktreemodelsort.c
695 * gtk/gtktreeviewcolumn.c: use canonical signal names.
697 2008-08-08 Sven Neumann <sven@gimp.org>
701 * gtk/gtktreesortable.c
704 * gtk/gtkviewport.c: use canonical signal names.
706 2008-08-08 Sven Neumann <sven@gimp.org>
709 * gtk/gtkwindow.c: use canonical signal names.
711 2008-08-08 Sven Neumann <sven@gimp.org>
713 * gtk/gtkadjustment.c
720 * gtk/gtkspinbutton.c
724 * gtk/gtkviewport.c: use the canonical signal name "value-changed"
725 instead of "value_changed".
727 2008-08-08 Tor Lillqvist <tml@novell.com>
730 * gtk/makegtkalias.pl
732 * gtk/gtkfilechooser.c
734 * gtk/gtkiconfactory.c
739 * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
742 2008-08-07 Matthias Clasen <mclasen@redhat.com>
744 * configure.in: Its g_content_type_from_mime_type, not
745 g_content_type_for_mime_type. Noticed by Roger Brown
747 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
749 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
750 combination of g_warning+exit to avoid misleading the user.
752 2008-08-07 Michael Natterer <mitch@imendio.com>
754 * gtk/gtkactiongroup.c
755 * gtk/gtkcellrendererspin.c
756 * gtk/gtkfilechooserbutton.c
757 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
759 2008-08-07 Michael Natterer <mitch@imendio.com>
763 * gtk/gtkfilechooserbutton.c
765 * gtk/gtkmenutoolbutton.c
766 * gtk/gtkoptionmenu.c
767 * gtk/gtkradiobutton.c
768 * gtk/gtkradiomenuitem.c
771 * gtk/gtktreeview.c: chain up unconditionally in destroy().
773 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
775 2008-08-07 Michael Natterer <mitch@imendio.com>
777 Bug 546756 – gnome-panel crashed with SIGSEGV in
778 g_type_check_instance_cast()
780 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
781 and remove the image now that it's an internal child and isn't
782 destroyed by gtk_container_destroy() any longer. Thanks to tml for
783 helping bisecting this down.
785 2008-08-07 Sven Neumann <sven@gimp.org>
787 Bug 546771 - Add writable property "visited" to GtkLinkButton
790 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
791 read-write property with getters and setters. Also move the nick
792 and blurb of the "uri" property to the proper translation domain.
794 2008-08-07 Michael Natterer <mitch@imendio.com>
796 * gtk/gtkicontheme.c (apply_emblems): move variables to local
797 scopes, fix indentation and silence bogus warning about using
798 uninitialized variables.
800 2008-08-07 Richard Hult <richard@imendio.com>
802 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
804 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
805 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
806 deadlock and missing events.
808 2008-08-07 Richard Hult <richard@imendio.com>
810 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
811 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
812 Implement those, fixes loading python bindings.
814 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
816 Bug 545031 – list of recently used files is created world-readable
818 * gtk/gtkrecentmanager.c:
819 (gtk_recent_manager_real_changed): Set the recently-used.xbel
820 file to 0600. (Guido Berhoerster)
822 2008-08-06 Michael Natterer <mitch@imendio.com>
824 * modules/printbackends/cups/gtkcupsutils.c
825 (gtk_cups_connection_test_free): remove return value, this
826 function returns void.
828 2008-08-06 Michael Natterer <mitch@imendio.com>
833 * gtk/gtkscrolledwindow.c
834 * gtk/gtktreeview.c: remove CLAMPing from values passed to
835 gtk_adjustment_set_value() since it does it right now.
837 2008-08-05 Matthias Clasen <mclasen@redhat.com>
839 * configure.in: Bump version
841 * === Released 2.13.6 ===
843 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
844 since it breaks make distcheck.
846 2008-08-05 Michael Natterer <mitch@imendio.com>
848 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
849 early if priv->button is NULL to avoid zillions of warnings when
850 destroying combo boxes that were working fine before the
851 button sensitivity patch.
853 2008-08-05 Michael Natterer <mitch@imendio.com>
855 Bug 544858 – Seal GtkAdjustment
858 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
861 Add accessors for all properties and additionally a new function
862 gtk_adjustment_configure() which sets all properties at
863 once. Patch by Christian Dywan and myself.
865 2008-08-05 Michael Natterer <mitch@imendio.com>
867 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
868 to [lower...upper-page_size] instead of only [lower...upper].
870 * README: add note about this change.
872 While this fix is correct and should have been there forever, it
873 has the potential to break some corner cases, however these cases
874 would set page_size to a value != 0 which suggests they want it
877 2008-08-05 Michael Natterer <mitch@imendio.com>
879 * tests/testiconview.c: don't use the deprecated
880 gtk_box_pack_start_defaults().
882 2008-08-04 Matthias Clasen <mclasen@redhat.com>
884 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
886 * gtk/gtkcelllayout.c:
888 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
889 implementations. Patch by Antti Kaijanmäki
891 2008-08-05 Tor Lillqvist <tml@novell.com>
893 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
894 avoid warning on Win64.
896 2008-08-05 Tor Lillqvist <tml@novell.com>
898 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
899 gintptr instead of long when calculating hash, so we get all of
900 the pointer bits on Win64 where long is 32 bits.
902 2008-08-05 Tor Lillqvist <tml@novell.com>
904 * gtk/gtkprintoperation-win32.c: Don't need to declare
905 IPrintDialogCallback with mingw64 either. It seems to be provided
906 with the newer versions of the headers included with mingw64.
908 2008-08-05 Tor Lillqvist <tml@novell.com>
910 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
912 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
913 as the GdkNativeWindow parameter to
914 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
916 * gtk/gtkwin32embed.h
917 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
918 parameters to actually be WPARAM and LPARAM.
920 * gtk/gtkplug-win32.c: Adapt accordingly.
922 2008-08-04 Matthias Clasen <mclasen@redhat.com>
924 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
925 a word, use 'audible' instead.
927 2008-08-05 Tor Lillqvist <tml@novell.com>
929 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
930 with parens so cast covers all of it.
932 2008-08-04 Matthias Clasen <mclasen@redhat.com>
934 Bug 382291 – Automatically dim the combobox when the model is empty
937 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
938 property with getter and setter to control the sensitity of
939 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
940 Christian Dywan and others.
942 * README.in: Add a note about automatic combobox sensitivity.
944 2008-08-04 Matthias Clasen <mclasen@redhat.com>
946 * gtk/tests/Makefile.am: Skip crossingevents test when
947 running make check, since it doesn't work on a naked
950 2008-08-05 Tor Lillqvist <tml@novell.com>
952 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
956 * gdk/win32/gdkdnd-win32.c
957 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
958 from guint32 to GdkNativeWindow for
959 gdk_drag_get_protocol_for_display() and
960 gdk_drag_get_protocol(). This is not an API break on existing
961 platforms, as GdkNativeWindow has been guint32 for them
966 * gdk/win32/gdkselection-win32.c
967 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
968 parameter of gdk_selection_send_notify_for_display() and
969 gdk_selection_send_notify().
971 * gdk/win32/gdkcursor-win32.c
972 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
973 versa to avoid gcc 4.4 signedness warnings.
975 * gdk/win32/gdkevents-win32.c
976 * gdk/win32/gdkproperty-win32.c
977 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
978 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
979 values in debugging output using the %p format.
981 * gdk/win32/gdkkeys-win32.c
982 * gdk/win32/gdkfont-win32.c
983 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
985 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
988 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
992 * gtk/gtkwindow.c: Change the type of the xid parameter of the
993 internal gtk_window_remove_embedded_xid() and
994 gtk_window_add_embedded_xid() functions from guint to
997 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
998 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
999 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
1002 2008-08-05 Tor Lillqvist <tml@novell.com>
1004 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
1005 before doing bit tests on them.
1007 2008-08-05 Tor Lillqvist <tml@novell.com>
1009 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
1010 Windows, too. It just makes more sense, as a HWND *is* a kind of
1013 * gdk/gdkconfig.h.win32: Ditto here.
1015 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
1017 Bug 534979 – GtkImageMenuItem is a bin but has two children.
1019 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
1020 include the image widget when iterating over non-internal
1021 children. Patch by rainwoodman.
1023 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1027 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1029 * configure.in: Bump glib dependency to 2.17.6
1031 2008-08-04 Michael Natterer <mitch@imendio.com>
1036 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
1038 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
1040 2008-08-04 Michael Natterer <mitch@imendio.com>
1042 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
1043 "gdkrgb" is in the debug flags.
1045 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
1046 here, this function is deprecated and the debug flag didn't work
1047 when using GDK properly.
1049 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1051 * gtk/gtkicontheme.c: Update to handle GEmblem.
1053 2008-08-04 Michael Natterer <mitch@imendio.com>
1055 * tests/prop-editor.c: undeprecate (apart from still using
1058 2008-08-04 Michael Natterer <mitch@imendio.com>
1060 * gtk/gtkseparatortoolitem.c
1061 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
1063 * gtk/gtkcalendar.c (calendar_set_display_option): use
1064 gtk_calendar_set_display_options() instead of the deprecated
1065 gtk_calendar_display_options().
1067 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1069 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
1071 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1073 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
1074 to be the GtkNotebook background color. This is a workaround to
1075 prevent black pixels in rounded tabs when reordering. Improves
1078 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1081 * gtk/gtkfilechooserbutton.[ch]:
1082 * gtk/gtkfilechooserdefault.[ch]:
1083 * gtk/gtkfilechooserdialog.[ch]:
1084 * gtk/gtkfilechooserwidget.[ch]: Deprecate
1085 gtk_file_chooser_*_new_with_backend(), since GIO is already used
1086 directly. Fixes #545976.
1088 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1091 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
1093 * gtk/gtkfilechooserbutton.c:
1094 * gtk/gtkfilechooserdefault.c:
1095 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
1097 2008-08-04 Michael Natterer <mitch@imendio.com>
1099 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
1101 Fix pltcheck.sh by restricting the visibility of deprecated
1102 symbols to the places where they are actually used:
1108 * gtk/gtkprogressbar.c
1110 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
1111 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
1118 * gtk/gtkprogress.h: make the headers visible if the respective
1119 __GTK_FOO_C__ are defined.
1121 2008-08-04 Michael Natterer <mitch@imendio.com>
1125 * gtk/gtkoldeditable.c
1127 * gtk/gtktipsquery.c
1129 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
1131 2008-08-04 Michael Natterer <mitch@imendio.com>
1135 * gtk/gtkitemfactory.[ch]
1136 * gtk/gtkobject.[ch]
1137 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
1139 2008-08-04 Sven Neumann <sven@gimp.org>
1141 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
1142 color when the "visited" state is changed.
1144 2008-08-04 Michael Natterer <mitch@imendio.com>
1146 * gtk/gtkwindow.c: move the code of the deprecated
1147 gtk_window_set_policy() to a new private function
1148 gtk_window_set_policy_internal() and call it from
1149 gtk_window_set_policy().
1151 (gtk_window_set_resizable): use the new internal function in order
1152 to avoid our own deprecated public API.
1154 2008-08-04 Michael Natterer <mitch@imendio.com>
1156 * gtk/gtkbindings.c: move the code of the deprecated
1157 gtk_binding_entry_clear() to a new private function
1158 gtk_binding_entry_clear_internal() and call it from
1159 gtk_binding_entry_clear().
1161 (_gtk_binding_entry_add_signall)
1162 (gtk_binding_parse_bind): use the new internal function in order
1163 to avoid our own deprecated public API.
1165 2008-08-04 Michael Natterer <mitch@imendio.com>
1167 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
1168 avoid our own deprecated public API and use
1169 gtk_font_selection_get_font_internal() instead of
1170 gtk_font_selection_get_font().
1172 (gtk_font_selection_get_font)
1173 (gtk_font_selection_dialog_get_font): Add missing
1174 "Deprecated: 2.0" to the api doc comments.
1176 2008-08-04 Michael Natterer <mitch@imendio.com>
1178 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
1180 2008-08-04 Tor Lillqvist <tml@novell.com>
1182 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
1183 Windows. AC_SUBST it.
1186 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
1188 2008-08-04 Tor Lillqvist <tml@novell.com>
1190 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1192 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
1194 * gdk/gdkconfig.h.win32: Ditto here.
1196 2008-08-04 Tor Lillqvist <tml@novell.com>
1198 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
1199 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
1201 2008-08-04 Tor Lillqvist <tml@novell.com>
1203 * configure.in: Don't bother with the test "if gio can sniff png"
1204 if $gio_can_sniff has been already set. Preset it to "no" for
1205 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
1206 or from Unix to Windows in general. No idea how this should be
1207 handled for cross-compilation in general.
1209 2008-08-04 Tor Lillqvist <tml@novell.com>
1211 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
1212 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
1213 present in NT-based Windows since Windows 2000.
1214 (enum_monitor): For some reason the MONITORINFOEX struct in
1215 mingw-win64 is different than the proper one as in MSDN and 32-bit
1216 mingw, so just copy the proper definition here.
1218 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
1220 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
1221 gtk_tree_view_enable_model_drag_source unsets reorderable property
1223 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
1226 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1228 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
1230 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1232 Bug 546128 – Weirz string
1234 * gtk/gtksettings.c: Add a translator hint.
1235 Requested by Ignacio Casal Quinteiro
1237 2008-08-02 Tor Lillqvist <tml@novell.com>
1239 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
1241 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
1242 potential leak. Thanks to Morten Welinder.
1244 2008-08-02 Tor Lillqvist <tml@novell.com>
1246 * gtk/gtkprint-win32.c
1247 * gtk/gtkprint-win32.h
1248 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
1251 2008-08-02 Tor Lillqvist <tml@novell.com>
1253 Bug 339699 - implement gtk_print_operation_set_show_dialog for
1256 * gtk/gtkprint-win32.c
1257 * gtk/gtkprint-win32.h
1258 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
1260 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1262 Bug 544302 – GtkStatusIcon should support GIcon
1265 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
1266 Patch by Christian Dywan
1268 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1270 Bug 429427 – Add "arrow-spacing" style property to GtkRange
1272 * gtk/gtkrange.c: Add an arrow-spacing style property.
1273 Patch by Carlos Garnacho and Christian Dywan
1275 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1277 Bug 429411 – add style properties to set minimum progressbar
1280 * gtk/gtkprogressbar.c: Add style properties for minimum size.
1281 Patch by Carlos Garnacho and Christian Dywan
1283 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1285 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1288 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1291 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1293 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1296 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1297 Explain and show how iterators pointing to empty rows should be
1298 handled in the visible function. Patch by Björn Lindqvist
1300 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1302 Bug 539733 – No way to control treeview separator height
1304 * gtk/gtktreeview.c: Respect the wide-separators and
1305 separator-height style properties when drawing separators.
1306 Patch by Christian Dywan
1308 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1310 Bug 65818 – rename gtk_window_set_default() and add getter for it
1313 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1314 gtk_window_get_default_widget. Patch by Christian Dywan
1316 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1318 Bug 344383 – use po/LINGUAS
1320 * po/LINGUAS: New file, to make translators happy.
1321 * configure.in: Use po/LINGUAS
1322 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1323 Patch by Claude Paroz
1325 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1327 * gdk/gdkapplaunchcontext.c: Improve the docs
1329 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1331 Bug 545931 – small documentation typos
1333 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1335 2008-08-01 Hans Breuer <hans@breuer.org>
1337 * gdk/makefile.msc : build gdkwindowimpl
1339 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1342 * tests/makefile.msc : update
1344 2008-07-31 Cody Russell <bratsche@gnome.org>
1346 Bug 56070 – Can't click button after setting it sensitive.
1348 * gtk/gtkwidget.[ch]
1353 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1355 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1357 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1358 has worked on and helped out with this.
1360 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1362 Bug 424207 – printing hangs on unreachable cups server
1364 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1365 non-blocking test for reachability of the cups server.
1367 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1368 while trying to get the default printer. Patch by Marek Kasik.
1370 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1372 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1373 timer for automatic commit.
1375 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1376 timer for the store timeout.
1378 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1381 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1382 with second-granularity versions. Patch by Marek Kasik.
1384 2008-07-30 Tor Lillqvist <tml@novell.com>
1386 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1387 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1388 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1389 is in hundredths of a millimeter. Patch by Sven Neumann.
1391 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1393 * gtk/gtktreemodel.c: Small doc improvements.
1395 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1397 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1399 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1401 2008-07-27 Sven Herzberg <sven@imendio.com>
1403 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1405 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1407 2008-07-25 Murray Cumming <murrayc@murrayc.com>
1409 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1410 Documented the activate and popup-menu signals as being for use
1411 by applications and language bindings, though they are G_SIGNAL_ACTION,
1412 as stated in bug #361561.
1414 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
1416 * modules/printbackends/cups/gtkprintbackendcups.c:
1417 (cups_printer_get_options): don't try free gettext() values,
1418 fix a printing dialog crasher (bug 544390)
1420 2008-07-24 Cody Russell <bratsche@gnome.org>
1422 Bug 544510 – SetTimer callback signatures has the wrong type
1424 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1425 sync_timer_proc() to use UINT_PTR for the 'id' parameter
1426 instead of 'id'. Patch by Richard Hult.
1428 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1430 Bug 543915 – "Sole completion" translation issue
1432 * gtk/gtkfilechooserentry.c: Add translator hints to a
1433 bunch of strings. Requested by Andre Klapper
1435 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1437 Bug 544265 – GDK assumes XFIXES extension
1439 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1440 Only call XFixes functions if the server has the extension.
1441 Reported by Ian Turner.
1443 2008-07-22 Matthias Clasen <mclasen@redhat.com>
1445 * configure.in: Compare two content types, not content type
1448 2008-07-22 Sven Herzberg <sven@imendio.com>
1450 Fix svn:ignore and the include condition
1452 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1454 2008-07-22 Tor Lillqvist <tml@novell.com>
1456 * configure.in: Workaround for what apparently is a bug in MSYS:
1457 returning -1 from main() is misinterpreted as exit status 0, so
1458 make sure we return 0 or 1. (The net effect of the bug was that no
1459 image loading worked on Windows.)
1461 2008-07-22 Sven Herzberg <sven@imendio.com>
1463 Add a test for my fixes from July 20th.
1465 * configure.in: create gdk/tests/Makefile
1466 * gdk/Makefile.am: include the tests subfolder
1467 * gdk/tests/Makefile.am: create and run my test
1468 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1469 (passes at least for x11 and quartz backends)
1471 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
1473 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1474 if driver is detected as randr12_compat (ie X driver
1475 is not RandR 1.2 compliant). Fixes multihead with
1476 such drivers. Bug #543317.
1478 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1480 * configure.in: Default to linking against Xinerama again,
1481 so that we can fallback to Xinerama when broken X drivers
1482 make Xrandr useless. Sigh.
1484 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1486 * configure.in: Bump version
1488 * === Released 2.13.5 ===
1490 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1492 * gtk/gtktestutils.c:
1493 * gtk/gtkscalebutton.c:
1494 * gtk/gtkmessagedialog.c:
1496 * gtk/gtkcontainer.c:
1497 * gtk/gtkcolorseldialog.c:
1498 * gtk/gtkaccelgroup.c:
1500 * gtk/gtkfontsel.c: Fix some doc problems.
1502 2008-07-21 Michael Natterer <mitch@imendio.com>
1504 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1505 the deprecated gtk_box_pack_start_defaults().
1507 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1508 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1509 instead of the deprecated gtk_binding_entry_add_signall().
1511 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
1513 * gtk/gtkrecentmanager.c:
1514 (recent_app_info_new), (recent_app_info_free): Use GSlice to
1515 allocate the application data for recently used resources;
1516 do not call time() to initialize the timestamp, as it will
1517 be overwritten anyway later. (#535223, Michael Meeks)
1519 2008-07-21 Kristian Rietveld <kris@gtk.org>
1521 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1523 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1524 for width_changed != NULL. (Patch by Josselin Mouette).
1526 2008-07-21 Michael Natterer <mitch@imendio.com>
1528 Bug 442042 – GtkScaleButton is too limited
1530 * tests/testvolumebutton.c: forgot to commit code that tests
1531 toggling the button's orientation. Also fixes the file's coding
1534 2008-07-21 Cody Russell <bratsche@gnome.org>
1536 Bug 153567 – Repaint glitches in widgets
1538 * gdk/win32/gdkevents-win32.c: Set a sync timer when
1539 we receive WM_SYNCPAINT, and RedrawWindow() once
1542 2008-07-21 Michael Natterer <mitch@imendio.com>
1544 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1545 g_signal_override_class_handler() instead of
1546 g_signal_override_class_closure().
1548 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1550 (gtk_text_view_compat_move_focus): chain up using
1551 g_signal_chain_from_overridden_handler() instead of the generic
1552 g_signal_chain_from_overridden() which needs manual fiddling with
1553 millions of GValues.
1555 2008-07-21 Michael Natterer <mitch@imendio.com>
1557 * gtk/gtkuimanager.c: remove redundant include.
1559 2008-07-21 Michael Natterer <mitch@imendio.com>
1561 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
1563 * gtk/gtkfilechooserdefault.c
1565 * gtk/gtkmenushell.c
1566 * gtk/gtkscalebutton.c
1569 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
1570 some missing I_() to the signal names.
1572 2008-07-21 Michael Natterer <mitch@imendio.com>
1574 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
1575 functions and virtual function implementations. Some minor
1578 2008-07-20 Andre Klapper <a9016009@gmx.de>
1580 Bug 543915 - translation issues
1582 * modules/printbackends/cups/gtkprintbackendcups.c:
1583 Add translator comments for several strings.
1585 2008-07-20 Sven Herzberg <sven@imendio.com>
1587 reviewed by: Richard Hult
1589 Fixes #543868: GdkPixmap is upside down on quartz
1591 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
1592 coordinate space from GTK+ orientation to CoreGraphics orientation
1593 before calling CoreGraphics code
1594 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
1595 coordinate space flipping (we always get it right, now)
1596 * gdk/quartz/gdkpixmap-quartz.c
1597 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
1598 creating the CGContextRef
1600 2008-07-20 Sven Herzberg <sven@imendio.com>
1602 reviewed by: Richard Hult
1604 Extracted the CGContextRef creation into a virtual function of
1605 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
1608 * gdk/quartz/gdkdrawable-quartz.c
1609 (gdk_quartz_drawable_get_context): dropped the different
1610 implementations; forward to the virtual function now
1611 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
1612 * gdk/quartz/gdkpixmap-quartz.c
1613 (gdk_pixmap_impl_quartz_get_context),
1614 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
1615 * gdk/quartz/gdkwindow-quartz.c
1616 (gdk_window_impl_quartz_get_context),
1617 (gdk_window_impl_quartz_class_init): implemented get_context()
1619 2007-08-19 Matthias Clasen <mclasen@redhat.com>
1623 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1625 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
1626 inside "apply" signal handler
1628 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
1629 Patch by Antti Kaijanmäki
1631 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1633 Bug 543217 – GTK application crashed with directfb backend
1635 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
1636 _gdk_visual_init(). Patch by Huimin He.
1638 2008-07-18 Federico Mena Quintero <federico@novell.com>
1640 * gtk/updateiconcache.c (build_cache): If the resulting cache file
1641 would be empty, erase the old cache file as well as the temporary file.
1643 2008-07-18 Federico Mena Quintero <federico@novell.com>
1645 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
1646 do funny casts to avoid compiler warnings.
1648 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
1650 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
1652 * gtk/gtkmodules.c (load_module): Likewise.
1654 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
1656 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
1658 * gtk/queryimmodules.c (query_module): Likewise.
1660 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
1661 (find_widget_at_pointer): Likewise.
1663 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1665 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
1666 hunk of the previous commit.
1668 2008-07-18 Sven Herzberg <sven@imendio.com>
1670 Make aliasfilecheck.sh pass for the quartz backend, too.
1672 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
1674 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
1676 * configure.in: Added Pashto (ps) to ALL_LINGUAS
1678 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1680 Bug 447998 - GtkBuilder does not support building parts of the xml tree
1684 * gtk/gtkbuilderprivate.h:
1685 * gtk/gtkbuilderparser.c:
1687 Add two new functions that allow cherry picking and construct
1688 objects from a ui description file or string.
1690 * gtk/tests/builder.c: tests for the above.
1692 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1694 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
1695 signal) case and plug a couple of leaks.
1697 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1699 Bug 543244 – crashes when renaming a bookmark
1701 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
1702 free a GFile. Reported by Sebastien Bacher
1704 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1706 Bug 339591 – Detect list of availible cover pages
1708 Patch by Marek Kasik:
1709 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
1710 available cover pages and the default front and back cover pages
1711 from the cups server.
1713 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1715 Bug 384940 – handle rejecting jobs and authentication meaningfully
1717 Patch by Marek Kasik, icons by Mike Langlie:
1719 * gtk/gtkprintbackend.h:
1720 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
1721 and getters/setters.
1724 * gtk/gtkiconfactory.c:
1726 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
1728 * modules/printbackends/cups/gtkprintbackendcups.c:
1729 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
1732 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1734 * configure.in: Add a test to see if GIO can sniff image data,
1735 this should make gdk-pixbuf use its own sniffing again, on OS X.
1737 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
1739 Bug 542523 – GtkTextTag should handle setting properties to NULL
1741 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1742 setting it to NULL instead of displaying a warning.
1744 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1746 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1748 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1749 Call shortcuts_check_popup_sensitivity() every time the
1750 menu is popped up. Problem reported by Hong Jen Yee
1752 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1754 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1755 gtk_file_chooser_unselect_all
1757 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1758 the image when the label is set to "(None)". Reported by
1761 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1763 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1765 Bug 507394 – mem leak from gtk_selection_add_targets
1767 * gtk/gtkoldeditable.c: Free target lists in finalize.
1768 Reported by Christian Persch
1770 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1773 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1775 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1777 * gtk/gtklabel.c: Trivial doc fix.
1779 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1781 Bug 542853 – jasper test fails due to incomplete library arguments
1783 * configure.in: Add -ljpeg when checking for jasper.
1784 Reported by Mike Calmus
1786 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1788 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1791 2008-07-11 Kristian Rietveld <kris@gtk.org>
1793 Bug 316087 - Resizing columns is chaotic
1795 * gtk/gtktreeprivate.h: add new member fields.
1797 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1799 (gtk_tree_view_size_allocate_columns): rework the size allocation
1800 mechanism to only recalculate the expand values if the width of the
1801 widget, content or the column configuration has changed,
1802 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1803 to before the adjustment updates so the proper width is used after
1805 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1806 use the column width minus the expand value for the resized width,
1807 (gtk_tree_view_move_column_after): update call to
1808 gtk_tree_view_size_allocate_columns().
1810 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1811 resized width to FALSE.
1813 * tests/Makefile.am:
1814 * tests/testtreecolumnsizing.c: new interactive test program
1815 for testing column resizing with different column configurations.
1817 2008-07-11 Simos Xenitellis <simos@gnome.org>
1819 * gtk/compose-parse.py:
1820 * gtk/gtkimcontextsimple.c:
1821 Fixed typo for the name of Markus Kuhn, issue mentioned
1822 in bug #321896 (comment 61).
1824 2008-07-11 Simos Xenitellis <simos@gnome.org>
1826 Bug 334418 – Support easy input of ellipsis
1828 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1829 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
1831 2008-07-03 Murray Cumming <murrayc@murrayc.com>
1833 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
1834 tooltip-markup properties: Interpret an empty string as a NULL
1835 string because an empty tooltip is silly. This will help
1836 language bindings that do not bother to have the two types of
1840 2008-07-10 Matthias Clasen <mclasen@redhat.com>
1842 Bug 542234 – iconview a11y implementation segfaults
1844 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1847 2008-07-08 Christian Neumair <cneumair@gnome.org>
1849 * gtk/gtkuimanager.c (update_node):
1850 Skip update of accelerator child node if it has no associated action.
1853 2008-07-07 Cody Russell <bratsche@gnome.org>
1855 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1857 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1858 existing modal hint value before setting it.
1860 2008-07-07 Cody Russell <bratsche@gnome.org>
1862 Bug 540994 – [Win32] Some windows don't appear at the top when created
1864 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1866 I actually already committed this one by accident, probably when I committed
1867 #541305, but just wanted to document it here in the ChangeLog.
1869 2008-07-07 Johan Dahlin <johan@gnome.org>
1871 * gtk/tests/builder.c (test_cell_view):
1872 Add a test case for 528845.
1874 2008-07-07 Tor Lillqvist <tml@novell.com>
1876 * gdk/win32/gdkwindow-win32.c
1877 (gdk_window_foreign_new_for_display): Need to initialise
1878 private->impl here, too.
1880 2008-07-07 Michael Natterer <mitch@imendio.com>
1882 * gtk/gtkfilesystem.c: include the two needed headers instead of
1885 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1887 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1890 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1891 implementation. Reported by Kevin Ryde.
1893 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1895 Bug 469068 – clarify gdk_cairo_create()
1897 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1898 contexts cannot be cached for handling expose events.
1899 Proposed by Behdad Esfahbod.
1901 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1903 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1905 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1906 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1908 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1910 Bug 510225 – gtk_widget_get_composite_name retval should be freed
1912 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1913 docs. Pointed out by Wolfgang Oertl
1915 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1917 Bug 531129 – gtk_style_copy() does not include a return value or
1920 * gtk/gtkstyle.c: Document gtk_style_copy.
1922 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1924 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1925 Bug 513580 – Broken link in GTK+ FAQ
1927 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1929 2008-07-07 Christian Dywan <christian@imendio.com>
1931 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1932 erroneously added g_return_if_fail (bug #541811).
1934 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1936 Bug 343663 – source-buffer highlighting highlights "char" in
1937 gtk_text_iter_forward_char
1939 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1941 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1943 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1945 * gtk/gtksettings.c: Improve the documentation of the
1946 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1948 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1950 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1953 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1954 Check that the cursor is over a valid date before retrieving
1955 its details. Patch by Chris Wilson
1957 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1959 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1961 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1962 64-bit brokenness. Reported by Christian Hammond.
1964 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1966 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1969 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1970 Be more robust. Reported by Jelte van der Hoek
1972 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1974 Bug 540917 – deprecate pack_start_defaults()
1977 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1978 Proposed by Owen Taylor
1980 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1982 * configure.in: Bump version
1984 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1986 * === Released 2.13.4 ===
1988 2008-07-05 Michael Natterer <mitch@imendio.com>
1990 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
1991 deprecated section because it isn't deprecated.
1993 2008-07-05 Michael Natterer <mitch@imendio.com>
1995 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
1996 other include weirdness in this file.
1998 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2002 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2004 * gtk/gtkiconview.c:
2006 * gtk/gtkscalebutton.c: Small doc fixes.
2008 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2011 * gdk/x11/gdktestutils-x11.c: Small doc fixes
2013 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2015 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
2017 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
2019 * gtk/gtkentry.c: Fix the property getter for text-length property.
2021 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
2023 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2025 * gtk/gtkmenu.c: Debork the attach-widget property.
2027 2008-07-04 Michael Natterer <mitch@imendio.com>
2031 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
2041 * gtk/gtkoldeditable.c
2044 * gtk/gtktipsquery.c
2046 * gtk/gtktreeitem.c: don't #define it again before including
2047 gtkalias.h after it has been #undef'ed before.
2049 2008-07-04 Michael Natterer <mitch@imendio.com>
2051 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
2052 to FALSE instead of 0.
2054 2008-07-04 Michael Natterer <mitch@imendio.com>
2056 Allocate with GSlice:
2058 * gtk/gtkassistant.c: GtkAssistantPage
2059 * gtk/gtkcellview.c: GtkCellViewCellInfo
2060 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
2061 * gtk/gtkfilefilter.c: FilterRule
2062 * gtk/gtknotebook.c: GtkNotebookPage
2064 2008-07-04 Michael Natterer <mitch@imendio.com>
2066 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
2068 2008-07-04 Michael Natterer <mitch@imendio.com>
2070 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
2071 variable to GtkWidget fo fix two warnings.
2073 2008-07-04 Michael Natterer <mitch@imendio.com>
2075 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
2079 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
2080 and _get_minus_button(). Patch by Christian Dywan.
2082 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2084 * gtk/gtkscalebutton.c:
2086 * gdk/gdkwindowimpl.c: Fix make check.
2088 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2090 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
2091 constructed using GtkUIManager
2093 * gtk/gtkmenuitem.c: Fall back to the default positioning when
2094 the menuitem is not realized. Patch by Björn Lindqvist.
2096 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2098 Bug 540612 – mem leak in filechooser
2100 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
2101 Patch by Christian Persch.
2103 2008-07-04 Tor Lillqvist <tml@novell.com>
2105 Bug 540861 - invalid UTF-8 in input device name
2107 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
2108 Unicode, and convert to UTF-8 for the GdkDevice's name field.
2110 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2112 Bug 538863 – Fixes assertion on entering empty folder
2114 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
2115 select the first row if the folder is empty.
2116 Patch by Olle Bergkvist.
2118 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2120 Bug 540915 – GtkBuilder sets properties in reverse order
2122 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
2123 in which they are specified in the xml file.
2125 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2127 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
2131 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
2132 accessor for the popup. Patch by Christian Dywan
2134 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2136 Bug 535498 – Printing demo broken
2138 * demos/gtk-demo/printing.c: Use monospace as font name,
2139 not mono. Also use the right advance when moving from line to line.
2140 Patch by Yevgen Muntyan.
2142 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2144 Bug 538547 – Update doc-shooter in gtk documentation
2146 * docs/tools/Makefile.am:
2147 * docs/tools/folder.png:
2148 * docs/tools/gnome.png: New images
2150 * docs/tools/widgets.c: Use the new images.
2151 Patch by Baptiste Mille-Mathias.
2153 2008-07-03 Michael Natterer <mitch@imendio.com>
2155 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
2156 names of binding signal implementations.
2158 2008-07-03 Li Yuan <li.yuan@sun.com>
2160 * gail-uninstalled.pc.in:
2161 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
2163 2008-07-03 Cody Russell <bratsche@gnome.org>
2165 Bug 540529 – Remove all GIMP references
2169 * gtk+-unix-print-2.0.pc.in:
2170 * gtk+-2.0-uninstalled.pc.in:
2171 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
2172 GTK+ Graphical UI Library in the pkg-config files.
2174 2008-07-02 Cody Russell <bratsche@gnome.org>
2176 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
2178 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
2181 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
2182 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
2185 2008-07-02 Cody Russell <bratsche@gnome.org>
2187 Bug 541249 – [Win32] Fix some internal static methods
2189 * gdk/gdkwindow-win32.c: Make the interface implementation methods
2192 2008-07-02 Michael Natterer <mitch@imendio.com>
2194 Bug 537591 – Don't hardcode minimum width of menuitems
2196 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
2197 introduces a "width-chars" style property which replaces the
2198 hardcoded minimum width of menuitems with submenu. Patch
2199 extracted from Maemo-GTK+.
2201 2008-07-02 Michael Natterer <mitch@imendio.com>
2203 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
2205 2008-07-02 Kristian Rietveld <kris@imendio.com>
2207 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
2208 Since s/2.16/2.14/ for the new gicon property.
2210 2008-07-02 Kristian Rietveld <kris@imendio.com>
2212 Bug 455268 - Add gtk-enable-tooltips GtkSetting
2215 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
2217 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
2219 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
2220 introduced XSetting into account.
2222 * demos/gtk-demo/appwindow.c: don't use the now deprecated
2223 gtk_toolbar_set_tooltips().
2225 2008-07-02 Cody Russell <bratsche@gnome.org>
2227 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
2229 * gdk/win32/gdkprivate-win32.h:
2230 * gdk/win32/gdkgeometry-win32.c:
2231 * gdk/win32/gdkevents-win32.c:
2232 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
2233 the newly refactored GdkWindow code.
2235 2008-07-01 Cody Russell <bratsche@gnome.org>
2237 Bug 539164 – Windows' System Menu blocks main loop
2239 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
2240 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
2241 GLib mainloop from there.
2243 2008-07-01 Richard Hult <richard@imendio.com>
2245 Some aftermath from the window impl cleanups:
2247 * gdk/quartz/gdkwindow-quartz.c:
2248 (gdk_window_merge_child_input_shapes): Rename and export again.
2249 (gdk_window_quartz_get_offsets): Make static.
2251 2008-07-01 Michael Natterer <mitch@imendio.com>
2253 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
2255 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2257 539790 – [PATCH] Please add three new settings to GtkSettings
2259 * gdk/x11/gdksettings.c:
2260 * gtk/gtksettings.c: Add event sound settings.
2261 Patch by Lennart Poettering.
2263 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2265 Bug 434535 – printoperation's create_surface doesn't check temp file
2266 creation for success
2268 Patch by Marek Kasik:
2270 * gtk/gtkprintoperation-unix.c
2271 (_gtk_print_operation_platform_backend_create_preview_surface):
2272 Handle failure to create temp file by returning NULL.
2274 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
2275 Return FALSE if surface creation fails.
2277 (print_pages): If the preiew signal is not handled, show an
2280 2008-07-01 Michael Natterer <mitch@imendio.com>
2282 Bug 442042 – GtkScaleButton is too limited
2284 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2285 property that can be changed at any time after widget
2286 creation. Add public API for it.
2288 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2290 2008-06-30 Michael Natterer <mitch@imendio.com>
2292 Some unrelated cleanups found while reviewing
2293 the offscreen window patch:
2295 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2296 functions, fix some function header indentation, update
2297 documentation of redirect_to_drawable().
2299 * gdk/x11/gdkwindow-x11.c
2300 * gdk/x11/gdkpixmap-x11.c: fix function header
2301 formatting/indentation.
2303 * gtk/gtkwidget.c: use I_() on "damage_event".
2305 2008-06-30 Michael Natterer <mitch@imendio.com>
2307 * gdk/gdkinternals.h: remove duplicate declaration of
2310 2008-06-30 Michael Natterer <mitch@imendio.com>
2312 * gdk/Makefile.am: reorder source lists alphabetically.
2314 2008-06-30 Matthias Clasen <mclasen@redhat.com>
2316 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2318 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2319 Patch by Owen Taylor
2321 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
2323 Bug 530255 – GtkAboutDialog cuts off comments label
2324 Followup patch from Jan Arne Petersen
2326 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2328 2008-06-28 Michael Natterer <mitch@imendio.com>
2330 * gtk/gtkselection.h: properly indent the newly added
2331 GtkSelectionData accessors. Some newlines can't hurt either.
2333 2008-06-27 Mikael Hallendal <micke@imendio.com>
2335 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2337 2008-06-27 Mikael Hallendal <micke@imendio.com>
2339 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2340 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2341 pack_start and pack_end in order to reduce the code duplication.
2343 2008-06-27 Michael Natterer <mitch@imendio.com>
2345 Bug 442042 – GtkScaleButton is too limited
2347 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2348 "gtk-scalebutton-popup-window" on the popup window so it is
2351 2008-06-27 Kristian Rietveld <kris@imendio.com>
2353 * gdk/quartz/gdkgeometry-quartz.c:
2354 * gdk/quartz/gdkwindow-quartz.c:
2355 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2358 2008-06-27 Carlos Garnacho <carlos@imendio.com>
2360 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2361 critical warnings. Bug #539470.
2363 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
2365 Abstract some GdkWindow API into an interface that the backends
2366 must implement. (based on a patch by Alex Larsson)
2368 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2370 * gdk/gdk.symbols: Move symbols around.
2372 * gdk/gdkinternals.h:
2373 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2374 from the backends to a GInterface that the backends should implement
2377 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2378 wrapper call around the GdkWindowImpl interface vtable.
2380 * gdk/x11/gdkevents-x11.c:
2381 * gdk/x11/gdkgeometry-x11.c:
2382 * gdk/x11/gdkprivate-x11.h:
2383 * gdk/x11/gdkwindow-x11.c:
2384 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2385 the GdkWindowImpl interface.
2387 2008-06-27 Martyn Russell <martyn@imendio.com>
2389 Bug 540318 - Invalid URL
2391 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2392 in the warning produced here.
2394 2008-06-27 Michael Natterer <mitch@imendio.com>
2396 Bug 442042 – GtkScaleButton is too limited
2398 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2399 stuff that is part of the public API continues to be created in
2400 init() to stay compatible. Move creating of the popup scale to
2401 constructor(). Add an internal HScale class. Changed popup
2402 positioning for horizontal scales accordingly.
2404 2008-06-26 Michael Natterer <mitch@imendio.com>
2406 * gtk/gtkscalebutton.c
2407 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2408 prototypes, remove redundant includes, remove a little trailing
2411 2008-06-26 Richard Hult <richard@imendio.com>
2413 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2415 (_gtk_quartz_get_selection_data_from_pasteboard),
2416 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2417 Christian Dywan to clean up selection data setting.
2419 2008-06-26 Richard Hult <richard@imendio.com>
2421 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2422 deprecated function gtk_widget_ref, replace with g_object_ref.
2424 2008-06-26 Michael Natterer <mitch@imendio.com>
2426 * gtk/gtkfilesystem.c: #include "config.h"
2428 2008-06-26 Carlos Garnacho <carlos@imendio.com>
2430 * gtk/gtkfilechooserdefault.c
2431 (gtk_file_chooser_default_get_current_folder): current_folder can be
2432 NULL here, do not try to reference it (Bug #540235)
2433 (gtk_file_chooser_default_get_files): Deal better with
2434 gtk_file_chooser_default_get_current_folder() being able to return
2437 2008-06-26 Michael Natterer <mitch@imendio.com>
2439 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2440 allocate the GtkTextUtilCallbackInfo structs with GSlice.
2442 2008-06-25 Michael Natterer <mitch@imendio.com>
2444 * gtk/gtktypeutils.h: there is no reason to include
2445 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2446 replacing the <glib-object.h> include. Also move the remaining few
2447 non-deprecated things to the top and move some deprecated things
2448 around to clean up the mess with too many deprecated sections even
2451 2008-06-24 Michael Natterer <mitch@imendio.com>
2453 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2454 (also for GTK_COMPILATION). Move some deprecated typedefs around
2455 to reduce the mess with zillions of deprecated sections.
2457 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2458 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2459 though the latter is probably completely pointless.
2461 2008-06-24 Michael Natterer <mitch@imendio.com>
2463 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2464 the dialog's vbox was added (bug #539732).
2466 2008-06-24 Carlos Garnacho <carlos@imendio.com>
2468 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2469 thought for handling non-direct children. Fixes #539732.
2470 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2471 doesn't provide enough control to API users (removing, reordering...),
2472 this is better handled through:
2473 (gtk_dialog_get_content_area): New function which just returns
2475 * gtk/gtk.symbols: Modify accordingly.
2476 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2477 using gtk_dialog_get_[action|content]_area() instead of accessing
2478 dialog struct members directly.
2480 2008-06-24 Michael Natterer <mitch@imendio.com>
2482 * gtk/gtkassistant.h
2483 * gtk/gtkcellrenderer.h
2484 * gtk/gtkfilechooserentry.h
2488 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2489 if there is any other widget included, they all have to include
2490 their respective parent classes (the is-a relation works for
2493 2008-06-24 Michael Natterer <mitch@imendio.com>
2495 * gtk/gtktextutil.h: remove includes from this internal header.
2497 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2499 2008-06-23 Michael Natterer <mitch@imendio.com>
2501 * gtk/gtkinvisible.h: formatting.
2503 2008-06-23 Michael Natterer <mitch@imendio.com>
2506 * gtk/gtkbuildable.h
2507 * gtk/gtkbuilderprivate.h
2508 * gtk/gtkcelllayout.h
2509 * gtk/gtkentrycompletion.h
2510 * gtk/gtkfilechoosersettings.h
2511 * gtk/gtkfilesystem.h
2512 * gtk/gtkfilesystemmodel.h
2513 * gtk/gtkicontheme.h
2514 * gtk/gtklinkbutton.h
2515 * gtk/gtkpagesetup.h
2516 * gtk/gtkpapersize.h
2517 * gtk/gtkprintcontext.h
2518 * gtk/gtkprintoperation.h
2519 * gtk/gtkprintoperationpreview.h
2520 * gtk/gtkprintsettings.h
2521 * gtk/gtkrecentchooserprivate.h
2522 * gtk/gtkrecentmanager.h
2523 * gtk/gtksearchengine.h
2525 * gtk/gtktreeselection.h
2526 * gtk/gtktreeviewcolumn.h
2527 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2528 <glib-object.h>. There is no point in relying on them being pulled
2529 in by other headers in some places and placing them explicitly in
2530 other places, so choose the "as little includes as possible"
2531 approach and get rid of them.
2533 2008-06-23 Kristian Rietveld <kris@imendio.com>
2535 * gdk/gdkenumtypes.h.template:
2536 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2537 * gtk/gtktypebuiltins.h.template:
2538 * perf/typebuiltins.h.template: do not hard code the prefix of the
2539 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2541 2008-06-23 Michael Natterer <mitch@imendio.com>
2543 * gtk/gtkmountoperation.h
2544 * gtk/gtktestutils.h
2545 * gtk/gtkshow.[ch]: remove as many includes as possible from these
2546 new files. They can't be included individually, so nothing can break.
2548 2008-06-22 Michael Natterer <mitch@imendio.com>
2550 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
2551 registering the "modifier-mask" property.
2553 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2555 * *.[ch]: Include "config.h" instead of <config.h>
2557 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
2558 Rubberstamped by Mitch and Tim
2560 2008-06-21 Carlos Garnacho <carlos@imendio.com>
2562 Bug 539466 – GtkMenuShell API/ABI break in trunk.
2564 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
2565 different name and packing width.
2567 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2569 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
2572 2008-06-21 Michael Natterer <mitch@imendio.com>
2574 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
2575 indentation, replace header by a GDK copyright header (don't say
2576 "The Gnome Library"), remove trailing whitespace.
2578 2008-06-21 Hans Breuer <hans@breuer.org>
2580 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
2581 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
2582 passing the surface to cairo_surface_show_page(), not the context
2583 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
2584 '<' : signed/unsigned mismatch by using guint for the loop
2586 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
2587 an uint, gtk_menu_get_active() returns the widget pointer. Convert
2588 the latter to the former by calculating the index in menu::children
2589 Also fix some occurences of g_return_if_fail() where
2590 g_return_val_if_fail() was meant
2592 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
2594 Bug 539363 – Segfault when creating GtkPlugs
2596 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
2597 property names. "socket window" => "socket-window"
2599 2008-06-20 Jody Goldberg <jody@gnome.org>
2601 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
2602 Fix life cycle to avoid crash. [#536966]
2604 2008-06-20 Hans Breuer <hans@breuer.org>
2606 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
2607 a value of the appropriate type with g_return_val_if_fail
2609 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
2611 * gtk/gtkfilesystem.c : don't add the "File System" on win32
2613 * tests/makefile.msc : remove broken autotestfile(system|chooser)
2616 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2618 * gtk/gtkbutton.c: Document a style property
2620 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
2623 * gtk/gtkcolorsel.c:
2625 * gtk/gtkitemfactory.c:
2626 * gtk/gtknotebook.c:
2627 Fix up deprecated markup syntax. Add version numbers and
2628 a message on the remaning ones.
2630 2008-06-20 Mikael Hallendal <micke@imendio.com>
2632 * tests/testthreads.c: Use g_signal_connect instead of
2635 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
2636 While the code is not built, people may still look at it.
2638 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
2640 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
2643 * gtk/gtkliststore.h:
2645 * gtk/gtktextchild.h:
2646 * gtk/gtktreemodelfilter.h:
2647 * gtk/gtktreemodelsort.h:
2648 * gtk/gtktreestore.h:
2649 #include <gdkconfig.h> not <gdk/gdkconfig.h>
2651 2008-06-20 Martyn Russell <martyn@imendio.com>
2653 * gtk/gtkaccelgroup.c: Fix warnings from calling
2654 g_object_notify() on a GtkAccelGroup without casting to a
2657 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2659 * gtk/gtkcolorsel.c: Modernize and order things as most
2660 other objects. Defines at the top, class init before init
2661 before gobject methods before object method before widget
2662 methods. No changes to the logic done.
2664 2008-06-20 Martyn Russell <martyn@imendio.com>
2666 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
2667 properties that don't exist. Also, make sure we notify for
2668 the "is-locked" property.
2670 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2672 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
2674 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2676 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
2678 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
2680 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
2681 allocation to avoid compiler warnings
2683 2008-06-20 Michael Natterer <mitch@imendio.com>
2685 * gtk/gtkaccellabel.h
2686 * gtk/gtkactiongroup.h
2687 * gtk/gtkalignment.h
2689 * gtk/gtkaspectframe.h
2691 * gtk/gtkhandlebox.h
2692 * gtk/gtkprogressbar.h
2695 * gtk/gtkscalebutton.h
2696 * gtk/gtkselection.h: fix some formatting and spacing uglyness
2697 that got merged from the GSEAL branch.
2699 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2702 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
2703 * gtk/gtkmessagedialog.h:
2704 Add missing accessor for sealed field GtkMessageDialog->image.
2706 2008-06-20 Michael Natterer <mitch@imendio.com>
2708 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
2711 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2713 * gtk/gtkaccelgroup.c:
2714 * gtk/gtkcolorseldialog.c:
2715 * gtk/gtkcontainer.c:
2717 * gtk/gtkentry.c (gtk_entry_class_init):
2719 * gtk/gtkhandlebox.c:
2721 * gtk/gtkmenu.c (gtk_menu_class_init):
2722 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
2723 * gtk/gtkplug.c (gtk_plug_class_init):
2724 * gtk/gtkselection.c:
2726 * gtk/gtktreeselection.c:
2727 * gtk/gtkwidget.c (gtk_widget_class_init):
2729 Add missing Since: gtk-doc markup for newly added GSEAL API.
2730 Change all Since: GSEAL-branch to Since: 2.14.
2732 2008-06-20 Michael Natterer <mitch@imendio.com>
2734 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
2735 the code merged from the GSEAL branch.
2737 2008-06-20 Michael Natterer <mitch@imendio.com>
2739 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
2740 value from GtkHButtonBox to GtkWidget.
2742 2008-06-20 Michael Natterer <mitch@imendio.com>
2744 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2747 2008-06-20 Michael Natterer <mitch@imendio.com>
2749 * gtk/gtkwindow.[ch]
2750 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2751 gtk_window_group_list_windows().
2753 2008-06-20 12:35:20 +0200 Tim Janik
2755 * Fixed wrongly resolved merge conflicts.
2757 2008-06-19 19:01:41 +0200 Carlos Garnacho
2759 Add gtk_window_group_get_windows().
2762 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2764 2008-06-19 18:39:47 +0200 Carlos Garnacho
2766 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2768 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2770 2008-06-19 18:38:35 +0200 Carlos Garnacho
2772 Document gtk_container_get_focus_child().
2774 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2776 2008-06-19 13:50:06 +0200 Christian Dywan
2778 Add gtk_plug_get_socket_window
2780 2008-06-19 13:11:52 +0200 Christian Dywan
2782 Remove superflous gtkselection accessors and merge _get_data
2784 2008-06-13 15:56:51 +0200 Christian Dywan
2786 Implement gtk_selection_get_display, style fixes
2788 2008-06-13 15:45:00 +0200 Christian Dywan
2790 Fix indentation of a comment.
2792 2008-06-13 15:10:08 +0200 Christian Dywan
2794 Change docs and signature of gtk_widget_get_allocation
2796 2008-06-13 14:22:17 +0200 Christian Dywan
2798 Remove unneeded GtkColorSelectionDialog accessors
2800 2008-06-13 12:57:54 +0200 Christian Dywan
2802 Fix documentaion of gtk_menu_item_get_accel_path
2804 2008-06-11 13:49:34 +0200 Christian Dywan
2806 Fix gtk_widget_get_allocation
2808 2008-06-07 15:37:18 +0200 Carlos Garnacho
2810 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2814 * gtk/gtkcellrenderer.h:
2815 * gtk/gtkcellrenderertext.h:
2816 * gtk/gtkcheckmenuitem.h:
2817 * gtk/gtkcontainer.h:
2819 * gtk/gtkhandlebox.h:
2820 * gtk/gtkimcontextsimple.h:
2822 * gtk/gtkliststore.h:
2824 * gtk/gtkmenuitem.h:
2825 * gtk/gtkmenushell.h:
2826 * gtk/gtknotebook.h:
2829 * gtk/gtkprintjob.h:
2830 * gtk/gtkprogressbar.h:
2833 * gtk/gtkscrolledwindow.h:
2834 * gtk/gtksizegroup.h:
2836 * gtk/gtkspinbutton.h:
2837 * gtk/gtkstatusbar.h:
2839 * gtk/gtktearoffmenuitem.h:
2840 * gtk/gtktextbuffer.h:
2841 * gtk/gtktextview.h:
2842 * gtk/gtktogglebutton.h:
2844 * gtk/gtktreestore.h:
2845 * gtk/gtktreeviewcolumn.h:
2846 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2848 2008-06-06 19:02:17 +0200 Christian Dywan
2852 2008-06-06 17:58:21 +0200 Christian Dywan
2854 Seal GtkSelectionData
2856 2008-06-06 17:57:23 +0200 Christian Dywan
2858 Fix GtkDialog, don't add vbox via gtk_container_add.
2860 2008-06-06 13:39:34 +0200 Kristian Rietveld
2862 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
2864 2008-06-03 09:11:50 +0200 Kristian Rietveld
2868 2008-05-30 16:48:12 +0100 Martyn Russell
2870 Seal GtkFontSelection & GtkFontSelectionDialog
2872 2008-05-29 10:35:29 +0200 Kristian Rietveld
2874 Seal GtkTearoffMenuItem.
2876 (the torn_off field is for internal state keeping, you can retrieve
2877 the value from the parent menu's tearoff_state).
2879 2008-05-27 18:34:12 +0200 Christian Dywan
2883 2008-05-27 18:17:44 +0200 Christian Dywan
2887 2008-05-27 15:10:02 +0200 Christian Dywan
2891 2008-05-27 14:17:45 +0200 Christian Dywan
2895 2008-05-27 14:04:31 +0200 Christian Dywan
2899 2008-05-27 12:40:08 +0200 Christian Dywan
2903 2008-05-27 12:39:49 +0200 Christian Dywan
2905 Seal GtkIMMultiContext
2907 2008-05-27 12:39:17 +0200 Christian Dywan
2909 Seal GtkIMContextSimple
2911 2008-05-27 12:14:53 +0200 Christian Dywan
2915 2008-05-27 11:14:21 +0200 Christian Dywan
2919 2008-05-27 10:54:20 +0200 Christian Dywan
2921 Fix the build by including gdkconfig.h in gtkprinter.h.
2923 2008-05-27 10:38:02 +0200 Christian Dywan
2927 2008-05-27 10:20:56 +0200 Christian Dywan
2931 2008-05-26 17:58:19 +0200 Kristian Rietveld
2935 2008-05-26 17:54:56 +0200 Kristian Rietveld
2939 2008-05-26 17:48:23 +0200 Kristian Rietveld
2943 2008-05-26 17:39:38 +0200 Kristian Rietveld
2947 2008-05-26 17:31:06 +0200 Kristian Rietveld
2951 2008-05-26 17:27:22 +0200 Kristian Rietveld
2955 2008-05-26 17:07:43 +0200 Kristian Rietveld
2959 2008-05-26 17:07:37 +0200 Kristian Rietveld
2963 2008-05-26 16:39:27 +0200 Kristian Rietveld
2965 Seal GtkTextTagTable.
2967 2008-05-26 16:34:13 +0200 Kristian Rietveld
2971 2008-05-26 17:08:19 +0200 Christian Dywan
2975 2008-05-26 16:40:05 +0200 Christian Dywan
2979 2008-05-26 16:37:54 +0200 Christian Dywan
2983 2008-05-26 14:09:32 +0200 Kristian Rietveld
2985 Seal priv pointer in GtkToggleToolButton.
2987 2008-05-26 14:04:51 +0200 Kristian Rietveld
2989 Seal priv pointer in GtkUIManager.
2991 2008-05-26 14:01:32 +0200 Kristian Rietveld
2993 Seal priv pointer in GtkToolItem.
2995 2008-05-26 14:01:12 +0200 Kristian Rietveld
2997 Seal priv pointer in GtkToolButton.
2999 2008-05-26 14:00:24 +0200 Kristian Rietveld
3001 Seal priv pointer in GtkToggleAction.
3003 2008-05-26 13:58:01 +0200 Kristian Rietveld
3005 Seal priv pointer in GtkStatusIcon.
3007 2008-05-26 13:57:33 +0200 Kristian Rietveld
3009 Seal priv pointer in GtkSeparatorToolItem.
3011 2008-05-26 13:56:33 +0200 Kristian Rietveld
3013 Seal priv pointer in GtkScaleButton.
3015 2008-05-26 13:55:57 +0200 Kristian Rietveld
3017 Seal priv pointer in GtkRecentManager.
3019 2008-05-26 13:55:25 +0200 Kristian Rietveld
3021 Seal priv pointer in GtkRecentChooserWidget.
3023 2008-05-26 13:54:39 +0200 Kristian Rietveld
3025 Seal priv pointer in GtkRecentChooserMenu.
3027 2008-05-26 13:54:15 +0200 Kristian Rietveld
3029 Seal priv pointer in GtkRecentChooserDialog.
3031 2008-05-26 13:52:40 +0200 Kristian Rietveld
3033 Seal priv pointer in GtkRecentAction.
3035 2008-05-26 13:51:47 +0200 Kristian Rietveld
3037 Seal priv pointer in GtkRadioAction.
3039 2008-05-26 13:50:49 +0200 Kristian Rietveld
3041 Seal priv pointer in GtkPrintUnixDialog.
3043 2008-05-26 13:50:08 +0200 Kristian Rietveld
3045 Seal priv pointer in GtkPrintOperation.
3047 2008-05-26 13:49:41 +0200 Kristian Rietveld
3049 Seal priv pointer in GtkPrinter.
3051 2008-05-26 13:48:49 +0200 Kristian Rietveld
3053 Seal priv pointer in GtkPageSetupUnixDialog.
3055 2008-05-26 13:47:39 +0200 Kristian Rietveld
3057 Seal priv pointer in GtkMenuToolButton.
3059 2008-05-26 13:47:29 +0200 Kristian Rietveld
3061 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
3063 2008-05-26 13:23:45 +0200 Kristian Rietveld
3065 Seal priv pointer in GtkLinkButton.
3067 2008-05-26 13:22:25 +0200 Kristian Rietveld
3069 Seal priv pointer in GtkIconView.
3071 2008-05-26 13:22:04 +0200 Kristian Rietveld
3073 Seal priv pointer in GtkIconTheme.
3075 2008-05-26 13:13:49 +0200 Kristian Rietveld
3077 Seal child_allocation field in GtkFrame.
3079 2008-05-26 13:10:17 +0200 Kristian Rietveld
3081 Sealed priv pointer in GtkFontButton.
3083 2008-05-26 13:07:14 +0200 Kristian Rietveld
3085 Seal priv pointer in GtkFileChooserButton.
3087 2008-05-26 13:06:43 +0200 Kristian Rietveld
3089 Seal priv pointer in GtkExpander.
3091 2008-05-26 13:03:24 +0200 Kristian Rietveld
3093 Sealed remaining (private) fields in GtkContainer.
3095 2008-05-26 13:02:26 +0200 Kristian Rietveld
3097 Seal priv pointer in GtkComboBoxEntry.
3099 2008-05-26 13:01:40 +0200 Kristian Rietveld
3101 Seal priv pointer in GtkComboBox.
3103 2008-05-26 13:00:59 +0200 Kristian Rietveld
3105 Seal private_data pointer in GtkColorSel.
3107 2008-05-26 12:57:50 +0200 Kristian Rietveld
3109 Seal 3 remaining fields in GtkButton.
3111 2008-05-26 12:55:24 +0200 Kristian Rietveld
3113 Seal priv pointer in GtkBuilder.
3115 2008-05-26 12:52:44 +0200 Kristian Rietveld
3117 Seal center_allocation field in GtkAspectFrame.
3119 2008-05-26 12:48:18 +0200 Kristian Rietveld
3121 Seal priv pointer in GtkAction.
3123 2008-05-26 12:46:11 +0200 Kristian Rietveld
3125 Seal priv pointer in GtkAboutDialog.
3127 2008-05-26 12:41:46 +0200 Kristian Rietveld
3131 2008-05-26 12:39:54 +0200 Kristian Rietveld
3135 2008-05-26 11:59:35 +0200 Kristian Rietveld
3137 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
3139 2008-05-26 11:52:20 +0200 Kristian Rietveld
3141 Add new GtkColorSelectionDialog accessors to gtk.symbols.
3143 2008-05-26 11:41:47 +0200 Kristian Rietveld
3145 gtklabel.h: include bit-size of fields inside GSEAL parens.
3147 2008-05-26 11:40:07 +0200 Kristian Rietveld
3149 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
3151 2008-05-26 11:39:35 +0200 Kristian Rietveld
3153 gtkentry.h: include bit-size of fields inside GSEAL parens.
3155 2008-05-26 11:34:14 +0200 Kristian Rietveld
3157 Add new accessors for GtkEntry to gtk.symbols.
3159 2008-05-26 11:23:56 +0200 Kristian Rietveld
3161 Also seal GtkWindowGroup in gtkwindow.h
3163 2008-05-26 10:48:48 +0200 Kristian Rietveld
3165 Fix the build by including gdkconfig.h in gtktextchild.h.
3167 2008-05-23 18:48:56 +0200 Christian Dywan
3171 2008-05-23 18:28:39 +0200 Christian Dywan
3175 2008-05-23 18:28:07 +0200 Christian Dywan
3177 Seal GtkColorSelectionDialog
3179 2008-05-23 18:03:44 +0200 Carlos Garnacho
3181 Seal GtkTextChildAnchor.
3183 * gtk/gtktextchild.h: Sealed private member.
3185 2008-05-23 17:42:01 +0200 Carlos Garnacho
3189 * gtk/gtkwindow.h: Seal all fields.
3191 2008-05-23 17:40:09 +0200 Carlos Garnacho
3193 Add gtk_window_get_default()
3195 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
3196 * gtk/gtk.symbols: same here.
3198 2008-05-09 15:41:57 +0100 Martyn Russell
3200 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
3202 2008-05-02 16:31:40 +0200 Martyn Russell
3206 2008-05-02 16:30:09 +0200 Martyn Russell
3208 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
3210 2008-04-27 18:49:50 +0200 Kristian Rietveld
3212 Seal GtkToggleButton.
3214 * gtk/gtktogglebutton.h: Seal all member fields.
3216 2008-04-27 18:41:46 +0200 Kristian Rietveld
3218 Seal GtkTreeViewColumn.
3220 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
3221 still troublesome. We are probably going to need an accessor for this and
3222 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
3223 resized_width can be useful, but I really consider them to be private and
3224 of not much use to applications.
3226 2008-04-27 18:23:23 +0200 Kristian Rietveld
3228 Seal GtkRadioMenuItem.
3230 * gtk/gtkradiomenuitem.h: Seal member field.
3232 2008-04-27 18:21:29 +0200 Kristian Rietveld
3234 Seal GtkRadioButton.
3236 * gtk/gtkradiobutton.h: seal member field.
3238 2008-04-27 18:11:41 +0200 Kristian Rietveld
3240 Seal GtkTreeSelection.
3242 * gtk/gtktreeselection.h: Seal all member fields.
3244 2008-04-27 18:09:46 +0200 Kristian Rietveld
3246 Add gtk_tree_selection_get_select_function().
3248 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
3250 * gtk/gtk.symbols: add new function.
3252 2008-04-27 16:05:02 +0200 Kristian Rietveld
3254 Seal GtkScrolledWindow.
3256 * gtk/gtkscrolledwindow.h: Seal all object member fields.
3258 2008-04-27 15:56:33 +0200 Kristian Rietveld
3260 Seal GtkCellRenderer.
3262 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
3263 already accessible via GObject properties.
3265 2008-04-27 15:56:01 +0200 Kristian Rietveld
3267 Add "editing" GObject property to GtkCellRenderer.
3269 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
3270 (gtk_cell_renderer_get_property),
3271 (gtk_cell_renderer_set_property): add the property and hook
3274 2008-04-27 15:42:08 +0200 Kristian Rietveld
3276 Seal GtkCellRendererText.
3278 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3281 2008-04-27 15:40:47 +0200 Kristian Rietveld
3283 Seal GtkCellRendererCombo.
3285 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
3286 that were not marked as private are already accessible via GObject properties.
3288 2008-04-27 15:39:41 +0200 Kristian Rietveld
3290 Seal GtkCellRendererAccel.
3292 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3295 2008-04-18 16:55:44 +0200 Kristian Rietveld
3299 * gtk/gtktreeview.h: seal private pointer.
3301 2008-04-18 16:52:54 +0200 Kristian Rietveld
3303 Seal GtkTreeModelFilter
3305 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3308 2008-04-18 16:50:55 +0200 Kristian Rietveld
3310 Seal GtkTreeModelSort
3312 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3313 all public member fields.
3315 2008-04-18 16:42:28 +0200 Kristian Rietveld
3319 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3320 public member fields.
3322 2008-04-18 16:37:43 +0200 Kristian Rietveld
3326 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3327 public member fields.
3329 2008-04-18 18:26:31 +0200 Carlos Garnacho
3331 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3333 2008-04-18 18:25:22 +0200 Carlos Garnacho
3335 * gtk/gtkcontainer.h: seal members.
3337 2008-04-11 17:28:54 +0200 Carlos Garnacho
3339 * gtk/gtkmisc.h: seal members.
3341 2008-04-11 17:28:05 +0200 Carlos Garnacho
3343 *gtk/gtkfixed.h: seal members.
3345 2008-04-11 16:04:23 +0200 Michael Natterer
3347 * gtk/gtkcellrendererpixbuf.h: seal all members.
3349 2008-04-11 16:01:19 +0200 Michael Natterer
3351 * gtk/gtkcellrendererprogress.h: seal private member.
3353 2008-04-11 15:43:22 +0200 Michael Natterer
3355 * gtk/gtkcellrenderertoggle.h: seal all members.
3357 2008-04-04 18:50:05 +0200 Carlos Garnacho
3359 * gtk/gtkfilechooserwidget.h: Seal the private member.
3361 2008-04-04 18:46:47 +0200 Carlos Garnacho
3363 gtk/gtkfilechooserdialog.h: seal the private member.
3365 2008-04-04 18:42:17 +0200 Carlos Garnacho
3367 * gtk/gtkentrycompletion.h: Seal private member.
3369 2008-04-04 18:36:35 +0200 Carlos Garnacho
3371 * gtk/gtkcellview.h: Seal the private member.
3373 2008-04-04 18:28:00 +0200 Carlos Garnacho
3375 * gtk/gtkcolorbutton.h: seal private member.
3377 2008-04-04 18:27:26 +0200 Carlos Garnacho
3379 * gtk/gtkcheckmenuitem.h: seal public struct members.
3381 2008-04-04 18:25:25 +0200 Carlos Garnacho
3383 * gtk/gtkcalendar.h: seal public struct members.
3385 2008-04-04 18:24:15 +0200 Carlos Garnacho
3387 * gtk/gtkdialog.h: Also seal variables marked as private.
3389 2008-04-04 17:35:48 +0200 Michael Natterer
3391 * gtk/gtkimagemenuitem.h: seal private member.
3393 2008-04-04 17:28:56 +0200 Michael Natterer
3395 * gtk/gtkiconfactory.h: seal private member.
3397 2008-03-28 16:56:53 +0000 Martyn Russell
3401 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3402 member and clean up .c file to reflect this.
3404 2008-03-28 15:00:09 +0100 Sven Herzberg
3408 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3410 2008-03-28 16:38:00 +0100 Michael Natterer
3412 * gtk/gtkdrawingarea.h: seal instance struct member.
3414 2008-03-28 16:23:32 +0100 Christian Dywan
3416 Seal GtkScaleButton public fields
3418 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3420 2008-03-28 16:07:50 +0100 Christian Dywan
3422 Seal GtkScale public fields
3424 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3426 2008-03-14 20:45:34 +0100 Christian Dywan
3428 Seal GtkProgressBar public fields
3431 2008-03-14 20:32:12 +0100 Christian Dywan
3433 Seal GtkFrame public vars
3435 2008-03-14 18:57:35 +0100 Carlos Garnacho
3437 Deprecate direct access to public variables in GtkButton.
3439 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3441 2008-03-14 18:56:23 +0100 Carlos Garnacho
3443 Deprecate direct access to public variables in GtkButtonBox.
3445 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3447 2008-03-14 18:54:35 +0100 Carlos Garnacho
3449 Deprecate direct access to public variables in GtkBox.
3451 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3453 2008-03-09 11:50:41 +0100 Carlos Garnacho
3455 Seal GtkMessageDialog public vars
3457 2008-03-09 11:38:00 +0100 Carlos Garnacho
3459 Seal GtkDialog public vars
3461 2008-03-09 11:32:05 +0100 Carlos Garnacho
3463 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3465 2008-03-09 11:31:46 +0100 Carlos Garnacho
3467 Seal GtkAssistant public fields
3469 2008-03-09 11:31:30 +0100 Carlos Garnacho
3471 Seal GtkNotebook public fields
3473 2008-03-07 20:29:47 +0100 Mikael Hallendal
3475 Deprecate direct access to child in GtkBin.
3477 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3479 2008-03-07 18:25:59 +0000 Martyn Russell
3481 Sealed GtkAccelGroup and added
3483 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3484 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3485 macro for public struct members which should be private.
3487 2008-03-07 18:54:22 +0100 Mikael Hallendal
3489 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3491 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3493 2008-03-07 18:48:29 +0100 Mikael Hallendal
3495 Deprecate arrow_type and shadow_type direct access in GtkArrow.
3497 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3499 2008-03-07 18:35:12 +0100 Mikael Hallendal
3501 Added GSEAL to GtkAlignment.
3503 * gtk/gtkalignment.h: Seal the object data with GSEAL.
3505 2008-03-07 15:24:27 +0100 Tim Janik
3507 Introduce GSEAL() macro.
3509 * configure.in: define GSEAL() when generating gdkconfig.h
3511 2008-06-20 Michael Natterer <mitch@imendio.com>
3513 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3516 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3517 (gtk_combo_box_insert_text)
3518 (gtk_combo_box_prepend_text)
3519 (gtk_combo_box_remove_text)
3520 (gtk_combo_box_real_get_active_text): apply patch from Christian
3521 Dywan which adds the needed g_return_if_fail() to prevent the
3524 2008-06-20 Cody Russell <cody@jhu.edu>
3526 * gdk/directfb/gdkwindow-directfb.c:
3528 Rename gdk_window_new -> _gdk_window_new and
3529 gdk_window_reparent -> _gdk_window_reparent to fix
3530 the build. (#539095, Sebastien Bacher)
3532 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3534 * gtk/gtkmenuitem.c: remove an unused variable and cast
3535 accel_path to gchar, just like in gtkmenu.c
3537 2008-06-19 Matthias Clasen <mclasen@redhat.com>
3539 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3542 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3544 * gtk/gtkprintbackend.c: Fix a typo in a comment
3546 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3547 Cast buf to unsigned char to avoid two compiler
3551 * gtk/gtkstyle.c (gtk_style_finalize):
3552 Do not ignore the return value of g_slist_remove.
3553 gtkstyle.c changes rubberstamped by Owen.
3555 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3557 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
3558 (gtk_tree_view_set_enable_tree_lines):
3559 gdk_gc_set_dashes expects a list of gint8, not guint8.
3561 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3563 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
3564 Remove an unused variable and cast to gchar to avoid a compiler
3567 2008-06-19 Christian Persch <chpe@gnome.org>
3569 * docs/reference/gtk/gtk-sections.txt:
3571 * gtk/gtkclipboard.c:
3572 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
3573 targets. Bug #537639.
3575 2008-06-19 Christian Persch <chpe@gnome.org>
3577 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
3578 hardcoded target tables. Bug #516092.
3580 2008-06-19 Christian Persch <chpe@gnome.org>
3582 * gdk-pixbuf/gdk-pixbuf-io.c:
3583 * gdk-pixbuf/gdk-pixdata.c:
3584 * gdk-pixbuf/io-ani.c:
3585 * gdk-pixbuf/io-bmp.c:
3586 * gdk-pixbuf/io-gdip-utils.c:
3587 * gdk-pixbuf/io-gif.c:
3588 * gdk-pixbuf/io-icns.c:
3589 * gdk-pixbuf/io-ico.c:
3590 * gdk-pixbuf/io-jasper.c:
3591 * gdk-pixbuf/io-jpeg.c:
3592 * gdk-pixbuf/io-pcx.c:
3593 * gdk-pixbuf/io-png.c:
3594 * gdk-pixbuf/io-pnm.c:
3595 * gdk-pixbuf/io-ras.c:
3596 * gdk-pixbuf/io-tga.c:
3597 * gdk-pixbuf/io-tiff.c:
3598 * gdk-pixbuf/io-wbmp.c:
3599 * gdk-pixbuf/io-xbm.c:
3600 * gdk-pixbuf/io-xpm.c:
3601 * gtk/gtkfilechooserdefault.c:
3602 * gtk/gtkfilesystemmodel.c:
3603 * gtk/gtkiconfactory.c:
3604 * gtk/gtkicontheme.c:
3606 * gtk/gtkpagesetup.c:
3607 * gtk/gtkpapersize.c:
3608 * gtk/gtkprintoperation-win32.c:
3609 * gtk/gtktextbufferserialize.c:
3610 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
3612 * configure.in: Update glib requirement to 2.17.3.
3614 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3616 * demos/testpixbuf.c (new_testrgb_window):
3617 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
3618 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
3619 (gtk_item_factory_create_item):
3620 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
3621 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
3622 (gtk_progress_bar_new_with_adjustment):
3623 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
3624 * gtk/gtktext.c (gtk_text_new):
3625 * gtk/gtkviewport.c (gtk_viewport_new):
3626 * tests/simple.c (main):
3627 * tests/testgtk.c (create_statusbar), (create_get_image),
3628 (create_saved_position), (create_tooltips), (create_cursors),
3629 (create_display_screen), (create_progress_bar), (create_idle_test):
3630 * tests/testmultidisplay.c (make_selection_dialog), (main):
3631 * tests/testmultiscreen.c (main):
3632 * tests/testrgb.c (new_testrgb_window):
3633 Use g_object_new instead of gtk_widget_new
3635 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3637 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
3639 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
3642 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
3643 to avoid a gcc warning.
3645 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3647 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
3648 the filename in the name entry in CREATE_FOLDER mode when changing
3649 folders, so that you can enter a new subfolder name, double-click on a
3650 folder to change to it, and close the dialog.
3652 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
3653 the filename in the entry in CREATE_FOLDER mode, either.
3655 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3657 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
3658 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
3661 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
3662 clear the entry for CREATE_FOLDER either; this needs the same
3663 behavior as SAVE mode.
3664 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
3667 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3669 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
3670 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3671 (model_add_bookmarks):
3672 (model_update_current_folder):
3673 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
3674 (shortcuts_reload_icons): Use standard icon names.
3676 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3678 * gtk/Makefile.am: Add some more aliases for standard
3679 icon names to the builtin icon theme: drive-harddisk,
3680 folder, folder-remote, text-x-generic.
3682 2008-06-18 Michael Natterer <mitch@imendio.com>
3684 * gtk/gtkcalendar.c: set the maximum of the "year" property to
3685 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
3686 calculations which in turn caused writing beyond the boundaries of
3687 the calendar->day_month[] and day[] arrays which in turn caused a
3688 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
3690 2008-06-18 Michael Natterer <mitch@imendio.com>
3693 * tests/autotestfilechooser.c
3694 * tests/buildertest.c
3695 * tests/defaultvaluetest.c
3696 * tests/floatingtest.c
3697 * tests/objecttests.c
3698 * tests/pixbuf-init.c
3699 * tests/textbuffertest.c: remove unit tests here...
3701 * gtk/tests/Makefile.am
3702 * gtk/tests/builder.c
3703 * gtk/tests/defaultvalue.c
3704 * gtk/tests/filechooser.c
3705 * gtk/tests/floating.c
3706 * gtk/tests/object.c
3707 * gtk/tests/pixbuf-init.c
3708 * gtk/tests/textbuffer.c: ...and add them here.
3710 2008-06-18 Michael Natterer <mitch@imendio.com>
3712 * gdk/gdk.h: deprecate GdkDestroyNotify.
3716 * gdk/x11/gdkevents-x11.c
3717 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
3719 2008-06-18 Michael Natterer <mitch@imendio.com>
3721 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
3723 * gtk/gtkactiongroup.[ch]
3724 * gtk/gtkcombobox.[ch]
3725 * gtk/gtkcontainer.[ch]
3726 * gtk/gtkliststore.[ch]
3730 * gtk/gtktreedatalist.[ch]
3731 * gtk/gtktreemodelfilter.[ch]
3732 * gtk/gtktreemodelsort.[ch]
3733 * gtk/gtktreeprivate.h
3734 * gtk/gtktreeselection.[ch]
3735 * gtk/gtktreesortable.[ch]
3736 * gtk/gtktreestore.[ch]
3737 * gtk/gtktreeview.[ch]
3738 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
3740 2008-06-18 Michael Natterer <mitch@imendio.com>
3742 * tests/testgtk.c: some more undeprecation.
3744 2008-06-18 Michael Natterer <mitch@imendio.com>
3746 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3749 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3751 2008-06-18 Michael Natterer <mitch@imendio.com>
3753 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3755 * gtk/gtk.symbols: changed accordingly.
3757 * gtk/gtksettings.c (gtk_settings_install_property)
3758 (gtk_settings_install_property_parser): get rid of using
3759 gtk_type_class() by keeping a static reference to GtkSettingsClass
3760 around in both functions and passing that pointer on to
3761 settings_install_property_parser().
3763 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3766 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3769 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3771 * gtk/gtkstyle.c: Add deprecated version
3772 and change the deprecation markup used by ref/unref
3774 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3777 Add deprecated versions and fixup markup.
3779 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3781 * gtk/gtkaboutdialog.c:
3782 * gtk/gtkbutton.c (gtk_button_class_init):
3783 Don't markup deprecated in italics.
3785 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3787 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3788 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3790 2008-06-17 Michael Natterer <mitch@imendio.com>
3792 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3794 2008-06-17 Michael Natterer <mitch@imendio.com>
3796 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3797 function gtk_object_init_type().
3799 2008-06-17 Michael Natterer <mitch@imendio.com>
3801 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3802 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3803 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
3806 2008-06-17 Tor Lillqvist <tml@novell.com>
3808 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3809 #undef/#define dance here, too, because
3810 gtk_notebook_set_group_id() is deprecated but used here before it
3811 is defined, and gcc complains about conflicting type from the
3812 implicit int declaration when it sees the actual void definition.
3814 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3817 2008-06-17 Michael Natterer <mitch@imendio.com>
3819 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3826 * gtk/gtkoldeditable.c
3829 * gtk/gtktipsquery.c
3831 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3832 actually use deprecated symbols (not just types or macros),
3833 #define it again before #include "gtkalias.h" so the symbols match
3834 and the beast links.
3836 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3838 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3840 2008-06-17 Michael Natterer <mitch@imendio.com>
3842 * modules/input/gtkimcontextmultipress.h
3843 * modules/input/gtkimcontextthai.h
3844 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3845 type checking macros.
3847 2008-06-17 Michael Natterer <mitch@imendio.com>
3849 * gtk/gtktypeutils.h: really move the GtkType typedef to an
3850 undeprecated section.
3852 2008-06-17 Michael Natterer <mitch@imendio.com>
3854 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3855 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3856 Move the GtkType typedef to an undeprecated section.
3858 2008-06-17 Michael Natterer <mitch@imendio.com>
3860 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3861 of GTK_CHECK ones because it's the parent class of an undeprecated
3862 class and the GTK_CHECK stuff will soon be deprecated.
3864 2008-06-17 Michael Natterer <mitch@imendio.com>
3867 * gtk/gtkinputdialog.c
3868 * gtk/gtkmenutoolbutton.c
3869 * gtk/gtkoptionmenu.c
3871 * gtk/gtktooltips.c: add or move around
3872 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3873 deprecated stuff again (with the minor glitch that it doesn't
3874 link ;) but at least it's a tool to keep the code clean).
3876 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3878 * gtk/gtkrecentmanager.c:
3879 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3882 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3884 * gtk/gtkrecentmanager.c:
3885 (gtk_recent_manager_remove_item),
3886 (gtk_recent_manager_move_item): Increase the consistency of the
3887 errors returned by GtkRecentManager. (Paolo Borelli)
3889 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3891 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3893 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3895 * gtk/gtkrecentmanager.c:
3896 (gtk_recent_manager_remove_item): Consistently use the same
3897 error when removing a URI from an empty GtkRecentManager.
3899 2008-06-17 Michael Natterer <mitch@imendio.com>
3901 * gtk/gtkfilechooserdefault.c: remove static integer variables
3902 which hold the number of members in GtkTargetEntry arrays and use
3903 G_N_ELEMENTS() directly instead.
3905 2008-06-17 Michael Natterer <mitch@imendio.com>
3907 * gtk/gtk.symbols: move some deprecated symbols into
3908 #ifndef GTK_DISABLE_DEPRECATED.
3910 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3912 * gtk/gtkfilechooserdefault.c:
3913 (gtk_file_chooser_default_init),
3914 (gtk_file_chooser_default_constructor),
3915 (gtk_file_chooser_default_screen_changed),
3916 (recent_start_loading): Remove the GtkRecentManager screen
3917 dance, as it has been deprecated since 2.12. Now we get the
3918 GtkRecentManager singleton whewn we create the FileChooserDefault
3919 instance. (Michael Natterer)
3921 2008-06-17 Michael Natterer <mitch@imendio.com>
3923 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3924 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3926 2008-06-17 Michael Natterer <mitch@imendio.com>
3928 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3931 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3932 in via deprecated headers.
3934 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3936 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3938 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3939 against XKB being stupid. Reported by Pedro Villavicencio.
3941 2008-06-17 Michael Natterer <mitch@imendio.com>
3943 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3944 and unref() instead of the deprecated gtk_widget_ref() and unref().
3946 2008-06-16 Michael Natterer <mitch@imendio.com>
3948 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3949 svn since 2.8 but was never used.
3951 2008-06-16 Michael Natterer <mitch@imendio.com>
3953 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3954 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3955 (the former is deprecated and #defined to gtk_binding_entry_clear)
3957 2008-06-16 Michael Natterer <mitch@imendio.com>
3959 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3960 unused) "gtkmarshal.h".
3962 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
3964 Bug 538182 – pango_cairo_context_update_layout is not noop after
3965 gtk_widget_create_pango_layout
3967 * gtk/gtksettings.c (settings_update_font_options): Make sure all
3968 font option fields are set to non-DEFAULT values.
3970 2008-06-16 Michael Natterer <mitch@imendio.com>
3975 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3976 gtk_rc_style_unref().
3978 2008-06-16 Michael Natterer <mitch@imendio.com>
3980 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
3981 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
3982 gtk_marshal_BOOLEAN__VOID.
3984 2008-06-16 Michael Natterer <mitch@imendio.com>
3986 * gtk/gtkcellrendereraccel.h
3988 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
3989 macros for type checking.
3991 (gtk_object_get_type): change prototype to return GType instead of
3994 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3996 * gtk/Makefile.am: Make folder, user-home and user-desktop links
3997 to gtk-directory in the builtin icon theme, so that we can
3998 use these icon names without risk of ending up without an icon.
4000 2008-06-16 Tor Lillqvist <tml@novell.com>
4002 Bug 538362 - Get Win32 icons back in the file chooser
4004 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
4005 reference to an icon resource in a DLL or .EXE in the same format
4006 as the DefaultIcon strings in the Registry. In that case, extract
4007 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
4008 code has to be in sync with the corresponding code in
4009 glib/gio/gcontenttype.c.
4011 2008-06-16 Matthias Clasen <mclasen@redhat.com>
4013 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
4014 to the builtin icon theme, to avoid showing broken images when
4015 there is no icon theme around. The new icons are thanks to
4018 2008-06-16 Michael Natterer <mitch@imendio.com>
4020 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
4021 GtkFileChooserDefault struct.
4023 * gtk/gtkfilechooserdefault.c: don't allocate and free the
4026 2008-06-16 Carlos Garnacho <carlos@imendio.com>
4028 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
4031 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
4032 Allow again setting any of the properties to render an image back to
4035 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4037 * gtk/gtkimage.c: When pixel-size is specified, use
4038 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
4040 2008-06-15 Carlos Garnacho <carlos@imendio.com>
4042 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
4043 path here as expected, not just the basename.
4045 * gtk/gtkfilechooserdefault.c
4046 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
4047 a reference to file, since it can be destroyed when switching back to
4050 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
4051 and desktop directories are dealt by the filechooser as normal files,
4052 not volumes, so the icon for these is handled directly by GIO.
4053 (_gtk_file_system_volume_render_icon): Update caller.
4055 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4057 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
4059 2008-06-14 Cody Russell <bratsche@gnome.org>
4061 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
4063 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
4064 according to MSDN docs, associates the open clipboard with the
4065 current task. (#378158, reported by Andreas Köhler)
4067 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4069 * configure.in: Bump version
4071 * === Released 2.13.3 ===
4073 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4075 * gtk/gtkaccelgroup.c: Add some docs
4077 * gdk/gdkwindow.c: Fix doc typos
4079 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4081 * gtk/gtkfilesystem.c: Avoid PLT entries by including
4084 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4086 * gtk/gtkfilechooserbutton.c:
4087 * gtk/gtkfilechooserdefault.c:
4088 * gtk/gtkfilechooserentry.c:
4089 * gtk/gtkfilesystem.c:
4090 * gtk/gtkfilesystem.h:
4091 * gtk/gtkfilesystemmodel.c:
4092 * gtk/gtkpathbar.c: Really make GtkFileSystem private
4093 by _-prefixing all functions.
4095 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4097 * docs/RELEASE-HOWTO: Updates
4098 * INSTALL.in: Bump version
4100 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4104 2008-06-13 Michael Natterer <mitch@imendio.com>
4106 * gtk/gtkcellrendereraccel.h
4107 * gtk/gtkfilechooser.h
4108 * gtk/gtkfilechooserdialog.h
4109 * gtk/gtkfilechooserwidget.h
4110 * gtk/gtkmenutoolbutton.h
4111 * gtk/gtkpagesetup.h
4112 * gtk/gtkpapersize.h
4113 * gtk/gtkprintcontext.h
4114 * gtk/gtkprintoperation.h
4115 * gtk/gtkprintoperationpreview.h
4116 * gtk/gtkprintsettings.h
4117 * gtk/gtkradiotoolbutton.h
4118 * gtk/gtkrecentchooser.h
4119 * gtk/gtkrecentchooserdialog.h
4120 * gtk/gtkrecentchoosermenu.h
4121 * gtk/gtkrecentchooserwidget.h
4122 * gtk/gtkseparatortoolitem.h
4124 * gtk/gtktoggletoolbutton.h
4126 * gtk/gtktoolbutton.h
4127 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
4128 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
4130 2008-06-13 Michael Natterer <mitch@imendio.com>
4132 * gtk/gtktexttagtable.h: remove double inclusion of
4135 2008-06-13 Michael Natterer <mitch@imendio.com>
4137 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
4138 local "image" variable from GtkImage to GtkWidget to fix warning.
4140 2008-06-13 Michael Natterer <mitch@imendio.com>
4142 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
4143 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4145 2008-06-13 Michael Natterer <mitch@imendio.com>
4147 * gtk/gtkuimanager.c (start_element_handler): silently skip
4148 unknown attributes instead of bailing out with an error in order
4149 to be compatible with possible future attribute names.
4151 This is related to the discussion in bug #516425 but actually
4152 needed for any kind of XML format extension.
4154 2008-05-23 Hans Breuer <hans@breuer.org>
4156 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
4157 Avoids crashing when the target can not be written, bug #537685
4159 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
4161 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
4162 it was not needed here anyway.
4164 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4166 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
4167 Patch by Jan Arne Peterson
4169 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4171 Bug 537985 – gtk_init_with_args() doesn't open a display after
4174 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
4175 even when gtk_parse_args() has already been called.
4176 Patch by Mathias Hasselmann
4178 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4180 Bug 524222 – GtkToolbar with mix of buttons with and without
4183 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
4184 Improve appearance of "both vertical" mode toolbuttons.
4185 Patch by Peter Johanson
4187 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4189 Bug 519092 – Add accessibility support to GtkVolumeButton
4191 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
4192 Patch by Jonh Wendell
4194 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4196 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
4197 GtkAction has problems
4198 Patch by Peter Johanson
4200 * gtk/gtkaction.c (connect_proxy): Set the image of a button
4201 proxy to the "icon-name" property.
4203 (gtk_action_set_short_label): If the "image" property is set
4204 on the button proxy, also tries to set the "label" property on
4207 2008-06-12 Michael Natterer <mitch@imendio.com>
4210 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
4211 in via "gtkintl.h" from <glib/gi18n-lib.h>.
4213 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4215 RH bug 248245 and 449379: cups client printing from gnome
4218 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
4219 printer URI construction. Patch by Marek Kasik
4221 2008-06-12 Michael Natterer <mitch@imendio.com>
4223 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
4224 limit the number of displayed items by the actual screen height
4225 instead of some arbitrary value (Bug #408154, Xan Lopez and
4228 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
4230 Bug 503071 – Application direction changes to right to left even if
4231 theres no translation
4233 * configure.in: Bump glib requirement.
4235 * gtk/gtkaccellabel.c
4236 (_gtk_accel_label_class_get_accelerator_label):
4237 * gtk/gtkactiongroup.c (dgettext_swapped):
4238 * gtk/gtkbuilder.c (gtk_builder_class_init):
4239 * gtk/gtkbuilderparser.c (_dpgettext),
4240 (_gtk_builder_parser_translate):
4241 * gtk/gtkfilechooserdefault.c (list_size_data_func):
4242 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
4244 * gtk/gtkmain.c (setlocale_initialization),
4245 (do_pre_parse_initialization), (gettext_initialization):
4246 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
4247 Use g_dgettext() and g_dngettext().
4249 2008-06-11 Matthias Clasen <mclasen@redhat.com>
4251 * docs/RELEASE-HOWTO: Updates
4253 2008-06-11 Tor Lillqvist <tml@novell.com>
4255 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
4256 support Win9x anyway, we can use ProcessIdToSessionId()
4259 2008-06-11 Michael Natterer <mitch@imendio.com>
4261 * gtk/gtkfilechooserbutton.c: fix local prototype of
4262 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
4264 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4266 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
4268 * gtk/gtkoptionmenu.c:
4269 * gtk/gtkcombobox.c: Set the window type hint on popups.
4270 Patch by Danny Baumann
4272 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4274 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
4275 (gtk_file_system_volume_render_icon): Add standard icon names,
4276 and also fall back to builtin gtk stock icons.
4278 2008-06-10 Christian Persch <chpe@gnome.org>
4280 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4281 (gtk_tree_view_maybe_begin_dragging_row),
4282 (gtk_tree_view_set_reorderable),
4283 (gtk_tree_view_enable_model_drag_source),
4284 (gtk_tree_view_enable_model_drag_dest),
4285 (gtk_tree_view_unset_rows_drag_source),
4286 (gtk_tree_view_unset_rows_drag_dest): Make
4287 gtk_tree_view_enable_model_drag_[source|dest] compatible with
4288 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4290 2008-06-10 Christian Persch <chpe@gnome.org>
4292 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4293 (dest_row_free), (set_dest_row), (ensure_info),
4294 (gtk_tree_view_remove), (gtk_tree_view_put),
4295 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4298 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4300 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4301 use g_file_new_for_uri.
4303 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4305 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4308 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4312 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4313 #520874, comment #8. It's no longer used directly by GTK+.
4315 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4317 Bug 520874 - Should use gio directly.
4319 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4320 provides helper functions for asynchronous calls, folder abstraction
4321 and uniform handling of volumes/drives/mounts.
4323 * gtk/gtkfilesystemwin32.[ch]:
4324 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4326 * gtk/gtkfilechooser.c:
4327 * gtk/gtkfilechooserbutton.c:
4328 * gtk/gtkfilechooserdefault.c:
4329 * gtk/gtkfilechooserentry.[ch]:
4330 * gtk/gtkfilechooserprivate.h:
4331 * gtk/gtkfilechooserutils.c:
4332 * gtk/gtkfilesystemmodel.[ch]:
4333 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4334 Do not load filesystem implementation modules.
4337 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4338 anymore, nor the unix/win32 implementations.
4340 * README.in: Add blurb about these changes.
4342 2008-06-09 Kristian Rietveld <kris@gtk.org>
4344 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4346 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4347 (gtk_cell_renderer_combo_set_property),
4348 (gtk_cell_renderer_combo_editing_done),
4349 (gtk_cell_renderer_combo_start_editing): introduce private class
4350 struct, allow model to be set to NULL.
4352 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
4354 Bug 131920 – gtkNotebook sends incorrect switch_page value
4356 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4357 signal send correct page index when page index 0 is active and
4358 removed. (#131920, Samuel Fogh)
4360 2008-06-08 Kristian Rietveld <kris@gtk.org>
4362 Bug 536730 - memory corruption in gtktreeview
4364 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4365 remove the expand/collapse timeout and node, then free the rbtree.
4367 2008-06-08 Kristian Rietveld <kris@gtk.org>
4369 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4371 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4372 find path if we found valid nodes, return FALSE otherwise. (Patch
4373 from Matthias Clasen).
4375 2008-06-08 Matthias Clasen <mclasen@redhat.com>
4377 * gtk/gtkrecentmanager.c:
4378 * gtk/gtkrecentfilter.c:
4379 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4382 2008-06-08 Christian Persch <chpe@gnome.org>
4384 Bug 535608 – do not string-copy accel paths in the menu code
4386 * gtk/gtkaccelgroup.c:
4387 * gtk/gtkaccelmap.c:
4390 * gtk/gtkmenuitem.c:
4391 * gtk/gtkwidget.c: Don't store the accel path as a string in
4392 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4393 keeping a string copy around is just a waste of memory.
4394 Improve the documentation to mention this.
4396 2008-06-07 Tor Lillqvist <tml@novell.com>
4398 Bug 536990 - updateiconcache.c: 'close ()' is redundant
4400 * gtk/updateiconcache.c (build_cache): Drop redundant close()
4401 calls. fclose() on a fdopen()ed stream closes the underlying file
4404 2008-06-06 Matthias Clasen <mclasen@redhat.com>
4406 Bug 536757 – regression: openoffice.org menus are placed at wrong
4407 position since 2.12.10
4409 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4410 Return the right coordinates.
4412 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
4414 Bug 536185 – monitor font configuration
4417 * gdk/x11/gdksettings.c:
4418 * gtk/gtksettings.c (gtk_settings_class_init),
4419 (gtk_settings_notify), (settings_update_fontconfig):
4420 Monitor xsettings key Fontconfig/Timestamp and upon change,
4421 reread fontconfig configuration, clear Pango's caches, and
4424 2008-06-06 Ross Burton <ross@burtonini.com>
4427 Fix trivial typo in documentation.
4429 2008-06-06 Tor Lillqvist <tml@novell.com>
4431 * config.h.win32.in: Slight update to match what configure
4434 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
4436 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4437 constant to the end of the list, to avoid breaking the stable ABI
4439 2008-06-05 Michael Natterer <mitch@imendio.com>
4441 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4443 2008-06-05 Li Yuan <li.yuan@sun.com>
4445 * gail-uninstalled.pc.in:
4446 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4447 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4449 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4451 * docs/RELEASE-HOWTO: Update a bit
4453 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4455 * configure.in: Bump version
4457 * === Released 2.13.2 ===
4459 2008-06-03 Federico Mena Quintero <federico@novell.com>
4461 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4462 If the user presses Tab while the completion feedback window is
4463 active, then we'll assert. Remove the assertion and just re-set
4464 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4466 2008-06-03 Colin Walters <walters@redhat.com>
4468 Bug 535303 – add _get_implementation to GtkStatusIcon
4470 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4471 function to retrieve internal X11 window ID, useful for libnotify.
4472 * gtk/gtkstatusicon.h: Prototype it.
4473 * docs/reference/gtk/gtk-sections.txt: Add to docs.
4474 * gtk/gtk.symbols: Export it.
4476 2008-06-03 Tor Lillqvist <tml@novell.com>
4478 * gtk/updateiconcache.c (build_cache): Use g_open().
4480 2008-06-03 Michael Natterer <mitch@imendio.com>
4483 * gtk/gtkctree.h: revert includes to how they have been before the
4484 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4485 that you can't include <gtk/gtk.h> from two headers where one is a
4486 parent class of the other and expect them both to be includable
4489 2008-06-03 Michael Natterer <mitch@imendio.com>
4491 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4493 2008-06-02 Matthias Clasen <mclasen@redhat.com>
4495 Bug 536092 – GtkEntryCompletion's popup window should set type hint
4497 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4498 a type hint on the popup window to help compiz.
4499 Patch by Vaclav Slavik.
4501 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
4503 Bug 535862 – gtk_action_create_icon can't create icons from the
4506 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4507 the default factories as it's supposed.
4509 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
4511 Bug 535497 – Print preview doesn't work.
4513 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4514 instead of launching Preview.app directly.
4516 2008-06-02 Michael Natterer <mitch@imendio.com>
4518 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4519 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4522 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
4524 Bug 535830 – wrong content type adding an item
4526 * gtk/gtkrecentmanager.c:
4527 (gtk_recent_manager_add_item_query_info): Use the correct API
4528 for retrieving the fast MIME type of a URI. (Carlos Garcia
4531 2008-05-31 Kristian Rietveld <kris@imendio.com>
4533 Bug 530146 - Setting non-string tooltip with
4534 gtk_tree_view_set_tooltip_column() segfaults
4536 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4537 gtk_tree_model_get_value() and explicitly transform the value to a
4538 string before setting it as tooltip.
4540 2008-05-30 Tor Lillqvist <tml@novell.com>
4542 * modules/engines/ms-windows/msw_style.h
4543 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4545 2008-05-30 Michael Natterer <mitch@imendio.com>
4547 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4548 GDestroyNotify when using it in g_object_set_data_full().
4550 2008-05-30 Michael Natterer <mitch@imendio.com>
4552 * gdk/gdkapplaunchcontext.h
4553 * gdk/gdktestutils.h
4554 * gtk/gtkmountoperation.h
4556 * gtk/gtktestutils.h
4557 * gtk/gtktoolshell.h: no need to allow disabling single includes
4558 conditionally in these new files. Simply forbid including them
4559 individually from the beginning.
4561 2008-05-30 Tor Lillqvist <tml@novell.com>
4563 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
4565 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
4568 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4570 * configure.in: Bump version
4572 * === Released 2.13.1 ===
4576 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4578 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
4580 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4582 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
4584 2008-05-29 Tor Lillqvist <tml@novell.com>
4586 Bug 535526 - updateiconcache.c: using open/close without prototype
4588 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
4589 g_utime() when available instead of utime() for UTF-8 pathname
4592 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
4594 Bug 56355 – GtkLabel - Not all changes propagate correctly
4596 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
4597 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
4598 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
4599 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
4600 notifications of mnemonic-keyval changes.
4602 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4604 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
4606 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
4607 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
4608 * gtk/gtk.symbols: Additions
4609 * tests/testimage.c: Add a GIcon test
4611 2008-05-29 Michael Natterer <mitch@imendio.org>
4614 * gtk/gtkunixprint.h: add a single-include header for the unix
4617 * gtk/gtkpagesetupunixdialog.h
4620 * gtk/gtkprintunixdialog.h: add single-include guards that #error
4621 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
4622 files is included individually.
4624 * gtk/gtkprintbackend.h
4625 * gtk/gtkprinter-private.h
4626 * modules/printbackends/cups/gtkprintbackendcups.c
4627 * modules/printbackends/cups/gtkprintercups.h
4628 * modules/printbackends/lpr/gtkprintbackendlpr.c
4629 * tests/buildertest.c
4630 * tests/defaultvaluetest.c
4631 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
4634 2008-05-28 Michael Natterer <mitch@imendio.com>
4636 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
4637 excess newlines and sprinkled some newlines where needed. Zero
4638 code or formatting changes included.
4640 2008-05-28 Michael Natterer <mitch@imendio.com>
4642 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
4644 2008-05-28 Michael Natterer <mitch@imendio.com>
4646 * gtk/gtkcolorbutton.h: fix comment: the widget is called
4647 GtkColorButton, not GtkColorSelectButton. Remove trailing
4648 whitespace and excess newlines.
4650 2008-05-28 Michael Natterer <mitch@imendio.com>
4652 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
4653 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
4654 to CPPFLAGS so it's impossible to commit code that would break
4655 apps which use DISABLE_INCLUDE defines.
4657 2008-05-28 Michael Natterer <mitch@imendio.com>
4659 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
4662 * gtk/gtktypebuiltins.h.template
4663 * gtk/gtkversion.h.in
4664 * gtk/gtk*.h: add single-include guards that #error out if
4665 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4666 included individually.
4668 * gtk/gtkprintbackend.h
4669 * gtk/gtkprinter-private.h
4670 * gtk/gtktextlayout.h
4671 * gtk/gtktexttagprivate.h
4672 * gtk/gtktexttypes.h
4673 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
4674 headers in these private or semi-private headers.
4676 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
4678 * gtk/gtkpagesetupunixdialog.h
4681 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
4687 * gtk/gtkitemfactory.h
4690 * gtk/gtkoldeditable.h
4691 * gtk/gtkoptionmenu.h
4695 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
4696 instead of individual headers in these deprecated headers. They
4697 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
4698 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
4699 and include them individually, which should continue to work.
4701 * gtk/gtkclist.c: include "gtkctree.h" because of the change
4704 2008-05-28 Kristian Rietveld <kris@imendio.com>
4706 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
4709 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
4710 cursor_offset *must* be larger than background height of the cursor
4711 node, not just equal otherwise there is no guarantee there is a next
4714 2008-05-28 Michael Natterer <mitch@imendio.com>
4716 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
4718 2008-05-28 Michael Natterer <mitch@imendio.com>
4720 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
4723 * gdk/gdkenumtypes.h.template
4724 * gdk/gdk*.h: add single-include guards that #error out if
4725 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4726 included individually. Also removed some redundant includes and
4727 did some tiny trailing whitespace removal that's not worth to
4730 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
4733 * gdk/win32/gdkwin32.h
4734 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
4737 2008-05-28 Kristian Rietveld <kris@imendio.com>
4739 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
4740 current widget again.
4742 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4743 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4744 custom_was_reset field to check if the custom widget is set again in
4745 the query-tooltip callback; if not, we set it to NULL. Based on a
4746 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4747 and Christian Persch.
4749 2008-05-28 Michael Natterer <mitch@imendio.com>
4751 * modules/printbackends/cups/gtkcupsutils.c
4752 * modules/printbackends/cups/gtkprintbackendcups.c
4753 * modules/printbackends/file/gtkprintbackendfile.c
4754 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4755 <gtk/gtk.h> instead of individual files.
4757 2008-05-28 Michael Natterer <mitch@imendio.com>
4759 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4762 2008-05-28 Kristian Rietveld <kris@imendio.com>
4764 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4766 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4767 ->priv->tree != NULL. Suggestion from Stefan Kost.
4769 2008-05-28 Kristian Rietveld <kris@imendio.com>
4771 Bug 324282 - add selected signal to cell renderer combo.
4773 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4774 (gtk_cell_renderer_combo_changed),
4775 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4776 that will be emitted as soon as the combo box emitted changed and has
4777 an active iterator. (Modified patch based on work by James
4780 * gtk/gtkmarshalers.list: add marshaler.
4782 2008-05-28 Kristian Rietveld <kris@imendio.com>
4784 Refactor expand/collapse timeout handling (amendment to bug 511217).
4786 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4787 (remove_expand_collapse_timeout): new functions, the remove function
4788 also clears expanded_collapsed_node,
4789 (cancel_arrow_animation): moved to be next to the add/remove timeout
4791 (gtk_tree_view_unrealize),
4792 (gtk_tree_view_row_deleted),
4793 (gtk_tree_view_set_model),
4794 (cancel_arrow_animation),
4795 (gtk_tree_view_real_expand_row),
4796 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4798 2008-05-28 Kristian Rietveld <kris@imendio.com>
4800 Amendment of bug 485218 - Strange warning encountered.
4802 * gtk/gtktreemodelsort.[ch]
4803 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4804 indication whether or not the conversion had succeeded.
4806 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4808 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4810 * modules/printbackends/cups/gtkprintbackendcups.c
4811 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4812 if the printer does not support level 3. Patch by Marek Kašík.
4814 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4816 Bug 404571 - Scroll arrow backgrounds should be painted with different
4819 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
4820 as detail when drawing scroll arrow backgrounds. Proposed by
4823 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4825 Bug 511217 - potential memory corruption after refreshing a tree_view
4827 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4828 expanded_collapsed_node when canceling the animation.
4829 Patch by Nicholas Setton.
4831 2008-05-28 Michael Natterer <mitch@imendio.com>
4833 * modules/input/gtkimcontextime.h
4834 * modules/input/gtkimcontextmultipress.h
4835 * modules/input/gtkimcontextthai.h
4836 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4839 * modules/input/gtkimcontextime.c
4840 * modules/input/gtkimcontextmultipress.c
4841 * modules/input/gtkimcontextxim.c
4842 * modules/input/imam-et.c
4843 * modules/input/imcedilla.c
4844 * modules/input/imcyrillic-translit.c
4845 * modules/input/iminuktitut.c
4846 * modules/input/imipa.c
4847 * modules/input/imti-er.c
4848 * modules/input/imti-et.c
4849 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4850 "gtk/gtkintl.h" to the end of includes.
4852 2008-05-28 Michael Natterer <mitch@imendio.com>
4854 * modules/engines/pixbuf/pixbuf-style.h
4855 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4856 instead of individual files.
4858 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4860 Bug 485218 - Strange warning encountered
4862 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4863 (gtk_tree_model_sort_convert_child_iter_to_iter):
4864 (gtk_tree_model_sort_build_level): Better warnings. Patch
4865 by Kristian Rietveld.
4867 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4869 Bug 351910 - Search column setting lost
4871 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4872 the docs. Patch by Matt Barnes.
4874 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4876 Bug 477278 - avoid unnecessary pointer subtraction
4878 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
4879 subtraction that sparse complains about. Patch by Christian
4882 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4884 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4886 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4887 Commit the entry text before doing an increment. Patch by
4890 2008-05-27 Federico Mena Quintero <federico@novell.com>
4892 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4893 drag and drop from the file list into itself, as it doesn't make
4894 sense (it would just change the current folder).
4896 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4897 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4900 2008-05-27 Michael Natterer <mitch@imendio.com>
4902 * gtk/gtksignal.h: move deprecated guards around everything,
4903 including includes and include guards (just as in all other
4906 2008-05-27 Tor Lillqvist <tml@novell.com>
4908 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4909 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4910 <sys/stat.h> on Windows, and the mode used in open() doesn't
4911 matter much as there are no rwxrwxrwx bits on Windows anyway.)
4912 Open file in binary mode. Passing "b" to fdopen() later isn't
4915 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
4917 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4918 invalid or invisible widgets.
4920 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4922 Bug 531008 – Crash in gtkprintunixdialog.c
4924 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4925 the dialog closes. Patch by Yevgen Muntyan.
4927 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4929 RH bug 248245: cups client printing from gnome applications fail
4931 * modules/printbackends/cups/gtkprintbackendcups.c
4932 (gtk_print_backend_cups_print_stream): Specify the right server.
4934 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4936 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4937 rubberbanding when "select-multiple" is TRUE. Bug #446068.
4939 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4941 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4942 correctly dialog buttons sensitivity when the anonymous option is
4943 enabled by default. Bug #531865.
4945 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4947 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4948 password dialog modal and transient for the parent window also if it
4949 was specified in the constructor. Bug #531864.
4951 2008-05-26 Richard Hult <richard@imendio.com>
4953 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4954 setting the default font, might need to tweak this.
4956 2008-05-26 Michael Natterer <mitch@imendio.com>
4958 * examples/gtkdial/gtkdial.h
4959 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4961 2008-05-26 Michael Natterer <mitch@imendio.com>
4963 * gtk/gtkimmodule.h: fix indentation.
4965 2008-05-26 Michael Natterer <mitch@imendio.com>
4967 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4969 * gtk/gtkshow.c: remove inclusion of single files from gdk/
4971 Removed trailing whitespace in both files.
4973 2008-05-26 Richard Hult <richard@imendio.com>
4975 Bug 530353 – Mac-like gtk_accelerator_get_label()
4977 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4978 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4979 On quartz, make gtk_accelerator_get_label() format a Mac-like
4980 string, using unicode characters for modifier keys, arrows, delete
4981 etc. Patch from Yevgen Muntyan.
4983 2008-05-26 Richard Hult <richard@imendio.com>
4985 Bug 534869 – Length miscalculation in
4986 _gtk_quartz_get_selection_data_from_pasteboard
4988 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
4989 Get the number of bytes, not the number of characters, patch from
4992 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4994 * gtk/gtkwidget.c: Some doc formatting fixes.
4996 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4998 Bug 511163 – Remove pango_extents_to_pixels() calls
5000 * gtk/gtkcellrenderertext.c (get_size): Use
5001 pango_layout_get_pixel_extents.
5003 * configure.in: Bump Pango requirement to 1.20
5005 * INSTALL.in: Update required versions
5007 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5009 Bug 513811 – Use cairo_format_stride_for_width()
5011 * gtk/gtkhsv.c (paint_ring, paint_triangle):
5012 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
5013 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
5015 * configure.in: Bump cairo requirement to 1.6.0
5017 * INSTALL.in: Update required versions
5019 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5021 * gtk/gtkshow.[hc]: Formatting fixes
5023 * gtk/gtkmountoperation.c: Add docs
5025 2008-05-25 Cody Russell <bratsche@gnome.org>
5027 Bug 507389 – use gslice for gtksettings
5029 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
5030 Report and patch by Christian Persch.
5032 2008-05-25 Cody Russell <bratsche@gnome.org>
5034 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
5035 when options are missing
5037 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
5038 that other processes that try to open it will fail gracefully. Also
5039 fix a crasher caused by lack of a NULL check. Report and patch
5042 2008-05-25 Cody Russell <bratsche@gnome.org>
5044 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
5046 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
5047 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
5048 so that we also take into account for foreign windows.
5049 Report and patch by Nathaniel Smith.
5051 2008-05-25 Cody Russell <bratsche@gnome.org>
5053 Bug 525461 - Don't invalidate under an input-only child
5055 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
5056 Check that the window is not input-only before invalidating.
5057 Report and patch by Owen Taylor.
5059 2008-05-25 Cody Russell <bratsche@gnome.org>
5061 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
5062 window frame extents
5064 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
5065 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
5067 2008-05-25 Cody Russell <bratsche@gnome.org>
5069 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
5070 caused by missing flag initialization
5072 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
5073 top-level private flags correctly. Patch by Danny Baumann.
5075 2008-05-25 Cody Russell <bratsche@gnome.org>
5077 Bug 534463 - non-editable GtkTextView should not call
5078 gtk_im_context_focus_in in focus event
5080 * gtk/gtktextview.c: Add checks to see if the textview is
5081 editable. Patch by Wang Diancheng.
5083 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5085 Bug 501730 – use GSlice for small allocs
5087 * gtk/gtkmenuitem.c:
5088 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
5089 Patch by Christian Persch.
5091 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5093 Bug 523930 – sort -> search in gtktreeview.c
5095 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
5096 glitch, pointed out by Björn Lindqvist.
5098 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5100 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
5102 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
5103 doc glitch, pointed out by Christian Persch.
5105 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5107 Bug 534694 – Col id in GtkListStore could be out of range
5109 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
5110 a bit. Pointed out by Jan Arne Petersen.
5112 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5114 Bug 532497 – Configure problem when cross-compiling
5116 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
5117 pointed out by Marko Lindqvist.
5119 2008-05-25 Richard Hult <richard@imendio.com>
5121 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
5122 Slight coding style cleanup.
5124 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
5126 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
5127 Added support for parsing required toolkit versions (so that ui descriptions
5128 can target specific versions of the backend widget libraries) bug 527612.
5130 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5131 for the added xml tags to the ui description.
5133 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
5134 for requires tag handling.
5136 2008-05-25 Richard Hult <richard@imendio.com>
5138 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
5139 gtk_drag_source_info_destroy in an idle, workaround for bug
5140 #501588, that makes any code that uses the context returned from
5141 gtk_drag_begin() crash, like treeview/iconview dnd.
5142 (GdkDragSourceOwner::provideDataForType): only use the data if we
5145 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5147 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
5148 to the drag actions to allow trash (#137717).
5150 2008-05-25 Josselin Mouette <joss@malsain.org>
5152 reviewed by: Matthias Clasen
5154 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
5155 check that tracker is actually working before using it. Fixes
5158 2008-05-25 Sven Neumann <sven@gimp.org>
5160 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
5161 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
5162 and don't create an output window if it is set.
5164 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
5165 drawing areas. Fixes bug #519317.
5167 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5169 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
5170 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
5172 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
5173 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
5174 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
5175 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
5176 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
5177 (start_spinning), (gtk_spin_button_button_release),
5178 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
5179 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
5180 (gtk_spin_button_update): Reorder strange window hierarchy of the
5181 GtkSpinButton (#466000).
5183 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5185 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
5186 fix the wrong position for right and center justified labels with
5187 logical.x > 0 (#530255).
5189 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5191 * gtk/gtkfilechooserdefault.c:
5192 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
5195 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
5197 * tests/pixbuf-lowmem.c
5198 * tests/pixbuf-random.c
5199 * tests/pixbuf-randomly-modified.c
5200 * tests/pixbuf-read.c
5201 * tests/pixbuf-threads.c
5203 * tests/testtreeview.c: Fix remaining compiler warnings in these
5206 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
5208 reviewed by: Matthias Clasen
5213 * gtk/gtkshow.c: (gtk_show_uri):
5215 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
5217 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5219 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
5221 * tests/buildertest.c: (test_list_store): Add test.
5223 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5225 Bug 520989 – icon factory buildable too strict
5227 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
5228 an optional attribute.
5230 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5232 Bug 387972 – gtkassistant drawing problem
5234 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
5235 GtkAssistant work better in glade.
5237 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5239 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
5240 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
5241 used in GtkToolItem) (#532787).
5243 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5245 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
5246 try to toggle the visibility of the location entry field in search and
5247 recent mode (#526422).
5249 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5251 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
5252 (shortcuts_list_create): Show parse name as tooltip for path
5253 shortcuts (#137503).
5255 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
5257 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
5258 pango_color_parse, do not reference XParseColor forms (#434991).
5260 2008-05-24 James Sharpe <jsharpe@gnome.org>
5262 * gdk/gdk.symbols: Remove duplicate
5263 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
5264 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
5266 2008-05-23 Hans Breuer <hans@breuer.org>
5268 * **/makefile.msc gtk/makefile.msc.in : updated
5269 * gtk/gtkwidget.c : fix c99ism (variable at start of block
5270 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
5272 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
5273 setlocale(LC_ALL, ...)
5275 2008-05-23 Tor Lillqvist <tml@novell.com>
5277 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
5278 gdk_window_remove_redirection.
5280 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5281 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5282 changes. Remove now unnecessary parameter checks as the caller
5285 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5287 2008-05-23 Tor Lillqvist <tml@novell.com>
5289 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5290 anything if style doesn't change. Improve debugging output.
5292 2008-05-23 Michael Natterer <mitch@gimp.org>
5295 * tests/print-editor.c
5296 * tests/prop-editor.h
5297 * tests/testmountoperation.c
5298 * tests/testmultidisplay.c
5299 * tests/testnouiprint.c
5301 * tests/testprintfileoperation.h
5302 * tests/testtreesort.c
5303 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5304 files. Remove some redundant includes.
5306 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
5308 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5309 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5311 2008-05-21 Richard Hult <richard@imendio.com>
5313 * gdk/quartz/gdkwindow-quartz.c:
5314 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5315 offscreen rendering changes, fixes build.
5317 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
5319 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5321 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5322 return snapshot pixmap coordinates widget relative in *clip_rect.
5324 * tests/testgtk.c: fixed bogus NULL pointer unref.
5326 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
5328 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5329 widget's allocation to cover extra widget windows placed outside the
5330 widget allocation (spinbutton arrows are the prime example for this).
5332 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
5334 * Applied pixmap redirection patch by Alexander Larsson with
5335 various updates from:
5336 Bug 318807 – Offscreen windows and window redirection.
5341 * updated docs to mention "Since 2.16".
5343 * tests/testgtk.c: fixed snapshooting pixmap leak.
5344 convert pixmap to pixbuf after snapshooting, to compensate for different
5345 bit depths (occurs when snapshooting ARGB visuals and displaying the
5346 pixmap in an RGB visual).
5348 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5350 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5351 need for it. enqueue damage notification as GDK_DAMAGE events
5352 for each painting redirection at the start of the event queue.
5353 consider windows with a redirection fully visible when invalidating,
5354 and when updating from backing store. cleaned up stale variables.
5356 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5358 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5359 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5360 tree, drawingarea, text, handlebox, etc.
5361 clip the redirected window hierarchy to window sizes, the visible
5362 rectangles don't need to be taken into account here.
5363 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5364 in case pixmap visuals could mismatch.
5366 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5371 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5372 of possibly obscured widgets into an offscreen pixmap.
5374 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5375 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5377 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5379 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5380 implementations here, adapted them to propagate redirects to child windows.
5381 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5382 clipped to visible region. queue GDK_DAMAGE event delivery.
5383 gdk_window_redirect_to_drawable(): install window painting redirection.
5384 gdk_window_remove_redirection(): remove previously installed redirection.
5386 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5387 renamed _gdk_window_new() and _gdk_window_reparent().
5389 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5390 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5392 * gdk/gdkevents.h: added GDK_DAMAGE event type.
5394 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5396 * gdk/gdkinternals.h: added internal prototypes.
5398 2008-05-21 Michael Natterer <mitch@imendio.com>
5400 * gtk/gtkalignment.c
5404 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5406 2008-05-20 Matthias Clasen <mclasen@redhat.com>
5408 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5411 Patch by Marek Kasik.
5414 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5416 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5418 * modules/printbackends/file/gtkprintbackendfile.c:
5419 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5420 get_default_page_size.
5422 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5423 select its default paper size.
5425 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5426 use the printer default.
5428 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5429 if we don't have a default page setup.
5431 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
5433 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5434 can accept NULL for none. Fixes bug #533920.
5436 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
5438 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5439 gtk_spin_button_update): Remove two chunks of duplicated
5442 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
5444 * reverted recent unapproved changes by Yair Hershkovitz,
5445 regarding: Bug 503071 – Application direction changes to right
5446 to left even if theres no translation.
5448 2008-05-19 Richard Hult <richard@imendio.com>
5450 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5451 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5452 SetSystemUIMode instead of hiding and showing the menubar.
5454 2008-05-19 Federico Mena Quintero <federico@novell.com>
5456 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5457 can't be resized until you expand the "Browse for other folders"
5460 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5461 Removed the "get_resizable" method.
5462 (_gtk_file_chooser_embed_get_resizable): Removed.
5464 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5466 * gtk/gtkfilechooserdefault.c: Likewise.
5468 * gtk/gtkfilechooserdialog.c
5469 (file_chooser_widget_default_size_changed): Act as if the dialog
5470 were always resizable.
5472 2008-05-19 Michael Natterer <mitch@imendio.com>
5474 * gtk/gtkcellrenderer.c
5475 * gtk/gtkcellrendererpixbuf.c
5476 * gtk/gtkcellrenderertoggle.c
5477 * gtk/gtkimagemenuitem.c
5478 * gtk/gtkmenutoolbutton.c
5479 * gtk/gtkoptionmenu.c
5480 * gtk/gtkstatusbar.c
5481 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5483 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
5485 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5486 g_disable_setlocale().
5488 2008-05-17 Richard Hult <richard@imendio.com>
5490 * gdk/quartz/gdkwindow-quartz.c:
5491 (gdk_window_impl_quartz_invalidate_maybe_recurse):
5492 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5493 of g_idle_add. Add a temporary check if the window is already in
5494 the updates list, since update_area currently doesn't always match
5495 the backend's state, see bug #530801.
5497 2008-05-13 Tor Lillqvist <tml@novell.com>
5499 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5501 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5502 the "packet rate" of devices to zero instead of 50. This is
5503 reported to help significantly with Wacom tablet behaviour in GIMP
5504 and Inkscape. Patch from Thomas Bleeker.
5506 2008-05-12 Richard Hult <richard@imendio.com>
5508 * gdk/quartz/gdkevents-quartz.c:
5509 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5510 as it's no longer necessary; instead the added quartz API to get
5511 the nsevent from an event should be used. Also move the global
5512 filter up so it's done before the check for window-less events.
5514 2008-05-12 Tor Lillqvist <tml@novell.com>
5516 Bug 532558 - Cannot build dll when using separate builddir
5519 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5522 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
5524 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5526 2008-05-12 Tor Lillqvist <tml@novell.com>
5528 Bug 532059 - Leak in win32 clipboard manipulation
5530 * gdk/win32/gdkselection-win32.c
5531 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5534 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
5536 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5537 gettext_initialization only once.
5539 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5540 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
5541 with the extended functionality that was in the removed dpgettext().
5543 * gtk/gtkaccellabelc:
5545 * gtk/gtkimmulticontext.c:
5546 * gtk/gtkactiongroup.c:
5547 * gtk/gtkintl.h: use glib i18n api.
5549 2008-05-08 Richard Hult <richard@imendio.com>
5551 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
5552 currently invalidated region. Fixes bug #532048, patch by Yevgen
5555 2008-05-08 Richard Hult <richard@imendio.com>
5557 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
5558 fd's revents, not the first one. Fixes bug #531056, spotted by
5561 2008-05-07 Tor Lillqvist <tml@novell.com>
5563 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
5566 2008-05-05 Matthias Clasen <mclasen@redhat.com>
5568 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
5569 more printer status information in the print dialog.
5571 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
5572 printer-state-reasons into suitable messages and icons.
5574 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
5575 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
5576 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
5578 * gtk/gtkiconfactory.c:
5579 * gtk/gtkstock.h: New stock icons to display printer state.
5581 2008-05-07 Michael Natterer <mitch@imendio.com>
5583 * gdk/gdkinternals.h
5585 * gdk/directfb/gdkevents-directfb.c
5586 * gdk/quartz/gdkevents-quartz.c
5587 * gdk/win32/gdkevents-win32.c
5588 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
5589 order parameters src,dest and make src const.
5591 2008-05-06 Richard Hult <richard@imendio.com>
5593 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
5594 * gdk/gdkinternals.h: Add private backend data to events, and
5595 handle it when copying/freeing events. Currently only needed in
5598 * gdk/directfb/gdkevents-directfb.c:
5599 * gdk/quartz/gdkevents-quartz.c:
5600 * gdk/win32/gdkevents-win32.c:
5601 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
5602 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
5603 directfb. Implement for quartz. Part of fixing bug #473822.
5605 2008-05-05 Richard Hult <richard@imendio.com>
5607 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
5608 framework if there is one.
5610 2008-05-05 Michael Natterer <mitch@imendio.com>
5612 * gtk/gtkcellrenderercombo.h
5613 * gtk/gtkcellrendererspin.h
5614 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
5617 * gtk/gtkfilechooserdialog.h
5618 * gtk/gtkfilechooserwidget.h
5619 * gtk/gtkscalebutton.h: reorder instance and class structs to be
5622 2008-05-04 Richard Hult <richard@imendio.com>
5624 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
5625 gdk_unicode_to_keyval() worked before using the result. Makes
5626 function keys work, bug #530156. Also add F16 to the function key
5629 2008-05-04 Richard Hult <richard@imendio.com>
5631 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
5632 semicolon after if statement. Fixes bug #530963, patch from Yevgen
5635 2008-05-02 Michael Natterer <mitch@imendio.com>
5637 * gtk/gtk.h: add 15 files that were missing (they all got included
5638 indirectly by including gtk.h, so should have been here in the
5641 2008-05-02 Michael Natterer <mitch@imendio.com>
5643 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
5645 2008-05-01 Richard Hult <richard@imendio.com>
5647 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
5648 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
5650 2008-05-01 Matthias Clasen <mclasen@redhat.com>
5652 * modules/imput/imthai.c: Register the right translation domain.
5654 2008-04-30 Matthias Clasen <mclasen@redhat.com>
5656 Bug 529386 – Printing options hidden by blacklisted option
5658 * modules/printbackend/cups/gtkprintbackendcups.c
5659 (cups_printer_get_options): Fix the blacklist handling.
5660 Patch by Marek Kašík.
5662 2008-04-30 Richard Hult <richard@imendio.com>
5664 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
5667 2008-04-30 Richard Hult <richard@imendio.com>
5669 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
5670 nsevents with the gdk lock held, fixes deadlock when doing manual
5671 window resizing with threading enabled.
5673 2008-04-30 Richard Hult <richard@imendio.com>
5675 * gdk/quartz/gdkevents-quartz.c:
5676 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
5677 Alt to Alt and Cmd to Meta. This is not only more logical but also
5678 makes it easier to have Mac-like behavior.
5680 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
5682 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
5683 painting the flat box instead of recalculating it. (#437493,
5686 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
5688 Bug 529841 – incorrect position in directfb
5690 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
5692 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
5694 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
5696 2008-04-25 Michael Natterer <mitch@imendio.com>
5698 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
5699 <pango/pango-layout.h>.
5701 * gtk/gtkiconfactory.c
5705 * gtk/queryimmodules.c: remove inclusion of single files from
5706 pango, none of them was actually needed.
5708 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
5709 <pango/pango-utils.h>.
5711 2008-04-25 Michael Natterer <mitch@imendio.com>
5713 * gdk/gdkfont.h: include <pango/pango.h> instead of
5714 <pango/pango-font.h>.
5716 2008-04-25 Michael Natterer <mitch@imendio.com>
5718 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
5721 2008-04-21 Michael Natterer <mitch@imendio.com>
5723 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
5724 crashing when NULL pointers get passed.
5726 2008-04-18 Michael Natterer <mitch@imendio.com>
5728 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
5729 here have the same style.
5731 2008-04-18 Michael Natterer <mitch@imendio.com>
5733 * gtk/gtkicontheme.h
5734 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
5737 * gtk/gtkbuilderparser.c
5738 * gtk/gtklinkbutton.c
5740 * gtk/gtkrecentchooserdefault.c
5741 * gtk/gtkrecentchoosermenu.c
5742 * modules/input/gtkimcontextthai.c: remove inclusion of single
5743 files from gdk, none of the includes was actually needed.
5745 2008-04-18 Michael Natterer <mitch@imendio.com>
5747 * gdk/gdk.h: reorder one include so they are all alphabetical.
5749 2008-04-18 Michael Natterer <mitch@imendio.com>
5751 * modules/printbackends/cups/gtkprintercups.[ch]
5752 (gtk_printer_cups_get_ppd_name): change return value and local
5753 variable to const gchar* to fix warning about discarding const
5756 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5758 * gtk/gtkrecentmanager.c:
5759 (gtk_recent_manager_set_filename): Keep the default storage
5760 file in $HOME, as we don't have a migration code in place yet.
5762 2008-04-18 Michael Natterer <mitch@imendio.com>
5764 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5765 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5767 2008-04-17 Michael Natterer <mitch@imendio.com>
5769 * gtk/gtkiconfactory.c (get_default_icons): register the
5770 GTK_STOCK_PAGE_SETUP icon.
5772 2008-04-17 Michael Natterer <mitch@imendio.com>
5774 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5775 g_return_if_fail(tooltips != NULL);
5777 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5779 * gtk/gtkwindow.c: Chain up in buildable_finish()
5781 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5782 cases where g_path_get_dirname() returns "."
5784 * docs/reference/gtk/tmpl/gtklabel.sgml,
5785 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5786 for the <attributes> tags on GtkLabel
5788 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5790 * gtk/gtkrecentmanager.c:
5791 (gtk_recent_manager_real_changed): Fix last commit, and
5792 complete the gtk-recent-files-max-age semantics: if the
5793 property is set to 0 then purge the list.
5795 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5797 Bug 488507 – boundless growth of .recently-used.xbel file
5798 slows down applications
5800 * gtk/gtkrecentmanager.c:
5801 (gtk_recent_manager_init),
5802 (gtk_recent_manager_real_changed),
5803 (gtk_recent_manager_set_filename),
5804 (gtk_recent_manager_clamp_to_age): Clamp the recently
5805 used resources list by the age of its items, using
5806 the newly added GtkSettings property.
5808 * gtk/gtksettings.c (gtk_settings_class_init): Add the
5809 gtk-recent-files-max-age property, controlling the
5810 maximum age of the items in the recently used resources
5813 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5815 * gtk/gtkrecentmanager.c:
5816 (gtk_recent_manager_add_item_query_info),
5817 (gtk_recent_manager_add_item): Emit the ::changed signal
5818 at the end of the asynchronous MIME type query.
5820 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5822 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5825 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5826 changes in the recently used resources storage file, and
5827 drop the timeout-based poll.
5829 * ChangeLog: Fix attribution of the patch of the previous
5832 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5834 Bug 506062 – gtk_recent_manager_add_item does not detect mime
5837 * configure.in: Depend on gio-2.0
5839 * gtk/gtkrecentmanager.c:
5840 (gtk_recent_manager_add_item_query_info_cb),
5841 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5842 query the MIME type of the passed URI (based on a patch by
5845 2008-04-11 Carlos Garnacho <carlos@imendio.com>
5847 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5848 page to visited page list instead of next current page. (#527466,
5849 patch by Marcus Brinkmann)
5851 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
5853 * gtk/gtklabel.c: Added <attributes> / <attribute>
5854 custom tags to parse pango attributes into labels (#527486).
5856 * tests/buildertest.c: Added tests for GtkLabel custom
5859 2008-04-10 Carlos Garnacho <carlos@imendio.com>
5861 * gtk/gtknotebook.c (hide_drag_window): Do not call
5862 gtk_widget_set_parent_window(), using widget->window instead of NULL
5863 to unset is the wrong thing, and gtk_widget_unparent() will already
5864 take care of this (#467698, patch by Sébastien Granjoux)
5866 2008-04-08 Tor Lillqvist <tml@novell.com>
5868 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5869 these functions with G_MODULE_EXPORT.
5871 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
5873 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5874 (gtk_file_system_volume_render_icon):
5875 Fix fallback icon rendering size
5877 2008-04-08 Michael Natterer <mitch@imendio.com>
5879 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5880 touchscreen-mode keynav corner case: when navigating to the parent
5881 menu, make sure we don't close two menus at the same time in case
5882 the deepest open menu has no selectable items.
5884 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
5886 * gtk/gtkwidget.c: Clarified a g_warning message regarding
5887 parsing accelerators from builder files.
5889 2008-04-03 Cody Russell <bratsche@gnome.org>
5891 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5892 of the block. (#526021, reported by Kazuki IWAMOTO)
5894 2008-04-03 Tor Lillqvist <tml@novell.com>
5896 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5899 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5900 workaround for a specific kind of screwed up locale setting.
5902 2008-04-02 Matthias Clasen <mclasen@redhat.com>
5904 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5905 colormaps. Found by Daniel Berrange.
5907 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
5909 * tests/autotestfilechooser.c: Cover
5910 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5911 name. (#346058, Joe Halliwell)
5913 2008-04-02 Federico Mena Quintero <federico@novell.com>
5915 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5916 chooser incorrectly substitutes and expands a ~ when you type it
5917 in the filename entry.
5919 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5920 basenames result in a slash-terminated pathname.
5921 gtk_file_system_unix_parse() is correct, but it was splitting
5922 "/home/username" into path="/home" and file_part="username", which
5923 is not what the caller wants when the entry has just "~" or
5926 2008-04-02 Tor Lillqvist <tml@novell.com>
5928 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5929 and gtksearchenginetracker.c on Windows.
5931 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5934 2008-04-01 Cody Russell <bratsche@gnome.org>
5936 * configure.in: Bump required Cairo to 1.5.2.
5938 * gtk/gtkprintoperation-win32.c: Add support for using the new
5939 cairo_win32_printing_surface for printing. Also fixed to use
5940 cairo_surface_show_page(). (#488833 and #521178)
5942 2008-03-31 Cody Russell <bratsche@gnome.org>
5944 * demos/gtk-demo/printing.c (draw_page): Move down each line in
5945 units of text_height rather than in units of data->font_size.
5946 (totally awesome catch by Dom Lachowicz)
5948 2008-03-28 Richard Hult <richard@imendio.com>
5950 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5951 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5952 event to the mainloop and don't generate one at all if the
5953 toplevel didn't change. Use the actual window and not the toplevel
5954 as event window. These changes make the generated crossing events
5955 match the X11 behavior and fixes issues with e.g. tooltips,
5956 comboboxes and menus.
5958 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5959 the view has no window, it will be updated as soon as it's put
5962 * gdk/quartz/gdkwindow-quartz.c:
5963 (_gdk_quartz_window_debug_highlight): Make it possible to track
5964 multiple windows with debug highlighting.
5965 (show_window_internal): Remove workaround for tooltips and popups
5966 that is no longer needed with the above changes.
5968 2008-03-26 Federico Mena Quintero <federico@novell.com>
5970 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5971 helper function; factored out from the functions that commit the
5972 current suggested autocompletion and that refresh the entry's paths.
5973 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5974 (_gtk_file_chooser_entry_get_file_part): Likewise.
5975 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
5976 makes the entry have the correct paths when *not* using any form
5977 of completion (and makes the file chooser work when clicking the
5980 2008-03-25 Richard Hult <richard@imendio.com>
5982 * gdk/quartz/gdkevents-quartz.c:
5983 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
5984 can't find a matching window.
5986 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
5987 comment, and only trigger an event for non-temp windows, fixes
5988 problems for tooltips caused by the workarounds for the
5989 problematic tracking rect API.
5991 2008-03-25 Richard Hult <richard@imendio.com>
5993 * gdk/quartz/gdkwindow-quartz.c:
5994 (gdk_window_quartz_process_all_updates): Plug a leak and add a
5995 check that we have a toplevel before accessing it.
5997 2008-03-24 Tor Lillqvist <tml@novell.com>
5999 Bug 524151 - Dragging of 0-byte files results in an empty filename
6000 on Windows XP and above
6002 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
6003 being empty first. For some reason ISHellLink and IPersistFile
6004 succeeds in interpreting empty files as shortcuts, claiming the
6005 target of the shortcut is an empty path.
6007 Change the function to take the wide character file name that the
6008 caller already has anyway, to avoid a superfluous conversion from
6011 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
6013 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
6014 against NULL pointer. (#467051, Gian Mario Tagliaretti)
6016 2008-03-23 Cody Russell <bratsche@gnome.org>
6018 * gdk/win32/gdkevents-win32.c (show_window_recurse):
6019 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
6020 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
6021 menus from a maximized window would force the window to restore
6024 2008-03-23 Johan Dahlin <johan@gnome.org>
6026 * gtk/gtk-builder-convert:
6027 Properly convert GtkImageMenuItems which use stock labels but don't
6029 (#523932, Brian Pepple)
6031 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
6033 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
6034 New function implements GtkCellLayoutClass::get_cells. (#523787)
6036 2008-03-22 Tor Lillqvist <tml@novell.com>
6038 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
6040 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
6041 GDK_THREADS_LEAVE() call. Approved by mclasen.
6043 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
6045 * gtk/gtkexpander.c (gtk_expander_get_label):
6046 gtk_label_get_label() should be used instead of
6047 gtk_label_get_text(). (#353088, Xan Lopez)
6049 2008-03-21 Tor Lillqvist <tml@novell.com>
6051 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
6052 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
6053 gdip-pixbuf-loader module.
6055 * configure.in: Add switch --disable-gdiplus-loaders that disables
6056 building of the GDI+ loaders.
6058 When including loaders in the gdk-pixbuf library, and building
6059 GDI+ loaders, either build in all the GDI+ loaders or none of
6060 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
6061 signal building them in.
6063 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
6064 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
6065 indicate whether they should be built-in.
6067 For the rest of the changes, see gdk-pixbuf/ChangeLog.
6069 2008-03-20 Tor Lillqvist <tml@novell.com>
6071 * gtk/Makefile.am: Revert accidental change that went in as part
6072 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
6073 Darwin. On Windows one has to use a newer GNU grep that has -o,
6074 for instance the one from gnuwin32, instead of the oldish one in
6075 MSYS that doesn't have -o.
6077 2008-03-20 Tor Lillqvist <tml@novell.com>
6079 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
6080 pass NULL for %s to g_message().
6081 (main): Drop unnecessary call to gtk_widget_destroy().
6083 2008-03-20 Tor Lillqvist <tml@novell.com>
6085 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
6087 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6088 in one dimension, or centered in case it doesn't fit.
6089 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
6092 2008-03-18 Tor Lillqvist <tml@novell.com>
6094 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
6096 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
6097 G_MODULE_ENTRY decoration can be put in a more correct place.
6099 2008-03-18 Sven Neumann <sven@gimp.org>
6101 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
6102 alternative button order on the password dialog.
6104 2008-03-18 Tor Lillqvist <tml@novell.com>
6106 Bug 99192 - Add --with-include-input-modules
6108 * configure.in: Add --with-included-immodules switch. Handled in a
6109 similar way as the --with-included-loaders switch. For each input
6110 method module foo: Collect the list of input modules to be built
6111 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
6112 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
6113 Define Automake conditionals INCLUDE_IM_FOO.
6115 * modules/input/Makefile.am: For modules to be included in libgtk,
6116 build a static library.
6118 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
6119 gdk-pixbuf to get unique names for the functions called by libgtk
6120 in the included case. Use G_MODULE_EXPORT in the non-included case
6121 so that we don't unnecessarily export unneeded random global
6124 * gtk/Makefile.am: Build the included modules and link them into libgtk.
6126 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
6127 copy/paste leftover mentions of "themes" in comments.
6129 2008-03-18 Tor Lillqvist <tml@novell.com>
6131 * tests/Makefile.am: Build testmountoperation only on Unix for now.
6133 2008-03-17 Christian Kellner <gicmo@gnome.org>
6135 Implement GtkMountOperation, a subclass of GMountOperation
6136 to be used with gio wherever there is the need to ask the
6137 user for credentials or questions while mounting a volume.
6140 * gtk/gtkmountoperation.c:
6141 * gtk/gtkmountoperation.h:
6142 Implement GtkMountOperation.
6144 * gtk/gtk.h: Add gtkmountoperation.h
6145 * gtk/Makefile.am: Add gtkmountoperation.[hc]
6146 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
6147 * tests/testmountoperation.c: Test program for it.
6148 * tests/Makefile.am: Add testmountoperation.
6150 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
6152 * gtk/gtkcontainer.c: Properly document
6153 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
6155 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6157 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
6158 style names for the ComboBox thickness style
6160 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6162 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
6163 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
6164 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
6165 intelligent separation for the xp theming engine and the classic
6166 theme while drawing the GtkComboBox button. combobox_draw_arrow
6167 is not used anymore, commented. The style has been updated to fix
6168 border/thickness glitches in the combobox according to the fixes
6169 commited regarding bug #521442. (bug #461805)
6171 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6173 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
6174 now aware of both the combobox and frame (if has-frame is set)
6175 thickness and border. (bug #521442)
6177 2008-03-15 Andre Klapper <a9016009@gmx.de>
6179 * configure.in: Added "si" to ALL_LINGUAS.
6181 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6183 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
6184 Set window type hint on the search popup. (#522279, Danny Baumann)
6186 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6188 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
6189 appropriate. (#521934, Huang Peng)
6191 2008-03-14 Michael Natterer <mitch@imendio.com>
6194 * gtk/gtkbuilderprivate.h
6195 * gtk/gtkfilechoosersettings.c
6196 * gtk/gtksearchenginesimple.c
6197 * gtk/tests/liststore.c
6198 * gtk/tests/treestore.c: remove single-file includes of GLib
6199 headers or replace them by <glib.h> where needed.
6201 2008-03-14 Michael Natterer <mitch@imendio.com>
6203 * gtk/gtkadjustment.c: coding style cleanup.
6205 (gtk_adjustment_set_property): no need to call g_object_notify()
6206 on the set properties.
6208 Implement GObject::dispatch_properties_changed() and make sure we
6209 emit "changed" when anything but the "value" property changes.
6211 2008-03-14 Tor Lillqvist <tml@novell.com>
6213 * gdk/win32/gdkevents-win32.c: Drop the support for the
6214 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
6215 Win95. Thanks to mitch for noticing this obsolete code.
6217 2008-03-14 Cody Russell <bratsche@gnome.org>
6219 * examples/scribble-xinput/scribble-xinput.c: Changed
6220 'void int main()' to 'int main()'. (#522211, Liqing Huang)
6222 2008-03-14 Richard Hult <richard@imendio.com>
6224 * gdk/quartz/gdkwindow-quartz.c:
6225 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
6226 only flush the toplevel once per update.
6228 2008-03-13 Federico Mena Quintero <federico@novell.com>
6230 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
6231 Set the mouse cursor of the feedback window to invisible, so that
6232 we respect GtkEntry's invisible cursor while typing.
6234 2008-03-13 Federico Mena Quintero <federico@novell.com>
6236 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
6237 the feedback window at entry_height/2 pixels to the right of the
6238 cursor, for a cheap "M-width / 2" spacing.
6240 2008-03-13 Sven Neumann <sven@gimp.org>
6242 * gtk/gtkfilechooserdefault.c
6243 * gtk/gtkprintunixdialog.c: set alternative button order for
6244 overwrite confirmation dialogs (bug #522191).
6246 2008-03-13 Sven Neumann <sven@gimp.org>
6248 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
6249 (overwrite_confirmation_dialog): added some line-breaks for
6252 2008-03-12 Federico Mena Quintero <federico@novell.com>
6254 Rework the way completion works in GtkFileChooserEntry. Fixes
6255 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
6256 Tab completion should work even if the cursor is not at the end of
6259 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
6262 We distinguish between two cases:
6264 - autocompletion - happens only in the Open modes by
6265 inserting and selecting the common prefix as you type.
6267 - explicit completion - happens when you hit Tab.
6269 When some type of completion needs to happen, the entry first
6270 parses its input and sees if it needs to initiate a folder load.
6271 Completion will not happen until the folder finishes loading.
6273 If the folder is already completely loaded, then completion is
6274 performed immediately. Otherwise, the entry queues a pending
6275 completion and starts loading the new folder (or waits until the
6276 current folder is completely loaded).
6278 Tab completion is allowed to happen even if the cursor is not at
6279 the end of the entry.
6281 There is a new feedback mechanism for explicit completion, so that
6282 you will get an Emacs-like tip whenever there are ambiguities in
6283 completion, no matches, etc. (This needs to be polished so that
6284 we support RTL entries and all the fancy Pango layout in GtkEntry).
6286 The only remaining thing to fix is the popup suggestion window.
6287 Unfortunately, GtkEntryCompletion does not let us do what we want,
6288 and will need further changes.
6290 2008-03-12 Tor Lillqvist <tml@novell.com>
6292 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6294 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6295 for the TaskbarCreated message in the window procedure for the
6296 dummy "tray observer" window we create. When we get a
6297 TaskbarCreated message, iterate over the status icons and re-add
6298 them to the task bar, and update them by calling
6299 gtk_status_icon_update_image().
6301 Move some ifdefs around to avoid unused functions.
6303 2008-03-12 Tor Lillqvist <tml@novell.com>
6305 * config.h.win32.in: Update to match what configure produces.
6307 2008-03-12 Jens Granseuer <jensgr@gmx.net>
6309 * modules/printbackends/cups/gtkprintbackendcups.c:
6310 (cups_printer_prepare_for_print): Don't define variables in the
6311 middle of a block. (#522067)
6313 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6315 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
6316 dialog for print-to-file. (#474302, Marek Kašík)
6318 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6320 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6321 (#469210, Wouter Bolsterlee)
6323 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6325 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
6326 paper_size here. (#488820, Morten Welinder)
6328 2008-03-12 Michael Natterer <mitch@imendio.com>
6330 * acconfig.h: remove this deprecated file.
6332 * configure.in: added comments to all instances of AC_DEFINE() so
6333 config.h can be completely generated from configure.in.
6335 2008-03-12 Michael Natterer <mitch@imendio.com>
6337 * modules/printbackends/cups/gtkprintbackendcups.c: include
6338 <glib/gstdio.h> for g_fopen().
6340 2008-03-11 Matthias Clasen <mclasen@redhat.com>
6342 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6343 g_ascii_formatd when formatting custom paper sizes, since
6344 cups doesn't handle , as decimal separator. (#521548)
6346 2008-03-11 Tor Lillqvist <tml@novell.com>
6348 Bug 469868 - Filenames with colon ":" are not saved correctly
6350 * gtk/gtkfilechooserentry.c (insert_text_callback)
6351 (delete_text_callback) [Win32]: New functions to make sure that
6352 colons used otherwise than as a separator after a drive letter, or
6353 characters that are always illegal in file names, are rejected on
6354 input. This means that the GTK+ file chooser can't be used to
6355 input full names of alternate data streams, but oh well. There are
6356 still more checks that could be done on the file names, see the
6357 bug report. But this will do for now.
6358 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6360 2008-03-11 Jordi Mallach <jordi@sindominio.net>
6362 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6364 2008-03-11 Michael Natterer <mitch@imendio.com>
6366 * gdk/linux-fb/*: removed linux-fb backend files.
6370 * docs/README.linux-fb
6371 * gtk/Makefile.am: remove remaining traces of linux-fb.
6373 * gtk/gtkwindow-decorate.c: same here. There is some code that
6374 calls into linux-fb to set window move/resize callbacks. I put it
6375 in #if 0 as a reminder because we did use decorated windows with
6376 the DirectFB backend and it did work, so I don't really know why
6377 this code is needed or how it could work with DirectFB back then.
6378 The file does actually compile now if DECORATE_WINDOWS is defined,
6379 but I didn't test with DirectFB to check if it does anything.
6381 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
6383 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6384 Take thickness into account in the size allocation of the child widgets in
6388 2008-03-11 Richard Hult <richard@imendio.com>
6390 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6392 2008-03-10 Tor Lillqvist <tml@novell.com>
6394 * tests/teststatusicon.c (do_exit, popup_menu): Add the
6395 possibility to test what happens if the process just calls exit()
6396 without any orderly cleanup of GTK+.
6398 2008-03-10 Tor Lillqvist <tml@novell.com>
6400 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6402 2008-03-10 Tor Lillqvist <tml@novell.com>
6404 Bug 520286 - Non-deletable window has no minimize / maximize buttons
6406 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6407 New debugging output function that decodes a set of WS_* bits.
6409 * gdk/win32/gdkprivate-win32.h: Declare it.
6411 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6412 New function that enables or disables one menu entry in the system
6413 menu of a top-level window. (The corresponding decoration will
6414 then also be enabled or disabled (grayed).)
6416 (update_style_bits): Do as the comment says and don't try to
6417 update the window style based on the GdkWMFunctions set for the
6420 (update_system_menu): New function that enables or disables the
6421 system menu entries based on a window's stored set of
6424 (gdk_window_set_functions): Call update_system_menu() instead of
6425 update_style_bits().
6427 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
6429 * README.in: Reword the 2.14 release notes entry about the
6430 deprecation of the gtkitemfactory.h header, and fix typos
6433 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
6435 * modules/engines/ms-windows/msw_style.c (draw_shadow):
6436 Do not draw frame if parent if combobox.
6438 Uses scrollbar width system metrics for combobox button.
6439 Fixes #461805 for XP theme engine.
6441 2008-03-07 Johan Dahlin <johan@gnome.org>
6444 * gtk/gtkbuilderparser.c:
6445 * gtk/gtkbuilderprivate.h:
6446 * gtk/gtkiconfactory.c:
6447 * tests/buildertest.c:
6448 - Treat enums like enums and not values
6449 - Avoid invalid free, in case of more than two sources
6450 - Add better error messages
6451 - Add much improved tests
6452 (#520979, Christian Persch)
6454 2008-03-07 Carlos Garnacho <carlos@imendio.com>
6456 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6459 2008-03-06 Federico Mena Quintero <federico@novell.com>
6461 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6462 GtkFileChooserDialog should set a default response button if the
6463 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
6465 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6466 function, refactor from where there was duplicated code.
6467 (gtk_file_chooser_dialog_map): Look at the buttons in our
6468 action_area. If the response ID for a button is one of the stock
6469 ones, make it the default response button.
6471 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6473 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6475 * gtk/gtkbuilderprivate.h:
6476 * gtk/gtkiconfactory.c:
6477 * tests/buildertest.c:
6478 Implement GtkBuildable on GtkIconFactory, to make
6479 it possible to register custom stock icons.
6482 2008-03-06 Johan Dahlin <johan@gnome.org>
6486 * gtk/gtkstyle.c: npoints->n_points.
6487 * gtk/gtktestutils.h: widget->spinner
6488 * gtk/gtktestutils.c: argc->argcp, argv->argvp
6490 2008-03-06 William Lachance <wrlach@gmail.com>
6492 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
6493 string localizable (as it should be).
6495 2008-03-06 William Lachance <wrlach@gmail.com>
6497 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6498 the time for today's date. It's redudant. (see bug #410517).
6500 2008-03-06 Xan Lopez <xan@gnome.org>
6502 * gtk/gtkfixed.c: fix typo in documentation.
6504 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6506 * gtk/gtkitemfactory.h:
6507 * gtk/gtktypeutils.h:
6508 Move GtkTranslateFunc to gtktypeutils.h so we can completely
6509 deprecate gtkitemfactory.h.
6511 * gtk/gtkactiongroup.h:
6513 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6516 Add a note describing this slight incompatible change
6518 2008-03-06 Johan Dahlin <johan@gnome.org>
6520 * gtk/gtkpreview.h: Avoid double-deprecation.
6522 2008-03-06 Michael Natterer <mitch@imendio.com>
6525 * gtk/Makefile.am: move the remaining deprecated widgets to the
6526 separate sections and replaced spaces by tabs in Makefile.am
6528 2008-03-05 Johan Dahlin <johan@gnome.org>
6530 * configure.in: Add --disable-cups option.
6531 (#513826, Alberto Ruiz)
6535 Separate broken and deprecated sources and headers into different sections
6537 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6539 2008-03-05 Kristian Rietveld <kris@imendio.com>
6541 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6542 short-circuit in case an empty root level would be build (and thus
6543 directly destroyed) if no virtual root has been set.
6545 2008-03-04 Matthias Clasen <mclasen@redhat.com>
6547 * modules/printbackends/cups/gtkprintbackendcups.c:
6548 Honor cups user default options from ~/.cups/lpoptions
6549 (#469210, Stijn Hoop)
6551 2008-03-04 Michael Natterer <mitch@imendio.com>
6554 * gtk/gtkcolorbutton.c
6555 * gtk/gtkentrycompletion.c
6556 * gtk/gtkfontbutton.c
6560 * gtk/gtkpreview.c: don't include "gtksignal.h".
6562 * gtk/gtkfilefilter.c
6563 * gtk/gtkrecentchoosermenu.c
6564 * gtk/gtkrecentfilter.c
6565 * gtk/gtktext.c: don't include "gtkobject.h".
6567 2008-03-04 Simos Xenitellis <simos@gnome.org>
6569 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
6570 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
6572 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
6575 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
6576 file, contains compose sequences that used to exist in
6577 gtk/gtkimcontextsimple.c
6579 * gtk/compose-parse.py: Script to generate compose
6580 sequences from upstream (Xorg).
6582 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
6583 check_algorithmically): New functions. First two search in
6584 gtk_compose_seqs_compact[] for matching compose sequence, third
6585 tries NFC normalisation on incoming compose sequence.
6586 (gtk_im_context_simple_filter_keypress):
6587 Adds searching with check_compact_table(), check_algorithmically().
6589 2008-03-03 Carlos Garnacho <carlos@imendio.com>
6591 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
6592 scrollwheel work in GtkPathBar.
6594 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
6596 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
6597 an input-only window, event_window, which we'll use to capture
6599 (gtk_path_bar_map): Show the event_window under the rest of the
6600 windows, so it will be a catch-all for unhandled events.
6602 2008-03-03 Sven Neumann <sven@gimp.org>
6604 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
6605 typo in the documentation of the GtkFileChooserButtons::file-set
6606 signal (see bug #353196).
6608 2008-03-03 Tor Lillqvist <tml@novell.com>
6610 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6613 2008-03-02 Johan Dahlin <johan@gnome.org>
6615 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
6616 Remove left-over focus_pad variable.
6617 (#490892, Claudio Saavedra)
6619 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
6620 (#518166, Matt Kraai)
6622 2008-03-02 Johan Dahlin <johan@gnome.org>
6624 * docs/tutorial/gtk-tut.sgml: Add a missing space
6625 (#517954, Matt Kraai)
6627 2008-03-03 Tor Lillqvist <tml@novell.com>
6629 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
6630 the widget is a GtkButton before casting.
6632 2008-03-02 Johan Dahlin <johan@gnome.org>
6634 * configure.in: Compare using = instead of ==, which is portable.
6635 (#490787, Thomas Klausner)
6637 2008-03-02 Johan Dahlin <johan@gnome.org>
6639 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
6640 fixes non-C++ build.
6641 (#496032, Nelson Benitez)
6643 2008-02-29 Johan Dahlin <johan@gnome.org>
6645 * demos/gtk-demo/demo.ui:
6646 * gtk/gtkbuilderparser.c:
6647 * gtk/gtkbuilderprivate.h:
6648 * gtk/gtkliststore.c:
6649 * tests/buildertest.c:
6650 Add translatable/context and comment attributes on
6651 <col> tags under a GtkListStore. Refactor parts of the
6652 translation api and make it available inside gtk+ itself.
6653 Update tests and example.
6654 Fixes a part of #518642
6656 2008-02-29 Johan Dahlin <johan@gnome.org>
6659 Add missing g_return_val_if_fail checks for public API.
6661 * gtk/gtkbuilderparser.c:
6662 * gtk/gtkbuilderprivate.h:
6663 Do not use g_error for a few more errors, instead set
6664 the GError sent in through add_from_file/add_from_string.
6665 * tests/buildertest.c:
6666 Add a couple of new parsing tests.
6667 (#519199, Pavel Syomin)
6669 2008-02-29 Federico Mena Quintero <federico@novell.com>
6671 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
6672 refreshing an existing folder (i.e. when we are about to reload
6673 its file list), turn off the folder's is_finished_loading flag.
6674 Otherwise callers which do ::is_finished_loading() followed by
6675 ::list_children() will get nothing.
6677 2008-02-29 Cody Russell <bratsche@gnome.org>
6679 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
6680 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
6682 2008-02-28 Matthias Clasen <mclasen@redhat.com>
6684 * gtk/gtkcalendar.h: Remove trailing comma from enum to
6685 make the compiler happy. (#517295, Sylvain Pasche)
6687 2008-02-27 Michael Natterer <mitch@imendio.com>
6689 * gtk/gtkmenushell.c
6692 * gtk/gtktipsquery.c
6697 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
6698 private functions and virtual function implementations.
6700 2008-02-27 Richard Hult <richard@imendio.com>
6702 * gdk/quartz/GdkQuartzView.c:
6703 * gdk/quartz/GdkQuartzView.h:
6704 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
6705 Fix performance regression for borderless transparent windows
6708 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
6710 * tests/testgtk.c: Revert back to r19454.
6712 2008-02-27 Sven Neumann <sven@gimp.org>
6714 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
6715 Quartz backend, use a native Mac OS X application for the print
6716 preview (bug #518624).
6718 2008-02-26 Michael Natterer <mitch@imendio.com>
6720 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
6721 the members of info->tag_stack since they are a) gobjects and b)
6722 not even owned by us, ugh... Fixes crash when deserializing fails.
6724 2008-02-26 Sven Neumann <sven@gimp.org>
6726 * docs/tools/shooter.c (find_toplevel_window)
6727 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
6728 argument passed to XQueryTree().
6730 2008-02-25 Matthias Clasen <mclasen@redhat.com>
6732 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
6733 don't use beagle_query_add_hit_type.
6735 2008-02-25 Richard Hult <richard@imendio.com>
6737 * gdk/quartz/gdkevents-quartz.c
6738 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
6740 2008-02-24 Richard Hult <richard@imendio.com>
6742 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6743 shown without gdk's control when clicking the dock icon.
6745 2008-02-24 Richard Hult <richard@imendio.com>
6747 * gdk/quartz/gdkprivate-quartz.h:
6748 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6749 Use the subtype field for the custom event that is used to wake up
6750 the mainloop so we can have other custom event types.
6752 * gdk/quartz/gdkevents-quartz.c:
6753 (_gdk_quartz_events_trigger_crossing_events):
6754 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6755 crossing events after showing a window if necessary, to work
6756 around problems with the tracking rect API.
6758 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6760 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6761 wrong results on win32 because it doesn't set the printing units,
6762 which affect the transformation of the cairo context
6763 (#347125, Erik van Pienbroek)
6765 2008-02-22 Tor Lillqvist <tml@novell.com>
6767 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6769 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6771 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6772 acceptable for a module to only support the save_to_callback()
6773 method if it marks itself as WRITABLE
6775 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6777 * configure.in: Bump version
6779 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6781 * === Released 2.13.0 ===
6783 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6785 2008-02-21 Tor Lillqvist <tml@novell.com>
6787 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6788 pass the format string to strftime in the C library's locale's
6789 charset, not the system's. Correspondingly, the return value from
6790 strftime() is in the C library's locale's charset. (#509885)
6792 2008-02-20 Richard Hult <richard@imendio.com>
6794 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6795 the right window level and shadow after recreating the window.
6797 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6798 necessary after drawing (bug #517338).
6800 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6802 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6803 call to g_type_class_unref in case of error. (#517563)
6805 2008-02-18 Sven Neumann <sven@gimp.org>
6807 * gtk/Makefile.am (STOCK_ICONS)
6808 * gtk/stock-icons/16/gtk-page-setup.png
6809 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6810 taken from GNOME icon theme.
6812 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6814 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
6816 * configure.in: Added Kannada (kn) to ALL_LINGUAS
6818 2008-02-17 Johan Dahlin <johan@gnome.org>
6820 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
6821 When converting a stock item based on the label, remove the label property.
6823 2008-02-17 Richard Hult <richard@imendio.com>
6825 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6826 position after showing the window since the window manager might
6827 not place it where we requested in the first places.
6829 2008-02-17 Richard Hult <richard@imendio.com>
6831 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6832 (_gdk_quartz_window_detach_from_parent),
6833 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6834 the toplevel ordering list in all places where the order is
6835 potentially changed. Fixes mouse focus issues for windows with
6836 a transient parent set.
6838 2008-02-17 Richard Hult <richard@imendio.com>
6840 * gdk/quartz/gdkevents-quartz.c
6841 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6842 window when event debugging is enabled.
6844 2008-02-16 Richard Hult <richard@imendio.com>
6846 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6847 to the scroll event (bug #516757, Paul Davis).
6849 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6853 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6855 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
6858 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6860 * gdk/Makefile.am: Don't install private headers. (#463510)
6862 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6863 the installed header gdkprivate.h.
6865 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6867 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6868 a crash with hidden, reorderable tabs. (#513230,
6869 Mike Massonnet, patch by Carlos Garnacho)
6871 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6873 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6874 Warn on duplicate action group names. (#501746, Christian
6877 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6880 * modules/other/gail/tests/Makefile.am:
6881 * modules/other/gail/libgail-util/Makefile.am:
6882 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6883 builds. (#516254, Yevgen Muntyan)
6885 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6890 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
6891 instead of hardcoded target tables. (#516092, Christian Persch)
6893 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6895 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6896 add the same target atom twice. (#516087, Christian Persch)
6898 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6900 * tests/testfilechooser.c: Add a --backend option.
6901 (#516073, Christian Persch)
6903 2008-02-16 Richard Hult <richard@imendio.com>
6905 * gdk/quartz/gdkprivate-quartz.h:
6906 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6909 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6911 * configure.in: Go back to 2.13.0 as version for now,
6912 as there was no consensus to do the jump.
6914 * many other places: Update Since: tags.
6916 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6918 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6920 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6922 2008-02-15 Richard Hult <richard@imendio.com>
6924 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6925 instead of bounds when resizing windows.
6927 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6929 * gdk/x11/gdkkeys-x11.c:
6930 * gdk/x11/gdkcolor-x11.c:
6931 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6933 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6935 * gdk/x11/gdktestutils-x11.c:
6936 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6938 2008-02-15 Tor Lillqvist <tml@novell.com>
6940 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6941 leak Registry key handles. (#516578)
6943 2008-02-14 Richard Hult <richard@imendio.com>
6945 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6946 makeKeyWindow unfortunately doesn't work in all cases, we must use
6947 makeKeyAndOrderFront.
6949 2008-02-14 Richard Hult <richard@imendio.com>
6951 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6952 (gdk_window_hide), (gdk_window_fullscreen),
6953 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6954 the window is hidden.
6956 2008-02-14 Richard Hult <richard@imendio.com>
6958 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6959 resizing to be consistent and to avoid introducing an internal
6960 transform in the view.
6962 2008-02-14 Richard Hult <richard@imendio.com>
6964 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6967 2008-02-14 Johan Dahlin <johan@gnome.org>
6969 * gdk/gdktestutils.h
6970 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6972 2008-02-13 Richard Hult <richard@imendio.com>
6974 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6975 Remove unused variables.
6976 (gtk_clipboard_set_contents),
6977 (gtk_clipboard_get_owner), (clipboard_unset),
6978 (gtk_clipboard_request_targets): Notify the previous clipboard
6979 owner when the owner changes. Fixes bug #493406.
6981 2008-02-13 Richard Hult <richard@imendio.com>
6983 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
6984 the return value (return number of colors that failed), and handle
6986 (gdk_colormap_free_colors): Fix typo in comment.
6988 2008-02-13 Kristian Rietveld <kris@imendio.com>
6990 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
6991 queue a redraw if the rubber banding has actually been active.
6993 2008-02-12 Matthias Clasen <mclasne@redhat.com>
6995 * gtk/gtkpapersize.c:
6996 * gtk/gtkprintoperation.c:
6997 * gtk/gtkvolumebutton.c:
6998 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
6999 out by Behdad Esfahbod.
7001 2008-02-12 Federico Mena Quintero <federico@novell.com>
7003 Merged from gtk-2-12:
7005 Don't focus the file list when shortcuts get activated. This
7006 removes a lot of ambiguity in when the file selection should
7007 change, and makes the overall code flow simpler.
7009 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
7010 file/save dialog clears the filename entry when changing
7013 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
7014 focus should not go to the file list when a shortcut is activated.
7016 * gtk/gtkfilechooserdefault.c
7017 (shortcuts_activate_volume_mount_cb): Don't focus the file list
7018 (shortcuts_activate_get_info_cb): Likewise.
7020 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
7021 the file list (this was the last place where we would focus the
7022 file list explicitly). If you are in the location entry, for
7023 example, you don't want Alt-Home to take you to the file list; you
7024 just want the current folder to change. Thanks to Olle Bergkvist
7025 <olle.bergkvist@yahoo.se> for pointing this out in
7026 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
7027 (focus_browse_tree_view_if_possible): Removed.
7029 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7031 Skip exensions when selecting filenames in the save-as dialog.
7032 (#362516, Carlos Garnacho)
7034 * gtk/gtkfilechooserentry.h:
7035 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
7036 New function to skip the extension part when selecting a filename.
7037 (_gtk_file_chooser_entry_set_base_folder): Use it here.
7039 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
7042 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7044 * gtk/gtkiconview.c: Fix state change reporting for
7045 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
7047 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
7049 * gtk/gtkrecentchooser.c:
7050 (gtk_recent_chooser_class_init): Set the default value of the
7051 :show-not-found property to TRUE, as every implementation sets
7054 * gtk/gtkrecentchooserdefault.c:
7055 (_gtk_recent_chooser_default_init): Sync show_tips to the
7056 default value of the :show-tips property.
7058 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7060 * gtk/gtkclipboard-quartz.c:
7062 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
7065 2008-02-12 Kristian Rietveld <kris@imendio.com>
7067 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
7068 (gtk_tree_view_real_toggle_cursor_row): guard against people
7069 deleting the row in question in the selection-changed callback.
7070 (#514621, Andreas Koehler).
7072 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7074 * gtk/*.c: Unify the handling of various "Enter" keysyms
7075 all over the place. (#515047, Christian Persch)
7077 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7079 * gtk/gtkfilesystemmodel.c:
7081 * gtk/gtkwidget.c: Use g_value_set_static_string() where
7082 appropriate. (#515042, Christian Persch)
7084 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7086 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
7088 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7090 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
7092 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7094 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
7095 (recent_model_sort_drag_data_get):
7096 (search_model_sort_drag_data_get):
7097 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
7098 * gtk/gtkpathbar.c (button_drag_data_get_cb):
7099 Use gtk_selection_data_set_uris() instead of doing it
7100 by hand. (#514890, Christian Persch)
7102 2008-02-12 Michael Natterer <mitch@imendio.com>
7104 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
7105 gtk_get_current_event_time().
7107 2008-02-12 Michael Natterer <mitch@imendio.com>
7109 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
7110 gtk_window_get_key_hash() to get the hash instead of manually
7111 fiddling with quarks and gtk_window_keys_changed(). Also add
7112 g_return_if_fail() to this public function.
7114 2008-02-11 Matthias Clasen <mclasen@redhat.com>
7116 Support keynav in status icons. (#473786, Li Yuan)
7118 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
7120 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
7122 2008-02-11 Kristian Rietveld <kris@imendio.com>
7124 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
7125 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
7126 wrt. link deletion from list; contination of fix for #503569.
7128 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
7130 * gtk/gtkrecentchoosermenu.c:
7131 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
7132 on the placeholder menu item.
7134 * tests/testrecentchoosermenu.c:
7135 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
7136 whether the placeholder menu item gets shown.
7138 2008-02-10 Cody Russell <bratsche@gnome.org>
7140 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
7141 Check the return value of _gtk_file_chooser_get_file_system () for
7142 NULL before passing it to gtk_file_system_path_to_uri ().
7143 (#515667, Francesco Montorsi)
7145 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
7147 * gtk/gtkbuilder.c: Improve the documentation for
7148 gtk_builder_connect_signals. (#514471)
7150 2008-02-10 Matthias Clasen <mclasen@redhat.com>
7152 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
7155 2008-02-08 Cody Russell <bratsche@gnome.org>
7157 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
7158 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
7160 2008-02-08 Richard Hult <richard@imendio.com>
7162 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
7163 delta from the NSEvent for now, generating multiple scroll events
7164 results in a lot of events getting queued up and things get really
7167 2008-02-08 Sven Herzberg <sven@imendio.com>
7169 Adjust the code to match the documentation, examples, "common sense"
7170 and existing applications.
7172 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
7173 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
7176 2008-02-07 Cody Russell <bratsche@gnome.org>
7178 * gdk/win32/gdkevents-win32.c
7179 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
7180 of a block that were causing compile problems on old
7181 compilers. (#515053, reported by Kazuki IWAMOTO)
7183 2008-02-07 Michael Natterer <mitch@imendio.com>
7190 * gtk/gtkmenushell.c
7192 * gtk/gtkoptionmenu.c
7196 * gtk/gtkradiomenuitem.c
7198 * gtk/gtkscrolledwindow.c
7199 * gtk/gtksocket.c: remove g_return_if_fail() from private
7200 functions and virtual function implementations.
7202 2008-02-07 Michael Natterer <mitch@imendio.com>
7205 * gtk/gtkassistant.c
7209 * gtk/gtkcellrenderercombo.c
7212 * gtk/gtkdrawingarea.c
7213 * gtk/gtkentrycompletion.c
7219 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
7220 functions and virtual function implementations.
7222 2008-02-07 Christian Persch <chpe@gnome.org>
7224 * gdk/gdkpixbuf-render.c:
7225 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
7226 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
7227 otherwise there will be random pixel values in the semi-transparent
7228 area of the pixbuf within the mask. Bug #487865.
7230 2008-02-06 Cody Russell <bratsche@gnome.org>
7232 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
7233 otherwise things get wonky when you click on a menu. This fixes
7234 a regression caused in #505928. Thanks to Tor for spotting this
7237 2008-02-06 Michael Natterer <mitch@imendio.com>
7239 * gtk/gtkcontainer.c
7246 * gtk/gtkmenushell.c
7248 * gtk/gtkseparatortoolitem.c
7250 * gtk/gtktextlayout.c
7251 * gtk/gtktoggletoolbutton.c
7252 * gtk/gtktoolbutton.c
7255 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
7258 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7260 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
7261 Allow to store half-open ranges.
7263 2008-02-05 Cody Russell <bratsche@gnome.org>
7265 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
7266 down the stack until we get to a window that is mapped.
7267 Otherwise hiding a window will cause all windows in the app
7268 to be blocked. (#514643)
7270 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7272 * gtk/updateiconcache.c: Ignore images in the toplevel theme
7273 directory, avoiding one source of invalid caches that has been
7274 spotted in the wild.
7276 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7278 * gtk/updateiconcache.c: Fix the previous commit to compile.
7280 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7282 * gtk/updateiconcache.c: Install a printerr handler that
7283 prepends the program name, since gtk-update-icon-cache output
7284 often appears in the middle of other output, e.g. rpm update logs.
7286 2008-02-05 Cody Russell <bratsche@gnome.org>
7288 * gdk/win32/gdkprivate-win32.h
7289 * gdk/win32/gdkevents-win32.c
7290 * gdk/win32/gdkwindow-win32.c
7291 * gdk/win32/gdkwindow-win32.h
7292 * gdk/win32/gdkwin32.h:
7293 Modal window rework. (#455627 and #511111)
7295 2008-02-04 Michael Natterer <mitch@imendio.com>
7297 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7298 g_return_if_fail() if the cell is not part of the combo instead of
7299 crashing in the next line.
7301 2008-02-01 Cody Russell <cody@jhu.edu>
7303 * modules/engines/ms-windows/xp_theme.[ch]
7304 * modules/engines/ms-windows/xp_theme_defs.h
7305 * modules/engines/ms-windows/msw_rc_style.c
7306 * modules/engines/ms-windows/msw_theme_main.c
7307 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7308 attempted to stylize more like the rest of the gtk+ stack's code.
7310 2008-02-01 Michael Natterer <mitch@imendio.com>
7312 * tests/testgtk.c: initialize GdkColor structs to fix warning
7313 about uninitialized "pixel" member.
7315 * tests/testactions.c: connect the toolbar_style() callback so it
7316 does something useful and doesn't warn about being defined but not
7319 2008-01-31 Cody Russell <bratsche@gnome.org>
7321 * gdk/win32/gdkevents-win32.c:
7322 Refactored some of the window hiding/showing code from
7323 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
7324 under WM_ACTIVATE was causing the application to go into
7325 a weird state when the user right-clicked on the taskbar
7326 entry of a window that was minimized. (#505928)
7328 2008-01-31 Cody Russell <bratsche@gnome.org>
7330 * gtk/gtkpaned.c (gtk_paned_set_position):
7331 Change queue_resize() to queue_draw(), and add a check for
7332 child2 != NULL in case someone calls this before there is
7333 a child packed in there. (#144269 again)
7335 2008-01-31 Sven Neumann <sven@gimp.org>
7337 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7338 applied patch from Denis Oliver Kropp <dok@directfb.org>.
7340 2008-01-31 Sven Neumann <sven@gimp.org>
7342 * gdk/directfb/gdkdisplay-directfb.c
7343 * gdk/directfb/gdkdrawable-directfb.c
7344 * gdk/directfb/gdkprivate-directfb.h
7345 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7346 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7348 2008-01-31 Richard Hult <richard@imendio.com>
7350 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7351 issues with undecorated windows. Revert the change done on
7352 2008-01-25 and fix it by using the view's bounds instead. The
7353 bounds will always be up to date when setting up the tracking
7354 rect, so this should be more robust.
7356 2008-01-30 Sven Neumann <sven@gimp.org>
7358 * gdk/directfb/gdkdrawable-directfb.c
7359 * gdk/directfb/gdkwindow-directfb.c
7360 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7361 Oliver Kropp <dok@directfb.org>. Adds debug messages using
7362 DirectFB's debugging system
7364 2008-01-30 Sven Neumann <sven@gimp.org>
7366 * gdk/directfb/gdkdirectfb.h
7367 * gdk/directfb/gdkdisplay-directfb.c
7368 * gdk/directfb/gdkdrawable-directfb.c
7369 * gdk/directfb/gdkim-directfb.c
7370 * gdk/directfb/gdkimage-directfb.c
7371 * gdk/directfb/gdkinput-directfb.c
7372 * gdk/directfb/gdkmain-directfb.c
7373 * gdk/directfb/gdkpixmap-directfb.c
7374 * gdk/directfb/gdktestutils-directfb.c
7375 * gdk/directfb/gdkvisual-directfb.c
7376 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7377 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7378 errors and has some cleanups.
7380 2008-01-30 Michael Natterer <mitch@imendio.com>
7382 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7383 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7386 * gtk/updateiconcache.c (add_string): cast const gchar* to
7387 gpointer when inserting in a GHashTable.
7389 * tests/testcalendar.c (calendar_detail_cb): remove const from
7390 return value since it's a newly allocated string.
7392 (calendar_update_details): free the detail.
7394 2008-01-29 Johan Dahlin <johan@gnome.org>
7396 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7398 * demos/gtk-demo/demo.ui:
7399 Move the about dialog to the glade file, add accessible tags
7400 examples to the markup file.
7402 2008-01-28 Paolo Borelli <pborelli@katamail.com>
7404 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7405 layout, fixes #512375.
7407 2008-01-28 Michael Natterer <mitch@imendio.com>
7409 * gtk/gtktextchild.c
7410 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7412 2008-01-28 Michael Natterer <mitch@imendio.com>
7414 * demos/gtk-demo/builder.c (about_activate): use
7415 gtk_about_dialog_set_program_name() instead of the deprecated
7418 2008-01-28 Michael Natterer <mitch@imendio.com>
7420 * gtk/gtktextchild.c
7421 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7424 2008-01-26 Johan Dahlin <johan@gnome.org>
7426 * tests/Makefile.am:
7427 * tests/textbuffertest.c:
7428 Rename textbuffer test and port it to the new test framework
7430 2008-01-25 Johan Dahlin <johan@gnome.org>
7432 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7433 unsetting of GTK_MODULES.
7435 * gtk/gtk-builder-convert
7436 (GtkBuilderConverter._convert_adjustment): Handle the case where
7437 there is no child text node.
7438 (GtkBuilderConverter): Allow xml comments in most places.
7440 2008-01-25 Johan Dahlin <johan@gnome.org>
7442 * gtk/gtk-builder-convert
7443 (GtkBuilderConverter._convert_combobox_items): Remove the items
7444 even if there are no items set.
7445 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7446 signals and tooltips for all menu items subclasses and
7447 GtkImageMenuItem:label.
7448 Makes it possible to fully convert and run Jokosher.glade.
7450 2008-01-25 Johan Dahlin <johan@gnome.org>
7452 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7453 (gtk_widget_buildable_get_internal_child), (free_action),
7454 (free_relation), (gtk_widget_buildable_parser_finished),
7455 (accessibility_start_element),
7456 (gtk_widget_buildable_custom_tag_start),
7457 (gtk_widget_buildable_custom_finished):
7458 Implement accessible support, fixes #454653.
7460 * gtk/gtk-builder-convert:
7461 Add support for migrating old glade files
7463 * tests/buildertest.c: (test_widget), (test_file):
7464 Add accessible tests and imprve the test_file function to display
7465 toplevels and run dialogs.
7467 2008-01-25 Richard Hult <richard@imendio.com>
7469 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7470 didn't change, fixes focus event issues for undecorated windows.
7472 2008-01-25 Richard Hult <richard@imendio.com>
7474 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7475 const and remove unused variables).
7477 2008-01-25 Michael Natterer <mitch@imendio.com>
7480 * gtk/gtkcellrenderer.h
7481 * gtk/gtkimcontext.h
7485 * gtk/gtktreeprivate.h
7486 * gtk/gtktreeviewcolumn.h
7487 * gtk/gtkwidget.h: add const to constant structs which are passed
7488 into GTK+. Also add some forgotten const for const strings.
7492 * gtk/gtkcellrenderer.c
7493 * gtk/gtkimcontext.c
7498 * gtk/gtktreeviewcolumn.c
7499 * gtk/gtkwidget.c: changed accordingly.
7501 2008-01-25 Sven Herzberg <sven@imendio.com>
7503 Reviewed by Johan Dahlin.
7505 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7506 this is called with something that's not a GtkUIManager
7508 2008-01-24 Johan Dahlin <johan@gnome.org>
7510 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
7511 Chain up to parent, so widgets can have internal children.
7513 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7515 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7518 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7520 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7522 Use pango_layout_set_height() for calendar details (#506049).
7524 * configure.in: Require 1.19.3 for pango_layout_set_height().
7525 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7527 2008-01-18 Johan Dahlin <johan@gnome.org>
7529 * gtk/gtk-builder-convert (get_property_node): New method
7530 (GtkBuilderConverter._create_object): Conditionally take a node as
7531 a property value, so don't lose translate/context attributes if they
7533 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7534 property values instead of strings.
7535 (#509153, Erik van Pienbroek)
7537 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
7539 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7541 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7542 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7543 * tests/testcalendar.c: Duplicate calendar details before returning.
7545 2008-01-16 Christian Persch <chpe@gnome.org>
7547 * gtk/gtkwidget.c: Store the event mask and extension event mode
7548 directly in the gobject data pointer, instead of in an allocated
7551 2008-01-16 Michael Natterer <mitch@imendio.com>
7553 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
7554 gdk-pixbuf now uses gio functions.
7556 2008-01-16 Matthias Clasen <mclasen@redhat.com>
7558 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
7559 the notify::model signal. (#509819, David Zeuthen)
7561 2008-01-15 Michael Natterer <mitch@imendio.com>
7569 * gdk/gdkwindow.h: made more struct pointer and array parameters
7570 const. GDK should now be constified as far as possible without
7571 breaking source compatibility. Includes some minor cleanup like
7572 indentation and s/nfoo/n_foo/ (bug #508544).
7578 * gdk/gdkregion-generic.c
7580 * gdk/directfb/gdkdisplay-directfb.c
7581 * gdk/directfb/gdkwindow-directfb.c
7582 * gdk/quartz/gdkdisplay-quartz.c
7583 * gdk/quartz/gdkwindow-quartz.c
7584 * gdk/win32/gdkdisplay-win32.c
7585 * gdk/win32/gdkwindow-win32.c
7586 * gdk/x11/gdkdisplay-x11.c
7587 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7589 2008-01-14 Michael Natterer <mitch@imendio.com>
7591 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
7594 (gtk_rc_parse_any): change variables to const and introduce
7595 another local variable to fix const warnings.
7597 2008-01-14 Michael Natterer <mitch@imendio.com>
7599 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
7600 of gdk_screen_get_font_options() to gpointer to get rid of const
7603 2008-01-14 Michael Natterer <mitch@imendio.com>
7605 * tests/testdnd.c (source_drag_data_get): fix another call to
7606 gtk_selection_data_set().
7608 2008-01-14 Michael Natterer <mitch@imendio.com>
7610 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
7613 2008-01-14 Michael Natterer <mitch@imendio.com>
7615 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
7617 2008-01-14 Michael Natterer <mitch@imendio.com>
7619 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
7620 "uris" to guchar* when passing it to gtk_selection_data_set().
7622 2008-01-14 Michael Natterer <mitch@imendio.com>
7628 * gdk/gdkinternals.h
7630 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
7631 parameters const (bug #508544).
7636 * gdk/gdkrectangle.c
7637 * gdk/gdkpolyreg-generic.c
7638 * gdk/gdkregion-generic.c
7639 * gdk/directfb/gdkcolor-directfb.c
7640 * gdk/directfb/gdkgc-directfb.c
7641 * gdk/directfb/gdkgeometry-directfb.c
7642 * gdk/directfb/gdkwindow-directfb.c
7643 * gdk/quartz/gdkcolor-quartz.c
7644 * gdk/quartz/gdkgc-quartz.c
7645 * gdk/quartz/gdkgeometry-quartz.c
7646 * gdk/quartz/gdkwindow-quartz.c
7647 * gdk/win32/gdkcolor-win32.c
7648 * gdk/win32/gdkgc-win32.c
7649 * gdk/win32/gdkgeometry-win32.c
7650 * gdk/win32/gdkprivate-win32.h
7651 * gdk/win32/gdkwindow-win32.c
7652 * gdk/x11/gdkcolor-x11.c
7653 * gdk/x11/gdkgc-x11.c
7654 * gdk/x11/gdkgeometry-x11.c
7655 * gdk/x11/gdkmain-x11.c
7656 * gdk/x11/gdkprivate-x11.h
7657 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7659 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
7662 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7664 Explain name choice for gtk_tool_item_toolbar_reconfigured.
7666 * gtk/gtktoolitem.c: Add comment expaining name choice for
7667 gtk_tool_item_toolbar_reconfigured.
7669 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7671 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
7672 implementations to notify its children, when some aspect of their
7673 configuration changed (#509042).
7675 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
7676 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
7677 Rename _gtk_tool_item_toolbar_reconfigured.
7679 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7681 Include <gtk/gtktoolshell.h> from gtk.h.
7683 * gtk/gtk.h: Add gtktoolshell.h
7685 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7687 Print angle brackets arround e-mail addresses in the about dialog
7688 (#409520, Mariano Suárez-Alvarez).
7690 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
7692 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
7694 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
7695 special casing so test widgets are always queues for destruction
7698 * gtk/tests/testing.c: removed bits left-over from testing without
7701 2008-01-10 Tor Lillqvist <tml@novell.com>
7703 * modules/other/gail/libgail-util/Makefile.am
7704 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
7707 2008-01-10 Tor Lillqvist <tml@novell.com>
7709 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
7710 uses gtkprintunixdialog API.
7712 2008-01-10 Tor Lillqvist <tml@novell.com>
7714 * gdk/win32/gdkdisplay-win32.c
7715 * gdk/win32/gdkglobals-win32.c
7716 * gdk/win32/gdkprivate-win32.h
7717 * gdk/win32/gdkscreen-win32.c
7718 * gdk/win32/gdkwindow-win32.c: Implement
7719 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
7720 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
7723 2008-01-10 Cody Russell <bratsche@gnome.org>
7725 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
7726 Properly ref/unref windows and parents. (#506769)
7728 2008-01-10 Richard Hult <richard@imendio.com>
7730 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7731 (gdk_window_hide), (move_resize_window_internal): Move the
7732 tracking rect workaround from here...
7734 * gdk/quartz/GdkQuartzWindow.c:
7735 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
7736 movements during showing/hiding operations. Fixes bug #508516.
7738 2008-01-10 Michael Natterer <mitch@imendio.com>
7740 * gdk/directfb/gdkscreen-directfb.c
7741 (gdk_screen_get_monitor_width_mm)
7742 (gdk_screen_get_monitor_height_mm)
7743 (gdk_screen_get_monitor_plug_name): add these functions to make
7746 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7748 * gtk/gtkrecentchoosermenu.c:
7749 (idle_populate_func), (idle_populate_clean_up): Fix possible
7750 recursion by resetting the idle source id. (#507605, William
7753 2008-01-10 Kristian Rietveld <kris@imendio.com>
7755 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7756 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7757 avoid valgrind warnings. (#507751, patch from Christian Persch).
7759 2008-01-10 Kristian Rietveld <kris@imendio.com>
7761 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7762 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7764 2008-01-10 Kristian Rietveld <kris@imendio.com>
7766 Fix #477175, reported by Juri Pakaste.
7768 * gtk/gtktreeprivate.h:
7769 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7770 tree_view->priv->dy here directly, just calculate the new value
7771 and set it on the adjustment,
7772 (gtk_tree_view_adjustment_changed): add guards to not call
7773 gtk_tree_view_dy_to_top_row() if we are currently in
7774 gtk_tree_view_top_row_to_dy(),
7775 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7776 coordinates, not tree coordinates,
7777 (gtk_tree_view_real_start_editing): add cast.
7779 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7780 position of the editable in the "create new row and start editing"
7783 2008-01-09 Michael Natterer <mitch@imendio.com>
7785 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7788 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7789 * gtk/gtkicontheme.c (theme_list_contexts)
7790 (gtk_icon_theme_lookup_icon)
7791 * gtk/gtkimcontextsimple.c (beep_window)
7792 * gtk/gtklinkbutton.c (set_link_color)
7793 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7796 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7797 variable and add const to another to fix a warning.
7799 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7801 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7802 the current page. (#499951, Andreas Sandberg)
7804 2008-01-06 Johan Dahlin <johan@gnome.org>
7806 * gtk/gtkspinbutton.c: Declare value in the example code for
7807 GtkSpinButton::output, as pointed out by Anders Carlsson.
7809 2008-01-06 Christian Persch <chpe@gnome.org>
7811 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7812 and remove an obsolete event box. Bug #506760.
7814 2008-01-06 Johan Dahlin <johan@gnome.org>
7816 * tests/buildertest.c (test_domain):
7817 Update, GtkBuilder::translation-domain is no longer set
7819 * gtk/gtkbuilderparser.c (parse_interface):
7820 Allow domains to be overridden in <interface>'s if a translation-domain
7821 is set in the builder.
7822 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7823 of the builder, make the domain set in the <interface> apply only to strings
7825 (#496831, Ryan Lortie)
7827 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
7830 * gtk/gtktreestore.c (tree_model_end_element):
7831 Remove an unused variable
7833 2008-01-06 Matthias Clasen <mclasen@redhat.com>
7835 * gtk/gtkspinbutton.c: Document the ::output signal and
7836 add an example. (#507566, example by Owen Taylor)
7838 2008-01-06 Johan Dahlin <johan@gnome.org>
7840 * gtk/gtkcellrenderercombo.c:
7841 (gtk_cell_renderer_combo_get_property),
7842 (gtk_cell_renderer_combo_set_property):
7843 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7844 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7845 * gtk/gtknotebook.c: (gtk_notebook_set_property):
7846 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7847 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7848 (gtk_text_buffer_get_property):
7849 * gtk/gtktextview.c: (gtk_text_view_set_property):
7850 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7851 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7852 (gtk_tool_button_get_property):
7853 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7854 (gtk_tool_item_get_property):
7855 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7856 * gtk/gtkwidget.c: (gtk_widget_set_property):
7857 * gtk/gtkwindow.c: (gtk_window_set_property):
7858 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7861 2008-01-06 Johan Dahlin <johan@gnome.org>
7863 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
7864 Make sure that --root works for toplevel widgets.
7865 (#491847, Phil Lello)
7867 2008-01-05 Johan Dahlin <johan@gnome.org>
7869 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7870 to make sure that make test-report works properly
7872 2008-01-05 Christian Persch <chpe@gnome.org>
7874 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7875 GType as integer through gpointer. Bug #507395.
7877 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
7879 Avoid some compiler warnings (#507000).
7881 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7882 for value argument of _gtk_builder_flags_from_string.
7883 * gtk/gtkwidget.c: Don't alias the child pointer passed
7884 to gdk_window_get_user_data.
7886 2008-01-04 Michael Natterer <mitch@imendio.com>
7888 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7889 to set the time in the returned GdkTimeCoords.
7891 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
7893 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7894 correct comparison function (kudos to Christian Persch and
7895 Claudio Saavedra for spotting this)
7897 * gtk/gtkrecentchooserutils.c:
7898 (sort_recent_items_mru),
7899 (sort_recent_items_lru): Ditto as above.
7901 2008-01-03 Johan Dahlin <johan@gnome.org>
7903 * tests/defaultvaluetest.c: Make it pass again.
7905 2008-01-02 Johan Dahlin <johan@gnome.org>
7907 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
7908 make it pass on Ubuntu.
7909 (main): Use gtk_test_list_all_types () instead of providing our
7911 And it no longer passes.
7913 2007-12-30 Johannes Schmid <jhs@gnome.org>
7915 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7916 Also reorder menu when reordering tabs by drag & drop
7919 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7920 Add a menu to one of the notebooks to have a test-case for
7921 the change mentioned above.
7923 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
7925 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7927 2007-12-31 Christian Persch <chpe@gnome.org>
7929 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7930 Plug a mem leak. Bug #506107.
7932 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7934 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7935 icon cache api change. (#506135, Kazuki Iwamoto)
7937 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7939 Consider "wide-separators" and "separator-height" style properties:
7940 The separator is drawn using gtk_paint_box instead of cairo, when
7941 "wide-separators" is set. Also do not highlight details for previous
7942 or next month, if their day matches the selected day. (#339540)
7944 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7945 in gtk_calendar_size_request and calendar_paint_day
7946 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7947 for selected detail separators in GtkCalendar.
7949 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7951 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7953 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7954 a local variable instead in gtk_calendar_size_request.
7956 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7958 * tests/defaultvaluetest.c: Add enough exclusions to make the
7961 2007-12-28 Christian Persch <chpe@gnome.org>
7963 * modules/other/gail/Makefile.am:
7964 * modules/other/gail/tests/*:
7965 * configure.in: Merge tests from standalone gail. Bug #504568.
7967 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7969 * gtk/gtkclipboard.c: Make the finalizer work when display is
7972 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7974 Draw bottom shadow of GtkCalender headings. (#506113)
7976 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7978 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7980 * gtk/gtkcalendar.c: Document the initial values of year/month/day
7983 2007-12-28 Christian Persch <chpe@gnome.org>
7985 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
7986 a mem leak. Bug #506096.
7988 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7991 * gtk/gtktreeview.c:
7992 * gtk/gtkprintoperation.c:
7993 * gtk/gtkprogressbar.c:
7994 * gtk/gtkmessagedialog.c:
7995 * gtk/gtknotebook.c:
7999 * gtk/gtklinkbutton.c:
8000 * gtk/gtkmenu.c: More default property value corrections.
8002 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8004 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
8005 accel_group unless it is set.
8007 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8009 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
8011 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8013 * gtk/gtkhandlebox.c: Fix the default values of shadow and
8014 shadow-type properties.
8016 * gtk/gtkfontsel.c: Fix the default values of several properties.
8018 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
8021 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
8023 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
8026 2007-12-28 Johan Dahlin <johan@gnome.org>
8028 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
8029 (gtk_dialog_buildable_custom_tag_start): Chain up.
8030 This makes it possible to have accelerators tags on GtkDialog
8033 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8035 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
8036 are shown within the widget, or just as tooltip. (#339540)
8038 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
8039 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
8040 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
8043 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8045 Try more decent appearance of calendar details separator. (#339540)
8047 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
8048 and make it short by one pixel on each side.
8050 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8052 Apply trivial code-style changes from attachement 101101. (#339540)
8054 * tests/testcalendar.c: Some updates to current GTK+ code-style.
8056 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8058 Restructure testcalendar for testing calendar details. (#339540)
8060 * tests/testcalendar.c: Push code arround for testing calendar details.
8062 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8064 Implement GtkTooltip API for calendar details. (#339540)
8066 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
8067 Remember detail overflows in calendar_paint_day to show the tooltip
8068 only when neccessary.
8070 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8072 Without setting "detail-width-chars" and "detail-height-rows"
8073 properties not only the widget has to be redrawn on certain
8074 conditions, but also its size must be recalculated. (#339540)
8076 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
8077 that function instead of gtk_widget_queue_draw.
8079 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8081 Consider details for size-request and expose-event. (#339540)
8083 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
8084 is_color_attribute functions. Change gtk_calendar_size_request
8085 and calendar_paint_day to consider and show calender details.
8087 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8089 * gtk/gtkcombobox.c: Introduce local priv variables to
8092 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8094 * gtk/gtkcombobox.c: Correct the default value for the
8095 tearoff-title property.
8097 * gtk/gtkcellrenderertext.c: Fix the default value for the
8098 wrap-mode and font-scale properties.
8100 * gtk/gtkaspectratio.c: Fix the default value for the ratio
8103 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8105 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
8106 defines. (#505708, MINAMI Hirokazu)
8108 2007-12-27 Christian Persch <chpe@gnome.org>
8110 * Makefile.am: Install gail.pc. Bug #505859.
8112 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
8114 Add infrastructure for GtkCalendar details. (#339540)
8116 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
8117 Add "detail-width-chars" and "detail-height-rows" properties,
8118 and gtk_calendar_set_detail_func function.
8120 2007-12-27 Xan Lopez <xan@gnome.org>
8123 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
8125 Add gtk_border_new to avoid memory allocator confusions when using
8126 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
8128 2007-12-27 Christian Persch <chpe@gnome.org>
8130 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
8131 bug #504886 not to read unitialised memory.
8133 2007-12-26 Xan Lopez <xan@gnome.org>
8135 * gtk/gtkstatusbar.c (has_extra_children): take into account the
8136 modification of the internal frame contents to decide if we have
8137 extra children. (#415677)
8139 2007-12-22 Christian Persch <chpe@gnome.org>
8141 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
8143 2007-12-25 Christian Persch <chpe@gnome.org>
8145 * modules/other/gail/gailwindow.c: (gail_window_initialize):
8146 Initialise |widget|. Fixes a buglet introduced by the commit from bug
8149 2007-12-25 Christian Persch <chpe@gnome.org>
8151 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
8153 2007-12-25 Christian Persch <chpe@gnome.org>
8155 * modules/other/gail/*.[ch]: Remove relocations from the atk
8156 factories. Remove unused gail_foo_new() functions. Fix object
8157 instantiation to be derivation safe by moving initialisation code
8158 from the removed gail_foo_new() functions to the
8159 AtkObjectClass::initialize implementation. Bug #505226.
8161 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8163 * modules/other/gail/gailentry.c:
8164 * modules/other/gail/gailimage.c:
8165 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
8166 uses of clipboards and settings. (#504722, Christian Persch)
8168 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8170 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
8173 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8175 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
8176 use the time and button information from the event. (#504901,
8179 2007-12-23 Cody Russell <bratsche@gnome.org>
8181 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
8182 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
8183 Fixes a regression caused by #164537 patch where transient
8184 windows that are hidden get shown (incorrectly) when their
8185 parents are minimized. (#504984)
8187 2007-12-22 Christian Persch <chpe@gnome.org>
8189 * modules/other/gail/gailcell.c:
8190 * modules/other/gail/gailcontainercell.c:
8191 * modules/other/gail/gailexpander.c:
8192 * modules/other/gail/gailtextcell.c:
8193 * modules/other/gail/gailtextview.c:
8194 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
8196 2007-12-22 Christian Persch <chpe@gnome.org>
8198 * modules/other/gail/*.c: Include config.h. Bug #504720.
8200 2007-12-22 Christian Persch <chpe@gnome.org>
8202 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
8203 handwritten get_type functions. Bug #504661.
8205 2007-12-23 Xan Lopez <xan@gnome.org>
8207 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
8208 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
8210 Patch by Sadrul Habib Chowdhury (#504804)
8212 2007-12-22 Christian Persch <chpe@gnome.org>
8214 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
8215 #504645, patch by Li Yuan.
8217 2007-12-22 Christian Persch <chpe@gnome.org>
8219 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
8221 2007-12-22 Christian Persch <chpe@gnome.org>
8223 * modules/other/gail/gail.c:
8224 * modules/other/gail/gailbutton.c:
8225 * modules/other/gail/gailcell.c:
8226 * modules/other/gail/gailcombo.c:
8227 * modules/other/gail/gailcombo.h:
8228 * modules/other/gail/gailcombobox.c:
8229 * modules/other/gail/gailentry.c:
8230 * modules/other/gail/gailexpander.c:
8231 * modules/other/gail/gailmenuitem.c:
8232 * modules/other/gail/gailnotebook.c:
8233 * modules/other/gail/gailnotebookpage.c:
8234 * modules/other/gail/gailnotebookpage.h:
8235 * modules/other/gail/gailoptionmenu.c:
8236 * modules/other/gail/gailrange.c:
8237 * modules/other/gail/gailtextview.c:
8238 * modules/other/gail/gailtreeview.c:
8239 * modules/other/gail/gailtreeview.h:
8240 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
8243 2007-12-22 Matthias Clasen <mclasen@redhat.com>
8245 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
8248 2007-12-21 Richard Hult <richard@imendio.com>
8250 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
8251 Plug leak of destroyed subviews, fixes bug #504753.
8253 2007-12-20 Johan Dahlin <johan@gnome.org>
8255 * tests/Makefile.am (TEST_PROGS):
8256 * tests/defaultvaluetest.c: Add a test for default values,
8257 based on program by Christan Perch
8259 2007-12-20 Johan Dahlin <johan@gnome.org>
8261 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
8262 Refactor to avoid some duplication.
8263 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
8264 Fixes #504749, Yuri Pimenov
8266 2007-12-20 Kristian Rietveld <kris@imendio.com>
8268 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
8269 the build work again on systems without xrandr 1.2.
8271 2007-12-20 Christian Persch <chpe@gnome.org>
8274 * modules/other/gail/libgail-util/Makefile.am:
8275 Keep the same libtool version as the standalone libgail-util had.
8278 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
8280 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8282 2007-12-20 Alexander Larsson <alexl@redhat.com>
8284 * gdk/x11/gdkapplaunchcontext-x11.c:
8285 Update for gio API changes
8287 2007-12-20 Richard Hult <richard@imendio.com>
8289 * gdk/quartz/GdkQuartzWindow.c:
8290 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8291 processing events after changing the size.
8293 2007-12-20 Richard Hult <richard@imendio.com>
8295 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8296 Add stub for quartz to fix build.
8298 2007-12-20 Christian Persch <chpe@gnome.org>
8300 * modules/other/gail/Makefile.am:
8301 * modules/other/gail/gailimage.c: (gail_image_class_init),
8302 (gail_image_init), (elide_underscores), (gail_image_get_name),
8303 (atk_image_interface_init), (gail_image_finalize):
8304 * modules/other/gail/gailimage.h:
8305 R modules/other/gail/gailintl.h:
8306 * po/POTFILES.skip: Use the stock item's label as the name of the
8307 accessible in gailimage.c. Bug #504246.
8309 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
8311 Avoid some compiler warnings and remove obsolete code. (#339540)
8313 * gtk/gtkcalendar.c: Change week and year variable in
8314 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8315 0" block from calendar_paint_day: The feature in question is handled
8316 few lines above. Cast data returned by gtk_selection_data_get_text()
8317 to (gchar*) in gtk_calendar_drag_data_received.
8319 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
8321 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8323 2007-12-19 Johan Dahlin <johan@gnome.org>
8325 * tests/buildertest.c (test_object_properties):
8326 Add another call to gtk_builder_add_string after using
8327 delayed properties, as reported in #504393 but already
8330 2007-12-18 Christian Persch <chpe@gnome.org>
8333 * docs/reference/Makefile.am:
8334 * docs/reference/libgail-util/*:
8335 * gail-uninstalled.pc.in:
8337 * modules/Makefile.am:
8338 * modules/other/Makefile.am:
8339 * modules/other/gail/*:
8340 * modules/other/gail/libgail-util/*:
8341 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8343 2007-12-17 Matthias Clasen <mclasen@redhat.com>
8345 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8346 * gdk/win32/gdkproperty-win32.c:
8347 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8349 * gtk/gtkimmodule.[hc]:
8350 * gtk/gtkimmulticontext.[hc]: When determining the default context,
8351 look at the gtk-im-module setting, and listen for changes to the
8352 setting. (#502446, Akira Tagoh)
8354 2007-12-17 Kristian Rietveld <kris@imendio.com>
8356 * gtk/gtktooltip.c (gtk_tooltip_finalize),
8357 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8358 to NULL as soon as it's destroyed. (#496546, patch from
8361 2007-12-17 Kristian Rietveld <kris@imendio.com>
8363 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8364 always determine what arrow to show if show_sort_indicator is true.
8365 (#352738, Chris Vine).
8367 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
8369 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8372 * gtk/gtkpaned.c: Call gtk_container_forall instead of
8373 gtk_container_foreach in get_child_panes.
8375 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
8377 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8379 Plug leak: When reordering the info in the list the old node is
8380 removed but not freed. (#503569)
8382 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
8384 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8385 Use u32 instead of __u32 and u8 instead of __u8 as the other types
8386 are deprecated since DirectFB 1.0.0. If compiling with an older
8387 version define the new type name to the old types. Fixes bug #503190.
8389 2007-12-14 Ray Strode <rstrode@redhat.com>
8391 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8392 instead of g_signal_connect_after (..., "realize", ...) as an
8393 alternative to gtk_widget_realize () (bug 503537).
8395 2007-12-14 Michael Natterer <mitch@imendio.com>
8397 * gdk/gdkinternals.h
8398 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8401 * gdk/gdkapplaunchcontext.c
8402 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8403 header already includes everything now.
8405 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8407 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8408 next stable release shall be 2.16, not 2.14 - even if disagree.
8410 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8412 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8414 Change GtkToolItem to retrieve its properties from GtkToolShell
8415 interface, instead of relying on being child of a GtkToolbar.
8418 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8419 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8420 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8421 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8422 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8423 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8424 Take section docs from template file and update them for GtkToolShell.
8425 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8426 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8428 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8430 Extract loading of GtkPageSetup and GtkPrintSettings from their
8431 *_new_*() functions and move that code into separate
8432 *_load_*() functions (#475565).
8434 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8435 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8436 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8437 Change the matching *_new_*() functions to use those functions.
8439 2007-12-14 Matthias Clasen <mclasen@redhat.com>
8442 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8444 2007-12-14 Kristian Rietveld <kris@imendio.com>
8446 * gtk/tests/liststore.c:
8447 * gtk/tests/treestore.c: added tests for insertion functions.
8449 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
8451 * Add RandR 1.2 support
8453 - New monitors_changed signal - New API to get width/height of
8454 monitors, and the name of the plug
8456 2007-12-13 Kristian Rietveld <kris@imendio.com>
8458 * gtk/tests/liststore.c:
8459 * gtk/tests/treestore.c: test the move and swap functions on a
8460 store with only one node.
8462 2007-12-13 Kristian Rietveld <kris@imendio.com>
8464 * gtk/gtktestutils.c (gtk_test_init): add a call to
8467 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8470 2007-12-13 Kristian Rietveld <kris@imendio.com>
8472 * gtk/tests/liststore.c:
8473 * gtk/tests/treestore.c: start composing tests for the list and tree
8476 * gtk/tests/treeview-scrolling.c: added automated tests for
8477 GtkTreeView's scrolling "subsystem".
8479 * gtk/tests/Makefile.am: updated; added new test programs.
8481 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
8483 Make the code compile again after the GdkAppLaunchContext changes.
8485 * configure.in: Add gio-2.0 to GDK_PACKAGES.
8486 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8488 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8490 * gdk/gdkapplaunchcontext.c: Add docs
8492 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8494 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
8495 in gdk, providing startup notification. (#503203)
8497 * gdk/x11/gdkapplaunchcontext-x11.c:
8498 * gdk/win32/gdkapplaunchcontext-win32.c:
8499 * gdk/quartz/gdkapplaunchcontext-quartz.c:
8500 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8501 parts. All but X11 are just empty stubs for now.
8504 * gdk/gdkinternals.h:
8506 * gdk/x11/Makefile.am:
8507 * gdk/win32/Makefile.am:
8508 * gdk/quartz/Makefile.am:
8509 * gdk/directfb/Makefile.am: Necessary glue.
8511 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
8513 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8515 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8517 * gdk/directfb/gdktestutils-directfb.c:
8518 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8519 which adds testing functions to the DirectFB backend.
8521 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8523 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8524 Ciccani which fixes the mixing of gdk and cairo rendering.
8526 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
8528 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8529 on "drag-motion" handlers. Clearify documentation for
8532 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
8534 * buildertest.c: made unnecessarily exported symbols static.
8535 switched g_return_if_fail() statements in tests to assertions.
8536 special cased currently failing Widget/accesibility test to
8537 run only for g_test_thorough(), so it doesn't break make check.
8538 some coding style fixes.
8540 * Makefile.am: added buildertest to TEST_PROGS.
8542 2007-12-11 Stefan Kost <ensonic@users.sf.net>
8544 * docs/tutorial/gtk-tut.sgml:
8545 Use gtk_widget_get_parent_window() instead of widget->parent->window.
8547 2007-12-10 Richard Hult <richard@imendio.com>
8549 * gdk/quartz/Makefile.am:
8550 * gdk/quartz/gdkquartz.h:
8551 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
8552 header (bug #405915). Also add a getter for the toplevel nswindow.
8554 2007-12-10 Richard Hult <richard@imendio.com>
8556 * gdk/quartz/gdkdrawable-quartz.c:
8557 (gdk_quartz_drawable_get_context),
8558 (gdk_quartz_drawable_release_context):
8559 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
8560 (gdk_event_check), (gdk_event_dispatch), (poll_func):
8561 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
8562 used for each drawing context and in prepare, dispatch and poll
8563 with one that exists across each main loop iteration. Fixes leaks
8564 on leopard and protects against future leaks introduce when the
8565 underlying system changes again (bug #492977).
8567 2007-12-10 Richard Hult <richard@imendio.com>
8569 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
8570 Fix the check for no changes to position and size.
8572 2007-12-10 Richard Hult <richard@imendio.com>
8574 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
8575 sized areas at (0, 0), patch from Paul Davis.
8577 2007-12-10 Richard Hult <richard@imendio.com>
8579 * gdk/quartz/gdkprivate-quartz.h:
8580 * gdk/quartz/gdkeventloop-quartz.c:
8581 (_gdk_quartz_event_loop_get_pending),
8582 (_gdk_quartz_event_loop_check_pending),
8583 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
8584 (gdk_event_check), (gdk_event_dispatch):
8585 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
8586 (_gdk_events_queue): Fix a bug where we could end up trying to
8587 handle the same event more than once. Based on patch from Paul
8590 2007-12-10 Tor Lillqvist <tml@novell.com>
8592 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
8595 2007-12-10 Matthias Clasen <mclasen@redhat.com>
8597 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
8598 to avoid further fallout from the fix for bug 388321.
8600 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8602 * gdk/directfb/gdkgc-directfb.c:
8603 * gdk/directfb/gdkdrawable-directfb.c:
8604 * gdk/directfb/gdkdirectfb.h:
8605 * gdk/directfb/gdkwindow-directfb.c:
8606 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8607 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
8608 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
8609 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
8610 which are expected to improve the performance of the DirectFB backend.
8611 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
8613 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8615 * gtk/gtkcontainer.c: Correct the documentation of child
8616 property getter arguments. (#501992, David Brigada)
8618 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8620 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
8621 leak pixbufs. (#502250, Yevgen Muntyan)
8623 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
8625 * gtk/gtkprintunixdialog.c:
8626 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
8627 Print and Page Setup dialogs (#502202).
8629 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
8631 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
8632 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
8633 of XVFB_START, since it's the GTESTER invokation that needs this.
8635 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
8637 * gdk-pixbuf/gdk-pixbuf.symbols:
8639 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
8640 positives in abicheck.sh
8642 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8644 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
8645 GDK events generations in the DirectFB backend.
8647 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
8649 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
8650 set of likely unused display ids, because MacOS has no seq(1) command.
8652 2007-12-06 Richard Hult <richard@imendio.com>
8654 * gdk/quartz/gdkevents-quartz.c:
8655 (synthesize_crossing_events_for_ns_event): Fix warning when
8656 switching spaces in leopard.
8658 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
8660 * tests/floatingtest.c: ported to new testing framework.
8662 * tests/Makefile.am: run floatingtest as testing framework test.
8664 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
8666 * tests/autotestfilechooser.c: majorly speed up execution by reducing
8667 timeouts and converting main loop sleeps to pending/iterate loops with
8668 very low priority async handlers. eliminate output for non-verbose
8669 tests. assert successfull subtests in all test functions. use testing
8670 framework in main().
8672 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
8673 executed inside Xvfb upon make check.
8675 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
8677 * tests/objecttests.c: use string comparisons for string property
8678 values and get rid of referencing symbols in array initialization.
8680 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
8682 * gtk+/Makefile.decl: run tests in current dir after setting up the
8683 logging directory, so their results get properly merged into the
8686 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
8687 tests to loop over registered Gdk/Gtk+ types.
8689 * gtk+/tests/objecttests.c: new test program, implements automated
8690 property tests. several properties are blacklisted because they
8691 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
8692 can be used to test blacklisted properties and see which proprty failed.
8694 2007-12-04 Richard Hult <richard@imendio.com>
8696 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
8697 Fully initialize the root window, fixes bug #501583.
8699 2007-12-04 Matthias Clasen <mclasen@redhat.com>
8701 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
8704 2007-12-03 Richard Hult <richard@imendio.com>
8706 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
8707 Don't crash when dragging from a source that doesn't support uri
8708 lists (bug #499868, Paul Davis).
8710 2007-12-03 Richard Hult <richard@imendio.com>
8712 * gdk/quartz/gdkwindow-quartz.c:
8713 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
8714 parent relative bg pixmap is set, and no parent has a bg
8715 pixmap. Fixes bug #500804.
8717 2007-12-03 Matthias Clasen <mclasen@redhat.com>
8719 Two optimizations for icon cache lookups.
8721 * gtk/gtkiconcache.[hc]:
8722 * gtk/gtkicontheme.c: Remember the directory index for
8723 subdirectories, instead of running over the directory list
8726 * gtk/gtkiconcache.c (find_image_offset): Remember the last
8727 chain and try it first; this helps with the the usage patterns
8728 in gtkicontheme.c, where the same icon is queried for a lot
8731 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
8733 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
8734 functions from header files. this should be portable across linux and
8735 Mac OS, unlike the previpous sed expression.
8737 2007-12-1 Cody Russell <bratsche@gnome.org>
8739 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
8740 On Windows, queue a redraw of child2 whenever we set
8741 the pane handle position. This is unfortunately kind
8742 of hacky, but solves the visual artifacts that were
8743 occuring on at least certain types of child widgets
8744 (e.g., text views and tree views) that are inside
8745 horizontal or vertical panes. (#144269)
8747 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8749 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8751 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8753 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8756 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8758 * gtk/Makefile.am: Fix ordering of subdirs.
8760 2007-11-28 Tor Lillqvist <tml@novell.com>
8762 A proper build of GNU libintl is supposed to export the variable
8763 _nl_msg_cat_cntr. configure looks for that variable in order to
8764 recognize GNU gettext. If it sees that it is indeed GNU gettext
8765 that is used, it decides to install message catalogs in
8766 share/locale, otherwise in lib/locale. Until now on Windows I have
8767 built GTK+ against a build of GNU gettext that did not export
8768 _nl_msg_cat_cntr. But this will change, so we can't assume message
8769 catalogs are always in lib/locale.
8771 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8772 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8773 before the inclusion of gtkprivate.h so that it sees the original
8776 * gtk-zip.sh.in: Check whether the message catalogs are in
8777 share/locale or lib/locale.
8779 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8780 that the code in _gtk_get_localedir() will find the slashes.
8782 2007-11-28 Tor Lillqvist <tml@novell.com>
8784 * gtk/Makefile.am: Improve portability. The -o option is present
8785 only in newish GNU egreps. Use one more sed in the pipeline
8788 2007-11-28 Tor Lillqvist <tml@novell.com>
8790 Fix #375893, patch by Ben Hague:
8792 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8793 around GetLogicalDrives() that takes also the viewable drive
8794 restrictions in the Registry (which are usually the result of an
8795 Active Directory Group Policy) into account.
8797 (check_volumes, gtk_file_system_win32_list_volumes) Call
8798 get_viewable_logical_drives() instead of GetLogicalDrives().
8800 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8802 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8803 variables to silence valgrind. (#495124, Morten Welinder)
8805 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8807 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8808 that the construct_child function is responsible for returning a
8810 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8811 objects from constructors
8812 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8813 g_object_ref() to this construction function (it's the only
8818 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8820 * gtkbuilder.c: remove concept of root objects and just refcount
8821 all objects in the builder. Fixes #496651.
8823 2007-11-26 Ryan Lortie <desrt@desrt.ca>
8825 * tests/buildertest.c (test_window): fix invalid free
8827 2007-11-26 Josselin Mouette <joss@malsain.org>
8829 reviewed by: Federico Mena Quintero
8831 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8832 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8833 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8834 Make the shortcuts activate with a single click. (#148828)
8835 Fix a few things affected by the change:
8836 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
8837 where no shortcut is selected.
8838 - Don't activate a shortcut in the response callback.
8839 - Filter out duplicate entries in volumes and bookmarks to
8840 avoid the selection to change when reordering them with DnD.
8842 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8845 * gtk/gtknotebook.c:
8846 * gtk/gtkplugprivate.h:
8848 * gtk/gtksocketprivate.h:
8849 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8851 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8853 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8854 (#495574, Richard Hult)
8856 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8858 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8859 String change ! (#376361, Sven Neumann)
8861 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8863 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8865 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8868 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8870 * gtk/gtkassistant.c: Improve alternative button
8871 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8873 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8875 * gtk/gtkcalendar.c: Fix a theming problem with colors
8876 in GtkCalendar. (#499703, Michael Hofmann)
8878 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8880 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8882 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8884 Use templates for glib-mkenums calls instead of
8885 complicated commandlines in Makefiles. (#429910)
8887 * gdk-pixbuf/Makefile.am:
8890 * perf/Makefile.am: Use templates for glib-mkenums
8892 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8893 * gdk/gdkenumtypes.[ch].template:
8894 * gtk/gtktypebuiltings.[ch].template:
8895 * perf/typebuiltins.[ch].template: The templates
8897 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8899 * gtk/gtkfilechooserbutton.c:
8900 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8901 some compilers choke on that. (#467722)
8903 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8905 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8906 about hook setup. (#425004, Emmanuele Bassi)
8908 2007-11-26 Tor Lillqvist <tml@novell.com>
8910 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8911 monitor the window currently is on, not always the primary
8912 monitor. (#463865, Tim Evans)
8914 2007-11-26 Tor Lillqvist <tml@novell.com>
8916 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8918 * gdk/win32/Makefile.am: Add it.
8920 2007-11-26 Tor Lillqvist <tml@novell.com>
8922 * configure.in: Don't add jasper to all_loaders if no libjasper.
8924 2007-11-25 Bastien Nocera <hadess@hadess.net>
8926 * configure.in: Add detection for libjasper, used by the
8927 gdk-pixbuf JPEG2000 loader
8929 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8931 * configure.in: Require gtk-doc 1.8
8933 * */*.c: Use gtk-doc abbreviations for examples in docs.
8935 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8937 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8940 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8942 * gtk/gtkdialog.c: Move signal and property documentation inline,
8943 fix a problem with the ::response signal docs. (#499133, Josselin
8946 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
8948 * Makefile.decl: initialize automake variables EXTRA_DIST and
8949 TEST_PROGS for unconditional appending via += in other makefiles.
8950 define recursive test targets: test, test-report, perf-report,
8951 full-report, as described here:
8952 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8953 the test targets will execute Gtk+ test programs within an Xvfb session.
8955 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8957 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8958 g_test_run() to run the tests to integrate with the testing framework.
8960 * gtk/tests/Makefile.am: removed exemplary testing rules.
8962 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8963 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8964 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8965 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8966 * docs/reference/Makefile.am, docs/tools/Makefile.am:
8967 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8968 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8969 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8970 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8971 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8972 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8973 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8974 * modules/engines/ms-windows/Theme/Makefile.am:
8975 * modules/engines/ms-windows/Makefile.am:
8976 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
8977 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8978 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8979 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
8980 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
8981 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
8982 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
8984 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8986 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
8987 (#485662, patch by Herbert Valerio Riedel)
8989 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8991 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
8993 2007-11-21 Richard Hult <richard@imendio.com>
8995 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
8996 stubs for the testing functions to fix the build.
8998 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9000 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
9001 (#467711, The Written Word)
9003 2007-11-21 Ross Burton <ross@openedhand.com>
9005 * gdk/x11/gdksettings.c:
9006 Add xsetting for gtk-scrolled-window-placement (#458103).
9008 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9010 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
9011 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
9012 (#469239, Michael Natterer)
9014 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9016 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
9017 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
9018 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
9019 (#436536, Tommi Komulainen)
9021 2007-11-21 Matthias Clasen <mclasen@redhat.com>
9023 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
9024 property. (#489782, Jan Janech)
9026 2007-11-20 Matthias Clasen <mclasen@redhat.com>
9028 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
9029 frames. (#107398, Owen Taylor, Miguel Gomez)
9031 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
9033 Moved Gdk test functions from Gtk+ to Gdk test utils.
9035 * gdk/Makefile.am: added gdktestutils.h to public includes.
9037 * gdk/gdk.h: added gdktestutils.h to public includes.
9039 * gdk/gdk.symbols: added gdk_test_simulate_button,
9040 gdk_test_simulate_key, gdk_test_render_sync.
9042 * gdk/gdktestutils.h: new file, added prototypes for
9043 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
9045 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
9047 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
9048 gdk_test_simulate_key, gdk_test_render_sync.
9050 * gtk/gtktestutils.c:
9051 * gtk/gtktestutils.h:
9052 * gtk/gtk.symbols: removed gtk_test_simulate_button
9053 gtk_test_simulate_key, gtk_test_xserver_render_sync.
9055 * gtk/tests/testing.c: call gdk_test_render_sync.
9057 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
9059 Added unit tests for Gtk+ testing utilities.
9061 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
9062 utility functions. some g_test_* related portions are disabled and need
9063 to be enabled once Gtk+ depends on a new glib with the GLib testing
9064 framework integrated.
9066 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
9067 tests. added exemplary test rules to run tests inside Xvfb. this
9068 needs to depend on gtester for full fledged testing.
9070 * gtk/Makefile.am: build gtk+/gtk/tests, define
9071 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
9072 e.g. gtk_text_get_type().
9074 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
9076 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
9078 Added Gtk+ testing utilities.
9080 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
9081 functions. for the most part, the functions herein involve
9082 navigating and interacting with dialog elements programatically,
9083 to automate user interaction tests of dialogs and widgets.
9085 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
9087 * gtk/gtk.symbols: added gtk_test_* symbols.
9089 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
9090 the build. generate gtktypefuncs.c which contains a list of all
9091 _get_type functions in Gtk+ and Gdk.
9093 2007-11-20 Bastien Nocera <hadess@hadess.net>
9095 * configure.in: add support for conditional icns gdk-pixbuf loader
9098 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
9100 * configure.in: updated version number to 2.15.0 for development.
9102 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
9104 === Branch for 2.12 ===