]> Pileus Git - ~andy/gtk/blob - ChangeLog
27ab377642be9d7ec6ea6ad0549ffe4f3b0aa2a2
[~andy/gtk] / ChangeLog
1 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2
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.
13
14 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
15
16         * gtk/gtkcontainer.c: Correct the documentation of child
17         property getter arguments.  (#501992, David Brigada)
18
19 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
20
21         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
22         leak pixbufs.  (#502250, Yevgen Muntyan)
23
24 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
25
26         * gtk/gtkprintunixdialog.c:
27         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
28         Print and Page Setup dialogs (#502202).
29
30 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
31
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.
35
36 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
37
38         * gdk-pixbuf/gdk-pixbuf.symbols:
39         * gdk/gdk.symbols:
40         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
41         positives in abicheck.sh
42
43 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
44
45         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
46         GDK events generations in the DirectFB backend.
47
48 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
49
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.
52
53 2007-12-06  Richard Hult  <richard@imendio.com>
54
55         * gdk/quartz/gdkevents-quartz.c:
56         (synthesize_crossing_events_for_ns_event): Fix warning when
57         switching spaces in leopard.
58
59 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
60
61         * tests/floatingtest.c: ported to new testing framework.
62
63         * tests/Makefile.am: run floatingtest as testing framework test.
64
65 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
66
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
71         framework in main().
72
73         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
74         executed inside Xvfb upon make check.
75
76 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
77
78         * tests/objecttests.c: use string comparisons for string property
79         values and get rid of referencing symbols in array initialization.
80
81 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
82
83         * gtk+/Makefile.decl: run tests in current dir after setting up the
84         logging directory, so their results get properly merged into the
85         resulting test log.
86
87         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
88         tests to loop over registered Gdk/Gtk+ types.
89
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.
94
95 2007-12-04  Richard Hult  <richard@imendio.com>
96
97         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
98         Fully initialize the root window, fixes bug #501583.
99
100 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
101
102         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
103         crash epiphany.
104
105 2007-12-03  Richard Hult  <richard@imendio.com>
106
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).
110
111 2007-12-03  Richard Hult  <richard@imendio.com>
112
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.
117
118 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
119
120         Two optimizations for icon cache lookups.
121
122         * gtk/gtkiconcache.[hc]:
123         * gtk/gtkicontheme.c: Remember the directory index for
124         subdirectories, instead of running over the directory list
125         again and again.
126
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
130         of subdirectories.
131
132 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
133
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.
137
138 2007-12-1  Cody Russell  <bratsche@gnome.org>
139
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)
147
148 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
149
150         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
151
152 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
153
154         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
155         debug spew.
156
157 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
158
159         * gtk/Makefile.am: Fix ordering of subdirs.
160
161 2007-11-28  Tor Lillqvist  <tml@novell.com>
162
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.
171
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
175         GTK_LOCALEDIR.
176
177         * gtk-zip.sh.in: Check whether the message catalogs are in
178         share/locale or lib/locale.
179
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.
182
183 2007-11-28  Tor Lillqvist  <tml@novell.com>
184
185         * gtk/Makefile.am: Improve portability. The -o option is present
186         only in newish GNU egreps. Use one more sed in the pipeline
187         instead.
188
189 2007-11-28  Tor Lillqvist  <tml@novell.com>
190
191         Fix #375893, patch by Ben Hague:
192
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.
197
198         (check_volumes, gtk_file_system_win32_list_volumes) Call
199         get_viewable_logical_drives() instead of GetLogicalDrives().
200
201 2007-11-27  Matthias Clasen <mclasen@redhat.com>
202
203         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
204         variables to silence valgrind.  (#495124, Morten Welinder)
205
206 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
207
208         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
209         that the construct_child function is responsible for returning a
210         reference.
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
215         implementer in GTK)
216
217         Fixes #496645.
218
219 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
220
221         * gtkbuilder.c: remove concept of root objects and just refcount
222         all objects in the builder.  Fixes #496651.
223
224 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
225
226         * tests/buildertest.c (test_window): fix invalid free
227
228 2007-11-26  Josselin Mouette <joss@malsain.org>
229
230         reviewed by: Federico Mena Quintero
231
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.
242
243 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
244
245         * gtk/gtkmain.c:
246         * gtk/gtknotebook.c:
247         * gtk/gtkplugprivate.h:
248         * gtk/gtksocket.c:
249         * gtk/gtksocketprivate.h:
250         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
251
252 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
253
254         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
255         (#495574, Richard Hult)
256
257 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
258
259         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
260         String change !   (#376361, Sven Neumann)
261
262 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
263
264         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
265         destroy.
266         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
267         Welinder)
268
269 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
270
271         * gtk/gtkassistant.c: Improve alternative button
272         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
273
274 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
275
276         * gtk/gtkcalendar.c: Fix a theming problem with colors
277         in GtkCalendar.  (#499703, Michael Hofmann)
278
279 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
280
281         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
282
283 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
284
285         Use templates for glib-mkenums calls instead of 
286         complicated commandlines in Makefiles.  (#429910)
287
288         * gdk-pixbuf/Makefile.am:
289         * gdk/Makefile.am: 
290         * gtk/Makefile.am: 
291         * perf/Makefile.am: Use templates for glib-mkenums
292
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
297
298 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
299
300         * gtk/gtkfilechooserbutton.c:
301         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
302         some compilers choke on that.  (#467722)
303
304 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
305
306         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
307         about hook setup.  (#425004, Emmanuele Bassi)
308
309 2007-11-26  Tor Lillqvist  <tml@novell.com>
310
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)
314
315 2007-11-26  Tor Lillqvist  <tml@novell.com>
316
317         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
318
319         * gdk/win32/Makefile.am: Add it.
320
321 2007-11-26  Tor Lillqvist  <tml@novell.com>
322
323         * configure.in: Don't add jasper to all_loaders if no libjasper.
324
325 2007-11-25  Bastien Nocera  <hadess@hadess.net>
326
327         * configure.in: Add detection for libjasper, used by the
328         gdk-pixbuf JPEG2000 loader
329
330 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
331
332         * configure.in: Require gtk-doc 1.8
333
334         * */*.c: Use gtk-doc abbreviations for examples in docs.
335
336 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
337
338         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
339         typo.  (#498922)
340
341 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
342
343         * gtk/gtkdialog.c: Move signal and property documentation inline,
344         fix a problem with the ::response signal docs.  (#499133, Josselin
345         Mouette)
346
347 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
348
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.
355
356         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
357
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.
360
361         * gtk/tests/Makefile.am: removed exemplary testing rules.
362
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.
384
385 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
386
387         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
388         (#485662, patch by Herbert Valerio Riedel)
389
390 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
391
392         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
393
394 2007-11-21  Richard Hult  <richard@imendio.com>
395
396         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
397         stubs for the testing functions to fix the build.
398
399 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
400
401         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
402         (#467711, The Written Word)
403
404 2007-11-21  Ross Burton  <ross@openedhand.com>
405
406         * gdk/x11/gdksettings.c:
407         Add xsetting for gtk-scrolled-window-placement (#458103).
408
409 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
410
411         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
412         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
413         (#469239, Michael Natterer)
414
415 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
416
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)
421
422 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
423
424         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
425         property.  (#489782, Jan Janech)
426
427 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
428
429         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
430         frames.  (#107398, Owen Taylor, Miguel Gomez)
431
432 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
433
434         Moved Gdk test functions from Gtk+ to Gdk test utils.
435
436         * gdk/Makefile.am: added gdktestutils.h to public includes.
437
438         * gdk/gdk.h: added gdktestutils.h to public includes.
439
440         * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
441         gdk_test_render_sync.
442
443         * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
444         gdk_test_simulate_key, gdk_test_render_sync.
445
446         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
447
448         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
449         gdk_test_simulate_key, gdk_test_render_sync.
450
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.
455
456         * gtk/tests/testing.c: call gdk_test_render_sync.
457
458 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
459
460         Added unit tests for Gtk+ testing utilities.
461
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.
466
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.
470
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().
473
474         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
475
476 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
477
478         Added Gtk+ testing utilities.
479
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
483         dialogs and widgets.
484
485         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
486
487         * gtk/gtk.symbols: added gtk_test_* symbols.
488
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
491         Gtk+ and Gdk.
492 2007-11-20  Bastien Nocera  <hadess@hadess.net>
493
494         * configure.in: add support for conditional icns gdk-pixbuf loader
495         (Closes: #395738)
496
497 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
498
499         * configure.in: updated version number to 2.15.0 for development.
500
501 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
502
503         === Branch for 2.12 ===
504