1 2008-02-26 Michael Natterer <mitch@imendio.com>
3 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
4 the members of info->tag_stack since they are a) gobjects and b)
5 not even owned by us, ugh... Fixes crash when deserializing fails.
7 2008-02-26 Sven Neumann <sven@gimp.org>
9 * docs/tools/shooter.c (find_toplevel_window)
10 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
11 argument passed to XQueryTree().
13 2008-02-25 Matthias Clasen <mclasen@redhat.com>
15 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
16 don't use beagle_query_add_hit_type.
18 2008-02-25 Richard Hult <richard@imendio.com>
20 * gdk/quartz/gdkevents-quartz.c
21 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
23 2008-02-24 Richard Hult <richard@imendio.com>
25 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
26 shown without gdk's control when clicking the dock icon.
28 2008-02-24 Richard Hult <richard@imendio.com>
30 * gdk/quartz/gdkprivate-quartz.h:
31 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
32 Use the subtype field for the custom event that is used to wake up
33 the mainloop so we can have other custom event types.
35 * gdk/quartz/gdkevents-quartz.c:
36 (_gdk_quartz_events_trigger_crossing_events):
37 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
38 crossing events after showing a window if necessary, to work
39 around problems with the tracking rect API.
41 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
43 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
44 wrong results on win32 because it doesn't set the printing units,
45 which affect the transformation of the cairo context
46 (#347125, Erik van Pienbroek)
48 2008-02-22 Tor Lillqvist <tml@novell.com>
50 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
52 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
54 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
55 acceptable for a module to only support the save_to_callback()
56 method if it marks itself as WRITABLE
58 2008-02-16 Matthias Clasen <mclasen@redhat.com>
60 * configure.in: Bump version
62 2008-02-16 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.13.0 ===
66 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
68 2008-02-21 Tor Lillqvist <tml@novell.com>
70 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
71 pass the format string to strftime in the C library's locale's
72 charset, not the system's. Correspondingly, the return value from
73 strftime() is in the C library's locale's charset. (#509885)
75 2008-02-20 Richard Hult <richard@imendio.com>
77 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
78 the right window level and shadow after recreating the window.
80 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
81 necessary after drawing (bug #517338).
83 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
85 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
86 call to g_type_class_unref in case of error. (#517563)
88 2008-02-18 Sven Neumann <sven@gimp.org>
90 * gtk/Makefile.am (STOCK_ICONS)
91 * gtk/stock-icons/16/gtk-page-setup.png
92 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
93 taken from GNOME icon theme.
95 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
97 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
99 * configure.in: Added Kannada (kn) to ALL_LINGUAS
101 2008-02-17 Johan Dahlin <johan@gnome.org>
103 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
104 When converting a stock item based on the label, remove the label property.
106 2008-02-17 Richard Hult <richard@imendio.com>
108 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
109 position after showing the window since the window manager might
110 not place it where we requested in the first places.
112 2008-02-17 Richard Hult <richard@imendio.com>
114 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
115 (_gdk_quartz_window_detach_from_parent),
116 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
117 the toplevel ordering list in all places where the order is
118 potentially changed. Fixes mouse focus issues for windows with
119 a transient parent set.
121 2008-02-17 Richard Hult <richard@imendio.com>
123 * gdk/quartz/gdkevents-quartz.c
124 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
125 window when event debugging is enabled.
127 2008-02-16 Richard Hult <richard@imendio.com>
129 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
130 to the scroll event (bug #516757, Paul Davis).
132 2008-02-16 Matthias Clasen <mclasen@redhat.com>
136 2008-02-16 Matthias Clasen <mclasen@redhat.com>
138 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
141 2008-02-15 Matthias Clasen <mclasen@redhat.com>
143 * gdk/Makefile.am: Don't install private headers. (#463510)
145 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
146 the installed header gdkprivate.h.
148 2008-02-15 Matthias Clasen <mclasen@redhat.com>
150 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
151 a crash with hidden, reorderable tabs. (#513230,
152 Mike Massonnet, patch by Carlos Garnacho)
154 2008-02-15 Matthias Clasen <mclasen@redhat.com>
156 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
157 Warn on duplicate action group names. (#501746, Christian
160 2008-02-15 Matthias Clasen <mclasen@redhat.com>
163 * modules/other/gail/tests/Makefile.am:
164 * modules/other/gail/libgail-util/Makefile.am:
165 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
166 builds. (#516254, Yevgen Muntyan)
168 2008-02-15 Matthias Clasen <mclasen@redhat.com>
173 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
174 instead of hardcoded target tables. (#516092, Christian Persch)
176 2008-02-15 Matthias Clasen <mclasen@redhat.com>
178 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
179 add the same target atom twice. (#516087, Christian Persch)
181 2008-02-15 Matthias Clasen <mclasen@redhat.com>
183 * tests/testfilechooser.c: Add a --backend option.
184 (#516073, Christian Persch)
186 2008-02-16 Richard Hult <richard@imendio.com>
188 * gdk/quartz/gdkprivate-quartz.h:
189 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
192 2008-02-15 Matthias Clasen <mclasen@redhat.com>
194 * configure.in: Go back to 2.13.0 as version for now,
195 as there was no consensus to do the jump.
197 * many other places: Update Since: tags.
199 2008-02-15 Matthias Clasen <mclasen@redhat.com>
201 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
203 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
205 2008-02-15 Richard Hult <richard@imendio.com>
207 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
208 instead of bounds when resizing windows.
210 2008-02-15 Matthias Clasen <mclasen@redhat.com>
212 * gdk/x11/gdkkeys-x11.c:
213 * gdk/x11/gdkcolor-x11.c:
214 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
216 2008-02-15 Matthias Clasen <mclasen@redhat.com>
218 * gdk/x11/gdktestutils-x11.c:
219 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
221 2008-02-15 Tor Lillqvist <tml@novell.com>
223 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
224 leak Registry key handles. (#516578)
226 2008-02-14 Richard Hult <richard@imendio.com>
228 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
229 makeKeyWindow unfortunately doesn't work in all cases, we must use
230 makeKeyAndOrderFront.
232 2008-02-14 Richard Hult <richard@imendio.com>
234 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
235 (gdk_window_hide), (gdk_window_fullscreen),
236 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
237 the window is hidden.
239 2008-02-14 Richard Hult <richard@imendio.com>
241 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
242 resizing to be consistent and to avoid introducing an internal
243 transform in the view.
245 2008-02-14 Richard Hult <richard@imendio.com>
247 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
250 2008-02-14 Johan Dahlin <johan@gnome.org>
253 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
255 2008-02-13 Richard Hult <richard@imendio.com>
257 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
258 Remove unused variables.
259 (gtk_clipboard_set_contents),
260 (gtk_clipboard_get_owner), (clipboard_unset),
261 (gtk_clipboard_request_targets): Notify the previous clipboard
262 owner when the owner changes. Fixes bug #493406.
264 2008-02-13 Richard Hult <richard@imendio.com>
266 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
267 the return value (return number of colors that failed), and handle
269 (gdk_colormap_free_colors): Fix typo in comment.
271 2008-02-13 Kristian Rietveld <kris@imendio.com>
273 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
274 queue a redraw if the rubber banding has actually been active.
276 2008-02-12 Matthias Clasen <mclasne@redhat.com>
278 * gtk/gtkpapersize.c:
279 * gtk/gtkprintoperation.c:
280 * gtk/gtkvolumebutton.c:
281 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
282 out by Behdad Esfahbod.
284 2008-02-12 Federico Mena Quintero <federico@novell.com>
286 Merged from gtk-2-12:
288 Don't focus the file list when shortcuts get activated. This
289 removes a lot of ambiguity in when the file selection should
290 change, and makes the overall code flow simpler.
292 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
293 file/save dialog clears the filename entry when changing
296 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
297 focus should not go to the file list when a shortcut is activated.
299 * gtk/gtkfilechooserdefault.c
300 (shortcuts_activate_volume_mount_cb): Don't focus the file list
301 (shortcuts_activate_get_info_cb): Likewise.
303 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
304 the file list (this was the last place where we would focus the
305 file list explicitly). If you are in the location entry, for
306 example, you don't want Alt-Home to take you to the file list; you
307 just want the current folder to change. Thanks to Olle Bergkvist
308 <olle.bergkvist@yahoo.se> for pointing this out in
309 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
310 (focus_browse_tree_view_if_possible): Removed.
312 2008-02-12 Matthias Clasen <mclasen@redhat.com>
314 Skip exensions when selecting filenames in the save-as dialog.
315 (#362516, Carlos Garnacho)
317 * gtk/gtkfilechooserentry.h:
318 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
319 New function to skip the extension part when selecting a filename.
320 (_gtk_file_chooser_entry_set_base_folder): Use it here.
322 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
325 2008-02-12 Matthias Clasen <mclasen@redhat.com>
327 * gtk/gtkiconview.c: Fix state change reporting for
328 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
330 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
332 * gtk/gtkrecentchooser.c:
333 (gtk_recent_chooser_class_init): Set the default value of the
334 :show-not-found property to TRUE, as every implementation sets
337 * gtk/gtkrecentchooserdefault.c:
338 (_gtk_recent_chooser_default_init): Sync show_tips to the
339 default value of the :show-tips property.
341 2008-02-12 Matthias Clasen <mclasen@redhat.com>
343 * gtk/gtkclipboard-quartz.c:
345 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
348 2008-02-12 Kristian Rietveld <kris@imendio.com>
350 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
351 (gtk_tree_view_real_toggle_cursor_row): guard against people
352 deleting the row in question in the selection-changed callback.
353 (#514621, Andreas Koehler).
355 2008-02-12 Matthias Clasen <mclasen@redhat.com>
357 * gtk/*.c: Unify the handling of various "Enter" keysyms
358 all over the place. (#515047, Christian Persch)
360 2008-02-12 Matthias Clasen <mclasen@redhat.com>
362 * gtk/gtkfilesystemmodel.c:
364 * gtk/gtkwidget.c: Use g_value_set_static_string() where
365 appropriate. (#515042, Christian Persch)
367 2008-02-12 Matthias Clasen <mclasen@redhat.com>
369 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
371 2008-02-12 Matthias Clasen <mclasen@redhat.com>
373 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
375 2008-02-12 Matthias Clasen <mclasen@redhat.com>
377 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
378 (recent_model_sort_drag_data_get):
379 (search_model_sort_drag_data_get):
380 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
381 * gtk/gtkpathbar.c (button_drag_data_get_cb):
382 Use gtk_selection_data_set_uris() instead of doing it
383 by hand. (#514890, Christian Persch)
385 2008-02-12 Michael Natterer <mitch@imendio.com>
387 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
388 gtk_get_current_event_time().
390 2008-02-12 Michael Natterer <mitch@imendio.com>
392 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
393 gtk_window_get_key_hash() to get the hash instead of manually
394 fiddling with quarks and gtk_window_keys_changed(). Also add
395 g_return_if_fail() to this public function.
397 2008-02-11 Matthias Clasen <mclasen@redhat.com>
399 Support keynav in status icons. (#473786, Li Yuan)
401 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
403 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
405 2008-02-11 Kristian Rietveld <kris@imendio.com>
407 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
408 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
409 wrt. link deletion from list; contination of fix for #503569.
411 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
413 * gtk/gtkrecentchoosermenu.c:
414 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
415 on the placeholder menu item.
417 * tests/testrecentchoosermenu.c:
418 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
419 whether the placeholder menu item gets shown.
421 2008-02-10 Cody Russell <bratsche@gnome.org>
423 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
424 Check the return value of _gtk_file_chooser_get_file_system () for
425 NULL before passing it to gtk_file_system_path_to_uri ().
426 (#515667, Francesco Montorsi)
428 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
430 * gtk/gtkbuilder.c: Improve the documentation for
431 gtk_builder_connect_signals. (#514471)
433 2008-02-10 Matthias Clasen <mclasen@redhat.com>
435 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
438 2008-02-08 Cody Russell <bratsche@gnome.org>
440 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
441 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
443 2008-02-08 Richard Hult <richard@imendio.com>
445 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
446 delta from the NSEvent for now, generating multiple scroll events
447 results in a lot of events getting queued up and things get really
450 2008-02-08 Sven Herzberg <sven@imendio.com>
452 Adjust the code to match the documentation, examples, "common sense"
453 and existing applications.
455 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
456 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
459 2008-02-07 Cody Russell <bratsche@gnome.org>
461 * gdk/win32/gdkevents-win32.c
462 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
463 of a block that were causing compile problems on old
464 compilers. (#515053, reported by Kazuki IWAMOTO)
466 2008-02-07 Michael Natterer <mitch@imendio.com>
475 * gtk/gtkoptionmenu.c
479 * gtk/gtkradiomenuitem.c
481 * gtk/gtkscrolledwindow.c
482 * gtk/gtksocket.c: remove g_return_if_fail() from private
483 functions and virtual function implementations.
485 2008-02-07 Michael Natterer <mitch@imendio.com>
492 * gtk/gtkcellrenderercombo.c
495 * gtk/gtkdrawingarea.c
496 * gtk/gtkentrycompletion.c
502 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
503 functions and virtual function implementations.
505 2008-02-07 Christian Persch <chpe@gnome.org>
507 * gdk/gdkpixbuf-render.c:
508 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
509 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
510 otherwise there will be random pixel values in the semi-transparent
511 area of the pixbuf within the mask. Bug #487865.
513 2008-02-06 Cody Russell <bratsche@gnome.org>
515 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
516 otherwise things get wonky when you click on a menu. This fixes
517 a regression caused in #505928. Thanks to Tor for spotting this
520 2008-02-06 Michael Natterer <mitch@imendio.com>
531 * gtk/gtkseparatortoolitem.c
533 * gtk/gtktextlayout.c
534 * gtk/gtktoggletoolbutton.c
535 * gtk/gtktoolbutton.c
538 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
541 2008-02-05 Matthias Clasen <mclasen@redhat.com>
543 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
544 Allow to store half-open ranges.
546 2008-02-05 Cody Russell <bratsche@gnome.org>
548 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
549 down the stack until we get to a window that is mapped.
550 Otherwise hiding a window will cause all windows in the app
551 to be blocked. (#514643)
553 2008-02-05 Matthias Clasen <mclasen@redhat.com>
555 * gtk/updateiconcache.c: Ignore images in the toplevel theme
556 directory, avoiding one source of invalid caches that has been
559 2008-02-05 Matthias Clasen <mclasen@redhat.com>
561 * gtk/updateiconcache.c: Fix the previous commit to compile.
563 2008-02-05 Matthias Clasen <mclasen@redhat.com>
565 * gtk/updateiconcache.c: Install a printerr handler that
566 prepends the program name, since gtk-update-icon-cache output
567 often appears in the middle of other output, e.g. rpm update logs.
569 2008-02-05 Cody Russell <bratsche@gnome.org>
571 * gdk/win32/gdkprivate-win32.h
572 * gdk/win32/gdkevents-win32.c
573 * gdk/win32/gdkwindow-win32.c
574 * gdk/win32/gdkwindow-win32.h
575 * gdk/win32/gdkwin32.h:
576 Modal window rework. (#455627 and #511111)
578 2008-02-04 Michael Natterer <mitch@imendio.com>
580 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
581 g_return_if_fail() if the cell is not part of the combo instead of
582 crashing in the next line.
584 2008-02-01 Cody Russell <cody@jhu.edu>
586 * modules/engines/ms-windows/xp_theme.[ch]
587 * modules/engines/ms-windows/xp_theme_defs.h
588 * modules/engines/ms-windows/msw_rc_style.c
589 * modules/engines/ms-windows/msw_theme_main.c
590 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
591 attempted to stylize more like the rest of the gtk+ stack's code.
593 2008-02-01 Michael Natterer <mitch@imendio.com>
595 * tests/testgtk.c: initialize GdkColor structs to fix warning
596 about uninitialized "pixel" member.
598 * tests/testactions.c: connect the toolbar_style() callback so it
599 does something useful and doesn't warn about being defined but not
602 2008-01-31 Cody Russell <bratsche@gnome.org>
604 * gdk/win32/gdkevents-win32.c:
605 Refactored some of the window hiding/showing code from
606 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
607 under WM_ACTIVATE was causing the application to go into
608 a weird state when the user right-clicked on the taskbar
609 entry of a window that was minimized. (#505928)
611 2008-01-31 Cody Russell <bratsche@gnome.org>
613 * gtk/gtkpaned.c (gtk_paned_set_position):
614 Change queue_resize() to queue_draw(), and add a check for
615 child2 != NULL in case someone calls this before there is
616 a child packed in there. (#144269 again)
618 2008-01-31 Sven Neumann <sven@gimp.org>
620 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
621 applied patch from Denis Oliver Kropp <dok@directfb.org>.
623 2008-01-31 Sven Neumann <sven@gimp.org>
625 * gdk/directfb/gdkdisplay-directfb.c
626 * gdk/directfb/gdkdrawable-directfb.c
627 * gdk/directfb/gdkprivate-directfb.h
628 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
629 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
631 2008-01-31 Richard Hult <richard@imendio.com>
633 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
634 issues with undecorated windows. Revert the change done on
635 2008-01-25 and fix it by using the view's bounds instead. The
636 bounds will always be up to date when setting up the tracking
637 rect, so this should be more robust.
639 2008-01-30 Sven Neumann <sven@gimp.org>
641 * gdk/directfb/gdkdrawable-directfb.c
642 * gdk/directfb/gdkwindow-directfb.c
643 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
644 Oliver Kropp <dok@directfb.org>. Adds debug messages using
645 DirectFB's debugging system
647 2008-01-30 Sven Neumann <sven@gimp.org>
649 * gdk/directfb/gdkdirectfb.h
650 * gdk/directfb/gdkdisplay-directfb.c
651 * gdk/directfb/gdkdrawable-directfb.c
652 * gdk/directfb/gdkim-directfb.c
653 * gdk/directfb/gdkimage-directfb.c
654 * gdk/directfb/gdkinput-directfb.c
655 * gdk/directfb/gdkmain-directfb.c
656 * gdk/directfb/gdkpixmap-directfb.c
657 * gdk/directfb/gdktestutils-directfb.c
658 * gdk/directfb/gdkvisual-directfb.c
659 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
660 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
661 errors and has some cleanups.
663 2008-01-30 Michael Natterer <mitch@imendio.com>
665 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
666 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
669 * gtk/updateiconcache.c (add_string): cast const gchar* to
670 gpointer when inserting in a GHashTable.
672 * tests/testcalendar.c (calendar_detail_cb): remove const from
673 return value since it's a newly allocated string.
675 (calendar_update_details): free the detail.
677 2008-01-29 Johan Dahlin <johan@gnome.org>
679 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
681 * demos/gtk-demo/demo.ui:
682 Move the about dialog to the glade file, add accessible tags
683 examples to the markup file.
685 2008-01-28 Paolo Borelli <pborelli@katamail.com>
687 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
688 layout, fixes #512375.
690 2008-01-28 Michael Natterer <mitch@imendio.com>
693 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
695 2008-01-28 Michael Natterer <mitch@imendio.com>
697 * demos/gtk-demo/builder.c (about_activate): use
698 gtk_about_dialog_set_program_name() instead of the deprecated
701 2008-01-28 Michael Natterer <mitch@imendio.com>
704 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
707 2008-01-26 Johan Dahlin <johan@gnome.org>
710 * tests/textbuffertest.c:
711 Rename textbuffer test and port it to the new test framework
713 2008-01-25 Johan Dahlin <johan@gnome.org>
715 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
716 unsetting of GTK_MODULES.
718 * gtk/gtk-builder-convert
719 (GtkBuilderConverter._convert_adjustment): Handle the case where
720 there is no child text node.
721 (GtkBuilderConverter): Allow xml comments in most places.
723 2008-01-25 Johan Dahlin <johan@gnome.org>
725 * gtk/gtk-builder-convert
726 (GtkBuilderConverter._convert_combobox_items): Remove the items
727 even if there are no items set.
728 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
729 signals and tooltips for all menu items subclasses and
730 GtkImageMenuItem:label.
731 Makes it possible to fully convert and run Jokosher.glade.
733 2008-01-25 Johan Dahlin <johan@gnome.org>
735 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
736 (gtk_widget_buildable_get_internal_child), (free_action),
737 (free_relation), (gtk_widget_buildable_parser_finished),
738 (accessibility_start_element),
739 (gtk_widget_buildable_custom_tag_start),
740 (gtk_widget_buildable_custom_finished):
741 Implement accessible support, fixes #454653.
743 * gtk/gtk-builder-convert:
744 Add support for migrating old glade files
746 * tests/buildertest.c: (test_widget), (test_file):
747 Add accessible tests and imprve the test_file function to display
748 toplevels and run dialogs.
750 2008-01-25 Richard Hult <richard@imendio.com>
752 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
753 didn't change, fixes focus event issues for undecorated windows.
755 2008-01-25 Richard Hult <richard@imendio.com>
757 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
758 const and remove unused variables).
760 2008-01-25 Michael Natterer <mitch@imendio.com>
763 * gtk/gtkcellrenderer.h
768 * gtk/gtktreeprivate.h
769 * gtk/gtktreeviewcolumn.h
770 * gtk/gtkwidget.h: add const to constant structs which are passed
771 into GTK+. Also add some forgotten const for const strings.
775 * gtk/gtkcellrenderer.c
781 * gtk/gtktreeviewcolumn.c
782 * gtk/gtkwidget.c: changed accordingly.
784 2008-01-25 Sven Herzberg <sven@imendio.com>
786 Reviewed by Johan Dahlin.
788 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
789 this is called with something that's not a GtkUIManager
791 2008-01-24 Johan Dahlin <johan@gnome.org>
793 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
794 Chain up to parent, so widgets can have internal children.
796 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
798 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
801 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
803 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
805 Use pango_layout_set_height() for calendar details (#506049).
807 * configure.in: Require 1.19.3 for pango_layout_set_height().
808 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
810 2008-01-18 Johan Dahlin <johan@gnome.org>
812 * gtk/gtk-builder-convert (get_property_node): New method
813 (GtkBuilderConverter._create_object): Conditionally take a node as
814 a property value, so don't lose translate/context attributes if they
816 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
817 property values instead of strings.
818 (#509153, Erik van Pienbroek)
820 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
822 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
824 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
825 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
826 * tests/testcalendar.c: Duplicate calendar details before returning.
828 2008-01-16 Christian Persch <chpe@gnome.org>
830 * gtk/gtkwidget.c: Store the event mask and extension event mode
831 directly in the gobject data pointer, instead of in an allocated
834 2008-01-16 Michael Natterer <mitch@imendio.com>
836 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
837 gdk-pixbuf now uses gio functions.
839 2008-01-16 Matthias Clasen <mclasen@redhat.com>
841 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
842 the notify::model signal. (#509819, David Zeuthen)
844 2008-01-15 Michael Natterer <mitch@imendio.com>
852 * gdk/gdkwindow.h: made more struct pointer and array parameters
853 const. GDK should now be constified as far as possible without
854 breaking source compatibility. Includes some minor cleanup like
855 indentation and s/nfoo/n_foo/ (bug #508544).
861 * gdk/gdkregion-generic.c
863 * gdk/directfb/gdkdisplay-directfb.c
864 * gdk/directfb/gdkwindow-directfb.c
865 * gdk/quartz/gdkdisplay-quartz.c
866 * gdk/quartz/gdkwindow-quartz.c
867 * gdk/win32/gdkdisplay-win32.c
868 * gdk/win32/gdkwindow-win32.c
869 * gdk/x11/gdkdisplay-x11.c
870 * gdk/x11/gdkwindow-x11.c: changed accordingly.
872 2008-01-14 Michael Natterer <mitch@imendio.com>
874 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
877 (gtk_rc_parse_any): change variables to const and introduce
878 another local variable to fix const warnings.
880 2008-01-14 Michael Natterer <mitch@imendio.com>
882 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
883 of gdk_screen_get_font_options() to gpointer to get rid of const
886 2008-01-14 Michael Natterer <mitch@imendio.com>
888 * tests/testdnd.c (source_drag_data_get): fix another call to
889 gtk_selection_data_set().
891 2008-01-14 Michael Natterer <mitch@imendio.com>
893 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
896 2008-01-14 Michael Natterer <mitch@imendio.com>
898 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
900 2008-01-14 Michael Natterer <mitch@imendio.com>
902 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
903 "uris" to guchar* when passing it to gtk_selection_data_set().
905 2008-01-14 Michael Natterer <mitch@imendio.com>
913 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
914 parameters const (bug #508544).
920 * gdk/gdkpolyreg-generic.c
921 * gdk/gdkregion-generic.c
922 * gdk/directfb/gdkcolor-directfb.c
923 * gdk/directfb/gdkgc-directfb.c
924 * gdk/directfb/gdkgeometry-directfb.c
925 * gdk/directfb/gdkwindow-directfb.c
926 * gdk/quartz/gdkcolor-quartz.c
927 * gdk/quartz/gdkgc-quartz.c
928 * gdk/quartz/gdkgeometry-quartz.c
929 * gdk/quartz/gdkwindow-quartz.c
930 * gdk/win32/gdkcolor-win32.c
931 * gdk/win32/gdkgc-win32.c
932 * gdk/win32/gdkgeometry-win32.c
933 * gdk/win32/gdkprivate-win32.h
934 * gdk/win32/gdkwindow-win32.c
935 * gdk/x11/gdkcolor-x11.c
936 * gdk/x11/gdkgc-x11.c
937 * gdk/x11/gdkgeometry-x11.c
938 * gdk/x11/gdkmain-x11.c
939 * gdk/x11/gdkprivate-x11.h
940 * gdk/x11/gdkwindow-x11.c: changed accordingly.
942 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
945 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
947 Explain name choice for gtk_tool_item_toolbar_reconfigured.
949 * gtk/gtktoolitem.c: Add comment expaining name choice for
950 gtk_tool_item_toolbar_reconfigured.
952 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
954 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
955 implementations to notify its children, when some aspect of their
956 configuration changed (#509042).
958 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
959 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
960 Rename _gtk_tool_item_toolbar_reconfigured.
962 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
964 Include <gtk/gtktoolshell.h> from gtk.h.
966 * gtk/gtk.h: Add gtktoolshell.h
968 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
970 Print angle brackets arround e-mail addresses in the about dialog
971 (#409520, Mariano Suárez-Alvarez).
973 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
975 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
977 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
978 special casing so test widgets are always queues for destruction
981 * gtk/tests/testing.c: removed bits left-over from testing without
984 2008-01-10 Tor Lillqvist <tml@novell.com>
986 * modules/other/gail/libgail-util/Makefile.am
987 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
990 2008-01-10 Tor Lillqvist <tml@novell.com>
992 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
993 uses gtkprintunixdialog API.
995 2008-01-10 Tor Lillqvist <tml@novell.com>
997 * gdk/win32/gdkdisplay-win32.c
998 * gdk/win32/gdkglobals-win32.c
999 * gdk/win32/gdkprivate-win32.h
1000 * gdk/win32/gdkscreen-win32.c
1001 * gdk/win32/gdkwindow-win32.c: Implement
1002 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1003 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1006 2008-01-10 Cody Russell <bratsche@gnome.org>
1008 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1009 Properly ref/unref windows and parents. (#506769)
1011 2008-01-10 Richard Hult <richard@imendio.com>
1013 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1014 (gdk_window_hide), (move_resize_window_internal): Move the
1015 tracking rect workaround from here...
1017 * gdk/quartz/GdkQuartzWindow.c:
1018 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1019 movements during showing/hiding operations. Fixes bug #508516.
1021 2008-01-10 Michael Natterer <mitch@imendio.com>
1023 * gdk/directfb/gdkscreen-directfb.c
1024 (gdk_screen_get_monitor_width_mm)
1025 (gdk_screen_get_monitor_height_mm)
1026 (gdk_screen_get_monitor_plug_name): add these functions to make
1029 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1031 * gtk/gtkrecentchoosermenu.c:
1032 (idle_populate_func), (idle_populate_clean_up): Fix possible
1033 recursion by resetting the idle source id. (#507605, William
1036 2008-01-10 Kristian Rietveld <kris@imendio.com>
1038 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1039 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1040 avoid valgrind warnings. (#507751, patch from Christian Persch).
1042 2008-01-10 Kristian Rietveld <kris@imendio.com>
1044 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1045 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1047 2008-01-10 Kristian Rietveld <kris@imendio.com>
1049 Fix #477175, reported by Juri Pakaste.
1051 * gtk/gtktreeprivate.h:
1052 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1053 tree_view->priv->dy here directly, just calculate the new value
1054 and set it on the adjustment,
1055 (gtk_tree_view_adjustment_changed): add guards to not call
1056 gtk_tree_view_dy_to_top_row() if we are currently in
1057 gtk_tree_view_top_row_to_dy(),
1058 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1059 coordinates, not tree coordinates,
1060 (gtk_tree_view_real_start_editing): add cast.
1062 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1063 position of the editable in the "create new row and start editing"
1066 2008-01-09 Michael Natterer <mitch@imendio.com>
1068 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1071 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1072 * gtk/gtkicontheme.c (theme_list_contexts)
1073 (gtk_icon_theme_lookup_icon)
1074 * gtk/gtkimcontextsimple.c (beep_window)
1075 * gtk/gtklinkbutton.c (set_link_color)
1076 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1079 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1080 variable and add const to another to fix a warning.
1082 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1084 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1085 the current page. (#499951, Andreas Sandberg)
1087 2008-01-06 Johan Dahlin <johan@gnome.org>
1089 * gtk/gtkspinbutton.c: Declare value in the example code for
1090 GtkSpinButton::output, as pointed out by Anders Carlsson.
1092 2008-01-06 Christian Persch <chpe@gnome.org>
1094 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1095 and remove an obsolete event box. Bug #506760.
1097 2008-01-06 Johan Dahlin <johan@gnome.org>
1099 * tests/buildertest.c (test_domain):
1100 Update, GtkBuilder::translation-domain is no longer set
1102 * gtk/gtkbuilderparser.c (parse_interface):
1103 Allow domains to be overridden in <interface>'s if a translation-domain
1104 is set in the builder.
1105 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1106 of the builder, make the domain set in the <interface> apply only to strings
1108 (#496831, Ryan Lortie)
1110 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1113 * gtk/gtktreestore.c (tree_model_end_element):
1114 Remove an unused variable
1116 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1118 * gtk/gtkspinbutton.c: Document the ::output signal and
1119 add an example. (#507566, example by Owen Taylor)
1121 2008-01-06 Johan Dahlin <johan@gnome.org>
1123 * gtk/gtkcellrenderercombo.c:
1124 (gtk_cell_renderer_combo_get_property),
1125 (gtk_cell_renderer_combo_set_property):
1126 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1127 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1128 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1129 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1130 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1131 (gtk_text_buffer_get_property):
1132 * gtk/gtktextview.c: (gtk_text_view_set_property):
1133 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1134 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1135 (gtk_tool_button_get_property):
1136 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1137 (gtk_tool_item_get_property):
1138 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1139 * gtk/gtkwidget.c: (gtk_widget_set_property):
1140 * gtk/gtkwindow.c: (gtk_window_set_property):
1141 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1144 2008-01-06 Johan Dahlin <johan@gnome.org>
1146 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1147 Make sure that --root works for toplevel widgets.
1148 (#491847, Phil Lello)
1150 2008-01-05 Johan Dahlin <johan@gnome.org>
1152 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1153 to make sure that make test-report works properly
1155 2008-01-05 Christian Persch <chpe@gnome.org>
1157 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1158 GType as integer through gpointer. Bug #507395.
1160 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1162 Avoid some compiler warnings (#507000).
1164 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1165 for value argument of _gtk_builder_flags_from_string.
1166 * gtk/gtkwidget.c: Don't alias the child pointer passed
1167 to gdk_window_get_user_data.
1169 2008-01-04 Michael Natterer <mitch@imendio.com>
1171 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1172 to set the time in the returned GdkTimeCoords.
1174 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1176 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1177 correct comparison function (kudos to Christian Persch and
1178 Claudio Saavedra for spotting this)
1180 * gtk/gtkrecentchooserutils.c:
1181 (sort_recent_items_mru),
1182 (sort_recent_items_lru): Ditto as above.
1184 2008-01-03 Johan Dahlin <johan@gnome.org>
1186 * tests/defaultvaluetest.c: Make it pass again.
1188 2008-01-02 Johan Dahlin <johan@gnome.org>
1190 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1191 make it pass on Ubuntu.
1192 (main): Use gtk_test_list_all_types () instead of providing our
1194 And it no longer passes.
1196 2007-12-30 Johannes Schmid <jhs@gnome.org>
1198 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1199 Also reorder menu when reordering tabs by drag & drop
1202 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1203 Add a menu to one of the notebooks to have a test-case for
1204 the change mentioned above.
1206 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1208 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1210 2007-12-31 Christian Persch <chpe@gnome.org>
1212 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1213 Plug a mem leak. Bug #506107.
1215 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1217 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1218 icon cache api change. (#506135, Kazuki Iwamoto)
1220 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1222 Consider "wide-separators" and "separator-height" style properties:
1223 The separator is drawn using gtk_paint_box instead of cairo, when
1224 "wide-separators" is set. Also do not highlight details for previous
1225 or next month, if their day matches the selected day. (#339540)
1227 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1228 in gtk_calendar_size_request and calendar_paint_day
1229 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1230 for selected detail separators in GtkCalendar.
1232 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1234 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1236 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1237 a local variable instead in gtk_calendar_size_request.
1239 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1241 * tests/defaultvaluetest.c: Add enough exclusions to make the
1244 2007-12-28 Christian Persch <chpe@gnome.org>
1246 * modules/other/gail/Makefile.am:
1247 * modules/other/gail/tests/*:
1248 * configure.in: Merge tests from standalone gail. Bug #504568.
1250 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1252 * gtk/gtkclipboard.c: Make the finalizer work when display is
1255 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1257 Draw bottom shadow of GtkCalender headings. (#506113)
1259 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1261 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1263 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1266 2007-12-28 Christian Persch <chpe@gnome.org>
1268 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1269 a mem leak. Bug #506096.
1271 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1274 * gtk/gtktreeview.c:
1275 * gtk/gtkprintoperation.c:
1276 * gtk/gtkprogressbar.c:
1277 * gtk/gtkmessagedialog.c:
1278 * gtk/gtknotebook.c:
1282 * gtk/gtklinkbutton.c:
1283 * gtk/gtkmenu.c: More default property value corrections.
1285 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1287 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1288 accel_group unless it is set.
1290 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1292 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1294 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1296 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1297 shadow-type properties.
1299 * gtk/gtkfontsel.c: Fix the default values of several properties.
1301 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1304 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1306 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1309 2007-12-28 Johan Dahlin <johan@gnome.org>
1311 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1312 (gtk_dialog_buildable_custom_tag_start): Chain up.
1313 This makes it possible to have accelerators tags on GtkDialog
1316 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1318 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1319 are shown within the widget, or just as tooltip. (#339540)
1321 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1322 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1323 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1326 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1328 Try more decent appearance of calendar details separator. (#339540)
1330 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1331 and make it short by one pixel on each side.
1333 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1335 Apply trivial code-style changes from attachement 101101. (#339540)
1337 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1339 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1341 Restructure testcalendar for testing calendar details. (#339540)
1343 * tests/testcalendar.c: Push code arround for testing calendar details.
1345 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1347 Implement GtkTooltip API for calendar details. (#339540)
1349 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1350 Remember detail overflows in calendar_paint_day to show the tooltip
1351 only when neccessary.
1353 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1355 Without setting "detail-width-chars" and "detail-height-rows"
1356 properties not only the widget has to be redrawn on certain
1357 conditions, but also its size must be recalculated. (#339540)
1359 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1360 that function instead of gtk_widget_queue_draw.
1362 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1364 Consider details for size-request and expose-event. (#339540)
1366 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1367 is_color_attribute functions. Change gtk_calendar_size_request
1368 and calendar_paint_day to consider and show calender details.
1370 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1372 * gtk/gtkcombobox.c: Introduce local priv variables to
1375 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1377 * gtk/gtkcombobox.c: Correct the default value for the
1378 tearoff-title property.
1380 * gtk/gtkcellrenderertext.c: Fix the default value for the
1381 wrap-mode and font-scale properties.
1383 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1386 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1388 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1389 defines. (#505708, MINAMI Hirokazu)
1391 2007-12-27 Christian Persch <chpe@gnome.org>
1393 * Makefile.am: Install gail.pc. Bug #505859.
1395 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1397 Add infrastructure for GtkCalendar details. (#339540)
1399 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1400 Add "detail-width-chars" and "detail-height-rows" properties,
1401 and gtk_calendar_set_detail_func function.
1403 2007-12-27 Xan Lopez <xan@gnome.org>
1406 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1408 Add gtk_border_new to avoid memory allocator confusions when using
1409 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1411 2007-12-27 Christian Persch <chpe@gnome.org>
1413 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1414 bug #504886 not to read unitialised memory.
1416 2007-12-26 Xan Lopez <xan@gnome.org>
1418 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1419 modification of the internal frame contents to decide if we have
1420 extra children. (#415677)
1422 2007-12-22 Christian Persch <chpe@gnome.org>
1424 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1426 2007-12-25 Christian Persch <chpe@gnome.org>
1428 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1429 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1432 2007-12-25 Christian Persch <chpe@gnome.org>
1434 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1436 2007-12-25 Christian Persch <chpe@gnome.org>
1438 * modules/other/gail/*.[ch]: Remove relocations from the atk
1439 factories. Remove unused gail_foo_new() functions. Fix object
1440 instantiation to be derivation safe by moving initialisation code
1441 from the removed gail_foo_new() functions to the
1442 AtkObjectClass::initialize implementation. Bug #505226.
1444 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1446 * modules/other/gail/gailentry.c:
1447 * modules/other/gail/gailimage.c:
1448 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1449 uses of clipboards and settings. (#504722, Christian Persch)
1451 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1453 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1456 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1458 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1459 use the time and button information from the event. (#504901,
1462 2007-12-23 Cody Russell <bratsche@gnome.org>
1464 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1465 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1466 Fixes a regression caused by #164537 patch where transient
1467 windows that are hidden get shown (incorrectly) when their
1468 parents are minimized. (#504984)
1470 2007-12-22 Christian Persch <chpe@gnome.org>
1472 * modules/other/gail/gailcell.c:
1473 * modules/other/gail/gailcontainercell.c:
1474 * modules/other/gail/gailexpander.c:
1475 * modules/other/gail/gailtextcell.c:
1476 * modules/other/gail/gailtextview.c:
1477 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1479 2007-12-22 Christian Persch <chpe@gnome.org>
1481 * modules/other/gail/*.c: Include config.h. Bug #504720.
1483 2007-12-22 Christian Persch <chpe@gnome.org>
1485 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1486 handwritten get_type functions. Bug #504661.
1488 2007-12-23 Xan Lopez <xan@gnome.org>
1490 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1491 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1493 Patch by Sadrul Habib Chowdhury (#504804)
1495 2007-12-22 Christian Persch <chpe@gnome.org>
1497 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1498 #504645, patch by Li Yuan.
1500 2007-12-22 Christian Persch <chpe@gnome.org>
1502 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1504 2007-12-22 Christian Persch <chpe@gnome.org>
1506 * modules/other/gail/gail.c:
1507 * modules/other/gail/gailbutton.c:
1508 * modules/other/gail/gailcell.c:
1509 * modules/other/gail/gailcombo.c:
1510 * modules/other/gail/gailcombo.h:
1511 * modules/other/gail/gailcombobox.c:
1512 * modules/other/gail/gailentry.c:
1513 * modules/other/gail/gailexpander.c:
1514 * modules/other/gail/gailmenuitem.c:
1515 * modules/other/gail/gailnotebook.c:
1516 * modules/other/gail/gailnotebookpage.c:
1517 * modules/other/gail/gailnotebookpage.h:
1518 * modules/other/gail/gailoptionmenu.c:
1519 * modules/other/gail/gailrange.c:
1520 * modules/other/gail/gailtextview.c:
1521 * modules/other/gail/gailtreeview.c:
1522 * modules/other/gail/gailtreeview.h:
1523 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1526 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1528 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1531 2007-12-21 Richard Hult <richard@imendio.com>
1533 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1534 Plug leak of destroyed subviews, fixes bug #504753.
1536 2007-12-20 Johan Dahlin <johan@gnome.org>
1538 * tests/Makefile.am (TEST_PROGS):
1539 * tests/defaultvaluetest.c: Add a test for default values,
1540 based on program by Christan Perch
1542 2007-12-20 Johan Dahlin <johan@gnome.org>
1544 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1545 Refactor to avoid some duplication.
1546 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1547 Fixes #504749, Yuri Pimenov
1549 2007-12-20 Kristian Rietveld <kris@imendio.com>
1551 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1552 the build work again on systems without xrandr 1.2.
1554 2007-12-20 Christian Persch <chpe@gnome.org>
1557 * modules/other/gail/libgail-util/Makefile.am:
1558 Keep the same libtool version as the standalone libgail-util had.
1561 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1563 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1565 2007-12-20 Alexander Larsson <alexl@redhat.com>
1567 * gdk/x11/gdkapplaunchcontext-x11.c:
1568 Update for gio API changes
1570 2007-12-20 Richard Hult <richard@imendio.com>
1572 * gdk/quartz/GdkQuartzWindow.c:
1573 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1574 processing events after changing the size.
1576 2007-12-20 Richard Hult <richard@imendio.com>
1578 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1579 Add stub for quartz to fix build.
1581 2007-12-20 Christian Persch <chpe@gnome.org>
1583 * modules/other/gail/Makefile.am:
1584 * modules/other/gail/gailimage.c: (gail_image_class_init),
1585 (gail_image_init), (elide_underscores), (gail_image_get_name),
1586 (atk_image_interface_init), (gail_image_finalize):
1587 * modules/other/gail/gailimage.h:
1588 R modules/other/gail/gailintl.h:
1589 * po/POTFILES.skip: Use the stock item's label as the name of the
1590 accessible in gailimage.c. Bug #504246.
1592 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1594 Avoid some compiler warnings and remove obsolete code. (#339540)
1596 * gtk/gtkcalendar.c: Change week and year variable in
1597 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1598 0" block from calendar_paint_day: The feature in question is handled
1599 few lines above. Cast data returned by gtk_selection_data_get_text()
1600 to (gchar*) in gtk_calendar_drag_data_received.
1602 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1604 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1606 2007-12-19 Johan Dahlin <johan@gnome.org>
1608 * tests/buildertest.c (test_object_properties):
1609 Add another call to gtk_builder_add_string after using
1610 delayed properties, as reported in #504393 but already
1613 2007-12-18 Christian Persch <chpe@gnome.org>
1616 * docs/reference/Makefile.am:
1617 * docs/reference/libgail-util/*:
1618 * gail-uninstalled.pc.in:
1620 * modules/Makefile.am:
1621 * modules/other/Makefile.am:
1622 * modules/other/gail/*:
1623 * modules/other/gail/libgail-util/*:
1624 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1626 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1628 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1629 * gdk/win32/gdkproperty-win32.c:
1630 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1632 * gtk/gtkimmodule.[hc]:
1633 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1634 look at the gtk-im-module setting, and listen for changes to the
1635 setting. (#502446, Akira Tagoh)
1637 2007-12-17 Kristian Rietveld <kris@imendio.com>
1639 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1640 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1641 to NULL as soon as it's destroyed. (#496546, patch from
1644 2007-12-17 Kristian Rietveld <kris@imendio.com>
1646 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1647 always determine what arrow to show if show_sort_indicator is true.
1648 (#352738, Chris Vine).
1650 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1652 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1653 Sébastien Granjoux)
1655 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1656 gtk_container_foreach in get_child_panes.
1658 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1660 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1662 Plug leak: When reordering the info in the list the old node is
1663 removed but not freed. (#503569)
1665 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1667 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1668 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1669 are deprecated since DirectFB 1.0.0. If compiling with an older
1670 version define the new type name to the old types. Fixes bug #503190.
1672 2007-12-14 Ray Strode <rstrode@redhat.com>
1674 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1675 instead of g_signal_connect_after (..., "realize", ...) as an
1676 alternative to gtk_widget_realize () (bug 503537).
1678 2007-12-14 Michael Natterer <mitch@imendio.com>
1680 * gdk/gdkinternals.h
1681 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1684 * gdk/gdkapplaunchcontext.c
1685 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1686 header already includes everything now.
1688 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1690 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1691 next stable release shall be 2.16, not 2.14 - even if disagree.
1693 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1695 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1697 Change GtkToolItem to retrieve its properties from GtkToolShell
1698 interface, instead of relying on being child of a GtkToolbar.
1701 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1702 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1703 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1704 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1705 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1706 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1707 Take section docs from template file and update them for GtkToolShell.
1708 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1709 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1711 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1713 Extract loading of GtkPageSetup and GtkPrintSettings from their
1714 *_new_*() functions and move that code into separate
1715 *_load_*() functions (#475565).
1717 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1718 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1719 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1720 Change the matching *_new_*() functions to use those functions.
1722 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1725 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1727 2007-12-14 Kristian Rietveld <kris@imendio.com>
1729 * gtk/tests/liststore.c:
1730 * gtk/tests/treestore.c: added tests for insertion functions.
1732 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1734 * Add RandR 1.2 support
1736 - New monitors_changed signal - New API to get width/height of
1737 monitors, and the name of the plug
1739 2007-12-13 Kristian Rietveld <kris@imendio.com>
1741 * gtk/tests/liststore.c:
1742 * gtk/tests/treestore.c: test the move and swap functions on a
1743 store with only one node.
1745 2007-12-13 Kristian Rietveld <kris@imendio.com>
1747 * gtk/gtktestutils.c (gtk_test_init): add a call to
1750 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1753 2007-12-13 Kristian Rietveld <kris@imendio.com>
1755 * gtk/tests/liststore.c:
1756 * gtk/tests/treestore.c: start composing tests for the list and tree
1759 * gtk/tests/treeview-scrolling.c: added automated tests for
1760 GtkTreeView's scrolling "subsystem".
1762 * gtk/tests/Makefile.am: updated; added new test programs.
1764 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1766 Make the code compile again after the GdkAppLaunchContext changes.
1768 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1769 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1771 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1773 * gdk/gdkapplaunchcontext.c: Add docs
1775 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1777 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1778 in gdk, providing startup notification. (#503203)
1780 * gdk/x11/gdkapplaunchcontext-x11.c:
1781 * gdk/win32/gdkapplaunchcontext-win32.c:
1782 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1783 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1784 parts. All but X11 are just empty stubs for now.
1787 * gdk/gdkinternals.h:
1789 * gdk/x11/Makefile.am:
1790 * gdk/win32/Makefile.am:
1791 * gdk/quartz/Makefile.am:
1792 * gdk/directfb/Makefile.am: Necessary glue.
1794 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1796 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1798 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1800 * gdk/directfb/gdktestutils-directfb.c:
1801 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1802 which adds testing functions to the DirectFB backend.
1804 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1806 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1807 Ciccani which fixes the mixing of gdk and cairo rendering.
1809 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1811 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1812 on "drag-motion" handlers. Clearify documentation for
1815 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1817 * buildertest.c: made unnecessarily exported symbols static.
1818 switched g_return_if_fail() statements in tests to assertions.
1819 special cased currently failing Widget/accesibility test to
1820 run only for g_test_thorough(), so it doesn't break make check.
1821 some coding style fixes.
1823 * Makefile.am: added buildertest to TEST_PROGS.
1825 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1827 * docs/tutorial/gtk-tut.sgml:
1828 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1830 2007-12-10 Richard Hult <richard@imendio.com>
1832 * gdk/quartz/Makefile.am:
1833 * gdk/quartz/gdkquartz.h:
1834 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1835 header (bug #405915). Also add a getter for the toplevel nswindow.
1837 2007-12-10 Richard Hult <richard@imendio.com>
1839 * gdk/quartz/gdkdrawable-quartz.c:
1840 (gdk_quartz_drawable_get_context),
1841 (gdk_quartz_drawable_release_context):
1842 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1843 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1844 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1845 used for each drawing context and in prepare, dispatch and poll
1846 with one that exists across each main loop iteration. Fixes leaks
1847 on leopard and protects against future leaks introduce when the
1848 underlying system changes again (bug #492977).
1850 2007-12-10 Richard Hult <richard@imendio.com>
1852 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1853 Fix the check for no changes to position and size.
1855 2007-12-10 Richard Hult <richard@imendio.com>
1857 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1858 sized areas at (0, 0), patch from Paul Davis.
1860 2007-12-10 Richard Hult <richard@imendio.com>
1862 * gdk/quartz/gdkprivate-quartz.h:
1863 * gdk/quartz/gdkeventloop-quartz.c:
1864 (_gdk_quartz_event_loop_get_pending),
1865 (_gdk_quartz_event_loop_check_pending),
1866 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1867 (gdk_event_check), (gdk_event_dispatch):
1868 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1869 (_gdk_events_queue): Fix a bug where we could end up trying to
1870 handle the same event more than once. Based on patch from Paul
1873 2007-12-10 Tor Lillqvist <tml@novell.com>
1875 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1878 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1880 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1881 to avoid further fallout from the fix for bug 388321.
1883 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1885 * gdk/directfb/gdkgc-directfb.c:
1886 * gdk/directfb/gdkdrawable-directfb.c:
1887 * gdk/directfb/gdkdirectfb.h:
1888 * gdk/directfb/gdkwindow-directfb.c:
1889 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1890 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1891 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1892 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1893 which are expected to improve the performance of the DirectFB backend.
1894 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1896 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1898 * gtk/gtkcontainer.c: Correct the documentation of child
1899 property getter arguments. (#501992, David Brigada)
1901 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1903 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1904 leak pixbufs. (#502250, Yevgen Muntyan)
1906 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1908 * gtk/gtkprintunixdialog.c:
1909 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1910 Print and Page Setup dialogs (#502202).
1912 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1914 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1915 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1916 of XVFB_START, since it's the GTESTER invokation that needs this.
1918 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1920 * gdk-pixbuf/gdk-pixbuf.symbols:
1922 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1923 positives in abicheck.sh
1925 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1927 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1928 GDK events generations in the DirectFB backend.
1930 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1932 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1933 set of likely unused display ids, because MacOS has no seq(1) command.
1935 2007-12-06 Richard Hult <richard@imendio.com>
1937 * gdk/quartz/gdkevents-quartz.c:
1938 (synthesize_crossing_events_for_ns_event): Fix warning when
1939 switching spaces in leopard.
1941 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1943 * tests/floatingtest.c: ported to new testing framework.
1945 * tests/Makefile.am: run floatingtest as testing framework test.
1947 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1949 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1950 timeouts and converting main loop sleeps to pending/iterate loops with
1951 very low priority async handlers. eliminate output for non-verbose
1952 tests. assert successfull subtests in all test functions. use testing
1953 framework in main().
1955 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1956 executed inside Xvfb upon make check.
1958 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1960 * tests/objecttests.c: use string comparisons for string property
1961 values and get rid of referencing symbols in array initialization.
1963 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1965 * gtk+/Makefile.decl: run tests in current dir after setting up the
1966 logging directory, so their results get properly merged into the
1969 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1970 tests to loop over registered Gdk/Gtk+ types.
1972 * gtk+/tests/objecttests.c: new test program, implements automated
1973 property tests. several properties are blacklisted because they
1974 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1975 can be used to test blacklisted properties and see which proprty failed.
1977 2007-12-04 Richard Hult <richard@imendio.com>
1979 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1980 Fully initialize the root window, fixes bug #501583.
1982 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1984 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1987 2007-12-03 Richard Hult <richard@imendio.com>
1989 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1990 Don't crash when dragging from a source that doesn't support uri
1991 lists (bug #499868, Paul Davis).
1993 2007-12-03 Richard Hult <richard@imendio.com>
1995 * gdk/quartz/gdkwindow-quartz.c:
1996 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1997 parent relative bg pixmap is set, and no parent has a bg
1998 pixmap. Fixes bug #500804.
2000 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2002 Two optimizations for icon cache lookups.
2004 * gtk/gtkiconcache.[hc]:
2005 * gtk/gtkicontheme.c: Remember the directory index for
2006 subdirectories, instead of running over the directory list
2009 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2010 chain and try it first; this helps with the the usage patterns
2011 in gtkicontheme.c, where the same icon is queried for a lot
2014 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2016 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2017 functions from header files. this should be portable across linux and
2018 Mac OS, unlike the previpous sed expression.
2020 2007-12-1 Cody Russell <bratsche@gnome.org>
2022 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2023 On Windows, queue a redraw of child2 whenever we set
2024 the pane handle position. This is unfortunately kind
2025 of hacky, but solves the visual artifacts that were
2026 occuring on at least certain types of child widgets
2027 (e.g., text views and tree views) that are inside
2028 horizontal or vertical panes. (#144269)
2030 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2032 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2034 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2036 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2039 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2041 * gtk/Makefile.am: Fix ordering of subdirs.
2043 2007-11-28 Tor Lillqvist <tml@novell.com>
2045 A proper build of GNU libintl is supposed to export the variable
2046 _nl_msg_cat_cntr. configure looks for that variable in order to
2047 recognize GNU gettext. If it sees that it is indeed GNU gettext
2048 that is used, it decides to install message catalogs in
2049 share/locale, otherwise in lib/locale. Until now on Windows I have
2050 built GTK+ against a build of GNU gettext that did not export
2051 _nl_msg_cat_cntr. But this will change, so we can't assume message
2052 catalogs are always in lib/locale.
2054 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2055 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2056 before the inclusion of gtkprivate.h so that it sees the original
2059 * gtk-zip.sh.in: Check whether the message catalogs are in
2060 share/locale or lib/locale.
2062 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2063 that the code in _gtk_get_localedir() will find the slashes.
2065 2007-11-28 Tor Lillqvist <tml@novell.com>
2067 * gtk/Makefile.am: Improve portability. The -o option is present
2068 only in newish GNU egreps. Use one more sed in the pipeline
2071 2007-11-28 Tor Lillqvist <tml@novell.com>
2073 Fix #375893, patch by Ben Hague:
2075 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2076 around GetLogicalDrives() that takes also the viewable drive
2077 restrictions in the Registry (which are usually the result of an
2078 Active Directory Group Policy) into account.
2080 (check_volumes, gtk_file_system_win32_list_volumes) Call
2081 get_viewable_logical_drives() instead of GetLogicalDrives().
2083 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2085 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2086 variables to silence valgrind. (#495124, Morten Welinder)
2088 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2090 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2091 that the construct_child function is responsible for returning a
2093 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2094 objects from constructors
2095 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2096 g_object_ref() to this construction function (it's the only
2101 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2103 * gtkbuilder.c: remove concept of root objects and just refcount
2104 all objects in the builder. Fixes #496651.
2106 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2108 * tests/buildertest.c (test_window): fix invalid free
2110 2007-11-26 Josselin Mouette <joss@malsain.org>
2112 reviewed by: Federico Mena Quintero
2114 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2115 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2116 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2117 Make the shortcuts activate with a single click. (#148828)
2118 Fix a few things affected by the change:
2119 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2120 where no shortcut is selected.
2121 - Don't activate a shortcut in the response callback.
2122 - Filter out duplicate entries in volumes and bookmarks to
2123 avoid the selection to change when reordering them with DnD.
2125 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2128 * gtk/gtknotebook.c:
2129 * gtk/gtkplugprivate.h:
2131 * gtk/gtksocketprivate.h:
2132 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2134 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2136 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2137 (#495574, Richard Hult)
2139 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2141 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2142 String change ! (#376361, Sven Neumann)
2144 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2146 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2148 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2151 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2153 * gtk/gtkassistant.c: Improve alternative button
2154 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2156 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2158 * gtk/gtkcalendar.c: Fix a theming problem with colors
2159 in GtkCalendar. (#499703, Michael Hofmann)
2161 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2163 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2165 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2167 Use templates for glib-mkenums calls instead of
2168 complicated commandlines in Makefiles. (#429910)
2170 * gdk-pixbuf/Makefile.am:
2173 * perf/Makefile.am: Use templates for glib-mkenums
2175 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2176 * gdk/gdkenumtypes.[ch].template:
2177 * gtk/gtktypebuiltings.[ch].template:
2178 * perf/typebuiltins.[ch].template: The templates
2180 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2182 * gtk/gtkfilechooserbutton.c:
2183 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2184 some compilers choke on that. (#467722)
2186 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2188 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2189 about hook setup. (#425004, Emmanuele Bassi)
2191 2007-11-26 Tor Lillqvist <tml@novell.com>
2193 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2194 monitor the window currently is on, not always the primary
2195 monitor. (#463865, Tim Evans)
2197 2007-11-26 Tor Lillqvist <tml@novell.com>
2199 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2201 * gdk/win32/Makefile.am: Add it.
2203 2007-11-26 Tor Lillqvist <tml@novell.com>
2205 * configure.in: Don't add jasper to all_loaders if no libjasper.
2207 2007-11-25 Bastien Nocera <hadess@hadess.net>
2209 * configure.in: Add detection for libjasper, used by the
2210 gdk-pixbuf JPEG2000 loader
2212 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2214 * configure.in: Require gtk-doc 1.8
2216 * */*.c: Use gtk-doc abbreviations for examples in docs.
2218 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2220 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2223 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2225 * gtk/gtkdialog.c: Move signal and property documentation inline,
2226 fix a problem with the ::response signal docs. (#499133, Josselin
2229 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2231 * Makefile.decl: initialize automake variables EXTRA_DIST and
2232 TEST_PROGS for unconditional appending via += in other makefiles.
2233 define recursive test targets: test, test-report, perf-report,
2234 full-report, as described here:
2235 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2236 the test targets will execute Gtk+ test programs within an Xvfb session.
2238 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2240 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2241 g_test_run() to run the tests to integrate with the testing framework.
2243 * gtk/tests/Makefile.am: removed exemplary testing rules.
2245 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2246 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2247 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2248 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2249 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2250 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2251 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2252 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2253 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2254 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2255 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2256 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2257 * modules/engines/ms-windows/Theme/Makefile.am:
2258 * modules/engines/ms-windows/Makefile.am:
2259 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2260 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2261 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2262 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2263 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2264 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2265 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2267 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2269 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2270 (#485662, patch by Herbert Valerio Riedel)
2272 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2274 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2276 2007-11-21 Richard Hult <richard@imendio.com>
2278 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2279 stubs for the testing functions to fix the build.
2281 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2283 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2284 (#467711, The Written Word)
2286 2007-11-21 Ross Burton <ross@openedhand.com>
2288 * gdk/x11/gdksettings.c:
2289 Add xsetting for gtk-scrolled-window-placement (#458103).
2291 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2293 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2294 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2295 (#469239, Michael Natterer)
2297 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2299 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2300 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2301 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2302 (#436536, Tommi Komulainen)
2304 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2306 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2307 property. (#489782, Jan Janech)
2309 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2311 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2312 frames. (#107398, Owen Taylor, Miguel Gomez)
2314 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2316 Moved Gdk test functions from Gtk+ to Gdk test utils.
2318 * gdk/Makefile.am: added gdktestutils.h to public includes.
2320 * gdk/gdk.h: added gdktestutils.h to public includes.
2322 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2323 gdk_test_render_sync.
2325 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2326 gdk_test_simulate_key, gdk_test_render_sync.
2328 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2330 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2331 gdk_test_simulate_key, gdk_test_render_sync.
2333 * gtk/gtktestutils.c:
2334 * gtk/gtktestutils.h:
2335 * gtk/gtk.symbols: removed gtk_test_simulate_button
2336 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2338 * gtk/tests/testing.c: call gdk_test_render_sync.
2340 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2342 Added unit tests for Gtk+ testing utilities.
2344 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2345 utility functions. some g_test_* related portions are disabled and need
2346 to be enabled once Gtk+ depends on a new glib with the GLib testing
2347 framework integrated.
2349 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2350 added exemplary test rules to run tests inside Xvfb. this needs to depend
2351 on gtester for full fledged testing.
2353 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2354 collecting _get_type functions to catch e.g. gtk_text_get_type().
2356 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2358 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2360 Added Gtk+ testing utilities.
2362 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2363 for the most part, the functions herein involve navigating and interacting
2364 with dialog elements programatically, to automate user interaction tests of
2365 dialogs and widgets.
2367 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2369 * gtk/gtk.symbols: added gtk_test_* symbols.
2371 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2372 generate gtktypefuncs.c which contains a list of all _get_type functions in
2374 2007-11-20 Bastien Nocera <hadess@hadess.net>
2376 * configure.in: add support for conditional icns gdk-pixbuf loader
2379 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2381 * configure.in: updated version number to 2.15.0 for development.
2383 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2385 === Branch for 2.12 ===