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