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