1 2007-12-27 Christian Persch <chpe@gnome.org>
3 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
4 bug #504886 not to read unitialised memory.
6 2007-12-26 Xan Lopez <xan@gnome.org>
8 * gtk/gtkstatusbar.c (has_extra_children): take into account the
9 modification of the internal frame contents to decide if we have
10 extra children. (#415677)
12 2007-12-22 Christian Persch <chpe@gnome.org>
14 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
16 2007-12-25 Christian Persch <chpe@gnome.org>
18 * modules/other/gail/gailwindow.c: (gail_window_initialize):
19 Initialise |widget|. Fixes a buglet introduced by the commit from bug
22 2007-12-25 Christian Persch <chpe@gnome.org>
24 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
26 2007-12-25 Christian Persch <chpe@gnome.org>
28 * modules/other/gail/*.[ch]: Remove relocations from the atk
29 factories. Remove unused gail_foo_new() functions. Fix object
30 instantiation to be derivation safe by moving initialisation code
31 from the removed gail_foo_new() functions to the
32 AtkObjectClass::initialize implementation. Bug #505226.
34 2007-12-24 Matthias Clasen <mclasen@redhat.com>
36 * modules/other/gail/gailentry.c:
37 * modules/other/gail/gailimage.c:
38 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
39 uses of clipboards and settings. (#504722, Christian Persch)
41 2007-12-24 Matthias Clasen <mclasen@redhat.com>
43 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
46 2007-12-24 Matthias Clasen <mclasen@redhat.com>
48 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
49 use the time and button information from the event. (#504901,
52 2007-12-23 Cody Russell <bratsche@gnome.org>
54 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
55 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
56 Fixes a regression caused by #164537 patch where transient
57 windows that are hidden get shown (incorrectly) when their
58 parents are minimized. (#504984)
60 2007-12-22 Christian Persch <chpe@gnome.org>
62 * modules/other/gail/gailcell.c:
63 * modules/other/gail/gailcontainercell.c:
64 * modules/other/gail/gailexpander.c:
65 * modules/other/gail/gailtextcell.c:
66 * modules/other/gail/gailtextview.c:
67 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
69 2007-12-22 Christian Persch <chpe@gnome.org>
71 * modules/other/gail/*.c: Include config.h. Bug #504720.
73 2007-12-22 Christian Persch <chpe@gnome.org>
75 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
76 handwritten get_type functions. Bug #504661.
78 2007-12-23 Xan Lopez <xan@gnome.org>
80 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
81 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
83 Patch by Sadrul Habib Chowdhury (#504804)
85 2007-12-22 Christian Persch <chpe@gnome.org>
87 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
88 #504645, patch by Li Yuan.
90 2007-12-22 Christian Persch <chpe@gnome.org>
92 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
94 2007-12-22 Christian Persch <chpe@gnome.org>
96 * modules/other/gail/gail.c:
97 * modules/other/gail/gailbutton.c:
98 * modules/other/gail/gailcell.c:
99 * modules/other/gail/gailcombo.c:
100 * modules/other/gail/gailcombo.h:
101 * modules/other/gail/gailcombobox.c:
102 * modules/other/gail/gailentry.c:
103 * modules/other/gail/gailexpander.c:
104 * modules/other/gail/gailmenuitem.c:
105 * modules/other/gail/gailnotebook.c:
106 * modules/other/gail/gailnotebookpage.c:
107 * modules/other/gail/gailnotebookpage.h:
108 * modules/other/gail/gailoptionmenu.c:
109 * modules/other/gail/gailrange.c:
110 * modules/other/gail/gailtextview.c:
111 * modules/other/gail/gailtreeview.c:
112 * modules/other/gail/gailtreeview.h:
113 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
116 2007-12-22 Matthias Clasen <mclasen@redhat.com>
118 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
121 2007-12-21 Richard Hult <richard@imendio.com>
123 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
124 Plug leak of destroyed subviews, fixes bug #504753.
126 2007-12-20 Johan Dahlin <johan@gnome.org>
128 * tests/Makefile.am (TEST_PROGS):
129 * tests/defaultvaluetest.c: Add a test for default values,
130 based on program by Christan Perch
132 2007-12-20 Johan Dahlin <johan@gnome.org>
134 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
135 Refactor to avoid some duplication.
136 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
137 Fixes #504749, Yuri Pimenov
139 2007-12-20 Kristian Rietveld <kris@imendio.com>
141 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
142 the build work again on systems without xrandr 1.2.
144 2007-12-20 Christian Persch <chpe@gnome.org>
147 * modules/other/gail/libgail-util/Makefile.am:
148 Keep the same libtool version as the standalone libgail-util had.
151 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
153 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
155 2007-12-20 Alexander Larsson <alexl@redhat.com>
157 * gdk/x11/gdkapplaunchcontext-x11.c:
158 Update for gio API changes
160 2007-12-20 Richard Hult <richard@imendio.com>
162 * gdk/quartz/GdkQuartzWindow.c:
163 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
164 processing events after changing the size.
166 2007-12-20 Richard Hult <richard@imendio.com>
168 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
169 Add stub for quartz to fix build.
171 2007-12-20 Christian Persch <chpe@gnome.org>
173 * modules/other/gail/Makefile.am:
174 * modules/other/gail/gailimage.c: (gail_image_class_init),
175 (gail_image_init), (elide_underscores), (gail_image_get_name),
176 (atk_image_interface_init), (gail_image_finalize):
177 * modules/other/gail/gailimage.h:
178 R modules/other/gail/gailintl.h:
179 * po/POTFILES.skip: Use the stock item's label as the name of the
180 accessible in gailimage.c. Bug #504246.
182 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
184 Avoid some compiler warnings and remove obsolete code. (#339540)
186 * gtk/gtkcalendar.c: Change week and year variable in
187 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
188 0" block from calendar_paint_day: The feature in question is handled
189 few lines above. Cast data returned by gtk_selection_data_get_text()
190 to (gchar*) in gtk_calendar_drag_data_received.
192 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
194 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
196 2007-12-19 Johan Dahlin <johan@gnome.org>
198 * tests/buildertest.c (test_object_properties):
199 Add another call to gtk_builder_add_string after using
200 delayed properties, as reported in #504393 but already
203 2007-12-18 Christian Persch <chpe@gnome.org>
206 * docs/reference/Makefile.am:
207 * docs/reference/libgail-util/*:
208 * gail-uninstalled.pc.in:
210 * modules/Makefile.am:
211 * modules/other/Makefile.am:
212 * modules/other/gail/*:
213 * modules/other/gail/libgail-util/*:
214 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
216 2007-12-17 Matthias Clasen <mclasen@redhat.com>
218 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
219 * gdk/win32/gdkproperty-win32.c:
220 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
222 * gtk/gtkimmodule.[hc]:
223 * gtk/gtkimmulticontext.[hc]: When determining the default context,
224 look at the gtk-im-module setting, and listen for changes to the
225 setting. (#502446, Akira Tagoh)
227 2007-12-17 Kristian Rietveld <kris@imendio.com>
229 * gtk/gtktooltip.c (gtk_tooltip_finalize),
230 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
231 to NULL as soon as it's destroyed. (#496546, patch from
234 2007-12-17 Kristian Rietveld <kris@imendio.com>
236 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
237 always determine what arrow to show if show_sort_indicator is true.
238 (#352738, Chris Vine).
240 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
242 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
245 * gtk/gtkpaned.c: Call gtk_container_forall instead of
246 gtk_container_foreach in get_child_panes.
248 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
250 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
252 Plug leak: When reordering the info in the list the old node is
253 removed but not freed. (#503569)
255 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
257 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
258 Use u32 instead of __u32 and u8 instead of __u8 as the other types
259 are deprecated since DirectFB 1.0.0. If compiling with an older
260 version define the new type name to the old types. Fixes bug #503190.
262 2007-12-14 Ray Strode <rstrode@redhat.com>
264 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
265 instead of g_signal_connect_after (..., "realize", ...) as an
266 alternative to gtk_widget_realize () (bug 503537).
268 2007-12-14 Michael Natterer <mitch@imendio.com>
271 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
274 * gdk/gdkapplaunchcontext.c
275 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
276 header already includes everything now.
278 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
280 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
281 next stable release shall be 2.16, not 2.14 - even if disagree.
283 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
285 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
287 Change GtkToolItem to retrieve its properties from GtkToolShell
288 interface, instead of relying on being child of a GtkToolbar.
291 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
292 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
293 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
294 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
295 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
296 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
297 Take section docs from template file and update them for GtkToolShell.
298 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
299 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
301 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
303 Extract loading of GtkPageSetup and GtkPrintSettings from their
304 *_new_*() functions and move that code into separate
305 *_load_*() functions (#475565).
307 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
308 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
309 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
310 Change the matching *_new_*() functions to use those functions.
312 2007-12-14 Matthias Clasen <mclasen@redhat.com>
315 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
317 2007-12-14 Kristian Rietveld <kris@imendio.com>
319 * gtk/tests/liststore.c:
320 * gtk/tests/treestore.c: added tests for insertion functions.
322 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
324 * Add RandR 1.2 support
326 - New monitors_changed signal - New API to get width/height of
327 monitors, and the name of the plug
329 2007-12-13 Kristian Rietveld <kris@imendio.com>
331 * gtk/tests/liststore.c:
332 * gtk/tests/treestore.c: test the move and swap functions on a
333 store with only one node.
335 2007-12-13 Kristian Rietveld <kris@imendio.com>
337 * gtk/gtktestutils.c (gtk_test_init): add a call to
340 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
343 2007-12-13 Kristian Rietveld <kris@imendio.com>
345 * gtk/tests/liststore.c:
346 * gtk/tests/treestore.c: start composing tests for the list and tree
349 * gtk/tests/treeview-scrolling.c: added automated tests for
350 GtkTreeView's scrolling "subsystem".
352 * gtk/tests/Makefile.am: updated; added new test programs.
354 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
356 Make the code compile again after the GdkAppLaunchContext changes.
358 * configure.in: Add gio-2.0 to GDK_PACKAGES.
359 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
361 2007-12-12 Matthias Clasen <mclasen@redhat.com>
363 * gdk/gdkapplaunchcontext.c: Add docs
365 2007-12-12 Matthias Clasen <mclasen@redhat.com>
367 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
368 in gdk, providing startup notification. (#503203)
370 * gdk/x11/gdkapplaunchcontext-x11.c:
371 * gdk/win32/gdkapplaunchcontext-win32.c:
372 * gdk/quartz/gdkapplaunchcontext-quartz.c:
373 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
374 parts. All but X11 are just empty stubs for now.
377 * gdk/gdkinternals.h:
379 * gdk/x11/Makefile.am:
380 * gdk/win32/Makefile.am:
381 * gdk/quartz/Makefile.am:
382 * gdk/directfb/Makefile.am: Necessary glue.
384 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
386 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
388 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
390 * gdk/directfb/gdktestutils-directfb.c:
391 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
392 which adds testing functions to the DirectFB backend.
394 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
396 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
397 Ciccani which fixes the mixing of gdk and cairo rendering.
399 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
401 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
402 on "drag-motion" handlers. Clearify documentation for
405 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
407 * buildertest.c: made unnecessarily exported symbols static.
408 switched g_return_if_fail() statements in tests to assertions.
409 special cased currently failing Widget/accesibility test to
410 run only for g_test_thorough(), so it doesn't break make check.
411 some coding style fixes.
413 * Makefile.am: added buildertest to TEST_PROGS.
415 2007-12-11 Stefan Kost <ensonic@users.sf.net>
417 * docs/tutorial/gtk-tut.sgml:
418 Use gtk_widget_get_parent_window() instead of widget->parent->window.
420 2007-12-10 Richard Hult <richard@imendio.com>
422 * gdk/quartz/Makefile.am:
423 * gdk/quartz/gdkquartz.h:
424 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
425 header (bug #405915). Also add a getter for the toplevel nswindow.
427 2007-12-10 Richard Hult <richard@imendio.com>
429 * gdk/quartz/gdkdrawable-quartz.c:
430 (gdk_quartz_drawable_get_context),
431 (gdk_quartz_drawable_release_context):
432 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
433 (gdk_event_check), (gdk_event_dispatch), (poll_func):
434 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
435 used for each drawing context and in prepare, dispatch and poll
436 with one that exists across each main loop iteration. Fixes leaks
437 on leopard and protects against future leaks introduce when the
438 underlying system changes again (bug #492977).
440 2007-12-10 Richard Hult <richard@imendio.com>
442 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
443 Fix the check for no changes to position and size.
445 2007-12-10 Richard Hult <richard@imendio.com>
447 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
448 sized areas at (0, 0), patch from Paul Davis.
450 2007-12-10 Richard Hult <richard@imendio.com>
452 * gdk/quartz/gdkprivate-quartz.h:
453 * gdk/quartz/gdkeventloop-quartz.c:
454 (_gdk_quartz_event_loop_get_pending),
455 (_gdk_quartz_event_loop_check_pending),
456 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
457 (gdk_event_check), (gdk_event_dispatch):
458 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
459 (_gdk_events_queue): Fix a bug where we could end up trying to
460 handle the same event more than once. Based on patch from Paul
463 2007-12-10 Tor Lillqvist <tml@novell.com>
465 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
468 2007-12-10 Matthias Clasen <mclasen@redhat.com>
470 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
471 to avoid further fallout from the fix for bug 388321.
473 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
475 * gdk/directfb/gdkgc-directfb.c:
476 * gdk/directfb/gdkdrawable-directfb.c:
477 * gdk/directfb/gdkdirectfb.h:
478 * gdk/directfb/gdkwindow-directfb.c:
479 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
480 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
481 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
482 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
483 which are expected to improve the performance of the DirectFB backend.
484 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
486 2007-12-07 Matthias Clasen <mclasen@redhat.com>
488 * gtk/gtkcontainer.c: Correct the documentation of child
489 property getter arguments. (#501992, David Brigada)
491 2007-12-07 Matthias Clasen <mclasen@redhat.com>
493 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
494 leak pixbufs. (#502250, Yevgen Muntyan)
496 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
498 * gtk/gtkprintunixdialog.c:
499 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
500 Print and Page Setup dialogs (#502202).
502 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
504 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
505 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
506 of XVFB_START, since it's the GTESTER invokation that needs this.
508 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
510 * gdk-pixbuf/gdk-pixbuf.symbols:
512 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
513 positives in abicheck.sh
515 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
517 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
518 GDK events generations in the DirectFB backend.
520 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
522 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
523 set of likely unused display ids, because MacOS has no seq(1) command.
525 2007-12-06 Richard Hult <richard@imendio.com>
527 * gdk/quartz/gdkevents-quartz.c:
528 (synthesize_crossing_events_for_ns_event): Fix warning when
529 switching spaces in leopard.
531 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
533 * tests/floatingtest.c: ported to new testing framework.
535 * tests/Makefile.am: run floatingtest as testing framework test.
537 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
539 * tests/autotestfilechooser.c: majorly speed up execution by reducing
540 timeouts and converting main loop sleeps to pending/iterate loops with
541 very low priority async handlers. eliminate output for non-verbose
542 tests. assert successfull subtests in all test functions. use testing
545 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
546 executed inside Xvfb upon make check.
548 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
550 * tests/objecttests.c: use string comparisons for string property
551 values and get rid of referencing symbols in array initialization.
553 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
555 * gtk+/Makefile.decl: run tests in current dir after setting up the
556 logging directory, so their results get properly merged into the
559 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
560 tests to loop over registered Gdk/Gtk+ types.
562 * gtk+/tests/objecttests.c: new test program, implements automated
563 property tests. several properties are blacklisted because they
564 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
565 can be used to test blacklisted properties and see which proprty failed.
567 2007-12-04 Richard Hult <richard@imendio.com>
569 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
570 Fully initialize the root window, fixes bug #501583.
572 2007-12-04 Matthias Clasen <mclasen@redhat.com>
574 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
577 2007-12-03 Richard Hult <richard@imendio.com>
579 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
580 Don't crash when dragging from a source that doesn't support uri
581 lists (bug #499868, Paul Davis).
583 2007-12-03 Richard Hult <richard@imendio.com>
585 * gdk/quartz/gdkwindow-quartz.c:
586 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
587 parent relative bg pixmap is set, and no parent has a bg
588 pixmap. Fixes bug #500804.
590 2007-12-03 Matthias Clasen <mclasen@redhat.com>
592 Two optimizations for icon cache lookups.
594 * gtk/gtkiconcache.[hc]:
595 * gtk/gtkicontheme.c: Remember the directory index for
596 subdirectories, instead of running over the directory list
599 * gtk/gtkiconcache.c (find_image_offset): Remember the last
600 chain and try it first; this helps with the the usage patterns
601 in gtkicontheme.c, where the same icon is queried for a lot
604 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
606 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
607 functions from header files. this should be portable across linux and
608 Mac OS, unlike the previpous sed expression.
610 2007-12-1 Cody Russell <bratsche@gnome.org>
612 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
613 On Windows, queue a redraw of child2 whenever we set
614 the pane handle position. This is unfortunately kind
615 of hacky, but solves the visual artifacts that were
616 occuring on at least certain types of child widgets
617 (e.g., text views and tree views) that are inside
618 horizontal or vertical panes. (#144269)
620 2007-11-30 Matthias Clasen <mclasen@redhat.com>
622 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
624 2007-11-29 Matthias Clasen <mclasen@redhat.com>
626 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
629 2007-11-29 Matthias Clasen <mclasen@redhat.com>
631 * gtk/Makefile.am: Fix ordering of subdirs.
633 2007-11-28 Tor Lillqvist <tml@novell.com>
635 A proper build of GNU libintl is supposed to export the variable
636 _nl_msg_cat_cntr. configure looks for that variable in order to
637 recognize GNU gettext. If it sees that it is indeed GNU gettext
638 that is used, it decides to install message catalogs in
639 share/locale, otherwise in lib/locale. Until now on Windows I have
640 built GTK+ against a build of GNU gettext that did not export
641 _nl_msg_cat_cntr. But this will change, so we can't assume message
642 catalogs are always in lib/locale.
644 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
645 GTK_LOCALEDIR being either in "lib" or "share". Move the function
646 before the inclusion of gtkprivate.h so that it sees the original
649 * gtk-zip.sh.in: Check whether the message catalogs are in
650 share/locale or lib/locale.
652 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
653 that the code in _gtk_get_localedir() will find the slashes.
655 2007-11-28 Tor Lillqvist <tml@novell.com>
657 * gtk/Makefile.am: Improve portability. The -o option is present
658 only in newish GNU egreps. Use one more sed in the pipeline
661 2007-11-28 Tor Lillqvist <tml@novell.com>
663 Fix #375893, patch by Ben Hague:
665 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
666 around GetLogicalDrives() that takes also the viewable drive
667 restrictions in the Registry (which are usually the result of an
668 Active Directory Group Policy) into account.
670 (check_volumes, gtk_file_system_win32_list_volumes) Call
671 get_viewable_logical_drives() instead of GetLogicalDrives().
673 2007-11-27 Matthias Clasen <mclasen@redhat.com>
675 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
676 variables to silence valgrind. (#495124, Morten Welinder)
678 2006-11-26 Ryan Lortie <desrt@desrt.ca>
680 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
681 that the construct_child function is responsible for returning a
683 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
684 objects from constructors
685 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
686 g_object_ref() to this construction function (it's the only
691 2006-11-26 Ryan Lortie <desrt@desrt.ca>
693 * gtkbuilder.c: remove concept of root objects and just refcount
694 all objects in the builder. Fixes #496651.
696 2007-11-26 Ryan Lortie <desrt@desrt.ca>
698 * tests/buildertest.c (test_window): fix invalid free
700 2007-11-26 Josselin Mouette <joss@malsain.org>
702 reviewed by: Federico Mena Quintero
704 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
705 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
706 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
707 Make the shortcuts activate with a single click. (#148828)
708 Fix a few things affected by the change:
709 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
710 where no shortcut is selected.
711 - Don't activate a shortcut in the response callback.
712 - Filter out duplicate entries in volumes and bookmarks to
713 avoid the selection to change when reordering them with DnD.
715 2007-11-26 Matthias Clasen <mclasen@redhat.com>
719 * gtk/gtkplugprivate.h:
721 * gtk/gtksocketprivate.h:
722 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
724 2007-11-26 Matthias Clasen <mclasen@redhat.com>
726 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
727 (#495574, Richard Hult)
729 2007-11-26 Matthias Clasen <mclasen@redhat.com>
731 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
732 String change ! (#376361, Sven Neumann)
734 2007-11-26 Matthias Clasen <mclasen@redhat.com>
736 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
738 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
741 2007-11-26 Matthias Clasen <mclasen@redhat.com>
743 * gtk/gtkassistant.c: Improve alternative button
744 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
746 2007-11-26 Matthias Clasen <mclasen@redhat.com>
748 * gtk/gtkcalendar.c: Fix a theming problem with colors
749 in GtkCalendar. (#499703, Michael Hofmann)
751 2007-11-26 Matthias Clasen <mclasen@redhat.com>
753 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
755 2007-11-26 Matthias Clasen <mclasen@redhat.com>
757 Use templates for glib-mkenums calls instead of
758 complicated commandlines in Makefiles. (#429910)
760 * gdk-pixbuf/Makefile.am:
763 * perf/Makefile.am: Use templates for glib-mkenums
765 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
766 * gdk/gdkenumtypes.[ch].template:
767 * gtk/gtktypebuiltings.[ch].template:
768 * perf/typebuiltins.[ch].template: The templates
770 2007-11-26 Matthias Clasen <mclasen@redhat.com>
772 * gtk/gtkfilechooserbutton.c:
773 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
774 some compilers choke on that. (#467722)
776 2007-11-26 Matthias Clasen <mclasen@redhat.com>
778 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
779 about hook setup. (#425004, Emmanuele Bassi)
781 2007-11-26 Tor Lillqvist <tml@novell.com>
783 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
784 monitor the window currently is on, not always the primary
785 monitor. (#463865, Tim Evans)
787 2007-11-26 Tor Lillqvist <tml@novell.com>
789 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
791 * gdk/win32/Makefile.am: Add it.
793 2007-11-26 Tor Lillqvist <tml@novell.com>
795 * configure.in: Don't add jasper to all_loaders if no libjasper.
797 2007-11-25 Bastien Nocera <hadess@hadess.net>
799 * configure.in: Add detection for libjasper, used by the
800 gdk-pixbuf JPEG2000 loader
802 2007-11-25 Matthias Clasen <mclasen@redhat.com>
804 * configure.in: Require gtk-doc 1.8
806 * */*.c: Use gtk-doc abbreviations for examples in docs.
808 2007-11-25 Matthias Clasen <mclasen@redhat.com>
810 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
813 2007-11-25 Matthias Clasen <mclasen@redhat.com>
815 * gtk/gtkdialog.c: Move signal and property documentation inline,
816 fix a problem with the ::response signal docs. (#499133, Josselin
819 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
821 * Makefile.decl: initialize automake variables EXTRA_DIST and
822 TEST_PROGS for unconditional appending via += in other makefiles.
823 define recursive test targets: test, test-report, perf-report,
824 full-report, as described here:
825 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
826 the test targets will execute Gtk+ test programs within an Xvfb session.
828 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
830 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
831 g_test_run() to run the tests to integrate with the testing framework.
833 * gtk/tests/Makefile.am: removed exemplary testing rules.
835 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
836 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
837 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
838 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
839 * docs/reference/Makefile.am, docs/tools/Makefile.am:
840 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
841 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
842 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
843 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
844 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
845 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
846 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
847 * modules/engines/ms-windows/Theme/Makefile.am:
848 * modules/engines/ms-windows/Makefile.am:
849 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
850 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
851 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
852 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
853 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
854 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
855 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
857 2007-11-22 Matthias Clasen <mclasen@redhat.com>
859 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
860 (#485662, patch by Herbert Valerio Riedel)
862 2007-11-22 Matthias Clasen <mclasen@redhat.com>
864 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
866 2007-11-21 Richard Hult <richard@imendio.com>
868 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
869 stubs for the testing functions to fix the build.
871 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
873 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
874 (#467711, The Written Word)
876 2007-11-21 Ross Burton <ross@openedhand.com>
878 * gdk/x11/gdksettings.c:
879 Add xsetting for gtk-scrolled-window-placement (#458103).
881 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
883 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
884 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
885 (#469239, Michael Natterer)
887 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
889 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
890 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
891 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
892 (#436536, Tommi Komulainen)
894 2007-11-21 Matthias Clasen <mclasen@redhat.com>
896 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
897 property. (#489782, Jan Janech)
899 2007-11-20 Matthias Clasen <mclasen@redhat.com>
901 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
902 frames. (#107398, Owen Taylor, Miguel Gomez)
904 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
906 Moved Gdk test functions from Gtk+ to Gdk test utils.
908 * gdk/Makefile.am: added gdktestutils.h to public includes.
910 * gdk/gdk.h: added gdktestutils.h to public includes.
912 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
913 gdk_test_render_sync.
915 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
916 gdk_test_simulate_key, gdk_test_render_sync.
918 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
920 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
921 gdk_test_simulate_key, gdk_test_render_sync.
923 * gtk/gtktestutils.c:
924 * gtk/gtktestutils.h:
925 * gtk/gtk.symbols: removed gtk_test_simulate_button
926 gtk_test_simulate_key, gtk_test_xserver_render_sync.
928 * gtk/tests/testing.c: call gdk_test_render_sync.
930 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
932 Added unit tests for Gtk+ testing utilities.
934 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
935 utility functions. some g_test_* related portions are disabled and need
936 to be enabled once Gtk+ depends on a new glib with the GLib testing
937 framework integrated.
939 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
940 added exemplary test rules to run tests inside Xvfb. this needs to depend
941 on gtester for full fledged testing.
943 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
944 collecting _get_type functions to catch e.g. gtk_text_get_type().
946 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
948 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
950 Added Gtk+ testing utilities.
952 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
953 for the most part, the functions herein involve navigating and interacting
954 with dialog elements programatically, to automate user interaction tests of
957 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
959 * gtk/gtk.symbols: added gtk_test_* symbols.
961 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
962 generate gtktypefuncs.c which contains a list of all _get_type functions in
964 2007-11-20 Bastien Nocera <hadess@hadess.net>
966 * configure.in: add support for conditional icns gdk-pixbuf loader
969 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
971 * configure.in: updated version number to 2.15.0 for development.
973 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
975 === Branch for 2.12 ===