1 2008-02-21 Tor Lillqvist <tml@novell.com>
3 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
4 pass the format string to strftime in the C library's locale's
5 charset, not the system's. Correspondingly, the return value from
6 strftime() is in the C library's locale's charset. (#509885)
8 2008-02-20 Richard Hult <richard@imendio.com>
10 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
11 the right window level and shadow after recreating the window.
13 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
14 necessary after drawing (bug #517338).
16 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
18 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
19 call to g_type_class_unref in case of error. (#517563)
21 2008-02-18 Sven Neumann <sven@gimp.org>
23 * gtk/Makefile.am (STOCK_ICONS)
24 * gtk/stock-icons/16/gtk-page-setup.png
25 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
26 taken from GNOME icon theme.
28 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
30 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
32 * configure.in: Added Kannada (kn) to ALL_LINGUAS
34 2008-02-17 Johan Dahlin <johan@gnome.org>
36 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
37 When converting a stock item based on the label, remove the label property.
39 2008-02-17 Richard Hult <richard@imendio.com>
41 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
42 position after showing the window since the window manager might
43 not place it where we requested in the first places.
45 2008-02-17 Richard Hult <richard@imendio.com>
47 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
48 (_gdk_quartz_window_detach_from_parent),
49 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
50 the toplevel ordering list in all places where the order is
51 potentially changed. Fixes mouse focus issues for windows with
52 a transient parent set.
54 2008-02-17 Richard Hult <richard@imendio.com>
56 * gdk/quartz/gdkevents-quartz.c
57 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
58 window when event debugging is enabled.
60 2008-02-16 Richard Hult <richard@imendio.com>
62 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
63 to the scroll event (bug #516757, Paul Davis).
65 2008-02-16 Matthias Clasen <mclasen@redhat.com>
69 2008-02-16 Matthias Clasen <mclasen@redhat.com>
71 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
74 2008-02-15 Matthias Clasen <mclasen@redhat.com>
76 * gdk/Makefile.am: Don't install private headers. (#463510)
78 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
79 the installed header gdkprivate.h.
81 2008-02-15 Matthias Clasen <mclasen@redhat.com>
83 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
84 a crash with hidden, reorderable tabs. (#513230,
85 Mike Massonnet, patch by Carlos Garnacho)
87 2008-02-15 Matthias Clasen <mclasen@redhat.com>
89 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
90 Warn on duplicate action group names. (#501746, Christian
93 2008-02-15 Matthias Clasen <mclasen@redhat.com>
96 * modules/other/gail/tests/Makefile.am:
97 * modules/other/gail/libgail-util/Makefile.am:
98 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
99 builds. (#516254, Yevgen Muntyan)
101 2008-02-15 Matthias Clasen <mclasen@redhat.com>
106 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
107 instead of hardcoded target tables. (#516092, Christian Persch)
109 2008-02-15 Matthias Clasen <mclasen@redhat.com>
111 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
112 add the same target atom twice. (#516087, Christian Persch)
114 2008-02-15 Matthias Clasen <mclasen@redhat.com>
116 * tests/testfilechooser.c: Add a --backend option.
117 (#516073, Christian Persch)
119 2008-02-16 Richard Hult <richard@imendio.com>
121 * gdk/quartz/gdkprivate-quartz.h:
122 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
125 2008-02-15 Matthias Clasen <mclasen@redhat.com>
127 * configure.in: Go back to 2.13.0 as version for now,
128 as there was no consensus to do the jump.
130 * many other places: Update Since: tags.
132 2008-02-15 Matthias Clasen <mclasen@redhat.com>
134 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
136 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
138 2008-02-15 Richard Hult <richard@imendio.com>
140 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
141 instead of bounds when resizing windows.
143 2008-02-15 Matthias Clasen <mclasen@redhat.com>
145 * gdk/x11/gdkkeys-x11.c:
146 * gdk/x11/gdkcolor-x11.c:
147 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
149 2008-02-15 Matthias Clasen <mclasen@redhat.com>
151 * gdk/x11/gdktestutils-x11.c:
152 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
154 2008-02-15 Tor Lillqvist <tml@novell.com>
156 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
157 leak Registry key handles. (#516578)
159 2008-02-14 Richard Hult <richard@imendio.com>
161 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
162 makeKeyWindow unfortunately doesn't work in all cases, we must use
163 makeKeyAndOrderFront.
165 2008-02-14 Richard Hult <richard@imendio.com>
167 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
168 (gdk_window_hide), (gdk_window_fullscreen),
169 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
170 the window is hidden.
172 2008-02-14 Richard Hult <richard@imendio.com>
174 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
175 resizing to be consistent and to avoid introducing an internal
176 transform in the view.
178 2008-02-14 Richard Hult <richard@imendio.com>
180 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
183 2008-02-14 Johan Dahlin <johan@gnome.org>
186 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
188 2008-02-13 Richard Hult <richard@imendio.com>
190 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
191 Remove unused variables.
192 (gtk_clipboard_set_contents),
193 (gtk_clipboard_get_owner), (clipboard_unset),
194 (gtk_clipboard_request_targets): Notify the previous clipboard
195 owner when the owner changes. Fixes bug #493406.
197 2008-02-13 Richard Hult <richard@imendio.com>
199 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
200 the return value (return number of colors that failed), and handle
202 (gdk_colormap_free_colors): Fix typo in comment.
204 2008-02-13 Kristian Rietveld <kris@imendio.com>
206 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
207 queue a redraw if the rubber banding has actually been active.
209 2008-02-12 Matthias Clasen <mclasne@redhat.com>
211 * gtk/gtkpapersize.c:
212 * gtk/gtkprintoperation.c:
213 * gtk/gtkvolumebutton.c:
214 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
215 out by Behdad Esfahbod.
217 2008-02-12 Federico Mena Quintero <federico@novell.com>
219 Merged from gtk-2-12:
221 Don't focus the file list when shortcuts get activated. This
222 removes a lot of ambiguity in when the file selection should
223 change, and makes the overall code flow simpler.
225 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
226 file/save dialog clears the filename entry when changing
229 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
230 focus should not go to the file list when a shortcut is activated.
232 * gtk/gtkfilechooserdefault.c
233 (shortcuts_activate_volume_mount_cb): Don't focus the file list
234 (shortcuts_activate_get_info_cb): Likewise.
236 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
237 the file list (this was the last place where we would focus the
238 file list explicitly). If you are in the location entry, for
239 example, you don't want Alt-Home to take you to the file list; you
240 just want the current folder to change. Thanks to Olle Bergkvist
241 <olle.bergkvist@yahoo.se> for pointing this out in
242 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
243 (focus_browse_tree_view_if_possible): Removed.
245 2008-02-12 Matthias Clasen <mclasen@redhat.com>
247 Skip exensions when selecting filenames in the save-as dialog.
248 (#362516, Carlos Garnacho)
250 * gtk/gtkfilechooserentry.h:
251 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
252 New function to skip the extension part when selecting a filename.
253 (_gtk_file_chooser_entry_set_base_folder): Use it here.
255 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
258 2008-02-12 Matthias Clasen <mclasen@redhat.com>
260 * gtk/gtkiconview.c: Fix state change reporting for
261 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
263 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
265 * gtk/gtkrecentchooser.c:
266 (gtk_recent_chooser_class_init): Set the default value of the
267 :show-not-found property to TRUE, as every implementation sets
270 * gtk/gtkrecentchooserdefault.c:
271 (_gtk_recent_chooser_default_init): Sync show_tips to the
272 default value of the :show-tips property.
274 2008-02-12 Matthias Clasen <mclasen@redhat.com>
276 * gtk/gtkclipboard-quartz.c:
278 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
281 2008-02-12 Kristian Rietveld <kris@imendio.com>
283 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
284 (gtk_tree_view_real_toggle_cursor_row): guard against people
285 deleting the row in question in the selection-changed callback.
286 (#514621, Andreas Koehler).
288 2008-02-12 Matthias Clasen <mclasen@redhat.com>
290 * gtk/*.c: Unify the handling of various "Enter" keysyms
291 all over the place. (#515047, Christian Persch)
293 2008-02-12 Matthias Clasen <mclasen@redhat.com>
295 * gtk/gtkfilesystemmodel.c:
297 * gtk/gtkwidget.c: Use g_value_set_static_string() where
298 appropriate. (#515042, Christian Persch)
300 2008-02-12 Matthias Clasen <mclasen@redhat.com>
302 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
304 2008-02-12 Matthias Clasen <mclasen@redhat.com>
306 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
308 2008-02-12 Matthias Clasen <mclasen@redhat.com>
310 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
311 (recent_model_sort_drag_data_get):
312 (search_model_sort_drag_data_get):
313 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
314 * gtk/gtkpathbar.c (button_drag_data_get_cb):
315 Use gtk_selection_data_set_uris() instead of doing it
316 by hand. (#514890, Christian Persch)
318 2008-02-12 Michael Natterer <mitch@imendio.com>
320 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
321 gtk_get_current_event_time().
323 2008-02-12 Michael Natterer <mitch@imendio.com>
325 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
326 gtk_window_get_key_hash() to get the hash instead of manually
327 fiddling with quarks and gtk_window_keys_changed(). Also add
328 g_return_if_fail() to this public function.
330 2008-02-11 Matthias Clasen <mclasen@redhat.com>
332 Support keynav in status icons. (#473786, Li Yuan)
334 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
336 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
338 2008-02-11 Kristian Rietveld <kris@imendio.com>
340 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
341 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
342 wrt. link deletion from list; contination of fix for #503569.
344 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
346 * gtk/gtkrecentchoosermenu.c:
347 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
348 on the placeholder menu item.
350 * tests/testrecentchoosermenu.c:
351 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
352 whether the placeholder menu item gets shown.
354 2008-02-10 Cody Russell <bratsche@gnome.org>
356 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
357 Check the return value of _gtk_file_chooser_get_file_system () for
358 NULL before passing it to gtk_file_system_path_to_uri ().
359 (#515667, Francesco Montorsi)
361 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
363 * gtk/gtkbuilder.c: Improve the documentation for
364 gtk_builder_connect_signals. (#514471)
366 2008-02-10 Matthias Clasen <mclasen@redhat.com>
368 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
371 2008-02-08 Cody Russell <bratsche@gnome.org>
373 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
374 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
376 2008-02-08 Richard Hult <richard@imendio.com>
378 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
379 delta from the NSEvent for now, generating multiple scroll events
380 results in a lot of events getting queued up and things get really
383 2008-02-08 Sven Herzberg <sven@imendio.com>
385 Adjust the code to match the documentation, examples, "common sense"
386 and existing applications.
388 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
389 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
392 2008-02-07 Cody Russell <bratsche@gnome.org>
394 * gdk/win32/gdkevents-win32.c
395 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
396 of a block that were causing compile problems on old
397 compilers. (#515053, reported by Kazuki IWAMOTO)
399 2008-02-07 Michael Natterer <mitch@imendio.com>
408 * gtk/gtkoptionmenu.c
412 * gtk/gtkradiomenuitem.c
414 * gtk/gtkscrolledwindow.c
415 * gtk/gtksocket.c: remove g_return_if_fail() from private
416 functions and virtual function implementations.
418 2008-02-07 Michael Natterer <mitch@imendio.com>
425 * gtk/gtkcellrenderercombo.c
428 * gtk/gtkdrawingarea.c
429 * gtk/gtkentrycompletion.c
435 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
436 functions and virtual function implementations.
438 2008-02-07 Christian Persch <chpe@gnome.org>
440 * gdk/gdkpixbuf-render.c:
441 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
442 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
443 otherwise there will be random pixel values in the semi-transparent
444 area of the pixbuf within the mask. Bug #487865.
446 2008-02-06 Cody Russell <bratsche@gnome.org>
448 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
449 otherwise things get wonky when you click on a menu. This fixes
450 a regression caused in #505928. Thanks to Tor for spotting this
453 2008-02-06 Michael Natterer <mitch@imendio.com>
464 * gtk/gtkseparatortoolitem.c
466 * gtk/gtktextlayout.c
467 * gtk/gtktoggletoolbutton.c
468 * gtk/gtktoolbutton.c
471 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
474 2008-02-05 Matthias Clasen <mclasen@redhat.com>
476 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
477 Allow to store half-open ranges.
479 2008-02-05 Cody Russell <bratsche@gnome.org>
481 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
482 down the stack until we get to a window that is mapped.
483 Otherwise hiding a window will cause all windows in the app
484 to be blocked. (#514643)
486 2008-02-05 Matthias Clasen <mclasen@redhat.com>
488 * gtk/updateiconcache.c: Ignore images in the toplevel theme
489 directory, avoiding one source of invalid caches that has been
492 2008-02-05 Matthias Clasen <mclasen@redhat.com>
494 * gtk/updateiconcache.c: Fix the previous commit to compile.
496 2008-02-05 Matthias Clasen <mclasen@redhat.com>
498 * gtk/updateiconcache.c: Install a printerr handler that
499 prepends the program name, since gtk-update-icon-cache output
500 often appears in the middle of other output, e.g. rpm update logs.
502 2008-02-05 Cody Russell <bratsche@gnome.org>
504 * gdk/win32/gdkprivate-win32.h
505 * gdk/win32/gdkevents-win32.c
506 * gdk/win32/gdkwindow-win32.c
507 * gdk/win32/gdkwindow-win32.h
508 * gdk/win32/gdkwin32.h:
509 Modal window rework. (#455627 and #511111)
511 2008-02-04 Michael Natterer <mitch@imendio.com>
513 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
514 g_return_if_fail() if the cell is not part of the combo instead of
515 crashing in the next line.
517 2008-02-01 Cody Russell <cody@jhu.edu>
519 * modules/engines/ms-windows/xp_theme.[ch]
520 * modules/engines/ms-windows/xp_theme_defs.h
521 * modules/engines/ms-windows/msw_rc_style.c
522 * modules/engines/ms-windows/msw_theme_main.c
523 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
524 attempted to stylize more like the rest of the gtk+ stack's code.
526 2008-02-01 Michael Natterer <mitch@imendio.com>
528 * tests/testgtk.c: initialize GdkColor structs to fix warning
529 about uninitialized "pixel" member.
531 * tests/testactions.c: connect the toolbar_style() callback so it
532 does something useful and doesn't warn about being defined but not
535 2008-01-31 Cody Russell <bratsche@gnome.org>
537 * gdk/win32/gdkevents-win32.c:
538 Refactored some of the window hiding/showing code from
539 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
540 under WM_ACTIVATE was causing the application to go into
541 a weird state when the user right-clicked on the taskbar
542 entry of a window that was minimized. (#505928)
544 2008-01-31 Cody Russell <bratsche@gnome.org>
546 * gtk/gtkpaned.c (gtk_paned_set_position):
547 Change queue_resize() to queue_draw(), and add a check for
548 child2 != NULL in case someone calls this before there is
549 a child packed in there. (#144269 again)
551 2008-01-31 Sven Neumann <sven@gimp.org>
553 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
554 applied patch from Denis Oliver Kropp <dok@directfb.org>.
556 2008-01-31 Sven Neumann <sven@gimp.org>
558 * gdk/directfb/gdkdisplay-directfb.c
559 * gdk/directfb/gdkdrawable-directfb.c
560 * gdk/directfb/gdkprivate-directfb.h
561 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
562 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
564 2008-01-31 Richard Hult <richard@imendio.com>
566 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
567 issues with undecorated windows. Revert the change done on
568 2008-01-25 and fix it by using the view's bounds instead. The
569 bounds will always be up to date when setting up the tracking
570 rect, so this should be more robust.
572 2008-01-30 Sven Neumann <sven@gimp.org>
574 * gdk/directfb/gdkdrawable-directfb.c
575 * gdk/directfb/gdkwindow-directfb.c
576 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
577 Oliver Kropp <dok@directfb.org>. Adds debug messages using
578 DirectFB's debugging system
580 2008-01-30 Sven Neumann <sven@gimp.org>
582 * gdk/directfb/gdkdirectfb.h
583 * gdk/directfb/gdkdisplay-directfb.c
584 * gdk/directfb/gdkdrawable-directfb.c
585 * gdk/directfb/gdkim-directfb.c
586 * gdk/directfb/gdkimage-directfb.c
587 * gdk/directfb/gdkinput-directfb.c
588 * gdk/directfb/gdkmain-directfb.c
589 * gdk/directfb/gdkpixmap-directfb.c
590 * gdk/directfb/gdktestutils-directfb.c
591 * gdk/directfb/gdkvisual-directfb.c
592 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
593 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
594 errors and has some cleanups.
596 2008-01-30 Michael Natterer <mitch@imendio.com>
598 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
599 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
602 * gtk/updateiconcache.c (add_string): cast const gchar* to
603 gpointer when inserting in a GHashTable.
605 * tests/testcalendar.c (calendar_detail_cb): remove const from
606 return value since it's a newly allocated string.
608 (calendar_update_details): free the detail.
610 2008-01-29 Johan Dahlin <johan@gnome.org>
612 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
614 * demos/gtk-demo/demo.ui:
615 Move the about dialog to the glade file, add accessible tags
616 examples to the markup file.
618 2008-01-28 Paolo Borelli <pborelli@katamail.com>
620 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
621 layout, fixes #512375.
623 2008-01-28 Michael Natterer <mitch@imendio.com>
626 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
628 2008-01-28 Michael Natterer <mitch@imendio.com>
630 * demos/gtk-demo/builder.c (about_activate): use
631 gtk_about_dialog_set_program_name() instead of the deprecated
634 2008-01-28 Michael Natterer <mitch@imendio.com>
637 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
640 2008-01-26 Johan Dahlin <johan@gnome.org>
643 * tests/textbuffertest.c:
644 Rename textbuffer test and port it to the new test framework
646 2008-01-25 Johan Dahlin <johan@gnome.org>
648 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
649 unsetting of GTK_MODULES.
651 * gtk/gtk-builder-convert
652 (GtkBuilderConverter._convert_adjustment): Handle the case where
653 there is no child text node.
654 (GtkBuilderConverter): Allow xml comments in most places.
656 2008-01-25 Johan Dahlin <johan@gnome.org>
658 * gtk/gtk-builder-convert
659 (GtkBuilderConverter._convert_combobox_items): Remove the items
660 even if there are no items set.
661 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
662 signals and tooltips for all menu items subclasses and
663 GtkImageMenuItem:label.
664 Makes it possible to fully convert and run Jokosher.glade.
666 2008-01-25 Johan Dahlin <johan@gnome.org>
668 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
669 (gtk_widget_buildable_get_internal_child), (free_action),
670 (free_relation), (gtk_widget_buildable_parser_finished),
671 (accessibility_start_element),
672 (gtk_widget_buildable_custom_tag_start),
673 (gtk_widget_buildable_custom_finished):
674 Implement accessible support, fixes #454653.
676 * gtk/gtk-builder-convert:
677 Add support for migrating old glade files
679 * tests/buildertest.c: (test_widget), (test_file):
680 Add accessible tests and imprve the test_file function to display
681 toplevels and run dialogs.
683 2008-01-25 Richard Hult <richard@imendio.com>
685 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
686 didn't change, fixes focus event issues for undecorated windows.
688 2008-01-25 Richard Hult <richard@imendio.com>
690 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
691 const and remove unused variables).
693 2008-01-25 Michael Natterer <mitch@imendio.com>
696 * gtk/gtkcellrenderer.h
701 * gtk/gtktreeprivate.h
702 * gtk/gtktreeviewcolumn.h
703 * gtk/gtkwidget.h: add const to constant structs which are passed
704 into GTK+. Also add some forgotten const for const strings.
708 * gtk/gtkcellrenderer.c
714 * gtk/gtktreeviewcolumn.c
715 * gtk/gtkwidget.c: changed accordingly.
717 2008-01-25 Sven Herzberg <sven@imendio.com>
719 Reviewed by Johan Dahlin.
721 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
722 this is called with something that's not a GtkUIManager
724 2008-01-24 Johan Dahlin <johan@gnome.org>
726 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
727 Chain up to parent, so widgets can have internal children.
729 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
731 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
734 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
736 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
738 Use pango_layout_set_height() for calendar details (#506049).
740 * configure.in: Require 1.19.3 for pango_layout_set_height().
741 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
743 2008-01-18 Johan Dahlin <johan@gnome.org>
745 * gtk/gtk-builder-convert (get_property_node): New method
746 (GtkBuilderConverter._create_object): Conditionally take a node as
747 a property value, so don't lose translate/context attributes if they
749 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
750 property values instead of strings.
751 (#509153, Erik van Pienbroek)
753 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
755 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
757 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
758 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
759 * tests/testcalendar.c: Duplicate calendar details before returning.
761 2008-01-16 Christian Persch <chpe@gnome.org>
763 * gtk/gtkwidget.c: Store the event mask and extension event mode
764 directly in the gobject data pointer, instead of in an allocated
767 2008-01-16 Michael Natterer <mitch@imendio.com>
769 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
770 gdk-pixbuf now uses gio functions.
772 2008-01-16 Matthias Clasen <mclasen@redhat.com>
774 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
775 the notify::model signal. (#509819, David Zeuthen)
777 2008-01-15 Michael Natterer <mitch@imendio.com>
785 * gdk/gdkwindow.h: made more struct pointer and array parameters
786 const. GDK should now be constified as far as possible without
787 breaking source compatibility. Includes some minor cleanup like
788 indentation and s/nfoo/n_foo/ (bug #508544).
794 * gdk/gdkregion-generic.c
796 * gdk/directfb/gdkdisplay-directfb.c
797 * gdk/directfb/gdkwindow-directfb.c
798 * gdk/quartz/gdkdisplay-quartz.c
799 * gdk/quartz/gdkwindow-quartz.c
800 * gdk/win32/gdkdisplay-win32.c
801 * gdk/win32/gdkwindow-win32.c
802 * gdk/x11/gdkdisplay-x11.c
803 * gdk/x11/gdkwindow-x11.c: changed accordingly.
805 2008-01-14 Michael Natterer <mitch@imendio.com>
807 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
810 (gtk_rc_parse_any): change variables to const and introduce
811 another local variable to fix const warnings.
813 2008-01-14 Michael Natterer <mitch@imendio.com>
815 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
816 of gdk_screen_get_font_options() to gpointer to get rid of const
819 2008-01-14 Michael Natterer <mitch@imendio.com>
821 * tests/testdnd.c (source_drag_data_get): fix another call to
822 gtk_selection_data_set().
824 2008-01-14 Michael Natterer <mitch@imendio.com>
826 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
829 2008-01-14 Michael Natterer <mitch@imendio.com>
831 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
833 2008-01-14 Michael Natterer <mitch@imendio.com>
835 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
836 "uris" to guchar* when passing it to gtk_selection_data_set().
838 2008-01-14 Michael Natterer <mitch@imendio.com>
846 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
847 parameters const (bug #508544).
853 * gdk/gdkpolyreg-generic.c
854 * gdk/gdkregion-generic.c
855 * gdk/directfb/gdkcolor-directfb.c
856 * gdk/directfb/gdkgc-directfb.c
857 * gdk/directfb/gdkgeometry-directfb.c
858 * gdk/directfb/gdkwindow-directfb.c
859 * gdk/quartz/gdkcolor-quartz.c
860 * gdk/quartz/gdkgc-quartz.c
861 * gdk/quartz/gdkgeometry-quartz.c
862 * gdk/quartz/gdkwindow-quartz.c
863 * gdk/win32/gdkcolor-win32.c
864 * gdk/win32/gdkgc-win32.c
865 * gdk/win32/gdkgeometry-win32.c
866 * gdk/win32/gdkprivate-win32.h
867 * gdk/win32/gdkwindow-win32.c
868 * gdk/x11/gdkcolor-x11.c
869 * gdk/x11/gdkgc-x11.c
870 * gdk/x11/gdkgeometry-x11.c
871 * gdk/x11/gdkmain-x11.c
872 * gdk/x11/gdkprivate-x11.h
873 * gdk/x11/gdkwindow-x11.c: changed accordingly.
875 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
878 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
880 Explain name choice for gtk_tool_item_toolbar_reconfigured.
882 * gtk/gtktoolitem.c: Add comment expaining name choice for
883 gtk_tool_item_toolbar_reconfigured.
885 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
887 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
888 implementations to notify its children, when some aspect of their
889 configuration changed (#509042).
891 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
892 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
893 Rename _gtk_tool_item_toolbar_reconfigured.
895 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
897 Include <gtk/gtktoolshell.h> from gtk.h.
899 * gtk/gtk.h: Add gtktoolshell.h
901 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
903 Print angle brackets arround e-mail addresses in the about dialog
904 (#409520, Mariano Suárez-Alvarez).
906 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
908 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
910 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
911 special casing so test widgets are always queues for destruction
914 * gtk/tests/testing.c: removed bits left-over from testing without
917 2008-01-10 Tor Lillqvist <tml@novell.com>
919 * modules/other/gail/libgail-util/Makefile.am
920 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
923 2008-01-10 Tor Lillqvist <tml@novell.com>
925 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
926 uses gtkprintunixdialog API.
928 2008-01-10 Tor Lillqvist <tml@novell.com>
930 * gdk/win32/gdkdisplay-win32.c
931 * gdk/win32/gdkglobals-win32.c
932 * gdk/win32/gdkprivate-win32.h
933 * gdk/win32/gdkscreen-win32.c
934 * gdk/win32/gdkwindow-win32.c: Implement
935 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
936 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
939 2008-01-10 Cody Russell <bratsche@gnome.org>
941 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
942 Properly ref/unref windows and parents. (#506769)
944 2008-01-10 Richard Hult <richard@imendio.com>
946 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
947 (gdk_window_hide), (move_resize_window_internal): Move the
948 tracking rect workaround from here...
950 * gdk/quartz/GdkQuartzWindow.c:
951 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
952 movements during showing/hiding operations. Fixes bug #508516.
954 2008-01-10 Michael Natterer <mitch@imendio.com>
956 * gdk/directfb/gdkscreen-directfb.c
957 (gdk_screen_get_monitor_width_mm)
958 (gdk_screen_get_monitor_height_mm)
959 (gdk_screen_get_monitor_plug_name): add these functions to make
962 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
964 * gtk/gtkrecentchoosermenu.c:
965 (idle_populate_func), (idle_populate_clean_up): Fix possible
966 recursion by resetting the idle source id. (#507605, William
969 2008-01-10 Kristian Rietveld <kris@imendio.com>
971 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
972 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
973 avoid valgrind warnings. (#507751, patch from Christian Persch).
975 2008-01-10 Kristian Rietveld <kris@imendio.com>
977 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
978 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
980 2008-01-10 Kristian Rietveld <kris@imendio.com>
982 Fix #477175, reported by Juri Pakaste.
984 * gtk/gtktreeprivate.h:
985 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
986 tree_view->priv->dy here directly, just calculate the new value
987 and set it on the adjustment,
988 (gtk_tree_view_adjustment_changed): add guards to not call
989 gtk_tree_view_dy_to_top_row() if we are currently in
990 gtk_tree_view_top_row_to_dy(),
991 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
992 coordinates, not tree coordinates,
993 (gtk_tree_view_real_start_editing): add cast.
995 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
996 position of the editable in the "create new row and start editing"
999 2008-01-09 Michael Natterer <mitch@imendio.com>
1001 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1004 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1005 * gtk/gtkicontheme.c (theme_list_contexts)
1006 (gtk_icon_theme_lookup_icon)
1007 * gtk/gtkimcontextsimple.c (beep_window)
1008 * gtk/gtklinkbutton.c (set_link_color)
1009 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1012 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1013 variable and add const to another to fix a warning.
1015 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1017 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1018 the current page. (#499951, Andreas Sandberg)
1020 2008-01-06 Johan Dahlin <johan@gnome.org>
1022 * gtk/gtkspinbutton.c: Declare value in the example code for
1023 GtkSpinButton::output, as pointed out by Anders Carlsson.
1025 2008-01-06 Christian Persch <chpe@gnome.org>
1027 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1028 and remove an obsolete event box. Bug #506760.
1030 2008-01-06 Johan Dahlin <johan@gnome.org>
1032 * tests/buildertest.c (test_domain):
1033 Update, GtkBuilder::translation-domain is no longer set
1035 * gtk/gtkbuilderparser.c (parse_interface):
1036 Allow domains to be overridden in <interface>'s if a translation-domain
1037 is set in the builder.
1038 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1039 of the builder, make the domain set in the <interface> apply only to strings
1041 (#496831, Ryan Lortie)
1043 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1046 * gtk/gtktreestore.c (tree_model_end_element):
1047 Remove an unused variable
1049 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1051 * gtk/gtkspinbutton.c: Document the ::output signal and
1052 add an example. (#507566, example by Owen Taylor)
1054 2008-01-06 Johan Dahlin <johan@gnome.org>
1056 * gtk/gtkcellrenderercombo.c:
1057 (gtk_cell_renderer_combo_get_property),
1058 (gtk_cell_renderer_combo_set_property):
1059 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1060 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1061 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1062 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1063 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1064 (gtk_text_buffer_get_property):
1065 * gtk/gtktextview.c: (gtk_text_view_set_property):
1066 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1067 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1068 (gtk_tool_button_get_property):
1069 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1070 (gtk_tool_item_get_property):
1071 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1072 * gtk/gtkwidget.c: (gtk_widget_set_property):
1073 * gtk/gtkwindow.c: (gtk_window_set_property):
1074 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1077 2008-01-06 Johan Dahlin <johan@gnome.org>
1079 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1080 Make sure that --root works for toplevel widgets.
1081 (#491847, Phil Lello)
1083 2008-01-05 Johan Dahlin <johan@gnome.org>
1085 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1086 to make sure that make test-report works properly
1088 2008-01-05 Christian Persch <chpe@gnome.org>
1090 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1091 GType as integer through gpointer. Bug #507395.
1093 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1095 Avoid some compiler warnings (#507000).
1097 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1098 for value argument of _gtk_builder_flags_from_string.
1099 * gtk/gtkwidget.c: Don't alias the child pointer passed
1100 to gdk_window_get_user_data.
1102 2008-01-04 Michael Natterer <mitch@imendio.com>
1104 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1105 to set the time in the returned GdkTimeCoords.
1107 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1109 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1110 correct comparison function (kudos to Christian Persch and
1111 Claudio Saavedra for spotting this)
1113 * gtk/gtkrecentchooserutils.c:
1114 (sort_recent_items_mru),
1115 (sort_recent_items_lru): Ditto as above.
1117 2008-01-03 Johan Dahlin <johan@gnome.org>
1119 * tests/defaultvaluetest.c: Make it pass again.
1121 2008-01-02 Johan Dahlin <johan@gnome.org>
1123 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1124 make it pass on Ubuntu.
1125 (main): Use gtk_test_list_all_types () instead of providing our
1127 And it no longer passes.
1129 2007-12-30 Johannes Schmid <jhs@gnome.org>
1131 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1132 Also reorder menu when reordering tabs by drag & drop
1135 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1136 Add a menu to one of the notebooks to have a test-case for
1137 the change mentioned above.
1139 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1141 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1143 2007-12-31 Christian Persch <chpe@gnome.org>
1145 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1146 Plug a mem leak. Bug #506107.
1148 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1150 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1151 icon cache api change. (#506135, Kazuki Iwamoto)
1153 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1155 Consider "wide-separators" and "separator-height" style properties:
1156 The separator is drawn using gtk_paint_box instead of cairo, when
1157 "wide-separators" is set. Also do not highlight details for previous
1158 or next month, if their day matches the selected day. (#339540)
1160 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1161 in gtk_calendar_size_request and calendar_paint_day
1162 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1163 for selected detail separators in GtkCalendar.
1165 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1167 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1169 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1170 a local variable instead in gtk_calendar_size_request.
1172 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1174 * tests/defaultvaluetest.c: Add enough exclusions to make the
1177 2007-12-28 Christian Persch <chpe@gnome.org>
1179 * modules/other/gail/Makefile.am:
1180 * modules/other/gail/tests/*:
1181 * configure.in: Merge tests from standalone gail. Bug #504568.
1183 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1185 * gtk/gtkclipboard.c: Make the finalizer work when display is
1188 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1190 Draw bottom shadow of GtkCalender headings. (#506113)
1192 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1194 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1196 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1199 2007-12-28 Christian Persch <chpe@gnome.org>
1201 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1202 a mem leak. Bug #506096.
1204 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1207 * gtk/gtktreeview.c:
1208 * gtk/gtkprintoperation.c:
1209 * gtk/gtkprogressbar.c:
1210 * gtk/gtkmessagedialog.c:
1211 * gtk/gtknotebook.c:
1215 * gtk/gtklinkbutton.c:
1216 * gtk/gtkmenu.c: More default property value corrections.
1218 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1220 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1221 accel_group unless it is set.
1223 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1225 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1227 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1229 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1230 shadow-type properties.
1232 * gtk/gtkfontsel.c: Fix the default values of several properties.
1234 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1237 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1239 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1242 2007-12-28 Johan Dahlin <johan@gnome.org>
1244 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1245 (gtk_dialog_buildable_custom_tag_start): Chain up.
1246 This makes it possible to have accelerators tags on GtkDialog
1249 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1251 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1252 are shown within the widget, or just as tooltip. (#339540)
1254 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1255 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1256 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1259 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1261 Try more decent appearance of calendar details separator. (#339540)
1263 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1264 and make it short by one pixel on each side.
1266 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1268 Apply trivial code-style changes from attachement 101101. (#339540)
1270 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1272 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1274 Restructure testcalendar for testing calendar details. (#339540)
1276 * tests/testcalendar.c: Push code arround for testing calendar details.
1278 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1280 Implement GtkTooltip API for calendar details. (#339540)
1282 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1283 Remember detail overflows in calendar_paint_day to show the tooltip
1284 only when neccessary.
1286 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1288 Without setting "detail-width-chars" and "detail-height-rows"
1289 properties not only the widget has to be redrawn on certain
1290 conditions, but also its size must be recalculated. (#339540)
1292 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1293 that function instead of gtk_widget_queue_draw.
1295 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1297 Consider details for size-request and expose-event. (#339540)
1299 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1300 is_color_attribute functions. Change gtk_calendar_size_request
1301 and calendar_paint_day to consider and show calender details.
1303 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1305 * gtk/gtkcombobox.c: Introduce local priv variables to
1308 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1310 * gtk/gtkcombobox.c: Correct the default value for the
1311 tearoff-title property.
1313 * gtk/gtkcellrenderertext.c: Fix the default value for the
1314 wrap-mode and font-scale properties.
1316 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1319 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1321 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1322 defines. (#505708, MINAMI Hirokazu)
1324 2007-12-27 Christian Persch <chpe@gnome.org>
1326 * Makefile.am: Install gail.pc. Bug #505859.
1328 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1330 Add infrastructure for GtkCalendar details. (#339540)
1332 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1333 Add "detail-width-chars" and "detail-height-rows" properties,
1334 and gtk_calendar_set_detail_func function.
1336 2007-12-27 Xan Lopez <xan@gnome.org>
1339 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1341 Add gtk_border_new to avoid memory allocator confusions when using
1342 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1344 2007-12-27 Christian Persch <chpe@gnome.org>
1346 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1347 bug #504886 not to read unitialised memory.
1349 2007-12-26 Xan Lopez <xan@gnome.org>
1351 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1352 modification of the internal frame contents to decide if we have
1353 extra children. (#415677)
1355 2007-12-22 Christian Persch <chpe@gnome.org>
1357 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1359 2007-12-25 Christian Persch <chpe@gnome.org>
1361 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1362 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1365 2007-12-25 Christian Persch <chpe@gnome.org>
1367 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1369 2007-12-25 Christian Persch <chpe@gnome.org>
1371 * modules/other/gail/*.[ch]: Remove relocations from the atk
1372 factories. Remove unused gail_foo_new() functions. Fix object
1373 instantiation to be derivation safe by moving initialisation code
1374 from the removed gail_foo_new() functions to the
1375 AtkObjectClass::initialize implementation. Bug #505226.
1377 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1379 * modules/other/gail/gailentry.c:
1380 * modules/other/gail/gailimage.c:
1381 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1382 uses of clipboards and settings. (#504722, Christian Persch)
1384 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1386 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1389 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1391 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1392 use the time and button information from the event. (#504901,
1395 2007-12-23 Cody Russell <bratsche@gnome.org>
1397 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1398 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1399 Fixes a regression caused by #164537 patch where transient
1400 windows that are hidden get shown (incorrectly) when their
1401 parents are minimized. (#504984)
1403 2007-12-22 Christian Persch <chpe@gnome.org>
1405 * modules/other/gail/gailcell.c:
1406 * modules/other/gail/gailcontainercell.c:
1407 * modules/other/gail/gailexpander.c:
1408 * modules/other/gail/gailtextcell.c:
1409 * modules/other/gail/gailtextview.c:
1410 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1412 2007-12-22 Christian Persch <chpe@gnome.org>
1414 * modules/other/gail/*.c: Include config.h. Bug #504720.
1416 2007-12-22 Christian Persch <chpe@gnome.org>
1418 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1419 handwritten get_type functions. Bug #504661.
1421 2007-12-23 Xan Lopez <xan@gnome.org>
1423 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1424 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1426 Patch by Sadrul Habib Chowdhury (#504804)
1428 2007-12-22 Christian Persch <chpe@gnome.org>
1430 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1431 #504645, patch by Li Yuan.
1433 2007-12-22 Christian Persch <chpe@gnome.org>
1435 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1437 2007-12-22 Christian Persch <chpe@gnome.org>
1439 * modules/other/gail/gail.c:
1440 * modules/other/gail/gailbutton.c:
1441 * modules/other/gail/gailcell.c:
1442 * modules/other/gail/gailcombo.c:
1443 * modules/other/gail/gailcombo.h:
1444 * modules/other/gail/gailcombobox.c:
1445 * modules/other/gail/gailentry.c:
1446 * modules/other/gail/gailexpander.c:
1447 * modules/other/gail/gailmenuitem.c:
1448 * modules/other/gail/gailnotebook.c:
1449 * modules/other/gail/gailnotebookpage.c:
1450 * modules/other/gail/gailnotebookpage.h:
1451 * modules/other/gail/gailoptionmenu.c:
1452 * modules/other/gail/gailrange.c:
1453 * modules/other/gail/gailtextview.c:
1454 * modules/other/gail/gailtreeview.c:
1455 * modules/other/gail/gailtreeview.h:
1456 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1459 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1461 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1464 2007-12-21 Richard Hult <richard@imendio.com>
1466 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1467 Plug leak of destroyed subviews, fixes bug #504753.
1469 2007-12-20 Johan Dahlin <johan@gnome.org>
1471 * tests/Makefile.am (TEST_PROGS):
1472 * tests/defaultvaluetest.c: Add a test for default values,
1473 based on program by Christan Perch
1475 2007-12-20 Johan Dahlin <johan@gnome.org>
1477 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1478 Refactor to avoid some duplication.
1479 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1480 Fixes #504749, Yuri Pimenov
1482 2007-12-20 Kristian Rietveld <kris@imendio.com>
1484 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1485 the build work again on systems without xrandr 1.2.
1487 2007-12-20 Christian Persch <chpe@gnome.org>
1490 * modules/other/gail/libgail-util/Makefile.am:
1491 Keep the same libtool version as the standalone libgail-util had.
1494 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1496 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1498 2007-12-20 Alexander Larsson <alexl@redhat.com>
1500 * gdk/x11/gdkapplaunchcontext-x11.c:
1501 Update for gio API changes
1503 2007-12-20 Richard Hult <richard@imendio.com>
1505 * gdk/quartz/GdkQuartzWindow.c:
1506 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1507 processing events after changing the size.
1509 2007-12-20 Richard Hult <richard@imendio.com>
1511 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1512 Add stub for quartz to fix build.
1514 2007-12-20 Christian Persch <chpe@gnome.org>
1516 * modules/other/gail/Makefile.am:
1517 * modules/other/gail/gailimage.c: (gail_image_class_init),
1518 (gail_image_init), (elide_underscores), (gail_image_get_name),
1519 (atk_image_interface_init), (gail_image_finalize):
1520 * modules/other/gail/gailimage.h:
1521 R modules/other/gail/gailintl.h:
1522 * po/POTFILES.skip: Use the stock item's label as the name of the
1523 accessible in gailimage.c. Bug #504246.
1525 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1527 Avoid some compiler warnings and remove obsolete code. (#339540)
1529 * gtk/gtkcalendar.c: Change week and year variable in
1530 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1531 0" block from calendar_paint_day: The feature in question is handled
1532 few lines above. Cast data returned by gtk_selection_data_get_text()
1533 to (gchar*) in gtk_calendar_drag_data_received.
1535 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1537 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1539 2007-12-19 Johan Dahlin <johan@gnome.org>
1541 * tests/buildertest.c (test_object_properties):
1542 Add another call to gtk_builder_add_string after using
1543 delayed properties, as reported in #504393 but already
1546 2007-12-18 Christian Persch <chpe@gnome.org>
1549 * docs/reference/Makefile.am:
1550 * docs/reference/libgail-util/*:
1551 * gail-uninstalled.pc.in:
1553 * modules/Makefile.am:
1554 * modules/other/Makefile.am:
1555 * modules/other/gail/*:
1556 * modules/other/gail/libgail-util/*:
1557 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1559 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1561 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1562 * gdk/win32/gdkproperty-win32.c:
1563 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1565 * gtk/gtkimmodule.[hc]:
1566 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1567 look at the gtk-im-module setting, and listen for changes to the
1568 setting. (#502446, Akira Tagoh)
1570 2007-12-17 Kristian Rietveld <kris@imendio.com>
1572 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1573 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1574 to NULL as soon as it's destroyed. (#496546, patch from
1577 2007-12-17 Kristian Rietveld <kris@imendio.com>
1579 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1580 always determine what arrow to show if show_sort_indicator is true.
1581 (#352738, Chris Vine).
1583 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1585 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1586 Sébastien Granjoux)
1588 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1589 gtk_container_foreach in get_child_panes.
1591 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1593 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1595 Plug leak: When reordering the info in the list the old node is
1596 removed but not freed. (#503569)
1598 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1600 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1601 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1602 are deprecated since DirectFB 1.0.0. If compiling with an older
1603 version define the new type name to the old types. Fixes bug #503190.
1605 2007-12-14 Ray Strode <rstrode@redhat.com>
1607 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1608 instead of g_signal_connect_after (..., "realize", ...) as an
1609 alternative to gtk_widget_realize () (bug 503537).
1611 2007-12-14 Michael Natterer <mitch@imendio.com>
1613 * gdk/gdkinternals.h
1614 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1617 * gdk/gdkapplaunchcontext.c
1618 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1619 header already includes everything now.
1621 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1623 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1624 next stable release shall be 2.16, not 2.14 - even if disagree.
1626 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1628 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1630 Change GtkToolItem to retrieve its properties from GtkToolShell
1631 interface, instead of relying on being child of a GtkToolbar.
1634 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1635 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1636 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1637 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1638 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1639 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1640 Take section docs from template file and update them for GtkToolShell.
1641 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1642 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1644 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1646 Extract loading of GtkPageSetup and GtkPrintSettings from their
1647 *_new_*() functions and move that code into separate
1648 *_load_*() functions (#475565).
1650 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1651 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1652 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1653 Change the matching *_new_*() functions to use those functions.
1655 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1658 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1660 2007-12-14 Kristian Rietveld <kris@imendio.com>
1662 * gtk/tests/liststore.c:
1663 * gtk/tests/treestore.c: added tests for insertion functions.
1665 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1667 * Add RandR 1.2 support
1669 - New monitors_changed signal - New API to get width/height of
1670 monitors, and the name of the plug
1672 2007-12-13 Kristian Rietveld <kris@imendio.com>
1674 * gtk/tests/liststore.c:
1675 * gtk/tests/treestore.c: test the move and swap functions on a
1676 store with only one node.
1678 2007-12-13 Kristian Rietveld <kris@imendio.com>
1680 * gtk/gtktestutils.c (gtk_test_init): add a call to
1683 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1686 2007-12-13 Kristian Rietveld <kris@imendio.com>
1688 * gtk/tests/liststore.c:
1689 * gtk/tests/treestore.c: start composing tests for the list and tree
1692 * gtk/tests/treeview-scrolling.c: added automated tests for
1693 GtkTreeView's scrolling "subsystem".
1695 * gtk/tests/Makefile.am: updated; added new test programs.
1697 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1699 Make the code compile again after the GdkAppLaunchContext changes.
1701 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1702 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1704 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1706 * gdk/gdkapplaunchcontext.c: Add docs
1708 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1710 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1711 in gdk, providing startup notification. (#503203)
1713 * gdk/x11/gdkapplaunchcontext-x11.c:
1714 * gdk/win32/gdkapplaunchcontext-win32.c:
1715 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1716 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1717 parts. All but X11 are just empty stubs for now.
1720 * gdk/gdkinternals.h:
1722 * gdk/x11/Makefile.am:
1723 * gdk/win32/Makefile.am:
1724 * gdk/quartz/Makefile.am:
1725 * gdk/directfb/Makefile.am: Necessary glue.
1727 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1729 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1731 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1733 * gdk/directfb/gdktestutils-directfb.c:
1734 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1735 which adds testing functions to the DirectFB backend.
1737 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1739 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1740 Ciccani which fixes the mixing of gdk and cairo rendering.
1742 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1744 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1745 on "drag-motion" handlers. Clearify documentation for
1748 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1750 * buildertest.c: made unnecessarily exported symbols static.
1751 switched g_return_if_fail() statements in tests to assertions.
1752 special cased currently failing Widget/accesibility test to
1753 run only for g_test_thorough(), so it doesn't break make check.
1754 some coding style fixes.
1756 * Makefile.am: added buildertest to TEST_PROGS.
1758 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1760 * docs/tutorial/gtk-tut.sgml:
1761 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1763 2007-12-10 Richard Hult <richard@imendio.com>
1765 * gdk/quartz/Makefile.am:
1766 * gdk/quartz/gdkquartz.h:
1767 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1768 header (bug #405915). Also add a getter for the toplevel nswindow.
1770 2007-12-10 Richard Hult <richard@imendio.com>
1772 * gdk/quartz/gdkdrawable-quartz.c:
1773 (gdk_quartz_drawable_get_context),
1774 (gdk_quartz_drawable_release_context):
1775 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1776 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1777 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1778 used for each drawing context and in prepare, dispatch and poll
1779 with one that exists across each main loop iteration. Fixes leaks
1780 on leopard and protects against future leaks introduce when the
1781 underlying system changes again (bug #492977).
1783 2007-12-10 Richard Hult <richard@imendio.com>
1785 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1786 Fix the check for no changes to position and size.
1788 2007-12-10 Richard Hult <richard@imendio.com>
1790 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1791 sized areas at (0, 0), patch from Paul Davis.
1793 2007-12-10 Richard Hult <richard@imendio.com>
1795 * gdk/quartz/gdkprivate-quartz.h:
1796 * gdk/quartz/gdkeventloop-quartz.c:
1797 (_gdk_quartz_event_loop_get_pending),
1798 (_gdk_quartz_event_loop_check_pending),
1799 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1800 (gdk_event_check), (gdk_event_dispatch):
1801 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1802 (_gdk_events_queue): Fix a bug where we could end up trying to
1803 handle the same event more than once. Based on patch from Paul
1806 2007-12-10 Tor Lillqvist <tml@novell.com>
1808 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1811 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1813 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1814 to avoid further fallout from the fix for bug 388321.
1816 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1818 * gdk/directfb/gdkgc-directfb.c:
1819 * gdk/directfb/gdkdrawable-directfb.c:
1820 * gdk/directfb/gdkdirectfb.h:
1821 * gdk/directfb/gdkwindow-directfb.c:
1822 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1823 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1824 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1825 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1826 which are expected to improve the performance of the DirectFB backend.
1827 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1829 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1831 * gtk/gtkcontainer.c: Correct the documentation of child
1832 property getter arguments. (#501992, David Brigada)
1834 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1836 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1837 leak pixbufs. (#502250, Yevgen Muntyan)
1839 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1841 * gtk/gtkprintunixdialog.c:
1842 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1843 Print and Page Setup dialogs (#502202).
1845 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1847 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1848 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1849 of XVFB_START, since it's the GTESTER invokation that needs this.
1851 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1853 * gdk-pixbuf/gdk-pixbuf.symbols:
1855 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1856 positives in abicheck.sh
1858 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1860 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1861 GDK events generations in the DirectFB backend.
1863 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1865 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1866 set of likely unused display ids, because MacOS has no seq(1) command.
1868 2007-12-06 Richard Hult <richard@imendio.com>
1870 * gdk/quartz/gdkevents-quartz.c:
1871 (synthesize_crossing_events_for_ns_event): Fix warning when
1872 switching spaces in leopard.
1874 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1876 * tests/floatingtest.c: ported to new testing framework.
1878 * tests/Makefile.am: run floatingtest as testing framework test.
1880 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1882 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1883 timeouts and converting main loop sleeps to pending/iterate loops with
1884 very low priority async handlers. eliminate output for non-verbose
1885 tests. assert successfull subtests in all test functions. use testing
1886 framework in main().
1888 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1889 executed inside Xvfb upon make check.
1891 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1893 * tests/objecttests.c: use string comparisons for string property
1894 values and get rid of referencing symbols in array initialization.
1896 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1898 * gtk+/Makefile.decl: run tests in current dir after setting up the
1899 logging directory, so their results get properly merged into the
1902 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1903 tests to loop over registered Gdk/Gtk+ types.
1905 * gtk+/tests/objecttests.c: new test program, implements automated
1906 property tests. several properties are blacklisted because they
1907 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1908 can be used to test blacklisted properties and see which proprty failed.
1910 2007-12-04 Richard Hult <richard@imendio.com>
1912 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1913 Fully initialize the root window, fixes bug #501583.
1915 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1917 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1920 2007-12-03 Richard Hult <richard@imendio.com>
1922 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1923 Don't crash when dragging from a source that doesn't support uri
1924 lists (bug #499868, Paul Davis).
1926 2007-12-03 Richard Hult <richard@imendio.com>
1928 * gdk/quartz/gdkwindow-quartz.c:
1929 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1930 parent relative bg pixmap is set, and no parent has a bg
1931 pixmap. Fixes bug #500804.
1933 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1935 Two optimizations for icon cache lookups.
1937 * gtk/gtkiconcache.[hc]:
1938 * gtk/gtkicontheme.c: Remember the directory index for
1939 subdirectories, instead of running over the directory list
1942 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1943 chain and try it first; this helps with the the usage patterns
1944 in gtkicontheme.c, where the same icon is queried for a lot
1947 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1949 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1950 functions from header files. this should be portable across linux and
1951 Mac OS, unlike the previpous sed expression.
1953 2007-12-1 Cody Russell <bratsche@gnome.org>
1955 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1956 On Windows, queue a redraw of child2 whenever we set
1957 the pane handle position. This is unfortunately kind
1958 of hacky, but solves the visual artifacts that were
1959 occuring on at least certain types of child widgets
1960 (e.g., text views and tree views) that are inside
1961 horizontal or vertical panes. (#144269)
1963 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1965 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1967 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1969 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1972 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1974 * gtk/Makefile.am: Fix ordering of subdirs.
1976 2007-11-28 Tor Lillqvist <tml@novell.com>
1978 A proper build of GNU libintl is supposed to export the variable
1979 _nl_msg_cat_cntr. configure looks for that variable in order to
1980 recognize GNU gettext. If it sees that it is indeed GNU gettext
1981 that is used, it decides to install message catalogs in
1982 share/locale, otherwise in lib/locale. Until now on Windows I have
1983 built GTK+ against a build of GNU gettext that did not export
1984 _nl_msg_cat_cntr. But this will change, so we can't assume message
1985 catalogs are always in lib/locale.
1987 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1988 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1989 before the inclusion of gtkprivate.h so that it sees the original
1992 * gtk-zip.sh.in: Check whether the message catalogs are in
1993 share/locale or lib/locale.
1995 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1996 that the code in _gtk_get_localedir() will find the slashes.
1998 2007-11-28 Tor Lillqvist <tml@novell.com>
2000 * gtk/Makefile.am: Improve portability. The -o option is present
2001 only in newish GNU egreps. Use one more sed in the pipeline
2004 2007-11-28 Tor Lillqvist <tml@novell.com>
2006 Fix #375893, patch by Ben Hague:
2008 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2009 around GetLogicalDrives() that takes also the viewable drive
2010 restrictions in the Registry (which are usually the result of an
2011 Active Directory Group Policy) into account.
2013 (check_volumes, gtk_file_system_win32_list_volumes) Call
2014 get_viewable_logical_drives() instead of GetLogicalDrives().
2016 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2018 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2019 variables to silence valgrind. (#495124, Morten Welinder)
2021 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2023 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2024 that the construct_child function is responsible for returning a
2026 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2027 objects from constructors
2028 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2029 g_object_ref() to this construction function (it's the only
2034 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2036 * gtkbuilder.c: remove concept of root objects and just refcount
2037 all objects in the builder. Fixes #496651.
2039 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2041 * tests/buildertest.c (test_window): fix invalid free
2043 2007-11-26 Josselin Mouette <joss@malsain.org>
2045 reviewed by: Federico Mena Quintero
2047 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2048 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2049 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2050 Make the shortcuts activate with a single click. (#148828)
2051 Fix a few things affected by the change:
2052 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2053 where no shortcut is selected.
2054 - Don't activate a shortcut in the response callback.
2055 - Filter out duplicate entries in volumes and bookmarks to
2056 avoid the selection to change when reordering them with DnD.
2058 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2061 * gtk/gtknotebook.c:
2062 * gtk/gtkplugprivate.h:
2064 * gtk/gtksocketprivate.h:
2065 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2067 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2069 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2070 (#495574, Richard Hult)
2072 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2074 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2075 String change ! (#376361, Sven Neumann)
2077 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2079 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2081 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2084 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2086 * gtk/gtkassistant.c: Improve alternative button
2087 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2089 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2091 * gtk/gtkcalendar.c: Fix a theming problem with colors
2092 in GtkCalendar. (#499703, Michael Hofmann)
2094 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2096 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2098 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2100 Use templates for glib-mkenums calls instead of
2101 complicated commandlines in Makefiles. (#429910)
2103 * gdk-pixbuf/Makefile.am:
2106 * perf/Makefile.am: Use templates for glib-mkenums
2108 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2109 * gdk/gdkenumtypes.[ch].template:
2110 * gtk/gtktypebuiltings.[ch].template:
2111 * perf/typebuiltins.[ch].template: The templates
2113 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2115 * gtk/gtkfilechooserbutton.c:
2116 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2117 some compilers choke on that. (#467722)
2119 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2121 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2122 about hook setup. (#425004, Emmanuele Bassi)
2124 2007-11-26 Tor Lillqvist <tml@novell.com>
2126 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2127 monitor the window currently is on, not always the primary
2128 monitor. (#463865, Tim Evans)
2130 2007-11-26 Tor Lillqvist <tml@novell.com>
2132 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2134 * gdk/win32/Makefile.am: Add it.
2136 2007-11-26 Tor Lillqvist <tml@novell.com>
2138 * configure.in: Don't add jasper to all_loaders if no libjasper.
2140 2007-11-25 Bastien Nocera <hadess@hadess.net>
2142 * configure.in: Add detection for libjasper, used by the
2143 gdk-pixbuf JPEG2000 loader
2145 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2147 * configure.in: Require gtk-doc 1.8
2149 * */*.c: Use gtk-doc abbreviations for examples in docs.
2151 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2153 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2156 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2158 * gtk/gtkdialog.c: Move signal and property documentation inline,
2159 fix a problem with the ::response signal docs. (#499133, Josselin
2162 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2164 * Makefile.decl: initialize automake variables EXTRA_DIST and
2165 TEST_PROGS for unconditional appending via += in other makefiles.
2166 define recursive test targets: test, test-report, perf-report,
2167 full-report, as described here:
2168 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2169 the test targets will execute Gtk+ test programs within an Xvfb session.
2171 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2173 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2174 g_test_run() to run the tests to integrate with the testing framework.
2176 * gtk/tests/Makefile.am: removed exemplary testing rules.
2178 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2179 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2180 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2181 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2182 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2183 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2184 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2185 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2186 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2187 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2188 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2189 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2190 * modules/engines/ms-windows/Theme/Makefile.am:
2191 * modules/engines/ms-windows/Makefile.am:
2192 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2193 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2194 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2195 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2196 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2197 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2198 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2200 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2202 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2203 (#485662, patch by Herbert Valerio Riedel)
2205 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2207 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2209 2007-11-21 Richard Hult <richard@imendio.com>
2211 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2212 stubs for the testing functions to fix the build.
2214 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2216 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2217 (#467711, The Written Word)
2219 2007-11-21 Ross Burton <ross@openedhand.com>
2221 * gdk/x11/gdksettings.c:
2222 Add xsetting for gtk-scrolled-window-placement (#458103).
2224 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2226 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2227 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2228 (#469239, Michael Natterer)
2230 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2232 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2233 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2234 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2235 (#436536, Tommi Komulainen)
2237 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2239 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2240 property. (#489782, Jan Janech)
2242 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2244 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2245 frames. (#107398, Owen Taylor, Miguel Gomez)
2247 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2249 Moved Gdk test functions from Gtk+ to Gdk test utils.
2251 * gdk/Makefile.am: added gdktestutils.h to public includes.
2253 * gdk/gdk.h: added gdktestutils.h to public includes.
2255 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2256 gdk_test_render_sync.
2258 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2259 gdk_test_simulate_key, gdk_test_render_sync.
2261 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2263 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2264 gdk_test_simulate_key, gdk_test_render_sync.
2266 * gtk/gtktestutils.c:
2267 * gtk/gtktestutils.h:
2268 * gtk/gtk.symbols: removed gtk_test_simulate_button
2269 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2271 * gtk/tests/testing.c: call gdk_test_render_sync.
2273 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2275 Added unit tests for Gtk+ testing utilities.
2277 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2278 utility functions. some g_test_* related portions are disabled and need
2279 to be enabled once Gtk+ depends on a new glib with the GLib testing
2280 framework integrated.
2282 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2283 added exemplary test rules to run tests inside Xvfb. this needs to depend
2284 on gtester for full fledged testing.
2286 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2287 collecting _get_type functions to catch e.g. gtk_text_get_type().
2289 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2291 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2293 Added Gtk+ testing utilities.
2295 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2296 for the most part, the functions herein involve navigating and interacting
2297 with dialog elements programatically, to automate user interaction tests of
2298 dialogs and widgets.
2300 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2302 * gtk/gtk.symbols: added gtk_test_* symbols.
2304 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2305 generate gtktypefuncs.c which contains a list of all _get_type functions in
2307 2007-11-20 Bastien Nocera <hadess@hadess.net>
2309 * configure.in: add support for conditional icns gdk-pixbuf loader
2312 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2314 * configure.in: updated version number to 2.15.0 for development.
2316 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2318 === Branch for 2.12 ===