]> Pileus Git - ~andy/gtk/blob - ChangeLog
1ae7aa8bb861d32c082cecc519e6958646349193
[~andy/gtk] / ChangeLog
1 2008-05-04  Richard Hult  <richard@imendio.com>
2
3         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
4         semicolon after if statement. Fixes bug #530963, patch from Yevgen
5         Muntyan.
6
7 2008-05-02  Michael Natterer  <mitch@imendio.com>
8
9         * gtk/gtk.h: add 15 files that were missing (they all got included
10         indirectly by including gtk.h, so should have been here in the
11         first place).
12
13 2008-05-02  Michael Natterer  <mitch@imendio.com>
14
15         * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
16
17 2008-05-01  Richard Hult  <richard@imendio.com>
18
19         * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
20         Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
21
22 2008-05-01  Matthias Clasen  <mclasen@redhat.com>
23
24         * modules/imput/imthai.c: Register the right translation domain.
25
26 2008-04-30  Matthias Clasen  <mclasen@redhat.com>
27
28         Bug 529386 – Printing options hidden by blacklisted option
29
30         * modules/printbackend/cups/gtkprintbackendcups.c
31         (cups_printer_get_options): Fix the blacklist handling. 
32         Patch by Marek Kašík.
33         
34 2008-04-30  Richard Hult  <richard@imendio.com>
35
36         * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
37         area.
38
39 2008-04-30  Richard Hult  <richard@imendio.com>
40
41         * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
42         nsevents with the gdk lock held, fixes deadlock when doing manual
43         window resizing with threading enabled.
44
45 2008-04-30  Richard Hult  <richard@imendio.com>
46
47         * gdk/quartz/gdkevents-quartz.c:
48         (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
49         Alt to Alt and Cmd to Meta. This is not only more logical but also
50         makes it easier to have Mac-like behavior.
51
52 2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
53
54         * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
55         painting the flat box instead of recalculating it. (#437493,
56         Ricardo Cruz)
57
58 2008-04-25  Michael Emmel  <mike.emmel@gmail.com>
59
60         Bug 529841 – incorrect position in directfb 
61
62         * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x 
63
64 2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
65
66         * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
67
68 2008-04-25  Michael Natterer  <mitch@imendio.com>
69
70         * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
71         <pango/pango-layout.h>.
72
73         * gtk/gtkiconfactory.c
74         * gtk/gtkimmodule.c
75         * gtk/gtkmain.c
76         * gtk/gtkmodules.c
77         * gtk/queryimmodules.c: remove inclusion of single files from
78         pango, none of them was actually needed.
79
80         * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
81         <pango/pango-utils.h>.
82
83 2008-04-25  Michael Natterer  <mitch@imendio.com>
84
85         * gdk/gdkfont.h: include <pango/pango.h> instead of
86         <pango/pango-font.h>.
87
88 2008-04-25  Michael Natterer  <mitch@imendio.com>
89
90         * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
91         <gdk/gdkscreen.h>.
92
93 2008-04-21  Michael Natterer  <mitch@imendio.com>
94
95         * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
96         crashing when NULL pointers get passed.
97
98 2008-04-18  Michael Natterer  <mitch@imendio.com>
99
100         * gtk/gtkenums.h: move a few '{' to their own lines so all enums
101         here have the same style.
102
103 2008-04-18  Michael Natterer  <mitch@imendio.com>
104
105         * gtk/gtkicontheme.h
106         * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
107         <gdk/gdkscreen.h>.
108
109         * gtk/gtkbuilderparser.c
110         * gtk/gtklinkbutton.c
111         * gtk/gtkpreview.c
112         * gtk/gtkrecentchooserdefault.c
113         * gtk/gtkrecentchoosermenu.c
114         * modules/input/gtkimcontextthai.c: remove inclusion of single
115         files from gdk, none of the includes was actually needed.
116
117 2008-04-18  Michael Natterer  <mitch@imendio.com>
118
119         * gdk/gdk.h: reorder one include so they are all alphabetical.
120
121 2008-04-18  Michael Natterer  <mitch@imendio.com>
122
123         * modules/printbackends/cups/gtkprintercups.[ch]
124         (gtk_printer_cups_get_ppd_name): change return value and local
125         variable to const gchar* to fix warning about discarding const
126         qualifier.
127
128 2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>
129
130         * gtk/gtkrecentmanager.c:
131         (gtk_recent_manager_set_filename): Keep the default storage
132         file in $HOME, as we don't have a migration code in place yet.
133
134 2008-04-18  Michael Natterer  <mitch@imendio.com>
135
136         * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
137         g_strfreev() the uris returned by g_bookmark_file_get_uris().
138
139 2008-04-17  Michael Natterer  <mitch@imendio.com>
140
141         * gtk/gtkiconfactory.c (get_default_icons): register the
142         GTK_STOCK_PAGE_SETUP icon.
143
144 2008-04-17  Michael Natterer  <mitch@imendio.com>
145
146         * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
147         g_return_if_fail(tooltips != NULL);
148
149 2008-04-16  Tristan Van Berkom <tvb@gnome.org>
150
151         * gtk/gtkwindow.c: Chain up in buildable_finish()
152
153         * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
154         cases where g_path_get_dirname() returns "."
155
156         * docs/reference/gtk/tmpl/gtklabel.sgml, 
157         docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
158         for the <attributes> tags on GtkLabel
159
160 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
161
162         * gtk/gtkrecentmanager.c:
163         (gtk_recent_manager_real_changed): Fix last commit, and
164         complete the gtk-recent-files-max-age semantics: if the
165         property is set to 0 then purge the list.
166
167 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
168
169         Bug 488507 – boundless growth of .recently-used.xbel file
170         slows down applications
171
172         * gtk/gtkrecentmanager.c:
173         (gtk_recent_manager_init),
174         (gtk_recent_manager_real_changed),
175         (gtk_recent_manager_set_filename),
176         (gtk_recent_manager_clamp_to_age): Clamp the recently
177         used resources list by the age of its items, using
178         the newly added GtkSettings property.
179
180         * gtk/gtksettings.c (gtk_settings_class_init): Add the
181         gtk-recent-files-max-age property, controlling the
182         maximum age of the items in the recently used resources
183         list.
184
185 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
186
187         * gtk/gtkrecentmanager.c:
188         (gtk_recent_manager_add_item_query_info),
189         (gtk_recent_manager_add_item): Emit the ::changed signal
190         at the end of the asynchronous MIME type query.
191
192 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
193
194         Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
195         every 5 seconds
196
197         * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
198         changes in the recently used resources storage file, and
199         drop the timeout-based poll.
200
201         * ChangeLog: Fix attribution of the patch of the previous
202         commit.
203
204 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
205
206         Bug 506062 – gtk_recent_manager_add_item does not detect mime
207         type on Windows
208
209         * configure.in: Depend on gio-2.0
210
211         * gtk/gtkrecentmanager.c:
212         (gtk_recent_manager_add_item_query_info_cb),
213         (gtk_recent_manager_add_item): Use GIO to (asynchronously)
214         query the MIME type of the passed URI (based on a patch by
215         Armin Burgmeier)
216
217 2008-04-11  Carlos Garnacho  <carlos@imendio.com>
218
219         * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
220         page to visited page list instead of next current page. (#527466,
221         patch by Marcus Brinkmann)
222
223 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
224
225         * gtk/gtklabel.c: Added <attributes> / <attribute>
226         custom tags to parse pango attributes into labels.
227
228         * tests/buildertest.c: Added tests for GtkLabel custom
229         tag parsing.
230
231 2008-04-10  Carlos Garnacho  <carlos@imendio.com>
232
233         * gtk/gtknotebook.c (hide_drag_window): Do not call
234         gtk_widget_set_parent_window(), using widget->window instead of NULL
235         to unset is the wrong thing, and gtk_widget_unparent() will already 
236         take care of this (#467698, patch by Sébastien Granjoux)
237
238 2008-04-08  Tor Lillqvist  <tml@novell.com>
239
240         * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
241         these functions with G_MODULE_EXPORT.
242
243 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
244
245         * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
246         (gtk_file_system_volume_render_icon):
247         Fix fallback icon rendering size
248
249 2008-04-08  Michael Natterer  <mitch@imendio.com>
250
251         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
252         touchscreen-mode keynav corner case: when navigating to the parent
253         menu, make sure we don't close two menus at the same time in case
254         the deepest open menu has no selectable items.
255
256 2008-04-06  Tristan Van Berkom <tvb@gnome.org>
257
258         * gtk/gtkwidget.c: Clarified a g_warning message regarding
259         parsing accelerators from builder files.
260
261 2008-04-03  Cody Russell  <bratsche@gnome.org>
262
263         * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
264         of the block. (#526021, reported by Kazuki IWAMOTO)
265
266 2008-04-03  Tor Lillqvist  <tml@novell.com>
267
268         Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
269         strange behavior
270
271         * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
272         workaround for a specific kind of screwed up locale setting.
273
274 2008-04-02  Matthias Clasen  <mclasen@redhat.com>
275
276         * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
277         colormaps.  Found by Daniel Berrange.
278
279 2008-04-02  Björn Lindqvist  <bjourne@gmail.com>
280
281         * tests/autotestfilechooser.c: Cover
282         GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
283         name. (#346058, Joe Halliwell)
284
285 2008-04-02  Federico Mena Quintero  <federico@novell.com>
286
287         Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
288         chooser incorrectly substitutes and expands a ~ when you type it
289         in the filename entry.
290
291         * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
292         basenames result in a slash-terminated pathname.
293         gtk_file_system_unix_parse() is correct, but it was splitting
294         "/home/username" into path="/home" and file_part="username", which
295         is not what the caller wants when the entry has just "~" or
296         "~username".
297
298 2008-04-02  Tor Lillqvist  <tml@novell.com>
299
300         * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
301         and gtksearchenginetracker.c on Windows.
302
303         * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
304         on Windows.
305
306 2008-04-01  Cody Russell  <bratsche@gnome.org>
307
308         * configure.in: Bump required Cairo to 1.5.2.
309
310         * gtk/gtkprintoperation-win32.c: Add support for using the new
311         cairo_win32_printing_surface for printing.  Also fixed to use
312         cairo_surface_show_page(). (#488833 and #521178)
313
314 2008-03-31  Cody Russell  <bratsche@gnome.org>
315
316         * demos/gtk-demo/printing.c (draw_page): Move down each line in         
317         units of text_height rather than in units of data->font_size.
318         (totally awesome catch by Dom Lachowicz)
319
320 2008-03-28  Richard Hult  <richard@imendio.com>
321
322         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
323         (_gdk_quartz_events_trigger_crossing_events): Defer the generated
324         event to the mainloop and don't generate one at all if the
325         toplevel didn't change. Use the actual window and not the toplevel
326         as event window. These changes make the generated crossing events
327         match the X11 behavior and fixes issues with e.g. tooltips,
328         comboboxes and menus.
329
330         * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
331         the view has no window, it will be updated as soon as it's put
332         inside a window.
333
334         * gdk/quartz/gdkwindow-quartz.c:
335         (_gdk_quartz_window_debug_highlight): Make it possible to track
336         multiple windows with debug highlighting.
337         (show_window_internal): Remove workaround for tooltips and popups
338         that is no longer needed with the above changes.
339
340 2008-03-26  Federico Mena Quintero  <federico@novell.com>
341
342         * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
343         helper function; factored out from the functions that commit the
344         current suggested autocompletion and that refresh the entry's paths.
345         (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
346         (_gtk_file_chooser_entry_get_file_part): Likewise.
347         (_gtk_file_chooser_entry_get_current_folder): Likewise.  This
348         makes the entry have the correct paths when *not* using any form
349         of completion (and makes the file chooser work when clicking the
350         OK button).
351
352 2008-03-25  Richard Hult  <richard@imendio.com>
353
354         * gdk/quartz/gdkevents-quartz.c:
355         (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
356         can't find a matching window.
357
358         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
359         comment, and only trigger an event for non-temp windows, fixes
360         problems for tooltips caused by the workarounds for the
361         problematic tracking rect API.
362
363 2008-03-25  Richard Hult  <richard@imendio.com>
364
365         * gdk/quartz/gdkwindow-quartz.c:
366         (gdk_window_quartz_process_all_updates): Plug a leak and add a
367         check that we have a toplevel before accessing it.
368
369 2008-03-24  Tor Lillqvist  <tml@novell.com>
370
371         Bug 524151 - Dragging of 0-byte files results in an empty filename
372         on Windows XP and above
373
374         * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
375         being empty first. For some reason ISHellLink and IPersistFile
376         succeeds in interpreting empty files as shortcuts, claiming the
377         target of the shortcut is an empty path.
378
379         Change the function to take the wide character file name that the
380         caller already has anyway, to avoid a superfluous conversion from
381         UTF-8 to UTF-16.
382
383 2008-03-23  Björn Lindqvist  <bjourne@gmail.com>
384
385         * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
386         against NULL pointer. (#467051, Gian Mario Tagliaretti)
387
388 2008-03-23  Cody Russell  <bratsche@gnome.org>
389
390         * gdk/win32/gdkevents-win32.c (show_window_recurse):
391         Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
392         ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
393         menus from a maximized window would force the window to restore
394         its size. (#518846)
395
396 2008-03-23  Johan Dahlin  <johan@gnome.org>
397
398         * gtk/gtk-builder-convert:
399         Properly convert GtkImageMenuItems which use stock labels but don't
400         have any children.
401         (#523932, Brian Pepple)
402         
403 2008-03-22  Matthew Barnes  <mbarnes@redhat.com>
404
405         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
406         New function implements GtkCellLayoutClass::get_cells.  (#523787)
407
408 2008-03-22  Tor Lillqvist  <tml@novell.com>
409
410         Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
411
412         * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
413         GDK_THREADS_LEAVE() call. Approved by mclasen.
414
415 2008-03-22  Björn Lindqvist  <bjourne@gmail.com>
416
417         * gtk/gtkexpander.c (gtk_expander_get_label):
418         gtk_label_get_label() should be used instead of
419         gtk_label_get_text(). (#353088, Xan Lopez)
420
421 2008-03-21  Tor Lillqvist  <tml@novell.com>
422
423         Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
424         Lachowicz and Alberto Ruiz into the GTK+ tree, from the
425         gdip-pixbuf-loader module.
426
427         * configure.in: Add switch --disable-gdiplus-loaders that disables
428         building of the GDI+ loaders.
429
430         When including loaders in the gdk-pixbuf library, and building
431         GDI+ loaders, either build in all the GDI+ loaders or none of
432         them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
433         signal building them in.
434
435         Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
436         whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
437         indicate whether they should be built-in.
438         
439         For the rest of the changes, see gdk-pixbuf/ChangeLog.
440         
441 2008-03-20  Tor Lillqvist  <tml@novell.com>
442
443         * gtk/Makefile.am: Revert accidental change that went in as part
444         of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
445         Darwin. On Windows one has to use a newer GNU grep that has -o,
446         for instance the one from gnuwin32, instead of the oldish one in
447         MSYS that doesn't have -o.
448
449 2008-03-20  Tor Lillqvist  <tml@novell.com>
450
451         * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
452         pass NULL for %s to g_message().
453         (main): Drop unnecessary call to gtk_widget_destroy().
454
455 2008-03-20  Tor Lillqvist  <tml@novell.com>
456
457         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
458
459         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
460         in one dimension, or centered in case it doesn't fit.
461         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
462         dimensions.
463
464 2008-03-18  Tor Lillqvist  <tml@novell.com>
465
466         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
467         
468         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
469         G_MODULE_ENTRY decoration can be put in a more correct place.
470
471 2008-03-18  Sven Neumann  <sven@gimp.org>
472
473         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
474         alternative button order on the password dialog.
475
476 2008-03-18  Tor Lillqvist  <tml@novell.com>
477
478         Bug 99192 - Add --with-include-input-modules
479
480         * configure.in: Add --with-included-immodules switch. Handled in a
481         similar way as the --with-included-loaders switch. For each input
482         method module foo: Collect the list of input modules to be built
483         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
484         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
485         Define Automake conditionals INCLUDE_IM_FOO.
486
487         * modules/input/Makefile.am: For modules to be included in libgtk,
488         build a static library.
489         
490         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
491         gdk-pixbuf to get unique names for the functions called by libgtk
492         in the included case. Use G_MODULE_EXPORT in the non-included case
493         so that we don't unnecessarily export unneeded random global
494         symbols on Windows.
495
496         * gtk/Makefile.am: Build the included modules and link them into libgtk.
497
498         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
499         copy/paste leftover mentions of "themes" in comments.
500
501 2008-03-18  Tor Lillqvist  <tml@novell.com>
502
503         * tests/Makefile.am: Build testmountoperation only on Unix for now.
504
505 2008-03-17  Christian Kellner  <gicmo@gnome.org>
506
507         Implement GtkMountOperation, a subclass of GMountOperation
508         to be used with gio wherever there is the need to ask the
509         user for credentials or questions while mounting a volume.
510         This is bug #522245
511
512         * gtk/gtkmountoperation.c:
513         * gtk/gtkmountoperation.h:
514         Implement GtkMountOperation.
515         
516         * gtk/gtk.h: Add gtkmountoperation.h
517         * gtk/Makefile.am: Add gtkmountoperation.[hc]
518         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
519         * tests/testmountoperation.c: Test program for it.
520         * tests/Makefile.am: Add testmountoperation.
521
522 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
523
524         * gtk/gtkcontainer.c: Properly document
525         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
526
527 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
528
529         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
530         style names for the ComboBox thickness style
531
532 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
533
534         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
535         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
536         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
537         intelligent separation for the xp theming engine and the classic
538         theme while drawing the GtkComboBox button.  combobox_draw_arrow
539         is not used anymore, commented.  The style has been updated to fix
540         border/thickness glitches in the combobox according to the fixes
541         commited regarding bug #521442. (bug #461805)
542
543 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
544
545         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
546         now aware of both the combobox and frame (if has-frame is set)
547         thickness and border. (bug #521442)
548
549 2008-03-15  Andre Klapper  <a9016009@gmx.de>
550
551         * configure.in: Added "si" to ALL_LINGUAS.
552
553 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
554
555         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
556         Set window type hint on the search popup.  (#522279, Danny Baumann)
557
558 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
559
560         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
561         appropriate.  (#521934, Huang Peng)
562
563 2008-03-14  Michael Natterer  <mitch@imendio.com>
564
565         * gdk/gdkspawn.h
566         * gtk/gtkbuilderprivate.h
567         * gtk/gtkfilechoosersettings.c
568         * gtk/gtksearchenginesimple.c
569         * gtk/tests/liststore.c
570         * gtk/tests/treestore.c: remove single-file includes of GLib
571         headers or replace them by <glib.h> where needed.
572
573 2008-03-14  Michael Natterer  <mitch@imendio.com>
574
575         * gtk/gtkadjustment.c: coding style cleanup.
576
577         (gtk_adjustment_set_property): no need to call g_object_notify()
578         on the set properties.
579
580         Implement GObject::dispatch_properties_changed() and make sure we
581         emit "changed" when anything but the "value" property changes.
582
583 2008-03-14  Tor Lillqvist  <tml@novell.com>
584
585         * gdk/win32/gdkevents-win32.c: Drop the support for the
586         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
587         Win95. Thanks to mitch for noticing this obsolete code.
588
589 2008-03-14  Cody Russell  <bratsche@gnome.org>
590
591         * examples/scribble-xinput/scribble-xinput.c: Changed
592         'void int main()' to 'int main()'. (#522211, Liqing Huang)
593         
594 2008-03-14  Richard Hult  <richard@imendio.com>
595
596         * gdk/quartz/gdkwindow-quartz.c:
597         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
598         only flush the toplevel once per update.
599
600 2008-03-13  Federico Mena Quintero  <federico@novell.com>
601
602         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
603         Set the mouse cursor of the feedback window to invisible, so that
604         we respect GtkEntry's invisible cursor while typing.
605
606 2008-03-13  Federico Mena Quintero  <federico@novell.com>
607
608         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
609         the feedback window at entry_height/2 pixels to the right of the
610         cursor, for a cheap "M-width / 2" spacing.
611
612 2008-03-13  Sven Neumann  <sven@gimp.org>
613
614         * gtk/gtkfilechooserdefault.c
615         * gtk/gtkprintunixdialog.c: set alternative button order for
616         overwrite confirmation dialogs (bug #522191).
617
618 2008-03-13  Sven Neumann  <sven@gimp.org>
619
620         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
621         (overwrite_confirmation_dialog): added some line-breaks for
622         readability.
623
624 2008-03-12  Federico Mena Quintero  <federico@novell.com>
625
626         Rework the way completion works in GtkFileChooserEntry.  Fixes
627         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
628         Tab completion should work even if the cursor is not at the end of
629         the entry.
630
631         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
632         completion.
633
634         We distinguish between two cases:
635
636                 - autocompletion - happens only in the Open modes by
637                   inserting and selecting the common prefix as you type.
638
639                 - explicit completion - happens when you hit Tab.
640
641         When some type of completion needs to happen, the entry first
642         parses its input and sees if it needs to initiate a folder load.
643         Completion will not happen until the folder finishes loading.
644
645         If the folder is already completely loaded, then completion is
646         performed immediately.  Otherwise, the entry queues a pending
647         completion and starts loading the new folder (or waits until the
648         current folder is completely loaded).
649
650         Tab completion is allowed to happen even if the cursor is not at
651         the end of the entry.
652
653         There is a new feedback mechanism for explicit completion, so that
654         you will get an Emacs-like tip whenever there are ambiguities in
655         completion, no matches, etc.  (This needs to be polished so that
656         we support RTL entries and all the fancy Pango layout in GtkEntry).
657
658         The only remaining thing to fix is the popup suggestion window.
659         Unfortunately, GtkEntryCompletion does not let us do what we want,
660         and will need further changes.
661
662 2008-03-12  Tor Lillqvist  <tml@novell.com>
663
664         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
665
666         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
667         for the TaskbarCreated message in the window procedure for the
668         dummy "tray observer" window we create. When we get a
669         TaskbarCreated message, iterate over the status icons and re-add
670         them to the task bar, and update them by calling
671         gtk_status_icon_update_image().
672
673         Move some ifdefs around to avoid unused functions.
674
675 2008-03-12  Tor Lillqvist  <tml@novell.com>
676
677         * config.h.win32.in: Update to match what configure produces.
678
679 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
680
681         * modules/printbackends/cups/gtkprintbackendcups.c:
682         (cups_printer_prepare_for_print): Don't define variables in the
683         middle of a block. (#522067)
684
685 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
686
687         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
688         dialog for print-to-file.  (#474302, Marek Kašík)
689
690 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
691
692         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
693         (#469210, Wouter Bolsterlee)
694
695 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
696
697         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
698         paper_size here.  (#488820, Morten Welinder)
699
700 2008-03-12  Michael Natterer  <mitch@imendio.com>
701
702         * acconfig.h: remove this deprecated file.
703
704         * configure.in: added comments to all instances of AC_DEFINE() so
705         config.h can be completely generated from configure.in.
706
707 2008-03-12  Michael Natterer  <mitch@imendio.com>
708
709         * modules/printbackends/cups/gtkprintbackendcups.c: include
710         <glib/gstdio.h> for g_fopen().
711
712 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
713
714         * modules/printbackends/cups/gtkprintbackendcups.c: Use
715         g_ascii_formatd when formatting custom paper sizes, since
716         cups doesn't handle , as decimal separator.  (#521548)
717
718 2008-03-11  Tor Lillqvist  <tml@novell.com>
719
720         Bug 469868 - Filenames with colon ":" are not saved correctly
721
722         * gtk/gtkfilechooserentry.c (insert_text_callback)
723         (delete_text_callback) [Win32]: New functions to make sure that
724         colons used otherwise than as a separator after a drive letter, or
725         characters that are always illegal in file names, are rejected on
726         input. This means that the GTK+ file chooser can't be used to
727         input full names of alternate data streams, but oh well. There are
728         still more checks that could be done on the file names, see the
729         bug report. But this will do for now.
730         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
731
732 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
733
734         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
735
736 2008-03-11  Michael Natterer  <mitch@imendio.com>
737
738         * gdk/linux-fb/*: removed linux-fb backend files.
739
740         * acconfig.h
741         * config.h.win32.in
742         * docs/README.linux-fb
743         * gtk/Makefile.am: remove remaining traces of linux-fb.
744
745         * gtk/gtkwindow-decorate.c: same here. There is some code that
746         calls into linux-fb to set window move/resize callbacks. I put it
747         in #if 0 as a reminder because we did use decorated windows with
748         the DirectFB backend and it did work, so I don't really know why
749         this code is needed or how it could work with DirectFB back then.
750         The file does actually compile now if DECORATE_WINDOWS is defined,
751         but I didn't test with DirectFB to check if it does anything.
752
753 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
754
755         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
756         Take thickness into account in the size allocation of the child widgets in
757         list mode.
758         Fixes #521442
759
760 2008-03-11  Richard Hult  <richard@imendio.com>
761
762         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
763
764 2008-03-10  Tor Lillqvist  <tml@novell.com>
765
766         * tests/teststatusicon.c (do_exit, popup_menu): Add the
767         possibility to test what happens if the process just calls exit()
768         without any orderly cleanup of GTK+.
769
770 2008-03-10  Tor Lillqvist  <tml@novell.com>
771
772         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
773
774 2008-03-10  Tor Lillqvist  <tml@novell.com>
775
776         Bug 520286 - Non-deletable window has no minimize / maximize buttons
777
778         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
779         New debugging output function that decodes a set of WS_* bits.
780
781         * gdk/win32/gdkprivate-win32.h: Declare it.
782
783         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
784         New function that enables or disables one menu entry in the system
785         menu of a top-level window. (The corresponding decoration will
786         then also be enabled or disabled (grayed).)
787
788         (update_style_bits): Do as the comment says and don't try to
789         update the window style based on the GdkWMFunctions set for the
790         window.
791                    
792         (update_system_menu): New function that enables or disables the
793         system menu entries based on a window's stored set of
794         GdkWMFunctions.
795
796         (gdk_window_set_functions): Call update_system_menu() instead of
797         update_style_bits().
798
799 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
800
801         * README.in: Reword the 2.14 release notes entry about the
802         deprecation of the gtkitemfactory.h header, and fix typos
803         and grammar.
804
805 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
806
807         * modules/engines/ms-windows/msw_style.c (draw_shadow):
808         Do not draw frame if parent if combobox.
809         (draw_box):
810         Uses scrollbar width system metrics for combobox button.
811         Fixes #461805 for XP theme engine.
812
813 2008-03-07  Johan Dahlin  <johan@gnome.org>
814
815         * gtk/gtkbuilder.c:
816         * gtk/gtkbuilderparser.c:
817         * gtk/gtkbuilderprivate.h:
818         * gtk/gtkiconfactory.c:
819         * tests/buildertest.c:
820         - Treat enums like enums and not values
821         - Avoid invalid free, in case of more than two sources
822         - Add better error messages
823         - Add much improved tests
824         (#520979, Christian Persch)
825
826 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
827
828         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
829         Fix build.
830
831 2008-03-06  Federico Mena Quintero  <federico@novell.com>
832
833         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
834         GtkFileChooserDialog should set a default response button if the
835         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
836
837         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
838         function, refactor from where there was duplicated code.
839         (gtk_file_chooser_dialog_map): Look at the buttons in our
840         action_area.  If the response ID for a button is one of the stock
841         ones, make it the default response button.
842
843 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
844
845         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
846         * gtk/gtkbuilder.c:
847         * gtk/gtkbuilderprivate.h:
848         * gtk/gtkiconfactory.c:
849         * tests/buildertest.c:
850         Implement GtkBuildable on GtkIconFactory, to make
851         it possible to register custom stock icons.
852         Fixes #517066
853
854 2008-03-06  Johan Dahlin  <johan@gnome.org>
855
856         Make gtk-doc happy:
857         
858         * gtk/gtkstyle.c: npoints->n_points.
859         * gtk/gtktestutils.h: widget->spinner
860         * gtk/gtktestutils.c: argc->argcp, argv->argvp
861
862 2008-03-06  William Lachance <wrlach@gmail.com>
863
864         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
865         string localizable (as it should be). 
866
867 2008-03-06  William Lachance <wrlach@gmail.com>
868
869         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
870         the time for today's date. It's redudant. (see bug #410517).
871
872 2008-03-06  Xan Lopez  <xan@gnome.org>
873
874         * gtk/gtkfixed.c: fix typo in documentation.
875
876 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
877
878         * gtk/gtkitemfactory.h:
879         * gtk/gtktypeutils.h:
880         Move GtkTranslateFunc to gtktypeutils.h so we can completely
881         deprecate gtkitemfactory.h. 
882
883         * gtk/gtkactiongroup.h:
884         * gtk/gtkstock.h:
885         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
886
887         * README.in: 
888         Add a note describing this slight incompatible change
889         
890 2008-03-06  Johan Dahlin  <johan@gnome.org>
891
892         * gtk/gtkpreview.h: Avoid double-deprecation.
893
894 2008-03-06  Michael Natterer  <mitch@imendio.com>
895
896         * gtk/gtk.h
897         * gtk/Makefile.am: move the remaining deprecated widgets to the
898         separate sections and replaced spaces by tabs in Makefile.am
899
900 2008-03-05  Johan Dahlin  <johan@gnome.org>
901
902         * configure.in: Add --disable-cups option.
903         (#513826, Alberto Ruiz)
904
905         * gtk/gtk.h: 
906         * gtk/Makefile.am:
907         Separate broken and deprecated sources and headers into different sections
908
909         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
910
911 2008-03-05  Kristian Rietveld  <kris@imendio.com>
912
913         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
914         short-circuit in case an empty root level would be build (and thus
915         directly destroyed) if no virtual root has been set.
916
917 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
918
919         * modules/printbackends/cups/gtkprintbackendcups.c: 
920         Honor cups user default options from ~/.cups/lpoptions
921         (#469210, Stijn Hoop)
922
923 2008-03-04  Michael Natterer  <mitch@imendio.com>
924
925         * gtk/gtkcellview.c
926         * gtk/gtkcolorbutton.c
927         * gtk/gtkentrycompletion.c
928         * gtk/gtkfontbutton.c
929         * gtk/gtkiconview.c
930         * gtk/gtkobject.c
931         * gtk/gtkpaned.c
932         * gtk/gtkpreview.c: don't include "gtksignal.h".
933
934         * gtk/gtkfilefilter.c
935         * gtk/gtkrecentchoosermenu.c
936         * gtk/gtkrecentfilter.c
937         * gtk/gtktext.c: don't include "gtkobject.h".
938
939 2008-03-04  Simos Xenitellis  <simos@gnome.org>
940
941         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
942         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
943         
944         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
945         same directory).
946         
947         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
948         file, contains compose sequences that used to exist in 
949         gtk/gtkimcontextsimple.c
950
951         * gtk/compose-parse.py: Script to generate compose 
952         sequences from upstream (Xorg).
953
954         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
955         check_algorithmically): New functions. First two search in
956         gtk_compose_seqs_compact[] for matching compose sequence, third
957         tries NFC normalisation on incoming compose sequence.
958         (gtk_im_context_simple_filter_keypress): 
959         Adds searching with check_compact_table(), check_algorithmically().
960
961 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
962
963         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
964         scrollwheel work in GtkPathBar.
965
966         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
967
968         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
969         an input-only window, event_window, which we'll use to capture
970         scroll events.
971         (gtk_path_bar_map): Show the event_window under the rest of the
972         windows, so it will be a catch-all for unhandled events.
973
974 2008-03-03  Sven Neumann  <sven@gimp.org>
975
976         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
977         typo in the documentation of the GtkFileChooserButtons::file-set
978         signal (see bug #353196).
979
980 2008-03-03  Tor Lillqvist  <tml@novell.com>
981
982         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
983         location.
984
985 2008-03-02  Johan Dahlin  <johan@gnome.org>
986
987         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
988         Remove left-over focus_pad variable.
989         (#490892, Claudio Saavedra)
990
991         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
992         (#518166, Matt Kraai)
993
994 2008-03-02  Johan Dahlin  <johan@gnome.org>
995
996         * docs/tutorial/gtk-tut.sgml: Add a missing space
997         (#517954, Matt Kraai)
998
999 2008-03-03  Tor Lillqvist  <tml@novell.com>
1000
1001         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1002         the widget is a GtkButton before casting.
1003
1004 2008-03-02  Johan Dahlin  <johan@gnome.org>
1005
1006         * configure.in: Compare using = instead of ==, which is portable.
1007         (#490787, Thomas Klausner)
1008
1009 2008-03-02  Johan Dahlin  <johan@gnome.org>
1010
1011         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1012         fixes non-C++ build.
1013         (#496032, Nelson Benitez)
1014
1015 2008-02-29  Johan Dahlin  <johan@gnome.org>
1016
1017         * demos/gtk-demo/demo.ui:
1018         * gtk/gtkbuilderparser.c:
1019         * gtk/gtkbuilderprivate.h:
1020         * gtk/gtkliststore.c:
1021         * tests/buildertest.c:
1022         Add translatable/context and comment attributes on
1023         <col> tags under a GtkListStore. Refactor parts of the
1024         translation api and make it available inside gtk+ itself.
1025         Update tests and example.
1026         Fixes a part of #518642
1027
1028 2008-02-29  Johan Dahlin  <johan@gnome.org>
1029
1030         * gtk/gtkbuilder.c:
1031         Add missing g_return_val_if_fail checks for public API.
1032
1033         * gtk/gtkbuilderparser.c:
1034         * gtk/gtkbuilderprivate.h:
1035         Do not use g_error for a few more errors, instead set
1036         the GError sent in through add_from_file/add_from_string.
1037         * tests/buildertest.c:
1038         Add a couple of new parsing tests.
1039         (#519199, Pavel Syomin)
1040
1041 2008-02-29  Federico Mena Quintero  <federico@novell.com>
1042
1043         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1044         refreshing an existing folder (i.e. when we are about to reload
1045         its file list), turn off the folder's is_finished_loading flag.
1046         Otherwise callers which do ::is_finished_loading() followed by
1047         ::list_children() will get nothing.
1048
1049 2008-02-29  Cody Russell  <bratsche@gnome.org>
1050
1051         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1052         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1053
1054 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
1055
1056         * gtk/gtkcalendar.h: Remove trailing comma from enum to
1057         make the compiler happy.  (#517295, Sylvain Pasche)
1058
1059 2008-02-27  Michael Natterer  <mitch@imendio.com>
1060
1061         * gtk/gtkmenushell.c
1062         * gtk/gtktable.c
1063         * gtk/gtktext.c
1064         * gtk/gtktipsquery.c
1065         * gtk/gtktoolbar.c
1066         * gtk/gtktreeitem.c
1067         * gtk/gtktreeview.c
1068         * gtk/gtkviewport.c
1069         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1070         private functions and virtual function implementations.
1071
1072 2008-02-27  Richard Hult  <richard@imendio.com>
1073
1074         * gdk/quartz/GdkQuartzView.c:
1075         * gdk/quartz/GdkQuartzView.h:
1076         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1077         Fix performance regression for borderless transparent windows
1078         with shadow.
1079
1080 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
1081
1082         * tests/testgtk.c: Revert back to r19454.
1083
1084 2008-02-27  Sven Neumann  <sven@gimp.org>
1085
1086         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1087         Quartz backend, use a native Mac OS X application for the print
1088         preview (bug #518624).
1089
1090 2008-02-26  Michael Natterer  <mitch@imendio.com>
1091
1092         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1093         the members of info->tag_stack since they are a) gobjects and b)
1094         not even owned by us, ugh... Fixes crash when deserializing fails.
1095
1096 2008-02-26  Sven Neumann  <sven@gimp.org>
1097
1098         * docs/tools/shooter.c (find_toplevel_window)
1099         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1100         argument passed to XQueryTree().
1101
1102 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
1103
1104         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1105         don't use beagle_query_add_hit_type.
1106
1107 2008-02-25  Richard Hult  <richard@imendio.com>
1108
1109         * gdk/quartz/gdkevents-quartz.c
1110         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1111
1112 2008-02-24  Richard Hult  <richard@imendio.com>
1113
1114         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1115         shown without gdk's control when clicking the dock icon.
1116
1117 2008-02-24  Richard Hult  <richard@imendio.com>
1118
1119         * gdk/quartz/gdkprivate-quartz.h:
1120         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1121         Use the subtype field for the custom event that is used to wake up
1122         the mainloop so we can have other custom event types.
1123
1124         * gdk/quartz/gdkevents-quartz.c:
1125         (_gdk_quartz_events_trigger_crossing_events):
1126         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1127         crossing events after showing a window if necessary, to work
1128         around problems with the tracking rect API.
1129
1130 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
1131
1132         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
1133         wrong results on win32 because it doesn't set the printing units, 
1134         which affect the transformation of the cairo context 
1135         (#347125, Erik van Pienbroek)
1136
1137 2008-02-22  Tor Lillqvist  <tml@novell.com>
1138
1139         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1140
1141 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
1142
1143         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1144         acceptable for a module to only support the save_to_callback()
1145         method if it marks itself as WRITABLE
1146
1147 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
1148         
1149         * configure.in: Bump version
1150
1151 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
1152
1153         * === Released 2.13.0 ===
1154
1155         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1156
1157 2008-02-21  Tor Lillqvist  <tml@novell.com>
1158
1159         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1160         pass the format string to strftime in the C library's locale's
1161         charset, not the system's. Correspondingly, the return value from
1162         strftime() is in the C library's locale's charset. (#509885)
1163
1164 2008-02-20  Richard Hult  <richard@imendio.com>
1165
1166         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1167         the right window level and shadow after recreating the window.
1168
1169         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1170         necessary after drawing (bug #517338).
1171
1172 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
1173
1174         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1175         call to g_type_class_unref in case of error. (#517563)
1176
1177 2008-02-18  Sven Neumann  <sven@gimp.org>
1178
1179         * gtk/Makefile.am (STOCK_ICONS)
1180         * gtk/stock-icons/16/gtk-page-setup.png
1181         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1182         taken from GNOME icon theme.
1183
1184         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1185
1186 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
1187
1188         * configure.in: Added Kannada (kn) to ALL_LINGUAS
1189
1190 2008-02-17  Johan Dahlin  <johan@gnome.org>
1191
1192         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
1193         When converting a stock item based on the label, remove the label property.
1194
1195 2008-02-17  Richard Hult  <richard@imendio.com>
1196
1197         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1198         position after showing the window since the window manager might
1199         not place it where we requested in the first places.
1200
1201 2008-02-17  Richard Hult  <richard@imendio.com>
1202
1203         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1204         (_gdk_quartz_window_detach_from_parent),
1205         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1206         the toplevel ordering list in all places where the order is
1207         potentially changed. Fixes mouse focus issues for windows with
1208         a transient parent set.
1209
1210 2008-02-17  Richard Hult  <richard@imendio.com>
1211
1212         * gdk/quartz/gdkevents-quartz.c
1213         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1214         window when event debugging is enabled.
1215
1216 2008-02-16  Richard Hult  <richard@imendio.com>
1217
1218         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1219         to the scroll event (bug #516757, Paul Davis).
1220
1221 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
1222
1223         * NEWS: Updates
1224
1225 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
1226
1227         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
1228         Teppo Turtiainen)
1229
1230 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1231
1232         * gdk/Makefile.am: Don't install private headers. (#463510)
1233
1234         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1235         the installed header gdkprivate.h.
1236
1237 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1238
1239         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1240         a crash with hidden, reorderable tabs.  (#513230, 
1241         Mike Massonnet, patch by Carlos Garnacho)
1242
1243 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1244
1245         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1246         Warn on duplicate action group names.  (#501746, Christian
1247         Persch)
1248
1249 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1250
1251         * gtk/Makefile.am:
1252         * modules/other/gail/tests/Makefile.am:
1253         * modules/other/gail/libgail-util/Makefile.am:
1254         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1255         builds.  (#516254,  Yevgen Muntyan)
1256
1257 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1258
1259         * gtk/gtkentry.c:
1260         * gtk/gtkfilesel.c:
1261         * gtk/gtklabel.c:
1262         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
1263         instead of hardcoded target tables.  (#516092, Christian Persch)
1264
1265 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1266
1267         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1268         add the same target atom twice.  (#516087, Christian Persch)
1269
1270 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1271
1272         * tests/testfilechooser.c: Add a --backend option.
1273         (#516073, Christian Persch)
1274
1275 2008-02-16  Richard Hult  <richard@imendio.com>
1276
1277         * gdk/quartz/gdkprivate-quartz.h:
1278         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1279         gdkwindow.
1280
1281 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1282
1283         * configure.in: Go back to 2.13.0 as version for now,
1284         as there was no consensus to do the jump.
1285
1286         * many other places: Update Since: tags.
1287
1288 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1289
1290         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1291
1292         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1293
1294 2008-02-15  Richard Hult  <richard@imendio.com>
1295
1296         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1297         instead of bounds when resizing windows.
1298
1299 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
1300
1301         * gdk/x11/gdkkeys-x11.c:
1302         * gdk/x11/gdkcolor-x11.c:
1303         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1304
1305 2008-02-15  Matthias Clasen <mclasen@redhat.com>
1306
1307         * gdk/x11/gdktestutils-x11.c:
1308         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1309
1310 2008-02-15  Tor Lillqvist  <tml@novell.com>
1311
1312         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1313         leak Registry key handles. (#516578)
1314
1315 2008-02-14  Richard Hult  <richard@imendio.com>
1316
1317         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1318         makeKeyWindow unfortunately doesn't work in all cases, we must use
1319         makeKeyAndOrderFront.
1320
1321 2008-02-14  Richard Hult  <richard@imendio.com>
1322
1323         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1324         (gdk_window_hide), (gdk_window_fullscreen),
1325         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1326         the window is hidden.
1327
1328 2008-02-14  Richard Hult  <richard@imendio.com>
1329
1330         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1331         resizing to be consistent and to avoid introducing an internal
1332         transform in the view.
1333
1334 2008-02-14  Richard Hult  <richard@imendio.com>
1335
1336         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1337         fix.
1338
1339 2008-02-14  Johan Dahlin  <johan@gnome.org>
1340
1341         * gdk/gdktestutils.h
1342         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1343
1344 2008-02-13  Richard Hult  <richard@imendio.com>
1345
1346         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1347         Remove unused variables.
1348         (gtk_clipboard_set_contents),
1349         (gtk_clipboard_get_owner), (clipboard_unset),
1350         (gtk_clipboard_request_targets): Notify the previous clipboard
1351         owner when the owner changes. Fixes bug #493406.
1352         
1353 2008-02-13  Richard Hult  <richard@imendio.com>
1354
1355         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1356         the return value (return number of colors that failed), and handle
1357         RGBA colormap.
1358         (gdk_colormap_free_colors): Fix typo in comment.
1359
1360 2008-02-13  Kristian Rietveld  <kris@imendio.com>
1361
1362         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1363         queue a redraw if the rubber banding has actually been active.
1364
1365 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
1366
1367         * gtk/gtkpapersize.c:
1368         * gtk/gtkprintoperation.c:
1369         * gtk/gtkvolumebutton.c:
1370         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1371         out by Behdad Esfahbod.
1372
1373 2008-02-12  Federico Mena Quintero  <federico@novell.com>
1374
1375         Merged from gtk-2-12:
1376
1377         Don't focus the file list when shortcuts get activated.  This
1378         removes a lot of ambiguity in when the file selection should
1379         change, and makes the overall code flow simpler.
1380
1381         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1382         file/save dialog clears the filename entry when changing
1383         directories.
1384
1385         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1386         focus should not go to the file list when a shortcut is activated.
1387
1388         * gtk/gtkfilechooserdefault.c
1389         (shortcuts_activate_volume_mount_cb): Don't focus the file list
1390         (shortcuts_activate_get_info_cb): Likewise.
1391
1392         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1393         the file list (this was the last place where we would focus the
1394         file list explicitly).  If you are in the location entry, for
1395         example, you don't want Alt-Home to take you to the file list; you
1396         just want the current folder to change.  Thanks to Olle Bergkvist
1397         <olle.bergkvist@yahoo.se> for pointing this out in
1398         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1399         (focus_browse_tree_view_if_possible): Removed.
1400
1401 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1402
1403         Skip exensions when selecting filenames in the save-as dialog.
1404         (#362516, Carlos Garnacho)
1405
1406         * gtk/gtkfilechooserentry.h:
1407         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1408         New function to skip the extension part when selecting a filename.
1409         (_gtk_file_chooser_entry_set_base_folder): Use it here.
1410
1411         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1412         ...and here.
1413
1414 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1415
1416         * gtk/gtkiconview.c: Fix state change reporting for 
1417         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
1418
1419 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
1420
1421         * gtk/gtkrecentchooser.c:
1422         (gtk_recent_chooser_class_init): Set the default value of the
1423         :show-not-found property to TRUE, as every implementation sets
1424         it to TRUE already.
1425
1426         * gtk/gtkrecentchooserdefault.c:
1427         (_gtk_recent_chooser_default_init): Sync show_tips to the
1428         default value of the :show-tips property.
1429
1430 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1431
1432         * gtk/gtkclipboard-quartz.c:
1433         * gtkquartz.c:
1434         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
1435         Christian Persch)
1436
1437 2008-02-12  Kristian Rietveld  <kris@imendio.com>
1438
1439         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1440         (gtk_tree_view_real_toggle_cursor_row): guard against people
1441         deleting the row in question in the selection-changed callback.
1442         (#514621, Andreas Koehler).
1443
1444 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1445
1446         * gtk/*.c: Unify the handling of various "Enter" keysyms
1447         all over the place.  (#515047, Christian Persch)
1448
1449 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1450
1451         * gtk/gtkfilesystemmodel.c:
1452         * gtk/gtkprinter.c:
1453         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
1454         appropriate.  (#515042, Christian Persch)
1455
1456 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1457
1458         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1459         
1460 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1461
1462         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1463
1464 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
1465
1466         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1467         (recent_model_sort_drag_data_get):
1468         (search_model_sort_drag_data_get):
1469         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1470         * gtk/gtkpathbar.c (button_drag_data_get_cb):
1471         Use gtk_selection_data_set_uris() instead of doing it
1472         by hand.  (#514890, Christian Persch)
1473
1474 2008-02-12  Michael Natterer  <mitch@imendio.com>
1475
1476         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1477         gtk_get_current_event_time().
1478
1479 2008-02-12  Michael Natterer  <mitch@imendio.com>
1480
1481         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1482         gtk_window_get_key_hash() to get the hash instead of manually
1483         fiddling with quarks and gtk_window_keys_changed(). Also add
1484         g_return_if_fail() to this public function.
1485
1486 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
1487
1488         Support keynav in status icons.  (#473786, Li Yuan)
1489
1490         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1491
1492         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1493
1494 2008-02-11  Kristian Rietveld  <kris@imendio.com>
1495
1496         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1497         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1498         wrt. link deletion from list; contination of fix for #503569.
1499
1500 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
1501
1502         * gtk/gtkrecentchoosermenu.c:
1503         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1504         on the placeholder menu item.
1505
1506         * tests/testrecentchoosermenu.c:
1507         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1508         whether the placeholder menu item gets shown.
1509
1510 2008-02-10  Cody Russell  <bratsche@gnome.org>
1511
1512         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1513         Check the return value of _gtk_file_chooser_get_file_system () for
1514         NULL before passing it to gtk_file_system_path_to_uri ().
1515         (#515667, Francesco Montorsi)
1516
1517 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
1518
1519         * gtk/gtkbuilder.c: Improve the documentation for
1520         gtk_builder_connect_signals. (#514471)
1521
1522 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
1523
1524         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
1525         Jonh Wendell)
1526
1527 2008-02-08  Cody Russell  <bratsche@gnome.org>
1528
1529         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1530         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
1531
1532 2008-02-08  Richard Hult  <richard@imendio.com>
1533
1534         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1535         delta from the NSEvent for now, generating multiple scroll events
1536         results in a lot of events getting queued up and things get really
1537         slow.
1538
1539 2008-02-08  Sven Herzberg  <sven@imendio.com>
1540
1541         Adjust the code to match the documentation, examples, "common sense"
1542         and existing applications.
1543
1544         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1545         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1546         assigned
1547
1548 2008-02-07  Cody Russell  <bratsche@gnome.org>
1549
1550         * gdk/win32/gdkevents-win32.c
1551         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1552         of a block that were causing compile problems on old
1553         compilers. (#515053, reported by Kazuki IWAMOTO)
1554         
1555 2008-02-07  Michael Natterer  <mitch@imendio.com>
1556
1557         * gtk/gtkcellview.c
1558         * gtk/gtklabel.c
1559         * gtk/gtklayout.c
1560         * gtk/gtklist.c
1561         * gtk/gtkmenu.c
1562         * gtk/gtkmenushell.c
1563         * gtk/gtkmisc.c
1564         * gtk/gtkoptionmenu.c
1565         * gtk/gtkplug.c
1566         * gtk/gtkpreview.c
1567         * gtk/gtkprogress.c
1568         * gtk/gtkradiomenuitem.c
1569         * gtk/gtkscale.c
1570         * gtk/gtkscrolledwindow.c
1571         * gtk/gtksocket.c: remove g_return_if_fail() from private
1572         functions and virtual function implementations.
1573
1574 2008-02-07  Michael Natterer  <mitch@imendio.com>
1575
1576         * gtk/gtkaction.c
1577         * gtk/gtkassistant.c
1578         * gtk/gtkbin.c
1579         * gtk/gtkbox.c
1580         * gtk/gtkcalendar.c
1581         * gtk/gtkcellrenderercombo.c
1582         * gtk/gtkcombobox.c
1583         * gtk/gtkcombo.c
1584         * gtk/gtkdrawingarea.c
1585         * gtk/gtkentrycompletion.c
1586         * gtk/gtkfixed.h
1587         * gtk/gtkgamma.c
1588         * gtk/gtkhpaned.c
1589         * gtk/gtkiconview.c
1590         * gtk/gtkitem.c
1591         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1592         functions and virtual function implementations.
1593
1594 2008-02-07  Christian Persch  <chpe@gnome.org>
1595
1596         * gdk/gdkpixbuf-render.c:
1597         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1598         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1599         otherwise there will be random pixel values in the semi-transparent
1600         area of the pixbuf within the mask. Bug #487865.
1601
1602 2008-02-06  Cody Russell  <bratsche@gnome.org>
1603
1604         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1605         otherwise things get wonky when you click on a menu.  This fixes
1606         a regression caused in #505928.  Thanks to Tor for spotting this
1607         one!  (#514789)
1608
1609 2008-02-06  Michael Natterer  <mitch@imendio.com>
1610
1611         * gtk/gtkcontainer.c
1612         * gtk/gtkexpander.c
1613         * gtk/gtkframe.c
1614         * gtk/gtklabel.c
1615         * gtk/gtkmain.c
1616         * gtk/gtkmenu.c
1617         * gtk/gtkmenuitem.c
1618         * gtk/gtkmenushell.c
1619         * gtk/gtknotebook.c
1620         * gtk/gtkseparatortoolitem.c
1621         * gtk/gtksocket.c
1622         * gtk/gtktextlayout.c
1623         * gtk/gtktoggletoolbutton.c
1624         * gtk/gtktoolbutton.c
1625         * gtk/gtktoolitem.c
1626         * gtk/gtktree.c
1627         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1628         "GTK_IS_FOO (foo)".
1629
1630 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1631
1632         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1633         Allow to store half-open ranges.
1634
1635 2008-02-05  Cody Russell  <bratsche@gnome.org>
1636
1637         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1638         down the stack until we get to a window that is mapped.
1639         Otherwise hiding a window will cause all windows in the app
1640         to be blocked. (#514643)
1641
1642 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1643
1644         * gtk/updateiconcache.c: Ignore images in the toplevel theme
1645         directory, avoiding one source of invalid caches that has been
1646         spotted in the wild.
1647
1648 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1649
1650         * gtk/updateiconcache.c: Fix the previous commit to compile.
1651
1652 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1653
1654         * gtk/updateiconcache.c: Install a printerr handler that
1655         prepends the program name, since gtk-update-icon-cache output
1656         often appears in the middle of other output, e.g. rpm update logs.
1657
1658 2008-02-05  Cody Russell  <bratsche@gnome.org>
1659
1660         * gdk/win32/gdkprivate-win32.h
1661         * gdk/win32/gdkevents-win32.c
1662         * gdk/win32/gdkwindow-win32.c
1663         * gdk/win32/gdkwindow-win32.h
1664         * gdk/win32/gdkwin32.h:
1665         Modal window rework.  (#455627 and #511111)
1666
1667 2008-02-04  Michael Natterer  <mitch@imendio.com>
1668
1669         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1670         g_return_if_fail() if the cell is not part of the combo instead of
1671         crashing in the next line.
1672
1673 2008-02-01  Cody Russell  <cody@jhu.edu>
1674
1675         * modules/engines/ms-windows/xp_theme.[ch]
1676         * modules/engines/ms-windows/xp_theme_defs.h
1677         * modules/engines/ms-windows/msw_rc_style.c
1678         * modules/engines/ms-windows/msw_theme_main.c
1679         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1680         attempted to stylize more like the rest of the gtk+ stack's code.
1681
1682 2008-02-01  Michael Natterer  <mitch@imendio.com>
1683
1684         * tests/testgtk.c: initialize GdkColor structs to fix warning
1685         about uninitialized "pixel" member.
1686
1687         * tests/testactions.c: connect the toolbar_style() callback so it
1688         does something useful and doesn't warn about being defined but not
1689         used.
1690
1691 2008-01-31  Cody Russell  <bratsche@gnome.org>
1692
1693         * gdk/win32/gdkevents-win32.c:
1694         Refactored some of the window hiding/showing code from
1695         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
1696         under WM_ACTIVATE was causing the application to go into
1697         a weird state when the user right-clicked on the taskbar
1698         entry of a window that was minimized.  (#505928)
1699         
1700 2008-01-31  Cody Russell  <bratsche@gnome.org>
1701
1702         * gtk/gtkpaned.c (gtk_paned_set_position):
1703         Change queue_resize() to queue_draw(), and add a check for
1704         child2 != NULL in case someone calls this before there is
1705         a child packed in there.  (#144269 again)
1706
1707 2008-01-31  Sven Neumann  <sven@gimp.org>
1708
1709         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1710         applied patch from Denis Oliver Kropp <dok@directfb.org>.
1711
1712 2008-01-31  Sven Neumann  <sven@gimp.org>
1713
1714         * gdk/directfb/gdkdisplay-directfb.c
1715         * gdk/directfb/gdkdrawable-directfb.c
1716         * gdk/directfb/gdkprivate-directfb.h
1717         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1718         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1719
1720 2008-01-31  Richard Hult  <richard@imendio.com>
1721
1722         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1723         issues with undecorated windows. Revert the change done on
1724         2008-01-25 and fix it by using the view's bounds instead. The
1725         bounds will always be up to date when setting up the tracking
1726         rect, so this should be more robust.
1727
1728 2008-01-30  Sven Neumann  <sven@gimp.org>
1729
1730         * gdk/directfb/gdkdrawable-directfb.c
1731         * gdk/directfb/gdkwindow-directfb.c
1732         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1733         Oliver Kropp <dok@directfb.org>. Adds debug messages using
1734         DirectFB's debugging system
1735
1736 2008-01-30  Sven Neumann  <sven@gimp.org>
1737
1738         * gdk/directfb/gdkdirectfb.h
1739         * gdk/directfb/gdkdisplay-directfb.c
1740         * gdk/directfb/gdkdrawable-directfb.c
1741         * gdk/directfb/gdkim-directfb.c
1742         * gdk/directfb/gdkimage-directfb.c
1743         * gdk/directfb/gdkinput-directfb.c
1744         * gdk/directfb/gdkmain-directfb.c
1745         * gdk/directfb/gdkpixmap-directfb.c
1746         * gdk/directfb/gdktestutils-directfb.c
1747         * gdk/directfb/gdkvisual-directfb.c
1748         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1749         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1750         errors and has some cleanups.
1751
1752 2008-01-30  Michael Natterer  <mitch@imendio.com>
1753
1754         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1755         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1756         aliasing warning.
1757
1758         * gtk/updateiconcache.c (add_string): cast const gchar* to
1759         gpointer when inserting in a GHashTable.
1760
1761         * tests/testcalendar.c (calendar_detail_cb): remove const from
1762         return value since it's a newly allocated string.
1763
1764         (calendar_update_details): free the detail.
1765
1766 2008-01-29  Johan Dahlin  <johan@gnome.org>
1767
1768         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1769         (do_builder):
1770         * demos/gtk-demo/demo.ui:
1771         Move the about dialog to the glade file, add accessible tags
1772         examples to the markup file.
1773
1774 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
1775
1776         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1777         layout, fixes #512375.
1778
1779 2008-01-28  Michael Natterer  <mitch@imendio.com>
1780
1781         * gtk/gtktextchild.c
1782         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1783
1784 2008-01-28  Michael Natterer  <mitch@imendio.com>
1785
1786         * demos/gtk-demo/builder.c (about_activate): use
1787         gtk_about_dialog_set_program_name() instead of the deprecated
1788         set_name().
1789
1790 2008-01-28  Michael Natterer  <mitch@imendio.com>
1791
1792         * gtk/gtktextchild.c
1793         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1794         is deprecated now).
1795
1796 2008-01-26  Johan Dahlin  <johan@gnome.org>
1797
1798         * tests/Makefile.am:
1799         * tests/textbuffertest.c:
1800         Rename textbuffer test and port it to the new test framework
1801         
1802 2008-01-25  Johan Dahlin  <johan@gnome.org>
1803
1804         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1805         unsetting of GTK_MODULES.
1806
1807         * gtk/gtk-builder-convert
1808         (GtkBuilderConverter._convert_adjustment): Handle the case where
1809         there is no child text node.
1810         (GtkBuilderConverter): Allow xml comments in most places.
1811
1812 2008-01-25  Johan Dahlin  <johan@gnome.org>
1813
1814         * gtk/gtk-builder-convert
1815         (GtkBuilderConverter._convert_combobox_items): Remove the items
1816         even if there are no items set.
1817         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1818         signals and tooltips for all menu items subclasses and 
1819         GtkImageMenuItem:label. 
1820         Makes it possible to fully convert and run Jokosher.glade.
1821
1822 2008-01-25  Johan Dahlin  <johan@gnome.org>
1823
1824         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1825         (gtk_widget_buildable_get_internal_child), (free_action),
1826         (free_relation), (gtk_widget_buildable_parser_finished),
1827         (accessibility_start_element),
1828         (gtk_widget_buildable_custom_tag_start),
1829         (gtk_widget_buildable_custom_finished):
1830         Implement accessible support, fixes #454653.
1831
1832         * gtk/gtk-builder-convert:
1833         Add support for migrating old glade files
1834         
1835         * tests/buildertest.c: (test_widget), (test_file):
1836         Add accessible tests and imprve the test_file function to display
1837         toplevels and run dialogs.
1838
1839 2008-01-25  Richard Hult  <richard@imendio.com>
1840
1841         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1842         didn't change, fixes focus event issues for undecorated windows.
1843
1844 2008-01-25  Richard Hult  <richard@imendio.com>
1845
1846         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1847         const and remove unused variables).
1848
1849 2008-01-25  Michael Natterer  <mitch@imendio.com>
1850
1851         * gtk/gtkbutton.h
1852         * gtk/gtkcellrenderer.h
1853         * gtk/gtkimcontext.h
1854         * gtk/gtkstyle.h
1855         * gtk/gtktoolbar.h
1856         * gtk/gtktooltip.h
1857         * gtk/gtktreeprivate.h
1858         * gtk/gtktreeviewcolumn.h
1859         * gtk/gtkwidget.h: add const to constant structs which are passed
1860         into GTK+. Also add some forgotten const for const strings.
1861         Fixes bug #511554.
1862
1863         * gtk/gtkbutton.c
1864         * gtk/gtkcellrenderer.c
1865         * gtk/gtkimcontext.c
1866         * gtk/gtkstyle.c
1867         * gtk/gtktoolbar.c
1868         * gtk/gtktooltip.c
1869         * gtk/gtktreeview.c
1870         * gtk/gtktreeviewcolumn.c
1871         * gtk/gtkwidget.c: changed accordingly.
1872
1873 2008-01-25  Sven Herzberg  <sven@imendio.com>
1874
1875         Reviewed by Johan Dahlin.
1876
1877         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1878         this is called with something that's not a GtkUIManager
1879
1880 2008-01-24  Johan Dahlin  <johan@gnome.org>
1881
1882         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
1883         Chain up to parent, so widgets can have internal children.
1884
1885 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1886
1887         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1888         IWAMOTO).
1889
1890         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1891
1892 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1893
1894         Use pango_layout_set_height() for calendar details (#506049).
1895
1896         * configure.in: Require 1.19.3 for pango_layout_set_height().
1897         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1898
1899 2008-01-18  Johan Dahlin  <johan@gnome.org>
1900
1901         * gtk/gtk-builder-convert (get_property_node): New method
1902         (GtkBuilderConverter._create_object): Conditionally take a node as
1903         a property value, so don't lose translate/context attributes if they
1904         are set. 
1905         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1906         property values instead of strings.
1907         (#509153, Erik van Pienbroek)
1908
1909 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
1910
1911         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1912
1913         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1914         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1915         * tests/testcalendar.c: Duplicate calendar details before returning.
1916
1917 2008-01-16  Christian Persch  <chpe@gnome.org>
1918
1919         * gtk/gtkwidget.c: Store the event mask and extension event mode
1920         directly in the gobject data pointer, instead of in an allocated
1921         gint. Bug #506604.
1922
1923 2008-01-16  Michael Natterer  <mitch@imendio.com>
1924
1925         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1926         gdk-pixbuf now uses gio functions.
1927
1928 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
1929
1930         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1931         the notify::model signal.  (#509819, David Zeuthen)
1932
1933 2008-01-15  Michael Natterer  <mitch@imendio.com>
1934
1935         * gdk/gdkdisplay.h
1936         * gdk/gdkdrawable.h
1937         * gdk/gdkevents.h
1938         * gdk/gdkpango.h
1939         * gdk/gdkregion.h
1940         * gdk/gdkrgb.h
1941         * gdk/gdkwindow.h: made more struct pointer and array parameters
1942         const. GDK should now be constified as far as possible without
1943         breaking source compatibility. Includes some minor cleanup like
1944         indentation and s/nfoo/n_foo/ (bug #508544).
1945
1946         * gdk/gdkdisplay.c
1947         * gdk/gdkdraw.c
1948         * gdk/gdkevents.c
1949         * gdk/gdkpango.c
1950         * gdk/gdkregion-generic.c
1951         * gdk/gdkrgb.c
1952         * gdk/directfb/gdkdisplay-directfb.c
1953         * gdk/directfb/gdkwindow-directfb.c
1954         * gdk/quartz/gdkdisplay-quartz.c
1955         * gdk/quartz/gdkwindow-quartz.c
1956         * gdk/win32/gdkdisplay-win32.c
1957         * gdk/win32/gdkwindow-win32.c
1958         * gdk/x11/gdkdisplay-x11.c
1959         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1960
1961 2008-01-14  Michael Natterer  <mitch@imendio.com>
1962
1963         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1964         const warning.
1965
1966         (gtk_rc_parse_any): change variables to const and introduce
1967         another local variable to fix const warnings.
1968
1969 2008-01-14  Michael Natterer  <mitch@imendio.com>
1970
1971         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1972         of gdk_screen_get_font_options() to gpointer to get rid of const
1973         warning.
1974
1975 2008-01-14  Michael Natterer  <mitch@imendio.com>
1976
1977         * tests/testdnd.c (source_drag_data_get): fix another call to
1978         gtk_selection_data_set().
1979
1980 2008-01-14  Michael Natterer  <mitch@imendio.com>
1981
1982         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1983         signedness warning.
1984
1985 2008-01-14  Michael Natterer  <mitch@imendio.com>
1986
1987         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1988
1989 2008-01-14  Michael Natterer  <mitch@imendio.com>
1990
1991         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1992         "uris" to guchar* when passing it to gtk_selection_data_set().
1993
1994 2008-01-14  Michael Natterer  <mitch@imendio.com>
1995
1996         * gdk/gdk.h
1997         * gdk/gdkcairo.h
1998         * gdk/gdkcolor.h
1999         * gdk/gdkgc.h
2000         * gdk/gdkinternals.h
2001         * gdk/gdkregion.h
2002         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2003         parameters const (bug #508544).
2004
2005         * gdk/gdkcairo.c
2006         * gdk/gdkgc.c
2007         * gdk/gdkwindow.c
2008         * gdk/gdkrectangle.c
2009         * gdk/gdkpolyreg-generic.c
2010         * gdk/gdkregion-generic.c
2011         * gdk/directfb/gdkcolor-directfb.c
2012         * gdk/directfb/gdkgc-directfb.c
2013         * gdk/directfb/gdkgeometry-directfb.c
2014         * gdk/directfb/gdkwindow-directfb.c
2015         * gdk/quartz/gdkcolor-quartz.c
2016         * gdk/quartz/gdkgc-quartz.c
2017         * gdk/quartz/gdkgeometry-quartz.c
2018         * gdk/quartz/gdkwindow-quartz.c
2019         * gdk/win32/gdkcolor-win32.c
2020         * gdk/win32/gdkgc-win32.c
2021         * gdk/win32/gdkgeometry-win32.c
2022         * gdk/win32/gdkprivate-win32.h
2023         * gdk/win32/gdkwindow-win32.c
2024         * gdk/x11/gdkcolor-x11.c
2025         * gdk/x11/gdkgc-x11.c
2026         * gdk/x11/gdkgeometry-x11.c
2027         * gdk/x11/gdkmain-x11.c
2028         * gdk/x11/gdkprivate-x11.h
2029         * gdk/x11/gdkwindow-x11.c: changed accordingly.
2030
2031         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2032         headers.
2033
2034 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
2035
2036         Explain name choice for gtk_tool_item_toolbar_reconfigured.
2037
2038         * gtk/gtktoolitem.c: Add comment expaining name choice for
2039         gtk_tool_item_toolbar_reconfigured.
2040
2041 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
2042
2043         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2044         implementations to notify its children, when some aspect of their
2045         configuration changed (#509042).
2046
2047         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2048         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2049         Rename _gtk_tool_item_toolbar_reconfigured.
2050
2051 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
2052
2053         Include <gtk/gtktoolshell.h> from gtk.h.
2054
2055         * gtk/gtk.h: Add gtktoolshell.h
2056
2057 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
2058
2059         Print angle brackets arround e-mail addresses in the about dialog
2060         (#409520, Mariano Suárez-Alvarez).
2061
2062         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2063
2064 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
2065
2066         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2067         special casing so test widgets are always queues for destruction
2068         during teardown.
2069
2070         * gtk/tests/testing.c: removed bits left-over from testing without
2071         gtestutils.h.
2072
2073 2008-01-10  Tor Lillqvist  <tml@novell.com>
2074
2075         * modules/other/gail/libgail-util/Makefile.am
2076         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2077         gdktargetlib.
2078         
2079 2008-01-10  Tor Lillqvist  <tml@novell.com>
2080
2081         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2082         uses gtkprintunixdialog API.
2083
2084 2008-01-10  Tor Lillqvist  <tml@novell.com>
2085
2086         * gdk/win32/gdkdisplay-win32.c
2087         * gdk/win32/gdkglobals-win32.c
2088         * gdk/win32/gdkprivate-win32.h
2089         * gdk/win32/gdkscreen-win32.c
2090         * gdk/win32/gdkwindow-win32.c: Implement
2091         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2092         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2093         Iwamoto. (#505753)
2094
2095 2008-01-10  Cody Russell  <bratsche@gnome.org>
2096
2097         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2098         Properly ref/unref windows and parents.  (#506769)
2099
2100 2008-01-10  Richard Hult  <richard@imendio.com>
2101
2102         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2103         (gdk_window_hide), (move_resize_window_internal): Move the
2104         tracking rect workaround from here...
2105
2106         * gdk/quartz/GdkQuartzWindow.c:
2107         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2108         movements during showing/hiding operations. Fixes bug #508516.
2109
2110 2008-01-10  Michael Natterer  <mitch@imendio.com>
2111
2112         * gdk/directfb/gdkscreen-directfb.c
2113         (gdk_screen_get_monitor_width_mm)
2114         (gdk_screen_get_monitor_height_mm)
2115         (gdk_screen_get_monitor_plug_name): add these functions to make
2116         it build again.
2117
2118 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
2119
2120         * gtk/gtkrecentchoosermenu.c:
2121         (idle_populate_func), (idle_populate_clean_up): Fix possible
2122         recursion by resetting the idle source id. (#507605, William
2123         Pitcock)
2124
2125 2008-01-10  Kristian Rietveld  <kris@imendio.com>
2126
2127         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2128         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2129         avoid valgrind warnings.  (#507751, patch from Christian Persch).
2130
2131 2008-01-10  Kristian Rietveld  <kris@imendio.com>
2132
2133         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2134         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2135
2136 2008-01-10  Kristian Rietveld  <kris@imendio.com>
2137
2138         Fix #477175, reported by Juri Pakaste.
2139
2140         * gtk/gtktreeprivate.h:
2141         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2142         tree_view->priv->dy here directly, just calculate the new value
2143         and set it on the adjustment,
2144         (gtk_tree_view_adjustment_changed): add guards to not call
2145         gtk_tree_view_dy_to_top_row() if we are currently in
2146         gtk_tree_view_top_row_to_dy(),
2147         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2148         coordinates, not tree coordinates,
2149         (gtk_tree_view_real_start_editing): add cast.
2150
2151         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2152         position of the editable in the "create new row and start editing"
2153         tests.
2154
2155 2008-01-09  Michael Natterer  <mitch@imendio.com>
2156
2157         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2158         variable.
2159
2160         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2161         * gtk/gtkicontheme.c (theme_list_contexts)
2162         (gtk_icon_theme_lookup_icon)
2163         * gtk/gtkimcontextsimple.c (beep_window)
2164         * gtk/gtklinkbutton.c (set_link_color)
2165         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2166         fix warnings.
2167
2168         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2169         variable and add const to another to fix a warning.
2170
2171 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
2172
2173         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
2174         the current page.  (#499951, Andreas Sandberg)
2175
2176 2008-01-06  Johan Dahlin  <johan@gnome.org>
2177
2178         * gtk/gtkspinbutton.c: Declare value in the example code for
2179         GtkSpinButton::output, as pointed out by Anders Carlsson.
2180
2181 2008-01-06  Christian Persch  <chpe@gnome.org>
2182
2183         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2184         and remove an obsolete event box. Bug #506760.
2185
2186 2008-01-06  Johan Dahlin  <johan@gnome.org>
2187
2188         * tests/buildertest.c (test_domain): 
2189         Update, GtkBuilder::translation-domain is no longer set
2190         
2191         * gtk/gtkbuilderparser.c (parse_interface): 
2192         Allow domains to be overridden in <interface>'s if a translation-domain
2193         is set in the builder.
2194         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2195         of the builder, make the domain set in the <interface> apply only to strings
2196         in that interface.
2197         (#496831, Ryan Lortie)
2198
2199         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
2200         to g_warning calls.
2201
2202         * gtk/gtktreestore.c (tree_model_end_element): 
2203         Remove an unused variable
2204
2205 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2206
2207         * gtk/gtkspinbutton.c: Document the ::output signal and
2208         add an example.  (#507566, example by Owen Taylor)
2209
2210 2008-01-06  Johan Dahlin  <johan@gnome.org>
2211
2212         * gtk/gtkcellrenderercombo.c:
2213         (gtk_cell_renderer_combo_get_property),
2214         (gtk_cell_renderer_combo_set_property):
2215         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2216         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2217         * gtk/gtknotebook.c: (gtk_notebook_set_property):
2218         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2219         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2220         (gtk_text_buffer_get_property):
2221         * gtk/gtktextview.c: (gtk_text_view_set_property):
2222         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2223         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2224         (gtk_tool_button_get_property):
2225         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2226         (gtk_tool_item_get_property):
2227         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2228         * gtk/gtkwidget.c: (gtk_widget_set_property):
2229         * gtk/gtkwindow.c: (gtk_window_set_property):
2230         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2231         Fixes #507585
2232
2233 2008-01-06  Johan Dahlin  <johan@gnome.org>
2234
2235         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
2236         Make sure that --root works for toplevel widgets.
2237         (#491847, Phil Lello)
2238
2239 2008-01-05  Johan Dahlin  <johan@gnome.org>
2240
2241         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2242         to make sure that make test-report works properly
2243
2244 2008-01-05  Christian Persch  <chpe@gnome.org>
2245
2246         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2247         GType as integer through gpointer. Bug #507395.
2248
2249 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
2250
2251         Avoid some compiler warnings (#507000).
2252
2253         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2254         for value argument of _gtk_builder_flags_from_string.
2255         * gtk/gtkwidget.c: Don't alias the child pointer passed
2256         to gdk_window_get_user_data.
2257
2258 2008-01-04  Michael Natterer  <mitch@imendio.com>
2259
2260         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2261         to set the time in the returned GdkTimeCoords.
2262
2263 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
2264
2265         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2266         correct comparison function (kudos to Christian Persch and
2267         Claudio Saavedra for spotting this)
2268
2269         * gtk/gtkrecentchooserutils.c:
2270         (sort_recent_items_mru),
2271         (sort_recent_items_lru): Ditto as above.
2272
2273 2008-01-03  Johan Dahlin  <johan@gnome.org>
2274
2275         * tests/defaultvaluetest.c: Make it pass again.
2276
2277 2008-01-02  Johan Dahlin  <johan@gnome.org>
2278
2279         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
2280         make it pass on Ubuntu.
2281         (main): Use gtk_test_list_all_types () instead of providing our
2282         own list.
2283         And it no longer passes.
2284
2285 2007-12-30  Johannes Schmid <jhs@gnome.org>
2286
2287         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2288         Also reorder menu when reordering tabs by drag & drop
2289         (Bug #506474)
2290         
2291         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2292         Add a menu to one of the notebooks to have a test-case for
2293         the change mentioned above.
2294
2295 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
2296
2297         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2298
2299 2007-12-31  Christian Persch  <chpe@gnome.org>
2300
2301         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2302         Plug a mem leak. Bug #506107.
2303
2304 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2305
2306         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2307         icon cache api change.  (#506135, Kazuki Iwamoto)
2308
2309 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2310
2311         Consider "wide-separators" and "separator-height" style properties:
2312         The separator is drawn using gtk_paint_box instead of cairo, when
2313         "wide-separators" is set. Also do not highlight details for previous
2314         or next month, if their day matches the selected day. (#339540)
2315
2316         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2317         in gtk_calendar_size_request and calendar_paint_day
2318         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2319         for selected detail separators in GtkCalendar.
2320
2321 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2322
2323         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2324
2325         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2326         a local variable instead in gtk_calendar_size_request.
2327
2328 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2329
2330         * tests/defaultvaluetest.c: Add enough exclusions to make the
2331         test succeed.
2332
2333 2007-12-28  Christian Persch  <chpe@gnome.org>
2334
2335         * modules/other/gail/Makefile.am:
2336         * modules/other/gail/tests/*:
2337         * configure.in: Merge tests from standalone gail. Bug #504568.
2338
2339 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2340
2341         * gtk/gtkclipboard.c: Make the finalizer work when display is
2342         not set.
2343
2344 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2345
2346         Draw bottom shadow of GtkCalender headings. (#506113)
2347
2348         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2349
2350 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2351
2352         * gtk/gtkcalendar.c: Document the initial values of year/month/day
2353         properties.
2354
2355 2007-12-28  Christian Persch  <chpe@gnome.org>
2356
2357         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2358         a mem leak. Bug #506096.
2359
2360 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2361
2362         * gtk/gtktable.c:
2363         * gtk/gtktreeview.c:
2364         * gtk/gtkprintoperation.c:
2365         * gtk/gtkprogressbar.c:
2366         * gtk/gtkmessagedialog.c:
2367         * gtk/gtknotebook.c:
2368         * gtk/gtkprinter.c:
2369         * gtk/gtkfilesel.c:
2370         * gtk/gtklabel.c:
2371         * gtk/gtklinkbutton.c:
2372         * gtk/gtkmenu.c: More default property value corrections.
2373
2374 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2375
2376         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2377         accel_group unless it is set.
2378
2379 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2380
2381         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2382
2383 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2384
2385         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
2386         shadow-type properties.
2387
2388         * gtk/gtkfontsel.c: Fix the default values of several properties.
2389
2390         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2391         property.
2392
2393         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2394
2395         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2396         property.
2397
2398 2007-12-28  Johan Dahlin  <johan@gnome.org>
2399
2400         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2401         (gtk_dialog_buildable_custom_tag_start): Chain up. 
2402         This makes it possible to have accelerators tags on GtkDialog 
2403         subclasses.
2404
2405 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2406
2407         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2408         are shown within the widget, or just as tooltip. (#339540)
2409
2410         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2411         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2412         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2413         in flags vbox.
2414
2415 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2416
2417         Try more decent appearance of calendar details separator. (#339540)
2418
2419         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2420         and make it short by one pixel on each side.
2421
2422 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2423
2424         Apply trivial code-style changes from attachement 101101. (#339540)
2425
2426         * tests/testcalendar.c: Some updates to current GTK+ code-style.
2427
2428 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2429
2430         Restructure testcalendar for testing calendar details. (#339540)
2431
2432         * tests/testcalendar.c: Push code arround for testing calendar details.
2433
2434 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2435
2436         Implement GtkTooltip API for calendar details. (#339540)
2437
2438         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2439         Remember detail overflows in calendar_paint_day to show the tooltip
2440         only when neccessary.
2441
2442 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2443
2444         Without setting "detail-width-chars" and "detail-height-rows"
2445         properties not only the widget has to be redrawn on certain
2446         conditions, but also its size must be recalculated. (#339540)
2447
2448         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2449         that function instead of gtk_widget_queue_draw.
2450
2451 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
2452
2453         Consider details for size-request and expose-event. (#339540)
2454
2455         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2456         is_color_attribute functions. Change gtk_calendar_size_request
2457         and calendar_paint_day to consider and show calender details.
2458
2459 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
2460
2461         * gtk/gtkcombobox.c: Introduce local priv variables to 
2462         reduce ->->
2463
2464 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
2465
2466         * gtk/gtkcombobox.c: Correct the default value for the 
2467         tearoff-title property.
2468
2469         * gtk/gtkcellrenderertext.c: Fix the default value for the
2470         wrap-mode and font-scale properties.
2471
2472         * gtk/gtkaspectratio.c: Fix the default value for the ratio
2473         property.
2474
2475 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
2476
2477         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2478         defines.  (#505708,  MINAMI Hirokazu)
2479
2480 2007-12-27  Christian Persch  <chpe@gnome.org>
2481         
2482         * Makefile.am: Install gail.pc. Bug #505859.
2483
2484 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
2485
2486         Add infrastructure for GtkCalendar details. (#339540)
2487
2488         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2489         Add "detail-width-chars" and "detail-height-rows" properties,
2490         and gtk_calendar_set_detail_func function.
2491
2492 2007-12-27  Xan Lopez  <xan@gnome.org>
2493
2494         * gtk/gtk.symbols: 
2495         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
2496
2497         Add gtk_border_new to avoid memory allocator confusions when using
2498         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2499
2500 2007-12-27  Christian Persch  <chpe@gnome.org>
2501
2502         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
2503         bug #504886 not to read unitialised memory.
2504
2505 2007-12-26  Xan Lopez  <xan@gnome.org>
2506
2507         * gtk/gtkstatusbar.c (has_extra_children): take into account the
2508         modification of the internal frame contents to decide if we have
2509         extra children. (#415677)
2510
2511 2007-12-22  Christian Persch  <chpe@gnome.org>
2512
2513         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2514
2515 2007-12-25  Christian Persch  <chpe@gnome.org>
2516
2517         * modules/other/gail/gailwindow.c: (gail_window_initialize):
2518         Initialise |widget|. Fixes a buglet introduced by the commit from bug
2519         #505226.
2520
2521 2007-12-25  Christian Persch  <chpe@gnome.org>
2522
2523         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2524         
2525 2007-12-25  Christian Persch  <chpe@gnome.org>
2526
2527         * modules/other/gail/*.[ch]: Remove relocations from the atk
2528         factories. Remove unused gail_foo_new() functions. Fix object
2529         instantiation to be derivation safe by moving initialisation code
2530         from the removed gail_foo_new() functions to the
2531         AtkObjectClass::initialize implementation. Bug #505226.
2532
2533 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2534
2535         * modules/other/gail/gailentry.c:
2536         * modules/other/gail/gailimage.c:
2537         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2538         uses of clipboards and settings.  (#504722, Christian Persch)
2539
2540 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2541
2542         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2543          Kazuki IWAMOTO)
2544
2545 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2546
2547         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2548         use the time and button information from the event.  (#504901,
2549         Peter Bloomfield)
2550
2551 2007-12-23  Cody Russell  <bratsche@gnome.org>
2552
2553         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2554         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2555         Fixes a regression caused by #164537 patch where transient
2556         windows that are hidden get shown (incorrectly) when their
2557         parents are minimized. (#504984)
2558         
2559 2007-12-22  Christian Persch  <chpe@gnome.org>
2560
2561         * modules/other/gail/gailcell.c:
2562         * modules/other/gail/gailcontainercell.c:
2563         * modules/other/gail/gailexpander.c:
2564         * modules/other/gail/gailtextcell.c:
2565         * modules/other/gail/gailtextview.c:
2566         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2567
2568 2007-12-22  Christian Persch  <chpe@gnome.org>
2569
2570         * modules/other/gail/*.c: Include config.h. Bug #504720.
2571
2572 2007-12-22  Christian Persch  <chpe@gnome.org>
2573
2574         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2575         handwritten get_type functions. Bug #504661.
2576
2577 2007-12-23  Xan Lopez  <xan@gnome.org>
2578
2579         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2580         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2581
2582         Patch by Sadrul Habib Chowdhury (#504804)
2583
2584 2007-12-22  Christian Persch  <chpe@gnome.org>
2585
2586         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2587         #504645, patch by Li Yuan.
2588
2589 2007-12-22  Christian Persch  <chpe@gnome.org>
2590
2591         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2592
2593 2007-12-22  Christian Persch  <chpe@gnome.org>
2594         
2595         * modules/other/gail/gail.c:
2596         * modules/other/gail/gailbutton.c:
2597         * modules/other/gail/gailcell.c:
2598         * modules/other/gail/gailcombo.c:
2599         * modules/other/gail/gailcombo.h:
2600         * modules/other/gail/gailcombobox.c:
2601         * modules/other/gail/gailentry.c:
2602         * modules/other/gail/gailexpander.c:
2603         * modules/other/gail/gailmenuitem.c:
2604         * modules/other/gail/gailnotebook.c:
2605         * modules/other/gail/gailnotebookpage.c:
2606         * modules/other/gail/gailnotebookpage.h:
2607         * modules/other/gail/gailoptionmenu.c:
2608         * modules/other/gail/gailrange.c:
2609         * modules/other/gail/gailtextview.c:
2610         * modules/other/gail/gailtreeview.c:
2611         * modules/other/gail/gailtreeview.h:
2612         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2613         Bug #504571.
2614
2615 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2616
2617         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2618         Christian Persch)
2619
2620 2007-12-21  Richard Hult  <richard@imendio.com>
2621
2622         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2623         Plug leak of destroyed subviews, fixes bug #504753.
2624
2625 2007-12-20  Johan Dahlin  <johan@gnome.org>
2626
2627         * tests/Makefile.am (TEST_PROGS): 
2628         * tests/defaultvaluetest.c: Add a test for default values,
2629         based on program by Christan Perch
2630
2631 2007-12-20  Johan Dahlin  <johan@gnome.org>
2632
2633         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
2634         Refactor to avoid some duplication.
2635         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2636         Fixes #504749, Yuri Pimenov
2637
2638 2007-12-20  Kristian Rietveld  <kris@imendio.com>
2639
2640         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
2641         the build work again on systems without xrandr 1.2.
2642
2643 2007-12-20  Christian Persch  <chpe@gnome.org>
2644
2645         * configure.in:
2646         * modules/other/gail/libgail-util/Makefile.am:
2647         Keep the same libtool version as the standalone libgail-util had.
2648         Bug #504643.
2649
2650 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
2651
2652         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2653
2654 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2655         
2656         * gdk/x11/gdkapplaunchcontext-x11.c:
2657         Update for gio API changes
2658
2659 2007-12-20  Richard Hult  <richard@imendio.com>
2660
2661         * gdk/quartz/GdkQuartzWindow.c:
2662         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2663         processing events after changing the size.
2664
2665 2007-12-20  Richard Hult  <richard@imendio.com>
2666
2667         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2668         Add stub for quartz to fix build.
2669
2670 2007-12-20  Christian Persch  <chpe@gnome.org>
2671
2672         * modules/other/gail/Makefile.am:
2673         * modules/other/gail/gailimage.c: (gail_image_class_init),
2674         (gail_image_init), (elide_underscores), (gail_image_get_name),
2675         (atk_image_interface_init), (gail_image_finalize):
2676         * modules/other/gail/gailimage.h:
2677         R modules/other/gail/gailintl.h:
2678         * po/POTFILES.skip: Use the stock item's label as the name of the
2679         accessible in gailimage.c. Bug #504246.
2680
2681 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
2682
2683         Avoid some compiler warnings and remove obsolete code. (#339540)
2684
2685         * gtk/gtkcalendar.c: Change week and year variable in
2686         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2687         0" block from calendar_paint_day: The feature in question is handled
2688         few lines above. Cast data returned by gtk_selection_data_get_text()
2689         to (gchar*) in gtk_calendar_drag_data_received.
2690
2691 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
2692
2693         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2694
2695 2007-12-19  Johan Dahlin  <johan@gnome.org>
2696
2697         * tests/buildertest.c (test_object_properties): 
2698         Add another call to gtk_builder_add_string after using
2699         delayed properties, as reported in #504393 but already
2700         fixed in #495769.
2701
2702 2007-12-18  Christian Persch  <chpe@gnome.org>
2703
2704         * configure.in:
2705         * docs/reference/Makefile.am:
2706         * docs/reference/libgail-util/*:
2707         * gail-uninstalled.pc.in:
2708         * gail.pc.in:
2709         * modules/Makefile.am:
2710         * modules/other/Makefile.am:
2711         * modules/other/gail/*:
2712         * modules/other/gail/libgail-util/*:
2713         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2714
2715 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2716
2717         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2718         * gdk/win32/gdkproperty-win32.c: 
2719         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2720
2721         * gtk/gtkimmodule.[hc]: 
2722         * gtk/gtkimmulticontext.[hc]: When determining the default context,
2723         look at the gtk-im-module setting, and listen for changes to the
2724         setting.  (#502446, Akira Tagoh)
2725
2726 2007-12-17  Kristian Rietveld  <kris@imendio.com>
2727
2728         * gtk/gtktooltip.c (gtk_tooltip_finalize),
2729         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2730         to NULL as soon as it's destroyed.  (#496546, patch from
2731         Benjamin Berg).
2732
2733 2007-12-17  Kristian Rietveld  <kris@imendio.com>
2734
2735         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2736         always determine what arrow to show if show_sort_indicator is true.
2737         (#352738, Chris Vine).
2738
2739 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
2740
2741         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2742         Sébastien Granjoux)
2743
2744         * gtk/gtkpaned.c: Call gtk_container_forall instead of
2745         gtk_container_foreach in get_child_panes.
2746
2747 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
2748
2749         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2750
2751         Plug leak: When reordering the info in the list the old node is
2752         removed but not freed. (#503569)
2753
2754 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
2755
2756         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2757         Use u32 instead of __u32 and u8 instead of __u8 as the other types
2758         are deprecated since DirectFB 1.0.0. If compiling with an older
2759         version define the new type name to the old types. Fixes bug #503190.
2760
2761 2007-12-14  Ray Strode  <rstrode@redhat.com>
2762
2763         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2764         instead of g_signal_connect_after (..., "realize", ...) as an
2765         alternative to gtk_widget_realize () (bug 503537).
2766
2767 2007-12-14  Michael Natterer  <mitch@imendio.com>
2768
2769         * gdk/gdkinternals.h
2770         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2771         individual files.
2772
2773         * gdk/gdkapplaunchcontext.c
2774         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2775         header already includes everything now.
2776
2777 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2778
2779         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2780         next stable release shall be 2.16, not 2.14 - even if disagree.
2781
2782         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2783
2784 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2785
2786         Change GtkToolItem to retrieve its properties from GtkToolShell
2787         interface, instead of relying on being child of a GtkToolbar.
2788         (#5034079)
2789
2790         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2791         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2792         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2793         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2794         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2795         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2796         Take section docs from template file and update them for GtkToolShell.
2797         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2798         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2799
2800 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2801
2802         Extract loading of GtkPageSetup and GtkPrintSettings from their
2803         *_new_*() functions and move that code into separate
2804         *_load_*() functions (#475565).
2805
2806         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2807         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2808         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2809         Change the matching *_new_*() functions to use those functions.
2810
2811 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2812
2813         * gtk/gtk.symbols:
2814         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2815
2816 2007-12-14  Kristian Rietveld  <kris@imendio.com>
2817
2818         * gtk/tests/liststore.c:
2819         * gtk/tests/treestore.c: added tests for insertion functions.
2820
2821 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
2822
2823         * Add RandR 1.2 support
2824
2825         - New monitors_changed signal - New API to get width/height of
2826           monitors, and the name of the plug
2827
2828 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2829
2830         * gtk/tests/liststore.c:
2831         * gtk/tests/treestore.c: test the move and swap functions on a
2832         store with only one node.
2833
2834 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2835
2836         * gtk/gtktestutils.c (gtk_test_init): add a call to
2837         g_test_bug_base().
2838
2839         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2840         appriopriate tests.
2841
2842 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2843
2844         * gtk/tests/liststore.c:
2845         * gtk/tests/treestore.c: start composing tests for the list and tree
2846         store.
2847
2848         * gtk/tests/treeview-scrolling.c: added automated tests for
2849         GtkTreeView's scrolling "subsystem".
2850
2851         * gtk/tests/Makefile.am: updated; added new test programs.
2852
2853 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
2854
2855         Make the code compile again after the GdkAppLaunchContext changes.
2856
2857         * configure.in: Add gio-2.0 to GDK_PACKAGES.
2858         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2859
2860 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2861
2862         * gdk/gdkapplaunchcontext.c: Add docs
2863
2864 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2865
2866         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
2867         in gdk, providing startup notification.  (#503203)
2868
2869         * gdk/x11/gdkapplaunchcontext-x11.c: 
2870         * gdk/win32/gdkapplaunchcontext-win32.c:
2871         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
2872         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2873         parts. All but X11 are just empty stubs for now.
2874
2875         * gdk/gdk.symbols:
2876         * gdk/gdkinternals.h:
2877         * gdk/Makefile.am:
2878         * gdk/x11/Makefile.am: 
2879         * gdk/win32/Makefile.am: 
2880         * gdk/quartz/Makefile.am: 
2881         * gdk/directfb/Makefile.am: Necessary glue.
2882
2883 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
2884
2885         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2886
2887 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2888
2889         * gdk/directfb/gdktestutils-directfb.c:
2890         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2891         which adds testing functions to the DirectFB backend.
2892
2893 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2894
2895         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2896         Ciccani which fixes the mixing of gdk and cairo rendering.
2897
2898 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
2899
2900         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2901         on "drag-motion" handlers. Clearify documentation for
2902         gtk_drag_dest_set.
2903
2904 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
2905
2906         * buildertest.c: made unnecessarily exported symbols static.
2907         switched g_return_if_fail() statements in tests to assertions.
2908         special cased currently failing Widget/accesibility test to
2909         run only for g_test_thorough(), so it doesn't break make check.
2910         some coding style fixes.
2911
2912         * Makefile.am: added buildertest to TEST_PROGS.
2913
2914 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2915
2916         * docs/tutorial/gtk-tut.sgml:
2917           Use gtk_widget_get_parent_window() instead of widget->parent->window.
2918
2919 2007-12-10  Richard Hult  <richard@imendio.com>
2920
2921         * gdk/quartz/Makefile.am:
2922         * gdk/quartz/gdkquartz.h:
2923         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2924         header (bug #405915). Also add a getter for the toplevel nswindow.
2925
2926 2007-12-10  Richard Hult  <richard@imendio.com>
2927
2928         * gdk/quartz/gdkdrawable-quartz.c:
2929         (gdk_quartz_drawable_get_context),
2930         (gdk_quartz_drawable_release_context):
2931         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2932         (gdk_event_check), (gdk_event_dispatch), (poll_func):
2933         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2934         used for each drawing context and in prepare, dispatch and poll
2935         with one that exists across each main loop iteration. Fixes leaks
2936         on leopard and protects against future leaks introduce when the
2937         underlying system changes again (bug #492977).
2938
2939 2007-12-10  Richard Hult  <richard@imendio.com>
2940
2941         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2942         Fix the check for no changes to position and size.
2943
2944 2007-12-10  Richard Hult  <richard@imendio.com>
2945
2946         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2947         sized areas at (0, 0), patch from Paul Davis.
2948
2949 2007-12-10  Richard Hult  <richard@imendio.com>
2950
2951         * gdk/quartz/gdkprivate-quartz.h: 
2952         * gdk/quartz/gdkeventloop-quartz.c:
2953         (_gdk_quartz_event_loop_get_pending),
2954         (_gdk_quartz_event_loop_check_pending),
2955         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2956         (gdk_event_check), (gdk_event_dispatch):
2957         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2958         (_gdk_events_queue): Fix a bug where we could end up trying to
2959         handle the same event more than once. Based on patch from Paul
2960         Davis.
2961
2962 2007-12-10  Tor Lillqvist  <tml@novell.com>
2963
2964         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2965         package. (#502850)
2966
2967 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2968
2969         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2970         to avoid further fallout from the fix for bug 388321.
2971
2972 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2973
2974         * gdk/directfb/gdkgc-directfb.c:
2975         * gdk/directfb/gdkdrawable-directfb.c:
2976         * gdk/directfb/gdkdirectfb.h:
2977         * gdk/directfb/gdkwindow-directfb.c:
2978         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2979         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2980         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2981         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2982         which are expected to improve the performance of the DirectFB backend.
2983         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2984
2985 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2986
2987         * gtk/gtkcontainer.c: Correct the documentation of child
2988         property getter arguments.  (#501992, David Brigada)
2989
2990 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2991
2992         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2993         leak pixbufs.  (#502250, Yevgen Muntyan)
2994
2995 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
2996
2997         * gtk/gtkprintunixdialog.c:
2998         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2999         Print and Page Setup dialogs (#502202).
3000
3001 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
3002
3003         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3004         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3005         of XVFB_START, since it's the GTESTER invokation that needs this.
3006
3007 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
3008
3009         * gdk-pixbuf/gdk-pixbuf.symbols:
3010         * gdk/gdk.symbols:
3011         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3012         positives in abicheck.sh
3013
3014 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
3015
3016         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3017         GDK events generations in the DirectFB backend.
3018
3019 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
3020
3021         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3022         set of likely unused display ids, because MacOS has no seq(1) command.
3023
3024 2007-12-06  Richard Hult  <richard@imendio.com>
3025
3026         * gdk/quartz/gdkevents-quartz.c:
3027         (synthesize_crossing_events_for_ns_event): Fix warning when
3028         switching spaces in leopard.
3029
3030 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
3031
3032         * tests/floatingtest.c: ported to new testing framework.
3033
3034         * tests/Makefile.am: run floatingtest as testing framework test.
3035
3036 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
3037
3038         * tests/autotestfilechooser.c: majorly speed up execution by reducing
3039         timeouts and converting main loop sleeps to pending/iterate loops with
3040         very low priority async handlers. eliminate output for non-verbose
3041         tests. assert successfull subtests in all test functions. use testing
3042         framework in main().
3043
3044         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3045         executed inside Xvfb upon make check.
3046
3047 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
3048
3049         * tests/objecttests.c: use string comparisons for string property
3050         values and get rid of referencing symbols in array initialization.
3051
3052 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
3053
3054         * gtk+/Makefile.decl: run tests in current dir after setting up the
3055         logging directory, so their results get properly merged into the
3056         resulting test log.
3057
3058         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3059         tests to loop over registered Gdk/Gtk+ types.
3060
3061         * gtk+/tests/objecttests.c: new test program, implements automated
3062         property tests. several properties are blacklisted because they
3063         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3064         can be used to test blacklisted properties and see which proprty failed.
3065
3066 2007-12-04  Richard Hult  <richard@imendio.com>
3067
3068         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3069         Fully initialize the root window, fixes bug #501583.
3070
3071 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
3072
3073         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3074         crash epiphany.
3075
3076 2007-12-03  Richard Hult  <richard@imendio.com>
3077
3078         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3079         Don't crash when dragging from a source that doesn't support uri
3080         lists (bug #499868, Paul Davis).
3081
3082 2007-12-03  Richard Hult  <richard@imendio.com>
3083
3084         * gdk/quartz/gdkwindow-quartz.c:
3085         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3086         parent relative bg pixmap is set, and no parent has a bg
3087         pixmap. Fixes bug #500804.
3088
3089 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
3090
3091         Two optimizations for icon cache lookups.
3092
3093         * gtk/gtkiconcache.[hc]:
3094         * gtk/gtkicontheme.c: Remember the directory index for
3095         subdirectories, instead of running over the directory list
3096         again and again.
3097
3098         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
3099         chain and try it first; this helps with the the usage patterns
3100         in gtkicontheme.c, where the same icon is queried for a lot
3101         of subdirectories.
3102
3103 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
3104
3105         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3106         functions from header files. this should be portable across linux and
3107         Mac OS, unlike the previpous sed expression.
3108
3109 2007-12-1  Cody Russell  <bratsche@gnome.org>
3110
3111         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3112         On Windows, queue a redraw of child2 whenever we set
3113         the pane handle position.  This is unfortunately kind
3114         of hacky, but solves the visual artifacts that were
3115         occuring on at least certain types of child widgets
3116         (e.g., text views and tree views) that are inside
3117         horizontal or vertical panes. (#144269)
3118
3119 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
3120
3121         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
3122
3123 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
3124
3125         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3126         debug spew.
3127
3128 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
3129
3130         * gtk/Makefile.am: Fix ordering of subdirs.
3131
3132 2007-11-28  Tor Lillqvist  <tml@novell.com>
3133
3134         A proper build of GNU libintl is supposed to export the variable
3135         _nl_msg_cat_cntr. configure looks for that variable in order to
3136         recognize GNU gettext. If it sees that it is indeed GNU gettext
3137         that is used, it decides to install message catalogs in
3138         share/locale, otherwise in lib/locale. Until now on Windows I have
3139         built GTK+ against a build of GNU gettext that did not export
3140         _nl_msg_cat_cntr. But this will change, so we can't assume message
3141         catalogs are always in lib/locale.
3142
3143         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3144         GTK_LOCALEDIR being either in "lib" or "share". Move the function
3145         before the inclusion of gtkprivate.h so that it sees the original
3146         GTK_LOCALEDIR.
3147
3148         * gtk-zip.sh.in: Check whether the message catalogs are in
3149         share/locale or lib/locale.
3150
3151         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3152         that the code in _gtk_get_localedir() will find the slashes.
3153
3154 2007-11-28  Tor Lillqvist  <tml@novell.com>
3155
3156         * gtk/Makefile.am: Improve portability. The -o option is present
3157         only in newish GNU egreps. Use one more sed in the pipeline
3158         instead.
3159
3160 2007-11-28  Tor Lillqvist  <tml@novell.com>
3161
3162         Fix #375893, patch by Ben Hague:
3163
3164         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3165         around GetLogicalDrives() that takes also the viewable drive
3166         restrictions in the Registry (which are usually the result of an
3167         Active Directory Group Policy) into account.
3168
3169         (check_volumes, gtk_file_system_win32_list_volumes) Call
3170         get_viewable_logical_drives() instead of GetLogicalDrives().
3171
3172 2007-11-27  Matthias Clasen <mclasen@redhat.com>
3173
3174         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3175         variables to silence valgrind.  (#495124, Morten Welinder)
3176
3177 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
3178
3179         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3180         that the construct_child function is responsible for returning a
3181         reference.
3182         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3183         objects from constructors
3184         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3185         g_object_ref() to this construction function (it's the only
3186         implementer in GTK)
3187
3188         Fixes #496645.
3189
3190 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
3191
3192         * gtkbuilder.c: remove concept of root objects and just refcount
3193         all objects in the builder.  Fixes #496651.
3194
3195 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
3196
3197         * tests/buildertest.c (test_window): fix invalid free
3198
3199 2007-11-26  Josselin Mouette <joss@malsain.org>
3200
3201         reviewed by: Federico Mena Quintero
3202
3203         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3204         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3205         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3206         Make the shortcuts activate with a single click. (#148828)
3207         Fix a few things affected by the change:
3208           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
3209             where no shortcut is selected.
3210           - Don't activate a shortcut in the response callback.
3211           - Filter out duplicate entries in volumes and bookmarks to 
3212             avoid the selection to change when reordering them with DnD.
3213
3214 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3215
3216         * gtk/gtkmain.c:
3217         * gtk/gtknotebook.c:
3218         * gtk/gtkplugprivate.h:
3219         * gtk/gtksocket.c:
3220         * gtk/gtksocketprivate.h:
3221         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3222
3223 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3224
3225         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3226         (#495574, Richard Hult)
3227
3228 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3229
3230         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3231         String change !   (#376361, Sven Neumann)
3232
3233 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3234
3235         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3236         destroy.
3237         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3238         Welinder)
3239
3240 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3241
3242         * gtk/gtkassistant.c: Improve alternative button
3243         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3244
3245 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3246
3247         * gtk/gtkcalendar.c: Fix a theming problem with colors
3248         in GtkCalendar.  (#499703, Michael Hofmann)
3249
3250 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3251
3252         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3253
3254 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3255
3256         Use templates for glib-mkenums calls instead of 
3257         complicated commandlines in Makefiles.  (#429910)
3258
3259         * gdk-pixbuf/Makefile.am:
3260         * gdk/Makefile.am: 
3261         * gtk/Makefile.am: 
3262         * perf/Makefile.am: Use templates for glib-mkenums
3263
3264         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3265         * gdk/gdkenumtypes.[ch].template: 
3266         * gtk/gtktypebuiltings.[ch].template: 
3267         * perf/typebuiltins.[ch].template: The templates
3268
3269 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3270
3271         * gtk/gtkfilechooserbutton.c:
3272         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3273         some compilers choke on that.  (#467722)
3274
3275 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
3276
3277         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3278         about hook setup.  (#425004, Emmanuele Bassi)
3279
3280 2007-11-26  Tor Lillqvist  <tml@novell.com>
3281
3282         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3283         monitor the window currently is on, not always the primary
3284         monitor. (#463865, Tim Evans)
3285
3286 2007-11-26  Tor Lillqvist  <tml@novell.com>
3287
3288         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3289
3290         * gdk/win32/Makefile.am: Add it.
3291
3292 2007-11-26  Tor Lillqvist  <tml@novell.com>
3293
3294         * configure.in: Don't add jasper to all_loaders if no libjasper.
3295
3296 2007-11-25  Bastien Nocera  <hadess@hadess.net>
3297
3298         * configure.in: Add detection for libjasper, used by the
3299         gdk-pixbuf JPEG2000 loader
3300
3301 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
3302
3303         * configure.in: Require gtk-doc 1.8
3304
3305         * */*.c: Use gtk-doc abbreviations for examples in docs.
3306
3307 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
3308
3309         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3310         typo.  (#498922)
3311
3312 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
3313
3314         * gtk/gtkdialog.c: Move signal and property documentation inline,
3315         fix a problem with the ::response signal docs.  (#499133, Josselin
3316         Mouette)
3317
3318 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
3319
3320         * Makefile.decl: initialize automake variables EXTRA_DIST and
3321         TEST_PROGS for unconditional appending via += in other makefiles.
3322         define recursive test targets: test, test-report, perf-report,
3323         full-report, as described here:
3324       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3325         the test targets will execute Gtk+ test programs within an Xvfb session.
3326
3327         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3328
3329         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3330         g_test_run() to run the tests to integrate with the testing framework.
3331
3332         * gtk/tests/Makefile.am: removed exemplary testing rules.
3333
3334         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3335         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3336         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3337         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3338         * docs/reference/Makefile.am, docs/tools/Makefile.am:
3339         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3340         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3341         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3342         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3343         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3344         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3345         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3346         * modules/engines/ms-windows/Theme/Makefile.am:
3347         * modules/engines/ms-windows/Makefile.am:
3348         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
3349         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3350         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3351         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3352         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3353         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3354         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3355
3356 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
3357
3358         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3359         (#485662, patch by Herbert Valerio Riedel)
3360
3361 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
3362
3363         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
3364
3365 2007-11-21  Richard Hult  <richard@imendio.com>
3366
3367         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3368         stubs for the testing functions to fix the build.
3369
3370 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
3371
3372         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3373         (#467711, The Written Word)
3374
3375 2007-11-21  Ross Burton  <ross@openedhand.com>
3376
3377         * gdk/x11/gdksettings.c:
3378         Add xsetting for gtk-scrolled-window-placement (#458103).
3379
3380 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
3381
3382         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3383         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3384         (#469239, Michael Natterer)
3385
3386 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
3387
3388         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3389         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3390         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3391         (#436536, Tommi Komulainen)
3392
3393 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
3394
3395         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3396         property.  (#489782, Jan Janech)
3397
3398 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
3399
3400         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3401         frames.  (#107398, Owen Taylor, Miguel Gomez)
3402
3403 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3404
3405         Moved Gdk test functions from Gtk+ to Gdk test utils.
3406
3407         * gdk/Makefile.am: added gdktestutils.h to public includes.
3408
3409         * gdk/gdk.h: added gdktestutils.h to public includes.
3410
3411         * gdk/gdk.symbols: added gdk_test_simulate_button,
3412         gdk_test_simulate_key, gdk_test_render_sync.
3413
3414         * gdk/gdktestutils.h: new file, added prototypes for
3415         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3416
3417         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3418
3419         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3420         gdk_test_simulate_key, gdk_test_render_sync.
3421
3422         * gtk/gtktestutils.c:
3423         * gtk/gtktestutils.h:
3424         * gtk/gtk.symbols: removed gtk_test_simulate_button
3425         gtk_test_simulate_key, gtk_test_xserver_render_sync.
3426
3427         * gtk/tests/testing.c: call gdk_test_render_sync.
3428
3429 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3430
3431         Added unit tests for Gtk+ testing utilities.
3432
3433         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3434         utility functions. some g_test_* related portions are disabled and need
3435         to be enabled once Gtk+ depends on a new glib with the GLib testing
3436         framework integrated.
3437
3438         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3439         tests.  added exemplary test rules to run tests inside Xvfb. this
3440         needs to depend on gtester for full fledged testing.
3441
3442         * gtk/Makefile.am: build gtk+/gtk/tests, define
3443         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3444         e.g. gtk_text_get_type().
3445
3446         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3447
3448 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3449
3450         Added Gtk+ testing utilities.
3451
3452         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3453         functions.  for the most part, the functions herein involve
3454         navigating and interacting with dialog elements programatically,
3455         to automate user interaction tests of dialogs and widgets.
3456
3457         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3458
3459         * gtk/gtk.symbols: added gtk_test_* symbols.
3460
3461         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3462         the build.  generate gtktypefuncs.c which contains a list of all
3463         _get_type functions in Gtk+ and Gdk.
3464
3465 2007-11-20  Bastien Nocera  <hadess@hadess.net>
3466
3467         * configure.in: add support for conditional icns gdk-pixbuf loader
3468         (Closes: #395738)
3469
3470 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
3471
3472         * configure.in: updated version number to 2.15.0 for development.
3473
3474 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
3475
3476         === Branch for 2.12 ===
3477