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