1 2008-08-29 Michael Natterer <mitch@imendio.com>
3 * gtk/gtkpaned.c: minor indentation / coding style fixes.
5 2008-08-29 Matthias Clasen <mclasen@redhat.com>
7 Bug 549262 – GtkScrolledWindow should not accept focus unless
10 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): only grab the
11 focus, if GTK_WIDGET_CAN_FOCUS() returns TRUE. Patch by Sven
14 2008-08-29 Matthias Clasen <mclasen@redhat.com>
17 * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into
18 gtk_selection_data_get_data and gtk_selection_data_get_length.
19 Proposed by Owen Taylor.
21 2008-08-28 Christian Dywan <christian@imendio.com>
23 Bug 549734 – gtk_selection_data_get_data prototype is wrong
25 * gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the
26 'length' argument of gtk_selection_data_get_data a 'gint', that's
29 2008-08-27 Cody Russell <bratsche@gnome.org>
31 * gdk/win32/gdkevents-win32.c:
32 * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if
33 the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
34 calling ShowWindow (), and show using SW_SHOWMAXIMIZED or
35 SW_RESTORE accordingly. This fixes an issue where maximized
36 windows that are iconified do not restore back to maximized
37 when you click the taskbar. (#528975)
39 2008-08-27 Matthias Clasen <mclasen@redhat.com>
41 * gtk/gtkprintoperation.c: Documentation fixes.
43 2008-08-27 Matthias Clasen <mclasen@redhat.com>
45 * gdk/x11/gdkwindow-x11.c:
46 * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent
47 implementations to avoid #548993. Patch by Ed Catmur.
49 2008-08-27 Matthias Clasen <mclasen@redhat.com>
51 * modules/printbackends/cups/gtkprintbackendcups.c: Don't capitalize
52 "per" in "Pages per Sheet".
54 2008-08-26 Matthias Clasen <mclasen@redhat.com>
56 Bug 549354 – Crash trying to open a file on a remote folder
58 * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle
59 the fact that parent may be NULL without crashing.
61 2008-08-25 Matthias Clasen <mclasen@redhat.com>
63 * modules/printbackends/cups/gtkprintbackendcups.c: Replace
64 a long timeout with a second-granularity timeout.
66 2008-08-25 Matthias Clasen <mclasen@redhat.com>
68 * gtk/gtkprintunixdialog.c:
69 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
70 hints to many strings.
72 2008-08-25 Gian Mario Tagliaretti <gianmt@gnome.org>
74 Bug 549236 – missing Since 2.14 in gtk_file_chooser_get_file
76 * gtk/gtkmountoperation.c:
78 * gtk/gtkfilechooser.c: Fix the docs, missing Since 2.14.
80 2008-08-21 Matthias Clasen <mclasen@redhat.com>
82 * gtk/gtksettings.c: When reconstructing the color hash, try
83 harder to avoid unnecessary notification, since this can lead
84 to infinite reloading of rc files in some situations.
86 2008-08-21 Cody Russell <bratsche@gnome.org>
88 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
89 to see if the window is modally blocked. This doesn't get us anything,
90 and it confuses the search window in GtkTreeView (and potentially other
91 utility windows in other apps). (#520165)
93 2008-08-21 Michael Natterer <mitch@imendio.com>
95 * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
97 2008-08-21 Marek Kasik <mkasik@redhat.com>
99 Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
102 * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges
104 2008-08-21 Marek Kasik <mkasik@redhat.com>
106 * ChangeLog: changelog update for previous commit
108 2008-08-21 Marek Kasik <mkasik@redhat.com>
110 Bug 535158 – can't rearrange the order of multi pages per side
114 * gtk/gtkprintunixdialog.c
115 * gtk/gtkprintsettings.c
116 * gtk/gtkprintsettings.h
118 * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
119 specify layout of pages per sheet in number-up mode
121 Wed Aug 20 18:16:29 2008 Søren Sandmann <sandmann@redhat.com>
123 * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the
124 monitors changed signal when the screen size changes.
126 2008-08-20 Torsten Schoenfeld <kaffeetisch@gmx.de>
128 Bug 548346 – gtk_color_selection_dialog_get_color_selection always
131 * gtk/gtkcolorseldialog.c
132 (gtk_color_selection_dialog_get_color_selection): Use the correct
133 macro to test the validity of the passed-in dialog.
135 2008-08-05 Milan Crha <mcrha@redhat.com>
137 * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
138 arrows even on non-focusable notebook. (#528091)
140 2008-08-19 Federico Mena Quintero <federico@novell.com>
142 http://bugzilla.gnome.org/show_bug.cgi?id=543308 - The file
143 chooser in "compact" mode uses the same size as in "open" mode.
145 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Don't
146 force the default size here. Let GtkFileChooserDefault be solely
147 in charge of default sizing.
148 (set_default_size): Removed obsolete code.
150 * gtk/gtkfilechooserdefault.c (emit_default_size_changed): New
151 helper function, to avoid dupliated code. Only emits the signal
152 if the widget is mapped, because that is when we actually know the
154 (update_preview_widget_visibility): Use emit_default_size_changed()
155 (update_appearance): Likewise.
156 (gtk_file_chooser_default_style_set): Likewise.
157 (gtk_file_chooser_default_screen_changed): Likewise.
158 (gtk_file_chooser_default_map): Likewise.
159 (find_good_size_from_style): Unconditionally compute a good
160 default size for the "OPEN" modes; don't store it in internal fields.
161 (gtk_file_chooser_default_get_default_size): Only compute the
162 font-based size if we are in one of the "OPEN" modes or in
165 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
166 Removed default_width/default_height; we don't store these
167 anymore. This will make recycled file choosers (like in the GIMP)
168 not "remember" their size across invocations. However, this
169 prepares the way for actually remembering the user's size globally
170 in the settings file.
172 2008-08-19 Björn Lindqvist <bjourne@gmail.com>
174 Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate
176 * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some
177 code duplication, no need for separate loops for GTK_PACK_START
180 2008-08-19 Johan Dahlin <johan@gnome.org>
182 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
183 Remove the requres-version tag as well
185 2008-08-18 Matthias Clasen <mclasen@redhat.com>
187 * configure.in: Bump version
189 * ==== Released 2.13.7 ===
191 2008-08-19 Mathias Hasselmann <mathias@openismus.com>
193 Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars
195 * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year"
196 property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days()
197 multiplies the year property with 365 and returns the result as
198 glong. Therefore ceil(log(365, 2)) = 9 bits must be available,
201 2008-08-18 Björn Lindqvist <bjourne@gmail.com>
203 Bug 541315 – Segfault when selecting a GtkMenuItem with submenu
206 * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure
207 that the menu item has a parent before popping it up.
209 2008-08-18 Johan Dahlin <johan@gnome.org>
211 Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView
213 * gtk/gtk-builder-convert: Rename the text property to buffer.
215 2008-08-16 Matthias Clasen <mclasen@redhat.com>
217 * gtk/gtksizegroup.c: Use g_quark_from_static_string() where possible.
219 2008-08-16 Matthias Clasen <mclasen@redhat.com>
223 2008-08-16 Torsten Schoenfeld <kaffeetisch@gmx.de>
225 * gdk/gdkwindow.c: Fix small issues in the documentation of
226 gdk_window_remove_redirection and gdk_window_redirect_to_drawable.
228 2008-08-15 Richard Hult <richard@imendio.com>
230 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): Some
231 aftermath of the fix of bug #543868. Clip and flip to the source,
232 not the destination. Don't save/restore the gstate, it's already
233 done when getting/releasing the context.
235 2008-08-15 Richard Hult <richard@imendio.com>
237 * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
238 Add another missing symbol.
240 2008-08-15 Behdad Esfahbod <behdad@gnome.org>
242 Bug 547680 – fontconfig monitoring can crash apps
244 * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache
245 before recreating fontconfig config.
247 2008-08-15 Sven Herzberg <sven@imendio.com>
249 Use the g_test_*() API for this test
250 reviewed by: Richard Hult
252 * gdk/tests/check-gdk-cairo.c: use the g_test_*() API to permit adding
255 2008-08-15 Sven Herzberg <sven@imendio.com>
257 Prepare for using the g_test_*() API
258 reviewed by: Richard Hult
260 * gdk/tests/check-gdk-cairo.c: use assertions instead of returning an
263 2008-08-15 Claudio Saavedra <csaavedra@igalia.com>
265 Bug 547944 – Self-reference in gtk_page_setup_load_file's docs
267 * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file()
268 documentation. Pointed out by Torsten Schoenfeld.
270 2008-08-15 Matthias Clasen <mclasen@redhat.com>
272 Bug 547655 – gio_can_sniff configure test can fail if not installed
273 with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set
275 * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS.
277 2008-08-15 Christian Dywan <christian@imendio.com>
279 Bug 547846 – gtktestutils functions lack Since: tags
281 * gtk/gtktestutils.c: Add missing Since tags
283 2008-08-15 Christian Dywan <christian@imendio.com>
285 Bug 547775 – Documentation of gtk-button-images is not correct
287 * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation
288 of "gtk-button-images" setting
290 2008-08-13 Matthias Clasen <mclasen@redhat.com>
292 Bug 547673 – Accessors for GtkFileSelection.font_entry and
296 * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
297 actually part of the font selection dialog in standard builds.
298 Pointed out by Torsten Schoenfeld
300 2008-08-13 Matthias Clasen <mclasen@redhat.com>
302 Bug 547516 – Add comments for translators in gtkprintbackendcups.c
304 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
305 hints. Patch by Leonardo Ferreira Fontenelle
307 2008-08-13 Michael Natterer <mitch@imendio.com>
309 * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
313 * gtk/gtkentrycompletion.c
315 * gtk/gtkoldeditable.c
318 * gtk/gtkwidget.c: changed accordingly.
320 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
322 Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama
323 doesn't compile on Solaris
325 * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile
326 when HAVE_SOLARIS_XINERAMA is defined.
328 2008-08-13 Michael Natterer <mitch@imendio.com>
330 * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
331 g_dgettext() to fix warning about discarded qualifier.
333 2008-08-12 Paolo Borelli <pborelli@katamail.com>
335 * gtk/gtkclipboard.c (gtk_clipboard_store):
336 use canonical signal name.
338 2008-08-12 Paolo Borelli <pborelli@katamail.com>
340 Bug 526234 - make shift+ctrl+del delete till the end of line
342 * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
343 keyboard shortcuts to delete to the end/start of the current line.
345 2008-08-12 Michael Natterer <mitch@imendio.com>
347 * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
348 label to set the color on.
350 (gtk_link_button_add): call set_link_color() so the label gets
351 the right color no matter how the link button is created.
353 2008-08-12 Michael Natterer <mitch@imendio.com>
355 * gtk/gtkassistant.c: remove unused variable and fix formatting of
356 some function headers.
358 2008-08-12 Michael Natterer <mitch@imendio.com>
360 * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
363 * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
364 visible for GDK_PIXBUF_COMPILATION.
366 * contrib/gdk-pixbuf-xlib/Makefile.am
368 * demos/gtk-demo/Makefile.am
369 * gdk-pixbuf/pixops/Makefile.am
371 * gdk/x11/Makefile.am
373 * gtk/tests/Makefile.am
374 * gtk/theme-bits/Makefile.am
375 * modules/engines/ms-windows/Makefile.am
376 * modules/engines/pixbuf/Makefile.am
377 * modules/input/Makefile.am
379 * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
381 2008-08-12 Michael Natterer <mitch@imendio.com>
383 * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
384 g_return_val_if_fail() now that the function has a return value.
386 2008-08-12 Sven Neumann <sven@gimp.org>
388 * gtk/gtkaccellabel.c
391 * gtk/gtkcolorbutton.c
394 * gtk/gtkdnd-quartz.c
397 * gtk/gtkfilechooserdefault.c
406 * gtk/gtkrecentchooserdialog.c
407 * gtk/gtkrecentchooserutils.c
411 * gtk/gtktextbuffer.c
416 * gtk/gtkwindow-decorate.c
417 * gtk/gtkwindow.c: use canonical signal names in some more places
418 that I missed earlier. Also changed this in the documentation and
421 2008-08-12 Sven Neumann <sven@gimp.org>
424 * gtk/gtkradiotoolbutton.c: property nick and blurb should be
425 marked with P_(), not _().
427 2008-08-12 Michael Natterer <mitch@imendio.com>
429 * examples/gtkdial/gtkdial.c
430 * gdk/gdkapplaunchcontext.c
432 * gtk/gtkcellrendererpixbuf.c
433 * gtk/gtkcellrenderertext.c
440 * gtk/gtktexttagtable.c: remove dereferencing from some function
441 pointers i missed before.
443 2008-08-12 Michael Natterer <mitch@imendio.com>
445 * gtk/gtkaccellabel.c
450 * gtk/gtkfilechooserbutton.c
451 * gtk/gtkfilechooserdefault.c
459 * gtk/gtkmessagedialog.c
464 * gtk/gtkprintunixdialog.c
466 * gtk/gtkrecentchooserdefault.c
475 * gtk/gtkwin32embedwidget.c: chain up unconditionally in
476 realize(), unrealize(), map(), unmap(), style_set(),
477 key_press_event() and size_request()
479 2008-08-12 Michael Natterer <mitch@imendio.com>
481 * gtk/gtkwidget.c: change names of default implementations of
482 our own signals to consistently contain "real":
484 gtk_widget_style_set -> gtk_widget_real_style_set
485 gtk_widget_direction_changed -> gtk_widget_real_direction_changed
487 2008-08-12 Michael Natterer <mitch@imendio.com>
489 * gtk/*.c: consistently chain up using
490 GTK_FOO_CLASS(parent_class)->bar(instance) instead of
491 (*GTK_FOO_CLASS(parent_class))->bar(instance).
493 2008-08-12 Matthias Clasen <mclasen@redhat.com>
495 Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
496 of an ouput parameter
498 * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
499 return the GIcon directly.
500 Complaint by Murray Cumming
502 2008-08-11 Michael Natterer <mitch@imendio.com>
504 Bug 546754 – 2.13.6 update create rendering issue in the evolution
507 * gtk/gtkadjustment.c: instead of CLAMP(), use
509 value = MIN (value, upper - page_size);
510 value = MAX (value, lower);
512 so we don't end up below lower if upper - page_size is smaller
515 2008-08-11 Matthias Clasen <mclasen@redhat.com>
517 Bug 546616 – CUPS print backend uses 1.2 API without guards
519 * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
520 of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
521 Patch by Sven Herzberg and Richard Hult
523 2008-08-11 Michael Natterer <mitch@imendio.com>
525 Bug 547270 – Make GtkHSV public
528 * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
529 always public anyway).
531 * gtk/gtkhsv.h: add single-include guards, add class struct padding,
532 seal the instance member, cleanup.
534 * gtk/gtkhsv.c: center the widget in its allocation,
535 add "Since: 2.14", cleanup.
537 2008-08-11 Torsten Schoenfeld <kaffeetisch@gmx.de>
539 * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
540 to correctly state 2.14, not 2.16.
542 2008-08-11 Sven Neumann <sven@gimp.org>
544 * demos/gtk-demo/changedisplay.c
545 * demos/gtk-demo/clipboard.c
546 * demos/gtk-demo/drawingarea.c
547 * demos/gtk-demo/iconview.c
548 * demos/gtk-demo/images.c
549 * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
551 2008-08-11 Matthias Clasen <mclasen@redhat.com>
553 Bug 547211 – Duplicated mnemonic
555 * gtk/gtkmountoperation.c: Change mnemonics around in
556 the password dialog to avoid a conflict.
557 Reported by Gil Forcada
559 2008-08-11 Sven Neumann <sven@gimp.org>
561 * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
563 2008-08-11 Sven Neumann <sven@gimp.org>
565 * examples/*: updated the (quite outdated) examples to use
566 canonical signal names as well. Removed some unneeded casts and
567 trailing whitespace while I was on it...
569 2008-08-11 Sven Neumann <sven@gimp.org>
571 * modules/input/gtkimcontextime.c
572 * modules/input/gtkimcontextmultipress.c
573 * modules/input/gtkimcontextxim.c: use canonical signal names.
575 2008-08-11 Sven Neumann <sven@gimp.org>
577 * gtk/gtkdnd-quartz.c
581 * gtk/gtkimcontextsimple.c
582 * gtk/gtkimmulticontext.c
583 * gtk/gtkoptionmenu.c
585 * gtk/gtkrecentchooserdefault.c
586 * gtk/gtkscrolledwindow.c
587 * gtk/gtksocket-x11.c: use canonical signal names in some more
588 places that I missed earlier.
590 2008-08-11 Sven Neumann <sven@gimp.org>
592 * gtk/gtkaccelgroup.c
593 * gtk/gtkactiongroup.c
595 * gtk/gtkcelleditable.c
596 * gtk/gtkclipboard-quartz.c
598 * gtk/gtkcolorbutton.c
601 * gtk/gtkcurve.c: use canonical signal names.
603 2008-08-11 Sven Neumann <sven@gimp.org>
606 * gtk/gtkentrycompletion.c
610 * gtk/gtkinputdialog.c
611 * gtk/gtktreeview.c: use canonical signal names.
613 2008-08-11 Sven Neumann <sven@gimp.org>
618 * gtk/gtklistitem.c: use canonical signal names.
620 2008-08-11 Sven Neumann <sven@gimp.org>
626 * gtk/gtkoldeditable.c
627 * gtk/gtkpaned.c: use canonical signal names.
629 2008-08-11 Michael Natterer <mitch@imendio.com>
631 * demos/gtk-demo/textscroll.c (create_text_view): don't use the
632 deprecated gtk_box_pack_start_defaults().
634 2008-08-11 Sven Neumann <sven@gimp.org>
636 * gtk/gtkaboutdialog.c
637 * gtk/gtkcellrendereraccel.c
638 * gtk/gtkcellrenderercombo.c
639 * gtk/gtkcellrendererspin.c
640 * gtk/gtkcellrenderertext.c
645 * gtk/gtkdnd-quartz.c
648 * gtk/gtkentrycompletion.c
649 * gtk/gtkfilechooserbutton.c
650 * gtk/gtkfilechooserdefault.c
651 * gtk/gtkfilechooserentry.c
653 * gtk/gtkinputdialog.c
654 * gtk/gtkmenutoolbutton.c
656 * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
658 2008-08-11 Sven Neumann <sven@gimp.org>
662 * gdk/gdkdisplaymanager.c: use canonical signal names.
664 2008-08-10 Richard Hult <richard@imendio.com>
666 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
667 (gtk_clipboard_request_uris): Implement missing functions.
669 2008-08-09 Sven Herzberg <sven@imendio.com>
671 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
673 * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
675 2008-08-08 Cody Russell <bratsche@gnome.org>
677 Bug 547027 – menus are broken
680 * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
681 mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
682 in menus caused by bug #56070.
684 2008-08-09 Sven Herzberg <sven@imendio.com>
686 Get the gdk+cairo test to pass distcheck, too
688 * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
689 pick up the one created at build time
690 * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
693 2008-08-08 Sven Neumann <sven@gimp.org>
696 * gtk/gtkscrolledwindow.c
698 * gtk/gtkspinbutton.c
700 * gtk/gtkstatusicon.c: use canonical signal names.
702 2008-08-08 Sven Neumann <sven@gimp.org>
705 * gtk/gtktextbuffer.c
706 * gtk/gtktextlayout.c
707 * gtk/gtktexttagtable.c
713 * gtk/gtktreemodelfilter.c
714 * gtk/gtktreemodelsort.c
715 * gtk/gtktreeviewcolumn.c: use canonical signal names.
717 2008-08-08 Sven Neumann <sven@gimp.org>
721 * gtk/gtktreesortable.c
724 * gtk/gtkviewport.c: use canonical signal names.
726 2008-08-08 Sven Neumann <sven@gimp.org>
729 * gtk/gtkwindow.c: use canonical signal names.
731 2008-08-08 Sven Neumann <sven@gimp.org>
733 * gtk/gtkadjustment.c
740 * gtk/gtkspinbutton.c
744 * gtk/gtkviewport.c: use the canonical signal name "value-changed"
745 instead of "value_changed".
747 2008-08-08 Tor Lillqvist <tml@novell.com>
750 * gtk/makegtkalias.pl
752 * gtk/gtkfilechooser.c
754 * gtk/gtkiconfactory.c
759 * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
762 2008-08-07 Matthias Clasen <mclasen@redhat.com>
764 * configure.in: Its g_content_type_from_mime_type, not
765 g_content_type_for_mime_type. Noticed by Roger Brown
767 2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
769 * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
770 combination of g_warning+exit to avoid misleading the user.
772 2008-08-07 Michael Natterer <mitch@imendio.com>
774 * gtk/gtkactiongroup.c
775 * gtk/gtkcellrendererspin.c
776 * gtk/gtkfilechooserbutton.c
777 * gtk/gtktoolitem.c: chain up unconditionally in finalize().
779 2008-08-07 Michael Natterer <mitch@imendio.com>
783 * gtk/gtkfilechooserbutton.c
785 * gtk/gtkmenutoolbutton.c
786 * gtk/gtkoptionmenu.c
787 * gtk/gtkradiobutton.c
788 * gtk/gtkradiomenuitem.c
791 * gtk/gtktreeview.c: chain up unconditionally in destroy().
793 * gtk/gtkhandlebox.c: remove empty destroy() implementation.
795 2008-08-07 Michael Natterer <mitch@imendio.com>
797 Bug 546756 – gnome-panel crashed with SIGSEGV in
798 g_type_check_instance_cast()
800 * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
801 and remove the image now that it's an internal child and isn't
802 destroyed by gtk_container_destroy() any longer. Thanks to tml for
803 helping bisecting this down.
805 2008-08-07 Sven Neumann <sven@gimp.org>
807 Bug 546771 - Add writable property "visited" to GtkLinkButton
810 * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
811 read-write property with getters and setters. Also move the nick
812 and blurb of the "uri" property to the proper translation domain.
814 2008-08-07 Michael Natterer <mitch@imendio.com>
816 * gtk/gtkicontheme.c (apply_emblems): move variables to local
817 scopes, fix indentation and silence bogus warning about using
818 uninitialized variables.
820 2008-08-07 Richard Hult <richard@imendio.com>
822 Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
824 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
825 (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
826 deadlock and missing events.
828 2008-08-07 Richard Hult <richard@imendio.com>
830 * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
831 (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
832 Implement those, fixes loading python bindings.
834 2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
836 Bug 545031 – list of recently used files is created world-readable
838 * gtk/gtkrecentmanager.c:
839 (gtk_recent_manager_real_changed): Set the recently-used.xbel
840 file to 0600. (Guido Berhoerster)
842 2008-08-06 Michael Natterer <mitch@imendio.com>
844 * modules/printbackends/cups/gtkcupsutils.c
845 (gtk_cups_connection_test_free): remove return value, this
846 function returns void.
848 2008-08-06 Michael Natterer <mitch@imendio.com>
853 * gtk/gtkscrolledwindow.c
854 * gtk/gtktreeview.c: remove CLAMPing from values passed to
855 gtk_adjustment_set_value() since it does it right now.
857 2008-08-05 Matthias Clasen <mclasen@redhat.com>
859 * configure.in: Bump version
861 * === Released 2.13.6 ===
863 * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
864 since it breaks make distcheck.
866 2008-08-05 Michael Natterer <mitch@imendio.com>
868 * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
869 early if priv->button is NULL to avoid zillions of warnings when
870 destroying combo boxes that were working fine before the
871 button sensitivity patch.
873 2008-08-05 Michael Natterer <mitch@imendio.com>
875 Bug 544858 – Seal GtkAdjustment
878 * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
881 Add accessors for all properties and additionally a new function
882 gtk_adjustment_configure() which sets all properties at
883 once. Patch by Christian Dywan and myself.
885 2008-08-05 Michael Natterer <mitch@imendio.com>
887 * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
888 to [lower...upper-page_size] instead of only [lower...upper].
890 * README: add note about this change.
892 While this fix is correct and should have been there forever, it
893 has the potential to break some corner cases, however these cases
894 would set page_size to a value != 0 which suggests they want it
897 2008-08-05 Michael Natterer <mitch@imendio.com>
899 * tests/testiconview.c: don't use the deprecated
900 gtk_box_pack_start_defaults().
902 2008-08-04 Matthias Clasen <mclasen@redhat.com>
904 Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
906 * gtk/gtkcelllayout.c:
908 * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
909 implementations. Patch by Antti Kaijanmäki
911 2008-08-05 Tor Lillqvist <tml@novell.com>
913 * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
914 avoid warning on Win64.
916 2008-08-05 Tor Lillqvist <tml@novell.com>
918 * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
919 gintptr instead of long when calculating hash, so we get all of
920 the pointer bits on Win64 where long is 32 bits.
922 2008-08-05 Tor Lillqvist <tml@novell.com>
924 * gtk/gtkprintoperation-win32.c: Don't need to declare
925 IPrintDialogCallback with mingw64 either. It seems to be provided
926 with the newer versions of the headers included with mingw64.
928 2008-08-05 Tor Lillqvist <tml@novell.com>
930 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
932 * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
933 as the GdkNativeWindow parameter to
934 gtk_window_remove_embedded_xid(). Debugging printout format fixes.
936 * gtk/gtkwin32embed.h
937 * gtk/gtkwin32embed.c: Change the types of wparam and lparam
938 parameters to actually be WPARAM and LPARAM.
940 * gtk/gtkplug-win32.c: Adapt accordingly.
942 2008-08-04 Matthias Clasen <mclasen@redhat.com>
944 * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
945 a word, use 'audible' instead.
947 2008-08-05 Tor Lillqvist <tml@novell.com>
949 * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
950 with parens so cast covers all of it.
952 2008-08-04 Matthias Clasen <mclasen@redhat.com>
954 Bug 382291 – Automatically dim the combobox when the model is empty
957 * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
958 property with getter and setter to control the sensitity of
959 empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
960 Christian Dywan and others.
962 * README.in: Add a note about automatic combobox sensitivity.
964 2008-08-04 Matthias Clasen <mclasen@redhat.com>
966 * gtk/tests/Makefile.am: Skip crossingevents test when
967 running make check, since it doesn't work on a naked
970 2008-08-05 Tor Lillqvist <tml@novell.com>
972 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
976 * gdk/win32/gdkdnd-win32.c
977 * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
978 from guint32 to GdkNativeWindow for
979 gdk_drag_get_protocol_for_display() and
980 gdk_drag_get_protocol(). This is not an API break on existing
981 platforms, as GdkNativeWindow has been guint32 for them
986 * gdk/win32/gdkselection-win32.c
987 * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
988 parameter of gdk_selection_send_notify_for_display() and
989 gdk_selection_send_notify().
991 * gdk/win32/gdkcursor-win32.c
992 * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
993 versa to avoid gcc 4.4 signedness warnings.
995 * gdk/win32/gdkevents-win32.c
996 * gdk/win32/gdkproperty-win32.c
997 * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
998 casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
999 values in debugging output using the %p format.
1001 * gdk/win32/gdkkeys-win32.c
1002 * gdk/win32/gdkfont-win32.c
1003 * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
1005 * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
1008 * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
1012 * gtk/gtkwindow.c: Change the type of the xid parameter of the
1013 internal gtk_window_remove_embedded_xid() and
1014 gtk_window_add_embedded_xid() functions from guint to
1017 * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
1018 Instead of GPOINTER_TO_UINT(), just cast the gpointer to
1019 GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
1022 2008-08-05 Tor Lillqvist <tml@novell.com>
1024 * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
1025 before doing bit tests on them.
1027 2008-08-05 Tor Lillqvist <tml@novell.com>
1029 * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
1030 Windows, too. It just makes more sense, as a HWND *is* a kind of
1033 * gdk/gdkconfig.h.win32: Ditto here.
1035 2008-08-04 Björn Lindqvist <bjourne@gmail.com>
1037 Bug 534979 – GtkImageMenuItem is a bin but has two children.
1039 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
1040 include the image widget when iterating over non-internal
1041 children. Patch by rainwoodman.
1043 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1047 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1049 * configure.in: Bump glib dependency to 2.17.6
1051 2008-08-04 Michael Natterer <mitch@imendio.com>
1056 * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
1058 * gtk/gtktext.c: ditto, apart from the text cruft APIs.
1060 2008-08-04 Michael Natterer <mitch@imendio.com>
1062 * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
1063 "gdkrgb" is in the debug flags.
1065 * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
1066 here, this function is deprecated and the debug flag didn't work
1067 when using GDK properly.
1069 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1071 * gtk/gtkicontheme.c: Update to handle GEmblem.
1073 2008-08-04 Michael Natterer <mitch@imendio.com>
1075 * tests/prop-editor.c: undeprecate (apart from still using
1078 2008-08-04 Michael Natterer <mitch@imendio.com>
1080 * gtk/gtkseparatortoolitem.c
1081 * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
1083 * gtk/gtkcalendar.c (calendar_set_display_option): use
1084 gtk_calendar_set_display_options() instead of the deprecated
1085 gtk_calendar_display_options().
1087 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1089 * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
1091 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1093 * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
1094 to be the GtkNotebook background color. This is a workaround to
1095 prevent black pixels in rounded tabs when reordering. Improves
1098 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1101 * gtk/gtkfilechooserbutton.[ch]:
1102 * gtk/gtkfilechooserdefault.[ch]:
1103 * gtk/gtkfilechooserdialog.[ch]:
1104 * gtk/gtkfilechooserwidget.[ch]: Deprecate
1105 gtk_file_chooser_*_new_with_backend(), since GIO is already used
1106 directly. Fixes #545976.
1108 2008-08-04 Carlos Garnacho <carlos@imendio.com>
1111 * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
1113 * gtk/gtkfilechooserbutton.c:
1114 * gtk/gtkfilechooserdefault.c:
1115 * gtk/gtkfilechooserutils.c: Update to use public GFile API.
1117 2008-08-04 Michael Natterer <mitch@imendio.com>
1119 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
1121 Fix pltcheck.sh by restricting the visibility of deprecated
1122 symbols to the places where they are actually used:
1128 * gtk/gtkprogressbar.c
1130 * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
1131 __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
1138 * gtk/gtkprogress.h: make the headers visible if the respective
1139 __GTK_FOO_C__ are defined.
1141 2008-08-04 Michael Natterer <mitch@imendio.com>
1145 * gtk/gtkoldeditable.c
1147 * gtk/gtktipsquery.c
1149 * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
1151 2008-08-04 Michael Natterer <mitch@imendio.com>
1155 * gtk/gtkitemfactory.[ch]
1156 * gtk/gtkobject.[ch]
1157 * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
1159 2008-08-04 Sven Neumann <sven@gimp.org>
1161 * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
1162 color when the "visited" state is changed.
1164 2008-08-04 Michael Natterer <mitch@imendio.com>
1166 * gtk/gtkwindow.c: move the code of the deprecated
1167 gtk_window_set_policy() to a new private function
1168 gtk_window_set_policy_internal() and call it from
1169 gtk_window_set_policy().
1171 (gtk_window_set_resizable): use the new internal function in order
1172 to avoid our own deprecated public API.
1174 2008-08-04 Michael Natterer <mitch@imendio.com>
1176 * gtk/gtkbindings.c: move the code of the deprecated
1177 gtk_binding_entry_clear() to a new private function
1178 gtk_binding_entry_clear_internal() and call it from
1179 gtk_binding_entry_clear().
1181 (_gtk_binding_entry_add_signall)
1182 (gtk_binding_parse_bind): use the new internal function in order
1183 to avoid our own deprecated public API.
1185 2008-08-04 Michael Natterer <mitch@imendio.com>
1187 * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
1188 avoid our own deprecated public API and use
1189 gtk_font_selection_get_font_internal() instead of
1190 gtk_font_selection_get_font().
1192 (gtk_font_selection_get_font)
1193 (gtk_font_selection_dialog_get_font): Add missing
1194 "Deprecated: 2.0" to the api doc comments.
1196 2008-08-04 Michael Natterer <mitch@imendio.com>
1198 * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
1200 2008-08-04 Tor Lillqvist <tml@novell.com>
1202 * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
1203 Windows. AC_SUBST it.
1206 * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
1208 2008-08-04 Tor Lillqvist <tml@novell.com>
1210 Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1212 * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
1214 * gdk/gdkconfig.h.win32: Ditto here.
1216 2008-08-04 Tor Lillqvist <tml@novell.com>
1218 * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
1219 s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
1221 2008-08-04 Tor Lillqvist <tml@novell.com>
1223 * configure.in: Don't bother with the test "if gio can sniff png"
1224 if $gio_can_sniff has been already set. Preset it to "no" for
1225 Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
1226 or from Unix to Windows in general. No idea how this should be
1227 handled for cross-compilation in general.
1229 2008-08-04 Tor Lillqvist <tml@novell.com>
1231 * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
1232 EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
1233 present in NT-based Windows since Windows 2000.
1234 (enum_monitor): For some reason the MONITORINFOEX struct in
1235 mingw-win64 is different than the proper one as in MSDN and 32-bit
1236 mingw, so just copy the proper definition here.
1238 2008-08-03 Björn Lindqvist <bjourne@gmail.com>
1240 Bug 540379 – gtk_tree_view_enable_model_drag_dest and
1241 gtk_tree_view_enable_model_drag_source unsets reorderable property
1243 * gtk/gtktreeview.c: Improve docstrings regarding reorderable
1246 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1248 * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
1250 2008-08-03 Matthias Clasen <mclasen@redhat.com>
1252 Bug 546128 – Weirz string
1254 * gtk/gtksettings.c: Add a translator hint.
1255 Requested by Ignacio Casal Quinteiro
1257 2008-08-02 Tor Lillqvist <tml@novell.com>
1259 Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
1261 * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
1262 potential leak. Thanks to Morten Welinder.
1264 2008-08-02 Tor Lillqvist <tml@novell.com>
1266 * gtk/gtkprint-win32.c
1267 * gtk/gtkprint-win32.h
1268 * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
1271 2008-08-02 Tor Lillqvist <tml@novell.com>
1273 Bug 339699 - implement gtk_print_operation_set_show_dialog for
1276 * gtk/gtkprint-win32.c
1277 * gtk/gtkprint-win32.h
1278 * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
1280 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1282 Bug 544302 – GtkStatusIcon should support GIcon
1285 * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
1286 Patch by Christian Dywan
1288 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1290 Bug 429427 – Add "arrow-spacing" style property to GtkRange
1292 * gtk/gtkrange.c: Add an arrow-spacing style property.
1293 Patch by Carlos Garnacho and Christian Dywan
1295 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1297 Bug 429411 – add style properties to set minimum progressbar
1300 * gtk/gtkprogressbar.c: Add style properties for minimum size.
1301 Patch by Carlos Garnacho and Christian Dywan
1303 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1305 Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1308 * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1311 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1313 Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1316 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1317 Explain and show how iterators pointing to empty rows should be
1318 handled in the visible function. Patch by Björn Lindqvist
1320 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1322 Bug 539733 – No way to control treeview separator height
1324 * gtk/gtktreeview.c: Respect the wide-separators and
1325 separator-height style properties when drawing separators.
1326 Patch by Christian Dywan
1328 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1330 Bug 65818 – rename gtk_window_set_default() and add getter for it
1333 * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1334 gtk_window_get_default_widget. Patch by Christian Dywan
1336 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1338 Bug 344383 – use po/LINGUAS
1340 * po/LINGUAS: New file, to make translators happy.
1341 * configure.in: Use po/LINGUAS
1342 * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1343 Patch by Claude Paroz
1345 2008-08-02 Matthias Clasen <mclasen@redhat.com>
1347 * gdk/gdkapplaunchcontext.c: Improve the docs
1349 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1351 Bug 545931 – small documentation typos
1353 * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1355 2008-08-01 Hans Breuer <hans@breuer.org>
1357 * gdk/makefile.msc : build gdkwindowimpl
1359 * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1362 * tests/makefile.msc : update
1364 2008-07-31 Cody Russell <bratsche@gnome.org>
1366 Bug 56070 – Can't click button after setting it sensitive.
1368 * gtk/gtkwidget.[ch]
1373 * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1375 * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1377 Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1378 has worked on and helped out with this.
1380 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1382 Bug 424207 – printing hangs on unreachable cups server
1384 * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1385 non-blocking test for reachability of the cups server.
1387 * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1388 while trying to get the default printer. Patch by Marek Kasik.
1390 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1392 * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1393 timer for automatic commit.
1395 * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1396 timer for the store timeout.
1398 2008-07-31 Matthias Clasen <mclasen@redhat.com>
1401 * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1402 with second-granularity versions. Patch by Marek Kasik.
1404 2008-07-30 Tor Lillqvist <tml@novell.com>
1406 * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1407 paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1408 tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1409 is in hundredths of a millimeter. Patch by Sven Neumann.
1411 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1413 * gtk/gtktreemodel.c: Small doc improvements.
1415 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1417 * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1419 * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1421 2008-07-27 Sven Herzberg <sven@imendio.com>
1423 Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1425 * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1427 2008-07-25 Murray Cumming <murrayc@murrayc.com>
1429 * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1430 Documented the activate and popup-menu signals as being for use
1431 by applications and language bindings, though they are G_SIGNAL_ACTION,
1432 as stated in bug #361561.
1434 2008-07-24 Sebastien Bacher <seb128@ubuntu.com>
1436 * modules/printbackends/cups/gtkprintbackendcups.c:
1437 (cups_printer_get_options): don't try free gettext() values,
1438 fix a printing dialog crasher (bug 544390)
1440 2008-07-24 Cody Russell <bratsche@gnome.org>
1442 Bug 544510 – SetTimer callback signatures has the wrong type
1444 * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1445 sync_timer_proc() to use UINT_PTR for the 'id' parameter
1446 instead of 'id'. Patch by Richard Hult.
1448 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1450 Bug 543915 – "Sole completion" translation issue
1452 * gtk/gtkfilechooserentry.c: Add translator hints to a
1453 bunch of strings. Requested by Andre Klapper
1455 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1457 Bug 544265 – GDK assumes XFIXES extension
1459 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1460 Only call XFixes functions if the server has the extension.
1461 Reported by Ian Turner.
1463 2008-07-22 Matthias Clasen <mclasen@redhat.com>
1465 * configure.in: Compare two content types, not content type
1468 2008-07-22 Sven Herzberg <sven@imendio.com>
1470 Fix svn:ignore and the include condition
1472 * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1474 2008-07-22 Tor Lillqvist <tml@novell.com>
1476 * configure.in: Workaround for what apparently is a bug in MSYS:
1477 returning -1 from main() is misinterpreted as exit status 0, so
1478 make sure we return 0 or 1. (The net effect of the bug was that no
1479 image loading worked on Windows.)
1481 2008-07-22 Sven Herzberg <sven@imendio.com>
1483 Add a test for my fixes from July 20th.
1485 * configure.in: create gdk/tests/Makefile
1486 * gdk/Makefile.am: include the tests subfolder
1487 * gdk/tests/Makefile.am: create and run my test
1488 * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1489 (passes at least for x11 and quartz backends)
1491 2008-07-22 Frederic Crozat <fcrozat@mandriva.com>
1493 * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1494 if driver is detected as randr12_compat (ie X driver
1495 is not RandR 1.2 compliant). Fixes multihead with
1496 such drivers. Bug #543317.
1498 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1500 * configure.in: Default to linking against Xinerama again,
1501 so that we can fallback to Xinerama when broken X drivers
1502 make Xrandr useless. Sigh.
1504 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1506 * configure.in: Bump version
1508 * === Released 2.13.5 ===
1510 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1512 * gtk/gtktestutils.c:
1513 * gtk/gtkscalebutton.c:
1514 * gtk/gtkmessagedialog.c:
1516 * gtk/gtkcontainer.c:
1517 * gtk/gtkcolorseldialog.c:
1518 * gtk/gtkaccelgroup.c:
1520 * gtk/gtkfontsel.c: Fix some doc problems.
1522 2008-07-21 Michael Natterer <mitch@imendio.com>
1524 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1525 the deprecated gtk_box_pack_start_defaults().
1527 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1528 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1529 instead of the deprecated gtk_binding_entry_add_signall().
1531 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
1533 * gtk/gtkrecentmanager.c:
1534 (recent_app_info_new), (recent_app_info_free): Use GSlice to
1535 allocate the application data for recently used resources;
1536 do not call time() to initialize the timestamp, as it will
1537 be overwritten anyway later. (#535223, Michael Meeks)
1539 2008-07-21 Kristian Rietveld <kris@gtk.org>
1541 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1543 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1544 for width_changed != NULL. (Patch by Josselin Mouette).
1546 2008-07-21 Michael Natterer <mitch@imendio.com>
1548 Bug 442042 – GtkScaleButton is too limited
1550 * tests/testvolumebutton.c: forgot to commit code that tests
1551 toggling the button's orientation. Also fixes the file's coding
1554 2008-07-21 Cody Russell <bratsche@gnome.org>
1556 Bug 153567 – Repaint glitches in widgets
1558 * gdk/win32/gdkevents-win32.c: Set a sync timer when
1559 we receive WM_SYNCPAINT, and RedrawWindow() once
1562 2008-07-21 Michael Natterer <mitch@imendio.com>
1564 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1565 g_signal_override_class_handler() instead of
1566 g_signal_override_class_closure().
1568 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1570 (gtk_text_view_compat_move_focus): chain up using
1571 g_signal_chain_from_overridden_handler() instead of the generic
1572 g_signal_chain_from_overridden() which needs manual fiddling with
1573 millions of GValues.
1575 2008-07-21 Michael Natterer <mitch@imendio.com>
1577 * gtk/gtkuimanager.c: remove redundant include.
1579 2008-07-21 Michael Natterer <mitch@imendio.com>
1581 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
1583 * gtk/gtkfilechooserdefault.c
1585 * gtk/gtkmenushell.c
1586 * gtk/gtkscalebutton.c
1589 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
1590 some missing I_() to the signal names.
1592 2008-07-21 Michael Natterer <mitch@imendio.com>
1594 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
1595 functions and virtual function implementations. Some minor
1598 2008-07-20 Andre Klapper <a9016009@gmx.de>
1600 Bug 543915 - translation issues
1602 * modules/printbackends/cups/gtkprintbackendcups.c:
1603 Add translator comments for several strings.
1605 2008-07-20 Sven Herzberg <sven@imendio.com>
1607 reviewed by: Richard Hult
1609 Fixes #543868: GdkPixmap is upside down on quartz
1611 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
1612 coordinate space from GTK+ orientation to CoreGraphics orientation
1613 before calling CoreGraphics code
1614 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
1615 coordinate space flipping (we always get it right, now)
1616 * gdk/quartz/gdkpixmap-quartz.c
1617 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
1618 creating the CGContextRef
1620 2008-07-20 Sven Herzberg <sven@imendio.com>
1622 reviewed by: Richard Hult
1624 Extracted the CGContextRef creation into a virtual function of
1625 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
1628 * gdk/quartz/gdkdrawable-quartz.c
1629 (gdk_quartz_drawable_get_context): dropped the different
1630 implementations; forward to the virtual function now
1631 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
1632 * gdk/quartz/gdkpixmap-quartz.c
1633 (gdk_pixmap_impl_quartz_get_context),
1634 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
1635 * gdk/quartz/gdkwindow-quartz.c
1636 (gdk_window_impl_quartz_get_context),
1637 (gdk_window_impl_quartz_class_init): implemented get_context()
1639 2007-08-19 Matthias Clasen <mclasen@redhat.com>
1643 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1645 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
1646 inside "apply" signal handler
1648 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
1649 Patch by Antti Kaijanmäki
1651 2007-08-18 Matthias Clasen <mclasen@redhat.com>
1653 Bug 543217 – GTK application crashed with directfb backend
1655 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
1656 _gdk_visual_init(). Patch by Huimin He.
1658 2008-07-18 Federico Mena Quintero <federico@novell.com>
1660 * gtk/updateiconcache.c (build_cache): If the resulting cache file
1661 would be empty, erase the old cache file as well as the temporary file.
1663 2008-07-18 Federico Mena Quintero <federico@novell.com>
1665 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
1666 do funny casts to avoid compiler warnings.
1668 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
1670 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
1672 * gtk/gtkmodules.c (load_module): Likewise.
1674 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
1676 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
1678 * gtk/queryimmodules.c (query_module): Likewise.
1680 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
1681 (find_widget_at_pointer): Likewise.
1683 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1685 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
1686 hunk of the previous commit.
1688 2008-07-18 Sven Herzberg <sven@imendio.com>
1690 Make aliasfilecheck.sh pass for the quartz backend, too.
1692 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
1694 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
1696 * configure.in: Added Pashto (ps) to ALL_LINGUAS
1698 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1700 Bug 447998 - GtkBuilder does not support building parts of the xml tree
1704 * gtk/gtkbuilderprivate.h:
1705 * gtk/gtkbuilderparser.c:
1707 Add two new functions that allow cherry picking and construct
1708 objects from a ui description file or string.
1710 * gtk/tests/builder.c: tests for the above.
1712 2008-07-15 Paolo Borelli <pborelli@katamail.com>
1714 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
1715 signal) case and plug a couple of leaks.
1717 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1719 Bug 543244 – crashes when renaming a bookmark
1721 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
1722 free a GFile. Reported by Sebastien Bacher
1724 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1726 Bug 339591 – Detect list of availible cover pages
1728 Patch by Marek Kasik:
1729 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
1730 available cover pages and the default front and back cover pages
1731 from the cups server.
1733 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1735 Bug 384940 – handle rejecting jobs and authentication meaningfully
1737 Patch by Marek Kasik, icons by Mike Langlie:
1739 * gtk/gtkprintbackend.h:
1740 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
1741 and getters/setters.
1744 * gtk/gtkiconfactory.c:
1746 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
1748 * modules/printbackends/cups/gtkprintbackendcups.c:
1749 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
1752 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1754 * configure.in: Add a test to see if GIO can sniff image data,
1755 this should make gdk-pixbuf use its own sniffing again, on OS X.
1757 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
1759 Bug 542523 – GtkTextTag should handle setting properties to NULL
1761 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1762 setting it to NULL instead of displaying a warning.
1764 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1766 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1768 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1769 Call shortcuts_check_popup_sensitivity() every time the
1770 menu is popped up. Problem reported by Hong Jen Yee
1772 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1774 Bug 488766 – GtkFileChooserButton doesn't clear icon after
1775 gtk_file_chooser_unselect_all
1777 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1778 the image when the label is set to "(None)". Reported by
1781 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1783 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1785 Bug 507394 – mem leak from gtk_selection_add_targets
1787 * gtk/gtkoldeditable.c: Free target lists in finalize.
1788 Reported by Christian Persch
1790 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1793 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1795 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1797 * gtk/gtklabel.c: Trivial doc fix.
1799 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1801 Bug 542853 – jasper test fails due to incomplete library arguments
1803 * configure.in: Add -ljpeg when checking for jasper.
1804 Reported by Mike Calmus
1806 2008-07-14 Matthias Clasen <mclasen@redhat.com>
1808 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
1811 2008-07-11 Kristian Rietveld <kris@gtk.org>
1813 Bug 316087 - Resizing columns is chaotic
1815 * gtk/gtktreeprivate.h: add new member fields.
1817 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1819 (gtk_tree_view_size_allocate_columns): rework the size allocation
1820 mechanism to only recalculate the expand values if the width of the
1821 widget, content or the column configuration has changed,
1822 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1823 to before the adjustment updates so the proper width is used after
1825 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1826 use the column width minus the expand value for the resized width,
1827 (gtk_tree_view_move_column_after): update call to
1828 gtk_tree_view_size_allocate_columns().
1830 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1831 resized width to FALSE.
1833 * tests/Makefile.am:
1834 * tests/testtreecolumnsizing.c: new interactive test program
1835 for testing column resizing with different column configurations.
1837 2008-07-11 Simos Xenitellis <simos@gnome.org>
1839 * gtk/compose-parse.py:
1840 * gtk/gtkimcontextsimple.c:
1841 Fixed typo for the name of Markus Kuhn, issue mentioned
1842 in bug #321896 (comment 61).
1844 2008-07-11 Simos Xenitellis <simos@gnome.org>
1846 Bug 334418 – Support easy input of ellipsis
1848 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1849 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
1851 2008-07-03 Murray Cumming <murrayc@murrayc.com>
1853 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
1854 tooltip-markup properties: Interpret an empty string as a NULL
1855 string because an empty tooltip is silly. This will help
1856 language bindings that do not bother to have the two types of
1860 2008-07-10 Matthias Clasen <mclasen@redhat.com>
1862 Bug 542234 – iconview a11y implementation segfaults
1864 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1867 2008-07-08 Christian Neumair <cneumair@gnome.org>
1869 * gtk/gtkuimanager.c (update_node):
1870 Skip update of accelerator child node if it has no associated action.
1873 2008-07-07 Cody Russell <bratsche@gnome.org>
1875 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1877 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1878 existing modal hint value before setting it.
1880 2008-07-07 Cody Russell <bratsche@gnome.org>
1882 Bug 540994 – [Win32] Some windows don't appear at the top when created
1884 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1886 I actually already committed this one by accident, probably when I committed
1887 #541305, but just wanted to document it here in the ChangeLog.
1889 2008-07-07 Johan Dahlin <johan@gnome.org>
1891 * gtk/tests/builder.c (test_cell_view):
1892 Add a test case for 528845.
1894 2008-07-07 Tor Lillqvist <tml@novell.com>
1896 * gdk/win32/gdkwindow-win32.c
1897 (gdk_window_foreign_new_for_display): Need to initialise
1898 private->impl here, too.
1900 2008-07-07 Michael Natterer <mitch@imendio.com>
1902 * gtk/gtkfilesystem.c: include the two needed headers instead of
1905 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1907 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1910 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1911 implementation. Reported by Kevin Ryde.
1913 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1915 Bug 469068 – clarify gdk_cairo_create()
1917 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1918 contexts cannot be cached for handling expose events.
1919 Proposed by Behdad Esfahbod.
1921 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1923 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1925 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1926 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1928 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1930 Bug 510225 – gtk_widget_get_composite_name retval should be freed
1932 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1933 docs. Pointed out by Wolfgang Oertl
1935 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1937 Bug 531129 – gtk_style_copy() does not include a return value or
1940 * gtk/gtkstyle.c: Document gtk_style_copy.
1942 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1944 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1945 Bug 513580 – Broken link in GTK+ FAQ
1947 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1949 2008-07-07 Christian Dywan <christian@imendio.com>
1951 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1952 erroneously added g_return_if_fail (bug #541811).
1954 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1956 Bug 343663 – source-buffer highlighting highlights "char" in
1957 gtk_text_iter_forward_char
1959 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1961 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1963 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1965 * gtk/gtksettings.c: Improve the documentation of the
1966 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1968 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1970 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1973 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1974 Check that the cursor is over a valid date before retrieving
1975 its details. Patch by Chris Wilson
1977 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1979 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1981 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1982 64-bit brokenness. Reported by Christian Hammond.
1984 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1986 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1989 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1990 Be more robust. Reported by Jelte van der Hoek
1992 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1994 Bug 540917 – deprecate pack_start_defaults()
1997 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1998 Proposed by Owen Taylor
2000 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2002 * configure.in: Bump version
2004 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2006 * === Released 2.13.4 ===
2008 2008-07-05 Michael Natterer <mitch@imendio.com>
2010 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
2011 deprecated section because it isn't deprecated.
2013 2008-07-05 Michael Natterer <mitch@imendio.com>
2015 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
2016 other include weirdness in this file.
2018 2008-07-05 Matthias Clasen <mclasen@redhat.com>
2022 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2024 * gtk/gtkiconview.c:
2026 * gtk/gtkscalebutton.c: Small doc fixes.
2028 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2031 * gdk/x11/gdktestutils-x11.c: Small doc fixes
2033 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2035 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
2037 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
2039 * gtk/gtkentry.c: Fix the property getter for text-length property.
2041 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
2043 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2045 * gtk/gtkmenu.c: Debork the attach-widget property.
2047 2008-07-04 Michael Natterer <mitch@imendio.com>
2051 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
2061 * gtk/gtkoldeditable.c
2064 * gtk/gtktipsquery.c
2066 * gtk/gtktreeitem.c: don't #define it again before including
2067 gtkalias.h after it has been #undef'ed before.
2069 2008-07-04 Michael Natterer <mitch@imendio.com>
2071 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
2072 to FALSE instead of 0.
2074 2008-07-04 Michael Natterer <mitch@imendio.com>
2076 Allocate with GSlice:
2078 * gtk/gtkassistant.c: GtkAssistantPage
2079 * gtk/gtkcellview.c: GtkCellViewCellInfo
2080 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
2081 * gtk/gtkfilefilter.c: FilterRule
2082 * gtk/gtknotebook.c: GtkNotebookPage
2084 2008-07-04 Michael Natterer <mitch@imendio.com>
2086 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
2088 2008-07-04 Michael Natterer <mitch@imendio.com>
2090 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
2091 variable to GtkWidget fo fix two warnings.
2093 2008-07-04 Michael Natterer <mitch@imendio.com>
2095 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
2099 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
2100 and _get_minus_button(). Patch by Christian Dywan.
2102 2008-07-04 Matthias Clasen <mclasen@redhat.com>
2104 * gtk/gtkscalebutton.c:
2106 * gdk/gdkwindowimpl.c: Fix make check.
2108 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2110 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
2111 constructed using GtkUIManager
2113 * gtk/gtkmenuitem.c: Fall back to the default positioning when
2114 the menuitem is not realized. Patch by Björn Lindqvist.
2116 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2118 Bug 540612 – mem leak in filechooser
2120 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
2121 Patch by Christian Persch.
2123 2008-07-04 Tor Lillqvist <tml@novell.com>
2125 Bug 540861 - invalid UTF-8 in input device name
2127 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
2128 Unicode, and convert to UTF-8 for the GdkDevice's name field.
2130 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2132 Bug 538863 – Fixes assertion on entering empty folder
2134 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
2135 select the first row if the folder is empty.
2136 Patch by Olle Bergkvist.
2138 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2140 Bug 540915 – GtkBuilder sets properties in reverse order
2142 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
2143 in which they are specified in the xml file.
2145 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2147 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
2151 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
2152 accessor for the popup. Patch by Christian Dywan
2154 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2156 Bug 535498 – Printing demo broken
2158 * demos/gtk-demo/printing.c: Use monospace as font name,
2159 not mono. Also use the right advance when moving from line to line.
2160 Patch by Yevgen Muntyan.
2162 2008-07-03 Matthias Clasen <mclasen@redhat.com>
2164 Bug 538547 – Update doc-shooter in gtk documentation
2166 * docs/tools/Makefile.am:
2167 * docs/tools/folder.png:
2168 * docs/tools/gnome.png: New images
2170 * docs/tools/widgets.c: Use the new images.
2171 Patch by Baptiste Mille-Mathias.
2173 2008-07-03 Michael Natterer <mitch@imendio.com>
2175 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
2176 names of binding signal implementations.
2178 2008-07-03 Li Yuan <li.yuan@sun.com>
2180 * gail-uninstalled.pc.in:
2181 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
2183 2008-07-03 Cody Russell <bratsche@gnome.org>
2185 Bug 540529 – Remove all GIMP references
2189 * gtk+-unix-print-2.0.pc.in:
2190 * gtk+-2.0-uninstalled.pc.in:
2191 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
2192 GTK+ Graphical UI Library in the pkg-config files.
2194 2008-07-02 Cody Russell <bratsche@gnome.org>
2196 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
2198 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
2201 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
2202 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
2205 2008-07-02 Cody Russell <bratsche@gnome.org>
2207 Bug 541249 – [Win32] Fix some internal static methods
2209 * gdk/gdkwindow-win32.c: Make the interface implementation methods
2212 2008-07-02 Michael Natterer <mitch@imendio.com>
2214 Bug 537591 – Don't hardcode minimum width of menuitems
2216 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
2217 introduces a "width-chars" style property which replaces the
2218 hardcoded minimum width of menuitems with submenu. Patch
2219 extracted from Maemo-GTK+.
2221 2008-07-02 Michael Natterer <mitch@imendio.com>
2223 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
2225 2008-07-02 Kristian Rietveld <kris@imendio.com>
2227 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
2228 Since s/2.16/2.14/ for the new gicon property.
2230 2008-07-02 Kristian Rietveld <kris@imendio.com>
2232 Bug 455268 - Add gtk-enable-tooltips GtkSetting
2235 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
2237 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
2239 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
2240 introduced XSetting into account.
2242 * demos/gtk-demo/appwindow.c: don't use the now deprecated
2243 gtk_toolbar_set_tooltips().
2245 2008-07-02 Cody Russell <bratsche@gnome.org>
2247 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
2249 * gdk/win32/gdkprivate-win32.h:
2250 * gdk/win32/gdkgeometry-win32.c:
2251 * gdk/win32/gdkevents-win32.c:
2252 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
2253 the newly refactored GdkWindow code.
2255 2008-07-01 Cody Russell <bratsche@gnome.org>
2257 Bug 539164 – Windows' System Menu blocks main loop
2259 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
2260 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
2261 GLib mainloop from there.
2263 2008-07-01 Richard Hult <richard@imendio.com>
2265 Some aftermath from the window impl cleanups:
2267 * gdk/quartz/gdkwindow-quartz.c:
2268 (gdk_window_merge_child_input_shapes): Rename and export again.
2269 (gdk_window_quartz_get_offsets): Make static.
2271 2008-07-01 Michael Natterer <mitch@imendio.com>
2273 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
2275 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2277 539790 – [PATCH] Please add three new settings to GtkSettings
2279 * gdk/x11/gdksettings.c:
2280 * gtk/gtksettings.c: Add event sound settings.
2281 Patch by Lennart Poettering.
2283 2008-07-01 Matthias Clasen <mclasen@redhat.com>
2285 Bug 434535 – printoperation's create_surface doesn't check temp file
2286 creation for success
2288 Patch by Marek Kasik:
2290 * gtk/gtkprintoperation-unix.c
2291 (_gtk_print_operation_platform_backend_create_preview_surface):
2292 Handle failure to create temp file by returning NULL.
2294 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
2295 Return FALSE if surface creation fails.
2297 (print_pages): If the preiew signal is not handled, show an
2300 2008-07-01 Michael Natterer <mitch@imendio.com>
2302 Bug 442042 – GtkScaleButton is too limited
2304 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2305 property that can be changed at any time after widget
2306 creation. Add public API for it.
2308 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2310 2008-06-30 Michael Natterer <mitch@imendio.com>
2312 Some unrelated cleanups found while reviewing
2313 the offscreen window patch:
2315 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2316 functions, fix some function header indentation, update
2317 documentation of redirect_to_drawable().
2319 * gdk/x11/gdkwindow-x11.c
2320 * gdk/x11/gdkpixmap-x11.c: fix function header
2321 formatting/indentation.
2323 * gtk/gtkwidget.c: use I_() on "damage_event".
2325 2008-06-30 Michael Natterer <mitch@imendio.com>
2327 * gdk/gdkinternals.h: remove duplicate declaration of
2330 2008-06-30 Michael Natterer <mitch@imendio.com>
2332 * gdk/Makefile.am: reorder source lists alphabetically.
2334 2008-06-30 Matthias Clasen <mclasen@redhat.com>
2336 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2338 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2339 Patch by Owen Taylor
2341 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
2343 Bug 530255 – GtkAboutDialog cuts off comments label
2344 Followup patch from Jan Arne Petersen
2346 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2348 2008-06-28 Michael Natterer <mitch@imendio.com>
2350 * gtk/gtkselection.h: properly indent the newly added
2351 GtkSelectionData accessors. Some newlines can't hurt either.
2353 2008-06-27 Mikael Hallendal <micke@imendio.com>
2355 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2357 2008-06-27 Mikael Hallendal <micke@imendio.com>
2359 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2360 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2361 pack_start and pack_end in order to reduce the code duplication.
2363 2008-06-27 Michael Natterer <mitch@imendio.com>
2365 Bug 442042 – GtkScaleButton is too limited
2367 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2368 "gtk-scalebutton-popup-window" on the popup window so it is
2371 2008-06-27 Kristian Rietveld <kris@imendio.com>
2373 * gdk/quartz/gdkgeometry-quartz.c:
2374 * gdk/quartz/gdkwindow-quartz.c:
2375 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2378 2008-06-27 Carlos Garnacho <carlos@imendio.com>
2380 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2381 critical warnings. Bug #539470.
2383 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
2385 Abstract some GdkWindow API into an interface that the backends
2386 must implement. (based on a patch by Alex Larsson)
2388 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2390 * gdk/gdk.symbols: Move symbols around.
2392 * gdk/gdkinternals.h:
2393 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2394 from the backends to a GInterface that the backends should implement
2397 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2398 wrapper call around the GdkWindowImpl interface vtable.
2400 * gdk/x11/gdkevents-x11.c:
2401 * gdk/x11/gdkgeometry-x11.c:
2402 * gdk/x11/gdkprivate-x11.h:
2403 * gdk/x11/gdkwindow-x11.c:
2404 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2405 the GdkWindowImpl interface.
2407 2008-06-27 Martyn Russell <martyn@imendio.com>
2409 Bug 540318 - Invalid URL
2411 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2412 in the warning produced here.
2414 2008-06-27 Michael Natterer <mitch@imendio.com>
2416 Bug 442042 – GtkScaleButton is too limited
2418 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2419 stuff that is part of the public API continues to be created in
2420 init() to stay compatible. Move creating of the popup scale to
2421 constructor(). Add an internal HScale class. Changed popup
2422 positioning for horizontal scales accordingly.
2424 2008-06-26 Michael Natterer <mitch@imendio.com>
2426 * gtk/gtkscalebutton.c
2427 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2428 prototypes, remove redundant includes, remove a little trailing
2431 2008-06-26 Richard Hult <richard@imendio.com>
2433 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2435 (_gtk_quartz_get_selection_data_from_pasteboard),
2436 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2437 Christian Dywan to clean up selection data setting.
2439 2008-06-26 Richard Hult <richard@imendio.com>
2441 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2442 deprecated function gtk_widget_ref, replace with g_object_ref.
2444 2008-06-26 Michael Natterer <mitch@imendio.com>
2446 * gtk/gtkfilesystem.c: #include "config.h"
2448 2008-06-26 Carlos Garnacho <carlos@imendio.com>
2450 * gtk/gtkfilechooserdefault.c
2451 (gtk_file_chooser_default_get_current_folder): current_folder can be
2452 NULL here, do not try to reference it (Bug #540235)
2453 (gtk_file_chooser_default_get_files): Deal better with
2454 gtk_file_chooser_default_get_current_folder() being able to return
2457 2008-06-26 Michael Natterer <mitch@imendio.com>
2459 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2460 allocate the GtkTextUtilCallbackInfo structs with GSlice.
2462 2008-06-25 Michael Natterer <mitch@imendio.com>
2464 * gtk/gtktypeutils.h: there is no reason to include
2465 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2466 replacing the <glib-object.h> include. Also move the remaining few
2467 non-deprecated things to the top and move some deprecated things
2468 around to clean up the mess with too many deprecated sections even
2471 2008-06-24 Michael Natterer <mitch@imendio.com>
2473 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2474 (also for GTK_COMPILATION). Move some deprecated typedefs around
2475 to reduce the mess with zillions of deprecated sections.
2477 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2478 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2479 though the latter is probably completely pointless.
2481 2008-06-24 Michael Natterer <mitch@imendio.com>
2483 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2484 the dialog's vbox was added (bug #539732).
2486 2008-06-24 Carlos Garnacho <carlos@imendio.com>
2488 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2489 thought for handling non-direct children. Fixes #539732.
2490 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2491 doesn't provide enough control to API users (removing, reordering...),
2492 this is better handled through:
2493 (gtk_dialog_get_content_area): New function which just returns
2495 * gtk/gtk.symbols: Modify accordingly.
2496 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2497 using gtk_dialog_get_[action|content]_area() instead of accessing
2498 dialog struct members directly.
2500 2008-06-24 Michael Natterer <mitch@imendio.com>
2502 * gtk/gtkassistant.h
2503 * gtk/gtkcellrenderer.h
2504 * gtk/gtkfilechooserentry.h
2508 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2509 if there is any other widget included, they all have to include
2510 their respective parent classes (the is-a relation works for
2513 2008-06-24 Michael Natterer <mitch@imendio.com>
2515 * gtk/gtktextutil.h: remove includes from this internal header.
2517 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2519 2008-06-23 Michael Natterer <mitch@imendio.com>
2521 * gtk/gtkinvisible.h: formatting.
2523 2008-06-23 Michael Natterer <mitch@imendio.com>
2526 * gtk/gtkbuildable.h
2527 * gtk/gtkbuilderprivate.h
2528 * gtk/gtkcelllayout.h
2529 * gtk/gtkentrycompletion.h
2530 * gtk/gtkfilechoosersettings.h
2531 * gtk/gtkfilesystem.h
2532 * gtk/gtkfilesystemmodel.h
2533 * gtk/gtkicontheme.h
2534 * gtk/gtklinkbutton.h
2535 * gtk/gtkpagesetup.h
2536 * gtk/gtkpapersize.h
2537 * gtk/gtkprintcontext.h
2538 * gtk/gtkprintoperation.h
2539 * gtk/gtkprintoperationpreview.h
2540 * gtk/gtkprintsettings.h
2541 * gtk/gtkrecentchooserprivate.h
2542 * gtk/gtkrecentmanager.h
2543 * gtk/gtksearchengine.h
2545 * gtk/gtktreeselection.h
2546 * gtk/gtktreeviewcolumn.h
2547 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2548 <glib-object.h>. There is no point in relying on them being pulled
2549 in by other headers in some places and placing them explicitly in
2550 other places, so choose the "as little includes as possible"
2551 approach and get rid of them.
2553 2008-06-23 Kristian Rietveld <kris@imendio.com>
2555 * gdk/gdkenumtypes.h.template:
2556 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2557 * gtk/gtktypebuiltins.h.template:
2558 * perf/typebuiltins.h.template: do not hard code the prefix of the
2559 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2561 2008-06-23 Michael Natterer <mitch@imendio.com>
2563 * gtk/gtkmountoperation.h
2564 * gtk/gtktestutils.h
2565 * gtk/gtkshow.[ch]: remove as many includes as possible from these
2566 new files. They can't be included individually, so nothing can break.
2568 2008-06-22 Michael Natterer <mitch@imendio.com>
2570 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
2571 registering the "modifier-mask" property.
2573 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2575 * *.[ch]: Include "config.h" instead of <config.h>
2577 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
2578 Rubberstamped by Mitch and Tim
2580 2008-06-21 Carlos Garnacho <carlos@imendio.com>
2582 Bug 539466 – GtkMenuShell API/ABI break in trunk.
2584 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
2585 different name and packing width.
2587 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
2589 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
2592 2008-06-21 Michael Natterer <mitch@imendio.com>
2594 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
2595 indentation, replace header by a GDK copyright header (don't say
2596 "The Gnome Library"), remove trailing whitespace.
2598 2008-06-21 Hans Breuer <hans@breuer.org>
2600 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
2601 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
2602 passing the surface to cairo_surface_show_page(), not the context
2603 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
2604 '<' : signed/unsigned mismatch by using guint for the loop
2606 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
2607 an uint, gtk_menu_get_active() returns the widget pointer. Convert
2608 the latter to the former by calculating the index in menu::children
2609 Also fix some occurences of g_return_if_fail() where
2610 g_return_val_if_fail() was meant
2612 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
2614 Bug 539363 – Segfault when creating GtkPlugs
2616 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
2617 property names. "socket window" => "socket-window"
2619 2008-06-20 Jody Goldberg <jody@gnome.org>
2621 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
2622 Fix life cycle to avoid crash. [#536966]
2624 2008-06-20 Hans Breuer <hans@breuer.org>
2626 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
2627 a value of the appropriate type with g_return_val_if_fail
2629 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
2631 * gtk/gtkfilesystem.c : don't add the "File System" on win32
2633 * tests/makefile.msc : remove broken autotestfile(system|chooser)
2636 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2638 * gtk/gtkbutton.c: Document a style property
2640 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
2643 * gtk/gtkcolorsel.c:
2645 * gtk/gtkitemfactory.c:
2646 * gtk/gtknotebook.c:
2647 Fix up deprecated markup syntax. Add version numbers and
2648 a message on the remaning ones.
2650 2008-06-20 Mikael Hallendal <micke@imendio.com>
2652 * tests/testthreads.c: Use g_signal_connect instead of
2655 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
2656 While the code is not built, people may still look at it.
2658 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
2660 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
2663 * gtk/gtkliststore.h:
2665 * gtk/gtktextchild.h:
2666 * gtk/gtktreemodelfilter.h:
2667 * gtk/gtktreemodelsort.h:
2668 * gtk/gtktreestore.h:
2669 #include <gdkconfig.h> not <gdk/gdkconfig.h>
2671 2008-06-20 Martyn Russell <martyn@imendio.com>
2673 * gtk/gtkaccelgroup.c: Fix warnings from calling
2674 g_object_notify() on a GtkAccelGroup without casting to a
2677 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2679 * gtk/gtkcolorsel.c: Modernize and order things as most
2680 other objects. Defines at the top, class init before init
2681 before gobject methods before object method before widget
2682 methods. No changes to the logic done.
2684 2008-06-20 Martyn Russell <martyn@imendio.com>
2686 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
2687 properties that don't exist. Also, make sure we notify for
2688 the "is-locked" property.
2690 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2692 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
2694 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2696 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
2698 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
2700 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
2701 allocation to avoid compiler warnings
2703 2008-06-20 Michael Natterer <mitch@imendio.com>
2705 * gtk/gtkaccellabel.h
2706 * gtk/gtkactiongroup.h
2707 * gtk/gtkalignment.h
2709 * gtk/gtkaspectframe.h
2711 * gtk/gtkhandlebox.h
2712 * gtk/gtkprogressbar.h
2715 * gtk/gtkscalebutton.h
2716 * gtk/gtkselection.h: fix some formatting and spacing uglyness
2717 that got merged from the GSEAL branch.
2719 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2722 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
2723 * gtk/gtkmessagedialog.h:
2724 Add missing accessor for sealed field GtkMessageDialog->image.
2726 2008-06-20 Michael Natterer <mitch@imendio.com>
2728 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
2731 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
2733 * gtk/gtkaccelgroup.c:
2734 * gtk/gtkcolorseldialog.c:
2735 * gtk/gtkcontainer.c:
2737 * gtk/gtkentry.c (gtk_entry_class_init):
2739 * gtk/gtkhandlebox.c:
2741 * gtk/gtkmenu.c (gtk_menu_class_init):
2742 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
2743 * gtk/gtkplug.c (gtk_plug_class_init):
2744 * gtk/gtkselection.c:
2746 * gtk/gtktreeselection.c:
2747 * gtk/gtkwidget.c (gtk_widget_class_init):
2749 Add missing Since: gtk-doc markup for newly added GSEAL API.
2750 Change all Since: GSEAL-branch to Since: 2.14.
2752 2008-06-20 Michael Natterer <mitch@imendio.com>
2754 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
2755 the code merged from the GSEAL branch.
2757 2008-06-20 Michael Natterer <mitch@imendio.com>
2759 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
2760 value from GtkHButtonBox to GtkWidget.
2762 2008-06-20 Michael Natterer <mitch@imendio.com>
2764 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2767 2008-06-20 Michael Natterer <mitch@imendio.com>
2769 * gtk/gtkwindow.[ch]
2770 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2771 gtk_window_group_list_windows().
2773 2008-06-20 12:35:20 +0200 Tim Janik
2775 * Fixed wrongly resolved merge conflicts.
2777 2008-06-19 19:01:41 +0200 Carlos Garnacho
2779 Add gtk_window_group_get_windows().
2782 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2784 2008-06-19 18:39:47 +0200 Carlos Garnacho
2786 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2788 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2790 2008-06-19 18:38:35 +0200 Carlos Garnacho
2792 Document gtk_container_get_focus_child().
2794 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2796 2008-06-19 13:50:06 +0200 Christian Dywan
2798 Add gtk_plug_get_socket_window
2800 2008-06-19 13:11:52 +0200 Christian Dywan
2802 Remove superflous gtkselection accessors and merge _get_data
2804 2008-06-13 15:56:51 +0200 Christian Dywan
2806 Implement gtk_selection_get_display, style fixes
2808 2008-06-13 15:45:00 +0200 Christian Dywan
2810 Fix indentation of a comment.
2812 2008-06-13 15:10:08 +0200 Christian Dywan
2814 Change docs and signature of gtk_widget_get_allocation
2816 2008-06-13 14:22:17 +0200 Christian Dywan
2818 Remove unneeded GtkColorSelectionDialog accessors
2820 2008-06-13 12:57:54 +0200 Christian Dywan
2822 Fix documentaion of gtk_menu_item_get_accel_path
2824 2008-06-11 13:49:34 +0200 Christian Dywan
2826 Fix gtk_widget_get_allocation
2828 2008-06-07 15:37:18 +0200 Carlos Garnacho
2830 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2834 * gtk/gtkcellrenderer.h:
2835 * gtk/gtkcellrenderertext.h:
2836 * gtk/gtkcheckmenuitem.h:
2837 * gtk/gtkcontainer.h:
2839 * gtk/gtkhandlebox.h:
2840 * gtk/gtkimcontextsimple.h:
2842 * gtk/gtkliststore.h:
2844 * gtk/gtkmenuitem.h:
2845 * gtk/gtkmenushell.h:
2846 * gtk/gtknotebook.h:
2849 * gtk/gtkprintjob.h:
2850 * gtk/gtkprogressbar.h:
2853 * gtk/gtkscrolledwindow.h:
2854 * gtk/gtksizegroup.h:
2856 * gtk/gtkspinbutton.h:
2857 * gtk/gtkstatusbar.h:
2859 * gtk/gtktearoffmenuitem.h:
2860 * gtk/gtktextbuffer.h:
2861 * gtk/gtktextview.h:
2862 * gtk/gtktogglebutton.h:
2864 * gtk/gtktreestore.h:
2865 * gtk/gtktreeviewcolumn.h:
2866 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2868 2008-06-06 19:02:17 +0200 Christian Dywan
2872 2008-06-06 17:58:21 +0200 Christian Dywan
2874 Seal GtkSelectionData
2876 2008-06-06 17:57:23 +0200 Christian Dywan
2878 Fix GtkDialog, don't add vbox via gtk_container_add.
2880 2008-06-06 13:39:34 +0200 Kristian Rietveld
2882 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
2884 2008-06-03 09:11:50 +0200 Kristian Rietveld
2888 2008-05-30 16:48:12 +0100 Martyn Russell
2890 Seal GtkFontSelection & GtkFontSelectionDialog
2892 2008-05-29 10:35:29 +0200 Kristian Rietveld
2894 Seal GtkTearoffMenuItem.
2896 (the torn_off field is for internal state keeping, you can retrieve
2897 the value from the parent menu's tearoff_state).
2899 2008-05-27 18:34:12 +0200 Christian Dywan
2903 2008-05-27 18:17:44 +0200 Christian Dywan
2907 2008-05-27 15:10:02 +0200 Christian Dywan
2911 2008-05-27 14:17:45 +0200 Christian Dywan
2915 2008-05-27 14:04:31 +0200 Christian Dywan
2919 2008-05-27 12:40:08 +0200 Christian Dywan
2923 2008-05-27 12:39:49 +0200 Christian Dywan
2925 Seal GtkIMMultiContext
2927 2008-05-27 12:39:17 +0200 Christian Dywan
2929 Seal GtkIMContextSimple
2931 2008-05-27 12:14:53 +0200 Christian Dywan
2935 2008-05-27 11:14:21 +0200 Christian Dywan
2939 2008-05-27 10:54:20 +0200 Christian Dywan
2941 Fix the build by including gdkconfig.h in gtkprinter.h.
2943 2008-05-27 10:38:02 +0200 Christian Dywan
2947 2008-05-27 10:20:56 +0200 Christian Dywan
2951 2008-05-26 17:58:19 +0200 Kristian Rietveld
2955 2008-05-26 17:54:56 +0200 Kristian Rietveld
2959 2008-05-26 17:48:23 +0200 Kristian Rietveld
2963 2008-05-26 17:39:38 +0200 Kristian Rietveld
2967 2008-05-26 17:31:06 +0200 Kristian Rietveld
2971 2008-05-26 17:27:22 +0200 Kristian Rietveld
2975 2008-05-26 17:07:43 +0200 Kristian Rietveld
2979 2008-05-26 17:07:37 +0200 Kristian Rietveld
2983 2008-05-26 16:39:27 +0200 Kristian Rietveld
2985 Seal GtkTextTagTable.
2987 2008-05-26 16:34:13 +0200 Kristian Rietveld
2991 2008-05-26 17:08:19 +0200 Christian Dywan
2995 2008-05-26 16:40:05 +0200 Christian Dywan
2999 2008-05-26 16:37:54 +0200 Christian Dywan
3003 2008-05-26 14:09:32 +0200 Kristian Rietveld
3005 Seal priv pointer in GtkToggleToolButton.
3007 2008-05-26 14:04:51 +0200 Kristian Rietveld
3009 Seal priv pointer in GtkUIManager.
3011 2008-05-26 14:01:32 +0200 Kristian Rietveld
3013 Seal priv pointer in GtkToolItem.
3015 2008-05-26 14:01:12 +0200 Kristian Rietveld
3017 Seal priv pointer in GtkToolButton.
3019 2008-05-26 14:00:24 +0200 Kristian Rietveld
3021 Seal priv pointer in GtkToggleAction.
3023 2008-05-26 13:58:01 +0200 Kristian Rietveld
3025 Seal priv pointer in GtkStatusIcon.
3027 2008-05-26 13:57:33 +0200 Kristian Rietveld
3029 Seal priv pointer in GtkSeparatorToolItem.
3031 2008-05-26 13:56:33 +0200 Kristian Rietveld
3033 Seal priv pointer in GtkScaleButton.
3035 2008-05-26 13:55:57 +0200 Kristian Rietveld
3037 Seal priv pointer in GtkRecentManager.
3039 2008-05-26 13:55:25 +0200 Kristian Rietveld
3041 Seal priv pointer in GtkRecentChooserWidget.
3043 2008-05-26 13:54:39 +0200 Kristian Rietveld
3045 Seal priv pointer in GtkRecentChooserMenu.
3047 2008-05-26 13:54:15 +0200 Kristian Rietveld
3049 Seal priv pointer in GtkRecentChooserDialog.
3051 2008-05-26 13:52:40 +0200 Kristian Rietveld
3053 Seal priv pointer in GtkRecentAction.
3055 2008-05-26 13:51:47 +0200 Kristian Rietveld
3057 Seal priv pointer in GtkRadioAction.
3059 2008-05-26 13:50:49 +0200 Kristian Rietveld
3061 Seal priv pointer in GtkPrintUnixDialog.
3063 2008-05-26 13:50:08 +0200 Kristian Rietveld
3065 Seal priv pointer in GtkPrintOperation.
3067 2008-05-26 13:49:41 +0200 Kristian Rietveld
3069 Seal priv pointer in GtkPrinter.
3071 2008-05-26 13:48:49 +0200 Kristian Rietveld
3073 Seal priv pointer in GtkPageSetupUnixDialog.
3075 2008-05-26 13:47:39 +0200 Kristian Rietveld
3077 Seal priv pointer in GtkMenuToolButton.
3079 2008-05-26 13:47:29 +0200 Kristian Rietveld
3081 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
3083 2008-05-26 13:23:45 +0200 Kristian Rietveld
3085 Seal priv pointer in GtkLinkButton.
3087 2008-05-26 13:22:25 +0200 Kristian Rietveld
3089 Seal priv pointer in GtkIconView.
3091 2008-05-26 13:22:04 +0200 Kristian Rietveld
3093 Seal priv pointer in GtkIconTheme.
3095 2008-05-26 13:13:49 +0200 Kristian Rietveld
3097 Seal child_allocation field in GtkFrame.
3099 2008-05-26 13:10:17 +0200 Kristian Rietveld
3101 Sealed priv pointer in GtkFontButton.
3103 2008-05-26 13:07:14 +0200 Kristian Rietveld
3105 Seal priv pointer in GtkFileChooserButton.
3107 2008-05-26 13:06:43 +0200 Kristian Rietveld
3109 Seal priv pointer in GtkExpander.
3111 2008-05-26 13:03:24 +0200 Kristian Rietveld
3113 Sealed remaining (private) fields in GtkContainer.
3115 2008-05-26 13:02:26 +0200 Kristian Rietveld
3117 Seal priv pointer in GtkComboBoxEntry.
3119 2008-05-26 13:01:40 +0200 Kristian Rietveld
3121 Seal priv pointer in GtkComboBox.
3123 2008-05-26 13:00:59 +0200 Kristian Rietveld
3125 Seal private_data pointer in GtkColorSel.
3127 2008-05-26 12:57:50 +0200 Kristian Rietveld
3129 Seal 3 remaining fields in GtkButton.
3131 2008-05-26 12:55:24 +0200 Kristian Rietveld
3133 Seal priv pointer in GtkBuilder.
3135 2008-05-26 12:52:44 +0200 Kristian Rietveld
3137 Seal center_allocation field in GtkAspectFrame.
3139 2008-05-26 12:48:18 +0200 Kristian Rietveld
3141 Seal priv pointer in GtkAction.
3143 2008-05-26 12:46:11 +0200 Kristian Rietveld
3145 Seal priv pointer in GtkAboutDialog.
3147 2008-05-26 12:41:46 +0200 Kristian Rietveld
3151 2008-05-26 12:39:54 +0200 Kristian Rietveld
3155 2008-05-26 11:59:35 +0200 Kristian Rietveld
3157 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
3159 2008-05-26 11:52:20 +0200 Kristian Rietveld
3161 Add new GtkColorSelectionDialog accessors to gtk.symbols.
3163 2008-05-26 11:41:47 +0200 Kristian Rietveld
3165 gtklabel.h: include bit-size of fields inside GSEAL parens.
3167 2008-05-26 11:40:07 +0200 Kristian Rietveld
3169 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
3171 2008-05-26 11:39:35 +0200 Kristian Rietveld
3173 gtkentry.h: include bit-size of fields inside GSEAL parens.
3175 2008-05-26 11:34:14 +0200 Kristian Rietveld
3177 Add new accessors for GtkEntry to gtk.symbols.
3179 2008-05-26 11:23:56 +0200 Kristian Rietveld
3181 Also seal GtkWindowGroup in gtkwindow.h
3183 2008-05-26 10:48:48 +0200 Kristian Rietveld
3185 Fix the build by including gdkconfig.h in gtktextchild.h.
3187 2008-05-23 18:48:56 +0200 Christian Dywan
3191 2008-05-23 18:28:39 +0200 Christian Dywan
3195 2008-05-23 18:28:07 +0200 Christian Dywan
3197 Seal GtkColorSelectionDialog
3199 2008-05-23 18:03:44 +0200 Carlos Garnacho
3201 Seal GtkTextChildAnchor.
3203 * gtk/gtktextchild.h: Sealed private member.
3205 2008-05-23 17:42:01 +0200 Carlos Garnacho
3209 * gtk/gtkwindow.h: Seal all fields.
3211 2008-05-23 17:40:09 +0200 Carlos Garnacho
3213 Add gtk_window_get_default()
3215 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
3216 * gtk/gtk.symbols: same here.
3218 2008-05-09 15:41:57 +0100 Martyn Russell
3220 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
3222 2008-05-02 16:31:40 +0200 Martyn Russell
3226 2008-05-02 16:30:09 +0200 Martyn Russell
3228 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
3230 2008-04-27 18:49:50 +0200 Kristian Rietveld
3232 Seal GtkToggleButton.
3234 * gtk/gtktogglebutton.h: Seal all member fields.
3236 2008-04-27 18:41:46 +0200 Kristian Rietveld
3238 Seal GtkTreeViewColumn.
3240 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
3241 still troublesome. We are probably going to need an accessor for this and
3242 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
3243 resized_width can be useful, but I really consider them to be private and
3244 of not much use to applications.
3246 2008-04-27 18:23:23 +0200 Kristian Rietveld
3248 Seal GtkRadioMenuItem.
3250 * gtk/gtkradiomenuitem.h: Seal member field.
3252 2008-04-27 18:21:29 +0200 Kristian Rietveld
3254 Seal GtkRadioButton.
3256 * gtk/gtkradiobutton.h: seal member field.
3258 2008-04-27 18:11:41 +0200 Kristian Rietveld
3260 Seal GtkTreeSelection.
3262 * gtk/gtktreeselection.h: Seal all member fields.
3264 2008-04-27 18:09:46 +0200 Kristian Rietveld
3266 Add gtk_tree_selection_get_select_function().
3268 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
3270 * gtk/gtk.symbols: add new function.
3272 2008-04-27 16:05:02 +0200 Kristian Rietveld
3274 Seal GtkScrolledWindow.
3276 * gtk/gtkscrolledwindow.h: Seal all object member fields.
3278 2008-04-27 15:56:33 +0200 Kristian Rietveld
3280 Seal GtkCellRenderer.
3282 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
3283 already accessible via GObject properties.
3285 2008-04-27 15:56:01 +0200 Kristian Rietveld
3287 Add "editing" GObject property to GtkCellRenderer.
3289 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
3290 (gtk_cell_renderer_get_property),
3291 (gtk_cell_renderer_set_property): add the property and hook
3294 2008-04-27 15:42:08 +0200 Kristian Rietveld
3296 Seal GtkCellRendererText.
3298 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3301 2008-04-27 15:40:47 +0200 Kristian Rietveld
3303 Seal GtkCellRendererCombo.
3305 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
3306 that were not marked as private are already accessible via GObject properties.
3308 2008-04-27 15:39:41 +0200 Kristian Rietveld
3310 Seal GtkCellRendererAccel.
3312 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3315 2008-04-18 16:55:44 +0200 Kristian Rietveld
3319 * gtk/gtktreeview.h: seal private pointer.
3321 2008-04-18 16:52:54 +0200 Kristian Rietveld
3323 Seal GtkTreeModelFilter
3325 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3328 2008-04-18 16:50:55 +0200 Kristian Rietveld
3330 Seal GtkTreeModelSort
3332 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3333 all public member fields.
3335 2008-04-18 16:42:28 +0200 Kristian Rietveld
3339 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3340 public member fields.
3342 2008-04-18 16:37:43 +0200 Kristian Rietveld
3346 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3347 public member fields.
3349 2008-04-18 18:26:31 +0200 Carlos Garnacho
3351 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3353 2008-04-18 18:25:22 +0200 Carlos Garnacho
3355 * gtk/gtkcontainer.h: seal members.
3357 2008-04-11 17:28:54 +0200 Carlos Garnacho
3359 * gtk/gtkmisc.h: seal members.
3361 2008-04-11 17:28:05 +0200 Carlos Garnacho
3363 *gtk/gtkfixed.h: seal members.
3365 2008-04-11 16:04:23 +0200 Michael Natterer
3367 * gtk/gtkcellrendererpixbuf.h: seal all members.
3369 2008-04-11 16:01:19 +0200 Michael Natterer
3371 * gtk/gtkcellrendererprogress.h: seal private member.
3373 2008-04-11 15:43:22 +0200 Michael Natterer
3375 * gtk/gtkcellrenderertoggle.h: seal all members.
3377 2008-04-04 18:50:05 +0200 Carlos Garnacho
3379 * gtk/gtkfilechooserwidget.h: Seal the private member.
3381 2008-04-04 18:46:47 +0200 Carlos Garnacho
3383 gtk/gtkfilechooserdialog.h: seal the private member.
3385 2008-04-04 18:42:17 +0200 Carlos Garnacho
3387 * gtk/gtkentrycompletion.h: Seal private member.
3389 2008-04-04 18:36:35 +0200 Carlos Garnacho
3391 * gtk/gtkcellview.h: Seal the private member.
3393 2008-04-04 18:28:00 +0200 Carlos Garnacho
3395 * gtk/gtkcolorbutton.h: seal private member.
3397 2008-04-04 18:27:26 +0200 Carlos Garnacho
3399 * gtk/gtkcheckmenuitem.h: seal public struct members.
3401 2008-04-04 18:25:25 +0200 Carlos Garnacho
3403 * gtk/gtkcalendar.h: seal public struct members.
3405 2008-04-04 18:24:15 +0200 Carlos Garnacho
3407 * gtk/gtkdialog.h: Also seal variables marked as private.
3409 2008-04-04 17:35:48 +0200 Michael Natterer
3411 * gtk/gtkimagemenuitem.h: seal private member.
3413 2008-04-04 17:28:56 +0200 Michael Natterer
3415 * gtk/gtkiconfactory.h: seal private member.
3417 2008-03-28 16:56:53 +0000 Martyn Russell
3421 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3422 member and clean up .c file to reflect this.
3424 2008-03-28 15:00:09 +0100 Sven Herzberg
3428 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3430 2008-03-28 16:38:00 +0100 Michael Natterer
3432 * gtk/gtkdrawingarea.h: seal instance struct member.
3434 2008-03-28 16:23:32 +0100 Christian Dywan
3436 Seal GtkScaleButton public fields
3438 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3440 2008-03-28 16:07:50 +0100 Christian Dywan
3442 Seal GtkScale public fields
3444 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3446 2008-03-14 20:45:34 +0100 Christian Dywan
3448 Seal GtkProgressBar public fields
3451 2008-03-14 20:32:12 +0100 Christian Dywan
3453 Seal GtkFrame public vars
3455 2008-03-14 18:57:35 +0100 Carlos Garnacho
3457 Deprecate direct access to public variables in GtkButton.
3459 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3461 2008-03-14 18:56:23 +0100 Carlos Garnacho
3463 Deprecate direct access to public variables in GtkButtonBox.
3465 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3467 2008-03-14 18:54:35 +0100 Carlos Garnacho
3469 Deprecate direct access to public variables in GtkBox.
3471 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3473 2008-03-09 11:50:41 +0100 Carlos Garnacho
3475 Seal GtkMessageDialog public vars
3477 2008-03-09 11:38:00 +0100 Carlos Garnacho
3479 Seal GtkDialog public vars
3481 2008-03-09 11:32:05 +0100 Carlos Garnacho
3483 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3485 2008-03-09 11:31:46 +0100 Carlos Garnacho
3487 Seal GtkAssistant public fields
3489 2008-03-09 11:31:30 +0100 Carlos Garnacho
3491 Seal GtkNotebook public fields
3493 2008-03-07 20:29:47 +0100 Mikael Hallendal
3495 Deprecate direct access to child in GtkBin.
3497 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3499 2008-03-07 18:25:59 +0000 Martyn Russell
3501 Sealed GtkAccelGroup and added
3503 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3504 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3505 macro for public struct members which should be private.
3507 2008-03-07 18:54:22 +0100 Mikael Hallendal
3509 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3511 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3513 2008-03-07 18:48:29 +0100 Mikael Hallendal
3515 Deprecate arrow_type and shadow_type direct access in GtkArrow.
3517 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3519 2008-03-07 18:35:12 +0100 Mikael Hallendal
3521 Added GSEAL to GtkAlignment.
3523 * gtk/gtkalignment.h: Seal the object data with GSEAL.
3525 2008-03-07 15:24:27 +0100 Tim Janik
3527 Introduce GSEAL() macro.
3529 * configure.in: define GSEAL() when generating gdkconfig.h
3531 2008-06-20 Michael Natterer <mitch@imendio.com>
3533 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3536 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3537 (gtk_combo_box_insert_text)
3538 (gtk_combo_box_prepend_text)
3539 (gtk_combo_box_remove_text)
3540 (gtk_combo_box_real_get_active_text): apply patch from Christian
3541 Dywan which adds the needed g_return_if_fail() to prevent the
3544 2008-06-20 Cody Russell <cody@jhu.edu>
3546 * gdk/directfb/gdkwindow-directfb.c:
3548 Rename gdk_window_new -> _gdk_window_new and
3549 gdk_window_reparent -> _gdk_window_reparent to fix
3550 the build. (#539095, Sebastien Bacher)
3552 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3554 * gtk/gtkmenuitem.c: remove an unused variable and cast
3555 accel_path to gchar, just like in gtkmenu.c
3557 2008-06-19 Matthias Clasen <mclasen@redhat.com>
3559 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3562 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3564 * gtk/gtkprintbackend.c: Fix a typo in a comment
3566 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3567 Cast buf to unsigned char to avoid two compiler
3571 * gtk/gtkstyle.c (gtk_style_finalize):
3572 Do not ignore the return value of g_slist_remove.
3573 gtkstyle.c changes rubberstamped by Owen.
3575 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3577 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
3578 (gtk_tree_view_set_enable_tree_lines):
3579 gdk_gc_set_dashes expects a list of gint8, not guint8.
3581 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3583 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
3584 Remove an unused variable and cast to gchar to avoid a compiler
3587 2008-06-19 Christian Persch <chpe@gnome.org>
3589 * docs/reference/gtk/gtk-sections.txt:
3591 * gtk/gtkclipboard.c:
3592 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
3593 targets. Bug #537639.
3595 2008-06-19 Christian Persch <chpe@gnome.org>
3597 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
3598 hardcoded target tables. Bug #516092.
3600 2008-06-19 Christian Persch <chpe@gnome.org>
3602 * gdk-pixbuf/gdk-pixbuf-io.c:
3603 * gdk-pixbuf/gdk-pixdata.c:
3604 * gdk-pixbuf/io-ani.c:
3605 * gdk-pixbuf/io-bmp.c:
3606 * gdk-pixbuf/io-gdip-utils.c:
3607 * gdk-pixbuf/io-gif.c:
3608 * gdk-pixbuf/io-icns.c:
3609 * gdk-pixbuf/io-ico.c:
3610 * gdk-pixbuf/io-jasper.c:
3611 * gdk-pixbuf/io-jpeg.c:
3612 * gdk-pixbuf/io-pcx.c:
3613 * gdk-pixbuf/io-png.c:
3614 * gdk-pixbuf/io-pnm.c:
3615 * gdk-pixbuf/io-ras.c:
3616 * gdk-pixbuf/io-tga.c:
3617 * gdk-pixbuf/io-tiff.c:
3618 * gdk-pixbuf/io-wbmp.c:
3619 * gdk-pixbuf/io-xbm.c:
3620 * gdk-pixbuf/io-xpm.c:
3621 * gtk/gtkfilechooserdefault.c:
3622 * gtk/gtkfilesystemmodel.c:
3623 * gtk/gtkiconfactory.c:
3624 * gtk/gtkicontheme.c:
3626 * gtk/gtkpagesetup.c:
3627 * gtk/gtkpapersize.c:
3628 * gtk/gtkprintoperation-win32.c:
3629 * gtk/gtktextbufferserialize.c:
3630 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
3632 * configure.in: Update glib requirement to 2.17.3.
3634 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3636 * demos/testpixbuf.c (new_testrgb_window):
3637 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
3638 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
3639 (gtk_item_factory_create_item):
3640 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
3641 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
3642 (gtk_progress_bar_new_with_adjustment):
3643 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
3644 * gtk/gtktext.c (gtk_text_new):
3645 * gtk/gtkviewport.c (gtk_viewport_new):
3646 * tests/simple.c (main):
3647 * tests/testgtk.c (create_statusbar), (create_get_image),
3648 (create_saved_position), (create_tooltips), (create_cursors),
3649 (create_display_screen), (create_progress_bar), (create_idle_test):
3650 * tests/testmultidisplay.c (make_selection_dialog), (main):
3651 * tests/testmultiscreen.c (main):
3652 * tests/testrgb.c (new_testrgb_window):
3653 Use g_object_new instead of gtk_widget_new
3655 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
3657 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
3659 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
3662 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
3663 to avoid a gcc warning.
3665 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3667 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
3668 the filename in the name entry in CREATE_FOLDER mode when changing
3669 folders, so that you can enter a new subfolder name, double-click on a
3670 folder to change to it, and close the dialog.
3672 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
3673 the filename in the entry in CREATE_FOLDER mode, either.
3675 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
3677 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
3678 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
3681 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
3682 clear the entry for CREATE_FOLDER either; this needs the same
3683 behavior as SAVE mode.
3684 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
3687 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3689 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
3690 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3691 (model_add_bookmarks):
3692 (model_update_current_folder):
3693 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
3694 (shortcuts_reload_icons): Use standard icon names.
3696 2008-06-18 Matthias Clasen <mclasen@redhat.com>
3698 * gtk/Makefile.am: Add some more aliases for standard
3699 icon names to the builtin icon theme: drive-harddisk,
3700 folder, folder-remote, text-x-generic.
3702 2008-06-18 Michael Natterer <mitch@imendio.com>
3704 * gtk/gtkcalendar.c: set the maximum of the "year" property to
3705 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
3706 calculations which in turn caused writing beyond the boundaries of
3707 the calendar->day_month[] and day[] arrays which in turn caused a
3708 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
3710 2008-06-18 Michael Natterer <mitch@imendio.com>
3713 * tests/autotestfilechooser.c
3714 * tests/buildertest.c
3715 * tests/defaultvaluetest.c
3716 * tests/floatingtest.c
3717 * tests/objecttests.c
3718 * tests/pixbuf-init.c
3719 * tests/textbuffertest.c: remove unit tests here...
3721 * gtk/tests/Makefile.am
3722 * gtk/tests/builder.c
3723 * gtk/tests/defaultvalue.c
3724 * gtk/tests/filechooser.c
3725 * gtk/tests/floating.c
3726 * gtk/tests/object.c
3727 * gtk/tests/pixbuf-init.c
3728 * gtk/tests/textbuffer.c: ...and add them here.
3730 2008-06-18 Michael Natterer <mitch@imendio.com>
3732 * gdk/gdk.h: deprecate GdkDestroyNotify.
3736 * gdk/x11/gdkevents-x11.c
3737 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
3739 2008-06-18 Michael Natterer <mitch@imendio.com>
3741 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
3743 * gtk/gtkactiongroup.[ch]
3744 * gtk/gtkcombobox.[ch]
3745 * gtk/gtkcontainer.[ch]
3746 * gtk/gtkliststore.[ch]
3750 * gtk/gtktreedatalist.[ch]
3751 * gtk/gtktreemodelfilter.[ch]
3752 * gtk/gtktreemodelsort.[ch]
3753 * gtk/gtktreeprivate.h
3754 * gtk/gtktreeselection.[ch]
3755 * gtk/gtktreesortable.[ch]
3756 * gtk/gtktreestore.[ch]
3757 * gtk/gtktreeview.[ch]
3758 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
3760 2008-06-18 Michael Natterer <mitch@imendio.com>
3762 * tests/testgtk.c: some more undeprecation.
3764 2008-06-18 Michael Natterer <mitch@imendio.com>
3766 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3769 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3771 2008-06-18 Michael Natterer <mitch@imendio.com>
3773 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3775 * gtk/gtk.symbols: changed accordingly.
3777 * gtk/gtksettings.c (gtk_settings_install_property)
3778 (gtk_settings_install_property_parser): get rid of using
3779 gtk_type_class() by keeping a static reference to GtkSettingsClass
3780 around in both functions and passing that pointer on to
3781 settings_install_property_parser().
3783 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3786 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3789 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3791 * gtk/gtkstyle.c: Add deprecated version
3792 and change the deprecation markup used by ref/unref
3794 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3797 Add deprecated versions and fixup markup.
3799 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
3801 * gtk/gtkaboutdialog.c:
3802 * gtk/gtkbutton.c (gtk_button_class_init):
3803 Don't markup deprecated in italics.
3805 2008-06-18 Carlos Garnacho <carlos@imendio.com>
3807 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3808 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3810 2008-06-17 Michael Natterer <mitch@imendio.com>
3812 * examples/gtkdial/gtkdial.[ch]: undeprecate.
3814 2008-06-17 Michael Natterer <mitch@imendio.com>
3816 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3817 function gtk_object_init_type().
3819 2008-06-17 Michael Natterer <mitch@imendio.com>
3821 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3822 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
3823 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
3826 2008-06-17 Tor Lillqvist <tml@novell.com>
3828 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3829 #undef/#define dance here, too, because
3830 gtk_notebook_set_group_id() is deprecated but used here before it
3831 is defined, and gcc complains about conflicting type from the
3832 implicit int declaration when it sees the actual void definition.
3834 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3837 2008-06-17 Michael Natterer <mitch@imendio.com>
3839 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3846 * gtk/gtkoldeditable.c
3849 * gtk/gtktipsquery.c
3851 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3852 actually use deprecated symbols (not just types or macros),
3853 #define it again before #include "gtkalias.h" so the symbols match
3854 and the beast links.
3856 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3858 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3860 2008-06-17 Michael Natterer <mitch@imendio.com>
3862 * modules/input/gtkimcontextmultipress.h
3863 * modules/input/gtkimcontextthai.h
3864 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3865 type checking macros.
3867 2008-06-17 Michael Natterer <mitch@imendio.com>
3869 * gtk/gtktypeutils.h: really move the GtkType typedef to an
3870 undeprecated section.
3872 2008-06-17 Michael Natterer <mitch@imendio.com>
3874 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3875 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3876 Move the GtkType typedef to an undeprecated section.
3878 2008-06-17 Michael Natterer <mitch@imendio.com>
3880 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3881 of GTK_CHECK ones because it's the parent class of an undeprecated
3882 class and the GTK_CHECK stuff will soon be deprecated.
3884 2008-06-17 Michael Natterer <mitch@imendio.com>
3887 * gtk/gtkinputdialog.c
3888 * gtk/gtkmenutoolbutton.c
3889 * gtk/gtkoptionmenu.c
3891 * gtk/gtktooltips.c: add or move around
3892 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3893 deprecated stuff again (with the minor glitch that it doesn't
3894 link ;) but at least it's a tool to keep the code clean).
3896 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3898 * gtk/gtkrecentmanager.c:
3899 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3902 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3904 * gtk/gtkrecentmanager.c:
3905 (gtk_recent_manager_remove_item),
3906 (gtk_recent_manager_move_item): Increase the consistency of the
3907 errors returned by GtkRecentManager. (Paolo Borelli)
3909 2008-06-17 Paolo Borelli <pborelli@katamail.com>
3911 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3913 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3915 * gtk/gtkrecentmanager.c:
3916 (gtk_recent_manager_remove_item): Consistently use the same
3917 error when removing a URI from an empty GtkRecentManager.
3919 2008-06-17 Michael Natterer <mitch@imendio.com>
3921 * gtk/gtkfilechooserdefault.c: remove static integer variables
3922 which hold the number of members in GtkTargetEntry arrays and use
3923 G_N_ELEMENTS() directly instead.
3925 2008-06-17 Michael Natterer <mitch@imendio.com>
3927 * gtk/gtk.symbols: move some deprecated symbols into
3928 #ifndef GTK_DISABLE_DEPRECATED.
3930 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
3932 * gtk/gtkfilechooserdefault.c:
3933 (gtk_file_chooser_default_init),
3934 (gtk_file_chooser_default_constructor),
3935 (gtk_file_chooser_default_screen_changed),
3936 (recent_start_loading): Remove the GtkRecentManager screen
3937 dance, as it has been deprecated since 2.12. Now we get the
3938 GtkRecentManager singleton whewn we create the FileChooserDefault
3939 instance. (Michael Natterer)
3941 2008-06-17 Michael Natterer <mitch@imendio.com>
3943 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3944 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3946 2008-06-17 Michael Natterer <mitch@imendio.com>
3948 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3951 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3952 in via deprecated headers.
3954 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3956 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3958 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3959 against XKB being stupid. Reported by Pedro Villavicencio.
3961 2008-06-17 Michael Natterer <mitch@imendio.com>
3963 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3964 and unref() instead of the deprecated gtk_widget_ref() and unref().
3966 2008-06-16 Michael Natterer <mitch@imendio.com>
3968 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3969 svn since 2.8 but was never used.
3971 2008-06-16 Michael Natterer <mitch@imendio.com>
3973 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3974 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3975 (the former is deprecated and #defined to gtk_binding_entry_clear)
3977 2008-06-16 Michael Natterer <mitch@imendio.com>
3979 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3980 unused) "gtkmarshal.h".
3982 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
3984 Bug 538182 – pango_cairo_context_update_layout is not noop after
3985 gtk_widget_create_pango_layout
3987 * gtk/gtksettings.c (settings_update_font_options): Make sure all
3988 font option fields are set to non-DEFAULT values.
3990 2008-06-16 Michael Natterer <mitch@imendio.com>
3995 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3996 gtk_rc_style_unref().
3998 2008-06-16 Michael Natterer <mitch@imendio.com>
4000 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
4001 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
4002 gtk_marshal_BOOLEAN__VOID.
4004 2008-06-16 Michael Natterer <mitch@imendio.com>
4006 * gtk/gtkcellrendereraccel.h
4008 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
4009 macros for type checking.
4011 (gtk_object_get_type): change prototype to return GType instead of
4014 2008-06-16 Matthias Clasen <mclasen@redhat.com>
4016 * gtk/Makefile.am: Make folder, user-home and user-desktop links
4017 to gtk-directory in the builtin icon theme, so that we can
4018 use these icon names without risk of ending up without an icon.
4020 2008-06-16 Tor Lillqvist <tml@novell.com>
4022 Bug 538362 - Get Win32 icons back in the file chooser
4024 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
4025 reference to an icon resource in a DLL or .EXE in the same format
4026 as the DefaultIcon strings in the Registry. In that case, extract
4027 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
4028 code has to be in sync with the corresponding code in
4029 glib/gio/gcontenttype.c.
4031 2008-06-16 Matthias Clasen <mclasen@redhat.com>
4033 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
4034 to the builtin icon theme, to avoid showing broken images when
4035 there is no icon theme around. The new icons are thanks to
4038 2008-06-16 Michael Natterer <mitch@imendio.com>
4040 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
4041 GtkFileChooserDefault struct.
4043 * gtk/gtkfilechooserdefault.c: don't allocate and free the
4046 2008-06-16 Carlos Garnacho <carlos@imendio.com>
4048 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
4051 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
4052 Allow again setting any of the properties to render an image back to
4055 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4057 * gtk/gtkimage.c: When pixel-size is specified, use
4058 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
4060 2008-06-15 Carlos Garnacho <carlos@imendio.com>
4062 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
4063 path here as expected, not just the basename.
4065 * gtk/gtkfilechooserdefault.c
4066 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
4067 a reference to file, since it can be destroyed when switching back to
4070 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
4071 and desktop directories are dealt by the filechooser as normal files,
4072 not volumes, so the icon for these is handled directly by GIO.
4073 (_gtk_file_system_volume_render_icon): Update caller.
4075 2008-06-15 Matthias Clasen <mclasen@redhat.com>
4077 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
4079 2008-06-14 Cody Russell <bratsche@gnome.org>
4081 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
4083 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
4084 according to MSDN docs, associates the open clipboard with the
4085 current task. (#378158, reported by Andreas Köhler)
4087 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4089 * configure.in: Bump version
4091 * === Released 2.13.3 ===
4093 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4095 * gtk/gtkaccelgroup.c: Add some docs
4097 * gdk/gdkwindow.c: Fix doc typos
4099 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4101 * gtk/gtkfilesystem.c: Avoid PLT entries by including
4104 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4106 * gtk/gtkfilechooserbutton.c:
4107 * gtk/gtkfilechooserdefault.c:
4108 * gtk/gtkfilechooserentry.c:
4109 * gtk/gtkfilesystem.c:
4110 * gtk/gtkfilesystem.h:
4111 * gtk/gtkfilesystemmodel.c:
4112 * gtk/gtkpathbar.c: Really make GtkFileSystem private
4113 by _-prefixing all functions.
4115 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4117 * docs/RELEASE-HOWTO: Updates
4118 * INSTALL.in: Bump version
4120 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4124 2008-06-13 Michael Natterer <mitch@imendio.com>
4126 * gtk/gtkcellrendereraccel.h
4127 * gtk/gtkfilechooser.h
4128 * gtk/gtkfilechooserdialog.h
4129 * gtk/gtkfilechooserwidget.h
4130 * gtk/gtkmenutoolbutton.h
4131 * gtk/gtkpagesetup.h
4132 * gtk/gtkpapersize.h
4133 * gtk/gtkprintcontext.h
4134 * gtk/gtkprintoperation.h
4135 * gtk/gtkprintoperationpreview.h
4136 * gtk/gtkprintsettings.h
4137 * gtk/gtkradiotoolbutton.h
4138 * gtk/gtkrecentchooser.h
4139 * gtk/gtkrecentchooserdialog.h
4140 * gtk/gtkrecentchoosermenu.h
4141 * gtk/gtkrecentchooserwidget.h
4142 * gtk/gtkseparatortoolitem.h
4144 * gtk/gtktoggletoolbutton.h
4146 * gtk/gtktoolbutton.h
4147 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
4148 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
4150 2008-06-13 Michael Natterer <mitch@imendio.com>
4152 * gtk/gtktexttagtable.h: remove double inclusion of
4155 2008-06-13 Michael Natterer <mitch@imendio.com>
4157 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
4158 local "image" variable from GtkImage to GtkWidget to fix warning.
4160 2008-06-13 Michael Natterer <mitch@imendio.com>
4162 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
4163 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4165 2008-06-13 Michael Natterer <mitch@imendio.com>
4167 * gtk/gtkuimanager.c (start_element_handler): silently skip
4168 unknown attributes instead of bailing out with an error in order
4169 to be compatible with possible future attribute names.
4171 This is related to the discussion in bug #516425 but actually
4172 needed for any kind of XML format extension.
4174 2008-05-23 Hans Breuer <hans@breuer.org>
4176 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
4177 Avoids crashing when the target can not be written, bug #537685
4179 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
4181 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
4182 it was not needed here anyway.
4184 2008-06-13 Matthias Clasen <mclasen@redhat.com>
4186 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
4187 Patch by Jan Arne Peterson
4189 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4191 Bug 537985 – gtk_init_with_args() doesn't open a display after
4194 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
4195 even when gtk_parse_args() has already been called.
4196 Patch by Mathias Hasselmann
4198 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4200 Bug 524222 – GtkToolbar with mix of buttons with and without
4203 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
4204 Improve appearance of "both vertical" mode toolbuttons.
4205 Patch by Peter Johanson
4207 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4209 Bug 519092 – Add accessibility support to GtkVolumeButton
4211 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
4212 Patch by Jonh Wendell
4214 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4216 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
4217 GtkAction has problems
4218 Patch by Peter Johanson
4220 * gtk/gtkaction.c (connect_proxy): Set the image of a button
4221 proxy to the "icon-name" property.
4223 (gtk_action_set_short_label): If the "image" property is set
4224 on the button proxy, also tries to set the "label" property on
4227 2008-06-12 Michael Natterer <mitch@imendio.com>
4230 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
4231 in via "gtkintl.h" from <glib/gi18n-lib.h>.
4233 2008-06-12 Matthias Clasen <mclasen@redhat.com>
4235 RH bug 248245 and 449379: cups client printing from gnome
4238 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
4239 printer URI construction. Patch by Marek Kasik
4241 2008-06-12 Michael Natterer <mitch@imendio.com>
4243 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
4244 limit the number of displayed items by the actual screen height
4245 instead of some arbitrary value (Bug #408154, Xan Lopez and
4248 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
4250 Bug 503071 – Application direction changes to right to left even if
4251 theres no translation
4253 * configure.in: Bump glib requirement.
4255 * gtk/gtkaccellabel.c
4256 (_gtk_accel_label_class_get_accelerator_label):
4257 * gtk/gtkactiongroup.c (dgettext_swapped):
4258 * gtk/gtkbuilder.c (gtk_builder_class_init):
4259 * gtk/gtkbuilderparser.c (_dpgettext),
4260 (_gtk_builder_parser_translate):
4261 * gtk/gtkfilechooserdefault.c (list_size_data_func):
4262 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
4264 * gtk/gtkmain.c (setlocale_initialization),
4265 (do_pre_parse_initialization), (gettext_initialization):
4266 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
4267 Use g_dgettext() and g_dngettext().
4269 2008-06-11 Matthias Clasen <mclasen@redhat.com>
4271 * docs/RELEASE-HOWTO: Updates
4273 2008-06-11 Tor Lillqvist <tml@novell.com>
4275 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
4276 support Win9x anyway, we can use ProcessIdToSessionId()
4279 2008-06-11 Michael Natterer <mitch@imendio.com>
4281 * gtk/gtkfilechooserbutton.c: fix local prototype of
4282 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
4284 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4286 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
4288 * gtk/gtkoptionmenu.c:
4289 * gtk/gtkcombobox.c: Set the window type hint on popups.
4290 Patch by Danny Baumann
4292 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4294 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
4295 (gtk_file_system_volume_render_icon): Add standard icon names,
4296 and also fall back to builtin gtk stock icons.
4298 2008-06-10 Christian Persch <chpe@gnome.org>
4300 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4301 (gtk_tree_view_maybe_begin_dragging_row),
4302 (gtk_tree_view_set_reorderable),
4303 (gtk_tree_view_enable_model_drag_source),
4304 (gtk_tree_view_enable_model_drag_dest),
4305 (gtk_tree_view_unset_rows_drag_source),
4306 (gtk_tree_view_unset_rows_drag_dest): Make
4307 gtk_tree_view_enable_model_drag_[source|dest] compatible with
4308 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4310 2008-06-10 Christian Persch <chpe@gnome.org>
4312 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4313 (dest_row_free), (set_dest_row), (ensure_info),
4314 (gtk_tree_view_remove), (gtk_tree_view_put),
4315 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4318 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4320 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4321 use g_file_new_for_uri.
4323 2008-06-10 Paolo Borelli <pborelli@katamail.com>
4325 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4328 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4332 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4333 #520874, comment #8. It's no longer used directly by GTK+.
4335 2008-06-10 Carlos Garnacho <carlos@imendio.com>
4337 Bug 520874 - Should use gio directly.
4339 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4340 provides helper functions for asynchronous calls, folder abstraction
4341 and uniform handling of volumes/drives/mounts.
4343 * gtk/gtkfilesystemwin32.[ch]:
4344 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4346 * gtk/gtkfilechooser.c:
4347 * gtk/gtkfilechooserbutton.c:
4348 * gtk/gtkfilechooserdefault.c:
4349 * gtk/gtkfilechooserentry.[ch]:
4350 * gtk/gtkfilechooserprivate.h:
4351 * gtk/gtkfilechooserutils.c:
4352 * gtk/gtkfilesystemmodel.[ch]:
4353 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4354 Do not load filesystem implementation modules.
4357 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4358 anymore, nor the unix/win32 implementations.
4360 * README.in: Add blurb about these changes.
4362 2008-06-09 Kristian Rietveld <kris@gtk.org>
4364 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4366 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4367 (gtk_cell_renderer_combo_set_property),
4368 (gtk_cell_renderer_combo_editing_done),
4369 (gtk_cell_renderer_combo_start_editing): introduce private class
4370 struct, allow model to be set to NULL.
4372 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
4374 Bug 131920 – gtkNotebook sends incorrect switch_page value
4376 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4377 signal send correct page index when page index 0 is active and
4378 removed. (#131920, Samuel Fogh)
4380 2008-06-08 Kristian Rietveld <kris@gtk.org>
4382 Bug 536730 - memory corruption in gtktreeview
4384 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4385 remove the expand/collapse timeout and node, then free the rbtree.
4387 2008-06-08 Kristian Rietveld <kris@gtk.org>
4389 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4391 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4392 find path if we found valid nodes, return FALSE otherwise. (Patch
4393 from Matthias Clasen).
4395 2008-06-08 Matthias Clasen <mclasen@redhat.com>
4397 * gtk/gtkrecentmanager.c:
4398 * gtk/gtkrecentfilter.c:
4399 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4402 2008-06-08 Christian Persch <chpe@gnome.org>
4404 Bug 535608 – do not string-copy accel paths in the menu code
4406 * gtk/gtkaccelgroup.c:
4407 * gtk/gtkaccelmap.c:
4410 * gtk/gtkmenuitem.c:
4411 * gtk/gtkwidget.c: Don't store the accel path as a string in
4412 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4413 keeping a string copy around is just a waste of memory.
4414 Improve the documentation to mention this.
4416 2008-06-07 Tor Lillqvist <tml@novell.com>
4418 Bug 536990 - updateiconcache.c: 'close ()' is redundant
4420 * gtk/updateiconcache.c (build_cache): Drop redundant close()
4421 calls. fclose() on a fdopen()ed stream closes the underlying file
4424 2008-06-06 Matthias Clasen <mclasen@redhat.com>
4426 Bug 536757 – regression: openoffice.org menus are placed at wrong
4427 position since 2.12.10
4429 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4430 Return the right coordinates.
4432 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
4434 Bug 536185 – monitor font configuration
4437 * gdk/x11/gdksettings.c:
4438 * gtk/gtksettings.c (gtk_settings_class_init),
4439 (gtk_settings_notify), (settings_update_fontconfig):
4440 Monitor xsettings key Fontconfig/Timestamp and upon change,
4441 reread fontconfig configuration, clear Pango's caches, and
4444 2008-06-06 Ross Burton <ross@burtonini.com>
4447 Fix trivial typo in documentation.
4449 2008-06-06 Tor Lillqvist <tml@novell.com>
4451 * config.h.win32.in: Slight update to match what configure
4454 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
4456 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4457 constant to the end of the list, to avoid breaking the stable ABI
4459 2008-06-05 Michael Natterer <mitch@imendio.com>
4461 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4463 2008-06-05 Li Yuan <li.yuan@sun.com>
4465 * gail-uninstalled.pc.in:
4466 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4467 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4469 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4471 * docs/RELEASE-HOWTO: Update a bit
4473 2008-06-03 Matthias Clasen <mclasen@redhat.com>
4475 * configure.in: Bump version
4477 * === Released 2.13.2 ===
4479 2008-06-03 Federico Mena Quintero <federico@novell.com>
4481 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4482 If the user presses Tab while the completion feedback window is
4483 active, then we'll assert. Remove the assertion and just re-set
4484 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4486 2008-06-03 Colin Walters <walters@redhat.com>
4488 Bug 535303 – add _get_implementation to GtkStatusIcon
4490 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4491 function to retrieve internal X11 window ID, useful for libnotify.
4492 * gtk/gtkstatusicon.h: Prototype it.
4493 * docs/reference/gtk/gtk-sections.txt: Add to docs.
4494 * gtk/gtk.symbols: Export it.
4496 2008-06-03 Tor Lillqvist <tml@novell.com>
4498 * gtk/updateiconcache.c (build_cache): Use g_open().
4500 2008-06-03 Michael Natterer <mitch@imendio.com>
4503 * gtk/gtkctree.h: revert includes to how they have been before the
4504 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4505 that you can't include <gtk/gtk.h> from two headers where one is a
4506 parent class of the other and expect them both to be includable
4509 2008-06-03 Michael Natterer <mitch@imendio.com>
4511 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4513 2008-06-02 Matthias Clasen <mclasen@redhat.com>
4515 Bug 536092 – GtkEntryCompletion's popup window should set type hint
4517 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4518 a type hint on the popup window to help compiz.
4519 Patch by Vaclav Slavik.
4521 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
4523 Bug 535862 – gtk_action_create_icon can't create icons from the
4526 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4527 the default factories as it's supposed.
4529 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
4531 Bug 535497 – Print preview doesn't work.
4533 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4534 instead of launching Preview.app directly.
4536 2008-06-02 Michael Natterer <mitch@imendio.com>
4538 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4539 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4542 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
4544 Bug 535830 – wrong content type adding an item
4546 * gtk/gtkrecentmanager.c:
4547 (gtk_recent_manager_add_item_query_info): Use the correct API
4548 for retrieving the fast MIME type of a URI. (Carlos Garcia
4551 2008-05-31 Kristian Rietveld <kris@imendio.com>
4553 Bug 530146 - Setting non-string tooltip with
4554 gtk_tree_view_set_tooltip_column() segfaults
4556 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4557 gtk_tree_model_get_value() and explicitly transform the value to a
4558 string before setting it as tooltip.
4560 2008-05-30 Tor Lillqvist <tml@novell.com>
4562 * modules/engines/ms-windows/msw_style.h
4563 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4565 2008-05-30 Michael Natterer <mitch@imendio.com>
4567 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4568 GDestroyNotify when using it in g_object_set_data_full().
4570 2008-05-30 Michael Natterer <mitch@imendio.com>
4572 * gdk/gdkapplaunchcontext.h
4573 * gdk/gdktestutils.h
4574 * gtk/gtkmountoperation.h
4576 * gtk/gtktestutils.h
4577 * gtk/gtktoolshell.h: no need to allow disabling single includes
4578 conditionally in these new files. Simply forbid including them
4579 individually from the beginning.
4581 2008-05-30 Tor Lillqvist <tml@novell.com>
4583 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
4585 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
4588 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4590 * configure.in: Bump version
4592 * === Released 2.13.1 ===
4596 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4598 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
4600 2008-05-29 Matthias Clasen <mclasen@redhat.com>
4602 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
4604 2008-05-29 Tor Lillqvist <tml@novell.com>
4606 Bug 535526 - updateiconcache.c: using open/close without prototype
4608 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
4609 g_utime() when available instead of utime() for UTF-8 pathname
4612 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
4614 Bug 56355 – GtkLabel - Not all changes propagate correctly
4616 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
4617 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
4618 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
4619 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
4620 notifications of mnemonic-keyval changes.
4622 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4624 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
4626 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
4627 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
4628 * gtk/gtk.symbols: Additions
4629 * tests/testimage.c: Add a GIcon test
4631 2008-05-29 Michael Natterer <mitch@imendio.org>
4634 * gtk/gtkunixprint.h: add a single-include header for the unix
4637 * gtk/gtkpagesetupunixdialog.h
4640 * gtk/gtkprintunixdialog.h: add single-include guards that #error
4641 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
4642 files is included individually.
4644 * gtk/gtkprintbackend.h
4645 * gtk/gtkprinter-private.h
4646 * modules/printbackends/cups/gtkprintbackendcups.c
4647 * modules/printbackends/cups/gtkprintercups.h
4648 * modules/printbackends/lpr/gtkprintbackendlpr.c
4649 * tests/buildertest.c
4650 * tests/defaultvaluetest.c
4651 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
4654 2008-05-28 Michael Natterer <mitch@imendio.com>
4656 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
4657 excess newlines and sprinkled some newlines where needed. Zero
4658 code or formatting changes included.
4660 2008-05-28 Michael Natterer <mitch@imendio.com>
4662 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
4664 2008-05-28 Michael Natterer <mitch@imendio.com>
4666 * gtk/gtkcolorbutton.h: fix comment: the widget is called
4667 GtkColorButton, not GtkColorSelectButton. Remove trailing
4668 whitespace and excess newlines.
4670 2008-05-28 Michael Natterer <mitch@imendio.com>
4672 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
4673 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
4674 to CPPFLAGS so it's impossible to commit code that would break
4675 apps which use DISABLE_INCLUDE defines.
4677 2008-05-28 Michael Natterer <mitch@imendio.com>
4679 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
4682 * gtk/gtktypebuiltins.h.template
4683 * gtk/gtkversion.h.in
4684 * gtk/gtk*.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.
4688 * gtk/gtkprintbackend.h
4689 * gtk/gtkprinter-private.h
4690 * gtk/gtktextlayout.h
4691 * gtk/gtktexttagprivate.h
4692 * gtk/gtktexttypes.h
4693 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
4694 headers in these private or semi-private headers.
4696 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
4698 * gtk/gtkpagesetupunixdialog.h
4701 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
4707 * gtk/gtkitemfactory.h
4710 * gtk/gtkoldeditable.h
4711 * gtk/gtkoptionmenu.h
4715 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
4716 instead of individual headers in these deprecated headers. They
4717 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
4718 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
4719 and include them individually, which should continue to work.
4721 * gtk/gtkclist.c: include "gtkctree.h" because of the change
4724 2008-05-28 Kristian Rietveld <kris@imendio.com>
4726 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
4729 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
4730 cursor_offset *must* be larger than background height of the cursor
4731 node, not just equal otherwise there is no guarantee there is a next
4734 2008-05-28 Michael Natterer <mitch@imendio.com>
4736 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
4738 2008-05-28 Michael Natterer <mitch@imendio.com>
4740 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
4743 * gdk/gdkenumtypes.h.template
4744 * gdk/gdk*.h: add single-include guards that #error out if
4745 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
4746 included individually. Also removed some redundant includes and
4747 did some tiny trailing whitespace removal that's not worth to
4750 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
4753 * gdk/win32/gdkwin32.h
4754 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
4757 2008-05-28 Kristian Rietveld <kris@imendio.com>
4759 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
4760 current widget again.
4762 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4763 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4764 custom_was_reset field to check if the custom widget is set again in
4765 the query-tooltip callback; if not, we set it to NULL. Based on a
4766 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4767 and Christian Persch.
4769 2008-05-28 Michael Natterer <mitch@imendio.com>
4771 * modules/printbackends/cups/gtkcupsutils.c
4772 * modules/printbackends/cups/gtkprintbackendcups.c
4773 * modules/printbackends/file/gtkprintbackendfile.c
4774 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4775 <gtk/gtk.h> instead of individual files.
4777 2008-05-28 Michael Natterer <mitch@imendio.com>
4779 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4782 2008-05-28 Kristian Rietveld <kris@imendio.com>
4784 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4786 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4787 ->priv->tree != NULL. Suggestion from Stefan Kost.
4789 2008-05-28 Kristian Rietveld <kris@imendio.com>
4791 Bug 324282 - add selected signal to cell renderer combo.
4793 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4794 (gtk_cell_renderer_combo_changed),
4795 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4796 that will be emitted as soon as the combo box emitted changed and has
4797 an active iterator. (Modified patch based on work by James
4800 * gtk/gtkmarshalers.list: add marshaler.
4802 2008-05-28 Kristian Rietveld <kris@imendio.com>
4804 Refactor expand/collapse timeout handling (amendment to bug 511217).
4806 * gtk/gtktreeview.c (add_expand_collapse_timeout),
4807 (remove_expand_collapse_timeout): new functions, the remove function
4808 also clears expanded_collapsed_node,
4809 (cancel_arrow_animation): moved to be next to the add/remove timeout
4811 (gtk_tree_view_unrealize),
4812 (gtk_tree_view_row_deleted),
4813 (gtk_tree_view_set_model),
4814 (cancel_arrow_animation),
4815 (gtk_tree_view_real_expand_row),
4816 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4818 2008-05-28 Kristian Rietveld <kris@imendio.com>
4820 Amendment of bug 485218 - Strange warning encountered.
4822 * gtk/gtktreemodelsort.[ch]
4823 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4824 indication whether or not the conversion had succeeded.
4826 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4828 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4830 * modules/printbackends/cups/gtkprintbackendcups.c
4831 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4832 if the printer does not support level 3. Patch by Marek Kašík.
4834 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4836 Bug 404571 - Scroll arrow backgrounds should be painted with different
4839 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
4840 as detail when drawing scroll arrow backgrounds. Proposed by
4843 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4845 Bug 511217 - potential memory corruption after refreshing a tree_view
4847 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4848 expanded_collapsed_node when canceling the animation.
4849 Patch by Nicholas Setton.
4851 2008-05-28 Michael Natterer <mitch@imendio.com>
4853 * modules/input/gtkimcontextime.h
4854 * modules/input/gtkimcontextmultipress.h
4855 * modules/input/gtkimcontextthai.h
4856 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4859 * modules/input/gtkimcontextime.c
4860 * modules/input/gtkimcontextmultipress.c
4861 * modules/input/gtkimcontextxim.c
4862 * modules/input/imam-et.c
4863 * modules/input/imcedilla.c
4864 * modules/input/imcyrillic-translit.c
4865 * modules/input/iminuktitut.c
4866 * modules/input/imipa.c
4867 * modules/input/imti-er.c
4868 * modules/input/imti-et.c
4869 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4870 "gtk/gtkintl.h" to the end of includes.
4872 2008-05-28 Michael Natterer <mitch@imendio.com>
4874 * modules/engines/pixbuf/pixbuf-style.h
4875 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4876 instead of individual files.
4878 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4880 Bug 485218 - Strange warning encountered
4882 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4883 (gtk_tree_model_sort_convert_child_iter_to_iter):
4884 (gtk_tree_model_sort_build_level): Better warnings. Patch
4885 by Kristian Rietveld.
4887 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4889 Bug 351910 - Search column setting lost
4891 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4892 the docs. Patch by Matt Barnes.
4894 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4896 Bug 477278 - avoid unnecessary pointer subtraction
4898 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
4899 subtraction that sparse complains about. Patch by Christian
4902 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4904 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4906 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4907 Commit the entry text before doing an increment. Patch by
4910 2008-05-27 Federico Mena Quintero <federico@novell.com>
4912 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4913 drag and drop from the file list into itself, as it doesn't make
4914 sense (it would just change the current folder).
4916 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4917 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4920 2008-05-27 Michael Natterer <mitch@imendio.com>
4922 * gtk/gtksignal.h: move deprecated guards around everything,
4923 including includes and include guards (just as in all other
4926 2008-05-27 Tor Lillqvist <tml@novell.com>
4928 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4929 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4930 <sys/stat.h> on Windows, and the mode used in open() doesn't
4931 matter much as there are no rwxrwxrwx bits on Windows anyway.)
4932 Open file in binary mode. Passing "b" to fdopen() later isn't
4935 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
4937 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4938 invalid or invisible widgets.
4940 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4942 Bug 531008 – Crash in gtkprintunixdialog.c
4944 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4945 the dialog closes. Patch by Yevgen Muntyan.
4947 2008-05-27 Matthias Clasen <mclasen@redhat.com>
4949 RH bug 248245: cups client printing from gnome applications fail
4951 * modules/printbackends/cups/gtkprintbackendcups.c
4952 (gtk_print_backend_cups_print_stream): Specify the right server.
4954 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4956 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4957 rubberbanding when "select-multiple" is TRUE. Bug #446068.
4959 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4961 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4962 correctly dialog buttons sensitivity when the anonymous option is
4963 enabled by default. Bug #531865.
4965 2008-05-27 Carlos Garnacho <carlos@imendio.com>
4967 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4968 password dialog modal and transient for the parent window also if it
4969 was specified in the constructor. Bug #531864.
4971 2008-05-26 Richard Hult <richard@imendio.com>
4973 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4974 setting the default font, might need to tweak this.
4976 2008-05-26 Michael Natterer <mitch@imendio.com>
4978 * examples/gtkdial/gtkdial.h
4979 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4981 2008-05-26 Michael Natterer <mitch@imendio.com>
4983 * gtk/gtkimmodule.h: fix indentation.
4985 2008-05-26 Michael Natterer <mitch@imendio.com>
4987 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4989 * gtk/gtkshow.c: remove inclusion of single files from gdk/
4991 Removed trailing whitespace in both files.
4993 2008-05-26 Richard Hult <richard@imendio.com>
4995 Bug 530353 – Mac-like gtk_accelerator_get_label()
4997 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4998 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4999 On quartz, make gtk_accelerator_get_label() format a Mac-like
5000 string, using unicode characters for modifier keys, arrows, delete
5001 etc. Patch from Yevgen Muntyan.
5003 2008-05-26 Richard Hult <richard@imendio.com>
5005 Bug 534869 – Length miscalculation in
5006 _gtk_quartz_get_selection_data_from_pasteboard
5008 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
5009 Get the number of bytes, not the number of characters, patch from
5012 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5014 * gtk/gtkwidget.c: Some doc formatting fixes.
5016 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5018 Bug 511163 – Remove pango_extents_to_pixels() calls
5020 * gtk/gtkcellrenderertext.c (get_size): Use
5021 pango_layout_get_pixel_extents.
5023 * configure.in: Bump Pango requirement to 1.20
5025 * INSTALL.in: Update required versions
5027 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5029 Bug 513811 – Use cairo_format_stride_for_width()
5031 * gtk/gtkhsv.c (paint_ring, paint_triangle):
5032 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
5033 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
5035 * configure.in: Bump cairo requirement to 1.6.0
5037 * INSTALL.in: Update required versions
5039 2008-05-26 Matthias Clasen <mclasen@redhat.com>
5041 * gtk/gtkshow.[hc]: Formatting fixes
5043 * gtk/gtkmountoperation.c: Add docs
5045 2008-05-25 Cody Russell <bratsche@gnome.org>
5047 Bug 507389 – use gslice for gtksettings
5049 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
5050 Report and patch by Christian Persch.
5052 2008-05-25 Cody Russell <bratsche@gnome.org>
5054 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
5055 when options are missing
5057 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
5058 that other processes that try to open it will fail gracefully. Also
5059 fix a crasher caused by lack of a NULL check. Report and patch
5062 2008-05-25 Cody Russell <bratsche@gnome.org>
5064 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
5066 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
5067 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
5068 so that we also take into account for foreign windows.
5069 Report and patch by Nathaniel Smith.
5071 2008-05-25 Cody Russell <bratsche@gnome.org>
5073 Bug 525461 - Don't invalidate under an input-only child
5075 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
5076 Check that the window is not input-only before invalidating.
5077 Report and patch by Owen Taylor.
5079 2008-05-25 Cody Russell <bratsche@gnome.org>
5081 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
5082 window frame extents
5084 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
5085 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
5087 2008-05-25 Cody Russell <bratsche@gnome.org>
5089 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
5090 caused by missing flag initialization
5092 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
5093 top-level private flags correctly. Patch by Danny Baumann.
5095 2008-05-25 Cody Russell <bratsche@gnome.org>
5097 Bug 534463 - non-editable GtkTextView should not call
5098 gtk_im_context_focus_in in focus event
5100 * gtk/gtktextview.c: Add checks to see if the textview is
5101 editable. Patch by Wang Diancheng.
5103 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5105 Bug 501730 – use GSlice for small allocs
5107 * gtk/gtkmenuitem.c:
5108 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
5109 Patch by Christian Persch.
5111 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5113 Bug 523930 – sort -> search in gtktreeview.c
5115 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
5116 glitch, pointed out by Björn Lindqvist.
5118 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5120 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
5122 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
5123 doc glitch, pointed out by Christian Persch.
5125 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5127 Bug 534694 – Col id in GtkListStore could be out of range
5129 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
5130 a bit. Pointed out by Jan Arne Petersen.
5132 2008-05-25 Matthias Clasen <mclasen@redhat.com>
5134 Bug 532497 – Configure problem when cross-compiling
5136 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
5137 pointed out by Marko Lindqvist.
5139 2008-05-25 Richard Hult <richard@imendio.com>
5141 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
5142 Slight coding style cleanup.
5144 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
5146 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
5147 Added support for parsing required toolkit versions (so that ui descriptions
5148 can target specific versions of the backend widget libraries) bug 527612.
5150 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5151 for the added xml tags to the ui description.
5153 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
5154 for requires tag handling.
5156 2008-05-25 Richard Hult <richard@imendio.com>
5158 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
5159 gtk_drag_source_info_destroy in an idle, workaround for bug
5160 #501588, that makes any code that uses the context returned from
5161 gtk_drag_begin() crash, like treeview/iconview dnd.
5162 (GdkDragSourceOwner::provideDataForType): only use the data if we
5165 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5167 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
5168 to the drag actions to allow trash (#137717).
5170 2008-05-25 Josselin Mouette <joss@malsain.org>
5172 reviewed by: Matthias Clasen
5174 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
5175 check that tracker is actually working before using it. Fixes
5178 2008-05-25 Sven Neumann <sven@gimp.org>
5180 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
5181 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
5182 and don't create an output window if it is set.
5184 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
5185 drawing areas. Fixes bug #519317.
5187 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5189 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
5190 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
5192 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
5193 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
5194 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
5195 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
5196 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
5197 (start_spinning), (gtk_spin_button_button_release),
5198 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
5199 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
5200 (gtk_spin_button_update): Reorder strange window hierarchy of the
5201 GtkSpinButton (#466000).
5203 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5205 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
5206 fix the wrong position for right and center justified labels with
5207 logical.x > 0 (#530255).
5209 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5211 * gtk/gtkfilechooserdefault.c:
5212 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
5215 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
5217 * tests/pixbuf-lowmem.c
5218 * tests/pixbuf-random.c
5219 * tests/pixbuf-randomly-modified.c
5220 * tests/pixbuf-read.c
5221 * tests/pixbuf-threads.c
5223 * tests/testtreeview.c: Fix remaining compiler warnings in these
5226 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
5228 reviewed by: Matthias Clasen
5233 * gtk/gtkshow.c: (gtk_show_uri):
5235 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
5237 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
5239 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
5241 * tests/buildertest.c: (test_list_store): Add test.
5243 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5245 Bug 520989 – icon factory buildable too strict
5247 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
5248 an optional attribute.
5250 2008-05-24 Matthias Clasen <mclasen@redhat.com>
5252 Bug 387972 – gtkassistant drawing problem
5254 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
5255 GtkAssistant work better in glade.
5257 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5259 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
5260 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
5261 used in GtkToolItem) (#532787).
5263 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5265 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
5266 try to toggle the visibility of the location entry field in search and
5267 recent mode (#526422).
5269 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
5271 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
5272 (shortcuts_list_create): Show parse name as tooltip for path
5273 shortcuts (#137503).
5275 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
5277 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
5278 pango_color_parse, do not reference XParseColor forms (#434991).
5280 2008-05-24 James Sharpe <jsharpe@gnome.org>
5282 * gdk/gdk.symbols: Remove duplicate
5283 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
5284 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
5286 2008-05-23 Hans Breuer <hans@breuer.org>
5288 * **/makefile.msc gtk/makefile.msc.in : updated
5289 * gtk/gtkwidget.c : fix c99ism (variable at start of block
5290 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
5292 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
5293 setlocale(LC_ALL, ...)
5295 2008-05-23 Tor Lillqvist <tml@novell.com>
5297 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
5298 gdk_window_remove_redirection.
5300 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5301 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5302 changes. Remove now unnecessary parameter checks as the caller
5305 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5307 2008-05-23 Tor Lillqvist <tml@novell.com>
5309 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5310 anything if style doesn't change. Improve debugging output.
5312 2008-05-23 Michael Natterer <mitch@gimp.org>
5315 * tests/print-editor.c
5316 * tests/prop-editor.h
5317 * tests/testmountoperation.c
5318 * tests/testmultidisplay.c
5319 * tests/testnouiprint.c
5321 * tests/testprintfileoperation.h
5322 * tests/testtreesort.c
5323 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5324 files. Remove some redundant includes.
5326 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
5328 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5329 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5331 2008-05-21 Richard Hult <richard@imendio.com>
5333 * gdk/quartz/gdkwindow-quartz.c:
5334 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5335 offscreen rendering changes, fixes build.
5337 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
5339 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5341 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5342 return snapshot pixmap coordinates widget relative in *clip_rect.
5344 * tests/testgtk.c: fixed bogus NULL pointer unref.
5346 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
5348 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5349 widget's allocation to cover extra widget windows placed outside the
5350 widget allocation (spinbutton arrows are the prime example for this).
5352 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
5354 * Applied pixmap redirection patch by Alexander Larsson with
5355 various updates from:
5356 Bug 318807 – Offscreen windows and window redirection.
5361 * updated docs to mention "Since 2.16".
5363 * tests/testgtk.c: fixed snapshooting pixmap leak.
5364 convert pixmap to pixbuf after snapshooting, to compensate for different
5365 bit depths (occurs when snapshooting ARGB visuals and displaying the
5366 pixmap in an RGB visual).
5368 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5370 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5371 need for it. enqueue damage notification as GDK_DAMAGE events
5372 for each painting redirection at the start of the event queue.
5373 consider windows with a redirection fully visible when invalidating,
5374 and when updating from backing store. cleaned up stale variables.
5376 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5378 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5379 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5380 tree, drawingarea, text, handlebox, etc.
5381 clip the redirected window hierarchy to window sizes, the visible
5382 rectangles don't need to be taken into account here.
5383 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5384 in case pixmap visuals could mismatch.
5386 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5391 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5392 of possibly obscured widgets into an offscreen pixmap.
5394 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5395 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5397 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5399 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5400 implementations here, adapted them to propagate redirects to child windows.
5401 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5402 clipped to visible region. queue GDK_DAMAGE event delivery.
5403 gdk_window_redirect_to_drawable(): install window painting redirection.
5404 gdk_window_remove_redirection(): remove previously installed redirection.
5406 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5407 renamed _gdk_window_new() and _gdk_window_reparent().
5409 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5410 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5412 * gdk/gdkevents.h: added GDK_DAMAGE event type.
5414 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5416 * gdk/gdkinternals.h: added internal prototypes.
5418 2008-05-21 Michael Natterer <mitch@imendio.com>
5420 * gtk/gtkalignment.c
5424 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5426 2008-05-20 Matthias Clasen <mclasen@redhat.com>
5428 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5431 Patch by Marek Kasik.
5434 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5436 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5438 * modules/printbackends/file/gtkprintbackendfile.c:
5439 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5440 get_default_page_size.
5442 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5443 select its default paper size.
5445 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5446 use the printer default.
5448 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5449 if we don't have a default page setup.
5451 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
5453 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5454 can accept NULL for none. Fixes bug #533920.
5456 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
5458 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5459 gtk_spin_button_update): Remove two chunks of duplicated
5462 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
5464 * reverted recent unapproved changes by Yair Hershkovitz,
5465 regarding: Bug 503071 – Application direction changes to right
5466 to left even if theres no translation.
5468 2008-05-19 Richard Hult <richard@imendio.com>
5470 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5471 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5472 SetSystemUIMode instead of hiding and showing the menubar.
5474 2008-05-19 Federico Mena Quintero <federico@novell.com>
5476 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5477 can't be resized until you expand the "Browse for other folders"
5480 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5481 Removed the "get_resizable" method.
5482 (_gtk_file_chooser_embed_get_resizable): Removed.
5484 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5486 * gtk/gtkfilechooserdefault.c: Likewise.
5488 * gtk/gtkfilechooserdialog.c
5489 (file_chooser_widget_default_size_changed): Act as if the dialog
5490 were always resizable.
5492 2008-05-19 Michael Natterer <mitch@imendio.com>
5494 * gtk/gtkcellrenderer.c
5495 * gtk/gtkcellrendererpixbuf.c
5496 * gtk/gtkcellrenderertoggle.c
5497 * gtk/gtkimagemenuitem.c
5498 * gtk/gtkmenutoolbutton.c
5499 * gtk/gtkoptionmenu.c
5500 * gtk/gtkstatusbar.c
5501 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5503 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
5505 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5506 g_disable_setlocale().
5508 2008-05-17 Richard Hult <richard@imendio.com>
5510 * gdk/quartz/gdkwindow-quartz.c:
5511 (gdk_window_impl_quartz_invalidate_maybe_recurse):
5512 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5513 of g_idle_add. Add a temporary check if the window is already in
5514 the updates list, since update_area currently doesn't always match
5515 the backend's state, see bug #530801.
5517 2008-05-13 Tor Lillqvist <tml@novell.com>
5519 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5521 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5522 the "packet rate" of devices to zero instead of 50. This is
5523 reported to help significantly with Wacom tablet behaviour in GIMP
5524 and Inkscape. Patch from Thomas Bleeker.
5526 2008-05-12 Richard Hult <richard@imendio.com>
5528 * gdk/quartz/gdkevents-quartz.c:
5529 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5530 as it's no longer necessary; instead the added quartz API to get
5531 the nsevent from an event should be used. Also move the global
5532 filter up so it's done before the check for window-less events.
5534 2008-05-12 Tor Lillqvist <tml@novell.com>
5536 Bug 532558 - Cannot build dll when using separate builddir
5539 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5542 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
5544 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5546 2008-05-12 Tor Lillqvist <tml@novell.com>
5548 Bug 532059 - Leak in win32 clipboard manipulation
5550 * gdk/win32/gdkselection-win32.c
5551 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5554 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
5556 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5557 gettext_initialization only once.
5559 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5560 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
5561 with the extended functionality that was in the removed dpgettext().
5563 * gtk/gtkaccellabelc:
5565 * gtk/gtkimmulticontext.c:
5566 * gtk/gtkactiongroup.c:
5567 * gtk/gtkintl.h: use glib i18n api.
5569 2008-05-08 Richard Hult <richard@imendio.com>
5571 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
5572 currently invalidated region. Fixes bug #532048, patch by Yevgen
5575 2008-05-08 Richard Hult <richard@imendio.com>
5577 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
5578 fd's revents, not the first one. Fixes bug #531056, spotted by
5581 2008-05-07 Tor Lillqvist <tml@novell.com>
5583 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
5586 2008-05-05 Matthias Clasen <mclasen@redhat.com>
5588 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
5589 more printer status information in the print dialog.
5591 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
5592 printer-state-reasons into suitable messages and icons.
5594 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
5595 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
5596 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
5598 * gtk/gtkiconfactory.c:
5599 * gtk/gtkstock.h: New stock icons to display printer state.
5601 2008-05-07 Michael Natterer <mitch@imendio.com>
5603 * gdk/gdkinternals.h
5605 * gdk/directfb/gdkevents-directfb.c
5606 * gdk/quartz/gdkevents-quartz.c
5607 * gdk/win32/gdkevents-win32.c
5608 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
5609 order parameters src,dest and make src const.
5611 2008-05-06 Richard Hult <richard@imendio.com>
5613 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
5614 * gdk/gdkinternals.h: Add private backend data to events, and
5615 handle it when copying/freeing events. Currently only needed in
5618 * gdk/directfb/gdkevents-directfb.c:
5619 * gdk/quartz/gdkevents-quartz.c:
5620 * gdk/win32/gdkevents-win32.c:
5621 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
5622 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
5623 directfb. Implement for quartz. Part of fixing bug #473822.
5625 2008-05-05 Richard Hult <richard@imendio.com>
5627 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
5628 framework if there is one.
5630 2008-05-05 Michael Natterer <mitch@imendio.com>
5632 * gtk/gtkcellrenderercombo.h
5633 * gtk/gtkcellrendererspin.h
5634 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
5637 * gtk/gtkfilechooserdialog.h
5638 * gtk/gtkfilechooserwidget.h
5639 * gtk/gtkscalebutton.h: reorder instance and class structs to be
5642 2008-05-04 Richard Hult <richard@imendio.com>
5644 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
5645 gdk_unicode_to_keyval() worked before using the result. Makes
5646 function keys work, bug #530156. Also add F16 to the function key
5649 2008-05-04 Richard Hult <richard@imendio.com>
5651 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
5652 semicolon after if statement. Fixes bug #530963, patch from Yevgen
5655 2008-05-02 Michael Natterer <mitch@imendio.com>
5657 * gtk/gtk.h: add 15 files that were missing (they all got included
5658 indirectly by including gtk.h, so should have been here in the
5661 2008-05-02 Michael Natterer <mitch@imendio.com>
5663 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
5665 2008-05-01 Richard Hult <richard@imendio.com>
5667 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
5668 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
5670 2008-05-01 Matthias Clasen <mclasen@redhat.com>
5672 * modules/imput/imthai.c: Register the right translation domain.
5674 2008-04-30 Matthias Clasen <mclasen@redhat.com>
5676 Bug 529386 – Printing options hidden by blacklisted option
5678 * modules/printbackend/cups/gtkprintbackendcups.c
5679 (cups_printer_get_options): Fix the blacklist handling.
5680 Patch by Marek Kašík.
5682 2008-04-30 Richard Hult <richard@imendio.com>
5684 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
5687 2008-04-30 Richard Hult <richard@imendio.com>
5689 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
5690 nsevents with the gdk lock held, fixes deadlock when doing manual
5691 window resizing with threading enabled.
5693 2008-04-30 Richard Hult <richard@imendio.com>
5695 * gdk/quartz/gdkevents-quartz.c:
5696 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
5697 Alt to Alt and Cmd to Meta. This is not only more logical but also
5698 makes it easier to have Mac-like behavior.
5700 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
5702 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
5703 painting the flat box instead of recalculating it. (#437493,
5706 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
5708 Bug 529841 – incorrect position in directfb
5710 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
5712 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
5714 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
5716 2008-04-25 Michael Natterer <mitch@imendio.com>
5718 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
5719 <pango/pango-layout.h>.
5721 * gtk/gtkiconfactory.c
5725 * gtk/queryimmodules.c: remove inclusion of single files from
5726 pango, none of them was actually needed.
5728 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
5729 <pango/pango-utils.h>.
5731 2008-04-25 Michael Natterer <mitch@imendio.com>
5733 * gdk/gdkfont.h: include <pango/pango.h> instead of
5734 <pango/pango-font.h>.
5736 2008-04-25 Michael Natterer <mitch@imendio.com>
5738 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
5741 2008-04-21 Michael Natterer <mitch@imendio.com>
5743 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
5744 crashing when NULL pointers get passed.
5746 2008-04-18 Michael Natterer <mitch@imendio.com>
5748 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
5749 here have the same style.
5751 2008-04-18 Michael Natterer <mitch@imendio.com>
5753 * gtk/gtkicontheme.h
5754 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
5757 * gtk/gtkbuilderparser.c
5758 * gtk/gtklinkbutton.c
5760 * gtk/gtkrecentchooserdefault.c
5761 * gtk/gtkrecentchoosermenu.c
5762 * modules/input/gtkimcontextthai.c: remove inclusion of single
5763 files from gdk, none of the includes was actually needed.
5765 2008-04-18 Michael Natterer <mitch@imendio.com>
5767 * gdk/gdk.h: reorder one include so they are all alphabetical.
5769 2008-04-18 Michael Natterer <mitch@imendio.com>
5771 * modules/printbackends/cups/gtkprintercups.[ch]
5772 (gtk_printer_cups_get_ppd_name): change return value and local
5773 variable to const gchar* to fix warning about discarding const
5776 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
5778 * gtk/gtkrecentmanager.c:
5779 (gtk_recent_manager_set_filename): Keep the default storage
5780 file in $HOME, as we don't have a migration code in place yet.
5782 2008-04-18 Michael Natterer <mitch@imendio.com>
5784 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5785 g_strfreev() the uris returned by g_bookmark_file_get_uris().
5787 2008-04-17 Michael Natterer <mitch@imendio.com>
5789 * gtk/gtkiconfactory.c (get_default_icons): register the
5790 GTK_STOCK_PAGE_SETUP icon.
5792 2008-04-17 Michael Natterer <mitch@imendio.com>
5794 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5795 g_return_if_fail(tooltips != NULL);
5797 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
5799 * gtk/gtkwindow.c: Chain up in buildable_finish()
5801 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5802 cases where g_path_get_dirname() returns "."
5804 * docs/reference/gtk/tmpl/gtklabel.sgml,
5805 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5806 for the <attributes> tags on GtkLabel
5808 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5810 * gtk/gtkrecentmanager.c:
5811 (gtk_recent_manager_real_changed): Fix last commit, and
5812 complete the gtk-recent-files-max-age semantics: if the
5813 property is set to 0 then purge the list.
5815 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5817 Bug 488507 – boundless growth of .recently-used.xbel file
5818 slows down applications
5820 * gtk/gtkrecentmanager.c:
5821 (gtk_recent_manager_init),
5822 (gtk_recent_manager_real_changed),
5823 (gtk_recent_manager_set_filename),
5824 (gtk_recent_manager_clamp_to_age): Clamp the recently
5825 used resources list by the age of its items, using
5826 the newly added GtkSettings property.
5828 * gtk/gtksettings.c (gtk_settings_class_init): Add the
5829 gtk-recent-files-max-age property, controlling the
5830 maximum age of the items in the recently used resources
5833 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5835 * gtk/gtkrecentmanager.c:
5836 (gtk_recent_manager_add_item_query_info),
5837 (gtk_recent_manager_add_item): Emit the ::changed signal
5838 at the end of the asynchronous MIME type query.
5840 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5842 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5845 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5846 changes in the recently used resources storage file, and
5847 drop the timeout-based poll.
5849 * ChangeLog: Fix attribution of the patch of the previous
5852 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
5854 Bug 506062 – gtk_recent_manager_add_item does not detect mime
5857 * configure.in: Depend on gio-2.0
5859 * gtk/gtkrecentmanager.c:
5860 (gtk_recent_manager_add_item_query_info_cb),
5861 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5862 query the MIME type of the passed URI (based on a patch by
5865 2008-04-11 Carlos Garnacho <carlos@imendio.com>
5867 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5868 page to visited page list instead of next current page. (#527466,
5869 patch by Marcus Brinkmann)
5871 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
5873 * gtk/gtklabel.c: Added <attributes> / <attribute>
5874 custom tags to parse pango attributes into labels (#527486).
5876 * tests/buildertest.c: Added tests for GtkLabel custom
5879 2008-04-10 Carlos Garnacho <carlos@imendio.com>
5881 * gtk/gtknotebook.c (hide_drag_window): Do not call
5882 gtk_widget_set_parent_window(), using widget->window instead of NULL
5883 to unset is the wrong thing, and gtk_widget_unparent() will already
5884 take care of this (#467698, patch by Sébastien Granjoux)
5886 2008-04-08 Tor Lillqvist <tml@novell.com>
5888 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5889 these functions with G_MODULE_EXPORT.
5891 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
5893 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5894 (gtk_file_system_volume_render_icon):
5895 Fix fallback icon rendering size
5897 2008-04-08 Michael Natterer <mitch@imendio.com>
5899 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5900 touchscreen-mode keynav corner case: when navigating to the parent
5901 menu, make sure we don't close two menus at the same time in case
5902 the deepest open menu has no selectable items.
5904 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
5906 * gtk/gtkwidget.c: Clarified a g_warning message regarding
5907 parsing accelerators from builder files.
5909 2008-04-03 Cody Russell <bratsche@gnome.org>
5911 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5912 of the block. (#526021, reported by Kazuki IWAMOTO)
5914 2008-04-03 Tor Lillqvist <tml@novell.com>
5916 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5919 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5920 workaround for a specific kind of screwed up locale setting.
5922 2008-04-02 Matthias Clasen <mclasen@redhat.com>
5924 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5925 colormaps. Found by Daniel Berrange.
5927 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
5929 * tests/autotestfilechooser.c: Cover
5930 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5931 name. (#346058, Joe Halliwell)
5933 2008-04-02 Federico Mena Quintero <federico@novell.com>
5935 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5936 chooser incorrectly substitutes and expands a ~ when you type it
5937 in the filename entry.
5939 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5940 basenames result in a slash-terminated pathname.
5941 gtk_file_system_unix_parse() is correct, but it was splitting
5942 "/home/username" into path="/home" and file_part="username", which
5943 is not what the caller wants when the entry has just "~" or
5946 2008-04-02 Tor Lillqvist <tml@novell.com>
5948 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5949 and gtksearchenginetracker.c on Windows.
5951 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5954 2008-04-01 Cody Russell <bratsche@gnome.org>
5956 * configure.in: Bump required Cairo to 1.5.2.
5958 * gtk/gtkprintoperation-win32.c: Add support for using the new
5959 cairo_win32_printing_surface for printing. Also fixed to use
5960 cairo_surface_show_page(). (#488833 and #521178)
5962 2008-03-31 Cody Russell <bratsche@gnome.org>
5964 * demos/gtk-demo/printing.c (draw_page): Move down each line in
5965 units of text_height rather than in units of data->font_size.
5966 (totally awesome catch by Dom Lachowicz)
5968 2008-03-28 Richard Hult <richard@imendio.com>
5970 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5971 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5972 event to the mainloop and don't generate one at all if the
5973 toplevel didn't change. Use the actual window and not the toplevel
5974 as event window. These changes make the generated crossing events
5975 match the X11 behavior and fixes issues with e.g. tooltips,
5976 comboboxes and menus.
5978 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5979 the view has no window, it will be updated as soon as it's put
5982 * gdk/quartz/gdkwindow-quartz.c:
5983 (_gdk_quartz_window_debug_highlight): Make it possible to track
5984 multiple windows with debug highlighting.
5985 (show_window_internal): Remove workaround for tooltips and popups
5986 that is no longer needed with the above changes.
5988 2008-03-26 Federico Mena Quintero <federico@novell.com>
5990 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5991 helper function; factored out from the functions that commit the
5992 current suggested autocompletion and that refresh the entry's paths.
5993 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5994 (_gtk_file_chooser_entry_get_file_part): Likewise.
5995 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
5996 makes the entry have the correct paths when *not* using any form
5997 of completion (and makes the file chooser work when clicking the
6000 2008-03-25 Richard Hult <richard@imendio.com>
6002 * gdk/quartz/gdkevents-quartz.c:
6003 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
6004 can't find a matching window.
6006 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
6007 comment, and only trigger an event for non-temp windows, fixes
6008 problems for tooltips caused by the workarounds for the
6009 problematic tracking rect API.
6011 2008-03-25 Richard Hult <richard@imendio.com>
6013 * gdk/quartz/gdkwindow-quartz.c:
6014 (gdk_window_quartz_process_all_updates): Plug a leak and add a
6015 check that we have a toplevel before accessing it.
6017 2008-03-24 Tor Lillqvist <tml@novell.com>
6019 Bug 524151 - Dragging of 0-byte files results in an empty filename
6020 on Windows XP and above
6022 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
6023 being empty first. For some reason ISHellLink and IPersistFile
6024 succeeds in interpreting empty files as shortcuts, claiming the
6025 target of the shortcut is an empty path.
6027 Change the function to take the wide character file name that the
6028 caller already has anyway, to avoid a superfluous conversion from
6031 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
6033 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
6034 against NULL pointer. (#467051, Gian Mario Tagliaretti)
6036 2008-03-23 Cody Russell <bratsche@gnome.org>
6038 * gdk/win32/gdkevents-win32.c (show_window_recurse):
6039 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
6040 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
6041 menus from a maximized window would force the window to restore
6044 2008-03-23 Johan Dahlin <johan@gnome.org>
6046 * gtk/gtk-builder-convert:
6047 Properly convert GtkImageMenuItems which use stock labels but don't
6049 (#523932, Brian Pepple)
6051 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
6053 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
6054 New function implements GtkCellLayoutClass::get_cells. (#523787)
6056 2008-03-22 Tor Lillqvist <tml@novell.com>
6058 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
6060 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
6061 GDK_THREADS_LEAVE() call. Approved by mclasen.
6063 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
6065 * gtk/gtkexpander.c (gtk_expander_get_label):
6066 gtk_label_get_label() should be used instead of
6067 gtk_label_get_text(). (#353088, Xan Lopez)
6069 2008-03-21 Tor Lillqvist <tml@novell.com>
6071 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
6072 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
6073 gdip-pixbuf-loader module.
6075 * configure.in: Add switch --disable-gdiplus-loaders that disables
6076 building of the GDI+ loaders.
6078 When including loaders in the gdk-pixbuf library, and building
6079 GDI+ loaders, either build in all the GDI+ loaders or none of
6080 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
6081 signal building them in.
6083 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
6084 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
6085 indicate whether they should be built-in.
6087 For the rest of the changes, see gdk-pixbuf/ChangeLog.
6089 2008-03-20 Tor Lillqvist <tml@novell.com>
6091 * gtk/Makefile.am: Revert accidental change that went in as part
6092 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
6093 Darwin. On Windows one has to use a newer GNU grep that has -o,
6094 for instance the one from gnuwin32, instead of the oldish one in
6095 MSYS that doesn't have -o.
6097 2008-03-20 Tor Lillqvist <tml@novell.com>
6099 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
6100 pass NULL for %s to g_message().
6101 (main): Drop unnecessary call to gtk_widget_destroy().
6103 2008-03-20 Tor Lillqvist <tml@novell.com>
6105 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
6107 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6108 in one dimension, or centered in case it doesn't fit.
6109 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
6112 2008-03-18 Tor Lillqvist <tml@novell.com>
6114 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
6116 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
6117 G_MODULE_ENTRY decoration can be put in a more correct place.
6119 2008-03-18 Sven Neumann <sven@gimp.org>
6121 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
6122 alternative button order on the password dialog.
6124 2008-03-18 Tor Lillqvist <tml@novell.com>
6126 Bug 99192 - Add --with-include-input-modules
6128 * configure.in: Add --with-included-immodules switch. Handled in a
6129 similar way as the --with-included-loaders switch. For each input
6130 method module foo: Collect the list of input modules to be built
6131 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
6132 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
6133 Define Automake conditionals INCLUDE_IM_FOO.
6135 * modules/input/Makefile.am: For modules to be included in libgtk,
6136 build a static library.
6138 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
6139 gdk-pixbuf to get unique names for the functions called by libgtk
6140 in the included case. Use G_MODULE_EXPORT in the non-included case
6141 so that we don't unnecessarily export unneeded random global
6144 * gtk/Makefile.am: Build the included modules and link them into libgtk.
6146 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
6147 copy/paste leftover mentions of "themes" in comments.
6149 2008-03-18 Tor Lillqvist <tml@novell.com>
6151 * tests/Makefile.am: Build testmountoperation only on Unix for now.
6153 2008-03-17 Christian Kellner <gicmo@gnome.org>
6155 Implement GtkMountOperation, a subclass of GMountOperation
6156 to be used with gio wherever there is the need to ask the
6157 user for credentials or questions while mounting a volume.
6160 * gtk/gtkmountoperation.c:
6161 * gtk/gtkmountoperation.h:
6162 Implement GtkMountOperation.
6164 * gtk/gtk.h: Add gtkmountoperation.h
6165 * gtk/Makefile.am: Add gtkmountoperation.[hc]
6166 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
6167 * tests/testmountoperation.c: Test program for it.
6168 * tests/Makefile.am: Add testmountoperation.
6170 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
6172 * gtk/gtkcontainer.c: Properly document
6173 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
6175 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6177 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
6178 style names for the ComboBox thickness style
6180 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6182 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
6183 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
6184 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
6185 intelligent separation for the xp theming engine and the classic
6186 theme while drawing the GtkComboBox button. combobox_draw_arrow
6187 is not used anymore, commented. The style has been updated to fix
6188 border/thickness glitches in the combobox according to the fixes
6189 commited regarding bug #521442. (bug #461805)
6191 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
6193 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
6194 now aware of both the combobox and frame (if has-frame is set)
6195 thickness and border. (bug #521442)
6197 2008-03-15 Andre Klapper <a9016009@gmx.de>
6199 * configure.in: Added "si" to ALL_LINGUAS.
6201 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6203 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
6204 Set window type hint on the search popup. (#522279, Danny Baumann)
6206 2008-03-15 Matthias Clasen <mclasen@redhat.com>
6208 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
6209 appropriate. (#521934, Huang Peng)
6211 2008-03-14 Michael Natterer <mitch@imendio.com>
6214 * gtk/gtkbuilderprivate.h
6215 * gtk/gtkfilechoosersettings.c
6216 * gtk/gtksearchenginesimple.c
6217 * gtk/tests/liststore.c
6218 * gtk/tests/treestore.c: remove single-file includes of GLib
6219 headers or replace them by <glib.h> where needed.
6221 2008-03-14 Michael Natterer <mitch@imendio.com>
6223 * gtk/gtkadjustment.c: coding style cleanup.
6225 (gtk_adjustment_set_property): no need to call g_object_notify()
6226 on the set properties.
6228 Implement GObject::dispatch_properties_changed() and make sure we
6229 emit "changed" when anything but the "value" property changes.
6231 2008-03-14 Tor Lillqvist <tml@novell.com>
6233 * gdk/win32/gdkevents-win32.c: Drop the support for the
6234 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
6235 Win95. Thanks to mitch for noticing this obsolete code.
6237 2008-03-14 Cody Russell <bratsche@gnome.org>
6239 * examples/scribble-xinput/scribble-xinput.c: Changed
6240 'void int main()' to 'int main()'. (#522211, Liqing Huang)
6242 2008-03-14 Richard Hult <richard@imendio.com>
6244 * gdk/quartz/gdkwindow-quartz.c:
6245 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
6246 only flush the toplevel once per update.
6248 2008-03-13 Federico Mena Quintero <federico@novell.com>
6250 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
6251 Set the mouse cursor of the feedback window to invisible, so that
6252 we respect GtkEntry's invisible cursor while typing.
6254 2008-03-13 Federico Mena Quintero <federico@novell.com>
6256 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
6257 the feedback window at entry_height/2 pixels to the right of the
6258 cursor, for a cheap "M-width / 2" spacing.
6260 2008-03-13 Sven Neumann <sven@gimp.org>
6262 * gtk/gtkfilechooserdefault.c
6263 * gtk/gtkprintunixdialog.c: set alternative button order for
6264 overwrite confirmation dialogs (bug #522191).
6266 2008-03-13 Sven Neumann <sven@gimp.org>
6268 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
6269 (overwrite_confirmation_dialog): added some line-breaks for
6272 2008-03-12 Federico Mena Quintero <federico@novell.com>
6274 Rework the way completion works in GtkFileChooserEntry. Fixes
6275 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
6276 Tab completion should work even if the cursor is not at the end of
6279 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
6282 We distinguish between two cases:
6284 - autocompletion - happens only in the Open modes by
6285 inserting and selecting the common prefix as you type.
6287 - explicit completion - happens when you hit Tab.
6289 When some type of completion needs to happen, the entry first
6290 parses its input and sees if it needs to initiate a folder load.
6291 Completion will not happen until the folder finishes loading.
6293 If the folder is already completely loaded, then completion is
6294 performed immediately. Otherwise, the entry queues a pending
6295 completion and starts loading the new folder (or waits until the
6296 current folder is completely loaded).
6298 Tab completion is allowed to happen even if the cursor is not at
6299 the end of the entry.
6301 There is a new feedback mechanism for explicit completion, so that
6302 you will get an Emacs-like tip whenever there are ambiguities in
6303 completion, no matches, etc. (This needs to be polished so that
6304 we support RTL entries and all the fancy Pango layout in GtkEntry).
6306 The only remaining thing to fix is the popup suggestion window.
6307 Unfortunately, GtkEntryCompletion does not let us do what we want,
6308 and will need further changes.
6310 2008-03-12 Tor Lillqvist <tml@novell.com>
6312 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6314 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6315 for the TaskbarCreated message in the window procedure for the
6316 dummy "tray observer" window we create. When we get a
6317 TaskbarCreated message, iterate over the status icons and re-add
6318 them to the task bar, and update them by calling
6319 gtk_status_icon_update_image().
6321 Move some ifdefs around to avoid unused functions.
6323 2008-03-12 Tor Lillqvist <tml@novell.com>
6325 * config.h.win32.in: Update to match what configure produces.
6327 2008-03-12 Jens Granseuer <jensgr@gmx.net>
6329 * modules/printbackends/cups/gtkprintbackendcups.c:
6330 (cups_printer_prepare_for_print): Don't define variables in the
6331 middle of a block. (#522067)
6333 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6335 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
6336 dialog for print-to-file. (#474302, Marek Kašík)
6338 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6340 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6341 (#469210, Wouter Bolsterlee)
6343 2008-03-12 Matthias Clasen <mclasen@redhat.com>
6345 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
6346 paper_size here. (#488820, Morten Welinder)
6348 2008-03-12 Michael Natterer <mitch@imendio.com>
6350 * acconfig.h: remove this deprecated file.
6352 * configure.in: added comments to all instances of AC_DEFINE() so
6353 config.h can be completely generated from configure.in.
6355 2008-03-12 Michael Natterer <mitch@imendio.com>
6357 * modules/printbackends/cups/gtkprintbackendcups.c: include
6358 <glib/gstdio.h> for g_fopen().
6360 2008-03-11 Matthias Clasen <mclasen@redhat.com>
6362 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6363 g_ascii_formatd when formatting custom paper sizes, since
6364 cups doesn't handle , as decimal separator. (#521548)
6366 2008-03-11 Tor Lillqvist <tml@novell.com>
6368 Bug 469868 - Filenames with colon ":" are not saved correctly
6370 * gtk/gtkfilechooserentry.c (insert_text_callback)
6371 (delete_text_callback) [Win32]: New functions to make sure that
6372 colons used otherwise than as a separator after a drive letter, or
6373 characters that are always illegal in file names, are rejected on
6374 input. This means that the GTK+ file chooser can't be used to
6375 input full names of alternate data streams, but oh well. There are
6376 still more checks that could be done on the file names, see the
6377 bug report. But this will do for now.
6378 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6380 2008-03-11 Jordi Mallach <jordi@sindominio.net>
6382 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6384 2008-03-11 Michael Natterer <mitch@imendio.com>
6386 * gdk/linux-fb/*: removed linux-fb backend files.
6390 * docs/README.linux-fb
6391 * gtk/Makefile.am: remove remaining traces of linux-fb.
6393 * gtk/gtkwindow-decorate.c: same here. There is some code that
6394 calls into linux-fb to set window move/resize callbacks. I put it
6395 in #if 0 as a reminder because we did use decorated windows with
6396 the DirectFB backend and it did work, so I don't really know why
6397 this code is needed or how it could work with DirectFB back then.
6398 The file does actually compile now if DECORATE_WINDOWS is defined,
6399 but I didn't test with DirectFB to check if it does anything.
6401 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
6403 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6404 Take thickness into account in the size allocation of the child widgets in
6408 2008-03-11 Richard Hult <richard@imendio.com>
6410 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6412 2008-03-10 Tor Lillqvist <tml@novell.com>
6414 * tests/teststatusicon.c (do_exit, popup_menu): Add the
6415 possibility to test what happens if the process just calls exit()
6416 without any orderly cleanup of GTK+.
6418 2008-03-10 Tor Lillqvist <tml@novell.com>
6420 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6422 2008-03-10 Tor Lillqvist <tml@novell.com>
6424 Bug 520286 - Non-deletable window has no minimize / maximize buttons
6426 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6427 New debugging output function that decodes a set of WS_* bits.
6429 * gdk/win32/gdkprivate-win32.h: Declare it.
6431 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6432 New function that enables or disables one menu entry in the system
6433 menu of a top-level window. (The corresponding decoration will
6434 then also be enabled or disabled (grayed).)
6436 (update_style_bits): Do as the comment says and don't try to
6437 update the window style based on the GdkWMFunctions set for the
6440 (update_system_menu): New function that enables or disables the
6441 system menu entries based on a window's stored set of
6444 (gdk_window_set_functions): Call update_system_menu() instead of
6445 update_style_bits().
6447 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
6449 * README.in: Reword the 2.14 release notes entry about the
6450 deprecation of the gtkitemfactory.h header, and fix typos
6453 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
6455 * modules/engines/ms-windows/msw_style.c (draw_shadow):
6456 Do not draw frame if parent if combobox.
6458 Uses scrollbar width system metrics for combobox button.
6459 Fixes #461805 for XP theme engine.
6461 2008-03-07 Johan Dahlin <johan@gnome.org>
6464 * gtk/gtkbuilderparser.c:
6465 * gtk/gtkbuilderprivate.h:
6466 * gtk/gtkiconfactory.c:
6467 * tests/buildertest.c:
6468 - Treat enums like enums and not values
6469 - Avoid invalid free, in case of more than two sources
6470 - Add better error messages
6471 - Add much improved tests
6472 (#520979, Christian Persch)
6474 2008-03-07 Carlos Garnacho <carlos@imendio.com>
6476 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6479 2008-03-06 Federico Mena Quintero <federico@novell.com>
6481 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6482 GtkFileChooserDialog should set a default response button if the
6483 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
6485 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6486 function, refactor from where there was duplicated code.
6487 (gtk_file_chooser_dialog_map): Look at the buttons in our
6488 action_area. If the response ID for a button is one of the stock
6489 ones, make it the default response button.
6491 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6493 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6495 * gtk/gtkbuilderprivate.h:
6496 * gtk/gtkiconfactory.c:
6497 * tests/buildertest.c:
6498 Implement GtkBuildable on GtkIconFactory, to make
6499 it possible to register custom stock icons.
6502 2008-03-06 Johan Dahlin <johan@gnome.org>
6506 * gtk/gtkstyle.c: npoints->n_points.
6507 * gtk/gtktestutils.h: widget->spinner
6508 * gtk/gtktestutils.c: argc->argcp, argv->argvp
6510 2008-03-06 William Lachance <wrlach@gmail.com>
6512 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
6513 string localizable (as it should be).
6515 2008-03-06 William Lachance <wrlach@gmail.com>
6517 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6518 the time for today's date. It's redudant. (see bug #410517).
6520 2008-03-06 Xan Lopez <xan@gnome.org>
6522 * gtk/gtkfixed.c: fix typo in documentation.
6524 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
6526 * gtk/gtkitemfactory.h:
6527 * gtk/gtktypeutils.h:
6528 Move GtkTranslateFunc to gtktypeutils.h so we can completely
6529 deprecate gtkitemfactory.h.
6531 * gtk/gtkactiongroup.h:
6533 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6536 Add a note describing this slight incompatible change
6538 2008-03-06 Johan Dahlin <johan@gnome.org>
6540 * gtk/gtkpreview.h: Avoid double-deprecation.
6542 2008-03-06 Michael Natterer <mitch@imendio.com>
6545 * gtk/Makefile.am: move the remaining deprecated widgets to the
6546 separate sections and replaced spaces by tabs in Makefile.am
6548 2008-03-05 Johan Dahlin <johan@gnome.org>
6550 * configure.in: Add --disable-cups option.
6551 (#513826, Alberto Ruiz)
6555 Separate broken and deprecated sources and headers into different sections
6557 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6559 2008-03-05 Kristian Rietveld <kris@imendio.com>
6561 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6562 short-circuit in case an empty root level would be build (and thus
6563 directly destroyed) if no virtual root has been set.
6565 2008-03-04 Matthias Clasen <mclasen@redhat.com>
6567 * modules/printbackends/cups/gtkprintbackendcups.c:
6568 Honor cups user default options from ~/.cups/lpoptions
6569 (#469210, Stijn Hoop)
6571 2008-03-04 Michael Natterer <mitch@imendio.com>
6574 * gtk/gtkcolorbutton.c
6575 * gtk/gtkentrycompletion.c
6576 * gtk/gtkfontbutton.c
6580 * gtk/gtkpreview.c: don't include "gtksignal.h".
6582 * gtk/gtkfilefilter.c
6583 * gtk/gtkrecentchoosermenu.c
6584 * gtk/gtkrecentfilter.c
6585 * gtk/gtktext.c: don't include "gtkobject.h".
6587 2008-03-04 Simos Xenitellis <simos@gnome.org>
6589 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
6590 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
6592 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
6595 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
6596 file, contains compose sequences that used to exist in
6597 gtk/gtkimcontextsimple.c
6599 * gtk/compose-parse.py: Script to generate compose
6600 sequences from upstream (Xorg).
6602 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
6603 check_algorithmically): New functions. First two search in
6604 gtk_compose_seqs_compact[] for matching compose sequence, third
6605 tries NFC normalisation on incoming compose sequence.
6606 (gtk_im_context_simple_filter_keypress):
6607 Adds searching with check_compact_table(), check_algorithmically().
6609 2008-03-03 Carlos Garnacho <carlos@imendio.com>
6611 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
6612 scrollwheel work in GtkPathBar.
6614 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
6616 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
6617 an input-only window, event_window, which we'll use to capture
6619 (gtk_path_bar_map): Show the event_window under the rest of the
6620 windows, so it will be a catch-all for unhandled events.
6622 2008-03-03 Sven Neumann <sven@gimp.org>
6624 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
6625 typo in the documentation of the GtkFileChooserButtons::file-set
6626 signal (see bug #353196).
6628 2008-03-03 Tor Lillqvist <tml@novell.com>
6630 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6633 2008-03-02 Johan Dahlin <johan@gnome.org>
6635 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
6636 Remove left-over focus_pad variable.
6637 (#490892, Claudio Saavedra)
6639 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
6640 (#518166, Matt Kraai)
6642 2008-03-02 Johan Dahlin <johan@gnome.org>
6644 * docs/tutorial/gtk-tut.sgml: Add a missing space
6645 (#517954, Matt Kraai)
6647 2008-03-03 Tor Lillqvist <tml@novell.com>
6649 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
6650 the widget is a GtkButton before casting.
6652 2008-03-02 Johan Dahlin <johan@gnome.org>
6654 * configure.in: Compare using = instead of ==, which is portable.
6655 (#490787, Thomas Klausner)
6657 2008-03-02 Johan Dahlin <johan@gnome.org>
6659 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
6660 fixes non-C++ build.
6661 (#496032, Nelson Benitez)
6663 2008-02-29 Johan Dahlin <johan@gnome.org>
6665 * demos/gtk-demo/demo.ui:
6666 * gtk/gtkbuilderparser.c:
6667 * gtk/gtkbuilderprivate.h:
6668 * gtk/gtkliststore.c:
6669 * tests/buildertest.c:
6670 Add translatable/context and comment attributes on
6671 <col> tags under a GtkListStore. Refactor parts of the
6672 translation api and make it available inside gtk+ itself.
6673 Update tests and example.
6674 Fixes a part of #518642
6676 2008-02-29 Johan Dahlin <johan@gnome.org>
6679 Add missing g_return_val_if_fail checks for public API.
6681 * gtk/gtkbuilderparser.c:
6682 * gtk/gtkbuilderprivate.h:
6683 Do not use g_error for a few more errors, instead set
6684 the GError sent in through add_from_file/add_from_string.
6685 * tests/buildertest.c:
6686 Add a couple of new parsing tests.
6687 (#519199, Pavel Syomin)
6689 2008-02-29 Federico Mena Quintero <federico@novell.com>
6691 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
6692 refreshing an existing folder (i.e. when we are about to reload
6693 its file list), turn off the folder's is_finished_loading flag.
6694 Otherwise callers which do ::is_finished_loading() followed by
6695 ::list_children() will get nothing.
6697 2008-02-29 Cody Russell <bratsche@gnome.org>
6699 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
6700 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
6702 2008-02-28 Matthias Clasen <mclasen@redhat.com>
6704 * gtk/gtkcalendar.h: Remove trailing comma from enum to
6705 make the compiler happy. (#517295, Sylvain Pasche)
6707 2008-02-27 Michael Natterer <mitch@imendio.com>
6709 * gtk/gtkmenushell.c
6712 * gtk/gtktipsquery.c
6717 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
6718 private functions and virtual function implementations.
6720 2008-02-27 Richard Hult <richard@imendio.com>
6722 * gdk/quartz/GdkQuartzView.c:
6723 * gdk/quartz/GdkQuartzView.h:
6724 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
6725 Fix performance regression for borderless transparent windows
6728 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
6730 * tests/testgtk.c: Revert back to r19454.
6732 2008-02-27 Sven Neumann <sven@gimp.org>
6734 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
6735 Quartz backend, use a native Mac OS X application for the print
6736 preview (bug #518624).
6738 2008-02-26 Michael Natterer <mitch@imendio.com>
6740 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
6741 the members of info->tag_stack since they are a) gobjects and b)
6742 not even owned by us, ugh... Fixes crash when deserializing fails.
6744 2008-02-26 Sven Neumann <sven@gimp.org>
6746 * docs/tools/shooter.c (find_toplevel_window)
6747 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
6748 argument passed to XQueryTree().
6750 2008-02-25 Matthias Clasen <mclasen@redhat.com>
6752 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
6753 don't use beagle_query_add_hit_type.
6755 2008-02-25 Richard Hult <richard@imendio.com>
6757 * gdk/quartz/gdkevents-quartz.c
6758 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
6760 2008-02-24 Richard Hult <richard@imendio.com>
6762 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6763 shown without gdk's control when clicking the dock icon.
6765 2008-02-24 Richard Hult <richard@imendio.com>
6767 * gdk/quartz/gdkprivate-quartz.h:
6768 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6769 Use the subtype field for the custom event that is used to wake up
6770 the mainloop so we can have other custom event types.
6772 * gdk/quartz/gdkevents-quartz.c:
6773 (_gdk_quartz_events_trigger_crossing_events):
6774 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6775 crossing events after showing a window if necessary, to work
6776 around problems with the tracking rect API.
6778 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6780 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
6781 wrong results on win32 because it doesn't set the printing units,
6782 which affect the transformation of the cairo context
6783 (#347125, Erik van Pienbroek)
6785 2008-02-22 Tor Lillqvist <tml@novell.com>
6787 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6789 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
6791 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6792 acceptable for a module to only support the save_to_callback()
6793 method if it marks itself as WRITABLE
6795 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6797 * configure.in: Bump version
6799 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6801 * === Released 2.13.0 ===
6803 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6805 2008-02-21 Tor Lillqvist <tml@novell.com>
6807 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6808 pass the format string to strftime in the C library's locale's
6809 charset, not the system's. Correspondingly, the return value from
6810 strftime() is in the C library's locale's charset. (#509885)
6812 2008-02-20 Richard Hult <richard@imendio.com>
6814 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6815 the right window level and shadow after recreating the window.
6817 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6818 necessary after drawing (bug #517338).
6820 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
6822 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6823 call to g_type_class_unref in case of error. (#517563)
6825 2008-02-18 Sven Neumann <sven@gimp.org>
6827 * gtk/Makefile.am (STOCK_ICONS)
6828 * gtk/stock-icons/16/gtk-page-setup.png
6829 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6830 taken from GNOME icon theme.
6832 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6834 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
6836 * configure.in: Added Kannada (kn) to ALL_LINGUAS
6838 2008-02-17 Johan Dahlin <johan@gnome.org>
6840 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
6841 When converting a stock item based on the label, remove the label property.
6843 2008-02-17 Richard Hult <richard@imendio.com>
6845 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6846 position after showing the window since the window manager might
6847 not place it where we requested in the first places.
6849 2008-02-17 Richard Hult <richard@imendio.com>
6851 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6852 (_gdk_quartz_window_detach_from_parent),
6853 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6854 the toplevel ordering list in all places where the order is
6855 potentially changed. Fixes mouse focus issues for windows with
6856 a transient parent set.
6858 2008-02-17 Richard Hult <richard@imendio.com>
6860 * gdk/quartz/gdkevents-quartz.c
6861 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6862 window when event debugging is enabled.
6864 2008-02-16 Richard Hult <richard@imendio.com>
6866 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6867 to the scroll event (bug #516757, Paul Davis).
6869 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6873 2008-02-16 Matthias Clasen <mclasen@redhat.com>
6875 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
6878 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6880 * gdk/Makefile.am: Don't install private headers. (#463510)
6882 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6883 the installed header gdkprivate.h.
6885 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6887 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6888 a crash with hidden, reorderable tabs. (#513230,
6889 Mike Massonnet, patch by Carlos Garnacho)
6891 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6893 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6894 Warn on duplicate action group names. (#501746, Christian
6897 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6900 * modules/other/gail/tests/Makefile.am:
6901 * modules/other/gail/libgail-util/Makefile.am:
6902 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6903 builds. (#516254, Yevgen Muntyan)
6905 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6910 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
6911 instead of hardcoded target tables. (#516092, Christian Persch)
6913 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6915 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6916 add the same target atom twice. (#516087, Christian Persch)
6918 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6920 * tests/testfilechooser.c: Add a --backend option.
6921 (#516073, Christian Persch)
6923 2008-02-16 Richard Hult <richard@imendio.com>
6925 * gdk/quartz/gdkprivate-quartz.h:
6926 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6929 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6931 * configure.in: Go back to 2.13.0 as version for now,
6932 as there was no consensus to do the jump.
6934 * many other places: Update Since: tags.
6936 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6938 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6940 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6942 2008-02-15 Richard Hult <richard@imendio.com>
6944 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6945 instead of bounds when resizing windows.
6947 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6949 * gdk/x11/gdkkeys-x11.c:
6950 * gdk/x11/gdkcolor-x11.c:
6951 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6953 2008-02-15 Matthias Clasen <mclasen@redhat.com>
6955 * gdk/x11/gdktestutils-x11.c:
6956 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6958 2008-02-15 Tor Lillqvist <tml@novell.com>
6960 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6961 leak Registry key handles. (#516578)
6963 2008-02-14 Richard Hult <richard@imendio.com>
6965 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6966 makeKeyWindow unfortunately doesn't work in all cases, we must use
6967 makeKeyAndOrderFront.
6969 2008-02-14 Richard Hult <richard@imendio.com>
6971 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6972 (gdk_window_hide), (gdk_window_fullscreen),
6973 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6974 the window is hidden.
6976 2008-02-14 Richard Hult <richard@imendio.com>
6978 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6979 resizing to be consistent and to avoid introducing an internal
6980 transform in the view.
6982 2008-02-14 Richard Hult <richard@imendio.com>
6984 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6987 2008-02-14 Johan Dahlin <johan@gnome.org>
6989 * gdk/gdktestutils.h
6990 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6992 2008-02-13 Richard Hult <richard@imendio.com>
6994 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6995 Remove unused variables.
6996 (gtk_clipboard_set_contents),
6997 (gtk_clipboard_get_owner), (clipboard_unset),
6998 (gtk_clipboard_request_targets): Notify the previous clipboard
6999 owner when the owner changes. Fixes bug #493406.
7001 2008-02-13 Richard Hult <richard@imendio.com>
7003 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
7004 the return value (return number of colors that failed), and handle
7006 (gdk_colormap_free_colors): Fix typo in comment.
7008 2008-02-13 Kristian Rietveld <kris@imendio.com>
7010 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
7011 queue a redraw if the rubber banding has actually been active.
7013 2008-02-12 Matthias Clasen <mclasne@redhat.com>
7015 * gtk/gtkpapersize.c:
7016 * gtk/gtkprintoperation.c:
7017 * gtk/gtkvolumebutton.c:
7018 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
7019 out by Behdad Esfahbod.
7021 2008-02-12 Federico Mena Quintero <federico@novell.com>
7023 Merged from gtk-2-12:
7025 Don't focus the file list when shortcuts get activated. This
7026 removes a lot of ambiguity in when the file selection should
7027 change, and makes the overall code flow simpler.
7029 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
7030 file/save dialog clears the filename entry when changing
7033 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
7034 focus should not go to the file list when a shortcut is activated.
7036 * gtk/gtkfilechooserdefault.c
7037 (shortcuts_activate_volume_mount_cb): Don't focus the file list
7038 (shortcuts_activate_get_info_cb): Likewise.
7040 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
7041 the file list (this was the last place where we would focus the
7042 file list explicitly). If you are in the location entry, for
7043 example, you don't want Alt-Home to take you to the file list; you
7044 just want the current folder to change. Thanks to Olle Bergkvist
7045 <olle.bergkvist@yahoo.se> for pointing this out in
7046 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
7047 (focus_browse_tree_view_if_possible): Removed.
7049 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7051 Skip exensions when selecting filenames in the save-as dialog.
7052 (#362516, Carlos Garnacho)
7054 * gtk/gtkfilechooserentry.h:
7055 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
7056 New function to skip the extension part when selecting a filename.
7057 (_gtk_file_chooser_entry_set_base_folder): Use it here.
7059 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
7062 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7064 * gtk/gtkiconview.c: Fix state change reporting for
7065 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
7067 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
7069 * gtk/gtkrecentchooser.c:
7070 (gtk_recent_chooser_class_init): Set the default value of the
7071 :show-not-found property to TRUE, as every implementation sets
7074 * gtk/gtkrecentchooserdefault.c:
7075 (_gtk_recent_chooser_default_init): Sync show_tips to the
7076 default value of the :show-tips property.
7078 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7080 * gtk/gtkclipboard-quartz.c:
7082 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
7085 2008-02-12 Kristian Rietveld <kris@imendio.com>
7087 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
7088 (gtk_tree_view_real_toggle_cursor_row): guard against people
7089 deleting the row in question in the selection-changed callback.
7090 (#514621, Andreas Koehler).
7092 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7094 * gtk/*.c: Unify the handling of various "Enter" keysyms
7095 all over the place. (#515047, Christian Persch)
7097 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7099 * gtk/gtkfilesystemmodel.c:
7101 * gtk/gtkwidget.c: Use g_value_set_static_string() where
7102 appropriate. (#515042, Christian Persch)
7104 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7106 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
7108 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7110 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
7112 2008-02-12 Matthias Clasen <mclasen@redhat.com>
7114 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
7115 (recent_model_sort_drag_data_get):
7116 (search_model_sort_drag_data_get):
7117 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
7118 * gtk/gtkpathbar.c (button_drag_data_get_cb):
7119 Use gtk_selection_data_set_uris() instead of doing it
7120 by hand. (#514890, Christian Persch)
7122 2008-02-12 Michael Natterer <mitch@imendio.com>
7124 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
7125 gtk_get_current_event_time().
7127 2008-02-12 Michael Natterer <mitch@imendio.com>
7129 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
7130 gtk_window_get_key_hash() to get the hash instead of manually
7131 fiddling with quarks and gtk_window_keys_changed(). Also add
7132 g_return_if_fail() to this public function.
7134 2008-02-11 Matthias Clasen <mclasen@redhat.com>
7136 Support keynav in status icons. (#473786, Li Yuan)
7138 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
7140 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
7142 2008-02-11 Kristian Rietveld <kris@imendio.com>
7144 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
7145 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
7146 wrt. link deletion from list; contination of fix for #503569.
7148 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
7150 * gtk/gtkrecentchoosermenu.c:
7151 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
7152 on the placeholder menu item.
7154 * tests/testrecentchoosermenu.c:
7155 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
7156 whether the placeholder menu item gets shown.
7158 2008-02-10 Cody Russell <bratsche@gnome.org>
7160 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
7161 Check the return value of _gtk_file_chooser_get_file_system () for
7162 NULL before passing it to gtk_file_system_path_to_uri ().
7163 (#515667, Francesco Montorsi)
7165 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
7167 * gtk/gtkbuilder.c: Improve the documentation for
7168 gtk_builder_connect_signals. (#514471)
7170 2008-02-10 Matthias Clasen <mclasen@redhat.com>
7172 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
7175 2008-02-08 Cody Russell <bratsche@gnome.org>
7177 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
7178 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
7180 2008-02-08 Richard Hult <richard@imendio.com>
7182 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
7183 delta from the NSEvent for now, generating multiple scroll events
7184 results in a lot of events getting queued up and things get really
7187 2008-02-08 Sven Herzberg <sven@imendio.com>
7189 Adjust the code to match the documentation, examples, "common sense"
7190 and existing applications.
7192 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
7193 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
7196 2008-02-07 Cody Russell <bratsche@gnome.org>
7198 * gdk/win32/gdkevents-win32.c
7199 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
7200 of a block that were causing compile problems on old
7201 compilers. (#515053, reported by Kazuki IWAMOTO)
7203 2008-02-07 Michael Natterer <mitch@imendio.com>
7210 * gtk/gtkmenushell.c
7212 * gtk/gtkoptionmenu.c
7216 * gtk/gtkradiomenuitem.c
7218 * gtk/gtkscrolledwindow.c
7219 * gtk/gtksocket.c: remove g_return_if_fail() from private
7220 functions and virtual function implementations.
7222 2008-02-07 Michael Natterer <mitch@imendio.com>
7225 * gtk/gtkassistant.c
7229 * gtk/gtkcellrenderercombo.c
7232 * gtk/gtkdrawingarea.c
7233 * gtk/gtkentrycompletion.c
7239 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
7240 functions and virtual function implementations.
7242 2008-02-07 Christian Persch <chpe@gnome.org>
7244 * gdk/gdkpixbuf-render.c:
7245 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
7246 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
7247 otherwise there will be random pixel values in the semi-transparent
7248 area of the pixbuf within the mask. Bug #487865.
7250 2008-02-06 Cody Russell <bratsche@gnome.org>
7252 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
7253 otherwise things get wonky when you click on a menu. This fixes
7254 a regression caused in #505928. Thanks to Tor for spotting this
7257 2008-02-06 Michael Natterer <mitch@imendio.com>
7259 * gtk/gtkcontainer.c
7266 * gtk/gtkmenushell.c
7268 * gtk/gtkseparatortoolitem.c
7270 * gtk/gtktextlayout.c
7271 * gtk/gtktoggletoolbutton.c
7272 * gtk/gtktoolbutton.c
7275 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
7278 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7280 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
7281 Allow to store half-open ranges.
7283 2008-02-05 Cody Russell <bratsche@gnome.org>
7285 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
7286 down the stack until we get to a window that is mapped.
7287 Otherwise hiding a window will cause all windows in the app
7288 to be blocked. (#514643)
7290 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7292 * gtk/updateiconcache.c: Ignore images in the toplevel theme
7293 directory, avoiding one source of invalid caches that has been
7294 spotted in the wild.
7296 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7298 * gtk/updateiconcache.c: Fix the previous commit to compile.
7300 2008-02-05 Matthias Clasen <mclasen@redhat.com>
7302 * gtk/updateiconcache.c: Install a printerr handler that
7303 prepends the program name, since gtk-update-icon-cache output
7304 often appears in the middle of other output, e.g. rpm update logs.
7306 2008-02-05 Cody Russell <bratsche@gnome.org>
7308 * gdk/win32/gdkprivate-win32.h
7309 * gdk/win32/gdkevents-win32.c
7310 * gdk/win32/gdkwindow-win32.c
7311 * gdk/win32/gdkwindow-win32.h
7312 * gdk/win32/gdkwin32.h:
7313 Modal window rework. (#455627 and #511111)
7315 2008-02-04 Michael Natterer <mitch@imendio.com>
7317 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7318 g_return_if_fail() if the cell is not part of the combo instead of
7319 crashing in the next line.
7321 2008-02-01 Cody Russell <cody@jhu.edu>
7323 * modules/engines/ms-windows/xp_theme.[ch]
7324 * modules/engines/ms-windows/xp_theme_defs.h
7325 * modules/engines/ms-windows/msw_rc_style.c
7326 * modules/engines/ms-windows/msw_theme_main.c
7327 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7328 attempted to stylize more like the rest of the gtk+ stack's code.
7330 2008-02-01 Michael Natterer <mitch@imendio.com>
7332 * tests/testgtk.c: initialize GdkColor structs to fix warning
7333 about uninitialized "pixel" member.
7335 * tests/testactions.c: connect the toolbar_style() callback so it
7336 does something useful and doesn't warn about being defined but not
7339 2008-01-31 Cody Russell <bratsche@gnome.org>
7341 * gdk/win32/gdkevents-win32.c:
7342 Refactored some of the window hiding/showing code from
7343 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
7344 under WM_ACTIVATE was causing the application to go into
7345 a weird state when the user right-clicked on the taskbar
7346 entry of a window that was minimized. (#505928)
7348 2008-01-31 Cody Russell <bratsche@gnome.org>
7350 * gtk/gtkpaned.c (gtk_paned_set_position):
7351 Change queue_resize() to queue_draw(), and add a check for
7352 child2 != NULL in case someone calls this before there is
7353 a child packed in there. (#144269 again)
7355 2008-01-31 Sven Neumann <sven@gimp.org>
7357 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7358 applied patch from Denis Oliver Kropp <dok@directfb.org>.
7360 2008-01-31 Sven Neumann <sven@gimp.org>
7362 * gdk/directfb/gdkdisplay-directfb.c
7363 * gdk/directfb/gdkdrawable-directfb.c
7364 * gdk/directfb/gdkprivate-directfb.h
7365 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7366 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7368 2008-01-31 Richard Hult <richard@imendio.com>
7370 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7371 issues with undecorated windows. Revert the change done on
7372 2008-01-25 and fix it by using the view's bounds instead. The
7373 bounds will always be up to date when setting up the tracking
7374 rect, so this should be more robust.
7376 2008-01-30 Sven Neumann <sven@gimp.org>
7378 * gdk/directfb/gdkdrawable-directfb.c
7379 * gdk/directfb/gdkwindow-directfb.c
7380 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7381 Oliver Kropp <dok@directfb.org>. Adds debug messages using
7382 DirectFB's debugging system
7384 2008-01-30 Sven Neumann <sven@gimp.org>
7386 * gdk/directfb/gdkdirectfb.h
7387 * gdk/directfb/gdkdisplay-directfb.c
7388 * gdk/directfb/gdkdrawable-directfb.c
7389 * gdk/directfb/gdkim-directfb.c
7390 * gdk/directfb/gdkimage-directfb.c
7391 * gdk/directfb/gdkinput-directfb.c
7392 * gdk/directfb/gdkmain-directfb.c
7393 * gdk/directfb/gdkpixmap-directfb.c
7394 * gdk/directfb/gdktestutils-directfb.c
7395 * gdk/directfb/gdkvisual-directfb.c
7396 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7397 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7398 errors and has some cleanups.
7400 2008-01-30 Michael Natterer <mitch@imendio.com>
7402 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7403 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7406 * gtk/updateiconcache.c (add_string): cast const gchar* to
7407 gpointer when inserting in a GHashTable.
7409 * tests/testcalendar.c (calendar_detail_cb): remove const from
7410 return value since it's a newly allocated string.
7412 (calendar_update_details): free the detail.
7414 2008-01-29 Johan Dahlin <johan@gnome.org>
7416 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7418 * demos/gtk-demo/demo.ui:
7419 Move the about dialog to the glade file, add accessible tags
7420 examples to the markup file.
7422 2008-01-28 Paolo Borelli <pborelli@katamail.com>
7424 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7425 layout, fixes #512375.
7427 2008-01-28 Michael Natterer <mitch@imendio.com>
7429 * gtk/gtktextchild.c
7430 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7432 2008-01-28 Michael Natterer <mitch@imendio.com>
7434 * demos/gtk-demo/builder.c (about_activate): use
7435 gtk_about_dialog_set_program_name() instead of the deprecated
7438 2008-01-28 Michael Natterer <mitch@imendio.com>
7440 * gtk/gtktextchild.c
7441 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7444 2008-01-26 Johan Dahlin <johan@gnome.org>
7446 * tests/Makefile.am:
7447 * tests/textbuffertest.c:
7448 Rename textbuffer test and port it to the new test framework
7450 2008-01-25 Johan Dahlin <johan@gnome.org>
7452 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7453 unsetting of GTK_MODULES.
7455 * gtk/gtk-builder-convert
7456 (GtkBuilderConverter._convert_adjustment): Handle the case where
7457 there is no child text node.
7458 (GtkBuilderConverter): Allow xml comments in most places.
7460 2008-01-25 Johan Dahlin <johan@gnome.org>
7462 * gtk/gtk-builder-convert
7463 (GtkBuilderConverter._convert_combobox_items): Remove the items
7464 even if there are no items set.
7465 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7466 signals and tooltips for all menu items subclasses and
7467 GtkImageMenuItem:label.
7468 Makes it possible to fully convert and run Jokosher.glade.
7470 2008-01-25 Johan Dahlin <johan@gnome.org>
7472 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7473 (gtk_widget_buildable_get_internal_child), (free_action),
7474 (free_relation), (gtk_widget_buildable_parser_finished),
7475 (accessibility_start_element),
7476 (gtk_widget_buildable_custom_tag_start),
7477 (gtk_widget_buildable_custom_finished):
7478 Implement accessible support, fixes #454653.
7480 * gtk/gtk-builder-convert:
7481 Add support for migrating old glade files
7483 * tests/buildertest.c: (test_widget), (test_file):
7484 Add accessible tests and imprve the test_file function to display
7485 toplevels and run dialogs.
7487 2008-01-25 Richard Hult <richard@imendio.com>
7489 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7490 didn't change, fixes focus event issues for undecorated windows.
7492 2008-01-25 Richard Hult <richard@imendio.com>
7494 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7495 const and remove unused variables).
7497 2008-01-25 Michael Natterer <mitch@imendio.com>
7500 * gtk/gtkcellrenderer.h
7501 * gtk/gtkimcontext.h
7505 * gtk/gtktreeprivate.h
7506 * gtk/gtktreeviewcolumn.h
7507 * gtk/gtkwidget.h: add const to constant structs which are passed
7508 into GTK+. Also add some forgotten const for const strings.
7512 * gtk/gtkcellrenderer.c
7513 * gtk/gtkimcontext.c
7518 * gtk/gtktreeviewcolumn.c
7519 * gtk/gtkwidget.c: changed accordingly.
7521 2008-01-25 Sven Herzberg <sven@imendio.com>
7523 Reviewed by Johan Dahlin.
7525 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7526 this is called with something that's not a GtkUIManager
7528 2008-01-24 Johan Dahlin <johan@gnome.org>
7530 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
7531 Chain up to parent, so widgets can have internal children.
7533 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7535 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7538 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7540 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
7542 Use pango_layout_set_height() for calendar details (#506049).
7544 * configure.in: Require 1.19.3 for pango_layout_set_height().
7545 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7547 2008-01-18 Johan Dahlin <johan@gnome.org>
7549 * gtk/gtk-builder-convert (get_property_node): New method
7550 (GtkBuilderConverter._create_object): Conditionally take a node as
7551 a property value, so don't lose translate/context attributes if they
7553 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7554 property values instead of strings.
7555 (#509153, Erik van Pienbroek)
7557 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
7559 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7561 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7562 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7563 * tests/testcalendar.c: Duplicate calendar details before returning.
7565 2008-01-16 Christian Persch <chpe@gnome.org>
7567 * gtk/gtkwidget.c: Store the event mask and extension event mode
7568 directly in the gobject data pointer, instead of in an allocated
7571 2008-01-16 Michael Natterer <mitch@imendio.com>
7573 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
7574 gdk-pixbuf now uses gio functions.
7576 2008-01-16 Matthias Clasen <mclasen@redhat.com>
7578 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
7579 the notify::model signal. (#509819, David Zeuthen)
7581 2008-01-15 Michael Natterer <mitch@imendio.com>
7589 * gdk/gdkwindow.h: made more struct pointer and array parameters
7590 const. GDK should now be constified as far as possible without
7591 breaking source compatibility. Includes some minor cleanup like
7592 indentation and s/nfoo/n_foo/ (bug #508544).
7598 * gdk/gdkregion-generic.c
7600 * gdk/directfb/gdkdisplay-directfb.c
7601 * gdk/directfb/gdkwindow-directfb.c
7602 * gdk/quartz/gdkdisplay-quartz.c
7603 * gdk/quartz/gdkwindow-quartz.c
7604 * gdk/win32/gdkdisplay-win32.c
7605 * gdk/win32/gdkwindow-win32.c
7606 * gdk/x11/gdkdisplay-x11.c
7607 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7609 2008-01-14 Michael Natterer <mitch@imendio.com>
7611 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
7614 (gtk_rc_parse_any): change variables to const and introduce
7615 another local variable to fix const warnings.
7617 2008-01-14 Michael Natterer <mitch@imendio.com>
7619 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
7620 of gdk_screen_get_font_options() to gpointer to get rid of const
7623 2008-01-14 Michael Natterer <mitch@imendio.com>
7625 * tests/testdnd.c (source_drag_data_get): fix another call to
7626 gtk_selection_data_set().
7628 2008-01-14 Michael Natterer <mitch@imendio.com>
7630 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
7633 2008-01-14 Michael Natterer <mitch@imendio.com>
7635 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
7637 2008-01-14 Michael Natterer <mitch@imendio.com>
7639 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
7640 "uris" to guchar* when passing it to gtk_selection_data_set().
7642 2008-01-14 Michael Natterer <mitch@imendio.com>
7648 * gdk/gdkinternals.h
7650 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
7651 parameters const (bug #508544).
7656 * gdk/gdkrectangle.c
7657 * gdk/gdkpolyreg-generic.c
7658 * gdk/gdkregion-generic.c
7659 * gdk/directfb/gdkcolor-directfb.c
7660 * gdk/directfb/gdkgc-directfb.c
7661 * gdk/directfb/gdkgeometry-directfb.c
7662 * gdk/directfb/gdkwindow-directfb.c
7663 * gdk/quartz/gdkcolor-quartz.c
7664 * gdk/quartz/gdkgc-quartz.c
7665 * gdk/quartz/gdkgeometry-quartz.c
7666 * gdk/quartz/gdkwindow-quartz.c
7667 * gdk/win32/gdkcolor-win32.c
7668 * gdk/win32/gdkgc-win32.c
7669 * gdk/win32/gdkgeometry-win32.c
7670 * gdk/win32/gdkprivate-win32.h
7671 * gdk/win32/gdkwindow-win32.c
7672 * gdk/x11/gdkcolor-x11.c
7673 * gdk/x11/gdkgc-x11.c
7674 * gdk/x11/gdkgeometry-x11.c
7675 * gdk/x11/gdkmain-x11.c
7676 * gdk/x11/gdkprivate-x11.h
7677 * gdk/x11/gdkwindow-x11.c: changed accordingly.
7679 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
7682 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7684 Explain name choice for gtk_tool_item_toolbar_reconfigured.
7686 * gtk/gtktoolitem.c: Add comment expaining name choice for
7687 gtk_tool_item_toolbar_reconfigured.
7689 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
7691 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
7692 implementations to notify its children, when some aspect of their
7693 configuration changed (#509042).
7695 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
7696 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
7697 Rename _gtk_tool_item_toolbar_reconfigured.
7699 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7701 Include <gtk/gtktoolshell.h> from gtk.h.
7703 * gtk/gtk.h: Add gtktoolshell.h
7705 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
7707 Print angle brackets arround e-mail addresses in the about dialog
7708 (#409520, Mariano Suárez-Alvarez).
7710 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
7712 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
7714 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
7715 special casing so test widgets are always queues for destruction
7718 * gtk/tests/testing.c: removed bits left-over from testing without
7721 2008-01-10 Tor Lillqvist <tml@novell.com>
7723 * modules/other/gail/libgail-util/Makefile.am
7724 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
7727 2008-01-10 Tor Lillqvist <tml@novell.com>
7729 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
7730 uses gtkprintunixdialog API.
7732 2008-01-10 Tor Lillqvist <tml@novell.com>
7734 * gdk/win32/gdkdisplay-win32.c
7735 * gdk/win32/gdkglobals-win32.c
7736 * gdk/win32/gdkprivate-win32.h
7737 * gdk/win32/gdkscreen-win32.c
7738 * gdk/win32/gdkwindow-win32.c: Implement
7739 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
7740 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
7743 2008-01-10 Cody Russell <bratsche@gnome.org>
7745 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
7746 Properly ref/unref windows and parents. (#506769)
7748 2008-01-10 Richard Hult <richard@imendio.com>
7750 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7751 (gdk_window_hide), (move_resize_window_internal): Move the
7752 tracking rect workaround from here...
7754 * gdk/quartz/GdkQuartzWindow.c:
7755 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
7756 movements during showing/hiding operations. Fixes bug #508516.
7758 2008-01-10 Michael Natterer <mitch@imendio.com>
7760 * gdk/directfb/gdkscreen-directfb.c
7761 (gdk_screen_get_monitor_width_mm)
7762 (gdk_screen_get_monitor_height_mm)
7763 (gdk_screen_get_monitor_plug_name): add these functions to make
7766 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
7768 * gtk/gtkrecentchoosermenu.c:
7769 (idle_populate_func), (idle_populate_clean_up): Fix possible
7770 recursion by resetting the idle source id. (#507605, William
7773 2008-01-10 Kristian Rietveld <kris@imendio.com>
7775 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7776 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7777 avoid valgrind warnings. (#507751, patch from Christian Persch).
7779 2008-01-10 Kristian Rietveld <kris@imendio.com>
7781 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7782 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7784 2008-01-10 Kristian Rietveld <kris@imendio.com>
7786 Fix #477175, reported by Juri Pakaste.
7788 * gtk/gtktreeprivate.h:
7789 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7790 tree_view->priv->dy here directly, just calculate the new value
7791 and set it on the adjustment,
7792 (gtk_tree_view_adjustment_changed): add guards to not call
7793 gtk_tree_view_dy_to_top_row() if we are currently in
7794 gtk_tree_view_top_row_to_dy(),
7795 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7796 coordinates, not tree coordinates,
7797 (gtk_tree_view_real_start_editing): add cast.
7799 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7800 position of the editable in the "create new row and start editing"
7803 2008-01-09 Michael Natterer <mitch@imendio.com>
7805 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7808 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7809 * gtk/gtkicontheme.c (theme_list_contexts)
7810 (gtk_icon_theme_lookup_icon)
7811 * gtk/gtkimcontextsimple.c (beep_window)
7812 * gtk/gtklinkbutton.c (set_link_color)
7813 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7816 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7817 variable and add const to another to fix a warning.
7819 2008-01-07 Matthias Clasen <mclasen@redhat.com>
7821 * gtk/gtkassistant.c (remove_page): Be more robust when removing
7822 the current page. (#499951, Andreas Sandberg)
7824 2008-01-06 Johan Dahlin <johan@gnome.org>
7826 * gtk/gtkspinbutton.c: Declare value in the example code for
7827 GtkSpinButton::output, as pointed out by Anders Carlsson.
7829 2008-01-06 Christian Persch <chpe@gnome.org>
7831 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7832 and remove an obsolete event box. Bug #506760.
7834 2008-01-06 Johan Dahlin <johan@gnome.org>
7836 * tests/buildertest.c (test_domain):
7837 Update, GtkBuilder::translation-domain is no longer set
7839 * gtk/gtkbuilderparser.c (parse_interface):
7840 Allow domains to be overridden in <interface>'s if a translation-domain
7841 is set in the builder.
7842 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7843 of the builder, make the domain set in the <interface> apply only to strings
7845 (#496831, Ryan Lortie)
7847 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
7850 * gtk/gtktreestore.c (tree_model_end_element):
7851 Remove an unused variable
7853 2008-01-06 Matthias Clasen <mclasen@redhat.com>
7855 * gtk/gtkspinbutton.c: Document the ::output signal and
7856 add an example. (#507566, example by Owen Taylor)
7858 2008-01-06 Johan Dahlin <johan@gnome.org>
7860 * gtk/gtkcellrenderercombo.c:
7861 (gtk_cell_renderer_combo_get_property),
7862 (gtk_cell_renderer_combo_set_property):
7863 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7864 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7865 * gtk/gtknotebook.c: (gtk_notebook_set_property):
7866 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7867 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7868 (gtk_text_buffer_get_property):
7869 * gtk/gtktextview.c: (gtk_text_view_set_property):
7870 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7871 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7872 (gtk_tool_button_get_property):
7873 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7874 (gtk_tool_item_get_property):
7875 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7876 * gtk/gtkwidget.c: (gtk_widget_set_property):
7877 * gtk/gtkwindow.c: (gtk_window_set_property):
7878 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7881 2008-01-06 Johan Dahlin <johan@gnome.org>
7883 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
7884 Make sure that --root works for toplevel widgets.
7885 (#491847, Phil Lello)
7887 2008-01-05 Johan Dahlin <johan@gnome.org>
7889 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7890 to make sure that make test-report works properly
7892 2008-01-05 Christian Persch <chpe@gnome.org>
7894 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7895 GType as integer through gpointer. Bug #507395.
7897 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
7899 Avoid some compiler warnings (#507000).
7901 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7902 for value argument of _gtk_builder_flags_from_string.
7903 * gtk/gtkwidget.c: Don't alias the child pointer passed
7904 to gdk_window_get_user_data.
7906 2008-01-04 Michael Natterer <mitch@imendio.com>
7908 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7909 to set the time in the returned GdkTimeCoords.
7911 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
7913 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7914 correct comparison function (kudos to Christian Persch and
7915 Claudio Saavedra for spotting this)
7917 * gtk/gtkrecentchooserutils.c:
7918 (sort_recent_items_mru),
7919 (sort_recent_items_lru): Ditto as above.
7921 2008-01-03 Johan Dahlin <johan@gnome.org>
7923 * tests/defaultvaluetest.c: Make it pass again.
7925 2008-01-02 Johan Dahlin <johan@gnome.org>
7927 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
7928 make it pass on Ubuntu.
7929 (main): Use gtk_test_list_all_types () instead of providing our
7931 And it no longer passes.
7933 2007-12-30 Johannes Schmid <jhs@gnome.org>
7935 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7936 Also reorder menu when reordering tabs by drag & drop
7939 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7940 Add a menu to one of the notebooks to have a test-case for
7941 the change mentioned above.
7943 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
7945 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7947 2007-12-31 Christian Persch <chpe@gnome.org>
7949 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7950 Plug a mem leak. Bug #506107.
7952 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7954 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7955 icon cache api change. (#506135, Kazuki Iwamoto)
7957 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7959 Consider "wide-separators" and "separator-height" style properties:
7960 The separator is drawn using gtk_paint_box instead of cairo, when
7961 "wide-separators" is set. Also do not highlight details for previous
7962 or next month, if their day matches the selected day. (#339540)
7964 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7965 in gtk_calendar_size_request and calendar_paint_day
7966 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7967 for selected detail separators in GtkCalendar.
7969 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7971 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7973 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7974 a local variable instead in gtk_calendar_size_request.
7976 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7978 * tests/defaultvaluetest.c: Add enough exclusions to make the
7981 2007-12-28 Christian Persch <chpe@gnome.org>
7983 * modules/other/gail/Makefile.am:
7984 * modules/other/gail/tests/*:
7985 * configure.in: Merge tests from standalone gail. Bug #504568.
7987 2007-12-28 Matthias Clasen <mclasen@redhat.com>
7989 * gtk/gtkclipboard.c: Make the finalizer work when display is
7992 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
7994 Draw bottom shadow of GtkCalender headings. (#506113)
7996 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7998 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8000 * gtk/gtkcalendar.c: Document the initial values of year/month/day
8003 2007-12-28 Christian Persch <chpe@gnome.org>
8005 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
8006 a mem leak. Bug #506096.
8008 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8011 * gtk/gtktreeview.c:
8012 * gtk/gtkprintoperation.c:
8013 * gtk/gtkprogressbar.c:
8014 * gtk/gtkmessagedialog.c:
8015 * gtk/gtknotebook.c:
8019 * gtk/gtklinkbutton.c:
8020 * gtk/gtkmenu.c: More default property value corrections.
8022 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8024 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
8025 accel_group unless it is set.
8027 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8029 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
8031 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8033 * gtk/gtkhandlebox.c: Fix the default values of shadow and
8034 shadow-type properties.
8036 * gtk/gtkfontsel.c: Fix the default values of several properties.
8038 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
8041 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
8043 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
8046 2007-12-28 Johan Dahlin <johan@gnome.org>
8048 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
8049 (gtk_dialog_buildable_custom_tag_start): Chain up.
8050 This makes it possible to have accelerators tags on GtkDialog
8053 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8055 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
8056 are shown within the widget, or just as tooltip. (#339540)
8058 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
8059 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
8060 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
8063 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8065 Try more decent appearance of calendar details separator. (#339540)
8067 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
8068 and make it short by one pixel on each side.
8070 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8072 Apply trivial code-style changes from attachement 101101. (#339540)
8074 * tests/testcalendar.c: Some updates to current GTK+ code-style.
8076 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8078 Restructure testcalendar for testing calendar details. (#339540)
8080 * tests/testcalendar.c: Push code arround for testing calendar details.
8082 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8084 Implement GtkTooltip API for calendar details. (#339540)
8086 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
8087 Remember detail overflows in calendar_paint_day to show the tooltip
8088 only when neccessary.
8090 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8092 Without setting "detail-width-chars" and "detail-height-rows"
8093 properties not only the widget has to be redrawn on certain
8094 conditions, but also its size must be recalculated. (#339540)
8096 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
8097 that function instead of gtk_widget_queue_draw.
8099 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8101 Consider details for size-request and expose-event. (#339540)
8103 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
8104 is_color_attribute functions. Change gtk_calendar_size_request
8105 and calendar_paint_day to consider and show calender details.
8107 2007-12-28 Matthias Clasen <mclasen@redhat.com>
8109 * gtk/gtkcombobox.c: Introduce local priv variables to
8112 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8114 * gtk/gtkcombobox.c: Correct the default value for the
8115 tearoff-title property.
8117 * gtk/gtkcellrenderertext.c: Fix the default value for the
8118 wrap-mode and font-scale properties.
8120 * gtk/gtkaspectratio.c: Fix the default value for the ratio
8123 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8125 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
8126 defines. (#505708, MINAMI Hirokazu)
8128 2007-12-27 Christian Persch <chpe@gnome.org>
8130 * Makefile.am: Install gail.pc. Bug #505859.
8132 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
8134 Add infrastructure for GtkCalendar details. (#339540)
8136 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
8137 Add "detail-width-chars" and "detail-height-rows" properties,
8138 and gtk_calendar_set_detail_func function.
8140 2007-12-27 Xan Lopez <xan@gnome.org>
8143 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
8145 Add gtk_border_new to avoid memory allocator confusions when using
8146 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
8148 2007-12-27 Christian Persch <chpe@gnome.org>
8150 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
8151 bug #504886 not to read unitialised memory.
8153 2007-12-26 Xan Lopez <xan@gnome.org>
8155 * gtk/gtkstatusbar.c (has_extra_children): take into account the
8156 modification of the internal frame contents to decide if we have
8157 extra children. (#415677)
8159 2007-12-22 Christian Persch <chpe@gnome.org>
8161 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
8163 2007-12-25 Christian Persch <chpe@gnome.org>
8165 * modules/other/gail/gailwindow.c: (gail_window_initialize):
8166 Initialise |widget|. Fixes a buglet introduced by the commit from bug
8169 2007-12-25 Christian Persch <chpe@gnome.org>
8171 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
8173 2007-12-25 Christian Persch <chpe@gnome.org>
8175 * modules/other/gail/*.[ch]: Remove relocations from the atk
8176 factories. Remove unused gail_foo_new() functions. Fix object
8177 instantiation to be derivation safe by moving initialisation code
8178 from the removed gail_foo_new() functions to the
8179 AtkObjectClass::initialize implementation. Bug #505226.
8181 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8183 * modules/other/gail/gailentry.c:
8184 * modules/other/gail/gailimage.c:
8185 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
8186 uses of clipboards and settings. (#504722, Christian Persch)
8188 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8190 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
8193 2007-12-24 Matthias Clasen <mclasen@redhat.com>
8195 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
8196 use the time and button information from the event. (#504901,
8199 2007-12-23 Cody Russell <bratsche@gnome.org>
8201 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
8202 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
8203 Fixes a regression caused by #164537 patch where transient
8204 windows that are hidden get shown (incorrectly) when their
8205 parents are minimized. (#504984)
8207 2007-12-22 Christian Persch <chpe@gnome.org>
8209 * modules/other/gail/gailcell.c:
8210 * modules/other/gail/gailcontainercell.c:
8211 * modules/other/gail/gailexpander.c:
8212 * modules/other/gail/gailtextcell.c:
8213 * modules/other/gail/gailtextview.c:
8214 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
8216 2007-12-22 Christian Persch <chpe@gnome.org>
8218 * modules/other/gail/*.c: Include config.h. Bug #504720.
8220 2007-12-22 Christian Persch <chpe@gnome.org>
8222 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
8223 handwritten get_type functions. Bug #504661.
8225 2007-12-23 Xan Lopez <xan@gnome.org>
8227 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
8228 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
8230 Patch by Sadrul Habib Chowdhury (#504804)
8232 2007-12-22 Christian Persch <chpe@gnome.org>
8234 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
8235 #504645, patch by Li Yuan.
8237 2007-12-22 Christian Persch <chpe@gnome.org>
8239 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
8241 2007-12-22 Christian Persch <chpe@gnome.org>
8243 * modules/other/gail/gail.c:
8244 * modules/other/gail/gailbutton.c:
8245 * modules/other/gail/gailcell.c:
8246 * modules/other/gail/gailcombo.c:
8247 * modules/other/gail/gailcombo.h:
8248 * modules/other/gail/gailcombobox.c:
8249 * modules/other/gail/gailentry.c:
8250 * modules/other/gail/gailexpander.c:
8251 * modules/other/gail/gailmenuitem.c:
8252 * modules/other/gail/gailnotebook.c:
8253 * modules/other/gail/gailnotebookpage.c:
8254 * modules/other/gail/gailnotebookpage.h:
8255 * modules/other/gail/gailoptionmenu.c:
8256 * modules/other/gail/gailrange.c:
8257 * modules/other/gail/gailtextview.c:
8258 * modules/other/gail/gailtreeview.c:
8259 * modules/other/gail/gailtreeview.h:
8260 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
8263 2007-12-22 Matthias Clasen <mclasen@redhat.com>
8265 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
8268 2007-12-21 Richard Hult <richard@imendio.com>
8270 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
8271 Plug leak of destroyed subviews, fixes bug #504753.
8273 2007-12-20 Johan Dahlin <johan@gnome.org>
8275 * tests/Makefile.am (TEST_PROGS):
8276 * tests/defaultvaluetest.c: Add a test for default values,
8277 based on program by Christan Perch
8279 2007-12-20 Johan Dahlin <johan@gnome.org>
8281 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
8282 Refactor to avoid some duplication.
8283 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
8284 Fixes #504749, Yuri Pimenov
8286 2007-12-20 Kristian Rietveld <kris@imendio.com>
8288 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
8289 the build work again on systems without xrandr 1.2.
8291 2007-12-20 Christian Persch <chpe@gnome.org>
8294 * modules/other/gail/libgail-util/Makefile.am:
8295 Keep the same libtool version as the standalone libgail-util had.
8298 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
8300 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8302 2007-12-20 Alexander Larsson <alexl@redhat.com>
8304 * gdk/x11/gdkapplaunchcontext-x11.c:
8305 Update for gio API changes
8307 2007-12-20 Richard Hult <richard@imendio.com>
8309 * gdk/quartz/GdkQuartzWindow.c:
8310 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8311 processing events after changing the size.
8313 2007-12-20 Richard Hult <richard@imendio.com>
8315 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8316 Add stub for quartz to fix build.
8318 2007-12-20 Christian Persch <chpe@gnome.org>
8320 * modules/other/gail/Makefile.am:
8321 * modules/other/gail/gailimage.c: (gail_image_class_init),
8322 (gail_image_init), (elide_underscores), (gail_image_get_name),
8323 (atk_image_interface_init), (gail_image_finalize):
8324 * modules/other/gail/gailimage.h:
8325 R modules/other/gail/gailintl.h:
8326 * po/POTFILES.skip: Use the stock item's label as the name of the
8327 accessible in gailimage.c. Bug #504246.
8329 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
8331 Avoid some compiler warnings and remove obsolete code. (#339540)
8333 * gtk/gtkcalendar.c: Change week and year variable in
8334 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8335 0" block from calendar_paint_day: The feature in question is handled
8336 few lines above. Cast data returned by gtk_selection_data_get_text()
8337 to (gchar*) in gtk_calendar_drag_data_received.
8339 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
8341 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8343 2007-12-19 Johan Dahlin <johan@gnome.org>
8345 * tests/buildertest.c (test_object_properties):
8346 Add another call to gtk_builder_add_string after using
8347 delayed properties, as reported in #504393 but already
8350 2007-12-18 Christian Persch <chpe@gnome.org>
8353 * docs/reference/Makefile.am:
8354 * docs/reference/libgail-util/*:
8355 * gail-uninstalled.pc.in:
8357 * modules/Makefile.am:
8358 * modules/other/Makefile.am:
8359 * modules/other/gail/*:
8360 * modules/other/gail/libgail-util/*:
8361 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8363 2007-12-17 Matthias Clasen <mclasen@redhat.com>
8365 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8366 * gdk/win32/gdkproperty-win32.c:
8367 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8369 * gtk/gtkimmodule.[hc]:
8370 * gtk/gtkimmulticontext.[hc]: When determining the default context,
8371 look at the gtk-im-module setting, and listen for changes to the
8372 setting. (#502446, Akira Tagoh)
8374 2007-12-17 Kristian Rietveld <kris@imendio.com>
8376 * gtk/gtktooltip.c (gtk_tooltip_finalize),
8377 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8378 to NULL as soon as it's destroyed. (#496546, patch from
8381 2007-12-17 Kristian Rietveld <kris@imendio.com>
8383 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8384 always determine what arrow to show if show_sort_indicator is true.
8385 (#352738, Chris Vine).
8387 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
8389 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8392 * gtk/gtkpaned.c: Call gtk_container_forall instead of
8393 gtk_container_foreach in get_child_panes.
8395 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
8397 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8399 Plug leak: When reordering the info in the list the old node is
8400 removed but not freed. (#503569)
8402 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
8404 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8405 Use u32 instead of __u32 and u8 instead of __u8 as the other types
8406 are deprecated since DirectFB 1.0.0. If compiling with an older
8407 version define the new type name to the old types. Fixes bug #503190.
8409 2007-12-14 Ray Strode <rstrode@redhat.com>
8411 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8412 instead of g_signal_connect_after (..., "realize", ...) as an
8413 alternative to gtk_widget_realize () (bug 503537).
8415 2007-12-14 Michael Natterer <mitch@imendio.com>
8417 * gdk/gdkinternals.h
8418 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8421 * gdk/gdkapplaunchcontext.c
8422 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8423 header already includes everything now.
8425 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8427 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8428 next stable release shall be 2.16, not 2.14 - even if disagree.
8430 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8432 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8434 Change GtkToolItem to retrieve its properties from GtkToolShell
8435 interface, instead of relying on being child of a GtkToolbar.
8438 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8439 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8440 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8441 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8442 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8443 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8444 Take section docs from template file and update them for GtkToolShell.
8445 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8446 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8448 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
8450 Extract loading of GtkPageSetup and GtkPrintSettings from their
8451 *_new_*() functions and move that code into separate
8452 *_load_*() functions (#475565).
8454 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8455 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8456 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8457 Change the matching *_new_*() functions to use those functions.
8459 2007-12-14 Matthias Clasen <mclasen@redhat.com>
8462 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8464 2007-12-14 Kristian Rietveld <kris@imendio.com>
8466 * gtk/tests/liststore.c:
8467 * gtk/tests/treestore.c: added tests for insertion functions.
8469 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
8471 * Add RandR 1.2 support
8473 - New monitors_changed signal - New API to get width/height of
8474 monitors, and the name of the plug
8476 2007-12-13 Kristian Rietveld <kris@imendio.com>
8478 * gtk/tests/liststore.c:
8479 * gtk/tests/treestore.c: test the move and swap functions on a
8480 store with only one node.
8482 2007-12-13 Kristian Rietveld <kris@imendio.com>
8484 * gtk/gtktestutils.c (gtk_test_init): add a call to
8487 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8490 2007-12-13 Kristian Rietveld <kris@imendio.com>
8492 * gtk/tests/liststore.c:
8493 * gtk/tests/treestore.c: start composing tests for the list and tree
8496 * gtk/tests/treeview-scrolling.c: added automated tests for
8497 GtkTreeView's scrolling "subsystem".
8499 * gtk/tests/Makefile.am: updated; added new test programs.
8501 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
8503 Make the code compile again after the GdkAppLaunchContext changes.
8505 * configure.in: Add gio-2.0 to GDK_PACKAGES.
8506 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8508 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8510 * gdk/gdkapplaunchcontext.c: Add docs
8512 2007-12-12 Matthias Clasen <mclasen@redhat.com>
8514 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
8515 in gdk, providing startup notification. (#503203)
8517 * gdk/x11/gdkapplaunchcontext-x11.c:
8518 * gdk/win32/gdkapplaunchcontext-win32.c:
8519 * gdk/quartz/gdkapplaunchcontext-quartz.c:
8520 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8521 parts. All but X11 are just empty stubs for now.
8524 * gdk/gdkinternals.h:
8526 * gdk/x11/Makefile.am:
8527 * gdk/win32/Makefile.am:
8528 * gdk/quartz/Makefile.am:
8529 * gdk/directfb/Makefile.am: Necessary glue.
8531 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
8533 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8535 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8537 * gdk/directfb/gdktestutils-directfb.c:
8538 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8539 which adds testing functions to the DirectFB backend.
8541 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8543 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8544 Ciccani which fixes the mixing of gdk and cairo rendering.
8546 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
8548 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8549 on "drag-motion" handlers. Clearify documentation for
8552 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
8554 * buildertest.c: made unnecessarily exported symbols static.
8555 switched g_return_if_fail() statements in tests to assertions.
8556 special cased currently failing Widget/accesibility test to
8557 run only for g_test_thorough(), so it doesn't break make check.
8558 some coding style fixes.
8560 * Makefile.am: added buildertest to TEST_PROGS.
8562 2007-12-11 Stefan Kost <ensonic@users.sf.net>
8564 * docs/tutorial/gtk-tut.sgml:
8565 Use gtk_widget_get_parent_window() instead of widget->parent->window.
8567 2007-12-10 Richard Hult <richard@imendio.com>
8569 * gdk/quartz/Makefile.am:
8570 * gdk/quartz/gdkquartz.h:
8571 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
8572 header (bug #405915). Also add a getter for the toplevel nswindow.
8574 2007-12-10 Richard Hult <richard@imendio.com>
8576 * gdk/quartz/gdkdrawable-quartz.c:
8577 (gdk_quartz_drawable_get_context),
8578 (gdk_quartz_drawable_release_context):
8579 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
8580 (gdk_event_check), (gdk_event_dispatch), (poll_func):
8581 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
8582 used for each drawing context and in prepare, dispatch and poll
8583 with one that exists across each main loop iteration. Fixes leaks
8584 on leopard and protects against future leaks introduce when the
8585 underlying system changes again (bug #492977).
8587 2007-12-10 Richard Hult <richard@imendio.com>
8589 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
8590 Fix the check for no changes to position and size.
8592 2007-12-10 Richard Hult <richard@imendio.com>
8594 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
8595 sized areas at (0, 0), patch from Paul Davis.
8597 2007-12-10 Richard Hult <richard@imendio.com>
8599 * gdk/quartz/gdkprivate-quartz.h:
8600 * gdk/quartz/gdkeventloop-quartz.c:
8601 (_gdk_quartz_event_loop_get_pending),
8602 (_gdk_quartz_event_loop_check_pending),
8603 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
8604 (gdk_event_check), (gdk_event_dispatch):
8605 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
8606 (_gdk_events_queue): Fix a bug where we could end up trying to
8607 handle the same event more than once. Based on patch from Paul
8610 2007-12-10 Tor Lillqvist <tml@novell.com>
8612 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
8615 2007-12-10 Matthias Clasen <mclasen@redhat.com>
8617 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
8618 to avoid further fallout from the fix for bug 388321.
8620 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8622 * gdk/directfb/gdkgc-directfb.c:
8623 * gdk/directfb/gdkdrawable-directfb.c:
8624 * gdk/directfb/gdkdirectfb.h:
8625 * gdk/directfb/gdkwindow-directfb.c:
8626 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8627 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
8628 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
8629 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
8630 which are expected to improve the performance of the DirectFB backend.
8631 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
8633 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8635 * gtk/gtkcontainer.c: Correct the documentation of child
8636 property getter arguments. (#501992, David Brigada)
8638 2007-12-07 Matthias Clasen <mclasen@redhat.com>
8640 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
8641 leak pixbufs. (#502250, Yevgen Muntyan)
8643 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
8645 * gtk/gtkprintunixdialog.c:
8646 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
8647 Print and Page Setup dialogs (#502202).
8649 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
8651 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
8652 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
8653 of XVFB_START, since it's the GTESTER invokation that needs this.
8655 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
8657 * gdk-pixbuf/gdk-pixbuf.symbols:
8659 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
8660 positives in abicheck.sh
8662 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
8664 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
8665 GDK events generations in the DirectFB backend.
8667 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
8669 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
8670 set of likely unused display ids, because MacOS has no seq(1) command.
8672 2007-12-06 Richard Hult <richard@imendio.com>
8674 * gdk/quartz/gdkevents-quartz.c:
8675 (synthesize_crossing_events_for_ns_event): Fix warning when
8676 switching spaces in leopard.
8678 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
8680 * tests/floatingtest.c: ported to new testing framework.
8682 * tests/Makefile.am: run floatingtest as testing framework test.
8684 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
8686 * tests/autotestfilechooser.c: majorly speed up execution by reducing
8687 timeouts and converting main loop sleeps to pending/iterate loops with
8688 very low priority async handlers. eliminate output for non-verbose
8689 tests. assert successfull subtests in all test functions. use testing
8690 framework in main().
8692 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
8693 executed inside Xvfb upon make check.
8695 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
8697 * tests/objecttests.c: use string comparisons for string property
8698 values and get rid of referencing symbols in array initialization.
8700 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
8702 * gtk+/Makefile.decl: run tests in current dir after setting up the
8703 logging directory, so their results get properly merged into the
8706 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
8707 tests to loop over registered Gdk/Gtk+ types.
8709 * gtk+/tests/objecttests.c: new test program, implements automated
8710 property tests. several properties are blacklisted because they
8711 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
8712 can be used to test blacklisted properties and see which proprty failed.
8714 2007-12-04 Richard Hult <richard@imendio.com>
8716 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
8717 Fully initialize the root window, fixes bug #501583.
8719 2007-12-04 Matthias Clasen <mclasen@redhat.com>
8721 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
8724 2007-12-03 Richard Hult <richard@imendio.com>
8726 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
8727 Don't crash when dragging from a source that doesn't support uri
8728 lists (bug #499868, Paul Davis).
8730 2007-12-03 Richard Hult <richard@imendio.com>
8732 * gdk/quartz/gdkwindow-quartz.c:
8733 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
8734 parent relative bg pixmap is set, and no parent has a bg
8735 pixmap. Fixes bug #500804.
8737 2007-12-03 Matthias Clasen <mclasen@redhat.com>
8739 Two optimizations for icon cache lookups.
8741 * gtk/gtkiconcache.[hc]:
8742 * gtk/gtkicontheme.c: Remember the directory index for
8743 subdirectories, instead of running over the directory list
8746 * gtk/gtkiconcache.c (find_image_offset): Remember the last
8747 chain and try it first; this helps with the the usage patterns
8748 in gtkicontheme.c, where the same icon is queried for a lot
8751 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
8753 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
8754 functions from header files. this should be portable across linux and
8755 Mac OS, unlike the previpous sed expression.
8757 2007-12-1 Cody Russell <bratsche@gnome.org>
8759 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
8760 On Windows, queue a redraw of child2 whenever we set
8761 the pane handle position. This is unfortunately kind
8762 of hacky, but solves the visual artifacts that were
8763 occuring on at least certain types of child widgets
8764 (e.g., text views and tree views) that are inside
8765 horizontal or vertical panes. (#144269)
8767 2007-11-30 Matthias Clasen <mclasen@redhat.com>
8769 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
8771 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8773 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8776 2007-11-29 Matthias Clasen <mclasen@redhat.com>
8778 * gtk/Makefile.am: Fix ordering of subdirs.
8780 2007-11-28 Tor Lillqvist <tml@novell.com>
8782 A proper build of GNU libintl is supposed to export the variable
8783 _nl_msg_cat_cntr. configure looks for that variable in order to
8784 recognize GNU gettext. If it sees that it is indeed GNU gettext
8785 that is used, it decides to install message catalogs in
8786 share/locale, otherwise in lib/locale. Until now on Windows I have
8787 built GTK+ against a build of GNU gettext that did not export
8788 _nl_msg_cat_cntr. But this will change, so we can't assume message
8789 catalogs are always in lib/locale.
8791 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8792 GTK_LOCALEDIR being either in "lib" or "share". Move the function
8793 before the inclusion of gtkprivate.h so that it sees the original
8796 * gtk-zip.sh.in: Check whether the message catalogs are in
8797 share/locale or lib/locale.
8799 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8800 that the code in _gtk_get_localedir() will find the slashes.
8802 2007-11-28 Tor Lillqvist <tml@novell.com>
8804 * gtk/Makefile.am: Improve portability. The -o option is present
8805 only in newish GNU egreps. Use one more sed in the pipeline
8808 2007-11-28 Tor Lillqvist <tml@novell.com>
8810 Fix #375893, patch by Ben Hague:
8812 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8813 around GetLogicalDrives() that takes also the viewable drive
8814 restrictions in the Registry (which are usually the result of an
8815 Active Directory Group Policy) into account.
8817 (check_volumes, gtk_file_system_win32_list_volumes) Call
8818 get_viewable_logical_drives() instead of GetLogicalDrives().
8820 2007-11-27 Matthias Clasen <mclasen@redhat.com>
8822 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8823 variables to silence valgrind. (#495124, Morten Welinder)
8825 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8827 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8828 that the construct_child function is responsible for returning a
8830 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8831 objects from constructors
8832 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8833 g_object_ref() to this construction function (it's the only
8838 2006-11-26 Ryan Lortie <desrt@desrt.ca>
8840 * gtkbuilder.c: remove concept of root objects and just refcount
8841 all objects in the builder. Fixes #496651.
8843 2007-11-26 Ryan Lortie <desrt@desrt.ca>
8845 * tests/buildertest.c (test_window): fix invalid free
8847 2007-11-26 Josselin Mouette <joss@malsain.org>
8849 reviewed by: Federico Mena Quintero
8851 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8852 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8853 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8854 Make the shortcuts activate with a single click. (#148828)
8855 Fix a few things affected by the change:
8856 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
8857 where no shortcut is selected.
8858 - Don't activate a shortcut in the response callback.
8859 - Filter out duplicate entries in volumes and bookmarks to
8860 avoid the selection to change when reordering them with DnD.
8862 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8865 * gtk/gtknotebook.c:
8866 * gtk/gtkplugprivate.h:
8868 * gtk/gtksocketprivate.h:
8869 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8871 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8873 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8874 (#495574, Richard Hult)
8876 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8878 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8879 String change ! (#376361, Sven Neumann)
8881 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8883 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8885 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8888 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8890 * gtk/gtkassistant.c: Improve alternative button
8891 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8893 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8895 * gtk/gtkcalendar.c: Fix a theming problem with colors
8896 in GtkCalendar. (#499703, Michael Hofmann)
8898 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8900 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8902 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8904 Use templates for glib-mkenums calls instead of
8905 complicated commandlines in Makefiles. (#429910)
8907 * gdk-pixbuf/Makefile.am:
8910 * perf/Makefile.am: Use templates for glib-mkenums
8912 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8913 * gdk/gdkenumtypes.[ch].template:
8914 * gtk/gtktypebuiltings.[ch].template:
8915 * perf/typebuiltins.[ch].template: The templates
8917 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8919 * gtk/gtkfilechooserbutton.c:
8920 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8921 some compilers choke on that. (#467722)
8923 2007-11-26 Matthias Clasen <mclasen@redhat.com>
8925 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8926 about hook setup. (#425004, Emmanuele Bassi)
8928 2007-11-26 Tor Lillqvist <tml@novell.com>
8930 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8931 monitor the window currently is on, not always the primary
8932 monitor. (#463865, Tim Evans)
8934 2007-11-26 Tor Lillqvist <tml@novell.com>
8936 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8938 * gdk/win32/Makefile.am: Add it.
8940 2007-11-26 Tor Lillqvist <tml@novell.com>
8942 * configure.in: Don't add jasper to all_loaders if no libjasper.
8944 2007-11-25 Bastien Nocera <hadess@hadess.net>
8946 * configure.in: Add detection for libjasper, used by the
8947 gdk-pixbuf JPEG2000 loader
8949 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8951 * configure.in: Require gtk-doc 1.8
8953 * */*.c: Use gtk-doc abbreviations for examples in docs.
8955 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8957 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8960 2007-11-25 Matthias Clasen <mclasen@redhat.com>
8962 * gtk/gtkdialog.c: Move signal and property documentation inline,
8963 fix a problem with the ::response signal docs. (#499133, Josselin
8966 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
8968 * Makefile.decl: initialize automake variables EXTRA_DIST and
8969 TEST_PROGS for unconditional appending via += in other makefiles.
8970 define recursive test targets: test, test-report, perf-report,
8971 full-report, as described here:
8972 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8973 the test targets will execute Gtk+ test programs within an Xvfb session.
8975 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8977 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8978 g_test_run() to run the tests to integrate with the testing framework.
8980 * gtk/tests/Makefile.am: removed exemplary testing rules.
8982 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8983 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8984 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8985 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8986 * docs/reference/Makefile.am, docs/tools/Makefile.am:
8987 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8988 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8989 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8990 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8991 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8992 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8993 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8994 * modules/engines/ms-windows/Theme/Makefile.am:
8995 * modules/engines/ms-windows/Makefile.am:
8996 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
8997 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8998 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8999 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
9000 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
9001 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
9002 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
9004 2007-11-22 Matthias Clasen <mclasen@redhat.com>
9006 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
9007 (#485662, patch by Herbert Valerio Riedel)
9009 2007-11-22 Matthias Clasen <mclasen@redhat.com>
9011 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
9013 2007-11-21 Richard Hult <richard@imendio.com>
9015 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
9016 stubs for the testing functions to fix the build.
9018 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9020 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
9021 (#467711, The Written Word)
9023 2007-11-21 Ross Burton <ross@openedhand.com>
9025 * gdk/x11/gdksettings.c:
9026 Add xsetting for gtk-scrolled-window-placement (#458103).
9028 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9030 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
9031 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
9032 (#469239, Michael Natterer)
9034 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
9036 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
9037 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
9038 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
9039 (#436536, Tommi Komulainen)
9041 2007-11-21 Matthias Clasen <mclasen@redhat.com>
9043 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
9044 property. (#489782, Jan Janech)
9046 2007-11-20 Matthias Clasen <mclasen@redhat.com>
9048 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
9049 frames. (#107398, Owen Taylor, Miguel Gomez)
9051 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
9053 Moved Gdk test functions from Gtk+ to Gdk test utils.
9055 * gdk/Makefile.am: added gdktestutils.h to public includes.
9057 * gdk/gdk.h: added gdktestutils.h to public includes.
9059 * gdk/gdk.symbols: added gdk_test_simulate_button,
9060 gdk_test_simulate_key, gdk_test_render_sync.
9062 * gdk/gdktestutils.h: new file, added prototypes for
9063 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
9065 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
9067 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
9068 gdk_test_simulate_key, gdk_test_render_sync.
9070 * gtk/gtktestutils.c:
9071 * gtk/gtktestutils.h:
9072 * gtk/gtk.symbols: removed gtk_test_simulate_button
9073 gtk_test_simulate_key, gtk_test_xserver_render_sync.
9075 * gtk/tests/testing.c: call gdk_test_render_sync.
9077 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
9079 Added unit tests for Gtk+ testing utilities.
9081 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
9082 utility functions. some g_test_* related portions are disabled and need
9083 to be enabled once Gtk+ depends on a new glib with the GLib testing
9084 framework integrated.
9086 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
9087 tests. added exemplary test rules to run tests inside Xvfb. this
9088 needs to depend on gtester for full fledged testing.
9090 * gtk/Makefile.am: build gtk+/gtk/tests, define
9091 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
9092 e.g. gtk_text_get_type().
9094 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
9096 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
9098 Added Gtk+ testing utilities.
9100 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
9101 functions. for the most part, the functions herein involve
9102 navigating and interacting with dialog elements programatically,
9103 to automate user interaction tests of dialogs and widgets.
9105 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
9107 * gtk/gtk.symbols: added gtk_test_* symbols.
9109 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
9110 the build. generate gtktypefuncs.c which contains a list of all
9111 _get_type functions in Gtk+ and Gdk.
9113 2007-11-20 Bastien Nocera <hadess@hadess.net>
9115 * configure.in: add support for conditional icns gdk-pixbuf loader
9118 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
9120 * configure.in: updated version number to 2.15.0 for development.
9122 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
9124 === Branch for 2.12 ===