1 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3 * gdk/directfb/gdkgc-directfb.c:
4 * gdk/directfb/gdkdrawable-directfb.c:
5 * gdk/directfb/gdkdirectfb.h:
6 * gdk/directfb/gdkwindow-directfb.c:
7 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
8 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
9 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
10 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
11 which are expected to improve the performance of the DirectFB backend.
12 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
14 2007-12-07 Matthias Clasen <mclasen@redhat.com>
16 * gtk/gtkcontainer.c: Correct the documentation of child
17 property getter arguments. (#501992, David Brigada)
19 2007-12-07 Matthias Clasen <mclasen@redhat.com>
21 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
22 leak pixbufs. (#502250, Yevgen Muntyan)
24 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
26 * gtk/gtkprintunixdialog.c:
27 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
28 Print and Page Setup dialogs (#502202).
30 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
32 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
33 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
34 of XVFB_START, since it's the GTESTER invokation that needs this.
36 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
38 * gdk-pixbuf/gdk-pixbuf.symbols:
40 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
41 positives in abicheck.sh
43 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
45 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
46 GDK events generations in the DirectFB backend.
48 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
50 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
51 set of likely unused display ids, because MacOS has no seq(1) command.
53 2007-12-06 Richard Hult <richard@imendio.com>
55 * gdk/quartz/gdkevents-quartz.c:
56 (synthesize_crossing_events_for_ns_event): Fix warning when
57 switching spaces in leopard.
59 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
61 * tests/floatingtest.c: ported to new testing framework.
63 * tests/Makefile.am: run floatingtest as testing framework test.
65 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
67 * tests/autotestfilechooser.c: majorly speed up execution by reducing
68 timeouts and converting main loop sleeps to pending/iterate loops with
69 very low priority async handlers. eliminate output for non-verbose
70 tests. assert successfull subtests in all test functions. use testing
73 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
74 executed inside Xvfb upon make check.
76 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
78 * tests/objecttests.c: use string comparisons for string property
79 values and get rid of referencing symbols in array initialization.
81 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
83 * gtk+/Makefile.decl: run tests in current dir after setting up the
84 logging directory, so their results get properly merged into the
87 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
88 tests to loop over registered Gdk/Gtk+ types.
90 * gtk+/tests/objecttests.c: new test program, implements automated
91 property tests. several properties are blacklisted because they
92 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
93 can be used to test blacklisted properties and see which proprty failed.
95 2007-12-04 Richard Hult <richard@imendio.com>
97 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
98 Fully initialize the root window, fixes bug #501583.
100 2007-12-04 Matthias Clasen <mclasen@redhat.com>
102 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
105 2007-12-03 Richard Hult <richard@imendio.com>
107 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
108 Don't crash when dragging from a source that doesn't support uri
109 lists (bug #499868, Paul Davis).
111 2007-12-03 Richard Hult <richard@imendio.com>
113 * gdk/quartz/gdkwindow-quartz.c:
114 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
115 parent relative bg pixmap is set, and no parent has a bg
116 pixmap. Fixes bug #500804.
118 2007-12-03 Matthias Clasen <mclasen@redhat.com>
120 Two optimizations for icon cache lookups.
122 * gtk/gtkiconcache.[hc]:
123 * gtk/gtkicontheme.c: Remember the directory index for
124 subdirectories, instead of running over the directory list
127 * gtk/gtkiconcache.c (find_image_offset): Remember the last
128 chain and try it first; this helps with the the usage patterns
129 in gtkicontheme.c, where the same icon is queried for a lot
132 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
134 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
135 functions from header files. this should be portable across linux and
136 Mac OS, unlike the previpous sed expression.
138 2007-12-1 Cody Russell <bratsche@gnome.org>
140 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
141 On Windows, queue a redraw of child2 whenever we set
142 the pane handle position. This is unfortunately kind
143 of hacky, but solves the visual artifacts that were
144 occuring on at least certain types of child widgets
145 (e.g., text views and tree views) that are inside
146 horizontal or vertical panes. (#144269)
148 2007-11-30 Matthias Clasen <mclasen@redhat.com>
150 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
152 2007-11-29 Matthias Clasen <mclasen@redhat.com>
154 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
157 2007-11-29 Matthias Clasen <mclasen@redhat.com>
159 * gtk/Makefile.am: Fix ordering of subdirs.
161 2007-11-28 Tor Lillqvist <tml@novell.com>
163 A proper build of GNU libintl is supposed to export the variable
164 _nl_msg_cat_cntr. configure looks for that variable in order to
165 recognize GNU gettext. If it sees that it is indeed GNU gettext
166 that is used, it decides to install message catalogs in
167 share/locale, otherwise in lib/locale. Until now on Windows I have
168 built GTK+ against a build of GNU gettext that did not export
169 _nl_msg_cat_cntr. But this will change, so we can't assume message
170 catalogs are always in lib/locale.
172 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
173 GTK_LOCALEDIR being either in "lib" or "share". Move the function
174 before the inclusion of gtkprivate.h so that it sees the original
177 * gtk-zip.sh.in: Check whether the message catalogs are in
178 share/locale or lib/locale.
180 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
181 that the code in _gtk_get_localedir() will find the slashes.
183 2007-11-28 Tor Lillqvist <tml@novell.com>
185 * gtk/Makefile.am: Improve portability. The -o option is present
186 only in newish GNU egreps. Use one more sed in the pipeline
189 2007-11-28 Tor Lillqvist <tml@novell.com>
191 Fix #375893, patch by Ben Hague:
193 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
194 around GetLogicalDrives() that takes also the viewable drive
195 restrictions in the Registry (which are usually the result of an
196 Active Directory Group Policy) into account.
198 (check_volumes, gtk_file_system_win32_list_volumes) Call
199 get_viewable_logical_drives() instead of GetLogicalDrives().
201 2007-11-27 Matthias Clasen <mclasen@redhat.com>
203 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
204 variables to silence valgrind. (#495124, Morten Welinder)
206 2006-11-26 Ryan Lortie <desrt@desrt.ca>
208 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
209 that the construct_child function is responsible for returning a
211 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
212 objects from constructors
213 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
214 g_object_ref() to this construction function (it's the only
219 2006-11-26 Ryan Lortie <desrt@desrt.ca>
221 * gtkbuilder.c: remove concept of root objects and just refcount
222 all objects in the builder. Fixes #496651.
224 2007-11-26 Ryan Lortie <desrt@desrt.ca>
226 * tests/buildertest.c (test_window): fix invalid free
228 2007-11-26 Josselin Mouette <joss@malsain.org>
230 reviewed by: Federico Mena Quintero
232 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
233 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
234 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
235 Make the shortcuts activate with a single click. (#148828)
236 Fix a few things affected by the change:
237 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
238 where no shortcut is selected.
239 - Don't activate a shortcut in the response callback.
240 - Filter out duplicate entries in volumes and bookmarks to
241 avoid the selection to change when reordering them with DnD.
243 2007-11-26 Matthias Clasen <mclasen@redhat.com>
247 * gtk/gtkplugprivate.h:
249 * gtk/gtksocketprivate.h:
250 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
252 2007-11-26 Matthias Clasen <mclasen@redhat.com>
254 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
255 (#495574, Richard Hult)
257 2007-11-26 Matthias Clasen <mclasen@redhat.com>
259 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
260 String change ! (#376361, Sven Neumann)
262 2007-11-26 Matthias Clasen <mclasen@redhat.com>
264 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
266 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
269 2007-11-26 Matthias Clasen <mclasen@redhat.com>
271 * gtk/gtkassistant.c: Improve alternative button
272 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
274 2007-11-26 Matthias Clasen <mclasen@redhat.com>
276 * gtk/gtkcalendar.c: Fix a theming problem with colors
277 in GtkCalendar. (#499703, Michael Hofmann)
279 2007-11-26 Matthias Clasen <mclasen@redhat.com>
281 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
283 2007-11-26 Matthias Clasen <mclasen@redhat.com>
285 Use templates for glib-mkenums calls instead of
286 complicated commandlines in Makefiles. (#429910)
288 * gdk-pixbuf/Makefile.am:
291 * perf/Makefile.am: Use templates for glib-mkenums
293 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
294 * gdk/gdkenumtypes.[ch].template:
295 * gtk/gtktypebuiltings.[ch].template:
296 * perf/typebuiltins.[ch].template: The templates
298 2007-11-26 Matthias Clasen <mclasen@redhat.com>
300 * gtk/gtkfilechooserbutton.c:
301 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
302 some compilers choke on that. (#467722)
304 2007-11-26 Matthias Clasen <mclasen@redhat.com>
306 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
307 about hook setup. (#425004, Emmanuele Bassi)
309 2007-11-26 Tor Lillqvist <tml@novell.com>
311 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
312 monitor the window currently is on, not always the primary
313 monitor. (#463865, Tim Evans)
315 2007-11-26 Tor Lillqvist <tml@novell.com>
317 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
319 * gdk/win32/Makefile.am: Add it.
321 2007-11-26 Tor Lillqvist <tml@novell.com>
323 * configure.in: Don't add jasper to all_loaders if no libjasper.
325 2007-11-25 Bastien Nocera <hadess@hadess.net>
327 * configure.in: Add detection for libjasper, used by the
328 gdk-pixbuf JPEG2000 loader
330 2007-11-25 Matthias Clasen <mclasen@redhat.com>
332 * configure.in: Require gtk-doc 1.8
334 * */*.c: Use gtk-doc abbreviations for examples in docs.
336 2007-11-25 Matthias Clasen <mclasen@redhat.com>
338 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
341 2007-11-25 Matthias Clasen <mclasen@redhat.com>
343 * gtk/gtkdialog.c: Move signal and property documentation inline,
344 fix a problem with the ::response signal docs. (#499133, Josselin
347 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
349 * Makefile.decl: initialize automake variables EXTRA_DIST and
350 TEST_PROGS for unconditional appending via += in other makefiles.
351 define recursive test targets: test, test-report, perf-report,
352 full-report, as described here:
353 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
354 the test targets will execute Gtk+ test programs within an Xvfb session.
356 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
358 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
359 g_test_run() to run the tests to integrate with the testing framework.
361 * gtk/tests/Makefile.am: removed exemplary testing rules.
363 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
364 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
365 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
366 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
367 * docs/reference/Makefile.am, docs/tools/Makefile.am:
368 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
369 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
370 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
371 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
372 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
373 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
374 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
375 * modules/engines/ms-windows/Theme/Makefile.am:
376 * modules/engines/ms-windows/Makefile.am:
377 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
378 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
379 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
380 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
381 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
382 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
383 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
385 2007-11-22 Matthias Clasen <mclasen@redhat.com>
387 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
388 (#485662, patch by Herbert Valerio Riedel)
390 2007-11-22 Matthias Clasen <mclasen@redhat.com>
392 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
394 2007-11-21 Richard Hult <richard@imendio.com>
396 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
397 stubs for the testing functions to fix the build.
399 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
401 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
402 (#467711, The Written Word)
404 2007-11-21 Ross Burton <ross@openedhand.com>
406 * gdk/x11/gdksettings.c:
407 Add xsetting for gtk-scrolled-window-placement (#458103).
409 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
411 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
412 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
413 (#469239, Michael Natterer)
415 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
417 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
418 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
419 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
420 (#436536, Tommi Komulainen)
422 2007-11-21 Matthias Clasen <mclasen@redhat.com>
424 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
425 property. (#489782, Jan Janech)
427 2007-11-20 Matthias Clasen <mclasen@redhat.com>
429 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
430 frames. (#107398, Owen Taylor, Miguel Gomez)
432 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
434 Moved Gdk test functions from Gtk+ to Gdk test utils.
436 * gdk/Makefile.am: added gdktestutils.h to public includes.
438 * gdk/gdk.h: added gdktestutils.h to public includes.
440 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
441 gdk_test_render_sync.
443 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
444 gdk_test_simulate_key, gdk_test_render_sync.
446 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
448 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
449 gdk_test_simulate_key, gdk_test_render_sync.
451 * gtk/gtktestutils.c:
452 * gtk/gtktestutils.h:
453 * gtk/gtk.symbols: removed gtk_test_simulate_button
454 gtk_test_simulate_key, gtk_test_xserver_render_sync.
456 * gtk/tests/testing.c: call gdk_test_render_sync.
458 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
460 Added unit tests for Gtk+ testing utilities.
462 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
463 utility functions. some g_test_* related portions are disabled and need
464 to be enabled once Gtk+ depends on a new glib with the GLib testing
465 framework integrated.
467 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
468 added exemplary test rules to run tests inside Xvfb. this needs to depend
469 on gtester for full fledged testing.
471 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
472 collecting _get_type functions to catch e.g. gtk_text_get_type().
474 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
476 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
478 Added Gtk+ testing utilities.
480 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
481 for the most part, the functions herein involve navigating and interacting
482 with dialog elements programatically, to automate user interaction tests of
485 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
487 * gtk/gtk.symbols: added gtk_test_* symbols.
489 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
490 generate gtktypefuncs.c which contains a list of all _get_type functions in
492 2007-11-20 Bastien Nocera <hadess@hadess.net>
494 * configure.in: add support for conditional icns gdk-pixbuf loader
497 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
499 * configure.in: updated version number to 2.15.0 for development.
501 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
503 === Branch for 2.12 ===