1 2007-12-22 Christian Persch <chpe@gnome.org>
3 * modules/other/gail/gailwindow.c: (gail_window_initialize):
4 Initialise |widget|. Fixes a buglet introduced by the commit from bug
7 2007-12-22 Christian Persch <chpe@gnome.org>
9 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
11 2007-12-22 Christian Persch <chpe@gnome.org>
13 * modules/other/gail/*.[ch]: Remove relocations from the atk
14 factories. Remove unused gail_foo_new() functions. Fix object
15 instantiation to be derivation safe by moving initialisation code
16 from the removed gail_foo_new() functions to the
17 AtkObjectClass::initialize implementation. Bug #505226.
19 2007-12-24 Matthias Clasen <mclasen@redhat.com>
21 * modules/other/gail/gailentry.c:
22 * modules/other/gail/gailimage.c:
23 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
24 uses of clipboards and settings. (#504722, Christian Persch)
26 2007-12-24 Matthias Clasen <mclasen@redhat.com>
28 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
31 2007-12-24 Matthias Clasen <mclasen@redhat.com>
33 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
34 use the time and button information from the event. (#504901,
37 2007-12-23 Cody Russell <bratsche@gnome.org>
39 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
40 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
41 Fixes a regression caused by #164537 patch where transient
42 windows that are hidden get shown (incorrectly) when their
43 parents are minimized. (#504984)
45 2007-12-22 Christian Persch <chpe@gnome.org>
47 * modules/other/gail/gailcell.c:
48 * modules/other/gail/gailcontainercell.c:
49 * modules/other/gail/gailexpander.c:
50 * modules/other/gail/gailtextcell.c:
51 * modules/other/gail/gailtextview.c:
52 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
54 2007-12-22 Christian Persch <chpe@gnome.org>
56 * modules/other/gail/*.c: Include config.h. Bug #504720.
58 2007-12-22 Christian Persch <chpe@gnome.org>
60 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
61 handwritten get_type functions. Bug #504661.
63 2007-12-23 Xan Lopez <xan@gnome.org>
65 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
66 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
68 Patch by Sadrul Habib Chowdhury (#504804)
70 2007-12-22 Christian Persch <chpe@gnome.org>
72 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
73 #504645, patch by Li Yuan.
75 2007-12-22 Christian Persch <chpe@gnome.org>
77 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
79 2007-12-22 Christian Persch <chpe@gnome.org>
81 * modules/other/gail/gail.c:
82 * modules/other/gail/gailbutton.c:
83 * modules/other/gail/gailcell.c:
84 * modules/other/gail/gailcombo.c:
85 * modules/other/gail/gailcombo.h:
86 * modules/other/gail/gailcombobox.c:
87 * modules/other/gail/gailentry.c:
88 * modules/other/gail/gailexpander.c:
89 * modules/other/gail/gailmenuitem.c:
90 * modules/other/gail/gailnotebook.c:
91 * modules/other/gail/gailnotebookpage.c:
92 * modules/other/gail/gailnotebookpage.h:
93 * modules/other/gail/gailoptionmenu.c:
94 * modules/other/gail/gailrange.c:
95 * modules/other/gail/gailtextview.c:
96 * modules/other/gail/gailtreeview.c:
97 * modules/other/gail/gailtreeview.h:
98 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
101 2007-12-22 Matthias Clasen <mclasen@redhat.com>
103 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
106 2007-12-21 Richard Hult <richard@imendio.com>
108 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
109 Plug leak of destroyed subviews, fixes bug #504753.
111 2007-12-20 Johan Dahlin <johan@gnome.org>
113 * tests/Makefile.am (TEST_PROGS):
114 * tests/defaultvaluetest.c: Add a test for default values,
115 based on program by Christan Perch
117 2007-12-20 Johan Dahlin <johan@gnome.org>
119 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
120 Refactor to avoid some duplication.
121 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
122 Fixes #504749, Yuri Pimenov
124 2007-12-20 Kristian Rietveld <kris@imendio.com>
126 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
127 the build work again on systems without xrandr 1.2.
129 2007-12-20 Christian Persch <chpe@gnome.org>
132 * modules/other/gail/libgail-util/Makefile.am:
133 Keep the same libtool version as the standalone libgail-util had.
136 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
138 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
140 2007-12-20 Alexander Larsson <alexl@redhat.com>
142 * gdk/x11/gdkapplaunchcontext-x11.c:
143 Update for gio API changes
145 2007-12-20 Richard Hult <richard@imendio.com>
147 * gdk/quartz/GdkQuartzWindow.c:
148 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
149 processing events after changing the size.
151 2007-12-20 Richard Hult <richard@imendio.com>
153 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
154 Add stub for quartz to fix build.
156 2007-12-20 Christian Persch <chpe@gnome.org>
158 * modules/other/gail/Makefile.am:
159 * modules/other/gail/gailimage.c: (gail_image_class_init),
160 (gail_image_init), (elide_underscores), (gail_image_get_name),
161 (atk_image_interface_init), (gail_image_finalize):
162 * modules/other/gail/gailimage.h:
163 R modules/other/gail/gailintl.h:
164 * po/POTFILES.skip: Use the stock item's label as the name of the
165 accessible in gailimage.c. Bug #504246.
167 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
169 Avoid some compiler warnings and remove obsolete code. (#339540)
171 * gtk/gtkcalendar.c: Change week and year variable in
172 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
173 0" block from calendar_paint_day: The feature in question is handled
174 few lines above. Cast data returned by gtk_selection_data_get_text()
175 to (gchar*) in gtk_calendar_drag_data_received.
177 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
179 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
181 2007-12-19 Johan Dahlin <johan@gnome.org>
183 * tests/buildertest.c (test_object_properties):
184 Add another call to gtk_builder_add_string after using
185 delayed properties, as reported in #504393 but already
188 2007-12-18 Christian Persch <chpe@gnome.org>
191 * docs/reference/Makefile.am:
192 * docs/reference/libgail-util/*:
193 * gail-uninstalled.pc.in:
195 * modules/Makefile.am:
196 * modules/other/Makefile.am:
197 * modules/other/gail/*:
198 * modules/other/gail/libgail-util/*:
199 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
201 2007-12-17 Matthias Clasen <mclasen@redhat.com>
203 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
204 * gdk/win32/gdkproperty-win32.c:
205 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
207 * gtk/gtkimmodule.[hc]:
208 * gtk/gtkimmulticontext.[hc]: When determining the default context,
209 look at the gtk-im-module setting, and listen for changes to the
210 setting. (#502446, Akira Tagoh)
212 2007-12-17 Kristian Rietveld <kris@imendio.com>
214 * gtk/gtktooltip.c (gtk_tooltip_finalize),
215 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
216 to NULL as soon as it's destroyed. (#496546, patch from
219 2007-12-17 Kristian Rietveld <kris@imendio.com>
221 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
222 always determine what arrow to show if show_sort_indicator is true.
223 (#352738, Chris Vine).
225 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
227 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
230 * gtk/gtkpaned.c: Call gtk_container_forall instead of
231 gtk_container_foreach in get_child_panes.
233 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
235 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
237 Plug leak: When reordering the info in the list the old node is
238 removed but not freed. (#503569)
240 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
242 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
243 Use u32 instead of __u32 and u8 instead of __u8 as the other types
244 are deprecated since DirectFB 1.0.0. If compiling with an older
245 version define the new type name to the old types. Fixes bug #503190.
247 2007-12-14 Ray Strode <rstrode@redhat.com>
249 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
250 instead of g_signal_connect_after (..., "realize", ...) as an
251 alternative to gtk_widget_realize () (bug 503537).
253 2007-12-14 Michael Natterer <mitch@imendio.com>
256 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
259 * gdk/gdkapplaunchcontext.c
260 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
261 header already includes everything now.
263 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
265 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
266 next stable release shall be 2.16, not 2.14 - even if disagree.
268 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
270 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
272 Change GtkToolItem to retrieve its properties from GtkToolShell
273 interface, instead of relying on being child of a GtkToolbar.
276 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
277 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
278 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
279 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
280 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
281 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
282 Take section docs from template file and update them for GtkToolShell.
283 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
284 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
286 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
288 Extract loading of GtkPageSetup and GtkPrintSettings from their
289 *_new_*() functions and move that code into separate
290 *_load_*() functions (#475565).
292 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
293 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
294 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
295 Change the matching *_new_*() functions to use those functions.
297 2007-12-14 Matthias Clasen <mclasen@redhat.com>
300 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
302 2007-12-14 Kristian Rietveld <kris@imendio.com>
304 * gtk/tests/liststore.c:
305 * gtk/tests/treestore.c: added tests for insertion functions.
307 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
309 * Add RandR 1.2 support
311 - New monitors_changed signal - New API to get width/height of
312 monitors, and the name of the plug
314 2007-12-13 Kristian Rietveld <kris@imendio.com>
316 * gtk/tests/liststore.c:
317 * gtk/tests/treestore.c: test the move and swap functions on a
318 store with only one node.
320 2007-12-13 Kristian Rietveld <kris@imendio.com>
322 * gtk/gtktestutils.c (gtk_test_init): add a call to
325 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
328 2007-12-13 Kristian Rietveld <kris@imendio.com>
330 * gtk/tests/liststore.c:
331 * gtk/tests/treestore.c: start composing tests for the list and tree
334 * gtk/tests/treeview-scrolling.c: added automated tests for
335 GtkTreeView's scrolling "subsystem".
337 * gtk/tests/Makefile.am: updated; added new test programs.
339 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
341 Make the code compile again after the GdkAppLaunchContext changes.
343 * configure.in: Add gio-2.0 to GDK_PACKAGES.
344 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
346 2007-12-12 Matthias Clasen <mclasen@redhat.com>
348 * gdk/gdkapplaunchcontext.c: Add docs
350 2007-12-12 Matthias Clasen <mclasen@redhat.com>
352 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
353 in gdk, providing startup notification. (#503203)
355 * gdk/x11/gdkapplaunchcontext-x11.c:
356 * gdk/win32/gdkapplaunchcontext-win32.c:
357 * gdk/quartz/gdkapplaunchcontext-quartz.c:
358 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
359 parts. All but X11 are just empty stubs for now.
362 * gdk/gdkinternals.h:
364 * gdk/x11/Makefile.am:
365 * gdk/win32/Makefile.am:
366 * gdk/quartz/Makefile.am:
367 * gdk/directfb/Makefile.am: Necessary glue.
369 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
371 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
373 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
375 * gdk/directfb/gdktestutils-directfb.c:
376 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
377 which adds testing functions to the DirectFB backend.
379 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
381 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
382 Ciccani which fixes the mixing of gdk and cairo rendering.
384 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
386 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
387 on "drag-motion" handlers. Clearify documentation for
390 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
392 * buildertest.c: made unnecessarily exported symbols static.
393 switched g_return_if_fail() statements in tests to assertions.
394 special cased currently failing Widget/accesibility test to
395 run only for g_test_thorough(), so it doesn't break make check.
396 some coding style fixes.
398 * Makefile.am: added buildertest to TEST_PROGS.
400 2007-12-11 Stefan Kost <ensonic@users.sf.net>
402 * docs/tutorial/gtk-tut.sgml:
403 Use gtk_widget_get_parent_window() instead of widget->parent->window.
405 2007-12-10 Richard Hult <richard@imendio.com>
407 * gdk/quartz/Makefile.am:
408 * gdk/quartz/gdkquartz.h:
409 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
410 header (bug #405915). Also add a getter for the toplevel nswindow.
412 2007-12-10 Richard Hult <richard@imendio.com>
414 * gdk/quartz/gdkdrawable-quartz.c:
415 (gdk_quartz_drawable_get_context),
416 (gdk_quartz_drawable_release_context):
417 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
418 (gdk_event_check), (gdk_event_dispatch), (poll_func):
419 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
420 used for each drawing context and in prepare, dispatch and poll
421 with one that exists across each main loop iteration. Fixes leaks
422 on leopard and protects against future leaks introduce when the
423 underlying system changes again (bug #492977).
425 2007-12-10 Richard Hult <richard@imendio.com>
427 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
428 Fix the check for no changes to position and size.
430 2007-12-10 Richard Hult <richard@imendio.com>
432 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
433 sized areas at (0, 0), patch from Paul Davis.
435 2007-12-10 Richard Hult <richard@imendio.com>
437 * gdk/quartz/gdkprivate-quartz.h:
438 * gdk/quartz/gdkeventloop-quartz.c:
439 (_gdk_quartz_event_loop_get_pending),
440 (_gdk_quartz_event_loop_check_pending),
441 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
442 (gdk_event_check), (gdk_event_dispatch):
443 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
444 (_gdk_events_queue): Fix a bug where we could end up trying to
445 handle the same event more than once. Based on patch from Paul
448 2007-12-10 Tor Lillqvist <tml@novell.com>
450 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
453 2007-12-10 Matthias Clasen <mclasen@redhat.com>
455 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
456 to avoid further fallout from the fix for bug 388321.
458 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
460 * gdk/directfb/gdkgc-directfb.c:
461 * gdk/directfb/gdkdrawable-directfb.c:
462 * gdk/directfb/gdkdirectfb.h:
463 * gdk/directfb/gdkwindow-directfb.c:
464 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
465 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
466 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
467 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
468 which are expected to improve the performance of the DirectFB backend.
469 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
471 2007-12-07 Matthias Clasen <mclasen@redhat.com>
473 * gtk/gtkcontainer.c: Correct the documentation of child
474 property getter arguments. (#501992, David Brigada)
476 2007-12-07 Matthias Clasen <mclasen@redhat.com>
478 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
479 leak pixbufs. (#502250, Yevgen Muntyan)
481 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
483 * gtk/gtkprintunixdialog.c:
484 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
485 Print and Page Setup dialogs (#502202).
487 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
489 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
490 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
491 of XVFB_START, since it's the GTESTER invokation that needs this.
493 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
495 * gdk-pixbuf/gdk-pixbuf.symbols:
497 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
498 positives in abicheck.sh
500 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
502 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
503 GDK events generations in the DirectFB backend.
505 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
507 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
508 set of likely unused display ids, because MacOS has no seq(1) command.
510 2007-12-06 Richard Hult <richard@imendio.com>
512 * gdk/quartz/gdkevents-quartz.c:
513 (synthesize_crossing_events_for_ns_event): Fix warning when
514 switching spaces in leopard.
516 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
518 * tests/floatingtest.c: ported to new testing framework.
520 * tests/Makefile.am: run floatingtest as testing framework test.
522 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
524 * tests/autotestfilechooser.c: majorly speed up execution by reducing
525 timeouts and converting main loop sleeps to pending/iterate loops with
526 very low priority async handlers. eliminate output for non-verbose
527 tests. assert successfull subtests in all test functions. use testing
530 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
531 executed inside Xvfb upon make check.
533 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
535 * tests/objecttests.c: use string comparisons for string property
536 values and get rid of referencing symbols in array initialization.
538 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
540 * gtk+/Makefile.decl: run tests in current dir after setting up the
541 logging directory, so their results get properly merged into the
544 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
545 tests to loop over registered Gdk/Gtk+ types.
547 * gtk+/tests/objecttests.c: new test program, implements automated
548 property tests. several properties are blacklisted because they
549 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
550 can be used to test blacklisted properties and see which proprty failed.
552 2007-12-04 Richard Hult <richard@imendio.com>
554 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
555 Fully initialize the root window, fixes bug #501583.
557 2007-12-04 Matthias Clasen <mclasen@redhat.com>
559 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
562 2007-12-03 Richard Hult <richard@imendio.com>
564 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
565 Don't crash when dragging from a source that doesn't support uri
566 lists (bug #499868, Paul Davis).
568 2007-12-03 Richard Hult <richard@imendio.com>
570 * gdk/quartz/gdkwindow-quartz.c:
571 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
572 parent relative bg pixmap is set, and no parent has a bg
573 pixmap. Fixes bug #500804.
575 2007-12-03 Matthias Clasen <mclasen@redhat.com>
577 Two optimizations for icon cache lookups.
579 * gtk/gtkiconcache.[hc]:
580 * gtk/gtkicontheme.c: Remember the directory index for
581 subdirectories, instead of running over the directory list
584 * gtk/gtkiconcache.c (find_image_offset): Remember the last
585 chain and try it first; this helps with the the usage patterns
586 in gtkicontheme.c, where the same icon is queried for a lot
589 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
591 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
592 functions from header files. this should be portable across linux and
593 Mac OS, unlike the previpous sed expression.
595 2007-12-1 Cody Russell <bratsche@gnome.org>
597 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
598 On Windows, queue a redraw of child2 whenever we set
599 the pane handle position. This is unfortunately kind
600 of hacky, but solves the visual artifacts that were
601 occuring on at least certain types of child widgets
602 (e.g., text views and tree views) that are inside
603 horizontal or vertical panes. (#144269)
605 2007-11-30 Matthias Clasen <mclasen@redhat.com>
607 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
609 2007-11-29 Matthias Clasen <mclasen@redhat.com>
611 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
614 2007-11-29 Matthias Clasen <mclasen@redhat.com>
616 * gtk/Makefile.am: Fix ordering of subdirs.
618 2007-11-28 Tor Lillqvist <tml@novell.com>
620 A proper build of GNU libintl is supposed to export the variable
621 _nl_msg_cat_cntr. configure looks for that variable in order to
622 recognize GNU gettext. If it sees that it is indeed GNU gettext
623 that is used, it decides to install message catalogs in
624 share/locale, otherwise in lib/locale. Until now on Windows I have
625 built GTK+ against a build of GNU gettext that did not export
626 _nl_msg_cat_cntr. But this will change, so we can't assume message
627 catalogs are always in lib/locale.
629 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
630 GTK_LOCALEDIR being either in "lib" or "share". Move the function
631 before the inclusion of gtkprivate.h so that it sees the original
634 * gtk-zip.sh.in: Check whether the message catalogs are in
635 share/locale or lib/locale.
637 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
638 that the code in _gtk_get_localedir() will find the slashes.
640 2007-11-28 Tor Lillqvist <tml@novell.com>
642 * gtk/Makefile.am: Improve portability. The -o option is present
643 only in newish GNU egreps. Use one more sed in the pipeline
646 2007-11-28 Tor Lillqvist <tml@novell.com>
648 Fix #375893, patch by Ben Hague:
650 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
651 around GetLogicalDrives() that takes also the viewable drive
652 restrictions in the Registry (which are usually the result of an
653 Active Directory Group Policy) into account.
655 (check_volumes, gtk_file_system_win32_list_volumes) Call
656 get_viewable_logical_drives() instead of GetLogicalDrives().
658 2007-11-27 Matthias Clasen <mclasen@redhat.com>
660 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
661 variables to silence valgrind. (#495124, Morten Welinder)
663 2006-11-26 Ryan Lortie <desrt@desrt.ca>
665 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
666 that the construct_child function is responsible for returning a
668 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
669 objects from constructors
670 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
671 g_object_ref() to this construction function (it's the only
676 2006-11-26 Ryan Lortie <desrt@desrt.ca>
678 * gtkbuilder.c: remove concept of root objects and just refcount
679 all objects in the builder. Fixes #496651.
681 2007-11-26 Ryan Lortie <desrt@desrt.ca>
683 * tests/buildertest.c (test_window): fix invalid free
685 2007-11-26 Josselin Mouette <joss@malsain.org>
687 reviewed by: Federico Mena Quintero
689 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
690 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
691 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
692 Make the shortcuts activate with a single click. (#148828)
693 Fix a few things affected by the change:
694 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
695 where no shortcut is selected.
696 - Don't activate a shortcut in the response callback.
697 - Filter out duplicate entries in volumes and bookmarks to
698 avoid the selection to change when reordering them with DnD.
700 2007-11-26 Matthias Clasen <mclasen@redhat.com>
704 * gtk/gtkplugprivate.h:
706 * gtk/gtksocketprivate.h:
707 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
709 2007-11-26 Matthias Clasen <mclasen@redhat.com>
711 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
712 (#495574, Richard Hult)
714 2007-11-26 Matthias Clasen <mclasen@redhat.com>
716 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
717 String change ! (#376361, Sven Neumann)
719 2007-11-26 Matthias Clasen <mclasen@redhat.com>
721 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
723 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
726 2007-11-26 Matthias Clasen <mclasen@redhat.com>
728 * gtk/gtkassistant.c: Improve alternative button
729 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
731 2007-11-26 Matthias Clasen <mclasen@redhat.com>
733 * gtk/gtkcalendar.c: Fix a theming problem with colors
734 in GtkCalendar. (#499703, Michael Hofmann)
736 2007-11-26 Matthias Clasen <mclasen@redhat.com>
738 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
740 2007-11-26 Matthias Clasen <mclasen@redhat.com>
742 Use templates for glib-mkenums calls instead of
743 complicated commandlines in Makefiles. (#429910)
745 * gdk-pixbuf/Makefile.am:
748 * perf/Makefile.am: Use templates for glib-mkenums
750 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
751 * gdk/gdkenumtypes.[ch].template:
752 * gtk/gtktypebuiltings.[ch].template:
753 * perf/typebuiltins.[ch].template: The templates
755 2007-11-26 Matthias Clasen <mclasen@redhat.com>
757 * gtk/gtkfilechooserbutton.c:
758 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
759 some compilers choke on that. (#467722)
761 2007-11-26 Matthias Clasen <mclasen@redhat.com>
763 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
764 about hook setup. (#425004, Emmanuele Bassi)
766 2007-11-26 Tor Lillqvist <tml@novell.com>
768 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
769 monitor the window currently is on, not always the primary
770 monitor. (#463865, Tim Evans)
772 2007-11-26 Tor Lillqvist <tml@novell.com>
774 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
776 * gdk/win32/Makefile.am: Add it.
778 2007-11-26 Tor Lillqvist <tml@novell.com>
780 * configure.in: Don't add jasper to all_loaders if no libjasper.
782 2007-11-25 Bastien Nocera <hadess@hadess.net>
784 * configure.in: Add detection for libjasper, used by the
785 gdk-pixbuf JPEG2000 loader
787 2007-11-25 Matthias Clasen <mclasen@redhat.com>
789 * configure.in: Require gtk-doc 1.8
791 * */*.c: Use gtk-doc abbreviations for examples in docs.
793 2007-11-25 Matthias Clasen <mclasen@redhat.com>
795 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
798 2007-11-25 Matthias Clasen <mclasen@redhat.com>
800 * gtk/gtkdialog.c: Move signal and property documentation inline,
801 fix a problem with the ::response signal docs. (#499133, Josselin
804 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
806 * Makefile.decl: initialize automake variables EXTRA_DIST and
807 TEST_PROGS for unconditional appending via += in other makefiles.
808 define recursive test targets: test, test-report, perf-report,
809 full-report, as described here:
810 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
811 the test targets will execute Gtk+ test programs within an Xvfb session.
813 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
815 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
816 g_test_run() to run the tests to integrate with the testing framework.
818 * gtk/tests/Makefile.am: removed exemplary testing rules.
820 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
821 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
822 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
823 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
824 * docs/reference/Makefile.am, docs/tools/Makefile.am:
825 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
826 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
827 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
828 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
829 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
830 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
831 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
832 * modules/engines/ms-windows/Theme/Makefile.am:
833 * modules/engines/ms-windows/Makefile.am:
834 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
835 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
836 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
837 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
838 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
839 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
840 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
842 2007-11-22 Matthias Clasen <mclasen@redhat.com>
844 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
845 (#485662, patch by Herbert Valerio Riedel)
847 2007-11-22 Matthias Clasen <mclasen@redhat.com>
849 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
851 2007-11-21 Richard Hult <richard@imendio.com>
853 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
854 stubs for the testing functions to fix the build.
856 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
858 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
859 (#467711, The Written Word)
861 2007-11-21 Ross Burton <ross@openedhand.com>
863 * gdk/x11/gdksettings.c:
864 Add xsetting for gtk-scrolled-window-placement (#458103).
866 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
868 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
869 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
870 (#469239, Michael Natterer)
872 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
874 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
875 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
876 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
877 (#436536, Tommi Komulainen)
879 2007-11-21 Matthias Clasen <mclasen@redhat.com>
881 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
882 property. (#489782, Jan Janech)
884 2007-11-20 Matthias Clasen <mclasen@redhat.com>
886 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
887 frames. (#107398, Owen Taylor, Miguel Gomez)
889 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
891 Moved Gdk test functions from Gtk+ to Gdk test utils.
893 * gdk/Makefile.am: added gdktestutils.h to public includes.
895 * gdk/gdk.h: added gdktestutils.h to public includes.
897 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
898 gdk_test_render_sync.
900 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
901 gdk_test_simulate_key, gdk_test_render_sync.
903 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
905 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
906 gdk_test_simulate_key, gdk_test_render_sync.
908 * gtk/gtktestutils.c:
909 * gtk/gtktestutils.h:
910 * gtk/gtk.symbols: removed gtk_test_simulate_button
911 gtk_test_simulate_key, gtk_test_xserver_render_sync.
913 * gtk/tests/testing.c: call gdk_test_render_sync.
915 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
917 Added unit tests for Gtk+ testing utilities.
919 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
920 utility functions. some g_test_* related portions are disabled and need
921 to be enabled once Gtk+ depends on a new glib with the GLib testing
922 framework integrated.
924 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
925 added exemplary test rules to run tests inside Xvfb. this needs to depend
926 on gtester for full fledged testing.
928 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
929 collecting _get_type functions to catch e.g. gtk_text_get_type().
931 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
933 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
935 Added Gtk+ testing utilities.
937 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
938 for the most part, the functions herein involve navigating and interacting
939 with dialog elements programatically, to automate user interaction tests of
942 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
944 * gtk/gtk.symbols: added gtk_test_* symbols.
946 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
947 generate gtktypefuncs.c which contains a list of all _get_type functions in
949 2007-11-20 Bastien Nocera <hadess@hadess.net>
951 * configure.in: add support for conditional icns gdk-pixbuf loader
954 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
956 * configure.in: updated version number to 2.15.0 for development.
958 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
960 === Branch for 2.12 ===