1 2007-12-22 Christian Persch <chpe@gnome.org>
3 * module/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4 handwritten get_type functions. Bug #504661.
6 2007-12-23 Xan Lopez <xan@gnome.org>
8 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
9 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
11 Patch by Sadrul Habib Chowdhury (#504804)
13 2007-12-22 Christian Persch <chpe@gnome.org>
15 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
16 #504645, patch by Li Yuan.
18 2007-12-22 Christian Persch <chpe@gnome.org>
20 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
22 2007-12-22 Christian Persch <chpe@gnome.org>
24 * modules/other/gail/gail.c:
25 * modules/other/gail/gailbutton.c:
26 * modules/other/gail/gailcell.c:
27 * modules/other/gail/gailcombo.c:
28 * modules/other/gail/gailcombo.h:
29 * modules/other/gail/gailcombobox.c:
30 * modules/other/gail/gailentry.c:
31 * modules/other/gail/gailexpander.c:
32 * modules/other/gail/gailmenuitem.c:
33 * modules/other/gail/gailnotebook.c:
34 * modules/other/gail/gailnotebookpage.c:
35 * modules/other/gail/gailnotebookpage.h:
36 * modules/other/gail/gailoptionmenu.c:
37 * modules/other/gail/gailrange.c:
38 * modules/other/gail/gailtextview.c:
39 * modules/other/gail/gailtreeview.c:
40 * modules/other/gail/gailtreeview.h:
41 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
44 2007-12-22 Matthias Clasen <mclasen@redhat.com>
46 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
49 2007-12-21 Richard Hult <richard@imendio.com>
51 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
52 Plug leak of destroyed subviews, fixes bug #504753.
54 2007-12-20 Johan Dahlin <johan@gnome.org>
56 * tests/Makefile.am (TEST_PROGS):
57 * tests/defaultvaluetest.c: Add a test for default values,
58 based on program by Christan Perch
60 2007-12-20 Johan Dahlin <johan@gnome.org>
62 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
63 Refactor to avoid some duplication.
64 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
65 Fixes #504749, Yuri Pimenov
67 2007-12-20 Kristian Rietveld <kris@imendio.com>
69 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
70 the build work again on systems without xrandr 1.2.
72 2007-12-20 Christian Persch <chpe@gnome.org>
75 * modules/other/gail/libgail-util/Makefile.am:
76 Keep the same libtool version as the standalone libgail-util had.
79 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
81 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
83 2007-12-20 Alexander Larsson <alexl@redhat.com>
85 * gdk/x11/gdkapplaunchcontext-x11.c:
86 Update for gio API changes
88 2007-12-20 Richard Hult <richard@imendio.com>
90 * gdk/quartz/GdkQuartzWindow.c:
91 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
92 processing events after changing the size.
94 2007-12-20 Richard Hult <richard@imendio.com>
96 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
97 Add stub for quartz to fix build.
99 2007-12-20 Christian Persch <chpe@gnome.org>
101 * modules/other/gail/Makefile.am:
102 * modules/other/gail/gailimage.c: (gail_image_class_init),
103 (gail_image_init), (elide_underscores), (gail_image_get_name),
104 (atk_image_interface_init), (gail_image_finalize):
105 * modules/other/gail/gailimage.h:
106 R modules/other/gail/gailintl.h:
107 * po/POTFILES.skip: Use the stock item's label as the name of the
108 accessible in gailimage.c. Bug #504246.
110 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
112 Avoid some compiler warnings and remove obsolete code. (#339540)
114 * gtk/gtkcalendar.c: Change week and year variable in
115 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
116 0" block from calendar_paint_day: The feature in question is handled
117 few lines above. Cast data returned by gtk_selection_data_get_text()
118 to (gchar*) in gtk_calendar_drag_data_received.
120 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
122 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
124 2007-12-19 Johan Dahlin <johan@gnome.org>
126 * tests/buildertest.c (test_object_properties):
127 Add another call to gtk_builder_add_string after using
128 delayed properties, as reported in #504393 but already
131 2007-12-18 Christian Persch <chpe@gnome.org>
134 * docs/reference/Makefile.am:
135 * docs/reference/libgail-util/*:
136 * gail-uninstalled.pc.in:
138 * modules/Makefile.am:
139 * modules/other/Makefile.am:
140 * modules/other/gail/*:
141 * modules/other/gail/libgail-util/*:
142 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
144 2007-12-17 Matthias Clasen <mclasen@redhat.com>
146 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
147 * gdk/win32/gdkproperty-win32.c:
148 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
150 * gtk/gtkimmodule.[hc]:
151 * gtk/gtkimmulticontext.[hc]: When determining the default context,
152 look at the gtk-im-module setting, and listen for changes to the
153 setting. (#502446, Akira Tagoh)
155 2007-12-17 Kristian Rietveld <kris@imendio.com>
157 * gtk/gtktooltip.c (gtk_tooltip_finalize),
158 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
159 to NULL as soon as it's destroyed. (#496546, patch from
162 2007-12-17 Kristian Rietveld <kris@imendio.com>
164 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
165 always determine what arrow to show if show_sort_indicator is true.
166 (#352738, Chris Vine).
168 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
170 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
173 * gtk/gtkpaned.c: Call gtk_container_forall instead of
174 gtk_container_foreach in get_child_panes.
176 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
178 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
180 Plug leak: When reordering the info in the list the old node is
181 removed but not freed. (#503569)
183 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
185 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
186 Use u32 instead of __u32 and u8 instead of __u8 as the other types
187 are deprecated since DirectFB 1.0.0. If compiling with an older
188 version define the new type name to the old types. Fixes bug #503190.
190 2007-12-14 Ray Strode <rstrode@redhat.com>
192 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
193 instead of g_signal_connect_after (..., "realize", ...) as an
194 alternative to gtk_widget_realize () (bug 503537).
196 2007-12-14 Michael Natterer <mitch@imendio.com>
199 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
202 * gdk/gdkapplaunchcontext.c
203 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
204 header already includes everything now.
206 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
208 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
209 next stable release shall be 2.16, not 2.14 - even if disagree.
211 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
213 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
215 Change GtkToolItem to retrieve its properties from GtkToolShell
216 interface, instead of relying on being child of a GtkToolbar.
219 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
220 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
221 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
222 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
223 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
224 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
225 Take section docs from template file and update them for GtkToolShell.
226 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
227 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
229 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
231 Extract loading of GtkPageSetup and GtkPrintSettings from their
232 *_new_*() functions and move that code into separate
233 *_load_*() functions (#475565).
235 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
236 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
237 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
238 Change the matching *_new_*() functions to use those functions.
240 2007-12-14 Matthias Clasen <mclasen@redhat.com>
243 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
245 2007-12-14 Kristian Rietveld <kris@imendio.com>
247 * gtk/tests/liststore.c:
248 * gtk/tests/treestore.c: added tests for insertion functions.
250 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
252 * Add RandR 1.2 support
254 - New monitors_changed signal - New API to get width/height of
255 monitors, and the name of the plug
257 2007-12-13 Kristian Rietveld <kris@imendio.com>
259 * gtk/tests/liststore.c:
260 * gtk/tests/treestore.c: test the move and swap functions on a
261 store with only one node.
263 2007-12-13 Kristian Rietveld <kris@imendio.com>
265 * gtk/gtktestutils.c (gtk_test_init): add a call to
268 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
271 2007-12-13 Kristian Rietveld <kris@imendio.com>
273 * gtk/tests/liststore.c:
274 * gtk/tests/treestore.c: start composing tests for the list and tree
277 * gtk/tests/treeview-scrolling.c: added automated tests for
278 GtkTreeView's scrolling "subsystem".
280 * gtk/tests/Makefile.am: updated; added new test programs.
282 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
284 Make the code compile again after the GdkAppLaunchContext changes.
286 * configure.in: Add gio-2.0 to GDK_PACKAGES.
287 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
289 2007-12-12 Matthias Clasen <mclasen@redhat.com>
291 * gdk/gdkapplaunchcontext.c: Add docs
293 2007-12-12 Matthias Clasen <mclasen@redhat.com>
295 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
296 in gdk, providing startup notification. (#503203)
298 * gdk/x11/gdkapplaunchcontext-x11.c:
299 * gdk/win32/gdkapplaunchcontext-win32.c:
300 * gdk/quartz/gdkapplaunchcontext-quartz.c:
301 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
302 parts. All but X11 are just empty stubs for now.
305 * gdk/gdkinternals.h:
307 * gdk/x11/Makefile.am:
308 * gdk/win32/Makefile.am:
309 * gdk/quartz/Makefile.am:
310 * gdk/directfb/Makefile.am: Necessary glue.
312 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
314 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
316 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
318 * gdk/directfb/gdktestutils-directfb.c:
319 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
320 which adds testing functions to the DirectFB backend.
322 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
324 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
325 Ciccani which fixes the mixing of gdk and cairo rendering.
327 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
329 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
330 on "drag-motion" handlers. Clearify documentation for
333 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
335 * buildertest.c: made unnecessarily exported symbols static.
336 switched g_return_if_fail() statements in tests to assertions.
337 special cased currently failing Widget/accesibility test to
338 run only for g_test_thorough(), so it doesn't break make check.
339 some coding style fixes.
341 * Makefile.am: added buildertest to TEST_PROGS.
343 2007-12-11 Stefan Kost <ensonic@users.sf.net>
345 * docs/tutorial/gtk-tut.sgml:
346 Use gtk_widget_get_parent_window() instead of widget->parent->window.
348 2007-12-10 Richard Hult <richard@imendio.com>
350 * gdk/quartz/Makefile.am:
351 * gdk/quartz/gdkquartz.h:
352 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
353 header (bug #405915). Also add a getter for the toplevel nswindow.
355 2007-12-10 Richard Hult <richard@imendio.com>
357 * gdk/quartz/gdkdrawable-quartz.c:
358 (gdk_quartz_drawable_get_context),
359 (gdk_quartz_drawable_release_context):
360 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
361 (gdk_event_check), (gdk_event_dispatch), (poll_func):
362 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
363 used for each drawing context and in prepare, dispatch and poll
364 with one that exists across each main loop iteration. Fixes leaks
365 on leopard and protects against future leaks introduce when the
366 underlying system changes again (bug #492977).
368 2007-12-10 Richard Hult <richard@imendio.com>
370 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
371 Fix the check for no changes to position and size.
373 2007-12-10 Richard Hult <richard@imendio.com>
375 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
376 sized areas at (0, 0), patch from Paul Davis.
378 2007-12-10 Richard Hult <richard@imendio.com>
380 * gdk/quartz/gdkprivate-quartz.h:
381 * gdk/quartz/gdkeventloop-quartz.c:
382 (_gdk_quartz_event_loop_get_pending),
383 (_gdk_quartz_event_loop_check_pending),
384 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
385 (gdk_event_check), (gdk_event_dispatch):
386 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
387 (_gdk_events_queue): Fix a bug where we could end up trying to
388 handle the same event more than once. Based on patch from Paul
391 2007-12-10 Tor Lillqvist <tml@novell.com>
393 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
396 2007-12-10 Matthias Clasen <mclasen@redhat.com>
398 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
399 to avoid further fallout from the fix for bug 388321.
401 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
403 * gdk/directfb/gdkgc-directfb.c:
404 * gdk/directfb/gdkdrawable-directfb.c:
405 * gdk/directfb/gdkdirectfb.h:
406 * gdk/directfb/gdkwindow-directfb.c:
407 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
408 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
409 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
410 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
411 which are expected to improve the performance of the DirectFB backend.
412 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
414 2007-12-07 Matthias Clasen <mclasen@redhat.com>
416 * gtk/gtkcontainer.c: Correct the documentation of child
417 property getter arguments. (#501992, David Brigada)
419 2007-12-07 Matthias Clasen <mclasen@redhat.com>
421 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
422 leak pixbufs. (#502250, Yevgen Muntyan)
424 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
426 * gtk/gtkprintunixdialog.c:
427 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
428 Print and Page Setup dialogs (#502202).
430 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
432 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
433 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
434 of XVFB_START, since it's the GTESTER invokation that needs this.
436 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
438 * gdk-pixbuf/gdk-pixbuf.symbols:
440 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
441 positives in abicheck.sh
443 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
445 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
446 GDK events generations in the DirectFB backend.
448 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
450 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
451 set of likely unused display ids, because MacOS has no seq(1) command.
453 2007-12-06 Richard Hult <richard@imendio.com>
455 * gdk/quartz/gdkevents-quartz.c:
456 (synthesize_crossing_events_for_ns_event): Fix warning when
457 switching spaces in leopard.
459 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
461 * tests/floatingtest.c: ported to new testing framework.
463 * tests/Makefile.am: run floatingtest as testing framework test.
465 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
467 * tests/autotestfilechooser.c: majorly speed up execution by reducing
468 timeouts and converting main loop sleeps to pending/iterate loops with
469 very low priority async handlers. eliminate output for non-verbose
470 tests. assert successfull subtests in all test functions. use testing
473 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
474 executed inside Xvfb upon make check.
476 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
478 * tests/objecttests.c: use string comparisons for string property
479 values and get rid of referencing symbols in array initialization.
481 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
483 * gtk+/Makefile.decl: run tests in current dir after setting up the
484 logging directory, so their results get properly merged into the
487 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
488 tests to loop over registered Gdk/Gtk+ types.
490 * gtk+/tests/objecttests.c: new test program, implements automated
491 property tests. several properties are blacklisted because they
492 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
493 can be used to test blacklisted properties and see which proprty failed.
495 2007-12-04 Richard Hult <richard@imendio.com>
497 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
498 Fully initialize the root window, fixes bug #501583.
500 2007-12-04 Matthias Clasen <mclasen@redhat.com>
502 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
505 2007-12-03 Richard Hult <richard@imendio.com>
507 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
508 Don't crash when dragging from a source that doesn't support uri
509 lists (bug #499868, Paul Davis).
511 2007-12-03 Richard Hult <richard@imendio.com>
513 * gdk/quartz/gdkwindow-quartz.c:
514 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
515 parent relative bg pixmap is set, and no parent has a bg
516 pixmap. Fixes bug #500804.
518 2007-12-03 Matthias Clasen <mclasen@redhat.com>
520 Two optimizations for icon cache lookups.
522 * gtk/gtkiconcache.[hc]:
523 * gtk/gtkicontheme.c: Remember the directory index for
524 subdirectories, instead of running over the directory list
527 * gtk/gtkiconcache.c (find_image_offset): Remember the last
528 chain and try it first; this helps with the the usage patterns
529 in gtkicontheme.c, where the same icon is queried for a lot
532 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
534 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
535 functions from header files. this should be portable across linux and
536 Mac OS, unlike the previpous sed expression.
538 2007-12-1 Cody Russell <bratsche@gnome.org>
540 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
541 On Windows, queue a redraw of child2 whenever we set
542 the pane handle position. This is unfortunately kind
543 of hacky, but solves the visual artifacts that were
544 occuring on at least certain types of child widgets
545 (e.g., text views and tree views) that are inside
546 horizontal or vertical panes. (#144269)
548 2007-11-30 Matthias Clasen <mclasen@redhat.com>
550 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
552 2007-11-29 Matthias Clasen <mclasen@redhat.com>
554 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
557 2007-11-29 Matthias Clasen <mclasen@redhat.com>
559 * gtk/Makefile.am: Fix ordering of subdirs.
561 2007-11-28 Tor Lillqvist <tml@novell.com>
563 A proper build of GNU libintl is supposed to export the variable
564 _nl_msg_cat_cntr. configure looks for that variable in order to
565 recognize GNU gettext. If it sees that it is indeed GNU gettext
566 that is used, it decides to install message catalogs in
567 share/locale, otherwise in lib/locale. Until now on Windows I have
568 built GTK+ against a build of GNU gettext that did not export
569 _nl_msg_cat_cntr. But this will change, so we can't assume message
570 catalogs are always in lib/locale.
572 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
573 GTK_LOCALEDIR being either in "lib" or "share". Move the function
574 before the inclusion of gtkprivate.h so that it sees the original
577 * gtk-zip.sh.in: Check whether the message catalogs are in
578 share/locale or lib/locale.
580 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
581 that the code in _gtk_get_localedir() will find the slashes.
583 2007-11-28 Tor Lillqvist <tml@novell.com>
585 * gtk/Makefile.am: Improve portability. The -o option is present
586 only in newish GNU egreps. Use one more sed in the pipeline
589 2007-11-28 Tor Lillqvist <tml@novell.com>
591 Fix #375893, patch by Ben Hague:
593 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
594 around GetLogicalDrives() that takes also the viewable drive
595 restrictions in the Registry (which are usually the result of an
596 Active Directory Group Policy) into account.
598 (check_volumes, gtk_file_system_win32_list_volumes) Call
599 get_viewable_logical_drives() instead of GetLogicalDrives().
601 2007-11-27 Matthias Clasen <mclasen@redhat.com>
603 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
604 variables to silence valgrind. (#495124, Morten Welinder)
606 2006-11-26 Ryan Lortie <desrt@desrt.ca>
608 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
609 that the construct_child function is responsible for returning a
611 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
612 objects from constructors
613 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
614 g_object_ref() to this construction function (it's the only
619 2006-11-26 Ryan Lortie <desrt@desrt.ca>
621 * gtkbuilder.c: remove concept of root objects and just refcount
622 all objects in the builder. Fixes #496651.
624 2007-11-26 Ryan Lortie <desrt@desrt.ca>
626 * tests/buildertest.c (test_window): fix invalid free
628 2007-11-26 Josselin Mouette <joss@malsain.org>
630 reviewed by: Federico Mena Quintero
632 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
633 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
634 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
635 Make the shortcuts activate with a single click. (#148828)
636 Fix a few things affected by the change:
637 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
638 where no shortcut is selected.
639 - Don't activate a shortcut in the response callback.
640 - Filter out duplicate entries in volumes and bookmarks to
641 avoid the selection to change when reordering them with DnD.
643 2007-11-26 Matthias Clasen <mclasen@redhat.com>
647 * gtk/gtkplugprivate.h:
649 * gtk/gtksocketprivate.h:
650 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
652 2007-11-26 Matthias Clasen <mclasen@redhat.com>
654 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
655 (#495574, Richard Hult)
657 2007-11-26 Matthias Clasen <mclasen@redhat.com>
659 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
660 String change ! (#376361, Sven Neumann)
662 2007-11-26 Matthias Clasen <mclasen@redhat.com>
664 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
666 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
669 2007-11-26 Matthias Clasen <mclasen@redhat.com>
671 * gtk/gtkassistant.c: Improve alternative button
672 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
674 2007-11-26 Matthias Clasen <mclasen@redhat.com>
676 * gtk/gtkcalendar.c: Fix a theming problem with colors
677 in GtkCalendar. (#499703, Michael Hofmann)
679 2007-11-26 Matthias Clasen <mclasen@redhat.com>
681 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
683 2007-11-26 Matthias Clasen <mclasen@redhat.com>
685 Use templates for glib-mkenums calls instead of
686 complicated commandlines in Makefiles. (#429910)
688 * gdk-pixbuf/Makefile.am:
691 * perf/Makefile.am: Use templates for glib-mkenums
693 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
694 * gdk/gdkenumtypes.[ch].template:
695 * gtk/gtktypebuiltings.[ch].template:
696 * perf/typebuiltins.[ch].template: The templates
698 2007-11-26 Matthias Clasen <mclasen@redhat.com>
700 * gtk/gtkfilechooserbutton.c:
701 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
702 some compilers choke on that. (#467722)
704 2007-11-26 Matthias Clasen <mclasen@redhat.com>
706 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
707 about hook setup. (#425004, Emmanuele Bassi)
709 2007-11-26 Tor Lillqvist <tml@novell.com>
711 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
712 monitor the window currently is on, not always the primary
713 monitor. (#463865, Tim Evans)
715 2007-11-26 Tor Lillqvist <tml@novell.com>
717 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
719 * gdk/win32/Makefile.am: Add it.
721 2007-11-26 Tor Lillqvist <tml@novell.com>
723 * configure.in: Don't add jasper to all_loaders if no libjasper.
725 2007-11-25 Bastien Nocera <hadess@hadess.net>
727 * configure.in: Add detection for libjasper, used by the
728 gdk-pixbuf JPEG2000 loader
730 2007-11-25 Matthias Clasen <mclasen@redhat.com>
732 * configure.in: Require gtk-doc 1.8
734 * */*.c: Use gtk-doc abbreviations for examples in docs.
736 2007-11-25 Matthias Clasen <mclasen@redhat.com>
738 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
741 2007-11-25 Matthias Clasen <mclasen@redhat.com>
743 * gtk/gtkdialog.c: Move signal and property documentation inline,
744 fix a problem with the ::response signal docs. (#499133, Josselin
747 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
749 * Makefile.decl: initialize automake variables EXTRA_DIST and
750 TEST_PROGS for unconditional appending via += in other makefiles.
751 define recursive test targets: test, test-report, perf-report,
752 full-report, as described here:
753 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
754 the test targets will execute Gtk+ test programs within an Xvfb session.
756 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
758 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
759 g_test_run() to run the tests to integrate with the testing framework.
761 * gtk/tests/Makefile.am: removed exemplary testing rules.
763 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
764 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
765 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
766 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
767 * docs/reference/Makefile.am, docs/tools/Makefile.am:
768 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
769 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
770 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
771 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
772 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
773 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
774 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
775 * modules/engines/ms-windows/Theme/Makefile.am:
776 * modules/engines/ms-windows/Makefile.am:
777 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
778 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
779 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
780 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
781 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
782 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
783 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
785 2007-11-22 Matthias Clasen <mclasen@redhat.com>
787 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
788 (#485662, patch by Herbert Valerio Riedel)
790 2007-11-22 Matthias Clasen <mclasen@redhat.com>
792 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
794 2007-11-21 Richard Hult <richard@imendio.com>
796 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
797 stubs for the testing functions to fix the build.
799 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
801 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
802 (#467711, The Written Word)
804 2007-11-21 Ross Burton <ross@openedhand.com>
806 * gdk/x11/gdksettings.c:
807 Add xsetting for gtk-scrolled-window-placement (#458103).
809 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
811 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
812 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
813 (#469239, Michael Natterer)
815 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
817 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
818 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
819 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
820 (#436536, Tommi Komulainen)
822 2007-11-21 Matthias Clasen <mclasen@redhat.com>
824 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
825 property. (#489782, Jan Janech)
827 2007-11-20 Matthias Clasen <mclasen@redhat.com>
829 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
830 frames. (#107398, Owen Taylor, Miguel Gomez)
832 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
834 Moved Gdk test functions from Gtk+ to Gdk test utils.
836 * gdk/Makefile.am: added gdktestutils.h to public includes.
838 * gdk/gdk.h: added gdktestutils.h to public includes.
840 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
841 gdk_test_render_sync.
843 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
844 gdk_test_simulate_key, gdk_test_render_sync.
846 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
848 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
849 gdk_test_simulate_key, gdk_test_render_sync.
851 * gtk/gtktestutils.c:
852 * gtk/gtktestutils.h:
853 * gtk/gtk.symbols: removed gtk_test_simulate_button
854 gtk_test_simulate_key, gtk_test_xserver_render_sync.
856 * gtk/tests/testing.c: call gdk_test_render_sync.
858 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
860 Added unit tests for Gtk+ testing utilities.
862 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
863 utility functions. some g_test_* related portions are disabled and need
864 to be enabled once Gtk+ depends on a new glib with the GLib testing
865 framework integrated.
867 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
868 added exemplary test rules to run tests inside Xvfb. this needs to depend
869 on gtester for full fledged testing.
871 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
872 collecting _get_type functions to catch e.g. gtk_text_get_type().
874 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
876 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
878 Added Gtk+ testing utilities.
880 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
881 for the most part, the functions herein involve navigating and interacting
882 with dialog elements programatically, to automate user interaction tests of
885 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
887 * gtk/gtk.symbols: added gtk_test_* symbols.
889 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
890 generate gtktypefuncs.c which contains a list of all _get_type functions in
892 2007-11-20 Bastien Nocera <hadess@hadess.net>
894 * configure.in: add support for conditional icns gdk-pixbuf loader
897 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
899 * configure.in: updated version number to 2.15.0 for development.
901 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
903 === Branch for 2.12 ===