1 2008-06-16 Michael Natterer <mitch@imendio.com>
6 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
9 2008-06-16 Michael Natterer <mitch@imendio.com>
11 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
12 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
13 gtk_marshal_BOOLEAN__VOID.
15 2008-06-16 Michael Natterer <mitch@imendio.com>
17 * gtk/gtkcellrendereraccel.h
19 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
20 macros for type checking.
22 (gtk_object_get_type): change prototype to return GType instead of
25 2008-06-16 Matthias Clasen <mclasen@redhat.com>
27 * gtk/Makefile.am: Make folder, user-home and user-desktop links
28 to gtk-directory in the builtin icon theme, so that we can
29 use these icon names without risk of ending up without an icon.
31 2008-06-16 Tor Lillqvist <tml@novell.com>
33 Bug 538362 - Get Win32 icons back in the file chooser
35 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
36 reference to an icon resource in a DLL or .EXE in the same format
37 as the DefaultIcon strings in the Registry. In
38 that case, extract the icon and convert to a GdkPixbuf. Patch by
39 Hans Breuer. This code has to be in sync with the corresponding
40 code in glib/gio/gcontenttype.c.
42 2008-06-16 Matthias Clasen <mclasen@redhat.com>
44 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
45 to the builtin icon theme, to avoid showing broken images when
46 there is no icon theme around. The new icons are thanks to
49 2008-06-16 Michael Natterer <mitch@imendio.com>
51 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
52 GtkFileChooserDefault struct.
54 * gtk/gtkfilechooserdefault.c: don't allocate and free the
57 2008-06-16 Carlos Garnacho <carlos@imendio.com>
59 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
62 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
63 Allow again setting any of the properties to render an image back to
66 2008-06-15 Matthias Clasen <mclasen@redhat.com>
68 * gtk/gtkimage.c: When pixel-size is specified, use
69 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
71 2008-06-15 Carlos Garnacho <carlos@imendio.com>
73 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
74 path here as expected, not just the basename.
76 * gtk/gtkfilechooserdefault.c
77 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
78 a reference to file, since it can be destroyed when switching back to
81 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
82 and desktop directories are dealt by the filechooser as normal files,
83 not volumes, so the icon for these is handled directly by GIO.
84 (_gtk_file_system_volume_render_icon): Update caller.
86 2008-06-15 Matthias Clasen <mclasen@redhat.com>
88 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
90 2008-06-14 Cody Russell <bratsche@gnome.org>
92 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
94 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
95 according to MSDN docs, associates the open clipboard with the
96 current task. (#378158, reported by Andreas Köhler)
98 2008-06-13 Matthias Clasen <mclasen@redhat.com>
100 * configure.in: Bump version
102 * === Released 2.13.3 ===
104 2008-06-13 Matthias Clasen <mclasen@redhat.com>
106 * gtk/gtkaccelgroup.c: Add some docs
108 * gdk/gdkwindow.c: Fix doc typos
110 2008-06-13 Matthias Clasen <mclasen@redhat.com>
112 * gtk/gtkfilesystem.c: Avoid PLT entries by including
115 2008-06-13 Matthias Clasen <mclasen@redhat.com>
117 * gtk/gtkfilechooserbutton.c:
118 * gtk/gtkfilechooserdefault.c:
119 * gtk/gtkfilechooserentry.c:
120 * gtk/gtkfilesystem.c:
121 * gtk/gtkfilesystem.h:
122 * gtk/gtkfilesystemmodel.c:
123 * gtk/gtkpathbar.c: Really make GtkFileSystem private
124 by _-prefixing all functions.
126 2008-06-13 Matthias Clasen <mclasen@redhat.com>
128 * docs/RELEASE-HOWTO: Updates
129 * INSTALL.in: Bump version
131 2008-06-13 Matthias Clasen <mclasen@redhat.com>
135 2008-06-13 Michael Natterer <mitch@imendio.com>
137 * gtk/gtkcellrendereraccel.h
138 * gtk/gtkfilechooser.h
139 * gtk/gtkfilechooserdialog.h
140 * gtk/gtkfilechooserwidget.h
141 * gtk/gtkmenutoolbutton.h
144 * gtk/gtkprintcontext.h
145 * gtk/gtkprintoperation.h
146 * gtk/gtkprintoperationpreview.h
147 * gtk/gtkprintsettings.h
148 * gtk/gtkradiotoolbutton.h
149 * gtk/gtkrecentchooser.h
150 * gtk/gtkrecentchooserdialog.h
151 * gtk/gtkrecentchoosermenu.h
152 * gtk/gtkrecentchooserwidget.h
153 * gtk/gtkseparatortoolitem.h
155 * gtk/gtktoggletoolbutton.h
157 * gtk/gtktoolbutton.h
158 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
159 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
161 2008-06-13 Michael Natterer <mitch@imendio.com>
163 * gtk/gtktexttagtable.h: remove double inclusion of
166 2008-06-13 Michael Natterer <mitch@imendio.com>
168 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
169 local "image" variable from GtkImage to GtkWidget to fix warning.
171 2008-06-13 Michael Natterer <mitch@imendio.com>
173 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
174 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
176 2008-06-13 Michael Natterer <mitch@imendio.com>
178 * gtk/gtkuimanager.c (start_element_handler): silently skip
179 unknown attributes instead of bailing out with an error in order
180 to be compatible with possible future attribute names.
182 This is related to the discussion in bug #516425 but actually
183 needed for any kind of XML format extension.
185 2008-05-23 Hans Breuer <hans@breuer.org>
187 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
188 Avoids crashing when the target can not be written, bug #537685
190 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
192 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
193 it was not needed here anyway.
195 2008-06-13 Matthias Clasen <mclasen@redhat.com>
197 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
198 Patch by Jan Arne Peterson
200 2008-06-12 Matthias Clasen <mclasen@redhat.com>
202 Bug 537985 – gtk_init_with_args() doesn't open a display after
205 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
206 even when gtk_parse_args() has already been called.
207 Patch by Mathias Hasselmann
209 2008-06-12 Matthias Clasen <mclasen@redhat.com>
211 Bug 524222 – GtkToolbar with mix of buttons with and without
214 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
215 Improve appearance of "both vertical" mode toolbuttons.
216 Patch by Peter Johanson
218 2008-06-12 Matthias Clasen <mclasen@redhat.com>
220 Bug 519092 – Add accessibility support to GtkVolumeButton
222 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
223 Patch by Jonh Wendell
225 2008-06-12 Matthias Clasen <mclasen@redhat.com>
227 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
228 GtkAction has problems
229 Patch by Peter Johanson
231 * gtk/gtkaction.c (connect_proxy): Set the image of a button
232 proxy to the "icon-name" property.
234 (gtk_action_set_short_label): If the "image" property is set
235 on the button proxy, also tries to set the "label" property on
238 2008-06-12 Michael Natterer <mitch@imendio.com>
241 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
242 in via "gtkintl.h" from <glib/gi18n-lib.h>.
244 2008-06-12 Matthias Clasen <mclasen@redhat.com>
246 RH bug 248245 and 449379: cups client printing from gnome
249 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
250 printer URI construction. Patch by Marek Kasik
252 2008-06-12 Michael Natterer <mitch@imendio.com>
254 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
255 limit the number of displayed items by the actual screen height
256 instead of some arbitrary value (Bug #408154, Xan Lopez and
259 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
261 Bug 503071 – Application direction changes to right to left even if
262 theres no translation
264 * configure.in: Bump glib requirement.
266 * gtk/gtkaccellabel.c
267 (_gtk_accel_label_class_get_accelerator_label):
268 * gtk/gtkactiongroup.c (dgettext_swapped):
269 * gtk/gtkbuilder.c (gtk_builder_class_init):
270 * gtk/gtkbuilderparser.c (_dpgettext),
271 (_gtk_builder_parser_translate):
272 * gtk/gtkfilechooserdefault.c (list_size_data_func):
273 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
275 * gtk/gtkmain.c (setlocale_initialization),
276 (do_pre_parse_initialization), (gettext_initialization):
277 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
278 Use g_dgettext() and g_dngettext().
280 2008-06-11 Matthias Clasen <mclasen@redhat.com>
282 * docs/RELEASE-HOWTO: Updates
284 2008-06-11 Tor Lillqvist <tml@novell.com>
286 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
287 support Win9x anyway, we can use ProcessIdToSessionId()
290 2008-06-11 Michael Natterer <mitch@imendio.com>
292 * gtk/gtkfilechooserbutton.c: fix local prototype of
293 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
295 2008-06-10 Matthias Clasen <mclasen@redhat.com>
297 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
299 * gtk/gtkoptionmenu.c:
300 * gtk/gtkcombobox.c: Set the window type hint on popups.
301 Patch by Danny Baumann
303 2008-06-10 Matthias Clasen <mclasen@redhat.com>
305 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
306 (gtk_file_system_volume_render_icon): Add standard icon names,
307 and also fall back to builtin gtk stock icons.
309 2008-06-10 Christian Persch <chpe@gnome.org>
311 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
312 (gtk_tree_view_maybe_begin_dragging_row),
313 (gtk_tree_view_set_reorderable),
314 (gtk_tree_view_enable_model_drag_source),
315 (gtk_tree_view_enable_model_drag_dest),
316 (gtk_tree_view_unset_rows_drag_source),
317 (gtk_tree_view_unset_rows_drag_dest): Make
318 gtk_tree_view_enable_model_drag_[source|dest] compatible with
319 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
321 2008-06-10 Christian Persch <chpe@gnome.org>
323 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
324 (dest_row_free), (set_dest_row), (ensure_info),
325 (gtk_tree_view_remove), (gtk_tree_view_put),
326 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
329 2008-06-10 Paolo Borelli <pborelli@katamail.com>
331 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
332 use g_file_new_for_uri.
334 2008-06-10 Paolo Borelli <pborelli@katamail.com>
336 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
339 2008-06-10 Carlos Garnacho <carlos@imendio.com>
343 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
344 #520874, comment #8. It's no longer used directly by GTK+.
346 2008-06-10 Carlos Garnacho <carlos@imendio.com>
348 Bug 520874 - Should use gio directly.
350 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
351 provides helper functions for asynchronous calls, folder abstraction
352 and uniform handling of volumes/drives/mounts.
354 * gtk/gtkfilesystemwin32.[ch]:
355 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
357 * gtk/gtkfilechooser.c:
358 * gtk/gtkfilechooserbutton.c:
359 * gtk/gtkfilechooserdefault.c:
360 * gtk/gtkfilechooserentry.[ch]:
361 * gtk/gtkfilechooserprivate.h:
362 * gtk/gtkfilechooserutils.c:
363 * gtk/gtkfilesystemmodel.[ch]:
364 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
365 Do not load filesystem implementation modules.
368 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
369 anymore, nor the unix/win32 implementations.
371 * README.in: Add blurb about these changes.
373 2008-06-09 Kristian Rietveld <kris@gtk.org>
375 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
377 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
378 (gtk_cell_renderer_combo_set_property),
379 (gtk_cell_renderer_combo_editing_done),
380 (gtk_cell_renderer_combo_start_editing): introduce private class
381 struct, allow model to be set to NULL.
383 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
385 Bug 131920 – gtkNotebook sends incorrect switch_page value
387 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
388 signal send correct page index when page index 0 is active and
389 removed. (#131920, Samuel Fogh)
391 2008-06-08 Kristian Rietveld <kris@gtk.org>
393 Bug 536730 - memory corruption in gtktreeview
395 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
396 remove the expand/collapse timeout and node, then free the rbtree.
398 2008-06-08 Kristian Rietveld <kris@gtk.org>
400 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
402 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
403 find path if we found valid nodes, return FALSE otherwise. (Patch
404 from Matthias Clasen).
406 2008-06-08 Matthias Clasen <mclasen@redhat.com>
408 * gtk/gtkrecentmanager.c:
409 * gtk/gtkrecentfilter.c:
410 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
413 2008-06-08 Christian Persch <chpe@gnome.org>
415 Bug 535608 – do not string-copy accel paths in the menu code
417 * gtk/gtkaccelgroup.c:
422 * gtk/gtkwidget.c: Don't store the accel path as a string in
423 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
424 keeping a string copy around is just a waste of memory.
425 Improve the documentation to mention this.
427 2008-06-07 Tor Lillqvist <tml@novell.com>
429 Bug 536990 - updateiconcache.c: 'close ()' is redundant
431 * gtk/updateiconcache.c (build_cache): Drop redundant close()
432 calls. fclose() on a fdopen()ed stream closes the underlying file
435 2008-06-06 Matthias Clasen <mclasen@redhat.com>
437 Bug 536757 – regression: openoffice.org menus are placed at wrong
438 position since 2.12.10
440 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
441 Return the right coordinates.
443 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
445 Bug 536185 – monitor font configuration
448 * gdk/x11/gdksettings.c:
449 * gtk/gtksettings.c (gtk_settings_class_init),
450 (gtk_settings_notify), (settings_update_fontconfig):
451 Monitor xsettings key Fontconfig/Timestamp and upon change,
452 reread fontconfig configuration, clear Pango's caches, and
455 2008-06-06 Ross Burton <ross@burtonini.com>
458 Fix trivial typo in documentation.
460 2008-06-06 Tor Lillqvist <tml@novell.com>
462 * config.h.win32.in: Slight update to match what configure
465 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
467 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
468 constant to the end of the list, to avoid breaking the stable ABI
470 2008-06-05 Michael Natterer <mitch@imendio.com>
472 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
474 2008-06-05 Li Yuan <li.yuan@sun.com>
476 * gail-uninstalled.pc.in:
477 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
478 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
480 2008-06-03 Matthias Clasen <mclasen@redhat.com>
482 * docs/RELEASE-HOWTO: Update a bit
484 2008-06-03 Matthias Clasen <mclasen@redhat.com>
486 * configure.in: Bump version
488 * === Released 2.13.2 ===
490 2008-06-03 Federico Mena Quintero <federico@novell.com>
492 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
493 If the user presses Tab while the completion feedback window is
494 active, then we'll assert. Remove the assertion and just re-set
495 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
497 2008-06-03 Colin Walters <walters@redhat.com>
499 Bug 535303 – add _get_implementation to GtkStatusIcon
501 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
502 function to retrieve internal X11 window ID, useful for libnotify.
503 * gtk/gtkstatusicon.h: Prototype it.
504 * docs/reference/gtk/gtk-sections.txt: Add to docs.
505 * gtk/gtk.symbols: Export it.
507 2008-06-03 Tor Lillqvist <tml@novell.com>
509 * gtk/updateiconcache.c (build_cache): Use g_open().
511 2008-06-03 Michael Natterer <mitch@imendio.com>
514 * gtk/gtkctree.h: revert includes to how they have been before the
515 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
516 that you can't include <gtk/gtk.h> from two headers where one is a
517 parent class of the other and expect them both to be includable
520 2008-06-03 Michael Natterer <mitch@imendio.com>
522 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
524 2008-06-02 Matthias Clasen <mclasen@redhat.com>
526 Bug 536092 – GtkEntryCompletion's popup window should set type hint
528 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
529 a type hint on the popup window to help compiz.
530 Patch by Vaclav Slavik.
532 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
534 Bug 535862 – gtk_action_create_icon can't create icons from the
537 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
538 the default factories as it's supposed.
540 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
542 Bug 535497 – Print preview doesn't work.
544 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
545 instead of launching Preview.app directly.
547 2008-06-02 Michael Natterer <mitch@imendio.com>
549 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
550 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
553 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
555 Bug 535830 – wrong content type adding an item
557 * gtk/gtkrecentmanager.c:
558 (gtk_recent_manager_add_item_query_info): Use the correct API
559 for retrieving the fast MIME type of a URI. (Carlos Garcia
562 2008-05-31 Kristian Rietveld <kris@imendio.com>
564 Bug 530146 - Setting non-string tooltip with
565 gtk_tree_view_set_tooltip_column() segfaults
567 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
568 gtk_tree_model_get_value() and explicitly transform the value to a
569 string before setting it as tooltip.
571 2008-05-30 Tor Lillqvist <tml@novell.com>
573 * modules/engines/ms-windows/msw_style.h
574 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
576 2008-05-30 Michael Natterer <mitch@imendio.com>
578 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
579 GDestroyNotify when using it in g_object_set_data_full().
581 2008-05-30 Michael Natterer <mitch@imendio.com>
583 * gdk/gdkapplaunchcontext.h
585 * gtk/gtkmountoperation.h
588 * gtk/gtktoolshell.h: no need to allow disabling single includes
589 conditionally in these new files. Simply forbid including them
590 individually from the beginning.
592 2008-05-30 Tor Lillqvist <tml@novell.com>
594 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
596 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
599 2008-05-29 Matthias Clasen <mclasen@redhat.com>
601 * configure.in: Bump version
603 * === Released 2.13.1 ===
607 2008-05-29 Matthias Clasen <mclasen@redhat.com>
609 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
611 2008-05-29 Matthias Clasen <mclasen@redhat.com>
613 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
615 2008-05-29 Tor Lillqvist <tml@novell.com>
617 Bug 535526 - updateiconcache.c: using open/close without prototype
619 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
620 g_utime() when available instead of utime() for UTF-8 pathname
623 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
625 Bug 56355 – GtkLabel - Not all changes propagate correctly
627 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
628 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
629 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
630 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
631 notifications of mnemonic-keyval changes.
633 2008-05-27 Matthias Clasen <mclasen@redhat.com>
635 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
637 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
638 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
639 * gtk/gtk.symbols: Additions
640 * tests/testimage.c: Add a GIcon test
642 2008-05-29 Michael Natterer <mitch@imendio.org>
645 * gtk/gtkunixprint.h: add a single-include header for the unix
648 * gtk/gtkpagesetupunixdialog.h
651 * gtk/gtkprintunixdialog.h: add single-include guards that #error
652 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
653 files is included individually.
655 * gtk/gtkprintbackend.h
656 * gtk/gtkprinter-private.h
657 * modules/printbackends/cups/gtkprintbackendcups.c
658 * modules/printbackends/cups/gtkprintercups.h
659 * modules/printbackends/lpr/gtkprintbackendlpr.c
660 * tests/buildertest.c
661 * tests/defaultvaluetest.c
662 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
665 2008-05-28 Michael Natterer <mitch@imendio.com>
667 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
668 excess newlines and sprinkled some newlines where needed. Zero
669 code or formatting changes included.
671 2008-05-28 Michael Natterer <mitch@imendio.com>
673 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
675 2008-05-28 Michael Natterer <mitch@imendio.com>
677 * gtk/gtkcolorbutton.h: fix comment: the widget is called
678 GtkColorButton, not GtkColorSelectButton. Remove trailing
679 whitespace and excess newlines.
681 2008-05-28 Michael Natterer <mitch@imendio.com>
683 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
684 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
685 to CPPFLAGS so it's impossible to commit code that would break
686 apps which use DISABLE_INCLUDE defines.
688 2008-05-28 Michael Natterer <mitch@imendio.com>
690 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
693 * gtk/gtktypebuiltins.h.template
694 * gtk/gtkversion.h.in
695 * gtk/gtk*.h: add single-include guards that #error out if
696 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
697 included individually.
699 * gtk/gtkprintbackend.h
700 * gtk/gtkprinter-private.h
701 * gtk/gtktextlayout.h
702 * gtk/gtktexttagprivate.h
704 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
705 headers in these private or semi-private headers.
707 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
709 * gtk/gtkpagesetupunixdialog.h
712 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
718 * gtk/gtkitemfactory.h
721 * gtk/gtkoldeditable.h
722 * gtk/gtkoptionmenu.h
726 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
727 instead of individual headers in these deprecated headers. They
728 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
729 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
730 and include them individually, which should continue to work.
732 * gtk/gtkclist.c: include "gtkctree.h" because of the change
735 2008-05-28 Kristian Rietveld <kris@imendio.com>
737 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
740 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
741 cursor_offset *must* be larger than background height of the cursor
742 node, not just equal otherwise there is no guarantee there is a next
745 2008-05-28 Michael Natterer <mitch@imendio.com>
747 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
749 2008-05-28 Michael Natterer <mitch@imendio.com>
751 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
754 * gdk/gdkenumtypes.h.template
755 * gdk/gdk*.h: add single-include guards that #error out if
756 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
757 included individually. Also removed some redundant includes and
758 did some tiny trailing whitespace removal that's not worth to
761 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
764 * gdk/win32/gdkwin32.h
765 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
768 2008-05-28 Kristian Rietveld <kris@imendio.com>
770 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
771 current widget again.
773 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
774 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
775 custom_was_reset field to check if the custom widget is set again in
776 the query-tooltip callback; if not, we set it to NULL. Based on a
777 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
778 and Christian Persch.
780 2008-05-28 Michael Natterer <mitch@imendio.com>
782 * modules/printbackends/cups/gtkcupsutils.c
783 * modules/printbackends/cups/gtkprintbackendcups.c
784 * modules/printbackends/file/gtkprintbackendfile.c
785 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
786 <gtk/gtk.h> instead of individual files.
788 2008-05-28 Michael Natterer <mitch@imendio.com>
790 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
793 2008-05-28 Kristian Rietveld <kris@imendio.com>
795 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
797 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
798 ->priv->tree != NULL. Suggestion from Stefan Kost.
800 2008-05-28 Kristian Rietveld <kris@imendio.com>
802 Bug 324282 - add selected signal to cell renderer combo.
804 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
805 (gtk_cell_renderer_combo_changed),
806 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
807 that will be emitted as soon as the combo box emitted changed and has
808 an active iterator. (Modified patch based on work by James
811 * gtk/gtkmarshalers.list: add marshaler.
813 2008-05-28 Kristian Rietveld <kris@imendio.com>
815 Refactor expand/collapse timeout handling (amendment to bug 511217).
817 * gtk/gtktreeview.c (add_expand_collapse_timeout),
818 (remove_expand_collapse_timeout): new functions, the remove function
819 also clears expanded_collapsed_node,
820 (cancel_arrow_animation): moved to be next to the add/remove timeout
822 (gtk_tree_view_unrealize),
823 (gtk_tree_view_row_deleted),
824 (gtk_tree_view_set_model),
825 (cancel_arrow_animation),
826 (gtk_tree_view_real_expand_row),
827 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
829 2008-05-28 Kristian Rietveld <kris@imendio.com>
831 Amendment of bug 485218 - Strange warning encountered.
833 * gtk/gtktreemodelsort.[ch]
834 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
835 indication whether or not the conversion had succeeded.
837 2008-05-27 Matthias Clasen <mclasen@redhat.com>
839 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
841 * modules/printbackends/cups/gtkprintbackendcups.c
842 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
843 if the printer does not support level 3. Patch by Marek Kašík.
845 2008-05-27 Matthias Clasen <mclasen@redhat.com>
847 Bug 404571 - Scroll arrow backgrounds should be painted with different
850 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
851 as detail when drawing scroll arrow backgrounds. Proposed by
854 2008-05-27 Matthias Clasen <mclasen@redhat.com>
856 Bug 511217 - potential memory corruption after refreshing a tree_view
858 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
859 expanded_collapsed_node when canceling the animation.
860 Patch by Nicholas Setton.
862 2008-05-28 Michael Natterer <mitch@imendio.com>
864 * modules/input/gtkimcontextime.h
865 * modules/input/gtkimcontextmultipress.h
866 * modules/input/gtkimcontextthai.h
867 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
870 * modules/input/gtkimcontextime.c
871 * modules/input/gtkimcontextmultipress.c
872 * modules/input/gtkimcontextxim.c
873 * modules/input/imam-et.c
874 * modules/input/imcedilla.c
875 * modules/input/imcyrillic-translit.c
876 * modules/input/iminuktitut.c
877 * modules/input/imipa.c
878 * modules/input/imti-er.c
879 * modules/input/imti-et.c
880 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
881 "gtk/gtkintl.h" to the end of includes.
883 2008-05-28 Michael Natterer <mitch@imendio.com>
885 * modules/engines/pixbuf/pixbuf-style.h
886 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
887 instead of individual files.
889 2008-05-27 Matthias Clasen <mclasen@redhat.com>
891 Bug 485218 - Strange warning encountered
893 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
894 (gtk_tree_model_sort_convert_child_iter_to_iter):
895 (gtk_tree_model_sort_build_level): Better warnings. Patch
896 by Kristian Rietveld.
898 2008-05-27 Matthias Clasen <mclasen@redhat.com>
900 Bug 351910 - Search column setting lost
902 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
903 the docs. Patch by Matt Barnes.
905 2008-05-27 Matthias Clasen <mclasen@redhat.com>
907 Bug 477278 - avoid unnecessary pointer subtraction
909 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
910 subtraction that sparse complains about. Patch by Christian
913 2008-05-27 Matthias Clasen <mclasen@redhat.com>
915 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
917 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
918 Commit the entry text before doing an increment. Patch by
921 2008-05-27 Federico Mena Quintero <federico@novell.com>
923 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
924 drag and drop from the file list into itself, as it doesn't make
925 sense (it would just change the current folder).
927 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
928 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
931 2008-05-27 Michael Natterer <mitch@imendio.com>
933 * gtk/gtksignal.h: move deprecated guards around everything,
934 including includes and include guards (just as in all other
937 2008-05-27 Tor Lillqvist <tml@novell.com>
939 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
940 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
941 <sys/stat.h> on Windows, and the mode used in open() doesn't
942 matter much as there are no rwxrwxrwx bits on Windows anyway.)
943 Open file in binary mode. Passing "b" to fdopen() later isn't
946 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
948 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
949 invalid or invisible widgets.
951 2008-05-27 Matthias Clasen <mclasen@redhat.com>
953 Bug 531008 – Crash in gtkprintunixdialog.c
955 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
956 the dialog closes. Patch by Yevgen Muntyan.
958 2008-05-27 Matthias Clasen <mclasen@redhat.com>
960 RH bug 248245: cups client printing from gnome applications fail
962 * modules/printbackends/cups/gtkprintbackendcups.c
963 (gtk_print_backend_cups_print_stream): Specify the right server.
965 2008-05-27 Carlos Garnacho <carlos@imendio.com>
967 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
968 rubberbanding when "select-multiple" is TRUE. Bug #446068.
970 2008-05-27 Carlos Garnacho <carlos@imendio.com>
972 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
973 correctly dialog buttons sensitivity when the anonymous option is
974 enabled by default. Bug #531865.
976 2008-05-27 Carlos Garnacho <carlos@imendio.com>
978 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
979 password dialog modal and transient for the parent window also if it
980 was specified in the constructor. Bug #531864.
982 2008-05-26 Richard Hult <richard@imendio.com>
984 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
985 setting the default font, might need to tweak this.
987 2008-05-26 Michael Natterer <mitch@imendio.com>
989 * examples/gtkdial/gtkdial.h
990 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
992 2008-05-26 Michael Natterer <mitch@imendio.com>
994 * gtk/gtkimmodule.h: fix indentation.
996 2008-05-26 Michael Natterer <mitch@imendio.com>
998 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
1000 * gtk/gtkshow.c: remove inclusion of single files from gdk/
1002 Removed trailing whitespace in both files.
1004 2008-05-26 Richard Hult <richard@imendio.com>
1006 Bug 530353 – Mac-like gtk_accelerator_get_label()
1008 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
1009 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
1010 On quartz, make gtk_accelerator_get_label() format a Mac-like
1011 string, using unicode characters for modifier keys, arrows, delete
1012 etc. Patch from Yevgen Muntyan.
1014 2008-05-26 Richard Hult <richard@imendio.com>
1016 Bug 534869 – Length miscalculation in
1017 _gtk_quartz_get_selection_data_from_pasteboard
1019 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
1020 Get the number of bytes, not the number of characters, patch from
1023 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1025 * gtk/gtkwidget.c: Some doc formatting fixes.
1027 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1029 Bug 511163 – Remove pango_extents_to_pixels() calls
1031 * gtk/gtkcellrenderertext.c (get_size): Use
1032 pango_layout_get_pixel_extents.
1034 * configure.in: Bump Pango requirement to 1.20
1036 * INSTALL.in: Update required versions
1038 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1040 Bug 513811 – Use cairo_format_stride_for_width()
1042 * gtk/gtkhsv.c (paint_ring, paint_triangle):
1043 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
1044 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
1046 * configure.in: Bump cairo requirement to 1.6.0
1048 * INSTALL.in: Update required versions
1050 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1052 * gtk/gtkshow.[hc]: Formatting fixes
1054 * gtk/gtkmountoperation.c: Add docs
1056 2008-05-25 Cody Russell <bratsche@gnome.org>
1058 Bug 507389 – use gslice for gtksettings
1060 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
1061 Report and patch by Christian Persch.
1063 2008-05-25 Cody Russell <bratsche@gnome.org>
1065 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
1066 when options are missing
1068 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
1069 that other processes that try to open it will fail gracefully. Also
1070 fix a crasher caused by lack of a NULL check. Report and patch
1073 2008-05-25 Cody Russell <bratsche@gnome.org>
1075 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
1077 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
1078 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
1079 so that we also take into account for foreign windows.
1080 Report and patch by Nathaniel Smith.
1082 2008-05-25 Cody Russell <bratsche@gnome.org>
1084 Bug 525461 - Don't invalidate under an input-only child
1086 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
1087 Check that the window is not input-only before invalidating.
1088 Report and patch by Owen Taylor.
1090 2008-05-25 Cody Russell <bratsche@gnome.org>
1092 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
1093 window frame extents
1095 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
1096 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
1098 2008-05-25 Cody Russell <bratsche@gnome.org>
1100 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
1101 caused by missing flag initialization
1103 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
1104 top-level private flags correctly. Patch by Danny Baumann.
1106 2008-05-25 Cody Russell <bratsche@gnome.org>
1108 Bug 534463 - non-editable GtkTextView should not call
1109 gtk_im_context_focus_in in focus event
1111 * gtk/gtktextview.c: Add checks to see if the textview is
1112 editable. Patch by Wang Diancheng.
1114 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1116 Bug 501730 – use GSlice for small allocs
1118 * gtk/gtkmenuitem.c:
1119 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
1120 Patch by Christian Persch.
1122 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1124 Bug 523930 – sort -> search in gtktreeview.c
1126 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
1127 glitch, pointed out by Björn Lindqvist.
1129 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1131 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
1133 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
1134 doc glitch, pointed out by Christian Persch.
1136 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1138 Bug 534694 – Col id in GtkListStore could be out of range
1140 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
1141 a bit. Pointed out by Jan Arne Petersen.
1143 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1145 Bug 532497 – Configure problem when cross-compiling
1147 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
1148 pointed out by Marko Lindqvist.
1150 2008-05-25 Richard Hult <richard@imendio.com>
1152 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1153 Slight coding style cleanup.
1155 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
1157 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
1158 Added support for parsing required toolkit versions (so that ui descriptions
1159 can target specific versions of the backend widget libraries) bug 527612.
1161 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1162 for the added xml tags to the ui description.
1164 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
1165 for requires tag handling.
1167 2008-05-25 Richard Hult <richard@imendio.com>
1169 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
1170 gtk_drag_source_info_destroy in an idle, workaround for bug
1171 #501588, that makes any code that uses the context returned from
1172 gtk_drag_begin() crash, like treeview/iconview dnd.
1173 (GdkDragSourceOwner::provideDataForType): only use the data if we
1176 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1178 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
1179 to the drag actions to allow trash (#137717).
1181 2008-05-25 Josselin Mouette <joss@malsain.org>
1183 reviewed by: Matthias Clasen
1185 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
1186 check that tracker is actually working before using it. Fixes
1189 2008-05-25 Sven Neumann <sven@gimp.org>
1191 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
1192 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
1193 and don't create an output window if it is set.
1195 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
1196 drawing areas. Fixes bug #519317.
1198 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1200 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
1201 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
1203 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
1204 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
1205 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
1206 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
1207 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
1208 (start_spinning), (gtk_spin_button_button_release),
1209 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
1210 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
1211 (gtk_spin_button_update): Reorder strange window hierarchy of the
1212 GtkSpinButton (#466000).
1214 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1216 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
1217 fix the wrong position for right and center justified labels with
1218 logical.x > 0 (#530255).
1220 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1222 * gtk/gtkfilechooserdefault.c:
1223 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
1226 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
1228 * tests/pixbuf-lowmem.c
1229 * tests/pixbuf-random.c
1230 * tests/pixbuf-randomly-modified.c
1231 * tests/pixbuf-read.c
1232 * tests/pixbuf-threads.c
1234 * tests/testtreeview.c: Fix remaining compiler warnings in these
1237 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
1239 reviewed by: Matthias Clasen
1244 * gtk/gtkshow.c: (gtk_show_uri):
1246 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
1248 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1250 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
1252 * tests/buildertest.c: (test_list_store): Add test.
1254 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1256 Bug 520989 – icon factory buildable too strict
1258 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
1259 an optional attribute.
1261 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1263 Bug 387972 – gtkassistant drawing problem
1265 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
1266 GtkAssistant work better in glade.
1268 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1270 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
1271 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
1272 used in GtkToolItem) (#532787).
1274 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1276 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
1277 try to toggle the visibility of the location entry field in search and
1278 recent mode (#526422).
1280 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1282 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
1283 (shortcuts_list_create): Show parse name as tooltip for path
1284 shortcuts (#137503).
1286 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
1288 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
1289 pango_color_parse, do not reference XParseColor forms (#434991).
1291 2008-05-24 James Sharpe <jsharpe@gnome.org>
1293 * gdk/gdk.symbols: Remove duplicate
1294 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
1295 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
1297 2008-05-23 Hans Breuer <hans@breuer.org>
1299 * **/makefile.msc gtk/makefile.msc.in : updated
1300 * gtk/gtkwidget.c : fix c99ism (variable at start of block
1301 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
1303 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
1304 setlocale(LC_ALL, ...)
1306 2008-05-23 Tor Lillqvist <tml@novell.com>
1308 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
1309 gdk_window_remove_redirection.
1311 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
1312 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
1313 changes. Remove now unnecessary parameter checks as the caller
1316 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
1318 2008-05-23 Tor Lillqvist <tml@novell.com>
1320 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
1321 anything if style doesn't change. Improve debugging output.
1323 2008-05-23 Michael Natterer <mitch@gimp.org>
1326 * tests/print-editor.c
1327 * tests/prop-editor.h
1328 * tests/testmountoperation.c
1329 * tests/testmultidisplay.c
1330 * tests/testnouiprint.c
1332 * tests/testprintfileoperation.h
1333 * tests/testtreesort.c
1334 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
1335 files. Remove some redundant includes.
1337 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
1339 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
1340 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
1342 2008-05-21 Richard Hult <richard@imendio.com>
1344 * gdk/quartz/gdkwindow-quartz.c:
1345 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1346 offscreen rendering changes, fixes build.
1348 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
1350 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1352 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1353 return snapshot pixmap coordinates widget relative in *clip_rect.
1355 * tests/testgtk.c: fixed bogus NULL pointer unref.
1357 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
1359 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1360 widget's allocation to cover extra widget windows placed outside the
1361 widget allocation (spinbutton arrows are the prime example for this).
1363 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
1365 * Applied pixmap redirection patch by Alexander Larsson with
1366 various updates from:
1367 Bug 318807 – Offscreen windows and window redirection.
1372 * updated docs to mention "Since 2.16".
1374 * tests/testgtk.c: fixed snapshooting pixmap leak.
1375 convert pixmap to pixbuf after snapshooting, to compensate for different
1376 bit depths (occurs when snapshooting ARGB visuals and displaying the
1377 pixmap in an RGB visual).
1379 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1381 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1382 need for it. enqueue damage notification as GDK_DAMAGE events
1383 for each painting redirection at the start of the event queue.
1384 consider windows with a redirection fully visible when invalidating,
1385 and when updating from backing store. cleaned up stale variables.
1387 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1389 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1390 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1391 tree, drawingarea, text, handlebox, etc.
1392 clip the redirected window hierarchy to window sizes, the visible
1393 rectangles don't need to be taken into account here.
1394 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1395 in case pixmap visuals could mismatch.
1397 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1402 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1403 of possibly obscured widgets into an offscreen pixmap.
1405 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1406 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1408 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1410 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1411 implementations here, adapted them to propagate redirects to child windows.
1412 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1413 clipped to visible region. queue GDK_DAMAGE event delivery.
1414 gdk_window_redirect_to_drawable(): install window painting redirection.
1415 gdk_window_remove_redirection(): remove previously installed redirection.
1417 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1418 renamed _gdk_window_new() and _gdk_window_reparent().
1420 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1421 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1423 * gdk/gdkevents.h: added GDK_DAMAGE event type.
1425 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1427 * gdk/gdkinternals.h: added internal prototypes.
1429 2008-05-21 Michael Natterer <mitch@imendio.com>
1431 * gtk/gtkalignment.c
1435 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1437 2008-05-20 Matthias Clasen <mclasen@redhat.com>
1439 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1442 Patch by Marek Kasik.
1445 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1447 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1449 * modules/printbackends/file/gtkprintbackendfile.c:
1450 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1451 get_default_page_size.
1453 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1454 select its default paper size.
1456 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1457 use the printer default.
1459 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1460 if we don't have a default page setup.
1462 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
1464 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1465 can accept NULL for none. Fixes bug #533920.
1467 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
1469 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1470 gtk_spin_button_update): Remove two chunks of duplicated
1473 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
1475 * reverted recent unapproved changes by Yair Hershkovitz,
1476 regarding: Bug 503071 – Application direction changes to right
1477 to left even if theres no translation.
1479 2008-05-19 Richard Hult <richard@imendio.com>
1481 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1482 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1483 SetSystemUIMode instead of hiding and showing the menubar.
1485 2008-05-19 Federico Mena Quintero <federico@novell.com>
1487 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1488 can't be resized until you expand the "Browse for other folders"
1491 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1492 Removed the "get_resizable" method.
1493 (_gtk_file_chooser_embed_get_resizable): Removed.
1495 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1497 * gtk/gtkfilechooserdefault.c: Likewise.
1499 * gtk/gtkfilechooserdialog.c
1500 (file_chooser_widget_default_size_changed): Act as if the dialog
1501 were always resizable.
1503 2008-05-19 Michael Natterer <mitch@imendio.com>
1505 * gtk/gtkcellrenderer.c
1506 * gtk/gtkcellrendererpixbuf.c
1507 * gtk/gtkcellrenderertoggle.c
1508 * gtk/gtkimagemenuitem.c
1509 * gtk/gtkmenutoolbutton.c
1510 * gtk/gtkoptionmenu.c
1511 * gtk/gtkstatusbar.c
1512 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1514 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
1516 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1517 g_disable_setlocale().
1519 2008-05-17 Richard Hult <richard@imendio.com>
1521 * gdk/quartz/gdkwindow-quartz.c:
1522 (gdk_window_impl_quartz_invalidate_maybe_recurse):
1523 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1524 of g_idle_add. Add a temporary check if the window is already in
1525 the updates list, since update_area currently doesn't always match
1526 the backend's state, see bug #530801.
1528 2008-05-13 Tor Lillqvist <tml@novell.com>
1530 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1532 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1533 the "packet rate" of devices to zero instead of 50. This is
1534 reported to help significantly with Wacom tablet behaviour in GIMP
1535 and Inkscape. Patch from Thomas Bleeker.
1537 2008-05-12 Richard Hult <richard@imendio.com>
1539 * gdk/quartz/gdkevents-quartz.c:
1540 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1541 as it's no longer necessary; instead the added quartz API to get
1542 the nsevent from an event should be used. Also move the global
1543 filter up so it's done before the check for window-less events.
1545 2008-05-12 Tor Lillqvist <tml@novell.com>
1547 Bug 532558 - Cannot build dll when using separate builddir
1550 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1553 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
1555 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1557 2008-05-12 Tor Lillqvist <tml@novell.com>
1559 Bug 532059 - Leak in win32 clipboard manipulation
1561 * gdk/win32/gdkselection-win32.c
1562 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1565 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
1567 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1568 gettext_initialization only once.
1570 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1571 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
1572 with the extended functionality that was in the removed dpgettext().
1574 * gtk/gtkaccellabelc:
1576 * gtk/gtkimmulticontext.c:
1577 * gtk/gtkactiongroup.c:
1578 * gtk/gtkintl.h: use glib i18n api.
1580 2008-05-08 Richard Hult <richard@imendio.com>
1582 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1583 currently invalidated region. Fixes bug #532048, patch by Yevgen
1586 2008-05-08 Richard Hult <richard@imendio.com>
1588 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1589 fd's revents, not the first one. Fixes bug #531056, spotted by
1592 2008-05-07 Tor Lillqvist <tml@novell.com>
1594 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1597 2008-05-05 Matthias Clasen <mclasen@redhat.com>
1599 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1600 more printer status information in the print dialog.
1602 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1603 printer-state-reasons into suitable messages and icons.
1605 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1606 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1607 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1609 * gtk/gtkiconfactory.c:
1610 * gtk/gtkstock.h: New stock icons to display printer state.
1612 2008-05-07 Michael Natterer <mitch@imendio.com>
1614 * gdk/gdkinternals.h
1616 * gdk/directfb/gdkevents-directfb.c
1617 * gdk/quartz/gdkevents-quartz.c
1618 * gdk/win32/gdkevents-win32.c
1619 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1620 order parameters src,dest and make src const.
1622 2008-05-06 Richard Hult <richard@imendio.com>
1624 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1625 * gdk/gdkinternals.h: Add private backend data to events, and
1626 handle it when copying/freeing events. Currently only needed in
1629 * gdk/directfb/gdkevents-directfb.c:
1630 * gdk/quartz/gdkevents-quartz.c:
1631 * gdk/win32/gdkevents-win32.c:
1632 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1633 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1634 directfb. Implement for quartz. Part of fixing bug #473822.
1636 2008-05-05 Richard Hult <richard@imendio.com>
1638 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1639 framework if there is one.
1641 2008-05-05 Michael Natterer <mitch@imendio.com>
1643 * gtk/gtkcellrenderercombo.h
1644 * gtk/gtkcellrendererspin.h
1645 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1648 * gtk/gtkfilechooserdialog.h
1649 * gtk/gtkfilechooserwidget.h
1650 * gtk/gtkscalebutton.h: reorder instance and class structs to be
1653 2008-05-04 Richard Hult <richard@imendio.com>
1655 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1656 gdk_unicode_to_keyval() worked before using the result. Makes
1657 function keys work, bug #530156. Also add F16 to the function key
1660 2008-05-04 Richard Hult <richard@imendio.com>
1662 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1663 semicolon after if statement. Fixes bug #530963, patch from Yevgen
1666 2008-05-02 Michael Natterer <mitch@imendio.com>
1668 * gtk/gtk.h: add 15 files that were missing (they all got included
1669 indirectly by including gtk.h, so should have been here in the
1672 2008-05-02 Michael Natterer <mitch@imendio.com>
1674 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1676 2008-05-01 Richard Hult <richard@imendio.com>
1678 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1679 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1681 2008-05-01 Matthias Clasen <mclasen@redhat.com>
1683 * modules/imput/imthai.c: Register the right translation domain.
1685 2008-04-30 Matthias Clasen <mclasen@redhat.com>
1687 Bug 529386 – Printing options hidden by blacklisted option
1689 * modules/printbackend/cups/gtkprintbackendcups.c
1690 (cups_printer_get_options): Fix the blacklist handling.
1691 Patch by Marek Kašík.
1693 2008-04-30 Richard Hult <richard@imendio.com>
1695 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1698 2008-04-30 Richard Hult <richard@imendio.com>
1700 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1701 nsevents with the gdk lock held, fixes deadlock when doing manual
1702 window resizing with threading enabled.
1704 2008-04-30 Richard Hult <richard@imendio.com>
1706 * gdk/quartz/gdkevents-quartz.c:
1707 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1708 Alt to Alt and Cmd to Meta. This is not only more logical but also
1709 makes it easier to have Mac-like behavior.
1711 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
1713 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1714 painting the flat box instead of recalculating it. (#437493,
1717 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
1719 Bug 529841 – incorrect position in directfb
1721 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
1723 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
1725 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1727 2008-04-25 Michael Natterer <mitch@imendio.com>
1729 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1730 <pango/pango-layout.h>.
1732 * gtk/gtkiconfactory.c
1736 * gtk/queryimmodules.c: remove inclusion of single files from
1737 pango, none of them was actually needed.
1739 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1740 <pango/pango-utils.h>.
1742 2008-04-25 Michael Natterer <mitch@imendio.com>
1744 * gdk/gdkfont.h: include <pango/pango.h> instead of
1745 <pango/pango-font.h>.
1747 2008-04-25 Michael Natterer <mitch@imendio.com>
1749 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1752 2008-04-21 Michael Natterer <mitch@imendio.com>
1754 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1755 crashing when NULL pointers get passed.
1757 2008-04-18 Michael Natterer <mitch@imendio.com>
1759 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1760 here have the same style.
1762 2008-04-18 Michael Natterer <mitch@imendio.com>
1764 * gtk/gtkicontheme.h
1765 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1768 * gtk/gtkbuilderparser.c
1769 * gtk/gtklinkbutton.c
1771 * gtk/gtkrecentchooserdefault.c
1772 * gtk/gtkrecentchoosermenu.c
1773 * modules/input/gtkimcontextthai.c: remove inclusion of single
1774 files from gdk, none of the includes was actually needed.
1776 2008-04-18 Michael Natterer <mitch@imendio.com>
1778 * gdk/gdk.h: reorder one include so they are all alphabetical.
1780 2008-04-18 Michael Natterer <mitch@imendio.com>
1782 * modules/printbackends/cups/gtkprintercups.[ch]
1783 (gtk_printer_cups_get_ppd_name): change return value and local
1784 variable to const gchar* to fix warning about discarding const
1787 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1789 * gtk/gtkrecentmanager.c:
1790 (gtk_recent_manager_set_filename): Keep the default storage
1791 file in $HOME, as we don't have a migration code in place yet.
1793 2008-04-18 Michael Natterer <mitch@imendio.com>
1795 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1796 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1798 2008-04-17 Michael Natterer <mitch@imendio.com>
1800 * gtk/gtkiconfactory.c (get_default_icons): register the
1801 GTK_STOCK_PAGE_SETUP icon.
1803 2008-04-17 Michael Natterer <mitch@imendio.com>
1805 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1806 g_return_if_fail(tooltips != NULL);
1808 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1810 * gtk/gtkwindow.c: Chain up in buildable_finish()
1812 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1813 cases where g_path_get_dirname() returns "."
1815 * docs/reference/gtk/tmpl/gtklabel.sgml,
1816 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1817 for the <attributes> tags on GtkLabel
1819 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1821 * gtk/gtkrecentmanager.c:
1822 (gtk_recent_manager_real_changed): Fix last commit, and
1823 complete the gtk-recent-files-max-age semantics: if the
1824 property is set to 0 then purge the list.
1826 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1828 Bug 488507 – boundless growth of .recently-used.xbel file
1829 slows down applications
1831 * gtk/gtkrecentmanager.c:
1832 (gtk_recent_manager_init),
1833 (gtk_recent_manager_real_changed),
1834 (gtk_recent_manager_set_filename),
1835 (gtk_recent_manager_clamp_to_age): Clamp the recently
1836 used resources list by the age of its items, using
1837 the newly added GtkSettings property.
1839 * gtk/gtksettings.c (gtk_settings_class_init): Add the
1840 gtk-recent-files-max-age property, controlling the
1841 maximum age of the items in the recently used resources
1844 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1846 * gtk/gtkrecentmanager.c:
1847 (gtk_recent_manager_add_item_query_info),
1848 (gtk_recent_manager_add_item): Emit the ::changed signal
1849 at the end of the asynchronous MIME type query.
1851 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1853 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1856 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1857 changes in the recently used resources storage file, and
1858 drop the timeout-based poll.
1860 * ChangeLog: Fix attribution of the patch of the previous
1863 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1865 Bug 506062 – gtk_recent_manager_add_item does not detect mime
1868 * configure.in: Depend on gio-2.0
1870 * gtk/gtkrecentmanager.c:
1871 (gtk_recent_manager_add_item_query_info_cb),
1872 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1873 query the MIME type of the passed URI (based on a patch by
1876 2008-04-11 Carlos Garnacho <carlos@imendio.com>
1878 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1879 page to visited page list instead of next current page. (#527466,
1880 patch by Marcus Brinkmann)
1882 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
1884 * gtk/gtklabel.c: Added <attributes> / <attribute>
1885 custom tags to parse pango attributes into labels (#527486).
1887 * tests/buildertest.c: Added tests for GtkLabel custom
1890 2008-04-10 Carlos Garnacho <carlos@imendio.com>
1892 * gtk/gtknotebook.c (hide_drag_window): Do not call
1893 gtk_widget_set_parent_window(), using widget->window instead of NULL
1894 to unset is the wrong thing, and gtk_widget_unparent() will already
1895 take care of this (#467698, patch by Sébastien Granjoux)
1897 2008-04-08 Tor Lillqvist <tml@novell.com>
1899 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1900 these functions with G_MODULE_EXPORT.
1902 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1904 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1905 (gtk_file_system_volume_render_icon):
1906 Fix fallback icon rendering size
1908 2008-04-08 Michael Natterer <mitch@imendio.com>
1910 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1911 touchscreen-mode keynav corner case: when navigating to the parent
1912 menu, make sure we don't close two menus at the same time in case
1913 the deepest open menu has no selectable items.
1915 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
1917 * gtk/gtkwidget.c: Clarified a g_warning message regarding
1918 parsing accelerators from builder files.
1920 2008-04-03 Cody Russell <bratsche@gnome.org>
1922 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1923 of the block. (#526021, reported by Kazuki IWAMOTO)
1925 2008-04-03 Tor Lillqvist <tml@novell.com>
1927 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1930 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1931 workaround for a specific kind of screwed up locale setting.
1933 2008-04-02 Matthias Clasen <mclasen@redhat.com>
1935 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1936 colormaps. Found by Daniel Berrange.
1938 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
1940 * tests/autotestfilechooser.c: Cover
1941 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1942 name. (#346058, Joe Halliwell)
1944 2008-04-02 Federico Mena Quintero <federico@novell.com>
1946 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1947 chooser incorrectly substitutes and expands a ~ when you type it
1948 in the filename entry.
1950 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1951 basenames result in a slash-terminated pathname.
1952 gtk_file_system_unix_parse() is correct, but it was splitting
1953 "/home/username" into path="/home" and file_part="username", which
1954 is not what the caller wants when the entry has just "~" or
1957 2008-04-02 Tor Lillqvist <tml@novell.com>
1959 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1960 and gtksearchenginetracker.c on Windows.
1962 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1965 2008-04-01 Cody Russell <bratsche@gnome.org>
1967 * configure.in: Bump required Cairo to 1.5.2.
1969 * gtk/gtkprintoperation-win32.c: Add support for using the new
1970 cairo_win32_printing_surface for printing. Also fixed to use
1971 cairo_surface_show_page(). (#488833 and #521178)
1973 2008-03-31 Cody Russell <bratsche@gnome.org>
1975 * demos/gtk-demo/printing.c (draw_page): Move down each line in
1976 units of text_height rather than in units of data->font_size.
1977 (totally awesome catch by Dom Lachowicz)
1979 2008-03-28 Richard Hult <richard@imendio.com>
1981 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1982 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1983 event to the mainloop and don't generate one at all if the
1984 toplevel didn't change. Use the actual window and not the toplevel
1985 as event window. These changes make the generated crossing events
1986 match the X11 behavior and fixes issues with e.g. tooltips,
1987 comboboxes and menus.
1989 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1990 the view has no window, it will be updated as soon as it's put
1993 * gdk/quartz/gdkwindow-quartz.c:
1994 (_gdk_quartz_window_debug_highlight): Make it possible to track
1995 multiple windows with debug highlighting.
1996 (show_window_internal): Remove workaround for tooltips and popups
1997 that is no longer needed with the above changes.
1999 2008-03-26 Federico Mena Quintero <federico@novell.com>
2001 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
2002 helper function; factored out from the functions that commit the
2003 current suggested autocompletion and that refresh the entry's paths.
2004 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
2005 (_gtk_file_chooser_entry_get_file_part): Likewise.
2006 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
2007 makes the entry have the correct paths when *not* using any form
2008 of completion (and makes the file chooser work when clicking the
2011 2008-03-25 Richard Hult <richard@imendio.com>
2013 * gdk/quartz/gdkevents-quartz.c:
2014 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
2015 can't find a matching window.
2017 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
2018 comment, and only trigger an event for non-temp windows, fixes
2019 problems for tooltips caused by the workarounds for the
2020 problematic tracking rect API.
2022 2008-03-25 Richard Hult <richard@imendio.com>
2024 * gdk/quartz/gdkwindow-quartz.c:
2025 (gdk_window_quartz_process_all_updates): Plug a leak and add a
2026 check that we have a toplevel before accessing it.
2028 2008-03-24 Tor Lillqvist <tml@novell.com>
2030 Bug 524151 - Dragging of 0-byte files results in an empty filename
2031 on Windows XP and above
2033 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
2034 being empty first. For some reason ISHellLink and IPersistFile
2035 succeeds in interpreting empty files as shortcuts, claiming the
2036 target of the shortcut is an empty path.
2038 Change the function to take the wide character file name that the
2039 caller already has anyway, to avoid a superfluous conversion from
2042 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
2044 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
2045 against NULL pointer. (#467051, Gian Mario Tagliaretti)
2047 2008-03-23 Cody Russell <bratsche@gnome.org>
2049 * gdk/win32/gdkevents-win32.c (show_window_recurse):
2050 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
2051 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
2052 menus from a maximized window would force the window to restore
2055 2008-03-23 Johan Dahlin <johan@gnome.org>
2057 * gtk/gtk-builder-convert:
2058 Properly convert GtkImageMenuItems which use stock labels but don't
2060 (#523932, Brian Pepple)
2062 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
2064 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
2065 New function implements GtkCellLayoutClass::get_cells. (#523787)
2067 2008-03-22 Tor Lillqvist <tml@novell.com>
2069 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
2071 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
2072 GDK_THREADS_LEAVE() call. Approved by mclasen.
2074 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
2076 * gtk/gtkexpander.c (gtk_expander_get_label):
2077 gtk_label_get_label() should be used instead of
2078 gtk_label_get_text(). (#353088, Xan Lopez)
2080 2008-03-21 Tor Lillqvist <tml@novell.com>
2082 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
2083 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
2084 gdip-pixbuf-loader module.
2086 * configure.in: Add switch --disable-gdiplus-loaders that disables
2087 building of the GDI+ loaders.
2089 When including loaders in the gdk-pixbuf library, and building
2090 GDI+ loaders, either build in all the GDI+ loaders or none of
2091 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
2092 signal building them in.
2094 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
2095 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
2096 indicate whether they should be built-in.
2098 For the rest of the changes, see gdk-pixbuf/ChangeLog.
2100 2008-03-20 Tor Lillqvist <tml@novell.com>
2102 * gtk/Makefile.am: Revert accidental change that went in as part
2103 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
2104 Darwin. On Windows one has to use a newer GNU grep that has -o,
2105 for instance the one from gnuwin32, instead of the oldish one in
2106 MSYS that doesn't have -o.
2108 2008-03-20 Tor Lillqvist <tml@novell.com>
2110 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
2111 pass NULL for %s to g_message().
2112 (main): Drop unnecessary call to gtk_widget_destroy().
2114 2008-03-20 Tor Lillqvist <tml@novell.com>
2116 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
2118 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
2119 in one dimension, or centered in case it doesn't fit.
2120 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
2123 2008-03-18 Tor Lillqvist <tml@novell.com>
2125 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
2127 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
2128 G_MODULE_ENTRY decoration can be put in a more correct place.
2130 2008-03-18 Sven Neumann <sven@gimp.org>
2132 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
2133 alternative button order on the password dialog.
2135 2008-03-18 Tor Lillqvist <tml@novell.com>
2137 Bug 99192 - Add --with-include-input-modules
2139 * configure.in: Add --with-included-immodules switch. Handled in a
2140 similar way as the --with-included-loaders switch. For each input
2141 method module foo: Collect the list of input modules to be built
2142 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
2143 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
2144 Define Automake conditionals INCLUDE_IM_FOO.
2146 * modules/input/Makefile.am: For modules to be included in libgtk,
2147 build a static library.
2149 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
2150 gdk-pixbuf to get unique names for the functions called by libgtk
2151 in the included case. Use G_MODULE_EXPORT in the non-included case
2152 so that we don't unnecessarily export unneeded random global
2155 * gtk/Makefile.am: Build the included modules and link them into libgtk.
2157 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
2158 copy/paste leftover mentions of "themes" in comments.
2160 2008-03-18 Tor Lillqvist <tml@novell.com>
2162 * tests/Makefile.am: Build testmountoperation only on Unix for now.
2164 2008-03-17 Christian Kellner <gicmo@gnome.org>
2166 Implement GtkMountOperation, a subclass of GMountOperation
2167 to be used with gio wherever there is the need to ask the
2168 user for credentials or questions while mounting a volume.
2171 * gtk/gtkmountoperation.c:
2172 * gtk/gtkmountoperation.h:
2173 Implement GtkMountOperation.
2175 * gtk/gtk.h: Add gtkmountoperation.h
2176 * gtk/Makefile.am: Add gtkmountoperation.[hc]
2177 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
2178 * tests/testmountoperation.c: Test program for it.
2179 * tests/Makefile.am: Add testmountoperation.
2181 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
2183 * gtk/gtkcontainer.c: Properly document
2184 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
2186 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2188 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
2189 style names for the ComboBox thickness style
2191 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2193 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
2194 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
2195 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
2196 intelligent separation for the xp theming engine and the classic
2197 theme while drawing the GtkComboBox button. combobox_draw_arrow
2198 is not used anymore, commented. The style has been updated to fix
2199 border/thickness glitches in the combobox according to the fixes
2200 commited regarding bug #521442. (bug #461805)
2202 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2204 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
2205 now aware of both the combobox and frame (if has-frame is set)
2206 thickness and border. (bug #521442)
2208 2008-03-15 Andre Klapper <a9016009@gmx.de>
2210 * configure.in: Added "si" to ALL_LINGUAS.
2212 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2214 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
2215 Set window type hint on the search popup. (#522279, Danny Baumann)
2217 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2219 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
2220 appropriate. (#521934, Huang Peng)
2222 2008-03-14 Michael Natterer <mitch@imendio.com>
2225 * gtk/gtkbuilderprivate.h
2226 * gtk/gtkfilechoosersettings.c
2227 * gtk/gtksearchenginesimple.c
2228 * gtk/tests/liststore.c
2229 * gtk/tests/treestore.c: remove single-file includes of GLib
2230 headers or replace them by <glib.h> where needed.
2232 2008-03-14 Michael Natterer <mitch@imendio.com>
2234 * gtk/gtkadjustment.c: coding style cleanup.
2236 (gtk_adjustment_set_property): no need to call g_object_notify()
2237 on the set properties.
2239 Implement GObject::dispatch_properties_changed() and make sure we
2240 emit "changed" when anything but the "value" property changes.
2242 2008-03-14 Tor Lillqvist <tml@novell.com>
2244 * gdk/win32/gdkevents-win32.c: Drop the support for the
2245 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
2246 Win95. Thanks to mitch for noticing this obsolete code.
2248 2008-03-14 Cody Russell <bratsche@gnome.org>
2250 * examples/scribble-xinput/scribble-xinput.c: Changed
2251 'void int main()' to 'int main()'. (#522211, Liqing Huang)
2253 2008-03-14 Richard Hult <richard@imendio.com>
2255 * gdk/quartz/gdkwindow-quartz.c:
2256 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
2257 only flush the toplevel once per update.
2259 2008-03-13 Federico Mena Quintero <federico@novell.com>
2261 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
2262 Set the mouse cursor of the feedback window to invisible, so that
2263 we respect GtkEntry's invisible cursor while typing.
2265 2008-03-13 Federico Mena Quintero <federico@novell.com>
2267 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
2268 the feedback window at entry_height/2 pixels to the right of the
2269 cursor, for a cheap "M-width / 2" spacing.
2271 2008-03-13 Sven Neumann <sven@gimp.org>
2273 * gtk/gtkfilechooserdefault.c
2274 * gtk/gtkprintunixdialog.c: set alternative button order for
2275 overwrite confirmation dialogs (bug #522191).
2277 2008-03-13 Sven Neumann <sven@gimp.org>
2279 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
2280 (overwrite_confirmation_dialog): added some line-breaks for
2283 2008-03-12 Federico Mena Quintero <federico@novell.com>
2285 Rework the way completion works in GtkFileChooserEntry. Fixes
2286 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
2287 Tab completion should work even if the cursor is not at the end of
2290 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
2293 We distinguish between two cases:
2295 - autocompletion - happens only in the Open modes by
2296 inserting and selecting the common prefix as you type.
2298 - explicit completion - happens when you hit Tab.
2300 When some type of completion needs to happen, the entry first
2301 parses its input and sees if it needs to initiate a folder load.
2302 Completion will not happen until the folder finishes loading.
2304 If the folder is already completely loaded, then completion is
2305 performed immediately. Otherwise, the entry queues a pending
2306 completion and starts loading the new folder (or waits until the
2307 current folder is completely loaded).
2309 Tab completion is allowed to happen even if the cursor is not at
2310 the end of the entry.
2312 There is a new feedback mechanism for explicit completion, so that
2313 you will get an Emacs-like tip whenever there are ambiguities in
2314 completion, no matches, etc. (This needs to be polished so that
2315 we support RTL entries and all the fancy Pango layout in GtkEntry).
2317 The only remaining thing to fix is the popup suggestion window.
2318 Unfortunately, GtkEntryCompletion does not let us do what we want,
2319 and will need further changes.
2321 2008-03-12 Tor Lillqvist <tml@novell.com>
2323 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
2325 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
2326 for the TaskbarCreated message in the window procedure for the
2327 dummy "tray observer" window we create. When we get a
2328 TaskbarCreated message, iterate over the status icons and re-add
2329 them to the task bar, and update them by calling
2330 gtk_status_icon_update_image().
2332 Move some ifdefs around to avoid unused functions.
2334 2008-03-12 Tor Lillqvist <tml@novell.com>
2336 * config.h.win32.in: Update to match what configure produces.
2338 2008-03-12 Jens Granseuer <jensgr@gmx.net>
2340 * modules/printbackends/cups/gtkprintbackendcups.c:
2341 (cups_printer_prepare_for_print): Don't define variables in the
2342 middle of a block. (#522067)
2344 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2346 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
2347 dialog for print-to-file. (#474302, Marek Kašík)
2349 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2351 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2352 (#469210, Wouter Bolsterlee)
2354 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2356 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
2357 paper_size here. (#488820, Morten Welinder)
2359 2008-03-12 Michael Natterer <mitch@imendio.com>
2361 * acconfig.h: remove this deprecated file.
2363 * configure.in: added comments to all instances of AC_DEFINE() so
2364 config.h can be completely generated from configure.in.
2366 2008-03-12 Michael Natterer <mitch@imendio.com>
2368 * modules/printbackends/cups/gtkprintbackendcups.c: include
2369 <glib/gstdio.h> for g_fopen().
2371 2008-03-11 Matthias Clasen <mclasen@redhat.com>
2373 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2374 g_ascii_formatd when formatting custom paper sizes, since
2375 cups doesn't handle , as decimal separator. (#521548)
2377 2008-03-11 Tor Lillqvist <tml@novell.com>
2379 Bug 469868 - Filenames with colon ":" are not saved correctly
2381 * gtk/gtkfilechooserentry.c (insert_text_callback)
2382 (delete_text_callback) [Win32]: New functions to make sure that
2383 colons used otherwise than as a separator after a drive letter, or
2384 characters that are always illegal in file names, are rejected on
2385 input. This means that the GTK+ file chooser can't be used to
2386 input full names of alternate data streams, but oh well. There are
2387 still more checks that could be done on the file names, see the
2388 bug report. But this will do for now.
2389 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2391 2008-03-11 Jordi Mallach <jordi@sindominio.net>
2393 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2395 2008-03-11 Michael Natterer <mitch@imendio.com>
2397 * gdk/linux-fb/*: removed linux-fb backend files.
2401 * docs/README.linux-fb
2402 * gtk/Makefile.am: remove remaining traces of linux-fb.
2404 * gtk/gtkwindow-decorate.c: same here. There is some code that
2405 calls into linux-fb to set window move/resize callbacks. I put it
2406 in #if 0 as a reminder because we did use decorated windows with
2407 the DirectFB backend and it did work, so I don't really know why
2408 this code is needed or how it could work with DirectFB back then.
2409 The file does actually compile now if DECORATE_WINDOWS is defined,
2410 but I didn't test with DirectFB to check if it does anything.
2412 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
2414 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2415 Take thickness into account in the size allocation of the child widgets in
2419 2008-03-11 Richard Hult <richard@imendio.com>
2421 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2423 2008-03-10 Tor Lillqvist <tml@novell.com>
2425 * tests/teststatusicon.c (do_exit, popup_menu): Add the
2426 possibility to test what happens if the process just calls exit()
2427 without any orderly cleanup of GTK+.
2429 2008-03-10 Tor Lillqvist <tml@novell.com>
2431 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2433 2008-03-10 Tor Lillqvist <tml@novell.com>
2435 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2437 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2438 New debugging output function that decodes a set of WS_* bits.
2440 * gdk/win32/gdkprivate-win32.h: Declare it.
2442 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2443 New function that enables or disables one menu entry in the system
2444 menu of a top-level window. (The corresponding decoration will
2445 then also be enabled or disabled (grayed).)
2447 (update_style_bits): Do as the comment says and don't try to
2448 update the window style based on the GdkWMFunctions set for the
2451 (update_system_menu): New function that enables or disables the
2452 system menu entries based on a window's stored set of
2455 (gdk_window_set_functions): Call update_system_menu() instead of
2456 update_style_bits().
2458 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
2460 * README.in: Reword the 2.14 release notes entry about the
2461 deprecation of the gtkitemfactory.h header, and fix typos
2464 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
2466 * modules/engines/ms-windows/msw_style.c (draw_shadow):
2467 Do not draw frame if parent if combobox.
2469 Uses scrollbar width system metrics for combobox button.
2470 Fixes #461805 for XP theme engine.
2472 2008-03-07 Johan Dahlin <johan@gnome.org>
2475 * gtk/gtkbuilderparser.c:
2476 * gtk/gtkbuilderprivate.h:
2477 * gtk/gtkiconfactory.c:
2478 * tests/buildertest.c:
2479 - Treat enums like enums and not values
2480 - Avoid invalid free, in case of more than two sources
2481 - Add better error messages
2482 - Add much improved tests
2483 (#520979, Christian Persch)
2485 2008-03-07 Carlos Garnacho <carlos@imendio.com>
2487 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2490 2008-03-06 Federico Mena Quintero <federico@novell.com>
2492 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2493 GtkFileChooserDialog should set a default response button if the
2494 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
2496 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2497 function, refactor from where there was duplicated code.
2498 (gtk_file_chooser_dialog_map): Look at the buttons in our
2499 action_area. If the response ID for a button is one of the stock
2500 ones, make it the default response button.
2502 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2504 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2506 * gtk/gtkbuilderprivate.h:
2507 * gtk/gtkiconfactory.c:
2508 * tests/buildertest.c:
2509 Implement GtkBuildable on GtkIconFactory, to make
2510 it possible to register custom stock icons.
2513 2008-03-06 Johan Dahlin <johan@gnome.org>
2517 * gtk/gtkstyle.c: npoints->n_points.
2518 * gtk/gtktestutils.h: widget->spinner
2519 * gtk/gtktestutils.c: argc->argcp, argv->argvp
2521 2008-03-06 William Lachance <wrlach@gmail.com>
2523 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
2524 string localizable (as it should be).
2526 2008-03-06 William Lachance <wrlach@gmail.com>
2528 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2529 the time for today's date. It's redudant. (see bug #410517).
2531 2008-03-06 Xan Lopez <xan@gnome.org>
2533 * gtk/gtkfixed.c: fix typo in documentation.
2535 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2537 * gtk/gtkitemfactory.h:
2538 * gtk/gtktypeutils.h:
2539 Move GtkTranslateFunc to gtktypeutils.h so we can completely
2540 deprecate gtkitemfactory.h.
2542 * gtk/gtkactiongroup.h:
2544 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2547 Add a note describing this slight incompatible change
2549 2008-03-06 Johan Dahlin <johan@gnome.org>
2551 * gtk/gtkpreview.h: Avoid double-deprecation.
2553 2008-03-06 Michael Natterer <mitch@imendio.com>
2556 * gtk/Makefile.am: move the remaining deprecated widgets to the
2557 separate sections and replaced spaces by tabs in Makefile.am
2559 2008-03-05 Johan Dahlin <johan@gnome.org>
2561 * configure.in: Add --disable-cups option.
2562 (#513826, Alberto Ruiz)
2566 Separate broken and deprecated sources and headers into different sections
2568 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2570 2008-03-05 Kristian Rietveld <kris@imendio.com>
2572 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2573 short-circuit in case an empty root level would be build (and thus
2574 directly destroyed) if no virtual root has been set.
2576 2008-03-04 Matthias Clasen <mclasen@redhat.com>
2578 * modules/printbackends/cups/gtkprintbackendcups.c:
2579 Honor cups user default options from ~/.cups/lpoptions
2580 (#469210, Stijn Hoop)
2582 2008-03-04 Michael Natterer <mitch@imendio.com>
2585 * gtk/gtkcolorbutton.c
2586 * gtk/gtkentrycompletion.c
2587 * gtk/gtkfontbutton.c
2591 * gtk/gtkpreview.c: don't include "gtksignal.h".
2593 * gtk/gtkfilefilter.c
2594 * gtk/gtkrecentchoosermenu.c
2595 * gtk/gtkrecentfilter.c
2596 * gtk/gtktext.c: don't include "gtkobject.h".
2598 2008-03-04 Simos Xenitellis <simos@gnome.org>
2600 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2601 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2603 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
2606 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
2607 file, contains compose sequences that used to exist in
2608 gtk/gtkimcontextsimple.c
2610 * gtk/compose-parse.py: Script to generate compose
2611 sequences from upstream (Xorg).
2613 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
2614 check_algorithmically): New functions. First two search in
2615 gtk_compose_seqs_compact[] for matching compose sequence, third
2616 tries NFC normalisation on incoming compose sequence.
2617 (gtk_im_context_simple_filter_keypress):
2618 Adds searching with check_compact_table(), check_algorithmically().
2620 2008-03-03 Carlos Garnacho <carlos@imendio.com>
2622 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2623 scrollwheel work in GtkPathBar.
2625 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2627 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
2628 an input-only window, event_window, which we'll use to capture
2630 (gtk_path_bar_map): Show the event_window under the rest of the
2631 windows, so it will be a catch-all for unhandled events.
2633 2008-03-03 Sven Neumann <sven@gimp.org>
2635 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2636 typo in the documentation of the GtkFileChooserButtons::file-set
2637 signal (see bug #353196).
2639 2008-03-03 Tor Lillqvist <tml@novell.com>
2641 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2644 2008-03-02 Johan Dahlin <johan@gnome.org>
2646 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
2647 Remove left-over focus_pad variable.
2648 (#490892, Claudio Saavedra)
2650 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2651 (#518166, Matt Kraai)
2653 2008-03-02 Johan Dahlin <johan@gnome.org>
2655 * docs/tutorial/gtk-tut.sgml: Add a missing space
2656 (#517954, Matt Kraai)
2658 2008-03-03 Tor Lillqvist <tml@novell.com>
2660 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2661 the widget is a GtkButton before casting.
2663 2008-03-02 Johan Dahlin <johan@gnome.org>
2665 * configure.in: Compare using = instead of ==, which is portable.
2666 (#490787, Thomas Klausner)
2668 2008-03-02 Johan Dahlin <johan@gnome.org>
2670 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2671 fixes non-C++ build.
2672 (#496032, Nelson Benitez)
2674 2008-02-29 Johan Dahlin <johan@gnome.org>
2676 * demos/gtk-demo/demo.ui:
2677 * gtk/gtkbuilderparser.c:
2678 * gtk/gtkbuilderprivate.h:
2679 * gtk/gtkliststore.c:
2680 * tests/buildertest.c:
2681 Add translatable/context and comment attributes on
2682 <col> tags under a GtkListStore. Refactor parts of the
2683 translation api and make it available inside gtk+ itself.
2684 Update tests and example.
2685 Fixes a part of #518642
2687 2008-02-29 Johan Dahlin <johan@gnome.org>
2690 Add missing g_return_val_if_fail checks for public API.
2692 * gtk/gtkbuilderparser.c:
2693 * gtk/gtkbuilderprivate.h:
2694 Do not use g_error for a few more errors, instead set
2695 the GError sent in through add_from_file/add_from_string.
2696 * tests/buildertest.c:
2697 Add a couple of new parsing tests.
2698 (#519199, Pavel Syomin)
2700 2008-02-29 Federico Mena Quintero <federico@novell.com>
2702 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2703 refreshing an existing folder (i.e. when we are about to reload
2704 its file list), turn off the folder's is_finished_loading flag.
2705 Otherwise callers which do ::is_finished_loading() followed by
2706 ::list_children() will get nothing.
2708 2008-02-29 Cody Russell <bratsche@gnome.org>
2710 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2711 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2713 2008-02-28 Matthias Clasen <mclasen@redhat.com>
2715 * gtk/gtkcalendar.h: Remove trailing comma from enum to
2716 make the compiler happy. (#517295, Sylvain Pasche)
2718 2008-02-27 Michael Natterer <mitch@imendio.com>
2720 * gtk/gtkmenushell.c
2723 * gtk/gtktipsquery.c
2728 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2729 private functions and virtual function implementations.
2731 2008-02-27 Richard Hult <richard@imendio.com>
2733 * gdk/quartz/GdkQuartzView.c:
2734 * gdk/quartz/GdkQuartzView.h:
2735 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2736 Fix performance regression for borderless transparent windows
2739 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
2741 * tests/testgtk.c: Revert back to r19454.
2743 2008-02-27 Sven Neumann <sven@gimp.org>
2745 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2746 Quartz backend, use a native Mac OS X application for the print
2747 preview (bug #518624).
2749 2008-02-26 Michael Natterer <mitch@imendio.com>
2751 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2752 the members of info->tag_stack since they are a) gobjects and b)
2753 not even owned by us, ugh... Fixes crash when deserializing fails.
2755 2008-02-26 Sven Neumann <sven@gimp.org>
2757 * docs/tools/shooter.c (find_toplevel_window)
2758 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2759 argument passed to XQueryTree().
2761 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2763 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2764 don't use beagle_query_add_hit_type.
2766 2008-02-25 Richard Hult <richard@imendio.com>
2768 * gdk/quartz/gdkevents-quartz.c
2769 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2771 2008-02-24 Richard Hult <richard@imendio.com>
2773 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2774 shown without gdk's control when clicking the dock icon.
2776 2008-02-24 Richard Hult <richard@imendio.com>
2778 * gdk/quartz/gdkprivate-quartz.h:
2779 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2780 Use the subtype field for the custom event that is used to wake up
2781 the mainloop so we can have other custom event types.
2783 * gdk/quartz/gdkevents-quartz.c:
2784 (_gdk_quartz_events_trigger_crossing_events):
2785 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2786 crossing events after showing a window if necessary, to work
2787 around problems with the tracking rect API.
2789 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2791 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2792 wrong results on win32 because it doesn't set the printing units,
2793 which affect the transformation of the cairo context
2794 (#347125, Erik van Pienbroek)
2796 2008-02-22 Tor Lillqvist <tml@novell.com>
2798 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2800 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2802 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2803 acceptable for a module to only support the save_to_callback()
2804 method if it marks itself as WRITABLE
2806 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2808 * configure.in: Bump version
2810 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2812 * === Released 2.13.0 ===
2814 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2816 2008-02-21 Tor Lillqvist <tml@novell.com>
2818 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2819 pass the format string to strftime in the C library's locale's
2820 charset, not the system's. Correspondingly, the return value from
2821 strftime() is in the C library's locale's charset. (#509885)
2823 2008-02-20 Richard Hult <richard@imendio.com>
2825 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2826 the right window level and shadow after recreating the window.
2828 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2829 necessary after drawing (bug #517338).
2831 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
2833 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2834 call to g_type_class_unref in case of error. (#517563)
2836 2008-02-18 Sven Neumann <sven@gimp.org>
2838 * gtk/Makefile.am (STOCK_ICONS)
2839 * gtk/stock-icons/16/gtk-page-setup.png
2840 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2841 taken from GNOME icon theme.
2843 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2845 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
2847 * configure.in: Added Kannada (kn) to ALL_LINGUAS
2849 2008-02-17 Johan Dahlin <johan@gnome.org>
2851 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
2852 When converting a stock item based on the label, remove the label property.
2854 2008-02-17 Richard Hult <richard@imendio.com>
2856 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2857 position after showing the window since the window manager might
2858 not place it where we requested in the first places.
2860 2008-02-17 Richard Hult <richard@imendio.com>
2862 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2863 (_gdk_quartz_window_detach_from_parent),
2864 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2865 the toplevel ordering list in all places where the order is
2866 potentially changed. Fixes mouse focus issues for windows with
2867 a transient parent set.
2869 2008-02-17 Richard Hult <richard@imendio.com>
2871 * gdk/quartz/gdkevents-quartz.c
2872 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2873 window when event debugging is enabled.
2875 2008-02-16 Richard Hult <richard@imendio.com>
2877 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2878 to the scroll event (bug #516757, Paul Davis).
2880 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2884 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2886 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
2889 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2891 * gdk/Makefile.am: Don't install private headers. (#463510)
2893 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2894 the installed header gdkprivate.h.
2896 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2898 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2899 a crash with hidden, reorderable tabs. (#513230,
2900 Mike Massonnet, patch by Carlos Garnacho)
2902 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2904 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2905 Warn on duplicate action group names. (#501746, Christian
2908 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2911 * modules/other/gail/tests/Makefile.am:
2912 * modules/other/gail/libgail-util/Makefile.am:
2913 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2914 builds. (#516254, Yevgen Muntyan)
2916 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2921 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
2922 instead of hardcoded target tables. (#516092, Christian Persch)
2924 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2926 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2927 add the same target atom twice. (#516087, Christian Persch)
2929 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2931 * tests/testfilechooser.c: Add a --backend option.
2932 (#516073, Christian Persch)
2934 2008-02-16 Richard Hult <richard@imendio.com>
2936 * gdk/quartz/gdkprivate-quartz.h:
2937 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2940 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2942 * configure.in: Go back to 2.13.0 as version for now,
2943 as there was no consensus to do the jump.
2945 * many other places: Update Since: tags.
2947 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2949 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2951 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2953 2008-02-15 Richard Hult <richard@imendio.com>
2955 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2956 instead of bounds when resizing windows.
2958 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2960 * gdk/x11/gdkkeys-x11.c:
2961 * gdk/x11/gdkcolor-x11.c:
2962 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2964 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2966 * gdk/x11/gdktestutils-x11.c:
2967 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2969 2008-02-15 Tor Lillqvist <tml@novell.com>
2971 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2972 leak Registry key handles. (#516578)
2974 2008-02-14 Richard Hult <richard@imendio.com>
2976 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2977 makeKeyWindow unfortunately doesn't work in all cases, we must use
2978 makeKeyAndOrderFront.
2980 2008-02-14 Richard Hult <richard@imendio.com>
2982 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2983 (gdk_window_hide), (gdk_window_fullscreen),
2984 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2985 the window is hidden.
2987 2008-02-14 Richard Hult <richard@imendio.com>
2989 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2990 resizing to be consistent and to avoid introducing an internal
2991 transform in the view.
2993 2008-02-14 Richard Hult <richard@imendio.com>
2995 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2998 2008-02-14 Johan Dahlin <johan@gnome.org>
3000 * gdk/gdktestutils.h
3001 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
3003 2008-02-13 Richard Hult <richard@imendio.com>
3005 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
3006 Remove unused variables.
3007 (gtk_clipboard_set_contents),
3008 (gtk_clipboard_get_owner), (clipboard_unset),
3009 (gtk_clipboard_request_targets): Notify the previous clipboard
3010 owner when the owner changes. Fixes bug #493406.
3012 2008-02-13 Richard Hult <richard@imendio.com>
3014 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
3015 the return value (return number of colors that failed), and handle
3017 (gdk_colormap_free_colors): Fix typo in comment.
3019 2008-02-13 Kristian Rietveld <kris@imendio.com>
3021 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
3022 queue a redraw if the rubber banding has actually been active.
3024 2008-02-12 Matthias Clasen <mclasne@redhat.com>
3026 * gtk/gtkpapersize.c:
3027 * gtk/gtkprintoperation.c:
3028 * gtk/gtkvolumebutton.c:
3029 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
3030 out by Behdad Esfahbod.
3032 2008-02-12 Federico Mena Quintero <federico@novell.com>
3034 Merged from gtk-2-12:
3036 Don't focus the file list when shortcuts get activated. This
3037 removes a lot of ambiguity in when the file selection should
3038 change, and makes the overall code flow simpler.
3040 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
3041 file/save dialog clears the filename entry when changing
3044 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
3045 focus should not go to the file list when a shortcut is activated.
3047 * gtk/gtkfilechooserdefault.c
3048 (shortcuts_activate_volume_mount_cb): Don't focus the file list
3049 (shortcuts_activate_get_info_cb): Likewise.
3051 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
3052 the file list (this was the last place where we would focus the
3053 file list explicitly). If you are in the location entry, for
3054 example, you don't want Alt-Home to take you to the file list; you
3055 just want the current folder to change. Thanks to Olle Bergkvist
3056 <olle.bergkvist@yahoo.se> for pointing this out in
3057 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
3058 (focus_browse_tree_view_if_possible): Removed.
3060 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3062 Skip exensions when selecting filenames in the save-as dialog.
3063 (#362516, Carlos Garnacho)
3065 * gtk/gtkfilechooserentry.h:
3066 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
3067 New function to skip the extension part when selecting a filename.
3068 (_gtk_file_chooser_entry_set_base_folder): Use it here.
3070 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
3073 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3075 * gtk/gtkiconview.c: Fix state change reporting for
3076 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
3078 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
3080 * gtk/gtkrecentchooser.c:
3081 (gtk_recent_chooser_class_init): Set the default value of the
3082 :show-not-found property to TRUE, as every implementation sets
3085 * gtk/gtkrecentchooserdefault.c:
3086 (_gtk_recent_chooser_default_init): Sync show_tips to the
3087 default value of the :show-tips property.
3089 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3091 * gtk/gtkclipboard-quartz.c:
3093 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
3096 2008-02-12 Kristian Rietveld <kris@imendio.com>
3098 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
3099 (gtk_tree_view_real_toggle_cursor_row): guard against people
3100 deleting the row in question in the selection-changed callback.
3101 (#514621, Andreas Koehler).
3103 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3105 * gtk/*.c: Unify the handling of various "Enter" keysyms
3106 all over the place. (#515047, Christian Persch)
3108 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3110 * gtk/gtkfilesystemmodel.c:
3112 * gtk/gtkwidget.c: Use g_value_set_static_string() where
3113 appropriate. (#515042, Christian Persch)
3115 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3117 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
3119 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3121 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
3123 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3125 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
3126 (recent_model_sort_drag_data_get):
3127 (search_model_sort_drag_data_get):
3128 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
3129 * gtk/gtkpathbar.c (button_drag_data_get_cb):
3130 Use gtk_selection_data_set_uris() instead of doing it
3131 by hand. (#514890, Christian Persch)
3133 2008-02-12 Michael Natterer <mitch@imendio.com>
3135 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
3136 gtk_get_current_event_time().
3138 2008-02-12 Michael Natterer <mitch@imendio.com>
3140 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
3141 gtk_window_get_key_hash() to get the hash instead of manually
3142 fiddling with quarks and gtk_window_keys_changed(). Also add
3143 g_return_if_fail() to this public function.
3145 2008-02-11 Matthias Clasen <mclasen@redhat.com>
3147 Support keynav in status icons. (#473786, Li Yuan)
3149 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
3151 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
3153 2008-02-11 Kristian Rietveld <kris@imendio.com>
3155 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
3156 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
3157 wrt. link deletion from list; contination of fix for #503569.
3159 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
3161 * gtk/gtkrecentchoosermenu.c:
3162 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
3163 on the placeholder menu item.
3165 * tests/testrecentchoosermenu.c:
3166 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
3167 whether the placeholder menu item gets shown.
3169 2008-02-10 Cody Russell <bratsche@gnome.org>
3171 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
3172 Check the return value of _gtk_file_chooser_get_file_system () for
3173 NULL before passing it to gtk_file_system_path_to_uri ().
3174 (#515667, Francesco Montorsi)
3176 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
3178 * gtk/gtkbuilder.c: Improve the documentation for
3179 gtk_builder_connect_signals. (#514471)
3181 2008-02-10 Matthias Clasen <mclasen@redhat.com>
3183 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
3186 2008-02-08 Cody Russell <bratsche@gnome.org>
3188 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
3189 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
3191 2008-02-08 Richard Hult <richard@imendio.com>
3193 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
3194 delta from the NSEvent for now, generating multiple scroll events
3195 results in a lot of events getting queued up and things get really
3198 2008-02-08 Sven Herzberg <sven@imendio.com>
3200 Adjust the code to match the documentation, examples, "common sense"
3201 and existing applications.
3203 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
3204 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
3207 2008-02-07 Cody Russell <bratsche@gnome.org>
3209 * gdk/win32/gdkevents-win32.c
3210 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
3211 of a block that were causing compile problems on old
3212 compilers. (#515053, reported by Kazuki IWAMOTO)
3214 2008-02-07 Michael Natterer <mitch@imendio.com>
3221 * gtk/gtkmenushell.c
3223 * gtk/gtkoptionmenu.c
3227 * gtk/gtkradiomenuitem.c
3229 * gtk/gtkscrolledwindow.c
3230 * gtk/gtksocket.c: remove g_return_if_fail() from private
3231 functions and virtual function implementations.
3233 2008-02-07 Michael Natterer <mitch@imendio.com>
3236 * gtk/gtkassistant.c
3240 * gtk/gtkcellrenderercombo.c
3243 * gtk/gtkdrawingarea.c
3244 * gtk/gtkentrycompletion.c
3250 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
3251 functions and virtual function implementations.
3253 2008-02-07 Christian Persch <chpe@gnome.org>
3255 * gdk/gdkpixbuf-render.c:
3256 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
3257 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
3258 otherwise there will be random pixel values in the semi-transparent
3259 area of the pixbuf within the mask. Bug #487865.
3261 2008-02-06 Cody Russell <bratsche@gnome.org>
3263 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
3264 otherwise things get wonky when you click on a menu. This fixes
3265 a regression caused in #505928. Thanks to Tor for spotting this
3268 2008-02-06 Michael Natterer <mitch@imendio.com>
3270 * gtk/gtkcontainer.c
3277 * gtk/gtkmenushell.c
3279 * gtk/gtkseparatortoolitem.c
3281 * gtk/gtktextlayout.c
3282 * gtk/gtktoggletoolbutton.c
3283 * gtk/gtktoolbutton.c
3286 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
3289 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3291 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
3292 Allow to store half-open ranges.
3294 2008-02-05 Cody Russell <bratsche@gnome.org>
3296 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
3297 down the stack until we get to a window that is mapped.
3298 Otherwise hiding a window will cause all windows in the app
3299 to be blocked. (#514643)
3301 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3303 * gtk/updateiconcache.c: Ignore images in the toplevel theme
3304 directory, avoiding one source of invalid caches that has been
3305 spotted in the wild.
3307 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3309 * gtk/updateiconcache.c: Fix the previous commit to compile.
3311 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3313 * gtk/updateiconcache.c: Install a printerr handler that
3314 prepends the program name, since gtk-update-icon-cache output
3315 often appears in the middle of other output, e.g. rpm update logs.
3317 2008-02-05 Cody Russell <bratsche@gnome.org>
3319 * gdk/win32/gdkprivate-win32.h
3320 * gdk/win32/gdkevents-win32.c
3321 * gdk/win32/gdkwindow-win32.c
3322 * gdk/win32/gdkwindow-win32.h
3323 * gdk/win32/gdkwin32.h:
3324 Modal window rework. (#455627 and #511111)
3326 2008-02-04 Michael Natterer <mitch@imendio.com>
3328 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
3329 g_return_if_fail() if the cell is not part of the combo instead of
3330 crashing in the next line.
3332 2008-02-01 Cody Russell <cody@jhu.edu>
3334 * modules/engines/ms-windows/xp_theme.[ch]
3335 * modules/engines/ms-windows/xp_theme_defs.h
3336 * modules/engines/ms-windows/msw_rc_style.c
3337 * modules/engines/ms-windows/msw_theme_main.c
3338 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
3339 attempted to stylize more like the rest of the gtk+ stack's code.
3341 2008-02-01 Michael Natterer <mitch@imendio.com>
3343 * tests/testgtk.c: initialize GdkColor structs to fix warning
3344 about uninitialized "pixel" member.
3346 * tests/testactions.c: connect the toolbar_style() callback so it
3347 does something useful and doesn't warn about being defined but not
3350 2008-01-31 Cody Russell <bratsche@gnome.org>
3352 * gdk/win32/gdkevents-win32.c:
3353 Refactored some of the window hiding/showing code from
3354 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
3355 under WM_ACTIVATE was causing the application to go into
3356 a weird state when the user right-clicked on the taskbar
3357 entry of a window that was minimized. (#505928)
3359 2008-01-31 Cody Russell <bratsche@gnome.org>
3361 * gtk/gtkpaned.c (gtk_paned_set_position):
3362 Change queue_resize() to queue_draw(), and add a check for
3363 child2 != NULL in case someone calls this before there is
3364 a child packed in there. (#144269 again)
3366 2008-01-31 Sven Neumann <sven@gimp.org>
3368 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3369 applied patch from Denis Oliver Kropp <dok@directfb.org>.
3371 2008-01-31 Sven Neumann <sven@gimp.org>
3373 * gdk/directfb/gdkdisplay-directfb.c
3374 * gdk/directfb/gdkdrawable-directfb.c
3375 * gdk/directfb/gdkprivate-directfb.h
3376 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3377 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3379 2008-01-31 Richard Hult <richard@imendio.com>
3381 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3382 issues with undecorated windows. Revert the change done on
3383 2008-01-25 and fix it by using the view's bounds instead. The
3384 bounds will always be up to date when setting up the tracking
3385 rect, so this should be more robust.
3387 2008-01-30 Sven Neumann <sven@gimp.org>
3389 * gdk/directfb/gdkdrawable-directfb.c
3390 * gdk/directfb/gdkwindow-directfb.c
3391 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3392 Oliver Kropp <dok@directfb.org>. Adds debug messages using
3393 DirectFB's debugging system
3395 2008-01-30 Sven Neumann <sven@gimp.org>
3397 * gdk/directfb/gdkdirectfb.h
3398 * gdk/directfb/gdkdisplay-directfb.c
3399 * gdk/directfb/gdkdrawable-directfb.c
3400 * gdk/directfb/gdkim-directfb.c
3401 * gdk/directfb/gdkimage-directfb.c
3402 * gdk/directfb/gdkinput-directfb.c
3403 * gdk/directfb/gdkmain-directfb.c
3404 * gdk/directfb/gdkpixmap-directfb.c
3405 * gdk/directfb/gdktestutils-directfb.c
3406 * gdk/directfb/gdkvisual-directfb.c
3407 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3408 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3409 errors and has some cleanups.
3411 2008-01-30 Michael Natterer <mitch@imendio.com>
3413 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3414 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3417 * gtk/updateiconcache.c (add_string): cast const gchar* to
3418 gpointer when inserting in a GHashTable.
3420 * tests/testcalendar.c (calendar_detail_cb): remove const from
3421 return value since it's a newly allocated string.
3423 (calendar_update_details): free the detail.
3425 2008-01-29 Johan Dahlin <johan@gnome.org>
3427 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3429 * demos/gtk-demo/demo.ui:
3430 Move the about dialog to the glade file, add accessible tags
3431 examples to the markup file.
3433 2008-01-28 Paolo Borelli <pborelli@katamail.com>
3435 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3436 layout, fixes #512375.
3438 2008-01-28 Michael Natterer <mitch@imendio.com>
3440 * gtk/gtktextchild.c
3441 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3443 2008-01-28 Michael Natterer <mitch@imendio.com>
3445 * demos/gtk-demo/builder.c (about_activate): use
3446 gtk_about_dialog_set_program_name() instead of the deprecated
3449 2008-01-28 Michael Natterer <mitch@imendio.com>
3451 * gtk/gtktextchild.c
3452 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3455 2008-01-26 Johan Dahlin <johan@gnome.org>
3457 * tests/Makefile.am:
3458 * tests/textbuffertest.c:
3459 Rename textbuffer test and port it to the new test framework
3461 2008-01-25 Johan Dahlin <johan@gnome.org>
3463 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3464 unsetting of GTK_MODULES.
3466 * gtk/gtk-builder-convert
3467 (GtkBuilderConverter._convert_adjustment): Handle the case where
3468 there is no child text node.
3469 (GtkBuilderConverter): Allow xml comments in most places.
3471 2008-01-25 Johan Dahlin <johan@gnome.org>
3473 * gtk/gtk-builder-convert
3474 (GtkBuilderConverter._convert_combobox_items): Remove the items
3475 even if there are no items set.
3476 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3477 signals and tooltips for all menu items subclasses and
3478 GtkImageMenuItem:label.
3479 Makes it possible to fully convert and run Jokosher.glade.
3481 2008-01-25 Johan Dahlin <johan@gnome.org>
3483 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3484 (gtk_widget_buildable_get_internal_child), (free_action),
3485 (free_relation), (gtk_widget_buildable_parser_finished),
3486 (accessibility_start_element),
3487 (gtk_widget_buildable_custom_tag_start),
3488 (gtk_widget_buildable_custom_finished):
3489 Implement accessible support, fixes #454653.
3491 * gtk/gtk-builder-convert:
3492 Add support for migrating old glade files
3494 * tests/buildertest.c: (test_widget), (test_file):
3495 Add accessible tests and imprve the test_file function to display
3496 toplevels and run dialogs.
3498 2008-01-25 Richard Hult <richard@imendio.com>
3500 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3501 didn't change, fixes focus event issues for undecorated windows.
3503 2008-01-25 Richard Hult <richard@imendio.com>
3505 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3506 const and remove unused variables).
3508 2008-01-25 Michael Natterer <mitch@imendio.com>
3511 * gtk/gtkcellrenderer.h
3512 * gtk/gtkimcontext.h
3516 * gtk/gtktreeprivate.h
3517 * gtk/gtktreeviewcolumn.h
3518 * gtk/gtkwidget.h: add const to constant structs which are passed
3519 into GTK+. Also add some forgotten const for const strings.
3523 * gtk/gtkcellrenderer.c
3524 * gtk/gtkimcontext.c
3529 * gtk/gtktreeviewcolumn.c
3530 * gtk/gtkwidget.c: changed accordingly.
3532 2008-01-25 Sven Herzberg <sven@imendio.com>
3534 Reviewed by Johan Dahlin.
3536 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3537 this is called with something that's not a GtkUIManager
3539 2008-01-24 Johan Dahlin <johan@gnome.org>
3541 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
3542 Chain up to parent, so widgets can have internal children.
3544 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3546 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3549 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3551 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3553 Use pango_layout_set_height() for calendar details (#506049).
3555 * configure.in: Require 1.19.3 for pango_layout_set_height().
3556 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3558 2008-01-18 Johan Dahlin <johan@gnome.org>
3560 * gtk/gtk-builder-convert (get_property_node): New method
3561 (GtkBuilderConverter._create_object): Conditionally take a node as
3562 a property value, so don't lose translate/context attributes if they
3564 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3565 property values instead of strings.
3566 (#509153, Erik van Pienbroek)
3568 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
3570 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3572 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3573 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3574 * tests/testcalendar.c: Duplicate calendar details before returning.
3576 2008-01-16 Christian Persch <chpe@gnome.org>
3578 * gtk/gtkwidget.c: Store the event mask and extension event mode
3579 directly in the gobject data pointer, instead of in an allocated
3582 2008-01-16 Michael Natterer <mitch@imendio.com>
3584 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3585 gdk-pixbuf now uses gio functions.
3587 2008-01-16 Matthias Clasen <mclasen@redhat.com>
3589 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3590 the notify::model signal. (#509819, David Zeuthen)
3592 2008-01-15 Michael Natterer <mitch@imendio.com>
3600 * gdk/gdkwindow.h: made more struct pointer and array parameters
3601 const. GDK should now be constified as far as possible without
3602 breaking source compatibility. Includes some minor cleanup like
3603 indentation and s/nfoo/n_foo/ (bug #508544).
3609 * gdk/gdkregion-generic.c
3611 * gdk/directfb/gdkdisplay-directfb.c
3612 * gdk/directfb/gdkwindow-directfb.c
3613 * gdk/quartz/gdkdisplay-quartz.c
3614 * gdk/quartz/gdkwindow-quartz.c
3615 * gdk/win32/gdkdisplay-win32.c
3616 * gdk/win32/gdkwindow-win32.c
3617 * gdk/x11/gdkdisplay-x11.c
3618 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3620 2008-01-14 Michael Natterer <mitch@imendio.com>
3622 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3625 (gtk_rc_parse_any): change variables to const and introduce
3626 another local variable to fix const warnings.
3628 2008-01-14 Michael Natterer <mitch@imendio.com>
3630 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3631 of gdk_screen_get_font_options() to gpointer to get rid of const
3634 2008-01-14 Michael Natterer <mitch@imendio.com>
3636 * tests/testdnd.c (source_drag_data_get): fix another call to
3637 gtk_selection_data_set().
3639 2008-01-14 Michael Natterer <mitch@imendio.com>
3641 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3644 2008-01-14 Michael Natterer <mitch@imendio.com>
3646 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3648 2008-01-14 Michael Natterer <mitch@imendio.com>
3650 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3651 "uris" to guchar* when passing it to gtk_selection_data_set().
3653 2008-01-14 Michael Natterer <mitch@imendio.com>
3659 * gdk/gdkinternals.h
3661 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3662 parameters const (bug #508544).
3667 * gdk/gdkrectangle.c
3668 * gdk/gdkpolyreg-generic.c
3669 * gdk/gdkregion-generic.c
3670 * gdk/directfb/gdkcolor-directfb.c
3671 * gdk/directfb/gdkgc-directfb.c
3672 * gdk/directfb/gdkgeometry-directfb.c
3673 * gdk/directfb/gdkwindow-directfb.c
3674 * gdk/quartz/gdkcolor-quartz.c
3675 * gdk/quartz/gdkgc-quartz.c
3676 * gdk/quartz/gdkgeometry-quartz.c
3677 * gdk/quartz/gdkwindow-quartz.c
3678 * gdk/win32/gdkcolor-win32.c
3679 * gdk/win32/gdkgc-win32.c
3680 * gdk/win32/gdkgeometry-win32.c
3681 * gdk/win32/gdkprivate-win32.h
3682 * gdk/win32/gdkwindow-win32.c
3683 * gdk/x11/gdkcolor-x11.c
3684 * gdk/x11/gdkgc-x11.c
3685 * gdk/x11/gdkgeometry-x11.c
3686 * gdk/x11/gdkmain-x11.c
3687 * gdk/x11/gdkprivate-x11.h
3688 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3690 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3693 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3695 Explain name choice for gtk_tool_item_toolbar_reconfigured.
3697 * gtk/gtktoolitem.c: Add comment expaining name choice for
3698 gtk_tool_item_toolbar_reconfigured.
3700 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3702 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3703 implementations to notify its children, when some aspect of their
3704 configuration changed (#509042).
3706 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3707 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3708 Rename _gtk_tool_item_toolbar_reconfigured.
3710 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3712 Include <gtk/gtktoolshell.h> from gtk.h.
3714 * gtk/gtk.h: Add gtktoolshell.h
3716 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3718 Print angle brackets arround e-mail addresses in the about dialog
3719 (#409520, Mariano Suárez-Alvarez).
3721 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3723 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
3725 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3726 special casing so test widgets are always queues for destruction
3729 * gtk/tests/testing.c: removed bits left-over from testing without
3732 2008-01-10 Tor Lillqvist <tml@novell.com>
3734 * modules/other/gail/libgail-util/Makefile.am
3735 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3738 2008-01-10 Tor Lillqvist <tml@novell.com>
3740 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3741 uses gtkprintunixdialog API.
3743 2008-01-10 Tor Lillqvist <tml@novell.com>
3745 * gdk/win32/gdkdisplay-win32.c
3746 * gdk/win32/gdkglobals-win32.c
3747 * gdk/win32/gdkprivate-win32.h
3748 * gdk/win32/gdkscreen-win32.c
3749 * gdk/win32/gdkwindow-win32.c: Implement
3750 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3751 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3754 2008-01-10 Cody Russell <bratsche@gnome.org>
3756 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3757 Properly ref/unref windows and parents. (#506769)
3759 2008-01-10 Richard Hult <richard@imendio.com>
3761 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3762 (gdk_window_hide), (move_resize_window_internal): Move the
3763 tracking rect workaround from here...
3765 * gdk/quartz/GdkQuartzWindow.c:
3766 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3767 movements during showing/hiding operations. Fixes bug #508516.
3769 2008-01-10 Michael Natterer <mitch@imendio.com>
3771 * gdk/directfb/gdkscreen-directfb.c
3772 (gdk_screen_get_monitor_width_mm)
3773 (gdk_screen_get_monitor_height_mm)
3774 (gdk_screen_get_monitor_plug_name): add these functions to make
3777 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3779 * gtk/gtkrecentchoosermenu.c:
3780 (idle_populate_func), (idle_populate_clean_up): Fix possible
3781 recursion by resetting the idle source id. (#507605, William
3784 2008-01-10 Kristian Rietveld <kris@imendio.com>
3786 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3787 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3788 avoid valgrind warnings. (#507751, patch from Christian Persch).
3790 2008-01-10 Kristian Rietveld <kris@imendio.com>
3792 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3793 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3795 2008-01-10 Kristian Rietveld <kris@imendio.com>
3797 Fix #477175, reported by Juri Pakaste.
3799 * gtk/gtktreeprivate.h:
3800 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3801 tree_view->priv->dy here directly, just calculate the new value
3802 and set it on the adjustment,
3803 (gtk_tree_view_adjustment_changed): add guards to not call
3804 gtk_tree_view_dy_to_top_row() if we are currently in
3805 gtk_tree_view_top_row_to_dy(),
3806 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3807 coordinates, not tree coordinates,
3808 (gtk_tree_view_real_start_editing): add cast.
3810 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3811 position of the editable in the "create new row and start editing"
3814 2008-01-09 Michael Natterer <mitch@imendio.com>
3816 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3819 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3820 * gtk/gtkicontheme.c (theme_list_contexts)
3821 (gtk_icon_theme_lookup_icon)
3822 * gtk/gtkimcontextsimple.c (beep_window)
3823 * gtk/gtklinkbutton.c (set_link_color)
3824 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3827 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3828 variable and add const to another to fix a warning.
3830 2008-01-07 Matthias Clasen <mclasen@redhat.com>
3832 * gtk/gtkassistant.c (remove_page): Be more robust when removing
3833 the current page. (#499951, Andreas Sandberg)
3835 2008-01-06 Johan Dahlin <johan@gnome.org>
3837 * gtk/gtkspinbutton.c: Declare value in the example code for
3838 GtkSpinButton::output, as pointed out by Anders Carlsson.
3840 2008-01-06 Christian Persch <chpe@gnome.org>
3842 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3843 and remove an obsolete event box. Bug #506760.
3845 2008-01-06 Johan Dahlin <johan@gnome.org>
3847 * tests/buildertest.c (test_domain):
3848 Update, GtkBuilder::translation-domain is no longer set
3850 * gtk/gtkbuilderparser.c (parse_interface):
3851 Allow domains to be overridden in <interface>'s if a translation-domain
3852 is set in the builder.
3853 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3854 of the builder, make the domain set in the <interface> apply only to strings
3856 (#496831, Ryan Lortie)
3858 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
3861 * gtk/gtktreestore.c (tree_model_end_element):
3862 Remove an unused variable
3864 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3866 * gtk/gtkspinbutton.c: Document the ::output signal and
3867 add an example. (#507566, example by Owen Taylor)
3869 2008-01-06 Johan Dahlin <johan@gnome.org>
3871 * gtk/gtkcellrenderercombo.c:
3872 (gtk_cell_renderer_combo_get_property),
3873 (gtk_cell_renderer_combo_set_property):
3874 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3875 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3876 * gtk/gtknotebook.c: (gtk_notebook_set_property):
3877 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3878 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3879 (gtk_text_buffer_get_property):
3880 * gtk/gtktextview.c: (gtk_text_view_set_property):
3881 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3882 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3883 (gtk_tool_button_get_property):
3884 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3885 (gtk_tool_item_get_property):
3886 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3887 * gtk/gtkwidget.c: (gtk_widget_set_property):
3888 * gtk/gtkwindow.c: (gtk_window_set_property):
3889 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3892 2008-01-06 Johan Dahlin <johan@gnome.org>
3894 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
3895 Make sure that --root works for toplevel widgets.
3896 (#491847, Phil Lello)
3898 2008-01-05 Johan Dahlin <johan@gnome.org>
3900 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3901 to make sure that make test-report works properly
3903 2008-01-05 Christian Persch <chpe@gnome.org>
3905 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3906 GType as integer through gpointer. Bug #507395.
3908 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
3910 Avoid some compiler warnings (#507000).
3912 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3913 for value argument of _gtk_builder_flags_from_string.
3914 * gtk/gtkwidget.c: Don't alias the child pointer passed
3915 to gdk_window_get_user_data.
3917 2008-01-04 Michael Natterer <mitch@imendio.com>
3919 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3920 to set the time in the returned GdkTimeCoords.
3922 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
3924 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3925 correct comparison function (kudos to Christian Persch and
3926 Claudio Saavedra for spotting this)
3928 * gtk/gtkrecentchooserutils.c:
3929 (sort_recent_items_mru),
3930 (sort_recent_items_lru): Ditto as above.
3932 2008-01-03 Johan Dahlin <johan@gnome.org>
3934 * tests/defaultvaluetest.c: Make it pass again.
3936 2008-01-02 Johan Dahlin <johan@gnome.org>
3938 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
3939 make it pass on Ubuntu.
3940 (main): Use gtk_test_list_all_types () instead of providing our
3942 And it no longer passes.
3944 2007-12-30 Johannes Schmid <jhs@gnome.org>
3946 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3947 Also reorder menu when reordering tabs by drag & drop
3950 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3951 Add a menu to one of the notebooks to have a test-case for
3952 the change mentioned above.
3954 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
3956 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3958 2007-12-31 Christian Persch <chpe@gnome.org>
3960 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3961 Plug a mem leak. Bug #506107.
3963 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3965 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3966 icon cache api change. (#506135, Kazuki Iwamoto)
3968 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3970 Consider "wide-separators" and "separator-height" style properties:
3971 The separator is drawn using gtk_paint_box instead of cairo, when
3972 "wide-separators" is set. Also do not highlight details for previous
3973 or next month, if their day matches the selected day. (#339540)
3975 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3976 in gtk_calendar_size_request and calendar_paint_day
3977 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3978 for selected detail separators in GtkCalendar.
3980 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3982 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3984 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3985 a local variable instead in gtk_calendar_size_request.
3987 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3989 * tests/defaultvaluetest.c: Add enough exclusions to make the
3992 2007-12-28 Christian Persch <chpe@gnome.org>
3994 * modules/other/gail/Makefile.am:
3995 * modules/other/gail/tests/*:
3996 * configure.in: Merge tests from standalone gail. Bug #504568.
3998 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4000 * gtk/gtkclipboard.c: Make the finalizer work when display is
4003 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4005 Draw bottom shadow of GtkCalender headings. (#506113)
4007 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
4009 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4011 * gtk/gtkcalendar.c: Document the initial values of year/month/day
4014 2007-12-28 Christian Persch <chpe@gnome.org>
4016 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
4017 a mem leak. Bug #506096.
4019 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4022 * gtk/gtktreeview.c:
4023 * gtk/gtkprintoperation.c:
4024 * gtk/gtkprogressbar.c:
4025 * gtk/gtkmessagedialog.c:
4026 * gtk/gtknotebook.c:
4030 * gtk/gtklinkbutton.c:
4031 * gtk/gtkmenu.c: More default property value corrections.
4033 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4035 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
4036 accel_group unless it is set.
4038 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4040 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
4042 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4044 * gtk/gtkhandlebox.c: Fix the default values of shadow and
4045 shadow-type properties.
4047 * gtk/gtkfontsel.c: Fix the default values of several properties.
4049 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
4052 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
4054 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
4057 2007-12-28 Johan Dahlin <johan@gnome.org>
4059 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
4060 (gtk_dialog_buildable_custom_tag_start): Chain up.
4061 This makes it possible to have accelerators tags on GtkDialog
4064 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4066 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
4067 are shown within the widget, or just as tooltip. (#339540)
4069 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
4070 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
4071 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
4074 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4076 Try more decent appearance of calendar details separator. (#339540)
4078 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
4079 and make it short by one pixel on each side.
4081 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4083 Apply trivial code-style changes from attachement 101101. (#339540)
4085 * tests/testcalendar.c: Some updates to current GTK+ code-style.
4087 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4089 Restructure testcalendar for testing calendar details. (#339540)
4091 * tests/testcalendar.c: Push code arround for testing calendar details.
4093 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4095 Implement GtkTooltip API for calendar details. (#339540)
4097 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
4098 Remember detail overflows in calendar_paint_day to show the tooltip
4099 only when neccessary.
4101 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4103 Without setting "detail-width-chars" and "detail-height-rows"
4104 properties not only the widget has to be redrawn on certain
4105 conditions, but also its size must be recalculated. (#339540)
4107 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
4108 that function instead of gtk_widget_queue_draw.
4110 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4112 Consider details for size-request and expose-event. (#339540)
4114 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
4115 is_color_attribute functions. Change gtk_calendar_size_request
4116 and calendar_paint_day to consider and show calender details.
4118 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4120 * gtk/gtkcombobox.c: Introduce local priv variables to
4123 2007-12-27 Matthias Clasen <mclasen@redhat.com>
4125 * gtk/gtkcombobox.c: Correct the default value for the
4126 tearoff-title property.
4128 * gtk/gtkcellrenderertext.c: Fix the default value for the
4129 wrap-mode and font-scale properties.
4131 * gtk/gtkaspectratio.c: Fix the default value for the ratio
4134 2007-12-27 Matthias Clasen <mclasen@redhat.com>
4136 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
4137 defines. (#505708, MINAMI Hirokazu)
4139 2007-12-27 Christian Persch <chpe@gnome.org>
4141 * Makefile.am: Install gail.pc. Bug #505859.
4143 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
4145 Add infrastructure for GtkCalendar details. (#339540)
4147 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
4148 Add "detail-width-chars" and "detail-height-rows" properties,
4149 and gtk_calendar_set_detail_func function.
4151 2007-12-27 Xan Lopez <xan@gnome.org>
4154 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
4156 Add gtk_border_new to avoid memory allocator confusions when using
4157 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
4159 2007-12-27 Christian Persch <chpe@gnome.org>
4161 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
4162 bug #504886 not to read unitialised memory.
4164 2007-12-26 Xan Lopez <xan@gnome.org>
4166 * gtk/gtkstatusbar.c (has_extra_children): take into account the
4167 modification of the internal frame contents to decide if we have
4168 extra children. (#415677)
4170 2007-12-22 Christian Persch <chpe@gnome.org>
4172 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
4174 2007-12-25 Christian Persch <chpe@gnome.org>
4176 * modules/other/gail/gailwindow.c: (gail_window_initialize):
4177 Initialise |widget|. Fixes a buglet introduced by the commit from bug
4180 2007-12-25 Christian Persch <chpe@gnome.org>
4182 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
4184 2007-12-25 Christian Persch <chpe@gnome.org>
4186 * modules/other/gail/*.[ch]: Remove relocations from the atk
4187 factories. Remove unused gail_foo_new() functions. Fix object
4188 instantiation to be derivation safe by moving initialisation code
4189 from the removed gail_foo_new() functions to the
4190 AtkObjectClass::initialize implementation. Bug #505226.
4192 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4194 * modules/other/gail/gailentry.c:
4195 * modules/other/gail/gailimage.c:
4196 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
4197 uses of clipboards and settings. (#504722, Christian Persch)
4199 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4201 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
4204 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4206 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
4207 use the time and button information from the event. (#504901,
4210 2007-12-23 Cody Russell <bratsche@gnome.org>
4212 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
4213 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
4214 Fixes a regression caused by #164537 patch where transient
4215 windows that are hidden get shown (incorrectly) when their
4216 parents are minimized. (#504984)
4218 2007-12-22 Christian Persch <chpe@gnome.org>
4220 * modules/other/gail/gailcell.c:
4221 * modules/other/gail/gailcontainercell.c:
4222 * modules/other/gail/gailexpander.c:
4223 * modules/other/gail/gailtextcell.c:
4224 * modules/other/gail/gailtextview.c:
4225 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
4227 2007-12-22 Christian Persch <chpe@gnome.org>
4229 * modules/other/gail/*.c: Include config.h. Bug #504720.
4231 2007-12-22 Christian Persch <chpe@gnome.org>
4233 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4234 handwritten get_type functions. Bug #504661.
4236 2007-12-23 Xan Lopez <xan@gnome.org>
4238 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
4239 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
4241 Patch by Sadrul Habib Chowdhury (#504804)
4243 2007-12-22 Christian Persch <chpe@gnome.org>
4245 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
4246 #504645, patch by Li Yuan.
4248 2007-12-22 Christian Persch <chpe@gnome.org>
4250 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
4252 2007-12-22 Christian Persch <chpe@gnome.org>
4254 * modules/other/gail/gail.c:
4255 * modules/other/gail/gailbutton.c:
4256 * modules/other/gail/gailcell.c:
4257 * modules/other/gail/gailcombo.c:
4258 * modules/other/gail/gailcombo.h:
4259 * modules/other/gail/gailcombobox.c:
4260 * modules/other/gail/gailentry.c:
4261 * modules/other/gail/gailexpander.c:
4262 * modules/other/gail/gailmenuitem.c:
4263 * modules/other/gail/gailnotebook.c:
4264 * modules/other/gail/gailnotebookpage.c:
4265 * modules/other/gail/gailnotebookpage.h:
4266 * modules/other/gail/gailoptionmenu.c:
4267 * modules/other/gail/gailrange.c:
4268 * modules/other/gail/gailtextview.c:
4269 * modules/other/gail/gailtreeview.c:
4270 * modules/other/gail/gailtreeview.h:
4271 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
4274 2007-12-22 Matthias Clasen <mclasen@redhat.com>
4276 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
4279 2007-12-21 Richard Hult <richard@imendio.com>
4281 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
4282 Plug leak of destroyed subviews, fixes bug #504753.
4284 2007-12-20 Johan Dahlin <johan@gnome.org>
4286 * tests/Makefile.am (TEST_PROGS):
4287 * tests/defaultvaluetest.c: Add a test for default values,
4288 based on program by Christan Perch
4290 2007-12-20 Johan Dahlin <johan@gnome.org>
4292 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
4293 Refactor to avoid some duplication.
4294 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
4295 Fixes #504749, Yuri Pimenov
4297 2007-12-20 Kristian Rietveld <kris@imendio.com>
4299 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
4300 the build work again on systems without xrandr 1.2.
4302 2007-12-20 Christian Persch <chpe@gnome.org>
4305 * modules/other/gail/libgail-util/Makefile.am:
4306 Keep the same libtool version as the standalone libgail-util had.
4309 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
4311 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
4313 2007-12-20 Alexander Larsson <alexl@redhat.com>
4315 * gdk/x11/gdkapplaunchcontext-x11.c:
4316 Update for gio API changes
4318 2007-12-20 Richard Hult <richard@imendio.com>
4320 * gdk/quartz/GdkQuartzWindow.c:
4321 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
4322 processing events after changing the size.
4324 2007-12-20 Richard Hult <richard@imendio.com>
4326 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
4327 Add stub for quartz to fix build.
4329 2007-12-20 Christian Persch <chpe@gnome.org>
4331 * modules/other/gail/Makefile.am:
4332 * modules/other/gail/gailimage.c: (gail_image_class_init),
4333 (gail_image_init), (elide_underscores), (gail_image_get_name),
4334 (atk_image_interface_init), (gail_image_finalize):
4335 * modules/other/gail/gailimage.h:
4336 R modules/other/gail/gailintl.h:
4337 * po/POTFILES.skip: Use the stock item's label as the name of the
4338 accessible in gailimage.c. Bug #504246.
4340 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
4342 Avoid some compiler warnings and remove obsolete code. (#339540)
4344 * gtk/gtkcalendar.c: Change week and year variable in
4345 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4346 0" block from calendar_paint_day: The feature in question is handled
4347 few lines above. Cast data returned by gtk_selection_data_get_text()
4348 to (gchar*) in gtk_calendar_drag_data_received.
4350 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
4352 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4354 2007-12-19 Johan Dahlin <johan@gnome.org>
4356 * tests/buildertest.c (test_object_properties):
4357 Add another call to gtk_builder_add_string after using
4358 delayed properties, as reported in #504393 but already
4361 2007-12-18 Christian Persch <chpe@gnome.org>
4364 * docs/reference/Makefile.am:
4365 * docs/reference/libgail-util/*:
4366 * gail-uninstalled.pc.in:
4368 * modules/Makefile.am:
4369 * modules/other/Makefile.am:
4370 * modules/other/gail/*:
4371 * modules/other/gail/libgail-util/*:
4372 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4374 2007-12-17 Matthias Clasen <mclasen@redhat.com>
4376 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4377 * gdk/win32/gdkproperty-win32.c:
4378 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4380 * gtk/gtkimmodule.[hc]:
4381 * gtk/gtkimmulticontext.[hc]: When determining the default context,
4382 look at the gtk-im-module setting, and listen for changes to the
4383 setting. (#502446, Akira Tagoh)
4385 2007-12-17 Kristian Rietveld <kris@imendio.com>
4387 * gtk/gtktooltip.c (gtk_tooltip_finalize),
4388 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4389 to NULL as soon as it's destroyed. (#496546, patch from
4392 2007-12-17 Kristian Rietveld <kris@imendio.com>
4394 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4395 always determine what arrow to show if show_sort_indicator is true.
4396 (#352738, Chris Vine).
4398 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
4400 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4403 * gtk/gtkpaned.c: Call gtk_container_forall instead of
4404 gtk_container_foreach in get_child_panes.
4406 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
4408 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4410 Plug leak: When reordering the info in the list the old node is
4411 removed but not freed. (#503569)
4413 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
4415 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4416 Use u32 instead of __u32 and u8 instead of __u8 as the other types
4417 are deprecated since DirectFB 1.0.0. If compiling with an older
4418 version define the new type name to the old types. Fixes bug #503190.
4420 2007-12-14 Ray Strode <rstrode@redhat.com>
4422 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4423 instead of g_signal_connect_after (..., "realize", ...) as an
4424 alternative to gtk_widget_realize () (bug 503537).
4426 2007-12-14 Michael Natterer <mitch@imendio.com>
4428 * gdk/gdkinternals.h
4429 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4432 * gdk/gdkapplaunchcontext.c
4433 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4434 header already includes everything now.
4436 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4438 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4439 next stable release shall be 2.16, not 2.14 - even if disagree.
4441 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4443 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4445 Change GtkToolItem to retrieve its properties from GtkToolShell
4446 interface, instead of relying on being child of a GtkToolbar.
4449 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4450 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4451 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4452 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4453 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4454 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4455 Take section docs from template file and update them for GtkToolShell.
4456 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4457 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4459 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4461 Extract loading of GtkPageSetup and GtkPrintSettings from their
4462 *_new_*() functions and move that code into separate
4463 *_load_*() functions (#475565).
4465 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4466 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4467 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4468 Change the matching *_new_*() functions to use those functions.
4470 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4473 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4475 2007-12-14 Kristian Rietveld <kris@imendio.com>
4477 * gtk/tests/liststore.c:
4478 * gtk/tests/treestore.c: added tests for insertion functions.
4480 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
4482 * Add RandR 1.2 support
4484 - New monitors_changed signal - New API to get width/height of
4485 monitors, and the name of the plug
4487 2007-12-13 Kristian Rietveld <kris@imendio.com>
4489 * gtk/tests/liststore.c:
4490 * gtk/tests/treestore.c: test the move and swap functions on a
4491 store with only one node.
4493 2007-12-13 Kristian Rietveld <kris@imendio.com>
4495 * gtk/gtktestutils.c (gtk_test_init): add a call to
4498 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4501 2007-12-13 Kristian Rietveld <kris@imendio.com>
4503 * gtk/tests/liststore.c:
4504 * gtk/tests/treestore.c: start composing tests for the list and tree
4507 * gtk/tests/treeview-scrolling.c: added automated tests for
4508 GtkTreeView's scrolling "subsystem".
4510 * gtk/tests/Makefile.am: updated; added new test programs.
4512 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
4514 Make the code compile again after the GdkAppLaunchContext changes.
4516 * configure.in: Add gio-2.0 to GDK_PACKAGES.
4517 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4519 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4521 * gdk/gdkapplaunchcontext.c: Add docs
4523 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4525 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
4526 in gdk, providing startup notification. (#503203)
4528 * gdk/x11/gdkapplaunchcontext-x11.c:
4529 * gdk/win32/gdkapplaunchcontext-win32.c:
4530 * gdk/quartz/gdkapplaunchcontext-quartz.c:
4531 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4532 parts. All but X11 are just empty stubs for now.
4535 * gdk/gdkinternals.h:
4537 * gdk/x11/Makefile.am:
4538 * gdk/win32/Makefile.am:
4539 * gdk/quartz/Makefile.am:
4540 * gdk/directfb/Makefile.am: Necessary glue.
4542 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
4544 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4546 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4548 * gdk/directfb/gdktestutils-directfb.c:
4549 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4550 which adds testing functions to the DirectFB backend.
4552 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4554 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4555 Ciccani which fixes the mixing of gdk and cairo rendering.
4557 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
4559 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4560 on "drag-motion" handlers. Clearify documentation for
4563 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
4565 * buildertest.c: made unnecessarily exported symbols static.
4566 switched g_return_if_fail() statements in tests to assertions.
4567 special cased currently failing Widget/accesibility test to
4568 run only for g_test_thorough(), so it doesn't break make check.
4569 some coding style fixes.
4571 * Makefile.am: added buildertest to TEST_PROGS.
4573 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4575 * docs/tutorial/gtk-tut.sgml:
4576 Use gtk_widget_get_parent_window() instead of widget->parent->window.
4578 2007-12-10 Richard Hult <richard@imendio.com>
4580 * gdk/quartz/Makefile.am:
4581 * gdk/quartz/gdkquartz.h:
4582 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4583 header (bug #405915). Also add a getter for the toplevel nswindow.
4585 2007-12-10 Richard Hult <richard@imendio.com>
4587 * gdk/quartz/gdkdrawable-quartz.c:
4588 (gdk_quartz_drawable_get_context),
4589 (gdk_quartz_drawable_release_context):
4590 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4591 (gdk_event_check), (gdk_event_dispatch), (poll_func):
4592 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4593 used for each drawing context and in prepare, dispatch and poll
4594 with one that exists across each main loop iteration. Fixes leaks
4595 on leopard and protects against future leaks introduce when the
4596 underlying system changes again (bug #492977).
4598 2007-12-10 Richard Hult <richard@imendio.com>
4600 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4601 Fix the check for no changes to position and size.
4603 2007-12-10 Richard Hult <richard@imendio.com>
4605 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4606 sized areas at (0, 0), patch from Paul Davis.
4608 2007-12-10 Richard Hult <richard@imendio.com>
4610 * gdk/quartz/gdkprivate-quartz.h:
4611 * gdk/quartz/gdkeventloop-quartz.c:
4612 (_gdk_quartz_event_loop_get_pending),
4613 (_gdk_quartz_event_loop_check_pending),
4614 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4615 (gdk_event_check), (gdk_event_dispatch):
4616 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4617 (_gdk_events_queue): Fix a bug where we could end up trying to
4618 handle the same event more than once. Based on patch from Paul
4621 2007-12-10 Tor Lillqvist <tml@novell.com>
4623 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4626 2007-12-10 Matthias Clasen <mclasen@redhat.com>
4628 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4629 to avoid further fallout from the fix for bug 388321.
4631 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4633 * gdk/directfb/gdkgc-directfb.c:
4634 * gdk/directfb/gdkdrawable-directfb.c:
4635 * gdk/directfb/gdkdirectfb.h:
4636 * gdk/directfb/gdkwindow-directfb.c:
4637 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4638 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4639 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4640 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4641 which are expected to improve the performance of the DirectFB backend.
4642 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4644 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4646 * gtk/gtkcontainer.c: Correct the documentation of child
4647 property getter arguments. (#501992, David Brigada)
4649 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4651 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4652 leak pixbufs. (#502250, Yevgen Muntyan)
4654 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
4656 * gtk/gtkprintunixdialog.c:
4657 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4658 Print and Page Setup dialogs (#502202).
4660 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
4662 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4663 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4664 of XVFB_START, since it's the GTESTER invokation that needs this.
4666 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
4668 * gdk-pixbuf/gdk-pixbuf.symbols:
4670 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4671 positives in abicheck.sh
4673 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4675 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4676 GDK events generations in the DirectFB backend.
4678 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
4680 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4681 set of likely unused display ids, because MacOS has no seq(1) command.
4683 2007-12-06 Richard Hult <richard@imendio.com>
4685 * gdk/quartz/gdkevents-quartz.c:
4686 (synthesize_crossing_events_for_ns_event): Fix warning when
4687 switching spaces in leopard.
4689 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
4691 * tests/floatingtest.c: ported to new testing framework.
4693 * tests/Makefile.am: run floatingtest as testing framework test.
4695 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
4697 * tests/autotestfilechooser.c: majorly speed up execution by reducing
4698 timeouts and converting main loop sleeps to pending/iterate loops with
4699 very low priority async handlers. eliminate output for non-verbose
4700 tests. assert successfull subtests in all test functions. use testing
4701 framework in main().
4703 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4704 executed inside Xvfb upon make check.
4706 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
4708 * tests/objecttests.c: use string comparisons for string property
4709 values and get rid of referencing symbols in array initialization.
4711 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
4713 * gtk+/Makefile.decl: run tests in current dir after setting up the
4714 logging directory, so their results get properly merged into the
4717 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4718 tests to loop over registered Gdk/Gtk+ types.
4720 * gtk+/tests/objecttests.c: new test program, implements automated
4721 property tests. several properties are blacklisted because they
4722 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4723 can be used to test blacklisted properties and see which proprty failed.
4725 2007-12-04 Richard Hult <richard@imendio.com>
4727 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4728 Fully initialize the root window, fixes bug #501583.
4730 2007-12-04 Matthias Clasen <mclasen@redhat.com>
4732 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4735 2007-12-03 Richard Hult <richard@imendio.com>
4737 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4738 Don't crash when dragging from a source that doesn't support uri
4739 lists (bug #499868, Paul Davis).
4741 2007-12-03 Richard Hult <richard@imendio.com>
4743 * gdk/quartz/gdkwindow-quartz.c:
4744 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4745 parent relative bg pixmap is set, and no parent has a bg
4746 pixmap. Fixes bug #500804.
4748 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4750 Two optimizations for icon cache lookups.
4752 * gtk/gtkiconcache.[hc]:
4753 * gtk/gtkicontheme.c: Remember the directory index for
4754 subdirectories, instead of running over the directory list
4757 * gtk/gtkiconcache.c (find_image_offset): Remember the last
4758 chain and try it first; this helps with the the usage patterns
4759 in gtkicontheme.c, where the same icon is queried for a lot
4762 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
4764 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4765 functions from header files. this should be portable across linux and
4766 Mac OS, unlike the previpous sed expression.
4768 2007-12-1 Cody Russell <bratsche@gnome.org>
4770 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4771 On Windows, queue a redraw of child2 whenever we set
4772 the pane handle position. This is unfortunately kind
4773 of hacky, but solves the visual artifacts that were
4774 occuring on at least certain types of child widgets
4775 (e.g., text views and tree views) that are inside
4776 horizontal or vertical panes. (#144269)
4778 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4780 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4782 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4784 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4787 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4789 * gtk/Makefile.am: Fix ordering of subdirs.
4791 2007-11-28 Tor Lillqvist <tml@novell.com>
4793 A proper build of GNU libintl is supposed to export the variable
4794 _nl_msg_cat_cntr. configure looks for that variable in order to
4795 recognize GNU gettext. If it sees that it is indeed GNU gettext
4796 that is used, it decides to install message catalogs in
4797 share/locale, otherwise in lib/locale. Until now on Windows I have
4798 built GTK+ against a build of GNU gettext that did not export
4799 _nl_msg_cat_cntr. But this will change, so we can't assume message
4800 catalogs are always in lib/locale.
4802 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4803 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4804 before the inclusion of gtkprivate.h so that it sees the original
4807 * gtk-zip.sh.in: Check whether the message catalogs are in
4808 share/locale or lib/locale.
4810 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4811 that the code in _gtk_get_localedir() will find the slashes.
4813 2007-11-28 Tor Lillqvist <tml@novell.com>
4815 * gtk/Makefile.am: Improve portability. The -o option is present
4816 only in newish GNU egreps. Use one more sed in the pipeline
4819 2007-11-28 Tor Lillqvist <tml@novell.com>
4821 Fix #375893, patch by Ben Hague:
4823 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4824 around GetLogicalDrives() that takes also the viewable drive
4825 restrictions in the Registry (which are usually the result of an
4826 Active Directory Group Policy) into account.
4828 (check_volumes, gtk_file_system_win32_list_volumes) Call
4829 get_viewable_logical_drives() instead of GetLogicalDrives().
4831 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4833 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4834 variables to silence valgrind. (#495124, Morten Welinder)
4836 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4838 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4839 that the construct_child function is responsible for returning a
4841 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4842 objects from constructors
4843 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4844 g_object_ref() to this construction function (it's the only
4849 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4851 * gtkbuilder.c: remove concept of root objects and just refcount
4852 all objects in the builder. Fixes #496651.
4854 2007-11-26 Ryan Lortie <desrt@desrt.ca>
4856 * tests/buildertest.c (test_window): fix invalid free
4858 2007-11-26 Josselin Mouette <joss@malsain.org>
4860 reviewed by: Federico Mena Quintero
4862 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4863 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4864 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4865 Make the shortcuts activate with a single click. (#148828)
4866 Fix a few things affected by the change:
4867 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
4868 where no shortcut is selected.
4869 - Don't activate a shortcut in the response callback.
4870 - Filter out duplicate entries in volumes and bookmarks to
4871 avoid the selection to change when reordering them with DnD.
4873 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4876 * gtk/gtknotebook.c:
4877 * gtk/gtkplugprivate.h:
4879 * gtk/gtksocketprivate.h:
4880 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4882 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4884 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4885 (#495574, Richard Hult)
4887 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4889 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4890 String change ! (#376361, Sven Neumann)
4892 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4894 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4896 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4899 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4901 * gtk/gtkassistant.c: Improve alternative button
4902 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4904 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4906 * gtk/gtkcalendar.c: Fix a theming problem with colors
4907 in GtkCalendar. (#499703, Michael Hofmann)
4909 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4911 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4913 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4915 Use templates for glib-mkenums calls instead of
4916 complicated commandlines in Makefiles. (#429910)
4918 * gdk-pixbuf/Makefile.am:
4921 * perf/Makefile.am: Use templates for glib-mkenums
4923 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4924 * gdk/gdkenumtypes.[ch].template:
4925 * gtk/gtktypebuiltings.[ch].template:
4926 * perf/typebuiltins.[ch].template: The templates
4928 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4930 * gtk/gtkfilechooserbutton.c:
4931 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4932 some compilers choke on that. (#467722)
4934 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4936 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4937 about hook setup. (#425004, Emmanuele Bassi)
4939 2007-11-26 Tor Lillqvist <tml@novell.com>
4941 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4942 monitor the window currently is on, not always the primary
4943 monitor. (#463865, Tim Evans)
4945 2007-11-26 Tor Lillqvist <tml@novell.com>
4947 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4949 * gdk/win32/Makefile.am: Add it.
4951 2007-11-26 Tor Lillqvist <tml@novell.com>
4953 * configure.in: Don't add jasper to all_loaders if no libjasper.
4955 2007-11-25 Bastien Nocera <hadess@hadess.net>
4957 * configure.in: Add detection for libjasper, used by the
4958 gdk-pixbuf JPEG2000 loader
4960 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4962 * configure.in: Require gtk-doc 1.8
4964 * */*.c: Use gtk-doc abbreviations for examples in docs.
4966 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4968 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4971 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4973 * gtk/gtkdialog.c: Move signal and property documentation inline,
4974 fix a problem with the ::response signal docs. (#499133, Josselin
4977 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
4979 * Makefile.decl: initialize automake variables EXTRA_DIST and
4980 TEST_PROGS for unconditional appending via += in other makefiles.
4981 define recursive test targets: test, test-report, perf-report,
4982 full-report, as described here:
4983 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4984 the test targets will execute Gtk+ test programs within an Xvfb session.
4986 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4988 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4989 g_test_run() to run the tests to integrate with the testing framework.
4991 * gtk/tests/Makefile.am: removed exemplary testing rules.
4993 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4994 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4995 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4996 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4997 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4998 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4999 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
5000 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
5001 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
5002 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
5003 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
5004 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
5005 * modules/engines/ms-windows/Theme/Makefile.am:
5006 * modules/engines/ms-windows/Makefile.am:
5007 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
5008 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
5009 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
5010 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
5011 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
5012 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
5013 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
5015 2007-11-22 Matthias Clasen <mclasen@redhat.com>
5017 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
5018 (#485662, patch by Herbert Valerio Riedel)
5020 2007-11-22 Matthias Clasen <mclasen@redhat.com>
5022 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
5024 2007-11-21 Richard Hult <richard@imendio.com>
5026 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
5027 stubs for the testing functions to fix the build.
5029 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5031 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
5032 (#467711, The Written Word)
5034 2007-11-21 Ross Burton <ross@openedhand.com>
5036 * gdk/x11/gdksettings.c:
5037 Add xsetting for gtk-scrolled-window-placement (#458103).
5039 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5041 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
5042 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
5043 (#469239, Michael Natterer)
5045 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5047 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
5048 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
5049 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
5050 (#436536, Tommi Komulainen)
5052 2007-11-21 Matthias Clasen <mclasen@redhat.com>
5054 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
5055 property. (#489782, Jan Janech)
5057 2007-11-20 Matthias Clasen <mclasen@redhat.com>
5059 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
5060 frames. (#107398, Owen Taylor, Miguel Gomez)
5062 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
5064 Moved Gdk test functions from Gtk+ to Gdk test utils.
5066 * gdk/Makefile.am: added gdktestutils.h to public includes.
5068 * gdk/gdk.h: added gdktestutils.h to public includes.
5070 * gdk/gdk.symbols: added gdk_test_simulate_button,
5071 gdk_test_simulate_key, gdk_test_render_sync.
5073 * gdk/gdktestutils.h: new file, added prototypes for
5074 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
5076 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
5078 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
5079 gdk_test_simulate_key, gdk_test_render_sync.
5081 * gtk/gtktestutils.c:
5082 * gtk/gtktestutils.h:
5083 * gtk/gtk.symbols: removed gtk_test_simulate_button
5084 gtk_test_simulate_key, gtk_test_xserver_render_sync.
5086 * gtk/tests/testing.c: call gdk_test_render_sync.
5088 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
5090 Added unit tests for Gtk+ testing utilities.
5092 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
5093 utility functions. some g_test_* related portions are disabled and need
5094 to be enabled once Gtk+ depends on a new glib with the GLib testing
5095 framework integrated.
5097 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
5098 tests. added exemplary test rules to run tests inside Xvfb. this
5099 needs to depend on gtester for full fledged testing.
5101 * gtk/Makefile.am: build gtk+/gtk/tests, define
5102 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
5103 e.g. gtk_text_get_type().
5105 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
5107 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
5109 Added Gtk+ testing utilities.
5111 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
5112 functions. for the most part, the functions herein involve
5113 navigating and interacting with dialog elements programatically,
5114 to automate user interaction tests of dialogs and widgets.
5116 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
5118 * gtk/gtk.symbols: added gtk_test_* symbols.
5120 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
5121 the build. generate gtktypefuncs.c which contains a list of all
5122 _get_type functions in Gtk+ and Gdk.
5124 2007-11-20 Bastien Nocera <hadess@hadess.net>
5126 * configure.in: add support for conditional icns gdk-pixbuf loader
5129 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
5131 * configure.in: updated version number to 2.15.0 for development.
5133 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
5135 === Branch for 2.12 ===