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