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