1 2008-02-25 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
4 don't use beagle_query_add_hit_type.
6 2008-02-25 Richard Hult <richard@imendio.com>
8 * gdk/quartz/gdkevents-quartz.c
9 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
11 2008-02-24 Richard Hult <richard@imendio.com>
13 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
14 shown without gdk's control when clicking the dock icon.
16 2008-02-24 Richard Hult <richard@imendio.com>
18 * gdk/quartz/gdkprivate-quartz.h:
19 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
20 Use the subtype field for the custom event that is used to wake up
21 the mainloop so we can have other custom event types.
23 * gdk/quartz/gdkevents-quartz.c:
24 (_gdk_quartz_events_trigger_crossing_events):
25 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
26 crossing events after showing a window if necessary, to work
27 around problems with the tracking rect API.
29 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
31 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
32 wrong results on win32 because it doesn't set the printing units,
33 which affect the transformation of the cairo context
34 (#347125, Erik van Pienbroek)
36 2008-02-22 Tor Lillqvist <tml@novell.com>
38 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
40 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
42 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable
43 for a module to only support the save_to_callback() method if it marks itself
46 2008-02-16 Matthias Clasen <mclasen@redhat.com>
48 * configure.in: Bump version
50 2008-02-16 Matthias Clasen <mclasen@redhat.com>
52 * === Released 2.13.0 ===
54 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
56 2008-02-21 Tor Lillqvist <tml@novell.com>
58 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
59 pass the format string to strftime in the C library's locale's
60 charset, not the system's. Correspondingly, the return value from
61 strftime() is in the C library's locale's charset. (#509885)
63 2008-02-20 Richard Hult <richard@imendio.com>
65 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
66 the right window level and shadow after recreating the window.
68 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
69 necessary after drawing (bug #517338).
71 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
73 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
74 call to g_type_class_unref in case of error. (#517563)
76 2008-02-18 Sven Neumann <sven@gimp.org>
78 * gtk/Makefile.am (STOCK_ICONS)
79 * gtk/stock-icons/16/gtk-page-setup.png
80 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
81 taken from GNOME icon theme.
83 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
85 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
87 * configure.in: Added Kannada (kn) to ALL_LINGUAS
89 2008-02-17 Johan Dahlin <johan@gnome.org>
91 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
92 When converting a stock item based on the label, remove the label property.
94 2008-02-17 Richard Hult <richard@imendio.com>
96 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
97 position after showing the window since the window manager might
98 not place it where we requested in the first places.
100 2008-02-17 Richard Hult <richard@imendio.com>
102 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
103 (_gdk_quartz_window_detach_from_parent),
104 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
105 the toplevel ordering list in all places where the order is
106 potentially changed. Fixes mouse focus issues for windows with
107 a transient parent set.
109 2008-02-17 Richard Hult <richard@imendio.com>
111 * gdk/quartz/gdkevents-quartz.c
112 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
113 window when event debugging is enabled.
115 2008-02-16 Richard Hult <richard@imendio.com>
117 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
118 to the scroll event (bug #516757, Paul Davis).
120 2008-02-16 Matthias Clasen <mclasen@redhat.com>
124 2008-02-16 Matthias Clasen <mclasen@redhat.com>
126 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
129 2008-02-15 Matthias Clasen <mclasen@redhat.com>
131 * gdk/Makefile.am: Don't install private headers. (#463510)
133 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
134 the installed header gdkprivate.h.
136 2008-02-15 Matthias Clasen <mclasen@redhat.com>
138 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
139 a crash with hidden, reorderable tabs. (#513230,
140 Mike Massonnet, patch by Carlos Garnacho)
142 2008-02-15 Matthias Clasen <mclasen@redhat.com>
144 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
145 Warn on duplicate action group names. (#501746, Christian
148 2008-02-15 Matthias Clasen <mclasen@redhat.com>
151 * modules/other/gail/tests/Makefile.am:
152 * modules/other/gail/libgail-util/Makefile.am:
153 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
154 builds. (#516254, Yevgen Muntyan)
156 2008-02-15 Matthias Clasen <mclasen@redhat.com>
161 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
162 instead of hardcoded target tables. (#516092, Christian Persch)
164 2008-02-15 Matthias Clasen <mclasen@redhat.com>
166 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
167 add the same target atom twice. (#516087, Christian Persch)
169 2008-02-15 Matthias Clasen <mclasen@redhat.com>
171 * tests/testfilechooser.c: Add a --backend option.
172 (#516073, Christian Persch)
174 2008-02-16 Richard Hult <richard@imendio.com>
176 * gdk/quartz/gdkprivate-quartz.h:
177 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
180 2008-02-15 Matthias Clasen <mclasen@redhat.com>
182 * configure.in: Go back to 2.13.0 as version for now,
183 as there was no consensus to do the jump.
185 * many other places: Update Since: tags.
187 2008-02-15 Matthias Clasen <mclasen@redhat.com>
189 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
191 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
193 2008-02-15 Richard Hult <richard@imendio.com>
195 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
196 instead of bounds when resizing windows.
198 2008-02-15 Matthias Clasen <mclasen@redhat.com>
200 * gdk/x11/gdkkeys-x11.c:
201 * gdk/x11/gdkcolor-x11.c:
202 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
204 2008-02-15 Matthias Clasen <mclasen@redhat.com>
206 * gdk/x11/gdktestutils-x11.c:
207 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
209 2008-02-15 Tor Lillqvist <tml@novell.com>
211 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
212 leak Registry key handles. (#516578)
214 2008-02-14 Richard Hult <richard@imendio.com>
216 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
217 makeKeyWindow unfortunately doesn't work in all cases, we must use
218 makeKeyAndOrderFront.
220 2008-02-14 Richard Hult <richard@imendio.com>
222 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
223 (gdk_window_hide), (gdk_window_fullscreen),
224 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
225 the window is hidden.
227 2008-02-14 Richard Hult <richard@imendio.com>
229 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
230 resizing to be consistent and to avoid introducing an internal
231 transform in the view.
233 2008-02-14 Richard Hult <richard@imendio.com>
235 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
238 2008-02-14 Johan Dahlin <johan@gnome.org>
241 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
243 2008-02-13 Richard Hult <richard@imendio.com>
245 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
246 Remove unused variables.
247 (gtk_clipboard_set_contents),
248 (gtk_clipboard_get_owner), (clipboard_unset),
249 (gtk_clipboard_request_targets): Notify the previous clipboard
250 owner when the owner changes. Fixes bug #493406.
252 2008-02-13 Richard Hult <richard@imendio.com>
254 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
255 the return value (return number of colors that failed), and handle
257 (gdk_colormap_free_colors): Fix typo in comment.
259 2008-02-13 Kristian Rietveld <kris@imendio.com>
261 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
262 queue a redraw if the rubber banding has actually been active.
264 2008-02-12 Matthias Clasen <mclasne@redhat.com>
266 * gtk/gtkpapersize.c:
267 * gtk/gtkprintoperation.c:
268 * gtk/gtkvolumebutton.c:
269 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
270 out by Behdad Esfahbod.
272 2008-02-12 Federico Mena Quintero <federico@novell.com>
274 Merged from gtk-2-12:
276 Don't focus the file list when shortcuts get activated. This
277 removes a lot of ambiguity in when the file selection should
278 change, and makes the overall code flow simpler.
280 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
281 file/save dialog clears the filename entry when changing
284 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
285 focus should not go to the file list when a shortcut is activated.
287 * gtk/gtkfilechooserdefault.c
288 (shortcuts_activate_volume_mount_cb): Don't focus the file list
289 (shortcuts_activate_get_info_cb): Likewise.
291 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
292 the file list (this was the last place where we would focus the
293 file list explicitly). If you are in the location entry, for
294 example, you don't want Alt-Home to take you to the file list; you
295 just want the current folder to change. Thanks to Olle Bergkvist
296 <olle.bergkvist@yahoo.se> for pointing this out in
297 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
298 (focus_browse_tree_view_if_possible): Removed.
300 2008-02-12 Matthias Clasen <mclasen@redhat.com>
302 Skip exensions when selecting filenames in the save-as dialog.
303 (#362516, Carlos Garnacho)
305 * gtk/gtkfilechooserentry.h:
306 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
307 New function to skip the extension part when selecting a filename.
308 (_gtk_file_chooser_entry_set_base_folder): Use it here.
310 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
313 2008-02-12 Matthias Clasen <mclasen@redhat.com>
315 * gtk/gtkiconview.c: Fix state change reporting for
316 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
318 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
320 * gtk/gtkrecentchooser.c:
321 (gtk_recent_chooser_class_init): Set the default value of the
322 :show-not-found property to TRUE, as every implementation sets
325 * gtk/gtkrecentchooserdefault.c:
326 (_gtk_recent_chooser_default_init): Sync show_tips to the
327 default value of the :show-tips property.
329 2008-02-12 Matthias Clasen <mclasen@redhat.com>
331 * gtk/gtkclipboard-quartz.c:
333 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
336 2008-02-12 Kristian Rietveld <kris@imendio.com>
338 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
339 (gtk_tree_view_real_toggle_cursor_row): guard against people
340 deleting the row in question in the selection-changed callback.
341 (#514621, Andreas Koehler).
343 2008-02-12 Matthias Clasen <mclasen@redhat.com>
345 * gtk/*.c: Unify the handling of various "Enter" keysyms
346 all over the place. (#515047, Christian Persch)
348 2008-02-12 Matthias Clasen <mclasen@redhat.com>
350 * gtk/gtkfilesystemmodel.c:
352 * gtk/gtkwidget.c: Use g_value_set_static_string() where
353 appropriate. (#515042, Christian Persch)
355 2008-02-12 Matthias Clasen <mclasen@redhat.com>
357 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
359 2008-02-12 Matthias Clasen <mclasen@redhat.com>
361 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
363 2008-02-12 Matthias Clasen <mclasen@redhat.com>
365 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
366 (recent_model_sort_drag_data_get):
367 (search_model_sort_drag_data_get):
368 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
369 * gtk/gtkpathbar.c (button_drag_data_get_cb):
370 Use gtk_selection_data_set_uris() instead of doing it
371 by hand. (#514890, Christian Persch)
373 2008-02-12 Michael Natterer <mitch@imendio.com>
375 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
376 gtk_get_current_event_time().
378 2008-02-12 Michael Natterer <mitch@imendio.com>
380 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
381 gtk_window_get_key_hash() to get the hash instead of manually
382 fiddling with quarks and gtk_window_keys_changed(). Also add
383 g_return_if_fail() to this public function.
385 2008-02-11 Matthias Clasen <mclasen@redhat.com>
387 Support keynav in status icons. (#473786, Li Yuan)
389 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
391 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
393 2008-02-11 Kristian Rietveld <kris@imendio.com>
395 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
396 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
397 wrt. link deletion from list; contination of fix for #503569.
399 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
401 * gtk/gtkrecentchoosermenu.c:
402 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
403 on the placeholder menu item.
405 * tests/testrecentchoosermenu.c:
406 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
407 whether the placeholder menu item gets shown.
409 2008-02-10 Cody Russell <bratsche@gnome.org>
411 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
412 Check the return value of _gtk_file_chooser_get_file_system () for
413 NULL before passing it to gtk_file_system_path_to_uri ().
414 (#515667, Francesco Montorsi)
416 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
418 * gtk/gtkbuilder.c: Improve the documentation for
419 gtk_builder_connect_signals. (#514471)
421 2008-02-10 Matthias Clasen <mclasen@redhat.com>
423 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
426 2008-02-08 Cody Russell <bratsche@gnome.org>
428 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
429 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
431 2008-02-08 Richard Hult <richard@imendio.com>
433 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
434 delta from the NSEvent for now, generating multiple scroll events
435 results in a lot of events getting queued up and things get really
438 2008-02-08 Sven Herzberg <sven@imendio.com>
440 Adjust the code to match the documentation, examples, "common sense"
441 and existing applications.
443 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
444 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
447 2008-02-07 Cody Russell <bratsche@gnome.org>
449 * gdk/win32/gdkevents-win32.c
450 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
451 of a block that were causing compile problems on old
452 compilers. (#515053, reported by Kazuki IWAMOTO)
454 2008-02-07 Michael Natterer <mitch@imendio.com>
463 * gtk/gtkoptionmenu.c
467 * gtk/gtkradiomenuitem.c
469 * gtk/gtkscrolledwindow.c
470 * gtk/gtksocket.c: remove g_return_if_fail() from private
471 functions and virtual function implementations.
473 2008-02-07 Michael Natterer <mitch@imendio.com>
480 * gtk/gtkcellrenderercombo.c
483 * gtk/gtkdrawingarea.c
484 * gtk/gtkentrycompletion.c
490 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
491 functions and virtual function implementations.
493 2008-02-07 Christian Persch <chpe@gnome.org>
495 * gdk/gdkpixbuf-render.c:
496 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
497 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
498 otherwise there will be random pixel values in the semi-transparent
499 area of the pixbuf within the mask. Bug #487865.
501 2008-02-06 Cody Russell <bratsche@gnome.org>
503 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
504 otherwise things get wonky when you click on a menu. This fixes
505 a regression caused in #505928. Thanks to Tor for spotting this
508 2008-02-06 Michael Natterer <mitch@imendio.com>
519 * gtk/gtkseparatortoolitem.c
521 * gtk/gtktextlayout.c
522 * gtk/gtktoggletoolbutton.c
523 * gtk/gtktoolbutton.c
526 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
529 2008-02-05 Matthias Clasen <mclasen@redhat.com>
531 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
532 Allow to store half-open ranges.
534 2008-02-05 Cody Russell <bratsche@gnome.org>
536 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
537 down the stack until we get to a window that is mapped.
538 Otherwise hiding a window will cause all windows in the app
539 to be blocked. (#514643)
541 2008-02-05 Matthias Clasen <mclasen@redhat.com>
543 * gtk/updateiconcache.c: Ignore images in the toplevel theme
544 directory, avoiding one source of invalid caches that has been
547 2008-02-05 Matthias Clasen <mclasen@redhat.com>
549 * gtk/updateiconcache.c: Fix the previous commit to compile.
551 2008-02-05 Matthias Clasen <mclasen@redhat.com>
553 * gtk/updateiconcache.c: Install a printerr handler that
554 prepends the program name, since gtk-update-icon-cache output
555 often appears in the middle of other output, e.g. rpm update logs.
557 2008-02-05 Cody Russell <bratsche@gnome.org>
559 * gdk/win32/gdkprivate-win32.h
560 * gdk/win32/gdkevents-win32.c
561 * gdk/win32/gdkwindow-win32.c
562 * gdk/win32/gdkwindow-win32.h
563 * gdk/win32/gdkwin32.h:
564 Modal window rework. (#455627 and #511111)
566 2008-02-04 Michael Natterer <mitch@imendio.com>
568 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
569 g_return_if_fail() if the cell is not part of the combo instead of
570 crashing in the next line.
572 2008-02-01 Cody Russell <cody@jhu.edu>
574 * modules/engines/ms-windows/xp_theme.[ch]
575 * modules/engines/ms-windows/xp_theme_defs.h
576 * modules/engines/ms-windows/msw_rc_style.c
577 * modules/engines/ms-windows/msw_theme_main.c
578 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
579 attempted to stylize more like the rest of the gtk+ stack's code.
581 2008-02-01 Michael Natterer <mitch@imendio.com>
583 * tests/testgtk.c: initialize GdkColor structs to fix warning
584 about uninitialized "pixel" member.
586 * tests/testactions.c: connect the toolbar_style() callback so it
587 does something useful and doesn't warn about being defined but not
590 2008-01-31 Cody Russell <bratsche@gnome.org>
592 * gdk/win32/gdkevents-win32.c:
593 Refactored some of the window hiding/showing code from
594 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
595 under WM_ACTIVATE was causing the application to go into
596 a weird state when the user right-clicked on the taskbar
597 entry of a window that was minimized. (#505928)
599 2008-01-31 Cody Russell <bratsche@gnome.org>
601 * gtk/gtkpaned.c (gtk_paned_set_position):
602 Change queue_resize() to queue_draw(), and add a check for
603 child2 != NULL in case someone calls this before there is
604 a child packed in there. (#144269 again)
606 2008-01-31 Sven Neumann <sven@gimp.org>
608 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
609 applied patch from Denis Oliver Kropp <dok@directfb.org>.
611 2008-01-31 Sven Neumann <sven@gimp.org>
613 * gdk/directfb/gdkdisplay-directfb.c
614 * gdk/directfb/gdkdrawable-directfb.c
615 * gdk/directfb/gdkprivate-directfb.h
616 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
617 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
619 2008-01-31 Richard Hult <richard@imendio.com>
621 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
622 issues with undecorated windows. Revert the change done on
623 2008-01-25 and fix it by using the view's bounds instead. The
624 bounds will always be up to date when setting up the tracking
625 rect, so this should be more robust.
627 2008-01-30 Sven Neumann <sven@gimp.org>
629 * gdk/directfb/gdkdrawable-directfb.c
630 * gdk/directfb/gdkwindow-directfb.c
631 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
632 Oliver Kropp <dok@directfb.org>. Adds debug messages using
633 DirectFB's debugging system
635 2008-01-30 Sven Neumann <sven@gimp.org>
637 * gdk/directfb/gdkdirectfb.h
638 * gdk/directfb/gdkdisplay-directfb.c
639 * gdk/directfb/gdkdrawable-directfb.c
640 * gdk/directfb/gdkim-directfb.c
641 * gdk/directfb/gdkimage-directfb.c
642 * gdk/directfb/gdkinput-directfb.c
643 * gdk/directfb/gdkmain-directfb.c
644 * gdk/directfb/gdkpixmap-directfb.c
645 * gdk/directfb/gdktestutils-directfb.c
646 * gdk/directfb/gdkvisual-directfb.c
647 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
648 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
649 errors and has some cleanups.
651 2008-01-30 Michael Natterer <mitch@imendio.com>
653 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
654 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
657 * gtk/updateiconcache.c (add_string): cast const gchar* to
658 gpointer when inserting in a GHashTable.
660 * tests/testcalendar.c (calendar_detail_cb): remove const from
661 return value since it's a newly allocated string.
663 (calendar_update_details): free the detail.
665 2008-01-29 Johan Dahlin <johan@gnome.org>
667 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
669 * demos/gtk-demo/demo.ui:
670 Move the about dialog to the glade file, add accessible tags
671 examples to the markup file.
673 2008-01-28 Paolo Borelli <pborelli@katamail.com>
675 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
676 layout, fixes #512375.
678 2008-01-28 Michael Natterer <mitch@imendio.com>
681 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
683 2008-01-28 Michael Natterer <mitch@imendio.com>
685 * demos/gtk-demo/builder.c (about_activate): use
686 gtk_about_dialog_set_program_name() instead of the deprecated
689 2008-01-28 Michael Natterer <mitch@imendio.com>
692 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
695 2008-01-26 Johan Dahlin <johan@gnome.org>
698 * tests/textbuffertest.c:
699 Rename textbuffer test and port it to the new test framework
701 2008-01-25 Johan Dahlin <johan@gnome.org>
703 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
704 unsetting of GTK_MODULES.
706 * gtk/gtk-builder-convert
707 (GtkBuilderConverter._convert_adjustment): Handle the case where
708 there is no child text node.
709 (GtkBuilderConverter): Allow xml comments in most places.
711 2008-01-25 Johan Dahlin <johan@gnome.org>
713 * gtk/gtk-builder-convert
714 (GtkBuilderConverter._convert_combobox_items): Remove the items
715 even if there are no items set.
716 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
717 signals and tooltips for all menu items subclasses and
718 GtkImageMenuItem:label.
719 Makes it possible to fully convert and run Jokosher.glade.
721 2008-01-25 Johan Dahlin <johan@gnome.org>
723 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
724 (gtk_widget_buildable_get_internal_child), (free_action),
725 (free_relation), (gtk_widget_buildable_parser_finished),
726 (accessibility_start_element),
727 (gtk_widget_buildable_custom_tag_start),
728 (gtk_widget_buildable_custom_finished):
729 Implement accessible support, fixes #454653.
731 * gtk/gtk-builder-convert:
732 Add support for migrating old glade files
734 * tests/buildertest.c: (test_widget), (test_file):
735 Add accessible tests and imprve the test_file function to display
736 toplevels and run dialogs.
738 2008-01-25 Richard Hult <richard@imendio.com>
740 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
741 didn't change, fixes focus event issues for undecorated windows.
743 2008-01-25 Richard Hult <richard@imendio.com>
745 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
746 const and remove unused variables).
748 2008-01-25 Michael Natterer <mitch@imendio.com>
751 * gtk/gtkcellrenderer.h
756 * gtk/gtktreeprivate.h
757 * gtk/gtktreeviewcolumn.h
758 * gtk/gtkwidget.h: add const to constant structs which are passed
759 into GTK+. Also add some forgotten const for const strings.
763 * gtk/gtkcellrenderer.c
769 * gtk/gtktreeviewcolumn.c
770 * gtk/gtkwidget.c: changed accordingly.
772 2008-01-25 Sven Herzberg <sven@imendio.com>
774 Reviewed by Johan Dahlin.
776 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
777 this is called with something that's not a GtkUIManager
779 2008-01-24 Johan Dahlin <johan@gnome.org>
781 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
782 Chain up to parent, so widgets can have internal children.
784 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
786 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
789 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
791 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
793 Use pango_layout_set_height() for calendar details (#506049).
795 * configure.in: Require 1.19.3 for pango_layout_set_height().
796 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
798 2008-01-18 Johan Dahlin <johan@gnome.org>
800 * gtk/gtk-builder-convert (get_property_node): New method
801 (GtkBuilderConverter._create_object): Conditionally take a node as
802 a property value, so don't lose translate/context attributes if they
804 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
805 property values instead of strings.
806 (#509153, Erik van Pienbroek)
808 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
810 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
812 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
813 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
814 * tests/testcalendar.c: Duplicate calendar details before returning.
816 2008-01-16 Christian Persch <chpe@gnome.org>
818 * gtk/gtkwidget.c: Store the event mask and extension event mode
819 directly in the gobject data pointer, instead of in an allocated
822 2008-01-16 Michael Natterer <mitch@imendio.com>
824 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
825 gdk-pixbuf now uses gio functions.
827 2008-01-16 Matthias Clasen <mclasen@redhat.com>
829 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
830 the notify::model signal. (#509819, David Zeuthen)
832 2008-01-15 Michael Natterer <mitch@imendio.com>
840 * gdk/gdkwindow.h: made more struct pointer and array parameters
841 const. GDK should now be constified as far as possible without
842 breaking source compatibility. Includes some minor cleanup like
843 indentation and s/nfoo/n_foo/ (bug #508544).
849 * gdk/gdkregion-generic.c
851 * gdk/directfb/gdkdisplay-directfb.c
852 * gdk/directfb/gdkwindow-directfb.c
853 * gdk/quartz/gdkdisplay-quartz.c
854 * gdk/quartz/gdkwindow-quartz.c
855 * gdk/win32/gdkdisplay-win32.c
856 * gdk/win32/gdkwindow-win32.c
857 * gdk/x11/gdkdisplay-x11.c
858 * gdk/x11/gdkwindow-x11.c: changed accordingly.
860 2008-01-14 Michael Natterer <mitch@imendio.com>
862 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
865 (gtk_rc_parse_any): change variables to const and introduce
866 another local variable to fix const warnings.
868 2008-01-14 Michael Natterer <mitch@imendio.com>
870 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
871 of gdk_screen_get_font_options() to gpointer to get rid of const
874 2008-01-14 Michael Natterer <mitch@imendio.com>
876 * tests/testdnd.c (source_drag_data_get): fix another call to
877 gtk_selection_data_set().
879 2008-01-14 Michael Natterer <mitch@imendio.com>
881 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
884 2008-01-14 Michael Natterer <mitch@imendio.com>
886 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
888 2008-01-14 Michael Natterer <mitch@imendio.com>
890 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
891 "uris" to guchar* when passing it to gtk_selection_data_set().
893 2008-01-14 Michael Natterer <mitch@imendio.com>
901 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
902 parameters const (bug #508544).
908 * gdk/gdkpolyreg-generic.c
909 * gdk/gdkregion-generic.c
910 * gdk/directfb/gdkcolor-directfb.c
911 * gdk/directfb/gdkgc-directfb.c
912 * gdk/directfb/gdkgeometry-directfb.c
913 * gdk/directfb/gdkwindow-directfb.c
914 * gdk/quartz/gdkcolor-quartz.c
915 * gdk/quartz/gdkgc-quartz.c
916 * gdk/quartz/gdkgeometry-quartz.c
917 * gdk/quartz/gdkwindow-quartz.c
918 * gdk/win32/gdkcolor-win32.c
919 * gdk/win32/gdkgc-win32.c
920 * gdk/win32/gdkgeometry-win32.c
921 * gdk/win32/gdkprivate-win32.h
922 * gdk/win32/gdkwindow-win32.c
923 * gdk/x11/gdkcolor-x11.c
924 * gdk/x11/gdkgc-x11.c
925 * gdk/x11/gdkgeometry-x11.c
926 * gdk/x11/gdkmain-x11.c
927 * gdk/x11/gdkprivate-x11.h
928 * gdk/x11/gdkwindow-x11.c: changed accordingly.
930 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
933 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
935 Explain name choice for gtk_tool_item_toolbar_reconfigured.
937 * gtk/gtktoolitem.c: Add comment expaining name choice for
938 gtk_tool_item_toolbar_reconfigured.
940 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
942 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
943 implementations to notify its children, when some aspect of their
944 configuration changed (#509042).
946 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
947 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
948 Rename _gtk_tool_item_toolbar_reconfigured.
950 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
952 Include <gtk/gtktoolshell.h> from gtk.h.
954 * gtk/gtk.h: Add gtktoolshell.h
956 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
958 Print angle brackets arround e-mail addresses in the about dialog
959 (#409520, Mariano Suárez-Alvarez).
961 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
963 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
965 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
966 special casing so test widgets are always queues for destruction
969 * gtk/tests/testing.c: removed bits left-over from testing without
972 2008-01-10 Tor Lillqvist <tml@novell.com>
974 * modules/other/gail/libgail-util/Makefile.am
975 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
978 2008-01-10 Tor Lillqvist <tml@novell.com>
980 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
981 uses gtkprintunixdialog API.
983 2008-01-10 Tor Lillqvist <tml@novell.com>
985 * gdk/win32/gdkdisplay-win32.c
986 * gdk/win32/gdkglobals-win32.c
987 * gdk/win32/gdkprivate-win32.h
988 * gdk/win32/gdkscreen-win32.c
989 * gdk/win32/gdkwindow-win32.c: Implement
990 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
991 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
994 2008-01-10 Cody Russell <bratsche@gnome.org>
996 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
997 Properly ref/unref windows and parents. (#506769)
999 2008-01-10 Richard Hult <richard@imendio.com>
1001 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1002 (gdk_window_hide), (move_resize_window_internal): Move the
1003 tracking rect workaround from here...
1005 * gdk/quartz/GdkQuartzWindow.c:
1006 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1007 movements during showing/hiding operations. Fixes bug #508516.
1009 2008-01-10 Michael Natterer <mitch@imendio.com>
1011 * gdk/directfb/gdkscreen-directfb.c
1012 (gdk_screen_get_monitor_width_mm)
1013 (gdk_screen_get_monitor_height_mm)
1014 (gdk_screen_get_monitor_plug_name): add these functions to make
1017 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1019 * gtk/gtkrecentchoosermenu.c:
1020 (idle_populate_func), (idle_populate_clean_up): Fix possible
1021 recursion by resetting the idle source id. (#507605, William
1024 2008-01-10 Kristian Rietveld <kris@imendio.com>
1026 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1027 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1028 avoid valgrind warnings. (#507751, patch from Christian Persch).
1030 2008-01-10 Kristian Rietveld <kris@imendio.com>
1032 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1033 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1035 2008-01-10 Kristian Rietveld <kris@imendio.com>
1037 Fix #477175, reported by Juri Pakaste.
1039 * gtk/gtktreeprivate.h:
1040 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1041 tree_view->priv->dy here directly, just calculate the new value
1042 and set it on the adjustment,
1043 (gtk_tree_view_adjustment_changed): add guards to not call
1044 gtk_tree_view_dy_to_top_row() if we are currently in
1045 gtk_tree_view_top_row_to_dy(),
1046 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1047 coordinates, not tree coordinates,
1048 (gtk_tree_view_real_start_editing): add cast.
1050 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1051 position of the editable in the "create new row and start editing"
1054 2008-01-09 Michael Natterer <mitch@imendio.com>
1056 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1059 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1060 * gtk/gtkicontheme.c (theme_list_contexts)
1061 (gtk_icon_theme_lookup_icon)
1062 * gtk/gtkimcontextsimple.c (beep_window)
1063 * gtk/gtklinkbutton.c (set_link_color)
1064 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1067 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1068 variable and add const to another to fix a warning.
1070 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1072 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1073 the current page. (#499951, Andreas Sandberg)
1075 2008-01-06 Johan Dahlin <johan@gnome.org>
1077 * gtk/gtkspinbutton.c: Declare value in the example code for
1078 GtkSpinButton::output, as pointed out by Anders Carlsson.
1080 2008-01-06 Christian Persch <chpe@gnome.org>
1082 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1083 and remove an obsolete event box. Bug #506760.
1085 2008-01-06 Johan Dahlin <johan@gnome.org>
1087 * tests/buildertest.c (test_domain):
1088 Update, GtkBuilder::translation-domain is no longer set
1090 * gtk/gtkbuilderparser.c (parse_interface):
1091 Allow domains to be overridden in <interface>'s if a translation-domain
1092 is set in the builder.
1093 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1094 of the builder, make the domain set in the <interface> apply only to strings
1096 (#496831, Ryan Lortie)
1098 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1101 * gtk/gtktreestore.c (tree_model_end_element):
1102 Remove an unused variable
1104 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1106 * gtk/gtkspinbutton.c: Document the ::output signal and
1107 add an example. (#507566, example by Owen Taylor)
1109 2008-01-06 Johan Dahlin <johan@gnome.org>
1111 * gtk/gtkcellrenderercombo.c:
1112 (gtk_cell_renderer_combo_get_property),
1113 (gtk_cell_renderer_combo_set_property):
1114 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1115 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1116 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1117 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1118 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1119 (gtk_text_buffer_get_property):
1120 * gtk/gtktextview.c: (gtk_text_view_set_property):
1121 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1122 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1123 (gtk_tool_button_get_property):
1124 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1125 (gtk_tool_item_get_property):
1126 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1127 * gtk/gtkwidget.c: (gtk_widget_set_property):
1128 * gtk/gtkwindow.c: (gtk_window_set_property):
1129 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1132 2008-01-06 Johan Dahlin <johan@gnome.org>
1134 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1135 Make sure that --root works for toplevel widgets.
1136 (#491847, Phil Lello)
1138 2008-01-05 Johan Dahlin <johan@gnome.org>
1140 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1141 to make sure that make test-report works properly
1143 2008-01-05 Christian Persch <chpe@gnome.org>
1145 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1146 GType as integer through gpointer. Bug #507395.
1148 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1150 Avoid some compiler warnings (#507000).
1152 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1153 for value argument of _gtk_builder_flags_from_string.
1154 * gtk/gtkwidget.c: Don't alias the child pointer passed
1155 to gdk_window_get_user_data.
1157 2008-01-04 Michael Natterer <mitch@imendio.com>
1159 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1160 to set the time in the returned GdkTimeCoords.
1162 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1164 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1165 correct comparison function (kudos to Christian Persch and
1166 Claudio Saavedra for spotting this)
1168 * gtk/gtkrecentchooserutils.c:
1169 (sort_recent_items_mru),
1170 (sort_recent_items_lru): Ditto as above.
1172 2008-01-03 Johan Dahlin <johan@gnome.org>
1174 * tests/defaultvaluetest.c: Make it pass again.
1176 2008-01-02 Johan Dahlin <johan@gnome.org>
1178 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1179 make it pass on Ubuntu.
1180 (main): Use gtk_test_list_all_types () instead of providing our
1182 And it no longer passes.
1184 2007-12-30 Johannes Schmid <jhs@gnome.org>
1186 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1187 Also reorder menu when reordering tabs by drag & drop
1190 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1191 Add a menu to one of the notebooks to have a test-case for
1192 the change mentioned above.
1194 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1196 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1198 2007-12-31 Christian Persch <chpe@gnome.org>
1200 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1201 Plug a mem leak. Bug #506107.
1203 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1205 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1206 icon cache api change. (#506135, Kazuki Iwamoto)
1208 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1210 Consider "wide-separators" and "separator-height" style properties:
1211 The separator is drawn using gtk_paint_box instead of cairo, when
1212 "wide-separators" is set. Also do not highlight details for previous
1213 or next month, if their day matches the selected day. (#339540)
1215 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1216 in gtk_calendar_size_request and calendar_paint_day
1217 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1218 for selected detail separators in GtkCalendar.
1220 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1222 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1224 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1225 a local variable instead in gtk_calendar_size_request.
1227 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1229 * tests/defaultvaluetest.c: Add enough exclusions to make the
1232 2007-12-28 Christian Persch <chpe@gnome.org>
1234 * modules/other/gail/Makefile.am:
1235 * modules/other/gail/tests/*:
1236 * configure.in: Merge tests from standalone gail. Bug #504568.
1238 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1240 * gtk/gtkclipboard.c: Make the finalizer work when display is
1243 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1245 Draw bottom shadow of GtkCalender headings. (#506113)
1247 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1249 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1251 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1254 2007-12-28 Christian Persch <chpe@gnome.org>
1256 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1257 a mem leak. Bug #506096.
1259 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1262 * gtk/gtktreeview.c:
1263 * gtk/gtkprintoperation.c:
1264 * gtk/gtkprogressbar.c:
1265 * gtk/gtkmessagedialog.c:
1266 * gtk/gtknotebook.c:
1270 * gtk/gtklinkbutton.c:
1271 * gtk/gtkmenu.c: More default property value corrections.
1273 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1275 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1276 accel_group unless it is set.
1278 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1280 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1282 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1284 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1285 shadow-type properties.
1287 * gtk/gtkfontsel.c: Fix the default values of several properties.
1289 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1292 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1294 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1297 2007-12-28 Johan Dahlin <johan@gnome.org>
1299 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1300 (gtk_dialog_buildable_custom_tag_start): Chain up.
1301 This makes it possible to have accelerators tags on GtkDialog
1304 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1306 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1307 are shown within the widget, or just as tooltip. (#339540)
1309 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1310 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1311 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1314 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1316 Try more decent appearance of calendar details separator. (#339540)
1318 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1319 and make it short by one pixel on each side.
1321 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1323 Apply trivial code-style changes from attachement 101101. (#339540)
1325 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1327 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1329 Restructure testcalendar for testing calendar details. (#339540)
1331 * tests/testcalendar.c: Push code arround for testing calendar details.
1333 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1335 Implement GtkTooltip API for calendar details. (#339540)
1337 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1338 Remember detail overflows in calendar_paint_day to show the tooltip
1339 only when neccessary.
1341 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1343 Without setting "detail-width-chars" and "detail-height-rows"
1344 properties not only the widget has to be redrawn on certain
1345 conditions, but also its size must be recalculated. (#339540)
1347 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1348 that function instead of gtk_widget_queue_draw.
1350 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1352 Consider details for size-request and expose-event. (#339540)
1354 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1355 is_color_attribute functions. Change gtk_calendar_size_request
1356 and calendar_paint_day to consider and show calender details.
1358 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1360 * gtk/gtkcombobox.c: Introduce local priv variables to
1363 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1365 * gtk/gtkcombobox.c: Correct the default value for the
1366 tearoff-title property.
1368 * gtk/gtkcellrenderertext.c: Fix the default value for the
1369 wrap-mode and font-scale properties.
1371 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1374 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1376 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1377 defines. (#505708, MINAMI Hirokazu)
1379 2007-12-27 Christian Persch <chpe@gnome.org>
1381 * Makefile.am: Install gail.pc. Bug #505859.
1383 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1385 Add infrastructure for GtkCalendar details. (#339540)
1387 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1388 Add "detail-width-chars" and "detail-height-rows" properties,
1389 and gtk_calendar_set_detail_func function.
1391 2007-12-27 Xan Lopez <xan@gnome.org>
1394 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1396 Add gtk_border_new to avoid memory allocator confusions when using
1397 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1399 2007-12-27 Christian Persch <chpe@gnome.org>
1401 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1402 bug #504886 not to read unitialised memory.
1404 2007-12-26 Xan Lopez <xan@gnome.org>
1406 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1407 modification of the internal frame contents to decide if we have
1408 extra children. (#415677)
1410 2007-12-22 Christian Persch <chpe@gnome.org>
1412 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1414 2007-12-25 Christian Persch <chpe@gnome.org>
1416 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1417 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1420 2007-12-25 Christian Persch <chpe@gnome.org>
1422 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1424 2007-12-25 Christian Persch <chpe@gnome.org>
1426 * modules/other/gail/*.[ch]: Remove relocations from the atk
1427 factories. Remove unused gail_foo_new() functions. Fix object
1428 instantiation to be derivation safe by moving initialisation code
1429 from the removed gail_foo_new() functions to the
1430 AtkObjectClass::initialize implementation. Bug #505226.
1432 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1434 * modules/other/gail/gailentry.c:
1435 * modules/other/gail/gailimage.c:
1436 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1437 uses of clipboards and settings. (#504722, Christian Persch)
1439 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1441 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1444 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1446 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1447 use the time and button information from the event. (#504901,
1450 2007-12-23 Cody Russell <bratsche@gnome.org>
1452 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1453 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1454 Fixes a regression caused by #164537 patch where transient
1455 windows that are hidden get shown (incorrectly) when their
1456 parents are minimized. (#504984)
1458 2007-12-22 Christian Persch <chpe@gnome.org>
1460 * modules/other/gail/gailcell.c:
1461 * modules/other/gail/gailcontainercell.c:
1462 * modules/other/gail/gailexpander.c:
1463 * modules/other/gail/gailtextcell.c:
1464 * modules/other/gail/gailtextview.c:
1465 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1467 2007-12-22 Christian Persch <chpe@gnome.org>
1469 * modules/other/gail/*.c: Include config.h. Bug #504720.
1471 2007-12-22 Christian Persch <chpe@gnome.org>
1473 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1474 handwritten get_type functions. Bug #504661.
1476 2007-12-23 Xan Lopez <xan@gnome.org>
1478 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1479 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1481 Patch by Sadrul Habib Chowdhury (#504804)
1483 2007-12-22 Christian Persch <chpe@gnome.org>
1485 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1486 #504645, patch by Li Yuan.
1488 2007-12-22 Christian Persch <chpe@gnome.org>
1490 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1492 2007-12-22 Christian Persch <chpe@gnome.org>
1494 * modules/other/gail/gail.c:
1495 * modules/other/gail/gailbutton.c:
1496 * modules/other/gail/gailcell.c:
1497 * modules/other/gail/gailcombo.c:
1498 * modules/other/gail/gailcombo.h:
1499 * modules/other/gail/gailcombobox.c:
1500 * modules/other/gail/gailentry.c:
1501 * modules/other/gail/gailexpander.c:
1502 * modules/other/gail/gailmenuitem.c:
1503 * modules/other/gail/gailnotebook.c:
1504 * modules/other/gail/gailnotebookpage.c:
1505 * modules/other/gail/gailnotebookpage.h:
1506 * modules/other/gail/gailoptionmenu.c:
1507 * modules/other/gail/gailrange.c:
1508 * modules/other/gail/gailtextview.c:
1509 * modules/other/gail/gailtreeview.c:
1510 * modules/other/gail/gailtreeview.h:
1511 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1514 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1516 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1519 2007-12-21 Richard Hult <richard@imendio.com>
1521 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1522 Plug leak of destroyed subviews, fixes bug #504753.
1524 2007-12-20 Johan Dahlin <johan@gnome.org>
1526 * tests/Makefile.am (TEST_PROGS):
1527 * tests/defaultvaluetest.c: Add a test for default values,
1528 based on program by Christan Perch
1530 2007-12-20 Johan Dahlin <johan@gnome.org>
1532 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1533 Refactor to avoid some duplication.
1534 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1535 Fixes #504749, Yuri Pimenov
1537 2007-12-20 Kristian Rietveld <kris@imendio.com>
1539 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1540 the build work again on systems without xrandr 1.2.
1542 2007-12-20 Christian Persch <chpe@gnome.org>
1545 * modules/other/gail/libgail-util/Makefile.am:
1546 Keep the same libtool version as the standalone libgail-util had.
1549 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1551 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1553 2007-12-20 Alexander Larsson <alexl@redhat.com>
1555 * gdk/x11/gdkapplaunchcontext-x11.c:
1556 Update for gio API changes
1558 2007-12-20 Richard Hult <richard@imendio.com>
1560 * gdk/quartz/GdkQuartzWindow.c:
1561 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1562 processing events after changing the size.
1564 2007-12-20 Richard Hult <richard@imendio.com>
1566 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1567 Add stub for quartz to fix build.
1569 2007-12-20 Christian Persch <chpe@gnome.org>
1571 * modules/other/gail/Makefile.am:
1572 * modules/other/gail/gailimage.c: (gail_image_class_init),
1573 (gail_image_init), (elide_underscores), (gail_image_get_name),
1574 (atk_image_interface_init), (gail_image_finalize):
1575 * modules/other/gail/gailimage.h:
1576 R modules/other/gail/gailintl.h:
1577 * po/POTFILES.skip: Use the stock item's label as the name of the
1578 accessible in gailimage.c. Bug #504246.
1580 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1582 Avoid some compiler warnings and remove obsolete code. (#339540)
1584 * gtk/gtkcalendar.c: Change week and year variable in
1585 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1586 0" block from calendar_paint_day: The feature in question is handled
1587 few lines above. Cast data returned by gtk_selection_data_get_text()
1588 to (gchar*) in gtk_calendar_drag_data_received.
1590 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1592 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1594 2007-12-19 Johan Dahlin <johan@gnome.org>
1596 * tests/buildertest.c (test_object_properties):
1597 Add another call to gtk_builder_add_string after using
1598 delayed properties, as reported in #504393 but already
1601 2007-12-18 Christian Persch <chpe@gnome.org>
1604 * docs/reference/Makefile.am:
1605 * docs/reference/libgail-util/*:
1606 * gail-uninstalled.pc.in:
1608 * modules/Makefile.am:
1609 * modules/other/Makefile.am:
1610 * modules/other/gail/*:
1611 * modules/other/gail/libgail-util/*:
1612 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1614 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1616 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1617 * gdk/win32/gdkproperty-win32.c:
1618 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1620 * gtk/gtkimmodule.[hc]:
1621 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1622 look at the gtk-im-module setting, and listen for changes to the
1623 setting. (#502446, Akira Tagoh)
1625 2007-12-17 Kristian Rietveld <kris@imendio.com>
1627 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1628 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1629 to NULL as soon as it's destroyed. (#496546, patch from
1632 2007-12-17 Kristian Rietveld <kris@imendio.com>
1634 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1635 always determine what arrow to show if show_sort_indicator is true.
1636 (#352738, Chris Vine).
1638 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1640 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1641 Sébastien Granjoux)
1643 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1644 gtk_container_foreach in get_child_panes.
1646 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1648 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1650 Plug leak: When reordering the info in the list the old node is
1651 removed but not freed. (#503569)
1653 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1655 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1656 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1657 are deprecated since DirectFB 1.0.0. If compiling with an older
1658 version define the new type name to the old types. Fixes bug #503190.
1660 2007-12-14 Ray Strode <rstrode@redhat.com>
1662 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1663 instead of g_signal_connect_after (..., "realize", ...) as an
1664 alternative to gtk_widget_realize () (bug 503537).
1666 2007-12-14 Michael Natterer <mitch@imendio.com>
1668 * gdk/gdkinternals.h
1669 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1672 * gdk/gdkapplaunchcontext.c
1673 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1674 header already includes everything now.
1676 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1678 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1679 next stable release shall be 2.16, not 2.14 - even if disagree.
1681 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1683 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1685 Change GtkToolItem to retrieve its properties from GtkToolShell
1686 interface, instead of relying on being child of a GtkToolbar.
1689 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1690 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1691 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1692 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1693 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1694 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1695 Take section docs from template file and update them for GtkToolShell.
1696 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1697 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1699 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1701 Extract loading of GtkPageSetup and GtkPrintSettings from their
1702 *_new_*() functions and move that code into separate
1703 *_load_*() functions (#475565).
1705 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1706 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1707 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1708 Change the matching *_new_*() functions to use those functions.
1710 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1713 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1715 2007-12-14 Kristian Rietveld <kris@imendio.com>
1717 * gtk/tests/liststore.c:
1718 * gtk/tests/treestore.c: added tests for insertion functions.
1720 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1722 * Add RandR 1.2 support
1724 - New monitors_changed signal - New API to get width/height of
1725 monitors, and the name of the plug
1727 2007-12-13 Kristian Rietveld <kris@imendio.com>
1729 * gtk/tests/liststore.c:
1730 * gtk/tests/treestore.c: test the move and swap functions on a
1731 store with only one node.
1733 2007-12-13 Kristian Rietveld <kris@imendio.com>
1735 * gtk/gtktestutils.c (gtk_test_init): add a call to
1738 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1741 2007-12-13 Kristian Rietveld <kris@imendio.com>
1743 * gtk/tests/liststore.c:
1744 * gtk/tests/treestore.c: start composing tests for the list and tree
1747 * gtk/tests/treeview-scrolling.c: added automated tests for
1748 GtkTreeView's scrolling "subsystem".
1750 * gtk/tests/Makefile.am: updated; added new test programs.
1752 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1754 Make the code compile again after the GdkAppLaunchContext changes.
1756 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1757 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1759 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1761 * gdk/gdkapplaunchcontext.c: Add docs
1763 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1765 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1766 in gdk, providing startup notification. (#503203)
1768 * gdk/x11/gdkapplaunchcontext-x11.c:
1769 * gdk/win32/gdkapplaunchcontext-win32.c:
1770 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1771 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1772 parts. All but X11 are just empty stubs for now.
1775 * gdk/gdkinternals.h:
1777 * gdk/x11/Makefile.am:
1778 * gdk/win32/Makefile.am:
1779 * gdk/quartz/Makefile.am:
1780 * gdk/directfb/Makefile.am: Necessary glue.
1782 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1784 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1786 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1788 * gdk/directfb/gdktestutils-directfb.c:
1789 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1790 which adds testing functions to the DirectFB backend.
1792 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1794 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1795 Ciccani which fixes the mixing of gdk and cairo rendering.
1797 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1799 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1800 on "drag-motion" handlers. Clearify documentation for
1803 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1805 * buildertest.c: made unnecessarily exported symbols static.
1806 switched g_return_if_fail() statements in tests to assertions.
1807 special cased currently failing Widget/accesibility test to
1808 run only for g_test_thorough(), so it doesn't break make check.
1809 some coding style fixes.
1811 * Makefile.am: added buildertest to TEST_PROGS.
1813 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1815 * docs/tutorial/gtk-tut.sgml:
1816 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1818 2007-12-10 Richard Hult <richard@imendio.com>
1820 * gdk/quartz/Makefile.am:
1821 * gdk/quartz/gdkquartz.h:
1822 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1823 header (bug #405915). Also add a getter for the toplevel nswindow.
1825 2007-12-10 Richard Hult <richard@imendio.com>
1827 * gdk/quartz/gdkdrawable-quartz.c:
1828 (gdk_quartz_drawable_get_context),
1829 (gdk_quartz_drawable_release_context):
1830 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1831 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1832 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1833 used for each drawing context and in prepare, dispatch and poll
1834 with one that exists across each main loop iteration. Fixes leaks
1835 on leopard and protects against future leaks introduce when the
1836 underlying system changes again (bug #492977).
1838 2007-12-10 Richard Hult <richard@imendio.com>
1840 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1841 Fix the check for no changes to position and size.
1843 2007-12-10 Richard Hult <richard@imendio.com>
1845 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1846 sized areas at (0, 0), patch from Paul Davis.
1848 2007-12-10 Richard Hult <richard@imendio.com>
1850 * gdk/quartz/gdkprivate-quartz.h:
1851 * gdk/quartz/gdkeventloop-quartz.c:
1852 (_gdk_quartz_event_loop_get_pending),
1853 (_gdk_quartz_event_loop_check_pending),
1854 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1855 (gdk_event_check), (gdk_event_dispatch):
1856 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1857 (_gdk_events_queue): Fix a bug where we could end up trying to
1858 handle the same event more than once. Based on patch from Paul
1861 2007-12-10 Tor Lillqvist <tml@novell.com>
1863 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1866 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1868 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1869 to avoid further fallout from the fix for bug 388321.
1871 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1873 * gdk/directfb/gdkgc-directfb.c:
1874 * gdk/directfb/gdkdrawable-directfb.c:
1875 * gdk/directfb/gdkdirectfb.h:
1876 * gdk/directfb/gdkwindow-directfb.c:
1877 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1878 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1879 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1880 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1881 which are expected to improve the performance of the DirectFB backend.
1882 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1884 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1886 * gtk/gtkcontainer.c: Correct the documentation of child
1887 property getter arguments. (#501992, David Brigada)
1889 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1891 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1892 leak pixbufs. (#502250, Yevgen Muntyan)
1894 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1896 * gtk/gtkprintunixdialog.c:
1897 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1898 Print and Page Setup dialogs (#502202).
1900 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1902 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1903 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1904 of XVFB_START, since it's the GTESTER invokation that needs this.
1906 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1908 * gdk-pixbuf/gdk-pixbuf.symbols:
1910 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1911 positives in abicheck.sh
1913 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1915 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1916 GDK events generations in the DirectFB backend.
1918 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1920 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1921 set of likely unused display ids, because MacOS has no seq(1) command.
1923 2007-12-06 Richard Hult <richard@imendio.com>
1925 * gdk/quartz/gdkevents-quartz.c:
1926 (synthesize_crossing_events_for_ns_event): Fix warning when
1927 switching spaces in leopard.
1929 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1931 * tests/floatingtest.c: ported to new testing framework.
1933 * tests/Makefile.am: run floatingtest as testing framework test.
1935 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1937 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1938 timeouts and converting main loop sleeps to pending/iterate loops with
1939 very low priority async handlers. eliminate output for non-verbose
1940 tests. assert successfull subtests in all test functions. use testing
1941 framework in main().
1943 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1944 executed inside Xvfb upon make check.
1946 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1948 * tests/objecttests.c: use string comparisons for string property
1949 values and get rid of referencing symbols in array initialization.
1951 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1953 * gtk+/Makefile.decl: run tests in current dir after setting up the
1954 logging directory, so their results get properly merged into the
1957 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1958 tests to loop over registered Gdk/Gtk+ types.
1960 * gtk+/tests/objecttests.c: new test program, implements automated
1961 property tests. several properties are blacklisted because they
1962 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1963 can be used to test blacklisted properties and see which proprty failed.
1965 2007-12-04 Richard Hult <richard@imendio.com>
1967 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1968 Fully initialize the root window, fixes bug #501583.
1970 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1972 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1975 2007-12-03 Richard Hult <richard@imendio.com>
1977 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1978 Don't crash when dragging from a source that doesn't support uri
1979 lists (bug #499868, Paul Davis).
1981 2007-12-03 Richard Hult <richard@imendio.com>
1983 * gdk/quartz/gdkwindow-quartz.c:
1984 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1985 parent relative bg pixmap is set, and no parent has a bg
1986 pixmap. Fixes bug #500804.
1988 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1990 Two optimizations for icon cache lookups.
1992 * gtk/gtkiconcache.[hc]:
1993 * gtk/gtkicontheme.c: Remember the directory index for
1994 subdirectories, instead of running over the directory list
1997 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1998 chain and try it first; this helps with the the usage patterns
1999 in gtkicontheme.c, where the same icon is queried for a lot
2002 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2004 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2005 functions from header files. this should be portable across linux and
2006 Mac OS, unlike the previpous sed expression.
2008 2007-12-1 Cody Russell <bratsche@gnome.org>
2010 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2011 On Windows, queue a redraw of child2 whenever we set
2012 the pane handle position. This is unfortunately kind
2013 of hacky, but solves the visual artifacts that were
2014 occuring on at least certain types of child widgets
2015 (e.g., text views and tree views) that are inside
2016 horizontal or vertical panes. (#144269)
2018 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2020 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2022 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2024 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2027 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2029 * gtk/Makefile.am: Fix ordering of subdirs.
2031 2007-11-28 Tor Lillqvist <tml@novell.com>
2033 A proper build of GNU libintl is supposed to export the variable
2034 _nl_msg_cat_cntr. configure looks for that variable in order to
2035 recognize GNU gettext. If it sees that it is indeed GNU gettext
2036 that is used, it decides to install message catalogs in
2037 share/locale, otherwise in lib/locale. Until now on Windows I have
2038 built GTK+ against a build of GNU gettext that did not export
2039 _nl_msg_cat_cntr. But this will change, so we can't assume message
2040 catalogs are always in lib/locale.
2042 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2043 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2044 before the inclusion of gtkprivate.h so that it sees the original
2047 * gtk-zip.sh.in: Check whether the message catalogs are in
2048 share/locale or lib/locale.
2050 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2051 that the code in _gtk_get_localedir() will find the slashes.
2053 2007-11-28 Tor Lillqvist <tml@novell.com>
2055 * gtk/Makefile.am: Improve portability. The -o option is present
2056 only in newish GNU egreps. Use one more sed in the pipeline
2059 2007-11-28 Tor Lillqvist <tml@novell.com>
2061 Fix #375893, patch by Ben Hague:
2063 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2064 around GetLogicalDrives() that takes also the viewable drive
2065 restrictions in the Registry (which are usually the result of an
2066 Active Directory Group Policy) into account.
2068 (check_volumes, gtk_file_system_win32_list_volumes) Call
2069 get_viewable_logical_drives() instead of GetLogicalDrives().
2071 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2073 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2074 variables to silence valgrind. (#495124, Morten Welinder)
2076 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2078 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2079 that the construct_child function is responsible for returning a
2081 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2082 objects from constructors
2083 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2084 g_object_ref() to this construction function (it's the only
2089 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2091 * gtkbuilder.c: remove concept of root objects and just refcount
2092 all objects in the builder. Fixes #496651.
2094 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2096 * tests/buildertest.c (test_window): fix invalid free
2098 2007-11-26 Josselin Mouette <joss@malsain.org>
2100 reviewed by: Federico Mena Quintero
2102 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2103 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2104 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2105 Make the shortcuts activate with a single click. (#148828)
2106 Fix a few things affected by the change:
2107 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2108 where no shortcut is selected.
2109 - Don't activate a shortcut in the response callback.
2110 - Filter out duplicate entries in volumes and bookmarks to
2111 avoid the selection to change when reordering them with DnD.
2113 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2116 * gtk/gtknotebook.c:
2117 * gtk/gtkplugprivate.h:
2119 * gtk/gtksocketprivate.h:
2120 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2122 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2124 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2125 (#495574, Richard Hult)
2127 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2129 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2130 String change ! (#376361, Sven Neumann)
2132 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2134 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2136 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2139 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2141 * gtk/gtkassistant.c: Improve alternative button
2142 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2144 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2146 * gtk/gtkcalendar.c: Fix a theming problem with colors
2147 in GtkCalendar. (#499703, Michael Hofmann)
2149 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2151 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2153 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2155 Use templates for glib-mkenums calls instead of
2156 complicated commandlines in Makefiles. (#429910)
2158 * gdk-pixbuf/Makefile.am:
2161 * perf/Makefile.am: Use templates for glib-mkenums
2163 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2164 * gdk/gdkenumtypes.[ch].template:
2165 * gtk/gtktypebuiltings.[ch].template:
2166 * perf/typebuiltins.[ch].template: The templates
2168 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2170 * gtk/gtkfilechooserbutton.c:
2171 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2172 some compilers choke on that. (#467722)
2174 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2176 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2177 about hook setup. (#425004, Emmanuele Bassi)
2179 2007-11-26 Tor Lillqvist <tml@novell.com>
2181 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2182 monitor the window currently is on, not always the primary
2183 monitor. (#463865, Tim Evans)
2185 2007-11-26 Tor Lillqvist <tml@novell.com>
2187 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2189 * gdk/win32/Makefile.am: Add it.
2191 2007-11-26 Tor Lillqvist <tml@novell.com>
2193 * configure.in: Don't add jasper to all_loaders if no libjasper.
2195 2007-11-25 Bastien Nocera <hadess@hadess.net>
2197 * configure.in: Add detection for libjasper, used by the
2198 gdk-pixbuf JPEG2000 loader
2200 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2202 * configure.in: Require gtk-doc 1.8
2204 * */*.c: Use gtk-doc abbreviations for examples in docs.
2206 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2208 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2211 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2213 * gtk/gtkdialog.c: Move signal and property documentation inline,
2214 fix a problem with the ::response signal docs. (#499133, Josselin
2217 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2219 * Makefile.decl: initialize automake variables EXTRA_DIST and
2220 TEST_PROGS for unconditional appending via += in other makefiles.
2221 define recursive test targets: test, test-report, perf-report,
2222 full-report, as described here:
2223 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2224 the test targets will execute Gtk+ test programs within an Xvfb session.
2226 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2228 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2229 g_test_run() to run the tests to integrate with the testing framework.
2231 * gtk/tests/Makefile.am: removed exemplary testing rules.
2233 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2234 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2235 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2236 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2237 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2238 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2239 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2240 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2241 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2242 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2243 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2244 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2245 * modules/engines/ms-windows/Theme/Makefile.am:
2246 * modules/engines/ms-windows/Makefile.am:
2247 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2248 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2249 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2250 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2251 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2252 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2253 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2255 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2257 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2258 (#485662, patch by Herbert Valerio Riedel)
2260 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2262 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2264 2007-11-21 Richard Hult <richard@imendio.com>
2266 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2267 stubs for the testing functions to fix the build.
2269 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2271 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2272 (#467711, The Written Word)
2274 2007-11-21 Ross Burton <ross@openedhand.com>
2276 * gdk/x11/gdksettings.c:
2277 Add xsetting for gtk-scrolled-window-placement (#458103).
2279 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2281 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2282 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2283 (#469239, Michael Natterer)
2285 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2287 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2288 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2289 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2290 (#436536, Tommi Komulainen)
2292 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2294 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2295 property. (#489782, Jan Janech)
2297 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2299 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2300 frames. (#107398, Owen Taylor, Miguel Gomez)
2302 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2304 Moved Gdk test functions from Gtk+ to Gdk test utils.
2306 * gdk/Makefile.am: added gdktestutils.h to public includes.
2308 * gdk/gdk.h: added gdktestutils.h to public includes.
2310 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2311 gdk_test_render_sync.
2313 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2314 gdk_test_simulate_key, gdk_test_render_sync.
2316 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2318 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2319 gdk_test_simulate_key, gdk_test_render_sync.
2321 * gtk/gtktestutils.c:
2322 * gtk/gtktestutils.h:
2323 * gtk/gtk.symbols: removed gtk_test_simulate_button
2324 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2326 * gtk/tests/testing.c: call gdk_test_render_sync.
2328 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2330 Added unit tests for Gtk+ testing utilities.
2332 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2333 utility functions. some g_test_* related portions are disabled and need
2334 to be enabled once Gtk+ depends on a new glib with the GLib testing
2335 framework integrated.
2337 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2338 added exemplary test rules to run tests inside Xvfb. this needs to depend
2339 on gtester for full fledged testing.
2341 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2342 collecting _get_type functions to catch e.g. gtk_text_get_type().
2344 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2346 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2348 Added Gtk+ testing utilities.
2350 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2351 for the most part, the functions herein involve navigating and interacting
2352 with dialog elements programatically, to automate user interaction tests of
2353 dialogs and widgets.
2355 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2357 * gtk/gtk.symbols: added gtk_test_* symbols.
2359 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2360 generate gtktypefuncs.c which contains a list of all _get_type functions in
2362 2007-11-20 Bastien Nocera <hadess@hadess.net>
2364 * configure.in: add support for conditional icns gdk-pixbuf loader
2367 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2369 * configure.in: updated version number to 2.15.0 for development.
2371 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2373 === Branch for 2.12 ===