1 2008-08-25 Matthias Clasen <mclasen@redhat.com>
3 * modules/printbackends/cups/gtkprintbackendcups.c: Replace
4 a long timeout with a second-granularity timeout.
6 2008-08-25 Matthias Clasen <mclasen@redhat.com>
8 * gtk/gtkprintunixdialog.c:
9 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
10 hints to many strings.
12 2008-08-25 Gian Mario Tagliaretti <gianmt@gnome.org>
14 Bug 549236 – missing Since 2.14 in gtk_file_chooser_get_file
16 * gtk/gtkmountoperation.c:
18 * gtk/gtkfilechooser.c: Fix the docs, missing Since 2.14.
20 2008-08-21 Matthias Clasen <mclasen@redhat.com>
22 * gtk/gtksettings.c: When reconstructing the color hash, try
23 harder to avoid unnecessary notification, since this can lead
24 to infinite reloading of rc files in some situations.
26 2008-08-21 Cody Russell <bratsche@gnome.org>
28 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
29 to see if the window is modally blocked. This doesn't get us anything,
30 and it confuses the search window in GtkTreeView (and potentially other
31 utility windows in other apps). (#520165)
33 2008-08-21 Michael Natterer <mitch@imendio.com>
35 * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
37 2008-08-21 Marek Kasik <mkasik@redhat.com>
39 Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
42 * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges
44 2008-08-21 Marek Kasik <mkasik@redhat.com>
46 * ChangeLog: changelog update for previous commit
48 2008-08-21 Marek Kasik <mkasik@redhat.com>
50 Bug 535158 – can't rearrange the order of multi pages per side
54 * gtk/gtkprintunixdialog.c
55 * gtk/gtkprintsettings.c
56 * gtk/gtkprintsettings.h
58 * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
59 specify layout of pages per sheet in number-up mode
61 Wed Aug 20 18:16:29 2008 Søren Sandmann <sandmann@redhat.com>
63 * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the
64 monitors changed signal when the screen size changes.
66 2008-08-20 Torsten Schoenfeld <kaffeetisch@gmx.de>
68 Bug 548346 – gtk_color_selection_dialog_get_color_selection always
71 * gtk/gtkcolorseldialog.c
72 (gtk_color_selection_dialog_get_color_selection): Use the correct
73 macro to test the validity of the passed-in dialog.
75 2008-08-05 Milan Crha <mcrha@redhat.com>
77 * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
78 arrows even on non-focusable notebook. (#528091)
80 2008-08-19 Federico Mena Quintero <federico@novell.com>
82 http://bugzilla.gnome.org/show_bug.cgi?id=543308 - The file
83 chooser in "compact" mode uses the same size as in "open" mode.
85 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Don't
86 force the default size here. Let GtkFileChooserDefault be solely
87 in charge of default sizing.
88 (set_default_size): Removed obsolete code.
90 * gtk/gtkfilechooserdefault.c (emit_default_size_changed): New
91 helper function, to avoid dupliated code. Only emits the signal
92 if the widget is mapped, because that is when we actually know the
94 (update_preview_widget_visibility): Use emit_default_size_changed()
95 (update_appearance): Likewise.
96 (gtk_file_chooser_default_style_set): Likewise.
97 (gtk_file_chooser_default_screen_changed): Likewise.
98 (gtk_file_chooser_default_map): Likewise.
99 (find_good_size_from_style): Unconditionally compute a good
100 default size for the "OPEN" modes; don't store it in internal fields.
101 (gtk_file_chooser_default_get_default_size): Only compute the
102 font-based size if we are in one of the "OPEN" modes or in
105 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
106 Removed default_width/default_height; we don't store these
107 anymore. This will make recycled file choosers (like in the GIMP)
108 not "remember" their size across invocations. However, this
109 prepares the way for actually remembering the user's size globally
110 in the settings file.
112 2008-08-19 Björn Lindqvist <bjourne@gmail.com>
114 Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate
116 * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some
117 code duplication, no need for separate loops for GTK_PACK_START
120 2008-08-19 Johan Dahlin <johan@gnome.org>
122 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
123 Remove the requres-version tag as well
125 2008-08-18 Matthias Clasen <mclasen@redhat.com>
127 * configure.in: Bump version
129 * ==== Released 2.13.7 ===
131 2008-08-19 Mathias Hasselmann <mathias@openismus.com>
133 Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars
135 * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year"
136 property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days()
137 multiplies the year property with 365 and returns the result as
138 glong. Therefore ceil(log(365, 2)) = 9 bits must be available,
141 2008-08-18 Björn Lindqvist <bjourne@gmail.com>
143 Bug 541315 – Segfault when selecting a GtkMenuItem with submenu
146 * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure
147 that the menu item has a parent before popping it up.
149 2008-08-18 Johan Dahlin <johan@gnome.org>
151 Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView
153 * gtk/gtk-builder-convert: Rename the text property to buffer.
155 2008-08-16 Matthias Clasen <mclasen@redhat.com>
157 * gtk/gtksizegroup.c: Use g_quark_from_static_string() where possible.
159 2008-08-16 Matthias Clasen <mclasen@redhat.com>
163 2008-08-16 Torsten Schoenfeld <kaffeetisch@gmx.de>
165 * gdk/gdkwindow.c: Fix small issues in the documentation of
166 gdk_window_remove_redirection and gdk_window_redirect_to_drawable.
168 2008-08-15 Richard Hult <richard@imendio.com>
170 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): Some
171 aftermath of the fix of bug #543868. Clip and flip to the source,
172 not the destination. Don't save/restore the gstate, it's already
173 done when getting/releasing the context.
175 2008-08-15 Richard Hult <richard@imendio.com>
177 * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
178 Add another missing symbol.
180 2008-08-15 Behdad Esfahbod <behdad@gnome.org>
182 Bug 547680 – fontconfig monitoring can crash apps
184 * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache
185 before recreating fontconfig config.
187 2008-08-15 Sven Herzberg <sven@imendio.com>
189 Use the g_test_*() API for this test
190 reviewed by: Richard Hult
192 * gdk/tests/check-gdk-cairo.c: use the g_test_*() API to permit adding
195 2008-08-15 Sven Herzberg <sven@imendio.com>
197 Prepare for using the g_test_*() API
198 reviewed by: Richard Hult
200 * gdk/tests/check-gdk-cairo.c: use assertions instead of returning an
203 2008-08-15 Claudio Saavedra <csaavedra@igalia.com>
205 Bug 547944 – Self-reference in gtk_page_setup_load_file's docs
207 * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file()
208 documentation. Pointed out by Torsten Schoenfeld.
210 2008-08-15 Matthias Clasen <mclasen@redhat.com>
212 Bug 547655 – gio_can_sniff configure test can fail if not installed
213 with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set
215 * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS.
217 2008-08-15 Christian Dywan <christian@imendio.com>
219 Bug 547846 – gtktestutils functions lack Since: tags
221 * gtk/gtktestutils.c: Add missing Since tags
223 2008-08-15 Christian Dywan <christian@imendio.com>
225 Bug 547775 – Documentation of gtk-button-images is not correct
227 * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation
228 of "gtk-button-images" setting
230 2008-08-13 Matthias Clasen <mclasen@redhat.com>
232 Bug 547673 – Accessors for GtkFileSelection.font_entry and
236 * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
237 actually part of the font selection dialog in standard builds.
238 Pointed out by Torsten Schoenfeld
240 2008-08-13 Matthias Clasen <mclasen@redhat.com>
242 Bug 547516 – Add comments for translators in gtkprintbackendcups.c
244 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
245 hints. Patch by Leonardo Ferreira Fontenelle
247 2008-08-13 Michael Natterer <mitch@imendio.com>
249 * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
253 * gtk/gtkentrycompletion.c
255 * gtk/gtkoldeditable.c
258 * gtk/gtkwidget.c: changed accordingly.
260 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
262 Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama
263 doesn't compile on Solaris
265 * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile
266 when HAVE_SOLARIS_XINERAMA is defined.
268 2008-08-13 Michael Natterer <mitch@imendio.com>
270 * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
271 g_dgettext() to fix warning about discarded qualifier.
273 2008-08-12 Paolo Borelli <pborelli@katamail.com>
275 * gtk/gtkclipboard.c (gtk_clipboard_store):
276 use canonical signal name.
278 2008-08-12 Paolo Borelli <pborelli@katamail.com>
280 Bug 526234 - make shift+ctrl+del delete till the end of line
282 * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
283 keyboard shortcuts to delete to the end/start of the current line.
285 2008-08-12 Michael Natterer <mitch@imendio.com>
287 * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
288 label to set the color on.
290 (gtk_link_button_add): call set_link_color() so the label gets
291 the right color no matter how the link button is created.
293 2008-08-12 Michael Natterer <mitch@imendio.com>
295 * gtk/gtkassistant.c: remove unused variable and fix formatting of
296 some function headers.
298 2008-08-12 Michael Natterer <mitch@imendio.com>
300 * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
303 * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
304 visible for GDK_PIXBUF_COMPILATION.
306 * contrib/gdk-pixbuf-xlib/Makefile.am
308 * demos/gtk-demo/Makefile.am
309 * gdk-pixbuf/pixops/Makefile.am
311 * gdk/x11/Makefile.am
313 * gtk/tests/Makefile.am
314 * gtk/theme-bits/Makefile.am
315 * modules/engines/ms-windows/Makefile.am
316 * modules/engines/pixbuf/Makefile.am
317 * modules/input/Makefile.am
319 * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
321 2008-08-12 Michael Natterer <mitch@imendio.com>
323 * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
324 g_return_val_if_fail() now that the function has a return value.
326 2008-08-12 Sven Neumann <sven@gimp.org>
328 * gtk/gtkaccellabel.c
331 * gtk/gtkcolorbutton.c
334 * gtk/gtkdnd-quartz.c
337 * gtk/gtkfilechooserdefault.c
346 * gtk/gtkrecentchooserdialog.c
347 * gtk/gtkrecentchooserutils.c
351 * gtk/gtktextbuffer.c
356 * gtk/gtkwindow-decorate.c
357 * gtk/gtkwindow.c: use canonical signal names in some more places
358 that I missed earlier. Also changed this in the documentation and
361 2008-08-12 Sven Neumann <sven@gimp.org>
364 * gtk/gtkradiotoolbutton.c: property nick and blurb should be
365 marked with P_(), not _().
367 2008-08-12 Michael Natterer <mitch@imendio.com>
369 * examples/gtkdial/gtkdial.c
370 * gdk/gdkapplaunchcontext.c
372 * gtk/gtkcellrendererpixbuf.c
373 * gtk/gtkcellrenderertext.c
380 * gtk/gtktexttagtable.c: remove dereferencing from some function
381 pointers i missed before.
383 2008-08-12 Michael Natterer <mitch@imendio.com>
385 * gtk/gtkaccellabel.c
390 * gtk/gtkfilechooserbutton.c
391 * gtk/gtkfilechooserdefault.c
399 * gtk/gtkmessagedialog.c
404 * gtk/gtkprintunixdialog.c
406 * gtk/gtkrecentchooserdefault.c
415 * gtk/gtkwin32embedwidget.c: chain up unconditionally in
416 realize(), unrealize(), map(), unmap(), style_set(),
417 key_press_event() and size_request()
419 2008-08-12 Michael Natterer <mitch@imendio.com>
421 * gtk/gtkwidget.c: change names of default implementations of
422 our own signals to consistently contain "real":
424 gtk_widget_style_set -> gtk_widget_real_style_set
425 gtk_widget_direction_changed -> gtk_widget_real_direction_changed
427 2008-08-12 Michael Natterer <mitch@imendio.com>
429 * gtk/*.c: consistently chain up using
430 GTK_FOO_CLASS(parent_class)->bar(instance) instead of
431 (*GTK_FOO_CLASS(parent_class))->bar(instance).
433 2008-08-12 Matthias Clasen <mclasen@redhat.com>
435 Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
436 of an ouput parameter
438 * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
439 return the GIcon directly.
440 Complaint by Murray Cumming
442 2008-08-11 Michael Natterer <mitch@imendio.com>
444 Bug 546754 – 2.13.6 update create rendering issue in the evolution
447 * gtk/gtkadjustment.c: instead of CLAMP(), use
449 value = MIN (value, upper - page_size);
450 value = MAX (value, lower);
452 so we don't end up below lower if upper - page_size is smaller
455 2008-08-11 Matthias Clasen <mclasen@redhat.com>
457 Bug 546616 – CUPS print backend uses 1.2 API without guards
459 * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
460 of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
461 Patch by Sven Herzberg and Richard Hult
463 2008-08-11 Michael Natterer <mitch@imendio.com>
465 Bug 547270 – Make GtkHSV public
468 * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
469 always public anyway).
471 * gtk/gtkhsv.h: add single-include guards, add class struct padding,
472 seal the instance member, cleanup.
474 * gtk/gtkhsv.c: center the widget in its allocation,
475 add "Since: 2.14", cleanup.
477 2008-08-11 Torsten Schoenfeld <kaffeetisch@gmx.de>
479 * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
480 to correctly state 2.14, not 2.16.
482 2008-08-11 Sven Neumann <sven@gimp.org>
484 * demos/gtk-demo/changedisplay.c
485 * demos/gtk-demo/clipboard.c
486 * demos/gtk-demo/drawingarea.c
487 * demos/gtk-demo/iconview.c
488 * demos/gtk-demo/images.c
489 * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
491 2008-08-11 Matthias Clasen <mclasen@redhat.com>
493 Bug 547211 – Duplicated mnemonic
495 * gtk/gtkmountoperation.c: Change mnemonics around in
496 the password dialog to avoid a conflict.
497 Reported by Gil Forcada
499 2008-08-11 Sven Neumann <sven@gimp.org>
501 * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
503 2008-08-11 Sven Neumann <sven@gimp.org>
505 * examples/*: updated the (quite outdated) examples to use
506 canonical signal names as well. Removed some unneeded casts and
507 trailing whitespace while I was on it...
509 2008-08-11 Sven Neumann <sven@gimp.org>
511 * modules/input/gtkimcontextime.c
512 * modules/input/gtkimcontextmultipress.c
513 * modules/input/gtkimcontextxim.c: use canonical signal names.
515 2008-08-11 Sven Neumann <sven@gimp.org>
517 * gtk/gtkdnd-quartz.c
521 * gtk/gtkimcontextsimple.c
522 * gtk/gtkimmulticontext.c
523 * gtk/gtkoptionmenu.c
525 * gtk/gtkrecentchooserdefault.c
526 * gtk/gtkscrolledwindow.c
527 * gtk/gtksocket-x11.c: use canonical signal names in some more
528 places that I missed earlier.
530 2008-08-11 Sven Neumann <sven@gimp.org>
532 * gtk/gtkaccelgroup.c
533 * gtk/gtkactiongroup.c
535 * gtk/gtkcelleditable.c
536 * gtk/gtkclipboard-quartz.c
538 * gtk/gtkcolorbutton.c
541 * gtk/gtkcurve.c: use canonical signal names.
543 2008-08-11 Sven Neumann <sven@gimp.org>
546 * gtk/gtkentrycompletion.c
550 * gtk/gtkinputdialog.c
551 * gtk/gtktreeview.c: use canonical signal names.
553 2008-08-11 Sven Neumann <sven@gimp.org>
558 * gtk/gtklistitem.c: use canonical signal names.
560 2008-08-11 Sven Neumann <sven@gimp.org>
566 * gtk/gtkoldeditable.c
567 * gtk/gtkpaned.c: use canonical signal names.
569 2008-08-11 Michael Natterer <mitch@imendio.com>
571 * demos/gtk-demo/textscroll.c (create_text_view): don't use the
572 deprecated gtk_box_pack_start_defaults().
574 2008-08-11 Sven Neumann <sven@gimp.org>
576 * gtk/gtkaboutdialog.c
577 * gtk/gtkcellrendereraccel.c
578 * gtk/gtkcellrenderercombo.c
579 * gtk/gtkcellrendererspin.c
580 * gtk/gtkcellrenderertext.c
585 * gtk/gtkdnd-quartz.c
588 * gtk/gtkentrycompletion.c
589 * gtk/gtkfilechooserbutton.c
590 * gtk/gtkfilechooserdefault.c
591 * gtk/gtkfilechooserentry.c
593 * gtk/gtkinputdialog.c
594 * gtk/gtkmenutoolbutton.c
596 * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
598 2008-08-11 Sven Neumann <sven@gimp.org>
602 * gdk/gdkdisplaymanager.c: use canonical signal names.
604 2008-08-10 Richard Hult <richard@imendio.com>
606 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
607 (gtk_clipboard_request_uris): Implement missing functions.
609 2008-08-09 Sven Herzberg <sven@imendio.com>
611 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
613 * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
615 2008-08-08 Cody Russell <bratsche@gnome.org>
617 Bug 547027 – menus are broken
620 * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
621 mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
622 in menus caused by bug #56070.
624 2008-08-09 Sven Herzberg <sven@imendio.com>
626 Get the gdk+cairo test to pass distcheck, too
628 * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
629 pick up the one created at build time
630 * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
633 2008-08-08 Sven Neumann <sven@gimp.org>
636 * gtk/gtkscrolledwindow.c
638 * gtk/gtkspinbutton.c
640 * gtk/gtkstatusicon.c: use canonical signal names.
642 2008-08-08 Sven Neumann <sven@gimp.org>
645 * gtk/gtktextbuffer.c
646 * gtk/gtktextlayout.c
647 * gtk/gtktexttagtable.c
653 * gtk/gtktreemodelfilter.c
654 * gtk/gtktreemodelsort.c
655 * gtk/gtktreeviewcolumn.c: use canonical signal names.
657 2008-08-08 Sven Neumann <sven@gimp.org>
661 * gtk/gtktreesortable.c
664 * gtk/gtkviewport.c: use canonical signal names.
666 2008-08-08 Sven Neumann <sven@gimp.org>
669 * gtk/gtkwindow.c: use canonical signal names.
671 2008-08-08 Sven Neumann <sven@gimp.org>
673 * gtk/gtkadjustment.c
680 * gtk/gtkspinbutton.c
684 * gtk/gtkviewport.c: use the canonical signal name "value-changed"
685 instead of "value_changed".
687 2008-08-08 Tor Lillqvist <tml@novell.com>
690 * gtk/makegtkalias.pl
692 * gtk/gtkfilechooser.c
694 * gtk/gtkiconfactory.c
699 * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
702 2008-08-07 Matthias Clasen <mclasen@redhat.com>
704 * configure.in: Its g_content_type_from_mime_type, not
705 g_content_type_for_mime_type. Noticed by Roger Brown
707 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
709 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
710 combination of g_warning+exit to avoid misleading the user.
712 2008-08-07 Michael Natterer <mitch@imendio.com>
714 * gtk/gtkactiongroup.c
715 * gtk/gtkcellrendererspin.c
716 * gtk/gtkfilechooserbutton.c
717 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
719 2008-08-07 Michael Natterer <mitch@imendio.com>
723 * gtk/gtkfilechooserbutton.c
725 * gtk/gtkmenutoolbutton.c
726 * gtk/gtkoptionmenu.c
727 * gtk/gtkradiobutton.c
728 * gtk/gtkradiomenuitem.c
731 * gtk/gtktreeview.c: chain up unconditionally in destroy().
733 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
735 2008-08-07 Michael Natterer <mitch@imendio.com>
737 Bug 546756 – gnome-panel crashed with SIGSEGV in
738 g_type_check_instance_cast()
740 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
741 and remove the image now that it's an internal child and isn't
742 destroyed by gtk_container_destroy() any longer. Thanks to tml for
743 helping bisecting this down.
745 2008-08-07 Sven Neumann <sven@gimp.org>
747 Bug 546771 - Add writable property "visited" to GtkLinkButton
750 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
751 read-write property with getters and setters. Also move the nick
752 and blurb of the "uri" property to the proper translation domain.
754 2008-08-07 Michael Natterer <mitch@imendio.com>
756 * gtk/gtkicontheme.c (apply_emblems): move variables to local
757 scopes, fix indentation and silence bogus warning about using
758 uninitialized variables.
760 2008-08-07 Richard Hult <richard@imendio.com>
762 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
764 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
765 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
766 deadlock and missing events.
768 2008-08-07 Richard Hult <richard@imendio.com>
770 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
771 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
772 Implement those, fixes loading python bindings.
774 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
776 Bug 545031 – list of recently used files is created world-readable
778 * gtk/gtkrecentmanager.c:
779 (gtk_recent_manager_real_changed): Set the recently-used.xbel
780 file to 0600. (Guido Berhoerster)
782 2008-08-06 Michael Natterer <mitch@imendio.com>
784 * modules/printbackends/cups/gtkcupsutils.c
785 (gtk_cups_connection_test_free): remove return value, this
786 function returns void.
788 2008-08-06 Michael Natterer <mitch@imendio.com>
793 * gtk/gtkscrolledwindow.c
794 * gtk/gtktreeview.c: remove CLAMPing from values passed to
795 gtk_adjustment_set_value() since it does it right now.
797 2008-08-05 Matthias Clasen <mclasen@redhat.com>
799 * configure.in: Bump version
801 * === Released 2.13.6 ===
803 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
804 since it breaks make distcheck.
806 2008-08-05 Michael Natterer <mitch@imendio.com>
808 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
809 early if priv->button is NULL to avoid zillions of warnings when
810 destroying combo boxes that were working fine before the
811 button sensitivity patch.
813 2008-08-05 Michael Natterer <mitch@imendio.com>
815 Bug 544858 – Seal GtkAdjustment
818 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
821 Add accessors for all properties and additionally a new function
822 gtk_adjustment_configure() which sets all properties at
823 once. Patch by Christian Dywan and myself.
825 2008-08-05 Michael Natterer <mitch@imendio.com>
827 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
828 to [lower...upper-page_size] instead of only [lower...upper].
830 * README: add note about this change.
832 While this fix is correct and should have been there forever, it
833 has the potential to break some corner cases, however these cases
834 would set page_size to a value != 0 which suggests they want it
837 2008-08-05 Michael Natterer <mitch@imendio.com>
839 * tests/testiconview.c: don't use the deprecated
840 gtk_box_pack_start_defaults().
842 2008-08-04 Matthias Clasen <mclasen@redhat.com>
844 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
846 * gtk/gtkcelllayout.c:
848 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
849 implementations. Patch by Antti Kaijanmäki
851 2008-08-05 Tor Lillqvist <tml@novell.com>
853 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
854 avoid warning on Win64.
856 2008-08-05 Tor Lillqvist <tml@novell.com>
858 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
859 gintptr instead of long when calculating hash, so we get all of
860 the pointer bits on Win64 where long is 32 bits.
862 2008-08-05 Tor Lillqvist <tml@novell.com>
864 * gtk/gtkprintoperation-win32.c: Don't need to declare
865 IPrintDialogCallback with mingw64 either. It seems to be provided
866 with the newer versions of the headers included with mingw64.
868 2008-08-05 Tor Lillqvist <tml@novell.com>
870 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
872 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
873 as the GdkNativeWindow parameter to
874 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
876 * gtk/gtkwin32embed.h
877 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
878 parameters to actually be WPARAM and LPARAM.
880 * gtk/gtkplug-win32.c: Adapt accordingly.
882 2008-08-04 Matthias Clasen <mclasen@redhat.com>
884 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
885 a word, use 'audible' instead.
887 2008-08-05 Tor Lillqvist <tml@novell.com>
889 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
890 with parens so cast covers all of it.
892 2008-08-04 Matthias Clasen <mclasen@redhat.com>
894 Bug 382291 – Automatically dim the combobox when the model is empty
897 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
898 property with getter and setter to control the sensitity of
899 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
900 Christian Dywan and others.
902 * README.in: Add a note about automatic combobox sensitivity.
904 2008-08-04 Matthias Clasen <mclasen@redhat.com>
906 * gtk/tests/Makefile.am: Skip crossingevents test when
907 running make check, since it doesn't work on a naked
910 2008-08-05 Tor Lillqvist <tml@novell.com>
912 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
916 * gdk/win32/gdkdnd-win32.c
917 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
918 from guint32 to GdkNativeWindow for
919 gdk_drag_get_protocol_for_display() and
920 gdk_drag_get_protocol(). This is not an API break on existing
921 platforms, as GdkNativeWindow has been guint32 for them
926 * gdk/win32/gdkselection-win32.c
927 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
928 parameter of gdk_selection_send_notify_for_display() and
929 gdk_selection_send_notify().
931 * gdk/win32/gdkcursor-win32.c
932 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
933 versa to avoid gcc 4.4 signedness warnings.
935 * gdk/win32/gdkevents-win32.c
936 * gdk/win32/gdkproperty-win32.c
937 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
938 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
939 values in debugging output using the %p format.
941 * gdk/win32/gdkkeys-win32.c
942 * gdk/win32/gdkfont-win32.c
943 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
945 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
948 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
952 * gtk/gtkwindow.c: Change the type of the xid parameter of the
953 internal gtk_window_remove_embedded_xid() and
954 gtk_window_add_embedded_xid() functions from guint to
957 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
958 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
959 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
962 2008-08-05 Tor Lillqvist <tml@novell.com>
964 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
965 before doing bit tests on them.
967 2008-08-05 Tor Lillqvist <tml@novell.com>
969 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
970 Windows, too. It just makes more sense, as a HWND *is* a kind of
973 * gdk/gdkconfig.h.win32: Ditto here.
975 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
977 Bug 534979 – GtkImageMenuItem is a bin but has two children.
979 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
980 include the image widget when iterating over non-internal
981 children. Patch by rainwoodman.
983 2008-08-04 Matthias Clasen <mclasen@redhat.com>
987 2008-08-04 Matthias Clasen <mclasen@redhat.com>
989 * configure.in: Bump glib dependency to 2.17.6
991 2008-08-04 Michael Natterer <mitch@imendio.com>
996 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
998 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
1000 2008-08-04 Michael Natterer <mitch@imendio.com>
1002 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
1003 "gdkrgb" is in the debug flags.
1005 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
1006 here, this function is deprecated and the debug flag didn't work
1007 when using GDK properly.
1009 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1011 * gtk/gtkicontheme.c: Update to handle GEmblem.
1013 2008-08-04 Michael Natterer <mitch@imendio.com>
1015 * tests/prop-editor.c: undeprecate (apart from still using
1018 2008-08-04 Michael Natterer <mitch@imendio.com>
1020 * gtk/gtkseparatortoolitem.c
1021 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
1023 * gtk/gtkcalendar.c (calendar_set_display_option): use
1024 gtk_calendar_set_display_options() instead of the deprecated
1025 gtk_calendar_display_options().
1027 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1029 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
1031 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1033 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
1034 to be the GtkNotebook background color. This is a workaround to
1035 prevent black pixels in rounded tabs when reordering. Improves
1038 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1041 * gtk/gtkfilechooserbutton.[ch]:
1042 * gtk/gtkfilechooserdefault.[ch]:
1043 * gtk/gtkfilechooserdialog.[ch]:
1044 * gtk/gtkfilechooserwidget.[ch]: Deprecate
1045 gtk_file_chooser_*_new_with_backend(), since GIO is already used
1046 directly. Fixes #545976.
1048 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1051 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
1053 * gtk/gtkfilechooserbutton.c:
1054 * gtk/gtkfilechooserdefault.c:
1055 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
1057 2008-08-04 Michael Natterer <mitch@imendio.com>
1059 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
1061 Fix pltcheck.sh by restricting the visibility of deprecated
1062 symbols to the places where they are actually used:
1068 * gtk/gtkprogressbar.c
1070 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
1071 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
1078 * gtk/gtkprogress.h: make the headers visible if the respective
1079 __GTK_FOO_C__ are defined.
1081 2008-08-04 Michael Natterer <mitch@imendio.com>
1085 * gtk/gtkoldeditable.c
1087 * gtk/gtktipsquery.c
1089 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
1091 2008-08-04 Michael Natterer <mitch@imendio.com>
1095 * gtk/gtkitemfactory.[ch]
1096 * gtk/gtkobject.[ch]
1097 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
1099 2008-08-04 Sven Neumann <sven@gimp.org>
1101 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
1102 color when the "visited" state is changed.
1104 2008-08-04 Michael Natterer <mitch@imendio.com>
1106 * gtk/gtkwindow.c: move the code of the deprecated
1107 gtk_window_set_policy() to a new private function
1108 gtk_window_set_policy_internal() and call it from
1109 gtk_window_set_policy().
1111 (gtk_window_set_resizable): use the new internal function in order
1112 to avoid our own deprecated public API.
1114 2008-08-04 Michael Natterer <mitch@imendio.com>
1116 * gtk/gtkbindings.c: move the code of the deprecated
1117 gtk_binding_entry_clear() to a new private function
1118 gtk_binding_entry_clear_internal() and call it from
1119 gtk_binding_entry_clear().
1121 (_gtk_binding_entry_add_signall)
1122 (gtk_binding_parse_bind): use the new internal function in order
1123 to avoid our own deprecated public API.
1125 2008-08-04 Michael Natterer <mitch@imendio.com>
1127 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
1128 avoid our own deprecated public API and use
1129 gtk_font_selection_get_font_internal() instead of
1130 gtk_font_selection_get_font().
1132 (gtk_font_selection_get_font)
1133 (gtk_font_selection_dialog_get_font): Add missing
1134 "Deprecated: 2.0" to the api doc comments.
1136 2008-08-04 Michael Natterer <mitch@imendio.com>
1138 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
1140 2008-08-04 Tor Lillqvist <tml@novell.com>
1142 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
1143 Windows. AC_SUBST it.
1146 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
1148 2008-08-04 Tor Lillqvist <tml@novell.com>
1150 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1152 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
1154 * gdk/gdkconfig.h.win32: Ditto here.
1156 2008-08-04 Tor Lillqvist <tml@novell.com>
1158 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
1159 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
1161 2008-08-04 Tor Lillqvist <tml@novell.com>
1163 * configure.in: Don't bother with the test "if gio can sniff png"
1164 if $gio_can_sniff has been already set. Preset it to "no" for
1165 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
1166 or from Unix to Windows in general. No idea how this should be
1167 handled for cross-compilation in general.
1169 2008-08-04 Tor Lillqvist <tml@novell.com>
1171 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
1172 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
1173 present in NT-based Windows since Windows 2000.
1174 (enum_monitor): For some reason the MONITORINFOEX struct in
1175 mingw-win64 is different than the proper one as in MSDN and 32-bit
1176 mingw, so just copy the proper definition here.
1178 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
1180 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
1181 gtk_tree_view_enable_model_drag_source unsets reorderable property
1183 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
1186 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1188 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
1190 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1192 Bug 546128 – Weirz string
1194 * gtk/gtksettings.c: Add a translator hint.
1195 Requested by Ignacio Casal Quinteiro
1197 2008-08-02 Tor Lillqvist <tml@novell.com>
1199 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
1201 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
1202 potential leak. Thanks to Morten Welinder.
1204 2008-08-02 Tor Lillqvist <tml@novell.com>
1206 * gtk/gtkprint-win32.c
1207 * gtk/gtkprint-win32.h
1208 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
1211 2008-08-02 Tor Lillqvist <tml@novell.com>
1213 Bug 339699 - implement gtk_print_operation_set_show_dialog for
1216 * gtk/gtkprint-win32.c
1217 * gtk/gtkprint-win32.h
1218 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
1220 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1222 Bug 544302 – GtkStatusIcon should support GIcon
1225 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
1226 Patch by Christian Dywan
1228 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1230 Bug 429427 – Add "arrow-spacing" style property to GtkRange
1232 * gtk/gtkrange.c: Add an arrow-spacing style property.
1233 Patch by Carlos Garnacho and Christian Dywan
1235 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1237 Bug 429411 – add style properties to set minimum progressbar
1240 * gtk/gtkprogressbar.c: Add style properties for minimum size.
1241 Patch by Carlos Garnacho and Christian Dywan
1243 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1245 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1248 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1251 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1253 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1256 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1257 Explain and show how iterators pointing to empty rows should be
1258 handled in the visible function. Patch by Björn Lindqvist
1260 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1262 Bug 539733 – No way to control treeview separator height
1264 * gtk/gtktreeview.c: Respect the wide-separators and
1265 separator-height style properties when drawing separators.
1266 Patch by Christian Dywan
1268 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1270 Bug 65818 – rename gtk_window_set_default() and add getter for it
1273 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1274 gtk_window_get_default_widget. Patch by Christian Dywan
1276 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1278 Bug 344383 – use po/LINGUAS
1280 * po/LINGUAS: New file, to make translators happy.
1281 * configure.in: Use po/LINGUAS
1282 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1283 Patch by Claude Paroz
1285 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1287 * gdk/gdkapplaunchcontext.c: Improve the docs
1289 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1291 Bug 545931 – small documentation typos
1293 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1295 2008-08-01 Hans Breuer <hans@breuer.org>
1297 * gdk/makefile.msc : build gdkwindowimpl
1299 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1302 * tests/makefile.msc : update
1304 2008-07-31 Cody Russell <bratsche@gnome.org>
1306 Bug 56070 – Can't click button after setting it sensitive.
1308 * gtk/gtkwidget.[ch]
1313 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1315 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1317 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1318 has worked on and helped out with this.
1320 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1322 Bug 424207 – printing hangs on unreachable cups server
1324 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1325 non-blocking test for reachability of the cups server.
1327 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1328 while trying to get the default printer. Patch by Marek Kasik.
1330 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1332 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1333 timer for automatic commit.
1335 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1336 timer for the store timeout.
1338 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1341 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1342 with second-granularity versions. Patch by Marek Kasik.
1344 2008-07-30 Tor Lillqvist <tml@novell.com>
1346 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1347 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1348 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1349 is in hundredths of a millimeter. Patch by Sven Neumann.
1351 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1353 * gtk/gtktreemodel.c: Small doc improvements.
1355 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1357 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1359 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1361 2008-07-27 Sven Herzberg <sven@imendio.com>
1363 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1365 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1367 2008-07-25 Murray Cumming <murrayc@murrayc.com>
1369 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1370 Documented the activate and popup-menu signals as being for use
1371 by applications and language bindings, though they are G_SIGNAL_ACTION,
1372 as stated in bug #361561.
1374 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
1376 * modules/printbackends/cups/gtkprintbackendcups.c:
1377 (cups_printer_get_options): don't try free gettext() values,
1378 fix a printing dialog crasher (bug 544390)
1380 2008-07-24 Cody Russell <bratsche@gnome.org>
1382 Bug 544510 – SetTimer callback signatures has the wrong type
1384 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1385 sync_timer_proc() to use UINT_PTR for the 'id' parameter
1386 instead of 'id'. Patch by Richard Hult.
1388 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1390 Bug 543915 – "Sole completion" translation issue
1392 * gtk/gtkfilechooserentry.c: Add translator hints to a
1393 bunch of strings. Requested by Andre Klapper
1395 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1397 Bug 544265 – GDK assumes XFIXES extension
1399 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1400 Only call XFixes functions if the server has the extension.
1401 Reported by Ian Turner.
1403 2008-07-22 Matthias Clasen <mclasen@redhat.com>
1405 * configure.in: Compare two content types, not content type
1408 2008-07-22 Sven Herzberg <sven@imendio.com>
1410 Fix svn:ignore and the include condition
1412 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1414 2008-07-22 Tor Lillqvist <tml@novell.com>
1416 * configure.in: Workaround for what apparently is a bug in MSYS:
1417 returning -1 from main() is misinterpreted as exit status 0, so
1418 make sure we return 0 or 1. (The net effect of the bug was that no
1419 image loading worked on Windows.)
1421 2008-07-22 Sven Herzberg <sven@imendio.com>
1423 Add a test for my fixes from July 20th.
1425 * configure.in: create gdk/tests/Makefile
1426 * gdk/Makefile.am: include the tests subfolder
1427 * gdk/tests/Makefile.am: create and run my test
1428 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1429 (passes at least for x11 and quartz backends)
1431 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
1433 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1434 if driver is detected as randr12_compat (ie X driver
1435 is not RandR 1.2 compliant). Fixes multihead with
1436 such drivers. Bug #543317.
1438 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1440 * configure.in: Default to linking against Xinerama again,
1441 so that we can fallback to Xinerama when broken X drivers
1442 make Xrandr useless. Sigh.
1444 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1446 * configure.in: Bump version
1448 * === Released 2.13.5 ===
1450 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1452 * gtk/gtktestutils.c:
1453 * gtk/gtkscalebutton.c:
1454 * gtk/gtkmessagedialog.c:
1456 * gtk/gtkcontainer.c:
1457 * gtk/gtkcolorseldialog.c:
1458 * gtk/gtkaccelgroup.c:
1460 * gtk/gtkfontsel.c: Fix some doc problems.
1462 2008-07-21 Michael Natterer <mitch@imendio.com>
1464 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1465 the deprecated gtk_box_pack_start_defaults().
1467 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1468 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1469 instead of the deprecated gtk_binding_entry_add_signall().
1471 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
1473 * gtk/gtkrecentmanager.c:
1474 (recent_app_info_new), (recent_app_info_free): Use GSlice to
1475 allocate the application data for recently used resources;
1476 do not call time() to initialize the timestamp, as it will
1477 be overwritten anyway later. (#535223, Michael Meeks)
1479 2008-07-21 Kristian Rietveld <kris@gtk.org>
1481 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1483 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1484 for width_changed != NULL. (Patch by Josselin Mouette).
1486 2008-07-21 Michael Natterer <mitch@imendio.com>
1488 Bug 442042 – GtkScaleButton is too limited
1490 * tests/testvolumebutton.c: forgot to commit code that tests
1491 toggling the button's orientation. Also fixes the file's coding
1494 2008-07-21 Cody Russell <bratsche@gnome.org>
1496 Bug 153567 – Repaint glitches in widgets
1498 * gdk/win32/gdkevents-win32.c: Set a sync timer when
1499 we receive WM_SYNCPAINT, and RedrawWindow() once
1502 2008-07-21 Michael Natterer <mitch@imendio.com>
1504 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1505 g_signal_override_class_handler() instead of
1506 g_signal_override_class_closure().
1508 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1510 (gtk_text_view_compat_move_focus): chain up using
1511 g_signal_chain_from_overridden_handler() instead of the generic
1512 g_signal_chain_from_overridden() which needs manual fiddling with
1513 millions of GValues.
1515 2008-07-21 Michael Natterer <mitch@imendio.com>
1517 * gtk/gtkuimanager.c: remove redundant include.
1519 2008-07-21 Michael Natterer <mitch@imendio.com>
1521 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
1523 * gtk/gtkfilechooserdefault.c
1525 * gtk/gtkmenushell.c
1526 * gtk/gtkscalebutton.c
1529 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
1530 some missing I_() to the signal names.
1532 2008-07-21 Michael Natterer <mitch@imendio.com>
1534 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
1535 functions and virtual function implementations. Some minor
1538 2008-07-20 Andre Klapper <a9016009@gmx.de>
1540 Bug 543915 - translation issues
1542 * modules/printbackends/cups/gtkprintbackendcups.c:
1543 Add translator comments for several strings.
1545 2008-07-20 Sven Herzberg <sven@imendio.com>
1547 reviewed by: Richard Hult
1549 Fixes #543868: GdkPixmap is upside down on quartz
1551 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
1552 coordinate space from GTK+ orientation to CoreGraphics orientation
1553 before calling CoreGraphics code
1554 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
1555 coordinate space flipping (we always get it right, now)
1556 * gdk/quartz/gdkpixmap-quartz.c
1557 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
1558 creating the CGContextRef
1560 2008-07-20 Sven Herzberg <sven@imendio.com>
1562 reviewed by: Richard Hult
1564 Extracted the CGContextRef creation into a virtual function of
1565 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
1568 * gdk/quartz/gdkdrawable-quartz.c
1569 (gdk_quartz_drawable_get_context): dropped the different
1570 implementations; forward to the virtual function now
1571 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
1572 * gdk/quartz/gdkpixmap-quartz.c
1573 (gdk_pixmap_impl_quartz_get_context),
1574 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
1575 * gdk/quartz/gdkwindow-quartz.c
1576 (gdk_window_impl_quartz_get_context),
1577 (gdk_window_impl_quartz_class_init): implemented get_context()
1579 2007-08-19 Matthias Clasen <mclasen@redhat.com>
1583 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1585 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
1586 inside "apply" signal handler
1588 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
1589 Patch by Antti Kaijanmäki
1591 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1593 Bug 543217 – GTK application crashed with directfb backend
1595 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
1596 _gdk_visual_init(). Patch by Huimin He.
1598 2008-07-18 Federico Mena Quintero <federico@novell.com>
1600 * gtk/updateiconcache.c (build_cache): If the resulting cache file
1601 would be empty, erase the old cache file as well as the temporary file.
1603 2008-07-18 Federico Mena Quintero <federico@novell.com>
1605 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
1606 do funny casts to avoid compiler warnings.
1608 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
1610 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
1612 * gtk/gtkmodules.c (load_module): Likewise.
1614 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
1616 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
1618 * gtk/queryimmodules.c (query_module): Likewise.
1620 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
1621 (find_widget_at_pointer): Likewise.
1623 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1625 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
1626 hunk of the previous commit.
1628 2008-07-18 Sven Herzberg <sven@imendio.com>
1630 Make aliasfilecheck.sh pass for the quartz backend, too.
1632 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
1634 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
1636 * configure.in: Added Pashto (ps) to ALL_LINGUAS
1638 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1640 Bug 447998 - GtkBuilder does not support building parts of the xml tree
1644 * gtk/gtkbuilderprivate.h:
1645 * gtk/gtkbuilderparser.c:
1647 Add two new functions that allow cherry picking and construct
1648 objects from a ui description file or string.
1650 * gtk/tests/builder.c: tests for the above.
1652 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1654 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
1655 signal) case and plug a couple of leaks.
1657 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1659 Bug 543244 – crashes when renaming a bookmark
1661 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
1662 free a GFile. Reported by Sebastien Bacher
1664 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1666 Bug 339591 – Detect list of availible cover pages
1668 Patch by Marek Kasik:
1669 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
1670 available cover pages and the default front and back cover pages
1671 from the cups server.
1673 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1675 Bug 384940 – handle rejecting jobs and authentication meaningfully
1677 Patch by Marek Kasik, icons by Mike Langlie:
1679 * gtk/gtkprintbackend.h:
1680 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
1681 and getters/setters.
1684 * gtk/gtkiconfactory.c:
1686 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
1688 * modules/printbackends/cups/gtkprintbackendcups.c:
1689 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
1692 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1694 * configure.in: Add a test to see if GIO can sniff image data,
1695 this should make gdk-pixbuf use its own sniffing again, on OS X.
1697 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
1699 Bug 542523 – GtkTextTag should handle setting properties to NULL
1701 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1702 setting it to NULL instead of displaying a warning.
1704 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1706 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1708 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1709 Call shortcuts_check_popup_sensitivity() every time the
1710 menu is popped up. Problem reported by Hong Jen Yee
1712 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1714 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1715 gtk_file_chooser_unselect_all
1717 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1718 the image when the label is set to "(None)". Reported by
1721 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1723 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1725 Bug 507394 – mem leak from gtk_selection_add_targets
1727 * gtk/gtkoldeditable.c: Free target lists in finalize.
1728 Reported by Christian Persch
1730 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1733 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1735 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1737 * gtk/gtklabel.c: Trivial doc fix.
1739 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1741 Bug 542853 – jasper test fails due to incomplete library arguments
1743 * configure.in: Add -ljpeg when checking for jasper.
1744 Reported by Mike Calmus
1746 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1748 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1751 2008-07-11 Kristian Rietveld <kris@gtk.org>
1753 Bug 316087 - Resizing columns is chaotic
1755 * gtk/gtktreeprivate.h: add new member fields.
1757 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1759 (gtk_tree_view_size_allocate_columns): rework the size allocation
1760 mechanism to only recalculate the expand values if the width of the
1761 widget, content or the column configuration has changed,
1762 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1763 to before the adjustment updates so the proper width is used after
1765 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1766 use the column width minus the expand value for the resized width,
1767 (gtk_tree_view_move_column_after): update call to
1768 gtk_tree_view_size_allocate_columns().
1770 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1771 resized width to FALSE.
1773 * tests/Makefile.am:
1774 * tests/testtreecolumnsizing.c: new interactive test program
1775 for testing column resizing with different column configurations.
1777 2008-07-11 Simos Xenitellis <simos@gnome.org>
1779 * gtk/compose-parse.py:
1780 * gtk/gtkimcontextsimple.c:
1781 Fixed typo for the name of Markus Kuhn, issue mentioned
1782 in bug #321896 (comment 61).
1784 2008-07-11 Simos Xenitellis <simos@gnome.org>
1786 Bug 334418 – Support easy input of ellipsis
1788 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1789 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
1791 2008-07-03 Murray Cumming <murrayc@murrayc.com>
1793 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
1794 tooltip-markup properties: Interpret an empty string as a NULL
1795 string because an empty tooltip is silly. This will help
1796 language bindings that do not bother to have the two types of
1800 2008-07-10 Matthias Clasen <mclasen@redhat.com>
1802 Bug 542234 – iconview a11y implementation segfaults
1804 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1807 2008-07-08 Christian Neumair <cneumair@gnome.org>
1809 * gtk/gtkuimanager.c (update_node):
1810 Skip update of accelerator child node if it has no associated action.
1813 2008-07-07 Cody Russell <bratsche@gnome.org>
1815 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1817 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1818 existing modal hint value before setting it.
1820 2008-07-07 Cody Russell <bratsche@gnome.org>
1822 Bug 540994 – [Win32] Some windows don't appear at the top when created
1824 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1826 I actually already committed this one by accident, probably when I committed
1827 #541305, but just wanted to document it here in the ChangeLog.
1829 2008-07-07 Johan Dahlin <johan@gnome.org>
1831 * gtk/tests/builder.c (test_cell_view):
1832 Add a test case for 528845.
1834 2008-07-07 Tor Lillqvist <tml@novell.com>
1836 * gdk/win32/gdkwindow-win32.c
1837 (gdk_window_foreign_new_for_display): Need to initialise
1838 private->impl here, too.
1840 2008-07-07 Michael Natterer <mitch@imendio.com>
1842 * gtk/gtkfilesystem.c: include the two needed headers instead of
1845 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1847 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1850 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1851 implementation. Reported by Kevin Ryde.
1853 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1855 Bug 469068 – clarify gdk_cairo_create()
1857 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1858 contexts cannot be cached for handling expose events.
1859 Proposed by Behdad Esfahbod.
1861 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1863 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1865 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1866 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1868 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1870 Bug 510225 – gtk_widget_get_composite_name retval should be freed
1872 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1873 docs. Pointed out by Wolfgang Oertl
1875 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1877 Bug 531129 – gtk_style_copy() does not include a return value or
1880 * gtk/gtkstyle.c: Document gtk_style_copy.
1882 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1884 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1885 Bug 513580 – Broken link in GTK+ FAQ
1887 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1889 2008-07-07 Christian Dywan <christian@imendio.com>
1891 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1892 erroneously added g_return_if_fail (bug #541811).
1894 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1896 Bug 343663 – source-buffer highlighting highlights "char" in
1897 gtk_text_iter_forward_char
1899 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1901 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1903 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1905 * gtk/gtksettings.c: Improve the documentation of the
1906 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1908 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1910 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1913 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1914 Check that the cursor is over a valid date before retrieving
1915 its details. Patch by Chris Wilson
1917 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1919 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1921 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1922 64-bit brokenness. Reported by Christian Hammond.
1924 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1926 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1929 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1930 Be more robust. Reported by Jelte van der Hoek
1932 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1934 Bug 540917 – deprecate pack_start_defaults()
1937 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1938 Proposed by Owen Taylor
1940 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1942 * configure.in: Bump version
1944 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1946 * === Released 2.13.4 ===
1948 2008-07-05 Michael Natterer <mitch@imendio.com>
1950 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
1951 deprecated section because it isn't deprecated.
1953 2008-07-05 Michael Natterer <mitch@imendio.com>
1955 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
1956 other include weirdness in this file.
1958 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1962 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1964 * gtk/gtkiconview.c:
1966 * gtk/gtkscalebutton.c: Small doc fixes.
1968 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1971 * gdk/x11/gdktestutils-x11.c: Small doc fixes
1973 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1975 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
1977 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
1979 * gtk/gtkentry.c: Fix the property getter for text-length property.
1981 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
1983 2008-07-04 Matthias Clasen <mclasen@redhat.com>
1985 * gtk/gtkmenu.c: Debork the attach-widget property.
1987 2008-07-04 Michael Natterer <mitch@imendio.com>
1991 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
2001 * gtk/gtkoldeditable.c
2004 * gtk/gtktipsquery.c
2006 * gtk/gtktreeitem.c: don't #define it again before including
2007 gtkalias.h after it has been #undef'ed before.
2009 2008-07-04 Michael Natterer <mitch@imendio.com>
2011 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
2012 to FALSE instead of 0.
2014 2008-07-04 Michael Natterer <mitch@imendio.com>
2016 Allocate with GSlice:
2018 * gtk/gtkassistant.c: GtkAssistantPage
2019 * gtk/gtkcellview.c: GtkCellViewCellInfo
2020 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
2021 * gtk/gtkfilefilter.c: FilterRule
2022 * gtk/gtknotebook.c: GtkNotebookPage
2024 2008-07-04 Michael Natterer <mitch@imendio.com>
2026 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
2028 2008-07-04 Michael Natterer <mitch@imendio.com>
2030 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
2031 variable to GtkWidget fo fix two warnings.
2033 2008-07-04 Michael Natterer <mitch@imendio.com>
2035 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
2039 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
2040 and _get_minus_button(). Patch by Christian Dywan.
2042 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2044 * gtk/gtkscalebutton.c:
2046 * gdk/gdkwindowimpl.c: Fix make check.
2048 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2050 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
2051 constructed using GtkUIManager
2053 * gtk/gtkmenuitem.c: Fall back to the default positioning when
2054 the menuitem is not realized. Patch by Björn Lindqvist.
2056 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2058 Bug 540612 – mem leak in filechooser
2060 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
2061 Patch by Christian Persch.
2063 2008-07-04 Tor Lillqvist <tml@novell.com>
2065 Bug 540861 - invalid UTF-8 in input device name
2067 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
2068 Unicode, and convert to UTF-8 for the GdkDevice's name field.
2070 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2072 Bug 538863 – Fixes assertion on entering empty folder
2074 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
2075 select the first row if the folder is empty.
2076 Patch by Olle Bergkvist.
2078 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2080 Bug 540915 – GtkBuilder sets properties in reverse order
2082 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
2083 in which they are specified in the xml file.
2085 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2087 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
2091 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
2092 accessor for the popup. Patch by Christian Dywan
2094 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2096 Bug 535498 – Printing demo broken
2098 * demos/gtk-demo/printing.c: Use monospace as font name,
2099 not mono. Also use the right advance when moving from line to line.
2100 Patch by Yevgen Muntyan.
2102 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2104 Bug 538547 – Update doc-shooter in gtk documentation
2106 * docs/tools/Makefile.am:
2107 * docs/tools/folder.png:
2108 * docs/tools/gnome.png: New images
2110 * docs/tools/widgets.c: Use the new images.
2111 Patch by Baptiste Mille-Mathias.
2113 2008-07-03 Michael Natterer <mitch@imendio.com>
2115 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
2116 names of binding signal implementations.
2118 2008-07-03 Li Yuan <li.yuan@sun.com>
2120 * gail-uninstalled.pc.in:
2121 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
2123 2008-07-03 Cody Russell <bratsche@gnome.org>
2125 Bug 540529 – Remove all GIMP references
2129 * gtk+-unix-print-2.0.pc.in:
2130 * gtk+-2.0-uninstalled.pc.in:
2131 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
2132 GTK+ Graphical UI Library in the pkg-config files.
2134 2008-07-02 Cody Russell <bratsche@gnome.org>
2136 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
2138 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
2141 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
2142 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
2145 2008-07-02 Cody Russell <bratsche@gnome.org>
2147 Bug 541249 – [Win32] Fix some internal static methods
2149 * gdk/gdkwindow-win32.c: Make the interface implementation methods
2152 2008-07-02 Michael Natterer <mitch@imendio.com>
2154 Bug 537591 – Don't hardcode minimum width of menuitems
2156 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
2157 introduces a "width-chars" style property which replaces the
2158 hardcoded minimum width of menuitems with submenu. Patch
2159 extracted from Maemo-GTK+.
2161 2008-07-02 Michael Natterer <mitch@imendio.com>
2163 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
2165 2008-07-02 Kristian Rietveld <kris@imendio.com>
2167 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
2168 Since s/2.16/2.14/ for the new gicon property.
2170 2008-07-02 Kristian Rietveld <kris@imendio.com>
2172 Bug 455268 - Add gtk-enable-tooltips GtkSetting
2175 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
2177 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
2179 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
2180 introduced XSetting into account.
2182 * demos/gtk-demo/appwindow.c: don't use the now deprecated
2183 gtk_toolbar_set_tooltips().
2185 2008-07-02 Cody Russell <bratsche@gnome.org>
2187 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
2189 * gdk/win32/gdkprivate-win32.h:
2190 * gdk/win32/gdkgeometry-win32.c:
2191 * gdk/win32/gdkevents-win32.c:
2192 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
2193 the newly refactored GdkWindow code.
2195 2008-07-01 Cody Russell <bratsche@gnome.org>
2197 Bug 539164 – Windows' System Menu blocks main loop
2199 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
2200 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
2201 GLib mainloop from there.
2203 2008-07-01 Richard Hult <richard@imendio.com>
2205 Some aftermath from the window impl cleanups:
2207 * gdk/quartz/gdkwindow-quartz.c:
2208 (gdk_window_merge_child_input_shapes): Rename and export again.
2209 (gdk_window_quartz_get_offsets): Make static.
2211 2008-07-01 Michael Natterer <mitch@imendio.com>
2213 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
2215 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2217 539790 – [PATCH] Please add three new settings to GtkSettings
2219 * gdk/x11/gdksettings.c:
2220 * gtk/gtksettings.c: Add event sound settings.
2221 Patch by Lennart Poettering.
2223 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2225 Bug 434535 – printoperation's create_surface doesn't check temp file
2226 creation for success
2228 Patch by Marek Kasik:
2230 * gtk/gtkprintoperation-unix.c
2231 (_gtk_print_operation_platform_backend_create_preview_surface):
2232 Handle failure to create temp file by returning NULL.
2234 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
2235 Return FALSE if surface creation fails.
2237 (print_pages): If the preiew signal is not handled, show an
2240 2008-07-01 Michael Natterer <mitch@imendio.com>
2242 Bug 442042 – GtkScaleButton is too limited
2244 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2245 property that can be changed at any time after widget
2246 creation. Add public API for it.
2248 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2250 2008-06-30 Michael Natterer <mitch@imendio.com>
2252 Some unrelated cleanups found while reviewing
2253 the offscreen window patch:
2255 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2256 functions, fix some function header indentation, update
2257 documentation of redirect_to_drawable().
2259 * gdk/x11/gdkwindow-x11.c
2260 * gdk/x11/gdkpixmap-x11.c: fix function header
2261 formatting/indentation.
2263 * gtk/gtkwidget.c: use I_() on "damage_event".
2265 2008-06-30 Michael Natterer <mitch@imendio.com>
2267 * gdk/gdkinternals.h: remove duplicate declaration of
2270 2008-06-30 Michael Natterer <mitch@imendio.com>
2272 * gdk/Makefile.am: reorder source lists alphabetically.
2274 2008-06-30 Matthias Clasen <mclasen@redhat.com>
2276 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2278 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2279 Patch by Owen Taylor
2281 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
2283 Bug 530255 – GtkAboutDialog cuts off comments label
2284 Followup patch from Jan Arne Petersen
2286 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2288 2008-06-28 Michael Natterer <mitch@imendio.com>
2290 * gtk/gtkselection.h: properly indent the newly added
2291 GtkSelectionData accessors. Some newlines can't hurt either.
2293 2008-06-27 Mikael Hallendal <micke@imendio.com>
2295 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2297 2008-06-27 Mikael Hallendal <micke@imendio.com>
2299 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2300 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2301 pack_start and pack_end in order to reduce the code duplication.
2303 2008-06-27 Michael Natterer <mitch@imendio.com>
2305 Bug 442042 – GtkScaleButton is too limited
2307 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2308 "gtk-scalebutton-popup-window" on the popup window so it is
2311 2008-06-27 Kristian Rietveld <kris@imendio.com>
2313 * gdk/quartz/gdkgeometry-quartz.c:
2314 * gdk/quartz/gdkwindow-quartz.c:
2315 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2318 2008-06-27 Carlos Garnacho <carlos@imendio.com>
2320 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2321 critical warnings. Bug #539470.
2323 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
2325 Abstract some GdkWindow API into an interface that the backends
2326 must implement. (based on a patch by Alex Larsson)
2328 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2330 * gdk/gdk.symbols: Move symbols around.
2332 * gdk/gdkinternals.h:
2333 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2334 from the backends to a GInterface that the backends should implement
2337 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2338 wrapper call around the GdkWindowImpl interface vtable.
2340 * gdk/x11/gdkevents-x11.c:
2341 * gdk/x11/gdkgeometry-x11.c:
2342 * gdk/x11/gdkprivate-x11.h:
2343 * gdk/x11/gdkwindow-x11.c:
2344 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2345 the GdkWindowImpl interface.
2347 2008-06-27 Martyn Russell <martyn@imendio.com>
2349 Bug 540318 - Invalid URL
2351 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2352 in the warning produced here.
2354 2008-06-27 Michael Natterer <mitch@imendio.com>
2356 Bug 442042 – GtkScaleButton is too limited
2358 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2359 stuff that is part of the public API continues to be created in
2360 init() to stay compatible. Move creating of the popup scale to
2361 constructor(). Add an internal HScale class. Changed popup
2362 positioning for horizontal scales accordingly.
2364 2008-06-26 Michael Natterer <mitch@imendio.com>
2366 * gtk/gtkscalebutton.c
2367 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2368 prototypes, remove redundant includes, remove a little trailing
2371 2008-06-26 Richard Hult <richard@imendio.com>
2373 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2375 (_gtk_quartz_get_selection_data_from_pasteboard),
2376 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2377 Christian Dywan to clean up selection data setting.
2379 2008-06-26 Richard Hult <richard@imendio.com>
2381 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2382 deprecated function gtk_widget_ref, replace with g_object_ref.
2384 2008-06-26 Michael Natterer <mitch@imendio.com>
2386 * gtk/gtkfilesystem.c: #include "config.h"
2388 2008-06-26 Carlos Garnacho <carlos@imendio.com>
2390 * gtk/gtkfilechooserdefault.c
2391 (gtk_file_chooser_default_get_current_folder): current_folder can be
2392 NULL here, do not try to reference it (Bug #540235)
2393 (gtk_file_chooser_default_get_files): Deal better with
2394 gtk_file_chooser_default_get_current_folder() being able to return
2397 2008-06-26 Michael Natterer <mitch@imendio.com>
2399 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2400 allocate the GtkTextUtilCallbackInfo structs with GSlice.
2402 2008-06-25 Michael Natterer <mitch@imendio.com>
2404 * gtk/gtktypeutils.h: there is no reason to include
2405 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2406 replacing the <glib-object.h> include. Also move the remaining few
2407 non-deprecated things to the top and move some deprecated things
2408 around to clean up the mess with too many deprecated sections even
2411 2008-06-24 Michael Natterer <mitch@imendio.com>
2413 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2414 (also for GTK_COMPILATION). Move some deprecated typedefs around
2415 to reduce the mess with zillions of deprecated sections.
2417 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2418 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2419 though the latter is probably completely pointless.
2421 2008-06-24 Michael Natterer <mitch@imendio.com>
2423 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2424 the dialog's vbox was added (bug #539732).
2426 2008-06-24 Carlos Garnacho <carlos@imendio.com>
2428 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2429 thought for handling non-direct children. Fixes #539732.
2430 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2431 doesn't provide enough control to API users (removing, reordering...),
2432 this is better handled through:
2433 (gtk_dialog_get_content_area): New function which just returns
2435 * gtk/gtk.symbols: Modify accordingly.
2436 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2437 using gtk_dialog_get_[action|content]_area() instead of accessing
2438 dialog struct members directly.
2440 2008-06-24 Michael Natterer <mitch@imendio.com>
2442 * gtk/gtkassistant.h
2443 * gtk/gtkcellrenderer.h
2444 * gtk/gtkfilechooserentry.h
2448 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2449 if there is any other widget included, they all have to include
2450 their respective parent classes (the is-a relation works for
2453 2008-06-24 Michael Natterer <mitch@imendio.com>
2455 * gtk/gtktextutil.h: remove includes from this internal header.
2457 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2459 2008-06-23 Michael Natterer <mitch@imendio.com>
2461 * gtk/gtkinvisible.h: formatting.
2463 2008-06-23 Michael Natterer <mitch@imendio.com>
2466 * gtk/gtkbuildable.h
2467 * gtk/gtkbuilderprivate.h
2468 * gtk/gtkcelllayout.h
2469 * gtk/gtkentrycompletion.h
2470 * gtk/gtkfilechoosersettings.h
2471 * gtk/gtkfilesystem.h
2472 * gtk/gtkfilesystemmodel.h
2473 * gtk/gtkicontheme.h
2474 * gtk/gtklinkbutton.h
2475 * gtk/gtkpagesetup.h
2476 * gtk/gtkpapersize.h
2477 * gtk/gtkprintcontext.h
2478 * gtk/gtkprintoperation.h
2479 * gtk/gtkprintoperationpreview.h
2480 * gtk/gtkprintsettings.h
2481 * gtk/gtkrecentchooserprivate.h
2482 * gtk/gtkrecentmanager.h
2483 * gtk/gtksearchengine.h
2485 * gtk/gtktreeselection.h
2486 * gtk/gtktreeviewcolumn.h
2487 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2488 <glib-object.h>. There is no point in relying on them being pulled
2489 in by other headers in some places and placing them explicitly in
2490 other places, so choose the "as little includes as possible"
2491 approach and get rid of them.
2493 2008-06-23 Kristian Rietveld <kris@imendio.com>
2495 * gdk/gdkenumtypes.h.template:
2496 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2497 * gtk/gtktypebuiltins.h.template:
2498 * perf/typebuiltins.h.template: do not hard code the prefix of the
2499 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2501 2008-06-23 Michael Natterer <mitch@imendio.com>
2503 * gtk/gtkmountoperation.h
2504 * gtk/gtktestutils.h
2505 * gtk/gtkshow.[ch]: remove as many includes as possible from these
2506 new files. They can't be included individually, so nothing can break.
2508 2008-06-22 Michael Natterer <mitch@imendio.com>
2510 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
2511 registering the "modifier-mask" property.
2513 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2515 * *.[ch]: Include "config.h" instead of <config.h>
2517 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
2518 Rubberstamped by Mitch and Tim
2520 2008-06-21 Carlos Garnacho <carlos@imendio.com>
2522 Bug 539466 – GtkMenuShell API/ABI break in trunk.
2524 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
2525 different name and packing width.
2527 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2529 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
2532 2008-06-21 Michael Natterer <mitch@imendio.com>
2534 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
2535 indentation, replace header by a GDK copyright header (don't say
2536 "The Gnome Library"), remove trailing whitespace.
2538 2008-06-21 Hans Breuer <hans@breuer.org>
2540 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
2541 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
2542 passing the surface to cairo_surface_show_page(), not the context
2543 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
2544 '<' : signed/unsigned mismatch by using guint for the loop
2546 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
2547 an uint, gtk_menu_get_active() returns the widget pointer. Convert
2548 the latter to the former by calculating the index in menu::children
2549 Also fix some occurences of g_return_if_fail() where
2550 g_return_val_if_fail() was meant
2552 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
2554 Bug 539363 – Segfault when creating GtkPlugs
2556 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
2557 property names. "socket window" => "socket-window"
2559 2008-06-20 Jody Goldberg <jody@gnome.org>
2561 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
2562 Fix life cycle to avoid crash. [#536966]
2564 2008-06-20 Hans Breuer <hans@breuer.org>
2566 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
2567 a value of the appropriate type with g_return_val_if_fail
2569 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
2571 * gtk/gtkfilesystem.c : don't add the "File System" on win32
2573 * tests/makefile.msc : remove broken autotestfile(system|chooser)
2576 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2578 * gtk/gtkbutton.c: Document a style property
2580 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
2583 * gtk/gtkcolorsel.c:
2585 * gtk/gtkitemfactory.c:
2586 * gtk/gtknotebook.c:
2587 Fix up deprecated markup syntax. Add version numbers and
2588 a message on the remaning ones.
2590 2008-06-20 Mikael Hallendal <micke@imendio.com>
2592 * tests/testthreads.c: Use g_signal_connect instead of
2595 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
2596 While the code is not built, people may still look at it.
2598 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
2600 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
2603 * gtk/gtkliststore.h:
2605 * gtk/gtktextchild.h:
2606 * gtk/gtktreemodelfilter.h:
2607 * gtk/gtktreemodelsort.h:
2608 * gtk/gtktreestore.h:
2609 #include <gdkconfig.h> not <gdk/gdkconfig.h>
2611 2008-06-20 Martyn Russell <martyn@imendio.com>
2613 * gtk/gtkaccelgroup.c: Fix warnings from calling
2614 g_object_notify() on a GtkAccelGroup without casting to a
2617 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2619 * gtk/gtkcolorsel.c: Modernize and order things as most
2620 other objects. Defines at the top, class init before init
2621 before gobject methods before object method before widget
2622 methods. No changes to the logic done.
2624 2008-06-20 Martyn Russell <martyn@imendio.com>
2626 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
2627 properties that don't exist. Also, make sure we notify for
2628 the "is-locked" property.
2630 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2632 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
2634 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2636 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
2638 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
2640 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
2641 allocation to avoid compiler warnings
2643 2008-06-20 Michael Natterer <mitch@imendio.com>
2645 * gtk/gtkaccellabel.h
2646 * gtk/gtkactiongroup.h
2647 * gtk/gtkalignment.h
2649 * gtk/gtkaspectframe.h
2651 * gtk/gtkhandlebox.h
2652 * gtk/gtkprogressbar.h
2655 * gtk/gtkscalebutton.h
2656 * gtk/gtkselection.h: fix some formatting and spacing uglyness
2657 that got merged from the GSEAL branch.
2659 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2662 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
2663 * gtk/gtkmessagedialog.h:
2664 Add missing accessor for sealed field GtkMessageDialog->image.
2666 2008-06-20 Michael Natterer <mitch@imendio.com>
2668 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
2671 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2673 * gtk/gtkaccelgroup.c:
2674 * gtk/gtkcolorseldialog.c:
2675 * gtk/gtkcontainer.c:
2677 * gtk/gtkentry.c (gtk_entry_class_init):
2679 * gtk/gtkhandlebox.c:
2681 * gtk/gtkmenu.c (gtk_menu_class_init):
2682 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
2683 * gtk/gtkplug.c (gtk_plug_class_init):
2684 * gtk/gtkselection.c:
2686 * gtk/gtktreeselection.c:
2687 * gtk/gtkwidget.c (gtk_widget_class_init):
2689 Add missing Since: gtk-doc markup for newly added GSEAL API.
2690 Change all Since: GSEAL-branch to Since: 2.14.
2692 2008-06-20 Michael Natterer <mitch@imendio.com>
2694 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
2695 the code merged from the GSEAL branch.
2697 2008-06-20 Michael Natterer <mitch@imendio.com>
2699 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
2700 value from GtkHButtonBox to GtkWidget.
2702 2008-06-20 Michael Natterer <mitch@imendio.com>
2704 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2707 2008-06-20 Michael Natterer <mitch@imendio.com>
2709 * gtk/gtkwindow.[ch]
2710 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2711 gtk_window_group_list_windows().
2713 2008-06-20 12:35:20 +0200 Tim Janik
2715 * Fixed wrongly resolved merge conflicts.
2717 2008-06-19 19:01:41 +0200 Carlos Garnacho
2719 Add gtk_window_group_get_windows().
2722 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2724 2008-06-19 18:39:47 +0200 Carlos Garnacho
2726 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2728 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2730 2008-06-19 18:38:35 +0200 Carlos Garnacho
2732 Document gtk_container_get_focus_child().
2734 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2736 2008-06-19 13:50:06 +0200 Christian Dywan
2738 Add gtk_plug_get_socket_window
2740 2008-06-19 13:11:52 +0200 Christian Dywan
2742 Remove superflous gtkselection accessors and merge _get_data
2744 2008-06-13 15:56:51 +0200 Christian Dywan
2746 Implement gtk_selection_get_display, style fixes
2748 2008-06-13 15:45:00 +0200 Christian Dywan
2750 Fix indentation of a comment.
2752 2008-06-13 15:10:08 +0200 Christian Dywan
2754 Change docs and signature of gtk_widget_get_allocation
2756 2008-06-13 14:22:17 +0200 Christian Dywan
2758 Remove unneeded GtkColorSelectionDialog accessors
2760 2008-06-13 12:57:54 +0200 Christian Dywan
2762 Fix documentaion of gtk_menu_item_get_accel_path
2764 2008-06-11 13:49:34 +0200 Christian Dywan
2766 Fix gtk_widget_get_allocation
2768 2008-06-07 15:37:18 +0200 Carlos Garnacho
2770 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2774 * gtk/gtkcellrenderer.h:
2775 * gtk/gtkcellrenderertext.h:
2776 * gtk/gtkcheckmenuitem.h:
2777 * gtk/gtkcontainer.h:
2779 * gtk/gtkhandlebox.h:
2780 * gtk/gtkimcontextsimple.h:
2782 * gtk/gtkliststore.h:
2784 * gtk/gtkmenuitem.h:
2785 * gtk/gtkmenushell.h:
2786 * gtk/gtknotebook.h:
2789 * gtk/gtkprintjob.h:
2790 * gtk/gtkprogressbar.h:
2793 * gtk/gtkscrolledwindow.h:
2794 * gtk/gtksizegroup.h:
2796 * gtk/gtkspinbutton.h:
2797 * gtk/gtkstatusbar.h:
2799 * gtk/gtktearoffmenuitem.h:
2800 * gtk/gtktextbuffer.h:
2801 * gtk/gtktextview.h:
2802 * gtk/gtktogglebutton.h:
2804 * gtk/gtktreestore.h:
2805 * gtk/gtktreeviewcolumn.h:
2806 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2808 2008-06-06 19:02:17 +0200 Christian Dywan
2812 2008-06-06 17:58:21 +0200 Christian Dywan
2814 Seal GtkSelectionData
2816 2008-06-06 17:57:23 +0200 Christian Dywan
2818 Fix GtkDialog, don't add vbox via gtk_container_add.
2820 2008-06-06 13:39:34 +0200 Kristian Rietveld
2822 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
2824 2008-06-03 09:11:50 +0200 Kristian Rietveld
2828 2008-05-30 16:48:12 +0100 Martyn Russell
2830 Seal GtkFontSelection & GtkFontSelectionDialog
2832 2008-05-29 10:35:29 +0200 Kristian Rietveld
2834 Seal GtkTearoffMenuItem.
2836 (the torn_off field is for internal state keeping, you can retrieve
2837 the value from the parent menu's tearoff_state).
2839 2008-05-27 18:34:12 +0200 Christian Dywan
2843 2008-05-27 18:17:44 +0200 Christian Dywan
2847 2008-05-27 15:10:02 +0200 Christian Dywan
2851 2008-05-27 14:17:45 +0200 Christian Dywan
2855 2008-05-27 14:04:31 +0200 Christian Dywan
2859 2008-05-27 12:40:08 +0200 Christian Dywan
2863 2008-05-27 12:39:49 +0200 Christian Dywan
2865 Seal GtkIMMultiContext
2867 2008-05-27 12:39:17 +0200 Christian Dywan
2869 Seal GtkIMContextSimple
2871 2008-05-27 12:14:53 +0200 Christian Dywan
2875 2008-05-27 11:14:21 +0200 Christian Dywan
2879 2008-05-27 10:54:20 +0200 Christian Dywan
2881 Fix the build by including gdkconfig.h in gtkprinter.h.
2883 2008-05-27 10:38:02 +0200 Christian Dywan
2887 2008-05-27 10:20:56 +0200 Christian Dywan
2891 2008-05-26 17:58:19 +0200 Kristian Rietveld
2895 2008-05-26 17:54:56 +0200 Kristian Rietveld
2899 2008-05-26 17:48:23 +0200 Kristian Rietveld
2903 2008-05-26 17:39:38 +0200 Kristian Rietveld
2907 2008-05-26 17:31:06 +0200 Kristian Rietveld
2911 2008-05-26 17:27:22 +0200 Kristian Rietveld
2915 2008-05-26 17:07:43 +0200 Kristian Rietveld
2919 2008-05-26 17:07:37 +0200 Kristian Rietveld
2923 2008-05-26 16:39:27 +0200 Kristian Rietveld
2925 Seal GtkTextTagTable.
2927 2008-05-26 16:34:13 +0200 Kristian Rietveld
2931 2008-05-26 17:08:19 +0200 Christian Dywan
2935 2008-05-26 16:40:05 +0200 Christian Dywan
2939 2008-05-26 16:37:54 +0200 Christian Dywan
2943 2008-05-26 14:09:32 +0200 Kristian Rietveld
2945 Seal priv pointer in GtkToggleToolButton.
2947 2008-05-26 14:04:51 +0200 Kristian Rietveld
2949 Seal priv pointer in GtkUIManager.
2951 2008-05-26 14:01:32 +0200 Kristian Rietveld
2953 Seal priv pointer in GtkToolItem.
2955 2008-05-26 14:01:12 +0200 Kristian Rietveld
2957 Seal priv pointer in GtkToolButton.
2959 2008-05-26 14:00:24 +0200 Kristian Rietveld
2961 Seal priv pointer in GtkToggleAction.
2963 2008-05-26 13:58:01 +0200 Kristian Rietveld
2965 Seal priv pointer in GtkStatusIcon.
2967 2008-05-26 13:57:33 +0200 Kristian Rietveld
2969 Seal priv pointer in GtkSeparatorToolItem.
2971 2008-05-26 13:56:33 +0200 Kristian Rietveld
2973 Seal priv pointer in GtkScaleButton.
2975 2008-05-26 13:55:57 +0200 Kristian Rietveld
2977 Seal priv pointer in GtkRecentManager.
2979 2008-05-26 13:55:25 +0200 Kristian Rietveld
2981 Seal priv pointer in GtkRecentChooserWidget.
2983 2008-05-26 13:54:39 +0200 Kristian Rietveld
2985 Seal priv pointer in GtkRecentChooserMenu.
2987 2008-05-26 13:54:15 +0200 Kristian Rietveld
2989 Seal priv pointer in GtkRecentChooserDialog.
2991 2008-05-26 13:52:40 +0200 Kristian Rietveld
2993 Seal priv pointer in GtkRecentAction.
2995 2008-05-26 13:51:47 +0200 Kristian Rietveld
2997 Seal priv pointer in GtkRadioAction.
2999 2008-05-26 13:50:49 +0200 Kristian Rietveld
3001 Seal priv pointer in GtkPrintUnixDialog.
3003 2008-05-26 13:50:08 +0200 Kristian Rietveld
3005 Seal priv pointer in GtkPrintOperation.
3007 2008-05-26 13:49:41 +0200 Kristian Rietveld
3009 Seal priv pointer in GtkPrinter.
3011 2008-05-26 13:48:49 +0200 Kristian Rietveld
3013 Seal priv pointer in GtkPageSetupUnixDialog.
3015 2008-05-26 13:47:39 +0200 Kristian Rietveld
3017 Seal priv pointer in GtkMenuToolButton.
3019 2008-05-26 13:47:29 +0200 Kristian Rietveld
3021 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
3023 2008-05-26 13:23:45 +0200 Kristian Rietveld
3025 Seal priv pointer in GtkLinkButton.
3027 2008-05-26 13:22:25 +0200 Kristian Rietveld
3029 Seal priv pointer in GtkIconView.
3031 2008-05-26 13:22:04 +0200 Kristian Rietveld
3033 Seal priv pointer in GtkIconTheme.
3035 2008-05-26 13:13:49 +0200 Kristian Rietveld
3037 Seal child_allocation field in GtkFrame.
3039 2008-05-26 13:10:17 +0200 Kristian Rietveld
3041 Sealed priv pointer in GtkFontButton.
3043 2008-05-26 13:07:14 +0200 Kristian Rietveld
3045 Seal priv pointer in GtkFileChooserButton.
3047 2008-05-26 13:06:43 +0200 Kristian Rietveld
3049 Seal priv pointer in GtkExpander.
3051 2008-05-26 13:03:24 +0200 Kristian Rietveld
3053 Sealed remaining (private) fields in GtkContainer.
3055 2008-05-26 13:02:26 +0200 Kristian Rietveld
3057 Seal priv pointer in GtkComboBoxEntry.
3059 2008-05-26 13:01:40 +0200 Kristian Rietveld
3061 Seal priv pointer in GtkComboBox.
3063 2008-05-26 13:00:59 +0200 Kristian Rietveld
3065 Seal private_data pointer in GtkColorSel.
3067 2008-05-26 12:57:50 +0200 Kristian Rietveld
3069 Seal 3 remaining fields in GtkButton.
3071 2008-05-26 12:55:24 +0200 Kristian Rietveld
3073 Seal priv pointer in GtkBuilder.
3075 2008-05-26 12:52:44 +0200 Kristian Rietveld
3077 Seal center_allocation field in GtkAspectFrame.
3079 2008-05-26 12:48:18 +0200 Kristian Rietveld
3081 Seal priv pointer in GtkAction.
3083 2008-05-26 12:46:11 +0200 Kristian Rietveld
3085 Seal priv pointer in GtkAboutDialog.
3087 2008-05-26 12:41:46 +0200 Kristian Rietveld
3091 2008-05-26 12:39:54 +0200 Kristian Rietveld
3095 2008-05-26 11:59:35 +0200 Kristian Rietveld
3097 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
3099 2008-05-26 11:52:20 +0200 Kristian Rietveld
3101 Add new GtkColorSelectionDialog accessors to gtk.symbols.
3103 2008-05-26 11:41:47 +0200 Kristian Rietveld
3105 gtklabel.h: include bit-size of fields inside GSEAL parens.
3107 2008-05-26 11:40:07 +0200 Kristian Rietveld
3109 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
3111 2008-05-26 11:39:35 +0200 Kristian Rietveld
3113 gtkentry.h: include bit-size of fields inside GSEAL parens.
3115 2008-05-26 11:34:14 +0200 Kristian Rietveld
3117 Add new accessors for GtkEntry to gtk.symbols.
3119 2008-05-26 11:23:56 +0200 Kristian Rietveld
3121 Also seal GtkWindowGroup in gtkwindow.h
3123 2008-05-26 10:48:48 +0200 Kristian Rietveld
3125 Fix the build by including gdkconfig.h in gtktextchild.h.
3127 2008-05-23 18:48:56 +0200 Christian Dywan
3131 2008-05-23 18:28:39 +0200 Christian Dywan
3135 2008-05-23 18:28:07 +0200 Christian Dywan
3137 Seal GtkColorSelectionDialog
3139 2008-05-23 18:03:44 +0200 Carlos Garnacho
3141 Seal GtkTextChildAnchor.
3143 * gtk/gtktextchild.h: Sealed private member.
3145 2008-05-23 17:42:01 +0200 Carlos Garnacho
3149 * gtk/gtkwindow.h: Seal all fields.
3151 2008-05-23 17:40:09 +0200 Carlos Garnacho
3153 Add gtk_window_get_default()
3155 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
3156 * gtk/gtk.symbols: same here.
3158 2008-05-09 15:41:57 +0100 Martyn Russell
3160 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
3162 2008-05-02 16:31:40 +0200 Martyn Russell
3166 2008-05-02 16:30:09 +0200 Martyn Russell
3168 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
3170 2008-04-27 18:49:50 +0200 Kristian Rietveld
3172 Seal GtkToggleButton.
3174 * gtk/gtktogglebutton.h: Seal all member fields.
3176 2008-04-27 18:41:46 +0200 Kristian Rietveld
3178 Seal GtkTreeViewColumn.
3180 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
3181 still troublesome. We are probably going to need an accessor for this and
3182 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
3183 resized_width can be useful, but I really consider them to be private and
3184 of not much use to applications.
3186 2008-04-27 18:23:23 +0200 Kristian Rietveld
3188 Seal GtkRadioMenuItem.
3190 * gtk/gtkradiomenuitem.h: Seal member field.
3192 2008-04-27 18:21:29 +0200 Kristian Rietveld
3194 Seal GtkRadioButton.
3196 * gtk/gtkradiobutton.h: seal member field.
3198 2008-04-27 18:11:41 +0200 Kristian Rietveld
3200 Seal GtkTreeSelection.
3202 * gtk/gtktreeselection.h: Seal all member fields.
3204 2008-04-27 18:09:46 +0200 Kristian Rietveld
3206 Add gtk_tree_selection_get_select_function().
3208 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
3210 * gtk/gtk.symbols: add new function.
3212 2008-04-27 16:05:02 +0200 Kristian Rietveld
3214 Seal GtkScrolledWindow.
3216 * gtk/gtkscrolledwindow.h: Seal all object member fields.
3218 2008-04-27 15:56:33 +0200 Kristian Rietveld
3220 Seal GtkCellRenderer.
3222 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
3223 already accessible via GObject properties.
3225 2008-04-27 15:56:01 +0200 Kristian Rietveld
3227 Add "editing" GObject property to GtkCellRenderer.
3229 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
3230 (gtk_cell_renderer_get_property),
3231 (gtk_cell_renderer_set_property): add the property and hook
3234 2008-04-27 15:42:08 +0200 Kristian Rietveld
3236 Seal GtkCellRendererText.
3238 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3241 2008-04-27 15:40:47 +0200 Kristian Rietveld
3243 Seal GtkCellRendererCombo.
3245 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
3246 that were not marked as private are already accessible via GObject properties.
3248 2008-04-27 15:39:41 +0200 Kristian Rietveld
3250 Seal GtkCellRendererAccel.
3252 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3255 2008-04-18 16:55:44 +0200 Kristian Rietveld
3259 * gtk/gtktreeview.h: seal private pointer.
3261 2008-04-18 16:52:54 +0200 Kristian Rietveld
3263 Seal GtkTreeModelFilter
3265 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3268 2008-04-18 16:50:55 +0200 Kristian Rietveld
3270 Seal GtkTreeModelSort
3272 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3273 all public member fields.
3275 2008-04-18 16:42:28 +0200 Kristian Rietveld
3279 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3280 public member fields.
3282 2008-04-18 16:37:43 +0200 Kristian Rietveld
3286 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3287 public member fields.
3289 2008-04-18 18:26:31 +0200 Carlos Garnacho
3291 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3293 2008-04-18 18:25:22 +0200 Carlos Garnacho
3295 * gtk/gtkcontainer.h: seal members.
3297 2008-04-11 17:28:54 +0200 Carlos Garnacho
3299 * gtk/gtkmisc.h: seal members.
3301 2008-04-11 17:28:05 +0200 Carlos Garnacho
3303 *gtk/gtkfixed.h: seal members.
3305 2008-04-11 16:04:23 +0200 Michael Natterer
3307 * gtk/gtkcellrendererpixbuf.h: seal all members.
3309 2008-04-11 16:01:19 +0200 Michael Natterer
3311 * gtk/gtkcellrendererprogress.h: seal private member.
3313 2008-04-11 15:43:22 +0200 Michael Natterer
3315 * gtk/gtkcellrenderertoggle.h: seal all members.
3317 2008-04-04 18:50:05 +0200 Carlos Garnacho
3319 * gtk/gtkfilechooserwidget.h: Seal the private member.
3321 2008-04-04 18:46:47 +0200 Carlos Garnacho
3323 gtk/gtkfilechooserdialog.h: seal the private member.
3325 2008-04-04 18:42:17 +0200 Carlos Garnacho
3327 * gtk/gtkentrycompletion.h: Seal private member.
3329 2008-04-04 18:36:35 +0200 Carlos Garnacho
3331 * gtk/gtkcellview.h: Seal the private member.
3333 2008-04-04 18:28:00 +0200 Carlos Garnacho
3335 * gtk/gtkcolorbutton.h: seal private member.
3337 2008-04-04 18:27:26 +0200 Carlos Garnacho
3339 * gtk/gtkcheckmenuitem.h: seal public struct members.
3341 2008-04-04 18:25:25 +0200 Carlos Garnacho
3343 * gtk/gtkcalendar.h: seal public struct members.
3345 2008-04-04 18:24:15 +0200 Carlos Garnacho
3347 * gtk/gtkdialog.h: Also seal variables marked as private.
3349 2008-04-04 17:35:48 +0200 Michael Natterer
3351 * gtk/gtkimagemenuitem.h: seal private member.
3353 2008-04-04 17:28:56 +0200 Michael Natterer
3355 * gtk/gtkiconfactory.h: seal private member.
3357 2008-03-28 16:56:53 +0000 Martyn Russell
3361 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3362 member and clean up .c file to reflect this.
3364 2008-03-28 15:00:09 +0100 Sven Herzberg
3368 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3370 2008-03-28 16:38:00 +0100 Michael Natterer
3372 * gtk/gtkdrawingarea.h: seal instance struct member.
3374 2008-03-28 16:23:32 +0100 Christian Dywan
3376 Seal GtkScaleButton public fields
3378 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3380 2008-03-28 16:07:50 +0100 Christian Dywan
3382 Seal GtkScale public fields
3384 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3386 2008-03-14 20:45:34 +0100 Christian Dywan
3388 Seal GtkProgressBar public fields
3391 2008-03-14 20:32:12 +0100 Christian Dywan
3393 Seal GtkFrame public vars
3395 2008-03-14 18:57:35 +0100 Carlos Garnacho
3397 Deprecate direct access to public variables in GtkButton.
3399 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3401 2008-03-14 18:56:23 +0100 Carlos Garnacho
3403 Deprecate direct access to public variables in GtkButtonBox.
3405 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3407 2008-03-14 18:54:35 +0100 Carlos Garnacho
3409 Deprecate direct access to public variables in GtkBox.
3411 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3413 2008-03-09 11:50:41 +0100 Carlos Garnacho
3415 Seal GtkMessageDialog public vars
3417 2008-03-09 11:38:00 +0100 Carlos Garnacho
3419 Seal GtkDialog public vars
3421 2008-03-09 11:32:05 +0100 Carlos Garnacho
3423 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3425 2008-03-09 11:31:46 +0100 Carlos Garnacho
3427 Seal GtkAssistant public fields
3429 2008-03-09 11:31:30 +0100 Carlos Garnacho
3431 Seal GtkNotebook public fields
3433 2008-03-07 20:29:47 +0100 Mikael Hallendal
3435 Deprecate direct access to child in GtkBin.
3437 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3439 2008-03-07 18:25:59 +0000 Martyn Russell
3441 Sealed GtkAccelGroup and added
3443 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3444 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3445 macro for public struct members which should be private.
3447 2008-03-07 18:54:22 +0100 Mikael Hallendal
3449 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3451 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3453 2008-03-07 18:48:29 +0100 Mikael Hallendal
3455 Deprecate arrow_type and shadow_type direct access in GtkArrow.
3457 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3459 2008-03-07 18:35:12 +0100 Mikael Hallendal
3461 Added GSEAL to GtkAlignment.
3463 * gtk/gtkalignment.h: Seal the object data with GSEAL.
3465 2008-03-07 15:24:27 +0100 Tim Janik
3467 Introduce GSEAL() macro.
3469 * configure.in: define GSEAL() when generating gdkconfig.h
3471 2008-06-20 Michael Natterer <mitch@imendio.com>
3473 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3476 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3477 (gtk_combo_box_insert_text)
3478 (gtk_combo_box_prepend_text)
3479 (gtk_combo_box_remove_text)
3480 (gtk_combo_box_real_get_active_text): apply patch from Christian
3481 Dywan which adds the needed g_return_if_fail() to prevent the
3484 2008-06-20 Cody Russell <cody@jhu.edu>
3486 * gdk/directfb/gdkwindow-directfb.c:
3488 Rename gdk_window_new -> _gdk_window_new and
3489 gdk_window_reparent -> _gdk_window_reparent to fix
3490 the build. (#539095, Sebastien Bacher)
3492 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3494 * gtk/gtkmenuitem.c: remove an unused variable and cast
3495 accel_path to gchar, just like in gtkmenu.c
3497 2008-06-19 Matthias Clasen <mclasen@redhat.com>
3499 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3502 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3504 * gtk/gtkprintbackend.c: Fix a typo in a comment
3506 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3507 Cast buf to unsigned char to avoid two compiler
3511 * gtk/gtkstyle.c (gtk_style_finalize):
3512 Do not ignore the return value of g_slist_remove.
3513 gtkstyle.c changes rubberstamped by Owen.
3515 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3517 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
3518 (gtk_tree_view_set_enable_tree_lines):
3519 gdk_gc_set_dashes expects a list of gint8, not guint8.
3521 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3523 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
3524 Remove an unused variable and cast to gchar to avoid a compiler
3527 2008-06-19 Christian Persch <chpe@gnome.org>
3529 * docs/reference/gtk/gtk-sections.txt:
3531 * gtk/gtkclipboard.c:
3532 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
3533 targets. Bug #537639.
3535 2008-06-19 Christian Persch <chpe@gnome.org>
3537 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
3538 hardcoded target tables. Bug #516092.
3540 2008-06-19 Christian Persch <chpe@gnome.org>
3542 * gdk-pixbuf/gdk-pixbuf-io.c:
3543 * gdk-pixbuf/gdk-pixdata.c:
3544 * gdk-pixbuf/io-ani.c:
3545 * gdk-pixbuf/io-bmp.c:
3546 * gdk-pixbuf/io-gdip-utils.c:
3547 * gdk-pixbuf/io-gif.c:
3548 * gdk-pixbuf/io-icns.c:
3549 * gdk-pixbuf/io-ico.c:
3550 * gdk-pixbuf/io-jasper.c:
3551 * gdk-pixbuf/io-jpeg.c:
3552 * gdk-pixbuf/io-pcx.c:
3553 * gdk-pixbuf/io-png.c:
3554 * gdk-pixbuf/io-pnm.c:
3555 * gdk-pixbuf/io-ras.c:
3556 * gdk-pixbuf/io-tga.c:
3557 * gdk-pixbuf/io-tiff.c:
3558 * gdk-pixbuf/io-wbmp.c:
3559 * gdk-pixbuf/io-xbm.c:
3560 * gdk-pixbuf/io-xpm.c:
3561 * gtk/gtkfilechooserdefault.c:
3562 * gtk/gtkfilesystemmodel.c:
3563 * gtk/gtkiconfactory.c:
3564 * gtk/gtkicontheme.c:
3566 * gtk/gtkpagesetup.c:
3567 * gtk/gtkpapersize.c:
3568 * gtk/gtkprintoperation-win32.c:
3569 * gtk/gtktextbufferserialize.c:
3570 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
3572 * configure.in: Update glib requirement to 2.17.3.
3574 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3576 * demos/testpixbuf.c (new_testrgb_window):
3577 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
3578 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
3579 (gtk_item_factory_create_item):
3580 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
3581 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
3582 (gtk_progress_bar_new_with_adjustment):
3583 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
3584 * gtk/gtktext.c (gtk_text_new):
3585 * gtk/gtkviewport.c (gtk_viewport_new):
3586 * tests/simple.c (main):
3587 * tests/testgtk.c (create_statusbar), (create_get_image),
3588 (create_saved_position), (create_tooltips), (create_cursors),
3589 (create_display_screen), (create_progress_bar), (create_idle_test):
3590 * tests/testmultidisplay.c (make_selection_dialog), (main):
3591 * tests/testmultiscreen.c (main):
3592 * tests/testrgb.c (new_testrgb_window):
3593 Use g_object_new instead of gtk_widget_new
3595 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3597 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
3599 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
3602 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
3603 to avoid a gcc warning.
3605 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3607 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
3608 the filename in the name entry in CREATE_FOLDER mode when changing
3609 folders, so that you can enter a new subfolder name, double-click on a
3610 folder to change to it, and close the dialog.
3612 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
3613 the filename in the entry in CREATE_FOLDER mode, either.
3615 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3617 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
3618 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
3621 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
3622 clear the entry for CREATE_FOLDER either; this needs the same
3623 behavior as SAVE mode.
3624 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
3627 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3629 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
3630 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3631 (model_add_bookmarks):
3632 (model_update_current_folder):
3633 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
3634 (shortcuts_reload_icons): Use standard icon names.
3636 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3638 * gtk/Makefile.am: Add some more aliases for standard
3639 icon names to the builtin icon theme: drive-harddisk,
3640 folder, folder-remote, text-x-generic.
3642 2008-06-18 Michael Natterer <mitch@imendio.com>
3644 * gtk/gtkcalendar.c: set the maximum of the "year" property to
3645 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
3646 calculations which in turn caused writing beyond the boundaries of
3647 the calendar->day_month[] and day[] arrays which in turn caused a
3648 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
3650 2008-06-18 Michael Natterer <mitch@imendio.com>
3653 * tests/autotestfilechooser.c
3654 * tests/buildertest.c
3655 * tests/defaultvaluetest.c
3656 * tests/floatingtest.c
3657 * tests/objecttests.c
3658 * tests/pixbuf-init.c
3659 * tests/textbuffertest.c: remove unit tests here...
3661 * gtk/tests/Makefile.am
3662 * gtk/tests/builder.c
3663 * gtk/tests/defaultvalue.c
3664 * gtk/tests/filechooser.c
3665 * gtk/tests/floating.c
3666 * gtk/tests/object.c
3667 * gtk/tests/pixbuf-init.c
3668 * gtk/tests/textbuffer.c: ...and add them here.
3670 2008-06-18 Michael Natterer <mitch@imendio.com>
3672 * gdk/gdk.h: deprecate GdkDestroyNotify.
3676 * gdk/x11/gdkevents-x11.c
3677 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
3679 2008-06-18 Michael Natterer <mitch@imendio.com>
3681 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
3683 * gtk/gtkactiongroup.[ch]
3684 * gtk/gtkcombobox.[ch]
3685 * gtk/gtkcontainer.[ch]
3686 * gtk/gtkliststore.[ch]
3690 * gtk/gtktreedatalist.[ch]
3691 * gtk/gtktreemodelfilter.[ch]
3692 * gtk/gtktreemodelsort.[ch]
3693 * gtk/gtktreeprivate.h
3694 * gtk/gtktreeselection.[ch]
3695 * gtk/gtktreesortable.[ch]
3696 * gtk/gtktreestore.[ch]
3697 * gtk/gtktreeview.[ch]
3698 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
3700 2008-06-18 Michael Natterer <mitch@imendio.com>
3702 * tests/testgtk.c: some more undeprecation.
3704 2008-06-18 Michael Natterer <mitch@imendio.com>
3706 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3709 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3711 2008-06-18 Michael Natterer <mitch@imendio.com>
3713 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3715 * gtk/gtk.symbols: changed accordingly.
3717 * gtk/gtksettings.c (gtk_settings_install_property)
3718 (gtk_settings_install_property_parser): get rid of using
3719 gtk_type_class() by keeping a static reference to GtkSettingsClass
3720 around in both functions and passing that pointer on to
3721 settings_install_property_parser().
3723 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3726 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3729 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3731 * gtk/gtkstyle.c: Add deprecated version
3732 and change the deprecation markup used by ref/unref
3734 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3737 Add deprecated versions and fixup markup.
3739 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3741 * gtk/gtkaboutdialog.c:
3742 * gtk/gtkbutton.c (gtk_button_class_init):
3743 Don't markup deprecated in italics.
3745 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3747 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3748 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3750 2008-06-17 Michael Natterer <mitch@imendio.com>
3752 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3754 2008-06-17 Michael Natterer <mitch@imendio.com>
3756 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3757 function gtk_object_init_type().
3759 2008-06-17 Michael Natterer <mitch@imendio.com>
3761 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3762 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3763 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
3766 2008-06-17 Tor Lillqvist <tml@novell.com>
3768 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3769 #undef/#define dance here, too, because
3770 gtk_notebook_set_group_id() is deprecated but used here before it
3771 is defined, and gcc complains about conflicting type from the
3772 implicit int declaration when it sees the actual void definition.
3774 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3777 2008-06-17 Michael Natterer <mitch@imendio.com>
3779 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3786 * gtk/gtkoldeditable.c
3789 * gtk/gtktipsquery.c
3791 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3792 actually use deprecated symbols (not just types or macros),
3793 #define it again before #include "gtkalias.h" so the symbols match
3794 and the beast links.
3796 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3798 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3800 2008-06-17 Michael Natterer <mitch@imendio.com>
3802 * modules/input/gtkimcontextmultipress.h
3803 * modules/input/gtkimcontextthai.h
3804 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3805 type checking macros.
3807 2008-06-17 Michael Natterer <mitch@imendio.com>
3809 * gtk/gtktypeutils.h: really move the GtkType typedef to an
3810 undeprecated section.
3812 2008-06-17 Michael Natterer <mitch@imendio.com>
3814 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3815 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3816 Move the GtkType typedef to an undeprecated section.
3818 2008-06-17 Michael Natterer <mitch@imendio.com>
3820 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3821 of GTK_CHECK ones because it's the parent class of an undeprecated
3822 class and the GTK_CHECK stuff will soon be deprecated.
3824 2008-06-17 Michael Natterer <mitch@imendio.com>
3827 * gtk/gtkinputdialog.c
3828 * gtk/gtkmenutoolbutton.c
3829 * gtk/gtkoptionmenu.c
3831 * gtk/gtktooltips.c: add or move around
3832 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3833 deprecated stuff again (with the minor glitch that it doesn't
3834 link ;) but at least it's a tool to keep the code clean).
3836 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3838 * gtk/gtkrecentmanager.c:
3839 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3842 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3844 * gtk/gtkrecentmanager.c:
3845 (gtk_recent_manager_remove_item),
3846 (gtk_recent_manager_move_item): Increase the consistency of the
3847 errors returned by GtkRecentManager. (Paolo Borelli)
3849 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3851 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3853 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3855 * gtk/gtkrecentmanager.c:
3856 (gtk_recent_manager_remove_item): Consistently use the same
3857 error when removing a URI from an empty GtkRecentManager.
3859 2008-06-17 Michael Natterer <mitch@imendio.com>
3861 * gtk/gtkfilechooserdefault.c: remove static integer variables
3862 which hold the number of members in GtkTargetEntry arrays and use
3863 G_N_ELEMENTS() directly instead.
3865 2008-06-17 Michael Natterer <mitch@imendio.com>
3867 * gtk/gtk.symbols: move some deprecated symbols into
3868 #ifndef GTK_DISABLE_DEPRECATED.
3870 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3872 * gtk/gtkfilechooserdefault.c:
3873 (gtk_file_chooser_default_init),
3874 (gtk_file_chooser_default_constructor),
3875 (gtk_file_chooser_default_screen_changed),
3876 (recent_start_loading): Remove the GtkRecentManager screen
3877 dance, as it has been deprecated since 2.12. Now we get the
3878 GtkRecentManager singleton whewn we create the FileChooserDefault
3879 instance. (Michael Natterer)
3881 2008-06-17 Michael Natterer <mitch@imendio.com>
3883 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3884 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3886 2008-06-17 Michael Natterer <mitch@imendio.com>
3888 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3891 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3892 in via deprecated headers.
3894 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3896 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3898 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3899 against XKB being stupid. Reported by Pedro Villavicencio.
3901 2008-06-17 Michael Natterer <mitch@imendio.com>
3903 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3904 and unref() instead of the deprecated gtk_widget_ref() and unref().
3906 2008-06-16 Michael Natterer <mitch@imendio.com>
3908 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3909 svn since 2.8 but was never used.
3911 2008-06-16 Michael Natterer <mitch@imendio.com>
3913 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3914 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3915 (the former is deprecated and #defined to gtk_binding_entry_clear)
3917 2008-06-16 Michael Natterer <mitch@imendio.com>
3919 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3920 unused) "gtkmarshal.h".
3922 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
3924 Bug 538182 – pango_cairo_context_update_layout is not noop after
3925 gtk_widget_create_pango_layout
3927 * gtk/gtksettings.c (settings_update_font_options): Make sure all
3928 font option fields are set to non-DEFAULT values.
3930 2008-06-16 Michael Natterer <mitch@imendio.com>
3935 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3936 gtk_rc_style_unref().
3938 2008-06-16 Michael Natterer <mitch@imendio.com>
3940 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
3941 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
3942 gtk_marshal_BOOLEAN__VOID.
3944 2008-06-16 Michael Natterer <mitch@imendio.com>
3946 * gtk/gtkcellrendereraccel.h
3948 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
3949 macros for type checking.
3951 (gtk_object_get_type): change prototype to return GType instead of
3954 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3956 * gtk/Makefile.am: Make folder, user-home and user-desktop links
3957 to gtk-directory in the builtin icon theme, so that we can
3958 use these icon names without risk of ending up without an icon.
3960 2008-06-16 Tor Lillqvist <tml@novell.com>
3962 Bug 538362 - Get Win32 icons back in the file chooser
3964 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
3965 reference to an icon resource in a DLL or .EXE in the same format
3966 as the DefaultIcon strings in the Registry. In that case, extract
3967 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
3968 code has to be in sync with the corresponding code in
3969 glib/gio/gcontenttype.c.
3971 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3973 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
3974 to the builtin icon theme, to avoid showing broken images when
3975 there is no icon theme around. The new icons are thanks to
3978 2008-06-16 Michael Natterer <mitch@imendio.com>
3980 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
3981 GtkFileChooserDefault struct.
3983 * gtk/gtkfilechooserdefault.c: don't allocate and free the
3986 2008-06-16 Carlos Garnacho <carlos@imendio.com>
3988 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
3991 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
3992 Allow again setting any of the properties to render an image back to
3995 2008-06-15 Matthias Clasen <mclasen@redhat.com>
3997 * gtk/gtkimage.c: When pixel-size is specified, use
3998 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
4000 2008-06-15 Carlos Garnacho <carlos@imendio.com>
4002 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
4003 path here as expected, not just the basename.
4005 * gtk/gtkfilechooserdefault.c
4006 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
4007 a reference to file, since it can be destroyed when switching back to
4010 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
4011 and desktop directories are dealt by the filechooser as normal files,
4012 not volumes, so the icon for these is handled directly by GIO.
4013 (_gtk_file_system_volume_render_icon): Update caller.
4015 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4017 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
4019 2008-06-14 Cody Russell <bratsche@gnome.org>
4021 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
4023 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
4024 according to MSDN docs, associates the open clipboard with the
4025 current task. (#378158, reported by Andreas Köhler)
4027 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4029 * configure.in: Bump version
4031 * === Released 2.13.3 ===
4033 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4035 * gtk/gtkaccelgroup.c: Add some docs
4037 * gdk/gdkwindow.c: Fix doc typos
4039 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4041 * gtk/gtkfilesystem.c: Avoid PLT entries by including
4044 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4046 * gtk/gtkfilechooserbutton.c:
4047 * gtk/gtkfilechooserdefault.c:
4048 * gtk/gtkfilechooserentry.c:
4049 * gtk/gtkfilesystem.c:
4050 * gtk/gtkfilesystem.h:
4051 * gtk/gtkfilesystemmodel.c:
4052 * gtk/gtkpathbar.c: Really make GtkFileSystem private
4053 by _-prefixing all functions.
4055 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4057 * docs/RELEASE-HOWTO: Updates
4058 * INSTALL.in: Bump version
4060 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4064 2008-06-13 Michael Natterer <mitch@imendio.com>
4066 * gtk/gtkcellrendereraccel.h
4067 * gtk/gtkfilechooser.h
4068 * gtk/gtkfilechooserdialog.h
4069 * gtk/gtkfilechooserwidget.h
4070 * gtk/gtkmenutoolbutton.h
4071 * gtk/gtkpagesetup.h
4072 * gtk/gtkpapersize.h
4073 * gtk/gtkprintcontext.h
4074 * gtk/gtkprintoperation.h
4075 * gtk/gtkprintoperationpreview.h
4076 * gtk/gtkprintsettings.h
4077 * gtk/gtkradiotoolbutton.h
4078 * gtk/gtkrecentchooser.h
4079 * gtk/gtkrecentchooserdialog.h
4080 * gtk/gtkrecentchoosermenu.h
4081 * gtk/gtkrecentchooserwidget.h
4082 * gtk/gtkseparatortoolitem.h
4084 * gtk/gtktoggletoolbutton.h
4086 * gtk/gtktoolbutton.h
4087 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
4088 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
4090 2008-06-13 Michael Natterer <mitch@imendio.com>
4092 * gtk/gtktexttagtable.h: remove double inclusion of
4095 2008-06-13 Michael Natterer <mitch@imendio.com>
4097 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
4098 local "image" variable from GtkImage to GtkWidget to fix warning.
4100 2008-06-13 Michael Natterer <mitch@imendio.com>
4102 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
4103 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4105 2008-06-13 Michael Natterer <mitch@imendio.com>
4107 * gtk/gtkuimanager.c (start_element_handler): silently skip
4108 unknown attributes instead of bailing out with an error in order
4109 to be compatible with possible future attribute names.
4111 This is related to the discussion in bug #516425 but actually
4112 needed for any kind of XML format extension.
4114 2008-05-23 Hans Breuer <hans@breuer.org>
4116 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
4117 Avoids crashing when the target can not be written, bug #537685
4119 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
4121 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
4122 it was not needed here anyway.
4124 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4126 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
4127 Patch by Jan Arne Peterson
4129 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4131 Bug 537985 – gtk_init_with_args() doesn't open a display after
4134 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
4135 even when gtk_parse_args() has already been called.
4136 Patch by Mathias Hasselmann
4138 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4140 Bug 524222 – GtkToolbar with mix of buttons with and without
4143 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
4144 Improve appearance of "both vertical" mode toolbuttons.
4145 Patch by Peter Johanson
4147 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4149 Bug 519092 – Add accessibility support to GtkVolumeButton
4151 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
4152 Patch by Jonh Wendell
4154 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4156 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
4157 GtkAction has problems
4158 Patch by Peter Johanson
4160 * gtk/gtkaction.c (connect_proxy): Set the image of a button
4161 proxy to the "icon-name" property.
4163 (gtk_action_set_short_label): If the "image" property is set
4164 on the button proxy, also tries to set the "label" property on
4167 2008-06-12 Michael Natterer <mitch@imendio.com>
4170 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
4171 in via "gtkintl.h" from <glib/gi18n-lib.h>.
4173 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4175 RH bug 248245 and 449379: cups client printing from gnome
4178 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
4179 printer URI construction. Patch by Marek Kasik
4181 2008-06-12 Michael Natterer <mitch@imendio.com>
4183 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
4184 limit the number of displayed items by the actual screen height
4185 instead of some arbitrary value (Bug #408154, Xan Lopez and
4188 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
4190 Bug 503071 – Application direction changes to right to left even if
4191 theres no translation
4193 * configure.in: Bump glib requirement.
4195 * gtk/gtkaccellabel.c
4196 (_gtk_accel_label_class_get_accelerator_label):
4197 * gtk/gtkactiongroup.c (dgettext_swapped):
4198 * gtk/gtkbuilder.c (gtk_builder_class_init):
4199 * gtk/gtkbuilderparser.c (_dpgettext),
4200 (_gtk_builder_parser_translate):
4201 * gtk/gtkfilechooserdefault.c (list_size_data_func):
4202 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
4204 * gtk/gtkmain.c (setlocale_initialization),
4205 (do_pre_parse_initialization), (gettext_initialization):
4206 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
4207 Use g_dgettext() and g_dngettext().
4209 2008-06-11 Matthias Clasen <mclasen@redhat.com>
4211 * docs/RELEASE-HOWTO: Updates
4213 2008-06-11 Tor Lillqvist <tml@novell.com>
4215 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
4216 support Win9x anyway, we can use ProcessIdToSessionId()
4219 2008-06-11 Michael Natterer <mitch@imendio.com>
4221 * gtk/gtkfilechooserbutton.c: fix local prototype of
4222 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
4224 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4226 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
4228 * gtk/gtkoptionmenu.c:
4229 * gtk/gtkcombobox.c: Set the window type hint on popups.
4230 Patch by Danny Baumann
4232 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4234 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
4235 (gtk_file_system_volume_render_icon): Add standard icon names,
4236 and also fall back to builtin gtk stock icons.
4238 2008-06-10 Christian Persch <chpe@gnome.org>
4240 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4241 (gtk_tree_view_maybe_begin_dragging_row),
4242 (gtk_tree_view_set_reorderable),
4243 (gtk_tree_view_enable_model_drag_source),
4244 (gtk_tree_view_enable_model_drag_dest),
4245 (gtk_tree_view_unset_rows_drag_source),
4246 (gtk_tree_view_unset_rows_drag_dest): Make
4247 gtk_tree_view_enable_model_drag_[source|dest] compatible with
4248 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4250 2008-06-10 Christian Persch <chpe@gnome.org>
4252 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4253 (dest_row_free), (set_dest_row), (ensure_info),
4254 (gtk_tree_view_remove), (gtk_tree_view_put),
4255 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4258 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4260 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4261 use g_file_new_for_uri.
4263 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4265 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4268 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4272 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4273 #520874, comment #8. It's no longer used directly by GTK+.
4275 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4277 Bug 520874 - Should use gio directly.
4279 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4280 provides helper functions for asynchronous calls, folder abstraction
4281 and uniform handling of volumes/drives/mounts.
4283 * gtk/gtkfilesystemwin32.[ch]:
4284 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4286 * gtk/gtkfilechooser.c:
4287 * gtk/gtkfilechooserbutton.c:
4288 * gtk/gtkfilechooserdefault.c:
4289 * gtk/gtkfilechooserentry.[ch]:
4290 * gtk/gtkfilechooserprivate.h:
4291 * gtk/gtkfilechooserutils.c:
4292 * gtk/gtkfilesystemmodel.[ch]:
4293 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4294 Do not load filesystem implementation modules.
4297 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4298 anymore, nor the unix/win32 implementations.
4300 * README.in: Add blurb about these changes.
4302 2008-06-09 Kristian Rietveld <kris@gtk.org>
4304 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4306 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4307 (gtk_cell_renderer_combo_set_property),
4308 (gtk_cell_renderer_combo_editing_done),
4309 (gtk_cell_renderer_combo_start_editing): introduce private class
4310 struct, allow model to be set to NULL.
4312 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
4314 Bug 131920 – gtkNotebook sends incorrect switch_page value
4316 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4317 signal send correct page index when page index 0 is active and
4318 removed. (#131920, Samuel Fogh)
4320 2008-06-08 Kristian Rietveld <kris@gtk.org>
4322 Bug 536730 - memory corruption in gtktreeview
4324 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4325 remove the expand/collapse timeout and node, then free the rbtree.
4327 2008-06-08 Kristian Rietveld <kris@gtk.org>
4329 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4331 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4332 find path if we found valid nodes, return FALSE otherwise. (Patch
4333 from Matthias Clasen).
4335 2008-06-08 Matthias Clasen <mclasen@redhat.com>
4337 * gtk/gtkrecentmanager.c:
4338 * gtk/gtkrecentfilter.c:
4339 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4342 2008-06-08 Christian Persch <chpe@gnome.org>
4344 Bug 535608 – do not string-copy accel paths in the menu code
4346 * gtk/gtkaccelgroup.c:
4347 * gtk/gtkaccelmap.c:
4350 * gtk/gtkmenuitem.c:
4351 * gtk/gtkwidget.c: Don't store the accel path as a string in
4352 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4353 keeping a string copy around is just a waste of memory.
4354 Improve the documentation to mention this.
4356 2008-06-07 Tor Lillqvist <tml@novell.com>
4358 Bug 536990 - updateiconcache.c: 'close ()' is redundant
4360 * gtk/updateiconcache.c (build_cache): Drop redundant close()
4361 calls. fclose() on a fdopen()ed stream closes the underlying file
4364 2008-06-06 Matthias Clasen <mclasen@redhat.com>
4366 Bug 536757 – regression: openoffice.org menus are placed at wrong
4367 position since 2.12.10
4369 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4370 Return the right coordinates.
4372 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
4374 Bug 536185 – monitor font configuration
4377 * gdk/x11/gdksettings.c:
4378 * gtk/gtksettings.c (gtk_settings_class_init),
4379 (gtk_settings_notify), (settings_update_fontconfig):
4380 Monitor xsettings key Fontconfig/Timestamp and upon change,
4381 reread fontconfig configuration, clear Pango's caches, and
4384 2008-06-06 Ross Burton <ross@burtonini.com>
4387 Fix trivial typo in documentation.
4389 2008-06-06 Tor Lillqvist <tml@novell.com>
4391 * config.h.win32.in: Slight update to match what configure
4394 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
4396 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4397 constant to the end of the list, to avoid breaking the stable ABI
4399 2008-06-05 Michael Natterer <mitch@imendio.com>
4401 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4403 2008-06-05 Li Yuan <li.yuan@sun.com>
4405 * gail-uninstalled.pc.in:
4406 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4407 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4409 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4411 * docs/RELEASE-HOWTO: Update a bit
4413 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4415 * configure.in: Bump version
4417 * === Released 2.13.2 ===
4419 2008-06-03 Federico Mena Quintero <federico@novell.com>
4421 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4422 If the user presses Tab while the completion feedback window is
4423 active, then we'll assert. Remove the assertion and just re-set
4424 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4426 2008-06-03 Colin Walters <walters@redhat.com>
4428 Bug 535303 – add _get_implementation to GtkStatusIcon
4430 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4431 function to retrieve internal X11 window ID, useful for libnotify.
4432 * gtk/gtkstatusicon.h: Prototype it.
4433 * docs/reference/gtk/gtk-sections.txt: Add to docs.
4434 * gtk/gtk.symbols: Export it.
4436 2008-06-03 Tor Lillqvist <tml@novell.com>
4438 * gtk/updateiconcache.c (build_cache): Use g_open().
4440 2008-06-03 Michael Natterer <mitch@imendio.com>
4443 * gtk/gtkctree.h: revert includes to how they have been before the
4444 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4445 that you can't include <gtk/gtk.h> from two headers where one is a
4446 parent class of the other and expect them both to be includable
4449 2008-06-03 Michael Natterer <mitch@imendio.com>
4451 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4453 2008-06-02 Matthias Clasen <mclasen@redhat.com>
4455 Bug 536092 – GtkEntryCompletion's popup window should set type hint
4457 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4458 a type hint on the popup window to help compiz.
4459 Patch by Vaclav Slavik.
4461 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
4463 Bug 535862 – gtk_action_create_icon can't create icons from the
4466 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4467 the default factories as it's supposed.
4469 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
4471 Bug 535497 – Print preview doesn't work.
4473 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4474 instead of launching Preview.app directly.
4476 2008-06-02 Michael Natterer <mitch@imendio.com>
4478 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4479 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4482 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
4484 Bug 535830 – wrong content type adding an item
4486 * gtk/gtkrecentmanager.c:
4487 (gtk_recent_manager_add_item_query_info): Use the correct API
4488 for retrieving the fast MIME type of a URI. (Carlos Garcia
4491 2008-05-31 Kristian Rietveld <kris@imendio.com>
4493 Bug 530146 - Setting non-string tooltip with
4494 gtk_tree_view_set_tooltip_column() segfaults
4496 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4497 gtk_tree_model_get_value() and explicitly transform the value to a
4498 string before setting it as tooltip.
4500 2008-05-30 Tor Lillqvist <tml@novell.com>
4502 * modules/engines/ms-windows/msw_style.h
4503 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4505 2008-05-30 Michael Natterer <mitch@imendio.com>
4507 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4508 GDestroyNotify when using it in g_object_set_data_full().
4510 2008-05-30 Michael Natterer <mitch@imendio.com>
4512 * gdk/gdkapplaunchcontext.h
4513 * gdk/gdktestutils.h
4514 * gtk/gtkmountoperation.h
4516 * gtk/gtktestutils.h
4517 * gtk/gtktoolshell.h: no need to allow disabling single includes
4518 conditionally in these new files. Simply forbid including them
4519 individually from the beginning.
4521 2008-05-30 Tor Lillqvist <tml@novell.com>
4523 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
4525 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
4528 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4530 * configure.in: Bump version
4532 * === Released 2.13.1 ===
4536 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4538 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
4540 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4542 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
4544 2008-05-29 Tor Lillqvist <tml@novell.com>
4546 Bug 535526 - updateiconcache.c: using open/close without prototype
4548 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
4549 g_utime() when available instead of utime() for UTF-8 pathname
4552 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
4554 Bug 56355 – GtkLabel - Not all changes propagate correctly
4556 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
4557 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
4558 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
4559 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
4560 notifications of mnemonic-keyval changes.
4562 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4564 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
4566 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
4567 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
4568 * gtk/gtk.symbols: Additions
4569 * tests/testimage.c: Add a GIcon test
4571 2008-05-29 Michael Natterer <mitch@imendio.org>
4574 * gtk/gtkunixprint.h: add a single-include header for the unix
4577 * gtk/gtkpagesetupunixdialog.h
4580 * gtk/gtkprintunixdialog.h: add single-include guards that #error
4581 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
4582 files is included individually.
4584 * gtk/gtkprintbackend.h
4585 * gtk/gtkprinter-private.h
4586 * modules/printbackends/cups/gtkprintbackendcups.c
4587 * modules/printbackends/cups/gtkprintercups.h
4588 * modules/printbackends/lpr/gtkprintbackendlpr.c
4589 * tests/buildertest.c
4590 * tests/defaultvaluetest.c
4591 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
4594 2008-05-28 Michael Natterer <mitch@imendio.com>
4596 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
4597 excess newlines and sprinkled some newlines where needed. Zero
4598 code or formatting changes included.
4600 2008-05-28 Michael Natterer <mitch@imendio.com>
4602 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
4604 2008-05-28 Michael Natterer <mitch@imendio.com>
4606 * gtk/gtkcolorbutton.h: fix comment: the widget is called
4607 GtkColorButton, not GtkColorSelectButton. Remove trailing
4608 whitespace and excess newlines.
4610 2008-05-28 Michael Natterer <mitch@imendio.com>
4612 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
4613 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
4614 to CPPFLAGS so it's impossible to commit code that would break
4615 apps which use DISABLE_INCLUDE defines.
4617 2008-05-28 Michael Natterer <mitch@imendio.com>
4619 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
4622 * gtk/gtktypebuiltins.h.template
4623 * gtk/gtkversion.h.in
4624 * gtk/gtk*.h: add single-include guards that #error out if
4625 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4626 included individually.
4628 * gtk/gtkprintbackend.h
4629 * gtk/gtkprinter-private.h
4630 * gtk/gtktextlayout.h
4631 * gtk/gtktexttagprivate.h
4632 * gtk/gtktexttypes.h
4633 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
4634 headers in these private or semi-private headers.
4636 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
4638 * gtk/gtkpagesetupunixdialog.h
4641 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
4647 * gtk/gtkitemfactory.h
4650 * gtk/gtkoldeditable.h
4651 * gtk/gtkoptionmenu.h
4655 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
4656 instead of individual headers in these deprecated headers. They
4657 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
4658 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
4659 and include them individually, which should continue to work.
4661 * gtk/gtkclist.c: include "gtkctree.h" because of the change
4664 2008-05-28 Kristian Rietveld <kris@imendio.com>
4666 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
4669 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
4670 cursor_offset *must* be larger than background height of the cursor
4671 node, not just equal otherwise there is no guarantee there is a next
4674 2008-05-28 Michael Natterer <mitch@imendio.com>
4676 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
4678 2008-05-28 Michael Natterer <mitch@imendio.com>
4680 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
4683 * gdk/gdkenumtypes.h.template
4684 * gdk/gdk*.h: add single-include guards that #error out if
4685 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4686 included individually. Also removed some redundant includes and
4687 did some tiny trailing whitespace removal that's not worth to
4690 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
4693 * gdk/win32/gdkwin32.h
4694 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
4697 2008-05-28 Kristian Rietveld <kris@imendio.com>
4699 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
4700 current widget again.
4702 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4703 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4704 custom_was_reset field to check if the custom widget is set again in
4705 the query-tooltip callback; if not, we set it to NULL. Based on a
4706 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4707 and Christian Persch.
4709 2008-05-28 Michael Natterer <mitch@imendio.com>
4711 * modules/printbackends/cups/gtkcupsutils.c
4712 * modules/printbackends/cups/gtkprintbackendcups.c
4713 * modules/printbackends/file/gtkprintbackendfile.c
4714 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4715 <gtk/gtk.h> instead of individual files.
4717 2008-05-28 Michael Natterer <mitch@imendio.com>
4719 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4722 2008-05-28 Kristian Rietveld <kris@imendio.com>
4724 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4726 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4727 ->priv->tree != NULL. Suggestion from Stefan Kost.
4729 2008-05-28 Kristian Rietveld <kris@imendio.com>
4731 Bug 324282 - add selected signal to cell renderer combo.
4733 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4734 (gtk_cell_renderer_combo_changed),
4735 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4736 that will be emitted as soon as the combo box emitted changed and has
4737 an active iterator. (Modified patch based on work by James
4740 * gtk/gtkmarshalers.list: add marshaler.
4742 2008-05-28 Kristian Rietveld <kris@imendio.com>
4744 Refactor expand/collapse timeout handling (amendment to bug 511217).
4746 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4747 (remove_expand_collapse_timeout): new functions, the remove function
4748 also clears expanded_collapsed_node,
4749 (cancel_arrow_animation): moved to be next to the add/remove timeout
4751 (gtk_tree_view_unrealize),
4752 (gtk_tree_view_row_deleted),
4753 (gtk_tree_view_set_model),
4754 (cancel_arrow_animation),
4755 (gtk_tree_view_real_expand_row),
4756 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4758 2008-05-28 Kristian Rietveld <kris@imendio.com>
4760 Amendment of bug 485218 - Strange warning encountered.
4762 * gtk/gtktreemodelsort.[ch]
4763 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4764 indication whether or not the conversion had succeeded.
4766 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4768 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4770 * modules/printbackends/cups/gtkprintbackendcups.c
4771 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4772 if the printer does not support level 3. Patch by Marek Kašík.
4774 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4776 Bug 404571 - Scroll arrow backgrounds should be painted with different
4779 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
4780 as detail when drawing scroll arrow backgrounds. Proposed by
4783 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4785 Bug 511217 - potential memory corruption after refreshing a tree_view
4787 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4788 expanded_collapsed_node when canceling the animation.
4789 Patch by Nicholas Setton.
4791 2008-05-28 Michael Natterer <mitch@imendio.com>
4793 * modules/input/gtkimcontextime.h
4794 * modules/input/gtkimcontextmultipress.h
4795 * modules/input/gtkimcontextthai.h
4796 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4799 * modules/input/gtkimcontextime.c
4800 * modules/input/gtkimcontextmultipress.c
4801 * modules/input/gtkimcontextxim.c
4802 * modules/input/imam-et.c
4803 * modules/input/imcedilla.c
4804 * modules/input/imcyrillic-translit.c
4805 * modules/input/iminuktitut.c
4806 * modules/input/imipa.c
4807 * modules/input/imti-er.c
4808 * modules/input/imti-et.c
4809 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4810 "gtk/gtkintl.h" to the end of includes.
4812 2008-05-28 Michael Natterer <mitch@imendio.com>
4814 * modules/engines/pixbuf/pixbuf-style.h
4815 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4816 instead of individual files.
4818 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4820 Bug 485218 - Strange warning encountered
4822 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4823 (gtk_tree_model_sort_convert_child_iter_to_iter):
4824 (gtk_tree_model_sort_build_level): Better warnings. Patch
4825 by Kristian Rietveld.
4827 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4829 Bug 351910 - Search column setting lost
4831 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4832 the docs. Patch by Matt Barnes.
4834 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4836 Bug 477278 - avoid unnecessary pointer subtraction
4838 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
4839 subtraction that sparse complains about. Patch by Christian
4842 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4844 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4846 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4847 Commit the entry text before doing an increment. Patch by
4850 2008-05-27 Federico Mena Quintero <federico@novell.com>
4852 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4853 drag and drop from the file list into itself, as it doesn't make
4854 sense (it would just change the current folder).
4856 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4857 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4860 2008-05-27 Michael Natterer <mitch@imendio.com>
4862 * gtk/gtksignal.h: move deprecated guards around everything,
4863 including includes and include guards (just as in all other
4866 2008-05-27 Tor Lillqvist <tml@novell.com>
4868 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4869 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4870 <sys/stat.h> on Windows, and the mode used in open() doesn't
4871 matter much as there are no rwxrwxrwx bits on Windows anyway.)
4872 Open file in binary mode. Passing "b" to fdopen() later isn't
4875 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
4877 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4878 invalid or invisible widgets.
4880 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4882 Bug 531008 – Crash in gtkprintunixdialog.c
4884 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4885 the dialog closes. Patch by Yevgen Muntyan.
4887 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4889 RH bug 248245: cups client printing from gnome applications fail
4891 * modules/printbackends/cups/gtkprintbackendcups.c
4892 (gtk_print_backend_cups_print_stream): Specify the right server.
4894 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4896 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4897 rubberbanding when "select-multiple" is TRUE. Bug #446068.
4899 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4901 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4902 correctly dialog buttons sensitivity when the anonymous option is
4903 enabled by default. Bug #531865.
4905 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4907 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4908 password dialog modal and transient for the parent window also if it
4909 was specified in the constructor. Bug #531864.
4911 2008-05-26 Richard Hult <richard@imendio.com>
4913 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4914 setting the default font, might need to tweak this.
4916 2008-05-26 Michael Natterer <mitch@imendio.com>
4918 * examples/gtkdial/gtkdial.h
4919 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4921 2008-05-26 Michael Natterer <mitch@imendio.com>
4923 * gtk/gtkimmodule.h: fix indentation.
4925 2008-05-26 Michael Natterer <mitch@imendio.com>
4927 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4929 * gtk/gtkshow.c: remove inclusion of single files from gdk/
4931 Removed trailing whitespace in both files.
4933 2008-05-26 Richard Hult <richard@imendio.com>
4935 Bug 530353 – Mac-like gtk_accelerator_get_label()
4937 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4938 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4939 On quartz, make gtk_accelerator_get_label() format a Mac-like
4940 string, using unicode characters for modifier keys, arrows, delete
4941 etc. Patch from Yevgen Muntyan.
4943 2008-05-26 Richard Hult <richard@imendio.com>
4945 Bug 534869 – Length miscalculation in
4946 _gtk_quartz_get_selection_data_from_pasteboard
4948 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
4949 Get the number of bytes, not the number of characters, patch from
4952 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4954 * gtk/gtkwidget.c: Some doc formatting fixes.
4956 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4958 Bug 511163 – Remove pango_extents_to_pixels() calls
4960 * gtk/gtkcellrenderertext.c (get_size): Use
4961 pango_layout_get_pixel_extents.
4963 * configure.in: Bump Pango requirement to 1.20
4965 * INSTALL.in: Update required versions
4967 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4969 Bug 513811 – Use cairo_format_stride_for_width()
4971 * gtk/gtkhsv.c (paint_ring, paint_triangle):
4972 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
4973 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
4975 * configure.in: Bump cairo requirement to 1.6.0
4977 * INSTALL.in: Update required versions
4979 2008-05-26 Matthias Clasen <mclasen@redhat.com>
4981 * gtk/gtkshow.[hc]: Formatting fixes
4983 * gtk/gtkmountoperation.c: Add docs
4985 2008-05-25 Cody Russell <bratsche@gnome.org>
4987 Bug 507389 – use gslice for gtksettings
4989 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
4990 Report and patch by Christian Persch.
4992 2008-05-25 Cody Russell <bratsche@gnome.org>
4994 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
4995 when options are missing
4997 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
4998 that other processes that try to open it will fail gracefully. Also
4999 fix a crasher caused by lack of a NULL check. Report and patch
5002 2008-05-25 Cody Russell <bratsche@gnome.org>
5004 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
5006 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
5007 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
5008 so that we also take into account for foreign windows.
5009 Report and patch by Nathaniel Smith.
5011 2008-05-25 Cody Russell <bratsche@gnome.org>
5013 Bug 525461 - Don't invalidate under an input-only child
5015 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
5016 Check that the window is not input-only before invalidating.
5017 Report and patch by Owen Taylor.
5019 2008-05-25 Cody Russell <bratsche@gnome.org>
5021 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
5022 window frame extents
5024 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
5025 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
5027 2008-05-25 Cody Russell <bratsche@gnome.org>
5029 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
5030 caused by missing flag initialization
5032 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
5033 top-level private flags correctly. Patch by Danny Baumann.
5035 2008-05-25 Cody Russell <bratsche@gnome.org>
5037 Bug 534463 - non-editable GtkTextView should not call
5038 gtk_im_context_focus_in in focus event
5040 * gtk/gtktextview.c: Add checks to see if the textview is
5041 editable. Patch by Wang Diancheng.
5043 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5045 Bug 501730 – use GSlice for small allocs
5047 * gtk/gtkmenuitem.c:
5048 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
5049 Patch by Christian Persch.
5051 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5053 Bug 523930 – sort -> search in gtktreeview.c
5055 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
5056 glitch, pointed out by Björn Lindqvist.
5058 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5060 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
5062 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
5063 doc glitch, pointed out by Christian Persch.
5065 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5067 Bug 534694 – Col id in GtkListStore could be out of range
5069 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
5070 a bit. Pointed out by Jan Arne Petersen.
5072 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5074 Bug 532497 – Configure problem when cross-compiling
5076 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
5077 pointed out by Marko Lindqvist.
5079 2008-05-25 Richard Hult <richard@imendio.com>
5081 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
5082 Slight coding style cleanup.
5084 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
5086 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
5087 Added support for parsing required toolkit versions (so that ui descriptions
5088 can target specific versions of the backend widget libraries) bug 527612.
5090 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5091 for the added xml tags to the ui description.
5093 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
5094 for requires tag handling.
5096 2008-05-25 Richard Hult <richard@imendio.com>
5098 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
5099 gtk_drag_source_info_destroy in an idle, workaround for bug
5100 #501588, that makes any code that uses the context returned from
5101 gtk_drag_begin() crash, like treeview/iconview dnd.
5102 (GdkDragSourceOwner::provideDataForType): only use the data if we
5105 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5107 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
5108 to the drag actions to allow trash (#137717).
5110 2008-05-25 Josselin Mouette <joss@malsain.org>
5112 reviewed by: Matthias Clasen
5114 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
5115 check that tracker is actually working before using it. Fixes
5118 2008-05-25 Sven Neumann <sven@gimp.org>
5120 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
5121 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
5122 and don't create an output window if it is set.
5124 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
5125 drawing areas. Fixes bug #519317.
5127 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5129 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
5130 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
5132 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
5133 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
5134 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
5135 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
5136 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
5137 (start_spinning), (gtk_spin_button_button_release),
5138 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
5139 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
5140 (gtk_spin_button_update): Reorder strange window hierarchy of the
5141 GtkSpinButton (#466000).
5143 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5145 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
5146 fix the wrong position for right and center justified labels with
5147 logical.x > 0 (#530255).
5149 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5151 * gtk/gtkfilechooserdefault.c:
5152 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
5155 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
5157 * tests/pixbuf-lowmem.c
5158 * tests/pixbuf-random.c
5159 * tests/pixbuf-randomly-modified.c
5160 * tests/pixbuf-read.c
5161 * tests/pixbuf-threads.c
5163 * tests/testtreeview.c: Fix remaining compiler warnings in these
5166 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
5168 reviewed by: Matthias Clasen
5173 * gtk/gtkshow.c: (gtk_show_uri):
5175 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
5177 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5179 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
5181 * tests/buildertest.c: (test_list_store): Add test.
5183 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5185 Bug 520989 – icon factory buildable too strict
5187 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
5188 an optional attribute.
5190 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5192 Bug 387972 – gtkassistant drawing problem
5194 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
5195 GtkAssistant work better in glade.
5197 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5199 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
5200 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
5201 used in GtkToolItem) (#532787).
5203 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5205 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
5206 try to toggle the visibility of the location entry field in search and
5207 recent mode (#526422).
5209 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5211 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
5212 (shortcuts_list_create): Show parse name as tooltip for path
5213 shortcuts (#137503).
5215 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
5217 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
5218 pango_color_parse, do not reference XParseColor forms (#434991).
5220 2008-05-24 James Sharpe <jsharpe@gnome.org>
5222 * gdk/gdk.symbols: Remove duplicate
5223 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
5224 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
5226 2008-05-23 Hans Breuer <hans@breuer.org>
5228 * **/makefile.msc gtk/makefile.msc.in : updated
5229 * gtk/gtkwidget.c : fix c99ism (variable at start of block
5230 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
5232 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
5233 setlocale(LC_ALL, ...)
5235 2008-05-23 Tor Lillqvist <tml@novell.com>
5237 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
5238 gdk_window_remove_redirection.
5240 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5241 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5242 changes. Remove now unnecessary parameter checks as the caller
5245 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5247 2008-05-23 Tor Lillqvist <tml@novell.com>
5249 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5250 anything if style doesn't change. Improve debugging output.
5252 2008-05-23 Michael Natterer <mitch@gimp.org>
5255 * tests/print-editor.c
5256 * tests/prop-editor.h
5257 * tests/testmountoperation.c
5258 * tests/testmultidisplay.c
5259 * tests/testnouiprint.c
5261 * tests/testprintfileoperation.h
5262 * tests/testtreesort.c
5263 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5264 files. Remove some redundant includes.
5266 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
5268 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5269 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5271 2008-05-21 Richard Hult <richard@imendio.com>
5273 * gdk/quartz/gdkwindow-quartz.c:
5274 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5275 offscreen rendering changes, fixes build.
5277 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
5279 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5281 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5282 return snapshot pixmap coordinates widget relative in *clip_rect.
5284 * tests/testgtk.c: fixed bogus NULL pointer unref.
5286 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
5288 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5289 widget's allocation to cover extra widget windows placed outside the
5290 widget allocation (spinbutton arrows are the prime example for this).
5292 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
5294 * Applied pixmap redirection patch by Alexander Larsson with
5295 various updates from:
5296 Bug 318807 – Offscreen windows and window redirection.
5301 * updated docs to mention "Since 2.16".
5303 * tests/testgtk.c: fixed snapshooting pixmap leak.
5304 convert pixmap to pixbuf after snapshooting, to compensate for different
5305 bit depths (occurs when snapshooting ARGB visuals and displaying the
5306 pixmap in an RGB visual).
5308 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5310 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5311 need for it. enqueue damage notification as GDK_DAMAGE events
5312 for each painting redirection at the start of the event queue.
5313 consider windows with a redirection fully visible when invalidating,
5314 and when updating from backing store. cleaned up stale variables.
5316 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5318 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5319 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5320 tree, drawingarea, text, handlebox, etc.
5321 clip the redirected window hierarchy to window sizes, the visible
5322 rectangles don't need to be taken into account here.
5323 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5324 in case pixmap visuals could mismatch.
5326 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5331 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5332 of possibly obscured widgets into an offscreen pixmap.
5334 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5335 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5337 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5339 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5340 implementations here, adapted them to propagate redirects to child windows.
5341 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5342 clipped to visible region. queue GDK_DAMAGE event delivery.
5343 gdk_window_redirect_to_drawable(): install window painting redirection.
5344 gdk_window_remove_redirection(): remove previously installed redirection.
5346 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5347 renamed _gdk_window_new() and _gdk_window_reparent().
5349 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5350 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5352 * gdk/gdkevents.h: added GDK_DAMAGE event type.
5354 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5356 * gdk/gdkinternals.h: added internal prototypes.
5358 2008-05-21 Michael Natterer <mitch@imendio.com>
5360 * gtk/gtkalignment.c
5364 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5366 2008-05-20 Matthias Clasen <mclasen@redhat.com>
5368 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5371 Patch by Marek Kasik.
5374 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5376 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5378 * modules/printbackends/file/gtkprintbackendfile.c:
5379 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5380 get_default_page_size.
5382 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5383 select its default paper size.
5385 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5386 use the printer default.
5388 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5389 if we don't have a default page setup.
5391 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
5393 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5394 can accept NULL for none. Fixes bug #533920.
5396 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
5398 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5399 gtk_spin_button_update): Remove two chunks of duplicated
5402 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
5404 * reverted recent unapproved changes by Yair Hershkovitz,
5405 regarding: Bug 503071 – Application direction changes to right
5406 to left even if theres no translation.
5408 2008-05-19 Richard Hult <richard@imendio.com>
5410 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5411 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5412 SetSystemUIMode instead of hiding and showing the menubar.
5414 2008-05-19 Federico Mena Quintero <federico@novell.com>
5416 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5417 can't be resized until you expand the "Browse for other folders"
5420 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5421 Removed the "get_resizable" method.
5422 (_gtk_file_chooser_embed_get_resizable): Removed.
5424 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5426 * gtk/gtkfilechooserdefault.c: Likewise.
5428 * gtk/gtkfilechooserdialog.c
5429 (file_chooser_widget_default_size_changed): Act as if the dialog
5430 were always resizable.
5432 2008-05-19 Michael Natterer <mitch@imendio.com>
5434 * gtk/gtkcellrenderer.c
5435 * gtk/gtkcellrendererpixbuf.c
5436 * gtk/gtkcellrenderertoggle.c
5437 * gtk/gtkimagemenuitem.c
5438 * gtk/gtkmenutoolbutton.c
5439 * gtk/gtkoptionmenu.c
5440 * gtk/gtkstatusbar.c
5441 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5443 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
5445 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5446 g_disable_setlocale().
5448 2008-05-17 Richard Hult <richard@imendio.com>
5450 * gdk/quartz/gdkwindow-quartz.c:
5451 (gdk_window_impl_quartz_invalidate_maybe_recurse):
5452 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5453 of g_idle_add. Add a temporary check if the window is already in
5454 the updates list, since update_area currently doesn't always match
5455 the backend's state, see bug #530801.
5457 2008-05-13 Tor Lillqvist <tml@novell.com>
5459 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5461 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5462 the "packet rate" of devices to zero instead of 50. This is
5463 reported to help significantly with Wacom tablet behaviour in GIMP
5464 and Inkscape. Patch from Thomas Bleeker.
5466 2008-05-12 Richard Hult <richard@imendio.com>
5468 * gdk/quartz/gdkevents-quartz.c:
5469 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5470 as it's no longer necessary; instead the added quartz API to get
5471 the nsevent from an event should be used. Also move the global
5472 filter up so it's done before the check for window-less events.
5474 2008-05-12 Tor Lillqvist <tml@novell.com>
5476 Bug 532558 - Cannot build dll when using separate builddir
5479 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5482 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
5484 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5486 2008-05-12 Tor Lillqvist <tml@novell.com>
5488 Bug 532059 - Leak in win32 clipboard manipulation
5490 * gdk/win32/gdkselection-win32.c
5491 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5494 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
5496 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5497 gettext_initialization only once.
5499 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5500 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
5501 with the extended functionality that was in the removed dpgettext().
5503 * gtk/gtkaccellabelc:
5505 * gtk/gtkimmulticontext.c:
5506 * gtk/gtkactiongroup.c:
5507 * gtk/gtkintl.h: use glib i18n api.
5509 2008-05-08 Richard Hult <richard@imendio.com>
5511 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
5512 currently invalidated region. Fixes bug #532048, patch by Yevgen
5515 2008-05-08 Richard Hult <richard@imendio.com>
5517 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
5518 fd's revents, not the first one. Fixes bug #531056, spotted by
5521 2008-05-07 Tor Lillqvist <tml@novell.com>
5523 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
5526 2008-05-05 Matthias Clasen <mclasen@redhat.com>
5528 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
5529 more printer status information in the print dialog.
5531 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
5532 printer-state-reasons into suitable messages and icons.
5534 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
5535 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
5536 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
5538 * gtk/gtkiconfactory.c:
5539 * gtk/gtkstock.h: New stock icons to display printer state.
5541 2008-05-07 Michael Natterer <mitch@imendio.com>
5543 * gdk/gdkinternals.h
5545 * gdk/directfb/gdkevents-directfb.c
5546 * gdk/quartz/gdkevents-quartz.c
5547 * gdk/win32/gdkevents-win32.c
5548 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
5549 order parameters src,dest and make src const.
5551 2008-05-06 Richard Hult <richard@imendio.com>
5553 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
5554 * gdk/gdkinternals.h: Add private backend data to events, and
5555 handle it when copying/freeing events. Currently only needed in
5558 * gdk/directfb/gdkevents-directfb.c:
5559 * gdk/quartz/gdkevents-quartz.c:
5560 * gdk/win32/gdkevents-win32.c:
5561 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
5562 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
5563 directfb. Implement for quartz. Part of fixing bug #473822.
5565 2008-05-05 Richard Hult <richard@imendio.com>
5567 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
5568 framework if there is one.
5570 2008-05-05 Michael Natterer <mitch@imendio.com>
5572 * gtk/gtkcellrenderercombo.h
5573 * gtk/gtkcellrendererspin.h
5574 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
5577 * gtk/gtkfilechooserdialog.h
5578 * gtk/gtkfilechooserwidget.h
5579 * gtk/gtkscalebutton.h: reorder instance and class structs to be
5582 2008-05-04 Richard Hult <richard@imendio.com>
5584 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
5585 gdk_unicode_to_keyval() worked before using the result. Makes
5586 function keys work, bug #530156. Also add F16 to the function key
5589 2008-05-04 Richard Hult <richard@imendio.com>
5591 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
5592 semicolon after if statement. Fixes bug #530963, patch from Yevgen
5595 2008-05-02 Michael Natterer <mitch@imendio.com>
5597 * gtk/gtk.h: add 15 files that were missing (they all got included
5598 indirectly by including gtk.h, so should have been here in the
5601 2008-05-02 Michael Natterer <mitch@imendio.com>
5603 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
5605 2008-05-01 Richard Hult <richard@imendio.com>
5607 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
5608 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
5610 2008-05-01 Matthias Clasen <mclasen@redhat.com>
5612 * modules/imput/imthai.c: Register the right translation domain.
5614 2008-04-30 Matthias Clasen <mclasen@redhat.com>
5616 Bug 529386 – Printing options hidden by blacklisted option
5618 * modules/printbackend/cups/gtkprintbackendcups.c
5619 (cups_printer_get_options): Fix the blacklist handling.
5620 Patch by Marek Kašík.
5622 2008-04-30 Richard Hult <richard@imendio.com>
5624 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
5627 2008-04-30 Richard Hult <richard@imendio.com>
5629 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
5630 nsevents with the gdk lock held, fixes deadlock when doing manual
5631 window resizing with threading enabled.
5633 2008-04-30 Richard Hult <richard@imendio.com>
5635 * gdk/quartz/gdkevents-quartz.c:
5636 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
5637 Alt to Alt and Cmd to Meta. This is not only more logical but also
5638 makes it easier to have Mac-like behavior.
5640 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
5642 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
5643 painting the flat box instead of recalculating it. (#437493,
5646 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
5648 Bug 529841 – incorrect position in directfb
5650 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
5652 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
5654 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
5656 2008-04-25 Michael Natterer <mitch@imendio.com>
5658 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
5659 <pango/pango-layout.h>.
5661 * gtk/gtkiconfactory.c
5665 * gtk/queryimmodules.c: remove inclusion of single files from
5666 pango, none of them was actually needed.
5668 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
5669 <pango/pango-utils.h>.
5671 2008-04-25 Michael Natterer <mitch@imendio.com>
5673 * gdk/gdkfont.h: include <pango/pango.h> instead of
5674 <pango/pango-font.h>.
5676 2008-04-25 Michael Natterer <mitch@imendio.com>
5678 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
5681 2008-04-21 Michael Natterer <mitch@imendio.com>
5683 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
5684 crashing when NULL pointers get passed.
5686 2008-04-18 Michael Natterer <mitch@imendio.com>
5688 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
5689 here have the same style.
5691 2008-04-18 Michael Natterer <mitch@imendio.com>
5693 * gtk/gtkicontheme.h
5694 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
5697 * gtk/gtkbuilderparser.c
5698 * gtk/gtklinkbutton.c
5700 * gtk/gtkrecentchooserdefault.c
5701 * gtk/gtkrecentchoosermenu.c
5702 * modules/input/gtkimcontextthai.c: remove inclusion of single
5703 files from gdk, none of the includes was actually needed.
5705 2008-04-18 Michael Natterer <mitch@imendio.com>
5707 * gdk/gdk.h: reorder one include so they are all alphabetical.
5709 2008-04-18 Michael Natterer <mitch@imendio.com>
5711 * modules/printbackends/cups/gtkprintercups.[ch]
5712 (gtk_printer_cups_get_ppd_name): change return value and local
5713 variable to const gchar* to fix warning about discarding const
5716 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5718 * gtk/gtkrecentmanager.c:
5719 (gtk_recent_manager_set_filename): Keep the default storage
5720 file in $HOME, as we don't have a migration code in place yet.
5722 2008-04-18 Michael Natterer <mitch@imendio.com>
5724 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5725 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5727 2008-04-17 Michael Natterer <mitch@imendio.com>
5729 * gtk/gtkiconfactory.c (get_default_icons): register the
5730 GTK_STOCK_PAGE_SETUP icon.
5732 2008-04-17 Michael Natterer <mitch@imendio.com>
5734 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5735 g_return_if_fail(tooltips != NULL);
5737 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5739 * gtk/gtkwindow.c: Chain up in buildable_finish()
5741 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5742 cases where g_path_get_dirname() returns "."
5744 * docs/reference/gtk/tmpl/gtklabel.sgml,
5745 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5746 for the <attributes> tags on GtkLabel
5748 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5750 * gtk/gtkrecentmanager.c:
5751 (gtk_recent_manager_real_changed): Fix last commit, and
5752 complete the gtk-recent-files-max-age semantics: if the
5753 property is set to 0 then purge the list.
5755 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5757 Bug 488507 – boundless growth of .recently-used.xbel file
5758 slows down applications
5760 * gtk/gtkrecentmanager.c:
5761 (gtk_recent_manager_init),
5762 (gtk_recent_manager_real_changed),
5763 (gtk_recent_manager_set_filename),
5764 (gtk_recent_manager_clamp_to_age): Clamp the recently
5765 used resources list by the age of its items, using
5766 the newly added GtkSettings property.
5768 * gtk/gtksettings.c (gtk_settings_class_init): Add the
5769 gtk-recent-files-max-age property, controlling the
5770 maximum age of the items in the recently used resources
5773 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5775 * gtk/gtkrecentmanager.c:
5776 (gtk_recent_manager_add_item_query_info),
5777 (gtk_recent_manager_add_item): Emit the ::changed signal
5778 at the end of the asynchronous MIME type query.
5780 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5782 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5785 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5786 changes in the recently used resources storage file, and
5787 drop the timeout-based poll.
5789 * ChangeLog: Fix attribution of the patch of the previous
5792 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5794 Bug 506062 – gtk_recent_manager_add_item does not detect mime
5797 * configure.in: Depend on gio-2.0
5799 * gtk/gtkrecentmanager.c:
5800 (gtk_recent_manager_add_item_query_info_cb),
5801 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5802 query the MIME type of the passed URI (based on a patch by
5805 2008-04-11 Carlos Garnacho <carlos@imendio.com>
5807 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5808 page to visited page list instead of next current page. (#527466,
5809 patch by Marcus Brinkmann)
5811 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
5813 * gtk/gtklabel.c: Added <attributes> / <attribute>
5814 custom tags to parse pango attributes into labels (#527486).
5816 * tests/buildertest.c: Added tests for GtkLabel custom
5819 2008-04-10 Carlos Garnacho <carlos@imendio.com>
5821 * gtk/gtknotebook.c (hide_drag_window): Do not call
5822 gtk_widget_set_parent_window(), using widget->window instead of NULL
5823 to unset is the wrong thing, and gtk_widget_unparent() will already
5824 take care of this (#467698, patch by Sébastien Granjoux)
5826 2008-04-08 Tor Lillqvist <tml@novell.com>
5828 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5829 these functions with G_MODULE_EXPORT.
5831 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
5833 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5834 (gtk_file_system_volume_render_icon):
5835 Fix fallback icon rendering size
5837 2008-04-08 Michael Natterer <mitch@imendio.com>
5839 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5840 touchscreen-mode keynav corner case: when navigating to the parent
5841 menu, make sure we don't close two menus at the same time in case
5842 the deepest open menu has no selectable items.
5844 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
5846 * gtk/gtkwidget.c: Clarified a g_warning message regarding
5847 parsing accelerators from builder files.
5849 2008-04-03 Cody Russell <bratsche@gnome.org>
5851 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5852 of the block. (#526021, reported by Kazuki IWAMOTO)
5854 2008-04-03 Tor Lillqvist <tml@novell.com>
5856 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5859 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5860 workaround for a specific kind of screwed up locale setting.
5862 2008-04-02 Matthias Clasen <mclasen@redhat.com>
5864 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5865 colormaps. Found by Daniel Berrange.
5867 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
5869 * tests/autotestfilechooser.c: Cover
5870 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5871 name. (#346058, Joe Halliwell)
5873 2008-04-02 Federico Mena Quintero <federico@novell.com>
5875 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5876 chooser incorrectly substitutes and expands a ~ when you type it
5877 in the filename entry.
5879 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5880 basenames result in a slash-terminated pathname.
5881 gtk_file_system_unix_parse() is correct, but it was splitting
5882 "/home/username" into path="/home" and file_part="username", which
5883 is not what the caller wants when the entry has just "~" or
5886 2008-04-02 Tor Lillqvist <tml@novell.com>
5888 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5889 and gtksearchenginetracker.c on Windows.
5891 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5894 2008-04-01 Cody Russell <bratsche@gnome.org>
5896 * configure.in: Bump required Cairo to 1.5.2.
5898 * gtk/gtkprintoperation-win32.c: Add support for using the new
5899 cairo_win32_printing_surface for printing. Also fixed to use
5900 cairo_surface_show_page(). (#488833 and #521178)
5902 2008-03-31 Cody Russell <bratsche@gnome.org>
5904 * demos/gtk-demo/printing.c (draw_page): Move down each line in
5905 units of text_height rather than in units of data->font_size.
5906 (totally awesome catch by Dom Lachowicz)
5908 2008-03-28 Richard Hult <richard@imendio.com>
5910 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5911 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5912 event to the mainloop and don't generate one at all if the
5913 toplevel didn't change. Use the actual window and not the toplevel
5914 as event window. These changes make the generated crossing events
5915 match the X11 behavior and fixes issues with e.g. tooltips,
5916 comboboxes and menus.
5918 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5919 the view has no window, it will be updated as soon as it's put
5922 * gdk/quartz/gdkwindow-quartz.c:
5923 (_gdk_quartz_window_debug_highlight): Make it possible to track
5924 multiple windows with debug highlighting.
5925 (show_window_internal): Remove workaround for tooltips and popups
5926 that is no longer needed with the above changes.
5928 2008-03-26 Federico Mena Quintero <federico@novell.com>
5930 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5931 helper function; factored out from the functions that commit the
5932 current suggested autocompletion and that refresh the entry's paths.
5933 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5934 (_gtk_file_chooser_entry_get_file_part): Likewise.
5935 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
5936 makes the entry have the correct paths when *not* using any form
5937 of completion (and makes the file chooser work when clicking the
5940 2008-03-25 Richard Hult <richard@imendio.com>
5942 * gdk/quartz/gdkevents-quartz.c:
5943 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
5944 can't find a matching window.
5946 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
5947 comment, and only trigger an event for non-temp windows, fixes
5948 problems for tooltips caused by the workarounds for the
5949 problematic tracking rect API.
5951 2008-03-25 Richard Hult <richard@imendio.com>
5953 * gdk/quartz/gdkwindow-quartz.c:
5954 (gdk_window_quartz_process_all_updates): Plug a leak and add a
5955 check that we have a toplevel before accessing it.
5957 2008-03-24 Tor Lillqvist <tml@novell.com>
5959 Bug 524151 - Dragging of 0-byte files results in an empty filename
5960 on Windows XP and above
5962 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
5963 being empty first. For some reason ISHellLink and IPersistFile
5964 succeeds in interpreting empty files as shortcuts, claiming the
5965 target of the shortcut is an empty path.
5967 Change the function to take the wide character file name that the
5968 caller already has anyway, to avoid a superfluous conversion from
5971 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
5973 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
5974 against NULL pointer. (#467051, Gian Mario Tagliaretti)
5976 2008-03-23 Cody Russell <bratsche@gnome.org>
5978 * gdk/win32/gdkevents-win32.c (show_window_recurse):
5979 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
5980 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
5981 menus from a maximized window would force the window to restore
5984 2008-03-23 Johan Dahlin <johan@gnome.org>
5986 * gtk/gtk-builder-convert:
5987 Properly convert GtkImageMenuItems which use stock labels but don't
5989 (#523932, Brian Pepple)
5991 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
5993 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
5994 New function implements GtkCellLayoutClass::get_cells. (#523787)
5996 2008-03-22 Tor Lillqvist <tml@novell.com>
5998 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
6000 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
6001 GDK_THREADS_LEAVE() call. Approved by mclasen.
6003 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
6005 * gtk/gtkexpander.c (gtk_expander_get_label):
6006 gtk_label_get_label() should be used instead of
6007 gtk_label_get_text(). (#353088, Xan Lopez)
6009 2008-03-21 Tor Lillqvist <tml@novell.com>
6011 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
6012 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
6013 gdip-pixbuf-loader module.
6015 * configure.in: Add switch --disable-gdiplus-loaders that disables
6016 building of the GDI+ loaders.
6018 When including loaders in the gdk-pixbuf library, and building
6019 GDI+ loaders, either build in all the GDI+ loaders or none of
6020 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
6021 signal building them in.
6023 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
6024 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
6025 indicate whether they should be built-in.
6027 For the rest of the changes, see gdk-pixbuf/ChangeLog.
6029 2008-03-20 Tor Lillqvist <tml@novell.com>
6031 * gtk/Makefile.am: Revert accidental change that went in as part
6032 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
6033 Darwin. On Windows one has to use a newer GNU grep that has -o,
6034 for instance the one from gnuwin32, instead of the oldish one in
6035 MSYS that doesn't have -o.
6037 2008-03-20 Tor Lillqvist <tml@novell.com>
6039 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
6040 pass NULL for %s to g_message().
6041 (main): Drop unnecessary call to gtk_widget_destroy().
6043 2008-03-20 Tor Lillqvist <tml@novell.com>
6045 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
6047 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6048 in one dimension, or centered in case it doesn't fit.
6049 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
6052 2008-03-18 Tor Lillqvist <tml@novell.com>
6054 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
6056 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
6057 G_MODULE_ENTRY decoration can be put in a more correct place.
6059 2008-03-18 Sven Neumann <sven@gimp.org>
6061 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
6062 alternative button order on the password dialog.
6064 2008-03-18 Tor Lillqvist <tml@novell.com>
6066 Bug 99192 - Add --with-include-input-modules
6068 * configure.in: Add --with-included-immodules switch. Handled in a
6069 similar way as the --with-included-loaders switch. For each input
6070 method module foo: Collect the list of input modules to be built
6071 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
6072 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
6073 Define Automake conditionals INCLUDE_IM_FOO.
6075 * modules/input/Makefile.am: For modules to be included in libgtk,
6076 build a static library.
6078 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
6079 gdk-pixbuf to get unique names for the functions called by libgtk
6080 in the included case. Use G_MODULE_EXPORT in the non-included case
6081 so that we don't unnecessarily export unneeded random global
6084 * gtk/Makefile.am: Build the included modules and link them into libgtk.
6086 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
6087 copy/paste leftover mentions of "themes" in comments.
6089 2008-03-18 Tor Lillqvist <tml@novell.com>
6091 * tests/Makefile.am: Build testmountoperation only on Unix for now.
6093 2008-03-17 Christian Kellner <gicmo@gnome.org>
6095 Implement GtkMountOperation, a subclass of GMountOperation
6096 to be used with gio wherever there is the need to ask the
6097 user for credentials or questions while mounting a volume.
6100 * gtk/gtkmountoperation.c:
6101 * gtk/gtkmountoperation.h:
6102 Implement GtkMountOperation.
6104 * gtk/gtk.h: Add gtkmountoperation.h
6105 * gtk/Makefile.am: Add gtkmountoperation.[hc]
6106 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
6107 * tests/testmountoperation.c: Test program for it.
6108 * tests/Makefile.am: Add testmountoperation.
6110 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
6112 * gtk/gtkcontainer.c: Properly document
6113 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
6115 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6117 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
6118 style names for the ComboBox thickness style
6120 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6122 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
6123 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
6124 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
6125 intelligent separation for the xp theming engine and the classic
6126 theme while drawing the GtkComboBox button. combobox_draw_arrow
6127 is not used anymore, commented. The style has been updated to fix
6128 border/thickness glitches in the combobox according to the fixes
6129 commited regarding bug #521442. (bug #461805)
6131 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6133 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
6134 now aware of both the combobox and frame (if has-frame is set)
6135 thickness and border. (bug #521442)
6137 2008-03-15 Andre Klapper <a9016009@gmx.de>
6139 * configure.in: Added "si" to ALL_LINGUAS.
6141 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6143 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
6144 Set window type hint on the search popup. (#522279, Danny Baumann)
6146 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6148 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
6149 appropriate. (#521934, Huang Peng)
6151 2008-03-14 Michael Natterer <mitch@imendio.com>
6154 * gtk/gtkbuilderprivate.h
6155 * gtk/gtkfilechoosersettings.c
6156 * gtk/gtksearchenginesimple.c
6157 * gtk/tests/liststore.c
6158 * gtk/tests/treestore.c: remove single-file includes of GLib
6159 headers or replace them by <glib.h> where needed.
6161 2008-03-14 Michael Natterer <mitch@imendio.com>
6163 * gtk/gtkadjustment.c: coding style cleanup.
6165 (gtk_adjustment_set_property): no need to call g_object_notify()
6166 on the set properties.
6168 Implement GObject::dispatch_properties_changed() and make sure we
6169 emit "changed" when anything but the "value" property changes.
6171 2008-03-14 Tor Lillqvist <tml@novell.com>
6173 * gdk/win32/gdkevents-win32.c: Drop the support for the
6174 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
6175 Win95. Thanks to mitch for noticing this obsolete code.
6177 2008-03-14 Cody Russell <bratsche@gnome.org>
6179 * examples/scribble-xinput/scribble-xinput.c: Changed
6180 'void int main()' to 'int main()'. (#522211, Liqing Huang)
6182 2008-03-14 Richard Hult <richard@imendio.com>
6184 * gdk/quartz/gdkwindow-quartz.c:
6185 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
6186 only flush the toplevel once per update.
6188 2008-03-13 Federico Mena Quintero <federico@novell.com>
6190 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
6191 Set the mouse cursor of the feedback window to invisible, so that
6192 we respect GtkEntry's invisible cursor while typing.
6194 2008-03-13 Federico Mena Quintero <federico@novell.com>
6196 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
6197 the feedback window at entry_height/2 pixels to the right of the
6198 cursor, for a cheap "M-width / 2" spacing.
6200 2008-03-13 Sven Neumann <sven@gimp.org>
6202 * gtk/gtkfilechooserdefault.c
6203 * gtk/gtkprintunixdialog.c: set alternative button order for
6204 overwrite confirmation dialogs (bug #522191).
6206 2008-03-13 Sven Neumann <sven@gimp.org>
6208 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
6209 (overwrite_confirmation_dialog): added some line-breaks for
6212 2008-03-12 Federico Mena Quintero <federico@novell.com>
6214 Rework the way completion works in GtkFileChooserEntry. Fixes
6215 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
6216 Tab completion should work even if the cursor is not at the end of
6219 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
6222 We distinguish between two cases:
6224 - autocompletion - happens only in the Open modes by
6225 inserting and selecting the common prefix as you type.
6227 - explicit completion - happens when you hit Tab.
6229 When some type of completion needs to happen, the entry first
6230 parses its input and sees if it needs to initiate a folder load.
6231 Completion will not happen until the folder finishes loading.
6233 If the folder is already completely loaded, then completion is
6234 performed immediately. Otherwise, the entry queues a pending
6235 completion and starts loading the new folder (or waits until the
6236 current folder is completely loaded).
6238 Tab completion is allowed to happen even if the cursor is not at
6239 the end of the entry.
6241 There is a new feedback mechanism for explicit completion, so that
6242 you will get an Emacs-like tip whenever there are ambiguities in
6243 completion, no matches, etc. (This needs to be polished so that
6244 we support RTL entries and all the fancy Pango layout in GtkEntry).
6246 The only remaining thing to fix is the popup suggestion window.
6247 Unfortunately, GtkEntryCompletion does not let us do what we want,
6248 and will need further changes.
6250 2008-03-12 Tor Lillqvist <tml@novell.com>
6252 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6254 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6255 for the TaskbarCreated message in the window procedure for the
6256 dummy "tray observer" window we create. When we get a
6257 TaskbarCreated message, iterate over the status icons and re-add
6258 them to the task bar, and update them by calling
6259 gtk_status_icon_update_image().
6261 Move some ifdefs around to avoid unused functions.
6263 2008-03-12 Tor Lillqvist <tml@novell.com>
6265 * config.h.win32.in: Update to match what configure produces.
6267 2008-03-12 Jens Granseuer <jensgr@gmx.net>
6269 * modules/printbackends/cups/gtkprintbackendcups.c:
6270 (cups_printer_prepare_for_print): Don't define variables in the
6271 middle of a block. (#522067)
6273 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6275 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
6276 dialog for print-to-file. (#474302, Marek Kašík)
6278 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6280 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6281 (#469210, Wouter Bolsterlee)
6283 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6285 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
6286 paper_size here. (#488820, Morten Welinder)
6288 2008-03-12 Michael Natterer <mitch@imendio.com>
6290 * acconfig.h: remove this deprecated file.
6292 * configure.in: added comments to all instances of AC_DEFINE() so
6293 config.h can be completely generated from configure.in.
6295 2008-03-12 Michael Natterer <mitch@imendio.com>
6297 * modules/printbackends/cups/gtkprintbackendcups.c: include
6298 <glib/gstdio.h> for g_fopen().
6300 2008-03-11 Matthias Clasen <mclasen@redhat.com>
6302 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6303 g_ascii_formatd when formatting custom paper sizes, since
6304 cups doesn't handle , as decimal separator. (#521548)
6306 2008-03-11 Tor Lillqvist <tml@novell.com>
6308 Bug 469868 - Filenames with colon ":" are not saved correctly
6310 * gtk/gtkfilechooserentry.c (insert_text_callback)
6311 (delete_text_callback) [Win32]: New functions to make sure that
6312 colons used otherwise than as a separator after a drive letter, or
6313 characters that are always illegal in file names, are rejected on
6314 input. This means that the GTK+ file chooser can't be used to
6315 input full names of alternate data streams, but oh well. There are
6316 still more checks that could be done on the file names, see the
6317 bug report. But this will do for now.
6318 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6320 2008-03-11 Jordi Mallach <jordi@sindominio.net>
6322 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6324 2008-03-11 Michael Natterer <mitch@imendio.com>
6326 * gdk/linux-fb/*: removed linux-fb backend files.
6330 * docs/README.linux-fb
6331 * gtk/Makefile.am: remove remaining traces of linux-fb.
6333 * gtk/gtkwindow-decorate.c: same here. There is some code that
6334 calls into linux-fb to set window move/resize callbacks. I put it
6335 in #if 0 as a reminder because we did use decorated windows with
6336 the DirectFB backend and it did work, so I don't really know why
6337 this code is needed or how it could work with DirectFB back then.
6338 The file does actually compile now if DECORATE_WINDOWS is defined,
6339 but I didn't test with DirectFB to check if it does anything.
6341 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
6343 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6344 Take thickness into account in the size allocation of the child widgets in
6348 2008-03-11 Richard Hult <richard@imendio.com>
6350 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6352 2008-03-10 Tor Lillqvist <tml@novell.com>
6354 * tests/teststatusicon.c (do_exit, popup_menu): Add the
6355 possibility to test what happens if the process just calls exit()
6356 without any orderly cleanup of GTK+.
6358 2008-03-10 Tor Lillqvist <tml@novell.com>
6360 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6362 2008-03-10 Tor Lillqvist <tml@novell.com>
6364 Bug 520286 - Non-deletable window has no minimize / maximize buttons
6366 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6367 New debugging output function that decodes a set of WS_* bits.
6369 * gdk/win32/gdkprivate-win32.h: Declare it.
6371 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6372 New function that enables or disables one menu entry in the system
6373 menu of a top-level window. (The corresponding decoration will
6374 then also be enabled or disabled (grayed).)
6376 (update_style_bits): Do as the comment says and don't try to
6377 update the window style based on the GdkWMFunctions set for the
6380 (update_system_menu): New function that enables or disables the
6381 system menu entries based on a window's stored set of
6384 (gdk_window_set_functions): Call update_system_menu() instead of
6385 update_style_bits().
6387 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
6389 * README.in: Reword the 2.14 release notes entry about the
6390 deprecation of the gtkitemfactory.h header, and fix typos
6393 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
6395 * modules/engines/ms-windows/msw_style.c (draw_shadow):
6396 Do not draw frame if parent if combobox.
6398 Uses scrollbar width system metrics for combobox button.
6399 Fixes #461805 for XP theme engine.
6401 2008-03-07 Johan Dahlin <johan@gnome.org>
6404 * gtk/gtkbuilderparser.c:
6405 * gtk/gtkbuilderprivate.h:
6406 * gtk/gtkiconfactory.c:
6407 * tests/buildertest.c:
6408 - Treat enums like enums and not values
6409 - Avoid invalid free, in case of more than two sources
6410 - Add better error messages
6411 - Add much improved tests
6412 (#520979, Christian Persch)
6414 2008-03-07 Carlos Garnacho <carlos@imendio.com>
6416 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6419 2008-03-06 Federico Mena Quintero <federico@novell.com>
6421 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6422 GtkFileChooserDialog should set a default response button if the
6423 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
6425 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6426 function, refactor from where there was duplicated code.
6427 (gtk_file_chooser_dialog_map): Look at the buttons in our
6428 action_area. If the response ID for a button is one of the stock
6429 ones, make it the default response button.
6431 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6433 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6435 * gtk/gtkbuilderprivate.h:
6436 * gtk/gtkiconfactory.c:
6437 * tests/buildertest.c:
6438 Implement GtkBuildable on GtkIconFactory, to make
6439 it possible to register custom stock icons.
6442 2008-03-06 Johan Dahlin <johan@gnome.org>
6446 * gtk/gtkstyle.c: npoints->n_points.
6447 * gtk/gtktestutils.h: widget->spinner
6448 * gtk/gtktestutils.c: argc->argcp, argv->argvp
6450 2008-03-06 William Lachance <wrlach@gmail.com>
6452 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
6453 string localizable (as it should be).
6455 2008-03-06 William Lachance <wrlach@gmail.com>
6457 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6458 the time for today's date. It's redudant. (see bug #410517).
6460 2008-03-06 Xan Lopez <xan@gnome.org>
6462 * gtk/gtkfixed.c: fix typo in documentation.
6464 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6466 * gtk/gtkitemfactory.h:
6467 * gtk/gtktypeutils.h:
6468 Move GtkTranslateFunc to gtktypeutils.h so we can completely
6469 deprecate gtkitemfactory.h.
6471 * gtk/gtkactiongroup.h:
6473 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6476 Add a note describing this slight incompatible change
6478 2008-03-06 Johan Dahlin <johan@gnome.org>
6480 * gtk/gtkpreview.h: Avoid double-deprecation.
6482 2008-03-06 Michael Natterer <mitch@imendio.com>
6485 * gtk/Makefile.am: move the remaining deprecated widgets to the
6486 separate sections and replaced spaces by tabs in Makefile.am
6488 2008-03-05 Johan Dahlin <johan@gnome.org>
6490 * configure.in: Add --disable-cups option.
6491 (#513826, Alberto Ruiz)
6495 Separate broken and deprecated sources and headers into different sections
6497 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6499 2008-03-05 Kristian Rietveld <kris@imendio.com>
6501 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6502 short-circuit in case an empty root level would be build (and thus
6503 directly destroyed) if no virtual root has been set.
6505 2008-03-04 Matthias Clasen <mclasen@redhat.com>
6507 * modules/printbackends/cups/gtkprintbackendcups.c:
6508 Honor cups user default options from ~/.cups/lpoptions
6509 (#469210, Stijn Hoop)
6511 2008-03-04 Michael Natterer <mitch@imendio.com>
6514 * gtk/gtkcolorbutton.c
6515 * gtk/gtkentrycompletion.c
6516 * gtk/gtkfontbutton.c
6520 * gtk/gtkpreview.c: don't include "gtksignal.h".
6522 * gtk/gtkfilefilter.c
6523 * gtk/gtkrecentchoosermenu.c
6524 * gtk/gtkrecentfilter.c
6525 * gtk/gtktext.c: don't include "gtkobject.h".
6527 2008-03-04 Simos Xenitellis <simos@gnome.org>
6529 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
6530 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
6532 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
6535 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
6536 file, contains compose sequences that used to exist in
6537 gtk/gtkimcontextsimple.c
6539 * gtk/compose-parse.py: Script to generate compose
6540 sequences from upstream (Xorg).
6542 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
6543 check_algorithmically): New functions. First two search in
6544 gtk_compose_seqs_compact[] for matching compose sequence, third
6545 tries NFC normalisation on incoming compose sequence.
6546 (gtk_im_context_simple_filter_keypress):
6547 Adds searching with check_compact_table(), check_algorithmically().
6549 2008-03-03 Carlos Garnacho <carlos@imendio.com>
6551 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
6552 scrollwheel work in GtkPathBar.
6554 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
6556 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
6557 an input-only window, event_window, which we'll use to capture
6559 (gtk_path_bar_map): Show the event_window under the rest of the
6560 windows, so it will be a catch-all for unhandled events.
6562 2008-03-03 Sven Neumann <sven@gimp.org>
6564 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
6565 typo in the documentation of the GtkFileChooserButtons::file-set
6566 signal (see bug #353196).
6568 2008-03-03 Tor Lillqvist <tml@novell.com>
6570 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6573 2008-03-02 Johan Dahlin <johan@gnome.org>
6575 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
6576 Remove left-over focus_pad variable.
6577 (#490892, Claudio Saavedra)
6579 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
6580 (#518166, Matt Kraai)
6582 2008-03-02 Johan Dahlin <johan@gnome.org>
6584 * docs/tutorial/gtk-tut.sgml: Add a missing space
6585 (#517954, Matt Kraai)
6587 2008-03-03 Tor Lillqvist <tml@novell.com>
6589 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
6590 the widget is a GtkButton before casting.
6592 2008-03-02 Johan Dahlin <johan@gnome.org>
6594 * configure.in: Compare using = instead of ==, which is portable.
6595 (#490787, Thomas Klausner)
6597 2008-03-02 Johan Dahlin <johan@gnome.org>
6599 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
6600 fixes non-C++ build.
6601 (#496032, Nelson Benitez)
6603 2008-02-29 Johan Dahlin <johan@gnome.org>
6605 * demos/gtk-demo/demo.ui:
6606 * gtk/gtkbuilderparser.c:
6607 * gtk/gtkbuilderprivate.h:
6608 * gtk/gtkliststore.c:
6609 * tests/buildertest.c:
6610 Add translatable/context and comment attributes on
6611 <col> tags under a GtkListStore. Refactor parts of the
6612 translation api and make it available inside gtk+ itself.
6613 Update tests and example.
6614 Fixes a part of #518642
6616 2008-02-29 Johan Dahlin <johan@gnome.org>
6619 Add missing g_return_val_if_fail checks for public API.
6621 * gtk/gtkbuilderparser.c:
6622 * gtk/gtkbuilderprivate.h:
6623 Do not use g_error for a few more errors, instead set
6624 the GError sent in through add_from_file/add_from_string.
6625 * tests/buildertest.c:
6626 Add a couple of new parsing tests.
6627 (#519199, Pavel Syomin)
6629 2008-02-29 Federico Mena Quintero <federico@novell.com>
6631 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
6632 refreshing an existing folder (i.e. when we are about to reload
6633 its file list), turn off the folder's is_finished_loading flag.
6634 Otherwise callers which do ::is_finished_loading() followed by
6635 ::list_children() will get nothing.
6637 2008-02-29 Cody Russell <bratsche@gnome.org>
6639 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
6640 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
6642 2008-02-28 Matthias Clasen <mclasen@redhat.com>
6644 * gtk/gtkcalendar.h: Remove trailing comma from enum to
6645 make the compiler happy. (#517295, Sylvain Pasche)
6647 2008-02-27 Michael Natterer <mitch@imendio.com>
6649 * gtk/gtkmenushell.c
6652 * gtk/gtktipsquery.c
6657 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
6658 private functions and virtual function implementations.
6660 2008-02-27 Richard Hult <richard@imendio.com>
6662 * gdk/quartz/GdkQuartzView.c:
6663 * gdk/quartz/GdkQuartzView.h:
6664 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
6665 Fix performance regression for borderless transparent windows
6668 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
6670 * tests/testgtk.c: Revert back to r19454.
6672 2008-02-27 Sven Neumann <sven@gimp.org>
6674 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
6675 Quartz backend, use a native Mac OS X application for the print
6676 preview (bug #518624).
6678 2008-02-26 Michael Natterer <mitch@imendio.com>
6680 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
6681 the members of info->tag_stack since they are a) gobjects and b)
6682 not even owned by us, ugh... Fixes crash when deserializing fails.
6684 2008-02-26 Sven Neumann <sven@gimp.org>
6686 * docs/tools/shooter.c (find_toplevel_window)
6687 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
6688 argument passed to XQueryTree().
6690 2008-02-25 Matthias Clasen <mclasen@redhat.com>
6692 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
6693 don't use beagle_query_add_hit_type.
6695 2008-02-25 Richard Hult <richard@imendio.com>
6697 * gdk/quartz/gdkevents-quartz.c
6698 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
6700 2008-02-24 Richard Hult <richard@imendio.com>
6702 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6703 shown without gdk's control when clicking the dock icon.
6705 2008-02-24 Richard Hult <richard@imendio.com>
6707 * gdk/quartz/gdkprivate-quartz.h:
6708 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6709 Use the subtype field for the custom event that is used to wake up
6710 the mainloop so we can have other custom event types.
6712 * gdk/quartz/gdkevents-quartz.c:
6713 (_gdk_quartz_events_trigger_crossing_events):
6714 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6715 crossing events after showing a window if necessary, to work
6716 around problems with the tracking rect API.
6718 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6720 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6721 wrong results on win32 because it doesn't set the printing units,
6722 which affect the transformation of the cairo context
6723 (#347125, Erik van Pienbroek)
6725 2008-02-22 Tor Lillqvist <tml@novell.com>
6727 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6729 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6731 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6732 acceptable for a module to only support the save_to_callback()
6733 method if it marks itself as WRITABLE
6735 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6737 * configure.in: Bump version
6739 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6741 * === Released 2.13.0 ===
6743 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6745 2008-02-21 Tor Lillqvist <tml@novell.com>
6747 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6748 pass the format string to strftime in the C library's locale's
6749 charset, not the system's. Correspondingly, the return value from
6750 strftime() is in the C library's locale's charset. (#509885)
6752 2008-02-20 Richard Hult <richard@imendio.com>
6754 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6755 the right window level and shadow after recreating the window.
6757 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6758 necessary after drawing (bug #517338).
6760 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6762 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6763 call to g_type_class_unref in case of error. (#517563)
6765 2008-02-18 Sven Neumann <sven@gimp.org>
6767 * gtk/Makefile.am (STOCK_ICONS)
6768 * gtk/stock-icons/16/gtk-page-setup.png
6769 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6770 taken from GNOME icon theme.
6772 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6774 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
6776 * configure.in: Added Kannada (kn) to ALL_LINGUAS
6778 2008-02-17 Johan Dahlin <johan@gnome.org>
6780 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
6781 When converting a stock item based on the label, remove the label property.
6783 2008-02-17 Richard Hult <richard@imendio.com>
6785 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6786 position after showing the window since the window manager might
6787 not place it where we requested in the first places.
6789 2008-02-17 Richard Hult <richard@imendio.com>
6791 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6792 (_gdk_quartz_window_detach_from_parent),
6793 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6794 the toplevel ordering list in all places where the order is
6795 potentially changed. Fixes mouse focus issues for windows with
6796 a transient parent set.
6798 2008-02-17 Richard Hult <richard@imendio.com>
6800 * gdk/quartz/gdkevents-quartz.c
6801 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6802 window when event debugging is enabled.
6804 2008-02-16 Richard Hult <richard@imendio.com>
6806 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6807 to the scroll event (bug #516757, Paul Davis).
6809 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6813 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6815 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
6818 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6820 * gdk/Makefile.am: Don't install private headers. (#463510)
6822 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6823 the installed header gdkprivate.h.
6825 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6827 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6828 a crash with hidden, reorderable tabs. (#513230,
6829 Mike Massonnet, patch by Carlos Garnacho)
6831 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6833 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6834 Warn on duplicate action group names. (#501746, Christian
6837 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6840 * modules/other/gail/tests/Makefile.am:
6841 * modules/other/gail/libgail-util/Makefile.am:
6842 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6843 builds. (#516254, Yevgen Muntyan)
6845 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6850 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
6851 instead of hardcoded target tables. (#516092, Christian Persch)
6853 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6855 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6856 add the same target atom twice. (#516087, Christian Persch)
6858 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6860 * tests/testfilechooser.c: Add a --backend option.
6861 (#516073, Christian Persch)
6863 2008-02-16 Richard Hult <richard@imendio.com>
6865 * gdk/quartz/gdkprivate-quartz.h:
6866 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6869 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6871 * configure.in: Go back to 2.13.0 as version for now,
6872 as there was no consensus to do the jump.
6874 * many other places: Update Since: tags.
6876 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6878 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6880 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6882 2008-02-15 Richard Hult <richard@imendio.com>
6884 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6885 instead of bounds when resizing windows.
6887 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6889 * gdk/x11/gdkkeys-x11.c:
6890 * gdk/x11/gdkcolor-x11.c:
6891 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6893 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6895 * gdk/x11/gdktestutils-x11.c:
6896 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6898 2008-02-15 Tor Lillqvist <tml@novell.com>
6900 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6901 leak Registry key handles. (#516578)
6903 2008-02-14 Richard Hult <richard@imendio.com>
6905 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6906 makeKeyWindow unfortunately doesn't work in all cases, we must use
6907 makeKeyAndOrderFront.
6909 2008-02-14 Richard Hult <richard@imendio.com>
6911 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6912 (gdk_window_hide), (gdk_window_fullscreen),
6913 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6914 the window is hidden.
6916 2008-02-14 Richard Hult <richard@imendio.com>
6918 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6919 resizing to be consistent and to avoid introducing an internal
6920 transform in the view.
6922 2008-02-14 Richard Hult <richard@imendio.com>
6924 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6927 2008-02-14 Johan Dahlin <johan@gnome.org>
6929 * gdk/gdktestutils.h
6930 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6932 2008-02-13 Richard Hult <richard@imendio.com>
6934 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6935 Remove unused variables.
6936 (gtk_clipboard_set_contents),
6937 (gtk_clipboard_get_owner), (clipboard_unset),
6938 (gtk_clipboard_request_targets): Notify the previous clipboard
6939 owner when the owner changes. Fixes bug #493406.
6941 2008-02-13 Richard Hult <richard@imendio.com>
6943 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
6944 the return value (return number of colors that failed), and handle
6946 (gdk_colormap_free_colors): Fix typo in comment.
6948 2008-02-13 Kristian Rietveld <kris@imendio.com>
6950 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
6951 queue a redraw if the rubber banding has actually been active.
6953 2008-02-12 Matthias Clasen <mclasne@redhat.com>
6955 * gtk/gtkpapersize.c:
6956 * gtk/gtkprintoperation.c:
6957 * gtk/gtkvolumebutton.c:
6958 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
6959 out by Behdad Esfahbod.
6961 2008-02-12 Federico Mena Quintero <federico@novell.com>
6963 Merged from gtk-2-12:
6965 Don't focus the file list when shortcuts get activated. This
6966 removes a lot of ambiguity in when the file selection should
6967 change, and makes the overall code flow simpler.
6969 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
6970 file/save dialog clears the filename entry when changing
6973 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
6974 focus should not go to the file list when a shortcut is activated.
6976 * gtk/gtkfilechooserdefault.c
6977 (shortcuts_activate_volume_mount_cb): Don't focus the file list
6978 (shortcuts_activate_get_info_cb): Likewise.
6980 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
6981 the file list (this was the last place where we would focus the
6982 file list explicitly). If you are in the location entry, for
6983 example, you don't want Alt-Home to take you to the file list; you
6984 just want the current folder to change. Thanks to Olle Bergkvist
6985 <olle.bergkvist@yahoo.se> for pointing this out in
6986 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
6987 (focus_browse_tree_view_if_possible): Removed.
6989 2008-02-12 Matthias Clasen <mclasen@redhat.com>
6991 Skip exensions when selecting filenames in the save-as dialog.
6992 (#362516, Carlos Garnacho)
6994 * gtk/gtkfilechooserentry.h:
6995 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
6996 New function to skip the extension part when selecting a filename.
6997 (_gtk_file_chooser_entry_set_base_folder): Use it here.
6999 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
7002 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7004 * gtk/gtkiconview.c: Fix state change reporting for
7005 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
7007 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
7009 * gtk/gtkrecentchooser.c:
7010 (gtk_recent_chooser_class_init): Set the default value of the
7011 :show-not-found property to TRUE, as every implementation sets
7014 * gtk/gtkrecentchooserdefault.c:
7015 (_gtk_recent_chooser_default_init): Sync show_tips to the
7016 default value of the :show-tips property.
7018 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7020 * gtk/gtkclipboard-quartz.c:
7022 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
7025 2008-02-12 Kristian Rietveld <kris@imendio.com>
7027 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
7028 (gtk_tree_view_real_toggle_cursor_row): guard against people
7029 deleting the row in question in the selection-changed callback.
7030 (#514621, Andreas Koehler).
7032 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7034 * gtk/*.c: Unify the handling of various "Enter" keysyms
7035 all over the place. (#515047, Christian Persch)
7037 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7039 * gtk/gtkfilesystemmodel.c:
7041 * gtk/gtkwidget.c: Use g_value_set_static_string() where
7042 appropriate. (#515042, Christian Persch)
7044 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7046 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
7048 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7050 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
7052 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7054 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
7055 (recent_model_sort_drag_data_get):
7056 (search_model_sort_drag_data_get):
7057 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
7058 * gtk/gtkpathbar.c (button_drag_data_get_cb):
7059 Use gtk_selection_data_set_uris() instead of doing it
7060 by hand. (#514890, Christian Persch)
7062 2008-02-12 Michael Natterer <mitch@imendio.com>
7064 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
7065 gtk_get_current_event_time().
7067 2008-02-12 Michael Natterer <mitch@imendio.com>
7069 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
7070 gtk_window_get_key_hash() to get the hash instead of manually
7071 fiddling with quarks and gtk_window_keys_changed(). Also add
7072 g_return_if_fail() to this public function.
7074 2008-02-11 Matthias Clasen <mclasen@redhat.com>
7076 Support keynav in status icons. (#473786, Li Yuan)
7078 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
7080 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
7082 2008-02-11 Kristian Rietveld <kris@imendio.com>
7084 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
7085 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
7086 wrt. link deletion from list; contination of fix for #503569.
7088 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
7090 * gtk/gtkrecentchoosermenu.c:
7091 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
7092 on the placeholder menu item.
7094 * tests/testrecentchoosermenu.c:
7095 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
7096 whether the placeholder menu item gets shown.
7098 2008-02-10 Cody Russell <bratsche@gnome.org>
7100 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
7101 Check the return value of _gtk_file_chooser_get_file_system () for
7102 NULL before passing it to gtk_file_system_path_to_uri ().
7103 (#515667, Francesco Montorsi)
7105 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
7107 * gtk/gtkbuilder.c: Improve the documentation for
7108 gtk_builder_connect_signals. (#514471)
7110 2008-02-10 Matthias Clasen <mclasen@redhat.com>
7112 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
7115 2008-02-08 Cody Russell <bratsche@gnome.org>
7117 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
7118 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
7120 2008-02-08 Richard Hult <richard@imendio.com>
7122 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
7123 delta from the NSEvent for now, generating multiple scroll events
7124 results in a lot of events getting queued up and things get really
7127 2008-02-08 Sven Herzberg <sven@imendio.com>
7129 Adjust the code to match the documentation, examples, "common sense"
7130 and existing applications.
7132 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
7133 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
7136 2008-02-07 Cody Russell <bratsche@gnome.org>
7138 * gdk/win32/gdkevents-win32.c
7139 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
7140 of a block that were causing compile problems on old
7141 compilers. (#515053, reported by Kazuki IWAMOTO)
7143 2008-02-07 Michael Natterer <mitch@imendio.com>
7150 * gtk/gtkmenushell.c
7152 * gtk/gtkoptionmenu.c
7156 * gtk/gtkradiomenuitem.c
7158 * gtk/gtkscrolledwindow.c
7159 * gtk/gtksocket.c: remove g_return_if_fail() from private
7160 functions and virtual function implementations.
7162 2008-02-07 Michael Natterer <mitch@imendio.com>
7165 * gtk/gtkassistant.c
7169 * gtk/gtkcellrenderercombo.c
7172 * gtk/gtkdrawingarea.c
7173 * gtk/gtkentrycompletion.c
7179 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
7180 functions and virtual function implementations.
7182 2008-02-07 Christian Persch <chpe@gnome.org>
7184 * gdk/gdkpixbuf-render.c:
7185 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
7186 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
7187 otherwise there will be random pixel values in the semi-transparent
7188 area of the pixbuf within the mask. Bug #487865.
7190 2008-02-06 Cody Russell <bratsche@gnome.org>
7192 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
7193 otherwise things get wonky when you click on a menu. This fixes
7194 a regression caused in #505928. Thanks to Tor for spotting this
7197 2008-02-06 Michael Natterer <mitch@imendio.com>
7199 * gtk/gtkcontainer.c
7206 * gtk/gtkmenushell.c
7208 * gtk/gtkseparatortoolitem.c
7210 * gtk/gtktextlayout.c
7211 * gtk/gtktoggletoolbutton.c
7212 * gtk/gtktoolbutton.c
7215 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
7218 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7220 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
7221 Allow to store half-open ranges.
7223 2008-02-05 Cody Russell <bratsche@gnome.org>
7225 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
7226 down the stack until we get to a window that is mapped.
7227 Otherwise hiding a window will cause all windows in the app
7228 to be blocked. (#514643)
7230 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7232 * gtk/updateiconcache.c: Ignore images in the toplevel theme
7233 directory, avoiding one source of invalid caches that has been
7234 spotted in the wild.
7236 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7238 * gtk/updateiconcache.c: Fix the previous commit to compile.
7240 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7242 * gtk/updateiconcache.c: Install a printerr handler that
7243 prepends the program name, since gtk-update-icon-cache output
7244 often appears in the middle of other output, e.g. rpm update logs.
7246 2008-02-05 Cody Russell <bratsche@gnome.org>
7248 * gdk/win32/gdkprivate-win32.h
7249 * gdk/win32/gdkevents-win32.c
7250 * gdk/win32/gdkwindow-win32.c
7251 * gdk/win32/gdkwindow-win32.h
7252 * gdk/win32/gdkwin32.h:
7253 Modal window rework. (#455627 and #511111)
7255 2008-02-04 Michael Natterer <mitch@imendio.com>
7257 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7258 g_return_if_fail() if the cell is not part of the combo instead of
7259 crashing in the next line.
7261 2008-02-01 Cody Russell <cody@jhu.edu>
7263 * modules/engines/ms-windows/xp_theme.[ch]
7264 * modules/engines/ms-windows/xp_theme_defs.h
7265 * modules/engines/ms-windows/msw_rc_style.c
7266 * modules/engines/ms-windows/msw_theme_main.c
7267 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7268 attempted to stylize more like the rest of the gtk+ stack's code.
7270 2008-02-01 Michael Natterer <mitch@imendio.com>
7272 * tests/testgtk.c: initialize GdkColor structs to fix warning
7273 about uninitialized "pixel" member.
7275 * tests/testactions.c: connect the toolbar_style() callback so it
7276 does something useful and doesn't warn about being defined but not
7279 2008-01-31 Cody Russell <bratsche@gnome.org>
7281 * gdk/win32/gdkevents-win32.c:
7282 Refactored some of the window hiding/showing code from
7283 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
7284 under WM_ACTIVATE was causing the application to go into
7285 a weird state when the user right-clicked on the taskbar
7286 entry of a window that was minimized. (#505928)
7288 2008-01-31 Cody Russell <bratsche@gnome.org>
7290 * gtk/gtkpaned.c (gtk_paned_set_position):
7291 Change queue_resize() to queue_draw(), and add a check for
7292 child2 != NULL in case someone calls this before there is
7293 a child packed in there. (#144269 again)
7295 2008-01-31 Sven Neumann <sven@gimp.org>
7297 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7298 applied patch from Denis Oliver Kropp <dok@directfb.org>.
7300 2008-01-31 Sven Neumann <sven@gimp.org>
7302 * gdk/directfb/gdkdisplay-directfb.c
7303 * gdk/directfb/gdkdrawable-directfb.c
7304 * gdk/directfb/gdkprivate-directfb.h
7305 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7306 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7308 2008-01-31 Richard Hult <richard@imendio.com>
7310 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7311 issues with undecorated windows. Revert the change done on
7312 2008-01-25 and fix it by using the view's bounds instead. The
7313 bounds will always be up to date when setting up the tracking
7314 rect, so this should be more robust.
7316 2008-01-30 Sven Neumann <sven@gimp.org>
7318 * gdk/directfb/gdkdrawable-directfb.c
7319 * gdk/directfb/gdkwindow-directfb.c
7320 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7321 Oliver Kropp <dok@directfb.org>. Adds debug messages using
7322 DirectFB's debugging system
7324 2008-01-30 Sven Neumann <sven@gimp.org>
7326 * gdk/directfb/gdkdirectfb.h
7327 * gdk/directfb/gdkdisplay-directfb.c
7328 * gdk/directfb/gdkdrawable-directfb.c
7329 * gdk/directfb/gdkim-directfb.c
7330 * gdk/directfb/gdkimage-directfb.c
7331 * gdk/directfb/gdkinput-directfb.c
7332 * gdk/directfb/gdkmain-directfb.c
7333 * gdk/directfb/gdkpixmap-directfb.c
7334 * gdk/directfb/gdktestutils-directfb.c
7335 * gdk/directfb/gdkvisual-directfb.c
7336 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7337 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7338 errors and has some cleanups.
7340 2008-01-30 Michael Natterer <mitch@imendio.com>
7342 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7343 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7346 * gtk/updateiconcache.c (add_string): cast const gchar* to
7347 gpointer when inserting in a GHashTable.
7349 * tests/testcalendar.c (calendar_detail_cb): remove const from
7350 return value since it's a newly allocated string.
7352 (calendar_update_details): free the detail.
7354 2008-01-29 Johan Dahlin <johan@gnome.org>
7356 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7358 * demos/gtk-demo/demo.ui:
7359 Move the about dialog to the glade file, add accessible tags
7360 examples to the markup file.
7362 2008-01-28 Paolo Borelli <pborelli@katamail.com>
7364 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7365 layout, fixes #512375.
7367 2008-01-28 Michael Natterer <mitch@imendio.com>
7369 * gtk/gtktextchild.c
7370 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7372 2008-01-28 Michael Natterer <mitch@imendio.com>
7374 * demos/gtk-demo/builder.c (about_activate): use
7375 gtk_about_dialog_set_program_name() instead of the deprecated
7378 2008-01-28 Michael Natterer <mitch@imendio.com>
7380 * gtk/gtktextchild.c
7381 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7384 2008-01-26 Johan Dahlin <johan@gnome.org>
7386 * tests/Makefile.am:
7387 * tests/textbuffertest.c:
7388 Rename textbuffer test and port it to the new test framework
7390 2008-01-25 Johan Dahlin <johan@gnome.org>
7392 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7393 unsetting of GTK_MODULES.
7395 * gtk/gtk-builder-convert
7396 (GtkBuilderConverter._convert_adjustment): Handle the case where
7397 there is no child text node.
7398 (GtkBuilderConverter): Allow xml comments in most places.
7400 2008-01-25 Johan Dahlin <johan@gnome.org>
7402 * gtk/gtk-builder-convert
7403 (GtkBuilderConverter._convert_combobox_items): Remove the items
7404 even if there are no items set.
7405 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7406 signals and tooltips for all menu items subclasses and
7407 GtkImageMenuItem:label.
7408 Makes it possible to fully convert and run Jokosher.glade.
7410 2008-01-25 Johan Dahlin <johan@gnome.org>
7412 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7413 (gtk_widget_buildable_get_internal_child), (free_action),
7414 (free_relation), (gtk_widget_buildable_parser_finished),
7415 (accessibility_start_element),
7416 (gtk_widget_buildable_custom_tag_start),
7417 (gtk_widget_buildable_custom_finished):
7418 Implement accessible support, fixes #454653.
7420 * gtk/gtk-builder-convert:
7421 Add support for migrating old glade files
7423 * tests/buildertest.c: (test_widget), (test_file):
7424 Add accessible tests and imprve the test_file function to display
7425 toplevels and run dialogs.
7427 2008-01-25 Richard Hult <richard@imendio.com>
7429 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7430 didn't change, fixes focus event issues for undecorated windows.
7432 2008-01-25 Richard Hult <richard@imendio.com>
7434 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7435 const and remove unused variables).
7437 2008-01-25 Michael Natterer <mitch@imendio.com>
7440 * gtk/gtkcellrenderer.h
7441 * gtk/gtkimcontext.h
7445 * gtk/gtktreeprivate.h
7446 * gtk/gtktreeviewcolumn.h
7447 * gtk/gtkwidget.h: add const to constant structs which are passed
7448 into GTK+. Also add some forgotten const for const strings.
7452 * gtk/gtkcellrenderer.c
7453 * gtk/gtkimcontext.c
7458 * gtk/gtktreeviewcolumn.c
7459 * gtk/gtkwidget.c: changed accordingly.
7461 2008-01-25 Sven Herzberg <sven@imendio.com>
7463 Reviewed by Johan Dahlin.
7465 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7466 this is called with something that's not a GtkUIManager
7468 2008-01-24 Johan Dahlin <johan@gnome.org>
7470 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
7471 Chain up to parent, so widgets can have internal children.
7473 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7475 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7478 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7480 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7482 Use pango_layout_set_height() for calendar details (#506049).
7484 * configure.in: Require 1.19.3 for pango_layout_set_height().
7485 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7487 2008-01-18 Johan Dahlin <johan@gnome.org>
7489 * gtk/gtk-builder-convert (get_property_node): New method
7490 (GtkBuilderConverter._create_object): Conditionally take a node as
7491 a property value, so don't lose translate/context attributes if they
7493 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7494 property values instead of strings.
7495 (#509153, Erik van Pienbroek)
7497 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
7499 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7501 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7502 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7503 * tests/testcalendar.c: Duplicate calendar details before returning.
7505 2008-01-16 Christian Persch <chpe@gnome.org>
7507 * gtk/gtkwidget.c: Store the event mask and extension event mode
7508 directly in the gobject data pointer, instead of in an allocated
7511 2008-01-16 Michael Natterer <mitch@imendio.com>
7513 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
7514 gdk-pixbuf now uses gio functions.
7516 2008-01-16 Matthias Clasen <mclasen@redhat.com>
7518 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
7519 the notify::model signal. (#509819, David Zeuthen)
7521 2008-01-15 Michael Natterer <mitch@imendio.com>
7529 * gdk/gdkwindow.h: made more struct pointer and array parameters
7530 const. GDK should now be constified as far as possible without
7531 breaking source compatibility. Includes some minor cleanup like
7532 indentation and s/nfoo/n_foo/ (bug #508544).
7538 * gdk/gdkregion-generic.c
7540 * gdk/directfb/gdkdisplay-directfb.c
7541 * gdk/directfb/gdkwindow-directfb.c
7542 * gdk/quartz/gdkdisplay-quartz.c
7543 * gdk/quartz/gdkwindow-quartz.c
7544 * gdk/win32/gdkdisplay-win32.c
7545 * gdk/win32/gdkwindow-win32.c
7546 * gdk/x11/gdkdisplay-x11.c
7547 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7549 2008-01-14 Michael Natterer <mitch@imendio.com>
7551 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
7554 (gtk_rc_parse_any): change variables to const and introduce
7555 another local variable to fix const warnings.
7557 2008-01-14 Michael Natterer <mitch@imendio.com>
7559 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
7560 of gdk_screen_get_font_options() to gpointer to get rid of const
7563 2008-01-14 Michael Natterer <mitch@imendio.com>
7565 * tests/testdnd.c (source_drag_data_get): fix another call to
7566 gtk_selection_data_set().
7568 2008-01-14 Michael Natterer <mitch@imendio.com>
7570 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
7573 2008-01-14 Michael Natterer <mitch@imendio.com>
7575 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
7577 2008-01-14 Michael Natterer <mitch@imendio.com>
7579 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
7580 "uris" to guchar* when passing it to gtk_selection_data_set().
7582 2008-01-14 Michael Natterer <mitch@imendio.com>
7588 * gdk/gdkinternals.h
7590 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
7591 parameters const (bug #508544).
7596 * gdk/gdkrectangle.c
7597 * gdk/gdkpolyreg-generic.c
7598 * gdk/gdkregion-generic.c
7599 * gdk/directfb/gdkcolor-directfb.c
7600 * gdk/directfb/gdkgc-directfb.c
7601 * gdk/directfb/gdkgeometry-directfb.c
7602 * gdk/directfb/gdkwindow-directfb.c
7603 * gdk/quartz/gdkcolor-quartz.c
7604 * gdk/quartz/gdkgc-quartz.c
7605 * gdk/quartz/gdkgeometry-quartz.c
7606 * gdk/quartz/gdkwindow-quartz.c
7607 * gdk/win32/gdkcolor-win32.c
7608 * gdk/win32/gdkgc-win32.c
7609 * gdk/win32/gdkgeometry-win32.c
7610 * gdk/win32/gdkprivate-win32.h
7611 * gdk/win32/gdkwindow-win32.c
7612 * gdk/x11/gdkcolor-x11.c
7613 * gdk/x11/gdkgc-x11.c
7614 * gdk/x11/gdkgeometry-x11.c
7615 * gdk/x11/gdkmain-x11.c
7616 * gdk/x11/gdkprivate-x11.h
7617 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7619 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
7622 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7624 Explain name choice for gtk_tool_item_toolbar_reconfigured.
7626 * gtk/gtktoolitem.c: Add comment expaining name choice for
7627 gtk_tool_item_toolbar_reconfigured.
7629 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7631 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
7632 implementations to notify its children, when some aspect of their
7633 configuration changed (#509042).
7635 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
7636 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
7637 Rename _gtk_tool_item_toolbar_reconfigured.
7639 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7641 Include <gtk/gtktoolshell.h> from gtk.h.
7643 * gtk/gtk.h: Add gtktoolshell.h
7645 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7647 Print angle brackets arround e-mail addresses in the about dialog
7648 (#409520, Mariano Suárez-Alvarez).
7650 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
7652 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
7654 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
7655 special casing so test widgets are always queues for destruction
7658 * gtk/tests/testing.c: removed bits left-over from testing without
7661 2008-01-10 Tor Lillqvist <tml@novell.com>
7663 * modules/other/gail/libgail-util/Makefile.am
7664 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
7667 2008-01-10 Tor Lillqvist <tml@novell.com>
7669 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
7670 uses gtkprintunixdialog API.
7672 2008-01-10 Tor Lillqvist <tml@novell.com>
7674 * gdk/win32/gdkdisplay-win32.c
7675 * gdk/win32/gdkglobals-win32.c
7676 * gdk/win32/gdkprivate-win32.h
7677 * gdk/win32/gdkscreen-win32.c
7678 * gdk/win32/gdkwindow-win32.c: Implement
7679 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
7680 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
7683 2008-01-10 Cody Russell <bratsche@gnome.org>
7685 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
7686 Properly ref/unref windows and parents. (#506769)
7688 2008-01-10 Richard Hult <richard@imendio.com>
7690 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7691 (gdk_window_hide), (move_resize_window_internal): Move the
7692 tracking rect workaround from here...
7694 * gdk/quartz/GdkQuartzWindow.c:
7695 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
7696 movements during showing/hiding operations. Fixes bug #508516.
7698 2008-01-10 Michael Natterer <mitch@imendio.com>
7700 * gdk/directfb/gdkscreen-directfb.c
7701 (gdk_screen_get_monitor_width_mm)
7702 (gdk_screen_get_monitor_height_mm)
7703 (gdk_screen_get_monitor_plug_name): add these functions to make
7706 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7708 * gtk/gtkrecentchoosermenu.c:
7709 (idle_populate_func), (idle_populate_clean_up): Fix possible
7710 recursion by resetting the idle source id. (#507605, William
7713 2008-01-10 Kristian Rietveld <kris@imendio.com>
7715 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7716 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7717 avoid valgrind warnings. (#507751, patch from Christian Persch).
7719 2008-01-10 Kristian Rietveld <kris@imendio.com>
7721 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7722 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7724 2008-01-10 Kristian Rietveld <kris@imendio.com>
7726 Fix #477175, reported by Juri Pakaste.
7728 * gtk/gtktreeprivate.h:
7729 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7730 tree_view->priv->dy here directly, just calculate the new value
7731 and set it on the adjustment,
7732 (gtk_tree_view_adjustment_changed): add guards to not call
7733 gtk_tree_view_dy_to_top_row() if we are currently in
7734 gtk_tree_view_top_row_to_dy(),
7735 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7736 coordinates, not tree coordinates,
7737 (gtk_tree_view_real_start_editing): add cast.
7739 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7740 position of the editable in the "create new row and start editing"
7743 2008-01-09 Michael Natterer <mitch@imendio.com>
7745 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7748 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7749 * gtk/gtkicontheme.c (theme_list_contexts)
7750 (gtk_icon_theme_lookup_icon)
7751 * gtk/gtkimcontextsimple.c (beep_window)
7752 * gtk/gtklinkbutton.c (set_link_color)
7753 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7756 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7757 variable and add const to another to fix a warning.
7759 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7761 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7762 the current page. (#499951, Andreas Sandberg)
7764 2008-01-06 Johan Dahlin <johan@gnome.org>
7766 * gtk/gtkspinbutton.c: Declare value in the example code for
7767 GtkSpinButton::output, as pointed out by Anders Carlsson.
7769 2008-01-06 Christian Persch <chpe@gnome.org>
7771 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7772 and remove an obsolete event box. Bug #506760.
7774 2008-01-06 Johan Dahlin <johan@gnome.org>
7776 * tests/buildertest.c (test_domain):
7777 Update, GtkBuilder::translation-domain is no longer set
7779 * gtk/gtkbuilderparser.c (parse_interface):
7780 Allow domains to be overridden in <interface>'s if a translation-domain
7781 is set in the builder.
7782 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7783 of the builder, make the domain set in the <interface> apply only to strings
7785 (#496831, Ryan Lortie)
7787 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
7790 * gtk/gtktreestore.c (tree_model_end_element):
7791 Remove an unused variable
7793 2008-01-06 Matthias Clasen <mclasen@redhat.com>
7795 * gtk/gtkspinbutton.c: Document the ::output signal and
7796 add an example. (#507566, example by Owen Taylor)
7798 2008-01-06 Johan Dahlin <johan@gnome.org>
7800 * gtk/gtkcellrenderercombo.c:
7801 (gtk_cell_renderer_combo_get_property),
7802 (gtk_cell_renderer_combo_set_property):
7803 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7804 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7805 * gtk/gtknotebook.c: (gtk_notebook_set_property):
7806 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7807 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7808 (gtk_text_buffer_get_property):
7809 * gtk/gtktextview.c: (gtk_text_view_set_property):
7810 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7811 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7812 (gtk_tool_button_get_property):
7813 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7814 (gtk_tool_item_get_property):
7815 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7816 * gtk/gtkwidget.c: (gtk_widget_set_property):
7817 * gtk/gtkwindow.c: (gtk_window_set_property):
7818 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7821 2008-01-06 Johan Dahlin <johan@gnome.org>
7823 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
7824 Make sure that --root works for toplevel widgets.
7825 (#491847, Phil Lello)
7827 2008-01-05 Johan Dahlin <johan@gnome.org>
7829 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7830 to make sure that make test-report works properly
7832 2008-01-05 Christian Persch <chpe@gnome.org>
7834 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7835 GType as integer through gpointer. Bug #507395.
7837 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
7839 Avoid some compiler warnings (#507000).
7841 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7842 for value argument of _gtk_builder_flags_from_string.
7843 * gtk/gtkwidget.c: Don't alias the child pointer passed
7844 to gdk_window_get_user_data.
7846 2008-01-04 Michael Natterer <mitch@imendio.com>
7848 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7849 to set the time in the returned GdkTimeCoords.
7851 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
7853 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7854 correct comparison function (kudos to Christian Persch and
7855 Claudio Saavedra for spotting this)
7857 * gtk/gtkrecentchooserutils.c:
7858 (sort_recent_items_mru),
7859 (sort_recent_items_lru): Ditto as above.
7861 2008-01-03 Johan Dahlin <johan@gnome.org>
7863 * tests/defaultvaluetest.c: Make it pass again.
7865 2008-01-02 Johan Dahlin <johan@gnome.org>
7867 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
7868 make it pass on Ubuntu.
7869 (main): Use gtk_test_list_all_types () instead of providing our
7871 And it no longer passes.
7873 2007-12-30 Johannes Schmid <jhs@gnome.org>
7875 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7876 Also reorder menu when reordering tabs by drag & drop
7879 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7880 Add a menu to one of the notebooks to have a test-case for
7881 the change mentioned above.
7883 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
7885 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7887 2007-12-31 Christian Persch <chpe@gnome.org>
7889 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7890 Plug a mem leak. Bug #506107.
7892 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7894 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7895 icon cache api change. (#506135, Kazuki Iwamoto)
7897 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7899 Consider "wide-separators" and "separator-height" style properties:
7900 The separator is drawn using gtk_paint_box instead of cairo, when
7901 "wide-separators" is set. Also do not highlight details for previous
7902 or next month, if their day matches the selected day. (#339540)
7904 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7905 in gtk_calendar_size_request and calendar_paint_day
7906 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7907 for selected detail separators in GtkCalendar.
7909 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7911 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7913 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7914 a local variable instead in gtk_calendar_size_request.
7916 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7918 * tests/defaultvaluetest.c: Add enough exclusions to make the
7921 2007-12-28 Christian Persch <chpe@gnome.org>
7923 * modules/other/gail/Makefile.am:
7924 * modules/other/gail/tests/*:
7925 * configure.in: Merge tests from standalone gail. Bug #504568.
7927 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7929 * gtk/gtkclipboard.c: Make the finalizer work when display is
7932 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7934 Draw bottom shadow of GtkCalender headings. (#506113)
7936 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7938 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7940 * gtk/gtkcalendar.c: Document the initial values of year/month/day
7943 2007-12-28 Christian Persch <chpe@gnome.org>
7945 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
7946 a mem leak. Bug #506096.
7948 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7951 * gtk/gtktreeview.c:
7952 * gtk/gtkprintoperation.c:
7953 * gtk/gtkprogressbar.c:
7954 * gtk/gtkmessagedialog.c:
7955 * gtk/gtknotebook.c:
7959 * gtk/gtklinkbutton.c:
7960 * gtk/gtkmenu.c: More default property value corrections.
7962 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7964 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
7965 accel_group unless it is set.
7967 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7969 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
7971 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7973 * gtk/gtkhandlebox.c: Fix the default values of shadow and
7974 shadow-type properties.
7976 * gtk/gtkfontsel.c: Fix the default values of several properties.
7978 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
7981 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
7983 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
7986 2007-12-28 Johan Dahlin <johan@gnome.org>
7988 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
7989 (gtk_dialog_buildable_custom_tag_start): Chain up.
7990 This makes it possible to have accelerators tags on GtkDialog
7993 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7995 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
7996 are shown within the widget, or just as tooltip. (#339540)
7998 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
7999 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
8000 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
8003 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8005 Try more decent appearance of calendar details separator. (#339540)
8007 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
8008 and make it short by one pixel on each side.
8010 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8012 Apply trivial code-style changes from attachement 101101. (#339540)
8014 * tests/testcalendar.c: Some updates to current GTK+ code-style.
8016 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8018 Restructure testcalendar for testing calendar details. (#339540)
8020 * tests/testcalendar.c: Push code arround for testing calendar details.
8022 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8024 Implement GtkTooltip API for calendar details. (#339540)
8026 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
8027 Remember detail overflows in calendar_paint_day to show the tooltip
8028 only when neccessary.
8030 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8032 Without setting "detail-width-chars" and "detail-height-rows"
8033 properties not only the widget has to be redrawn on certain
8034 conditions, but also its size must be recalculated. (#339540)
8036 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
8037 that function instead of gtk_widget_queue_draw.
8039 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8041 Consider details for size-request and expose-event. (#339540)
8043 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
8044 is_color_attribute functions. Change gtk_calendar_size_request
8045 and calendar_paint_day to consider and show calender details.
8047 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8049 * gtk/gtkcombobox.c: Introduce local priv variables to
8052 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8054 * gtk/gtkcombobox.c: Correct the default value for the
8055 tearoff-title property.
8057 * gtk/gtkcellrenderertext.c: Fix the default value for the
8058 wrap-mode and font-scale properties.
8060 * gtk/gtkaspectratio.c: Fix the default value for the ratio
8063 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8065 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
8066 defines. (#505708, MINAMI Hirokazu)
8068 2007-12-27 Christian Persch <chpe@gnome.org>
8070 * Makefile.am: Install gail.pc. Bug #505859.
8072 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
8074 Add infrastructure for GtkCalendar details. (#339540)
8076 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
8077 Add "detail-width-chars" and "detail-height-rows" properties,
8078 and gtk_calendar_set_detail_func function.
8080 2007-12-27 Xan Lopez <xan@gnome.org>
8083 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
8085 Add gtk_border_new to avoid memory allocator confusions when using
8086 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
8088 2007-12-27 Christian Persch <chpe@gnome.org>
8090 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
8091 bug #504886 not to read unitialised memory.
8093 2007-12-26 Xan Lopez <xan@gnome.org>
8095 * gtk/gtkstatusbar.c (has_extra_children): take into account the
8096 modification of the internal frame contents to decide if we have
8097 extra children. (#415677)
8099 2007-12-22 Christian Persch <chpe@gnome.org>
8101 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
8103 2007-12-25 Christian Persch <chpe@gnome.org>
8105 * modules/other/gail/gailwindow.c: (gail_window_initialize):
8106 Initialise |widget|. Fixes a buglet introduced by the commit from bug
8109 2007-12-25 Christian Persch <chpe@gnome.org>
8111 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
8113 2007-12-25 Christian Persch <chpe@gnome.org>
8115 * modules/other/gail/*.[ch]: Remove relocations from the atk
8116 factories. Remove unused gail_foo_new() functions. Fix object
8117 instantiation to be derivation safe by moving initialisation code
8118 from the removed gail_foo_new() functions to the
8119 AtkObjectClass::initialize implementation. Bug #505226.
8121 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8123 * modules/other/gail/gailentry.c:
8124 * modules/other/gail/gailimage.c:
8125 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
8126 uses of clipboards and settings. (#504722, Christian Persch)
8128 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8130 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
8133 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8135 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
8136 use the time and button information from the event. (#504901,
8139 2007-12-23 Cody Russell <bratsche@gnome.org>
8141 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
8142 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
8143 Fixes a regression caused by #164537 patch where transient
8144 windows that are hidden get shown (incorrectly) when their
8145 parents are minimized. (#504984)
8147 2007-12-22 Christian Persch <chpe@gnome.org>
8149 * modules/other/gail/gailcell.c:
8150 * modules/other/gail/gailcontainercell.c:
8151 * modules/other/gail/gailexpander.c:
8152 * modules/other/gail/gailtextcell.c:
8153 * modules/other/gail/gailtextview.c:
8154 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
8156 2007-12-22 Christian Persch <chpe@gnome.org>
8158 * modules/other/gail/*.c: Include config.h. Bug #504720.
8160 2007-12-22 Christian Persch <chpe@gnome.org>
8162 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
8163 handwritten get_type functions. Bug #504661.
8165 2007-12-23 Xan Lopez <xan@gnome.org>
8167 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
8168 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
8170 Patch by Sadrul Habib Chowdhury (#504804)
8172 2007-12-22 Christian Persch <chpe@gnome.org>
8174 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
8175 #504645, patch by Li Yuan.
8177 2007-12-22 Christian Persch <chpe@gnome.org>
8179 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
8181 2007-12-22 Christian Persch <chpe@gnome.org>
8183 * modules/other/gail/gail.c:
8184 * modules/other/gail/gailbutton.c:
8185 * modules/other/gail/gailcell.c:
8186 * modules/other/gail/gailcombo.c:
8187 * modules/other/gail/gailcombo.h:
8188 * modules/other/gail/gailcombobox.c:
8189 * modules/other/gail/gailentry.c:
8190 * modules/other/gail/gailexpander.c:
8191 * modules/other/gail/gailmenuitem.c:
8192 * modules/other/gail/gailnotebook.c:
8193 * modules/other/gail/gailnotebookpage.c:
8194 * modules/other/gail/gailnotebookpage.h:
8195 * modules/other/gail/gailoptionmenu.c:
8196 * modules/other/gail/gailrange.c:
8197 * modules/other/gail/gailtextview.c:
8198 * modules/other/gail/gailtreeview.c:
8199 * modules/other/gail/gailtreeview.h:
8200 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
8203 2007-12-22 Matthias Clasen <mclasen@redhat.com>
8205 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
8208 2007-12-21 Richard Hult <richard@imendio.com>
8210 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
8211 Plug leak of destroyed subviews, fixes bug #504753.
8213 2007-12-20 Johan Dahlin <johan@gnome.org>
8215 * tests/Makefile.am (TEST_PROGS):
8216 * tests/defaultvaluetest.c: Add a test for default values,
8217 based on program by Christan Perch
8219 2007-12-20 Johan Dahlin <johan@gnome.org>
8221 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
8222 Refactor to avoid some duplication.
8223 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
8224 Fixes #504749, Yuri Pimenov
8226 2007-12-20 Kristian Rietveld <kris@imendio.com>
8228 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
8229 the build work again on systems without xrandr 1.2.
8231 2007-12-20 Christian Persch <chpe@gnome.org>
8234 * modules/other/gail/libgail-util/Makefile.am:
8235 Keep the same libtool version as the standalone libgail-util had.
8238 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
8240 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8242 2007-12-20 Alexander Larsson <alexl@redhat.com>
8244 * gdk/x11/gdkapplaunchcontext-x11.c:
8245 Update for gio API changes
8247 2007-12-20 Richard Hult <richard@imendio.com>
8249 * gdk/quartz/GdkQuartzWindow.c:
8250 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8251 processing events after changing the size.
8253 2007-12-20 Richard Hult <richard@imendio.com>
8255 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8256 Add stub for quartz to fix build.
8258 2007-12-20 Christian Persch <chpe@gnome.org>
8260 * modules/other/gail/Makefile.am:
8261 * modules/other/gail/gailimage.c: (gail_image_class_init),
8262 (gail_image_init), (elide_underscores), (gail_image_get_name),
8263 (atk_image_interface_init), (gail_image_finalize):
8264 * modules/other/gail/gailimage.h:
8265 R modules/other/gail/gailintl.h:
8266 * po/POTFILES.skip: Use the stock item's label as the name of the
8267 accessible in gailimage.c. Bug #504246.
8269 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
8271 Avoid some compiler warnings and remove obsolete code. (#339540)
8273 * gtk/gtkcalendar.c: Change week and year variable in
8274 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8275 0" block from calendar_paint_day: The feature in question is handled
8276 few lines above. Cast data returned by gtk_selection_data_get_text()
8277 to (gchar*) in gtk_calendar_drag_data_received.
8279 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
8281 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8283 2007-12-19 Johan Dahlin <johan@gnome.org>
8285 * tests/buildertest.c (test_object_properties):
8286 Add another call to gtk_builder_add_string after using
8287 delayed properties, as reported in #504393 but already
8290 2007-12-18 Christian Persch <chpe@gnome.org>
8293 * docs/reference/Makefile.am:
8294 * docs/reference/libgail-util/*:
8295 * gail-uninstalled.pc.in:
8297 * modules/Makefile.am:
8298 * modules/other/Makefile.am:
8299 * modules/other/gail/*:
8300 * modules/other/gail/libgail-util/*:
8301 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8303 2007-12-17 Matthias Clasen <mclasen@redhat.com>
8305 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8306 * gdk/win32/gdkproperty-win32.c:
8307 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8309 * gtk/gtkimmodule.[hc]:
8310 * gtk/gtkimmulticontext.[hc]: When determining the default context,
8311 look at the gtk-im-module setting, and listen for changes to the
8312 setting. (#502446, Akira Tagoh)
8314 2007-12-17 Kristian Rietveld <kris@imendio.com>
8316 * gtk/gtktooltip.c (gtk_tooltip_finalize),
8317 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8318 to NULL as soon as it's destroyed. (#496546, patch from
8321 2007-12-17 Kristian Rietveld <kris@imendio.com>
8323 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8324 always determine what arrow to show if show_sort_indicator is true.
8325 (#352738, Chris Vine).
8327 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
8329 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8332 * gtk/gtkpaned.c: Call gtk_container_forall instead of
8333 gtk_container_foreach in get_child_panes.
8335 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
8337 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8339 Plug leak: When reordering the info in the list the old node is
8340 removed but not freed. (#503569)
8342 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
8344 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8345 Use u32 instead of __u32 and u8 instead of __u8 as the other types
8346 are deprecated since DirectFB 1.0.0. If compiling with an older
8347 version define the new type name to the old types. Fixes bug #503190.
8349 2007-12-14 Ray Strode <rstrode@redhat.com>
8351 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8352 instead of g_signal_connect_after (..., "realize", ...) as an
8353 alternative to gtk_widget_realize () (bug 503537).
8355 2007-12-14 Michael Natterer <mitch@imendio.com>
8357 * gdk/gdkinternals.h
8358 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8361 * gdk/gdkapplaunchcontext.c
8362 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8363 header already includes everything now.
8365 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8367 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8368 next stable release shall be 2.16, not 2.14 - even if disagree.
8370 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8372 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8374 Change GtkToolItem to retrieve its properties from GtkToolShell
8375 interface, instead of relying on being child of a GtkToolbar.
8378 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8379 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8380 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8381 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8382 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8383 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8384 Take section docs from template file and update them for GtkToolShell.
8385 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8386 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8388 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8390 Extract loading of GtkPageSetup and GtkPrintSettings from their
8391 *_new_*() functions and move that code into separate
8392 *_load_*() functions (#475565).
8394 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8395 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8396 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8397 Change the matching *_new_*() functions to use those functions.
8399 2007-12-14 Matthias Clasen <mclasen@redhat.com>
8402 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8404 2007-12-14 Kristian Rietveld <kris@imendio.com>
8406 * gtk/tests/liststore.c:
8407 * gtk/tests/treestore.c: added tests for insertion functions.
8409 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
8411 * Add RandR 1.2 support
8413 - New monitors_changed signal - New API to get width/height of
8414 monitors, and the name of the plug
8416 2007-12-13 Kristian Rietveld <kris@imendio.com>
8418 * gtk/tests/liststore.c:
8419 * gtk/tests/treestore.c: test the move and swap functions on a
8420 store with only one node.
8422 2007-12-13 Kristian Rietveld <kris@imendio.com>
8424 * gtk/gtktestutils.c (gtk_test_init): add a call to
8427 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8430 2007-12-13 Kristian Rietveld <kris@imendio.com>
8432 * gtk/tests/liststore.c:
8433 * gtk/tests/treestore.c: start composing tests for the list and tree
8436 * gtk/tests/treeview-scrolling.c: added automated tests for
8437 GtkTreeView's scrolling "subsystem".
8439 * gtk/tests/Makefile.am: updated; added new test programs.
8441 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
8443 Make the code compile again after the GdkAppLaunchContext changes.
8445 * configure.in: Add gio-2.0 to GDK_PACKAGES.
8446 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8448 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8450 * gdk/gdkapplaunchcontext.c: Add docs
8452 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8454 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
8455 in gdk, providing startup notification. (#503203)
8457 * gdk/x11/gdkapplaunchcontext-x11.c:
8458 * gdk/win32/gdkapplaunchcontext-win32.c:
8459 * gdk/quartz/gdkapplaunchcontext-quartz.c:
8460 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8461 parts. All but X11 are just empty stubs for now.
8464 * gdk/gdkinternals.h:
8466 * gdk/x11/Makefile.am:
8467 * gdk/win32/Makefile.am:
8468 * gdk/quartz/Makefile.am:
8469 * gdk/directfb/Makefile.am: Necessary glue.
8471 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
8473 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8475 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8477 * gdk/directfb/gdktestutils-directfb.c:
8478 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8479 which adds testing functions to the DirectFB backend.
8481 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8483 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8484 Ciccani which fixes the mixing of gdk and cairo rendering.
8486 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
8488 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8489 on "drag-motion" handlers. Clearify documentation for
8492 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
8494 * buildertest.c: made unnecessarily exported symbols static.
8495 switched g_return_if_fail() statements in tests to assertions.
8496 special cased currently failing Widget/accesibility test to
8497 run only for g_test_thorough(), so it doesn't break make check.
8498 some coding style fixes.
8500 * Makefile.am: added buildertest to TEST_PROGS.
8502 2007-12-11 Stefan Kost <ensonic@users.sf.net>
8504 * docs/tutorial/gtk-tut.sgml:
8505 Use gtk_widget_get_parent_window() instead of widget->parent->window.
8507 2007-12-10 Richard Hult <richard@imendio.com>
8509 * gdk/quartz/Makefile.am:
8510 * gdk/quartz/gdkquartz.h:
8511 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
8512 header (bug #405915). Also add a getter for the toplevel nswindow.
8514 2007-12-10 Richard Hult <richard@imendio.com>
8516 * gdk/quartz/gdkdrawable-quartz.c:
8517 (gdk_quartz_drawable_get_context),
8518 (gdk_quartz_drawable_release_context):
8519 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
8520 (gdk_event_check), (gdk_event_dispatch), (poll_func):
8521 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
8522 used for each drawing context and in prepare, dispatch and poll
8523 with one that exists across each main loop iteration. Fixes leaks
8524 on leopard and protects against future leaks introduce when the
8525 underlying system changes again (bug #492977).
8527 2007-12-10 Richard Hult <richard@imendio.com>
8529 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
8530 Fix the check for no changes to position and size.
8532 2007-12-10 Richard Hult <richard@imendio.com>
8534 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
8535 sized areas at (0, 0), patch from Paul Davis.
8537 2007-12-10 Richard Hult <richard@imendio.com>
8539 * gdk/quartz/gdkprivate-quartz.h:
8540 * gdk/quartz/gdkeventloop-quartz.c:
8541 (_gdk_quartz_event_loop_get_pending),
8542 (_gdk_quartz_event_loop_check_pending),
8543 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
8544 (gdk_event_check), (gdk_event_dispatch):
8545 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
8546 (_gdk_events_queue): Fix a bug where we could end up trying to
8547 handle the same event more than once. Based on patch from Paul
8550 2007-12-10 Tor Lillqvist <tml@novell.com>
8552 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
8555 2007-12-10 Matthias Clasen <mclasen@redhat.com>
8557 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
8558 to avoid further fallout from the fix for bug 388321.
8560 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8562 * gdk/directfb/gdkgc-directfb.c:
8563 * gdk/directfb/gdkdrawable-directfb.c:
8564 * gdk/directfb/gdkdirectfb.h:
8565 * gdk/directfb/gdkwindow-directfb.c:
8566 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8567 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
8568 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
8569 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
8570 which are expected to improve the performance of the DirectFB backend.
8571 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
8573 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8575 * gtk/gtkcontainer.c: Correct the documentation of child
8576 property getter arguments. (#501992, David Brigada)
8578 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8580 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
8581 leak pixbufs. (#502250, Yevgen Muntyan)
8583 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
8585 * gtk/gtkprintunixdialog.c:
8586 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
8587 Print and Page Setup dialogs (#502202).
8589 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
8591 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
8592 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
8593 of XVFB_START, since it's the GTESTER invokation that needs this.
8595 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
8597 * gdk-pixbuf/gdk-pixbuf.symbols:
8599 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
8600 positives in abicheck.sh
8602 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8604 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
8605 GDK events generations in the DirectFB backend.
8607 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
8609 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
8610 set of likely unused display ids, because MacOS has no seq(1) command.
8612 2007-12-06 Richard Hult <richard@imendio.com>
8614 * gdk/quartz/gdkevents-quartz.c:
8615 (synthesize_crossing_events_for_ns_event): Fix warning when
8616 switching spaces in leopard.
8618 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
8620 * tests/floatingtest.c: ported to new testing framework.
8622 * tests/Makefile.am: run floatingtest as testing framework test.
8624 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
8626 * tests/autotestfilechooser.c: majorly speed up execution by reducing
8627 timeouts and converting main loop sleeps to pending/iterate loops with
8628 very low priority async handlers. eliminate output for non-verbose
8629 tests. assert successfull subtests in all test functions. use testing
8630 framework in main().
8632 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
8633 executed inside Xvfb upon make check.
8635 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
8637 * tests/objecttests.c: use string comparisons for string property
8638 values and get rid of referencing symbols in array initialization.
8640 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
8642 * gtk+/Makefile.decl: run tests in current dir after setting up the
8643 logging directory, so their results get properly merged into the
8646 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
8647 tests to loop over registered Gdk/Gtk+ types.
8649 * gtk+/tests/objecttests.c: new test program, implements automated
8650 property tests. several properties are blacklisted because they
8651 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
8652 can be used to test blacklisted properties and see which proprty failed.
8654 2007-12-04 Richard Hult <richard@imendio.com>
8656 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
8657 Fully initialize the root window, fixes bug #501583.
8659 2007-12-04 Matthias Clasen <mclasen@redhat.com>
8661 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
8664 2007-12-03 Richard Hult <richard@imendio.com>
8666 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
8667 Don't crash when dragging from a source that doesn't support uri
8668 lists (bug #499868, Paul Davis).
8670 2007-12-03 Richard Hult <richard@imendio.com>
8672 * gdk/quartz/gdkwindow-quartz.c:
8673 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
8674 parent relative bg pixmap is set, and no parent has a bg
8675 pixmap. Fixes bug #500804.
8677 2007-12-03 Matthias Clasen <mclasen@redhat.com>
8679 Two optimizations for icon cache lookups.
8681 * gtk/gtkiconcache.[hc]:
8682 * gtk/gtkicontheme.c: Remember the directory index for
8683 subdirectories, instead of running over the directory list
8686 * gtk/gtkiconcache.c (find_image_offset): Remember the last
8687 chain and try it first; this helps with the the usage patterns
8688 in gtkicontheme.c, where the same icon is queried for a lot
8691 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
8693 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
8694 functions from header files. this should be portable across linux and
8695 Mac OS, unlike the previpous sed expression.
8697 2007-12-1 Cody Russell <bratsche@gnome.org>
8699 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
8700 On Windows, queue a redraw of child2 whenever we set
8701 the pane handle position. This is unfortunately kind
8702 of hacky, but solves the visual artifacts that were
8703 occuring on at least certain types of child widgets
8704 (e.g., text views and tree views) that are inside
8705 horizontal or vertical panes. (#144269)
8707 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8709 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8711 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8713 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8716 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8718 * gtk/Makefile.am: Fix ordering of subdirs.
8720 2007-11-28 Tor Lillqvist <tml@novell.com>
8722 A proper build of GNU libintl is supposed to export the variable
8723 _nl_msg_cat_cntr. configure looks for that variable in order to
8724 recognize GNU gettext. If it sees that it is indeed GNU gettext
8725 that is used, it decides to install message catalogs in
8726 share/locale, otherwise in lib/locale. Until now on Windows I have
8727 built GTK+ against a build of GNU gettext that did not export
8728 _nl_msg_cat_cntr. But this will change, so we can't assume message
8729 catalogs are always in lib/locale.
8731 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8732 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8733 before the inclusion of gtkprivate.h so that it sees the original
8736 * gtk-zip.sh.in: Check whether the message catalogs are in
8737 share/locale or lib/locale.
8739 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8740 that the code in _gtk_get_localedir() will find the slashes.
8742 2007-11-28 Tor Lillqvist <tml@novell.com>
8744 * gtk/Makefile.am: Improve portability. The -o option is present
8745 only in newish GNU egreps. Use one more sed in the pipeline
8748 2007-11-28 Tor Lillqvist <tml@novell.com>
8750 Fix #375893, patch by Ben Hague:
8752 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8753 around GetLogicalDrives() that takes also the viewable drive
8754 restrictions in the Registry (which are usually the result of an
8755 Active Directory Group Policy) into account.
8757 (check_volumes, gtk_file_system_win32_list_volumes) Call
8758 get_viewable_logical_drives() instead of GetLogicalDrives().
8760 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8762 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8763 variables to silence valgrind. (#495124, Morten Welinder)
8765 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8767 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8768 that the construct_child function is responsible for returning a
8770 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8771 objects from constructors
8772 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8773 g_object_ref() to this construction function (it's the only
8778 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8780 * gtkbuilder.c: remove concept of root objects and just refcount
8781 all objects in the builder. Fixes #496651.
8783 2007-11-26 Ryan Lortie <desrt@desrt.ca>
8785 * tests/buildertest.c (test_window): fix invalid free
8787 2007-11-26 Josselin Mouette <joss@malsain.org>
8789 reviewed by: Federico Mena Quintero
8791 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8792 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8793 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8794 Make the shortcuts activate with a single click. (#148828)
8795 Fix a few things affected by the change:
8796 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
8797 where no shortcut is selected.
8798 - Don't activate a shortcut in the response callback.
8799 - Filter out duplicate entries in volumes and bookmarks to
8800 avoid the selection to change when reordering them with DnD.
8802 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8805 * gtk/gtknotebook.c:
8806 * gtk/gtkplugprivate.h:
8808 * gtk/gtksocketprivate.h:
8809 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8811 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8813 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8814 (#495574, Richard Hult)
8816 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8818 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8819 String change ! (#376361, Sven Neumann)
8821 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8823 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8825 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8828 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8830 * gtk/gtkassistant.c: Improve alternative button
8831 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8833 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8835 * gtk/gtkcalendar.c: Fix a theming problem with colors
8836 in GtkCalendar. (#499703, Michael Hofmann)
8838 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8840 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8842 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8844 Use templates for glib-mkenums calls instead of
8845 complicated commandlines in Makefiles. (#429910)
8847 * gdk-pixbuf/Makefile.am:
8850 * perf/Makefile.am: Use templates for glib-mkenums
8852 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8853 * gdk/gdkenumtypes.[ch].template:
8854 * gtk/gtktypebuiltings.[ch].template:
8855 * perf/typebuiltins.[ch].template: The templates
8857 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8859 * gtk/gtkfilechooserbutton.c:
8860 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8861 some compilers choke on that. (#467722)
8863 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8865 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8866 about hook setup. (#425004, Emmanuele Bassi)
8868 2007-11-26 Tor Lillqvist <tml@novell.com>
8870 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8871 monitor the window currently is on, not always the primary
8872 monitor. (#463865, Tim Evans)
8874 2007-11-26 Tor Lillqvist <tml@novell.com>
8876 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8878 * gdk/win32/Makefile.am: Add it.
8880 2007-11-26 Tor Lillqvist <tml@novell.com>
8882 * configure.in: Don't add jasper to all_loaders if no libjasper.
8884 2007-11-25 Bastien Nocera <hadess@hadess.net>
8886 * configure.in: Add detection for libjasper, used by the
8887 gdk-pixbuf JPEG2000 loader
8889 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8891 * configure.in: Require gtk-doc 1.8
8893 * */*.c: Use gtk-doc abbreviations for examples in docs.
8895 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8897 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8900 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8902 * gtk/gtkdialog.c: Move signal and property documentation inline,
8903 fix a problem with the ::response signal docs. (#499133, Josselin
8906 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
8908 * Makefile.decl: initialize automake variables EXTRA_DIST and
8909 TEST_PROGS for unconditional appending via += in other makefiles.
8910 define recursive test targets: test, test-report, perf-report,
8911 full-report, as described here:
8912 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8913 the test targets will execute Gtk+ test programs within an Xvfb session.
8915 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8917 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8918 g_test_run() to run the tests to integrate with the testing framework.
8920 * gtk/tests/Makefile.am: removed exemplary testing rules.
8922 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8923 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8924 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8925 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8926 * docs/reference/Makefile.am, docs/tools/Makefile.am:
8927 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8928 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8929 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8930 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8931 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8932 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8933 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8934 * modules/engines/ms-windows/Theme/Makefile.am:
8935 * modules/engines/ms-windows/Makefile.am:
8936 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
8937 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8938 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8939 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
8940 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
8941 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
8942 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
8944 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8946 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
8947 (#485662, patch by Herbert Valerio Riedel)
8949 2007-11-22 Matthias Clasen <mclasen@redhat.com>
8951 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
8953 2007-11-21 Richard Hult <richard@imendio.com>
8955 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
8956 stubs for the testing functions to fix the build.
8958 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8960 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
8961 (#467711, The Written Word)
8963 2007-11-21 Ross Burton <ross@openedhand.com>
8965 * gdk/x11/gdksettings.c:
8966 Add xsetting for gtk-scrolled-window-placement (#458103).
8968 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8970 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
8971 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
8972 (#469239, Michael Natterer)
8974 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
8976 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
8977 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
8978 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
8979 (#436536, Tommi Komulainen)
8981 2007-11-21 Matthias Clasen <mclasen@redhat.com>
8983 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
8984 property. (#489782, Jan Janech)
8986 2007-11-20 Matthias Clasen <mclasen@redhat.com>
8988 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
8989 frames. (#107398, Owen Taylor, Miguel Gomez)
8991 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
8993 Moved Gdk test functions from Gtk+ to Gdk test utils.
8995 * gdk/Makefile.am: added gdktestutils.h to public includes.
8997 * gdk/gdk.h: added gdktestutils.h to public includes.
8999 * gdk/gdk.symbols: added gdk_test_simulate_button,
9000 gdk_test_simulate_key, gdk_test_render_sync.
9002 * gdk/gdktestutils.h: new file, added prototypes for
9003 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
9005 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
9007 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
9008 gdk_test_simulate_key, gdk_test_render_sync.
9010 * gtk/gtktestutils.c:
9011 * gtk/gtktestutils.h:
9012 * gtk/gtk.symbols: removed gtk_test_simulate_button
9013 gtk_test_simulate_key, gtk_test_xserver_render_sync.
9015 * gtk/tests/testing.c: call gdk_test_render_sync.
9017 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
9019 Added unit tests for Gtk+ testing utilities.
9021 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
9022 utility functions. some g_test_* related portions are disabled and need
9023 to be enabled once Gtk+ depends on a new glib with the GLib testing
9024 framework integrated.
9026 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
9027 tests. added exemplary test rules to run tests inside Xvfb. this
9028 needs to depend on gtester for full fledged testing.
9030 * gtk/Makefile.am: build gtk+/gtk/tests, define
9031 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
9032 e.g. gtk_text_get_type().
9034 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
9036 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
9038 Added Gtk+ testing utilities.
9040 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
9041 functions. for the most part, the functions herein involve
9042 navigating and interacting with dialog elements programatically,
9043 to automate user interaction tests of dialogs and widgets.
9045 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
9047 * gtk/gtk.symbols: added gtk_test_* symbols.
9049 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
9050 the build. generate gtktypefuncs.c which contains a list of all
9051 _get_type functions in Gtk+ and Gdk.
9053 2007-11-20 Bastien Nocera <hadess@hadess.net>
9055 * configure.in: add support for conditional icns gdk-pixbuf loader
9058 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
9060 * configure.in: updated version number to 2.15.0 for development.
9062 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
9064 === Branch for 2.12 ===