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