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