1 2008-02-24 Richard Hult <richard@imendio.com>
3 * gdk/quartz/gdkprivate-quartz.h:
4 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
5 Use the subtype field for the custom event that is used to wake up
6 the mainloop so we can have other custom event types.
8 * gdk/quartz/gdkevents-quartz.c:
9 (_gdk_quartz_events_trigger_crossing_events):
10 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
11 crossing events after showing a window if necessary, to work
12 around problems with the tracking rect API.
14 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
16 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
17 wrong results on win32 because it doesn't set the printing units,
18 which affect the transformation of the cairo context
19 (#347125, Erik van Pienbroek)
21 2008-02-22 Tor Lillqvist <tml@novell.com>
23 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
25 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
27 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable
28 for a module to only support the save_to_callback() method if it marks itself
31 2008-02-16 Matthias Clasen <mclasen@redhat.com>
33 * configure.in: Bump version
35 2008-02-16 Matthias Clasen <mclasen@redhat.com>
37 * === Released 2.13.0 ===
39 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
41 2008-02-21 Tor Lillqvist <tml@novell.com>
43 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
44 pass the format string to strftime in the C library's locale's
45 charset, not the system's. Correspondingly, the return value from
46 strftime() is in the C library's locale's charset. (#509885)
48 2008-02-20 Richard Hult <richard@imendio.com>
50 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
51 the right window level and shadow after recreating the window.
53 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
54 necessary after drawing (bug #517338).
56 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
58 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
59 call to g_type_class_unref in case of error. (#517563)
61 2008-02-18 Sven Neumann <sven@gimp.org>
63 * gtk/Makefile.am (STOCK_ICONS)
64 * gtk/stock-icons/16/gtk-page-setup.png
65 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
66 taken from GNOME icon theme.
68 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
70 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
72 * configure.in: Added Kannada (kn) to ALL_LINGUAS
74 2008-02-17 Johan Dahlin <johan@gnome.org>
76 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
77 When converting a stock item based on the label, remove the label property.
79 2008-02-17 Richard Hult <richard@imendio.com>
81 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
82 position after showing the window since the window manager might
83 not place it where we requested in the first places.
85 2008-02-17 Richard Hult <richard@imendio.com>
87 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
88 (_gdk_quartz_window_detach_from_parent),
89 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
90 the toplevel ordering list in all places where the order is
91 potentially changed. Fixes mouse focus issues for windows with
92 a transient parent set.
94 2008-02-17 Richard Hult <richard@imendio.com>
96 * gdk/quartz/gdkevents-quartz.c
97 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
98 window when event debugging is enabled.
100 2008-02-16 Richard Hult <richard@imendio.com>
102 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
103 to the scroll event (bug #516757, Paul Davis).
105 2008-02-16 Matthias Clasen <mclasen@redhat.com>
109 2008-02-16 Matthias Clasen <mclasen@redhat.com>
111 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
114 2008-02-15 Matthias Clasen <mclasen@redhat.com>
116 * gdk/Makefile.am: Don't install private headers. (#463510)
118 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
119 the installed header gdkprivate.h.
121 2008-02-15 Matthias Clasen <mclasen@redhat.com>
123 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
124 a crash with hidden, reorderable tabs. (#513230,
125 Mike Massonnet, patch by Carlos Garnacho)
127 2008-02-15 Matthias Clasen <mclasen@redhat.com>
129 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
130 Warn on duplicate action group names. (#501746, Christian
133 2008-02-15 Matthias Clasen <mclasen@redhat.com>
136 * modules/other/gail/tests/Makefile.am:
137 * modules/other/gail/libgail-util/Makefile.am:
138 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
139 builds. (#516254, Yevgen Muntyan)
141 2008-02-15 Matthias Clasen <mclasen@redhat.com>
146 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
147 instead of hardcoded target tables. (#516092, Christian Persch)
149 2008-02-15 Matthias Clasen <mclasen@redhat.com>
151 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
152 add the same target atom twice. (#516087, Christian Persch)
154 2008-02-15 Matthias Clasen <mclasen@redhat.com>
156 * tests/testfilechooser.c: Add a --backend option.
157 (#516073, Christian Persch)
159 2008-02-16 Richard Hult <richard@imendio.com>
161 * gdk/quartz/gdkprivate-quartz.h:
162 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
165 2008-02-15 Matthias Clasen <mclasen@redhat.com>
167 * configure.in: Go back to 2.13.0 as version for now,
168 as there was no consensus to do the jump.
170 * many other places: Update Since: tags.
172 2008-02-15 Matthias Clasen <mclasen@redhat.com>
174 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
176 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
178 2008-02-15 Richard Hult <richard@imendio.com>
180 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
181 instead of bounds when resizing windows.
183 2008-02-15 Matthias Clasen <mclasen@redhat.com>
185 * gdk/x11/gdkkeys-x11.c:
186 * gdk/x11/gdkcolor-x11.c:
187 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
189 2008-02-15 Matthias Clasen <mclasen@redhat.com>
191 * gdk/x11/gdktestutils-x11.c:
192 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
194 2008-02-15 Tor Lillqvist <tml@novell.com>
196 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
197 leak Registry key handles. (#516578)
199 2008-02-14 Richard Hult <richard@imendio.com>
201 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
202 makeKeyWindow unfortunately doesn't work in all cases, we must use
203 makeKeyAndOrderFront.
205 2008-02-14 Richard Hult <richard@imendio.com>
207 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
208 (gdk_window_hide), (gdk_window_fullscreen),
209 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
210 the window is hidden.
212 2008-02-14 Richard Hult <richard@imendio.com>
214 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
215 resizing to be consistent and to avoid introducing an internal
216 transform in the view.
218 2008-02-14 Richard Hult <richard@imendio.com>
220 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
223 2008-02-14 Johan Dahlin <johan@gnome.org>
226 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
228 2008-02-13 Richard Hult <richard@imendio.com>
230 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
231 Remove unused variables.
232 (gtk_clipboard_set_contents),
233 (gtk_clipboard_get_owner), (clipboard_unset),
234 (gtk_clipboard_request_targets): Notify the previous clipboard
235 owner when the owner changes. Fixes bug #493406.
237 2008-02-13 Richard Hult <richard@imendio.com>
239 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
240 the return value (return number of colors that failed), and handle
242 (gdk_colormap_free_colors): Fix typo in comment.
244 2008-02-13 Kristian Rietveld <kris@imendio.com>
246 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
247 queue a redraw if the rubber banding has actually been active.
249 2008-02-12 Matthias Clasen <mclasne@redhat.com>
251 * gtk/gtkpapersize.c:
252 * gtk/gtkprintoperation.c:
253 * gtk/gtkvolumebutton.c:
254 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
255 out by Behdad Esfahbod.
257 2008-02-12 Federico Mena Quintero <federico@novell.com>
259 Merged from gtk-2-12:
261 Don't focus the file list when shortcuts get activated. This
262 removes a lot of ambiguity in when the file selection should
263 change, and makes the overall code flow simpler.
265 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
266 file/save dialog clears the filename entry when changing
269 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
270 focus should not go to the file list when a shortcut is activated.
272 * gtk/gtkfilechooserdefault.c
273 (shortcuts_activate_volume_mount_cb): Don't focus the file list
274 (shortcuts_activate_get_info_cb): Likewise.
276 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
277 the file list (this was the last place where we would focus the
278 file list explicitly). If you are in the location entry, for
279 example, you don't want Alt-Home to take you to the file list; you
280 just want the current folder to change. Thanks to Olle Bergkvist
281 <olle.bergkvist@yahoo.se> for pointing this out in
282 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
283 (focus_browse_tree_view_if_possible): Removed.
285 2008-02-12 Matthias Clasen <mclasen@redhat.com>
287 Skip exensions when selecting filenames in the save-as dialog.
288 (#362516, Carlos Garnacho)
290 * gtk/gtkfilechooserentry.h:
291 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
292 New function to skip the extension part when selecting a filename.
293 (_gtk_file_chooser_entry_set_base_folder): Use it here.
295 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
298 2008-02-12 Matthias Clasen <mclasen@redhat.com>
300 * gtk/gtkiconview.c: Fix state change reporting for
301 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
303 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
305 * gtk/gtkrecentchooser.c:
306 (gtk_recent_chooser_class_init): Set the default value of the
307 :show-not-found property to TRUE, as every implementation sets
310 * gtk/gtkrecentchooserdefault.c:
311 (_gtk_recent_chooser_default_init): Sync show_tips to the
312 default value of the :show-tips property.
314 2008-02-12 Matthias Clasen <mclasen@redhat.com>
316 * gtk/gtkclipboard-quartz.c:
318 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
321 2008-02-12 Kristian Rietveld <kris@imendio.com>
323 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
324 (gtk_tree_view_real_toggle_cursor_row): guard against people
325 deleting the row in question in the selection-changed callback.
326 (#514621, Andreas Koehler).
328 2008-02-12 Matthias Clasen <mclasen@redhat.com>
330 * gtk/*.c: Unify the handling of various "Enter" keysyms
331 all over the place. (#515047, Christian Persch)
333 2008-02-12 Matthias Clasen <mclasen@redhat.com>
335 * gtk/gtkfilesystemmodel.c:
337 * gtk/gtkwidget.c: Use g_value_set_static_string() where
338 appropriate. (#515042, Christian Persch)
340 2008-02-12 Matthias Clasen <mclasen@redhat.com>
342 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
344 2008-02-12 Matthias Clasen <mclasen@redhat.com>
346 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
348 2008-02-12 Matthias Clasen <mclasen@redhat.com>
350 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
351 (recent_model_sort_drag_data_get):
352 (search_model_sort_drag_data_get):
353 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
354 * gtk/gtkpathbar.c (button_drag_data_get_cb):
355 Use gtk_selection_data_set_uris() instead of doing it
356 by hand. (#514890, Christian Persch)
358 2008-02-12 Michael Natterer <mitch@imendio.com>
360 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
361 gtk_get_current_event_time().
363 2008-02-12 Michael Natterer <mitch@imendio.com>
365 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
366 gtk_window_get_key_hash() to get the hash instead of manually
367 fiddling with quarks and gtk_window_keys_changed(). Also add
368 g_return_if_fail() to this public function.
370 2008-02-11 Matthias Clasen <mclasen@redhat.com>
372 Support keynav in status icons. (#473786, Li Yuan)
374 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
376 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
378 2008-02-11 Kristian Rietveld <kris@imendio.com>
380 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
381 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
382 wrt. link deletion from list; contination of fix for #503569.
384 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
386 * gtk/gtkrecentchoosermenu.c:
387 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
388 on the placeholder menu item.
390 * tests/testrecentchoosermenu.c:
391 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
392 whether the placeholder menu item gets shown.
394 2008-02-10 Cody Russell <bratsche@gnome.org>
396 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
397 Check the return value of _gtk_file_chooser_get_file_system () for
398 NULL before passing it to gtk_file_system_path_to_uri ().
399 (#515667, Francesco Montorsi)
401 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
403 * gtk/gtkbuilder.c: Improve the documentation for
404 gtk_builder_connect_signals. (#514471)
406 2008-02-10 Matthias Clasen <mclasen@redhat.com>
408 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
411 2008-02-08 Cody Russell <bratsche@gnome.org>
413 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
414 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
416 2008-02-08 Richard Hult <richard@imendio.com>
418 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
419 delta from the NSEvent for now, generating multiple scroll events
420 results in a lot of events getting queued up and things get really
423 2008-02-08 Sven Herzberg <sven@imendio.com>
425 Adjust the code to match the documentation, examples, "common sense"
426 and existing applications.
428 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
429 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
432 2008-02-07 Cody Russell <bratsche@gnome.org>
434 * gdk/win32/gdkevents-win32.c
435 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
436 of a block that were causing compile problems on old
437 compilers. (#515053, reported by Kazuki IWAMOTO)
439 2008-02-07 Michael Natterer <mitch@imendio.com>
448 * gtk/gtkoptionmenu.c
452 * gtk/gtkradiomenuitem.c
454 * gtk/gtkscrolledwindow.c
455 * gtk/gtksocket.c: remove g_return_if_fail() from private
456 functions and virtual function implementations.
458 2008-02-07 Michael Natterer <mitch@imendio.com>
465 * gtk/gtkcellrenderercombo.c
468 * gtk/gtkdrawingarea.c
469 * gtk/gtkentrycompletion.c
475 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
476 functions and virtual function implementations.
478 2008-02-07 Christian Persch <chpe@gnome.org>
480 * gdk/gdkpixbuf-render.c:
481 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
482 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
483 otherwise there will be random pixel values in the semi-transparent
484 area of the pixbuf within the mask. Bug #487865.
486 2008-02-06 Cody Russell <bratsche@gnome.org>
488 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
489 otherwise things get wonky when you click on a menu. This fixes
490 a regression caused in #505928. Thanks to Tor for spotting this
493 2008-02-06 Michael Natterer <mitch@imendio.com>
504 * gtk/gtkseparatortoolitem.c
506 * gtk/gtktextlayout.c
507 * gtk/gtktoggletoolbutton.c
508 * gtk/gtktoolbutton.c
511 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
514 2008-02-05 Matthias Clasen <mclasen@redhat.com>
516 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
517 Allow to store half-open ranges.
519 2008-02-05 Cody Russell <bratsche@gnome.org>
521 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
522 down the stack until we get to a window that is mapped.
523 Otherwise hiding a window will cause all windows in the app
524 to be blocked. (#514643)
526 2008-02-05 Matthias Clasen <mclasen@redhat.com>
528 * gtk/updateiconcache.c: Ignore images in the toplevel theme
529 directory, avoiding one source of invalid caches that has been
532 2008-02-05 Matthias Clasen <mclasen@redhat.com>
534 * gtk/updateiconcache.c: Fix the previous commit to compile.
536 2008-02-05 Matthias Clasen <mclasen@redhat.com>
538 * gtk/updateiconcache.c: Install a printerr handler that
539 prepends the program name, since gtk-update-icon-cache output
540 often appears in the middle of other output, e.g. rpm update logs.
542 2008-02-05 Cody Russell <bratsche@gnome.org>
544 * gdk/win32/gdkprivate-win32.h
545 * gdk/win32/gdkevents-win32.c
546 * gdk/win32/gdkwindow-win32.c
547 * gdk/win32/gdkwindow-win32.h
548 * gdk/win32/gdkwin32.h:
549 Modal window rework. (#455627 and #511111)
551 2008-02-04 Michael Natterer <mitch@imendio.com>
553 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
554 g_return_if_fail() if the cell is not part of the combo instead of
555 crashing in the next line.
557 2008-02-01 Cody Russell <cody@jhu.edu>
559 * modules/engines/ms-windows/xp_theme.[ch]
560 * modules/engines/ms-windows/xp_theme_defs.h
561 * modules/engines/ms-windows/msw_rc_style.c
562 * modules/engines/ms-windows/msw_theme_main.c
563 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
564 attempted to stylize more like the rest of the gtk+ stack's code.
566 2008-02-01 Michael Natterer <mitch@imendio.com>
568 * tests/testgtk.c: initialize GdkColor structs to fix warning
569 about uninitialized "pixel" member.
571 * tests/testactions.c: connect the toolbar_style() callback so it
572 does something useful and doesn't warn about being defined but not
575 2008-01-31 Cody Russell <bratsche@gnome.org>
577 * gdk/win32/gdkevents-win32.c:
578 Refactored some of the window hiding/showing code from
579 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
580 under WM_ACTIVATE was causing the application to go into
581 a weird state when the user right-clicked on the taskbar
582 entry of a window that was minimized. (#505928)
584 2008-01-31 Cody Russell <bratsche@gnome.org>
586 * gtk/gtkpaned.c (gtk_paned_set_position):
587 Change queue_resize() to queue_draw(), and add a check for
588 child2 != NULL in case someone calls this before there is
589 a child packed in there. (#144269 again)
591 2008-01-31 Sven Neumann <sven@gimp.org>
593 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
594 applied patch from Denis Oliver Kropp <dok@directfb.org>.
596 2008-01-31 Sven Neumann <sven@gimp.org>
598 * gdk/directfb/gdkdisplay-directfb.c
599 * gdk/directfb/gdkdrawable-directfb.c
600 * gdk/directfb/gdkprivate-directfb.h
601 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
602 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
604 2008-01-31 Richard Hult <richard@imendio.com>
606 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
607 issues with undecorated windows. Revert the change done on
608 2008-01-25 and fix it by using the view's bounds instead. The
609 bounds will always be up to date when setting up the tracking
610 rect, so this should be more robust.
612 2008-01-30 Sven Neumann <sven@gimp.org>
614 * gdk/directfb/gdkdrawable-directfb.c
615 * gdk/directfb/gdkwindow-directfb.c
616 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
617 Oliver Kropp <dok@directfb.org>. Adds debug messages using
618 DirectFB's debugging system
620 2008-01-30 Sven Neumann <sven@gimp.org>
622 * gdk/directfb/gdkdirectfb.h
623 * gdk/directfb/gdkdisplay-directfb.c
624 * gdk/directfb/gdkdrawable-directfb.c
625 * gdk/directfb/gdkim-directfb.c
626 * gdk/directfb/gdkimage-directfb.c
627 * gdk/directfb/gdkinput-directfb.c
628 * gdk/directfb/gdkmain-directfb.c
629 * gdk/directfb/gdkpixmap-directfb.c
630 * gdk/directfb/gdktestutils-directfb.c
631 * gdk/directfb/gdkvisual-directfb.c
632 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
633 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
634 errors and has some cleanups.
636 2008-01-30 Michael Natterer <mitch@imendio.com>
638 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
639 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
642 * gtk/updateiconcache.c (add_string): cast const gchar* to
643 gpointer when inserting in a GHashTable.
645 * tests/testcalendar.c (calendar_detail_cb): remove const from
646 return value since it's a newly allocated string.
648 (calendar_update_details): free the detail.
650 2008-01-29 Johan Dahlin <johan@gnome.org>
652 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
654 * demos/gtk-demo/demo.ui:
655 Move the about dialog to the glade file, add accessible tags
656 examples to the markup file.
658 2008-01-28 Paolo Borelli <pborelli@katamail.com>
660 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
661 layout, fixes #512375.
663 2008-01-28 Michael Natterer <mitch@imendio.com>
666 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
668 2008-01-28 Michael Natterer <mitch@imendio.com>
670 * demos/gtk-demo/builder.c (about_activate): use
671 gtk_about_dialog_set_program_name() instead of the deprecated
674 2008-01-28 Michael Natterer <mitch@imendio.com>
677 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
680 2008-01-26 Johan Dahlin <johan@gnome.org>
683 * tests/textbuffertest.c:
684 Rename textbuffer test and port it to the new test framework
686 2008-01-25 Johan Dahlin <johan@gnome.org>
688 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
689 unsetting of GTK_MODULES.
691 * gtk/gtk-builder-convert
692 (GtkBuilderConverter._convert_adjustment): Handle the case where
693 there is no child text node.
694 (GtkBuilderConverter): Allow xml comments in most places.
696 2008-01-25 Johan Dahlin <johan@gnome.org>
698 * gtk/gtk-builder-convert
699 (GtkBuilderConverter._convert_combobox_items): Remove the items
700 even if there are no items set.
701 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
702 signals and tooltips for all menu items subclasses and
703 GtkImageMenuItem:label.
704 Makes it possible to fully convert and run Jokosher.glade.
706 2008-01-25 Johan Dahlin <johan@gnome.org>
708 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
709 (gtk_widget_buildable_get_internal_child), (free_action),
710 (free_relation), (gtk_widget_buildable_parser_finished),
711 (accessibility_start_element),
712 (gtk_widget_buildable_custom_tag_start),
713 (gtk_widget_buildable_custom_finished):
714 Implement accessible support, fixes #454653.
716 * gtk/gtk-builder-convert:
717 Add support for migrating old glade files
719 * tests/buildertest.c: (test_widget), (test_file):
720 Add accessible tests and imprve the test_file function to display
721 toplevels and run dialogs.
723 2008-01-25 Richard Hult <richard@imendio.com>
725 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
726 didn't change, fixes focus event issues for undecorated windows.
728 2008-01-25 Richard Hult <richard@imendio.com>
730 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
731 const and remove unused variables).
733 2008-01-25 Michael Natterer <mitch@imendio.com>
736 * gtk/gtkcellrenderer.h
741 * gtk/gtktreeprivate.h
742 * gtk/gtktreeviewcolumn.h
743 * gtk/gtkwidget.h: add const to constant structs which are passed
744 into GTK+. Also add some forgotten const for const strings.
748 * gtk/gtkcellrenderer.c
754 * gtk/gtktreeviewcolumn.c
755 * gtk/gtkwidget.c: changed accordingly.
757 2008-01-25 Sven Herzberg <sven@imendio.com>
759 Reviewed by Johan Dahlin.
761 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
762 this is called with something that's not a GtkUIManager
764 2008-01-24 Johan Dahlin <johan@gnome.org>
766 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
767 Chain up to parent, so widgets can have internal children.
769 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
771 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
774 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
776 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
778 Use pango_layout_set_height() for calendar details (#506049).
780 * configure.in: Require 1.19.3 for pango_layout_set_height().
781 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
783 2008-01-18 Johan Dahlin <johan@gnome.org>
785 * gtk/gtk-builder-convert (get_property_node): New method
786 (GtkBuilderConverter._create_object): Conditionally take a node as
787 a property value, so don't lose translate/context attributes if they
789 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
790 property values instead of strings.
791 (#509153, Erik van Pienbroek)
793 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
795 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
797 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
798 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
799 * tests/testcalendar.c: Duplicate calendar details before returning.
801 2008-01-16 Christian Persch <chpe@gnome.org>
803 * gtk/gtkwidget.c: Store the event mask and extension event mode
804 directly in the gobject data pointer, instead of in an allocated
807 2008-01-16 Michael Natterer <mitch@imendio.com>
809 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
810 gdk-pixbuf now uses gio functions.
812 2008-01-16 Matthias Clasen <mclasen@redhat.com>
814 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
815 the notify::model signal. (#509819, David Zeuthen)
817 2008-01-15 Michael Natterer <mitch@imendio.com>
825 * gdk/gdkwindow.h: made more struct pointer and array parameters
826 const. GDK should now be constified as far as possible without
827 breaking source compatibility. Includes some minor cleanup like
828 indentation and s/nfoo/n_foo/ (bug #508544).
834 * gdk/gdkregion-generic.c
836 * gdk/directfb/gdkdisplay-directfb.c
837 * gdk/directfb/gdkwindow-directfb.c
838 * gdk/quartz/gdkdisplay-quartz.c
839 * gdk/quartz/gdkwindow-quartz.c
840 * gdk/win32/gdkdisplay-win32.c
841 * gdk/win32/gdkwindow-win32.c
842 * gdk/x11/gdkdisplay-x11.c
843 * gdk/x11/gdkwindow-x11.c: changed accordingly.
845 2008-01-14 Michael Natterer <mitch@imendio.com>
847 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
850 (gtk_rc_parse_any): change variables to const and introduce
851 another local variable to fix const warnings.
853 2008-01-14 Michael Natterer <mitch@imendio.com>
855 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
856 of gdk_screen_get_font_options() to gpointer to get rid of const
859 2008-01-14 Michael Natterer <mitch@imendio.com>
861 * tests/testdnd.c (source_drag_data_get): fix another call to
862 gtk_selection_data_set().
864 2008-01-14 Michael Natterer <mitch@imendio.com>
866 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
869 2008-01-14 Michael Natterer <mitch@imendio.com>
871 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
873 2008-01-14 Michael Natterer <mitch@imendio.com>
875 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
876 "uris" to guchar* when passing it to gtk_selection_data_set().
878 2008-01-14 Michael Natterer <mitch@imendio.com>
886 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
887 parameters const (bug #508544).
893 * gdk/gdkpolyreg-generic.c
894 * gdk/gdkregion-generic.c
895 * gdk/directfb/gdkcolor-directfb.c
896 * gdk/directfb/gdkgc-directfb.c
897 * gdk/directfb/gdkgeometry-directfb.c
898 * gdk/directfb/gdkwindow-directfb.c
899 * gdk/quartz/gdkcolor-quartz.c
900 * gdk/quartz/gdkgc-quartz.c
901 * gdk/quartz/gdkgeometry-quartz.c
902 * gdk/quartz/gdkwindow-quartz.c
903 * gdk/win32/gdkcolor-win32.c
904 * gdk/win32/gdkgc-win32.c
905 * gdk/win32/gdkgeometry-win32.c
906 * gdk/win32/gdkprivate-win32.h
907 * gdk/win32/gdkwindow-win32.c
908 * gdk/x11/gdkcolor-x11.c
909 * gdk/x11/gdkgc-x11.c
910 * gdk/x11/gdkgeometry-x11.c
911 * gdk/x11/gdkmain-x11.c
912 * gdk/x11/gdkprivate-x11.h
913 * gdk/x11/gdkwindow-x11.c: changed accordingly.
915 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
918 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
920 Explain name choice for gtk_tool_item_toolbar_reconfigured.
922 * gtk/gtktoolitem.c: Add comment expaining name choice for
923 gtk_tool_item_toolbar_reconfigured.
925 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
927 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
928 implementations to notify its children, when some aspect of their
929 configuration changed (#509042).
931 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
932 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
933 Rename _gtk_tool_item_toolbar_reconfigured.
935 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
937 Include <gtk/gtktoolshell.h> from gtk.h.
939 * gtk/gtk.h: Add gtktoolshell.h
941 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
943 Print angle brackets arround e-mail addresses in the about dialog
944 (#409520, Mariano Suárez-Alvarez).
946 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
948 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
950 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
951 special casing so test widgets are always queues for destruction
954 * gtk/tests/testing.c: removed bits left-over from testing without
957 2008-01-10 Tor Lillqvist <tml@novell.com>
959 * modules/other/gail/libgail-util/Makefile.am
960 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
963 2008-01-10 Tor Lillqvist <tml@novell.com>
965 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
966 uses gtkprintunixdialog API.
968 2008-01-10 Tor Lillqvist <tml@novell.com>
970 * gdk/win32/gdkdisplay-win32.c
971 * gdk/win32/gdkglobals-win32.c
972 * gdk/win32/gdkprivate-win32.h
973 * gdk/win32/gdkscreen-win32.c
974 * gdk/win32/gdkwindow-win32.c: Implement
975 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
976 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
979 2008-01-10 Cody Russell <bratsche@gnome.org>
981 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
982 Properly ref/unref windows and parents. (#506769)
984 2008-01-10 Richard Hult <richard@imendio.com>
986 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
987 (gdk_window_hide), (move_resize_window_internal): Move the
988 tracking rect workaround from here...
990 * gdk/quartz/GdkQuartzWindow.c:
991 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
992 movements during showing/hiding operations. Fixes bug #508516.
994 2008-01-10 Michael Natterer <mitch@imendio.com>
996 * gdk/directfb/gdkscreen-directfb.c
997 (gdk_screen_get_monitor_width_mm)
998 (gdk_screen_get_monitor_height_mm)
999 (gdk_screen_get_monitor_plug_name): add these functions to make
1002 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1004 * gtk/gtkrecentchoosermenu.c:
1005 (idle_populate_func), (idle_populate_clean_up): Fix possible
1006 recursion by resetting the idle source id. (#507605, William
1009 2008-01-10 Kristian Rietveld <kris@imendio.com>
1011 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1012 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1013 avoid valgrind warnings. (#507751, patch from Christian Persch).
1015 2008-01-10 Kristian Rietveld <kris@imendio.com>
1017 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1018 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1020 2008-01-10 Kristian Rietveld <kris@imendio.com>
1022 Fix #477175, reported by Juri Pakaste.
1024 * gtk/gtktreeprivate.h:
1025 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1026 tree_view->priv->dy here directly, just calculate the new value
1027 and set it on the adjustment,
1028 (gtk_tree_view_adjustment_changed): add guards to not call
1029 gtk_tree_view_dy_to_top_row() if we are currently in
1030 gtk_tree_view_top_row_to_dy(),
1031 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1032 coordinates, not tree coordinates,
1033 (gtk_tree_view_real_start_editing): add cast.
1035 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1036 position of the editable in the "create new row and start editing"
1039 2008-01-09 Michael Natterer <mitch@imendio.com>
1041 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1044 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1045 * gtk/gtkicontheme.c (theme_list_contexts)
1046 (gtk_icon_theme_lookup_icon)
1047 * gtk/gtkimcontextsimple.c (beep_window)
1048 * gtk/gtklinkbutton.c (set_link_color)
1049 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1052 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1053 variable and add const to another to fix a warning.
1055 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1057 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1058 the current page. (#499951, Andreas Sandberg)
1060 2008-01-06 Johan Dahlin <johan@gnome.org>
1062 * gtk/gtkspinbutton.c: Declare value in the example code for
1063 GtkSpinButton::output, as pointed out by Anders Carlsson.
1065 2008-01-06 Christian Persch <chpe@gnome.org>
1067 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1068 and remove an obsolete event box. Bug #506760.
1070 2008-01-06 Johan Dahlin <johan@gnome.org>
1072 * tests/buildertest.c (test_domain):
1073 Update, GtkBuilder::translation-domain is no longer set
1075 * gtk/gtkbuilderparser.c (parse_interface):
1076 Allow domains to be overridden in <interface>'s if a translation-domain
1077 is set in the builder.
1078 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1079 of the builder, make the domain set in the <interface> apply only to strings
1081 (#496831, Ryan Lortie)
1083 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1086 * gtk/gtktreestore.c (tree_model_end_element):
1087 Remove an unused variable
1089 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1091 * gtk/gtkspinbutton.c: Document the ::output signal and
1092 add an example. (#507566, example by Owen Taylor)
1094 2008-01-06 Johan Dahlin <johan@gnome.org>
1096 * gtk/gtkcellrenderercombo.c:
1097 (gtk_cell_renderer_combo_get_property),
1098 (gtk_cell_renderer_combo_set_property):
1099 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1100 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1101 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1102 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1103 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1104 (gtk_text_buffer_get_property):
1105 * gtk/gtktextview.c: (gtk_text_view_set_property):
1106 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1107 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1108 (gtk_tool_button_get_property):
1109 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1110 (gtk_tool_item_get_property):
1111 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1112 * gtk/gtkwidget.c: (gtk_widget_set_property):
1113 * gtk/gtkwindow.c: (gtk_window_set_property):
1114 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1117 2008-01-06 Johan Dahlin <johan@gnome.org>
1119 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1120 Make sure that --root works for toplevel widgets.
1121 (#491847, Phil Lello)
1123 2008-01-05 Johan Dahlin <johan@gnome.org>
1125 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1126 to make sure that make test-report works properly
1128 2008-01-05 Christian Persch <chpe@gnome.org>
1130 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1131 GType as integer through gpointer. Bug #507395.
1133 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1135 Avoid some compiler warnings (#507000).
1137 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1138 for value argument of _gtk_builder_flags_from_string.
1139 * gtk/gtkwidget.c: Don't alias the child pointer passed
1140 to gdk_window_get_user_data.
1142 2008-01-04 Michael Natterer <mitch@imendio.com>
1144 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1145 to set the time in the returned GdkTimeCoords.
1147 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1149 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1150 correct comparison function (kudos to Christian Persch and
1151 Claudio Saavedra for spotting this)
1153 * gtk/gtkrecentchooserutils.c:
1154 (sort_recent_items_mru),
1155 (sort_recent_items_lru): Ditto as above.
1157 2008-01-03 Johan Dahlin <johan@gnome.org>
1159 * tests/defaultvaluetest.c: Make it pass again.
1161 2008-01-02 Johan Dahlin <johan@gnome.org>
1163 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1164 make it pass on Ubuntu.
1165 (main): Use gtk_test_list_all_types () instead of providing our
1167 And it no longer passes.
1169 2007-12-30 Johannes Schmid <jhs@gnome.org>
1171 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1172 Also reorder menu when reordering tabs by drag & drop
1175 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1176 Add a menu to one of the notebooks to have a test-case for
1177 the change mentioned above.
1179 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1181 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1183 2007-12-31 Christian Persch <chpe@gnome.org>
1185 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1186 Plug a mem leak. Bug #506107.
1188 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1190 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1191 icon cache api change. (#506135, Kazuki Iwamoto)
1193 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1195 Consider "wide-separators" and "separator-height" style properties:
1196 The separator is drawn using gtk_paint_box instead of cairo, when
1197 "wide-separators" is set. Also do not highlight details for previous
1198 or next month, if their day matches the selected day. (#339540)
1200 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1201 in gtk_calendar_size_request and calendar_paint_day
1202 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1203 for selected detail separators in GtkCalendar.
1205 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1207 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1209 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1210 a local variable instead in gtk_calendar_size_request.
1212 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1214 * tests/defaultvaluetest.c: Add enough exclusions to make the
1217 2007-12-28 Christian Persch <chpe@gnome.org>
1219 * modules/other/gail/Makefile.am:
1220 * modules/other/gail/tests/*:
1221 * configure.in: Merge tests from standalone gail. Bug #504568.
1223 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1225 * gtk/gtkclipboard.c: Make the finalizer work when display is
1228 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1230 Draw bottom shadow of GtkCalender headings. (#506113)
1232 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1234 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1236 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1239 2007-12-28 Christian Persch <chpe@gnome.org>
1241 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1242 a mem leak. Bug #506096.
1244 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1247 * gtk/gtktreeview.c:
1248 * gtk/gtkprintoperation.c:
1249 * gtk/gtkprogressbar.c:
1250 * gtk/gtkmessagedialog.c:
1251 * gtk/gtknotebook.c:
1255 * gtk/gtklinkbutton.c:
1256 * gtk/gtkmenu.c: More default property value corrections.
1258 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1260 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1261 accel_group unless it is set.
1263 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1265 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1267 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1269 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1270 shadow-type properties.
1272 * gtk/gtkfontsel.c: Fix the default values of several properties.
1274 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1277 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1279 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1282 2007-12-28 Johan Dahlin <johan@gnome.org>
1284 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1285 (gtk_dialog_buildable_custom_tag_start): Chain up.
1286 This makes it possible to have accelerators tags on GtkDialog
1289 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1291 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1292 are shown within the widget, or just as tooltip. (#339540)
1294 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1295 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1296 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1299 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1301 Try more decent appearance of calendar details separator. (#339540)
1303 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1304 and make it short by one pixel on each side.
1306 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1308 Apply trivial code-style changes from attachement 101101. (#339540)
1310 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1312 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1314 Restructure testcalendar for testing calendar details. (#339540)
1316 * tests/testcalendar.c: Push code arround for testing calendar details.
1318 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1320 Implement GtkTooltip API for calendar details. (#339540)
1322 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1323 Remember detail overflows in calendar_paint_day to show the tooltip
1324 only when neccessary.
1326 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1328 Without setting "detail-width-chars" and "detail-height-rows"
1329 properties not only the widget has to be redrawn on certain
1330 conditions, but also its size must be recalculated. (#339540)
1332 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1333 that function instead of gtk_widget_queue_draw.
1335 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1337 Consider details for size-request and expose-event. (#339540)
1339 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1340 is_color_attribute functions. Change gtk_calendar_size_request
1341 and calendar_paint_day to consider and show calender details.
1343 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1345 * gtk/gtkcombobox.c: Introduce local priv variables to
1348 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1350 * gtk/gtkcombobox.c: Correct the default value for the
1351 tearoff-title property.
1353 * gtk/gtkcellrenderertext.c: Fix the default value for the
1354 wrap-mode and font-scale properties.
1356 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1359 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1361 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1362 defines. (#505708, MINAMI Hirokazu)
1364 2007-12-27 Christian Persch <chpe@gnome.org>
1366 * Makefile.am: Install gail.pc. Bug #505859.
1368 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1370 Add infrastructure for GtkCalendar details. (#339540)
1372 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1373 Add "detail-width-chars" and "detail-height-rows" properties,
1374 and gtk_calendar_set_detail_func function.
1376 2007-12-27 Xan Lopez <xan@gnome.org>
1379 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1381 Add gtk_border_new to avoid memory allocator confusions when using
1382 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1384 2007-12-27 Christian Persch <chpe@gnome.org>
1386 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1387 bug #504886 not to read unitialised memory.
1389 2007-12-26 Xan Lopez <xan@gnome.org>
1391 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1392 modification of the internal frame contents to decide if we have
1393 extra children. (#415677)
1395 2007-12-22 Christian Persch <chpe@gnome.org>
1397 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1399 2007-12-25 Christian Persch <chpe@gnome.org>
1401 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1402 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1405 2007-12-25 Christian Persch <chpe@gnome.org>
1407 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1409 2007-12-25 Christian Persch <chpe@gnome.org>
1411 * modules/other/gail/*.[ch]: Remove relocations from the atk
1412 factories. Remove unused gail_foo_new() functions. Fix object
1413 instantiation to be derivation safe by moving initialisation code
1414 from the removed gail_foo_new() functions to the
1415 AtkObjectClass::initialize implementation. Bug #505226.
1417 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1419 * modules/other/gail/gailentry.c:
1420 * modules/other/gail/gailimage.c:
1421 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1422 uses of clipboards and settings. (#504722, Christian Persch)
1424 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1426 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1429 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1431 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1432 use the time and button information from the event. (#504901,
1435 2007-12-23 Cody Russell <bratsche@gnome.org>
1437 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1438 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1439 Fixes a regression caused by #164537 patch where transient
1440 windows that are hidden get shown (incorrectly) when their
1441 parents are minimized. (#504984)
1443 2007-12-22 Christian Persch <chpe@gnome.org>
1445 * modules/other/gail/gailcell.c:
1446 * modules/other/gail/gailcontainercell.c:
1447 * modules/other/gail/gailexpander.c:
1448 * modules/other/gail/gailtextcell.c:
1449 * modules/other/gail/gailtextview.c:
1450 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1452 2007-12-22 Christian Persch <chpe@gnome.org>
1454 * modules/other/gail/*.c: Include config.h. Bug #504720.
1456 2007-12-22 Christian Persch <chpe@gnome.org>
1458 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1459 handwritten get_type functions. Bug #504661.
1461 2007-12-23 Xan Lopez <xan@gnome.org>
1463 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1464 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1466 Patch by Sadrul Habib Chowdhury (#504804)
1468 2007-12-22 Christian Persch <chpe@gnome.org>
1470 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1471 #504645, patch by Li Yuan.
1473 2007-12-22 Christian Persch <chpe@gnome.org>
1475 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1477 2007-12-22 Christian Persch <chpe@gnome.org>
1479 * modules/other/gail/gail.c:
1480 * modules/other/gail/gailbutton.c:
1481 * modules/other/gail/gailcell.c:
1482 * modules/other/gail/gailcombo.c:
1483 * modules/other/gail/gailcombo.h:
1484 * modules/other/gail/gailcombobox.c:
1485 * modules/other/gail/gailentry.c:
1486 * modules/other/gail/gailexpander.c:
1487 * modules/other/gail/gailmenuitem.c:
1488 * modules/other/gail/gailnotebook.c:
1489 * modules/other/gail/gailnotebookpage.c:
1490 * modules/other/gail/gailnotebookpage.h:
1491 * modules/other/gail/gailoptionmenu.c:
1492 * modules/other/gail/gailrange.c:
1493 * modules/other/gail/gailtextview.c:
1494 * modules/other/gail/gailtreeview.c:
1495 * modules/other/gail/gailtreeview.h:
1496 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1499 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1501 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1504 2007-12-21 Richard Hult <richard@imendio.com>
1506 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1507 Plug leak of destroyed subviews, fixes bug #504753.
1509 2007-12-20 Johan Dahlin <johan@gnome.org>
1511 * tests/Makefile.am (TEST_PROGS):
1512 * tests/defaultvaluetest.c: Add a test for default values,
1513 based on program by Christan Perch
1515 2007-12-20 Johan Dahlin <johan@gnome.org>
1517 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1518 Refactor to avoid some duplication.
1519 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1520 Fixes #504749, Yuri Pimenov
1522 2007-12-20 Kristian Rietveld <kris@imendio.com>
1524 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1525 the build work again on systems without xrandr 1.2.
1527 2007-12-20 Christian Persch <chpe@gnome.org>
1530 * modules/other/gail/libgail-util/Makefile.am:
1531 Keep the same libtool version as the standalone libgail-util had.
1534 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1536 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1538 2007-12-20 Alexander Larsson <alexl@redhat.com>
1540 * gdk/x11/gdkapplaunchcontext-x11.c:
1541 Update for gio API changes
1543 2007-12-20 Richard Hult <richard@imendio.com>
1545 * gdk/quartz/GdkQuartzWindow.c:
1546 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1547 processing events after changing the size.
1549 2007-12-20 Richard Hult <richard@imendio.com>
1551 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1552 Add stub for quartz to fix build.
1554 2007-12-20 Christian Persch <chpe@gnome.org>
1556 * modules/other/gail/Makefile.am:
1557 * modules/other/gail/gailimage.c: (gail_image_class_init),
1558 (gail_image_init), (elide_underscores), (gail_image_get_name),
1559 (atk_image_interface_init), (gail_image_finalize):
1560 * modules/other/gail/gailimage.h:
1561 R modules/other/gail/gailintl.h:
1562 * po/POTFILES.skip: Use the stock item's label as the name of the
1563 accessible in gailimage.c. Bug #504246.
1565 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1567 Avoid some compiler warnings and remove obsolete code. (#339540)
1569 * gtk/gtkcalendar.c: Change week and year variable in
1570 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1571 0" block from calendar_paint_day: The feature in question is handled
1572 few lines above. Cast data returned by gtk_selection_data_get_text()
1573 to (gchar*) in gtk_calendar_drag_data_received.
1575 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1577 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1579 2007-12-19 Johan Dahlin <johan@gnome.org>
1581 * tests/buildertest.c (test_object_properties):
1582 Add another call to gtk_builder_add_string after using
1583 delayed properties, as reported in #504393 but already
1586 2007-12-18 Christian Persch <chpe@gnome.org>
1589 * docs/reference/Makefile.am:
1590 * docs/reference/libgail-util/*:
1591 * gail-uninstalled.pc.in:
1593 * modules/Makefile.am:
1594 * modules/other/Makefile.am:
1595 * modules/other/gail/*:
1596 * modules/other/gail/libgail-util/*:
1597 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1599 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1601 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1602 * gdk/win32/gdkproperty-win32.c:
1603 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1605 * gtk/gtkimmodule.[hc]:
1606 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1607 look at the gtk-im-module setting, and listen for changes to the
1608 setting. (#502446, Akira Tagoh)
1610 2007-12-17 Kristian Rietveld <kris@imendio.com>
1612 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1613 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1614 to NULL as soon as it's destroyed. (#496546, patch from
1617 2007-12-17 Kristian Rietveld <kris@imendio.com>
1619 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1620 always determine what arrow to show if show_sort_indicator is true.
1621 (#352738, Chris Vine).
1623 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1625 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1626 Sébastien Granjoux)
1628 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1629 gtk_container_foreach in get_child_panes.
1631 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1633 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1635 Plug leak: When reordering the info in the list the old node is
1636 removed but not freed. (#503569)
1638 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1640 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1641 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1642 are deprecated since DirectFB 1.0.0. If compiling with an older
1643 version define the new type name to the old types. Fixes bug #503190.
1645 2007-12-14 Ray Strode <rstrode@redhat.com>
1647 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1648 instead of g_signal_connect_after (..., "realize", ...) as an
1649 alternative to gtk_widget_realize () (bug 503537).
1651 2007-12-14 Michael Natterer <mitch@imendio.com>
1653 * gdk/gdkinternals.h
1654 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1657 * gdk/gdkapplaunchcontext.c
1658 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1659 header already includes everything now.
1661 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1663 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1664 next stable release shall be 2.16, not 2.14 - even if disagree.
1666 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1668 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1670 Change GtkToolItem to retrieve its properties from GtkToolShell
1671 interface, instead of relying on being child of a GtkToolbar.
1674 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1675 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1676 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1677 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1678 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1679 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1680 Take section docs from template file and update them for GtkToolShell.
1681 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1682 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1684 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1686 Extract loading of GtkPageSetup and GtkPrintSettings from their
1687 *_new_*() functions and move that code into separate
1688 *_load_*() functions (#475565).
1690 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1691 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1692 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1693 Change the matching *_new_*() functions to use those functions.
1695 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1698 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1700 2007-12-14 Kristian Rietveld <kris@imendio.com>
1702 * gtk/tests/liststore.c:
1703 * gtk/tests/treestore.c: added tests for insertion functions.
1705 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1707 * Add RandR 1.2 support
1709 - New monitors_changed signal - New API to get width/height of
1710 monitors, and the name of the plug
1712 2007-12-13 Kristian Rietveld <kris@imendio.com>
1714 * gtk/tests/liststore.c:
1715 * gtk/tests/treestore.c: test the move and swap functions on a
1716 store with only one node.
1718 2007-12-13 Kristian Rietveld <kris@imendio.com>
1720 * gtk/gtktestutils.c (gtk_test_init): add a call to
1723 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1726 2007-12-13 Kristian Rietveld <kris@imendio.com>
1728 * gtk/tests/liststore.c:
1729 * gtk/tests/treestore.c: start composing tests for the list and tree
1732 * gtk/tests/treeview-scrolling.c: added automated tests for
1733 GtkTreeView's scrolling "subsystem".
1735 * gtk/tests/Makefile.am: updated; added new test programs.
1737 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1739 Make the code compile again after the GdkAppLaunchContext changes.
1741 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1742 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1744 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1746 * gdk/gdkapplaunchcontext.c: Add docs
1748 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1750 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1751 in gdk, providing startup notification. (#503203)
1753 * gdk/x11/gdkapplaunchcontext-x11.c:
1754 * gdk/win32/gdkapplaunchcontext-win32.c:
1755 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1756 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1757 parts. All but X11 are just empty stubs for now.
1760 * gdk/gdkinternals.h:
1762 * gdk/x11/Makefile.am:
1763 * gdk/win32/Makefile.am:
1764 * gdk/quartz/Makefile.am:
1765 * gdk/directfb/Makefile.am: Necessary glue.
1767 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1769 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1771 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1773 * gdk/directfb/gdktestutils-directfb.c:
1774 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1775 which adds testing functions to the DirectFB backend.
1777 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1779 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1780 Ciccani which fixes the mixing of gdk and cairo rendering.
1782 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1784 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1785 on "drag-motion" handlers. Clearify documentation for
1788 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1790 * buildertest.c: made unnecessarily exported symbols static.
1791 switched g_return_if_fail() statements in tests to assertions.
1792 special cased currently failing Widget/accesibility test to
1793 run only for g_test_thorough(), so it doesn't break make check.
1794 some coding style fixes.
1796 * Makefile.am: added buildertest to TEST_PROGS.
1798 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1800 * docs/tutorial/gtk-tut.sgml:
1801 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1803 2007-12-10 Richard Hult <richard@imendio.com>
1805 * gdk/quartz/Makefile.am:
1806 * gdk/quartz/gdkquartz.h:
1807 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1808 header (bug #405915). Also add a getter for the toplevel nswindow.
1810 2007-12-10 Richard Hult <richard@imendio.com>
1812 * gdk/quartz/gdkdrawable-quartz.c:
1813 (gdk_quartz_drawable_get_context),
1814 (gdk_quartz_drawable_release_context):
1815 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1816 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1817 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1818 used for each drawing context and in prepare, dispatch and poll
1819 with one that exists across each main loop iteration. Fixes leaks
1820 on leopard and protects against future leaks introduce when the
1821 underlying system changes again (bug #492977).
1823 2007-12-10 Richard Hult <richard@imendio.com>
1825 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1826 Fix the check for no changes to position and size.
1828 2007-12-10 Richard Hult <richard@imendio.com>
1830 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1831 sized areas at (0, 0), patch from Paul Davis.
1833 2007-12-10 Richard Hult <richard@imendio.com>
1835 * gdk/quartz/gdkprivate-quartz.h:
1836 * gdk/quartz/gdkeventloop-quartz.c:
1837 (_gdk_quartz_event_loop_get_pending),
1838 (_gdk_quartz_event_loop_check_pending),
1839 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1840 (gdk_event_check), (gdk_event_dispatch):
1841 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1842 (_gdk_events_queue): Fix a bug where we could end up trying to
1843 handle the same event more than once. Based on patch from Paul
1846 2007-12-10 Tor Lillqvist <tml@novell.com>
1848 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1851 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1853 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1854 to avoid further fallout from the fix for bug 388321.
1856 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1858 * gdk/directfb/gdkgc-directfb.c:
1859 * gdk/directfb/gdkdrawable-directfb.c:
1860 * gdk/directfb/gdkdirectfb.h:
1861 * gdk/directfb/gdkwindow-directfb.c:
1862 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1863 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1864 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1865 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1866 which are expected to improve the performance of the DirectFB backend.
1867 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1869 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1871 * gtk/gtkcontainer.c: Correct the documentation of child
1872 property getter arguments. (#501992, David Brigada)
1874 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1876 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1877 leak pixbufs. (#502250, Yevgen Muntyan)
1879 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1881 * gtk/gtkprintunixdialog.c:
1882 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1883 Print and Page Setup dialogs (#502202).
1885 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1887 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1888 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1889 of XVFB_START, since it's the GTESTER invokation that needs this.
1891 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1893 * gdk-pixbuf/gdk-pixbuf.symbols:
1895 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1896 positives in abicheck.sh
1898 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1900 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1901 GDK events generations in the DirectFB backend.
1903 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1905 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1906 set of likely unused display ids, because MacOS has no seq(1) command.
1908 2007-12-06 Richard Hult <richard@imendio.com>
1910 * gdk/quartz/gdkevents-quartz.c:
1911 (synthesize_crossing_events_for_ns_event): Fix warning when
1912 switching spaces in leopard.
1914 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1916 * tests/floatingtest.c: ported to new testing framework.
1918 * tests/Makefile.am: run floatingtest as testing framework test.
1920 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1922 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1923 timeouts and converting main loop sleeps to pending/iterate loops with
1924 very low priority async handlers. eliminate output for non-verbose
1925 tests. assert successfull subtests in all test functions. use testing
1926 framework in main().
1928 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1929 executed inside Xvfb upon make check.
1931 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1933 * tests/objecttests.c: use string comparisons for string property
1934 values and get rid of referencing symbols in array initialization.
1936 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1938 * gtk+/Makefile.decl: run tests in current dir after setting up the
1939 logging directory, so their results get properly merged into the
1942 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1943 tests to loop over registered Gdk/Gtk+ types.
1945 * gtk+/tests/objecttests.c: new test program, implements automated
1946 property tests. several properties are blacklisted because they
1947 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1948 can be used to test blacklisted properties and see which proprty failed.
1950 2007-12-04 Richard Hult <richard@imendio.com>
1952 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1953 Fully initialize the root window, fixes bug #501583.
1955 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1957 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1960 2007-12-03 Richard Hult <richard@imendio.com>
1962 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1963 Don't crash when dragging from a source that doesn't support uri
1964 lists (bug #499868, Paul Davis).
1966 2007-12-03 Richard Hult <richard@imendio.com>
1968 * gdk/quartz/gdkwindow-quartz.c:
1969 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1970 parent relative bg pixmap is set, and no parent has a bg
1971 pixmap. Fixes bug #500804.
1973 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1975 Two optimizations for icon cache lookups.
1977 * gtk/gtkiconcache.[hc]:
1978 * gtk/gtkicontheme.c: Remember the directory index for
1979 subdirectories, instead of running over the directory list
1982 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1983 chain and try it first; this helps with the the usage patterns
1984 in gtkicontheme.c, where the same icon is queried for a lot
1987 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1989 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1990 functions from header files. this should be portable across linux and
1991 Mac OS, unlike the previpous sed expression.
1993 2007-12-1 Cody Russell <bratsche@gnome.org>
1995 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1996 On Windows, queue a redraw of child2 whenever we set
1997 the pane handle position. This is unfortunately kind
1998 of hacky, but solves the visual artifacts that were
1999 occuring on at least certain types of child widgets
2000 (e.g., text views and tree views) that are inside
2001 horizontal or vertical panes. (#144269)
2003 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2005 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2007 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2009 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2012 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2014 * gtk/Makefile.am: Fix ordering of subdirs.
2016 2007-11-28 Tor Lillqvist <tml@novell.com>
2018 A proper build of GNU libintl is supposed to export the variable
2019 _nl_msg_cat_cntr. configure looks for that variable in order to
2020 recognize GNU gettext. If it sees that it is indeed GNU gettext
2021 that is used, it decides to install message catalogs in
2022 share/locale, otherwise in lib/locale. Until now on Windows I have
2023 built GTK+ against a build of GNU gettext that did not export
2024 _nl_msg_cat_cntr. But this will change, so we can't assume message
2025 catalogs are always in lib/locale.
2027 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2028 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2029 before the inclusion of gtkprivate.h so that it sees the original
2032 * gtk-zip.sh.in: Check whether the message catalogs are in
2033 share/locale or lib/locale.
2035 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2036 that the code in _gtk_get_localedir() will find the slashes.
2038 2007-11-28 Tor Lillqvist <tml@novell.com>
2040 * gtk/Makefile.am: Improve portability. The -o option is present
2041 only in newish GNU egreps. Use one more sed in the pipeline
2044 2007-11-28 Tor Lillqvist <tml@novell.com>
2046 Fix #375893, patch by Ben Hague:
2048 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2049 around GetLogicalDrives() that takes also the viewable drive
2050 restrictions in the Registry (which are usually the result of an
2051 Active Directory Group Policy) into account.
2053 (check_volumes, gtk_file_system_win32_list_volumes) Call
2054 get_viewable_logical_drives() instead of GetLogicalDrives().
2056 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2058 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2059 variables to silence valgrind. (#495124, Morten Welinder)
2061 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2063 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2064 that the construct_child function is responsible for returning a
2066 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2067 objects from constructors
2068 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2069 g_object_ref() to this construction function (it's the only
2074 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2076 * gtkbuilder.c: remove concept of root objects and just refcount
2077 all objects in the builder. Fixes #496651.
2079 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2081 * tests/buildertest.c (test_window): fix invalid free
2083 2007-11-26 Josselin Mouette <joss@malsain.org>
2085 reviewed by: Federico Mena Quintero
2087 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2088 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2089 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2090 Make the shortcuts activate with a single click. (#148828)
2091 Fix a few things affected by the change:
2092 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2093 where no shortcut is selected.
2094 - Don't activate a shortcut in the response callback.
2095 - Filter out duplicate entries in volumes and bookmarks to
2096 avoid the selection to change when reordering them with DnD.
2098 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2101 * gtk/gtknotebook.c:
2102 * gtk/gtkplugprivate.h:
2104 * gtk/gtksocketprivate.h:
2105 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2107 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2109 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2110 (#495574, Richard Hult)
2112 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2114 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2115 String change ! (#376361, Sven Neumann)
2117 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2119 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2121 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2124 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2126 * gtk/gtkassistant.c: Improve alternative button
2127 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2129 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2131 * gtk/gtkcalendar.c: Fix a theming problem with colors
2132 in GtkCalendar. (#499703, Michael Hofmann)
2134 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2136 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2138 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2140 Use templates for glib-mkenums calls instead of
2141 complicated commandlines in Makefiles. (#429910)
2143 * gdk-pixbuf/Makefile.am:
2146 * perf/Makefile.am: Use templates for glib-mkenums
2148 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2149 * gdk/gdkenumtypes.[ch].template:
2150 * gtk/gtktypebuiltings.[ch].template:
2151 * perf/typebuiltins.[ch].template: The templates
2153 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2155 * gtk/gtkfilechooserbutton.c:
2156 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2157 some compilers choke on that. (#467722)
2159 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2161 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2162 about hook setup. (#425004, Emmanuele Bassi)
2164 2007-11-26 Tor Lillqvist <tml@novell.com>
2166 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2167 monitor the window currently is on, not always the primary
2168 monitor. (#463865, Tim Evans)
2170 2007-11-26 Tor Lillqvist <tml@novell.com>
2172 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2174 * gdk/win32/Makefile.am: Add it.
2176 2007-11-26 Tor Lillqvist <tml@novell.com>
2178 * configure.in: Don't add jasper to all_loaders if no libjasper.
2180 2007-11-25 Bastien Nocera <hadess@hadess.net>
2182 * configure.in: Add detection for libjasper, used by the
2183 gdk-pixbuf JPEG2000 loader
2185 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2187 * configure.in: Require gtk-doc 1.8
2189 * */*.c: Use gtk-doc abbreviations for examples in docs.
2191 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2193 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2196 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2198 * gtk/gtkdialog.c: Move signal and property documentation inline,
2199 fix a problem with the ::response signal docs. (#499133, Josselin
2202 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2204 * Makefile.decl: initialize automake variables EXTRA_DIST and
2205 TEST_PROGS for unconditional appending via += in other makefiles.
2206 define recursive test targets: test, test-report, perf-report,
2207 full-report, as described here:
2208 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2209 the test targets will execute Gtk+ test programs within an Xvfb session.
2211 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2213 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2214 g_test_run() to run the tests to integrate with the testing framework.
2216 * gtk/tests/Makefile.am: removed exemplary testing rules.
2218 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2219 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2220 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2221 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2222 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2223 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2224 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2225 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2226 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2227 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2228 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2229 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2230 * modules/engines/ms-windows/Theme/Makefile.am:
2231 * modules/engines/ms-windows/Makefile.am:
2232 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2233 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2234 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2235 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2236 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2237 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2238 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2240 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2242 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2243 (#485662, patch by Herbert Valerio Riedel)
2245 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2247 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2249 2007-11-21 Richard Hult <richard@imendio.com>
2251 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2252 stubs for the testing functions to fix the build.
2254 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2256 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2257 (#467711, The Written Word)
2259 2007-11-21 Ross Burton <ross@openedhand.com>
2261 * gdk/x11/gdksettings.c:
2262 Add xsetting for gtk-scrolled-window-placement (#458103).
2264 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2266 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2267 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2268 (#469239, Michael Natterer)
2270 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2272 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2273 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2274 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2275 (#436536, Tommi Komulainen)
2277 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2279 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2280 property. (#489782, Jan Janech)
2282 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2284 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2285 frames. (#107398, Owen Taylor, Miguel Gomez)
2287 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2289 Moved Gdk test functions from Gtk+ to Gdk test utils.
2291 * gdk/Makefile.am: added gdktestutils.h to public includes.
2293 * gdk/gdk.h: added gdktestutils.h to public includes.
2295 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2296 gdk_test_render_sync.
2298 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2299 gdk_test_simulate_key, gdk_test_render_sync.
2301 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2303 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2304 gdk_test_simulate_key, gdk_test_render_sync.
2306 * gtk/gtktestutils.c:
2307 * gtk/gtktestutils.h:
2308 * gtk/gtk.symbols: removed gtk_test_simulate_button
2309 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2311 * gtk/tests/testing.c: call gdk_test_render_sync.
2313 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2315 Added unit tests for Gtk+ testing utilities.
2317 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2318 utility functions. some g_test_* related portions are disabled and need
2319 to be enabled once Gtk+ depends on a new glib with the GLib testing
2320 framework integrated.
2322 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2323 added exemplary test rules to run tests inside Xvfb. this needs to depend
2324 on gtester for full fledged testing.
2326 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2327 collecting _get_type functions to catch e.g. gtk_text_get_type().
2329 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2331 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2333 Added Gtk+ testing utilities.
2335 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2336 for the most part, the functions herein involve navigating and interacting
2337 with dialog elements programatically, to automate user interaction tests of
2338 dialogs and widgets.
2340 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2342 * gtk/gtk.symbols: added gtk_test_* symbols.
2344 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2345 generate gtktypefuncs.c which contains a list of all _get_type functions in
2347 2007-11-20 Bastien Nocera <hadess@hadess.net>
2349 * configure.in: add support for conditional icns gdk-pixbuf loader
2352 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2354 * configure.in: updated version number to 2.15.0 for development.
2356 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2358 === Branch for 2.12 ===