1 2008-06-16 Matthias Clasen <mclasen@redhat.com>
3 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
4 to the builtin icon theme, to avoid showing broken images when
5 there is no icon theme around. The new icons are thanks to
8 2008-06-16 Michael Natterer <mitch@imendio.com>
10 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
11 GtkFileChooserDefault struct.
13 * gtk/gtkfilechooserdefault.c: don't allocate and free the
16 2008-06-16 Carlos Garnacho <carlos@imendio.com>
18 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
21 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
22 Allow again setting any of the properties to render an image back to
25 2008-06-15 Matthias Clasen <mclasen@redhat.com>
27 * gtk/gtkimage.c: When pixel-size is specified, use
28 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
30 2008-06-15 Carlos Garnacho <carlos@imendio.com>
32 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
33 path here as expected, not just the basename.
35 * gtk/gtkfilechooserdefault.c
36 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
37 a reference to file, since it can be destroyed when switching back to
40 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
41 and desktop directories are dealt by the filechooser as normal files,
42 not volumes, so the icon for these is handled directly by GIO.
43 (_gtk_file_system_volume_render_icon): Update caller.
45 2008-06-15 Matthias Clasen <mclasen@redhat.com>
47 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
49 2008-06-14 Cody Russell <bratsche@gnome.org>
51 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
53 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
54 according to MSDN docs, associates the open clipboard with the
55 current task. (#378158, reported by Andreas Köhler)
57 2008-06-13 Matthias Clasen <mclasen@redhat.com>
59 * configure.in: Bump version
61 * === Released 2.13.3 ===
63 2008-06-13 Matthias Clasen <mclasen@redhat.com>
65 * gtk/gtkaccelgroup.c: Add some docs
67 * gdk/gdkwindow.c: Fix doc typos
69 2008-06-13 Matthias Clasen <mclasen@redhat.com>
71 * gtk/gtkfilesystem.c: Avoid PLT entries by including
74 2008-06-13 Matthias Clasen <mclasen@redhat.com>
76 * gtk/gtkfilechooserbutton.c:
77 * gtk/gtkfilechooserdefault.c:
78 * gtk/gtkfilechooserentry.c:
79 * gtk/gtkfilesystem.c:
80 * gtk/gtkfilesystem.h:
81 * gtk/gtkfilesystemmodel.c:
82 * gtk/gtkpathbar.c: Really make GtkFileSystem private
83 by _-prefixing all functions.
85 2008-06-13 Matthias Clasen <mclasen@redhat.com>
87 * docs/RELEASE-HOWTO: Updates
88 * INSTALL.in: Bump version
90 2008-06-13 Matthias Clasen <mclasen@redhat.com>
94 2008-06-13 Michael Natterer <mitch@imendio.com>
96 * gtk/gtkcellrendereraccel.h
97 * gtk/gtkfilechooser.h
98 * gtk/gtkfilechooserdialog.h
99 * gtk/gtkfilechooserwidget.h
100 * gtk/gtkmenutoolbutton.h
103 * gtk/gtkprintcontext.h
104 * gtk/gtkprintoperation.h
105 * gtk/gtkprintoperationpreview.h
106 * gtk/gtkprintsettings.h
107 * gtk/gtkradiotoolbutton.h
108 * gtk/gtkrecentchooser.h
109 * gtk/gtkrecentchooserdialog.h
110 * gtk/gtkrecentchoosermenu.h
111 * gtk/gtkrecentchooserwidget.h
112 * gtk/gtkseparatortoolitem.h
114 * gtk/gtktoggletoolbutton.h
116 * gtk/gtktoolbutton.h
117 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
118 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
120 2008-06-13 Michael Natterer <mitch@imendio.com>
122 * gtk/gtktexttagtable.h: remove double inclusion of
125 2008-06-13 Michael Natterer <mitch@imendio.com>
127 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
128 local "image" variable from GtkImage to GtkWidget to fix warning.
130 2008-06-13 Michael Natterer <mitch@imendio.com>
132 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
133 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
135 2008-06-13 Michael Natterer <mitch@imendio.com>
137 * gtk/gtkuimanager.c (start_element_handler): silently skip
138 unknown attributes instead of bailing out with an error in order
139 to be compatible with possible future attribute names.
141 This is related to the discussion in bug #516425 but actually
142 needed for any kind of XML format extension.
144 2008-05-23 Hans Breuer <hans@breuer.org>
146 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
147 Avoids crashing when the target can not be written, bug #537685
149 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
151 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
152 it was not needed here anyway.
154 2008-06-13 Matthias Clasen <mclasen@redhat.com>
156 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
157 Patch by Jan Arne Peterson
159 2008-06-12 Matthias Clasen <mclasen@redhat.com>
161 Bug 537985 – gtk_init_with_args() doesn't open a display after
164 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
165 even when gtk_parse_args() has already been called.
166 Patch by Mathias Hasselmann
168 2008-06-12 Matthias Clasen <mclasen@redhat.com>
170 Bug 524222 – GtkToolbar with mix of buttons with and without
173 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
174 Improve appearance of "both vertical" mode toolbuttons.
175 Patch by Peter Johanson
177 2008-06-12 Matthias Clasen <mclasen@redhat.com>
179 Bug 519092 – Add accessibility support to GtkVolumeButton
181 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
182 Patch by Jonh Wendell
184 2008-06-12 Matthias Clasen <mclasen@redhat.com>
186 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
187 GtkAction has problems
188 Patch by Peter Johanson
190 * gtk/gtkaction.c (connect_proxy): Set the image of a button
191 proxy to the "icon-name" property.
193 (gtk_action_set_short_label): If the "image" property is set
194 on the button proxy, also tries to set the "label" property on
197 2008-06-12 Michael Natterer <mitch@imendio.com>
200 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
201 in via "gtkintl.h" from <glib/gi18n-lib.h>.
203 2008-06-12 Matthias Clasen <mclasen@redhat.com>
205 RH bug 248245 and 449379: cups client printing from gnome
208 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
209 printer URI construction. Patch by Marek Kasik
211 2008-06-12 Michael Natterer <mitch@imendio.com>
213 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
214 limit the number of displayed items by the actual screen height
215 instead of some arbitrary value (Bug #408154, Xan Lopez and
218 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
220 Bug 503071 – Application direction changes to right to left even if
221 theres no translation
223 * configure.in: Bump glib requirement.
225 * gtk/gtkaccellabel.c
226 (_gtk_accel_label_class_get_accelerator_label):
227 * gtk/gtkactiongroup.c (dgettext_swapped):
228 * gtk/gtkbuilder.c (gtk_builder_class_init):
229 * gtk/gtkbuilderparser.c (_dpgettext),
230 (_gtk_builder_parser_translate):
231 * gtk/gtkfilechooserdefault.c (list_size_data_func):
232 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
234 * gtk/gtkmain.c (setlocale_initialization),
235 (do_pre_parse_initialization), (gettext_initialization):
236 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
237 Use g_dgettext() and g_dngettext().
239 2008-06-11 Matthias Clasen <mclasen@redhat.com>
241 * docs/RELEASE-HOWTO: Updates
243 2008-06-11 Tor Lillqvist <tml@novell.com>
245 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
246 support Win9x anyway, we can use ProcessIdToSessionId()
249 2008-06-11 Michael Natterer <mitch@imendio.com>
251 * gtk/gtkfilechooserbutton.c: fix local prototype of
252 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
254 2008-06-10 Matthias Clasen <mclasen@redhat.com>
256 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
258 * gtk/gtkoptionmenu.c:
259 * gtk/gtkcombobox.c: Set the window type hint on popups.
260 Patch by Danny Baumann
262 2008-06-10 Matthias Clasen <mclasen@redhat.com>
264 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
265 (gtk_file_system_volume_render_icon): Add standard icon names,
266 and also fall back to builtin gtk stock icons.
268 2008-06-10 Christian Persch <chpe@gnome.org>
270 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
271 (gtk_tree_view_maybe_begin_dragging_row),
272 (gtk_tree_view_set_reorderable),
273 (gtk_tree_view_enable_model_drag_source),
274 (gtk_tree_view_enable_model_drag_dest),
275 (gtk_tree_view_unset_rows_drag_source),
276 (gtk_tree_view_unset_rows_drag_dest): Make
277 gtk_tree_view_enable_model_drag_[source|dest] compatible with
278 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
280 2008-06-10 Christian Persch <chpe@gnome.org>
282 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
283 (dest_row_free), (set_dest_row), (ensure_info),
284 (gtk_tree_view_remove), (gtk_tree_view_put),
285 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
288 2008-06-10 Paolo Borelli <pborelli@katamail.com>
290 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
291 use g_file_new_for_uri.
293 2008-06-10 Paolo Borelli <pborelli@katamail.com>
295 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
298 2008-06-10 Carlos Garnacho <carlos@imendio.com>
302 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
303 #520874, comment #8. It's no longer used directly by GTK+.
305 2008-06-10 Carlos Garnacho <carlos@imendio.com>
307 Bug 520874 - Should use gio directly.
309 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
310 provides helper functions for asynchronous calls, folder abstraction
311 and uniform handling of volumes/drives/mounts.
313 * gtk/gtkfilesystemwin32.[ch]:
314 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
316 * gtk/gtkfilechooser.c:
317 * gtk/gtkfilechooserbutton.c:
318 * gtk/gtkfilechooserdefault.c:
319 * gtk/gtkfilechooserentry.[ch]:
320 * gtk/gtkfilechooserprivate.h:
321 * gtk/gtkfilechooserutils.c:
322 * gtk/gtkfilesystemmodel.[ch]:
323 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
324 Do not load filesystem implementation modules.
327 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
328 anymore, nor the unix/win32 implementations.
330 * README.in: Add blurb about these changes.
332 2008-06-09 Kristian Rietveld <kris@gtk.org>
334 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
336 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
337 (gtk_cell_renderer_combo_set_property),
338 (gtk_cell_renderer_combo_editing_done),
339 (gtk_cell_renderer_combo_start_editing): introduce private class
340 struct, allow model to be set to NULL.
342 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
344 Bug 131920 – gtkNotebook sends incorrect switch_page value
346 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
347 signal send correct page index when page index 0 is active and
348 removed. (#131920, Samuel Fogh)
350 2008-06-08 Kristian Rietveld <kris@gtk.org>
352 Bug 536730 - memory corruption in gtktreeview
354 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
355 remove the expand/collapse timeout and node, then free the rbtree.
357 2008-06-08 Kristian Rietveld <kris@gtk.org>
359 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
361 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
362 find path if we found valid nodes, return FALSE otherwise. (Patch
363 from Matthias Clasen).
365 2008-06-08 Matthias Clasen <mclasen@redhat.com>
367 * gtk/gtkrecentmanager.c:
368 * gtk/gtkrecentfilter.c:
369 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
372 2008-06-08 Christian Persch <chpe@gnome.org>
374 Bug 535608 – do not string-copy accel paths in the menu code
376 * gtk/gtkaccelgroup.c:
381 * gtk/gtkwidget.c: Don't store the accel path as a string in
382 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
383 keeping a string copy around is just a waste of memory.
384 Improve the documentation to mention this.
386 2008-06-07 Tor Lillqvist <tml@novell.com>
388 Bug 536990 - updateiconcache.c: 'close ()' is redundant
390 * gtk/updateiconcache.c (build_cache): Drop redundant close()
391 calls. fclose() on a fdopen()ed strema closes the underlying file
394 2008-06-06 Matthias Clasen <mclasen@redhat.com>
396 Bug 536757 – regression: openoffice.org menus are placed at wrong
397 position since 2.12.10
399 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
400 Return the right coordinates.
402 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
404 Bug 536185 – monitor font configuration
407 * gdk/x11/gdksettings.c:
408 * gtk/gtksettings.c (gtk_settings_class_init),
409 (gtk_settings_notify), (settings_update_fontconfig):
410 Monitor xsettings key Fontconfig/Timestamp and upon change,
411 reread fontconfig configuration, clear Pango's caches, and
414 2008-06-06 Ross Burton <ross@burtonini.com>
417 Fix trivial typo in documentation.
419 2008-06-06 Tor Lillqvist <tml@novell.com>
421 * config.h.win32.in: Slight update to match what configure
424 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
426 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
427 constant to the end of the list, to avoid breaking the stable ABI
429 2008-06-05 Michael Natterer <mitch@imendio.com>
431 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
433 2008-06-05 Li Yuan <li.yuan@sun.com>
435 * gail-uninstalled.pc.in:
436 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
437 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
439 2008-06-03 Matthias Clasen <mclasen@redhat.com>
441 * docs/RELEASE-HOWTO: Update a bit
443 2008-06-03 Matthias Clasen <mclasen@redhat.com>
445 * configure.in: Bump version
447 * === Released 2.13.2 ===
449 2008-06-03 Federico Mena Quintero <federico@novell.com>
451 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
452 If the user presses Tab while the completion feedback window is
453 active, then we'll assert. Remove the assertion and just re-set
454 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
456 2008-06-03 Colin Walters <walters@redhat.com>
458 Bug 535303 – add _get_implementation to GtkStatusIcon
460 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
461 function to retrieve internal X11 window ID, useful for libnotify.
462 * gtk/gtkstatusicon.h: Prototype it.
463 * docs/reference/gtk/gtk-sections.txt: Add to docs.
464 * gtk/gtk.symbols: Export it.
466 2008-06-03 Tor Lillqvist <tml@novell.com>
468 * gtk/updateiconcache.c (build_cache): Use g_open().
470 2008-06-03 Michael Natterer <mitch@imendio.com>
473 * gtk/gtkctree.h: revert includes to how they have been before the
474 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
475 that you can't include <gtk/gtk.h> from two headers where one is a
476 parent class of the other and expect them both to be includable
479 2008-06-03 Michael Natterer <mitch@imendio.com>
481 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
483 2008-06-02 Matthias Clasen <mclasen@redhat.com>
485 Bug 536092 – GtkEntryCompletion's popup window should set type hint
487 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
488 a type hint on the popup window to help compiz.
489 Patch by Vaclav Slavik.
491 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
493 Bug 535862 – gtk_action_create_icon can't create icons from the
496 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
497 the default factories as it's supposed.
499 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
501 Bug 535497 – Print preview doesn't work.
503 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
504 instead of launching Preview.app directly.
506 2008-06-02 Michael Natterer <mitch@imendio.com>
508 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
509 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
512 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
514 Bug 535830 – wrong content type adding an item
516 * gtk/gtkrecentmanager.c:
517 (gtk_recent_manager_add_item_query_info): Use the correct API
518 for retrieving the fast MIME type of a URI. (Carlos Garcia
521 2008-05-31 Kristian Rietveld <kris@imendio.com>
523 Bug 530146 - Setting non-string tooltip with
524 gtk_tree_view_set_tooltip_column() segfaults
526 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
527 gtk_tree_model_get_value() and explicitly transform the value to a
528 string before setting it as tooltip.
530 2008-05-30 Tor Lillqvist <tml@novell.com>
532 * modules/engines/ms-windows/msw_style.h
533 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
535 2008-05-30 Michael Natterer <mitch@imendio.com>
537 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
538 GDestroyNotify when using it in g_object_set_data_full().
540 2008-05-30 Michael Natterer <mitch@imendio.com>
542 * gdk/gdkapplaunchcontext.h
544 * gtk/gtkmountoperation.h
547 * gtk/gtktoolshell.h: no need to allow disabling single includes
548 conditionally in these new files. Simply forbid including them
549 individually from the beginning.
551 2008-05-30 Tor Lillqvist <tml@novell.com>
553 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
555 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
558 2008-05-29 Matthias Clasen <mclasen@redhat.com>
560 * configure.in: Bump version
562 * === Released 2.13.1 ===
566 2008-05-29 Matthias Clasen <mclasen@redhat.com>
568 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
570 2008-05-29 Matthias Clasen <mclasen@redhat.com>
572 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
574 2008-05-29 Tor Lillqvist <tml@novell.com>
576 Bug 535526 - updateiconcache.c: using open/close without prototype
578 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
579 g_utime() when available instead of utime() for UTF-8 pathname
582 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
584 Bug 56355 – GtkLabel - Not all changes propagate correctly
586 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
587 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
588 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
589 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
590 notifications of mnemonic-keyval changes.
592 2008-05-27 Matthias Clasen <mclasen@redhat.com>
594 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
596 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
597 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
598 * gtk/gtk.symbols: Additions
599 * tests/testimage.c: Add a GIcon test
601 2008-05-29 Michael Natterer <mitch@imendio.org>
604 * gtk/gtkunixprint.h: add a single-include header for the unix
607 * gtk/gtkpagesetupunixdialog.h
610 * gtk/gtkprintunixdialog.h: add single-include guards that #error
611 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
612 files is included individually.
614 * gtk/gtkprintbackend.h
615 * gtk/gtkprinter-private.h
616 * modules/printbackends/cups/gtkprintbackendcups.c
617 * modules/printbackends/cups/gtkprintercups.h
618 * modules/printbackends/lpr/gtkprintbackendlpr.c
619 * tests/buildertest.c
620 * tests/defaultvaluetest.c
621 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
624 2008-05-28 Michael Natterer <mitch@imendio.com>
626 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
627 excess newlines and sprinkled some newlines where needed. Zero
628 code or formatting changes included.
630 2008-05-28 Michael Natterer <mitch@imendio.com>
632 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
634 2008-05-28 Michael Natterer <mitch@imendio.com>
636 * gtk/gtkcolorbutton.h: fix comment: the widget is called
637 GtkColorButton, not GtkColorSelectButton. Remove trailing
638 whitespace and excess newlines.
640 2008-05-28 Michael Natterer <mitch@imendio.com>
642 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
643 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
644 to CPPFLAGS so it's impossible to commit code that would break
645 apps which use DISABLE_INCLUDE defines.
647 2008-05-28 Michael Natterer <mitch@imendio.com>
649 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
652 * gtk/gtktypebuiltins.h.template
653 * gtk/gtkversion.h.in
654 * gtk/gtk*.h: add single-include guards that #error out if
655 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
656 included individually.
658 * gtk/gtkprintbackend.h
659 * gtk/gtkprinter-private.h
660 * gtk/gtktextlayout.h
661 * gtk/gtktexttagprivate.h
663 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
664 headers in these private or semi-private headers.
666 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
668 * gtk/gtkpagesetupunixdialog.h
671 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
677 * gtk/gtkitemfactory.h
680 * gtk/gtkoldeditable.h
681 * gtk/gtkoptionmenu.h
685 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
686 instead of individual headers in these deprecated headers. They
687 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
688 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
689 and include them individually, which should continue to work.
691 * gtk/gtkclist.c: include "gtkctree.h" because of the change
694 2008-05-28 Kristian Rietveld <kris@imendio.com>
696 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
699 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
700 cursor_offset *must* be larger than background height of the cursor
701 node, not just equal otherwise there is no guarantee there is a next
704 2008-05-28 Michael Natterer <mitch@imendio.com>
706 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
708 2008-05-28 Michael Natterer <mitch@imendio.com>
710 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
713 * gdk/gdkenumtypes.h.template
714 * gdk/gdk*.h: add single-include guards that #error out if
715 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
716 included individually. Also removed some redundant includes and
717 did some tiny trailing whitespace removal that's not worth to
720 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
723 * gdk/win32/gdkwin32.h
724 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
727 2008-05-28 Kristian Rietveld <kris@imendio.com>
729 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
730 current widget again.
732 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
733 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
734 custom_was_reset field to check if the custom widget is set again in
735 the query-tooltip callback; if not, we set it to NULL. Based on a
736 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
737 and Christian Persch.
739 2008-05-28 Michael Natterer <mitch@imendio.com>
741 * modules/printbackends/cups/gtkcupsutils.c
742 * modules/printbackends/cups/gtkprintbackendcups.c
743 * modules/printbackends/file/gtkprintbackendfile.c
744 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
745 <gtk/gtk.h> instead of individual files.
747 2008-05-28 Michael Natterer <mitch@imendio.com>
749 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
752 2008-05-28 Kristian Rietveld <kris@imendio.com>
754 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
756 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
757 ->priv->tree != NULL. Suggestion from Stefan Kost.
759 2008-05-28 Kristian Rietveld <kris@imendio.com>
761 Bug 324282 - add selected signal to cell renderer combo.
763 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
764 (gtk_cell_renderer_combo_changed),
765 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
766 that will be emitted as soon as the combo box emitted changed and has
767 an active iterator. (Modified patch based on work by James
770 * gtk/gtkmarshalers.list: add marshaler.
772 2008-05-28 Kristian Rietveld <kris@imendio.com>
774 Refactor expand/collapse timeout handling (amendment to bug 511217).
776 * gtk/gtktreeview.c (add_expand_collapse_timeout),
777 (remove_expand_collapse_timeout): new functions, the remove function
778 also clears expanded_collapsed_node,
779 (cancel_arrow_animation): moved to be next to the add/remove timeout
781 (gtk_tree_view_unrealize),
782 (gtk_tree_view_row_deleted),
783 (gtk_tree_view_set_model),
784 (cancel_arrow_animation),
785 (gtk_tree_view_real_expand_row),
786 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
788 2008-05-28 Kristian Rietveld <kris@imendio.com>
790 Amendment of bug 485218 - Strange warning encountered.
792 * gtk/gtktreemodelsort.[ch]
793 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
794 indication whether or not the conversion had succeeded.
796 2008-05-27 Matthias Clasen <mclasen@redhat.com>
798 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
800 * modules/printbackends/cups/gtkprintbackendcups.c
801 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
802 if the printer does not support level 3. Patch by Marek Kašík.
804 2008-05-27 Matthias Clasen <mclasen@redhat.com>
806 Bug 404571 - Scroll arrow backgrounds should be painted with different
809 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
810 as detail when drawing scroll arrow backgrounds. Proposed by
813 2008-05-27 Matthias Clasen <mclasen@redhat.com>
815 Bug 511217 - potential memory corruption after refreshing a tree_view
817 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
818 expanded_collapsed_node when canceling the animation.
819 Patch by Nicholas Setton.
821 2008-05-28 Michael Natterer <mitch@imendio.com>
823 * modules/input/gtkimcontextime.h
824 * modules/input/gtkimcontextmultipress.h
825 * modules/input/gtkimcontextthai.h
826 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
829 * modules/input/gtkimcontextime.c
830 * modules/input/gtkimcontextmultipress.c
831 * modules/input/gtkimcontextxim.c
832 * modules/input/imam-et.c
833 * modules/input/imcedilla.c
834 * modules/input/imcyrillic-translit.c
835 * modules/input/iminuktitut.c
836 * modules/input/imipa.c
837 * modules/input/imti-er.c
838 * modules/input/imti-et.c
839 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
840 "gtk/gtkintl.h" to the end of includes.
842 2008-05-28 Michael Natterer <mitch@imendio.com>
844 * modules/engines/pixbuf/pixbuf-style.h
845 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
846 instead of individual files.
848 2008-05-27 Matthias Clasen <mclasen@redhat.com>
850 Bug 485218 - Strange warning encountered
852 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
853 (gtk_tree_model_sort_convert_child_iter_to_iter):
854 (gtk_tree_model_sort_build_level): Better warnings. Patch
855 by Kristian Rietveld.
857 2008-05-27 Matthias Clasen <mclasen@redhat.com>
859 Bug 351910 - Search column setting lost
861 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
862 the docs. Patch by Matt Barnes.
864 2008-05-27 Matthias Clasen <mclasen@redhat.com>
866 Bug 477278 - avoid unnecessary pointer subtraction
868 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
869 subtraction that sparse complains about. Patch by Christian
872 2008-05-27 Matthias Clasen <mclasen@redhat.com>
874 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
876 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
877 Commit the entry text before doing an increment. Patch by
880 2008-05-27 Federico Mena Quintero <federico@novell.com>
882 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
883 drag and drop from the file list into itself, as it doesn't make
884 sense (it would just change the current folder).
886 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
887 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
890 2008-05-27 Michael Natterer <mitch@imendio.com>
892 * gtk/gtksignal.h: move deprecated guards around everything,
893 including includes and include guards (just as in all other
896 2008-05-27 Tor Lillqvist <tml@novell.com>
898 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
899 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
900 <sys/stat.h> on Windows, and the mode used in open() doesn't
901 matter much as there are no rwxrwxrwx bits on Windows anyway.)
902 Open file in binary mode. Passing "b" to fdopen() later isn't
905 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
907 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
908 invalid or invisible widgets.
910 2008-05-27 Matthias Clasen <mclasen@redhat.com>
912 Bug 531008 – Crash in gtkprintunixdialog.c
914 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
915 the dialog closes. Patch by Yevgen Muntyan.
917 2008-05-27 Matthias Clasen <mclasen@redhat.com>
919 RH bug 248245: cups client printing from gnome applications fail
921 * modules/printbackends/cups/gtkprintbackendcups.c
922 (gtk_print_backend_cups_print_stream): Specify the right server.
924 2008-05-27 Carlos Garnacho <carlos@imendio.com>
926 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
927 rubberbanding when "select-multiple" is TRUE. Bug #446068.
929 2008-05-27 Carlos Garnacho <carlos@imendio.com>
931 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
932 correctly dialog buttons sensitivity when the anonymous option is
933 enabled by default. Bug #531865.
935 2008-05-27 Carlos Garnacho <carlos@imendio.com>
937 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
938 password dialog modal and transient for the parent window also if it
939 was specified in the constructor. Bug #531864.
941 2008-05-26 Richard Hult <richard@imendio.com>
943 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
944 setting the default font, might need to tweak this.
946 2008-05-26 Michael Natterer <mitch@imendio.com>
948 * examples/gtkdial/gtkdial.h
949 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
951 2008-05-26 Michael Natterer <mitch@imendio.com>
953 * gtk/gtkimmodule.h: fix indentation.
955 2008-05-26 Michael Natterer <mitch@imendio.com>
957 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
959 * gtk/gtkshow.c: remove inclusion of single files from gdk/
961 Removed trailing whitespace in both files.
963 2008-05-26 Richard Hult <richard@imendio.com>
965 Bug 530353 – Mac-like gtk_accelerator_get_label()
967 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
968 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
969 On quartz, make gtk_accelerator_get_label() format a Mac-like
970 string, using unicode characters for modifier keys, arrows, delete
971 etc. Patch from Yevgen Muntyan.
973 2008-05-26 Richard Hult <richard@imendio.com>
975 Bug 534869 – Length miscalculation in
976 _gtk_quartz_get_selection_data_from_pasteboard
978 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
979 Get the number of bytes, not the number of characters, patch from
982 2008-05-26 Matthias Clasen <mclasen@redhat.com>
984 * gtk/gtkwidget.c: Some doc formatting fixes.
986 2008-05-26 Matthias Clasen <mclasen@redhat.com>
988 Bug 511163 – Remove pango_extents_to_pixels() calls
990 * gtk/gtkcellrenderertext.c (get_size): Use
991 pango_layout_get_pixel_extents.
993 * configure.in: Bump Pango requirement to 1.20
995 * INSTALL.in: Update required versions
997 2008-05-26 Matthias Clasen <mclasen@redhat.com>
999 Bug 513811 – Use cairo_format_stride_for_width()
1001 * gtk/gtkhsv.c (paint_ring, paint_triangle):
1002 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
1003 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
1005 * configure.in: Bump cairo requirement to 1.6.0
1007 * INSTALL.in: Update required versions
1009 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1011 * gtk/gtkshow.[hc]: Formatting fixes
1013 * gtk/gtkmountoperation.c: Add docs
1015 2008-05-25 Cody Russell <bratsche@gnome.org>
1017 Bug 507389 – use gslice for gtksettings
1019 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
1020 Report and patch by Christian Persch.
1022 2008-05-25 Cody Russell <bratsche@gnome.org>
1024 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
1025 when options are missing
1027 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
1028 that other processes that try to open it will fail gracefully. Also
1029 fix a crasher caused by lack of a NULL check. Report and patch
1032 2008-05-25 Cody Russell <bratsche@gnome.org>
1034 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
1036 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
1037 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
1038 so that we also take into account for foreign windows.
1039 Report and patch by Nathaniel Smith.
1041 2008-05-25 Cody Russell <bratsche@gnome.org>
1043 Bug 525461 - Don't invalidate under an input-only child
1045 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
1046 Check that the window is not input-only before invalidating.
1047 Report and patch by Owen Taylor.
1049 2008-05-25 Cody Russell <bratsche@gnome.org>
1051 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
1052 window frame extents
1054 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
1055 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
1057 2008-05-25 Cody Russell <bratsche@gnome.org>
1059 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
1060 caused by missing flag initialization
1062 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
1063 top-level private flags correctly. Patch by Danny Baumann.
1065 2008-05-25 Cody Russell <bratsche@gnome.org>
1067 Bug 534463 - non-editable GtkTextView should not call
1068 gtk_im_context_focus_in in focus event
1070 * gtk/gtktextview.c: Add checks to see if the textview is
1071 editable. Patch by Wang Diancheng.
1073 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1075 Bug 501730 – use GSlice for small allocs
1077 * gtk/gtkmenuitem.c:
1078 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
1079 Patch by Christian Persch.
1081 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1083 Bug 523930 – sort -> search in gtktreeview.c
1085 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
1086 glitch, pointed out by Björn Lindqvist.
1088 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1090 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
1092 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
1093 doc glitch, pointed out by Christian Persch.
1095 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1097 Bug 534694 – Col id in GtkListStore could be out of range
1099 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
1100 a bit. Pointed out by Jan Arne Petersen.
1102 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1104 Bug 532497 – Configure problem when cross-compiling
1106 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
1107 pointed out by Marko Lindqvist.
1109 2008-05-25 Richard Hult <richard@imendio.com>
1111 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1112 Slight coding style cleanup.
1114 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
1116 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
1117 Added support for parsing required toolkit versions (so that ui descriptions
1118 can target specific versions of the backend widget libraries) bug 527612.
1120 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1121 for the added xml tags to the ui description.
1123 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
1124 for requires tag handling.
1126 2008-05-25 Richard Hult <richard@imendio.com>
1128 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
1129 gtk_drag_source_info_destroy in an idle, workaround for bug
1130 #501588, that makes any code that uses the context returned from
1131 gtk_drag_begin() crash, like treeview/iconview dnd.
1132 (GdkDragSourceOwner::provideDataForType): only use the data if we
1135 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1137 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
1138 to the drag actions to allow trash (#137717).
1140 2008-05-25 Josselin Mouette <joss@malsain.org>
1142 reviewed by: Matthias Clasen
1144 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
1145 check that tracker is actually working before using it. Fixes
1148 2008-05-25 Sven Neumann <sven@gimp.org>
1150 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
1151 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
1152 and don't create an output window if it is set.
1154 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
1155 drawing areas. Fixes bug #519317.
1157 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1159 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
1160 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
1162 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
1163 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
1164 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
1165 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
1166 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
1167 (start_spinning), (gtk_spin_button_button_release),
1168 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
1169 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
1170 (gtk_spin_button_update): Reorder strange window hierarchy of the
1171 GtkSpinButton (#466000).
1173 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1175 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
1176 fix the wrong position for right and center justified labels with
1177 logical.x > 0 (#530255).
1179 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1181 * gtk/gtkfilechooserdefault.c:
1182 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
1185 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
1187 * tests/pixbuf-lowmem.c
1188 * tests/pixbuf-random.c
1189 * tests/pixbuf-randomly-modified.c
1190 * tests/pixbuf-read.c
1191 * tests/pixbuf-threads.c
1193 * tests/testtreeview.c: Fix remaining compiler warnings in these
1196 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
1198 reviewed by: Matthias Clasen
1203 * gtk/gtkshow.c: (gtk_show_uri):
1205 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
1207 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1209 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
1211 * tests/buildertest.c: (test_list_store): Add test.
1213 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1215 Bug 520989 – icon factory buildable too strict
1217 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
1218 an optional attribute.
1220 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1222 Bug 387972 – gtkassistant drawing problem
1224 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
1225 GtkAssistant work better in glade.
1227 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1229 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
1230 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
1231 used in GtkToolItem) (#532787).
1233 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1235 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
1236 try to toggle the visibility of the location entry field in search and
1237 recent mode (#526422).
1239 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1241 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
1242 (shortcuts_list_create): Show parse name as tooltip for path
1243 shortcuts (#137503).
1245 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
1247 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
1248 pango_color_parse, do not reference XParseColor forms (#434991).
1250 2008-05-24 James Sharpe <jsharpe@gnome.org>
1252 * gdk/gdk.symbols: Remove duplicate
1253 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
1254 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
1256 2008-05-23 Hans Breuer <hans@breuer.org>
1258 * **/makefile.msc gtk/makefile.msc.in : updated
1259 * gtk/gtkwidget.c : fix c99ism (variable at start of block
1260 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
1262 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
1263 setlocale(LC_ALL, ...)
1265 2008-05-23 Tor Lillqvist <tml@novell.com>
1267 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
1268 gdk_window_remove_redirection.
1270 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
1271 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
1272 changes. Remove now unnecessary parameter checks as the caller
1275 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
1277 2008-05-23 Tor Lillqvist <tml@novell.com>
1279 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
1280 anything if style doesn't change. Improve debugging output.
1282 2008-05-23 Michael Natterer <mitch@gimp.org>
1285 * tests/print-editor.c
1286 * tests/prop-editor.h
1287 * tests/testmountoperation.c
1288 * tests/testmultidisplay.c
1289 * tests/testnouiprint.c
1291 * tests/testprintfileoperation.h
1292 * tests/testtreesort.c
1293 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
1294 files. Remove some redundant includes.
1296 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
1298 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
1299 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
1301 2008-05-21 Richard Hult <richard@imendio.com>
1303 * gdk/quartz/gdkwindow-quartz.c:
1304 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1305 offscreen rendering changes, fixes build.
1307 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
1309 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1311 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1312 return snapshot pixmap coordinates widget relative in *clip_rect.
1314 * tests/testgtk.c: fixed bogus NULL pointer unref.
1316 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
1318 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1319 widget's allocation to cover extra widget windows placed outside the
1320 widget allocation (spinbutton arrows are the prime example for this).
1322 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
1324 * Applied pixmap redirection patch by Alexander Larsson with
1325 various updates from:
1326 Bug 318807 – Offscreen windows and window redirection.
1331 * updated docs to mention "Since 2.16".
1333 * tests/testgtk.c: fixed snapshooting pixmap leak.
1334 convert pixmap to pixbuf after snapshooting, to compensate for different
1335 bit depths (occurs when snapshooting ARGB visuals and displaying the
1336 pixmap in an RGB visual).
1338 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1340 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1341 need for it. enqueue damage notification as GDK_DAMAGE events
1342 for each painting redirection at the start of the event queue.
1343 consider windows with a redirection fully visible when invalidating,
1344 and when updating from backing store. cleaned up stale variables.
1346 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1348 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1349 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1350 tree, drawingarea, text, handlebox, etc.
1351 clip the redirected window hierarchy to window sizes, the visible
1352 rectangles don't need to be taken into account here.
1353 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1354 in case pixmap visuals could mismatch.
1356 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1361 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1362 of possibly obscured widgets into an offscreen pixmap.
1364 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1365 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1367 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1369 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1370 implementations here, adapted them to propagate redirects to child windows.
1371 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1372 clipped to visible region. queue GDK_DAMAGE event delivery.
1373 gdk_window_redirect_to_drawable(): install window painting redirection.
1374 gdk_window_remove_redirection(): remove previously installed redirection.
1376 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1377 renamed _gdk_window_new() and _gdk_window_reparent().
1379 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1380 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1382 * gdk/gdkevents.h: added GDK_DAMAGE event type.
1384 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1386 * gdk/gdkinternals.h: added internal prototypes.
1388 2008-05-21 Michael Natterer <mitch@imendio.com>
1390 * gtk/gtkalignment.c
1394 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1396 2008-05-20 Matthias Clasen <mclasen@redhat.com>
1398 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1401 Patch by Marek Kasik.
1404 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1406 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1408 * modules/printbackends/file/gtkprintbackendfile.c:
1409 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1410 get_default_page_size.
1412 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1413 select its default paper size.
1415 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1416 use the printer default.
1418 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1419 if we don't have a default page setup.
1421 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
1423 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1424 can accept NULL for none. Fixes bug #533920.
1426 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
1428 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1429 gtk_spin_button_update): Remove two chunks of duplicated
1432 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
1434 * reverted recent unapproved changes by Yair Hershkovitz,
1435 regarding: Bug 503071 – Application direction changes to right
1436 to left even if theres no translation.
1438 2008-05-19 Richard Hult <richard@imendio.com>
1440 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1441 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1442 SetSystemUIMode instead of hiding and showing the menubar.
1444 2008-05-19 Federico Mena Quintero <federico@novell.com>
1446 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1447 can't be resized until you expand the "Browse for other folders"
1450 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1451 Removed the "get_resizable" method.
1452 (_gtk_file_chooser_embed_get_resizable): Removed.
1454 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1456 * gtk/gtkfilechooserdefault.c: Likewise.
1458 * gtk/gtkfilechooserdialog.c
1459 (file_chooser_widget_default_size_changed): Act as if the dialog
1460 were always resizable.
1462 2008-05-19 Michael Natterer <mitch@imendio.com>
1464 * gtk/gtkcellrenderer.c
1465 * gtk/gtkcellrendererpixbuf.c
1466 * gtk/gtkcellrenderertoggle.c
1467 * gtk/gtkimagemenuitem.c
1468 * gtk/gtkmenutoolbutton.c
1469 * gtk/gtkoptionmenu.c
1470 * gtk/gtkstatusbar.c
1471 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1473 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
1475 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1476 g_disable_setlocale().
1478 2008-05-17 Richard Hult <richard@imendio.com>
1480 * gdk/quartz/gdkwindow-quartz.c:
1481 (gdk_window_impl_quartz_invalidate_maybe_recurse):
1482 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1483 of g_idle_add. Add a temporary check if the window is already in
1484 the updates list, since update_area currently doesn't always match
1485 the backend's state, see bug #530801.
1487 2008-05-13 Tor Lillqvist <tml@novell.com>
1489 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1491 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1492 the "packet rate" of devices to zero instead of 50. This is
1493 reported to help significantly with Wacom tablet behaviour in GIMP
1494 and Inkscape. Patch from Thomas Bleeker.
1496 2008-05-12 Richard Hult <richard@imendio.com>
1498 * gdk/quartz/gdkevents-quartz.c:
1499 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1500 as it's no longer necessary; instead the added quartz API to get
1501 the nsevent from an event should be used. Also move the global
1502 filter up so it's done before the check for window-less events.
1504 2008-05-12 Tor Lillqvist <tml@novell.com>
1506 Bug 532558 - Cannot build dll when using separate builddir
1509 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1512 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
1514 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1516 2008-05-12 Tor Lillqvist <tml@novell.com>
1518 Bug 532059 - Leak in win32 clipboard manipulation
1520 * gdk/win32/gdkselection-win32.c
1521 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1524 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
1526 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1527 gettext_initialization only once.
1529 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1530 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
1531 with the extended functionality that was in the removed dpgettext().
1533 * gtk/gtkaccellabelc:
1535 * gtk/gtkimmulticontext.c:
1536 * gtk/gtkactiongroup.c:
1537 * gtk/gtkintl.h: use glib i18n api.
1539 2008-05-08 Richard Hult <richard@imendio.com>
1541 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1542 currently invalidated region. Fixes bug #532048, patch by Yevgen
1545 2008-05-08 Richard Hult <richard@imendio.com>
1547 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1548 fd's revents, not the first one. Fixes bug #531056, spotted by
1551 2008-05-07 Tor Lillqvist <tml@novell.com>
1553 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1556 2008-05-05 Matthias Clasen <mclasen@redhat.com>
1558 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1559 more printer status information in the print dialog.
1561 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1562 printer-state-reasons into suitable messages and icons.
1564 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1565 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1566 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1568 * gtk/gtkiconfactory.c:
1569 * gtk/gtkstock.h: New stock icons to display printer state.
1571 2008-05-07 Michael Natterer <mitch@imendio.com>
1573 * gdk/gdkinternals.h
1575 * gdk/directfb/gdkevents-directfb.c
1576 * gdk/quartz/gdkevents-quartz.c
1577 * gdk/win32/gdkevents-win32.c
1578 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1579 order parameters src,dest and make src const.
1581 2008-05-06 Richard Hult <richard@imendio.com>
1583 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1584 * gdk/gdkinternals.h: Add private backend data to events, and
1585 handle it when copying/freeing events. Currently only needed in
1588 * gdk/directfb/gdkevents-directfb.c:
1589 * gdk/quartz/gdkevents-quartz.c:
1590 * gdk/win32/gdkevents-win32.c:
1591 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1592 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1593 directfb. Implement for quartz. Part of fixing bug #473822.
1595 2008-05-05 Richard Hult <richard@imendio.com>
1597 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1598 framework if there is one.
1600 2008-05-05 Michael Natterer <mitch@imendio.com>
1602 * gtk/gtkcellrenderercombo.h
1603 * gtk/gtkcellrendererspin.h
1604 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1607 * gtk/gtkfilechooserdialog.h
1608 * gtk/gtkfilechooserwidget.h
1609 * gtk/gtkscalebutton.h: reorder instance and class structs to be
1612 2008-05-04 Richard Hult <richard@imendio.com>
1614 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1615 gdk_unicode_to_keyval() worked before using the result. Makes
1616 function keys work, bug #530156. Also add F16 to the function key
1619 2008-05-04 Richard Hult <richard@imendio.com>
1621 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1622 semicolon after if statement. Fixes bug #530963, patch from Yevgen
1625 2008-05-02 Michael Natterer <mitch@imendio.com>
1627 * gtk/gtk.h: add 15 files that were missing (they all got included
1628 indirectly by including gtk.h, so should have been here in the
1631 2008-05-02 Michael Natterer <mitch@imendio.com>
1633 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1635 2008-05-01 Richard Hult <richard@imendio.com>
1637 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1638 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1640 2008-05-01 Matthias Clasen <mclasen@redhat.com>
1642 * modules/imput/imthai.c: Register the right translation domain.
1644 2008-04-30 Matthias Clasen <mclasen@redhat.com>
1646 Bug 529386 – Printing options hidden by blacklisted option
1648 * modules/printbackend/cups/gtkprintbackendcups.c
1649 (cups_printer_get_options): Fix the blacklist handling.
1650 Patch by Marek Kašík.
1652 2008-04-30 Richard Hult <richard@imendio.com>
1654 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1657 2008-04-30 Richard Hult <richard@imendio.com>
1659 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1660 nsevents with the gdk lock held, fixes deadlock when doing manual
1661 window resizing with threading enabled.
1663 2008-04-30 Richard Hult <richard@imendio.com>
1665 * gdk/quartz/gdkevents-quartz.c:
1666 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1667 Alt to Alt and Cmd to Meta. This is not only more logical but also
1668 makes it easier to have Mac-like behavior.
1670 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
1672 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1673 painting the flat box instead of recalculating it. (#437493,
1676 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
1678 Bug 529841 – incorrect position in directfb
1680 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
1682 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
1684 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1686 2008-04-25 Michael Natterer <mitch@imendio.com>
1688 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1689 <pango/pango-layout.h>.
1691 * gtk/gtkiconfactory.c
1695 * gtk/queryimmodules.c: remove inclusion of single files from
1696 pango, none of them was actually needed.
1698 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1699 <pango/pango-utils.h>.
1701 2008-04-25 Michael Natterer <mitch@imendio.com>
1703 * gdk/gdkfont.h: include <pango/pango.h> instead of
1704 <pango/pango-font.h>.
1706 2008-04-25 Michael Natterer <mitch@imendio.com>
1708 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1711 2008-04-21 Michael Natterer <mitch@imendio.com>
1713 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1714 crashing when NULL pointers get passed.
1716 2008-04-18 Michael Natterer <mitch@imendio.com>
1718 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1719 here have the same style.
1721 2008-04-18 Michael Natterer <mitch@imendio.com>
1723 * gtk/gtkicontheme.h
1724 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1727 * gtk/gtkbuilderparser.c
1728 * gtk/gtklinkbutton.c
1730 * gtk/gtkrecentchooserdefault.c
1731 * gtk/gtkrecentchoosermenu.c
1732 * modules/input/gtkimcontextthai.c: remove inclusion of single
1733 files from gdk, none of the includes was actually needed.
1735 2008-04-18 Michael Natterer <mitch@imendio.com>
1737 * gdk/gdk.h: reorder one include so they are all alphabetical.
1739 2008-04-18 Michael Natterer <mitch@imendio.com>
1741 * modules/printbackends/cups/gtkprintercups.[ch]
1742 (gtk_printer_cups_get_ppd_name): change return value and local
1743 variable to const gchar* to fix warning about discarding const
1746 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1748 * gtk/gtkrecentmanager.c:
1749 (gtk_recent_manager_set_filename): Keep the default storage
1750 file in $HOME, as we don't have a migration code in place yet.
1752 2008-04-18 Michael Natterer <mitch@imendio.com>
1754 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1755 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1757 2008-04-17 Michael Natterer <mitch@imendio.com>
1759 * gtk/gtkiconfactory.c (get_default_icons): register the
1760 GTK_STOCK_PAGE_SETUP icon.
1762 2008-04-17 Michael Natterer <mitch@imendio.com>
1764 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1765 g_return_if_fail(tooltips != NULL);
1767 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1769 * gtk/gtkwindow.c: Chain up in buildable_finish()
1771 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1772 cases where g_path_get_dirname() returns "."
1774 * docs/reference/gtk/tmpl/gtklabel.sgml,
1775 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1776 for the <attributes> tags on GtkLabel
1778 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1780 * gtk/gtkrecentmanager.c:
1781 (gtk_recent_manager_real_changed): Fix last commit, and
1782 complete the gtk-recent-files-max-age semantics: if the
1783 property is set to 0 then purge the list.
1785 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1787 Bug 488507 – boundless growth of .recently-used.xbel file
1788 slows down applications
1790 * gtk/gtkrecentmanager.c:
1791 (gtk_recent_manager_init),
1792 (gtk_recent_manager_real_changed),
1793 (gtk_recent_manager_set_filename),
1794 (gtk_recent_manager_clamp_to_age): Clamp the recently
1795 used resources list by the age of its items, using
1796 the newly added GtkSettings property.
1798 * gtk/gtksettings.c (gtk_settings_class_init): Add the
1799 gtk-recent-files-max-age property, controlling the
1800 maximum age of the items in the recently used resources
1803 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1805 * gtk/gtkrecentmanager.c:
1806 (gtk_recent_manager_add_item_query_info),
1807 (gtk_recent_manager_add_item): Emit the ::changed signal
1808 at the end of the asynchronous MIME type query.
1810 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1812 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1815 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1816 changes in the recently used resources storage file, and
1817 drop the timeout-based poll.
1819 * ChangeLog: Fix attribution of the patch of the previous
1822 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1824 Bug 506062 – gtk_recent_manager_add_item does not detect mime
1827 * configure.in: Depend on gio-2.0
1829 * gtk/gtkrecentmanager.c:
1830 (gtk_recent_manager_add_item_query_info_cb),
1831 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1832 query the MIME type of the passed URI (based on a patch by
1835 2008-04-11 Carlos Garnacho <carlos@imendio.com>
1837 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1838 page to visited page list instead of next current page. (#527466,
1839 patch by Marcus Brinkmann)
1841 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
1843 * gtk/gtklabel.c: Added <attributes> / <attribute>
1844 custom tags to parse pango attributes into labels (#527486).
1846 * tests/buildertest.c: Added tests for GtkLabel custom
1849 2008-04-10 Carlos Garnacho <carlos@imendio.com>
1851 * gtk/gtknotebook.c (hide_drag_window): Do not call
1852 gtk_widget_set_parent_window(), using widget->window instead of NULL
1853 to unset is the wrong thing, and gtk_widget_unparent() will already
1854 take care of this (#467698, patch by Sébastien Granjoux)
1856 2008-04-08 Tor Lillqvist <tml@novell.com>
1858 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1859 these functions with G_MODULE_EXPORT.
1861 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1863 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1864 (gtk_file_system_volume_render_icon):
1865 Fix fallback icon rendering size
1867 2008-04-08 Michael Natterer <mitch@imendio.com>
1869 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1870 touchscreen-mode keynav corner case: when navigating to the parent
1871 menu, make sure we don't close two menus at the same time in case
1872 the deepest open menu has no selectable items.
1874 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
1876 * gtk/gtkwidget.c: Clarified a g_warning message regarding
1877 parsing accelerators from builder files.
1879 2008-04-03 Cody Russell <bratsche@gnome.org>
1881 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1882 of the block. (#526021, reported by Kazuki IWAMOTO)
1884 2008-04-03 Tor Lillqvist <tml@novell.com>
1886 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1889 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1890 workaround for a specific kind of screwed up locale setting.
1892 2008-04-02 Matthias Clasen <mclasen@redhat.com>
1894 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1895 colormaps. Found by Daniel Berrange.
1897 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
1899 * tests/autotestfilechooser.c: Cover
1900 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1901 name. (#346058, Joe Halliwell)
1903 2008-04-02 Federico Mena Quintero <federico@novell.com>
1905 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1906 chooser incorrectly substitutes and expands a ~ when you type it
1907 in the filename entry.
1909 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1910 basenames result in a slash-terminated pathname.
1911 gtk_file_system_unix_parse() is correct, but it was splitting
1912 "/home/username" into path="/home" and file_part="username", which
1913 is not what the caller wants when the entry has just "~" or
1916 2008-04-02 Tor Lillqvist <tml@novell.com>
1918 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1919 and gtksearchenginetracker.c on Windows.
1921 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1924 2008-04-01 Cody Russell <bratsche@gnome.org>
1926 * configure.in: Bump required Cairo to 1.5.2.
1928 * gtk/gtkprintoperation-win32.c: Add support for using the new
1929 cairo_win32_printing_surface for printing. Also fixed to use
1930 cairo_surface_show_page(). (#488833 and #521178)
1932 2008-03-31 Cody Russell <bratsche@gnome.org>
1934 * demos/gtk-demo/printing.c (draw_page): Move down each line in
1935 units of text_height rather than in units of data->font_size.
1936 (totally awesome catch by Dom Lachowicz)
1938 2008-03-28 Richard Hult <richard@imendio.com>
1940 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1941 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1942 event to the mainloop and don't generate one at all if the
1943 toplevel didn't change. Use the actual window and not the toplevel
1944 as event window. These changes make the generated crossing events
1945 match the X11 behavior and fixes issues with e.g. tooltips,
1946 comboboxes and menus.
1948 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1949 the view has no window, it will be updated as soon as it's put
1952 * gdk/quartz/gdkwindow-quartz.c:
1953 (_gdk_quartz_window_debug_highlight): Make it possible to track
1954 multiple windows with debug highlighting.
1955 (show_window_internal): Remove workaround for tooltips and popups
1956 that is no longer needed with the above changes.
1958 2008-03-26 Federico Mena Quintero <federico@novell.com>
1960 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1961 helper function; factored out from the functions that commit the
1962 current suggested autocompletion and that refresh the entry's paths.
1963 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1964 (_gtk_file_chooser_entry_get_file_part): Likewise.
1965 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1966 makes the entry have the correct paths when *not* using any form
1967 of completion (and makes the file chooser work when clicking the
1970 2008-03-25 Richard Hult <richard@imendio.com>
1972 * gdk/quartz/gdkevents-quartz.c:
1973 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1974 can't find a matching window.
1976 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1977 comment, and only trigger an event for non-temp windows, fixes
1978 problems for tooltips caused by the workarounds for the
1979 problematic tracking rect API.
1981 2008-03-25 Richard Hult <richard@imendio.com>
1983 * gdk/quartz/gdkwindow-quartz.c:
1984 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1985 check that we have a toplevel before accessing it.
1987 2008-03-24 Tor Lillqvist <tml@novell.com>
1989 Bug 524151 - Dragging of 0-byte files results in an empty filename
1990 on Windows XP and above
1992 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1993 being empty first. For some reason ISHellLink and IPersistFile
1994 succeeds in interpreting empty files as shortcuts, claiming the
1995 target of the shortcut is an empty path.
1997 Change the function to take the wide character file name that the
1998 caller already has anyway, to avoid a superfluous conversion from
2001 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
2003 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
2004 against NULL pointer. (#467051, Gian Mario Tagliaretti)
2006 2008-03-23 Cody Russell <bratsche@gnome.org>
2008 * gdk/win32/gdkevents-win32.c (show_window_recurse):
2009 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
2010 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
2011 menus from a maximized window would force the window to restore
2014 2008-03-23 Johan Dahlin <johan@gnome.org>
2016 * gtk/gtk-builder-convert:
2017 Properly convert GtkImageMenuItems which use stock labels but don't
2019 (#523932, Brian Pepple)
2021 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
2023 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
2024 New function implements GtkCellLayoutClass::get_cells. (#523787)
2026 2008-03-22 Tor Lillqvist <tml@novell.com>
2028 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
2030 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
2031 GDK_THREADS_LEAVE() call. Approved by mclasen.
2033 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
2035 * gtk/gtkexpander.c (gtk_expander_get_label):
2036 gtk_label_get_label() should be used instead of
2037 gtk_label_get_text(). (#353088, Xan Lopez)
2039 2008-03-21 Tor Lillqvist <tml@novell.com>
2041 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
2042 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
2043 gdip-pixbuf-loader module.
2045 * configure.in: Add switch --disable-gdiplus-loaders that disables
2046 building of the GDI+ loaders.
2048 When including loaders in the gdk-pixbuf library, and building
2049 GDI+ loaders, either build in all the GDI+ loaders or none of
2050 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
2051 signal building them in.
2053 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
2054 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
2055 indicate whether they should be built-in.
2057 For the rest of the changes, see gdk-pixbuf/ChangeLog.
2059 2008-03-20 Tor Lillqvist <tml@novell.com>
2061 * gtk/Makefile.am: Revert accidental change that went in as part
2062 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
2063 Darwin. On Windows one has to use a newer GNU grep that has -o,
2064 for instance the one from gnuwin32, instead of the oldish one in
2065 MSYS that doesn't have -o.
2067 2008-03-20 Tor Lillqvist <tml@novell.com>
2069 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
2070 pass NULL for %s to g_message().
2071 (main): Drop unnecessary call to gtk_widget_destroy().
2073 2008-03-20 Tor Lillqvist <tml@novell.com>
2075 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
2077 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
2078 in one dimension, or centered in case it doesn't fit.
2079 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
2082 2008-03-18 Tor Lillqvist <tml@novell.com>
2084 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
2086 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
2087 G_MODULE_ENTRY decoration can be put in a more correct place.
2089 2008-03-18 Sven Neumann <sven@gimp.org>
2091 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
2092 alternative button order on the password dialog.
2094 2008-03-18 Tor Lillqvist <tml@novell.com>
2096 Bug 99192 - Add --with-include-input-modules
2098 * configure.in: Add --with-included-immodules switch. Handled in a
2099 similar way as the --with-included-loaders switch. For each input
2100 method module foo: Collect the list of input modules to be built
2101 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
2102 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
2103 Define Automake conditionals INCLUDE_IM_FOO.
2105 * modules/input/Makefile.am: For modules to be included in libgtk,
2106 build a static library.
2108 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
2109 gdk-pixbuf to get unique names for the functions called by libgtk
2110 in the included case. Use G_MODULE_EXPORT in the non-included case
2111 so that we don't unnecessarily export unneeded random global
2114 * gtk/Makefile.am: Build the included modules and link them into libgtk.
2116 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
2117 copy/paste leftover mentions of "themes" in comments.
2119 2008-03-18 Tor Lillqvist <tml@novell.com>
2121 * tests/Makefile.am: Build testmountoperation only on Unix for now.
2123 2008-03-17 Christian Kellner <gicmo@gnome.org>
2125 Implement GtkMountOperation, a subclass of GMountOperation
2126 to be used with gio wherever there is the need to ask the
2127 user for credentials or questions while mounting a volume.
2130 * gtk/gtkmountoperation.c:
2131 * gtk/gtkmountoperation.h:
2132 Implement GtkMountOperation.
2134 * gtk/gtk.h: Add gtkmountoperation.h
2135 * gtk/Makefile.am: Add gtkmountoperation.[hc]
2136 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
2137 * tests/testmountoperation.c: Test program for it.
2138 * tests/Makefile.am: Add testmountoperation.
2140 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
2142 * gtk/gtkcontainer.c: Properly document
2143 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
2145 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2147 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
2148 style names for the ComboBox thickness style
2150 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2152 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
2153 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
2154 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
2155 intelligent separation for the xp theming engine and the classic
2156 theme while drawing the GtkComboBox button. combobox_draw_arrow
2157 is not used anymore, commented. The style has been updated to fix
2158 border/thickness glitches in the combobox according to the fixes
2159 commited regarding bug #521442. (bug #461805)
2161 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2163 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
2164 now aware of both the combobox and frame (if has-frame is set)
2165 thickness and border. (bug #521442)
2167 2008-03-15 Andre Klapper <a9016009@gmx.de>
2169 * configure.in: Added "si" to ALL_LINGUAS.
2171 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2173 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
2174 Set window type hint on the search popup. (#522279, Danny Baumann)
2176 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2178 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
2179 appropriate. (#521934, Huang Peng)
2181 2008-03-14 Michael Natterer <mitch@imendio.com>
2184 * gtk/gtkbuilderprivate.h
2185 * gtk/gtkfilechoosersettings.c
2186 * gtk/gtksearchenginesimple.c
2187 * gtk/tests/liststore.c
2188 * gtk/tests/treestore.c: remove single-file includes of GLib
2189 headers or replace them by <glib.h> where needed.
2191 2008-03-14 Michael Natterer <mitch@imendio.com>
2193 * gtk/gtkadjustment.c: coding style cleanup.
2195 (gtk_adjustment_set_property): no need to call g_object_notify()
2196 on the set properties.
2198 Implement GObject::dispatch_properties_changed() and make sure we
2199 emit "changed" when anything but the "value" property changes.
2201 2008-03-14 Tor Lillqvist <tml@novell.com>
2203 * gdk/win32/gdkevents-win32.c: Drop the support for the
2204 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
2205 Win95. Thanks to mitch for noticing this obsolete code.
2207 2008-03-14 Cody Russell <bratsche@gnome.org>
2209 * examples/scribble-xinput/scribble-xinput.c: Changed
2210 'void int main()' to 'int main()'. (#522211, Liqing Huang)
2212 2008-03-14 Richard Hult <richard@imendio.com>
2214 * gdk/quartz/gdkwindow-quartz.c:
2215 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
2216 only flush the toplevel once per update.
2218 2008-03-13 Federico Mena Quintero <federico@novell.com>
2220 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
2221 Set the mouse cursor of the feedback window to invisible, so that
2222 we respect GtkEntry's invisible cursor while typing.
2224 2008-03-13 Federico Mena Quintero <federico@novell.com>
2226 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
2227 the feedback window at entry_height/2 pixels to the right of the
2228 cursor, for a cheap "M-width / 2" spacing.
2230 2008-03-13 Sven Neumann <sven@gimp.org>
2232 * gtk/gtkfilechooserdefault.c
2233 * gtk/gtkprintunixdialog.c: set alternative button order for
2234 overwrite confirmation dialogs (bug #522191).
2236 2008-03-13 Sven Neumann <sven@gimp.org>
2238 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
2239 (overwrite_confirmation_dialog): added some line-breaks for
2242 2008-03-12 Federico Mena Quintero <federico@novell.com>
2244 Rework the way completion works in GtkFileChooserEntry. Fixes
2245 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
2246 Tab completion should work even if the cursor is not at the end of
2249 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
2252 We distinguish between two cases:
2254 - autocompletion - happens only in the Open modes by
2255 inserting and selecting the common prefix as you type.
2257 - explicit completion - happens when you hit Tab.
2259 When some type of completion needs to happen, the entry first
2260 parses its input and sees if it needs to initiate a folder load.
2261 Completion will not happen until the folder finishes loading.
2263 If the folder is already completely loaded, then completion is
2264 performed immediately. Otherwise, the entry queues a pending
2265 completion and starts loading the new folder (or waits until the
2266 current folder is completely loaded).
2268 Tab completion is allowed to happen even if the cursor is not at
2269 the end of the entry.
2271 There is a new feedback mechanism for explicit completion, so that
2272 you will get an Emacs-like tip whenever there are ambiguities in
2273 completion, no matches, etc. (This needs to be polished so that
2274 we support RTL entries and all the fancy Pango layout in GtkEntry).
2276 The only remaining thing to fix is the popup suggestion window.
2277 Unfortunately, GtkEntryCompletion does not let us do what we want,
2278 and will need further changes.
2280 2008-03-12 Tor Lillqvist <tml@novell.com>
2282 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
2284 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
2285 for the TaskbarCreated message in the window procedure for the
2286 dummy "tray observer" window we create. When we get a
2287 TaskbarCreated message, iterate over the status icons and re-add
2288 them to the task bar, and update them by calling
2289 gtk_status_icon_update_image().
2291 Move some ifdefs around to avoid unused functions.
2293 2008-03-12 Tor Lillqvist <tml@novell.com>
2295 * config.h.win32.in: Update to match what configure produces.
2297 2008-03-12 Jens Granseuer <jensgr@gmx.net>
2299 * modules/printbackends/cups/gtkprintbackendcups.c:
2300 (cups_printer_prepare_for_print): Don't define variables in the
2301 middle of a block. (#522067)
2303 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2305 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
2306 dialog for print-to-file. (#474302, Marek Kašík)
2308 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2310 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2311 (#469210, Wouter Bolsterlee)
2313 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2315 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
2316 paper_size here. (#488820, Morten Welinder)
2318 2008-03-12 Michael Natterer <mitch@imendio.com>
2320 * acconfig.h: remove this deprecated file.
2322 * configure.in: added comments to all instances of AC_DEFINE() so
2323 config.h can be completely generated from configure.in.
2325 2008-03-12 Michael Natterer <mitch@imendio.com>
2327 * modules/printbackends/cups/gtkprintbackendcups.c: include
2328 <glib/gstdio.h> for g_fopen().
2330 2008-03-11 Matthias Clasen <mclasen@redhat.com>
2332 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2333 g_ascii_formatd when formatting custom paper sizes, since
2334 cups doesn't handle , as decimal separator. (#521548)
2336 2008-03-11 Tor Lillqvist <tml@novell.com>
2338 Bug 469868 - Filenames with colon ":" are not saved correctly
2340 * gtk/gtkfilechooserentry.c (insert_text_callback)
2341 (delete_text_callback) [Win32]: New functions to make sure that
2342 colons used otherwise than as a separator after a drive letter, or
2343 characters that are always illegal in file names, are rejected on
2344 input. This means that the GTK+ file chooser can't be used to
2345 input full names of alternate data streams, but oh well. There are
2346 still more checks that could be done on the file names, see the
2347 bug report. But this will do for now.
2348 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2350 2008-03-11 Jordi Mallach <jordi@sindominio.net>
2352 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2354 2008-03-11 Michael Natterer <mitch@imendio.com>
2356 * gdk/linux-fb/*: removed linux-fb backend files.
2360 * docs/README.linux-fb
2361 * gtk/Makefile.am: remove remaining traces of linux-fb.
2363 * gtk/gtkwindow-decorate.c: same here. There is some code that
2364 calls into linux-fb to set window move/resize callbacks. I put it
2365 in #if 0 as a reminder because we did use decorated windows with
2366 the DirectFB backend and it did work, so I don't really know why
2367 this code is needed or how it could work with DirectFB back then.
2368 The file does actually compile now if DECORATE_WINDOWS is defined,
2369 but I didn't test with DirectFB to check if it does anything.
2371 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
2373 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2374 Take thickness into account in the size allocation of the child widgets in
2378 2008-03-11 Richard Hult <richard@imendio.com>
2380 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2382 2008-03-10 Tor Lillqvist <tml@novell.com>
2384 * tests/teststatusicon.c (do_exit, popup_menu): Add the
2385 possibility to test what happens if the process just calls exit()
2386 without any orderly cleanup of GTK+.
2388 2008-03-10 Tor Lillqvist <tml@novell.com>
2390 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2392 2008-03-10 Tor Lillqvist <tml@novell.com>
2394 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2396 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2397 New debugging output function that decodes a set of WS_* bits.
2399 * gdk/win32/gdkprivate-win32.h: Declare it.
2401 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2402 New function that enables or disables one menu entry in the system
2403 menu of a top-level window. (The corresponding decoration will
2404 then also be enabled or disabled (grayed).)
2406 (update_style_bits): Do as the comment says and don't try to
2407 update the window style based on the GdkWMFunctions set for the
2410 (update_system_menu): New function that enables or disables the
2411 system menu entries based on a window's stored set of
2414 (gdk_window_set_functions): Call update_system_menu() instead of
2415 update_style_bits().
2417 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
2419 * README.in: Reword the 2.14 release notes entry about the
2420 deprecation of the gtkitemfactory.h header, and fix typos
2423 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
2425 * modules/engines/ms-windows/msw_style.c (draw_shadow):
2426 Do not draw frame if parent if combobox.
2428 Uses scrollbar width system metrics for combobox button.
2429 Fixes #461805 for XP theme engine.
2431 2008-03-07 Johan Dahlin <johan@gnome.org>
2434 * gtk/gtkbuilderparser.c:
2435 * gtk/gtkbuilderprivate.h:
2436 * gtk/gtkiconfactory.c:
2437 * tests/buildertest.c:
2438 - Treat enums like enums and not values
2439 - Avoid invalid free, in case of more than two sources
2440 - Add better error messages
2441 - Add much improved tests
2442 (#520979, Christian Persch)
2444 2008-03-07 Carlos Garnacho <carlos@imendio.com>
2446 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2449 2008-03-06 Federico Mena Quintero <federico@novell.com>
2451 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2452 GtkFileChooserDialog should set a default response button if the
2453 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
2455 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2456 function, refactor from where there was duplicated code.
2457 (gtk_file_chooser_dialog_map): Look at the buttons in our
2458 action_area. If the response ID for a button is one of the stock
2459 ones, make it the default response button.
2461 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2463 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2465 * gtk/gtkbuilderprivate.h:
2466 * gtk/gtkiconfactory.c:
2467 * tests/buildertest.c:
2468 Implement GtkBuildable on GtkIconFactory, to make
2469 it possible to register custom stock icons.
2472 2008-03-06 Johan Dahlin <johan@gnome.org>
2476 * gtk/gtkstyle.c: npoints->n_points.
2477 * gtk/gtktestutils.h: widget->spinner
2478 * gtk/gtktestutils.c: argc->argcp, argv->argvp
2480 2008-03-06 William Lachance <wrlach@gmail.com>
2482 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
2483 string localizable (as it should be).
2485 2008-03-06 William Lachance <wrlach@gmail.com>
2487 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2488 the time for today's date. It's redudant. (see bug #410517).
2490 2008-03-06 Xan Lopez <xan@gnome.org>
2492 * gtk/gtkfixed.c: fix typo in documentation.
2494 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2496 * gtk/gtkitemfactory.h:
2497 * gtk/gtktypeutils.h:
2498 Move GtkTranslateFunc to gtktypeutils.h so we can completely
2499 deprecate gtkitemfactory.h.
2501 * gtk/gtkactiongroup.h:
2503 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2506 Add a note describing this slight incompatible change
2508 2008-03-06 Johan Dahlin <johan@gnome.org>
2510 * gtk/gtkpreview.h: Avoid double-deprecation.
2512 2008-03-06 Michael Natterer <mitch@imendio.com>
2515 * gtk/Makefile.am: move the remaining deprecated widgets to the
2516 separate sections and replaced spaces by tabs in Makefile.am
2518 2008-03-05 Johan Dahlin <johan@gnome.org>
2520 * configure.in: Add --disable-cups option.
2521 (#513826, Alberto Ruiz)
2525 Separate broken and deprecated sources and headers into different sections
2527 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2529 2008-03-05 Kristian Rietveld <kris@imendio.com>
2531 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2532 short-circuit in case an empty root level would be build (and thus
2533 directly destroyed) if no virtual root has been set.
2535 2008-03-04 Matthias Clasen <mclasen@redhat.com>
2537 * modules/printbackends/cups/gtkprintbackendcups.c:
2538 Honor cups user default options from ~/.cups/lpoptions
2539 (#469210, Stijn Hoop)
2541 2008-03-04 Michael Natterer <mitch@imendio.com>
2544 * gtk/gtkcolorbutton.c
2545 * gtk/gtkentrycompletion.c
2546 * gtk/gtkfontbutton.c
2550 * gtk/gtkpreview.c: don't include "gtksignal.h".
2552 * gtk/gtkfilefilter.c
2553 * gtk/gtkrecentchoosermenu.c
2554 * gtk/gtkrecentfilter.c
2555 * gtk/gtktext.c: don't include "gtkobject.h".
2557 2008-03-04 Simos Xenitellis <simos@gnome.org>
2559 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2560 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2562 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
2565 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
2566 file, contains compose sequences that used to exist in
2567 gtk/gtkimcontextsimple.c
2569 * gtk/compose-parse.py: Script to generate compose
2570 sequences from upstream (Xorg).
2572 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
2573 check_algorithmically): New functions. First two search in
2574 gtk_compose_seqs_compact[] for matching compose sequence, third
2575 tries NFC normalisation on incoming compose sequence.
2576 (gtk_im_context_simple_filter_keypress):
2577 Adds searching with check_compact_table(), check_algorithmically().
2579 2008-03-03 Carlos Garnacho <carlos@imendio.com>
2581 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2582 scrollwheel work in GtkPathBar.
2584 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2586 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
2587 an input-only window, event_window, which we'll use to capture
2589 (gtk_path_bar_map): Show the event_window under the rest of the
2590 windows, so it will be a catch-all for unhandled events.
2592 2008-03-03 Sven Neumann <sven@gimp.org>
2594 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2595 typo in the documentation of the GtkFileChooserButtons::file-set
2596 signal (see bug #353196).
2598 2008-03-03 Tor Lillqvist <tml@novell.com>
2600 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2603 2008-03-02 Johan Dahlin <johan@gnome.org>
2605 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
2606 Remove left-over focus_pad variable.
2607 (#490892, Claudio Saavedra)
2609 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2610 (#518166, Matt Kraai)
2612 2008-03-02 Johan Dahlin <johan@gnome.org>
2614 * docs/tutorial/gtk-tut.sgml: Add a missing space
2615 (#517954, Matt Kraai)
2617 2008-03-03 Tor Lillqvist <tml@novell.com>
2619 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2620 the widget is a GtkButton before casting.
2622 2008-03-02 Johan Dahlin <johan@gnome.org>
2624 * configure.in: Compare using = instead of ==, which is portable.
2625 (#490787, Thomas Klausner)
2627 2008-03-02 Johan Dahlin <johan@gnome.org>
2629 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2630 fixes non-C++ build.
2631 (#496032, Nelson Benitez)
2633 2008-02-29 Johan Dahlin <johan@gnome.org>
2635 * demos/gtk-demo/demo.ui:
2636 * gtk/gtkbuilderparser.c:
2637 * gtk/gtkbuilderprivate.h:
2638 * gtk/gtkliststore.c:
2639 * tests/buildertest.c:
2640 Add translatable/context and comment attributes on
2641 <col> tags under a GtkListStore. Refactor parts of the
2642 translation api and make it available inside gtk+ itself.
2643 Update tests and example.
2644 Fixes a part of #518642
2646 2008-02-29 Johan Dahlin <johan@gnome.org>
2649 Add missing g_return_val_if_fail checks for public API.
2651 * gtk/gtkbuilderparser.c:
2652 * gtk/gtkbuilderprivate.h:
2653 Do not use g_error for a few more errors, instead set
2654 the GError sent in through add_from_file/add_from_string.
2655 * tests/buildertest.c:
2656 Add a couple of new parsing tests.
2657 (#519199, Pavel Syomin)
2659 2008-02-29 Federico Mena Quintero <federico@novell.com>
2661 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2662 refreshing an existing folder (i.e. when we are about to reload
2663 its file list), turn off the folder's is_finished_loading flag.
2664 Otherwise callers which do ::is_finished_loading() followed by
2665 ::list_children() will get nothing.
2667 2008-02-29 Cody Russell <bratsche@gnome.org>
2669 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2670 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2672 2008-02-28 Matthias Clasen <mclasen@redhat.com>
2674 * gtk/gtkcalendar.h: Remove trailing comma from enum to
2675 make the compiler happy. (#517295, Sylvain Pasche)
2677 2008-02-27 Michael Natterer <mitch@imendio.com>
2679 * gtk/gtkmenushell.c
2682 * gtk/gtktipsquery.c
2687 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2688 private functions and virtual function implementations.
2690 2008-02-27 Richard Hult <richard@imendio.com>
2692 * gdk/quartz/GdkQuartzView.c:
2693 * gdk/quartz/GdkQuartzView.h:
2694 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2695 Fix performance regression for borderless transparent windows
2698 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
2700 * tests/testgtk.c: Revert back to r19454.
2702 2008-02-27 Sven Neumann <sven@gimp.org>
2704 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2705 Quartz backend, use a native Mac OS X application for the print
2706 preview (bug #518624).
2708 2008-02-26 Michael Natterer <mitch@imendio.com>
2710 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2711 the members of info->tag_stack since they are a) gobjects and b)
2712 not even owned by us, ugh... Fixes crash when deserializing fails.
2714 2008-02-26 Sven Neumann <sven@gimp.org>
2716 * docs/tools/shooter.c (find_toplevel_window)
2717 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2718 argument passed to XQueryTree().
2720 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2722 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2723 don't use beagle_query_add_hit_type.
2725 2008-02-25 Richard Hult <richard@imendio.com>
2727 * gdk/quartz/gdkevents-quartz.c
2728 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2730 2008-02-24 Richard Hult <richard@imendio.com>
2732 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2733 shown without gdk's control when clicking the dock icon.
2735 2008-02-24 Richard Hult <richard@imendio.com>
2737 * gdk/quartz/gdkprivate-quartz.h:
2738 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2739 Use the subtype field for the custom event that is used to wake up
2740 the mainloop so we can have other custom event types.
2742 * gdk/quartz/gdkevents-quartz.c:
2743 (_gdk_quartz_events_trigger_crossing_events):
2744 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2745 crossing events after showing a window if necessary, to work
2746 around problems with the tracking rect API.
2748 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2750 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2751 wrong results on win32 because it doesn't set the printing units,
2752 which affect the transformation of the cairo context
2753 (#347125, Erik van Pienbroek)
2755 2008-02-22 Tor Lillqvist <tml@novell.com>
2757 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2759 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2761 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2762 acceptable for a module to only support the save_to_callback()
2763 method if it marks itself as WRITABLE
2765 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2767 * configure.in: Bump version
2769 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2771 * === Released 2.13.0 ===
2773 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2775 2008-02-21 Tor Lillqvist <tml@novell.com>
2777 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2778 pass the format string to strftime in the C library's locale's
2779 charset, not the system's. Correspondingly, the return value from
2780 strftime() is in the C library's locale's charset. (#509885)
2782 2008-02-20 Richard Hult <richard@imendio.com>
2784 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2785 the right window level and shadow after recreating the window.
2787 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2788 necessary after drawing (bug #517338).
2790 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
2792 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2793 call to g_type_class_unref in case of error. (#517563)
2795 2008-02-18 Sven Neumann <sven@gimp.org>
2797 * gtk/Makefile.am (STOCK_ICONS)
2798 * gtk/stock-icons/16/gtk-page-setup.png
2799 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2800 taken from GNOME icon theme.
2802 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2804 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
2806 * configure.in: Added Kannada (kn) to ALL_LINGUAS
2808 2008-02-17 Johan Dahlin <johan@gnome.org>
2810 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
2811 When converting a stock item based on the label, remove the label property.
2813 2008-02-17 Richard Hult <richard@imendio.com>
2815 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2816 position after showing the window since the window manager might
2817 not place it where we requested in the first places.
2819 2008-02-17 Richard Hult <richard@imendio.com>
2821 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2822 (_gdk_quartz_window_detach_from_parent),
2823 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2824 the toplevel ordering list in all places where the order is
2825 potentially changed. Fixes mouse focus issues for windows with
2826 a transient parent set.
2828 2008-02-17 Richard Hult <richard@imendio.com>
2830 * gdk/quartz/gdkevents-quartz.c
2831 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2832 window when event debugging is enabled.
2834 2008-02-16 Richard Hult <richard@imendio.com>
2836 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2837 to the scroll event (bug #516757, Paul Davis).
2839 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2843 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2845 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
2848 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2850 * gdk/Makefile.am: Don't install private headers. (#463510)
2852 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2853 the installed header gdkprivate.h.
2855 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2857 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2858 a crash with hidden, reorderable tabs. (#513230,
2859 Mike Massonnet, patch by Carlos Garnacho)
2861 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2863 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2864 Warn on duplicate action group names. (#501746, Christian
2867 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2870 * modules/other/gail/tests/Makefile.am:
2871 * modules/other/gail/libgail-util/Makefile.am:
2872 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2873 builds. (#516254, Yevgen Muntyan)
2875 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2880 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
2881 instead of hardcoded target tables. (#516092, Christian Persch)
2883 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2885 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2886 add the same target atom twice. (#516087, Christian Persch)
2888 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2890 * tests/testfilechooser.c: Add a --backend option.
2891 (#516073, Christian Persch)
2893 2008-02-16 Richard Hult <richard@imendio.com>
2895 * gdk/quartz/gdkprivate-quartz.h:
2896 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2899 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2901 * configure.in: Go back to 2.13.0 as version for now,
2902 as there was no consensus to do the jump.
2904 * many other places: Update Since: tags.
2906 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2908 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2910 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2912 2008-02-15 Richard Hult <richard@imendio.com>
2914 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2915 instead of bounds when resizing windows.
2917 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2919 * gdk/x11/gdkkeys-x11.c:
2920 * gdk/x11/gdkcolor-x11.c:
2921 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2923 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2925 * gdk/x11/gdktestutils-x11.c:
2926 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2928 2008-02-15 Tor Lillqvist <tml@novell.com>
2930 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2931 leak Registry key handles. (#516578)
2933 2008-02-14 Richard Hult <richard@imendio.com>
2935 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2936 makeKeyWindow unfortunately doesn't work in all cases, we must use
2937 makeKeyAndOrderFront.
2939 2008-02-14 Richard Hult <richard@imendio.com>
2941 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2942 (gdk_window_hide), (gdk_window_fullscreen),
2943 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2944 the window is hidden.
2946 2008-02-14 Richard Hult <richard@imendio.com>
2948 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2949 resizing to be consistent and to avoid introducing an internal
2950 transform in the view.
2952 2008-02-14 Richard Hult <richard@imendio.com>
2954 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2957 2008-02-14 Johan Dahlin <johan@gnome.org>
2959 * gdk/gdktestutils.h
2960 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2962 2008-02-13 Richard Hult <richard@imendio.com>
2964 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2965 Remove unused variables.
2966 (gtk_clipboard_set_contents),
2967 (gtk_clipboard_get_owner), (clipboard_unset),
2968 (gtk_clipboard_request_targets): Notify the previous clipboard
2969 owner when the owner changes. Fixes bug #493406.
2971 2008-02-13 Richard Hult <richard@imendio.com>
2973 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2974 the return value (return number of colors that failed), and handle
2976 (gdk_colormap_free_colors): Fix typo in comment.
2978 2008-02-13 Kristian Rietveld <kris@imendio.com>
2980 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2981 queue a redraw if the rubber banding has actually been active.
2983 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2985 * gtk/gtkpapersize.c:
2986 * gtk/gtkprintoperation.c:
2987 * gtk/gtkvolumebutton.c:
2988 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2989 out by Behdad Esfahbod.
2991 2008-02-12 Federico Mena Quintero <federico@novell.com>
2993 Merged from gtk-2-12:
2995 Don't focus the file list when shortcuts get activated. This
2996 removes a lot of ambiguity in when the file selection should
2997 change, and makes the overall code flow simpler.
2999 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
3000 file/save dialog clears the filename entry when changing
3003 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
3004 focus should not go to the file list when a shortcut is activated.
3006 * gtk/gtkfilechooserdefault.c
3007 (shortcuts_activate_volume_mount_cb): Don't focus the file list
3008 (shortcuts_activate_get_info_cb): Likewise.
3010 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
3011 the file list (this was the last place where we would focus the
3012 file list explicitly). If you are in the location entry, for
3013 example, you don't want Alt-Home to take you to the file list; you
3014 just want the current folder to change. Thanks to Olle Bergkvist
3015 <olle.bergkvist@yahoo.se> for pointing this out in
3016 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
3017 (focus_browse_tree_view_if_possible): Removed.
3019 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3021 Skip exensions when selecting filenames in the save-as dialog.
3022 (#362516, Carlos Garnacho)
3024 * gtk/gtkfilechooserentry.h:
3025 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
3026 New function to skip the extension part when selecting a filename.
3027 (_gtk_file_chooser_entry_set_base_folder): Use it here.
3029 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
3032 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3034 * gtk/gtkiconview.c: Fix state change reporting for
3035 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
3037 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
3039 * gtk/gtkrecentchooser.c:
3040 (gtk_recent_chooser_class_init): Set the default value of the
3041 :show-not-found property to TRUE, as every implementation sets
3044 * gtk/gtkrecentchooserdefault.c:
3045 (_gtk_recent_chooser_default_init): Sync show_tips to the
3046 default value of the :show-tips property.
3048 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3050 * gtk/gtkclipboard-quartz.c:
3052 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
3055 2008-02-12 Kristian Rietveld <kris@imendio.com>
3057 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
3058 (gtk_tree_view_real_toggle_cursor_row): guard against people
3059 deleting the row in question in the selection-changed callback.
3060 (#514621, Andreas Koehler).
3062 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3064 * gtk/*.c: Unify the handling of various "Enter" keysyms
3065 all over the place. (#515047, Christian Persch)
3067 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3069 * gtk/gtkfilesystemmodel.c:
3071 * gtk/gtkwidget.c: Use g_value_set_static_string() where
3072 appropriate. (#515042, Christian Persch)
3074 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3076 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
3078 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3080 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
3082 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3084 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
3085 (recent_model_sort_drag_data_get):
3086 (search_model_sort_drag_data_get):
3087 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
3088 * gtk/gtkpathbar.c (button_drag_data_get_cb):
3089 Use gtk_selection_data_set_uris() instead of doing it
3090 by hand. (#514890, Christian Persch)
3092 2008-02-12 Michael Natterer <mitch@imendio.com>
3094 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
3095 gtk_get_current_event_time().
3097 2008-02-12 Michael Natterer <mitch@imendio.com>
3099 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
3100 gtk_window_get_key_hash() to get the hash instead of manually
3101 fiddling with quarks and gtk_window_keys_changed(). Also add
3102 g_return_if_fail() to this public function.
3104 2008-02-11 Matthias Clasen <mclasen@redhat.com>
3106 Support keynav in status icons. (#473786, Li Yuan)
3108 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
3110 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
3112 2008-02-11 Kristian Rietveld <kris@imendio.com>
3114 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
3115 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
3116 wrt. link deletion from list; contination of fix for #503569.
3118 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
3120 * gtk/gtkrecentchoosermenu.c:
3121 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
3122 on the placeholder menu item.
3124 * tests/testrecentchoosermenu.c:
3125 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
3126 whether the placeholder menu item gets shown.
3128 2008-02-10 Cody Russell <bratsche@gnome.org>
3130 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
3131 Check the return value of _gtk_file_chooser_get_file_system () for
3132 NULL before passing it to gtk_file_system_path_to_uri ().
3133 (#515667, Francesco Montorsi)
3135 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
3137 * gtk/gtkbuilder.c: Improve the documentation for
3138 gtk_builder_connect_signals. (#514471)
3140 2008-02-10 Matthias Clasen <mclasen@redhat.com>
3142 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
3145 2008-02-08 Cody Russell <bratsche@gnome.org>
3147 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
3148 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
3150 2008-02-08 Richard Hult <richard@imendio.com>
3152 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
3153 delta from the NSEvent for now, generating multiple scroll events
3154 results in a lot of events getting queued up and things get really
3157 2008-02-08 Sven Herzberg <sven@imendio.com>
3159 Adjust the code to match the documentation, examples, "common sense"
3160 and existing applications.
3162 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
3163 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
3166 2008-02-07 Cody Russell <bratsche@gnome.org>
3168 * gdk/win32/gdkevents-win32.c
3169 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
3170 of a block that were causing compile problems on old
3171 compilers. (#515053, reported by Kazuki IWAMOTO)
3173 2008-02-07 Michael Natterer <mitch@imendio.com>
3180 * gtk/gtkmenushell.c
3182 * gtk/gtkoptionmenu.c
3186 * gtk/gtkradiomenuitem.c
3188 * gtk/gtkscrolledwindow.c
3189 * gtk/gtksocket.c: remove g_return_if_fail() from private
3190 functions and virtual function implementations.
3192 2008-02-07 Michael Natterer <mitch@imendio.com>
3195 * gtk/gtkassistant.c
3199 * gtk/gtkcellrenderercombo.c
3202 * gtk/gtkdrawingarea.c
3203 * gtk/gtkentrycompletion.c
3209 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
3210 functions and virtual function implementations.
3212 2008-02-07 Christian Persch <chpe@gnome.org>
3214 * gdk/gdkpixbuf-render.c:
3215 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
3216 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
3217 otherwise there will be random pixel values in the semi-transparent
3218 area of the pixbuf within the mask. Bug #487865.
3220 2008-02-06 Cody Russell <bratsche@gnome.org>
3222 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
3223 otherwise things get wonky when you click on a menu. This fixes
3224 a regression caused in #505928. Thanks to Tor for spotting this
3227 2008-02-06 Michael Natterer <mitch@imendio.com>
3229 * gtk/gtkcontainer.c
3236 * gtk/gtkmenushell.c
3238 * gtk/gtkseparatortoolitem.c
3240 * gtk/gtktextlayout.c
3241 * gtk/gtktoggletoolbutton.c
3242 * gtk/gtktoolbutton.c
3245 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
3248 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3250 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
3251 Allow to store half-open ranges.
3253 2008-02-05 Cody Russell <bratsche@gnome.org>
3255 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
3256 down the stack until we get to a window that is mapped.
3257 Otherwise hiding a window will cause all windows in the app
3258 to be blocked. (#514643)
3260 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3262 * gtk/updateiconcache.c: Ignore images in the toplevel theme
3263 directory, avoiding one source of invalid caches that has been
3264 spotted in the wild.
3266 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3268 * gtk/updateiconcache.c: Fix the previous commit to compile.
3270 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3272 * gtk/updateiconcache.c: Install a printerr handler that
3273 prepends the program name, since gtk-update-icon-cache output
3274 often appears in the middle of other output, e.g. rpm update logs.
3276 2008-02-05 Cody Russell <bratsche@gnome.org>
3278 * gdk/win32/gdkprivate-win32.h
3279 * gdk/win32/gdkevents-win32.c
3280 * gdk/win32/gdkwindow-win32.c
3281 * gdk/win32/gdkwindow-win32.h
3282 * gdk/win32/gdkwin32.h:
3283 Modal window rework. (#455627 and #511111)
3285 2008-02-04 Michael Natterer <mitch@imendio.com>
3287 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
3288 g_return_if_fail() if the cell is not part of the combo instead of
3289 crashing in the next line.
3291 2008-02-01 Cody Russell <cody@jhu.edu>
3293 * modules/engines/ms-windows/xp_theme.[ch]
3294 * modules/engines/ms-windows/xp_theme_defs.h
3295 * modules/engines/ms-windows/msw_rc_style.c
3296 * modules/engines/ms-windows/msw_theme_main.c
3297 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
3298 attempted to stylize more like the rest of the gtk+ stack's code.
3300 2008-02-01 Michael Natterer <mitch@imendio.com>
3302 * tests/testgtk.c: initialize GdkColor structs to fix warning
3303 about uninitialized "pixel" member.
3305 * tests/testactions.c: connect the toolbar_style() callback so it
3306 does something useful and doesn't warn about being defined but not
3309 2008-01-31 Cody Russell <bratsche@gnome.org>
3311 * gdk/win32/gdkevents-win32.c:
3312 Refactored some of the window hiding/showing code from
3313 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
3314 under WM_ACTIVATE was causing the application to go into
3315 a weird state when the user right-clicked on the taskbar
3316 entry of a window that was minimized. (#505928)
3318 2008-01-31 Cody Russell <bratsche@gnome.org>
3320 * gtk/gtkpaned.c (gtk_paned_set_position):
3321 Change queue_resize() to queue_draw(), and add a check for
3322 child2 != NULL in case someone calls this before there is
3323 a child packed in there. (#144269 again)
3325 2008-01-31 Sven Neumann <sven@gimp.org>
3327 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3328 applied patch from Denis Oliver Kropp <dok@directfb.org>.
3330 2008-01-31 Sven Neumann <sven@gimp.org>
3332 * gdk/directfb/gdkdisplay-directfb.c
3333 * gdk/directfb/gdkdrawable-directfb.c
3334 * gdk/directfb/gdkprivate-directfb.h
3335 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3336 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3338 2008-01-31 Richard Hult <richard@imendio.com>
3340 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3341 issues with undecorated windows. Revert the change done on
3342 2008-01-25 and fix it by using the view's bounds instead. The
3343 bounds will always be up to date when setting up the tracking
3344 rect, so this should be more robust.
3346 2008-01-30 Sven Neumann <sven@gimp.org>
3348 * gdk/directfb/gdkdrawable-directfb.c
3349 * gdk/directfb/gdkwindow-directfb.c
3350 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3351 Oliver Kropp <dok@directfb.org>. Adds debug messages using
3352 DirectFB's debugging system
3354 2008-01-30 Sven Neumann <sven@gimp.org>
3356 * gdk/directfb/gdkdirectfb.h
3357 * gdk/directfb/gdkdisplay-directfb.c
3358 * gdk/directfb/gdkdrawable-directfb.c
3359 * gdk/directfb/gdkim-directfb.c
3360 * gdk/directfb/gdkimage-directfb.c
3361 * gdk/directfb/gdkinput-directfb.c
3362 * gdk/directfb/gdkmain-directfb.c
3363 * gdk/directfb/gdkpixmap-directfb.c
3364 * gdk/directfb/gdktestutils-directfb.c
3365 * gdk/directfb/gdkvisual-directfb.c
3366 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3367 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3368 errors and has some cleanups.
3370 2008-01-30 Michael Natterer <mitch@imendio.com>
3372 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3373 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3376 * gtk/updateiconcache.c (add_string): cast const gchar* to
3377 gpointer when inserting in a GHashTable.
3379 * tests/testcalendar.c (calendar_detail_cb): remove const from
3380 return value since it's a newly allocated string.
3382 (calendar_update_details): free the detail.
3384 2008-01-29 Johan Dahlin <johan@gnome.org>
3386 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3388 * demos/gtk-demo/demo.ui:
3389 Move the about dialog to the glade file, add accessible tags
3390 examples to the markup file.
3392 2008-01-28 Paolo Borelli <pborelli@katamail.com>
3394 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3395 layout, fixes #512375.
3397 2008-01-28 Michael Natterer <mitch@imendio.com>
3399 * gtk/gtktextchild.c
3400 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3402 2008-01-28 Michael Natterer <mitch@imendio.com>
3404 * demos/gtk-demo/builder.c (about_activate): use
3405 gtk_about_dialog_set_program_name() instead of the deprecated
3408 2008-01-28 Michael Natterer <mitch@imendio.com>
3410 * gtk/gtktextchild.c
3411 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3414 2008-01-26 Johan Dahlin <johan@gnome.org>
3416 * tests/Makefile.am:
3417 * tests/textbuffertest.c:
3418 Rename textbuffer test and port it to the new test framework
3420 2008-01-25 Johan Dahlin <johan@gnome.org>
3422 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3423 unsetting of GTK_MODULES.
3425 * gtk/gtk-builder-convert
3426 (GtkBuilderConverter._convert_adjustment): Handle the case where
3427 there is no child text node.
3428 (GtkBuilderConverter): Allow xml comments in most places.
3430 2008-01-25 Johan Dahlin <johan@gnome.org>
3432 * gtk/gtk-builder-convert
3433 (GtkBuilderConverter._convert_combobox_items): Remove the items
3434 even if there are no items set.
3435 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3436 signals and tooltips for all menu items subclasses and
3437 GtkImageMenuItem:label.
3438 Makes it possible to fully convert and run Jokosher.glade.
3440 2008-01-25 Johan Dahlin <johan@gnome.org>
3442 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3443 (gtk_widget_buildable_get_internal_child), (free_action),
3444 (free_relation), (gtk_widget_buildable_parser_finished),
3445 (accessibility_start_element),
3446 (gtk_widget_buildable_custom_tag_start),
3447 (gtk_widget_buildable_custom_finished):
3448 Implement accessible support, fixes #454653.
3450 * gtk/gtk-builder-convert:
3451 Add support for migrating old glade files
3453 * tests/buildertest.c: (test_widget), (test_file):
3454 Add accessible tests and imprve the test_file function to display
3455 toplevels and run dialogs.
3457 2008-01-25 Richard Hult <richard@imendio.com>
3459 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3460 didn't change, fixes focus event issues for undecorated windows.
3462 2008-01-25 Richard Hult <richard@imendio.com>
3464 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3465 const and remove unused variables).
3467 2008-01-25 Michael Natterer <mitch@imendio.com>
3470 * gtk/gtkcellrenderer.h
3471 * gtk/gtkimcontext.h
3475 * gtk/gtktreeprivate.h
3476 * gtk/gtktreeviewcolumn.h
3477 * gtk/gtkwidget.h: add const to constant structs which are passed
3478 into GTK+. Also add some forgotten const for const strings.
3482 * gtk/gtkcellrenderer.c
3483 * gtk/gtkimcontext.c
3488 * gtk/gtktreeviewcolumn.c
3489 * gtk/gtkwidget.c: changed accordingly.
3491 2008-01-25 Sven Herzberg <sven@imendio.com>
3493 Reviewed by Johan Dahlin.
3495 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3496 this is called with something that's not a GtkUIManager
3498 2008-01-24 Johan Dahlin <johan@gnome.org>
3500 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
3501 Chain up to parent, so widgets can have internal children.
3503 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3505 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3508 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3510 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3512 Use pango_layout_set_height() for calendar details (#506049).
3514 * configure.in: Require 1.19.3 for pango_layout_set_height().
3515 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3517 2008-01-18 Johan Dahlin <johan@gnome.org>
3519 * gtk/gtk-builder-convert (get_property_node): New method
3520 (GtkBuilderConverter._create_object): Conditionally take a node as
3521 a property value, so don't lose translate/context attributes if they
3523 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3524 property values instead of strings.
3525 (#509153, Erik van Pienbroek)
3527 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
3529 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3531 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3532 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3533 * tests/testcalendar.c: Duplicate calendar details before returning.
3535 2008-01-16 Christian Persch <chpe@gnome.org>
3537 * gtk/gtkwidget.c: Store the event mask and extension event mode
3538 directly in the gobject data pointer, instead of in an allocated
3541 2008-01-16 Michael Natterer <mitch@imendio.com>
3543 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3544 gdk-pixbuf now uses gio functions.
3546 2008-01-16 Matthias Clasen <mclasen@redhat.com>
3548 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3549 the notify::model signal. (#509819, David Zeuthen)
3551 2008-01-15 Michael Natterer <mitch@imendio.com>
3559 * gdk/gdkwindow.h: made more struct pointer and array parameters
3560 const. GDK should now be constified as far as possible without
3561 breaking source compatibility. Includes some minor cleanup like
3562 indentation and s/nfoo/n_foo/ (bug #508544).
3568 * gdk/gdkregion-generic.c
3570 * gdk/directfb/gdkdisplay-directfb.c
3571 * gdk/directfb/gdkwindow-directfb.c
3572 * gdk/quartz/gdkdisplay-quartz.c
3573 * gdk/quartz/gdkwindow-quartz.c
3574 * gdk/win32/gdkdisplay-win32.c
3575 * gdk/win32/gdkwindow-win32.c
3576 * gdk/x11/gdkdisplay-x11.c
3577 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3579 2008-01-14 Michael Natterer <mitch@imendio.com>
3581 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3584 (gtk_rc_parse_any): change variables to const and introduce
3585 another local variable to fix const warnings.
3587 2008-01-14 Michael Natterer <mitch@imendio.com>
3589 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3590 of gdk_screen_get_font_options() to gpointer to get rid of const
3593 2008-01-14 Michael Natterer <mitch@imendio.com>
3595 * tests/testdnd.c (source_drag_data_get): fix another call to
3596 gtk_selection_data_set().
3598 2008-01-14 Michael Natterer <mitch@imendio.com>
3600 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3603 2008-01-14 Michael Natterer <mitch@imendio.com>
3605 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3607 2008-01-14 Michael Natterer <mitch@imendio.com>
3609 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3610 "uris" to guchar* when passing it to gtk_selection_data_set().
3612 2008-01-14 Michael Natterer <mitch@imendio.com>
3618 * gdk/gdkinternals.h
3620 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3621 parameters const (bug #508544).
3626 * gdk/gdkrectangle.c
3627 * gdk/gdkpolyreg-generic.c
3628 * gdk/gdkregion-generic.c
3629 * gdk/directfb/gdkcolor-directfb.c
3630 * gdk/directfb/gdkgc-directfb.c
3631 * gdk/directfb/gdkgeometry-directfb.c
3632 * gdk/directfb/gdkwindow-directfb.c
3633 * gdk/quartz/gdkcolor-quartz.c
3634 * gdk/quartz/gdkgc-quartz.c
3635 * gdk/quartz/gdkgeometry-quartz.c
3636 * gdk/quartz/gdkwindow-quartz.c
3637 * gdk/win32/gdkcolor-win32.c
3638 * gdk/win32/gdkgc-win32.c
3639 * gdk/win32/gdkgeometry-win32.c
3640 * gdk/win32/gdkprivate-win32.h
3641 * gdk/win32/gdkwindow-win32.c
3642 * gdk/x11/gdkcolor-x11.c
3643 * gdk/x11/gdkgc-x11.c
3644 * gdk/x11/gdkgeometry-x11.c
3645 * gdk/x11/gdkmain-x11.c
3646 * gdk/x11/gdkprivate-x11.h
3647 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3649 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3652 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3654 Explain name choice for gtk_tool_item_toolbar_reconfigured.
3656 * gtk/gtktoolitem.c: Add comment expaining name choice for
3657 gtk_tool_item_toolbar_reconfigured.
3659 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3661 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3662 implementations to notify its children, when some aspect of their
3663 configuration changed (#509042).
3665 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3666 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3667 Rename _gtk_tool_item_toolbar_reconfigured.
3669 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3671 Include <gtk/gtktoolshell.h> from gtk.h.
3673 * gtk/gtk.h: Add gtktoolshell.h
3675 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3677 Print angle brackets arround e-mail addresses in the about dialog
3678 (#409520, Mariano Suárez-Alvarez).
3680 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3682 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
3684 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3685 special casing so test widgets are always queues for destruction
3688 * gtk/tests/testing.c: removed bits left-over from testing without
3691 2008-01-10 Tor Lillqvist <tml@novell.com>
3693 * modules/other/gail/libgail-util/Makefile.am
3694 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3697 2008-01-10 Tor Lillqvist <tml@novell.com>
3699 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3700 uses gtkprintunixdialog API.
3702 2008-01-10 Tor Lillqvist <tml@novell.com>
3704 * gdk/win32/gdkdisplay-win32.c
3705 * gdk/win32/gdkglobals-win32.c
3706 * gdk/win32/gdkprivate-win32.h
3707 * gdk/win32/gdkscreen-win32.c
3708 * gdk/win32/gdkwindow-win32.c: Implement
3709 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3710 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3713 2008-01-10 Cody Russell <bratsche@gnome.org>
3715 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3716 Properly ref/unref windows and parents. (#506769)
3718 2008-01-10 Richard Hult <richard@imendio.com>
3720 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3721 (gdk_window_hide), (move_resize_window_internal): Move the
3722 tracking rect workaround from here...
3724 * gdk/quartz/GdkQuartzWindow.c:
3725 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3726 movements during showing/hiding operations. Fixes bug #508516.
3728 2008-01-10 Michael Natterer <mitch@imendio.com>
3730 * gdk/directfb/gdkscreen-directfb.c
3731 (gdk_screen_get_monitor_width_mm)
3732 (gdk_screen_get_monitor_height_mm)
3733 (gdk_screen_get_monitor_plug_name): add these functions to make
3736 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3738 * gtk/gtkrecentchoosermenu.c:
3739 (idle_populate_func), (idle_populate_clean_up): Fix possible
3740 recursion by resetting the idle source id. (#507605, William
3743 2008-01-10 Kristian Rietveld <kris@imendio.com>
3745 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3746 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3747 avoid valgrind warnings. (#507751, patch from Christian Persch).
3749 2008-01-10 Kristian Rietveld <kris@imendio.com>
3751 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3752 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3754 2008-01-10 Kristian Rietveld <kris@imendio.com>
3756 Fix #477175, reported by Juri Pakaste.
3758 * gtk/gtktreeprivate.h:
3759 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3760 tree_view->priv->dy here directly, just calculate the new value
3761 and set it on the adjustment,
3762 (gtk_tree_view_adjustment_changed): add guards to not call
3763 gtk_tree_view_dy_to_top_row() if we are currently in
3764 gtk_tree_view_top_row_to_dy(),
3765 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3766 coordinates, not tree coordinates,
3767 (gtk_tree_view_real_start_editing): add cast.
3769 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3770 position of the editable in the "create new row and start editing"
3773 2008-01-09 Michael Natterer <mitch@imendio.com>
3775 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3778 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3779 * gtk/gtkicontheme.c (theme_list_contexts)
3780 (gtk_icon_theme_lookup_icon)
3781 * gtk/gtkimcontextsimple.c (beep_window)
3782 * gtk/gtklinkbutton.c (set_link_color)
3783 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3786 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3787 variable and add const to another to fix a warning.
3789 2008-01-07 Matthias Clasen <mclasen@redhat.com>
3791 * gtk/gtkassistant.c (remove_page): Be more robust when removing
3792 the current page. (#499951, Andreas Sandberg)
3794 2008-01-06 Johan Dahlin <johan@gnome.org>
3796 * gtk/gtkspinbutton.c: Declare value in the example code for
3797 GtkSpinButton::output, as pointed out by Anders Carlsson.
3799 2008-01-06 Christian Persch <chpe@gnome.org>
3801 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3802 and remove an obsolete event box. Bug #506760.
3804 2008-01-06 Johan Dahlin <johan@gnome.org>
3806 * tests/buildertest.c (test_domain):
3807 Update, GtkBuilder::translation-domain is no longer set
3809 * gtk/gtkbuilderparser.c (parse_interface):
3810 Allow domains to be overridden in <interface>'s if a translation-domain
3811 is set in the builder.
3812 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3813 of the builder, make the domain set in the <interface> apply only to strings
3815 (#496831, Ryan Lortie)
3817 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
3820 * gtk/gtktreestore.c (tree_model_end_element):
3821 Remove an unused variable
3823 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3825 * gtk/gtkspinbutton.c: Document the ::output signal and
3826 add an example. (#507566, example by Owen Taylor)
3828 2008-01-06 Johan Dahlin <johan@gnome.org>
3830 * gtk/gtkcellrenderercombo.c:
3831 (gtk_cell_renderer_combo_get_property),
3832 (gtk_cell_renderer_combo_set_property):
3833 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3834 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3835 * gtk/gtknotebook.c: (gtk_notebook_set_property):
3836 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3837 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3838 (gtk_text_buffer_get_property):
3839 * gtk/gtktextview.c: (gtk_text_view_set_property):
3840 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3841 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3842 (gtk_tool_button_get_property):
3843 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3844 (gtk_tool_item_get_property):
3845 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3846 * gtk/gtkwidget.c: (gtk_widget_set_property):
3847 * gtk/gtkwindow.c: (gtk_window_set_property):
3848 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3851 2008-01-06 Johan Dahlin <johan@gnome.org>
3853 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
3854 Make sure that --root works for toplevel widgets.
3855 (#491847, Phil Lello)
3857 2008-01-05 Johan Dahlin <johan@gnome.org>
3859 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3860 to make sure that make test-report works properly
3862 2008-01-05 Christian Persch <chpe@gnome.org>
3864 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3865 GType as integer through gpointer. Bug #507395.
3867 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
3869 Avoid some compiler warnings (#507000).
3871 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3872 for value argument of _gtk_builder_flags_from_string.
3873 * gtk/gtkwidget.c: Don't alias the child pointer passed
3874 to gdk_window_get_user_data.
3876 2008-01-04 Michael Natterer <mitch@imendio.com>
3878 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3879 to set the time in the returned GdkTimeCoords.
3881 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
3883 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3884 correct comparison function (kudos to Christian Persch and
3885 Claudio Saavedra for spotting this)
3887 * gtk/gtkrecentchooserutils.c:
3888 (sort_recent_items_mru),
3889 (sort_recent_items_lru): Ditto as above.
3891 2008-01-03 Johan Dahlin <johan@gnome.org>
3893 * tests/defaultvaluetest.c: Make it pass again.
3895 2008-01-02 Johan Dahlin <johan@gnome.org>
3897 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
3898 make it pass on Ubuntu.
3899 (main): Use gtk_test_list_all_types () instead of providing our
3901 And it no longer passes.
3903 2007-12-30 Johannes Schmid <jhs@gnome.org>
3905 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3906 Also reorder menu when reordering tabs by drag & drop
3909 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3910 Add a menu to one of the notebooks to have a test-case for
3911 the change mentioned above.
3913 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
3915 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3917 2007-12-31 Christian Persch <chpe@gnome.org>
3919 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3920 Plug a mem leak. Bug #506107.
3922 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3924 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3925 icon cache api change. (#506135, Kazuki Iwamoto)
3927 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3929 Consider "wide-separators" and "separator-height" style properties:
3930 The separator is drawn using gtk_paint_box instead of cairo, when
3931 "wide-separators" is set. Also do not highlight details for previous
3932 or next month, if their day matches the selected day. (#339540)
3934 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3935 in gtk_calendar_size_request and calendar_paint_day
3936 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3937 for selected detail separators in GtkCalendar.
3939 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3941 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3943 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3944 a local variable instead in gtk_calendar_size_request.
3946 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3948 * tests/defaultvaluetest.c: Add enough exclusions to make the
3951 2007-12-28 Christian Persch <chpe@gnome.org>
3953 * modules/other/gail/Makefile.am:
3954 * modules/other/gail/tests/*:
3955 * configure.in: Merge tests from standalone gail. Bug #504568.
3957 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3959 * gtk/gtkclipboard.c: Make the finalizer work when display is
3962 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3964 Draw bottom shadow of GtkCalender headings. (#506113)
3966 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3968 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3970 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3973 2007-12-28 Christian Persch <chpe@gnome.org>
3975 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3976 a mem leak. Bug #506096.
3978 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3981 * gtk/gtktreeview.c:
3982 * gtk/gtkprintoperation.c:
3983 * gtk/gtkprogressbar.c:
3984 * gtk/gtkmessagedialog.c:
3985 * gtk/gtknotebook.c:
3989 * gtk/gtklinkbutton.c:
3990 * gtk/gtkmenu.c: More default property value corrections.
3992 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3994 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3995 accel_group unless it is set.
3997 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3999 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
4001 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4003 * gtk/gtkhandlebox.c: Fix the default values of shadow and
4004 shadow-type properties.
4006 * gtk/gtkfontsel.c: Fix the default values of several properties.
4008 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
4011 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
4013 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
4016 2007-12-28 Johan Dahlin <johan@gnome.org>
4018 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
4019 (gtk_dialog_buildable_custom_tag_start): Chain up.
4020 This makes it possible to have accelerators tags on GtkDialog
4023 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4025 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
4026 are shown within the widget, or just as tooltip. (#339540)
4028 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
4029 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
4030 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
4033 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4035 Try more decent appearance of calendar details separator. (#339540)
4037 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
4038 and make it short by one pixel on each side.
4040 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4042 Apply trivial code-style changes from attachement 101101. (#339540)
4044 * tests/testcalendar.c: Some updates to current GTK+ code-style.
4046 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4048 Restructure testcalendar for testing calendar details. (#339540)
4050 * tests/testcalendar.c: Push code arround for testing calendar details.
4052 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4054 Implement GtkTooltip API for calendar details. (#339540)
4056 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
4057 Remember detail overflows in calendar_paint_day to show the tooltip
4058 only when neccessary.
4060 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4062 Without setting "detail-width-chars" and "detail-height-rows"
4063 properties not only the widget has to be redrawn on certain
4064 conditions, but also its size must be recalculated. (#339540)
4066 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
4067 that function instead of gtk_widget_queue_draw.
4069 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4071 Consider details for size-request and expose-event. (#339540)
4073 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
4074 is_color_attribute functions. Change gtk_calendar_size_request
4075 and calendar_paint_day to consider and show calender details.
4077 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4079 * gtk/gtkcombobox.c: Introduce local priv variables to
4082 2007-12-27 Matthias Clasen <mclasen@redhat.com>
4084 * gtk/gtkcombobox.c: Correct the default value for the
4085 tearoff-title property.
4087 * gtk/gtkcellrenderertext.c: Fix the default value for the
4088 wrap-mode and font-scale properties.
4090 * gtk/gtkaspectratio.c: Fix the default value for the ratio
4093 2007-12-27 Matthias Clasen <mclasen@redhat.com>
4095 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
4096 defines. (#505708, MINAMI Hirokazu)
4098 2007-12-27 Christian Persch <chpe@gnome.org>
4100 * Makefile.am: Install gail.pc. Bug #505859.
4102 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
4104 Add infrastructure for GtkCalendar details. (#339540)
4106 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
4107 Add "detail-width-chars" and "detail-height-rows" properties,
4108 and gtk_calendar_set_detail_func function.
4110 2007-12-27 Xan Lopez <xan@gnome.org>
4113 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
4115 Add gtk_border_new to avoid memory allocator confusions when using
4116 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
4118 2007-12-27 Christian Persch <chpe@gnome.org>
4120 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
4121 bug #504886 not to read unitialised memory.
4123 2007-12-26 Xan Lopez <xan@gnome.org>
4125 * gtk/gtkstatusbar.c (has_extra_children): take into account the
4126 modification of the internal frame contents to decide if we have
4127 extra children. (#415677)
4129 2007-12-22 Christian Persch <chpe@gnome.org>
4131 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
4133 2007-12-25 Christian Persch <chpe@gnome.org>
4135 * modules/other/gail/gailwindow.c: (gail_window_initialize):
4136 Initialise |widget|. Fixes a buglet introduced by the commit from bug
4139 2007-12-25 Christian Persch <chpe@gnome.org>
4141 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
4143 2007-12-25 Christian Persch <chpe@gnome.org>
4145 * modules/other/gail/*.[ch]: Remove relocations from the atk
4146 factories. Remove unused gail_foo_new() functions. Fix object
4147 instantiation to be derivation safe by moving initialisation code
4148 from the removed gail_foo_new() functions to the
4149 AtkObjectClass::initialize implementation. Bug #505226.
4151 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4153 * modules/other/gail/gailentry.c:
4154 * modules/other/gail/gailimage.c:
4155 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
4156 uses of clipboards and settings. (#504722, Christian Persch)
4158 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4160 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
4163 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4165 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
4166 use the time and button information from the event. (#504901,
4169 2007-12-23 Cody Russell <bratsche@gnome.org>
4171 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
4172 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
4173 Fixes a regression caused by #164537 patch where transient
4174 windows that are hidden get shown (incorrectly) when their
4175 parents are minimized. (#504984)
4177 2007-12-22 Christian Persch <chpe@gnome.org>
4179 * modules/other/gail/gailcell.c:
4180 * modules/other/gail/gailcontainercell.c:
4181 * modules/other/gail/gailexpander.c:
4182 * modules/other/gail/gailtextcell.c:
4183 * modules/other/gail/gailtextview.c:
4184 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
4186 2007-12-22 Christian Persch <chpe@gnome.org>
4188 * modules/other/gail/*.c: Include config.h. Bug #504720.
4190 2007-12-22 Christian Persch <chpe@gnome.org>
4192 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4193 handwritten get_type functions. Bug #504661.
4195 2007-12-23 Xan Lopez <xan@gnome.org>
4197 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
4198 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
4200 Patch by Sadrul Habib Chowdhury (#504804)
4202 2007-12-22 Christian Persch <chpe@gnome.org>
4204 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
4205 #504645, patch by Li Yuan.
4207 2007-12-22 Christian Persch <chpe@gnome.org>
4209 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
4211 2007-12-22 Christian Persch <chpe@gnome.org>
4213 * modules/other/gail/gail.c:
4214 * modules/other/gail/gailbutton.c:
4215 * modules/other/gail/gailcell.c:
4216 * modules/other/gail/gailcombo.c:
4217 * modules/other/gail/gailcombo.h:
4218 * modules/other/gail/gailcombobox.c:
4219 * modules/other/gail/gailentry.c:
4220 * modules/other/gail/gailexpander.c:
4221 * modules/other/gail/gailmenuitem.c:
4222 * modules/other/gail/gailnotebook.c:
4223 * modules/other/gail/gailnotebookpage.c:
4224 * modules/other/gail/gailnotebookpage.h:
4225 * modules/other/gail/gailoptionmenu.c:
4226 * modules/other/gail/gailrange.c:
4227 * modules/other/gail/gailtextview.c:
4228 * modules/other/gail/gailtreeview.c:
4229 * modules/other/gail/gailtreeview.h:
4230 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
4233 2007-12-22 Matthias Clasen <mclasen@redhat.com>
4235 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
4238 2007-12-21 Richard Hult <richard@imendio.com>
4240 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
4241 Plug leak of destroyed subviews, fixes bug #504753.
4243 2007-12-20 Johan Dahlin <johan@gnome.org>
4245 * tests/Makefile.am (TEST_PROGS):
4246 * tests/defaultvaluetest.c: Add a test for default values,
4247 based on program by Christan Perch
4249 2007-12-20 Johan Dahlin <johan@gnome.org>
4251 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
4252 Refactor to avoid some duplication.
4253 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
4254 Fixes #504749, Yuri Pimenov
4256 2007-12-20 Kristian Rietveld <kris@imendio.com>
4258 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
4259 the build work again on systems without xrandr 1.2.
4261 2007-12-20 Christian Persch <chpe@gnome.org>
4264 * modules/other/gail/libgail-util/Makefile.am:
4265 Keep the same libtool version as the standalone libgail-util had.
4268 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
4270 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
4272 2007-12-20 Alexander Larsson <alexl@redhat.com>
4274 * gdk/x11/gdkapplaunchcontext-x11.c:
4275 Update for gio API changes
4277 2007-12-20 Richard Hult <richard@imendio.com>
4279 * gdk/quartz/GdkQuartzWindow.c:
4280 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
4281 processing events after changing the size.
4283 2007-12-20 Richard Hult <richard@imendio.com>
4285 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
4286 Add stub for quartz to fix build.
4288 2007-12-20 Christian Persch <chpe@gnome.org>
4290 * modules/other/gail/Makefile.am:
4291 * modules/other/gail/gailimage.c: (gail_image_class_init),
4292 (gail_image_init), (elide_underscores), (gail_image_get_name),
4293 (atk_image_interface_init), (gail_image_finalize):
4294 * modules/other/gail/gailimage.h:
4295 R modules/other/gail/gailintl.h:
4296 * po/POTFILES.skip: Use the stock item's label as the name of the
4297 accessible in gailimage.c. Bug #504246.
4299 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
4301 Avoid some compiler warnings and remove obsolete code. (#339540)
4303 * gtk/gtkcalendar.c: Change week and year variable in
4304 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4305 0" block from calendar_paint_day: The feature in question is handled
4306 few lines above. Cast data returned by gtk_selection_data_get_text()
4307 to (gchar*) in gtk_calendar_drag_data_received.
4309 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
4311 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4313 2007-12-19 Johan Dahlin <johan@gnome.org>
4315 * tests/buildertest.c (test_object_properties):
4316 Add another call to gtk_builder_add_string after using
4317 delayed properties, as reported in #504393 but already
4320 2007-12-18 Christian Persch <chpe@gnome.org>
4323 * docs/reference/Makefile.am:
4324 * docs/reference/libgail-util/*:
4325 * gail-uninstalled.pc.in:
4327 * modules/Makefile.am:
4328 * modules/other/Makefile.am:
4329 * modules/other/gail/*:
4330 * modules/other/gail/libgail-util/*:
4331 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4333 2007-12-17 Matthias Clasen <mclasen@redhat.com>
4335 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4336 * gdk/win32/gdkproperty-win32.c:
4337 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4339 * gtk/gtkimmodule.[hc]:
4340 * gtk/gtkimmulticontext.[hc]: When determining the default context,
4341 look at the gtk-im-module setting, and listen for changes to the
4342 setting. (#502446, Akira Tagoh)
4344 2007-12-17 Kristian Rietveld <kris@imendio.com>
4346 * gtk/gtktooltip.c (gtk_tooltip_finalize),
4347 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4348 to NULL as soon as it's destroyed. (#496546, patch from
4351 2007-12-17 Kristian Rietveld <kris@imendio.com>
4353 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4354 always determine what arrow to show if show_sort_indicator is true.
4355 (#352738, Chris Vine).
4357 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
4359 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4362 * gtk/gtkpaned.c: Call gtk_container_forall instead of
4363 gtk_container_foreach in get_child_panes.
4365 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
4367 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4369 Plug leak: When reordering the info in the list the old node is
4370 removed but not freed. (#503569)
4372 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
4374 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4375 Use u32 instead of __u32 and u8 instead of __u8 as the other types
4376 are deprecated since DirectFB 1.0.0. If compiling with an older
4377 version define the new type name to the old types. Fixes bug #503190.
4379 2007-12-14 Ray Strode <rstrode@redhat.com>
4381 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4382 instead of g_signal_connect_after (..., "realize", ...) as an
4383 alternative to gtk_widget_realize () (bug 503537).
4385 2007-12-14 Michael Natterer <mitch@imendio.com>
4387 * gdk/gdkinternals.h
4388 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4391 * gdk/gdkapplaunchcontext.c
4392 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4393 header already includes everything now.
4395 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4397 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4398 next stable release shall be 2.16, not 2.14 - even if disagree.
4400 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4402 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4404 Change GtkToolItem to retrieve its properties from GtkToolShell
4405 interface, instead of relying on being child of a GtkToolbar.
4408 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4409 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4410 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4411 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4412 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4413 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4414 Take section docs from template file and update them for GtkToolShell.
4415 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4416 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4418 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4420 Extract loading of GtkPageSetup and GtkPrintSettings from their
4421 *_new_*() functions and move that code into separate
4422 *_load_*() functions (#475565).
4424 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4425 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4426 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4427 Change the matching *_new_*() functions to use those functions.
4429 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4432 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4434 2007-12-14 Kristian Rietveld <kris@imendio.com>
4436 * gtk/tests/liststore.c:
4437 * gtk/tests/treestore.c: added tests for insertion functions.
4439 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
4441 * Add RandR 1.2 support
4443 - New monitors_changed signal - New API to get width/height of
4444 monitors, and the name of the plug
4446 2007-12-13 Kristian Rietveld <kris@imendio.com>
4448 * gtk/tests/liststore.c:
4449 * gtk/tests/treestore.c: test the move and swap functions on a
4450 store with only one node.
4452 2007-12-13 Kristian Rietveld <kris@imendio.com>
4454 * gtk/gtktestutils.c (gtk_test_init): add a call to
4457 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4460 2007-12-13 Kristian Rietveld <kris@imendio.com>
4462 * gtk/tests/liststore.c:
4463 * gtk/tests/treestore.c: start composing tests for the list and tree
4466 * gtk/tests/treeview-scrolling.c: added automated tests for
4467 GtkTreeView's scrolling "subsystem".
4469 * gtk/tests/Makefile.am: updated; added new test programs.
4471 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
4473 Make the code compile again after the GdkAppLaunchContext changes.
4475 * configure.in: Add gio-2.0 to GDK_PACKAGES.
4476 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4478 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4480 * gdk/gdkapplaunchcontext.c: Add docs
4482 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4484 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
4485 in gdk, providing startup notification. (#503203)
4487 * gdk/x11/gdkapplaunchcontext-x11.c:
4488 * gdk/win32/gdkapplaunchcontext-win32.c:
4489 * gdk/quartz/gdkapplaunchcontext-quartz.c:
4490 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4491 parts. All but X11 are just empty stubs for now.
4494 * gdk/gdkinternals.h:
4496 * gdk/x11/Makefile.am:
4497 * gdk/win32/Makefile.am:
4498 * gdk/quartz/Makefile.am:
4499 * gdk/directfb/Makefile.am: Necessary glue.
4501 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
4503 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4505 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4507 * gdk/directfb/gdktestutils-directfb.c:
4508 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4509 which adds testing functions to the DirectFB backend.
4511 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4513 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4514 Ciccani which fixes the mixing of gdk and cairo rendering.
4516 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
4518 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4519 on "drag-motion" handlers. Clearify documentation for
4522 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
4524 * buildertest.c: made unnecessarily exported symbols static.
4525 switched g_return_if_fail() statements in tests to assertions.
4526 special cased currently failing Widget/accesibility test to
4527 run only for g_test_thorough(), so it doesn't break make check.
4528 some coding style fixes.
4530 * Makefile.am: added buildertest to TEST_PROGS.
4532 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4534 * docs/tutorial/gtk-tut.sgml:
4535 Use gtk_widget_get_parent_window() instead of widget->parent->window.
4537 2007-12-10 Richard Hult <richard@imendio.com>
4539 * gdk/quartz/Makefile.am:
4540 * gdk/quartz/gdkquartz.h:
4541 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4542 header (bug #405915). Also add a getter for the toplevel nswindow.
4544 2007-12-10 Richard Hult <richard@imendio.com>
4546 * gdk/quartz/gdkdrawable-quartz.c:
4547 (gdk_quartz_drawable_get_context),
4548 (gdk_quartz_drawable_release_context):
4549 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4550 (gdk_event_check), (gdk_event_dispatch), (poll_func):
4551 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4552 used for each drawing context and in prepare, dispatch and poll
4553 with one that exists across each main loop iteration. Fixes leaks
4554 on leopard and protects against future leaks introduce when the
4555 underlying system changes again (bug #492977).
4557 2007-12-10 Richard Hult <richard@imendio.com>
4559 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4560 Fix the check for no changes to position and size.
4562 2007-12-10 Richard Hult <richard@imendio.com>
4564 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4565 sized areas at (0, 0), patch from Paul Davis.
4567 2007-12-10 Richard Hult <richard@imendio.com>
4569 * gdk/quartz/gdkprivate-quartz.h:
4570 * gdk/quartz/gdkeventloop-quartz.c:
4571 (_gdk_quartz_event_loop_get_pending),
4572 (_gdk_quartz_event_loop_check_pending),
4573 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4574 (gdk_event_check), (gdk_event_dispatch):
4575 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4576 (_gdk_events_queue): Fix a bug where we could end up trying to
4577 handle the same event more than once. Based on patch from Paul
4580 2007-12-10 Tor Lillqvist <tml@novell.com>
4582 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4585 2007-12-10 Matthias Clasen <mclasen@redhat.com>
4587 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4588 to avoid further fallout from the fix for bug 388321.
4590 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4592 * gdk/directfb/gdkgc-directfb.c:
4593 * gdk/directfb/gdkdrawable-directfb.c:
4594 * gdk/directfb/gdkdirectfb.h:
4595 * gdk/directfb/gdkwindow-directfb.c:
4596 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4597 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4598 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4599 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4600 which are expected to improve the performance of the DirectFB backend.
4601 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4603 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4605 * gtk/gtkcontainer.c: Correct the documentation of child
4606 property getter arguments. (#501992, David Brigada)
4608 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4610 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4611 leak pixbufs. (#502250, Yevgen Muntyan)
4613 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
4615 * gtk/gtkprintunixdialog.c:
4616 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4617 Print and Page Setup dialogs (#502202).
4619 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
4621 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4622 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4623 of XVFB_START, since it's the GTESTER invokation that needs this.
4625 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
4627 * gdk-pixbuf/gdk-pixbuf.symbols:
4629 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4630 positives in abicheck.sh
4632 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4634 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4635 GDK events generations in the DirectFB backend.
4637 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
4639 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4640 set of likely unused display ids, because MacOS has no seq(1) command.
4642 2007-12-06 Richard Hult <richard@imendio.com>
4644 * gdk/quartz/gdkevents-quartz.c:
4645 (synthesize_crossing_events_for_ns_event): Fix warning when
4646 switching spaces in leopard.
4648 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
4650 * tests/floatingtest.c: ported to new testing framework.
4652 * tests/Makefile.am: run floatingtest as testing framework test.
4654 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
4656 * tests/autotestfilechooser.c: majorly speed up execution by reducing
4657 timeouts and converting main loop sleeps to pending/iterate loops with
4658 very low priority async handlers. eliminate output for non-verbose
4659 tests. assert successfull subtests in all test functions. use testing
4660 framework in main().
4662 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4663 executed inside Xvfb upon make check.
4665 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
4667 * tests/objecttests.c: use string comparisons for string property
4668 values and get rid of referencing symbols in array initialization.
4670 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
4672 * gtk+/Makefile.decl: run tests in current dir after setting up the
4673 logging directory, so their results get properly merged into the
4676 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4677 tests to loop over registered Gdk/Gtk+ types.
4679 * gtk+/tests/objecttests.c: new test program, implements automated
4680 property tests. several properties are blacklisted because they
4681 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4682 can be used to test blacklisted properties and see which proprty failed.
4684 2007-12-04 Richard Hult <richard@imendio.com>
4686 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4687 Fully initialize the root window, fixes bug #501583.
4689 2007-12-04 Matthias Clasen <mclasen@redhat.com>
4691 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4694 2007-12-03 Richard Hult <richard@imendio.com>
4696 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4697 Don't crash when dragging from a source that doesn't support uri
4698 lists (bug #499868, Paul Davis).
4700 2007-12-03 Richard Hult <richard@imendio.com>
4702 * gdk/quartz/gdkwindow-quartz.c:
4703 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4704 parent relative bg pixmap is set, and no parent has a bg
4705 pixmap. Fixes bug #500804.
4707 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4709 Two optimizations for icon cache lookups.
4711 * gtk/gtkiconcache.[hc]:
4712 * gtk/gtkicontheme.c: Remember the directory index for
4713 subdirectories, instead of running over the directory list
4716 * gtk/gtkiconcache.c (find_image_offset): Remember the last
4717 chain and try it first; this helps with the the usage patterns
4718 in gtkicontheme.c, where the same icon is queried for a lot
4721 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
4723 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4724 functions from header files. this should be portable across linux and
4725 Mac OS, unlike the previpous sed expression.
4727 2007-12-1 Cody Russell <bratsche@gnome.org>
4729 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4730 On Windows, queue a redraw of child2 whenever we set
4731 the pane handle position. This is unfortunately kind
4732 of hacky, but solves the visual artifacts that were
4733 occuring on at least certain types of child widgets
4734 (e.g., text views and tree views) that are inside
4735 horizontal or vertical panes. (#144269)
4737 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4739 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4741 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4743 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4746 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4748 * gtk/Makefile.am: Fix ordering of subdirs.
4750 2007-11-28 Tor Lillqvist <tml@novell.com>
4752 A proper build of GNU libintl is supposed to export the variable
4753 _nl_msg_cat_cntr. configure looks for that variable in order to
4754 recognize GNU gettext. If it sees that it is indeed GNU gettext
4755 that is used, it decides to install message catalogs in
4756 share/locale, otherwise in lib/locale. Until now on Windows I have
4757 built GTK+ against a build of GNU gettext that did not export
4758 _nl_msg_cat_cntr. But this will change, so we can't assume message
4759 catalogs are always in lib/locale.
4761 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4762 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4763 before the inclusion of gtkprivate.h so that it sees the original
4766 * gtk-zip.sh.in: Check whether the message catalogs are in
4767 share/locale or lib/locale.
4769 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4770 that the code in _gtk_get_localedir() will find the slashes.
4772 2007-11-28 Tor Lillqvist <tml@novell.com>
4774 * gtk/Makefile.am: Improve portability. The -o option is present
4775 only in newish GNU egreps. Use one more sed in the pipeline
4778 2007-11-28 Tor Lillqvist <tml@novell.com>
4780 Fix #375893, patch by Ben Hague:
4782 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4783 around GetLogicalDrives() that takes also the viewable drive
4784 restrictions in the Registry (which are usually the result of an
4785 Active Directory Group Policy) into account.
4787 (check_volumes, gtk_file_system_win32_list_volumes) Call
4788 get_viewable_logical_drives() instead of GetLogicalDrives().
4790 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4792 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4793 variables to silence valgrind. (#495124, Morten Welinder)
4795 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4797 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4798 that the construct_child function is responsible for returning a
4800 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4801 objects from constructors
4802 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4803 g_object_ref() to this construction function (it's the only
4808 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4810 * gtkbuilder.c: remove concept of root objects and just refcount
4811 all objects in the builder. Fixes #496651.
4813 2007-11-26 Ryan Lortie <desrt@desrt.ca>
4815 * tests/buildertest.c (test_window): fix invalid free
4817 2007-11-26 Josselin Mouette <joss@malsain.org>
4819 reviewed by: Federico Mena Quintero
4821 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4822 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4823 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4824 Make the shortcuts activate with a single click. (#148828)
4825 Fix a few things affected by the change:
4826 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
4827 where no shortcut is selected.
4828 - Don't activate a shortcut in the response callback.
4829 - Filter out duplicate entries in volumes and bookmarks to
4830 avoid the selection to change when reordering them with DnD.
4832 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4835 * gtk/gtknotebook.c:
4836 * gtk/gtkplugprivate.h:
4838 * gtk/gtksocketprivate.h:
4839 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4841 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4843 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4844 (#495574, Richard Hult)
4846 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4848 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4849 String change ! (#376361, Sven Neumann)
4851 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4853 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4855 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4858 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4860 * gtk/gtkassistant.c: Improve alternative button
4861 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4863 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4865 * gtk/gtkcalendar.c: Fix a theming problem with colors
4866 in GtkCalendar. (#499703, Michael Hofmann)
4868 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4870 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4872 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4874 Use templates for glib-mkenums calls instead of
4875 complicated commandlines in Makefiles. (#429910)
4877 * gdk-pixbuf/Makefile.am:
4880 * perf/Makefile.am: Use templates for glib-mkenums
4882 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4883 * gdk/gdkenumtypes.[ch].template:
4884 * gtk/gtktypebuiltings.[ch].template:
4885 * perf/typebuiltins.[ch].template: The templates
4887 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4889 * gtk/gtkfilechooserbutton.c:
4890 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4891 some compilers choke on that. (#467722)
4893 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4895 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4896 about hook setup. (#425004, Emmanuele Bassi)
4898 2007-11-26 Tor Lillqvist <tml@novell.com>
4900 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4901 monitor the window currently is on, not always the primary
4902 monitor. (#463865, Tim Evans)
4904 2007-11-26 Tor Lillqvist <tml@novell.com>
4906 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4908 * gdk/win32/Makefile.am: Add it.
4910 2007-11-26 Tor Lillqvist <tml@novell.com>
4912 * configure.in: Don't add jasper to all_loaders if no libjasper.
4914 2007-11-25 Bastien Nocera <hadess@hadess.net>
4916 * configure.in: Add detection for libjasper, used by the
4917 gdk-pixbuf JPEG2000 loader
4919 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4921 * configure.in: Require gtk-doc 1.8
4923 * */*.c: Use gtk-doc abbreviations for examples in docs.
4925 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4927 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4930 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4932 * gtk/gtkdialog.c: Move signal and property documentation inline,
4933 fix a problem with the ::response signal docs. (#499133, Josselin
4936 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
4938 * Makefile.decl: initialize automake variables EXTRA_DIST and
4939 TEST_PROGS for unconditional appending via += in other makefiles.
4940 define recursive test targets: test, test-report, perf-report,
4941 full-report, as described here:
4942 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4943 the test targets will execute Gtk+ test programs within an Xvfb session.
4945 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4947 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4948 g_test_run() to run the tests to integrate with the testing framework.
4950 * gtk/tests/Makefile.am: removed exemplary testing rules.
4952 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4953 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4954 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4955 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4956 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4957 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4958 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4959 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4960 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4961 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4962 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4963 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4964 * modules/engines/ms-windows/Theme/Makefile.am:
4965 * modules/engines/ms-windows/Makefile.am:
4966 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4967 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4968 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4969 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4970 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4971 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4972 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4974 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4976 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4977 (#485662, patch by Herbert Valerio Riedel)
4979 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4981 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4983 2007-11-21 Richard Hult <richard@imendio.com>
4985 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4986 stubs for the testing functions to fix the build.
4988 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4990 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4991 (#467711, The Written Word)
4993 2007-11-21 Ross Burton <ross@openedhand.com>
4995 * gdk/x11/gdksettings.c:
4996 Add xsetting for gtk-scrolled-window-placement (#458103).
4998 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5000 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
5001 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
5002 (#469239, Michael Natterer)
5004 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5006 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
5007 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
5008 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
5009 (#436536, Tommi Komulainen)
5011 2007-11-21 Matthias Clasen <mclasen@redhat.com>
5013 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
5014 property. (#489782, Jan Janech)
5016 2007-11-20 Matthias Clasen <mclasen@redhat.com>
5018 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
5019 frames. (#107398, Owen Taylor, Miguel Gomez)
5021 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
5023 Moved Gdk test functions from Gtk+ to Gdk test utils.
5025 * gdk/Makefile.am: added gdktestutils.h to public includes.
5027 * gdk/gdk.h: added gdktestutils.h to public includes.
5029 * gdk/gdk.symbols: added gdk_test_simulate_button,
5030 gdk_test_simulate_key, gdk_test_render_sync.
5032 * gdk/gdktestutils.h: new file, added prototypes for
5033 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
5035 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
5037 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
5038 gdk_test_simulate_key, gdk_test_render_sync.
5040 * gtk/gtktestutils.c:
5041 * gtk/gtktestutils.h:
5042 * gtk/gtk.symbols: removed gtk_test_simulate_button
5043 gtk_test_simulate_key, gtk_test_xserver_render_sync.
5045 * gtk/tests/testing.c: call gdk_test_render_sync.
5047 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
5049 Added unit tests for Gtk+ testing utilities.
5051 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
5052 utility functions. some g_test_* related portions are disabled and need
5053 to be enabled once Gtk+ depends on a new glib with the GLib testing
5054 framework integrated.
5056 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
5057 tests. added exemplary test rules to run tests inside Xvfb. this
5058 needs to depend on gtester for full fledged testing.
5060 * gtk/Makefile.am: build gtk+/gtk/tests, define
5061 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
5062 e.g. gtk_text_get_type().
5064 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
5066 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
5068 Added Gtk+ testing utilities.
5070 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
5071 functions. for the most part, the functions herein involve
5072 navigating and interacting with dialog elements programatically,
5073 to automate user interaction tests of dialogs and widgets.
5075 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
5077 * gtk/gtk.symbols: added gtk_test_* symbols.
5079 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
5080 the build. generate gtktypefuncs.c which contains a list of all
5081 _get_type functions in Gtk+ and Gdk.
5083 2007-11-20 Bastien Nocera <hadess@hadess.net>
5085 * configure.in: add support for conditional icns gdk-pixbuf loader
5088 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
5090 * configure.in: updated version number to 2.15.0 for development.
5092 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
5094 === Branch for 2.12 ===