1 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3 Bug 519092 – Add accessibility support to GtkVolumeButton
5 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
8 2008-06-12 Matthias Clasen <mclasen@redhat.com>
10 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
11 GtkAction has problems
12 Patch by Peter Johanson
14 * gtk/gtkaction.c (connect_proxy): Set the image of a button
15 proxy to the "icon-name" property.
17 (gtk_action_set_short_label): If the "image" property is set
18 on the button proxy, also tries to set the "label" property on
21 2008-06-12 Michael Natterer <mitch@imendio.com>
24 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
25 in via "gtkintl.h" from <glib/gi18n-lib.h>.
27 2008-06-12 Matthias Clasen <mclasen@redhat.com>
29 RH bug 248245 and 449379: cups client printing from gnome
32 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
33 printer URI construction. Patch by Marek Kasik
35 2008-06-12 Michael Natterer <mitch@imendio.com>
37 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
38 limit the number of displayed items by the actual screen height
39 instead of some arbitrary value (Bug #408154, Xan Lopez and
42 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
44 Bug 503071 – Application direction changes to right to left even if
47 * configure.in: Bump glib requirement.
50 (_gtk_accel_label_class_get_accelerator_label):
51 * gtk/gtkactiongroup.c (dgettext_swapped):
52 * gtk/gtkbuilder.c (gtk_builder_class_init):
53 * gtk/gtkbuilderparser.c (_dpgettext),
54 (_gtk_builder_parser_translate):
55 * gtk/gtkfilechooserdefault.c (list_size_data_func):
56 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
58 * gtk/gtkmain.c (setlocale_initialization),
59 (do_pre_parse_initialization), (gettext_initialization):
60 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
61 Use g_dgettext() and g_dngettext().
63 2008-06-11 Matthias Clasen <mclasen@redhat.com>
65 * docs/RELEASE-HOWTO: Updates
67 2008-06-11 Tor Lillqvist <tml@novell.com>
69 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
70 support Win9x anyway, we can use ProcessIdToSessionId()
73 2008-06-11 Michael Natterer <mitch@imendio.com>
75 * gtk/gtkfilechooserbutton.c: fix local prototype of
76 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
78 2008-06-10 Matthias Clasen <mclasen@redhat.com>
80 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
82 * gtk/gtkoptionmenu.c:
83 * gtk/gtkcombobox.c: Set the window type hint on popups.
84 Patch by Danny Baumann
86 2008-06-10 Matthias Clasen <mclasen@redhat.com>
88 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
89 (gtk_file_system_volume_render_icon): Add standard icon names,
90 and also fall back to builtin gtk stock icons.
92 2008-06-10 Christian Persch <chpe@gnome.org>
94 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
95 (gtk_tree_view_maybe_begin_dragging_row),
96 (gtk_tree_view_set_reorderable),
97 (gtk_tree_view_enable_model_drag_source),
98 (gtk_tree_view_enable_model_drag_dest),
99 (gtk_tree_view_unset_rows_drag_source),
100 (gtk_tree_view_unset_rows_drag_dest): Make
101 gtk_tree_view_enable_model_drag_[source|dest] compatible with
102 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
104 2008-06-10 Christian Persch <chpe@gnome.org>
106 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
107 (dest_row_free), (set_dest_row), (ensure_info),
108 (gtk_tree_view_remove), (gtk_tree_view_put),
109 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
112 2008-06-10 Paolo Borelli <pborelli@katamail.com>
114 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
115 use g_file_new_for_uri.
117 2008-06-10 Paolo Borelli <pborelli@katamail.com>
119 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
122 2008-06-10 Carlos Garnacho <carlos@imendio.com>
126 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
127 #520874, comment #8. It's no longer used directly by GTK+.
129 2008-06-10 Carlos Garnacho <carlos@imendio.com>
131 Bug 520874 - Should use gio directly.
133 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
134 provides helper functions for asynchronous calls, folder abstraction
135 and uniform handling of volumes/drives/mounts.
137 * gtk/gtkfilesystemwin32.[ch]:
138 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
140 * gtk/gtkfilechooser.c:
141 * gtk/gtkfilechooserbutton.c:
142 * gtk/gtkfilechooserdefault.c:
143 * gtk/gtkfilechooserentry.[ch]:
144 * gtk/gtkfilechooserprivate.h:
145 * gtk/gtkfilechooserutils.c:
146 * gtk/gtkfilesystemmodel.[ch]:
147 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
148 Do not load filesystem implementation modules.
151 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
152 anymore, nor the unix/win32 implementations.
154 * README.in: Add blurb about these changes.
156 2008-06-09 Kristian Rietveld <kris@gtk.org>
158 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
160 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
161 (gtk_cell_renderer_combo_set_property),
162 (gtk_cell_renderer_combo_editing_done),
163 (gtk_cell_renderer_combo_start_editing): introduce private class
164 struct, allow model to be set to NULL.
166 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
168 Bug 131920 – gtkNotebook sends incorrect switch_page value
170 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
171 signal send correct page index when page index 0 is active and
172 removed. (#131920, Samuel Fogh)
174 2008-06-08 Kristian Rietveld <kris@gtk.org>
176 Bug 536730 - memory corruption in gtktreeview
178 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
179 remove the expand/collapse timeout and node, then free the rbtree.
181 2008-06-08 Kristian Rietveld <kris@gtk.org>
183 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
185 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
186 find path if we found valid nodes, return FALSE otherwise. (Patch
187 from Matthias Clasen).
189 2008-06-08 Matthias Clasen <mclasen@redhat.com>
191 * gtk/gtkrecentmanager.c:
192 * gtk/gtkrecentfilter.c:
193 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
196 2008-06-08 Christian Persch <chpe@gnome.org>
198 Bug 535608 – do not string-copy accel paths in the menu code
200 * gtk/gtkaccelgroup.c:
205 * gtk/gtkwidget.c: Don't store the accel path as a string in
206 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
207 keeping a string copy around is just a waste of memory.
208 Improve the documentation to mention this.
210 2008-06-07 Tor Lillqvist <tml@novell.com>
212 Bug 536990 - updateiconcache.c: 'close ()' is redundant
214 * gtk/updateiconcache.c (build_cache): Drop redundant close()
215 calls. fclose() on a fdopen()ed strema closes the underlying file
218 2008-06-06 Matthias Clasen <mclasen@redhat.com>
220 Bug 536757 – regression: openoffice.org menus are placed at wrong
221 position since 2.12.10
223 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
224 Return the right coordinates.
226 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
228 Bug 536185 – monitor font configuration
231 * gdk/x11/gdksettings.c:
232 * gtk/gtksettings.c (gtk_settings_class_init),
233 (gtk_settings_notify), (settings_update_fontconfig):
234 Monitor xsettings key Fontconfig/Timestamp and upon change,
235 reread fontconfig configuration, clear Pango's caches, and
238 2008-06-06 Ross Burton <ross@burtonini.com>
241 Fix trivial typo in documentation.
243 2008-06-06 Tor Lillqvist <tml@novell.com>
245 * config.h.win32.in: Slight update to match what configure
248 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
250 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
251 constant to the end of the list, to avoid breaking the stable ABI
253 2008-06-05 Michael Natterer <mitch@imendio.com>
255 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
257 2008-06-05 Li Yuan <li.yuan@sun.com>
259 * gail-uninstalled.pc.in:
260 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
261 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
263 2008-06-03 Matthias Clasen <mclasen@redhat.com>
265 * docs/RELEASE-HOWTO: Update a bit
267 2008-06-03 Matthias Clasen <mclasen@redhat.com>
269 * configure.in: Bump version
271 * === Released 2.13.2 ===
273 2008-06-03 Federico Mena Quintero <federico@novell.com>
275 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
276 If the user presses Tab while the completion feedback window is
277 active, then we'll assert. Remove the assertion and just re-set
278 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
280 2008-06-03 Colin Walters <walters@redhat.com>
282 Bug 535303 – add _get_implementation to GtkStatusIcon
284 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
285 function to retrieve internal X11 window ID, useful for libnotify.
286 * gtk/gtkstatusicon.h: Prototype it.
287 * docs/reference/gtk/gtk-sections.txt: Add to docs.
288 * gtk/gtk.symbols: Export it.
290 2008-06-03 Tor Lillqvist <tml@novell.com>
292 * gtk/updateiconcache.c (build_cache): Use g_open().
294 2008-06-03 Michael Natterer <mitch@imendio.com>
297 * gtk/gtkctree.h: revert includes to how they have been before the
298 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
299 that you can't include <gtk/gtk.h> from two headers where one is a
300 parent class of the other and expect them both to be includable
303 2008-06-03 Michael Natterer <mitch@imendio.com>
305 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
307 2008-06-02 Matthias Clasen <mclasen@redhat.com>
309 Bug 536092 – GtkEntryCompletion's popup window should set type hint
311 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
312 a type hint on the popup window to help compiz.
313 Patch by Vaclav Slavik.
315 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
317 Bug 535862 – gtk_action_create_icon can't create icons from the
320 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
321 the default factories as it's supposed.
323 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
325 Bug 535497 – Print preview doesn't work.
327 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
328 instead of launching Preview.app directly.
330 2008-06-02 Michael Natterer <mitch@imendio.com>
332 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
333 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
336 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
338 Bug 535830 – wrong content type adding an item
340 * gtk/gtkrecentmanager.c:
341 (gtk_recent_manager_add_item_query_info): Use the correct API
342 for retrieving the fast MIME type of a URI. (Carlos Garcia
345 2008-05-31 Kristian Rietveld <kris@imendio.com>
347 Bug 530146 - Setting non-string tooltip with
348 gtk_tree_view_set_tooltip_column() segfaults
350 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
351 gtk_tree_model_get_value() and explicitly transform the value to a
352 string before setting it as tooltip.
354 2008-05-30 Tor Lillqvist <tml@novell.com>
356 * modules/engines/ms-windows/msw_style.h
357 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
359 2008-05-30 Michael Natterer <mitch@imendio.com>
361 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
362 GDestroyNotify when using it in g_object_set_data_full().
364 2008-05-30 Michael Natterer <mitch@imendio.com>
366 * gdk/gdkapplaunchcontext.h
368 * gtk/gtkmountoperation.h
371 * gtk/gtktoolshell.h: no need to allow disabling single includes
372 conditionally in these new files. Simply forbid including them
373 individually from the beginning.
375 2008-05-30 Tor Lillqvist <tml@novell.com>
377 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
379 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
382 2008-05-29 Matthias Clasen <mclasen@redhat.com>
384 * configure.in: Bump version
386 * === Released 2.13.1 ===
390 2008-05-29 Matthias Clasen <mclasen@redhat.com>
392 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
394 2008-05-29 Matthias Clasen <mclasen@redhat.com>
396 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
398 2008-05-29 Tor Lillqvist <tml@novell.com>
400 Bug 535526 - updateiconcache.c: using open/close without prototype
402 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
403 g_utime() when available instead of utime() for UTF-8 pathname
406 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
408 Bug 56355 – GtkLabel - Not all changes propagate correctly
410 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
411 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
412 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
413 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
414 notifications of mnemonic-keyval changes.
416 2008-05-27 Matthias Clasen <mclasen@redhat.com>
418 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
420 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
421 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
422 * gtk/gtk.symbols: Additions
423 * tests/testimage.c: Add a GIcon test
425 2008-05-29 Michael Natterer <mitch@imendio.org>
428 * gtk/gtkunixprint.h: add a single-include header for the unix
431 * gtk/gtkpagesetupunixdialog.h
434 * gtk/gtkprintunixdialog.h: add single-include guards that #error
435 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
436 files is included individually.
438 * gtk/gtkprintbackend.h
439 * gtk/gtkprinter-private.h
440 * modules/printbackends/cups/gtkprintbackendcups.c
441 * modules/printbackends/cups/gtkprintercups.h
442 * modules/printbackends/lpr/gtkprintbackendlpr.c
443 * tests/buildertest.c
444 * tests/defaultvaluetest.c
445 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
448 2008-05-28 Michael Natterer <mitch@imendio.com>
450 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
451 excess newlines and sprinkled some newlines where needed. Zero
452 code or formatting changes included.
454 2008-05-28 Michael Natterer <mitch@imendio.com>
456 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
458 2008-05-28 Michael Natterer <mitch@imendio.com>
460 * gtk/gtkcolorbutton.h: fix comment: the widget is called
461 GtkColorButton, not GtkColorSelectButton. Remove trailing
462 whitespace and excess newlines.
464 2008-05-28 Michael Natterer <mitch@imendio.com>
466 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
467 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
468 to CPPFLAGS so it's impossible to commit code that would break
469 apps which use DISABLE_INCLUDE defines.
471 2008-05-28 Michael Natterer <mitch@imendio.com>
473 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
476 * gtk/gtktypebuiltins.h.template
477 * gtk/gtkversion.h.in
478 * gtk/gtk*.h: add single-include guards that #error out if
479 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
480 included individually.
482 * gtk/gtkprintbackend.h
483 * gtk/gtkprinter-private.h
484 * gtk/gtktextlayout.h
485 * gtk/gtktexttagprivate.h
487 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
488 headers in these private or semi-private headers.
490 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
492 * gtk/gtkpagesetupunixdialog.h
495 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
501 * gtk/gtkitemfactory.h
504 * gtk/gtkoldeditable.h
505 * gtk/gtkoptionmenu.h
509 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
510 instead of individual headers in these deprecated headers. They
511 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
512 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
513 and include them individually, which should continue to work.
515 * gtk/gtkclist.c: include "gtkctree.h" because of the change
518 2008-05-28 Kristian Rietveld <kris@imendio.com>
520 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
523 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
524 cursor_offset *must* be larger than background height of the cursor
525 node, not just equal otherwise there is no guarantee there is a next
528 2008-05-28 Michael Natterer <mitch@imendio.com>
530 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
532 2008-05-28 Michael Natterer <mitch@imendio.com>
534 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
537 * gdk/gdkenumtypes.h.template
538 * gdk/gdk*.h: add single-include guards that #error out if
539 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
540 included individually. Also removed some redundant includes and
541 did some tiny trailing whitespace removal that's not worth to
544 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
547 * gdk/win32/gdkwin32.h
548 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
551 2008-05-28 Kristian Rietveld <kris@imendio.com>
553 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
554 current widget again.
556 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
557 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
558 custom_was_reset field to check if the custom widget is set again in
559 the query-tooltip callback; if not, we set it to NULL. Based on a
560 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
561 and Christian Persch.
563 2008-05-28 Michael Natterer <mitch@imendio.com>
565 * modules/printbackends/cups/gtkcupsutils.c
566 * modules/printbackends/cups/gtkprintbackendcups.c
567 * modules/printbackends/file/gtkprintbackendfile.c
568 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
569 <gtk/gtk.h> instead of individual files.
571 2008-05-28 Michael Natterer <mitch@imendio.com>
573 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
576 2008-05-28 Kristian Rietveld <kris@imendio.com>
578 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
580 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
581 ->priv->tree != NULL. Suggestion from Stefan Kost.
583 2008-05-28 Kristian Rietveld <kris@imendio.com>
585 Bug 324282 - add selected signal to cell renderer combo.
587 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
588 (gtk_cell_renderer_combo_changed),
589 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
590 that will be emitted as soon as the combo box emitted changed and has
591 an active iterator. (Modified patch based on work by James
594 * gtk/gtkmarshalers.list: add marshaler.
596 2008-05-28 Kristian Rietveld <kris@imendio.com>
598 Refactor expand/collapse timeout handling (amendment to bug 511217).
600 * gtk/gtktreeview.c (add_expand_collapse_timeout),
601 (remove_expand_collapse_timeout): new functions, the remove function
602 also clears expanded_collapsed_node,
603 (cancel_arrow_animation): moved to be next to the add/remove timeout
605 (gtk_tree_view_unrealize),
606 (gtk_tree_view_row_deleted),
607 (gtk_tree_view_set_model),
608 (cancel_arrow_animation),
609 (gtk_tree_view_real_expand_row),
610 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
612 2008-05-28 Kristian Rietveld <kris@imendio.com>
614 Amendment of bug 485218 - Strange warning encountered.
616 * gtk/gtktreemodelsort.[ch]
617 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
618 indication whether or not the conversion had succeeded.
620 2008-05-27 Matthias Clasen <mclasen@redhat.com>
622 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
624 * modules/printbackends/cups/gtkprintbackendcups.c
625 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
626 if the printer does not support level 3. Patch by Marek Kašík.
628 2008-05-27 Matthias Clasen <mclasen@redhat.com>
630 Bug 404571 - Scroll arrow backgrounds should be painted with different
633 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
634 as detail when drawing scroll arrow backgrounds. Proposed by
637 2008-05-27 Matthias Clasen <mclasen@redhat.com>
639 Bug 511217 - potential memory corruption after refreshing a tree_view
641 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
642 expanded_collapsed_node when canceling the animation.
643 Patch by Nicholas Setton.
645 2008-05-28 Michael Natterer <mitch@imendio.com>
647 * modules/input/gtkimcontextime.h
648 * modules/input/gtkimcontextmultipress.h
649 * modules/input/gtkimcontextthai.h
650 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
653 * modules/input/gtkimcontextime.c
654 * modules/input/gtkimcontextmultipress.c
655 * modules/input/gtkimcontextxim.c
656 * modules/input/imam-et.c
657 * modules/input/imcedilla.c
658 * modules/input/imcyrillic-translit.c
659 * modules/input/iminuktitut.c
660 * modules/input/imipa.c
661 * modules/input/imti-er.c
662 * modules/input/imti-et.c
663 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
664 "gtk/gtkintl.h" to the end of includes.
666 2008-05-28 Michael Natterer <mitch@imendio.com>
668 * modules/engines/pixbuf/pixbuf-style.h
669 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
670 instead of individual files.
672 2008-05-27 Matthias Clasen <mclasen@redhat.com>
674 Bug 485218 - Strange warning encountered
676 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
677 (gtk_tree_model_sort_convert_child_iter_to_iter):
678 (gtk_tree_model_sort_build_level): Better warnings. Patch
679 by Kristian Rietveld.
681 2008-05-27 Matthias Clasen <mclasen@redhat.com>
683 Bug 351910 - Search column setting lost
685 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
686 the docs. Patch by Matt Barnes.
688 2008-05-27 Matthias Clasen <mclasen@redhat.com>
690 Bug 477278 - avoid unnecessary pointer subtraction
692 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
693 subtraction that sparse complains about. Patch by Christian
696 2008-05-27 Matthias Clasen <mclasen@redhat.com>
698 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
700 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
701 Commit the entry text before doing an increment. Patch by
704 2008-05-27 Federico Mena Quintero <federico@novell.com>
706 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
707 drag and drop from the file list into itself, as it doesn't make
708 sense (it would just change the current folder).
710 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
711 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
714 2008-05-27 Michael Natterer <mitch@imendio.com>
716 * gtk/gtksignal.h: move deprecated guards around everything,
717 including includes and include guards (just as in all other
720 2008-05-27 Tor Lillqvist <tml@novell.com>
722 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
723 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
724 <sys/stat.h> on Windows, and the mode used in open() doesn't
725 matter much as there are no rwxrwxrwx bits on Windows anyway.)
726 Open file in binary mode. Passing "b" to fdopen() later isn't
729 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
731 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
732 invalid or invisible widgets.
734 2008-05-27 Matthias Clasen <mclasen@redhat.com>
736 Bug 531008 – Crash in gtkprintunixdialog.c
738 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
739 the dialog closes. Patch by Yevgen Muntyan.
741 2008-05-27 Matthias Clasen <mclasen@redhat.com>
743 RH bug 248245: cups client printing from gnome applications fail
745 * modules/printbackends/cups/gtkprintbackendcups.c
746 (gtk_print_backend_cups_print_stream): Specify the right server.
748 2008-05-27 Carlos Garnacho <carlos@imendio.com>
750 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
751 rubberbanding when "select-multiple" is TRUE. Bug #446068.
753 2008-05-27 Carlos Garnacho <carlos@imendio.com>
755 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
756 correctly dialog buttons sensitivity when the anonymous option is
757 enabled by default. Bug #531865.
759 2008-05-27 Carlos Garnacho <carlos@imendio.com>
761 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
762 password dialog modal and transient for the parent window also if it
763 was specified in the constructor. Bug #531864.
765 2008-05-26 Richard Hult <richard@imendio.com>
767 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
768 setting the default font, might need to tweak this.
770 2008-05-26 Michael Natterer <mitch@imendio.com>
772 * examples/gtkdial/gtkdial.h
773 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
775 2008-05-26 Michael Natterer <mitch@imendio.com>
777 * gtk/gtkimmodule.h: fix indentation.
779 2008-05-26 Michael Natterer <mitch@imendio.com>
781 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
783 * gtk/gtkshow.c: remove inclusion of single files from gdk/
785 Removed trailing whitespace in both files.
787 2008-05-26 Richard Hult <richard@imendio.com>
789 Bug 530353 – Mac-like gtk_accelerator_get_label()
791 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
792 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
793 On quartz, make gtk_accelerator_get_label() format a Mac-like
794 string, using unicode characters for modifier keys, arrows, delete
795 etc. Patch from Yevgen Muntyan.
797 2008-05-26 Richard Hult <richard@imendio.com>
799 Bug 534869 – Length miscalculation in
800 _gtk_quartz_get_selection_data_from_pasteboard
802 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
803 Get the number of bytes, not the number of characters, patch from
806 2008-05-26 Matthias Clasen <mclasen@redhat.com>
808 * gtk/gtkwidget.c: Some doc formatting fixes.
810 2008-05-26 Matthias Clasen <mclasen@redhat.com>
812 Bug 511163 – Remove pango_extents_to_pixels() calls
814 * gtk/gtkcellrenderertext.c (get_size): Use
815 pango_layout_get_pixel_extents.
817 * configure.in: Bump Pango requirement to 1.20
819 * INSTALL.in: Update required versions
821 2008-05-26 Matthias Clasen <mclasen@redhat.com>
823 Bug 513811 – Use cairo_format_stride_for_width()
825 * gtk/gtkhsv.c (paint_ring, paint_triangle):
826 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
827 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
829 * configure.in: Bump cairo requirement to 1.6.0
831 * INSTALL.in: Update required versions
833 2008-05-26 Matthias Clasen <mclasen@redhat.com>
835 * gtk/gtkshow.[hc]: Formatting fixes
837 * gtk/gtkmountoperation.c: Add docs
839 2008-05-25 Cody Russell <bratsche@gnome.org>
841 Bug 507389 – use gslice for gtksettings
843 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
844 Report and patch by Christian Persch.
846 2008-05-25 Cody Russell <bratsche@gnome.org>
848 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
849 when options are missing
851 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
852 that other processes that try to open it will fail gracefully. Also
853 fix a crasher caused by lack of a NULL check. Report and patch
856 2008-05-25 Cody Russell <bratsche@gnome.org>
858 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
860 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
861 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
862 so that we also take into account for foreign windows.
863 Report and patch by Nathaniel Smith.
865 2008-05-25 Cody Russell <bratsche@gnome.org>
867 Bug 525461 - Don't invalidate under an input-only child
869 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
870 Check that the window is not input-only before invalidating.
871 Report and patch by Owen Taylor.
873 2008-05-25 Cody Russell <bratsche@gnome.org>
875 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
878 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
879 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
881 2008-05-25 Cody Russell <bratsche@gnome.org>
883 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
884 caused by missing flag initialization
886 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
887 top-level private flags correctly. Patch by Danny Baumann.
889 2008-05-25 Cody Russell <bratsche@gnome.org>
891 Bug 534463 - non-editable GtkTextView should not call
892 gtk_im_context_focus_in in focus event
894 * gtk/gtktextview.c: Add checks to see if the textview is
895 editable. Patch by Wang Diancheng.
897 2008-05-25 Matthias Clasen <mclasen@redhat.com>
899 Bug 501730 – use GSlice for small allocs
902 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
903 Patch by Christian Persch.
905 2008-05-25 Matthias Clasen <mclasen@redhat.com>
907 Bug 523930 – sort -> search in gtktreeview.c
909 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
910 glitch, pointed out by Björn Lindqvist.
912 2008-05-25 Matthias Clasen <mclasen@redhat.com>
914 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
916 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
917 doc glitch, pointed out by Christian Persch.
919 2008-05-25 Matthias Clasen <mclasen@redhat.com>
921 Bug 534694 – Col id in GtkListStore could be out of range
923 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
924 a bit. Pointed out by Jan Arne Petersen.
926 2008-05-25 Matthias Clasen <mclasen@redhat.com>
928 Bug 532497 – Configure problem when cross-compiling
930 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
931 pointed out by Marko Lindqvist.
933 2008-05-25 Richard Hult <richard@imendio.com>
935 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
936 Slight coding style cleanup.
938 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
940 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
941 Added support for parsing required toolkit versions (so that ui descriptions
942 can target specific versions of the backend widget libraries) bug 527612.
944 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
945 for the added xml tags to the ui description.
947 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
948 for requires tag handling.
950 2008-05-25 Richard Hult <richard@imendio.com>
952 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
953 gtk_drag_source_info_destroy in an idle, workaround for bug
954 #501588, that makes any code that uses the context returned from
955 gtk_drag_begin() crash, like treeview/iconview dnd.
956 (GdkDragSourceOwner::provideDataForType): only use the data if we
959 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
961 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
962 to the drag actions to allow trash (#137717).
964 2008-05-25 Josselin Mouette <joss@malsain.org>
966 reviewed by: Matthias Clasen
968 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
969 check that tracker is actually working before using it. Fixes
972 2008-05-25 Sven Neumann <sven@gimp.org>
974 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
975 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
976 and don't create an output window if it is set.
978 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
979 drawing areas. Fixes bug #519317.
981 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
983 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
984 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
986 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
987 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
988 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
989 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
990 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
991 (start_spinning), (gtk_spin_button_button_release),
992 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
993 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
994 (gtk_spin_button_update): Reorder strange window hierarchy of the
995 GtkSpinButton (#466000).
997 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
999 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
1000 fix the wrong position for right and center justified labels with
1001 logical.x > 0 (#530255).
1003 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1005 * gtk/gtkfilechooserdefault.c:
1006 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
1009 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
1011 * tests/pixbuf-lowmem.c
1012 * tests/pixbuf-random.c
1013 * tests/pixbuf-randomly-modified.c
1014 * tests/pixbuf-read.c
1015 * tests/pixbuf-threads.c
1017 * tests/testtreeview.c: Fix remaining compiler warnings in these
1020 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
1022 reviewed by: Matthias Clasen
1027 * gtk/gtkshow.c: (gtk_show_uri):
1029 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
1031 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1033 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
1035 * tests/buildertest.c: (test_list_store): Add test.
1037 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1039 Bug 520989 – icon factory buildable too strict
1041 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
1042 an optional attribute.
1044 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1046 Bug 387972 – gtkassistant drawing problem
1048 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
1049 GtkAssistant work better in glade.
1051 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1053 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
1054 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
1055 used in GtkToolItem) (#532787).
1057 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1059 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
1060 try to toggle the visibility of the location entry field in search and
1061 recent mode (#526422).
1063 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1065 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
1066 (shortcuts_list_create): Show parse name as tooltip for path
1067 shortcuts (#137503).
1069 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
1071 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
1072 pango_color_parse, do not reference XParseColor forms (#434991).
1074 2008-05-24 James Sharpe <jsharpe@gnome.org>
1076 * gdk/gdk.symbols: Remove duplicate
1077 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
1078 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
1080 2008-05-23 Hans Breuer <hans@breuer.org>
1082 * **/makefile.msc gtk/makefile.msc.in : updated
1083 * gtk/gtkwidget.c : fix c99ism (variable at start of block
1084 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
1086 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
1087 setlocale(LC_ALL, ...)
1089 2008-05-23 Tor Lillqvist <tml@novell.com>
1091 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
1092 gdk_window_remove_redirection.
1094 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
1095 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
1096 changes. Remove now unnecessary parameter checks as the caller
1099 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
1101 2008-05-23 Tor Lillqvist <tml@novell.com>
1103 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
1104 anything if style doesn't change. Improve debugging output.
1106 2008-05-23 Michael Natterer <mitch@gimp.org>
1109 * tests/print-editor.c
1110 * tests/prop-editor.h
1111 * tests/testmountoperation.c
1112 * tests/testmultidisplay.c
1113 * tests/testnouiprint.c
1115 * tests/testprintfileoperation.h
1116 * tests/testtreesort.c
1117 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
1118 files. Remove some redundant includes.
1120 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
1122 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
1123 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
1125 2008-05-21 Richard Hult <richard@imendio.com>
1127 * gdk/quartz/gdkwindow-quartz.c:
1128 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1129 offscreen rendering changes, fixes build.
1131 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
1133 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1135 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1136 return snapshot pixmap coordinates widget relative in *clip_rect.
1138 * tests/testgtk.c: fixed bogus NULL pointer unref.
1140 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
1142 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1143 widget's allocation to cover extra widget windows placed outside the
1144 widget allocation (spinbutton arrows are the prime example for this).
1146 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
1148 * Applied pixmap redirection patch by Alexander Larsson with
1149 various updates from:
1150 Bug 318807 – Offscreen windows and window redirection.
1155 * updated docs to mention "Since 2.16".
1157 * tests/testgtk.c: fixed snapshooting pixmap leak.
1158 convert pixmap to pixbuf after snapshooting, to compensate for different
1159 bit depths (occurs when snapshooting ARGB visuals and displaying the
1160 pixmap in an RGB visual).
1162 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1164 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1165 need for it. enqueue damage notification as GDK_DAMAGE events
1166 for each painting redirection at the start of the event queue.
1167 consider windows with a redirection fully visible when invalidating,
1168 and when updating from backing store. cleaned up stale variables.
1170 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1172 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1173 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1174 tree, drawingarea, text, handlebox, etc.
1175 clip the redirected window hierarchy to window sizes, the visible
1176 rectangles don't need to be taken into account here.
1177 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1178 in case pixmap visuals could mismatch.
1180 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1185 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1186 of possibly obscured widgets into an offscreen pixmap.
1188 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1189 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1191 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1193 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1194 implementations here, adapted them to propagate redirects to child windows.
1195 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1196 clipped to visible region. queue GDK_DAMAGE event delivery.
1197 gdk_window_redirect_to_drawable(): install window painting redirection.
1198 gdk_window_remove_redirection(): remove previously installed redirection.
1200 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1201 renamed _gdk_window_new() and _gdk_window_reparent().
1203 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1204 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1206 * gdk/gdkevents.h: added GDK_DAMAGE event type.
1208 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1210 * gdk/gdkinternals.h: added internal prototypes.
1212 2008-05-21 Michael Natterer <mitch@imendio.com>
1214 * gtk/gtkalignment.c
1218 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1220 2008-05-20 Matthias Clasen <mclasen@redhat.com>
1222 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1225 Patch by Marek Kasik.
1228 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1230 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1232 * modules/printbackends/file/gtkprintbackendfile.c:
1233 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1234 get_default_page_size.
1236 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1237 select its default paper size.
1239 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1240 use the printer default.
1242 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1243 if we don't have a default page setup.
1245 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
1247 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1248 can accept NULL for none. Fixes bug #533920.
1250 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
1252 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1253 gtk_spin_button_update): Remove two chunks of duplicated
1256 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
1258 * reverted recent unapproved changes by Yair Hershkovitz,
1259 regarding: Bug 503071 – Application direction changes to right
1260 to left even if theres no translation.
1262 2008-05-19 Richard Hult <richard@imendio.com>
1264 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1265 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1266 SetSystemUIMode instead of hiding and showing the menubar.
1268 2008-05-19 Federico Mena Quintero <federico@novell.com>
1270 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1271 can't be resized until you expand the "Browse for other folders"
1274 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1275 Removed the "get_resizable" method.
1276 (_gtk_file_chooser_embed_get_resizable): Removed.
1278 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1280 * gtk/gtkfilechooserdefault.c: Likewise.
1282 * gtk/gtkfilechooserdialog.c
1283 (file_chooser_widget_default_size_changed): Act as if the dialog
1284 were always resizable.
1286 2008-05-19 Michael Natterer <mitch@imendio.com>
1288 * gtk/gtkcellrenderer.c
1289 * gtk/gtkcellrendererpixbuf.c
1290 * gtk/gtkcellrenderertoggle.c
1291 * gtk/gtkimagemenuitem.c
1292 * gtk/gtkmenutoolbutton.c
1293 * gtk/gtkoptionmenu.c
1294 * gtk/gtkstatusbar.c
1295 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1297 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
1299 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1300 g_disable_setlocale().
1302 2008-05-17 Richard Hult <richard@imendio.com>
1304 * gdk/quartz/gdkwindow-quartz.c:
1305 (gdk_window_impl_quartz_invalidate_maybe_recurse):
1306 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1307 of g_idle_add. Add a temporary check if the window is already in
1308 the updates list, since update_area currently doesn't always match
1309 the backend's state, see bug #530801.
1311 2008-05-13 Tor Lillqvist <tml@novell.com>
1313 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1315 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1316 the "packet rate" of devices to zero instead of 50. This is
1317 reported to help significantly with Wacom tablet behaviour in GIMP
1318 and Inkscape. Patch from Thomas Bleeker.
1320 2008-05-12 Richard Hult <richard@imendio.com>
1322 * gdk/quartz/gdkevents-quartz.c:
1323 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1324 as it's no longer necessary; instead the added quartz API to get
1325 the nsevent from an event should be used. Also move the global
1326 filter up so it's done before the check for window-less events.
1328 2008-05-12 Tor Lillqvist <tml@novell.com>
1330 Bug 532558 - Cannot build dll when using separate builddir
1333 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1336 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
1338 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1340 2008-05-12 Tor Lillqvist <tml@novell.com>
1342 Bug 532059 - Leak in win32 clipboard manipulation
1344 * gdk/win32/gdkselection-win32.c
1345 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1348 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
1350 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1351 gettext_initialization only once.
1353 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1354 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
1355 with the extended functionality that was in the removed dpgettext().
1357 * gtk/gtkaccellabelc:
1359 * gtk/gtkimmulticontext.c:
1360 * gtk/gtkactiongroup.c:
1361 * gtk/gtkintl.h: use glib i18n api.
1363 2008-05-08 Richard Hult <richard@imendio.com>
1365 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1366 currently invalidated region. Fixes bug #532048, patch by Yevgen
1369 2008-05-08 Richard Hult <richard@imendio.com>
1371 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1372 fd's revents, not the first one. Fixes bug #531056, spotted by
1375 2008-05-07 Tor Lillqvist <tml@novell.com>
1377 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1380 2008-05-05 Matthias Clasen <mclasen@redhat.com>
1382 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1383 more printer status information in the print dialog.
1385 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1386 printer-state-reasons into suitable messages and icons.
1388 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1389 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1390 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1392 * gtk/gtkiconfactory.c:
1393 * gtk/gtkstock.h: New stock icons to display printer state.
1395 2008-05-07 Michael Natterer <mitch@imendio.com>
1397 * gdk/gdkinternals.h
1399 * gdk/directfb/gdkevents-directfb.c
1400 * gdk/quartz/gdkevents-quartz.c
1401 * gdk/win32/gdkevents-win32.c
1402 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1403 order parameters src,dest and make src const.
1405 2008-05-06 Richard Hult <richard@imendio.com>
1407 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1408 * gdk/gdkinternals.h: Add private backend data to events, and
1409 handle it when copying/freeing events. Currently only needed in
1412 * gdk/directfb/gdkevents-directfb.c:
1413 * gdk/quartz/gdkevents-quartz.c:
1414 * gdk/win32/gdkevents-win32.c:
1415 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1416 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1417 directfb. Implement for quartz. Part of fixing bug #473822.
1419 2008-05-05 Richard Hult <richard@imendio.com>
1421 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1422 framework if there is one.
1424 2008-05-05 Michael Natterer <mitch@imendio.com>
1426 * gtk/gtkcellrenderercombo.h
1427 * gtk/gtkcellrendererspin.h
1428 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1431 * gtk/gtkfilechooserdialog.h
1432 * gtk/gtkfilechooserwidget.h
1433 * gtk/gtkscalebutton.h: reorder instance and class structs to be
1436 2008-05-04 Richard Hult <richard@imendio.com>
1438 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1439 gdk_unicode_to_keyval() worked before using the result. Makes
1440 function keys work, bug #530156. Also add F16 to the function key
1443 2008-05-04 Richard Hult <richard@imendio.com>
1445 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1446 semicolon after if statement. Fixes bug #530963, patch from Yevgen
1449 2008-05-02 Michael Natterer <mitch@imendio.com>
1451 * gtk/gtk.h: add 15 files that were missing (they all got included
1452 indirectly by including gtk.h, so should have been here in the
1455 2008-05-02 Michael Natterer <mitch@imendio.com>
1457 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1459 2008-05-01 Richard Hult <richard@imendio.com>
1461 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1462 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1464 2008-05-01 Matthias Clasen <mclasen@redhat.com>
1466 * modules/imput/imthai.c: Register the right translation domain.
1468 2008-04-30 Matthias Clasen <mclasen@redhat.com>
1470 Bug 529386 – Printing options hidden by blacklisted option
1472 * modules/printbackend/cups/gtkprintbackendcups.c
1473 (cups_printer_get_options): Fix the blacklist handling.
1474 Patch by Marek Kašík.
1476 2008-04-30 Richard Hult <richard@imendio.com>
1478 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1481 2008-04-30 Richard Hult <richard@imendio.com>
1483 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1484 nsevents with the gdk lock held, fixes deadlock when doing manual
1485 window resizing with threading enabled.
1487 2008-04-30 Richard Hult <richard@imendio.com>
1489 * gdk/quartz/gdkevents-quartz.c:
1490 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1491 Alt to Alt and Cmd to Meta. This is not only more logical but also
1492 makes it easier to have Mac-like behavior.
1494 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
1496 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1497 painting the flat box instead of recalculating it. (#437493,
1500 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
1502 Bug 529841 – incorrect position in directfb
1504 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
1506 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
1508 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1510 2008-04-25 Michael Natterer <mitch@imendio.com>
1512 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1513 <pango/pango-layout.h>.
1515 * gtk/gtkiconfactory.c
1519 * gtk/queryimmodules.c: remove inclusion of single files from
1520 pango, none of them was actually needed.
1522 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1523 <pango/pango-utils.h>.
1525 2008-04-25 Michael Natterer <mitch@imendio.com>
1527 * gdk/gdkfont.h: include <pango/pango.h> instead of
1528 <pango/pango-font.h>.
1530 2008-04-25 Michael Natterer <mitch@imendio.com>
1532 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1535 2008-04-21 Michael Natterer <mitch@imendio.com>
1537 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1538 crashing when NULL pointers get passed.
1540 2008-04-18 Michael Natterer <mitch@imendio.com>
1542 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1543 here have the same style.
1545 2008-04-18 Michael Natterer <mitch@imendio.com>
1547 * gtk/gtkicontheme.h
1548 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1551 * gtk/gtkbuilderparser.c
1552 * gtk/gtklinkbutton.c
1554 * gtk/gtkrecentchooserdefault.c
1555 * gtk/gtkrecentchoosermenu.c
1556 * modules/input/gtkimcontextthai.c: remove inclusion of single
1557 files from gdk, none of the includes was actually needed.
1559 2008-04-18 Michael Natterer <mitch@imendio.com>
1561 * gdk/gdk.h: reorder one include so they are all alphabetical.
1563 2008-04-18 Michael Natterer <mitch@imendio.com>
1565 * modules/printbackends/cups/gtkprintercups.[ch]
1566 (gtk_printer_cups_get_ppd_name): change return value and local
1567 variable to const gchar* to fix warning about discarding const
1570 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1572 * gtk/gtkrecentmanager.c:
1573 (gtk_recent_manager_set_filename): Keep the default storage
1574 file in $HOME, as we don't have a migration code in place yet.
1576 2008-04-18 Michael Natterer <mitch@imendio.com>
1578 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1579 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1581 2008-04-17 Michael Natterer <mitch@imendio.com>
1583 * gtk/gtkiconfactory.c (get_default_icons): register the
1584 GTK_STOCK_PAGE_SETUP icon.
1586 2008-04-17 Michael Natterer <mitch@imendio.com>
1588 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1589 g_return_if_fail(tooltips != NULL);
1591 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1593 * gtk/gtkwindow.c: Chain up in buildable_finish()
1595 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1596 cases where g_path_get_dirname() returns "."
1598 * docs/reference/gtk/tmpl/gtklabel.sgml,
1599 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1600 for the <attributes> tags on GtkLabel
1602 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1604 * gtk/gtkrecentmanager.c:
1605 (gtk_recent_manager_real_changed): Fix last commit, and
1606 complete the gtk-recent-files-max-age semantics: if the
1607 property is set to 0 then purge the list.
1609 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1611 Bug 488507 – boundless growth of .recently-used.xbel file
1612 slows down applications
1614 * gtk/gtkrecentmanager.c:
1615 (gtk_recent_manager_init),
1616 (gtk_recent_manager_real_changed),
1617 (gtk_recent_manager_set_filename),
1618 (gtk_recent_manager_clamp_to_age): Clamp the recently
1619 used resources list by the age of its items, using
1620 the newly added GtkSettings property.
1622 * gtk/gtksettings.c (gtk_settings_class_init): Add the
1623 gtk-recent-files-max-age property, controlling the
1624 maximum age of the items in the recently used resources
1627 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1629 * gtk/gtkrecentmanager.c:
1630 (gtk_recent_manager_add_item_query_info),
1631 (gtk_recent_manager_add_item): Emit the ::changed signal
1632 at the end of the asynchronous MIME type query.
1634 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1636 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1639 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1640 changes in the recently used resources storage file, and
1641 drop the timeout-based poll.
1643 * ChangeLog: Fix attribution of the patch of the previous
1646 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1648 Bug 506062 – gtk_recent_manager_add_item does not detect mime
1651 * configure.in: Depend on gio-2.0
1653 * gtk/gtkrecentmanager.c:
1654 (gtk_recent_manager_add_item_query_info_cb),
1655 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1656 query the MIME type of the passed URI (based on a patch by
1659 2008-04-11 Carlos Garnacho <carlos@imendio.com>
1661 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1662 page to visited page list instead of next current page. (#527466,
1663 patch by Marcus Brinkmann)
1665 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
1667 * gtk/gtklabel.c: Added <attributes> / <attribute>
1668 custom tags to parse pango attributes into labels (#527486).
1670 * tests/buildertest.c: Added tests for GtkLabel custom
1673 2008-04-10 Carlos Garnacho <carlos@imendio.com>
1675 * gtk/gtknotebook.c (hide_drag_window): Do not call
1676 gtk_widget_set_parent_window(), using widget->window instead of NULL
1677 to unset is the wrong thing, and gtk_widget_unparent() will already
1678 take care of this (#467698, patch by Sébastien Granjoux)
1680 2008-04-08 Tor Lillqvist <tml@novell.com>
1682 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1683 these functions with G_MODULE_EXPORT.
1685 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1687 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1688 (gtk_file_system_volume_render_icon):
1689 Fix fallback icon rendering size
1691 2008-04-08 Michael Natterer <mitch@imendio.com>
1693 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1694 touchscreen-mode keynav corner case: when navigating to the parent
1695 menu, make sure we don't close two menus at the same time in case
1696 the deepest open menu has no selectable items.
1698 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
1700 * gtk/gtkwidget.c: Clarified a g_warning message regarding
1701 parsing accelerators from builder files.
1703 2008-04-03 Cody Russell <bratsche@gnome.org>
1705 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1706 of the block. (#526021, reported by Kazuki IWAMOTO)
1708 2008-04-03 Tor Lillqvist <tml@novell.com>
1710 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1713 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1714 workaround for a specific kind of screwed up locale setting.
1716 2008-04-02 Matthias Clasen <mclasen@redhat.com>
1718 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1719 colormaps. Found by Daniel Berrange.
1721 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
1723 * tests/autotestfilechooser.c: Cover
1724 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1725 name. (#346058, Joe Halliwell)
1727 2008-04-02 Federico Mena Quintero <federico@novell.com>
1729 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1730 chooser incorrectly substitutes and expands a ~ when you type it
1731 in the filename entry.
1733 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1734 basenames result in a slash-terminated pathname.
1735 gtk_file_system_unix_parse() is correct, but it was splitting
1736 "/home/username" into path="/home" and file_part="username", which
1737 is not what the caller wants when the entry has just "~" or
1740 2008-04-02 Tor Lillqvist <tml@novell.com>
1742 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1743 and gtksearchenginetracker.c on Windows.
1745 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1748 2008-04-01 Cody Russell <bratsche@gnome.org>
1750 * configure.in: Bump required Cairo to 1.5.2.
1752 * gtk/gtkprintoperation-win32.c: Add support for using the new
1753 cairo_win32_printing_surface for printing. Also fixed to use
1754 cairo_surface_show_page(). (#488833 and #521178)
1756 2008-03-31 Cody Russell <bratsche@gnome.org>
1758 * demos/gtk-demo/printing.c (draw_page): Move down each line in
1759 units of text_height rather than in units of data->font_size.
1760 (totally awesome catch by Dom Lachowicz)
1762 2008-03-28 Richard Hult <richard@imendio.com>
1764 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1765 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1766 event to the mainloop and don't generate one at all if the
1767 toplevel didn't change. Use the actual window and not the toplevel
1768 as event window. These changes make the generated crossing events
1769 match the X11 behavior and fixes issues with e.g. tooltips,
1770 comboboxes and menus.
1772 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1773 the view has no window, it will be updated as soon as it's put
1776 * gdk/quartz/gdkwindow-quartz.c:
1777 (_gdk_quartz_window_debug_highlight): Make it possible to track
1778 multiple windows with debug highlighting.
1779 (show_window_internal): Remove workaround for tooltips and popups
1780 that is no longer needed with the above changes.
1782 2008-03-26 Federico Mena Quintero <federico@novell.com>
1784 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
1785 helper function; factored out from the functions that commit the
1786 current suggested autocompletion and that refresh the entry's paths.
1787 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
1788 (_gtk_file_chooser_entry_get_file_part): Likewise.
1789 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
1790 makes the entry have the correct paths when *not* using any form
1791 of completion (and makes the file chooser work when clicking the
1794 2008-03-25 Richard Hult <richard@imendio.com>
1796 * gdk/quartz/gdkevents-quartz.c:
1797 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
1798 can't find a matching window.
1800 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
1801 comment, and only trigger an event for non-temp windows, fixes
1802 problems for tooltips caused by the workarounds for the
1803 problematic tracking rect API.
1805 2008-03-25 Richard Hult <richard@imendio.com>
1807 * gdk/quartz/gdkwindow-quartz.c:
1808 (gdk_window_quartz_process_all_updates): Plug a leak and add a
1809 check that we have a toplevel before accessing it.
1811 2008-03-24 Tor Lillqvist <tml@novell.com>
1813 Bug 524151 - Dragging of 0-byte files results in an empty filename
1814 on Windows XP and above
1816 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
1817 being empty first. For some reason ISHellLink and IPersistFile
1818 succeeds in interpreting empty files as shortcuts, claiming the
1819 target of the shortcut is an empty path.
1821 Change the function to take the wide character file name that the
1822 caller already has anyway, to avoid a superfluous conversion from
1825 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
1827 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
1828 against NULL pointer. (#467051, Gian Mario Tagliaretti)
1830 2008-03-23 Cody Russell <bratsche@gnome.org>
1832 * gdk/win32/gdkevents-win32.c (show_window_recurse):
1833 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
1834 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
1835 menus from a maximized window would force the window to restore
1838 2008-03-23 Johan Dahlin <johan@gnome.org>
1840 * gtk/gtk-builder-convert:
1841 Properly convert GtkImageMenuItems which use stock labels but don't
1843 (#523932, Brian Pepple)
1845 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
1847 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
1848 New function implements GtkCellLayoutClass::get_cells. (#523787)
1850 2008-03-22 Tor Lillqvist <tml@novell.com>
1852 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
1854 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
1855 GDK_THREADS_LEAVE() call. Approved by mclasen.
1857 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
1859 * gtk/gtkexpander.c (gtk_expander_get_label):
1860 gtk_label_get_label() should be used instead of
1861 gtk_label_get_text(). (#353088, Xan Lopez)
1863 2008-03-21 Tor Lillqvist <tml@novell.com>
1865 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
1866 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
1867 gdip-pixbuf-loader module.
1869 * configure.in: Add switch --disable-gdiplus-loaders that disables
1870 building of the GDI+ loaders.
1872 When including loaders in the gdk-pixbuf library, and building
1873 GDI+ loaders, either build in all the GDI+ loaders or none of
1874 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
1875 signal building them in.
1877 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
1878 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
1879 indicate whether they should be built-in.
1881 For the rest of the changes, see gdk-pixbuf/ChangeLog.
1883 2008-03-20 Tor Lillqvist <tml@novell.com>
1885 * gtk/Makefile.am: Revert accidental change that went in as part
1886 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
1887 Darwin. On Windows one has to use a newer GNU grep that has -o,
1888 for instance the one from gnuwin32, instead of the oldish one in
1889 MSYS that doesn't have -o.
1891 2008-03-20 Tor Lillqvist <tml@novell.com>
1893 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
1894 pass NULL for %s to g_message().
1895 (main): Drop unnecessary call to gtk_widget_destroy().
1897 2008-03-20 Tor Lillqvist <tml@novell.com>
1899 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
1901 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
1902 in one dimension, or centered in case it doesn't fit.
1903 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
1906 2008-03-18 Tor Lillqvist <tml@novell.com>
1908 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
1910 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
1911 G_MODULE_ENTRY decoration can be put in a more correct place.
1913 2008-03-18 Sven Neumann <sven@gimp.org>
1915 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
1916 alternative button order on the password dialog.
1918 2008-03-18 Tor Lillqvist <tml@novell.com>
1920 Bug 99192 - Add --with-include-input-modules
1922 * configure.in: Add --with-included-immodules switch. Handled in a
1923 similar way as the --with-included-loaders switch. For each input
1924 method module foo: Collect the list of input modules to be built
1925 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
1926 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
1927 Define Automake conditionals INCLUDE_IM_FOO.
1929 * modules/input/Makefile.am: For modules to be included in libgtk,
1930 build a static library.
1932 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
1933 gdk-pixbuf to get unique names for the functions called by libgtk
1934 in the included case. Use G_MODULE_EXPORT in the non-included case
1935 so that we don't unnecessarily export unneeded random global
1938 * gtk/Makefile.am: Build the included modules and link them into libgtk.
1940 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
1941 copy/paste leftover mentions of "themes" in comments.
1943 2008-03-18 Tor Lillqvist <tml@novell.com>
1945 * tests/Makefile.am: Build testmountoperation only on Unix for now.
1947 2008-03-17 Christian Kellner <gicmo@gnome.org>
1949 Implement GtkMountOperation, a subclass of GMountOperation
1950 to be used with gio wherever there is the need to ask the
1951 user for credentials or questions while mounting a volume.
1954 * gtk/gtkmountoperation.c:
1955 * gtk/gtkmountoperation.h:
1956 Implement GtkMountOperation.
1958 * gtk/gtk.h: Add gtkmountoperation.h
1959 * gtk/Makefile.am: Add gtkmountoperation.[hc]
1960 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
1961 * tests/testmountoperation.c: Test program for it.
1962 * tests/Makefile.am: Add testmountoperation.
1964 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
1966 * gtk/gtkcontainer.c: Properly document
1967 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
1969 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1971 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
1972 style names for the ComboBox thickness style
1974 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1976 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
1977 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
1978 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
1979 intelligent separation for the xp theming engine and the classic
1980 theme while drawing the GtkComboBox button. combobox_draw_arrow
1981 is not used anymore, commented. The style has been updated to fix
1982 border/thickness glitches in the combobox according to the fixes
1983 commited regarding bug #521442. (bug #461805)
1985 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
1987 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
1988 now aware of both the combobox and frame (if has-frame is set)
1989 thickness and border. (bug #521442)
1991 2008-03-15 Andre Klapper <a9016009@gmx.de>
1993 * configure.in: Added "si" to ALL_LINGUAS.
1995 2008-03-15 Matthias Clasen <mclasen@redhat.com>
1997 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1998 Set window type hint on the search popup. (#522279, Danny Baumann)
2000 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2002 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
2003 appropriate. (#521934, Huang Peng)
2005 2008-03-14 Michael Natterer <mitch@imendio.com>
2008 * gtk/gtkbuilderprivate.h
2009 * gtk/gtkfilechoosersettings.c
2010 * gtk/gtksearchenginesimple.c
2011 * gtk/tests/liststore.c
2012 * gtk/tests/treestore.c: remove single-file includes of GLib
2013 headers or replace them by <glib.h> where needed.
2015 2008-03-14 Michael Natterer <mitch@imendio.com>
2017 * gtk/gtkadjustment.c: coding style cleanup.
2019 (gtk_adjustment_set_property): no need to call g_object_notify()
2020 on the set properties.
2022 Implement GObject::dispatch_properties_changed() and make sure we
2023 emit "changed" when anything but the "value" property changes.
2025 2008-03-14 Tor Lillqvist <tml@novell.com>
2027 * gdk/win32/gdkevents-win32.c: Drop the support for the
2028 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
2029 Win95. Thanks to mitch for noticing this obsolete code.
2031 2008-03-14 Cody Russell <bratsche@gnome.org>
2033 * examples/scribble-xinput/scribble-xinput.c: Changed
2034 'void int main()' to 'int main()'. (#522211, Liqing Huang)
2036 2008-03-14 Richard Hult <richard@imendio.com>
2038 * gdk/quartz/gdkwindow-quartz.c:
2039 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
2040 only flush the toplevel once per update.
2042 2008-03-13 Federico Mena Quintero <federico@novell.com>
2044 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
2045 Set the mouse cursor of the feedback window to invisible, so that
2046 we respect GtkEntry's invisible cursor while typing.
2048 2008-03-13 Federico Mena Quintero <federico@novell.com>
2050 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
2051 the feedback window at entry_height/2 pixels to the right of the
2052 cursor, for a cheap "M-width / 2" spacing.
2054 2008-03-13 Sven Neumann <sven@gimp.org>
2056 * gtk/gtkfilechooserdefault.c
2057 * gtk/gtkprintunixdialog.c: set alternative button order for
2058 overwrite confirmation dialogs (bug #522191).
2060 2008-03-13 Sven Neumann <sven@gimp.org>
2062 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
2063 (overwrite_confirmation_dialog): added some line-breaks for
2066 2008-03-12 Federico Mena Quintero <federico@novell.com>
2068 Rework the way completion works in GtkFileChooserEntry. Fixes
2069 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
2070 Tab completion should work even if the cursor is not at the end of
2073 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
2076 We distinguish between two cases:
2078 - autocompletion - happens only in the Open modes by
2079 inserting and selecting the common prefix as you type.
2081 - explicit completion - happens when you hit Tab.
2083 When some type of completion needs to happen, the entry first
2084 parses its input and sees if it needs to initiate a folder load.
2085 Completion will not happen until the folder finishes loading.
2087 If the folder is already completely loaded, then completion is
2088 performed immediately. Otherwise, the entry queues a pending
2089 completion and starts loading the new folder (or waits until the
2090 current folder is completely loaded).
2092 Tab completion is allowed to happen even if the cursor is not at
2093 the end of the entry.
2095 There is a new feedback mechanism for explicit completion, so that
2096 you will get an Emacs-like tip whenever there are ambiguities in
2097 completion, no matches, etc. (This needs to be polished so that
2098 we support RTL entries and all the fancy Pango layout in GtkEntry).
2100 The only remaining thing to fix is the popup suggestion window.
2101 Unfortunately, GtkEntryCompletion does not let us do what we want,
2102 and will need further changes.
2104 2008-03-12 Tor Lillqvist <tml@novell.com>
2106 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
2108 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
2109 for the TaskbarCreated message in the window procedure for the
2110 dummy "tray observer" window we create. When we get a
2111 TaskbarCreated message, iterate over the status icons and re-add
2112 them to the task bar, and update them by calling
2113 gtk_status_icon_update_image().
2115 Move some ifdefs around to avoid unused functions.
2117 2008-03-12 Tor Lillqvist <tml@novell.com>
2119 * config.h.win32.in: Update to match what configure produces.
2121 2008-03-12 Jens Granseuer <jensgr@gmx.net>
2123 * modules/printbackends/cups/gtkprintbackendcups.c:
2124 (cups_printer_prepare_for_print): Don't define variables in the
2125 middle of a block. (#522067)
2127 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2129 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
2130 dialog for print-to-file. (#474302, Marek Kašík)
2132 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2134 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2135 (#469210, Wouter Bolsterlee)
2137 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2139 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
2140 paper_size here. (#488820, Morten Welinder)
2142 2008-03-12 Michael Natterer <mitch@imendio.com>
2144 * acconfig.h: remove this deprecated file.
2146 * configure.in: added comments to all instances of AC_DEFINE() so
2147 config.h can be completely generated from configure.in.
2149 2008-03-12 Michael Natterer <mitch@imendio.com>
2151 * modules/printbackends/cups/gtkprintbackendcups.c: include
2152 <glib/gstdio.h> for g_fopen().
2154 2008-03-11 Matthias Clasen <mclasen@redhat.com>
2156 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2157 g_ascii_formatd when formatting custom paper sizes, since
2158 cups doesn't handle , as decimal separator. (#521548)
2160 2008-03-11 Tor Lillqvist <tml@novell.com>
2162 Bug 469868 - Filenames with colon ":" are not saved correctly
2164 * gtk/gtkfilechooserentry.c (insert_text_callback)
2165 (delete_text_callback) [Win32]: New functions to make sure that
2166 colons used otherwise than as a separator after a drive letter, or
2167 characters that are always illegal in file names, are rejected on
2168 input. This means that the GTK+ file chooser can't be used to
2169 input full names of alternate data streams, but oh well. There are
2170 still more checks that could be done on the file names, see the
2171 bug report. But this will do for now.
2172 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2174 2008-03-11 Jordi Mallach <jordi@sindominio.net>
2176 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2178 2008-03-11 Michael Natterer <mitch@imendio.com>
2180 * gdk/linux-fb/*: removed linux-fb backend files.
2184 * docs/README.linux-fb
2185 * gtk/Makefile.am: remove remaining traces of linux-fb.
2187 * gtk/gtkwindow-decorate.c: same here. There is some code that
2188 calls into linux-fb to set window move/resize callbacks. I put it
2189 in #if 0 as a reminder because we did use decorated windows with
2190 the DirectFB backend and it did work, so I don't really know why
2191 this code is needed or how it could work with DirectFB back then.
2192 The file does actually compile now if DECORATE_WINDOWS is defined,
2193 but I didn't test with DirectFB to check if it does anything.
2195 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
2197 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2198 Take thickness into account in the size allocation of the child widgets in
2202 2008-03-11 Richard Hult <richard@imendio.com>
2204 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2206 2008-03-10 Tor Lillqvist <tml@novell.com>
2208 * tests/teststatusicon.c (do_exit, popup_menu): Add the
2209 possibility to test what happens if the process just calls exit()
2210 without any orderly cleanup of GTK+.
2212 2008-03-10 Tor Lillqvist <tml@novell.com>
2214 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2216 2008-03-10 Tor Lillqvist <tml@novell.com>
2218 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2220 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2221 New debugging output function that decodes a set of WS_* bits.
2223 * gdk/win32/gdkprivate-win32.h: Declare it.
2225 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2226 New function that enables or disables one menu entry in the system
2227 menu of a top-level window. (The corresponding decoration will
2228 then also be enabled or disabled (grayed).)
2230 (update_style_bits): Do as the comment says and don't try to
2231 update the window style based on the GdkWMFunctions set for the
2234 (update_system_menu): New function that enables or disables the
2235 system menu entries based on a window's stored set of
2238 (gdk_window_set_functions): Call update_system_menu() instead of
2239 update_style_bits().
2241 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
2243 * README.in: Reword the 2.14 release notes entry about the
2244 deprecation of the gtkitemfactory.h header, and fix typos
2247 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
2249 * modules/engines/ms-windows/msw_style.c (draw_shadow):
2250 Do not draw frame if parent if combobox.
2252 Uses scrollbar width system metrics for combobox button.
2253 Fixes #461805 for XP theme engine.
2255 2008-03-07 Johan Dahlin <johan@gnome.org>
2258 * gtk/gtkbuilderparser.c:
2259 * gtk/gtkbuilderprivate.h:
2260 * gtk/gtkiconfactory.c:
2261 * tests/buildertest.c:
2262 - Treat enums like enums and not values
2263 - Avoid invalid free, in case of more than two sources
2264 - Add better error messages
2265 - Add much improved tests
2266 (#520979, Christian Persch)
2268 2008-03-07 Carlos Garnacho <carlos@imendio.com>
2270 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2273 2008-03-06 Federico Mena Quintero <federico@novell.com>
2275 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2276 GtkFileChooserDialog should set a default response button if the
2277 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
2279 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2280 function, refactor from where there was duplicated code.
2281 (gtk_file_chooser_dialog_map): Look at the buttons in our
2282 action_area. If the response ID for a button is one of the stock
2283 ones, make it the default response button.
2285 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2287 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2289 * gtk/gtkbuilderprivate.h:
2290 * gtk/gtkiconfactory.c:
2291 * tests/buildertest.c:
2292 Implement GtkBuildable on GtkIconFactory, to make
2293 it possible to register custom stock icons.
2296 2008-03-06 Johan Dahlin <johan@gnome.org>
2300 * gtk/gtkstyle.c: npoints->n_points.
2301 * gtk/gtktestutils.h: widget->spinner
2302 * gtk/gtktestutils.c: argc->argcp, argv->argvp
2304 2008-03-06 William Lachance <wrlach@gmail.com>
2306 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
2307 string localizable (as it should be).
2309 2008-03-06 William Lachance <wrlach@gmail.com>
2311 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2312 the time for today's date. It's redudant. (see bug #410517).
2314 2008-03-06 Xan Lopez <xan@gnome.org>
2316 * gtk/gtkfixed.c: fix typo in documentation.
2318 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2320 * gtk/gtkitemfactory.h:
2321 * gtk/gtktypeutils.h:
2322 Move GtkTranslateFunc to gtktypeutils.h so we can completely
2323 deprecate gtkitemfactory.h.
2325 * gtk/gtkactiongroup.h:
2327 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2330 Add a note describing this slight incompatible change
2332 2008-03-06 Johan Dahlin <johan@gnome.org>
2334 * gtk/gtkpreview.h: Avoid double-deprecation.
2336 2008-03-06 Michael Natterer <mitch@imendio.com>
2339 * gtk/Makefile.am: move the remaining deprecated widgets to the
2340 separate sections and replaced spaces by tabs in Makefile.am
2342 2008-03-05 Johan Dahlin <johan@gnome.org>
2344 * configure.in: Add --disable-cups option.
2345 (#513826, Alberto Ruiz)
2349 Separate broken and deprecated sources and headers into different sections
2351 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2353 2008-03-05 Kristian Rietveld <kris@imendio.com>
2355 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2356 short-circuit in case an empty root level would be build (and thus
2357 directly destroyed) if no virtual root has been set.
2359 2008-03-04 Matthias Clasen <mclasen@redhat.com>
2361 * modules/printbackends/cups/gtkprintbackendcups.c:
2362 Honor cups user default options from ~/.cups/lpoptions
2363 (#469210, Stijn Hoop)
2365 2008-03-04 Michael Natterer <mitch@imendio.com>
2368 * gtk/gtkcolorbutton.c
2369 * gtk/gtkentrycompletion.c
2370 * gtk/gtkfontbutton.c
2374 * gtk/gtkpreview.c: don't include "gtksignal.h".
2376 * gtk/gtkfilefilter.c
2377 * gtk/gtkrecentchoosermenu.c
2378 * gtk/gtkrecentfilter.c
2379 * gtk/gtktext.c: don't include "gtkobject.h".
2381 2008-03-04 Simos Xenitellis <simos@gnome.org>
2383 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2384 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2386 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
2389 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
2390 file, contains compose sequences that used to exist in
2391 gtk/gtkimcontextsimple.c
2393 * gtk/compose-parse.py: Script to generate compose
2394 sequences from upstream (Xorg).
2396 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
2397 check_algorithmically): New functions. First two search in
2398 gtk_compose_seqs_compact[] for matching compose sequence, third
2399 tries NFC normalisation on incoming compose sequence.
2400 (gtk_im_context_simple_filter_keypress):
2401 Adds searching with check_compact_table(), check_algorithmically().
2403 2008-03-03 Carlos Garnacho <carlos@imendio.com>
2405 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2406 scrollwheel work in GtkPathBar.
2408 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2410 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
2411 an input-only window, event_window, which we'll use to capture
2413 (gtk_path_bar_map): Show the event_window under the rest of the
2414 windows, so it will be a catch-all for unhandled events.
2416 2008-03-03 Sven Neumann <sven@gimp.org>
2418 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2419 typo in the documentation of the GtkFileChooserButtons::file-set
2420 signal (see bug #353196).
2422 2008-03-03 Tor Lillqvist <tml@novell.com>
2424 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2427 2008-03-02 Johan Dahlin <johan@gnome.org>
2429 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
2430 Remove left-over focus_pad variable.
2431 (#490892, Claudio Saavedra)
2433 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2434 (#518166, Matt Kraai)
2436 2008-03-02 Johan Dahlin <johan@gnome.org>
2438 * docs/tutorial/gtk-tut.sgml: Add a missing space
2439 (#517954, Matt Kraai)
2441 2008-03-03 Tor Lillqvist <tml@novell.com>
2443 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2444 the widget is a GtkButton before casting.
2446 2008-03-02 Johan Dahlin <johan@gnome.org>
2448 * configure.in: Compare using = instead of ==, which is portable.
2449 (#490787, Thomas Klausner)
2451 2008-03-02 Johan Dahlin <johan@gnome.org>
2453 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2454 fixes non-C++ build.
2455 (#496032, Nelson Benitez)
2457 2008-02-29 Johan Dahlin <johan@gnome.org>
2459 * demos/gtk-demo/demo.ui:
2460 * gtk/gtkbuilderparser.c:
2461 * gtk/gtkbuilderprivate.h:
2462 * gtk/gtkliststore.c:
2463 * tests/buildertest.c:
2464 Add translatable/context and comment attributes on
2465 <col> tags under a GtkListStore. Refactor parts of the
2466 translation api and make it available inside gtk+ itself.
2467 Update tests and example.
2468 Fixes a part of #518642
2470 2008-02-29 Johan Dahlin <johan@gnome.org>
2473 Add missing g_return_val_if_fail checks for public API.
2475 * gtk/gtkbuilderparser.c:
2476 * gtk/gtkbuilderprivate.h:
2477 Do not use g_error for a few more errors, instead set
2478 the GError sent in through add_from_file/add_from_string.
2479 * tests/buildertest.c:
2480 Add a couple of new parsing tests.
2481 (#519199, Pavel Syomin)
2483 2008-02-29 Federico Mena Quintero <federico@novell.com>
2485 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2486 refreshing an existing folder (i.e. when we are about to reload
2487 its file list), turn off the folder's is_finished_loading flag.
2488 Otherwise callers which do ::is_finished_loading() followed by
2489 ::list_children() will get nothing.
2491 2008-02-29 Cody Russell <bratsche@gnome.org>
2493 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2494 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2496 2008-02-28 Matthias Clasen <mclasen@redhat.com>
2498 * gtk/gtkcalendar.h: Remove trailing comma from enum to
2499 make the compiler happy. (#517295, Sylvain Pasche)
2501 2008-02-27 Michael Natterer <mitch@imendio.com>
2503 * gtk/gtkmenushell.c
2506 * gtk/gtktipsquery.c
2511 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2512 private functions and virtual function implementations.
2514 2008-02-27 Richard Hult <richard@imendio.com>
2516 * gdk/quartz/GdkQuartzView.c:
2517 * gdk/quartz/GdkQuartzView.h:
2518 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2519 Fix performance regression for borderless transparent windows
2522 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
2524 * tests/testgtk.c: Revert back to r19454.
2526 2008-02-27 Sven Neumann <sven@gimp.org>
2528 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2529 Quartz backend, use a native Mac OS X application for the print
2530 preview (bug #518624).
2532 2008-02-26 Michael Natterer <mitch@imendio.com>
2534 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2535 the members of info->tag_stack since they are a) gobjects and b)
2536 not even owned by us, ugh... Fixes crash when deserializing fails.
2538 2008-02-26 Sven Neumann <sven@gimp.org>
2540 * docs/tools/shooter.c (find_toplevel_window)
2541 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2542 argument passed to XQueryTree().
2544 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2546 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2547 don't use beagle_query_add_hit_type.
2549 2008-02-25 Richard Hult <richard@imendio.com>
2551 * gdk/quartz/gdkevents-quartz.c
2552 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2554 2008-02-24 Richard Hult <richard@imendio.com>
2556 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2557 shown without gdk's control when clicking the dock icon.
2559 2008-02-24 Richard Hult <richard@imendio.com>
2561 * gdk/quartz/gdkprivate-quartz.h:
2562 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2563 Use the subtype field for the custom event that is used to wake up
2564 the mainloop so we can have other custom event types.
2566 * gdk/quartz/gdkevents-quartz.c:
2567 (_gdk_quartz_events_trigger_crossing_events):
2568 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2569 crossing events after showing a window if necessary, to work
2570 around problems with the tracking rect API.
2572 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2574 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2575 wrong results on win32 because it doesn't set the printing units,
2576 which affect the transformation of the cairo context
2577 (#347125, Erik van Pienbroek)
2579 2008-02-22 Tor Lillqvist <tml@novell.com>
2581 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2583 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2585 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2586 acceptable for a module to only support the save_to_callback()
2587 method if it marks itself as WRITABLE
2589 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2591 * configure.in: Bump version
2593 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2595 * === Released 2.13.0 ===
2597 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2599 2008-02-21 Tor Lillqvist <tml@novell.com>
2601 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2602 pass the format string to strftime in the C library's locale's
2603 charset, not the system's. Correspondingly, the return value from
2604 strftime() is in the C library's locale's charset. (#509885)
2606 2008-02-20 Richard Hult <richard@imendio.com>
2608 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2609 the right window level and shadow after recreating the window.
2611 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2612 necessary after drawing (bug #517338).
2614 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
2616 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2617 call to g_type_class_unref in case of error. (#517563)
2619 2008-02-18 Sven Neumann <sven@gimp.org>
2621 * gtk/Makefile.am (STOCK_ICONS)
2622 * gtk/stock-icons/16/gtk-page-setup.png
2623 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2624 taken from GNOME icon theme.
2626 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2628 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
2630 * configure.in: Added Kannada (kn) to ALL_LINGUAS
2632 2008-02-17 Johan Dahlin <johan@gnome.org>
2634 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
2635 When converting a stock item based on the label, remove the label property.
2637 2008-02-17 Richard Hult <richard@imendio.com>
2639 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2640 position after showing the window since the window manager might
2641 not place it where we requested in the first places.
2643 2008-02-17 Richard Hult <richard@imendio.com>
2645 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2646 (_gdk_quartz_window_detach_from_parent),
2647 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2648 the toplevel ordering list in all places where the order is
2649 potentially changed. Fixes mouse focus issues for windows with
2650 a transient parent set.
2652 2008-02-17 Richard Hult <richard@imendio.com>
2654 * gdk/quartz/gdkevents-quartz.c
2655 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2656 window when event debugging is enabled.
2658 2008-02-16 Richard Hult <richard@imendio.com>
2660 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2661 to the scroll event (bug #516757, Paul Davis).
2663 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2667 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2669 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
2672 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2674 * gdk/Makefile.am: Don't install private headers. (#463510)
2676 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2677 the installed header gdkprivate.h.
2679 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2681 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2682 a crash with hidden, reorderable tabs. (#513230,
2683 Mike Massonnet, patch by Carlos Garnacho)
2685 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2687 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2688 Warn on duplicate action group names. (#501746, Christian
2691 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2694 * modules/other/gail/tests/Makefile.am:
2695 * modules/other/gail/libgail-util/Makefile.am:
2696 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2697 builds. (#516254, Yevgen Muntyan)
2699 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2704 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
2705 instead of hardcoded target tables. (#516092, Christian Persch)
2707 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2709 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2710 add the same target atom twice. (#516087, Christian Persch)
2712 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2714 * tests/testfilechooser.c: Add a --backend option.
2715 (#516073, Christian Persch)
2717 2008-02-16 Richard Hult <richard@imendio.com>
2719 * gdk/quartz/gdkprivate-quartz.h:
2720 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2723 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2725 * configure.in: Go back to 2.13.0 as version for now,
2726 as there was no consensus to do the jump.
2728 * many other places: Update Since: tags.
2730 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2732 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2734 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2736 2008-02-15 Richard Hult <richard@imendio.com>
2738 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2739 instead of bounds when resizing windows.
2741 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2743 * gdk/x11/gdkkeys-x11.c:
2744 * gdk/x11/gdkcolor-x11.c:
2745 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2747 2008-02-15 Matthias Clasen <mclasen@redhat.com>
2749 * gdk/x11/gdktestutils-x11.c:
2750 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2752 2008-02-15 Tor Lillqvist <tml@novell.com>
2754 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2755 leak Registry key handles. (#516578)
2757 2008-02-14 Richard Hult <richard@imendio.com>
2759 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2760 makeKeyWindow unfortunately doesn't work in all cases, we must use
2761 makeKeyAndOrderFront.
2763 2008-02-14 Richard Hult <richard@imendio.com>
2765 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2766 (gdk_window_hide), (gdk_window_fullscreen),
2767 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2768 the window is hidden.
2770 2008-02-14 Richard Hult <richard@imendio.com>
2772 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2773 resizing to be consistent and to avoid introducing an internal
2774 transform in the view.
2776 2008-02-14 Richard Hult <richard@imendio.com>
2778 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2781 2008-02-14 Johan Dahlin <johan@gnome.org>
2783 * gdk/gdktestutils.h
2784 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
2786 2008-02-13 Richard Hult <richard@imendio.com>
2788 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2789 Remove unused variables.
2790 (gtk_clipboard_set_contents),
2791 (gtk_clipboard_get_owner), (clipboard_unset),
2792 (gtk_clipboard_request_targets): Notify the previous clipboard
2793 owner when the owner changes. Fixes bug #493406.
2795 2008-02-13 Richard Hult <richard@imendio.com>
2797 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
2798 the return value (return number of colors that failed), and handle
2800 (gdk_colormap_free_colors): Fix typo in comment.
2802 2008-02-13 Kristian Rietveld <kris@imendio.com>
2804 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
2805 queue a redraw if the rubber banding has actually been active.
2807 2008-02-12 Matthias Clasen <mclasne@redhat.com>
2809 * gtk/gtkpapersize.c:
2810 * gtk/gtkprintoperation.c:
2811 * gtk/gtkvolumebutton.c:
2812 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
2813 out by Behdad Esfahbod.
2815 2008-02-12 Federico Mena Quintero <federico@novell.com>
2817 Merged from gtk-2-12:
2819 Don't focus the file list when shortcuts get activated. This
2820 removes a lot of ambiguity in when the file selection should
2821 change, and makes the overall code flow simpler.
2823 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
2824 file/save dialog clears the filename entry when changing
2827 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
2828 focus should not go to the file list when a shortcut is activated.
2830 * gtk/gtkfilechooserdefault.c
2831 (shortcuts_activate_volume_mount_cb): Don't focus the file list
2832 (shortcuts_activate_get_info_cb): Likewise.
2834 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
2835 the file list (this was the last place where we would focus the
2836 file list explicitly). If you are in the location entry, for
2837 example, you don't want Alt-Home to take you to the file list; you
2838 just want the current folder to change. Thanks to Olle Bergkvist
2839 <olle.bergkvist@yahoo.se> for pointing this out in
2840 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
2841 (focus_browse_tree_view_if_possible): Removed.
2843 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2845 Skip exensions when selecting filenames in the save-as dialog.
2846 (#362516, Carlos Garnacho)
2848 * gtk/gtkfilechooserentry.h:
2849 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
2850 New function to skip the extension part when selecting a filename.
2851 (_gtk_file_chooser_entry_set_base_folder): Use it here.
2853 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
2856 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2858 * gtk/gtkiconview.c: Fix state change reporting for
2859 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
2861 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
2863 * gtk/gtkrecentchooser.c:
2864 (gtk_recent_chooser_class_init): Set the default value of the
2865 :show-not-found property to TRUE, as every implementation sets
2868 * gtk/gtkrecentchooserdefault.c:
2869 (_gtk_recent_chooser_default_init): Sync show_tips to the
2870 default value of the :show-tips property.
2872 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2874 * gtk/gtkclipboard-quartz.c:
2876 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
2879 2008-02-12 Kristian Rietveld <kris@imendio.com>
2881 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
2882 (gtk_tree_view_real_toggle_cursor_row): guard against people
2883 deleting the row in question in the selection-changed callback.
2884 (#514621, Andreas Koehler).
2886 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2888 * gtk/*.c: Unify the handling of various "Enter" keysyms
2889 all over the place. (#515047, Christian Persch)
2891 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2893 * gtk/gtkfilesystemmodel.c:
2895 * gtk/gtkwidget.c: Use g_value_set_static_string() where
2896 appropriate. (#515042, Christian Persch)
2898 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2900 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
2902 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2904 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
2906 2008-02-12 Matthias Clasen <mclasen@redhat.com>
2908 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
2909 (recent_model_sort_drag_data_get):
2910 (search_model_sort_drag_data_get):
2911 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
2912 * gtk/gtkpathbar.c (button_drag_data_get_cb):
2913 Use gtk_selection_data_set_uris() instead of doing it
2914 by hand. (#514890, Christian Persch)
2916 2008-02-12 Michael Natterer <mitch@imendio.com>
2918 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
2919 gtk_get_current_event_time().
2921 2008-02-12 Michael Natterer <mitch@imendio.com>
2923 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
2924 gtk_window_get_key_hash() to get the hash instead of manually
2925 fiddling with quarks and gtk_window_keys_changed(). Also add
2926 g_return_if_fail() to this public function.
2928 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2930 Support keynav in status icons. (#473786, Li Yuan)
2932 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
2934 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
2936 2008-02-11 Kristian Rietveld <kris@imendio.com>
2938 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
2939 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
2940 wrt. link deletion from list; contination of fix for #503569.
2942 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
2944 * gtk/gtkrecentchoosermenu.c:
2945 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
2946 on the placeholder menu item.
2948 * tests/testrecentchoosermenu.c:
2949 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
2950 whether the placeholder menu item gets shown.
2952 2008-02-10 Cody Russell <bratsche@gnome.org>
2954 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
2955 Check the return value of _gtk_file_chooser_get_file_system () for
2956 NULL before passing it to gtk_file_system_path_to_uri ().
2957 (#515667, Francesco Montorsi)
2959 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
2961 * gtk/gtkbuilder.c: Improve the documentation for
2962 gtk_builder_connect_signals. (#514471)
2964 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2966 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
2969 2008-02-08 Cody Russell <bratsche@gnome.org>
2971 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
2972 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
2974 2008-02-08 Richard Hult <richard@imendio.com>
2976 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
2977 delta from the NSEvent for now, generating multiple scroll events
2978 results in a lot of events getting queued up and things get really
2981 2008-02-08 Sven Herzberg <sven@imendio.com>
2983 Adjust the code to match the documentation, examples, "common sense"
2984 and existing applications.
2986 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
2987 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
2990 2008-02-07 Cody Russell <bratsche@gnome.org>
2992 * gdk/win32/gdkevents-win32.c
2993 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
2994 of a block that were causing compile problems on old
2995 compilers. (#515053, reported by Kazuki IWAMOTO)
2997 2008-02-07 Michael Natterer <mitch@imendio.com>
3004 * gtk/gtkmenushell.c
3006 * gtk/gtkoptionmenu.c
3010 * gtk/gtkradiomenuitem.c
3012 * gtk/gtkscrolledwindow.c
3013 * gtk/gtksocket.c: remove g_return_if_fail() from private
3014 functions and virtual function implementations.
3016 2008-02-07 Michael Natterer <mitch@imendio.com>
3019 * gtk/gtkassistant.c
3023 * gtk/gtkcellrenderercombo.c
3026 * gtk/gtkdrawingarea.c
3027 * gtk/gtkentrycompletion.c
3033 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
3034 functions and virtual function implementations.
3036 2008-02-07 Christian Persch <chpe@gnome.org>
3038 * gdk/gdkpixbuf-render.c:
3039 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
3040 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
3041 otherwise there will be random pixel values in the semi-transparent
3042 area of the pixbuf within the mask. Bug #487865.
3044 2008-02-06 Cody Russell <bratsche@gnome.org>
3046 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
3047 otherwise things get wonky when you click on a menu. This fixes
3048 a regression caused in #505928. Thanks to Tor for spotting this
3051 2008-02-06 Michael Natterer <mitch@imendio.com>
3053 * gtk/gtkcontainer.c
3060 * gtk/gtkmenushell.c
3062 * gtk/gtkseparatortoolitem.c
3064 * gtk/gtktextlayout.c
3065 * gtk/gtktoggletoolbutton.c
3066 * gtk/gtktoolbutton.c
3069 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
3072 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3074 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
3075 Allow to store half-open ranges.
3077 2008-02-05 Cody Russell <bratsche@gnome.org>
3079 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
3080 down the stack until we get to a window that is mapped.
3081 Otherwise hiding a window will cause all windows in the app
3082 to be blocked. (#514643)
3084 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3086 * gtk/updateiconcache.c: Ignore images in the toplevel theme
3087 directory, avoiding one source of invalid caches that has been
3088 spotted in the wild.
3090 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3092 * gtk/updateiconcache.c: Fix the previous commit to compile.
3094 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3096 * gtk/updateiconcache.c: Install a printerr handler that
3097 prepends the program name, since gtk-update-icon-cache output
3098 often appears in the middle of other output, e.g. rpm update logs.
3100 2008-02-05 Cody Russell <bratsche@gnome.org>
3102 * gdk/win32/gdkprivate-win32.h
3103 * gdk/win32/gdkevents-win32.c
3104 * gdk/win32/gdkwindow-win32.c
3105 * gdk/win32/gdkwindow-win32.h
3106 * gdk/win32/gdkwin32.h:
3107 Modal window rework. (#455627 and #511111)
3109 2008-02-04 Michael Natterer <mitch@imendio.com>
3111 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
3112 g_return_if_fail() if the cell is not part of the combo instead of
3113 crashing in the next line.
3115 2008-02-01 Cody Russell <cody@jhu.edu>
3117 * modules/engines/ms-windows/xp_theme.[ch]
3118 * modules/engines/ms-windows/xp_theme_defs.h
3119 * modules/engines/ms-windows/msw_rc_style.c
3120 * modules/engines/ms-windows/msw_theme_main.c
3121 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
3122 attempted to stylize more like the rest of the gtk+ stack's code.
3124 2008-02-01 Michael Natterer <mitch@imendio.com>
3126 * tests/testgtk.c: initialize GdkColor structs to fix warning
3127 about uninitialized "pixel" member.
3129 * tests/testactions.c: connect the toolbar_style() callback so it
3130 does something useful and doesn't warn about being defined but not
3133 2008-01-31 Cody Russell <bratsche@gnome.org>
3135 * gdk/win32/gdkevents-win32.c:
3136 Refactored some of the window hiding/showing code from
3137 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
3138 under WM_ACTIVATE was causing the application to go into
3139 a weird state when the user right-clicked on the taskbar
3140 entry of a window that was minimized. (#505928)
3142 2008-01-31 Cody Russell <bratsche@gnome.org>
3144 * gtk/gtkpaned.c (gtk_paned_set_position):
3145 Change queue_resize() to queue_draw(), and add a check for
3146 child2 != NULL in case someone calls this before there is
3147 a child packed in there. (#144269 again)
3149 2008-01-31 Sven Neumann <sven@gimp.org>
3151 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3152 applied patch from Denis Oliver Kropp <dok@directfb.org>.
3154 2008-01-31 Sven Neumann <sven@gimp.org>
3156 * gdk/directfb/gdkdisplay-directfb.c
3157 * gdk/directfb/gdkdrawable-directfb.c
3158 * gdk/directfb/gdkprivate-directfb.h
3159 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3160 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3162 2008-01-31 Richard Hult <richard@imendio.com>
3164 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3165 issues with undecorated windows. Revert the change done on
3166 2008-01-25 and fix it by using the view's bounds instead. The
3167 bounds will always be up to date when setting up the tracking
3168 rect, so this should be more robust.
3170 2008-01-30 Sven Neumann <sven@gimp.org>
3172 * gdk/directfb/gdkdrawable-directfb.c
3173 * gdk/directfb/gdkwindow-directfb.c
3174 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3175 Oliver Kropp <dok@directfb.org>. Adds debug messages using
3176 DirectFB's debugging system
3178 2008-01-30 Sven Neumann <sven@gimp.org>
3180 * gdk/directfb/gdkdirectfb.h
3181 * gdk/directfb/gdkdisplay-directfb.c
3182 * gdk/directfb/gdkdrawable-directfb.c
3183 * gdk/directfb/gdkim-directfb.c
3184 * gdk/directfb/gdkimage-directfb.c
3185 * gdk/directfb/gdkinput-directfb.c
3186 * gdk/directfb/gdkmain-directfb.c
3187 * gdk/directfb/gdkpixmap-directfb.c
3188 * gdk/directfb/gdktestutils-directfb.c
3189 * gdk/directfb/gdkvisual-directfb.c
3190 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3191 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3192 errors and has some cleanups.
3194 2008-01-30 Michael Natterer <mitch@imendio.com>
3196 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3197 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3200 * gtk/updateiconcache.c (add_string): cast const gchar* to
3201 gpointer when inserting in a GHashTable.
3203 * tests/testcalendar.c (calendar_detail_cb): remove const from
3204 return value since it's a newly allocated string.
3206 (calendar_update_details): free the detail.
3208 2008-01-29 Johan Dahlin <johan@gnome.org>
3210 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3212 * demos/gtk-demo/demo.ui:
3213 Move the about dialog to the glade file, add accessible tags
3214 examples to the markup file.
3216 2008-01-28 Paolo Borelli <pborelli@katamail.com>
3218 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3219 layout, fixes #512375.
3221 2008-01-28 Michael Natterer <mitch@imendio.com>
3223 * gtk/gtktextchild.c
3224 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3226 2008-01-28 Michael Natterer <mitch@imendio.com>
3228 * demos/gtk-demo/builder.c (about_activate): use
3229 gtk_about_dialog_set_program_name() instead of the deprecated
3232 2008-01-28 Michael Natterer <mitch@imendio.com>
3234 * gtk/gtktextchild.c
3235 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3238 2008-01-26 Johan Dahlin <johan@gnome.org>
3240 * tests/Makefile.am:
3241 * tests/textbuffertest.c:
3242 Rename textbuffer test and port it to the new test framework
3244 2008-01-25 Johan Dahlin <johan@gnome.org>
3246 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3247 unsetting of GTK_MODULES.
3249 * gtk/gtk-builder-convert
3250 (GtkBuilderConverter._convert_adjustment): Handle the case where
3251 there is no child text node.
3252 (GtkBuilderConverter): Allow xml comments in most places.
3254 2008-01-25 Johan Dahlin <johan@gnome.org>
3256 * gtk/gtk-builder-convert
3257 (GtkBuilderConverter._convert_combobox_items): Remove the items
3258 even if there are no items set.
3259 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3260 signals and tooltips for all menu items subclasses and
3261 GtkImageMenuItem:label.
3262 Makes it possible to fully convert and run Jokosher.glade.
3264 2008-01-25 Johan Dahlin <johan@gnome.org>
3266 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3267 (gtk_widget_buildable_get_internal_child), (free_action),
3268 (free_relation), (gtk_widget_buildable_parser_finished),
3269 (accessibility_start_element),
3270 (gtk_widget_buildable_custom_tag_start),
3271 (gtk_widget_buildable_custom_finished):
3272 Implement accessible support, fixes #454653.
3274 * gtk/gtk-builder-convert:
3275 Add support for migrating old glade files
3277 * tests/buildertest.c: (test_widget), (test_file):
3278 Add accessible tests and imprve the test_file function to display
3279 toplevels and run dialogs.
3281 2008-01-25 Richard Hult <richard@imendio.com>
3283 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3284 didn't change, fixes focus event issues for undecorated windows.
3286 2008-01-25 Richard Hult <richard@imendio.com>
3288 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3289 const and remove unused variables).
3291 2008-01-25 Michael Natterer <mitch@imendio.com>
3294 * gtk/gtkcellrenderer.h
3295 * gtk/gtkimcontext.h
3299 * gtk/gtktreeprivate.h
3300 * gtk/gtktreeviewcolumn.h
3301 * gtk/gtkwidget.h: add const to constant structs which are passed
3302 into GTK+. Also add some forgotten const for const strings.
3306 * gtk/gtkcellrenderer.c
3307 * gtk/gtkimcontext.c
3312 * gtk/gtktreeviewcolumn.c
3313 * gtk/gtkwidget.c: changed accordingly.
3315 2008-01-25 Sven Herzberg <sven@imendio.com>
3317 Reviewed by Johan Dahlin.
3319 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3320 this is called with something that's not a GtkUIManager
3322 2008-01-24 Johan Dahlin <johan@gnome.org>
3324 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
3325 Chain up to parent, so widgets can have internal children.
3327 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3329 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3332 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3334 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3336 Use pango_layout_set_height() for calendar details (#506049).
3338 * configure.in: Require 1.19.3 for pango_layout_set_height().
3339 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3341 2008-01-18 Johan Dahlin <johan@gnome.org>
3343 * gtk/gtk-builder-convert (get_property_node): New method
3344 (GtkBuilderConverter._create_object): Conditionally take a node as
3345 a property value, so don't lose translate/context attributes if they
3347 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3348 property values instead of strings.
3349 (#509153, Erik van Pienbroek)
3351 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
3353 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3355 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3356 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3357 * tests/testcalendar.c: Duplicate calendar details before returning.
3359 2008-01-16 Christian Persch <chpe@gnome.org>
3361 * gtk/gtkwidget.c: Store the event mask and extension event mode
3362 directly in the gobject data pointer, instead of in an allocated
3365 2008-01-16 Michael Natterer <mitch@imendio.com>
3367 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3368 gdk-pixbuf now uses gio functions.
3370 2008-01-16 Matthias Clasen <mclasen@redhat.com>
3372 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3373 the notify::model signal. (#509819, David Zeuthen)
3375 2008-01-15 Michael Natterer <mitch@imendio.com>
3383 * gdk/gdkwindow.h: made more struct pointer and array parameters
3384 const. GDK should now be constified as far as possible without
3385 breaking source compatibility. Includes some minor cleanup like
3386 indentation and s/nfoo/n_foo/ (bug #508544).
3392 * gdk/gdkregion-generic.c
3394 * gdk/directfb/gdkdisplay-directfb.c
3395 * gdk/directfb/gdkwindow-directfb.c
3396 * gdk/quartz/gdkdisplay-quartz.c
3397 * gdk/quartz/gdkwindow-quartz.c
3398 * gdk/win32/gdkdisplay-win32.c
3399 * gdk/win32/gdkwindow-win32.c
3400 * gdk/x11/gdkdisplay-x11.c
3401 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3403 2008-01-14 Michael Natterer <mitch@imendio.com>
3405 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3408 (gtk_rc_parse_any): change variables to const and introduce
3409 another local variable to fix const warnings.
3411 2008-01-14 Michael Natterer <mitch@imendio.com>
3413 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3414 of gdk_screen_get_font_options() to gpointer to get rid of const
3417 2008-01-14 Michael Natterer <mitch@imendio.com>
3419 * tests/testdnd.c (source_drag_data_get): fix another call to
3420 gtk_selection_data_set().
3422 2008-01-14 Michael Natterer <mitch@imendio.com>
3424 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3427 2008-01-14 Michael Natterer <mitch@imendio.com>
3429 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3431 2008-01-14 Michael Natterer <mitch@imendio.com>
3433 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3434 "uris" to guchar* when passing it to gtk_selection_data_set().
3436 2008-01-14 Michael Natterer <mitch@imendio.com>
3442 * gdk/gdkinternals.h
3444 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3445 parameters const (bug #508544).
3450 * gdk/gdkrectangle.c
3451 * gdk/gdkpolyreg-generic.c
3452 * gdk/gdkregion-generic.c
3453 * gdk/directfb/gdkcolor-directfb.c
3454 * gdk/directfb/gdkgc-directfb.c
3455 * gdk/directfb/gdkgeometry-directfb.c
3456 * gdk/directfb/gdkwindow-directfb.c
3457 * gdk/quartz/gdkcolor-quartz.c
3458 * gdk/quartz/gdkgc-quartz.c
3459 * gdk/quartz/gdkgeometry-quartz.c
3460 * gdk/quartz/gdkwindow-quartz.c
3461 * gdk/win32/gdkcolor-win32.c
3462 * gdk/win32/gdkgc-win32.c
3463 * gdk/win32/gdkgeometry-win32.c
3464 * gdk/win32/gdkprivate-win32.h
3465 * gdk/win32/gdkwindow-win32.c
3466 * gdk/x11/gdkcolor-x11.c
3467 * gdk/x11/gdkgc-x11.c
3468 * gdk/x11/gdkgeometry-x11.c
3469 * gdk/x11/gdkmain-x11.c
3470 * gdk/x11/gdkprivate-x11.h
3471 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3473 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3476 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3478 Explain name choice for gtk_tool_item_toolbar_reconfigured.
3480 * gtk/gtktoolitem.c: Add comment expaining name choice for
3481 gtk_tool_item_toolbar_reconfigured.
3483 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3485 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3486 implementations to notify its children, when some aspect of their
3487 configuration changed (#509042).
3489 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3490 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3491 Rename _gtk_tool_item_toolbar_reconfigured.
3493 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3495 Include <gtk/gtktoolshell.h> from gtk.h.
3497 * gtk/gtk.h: Add gtktoolshell.h
3499 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3501 Print angle brackets arround e-mail addresses in the about dialog
3502 (#409520, Mariano Suárez-Alvarez).
3504 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3506 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
3508 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3509 special casing so test widgets are always queues for destruction
3512 * gtk/tests/testing.c: removed bits left-over from testing without
3515 2008-01-10 Tor Lillqvist <tml@novell.com>
3517 * modules/other/gail/libgail-util/Makefile.am
3518 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3521 2008-01-10 Tor Lillqvist <tml@novell.com>
3523 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3524 uses gtkprintunixdialog API.
3526 2008-01-10 Tor Lillqvist <tml@novell.com>
3528 * gdk/win32/gdkdisplay-win32.c
3529 * gdk/win32/gdkglobals-win32.c
3530 * gdk/win32/gdkprivate-win32.h
3531 * gdk/win32/gdkscreen-win32.c
3532 * gdk/win32/gdkwindow-win32.c: Implement
3533 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3534 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3537 2008-01-10 Cody Russell <bratsche@gnome.org>
3539 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3540 Properly ref/unref windows and parents. (#506769)
3542 2008-01-10 Richard Hult <richard@imendio.com>
3544 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3545 (gdk_window_hide), (move_resize_window_internal): Move the
3546 tracking rect workaround from here...
3548 * gdk/quartz/GdkQuartzWindow.c:
3549 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3550 movements during showing/hiding operations. Fixes bug #508516.
3552 2008-01-10 Michael Natterer <mitch@imendio.com>
3554 * gdk/directfb/gdkscreen-directfb.c
3555 (gdk_screen_get_monitor_width_mm)
3556 (gdk_screen_get_monitor_height_mm)
3557 (gdk_screen_get_monitor_plug_name): add these functions to make
3560 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3562 * gtk/gtkrecentchoosermenu.c:
3563 (idle_populate_func), (idle_populate_clean_up): Fix possible
3564 recursion by resetting the idle source id. (#507605, William
3567 2008-01-10 Kristian Rietveld <kris@imendio.com>
3569 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3570 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3571 avoid valgrind warnings. (#507751, patch from Christian Persch).
3573 2008-01-10 Kristian Rietveld <kris@imendio.com>
3575 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3576 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3578 2008-01-10 Kristian Rietveld <kris@imendio.com>
3580 Fix #477175, reported by Juri Pakaste.
3582 * gtk/gtktreeprivate.h:
3583 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3584 tree_view->priv->dy here directly, just calculate the new value
3585 and set it on the adjustment,
3586 (gtk_tree_view_adjustment_changed): add guards to not call
3587 gtk_tree_view_dy_to_top_row() if we are currently in
3588 gtk_tree_view_top_row_to_dy(),
3589 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3590 coordinates, not tree coordinates,
3591 (gtk_tree_view_real_start_editing): add cast.
3593 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3594 position of the editable in the "create new row and start editing"
3597 2008-01-09 Michael Natterer <mitch@imendio.com>
3599 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3602 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3603 * gtk/gtkicontheme.c (theme_list_contexts)
3604 (gtk_icon_theme_lookup_icon)
3605 * gtk/gtkimcontextsimple.c (beep_window)
3606 * gtk/gtklinkbutton.c (set_link_color)
3607 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3610 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3611 variable and add const to another to fix a warning.
3613 2008-01-07 Matthias Clasen <mclasen@redhat.com>
3615 * gtk/gtkassistant.c (remove_page): Be more robust when removing
3616 the current page. (#499951, Andreas Sandberg)
3618 2008-01-06 Johan Dahlin <johan@gnome.org>
3620 * gtk/gtkspinbutton.c: Declare value in the example code for
3621 GtkSpinButton::output, as pointed out by Anders Carlsson.
3623 2008-01-06 Christian Persch <chpe@gnome.org>
3625 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3626 and remove an obsolete event box. Bug #506760.
3628 2008-01-06 Johan Dahlin <johan@gnome.org>
3630 * tests/buildertest.c (test_domain):
3631 Update, GtkBuilder::translation-domain is no longer set
3633 * gtk/gtkbuilderparser.c (parse_interface):
3634 Allow domains to be overridden in <interface>'s if a translation-domain
3635 is set in the builder.
3636 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3637 of the builder, make the domain set in the <interface> apply only to strings
3639 (#496831, Ryan Lortie)
3641 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
3644 * gtk/gtktreestore.c (tree_model_end_element):
3645 Remove an unused variable
3647 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3649 * gtk/gtkspinbutton.c: Document the ::output signal and
3650 add an example. (#507566, example by Owen Taylor)
3652 2008-01-06 Johan Dahlin <johan@gnome.org>
3654 * gtk/gtkcellrenderercombo.c:
3655 (gtk_cell_renderer_combo_get_property),
3656 (gtk_cell_renderer_combo_set_property):
3657 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3658 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3659 * gtk/gtknotebook.c: (gtk_notebook_set_property):
3660 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3661 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3662 (gtk_text_buffer_get_property):
3663 * gtk/gtktextview.c: (gtk_text_view_set_property):
3664 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3665 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3666 (gtk_tool_button_get_property):
3667 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3668 (gtk_tool_item_get_property):
3669 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3670 * gtk/gtkwidget.c: (gtk_widget_set_property):
3671 * gtk/gtkwindow.c: (gtk_window_set_property):
3672 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3675 2008-01-06 Johan Dahlin <johan@gnome.org>
3677 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
3678 Make sure that --root works for toplevel widgets.
3679 (#491847, Phil Lello)
3681 2008-01-05 Johan Dahlin <johan@gnome.org>
3683 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3684 to make sure that make test-report works properly
3686 2008-01-05 Christian Persch <chpe@gnome.org>
3688 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3689 GType as integer through gpointer. Bug #507395.
3691 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
3693 Avoid some compiler warnings (#507000).
3695 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3696 for value argument of _gtk_builder_flags_from_string.
3697 * gtk/gtkwidget.c: Don't alias the child pointer passed
3698 to gdk_window_get_user_data.
3700 2008-01-04 Michael Natterer <mitch@imendio.com>
3702 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3703 to set the time in the returned GdkTimeCoords.
3705 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
3707 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3708 correct comparison function (kudos to Christian Persch and
3709 Claudio Saavedra for spotting this)
3711 * gtk/gtkrecentchooserutils.c:
3712 (sort_recent_items_mru),
3713 (sort_recent_items_lru): Ditto as above.
3715 2008-01-03 Johan Dahlin <johan@gnome.org>
3717 * tests/defaultvaluetest.c: Make it pass again.
3719 2008-01-02 Johan Dahlin <johan@gnome.org>
3721 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
3722 make it pass on Ubuntu.
3723 (main): Use gtk_test_list_all_types () instead of providing our
3725 And it no longer passes.
3727 2007-12-30 Johannes Schmid <jhs@gnome.org>
3729 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3730 Also reorder menu when reordering tabs by drag & drop
3733 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3734 Add a menu to one of the notebooks to have a test-case for
3735 the change mentioned above.
3737 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
3739 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3741 2007-12-31 Christian Persch <chpe@gnome.org>
3743 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3744 Plug a mem leak. Bug #506107.
3746 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3748 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3749 icon cache api change. (#506135, Kazuki Iwamoto)
3751 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3753 Consider "wide-separators" and "separator-height" style properties:
3754 The separator is drawn using gtk_paint_box instead of cairo, when
3755 "wide-separators" is set. Also do not highlight details for previous
3756 or next month, if their day matches the selected day. (#339540)
3758 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3759 in gtk_calendar_size_request and calendar_paint_day
3760 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3761 for selected detail separators in GtkCalendar.
3763 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3765 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3767 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3768 a local variable instead in gtk_calendar_size_request.
3770 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3772 * tests/defaultvaluetest.c: Add enough exclusions to make the
3775 2007-12-28 Christian Persch <chpe@gnome.org>
3777 * modules/other/gail/Makefile.am:
3778 * modules/other/gail/tests/*:
3779 * configure.in: Merge tests from standalone gail. Bug #504568.
3781 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3783 * gtk/gtkclipboard.c: Make the finalizer work when display is
3786 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3788 Draw bottom shadow of GtkCalender headings. (#506113)
3790 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
3792 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3794 * gtk/gtkcalendar.c: Document the initial values of year/month/day
3797 2007-12-28 Christian Persch <chpe@gnome.org>
3799 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
3800 a mem leak. Bug #506096.
3802 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3805 * gtk/gtktreeview.c:
3806 * gtk/gtkprintoperation.c:
3807 * gtk/gtkprogressbar.c:
3808 * gtk/gtkmessagedialog.c:
3809 * gtk/gtknotebook.c:
3813 * gtk/gtklinkbutton.c:
3814 * gtk/gtkmenu.c: More default property value corrections.
3816 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3818 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
3819 accel_group unless it is set.
3821 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3823 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
3825 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3827 * gtk/gtkhandlebox.c: Fix the default values of shadow and
3828 shadow-type properties.
3830 * gtk/gtkfontsel.c: Fix the default values of several properties.
3832 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
3835 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
3837 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
3840 2007-12-28 Johan Dahlin <johan@gnome.org>
3842 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
3843 (gtk_dialog_buildable_custom_tag_start): Chain up.
3844 This makes it possible to have accelerators tags on GtkDialog
3847 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3849 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
3850 are shown within the widget, or just as tooltip. (#339540)
3852 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
3853 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
3854 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
3857 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3859 Try more decent appearance of calendar details separator. (#339540)
3861 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
3862 and make it short by one pixel on each side.
3864 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3866 Apply trivial code-style changes from attachement 101101. (#339540)
3868 * tests/testcalendar.c: Some updates to current GTK+ code-style.
3870 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3872 Restructure testcalendar for testing calendar details. (#339540)
3874 * tests/testcalendar.c: Push code arround for testing calendar details.
3876 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3878 Implement GtkTooltip API for calendar details. (#339540)
3880 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
3881 Remember detail overflows in calendar_paint_day to show the tooltip
3882 only when neccessary.
3884 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3886 Without setting "detail-width-chars" and "detail-height-rows"
3887 properties not only the widget has to be redrawn on certain
3888 conditions, but also its size must be recalculated. (#339540)
3890 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
3891 that function instead of gtk_widget_queue_draw.
3893 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3895 Consider details for size-request and expose-event. (#339540)
3897 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
3898 is_color_attribute functions. Change gtk_calendar_size_request
3899 and calendar_paint_day to consider and show calender details.
3901 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3903 * gtk/gtkcombobox.c: Introduce local priv variables to
3906 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3908 * gtk/gtkcombobox.c: Correct the default value for the
3909 tearoff-title property.
3911 * gtk/gtkcellrenderertext.c: Fix the default value for the
3912 wrap-mode and font-scale properties.
3914 * gtk/gtkaspectratio.c: Fix the default value for the ratio
3917 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3919 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
3920 defines. (#505708, MINAMI Hirokazu)
3922 2007-12-27 Christian Persch <chpe@gnome.org>
3924 * Makefile.am: Install gail.pc. Bug #505859.
3926 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
3928 Add infrastructure for GtkCalendar details. (#339540)
3930 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
3931 Add "detail-width-chars" and "detail-height-rows" properties,
3932 and gtk_calendar_set_detail_func function.
3934 2007-12-27 Xan Lopez <xan@gnome.org>
3937 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
3939 Add gtk_border_new to avoid memory allocator confusions when using
3940 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
3942 2007-12-27 Christian Persch <chpe@gnome.org>
3944 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
3945 bug #504886 not to read unitialised memory.
3947 2007-12-26 Xan Lopez <xan@gnome.org>
3949 * gtk/gtkstatusbar.c (has_extra_children): take into account the
3950 modification of the internal frame contents to decide if we have
3951 extra children. (#415677)
3953 2007-12-22 Christian Persch <chpe@gnome.org>
3955 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
3957 2007-12-25 Christian Persch <chpe@gnome.org>
3959 * modules/other/gail/gailwindow.c: (gail_window_initialize):
3960 Initialise |widget|. Fixes a buglet introduced by the commit from bug
3963 2007-12-25 Christian Persch <chpe@gnome.org>
3965 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
3967 2007-12-25 Christian Persch <chpe@gnome.org>
3969 * modules/other/gail/*.[ch]: Remove relocations from the atk
3970 factories. Remove unused gail_foo_new() functions. Fix object
3971 instantiation to be derivation safe by moving initialisation code
3972 from the removed gail_foo_new() functions to the
3973 AtkObjectClass::initialize implementation. Bug #505226.
3975 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3977 * modules/other/gail/gailentry.c:
3978 * modules/other/gail/gailimage.c:
3979 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
3980 uses of clipboards and settings. (#504722, Christian Persch)
3982 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3984 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
3987 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3989 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
3990 use the time and button information from the event. (#504901,
3993 2007-12-23 Cody Russell <bratsche@gnome.org>
3995 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
3996 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
3997 Fixes a regression caused by #164537 patch where transient
3998 windows that are hidden get shown (incorrectly) when their
3999 parents are minimized. (#504984)
4001 2007-12-22 Christian Persch <chpe@gnome.org>
4003 * modules/other/gail/gailcell.c:
4004 * modules/other/gail/gailcontainercell.c:
4005 * modules/other/gail/gailexpander.c:
4006 * modules/other/gail/gailtextcell.c:
4007 * modules/other/gail/gailtextview.c:
4008 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
4010 2007-12-22 Christian Persch <chpe@gnome.org>
4012 * modules/other/gail/*.c: Include config.h. Bug #504720.
4014 2007-12-22 Christian Persch <chpe@gnome.org>
4016 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4017 handwritten get_type functions. Bug #504661.
4019 2007-12-23 Xan Lopez <xan@gnome.org>
4021 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
4022 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
4024 Patch by Sadrul Habib Chowdhury (#504804)
4026 2007-12-22 Christian Persch <chpe@gnome.org>
4028 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
4029 #504645, patch by Li Yuan.
4031 2007-12-22 Christian Persch <chpe@gnome.org>
4033 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
4035 2007-12-22 Christian Persch <chpe@gnome.org>
4037 * modules/other/gail/gail.c:
4038 * modules/other/gail/gailbutton.c:
4039 * modules/other/gail/gailcell.c:
4040 * modules/other/gail/gailcombo.c:
4041 * modules/other/gail/gailcombo.h:
4042 * modules/other/gail/gailcombobox.c:
4043 * modules/other/gail/gailentry.c:
4044 * modules/other/gail/gailexpander.c:
4045 * modules/other/gail/gailmenuitem.c:
4046 * modules/other/gail/gailnotebook.c:
4047 * modules/other/gail/gailnotebookpage.c:
4048 * modules/other/gail/gailnotebookpage.h:
4049 * modules/other/gail/gailoptionmenu.c:
4050 * modules/other/gail/gailrange.c:
4051 * modules/other/gail/gailtextview.c:
4052 * modules/other/gail/gailtreeview.c:
4053 * modules/other/gail/gailtreeview.h:
4054 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
4057 2007-12-22 Matthias Clasen <mclasen@redhat.com>
4059 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
4062 2007-12-21 Richard Hult <richard@imendio.com>
4064 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
4065 Plug leak of destroyed subviews, fixes bug #504753.
4067 2007-12-20 Johan Dahlin <johan@gnome.org>
4069 * tests/Makefile.am (TEST_PROGS):
4070 * tests/defaultvaluetest.c: Add a test for default values,
4071 based on program by Christan Perch
4073 2007-12-20 Johan Dahlin <johan@gnome.org>
4075 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
4076 Refactor to avoid some duplication.
4077 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
4078 Fixes #504749, Yuri Pimenov
4080 2007-12-20 Kristian Rietveld <kris@imendio.com>
4082 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
4083 the build work again on systems without xrandr 1.2.
4085 2007-12-20 Christian Persch <chpe@gnome.org>
4088 * modules/other/gail/libgail-util/Makefile.am:
4089 Keep the same libtool version as the standalone libgail-util had.
4092 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
4094 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
4096 2007-12-20 Alexander Larsson <alexl@redhat.com>
4098 * gdk/x11/gdkapplaunchcontext-x11.c:
4099 Update for gio API changes
4101 2007-12-20 Richard Hult <richard@imendio.com>
4103 * gdk/quartz/GdkQuartzWindow.c:
4104 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
4105 processing events after changing the size.
4107 2007-12-20 Richard Hult <richard@imendio.com>
4109 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
4110 Add stub for quartz to fix build.
4112 2007-12-20 Christian Persch <chpe@gnome.org>
4114 * modules/other/gail/Makefile.am:
4115 * modules/other/gail/gailimage.c: (gail_image_class_init),
4116 (gail_image_init), (elide_underscores), (gail_image_get_name),
4117 (atk_image_interface_init), (gail_image_finalize):
4118 * modules/other/gail/gailimage.h:
4119 R modules/other/gail/gailintl.h:
4120 * po/POTFILES.skip: Use the stock item's label as the name of the
4121 accessible in gailimage.c. Bug #504246.
4123 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
4125 Avoid some compiler warnings and remove obsolete code. (#339540)
4127 * gtk/gtkcalendar.c: Change week and year variable in
4128 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4129 0" block from calendar_paint_day: The feature in question is handled
4130 few lines above. Cast data returned by gtk_selection_data_get_text()
4131 to (gchar*) in gtk_calendar_drag_data_received.
4133 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
4135 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4137 2007-12-19 Johan Dahlin <johan@gnome.org>
4139 * tests/buildertest.c (test_object_properties):
4140 Add another call to gtk_builder_add_string after using
4141 delayed properties, as reported in #504393 but already
4144 2007-12-18 Christian Persch <chpe@gnome.org>
4147 * docs/reference/Makefile.am:
4148 * docs/reference/libgail-util/*:
4149 * gail-uninstalled.pc.in:
4151 * modules/Makefile.am:
4152 * modules/other/Makefile.am:
4153 * modules/other/gail/*:
4154 * modules/other/gail/libgail-util/*:
4155 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4157 2007-12-17 Matthias Clasen <mclasen@redhat.com>
4159 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4160 * gdk/win32/gdkproperty-win32.c:
4161 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4163 * gtk/gtkimmodule.[hc]:
4164 * gtk/gtkimmulticontext.[hc]: When determining the default context,
4165 look at the gtk-im-module setting, and listen for changes to the
4166 setting. (#502446, Akira Tagoh)
4168 2007-12-17 Kristian Rietveld <kris@imendio.com>
4170 * gtk/gtktooltip.c (gtk_tooltip_finalize),
4171 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4172 to NULL as soon as it's destroyed. (#496546, patch from
4175 2007-12-17 Kristian Rietveld <kris@imendio.com>
4177 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4178 always determine what arrow to show if show_sort_indicator is true.
4179 (#352738, Chris Vine).
4181 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
4183 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4186 * gtk/gtkpaned.c: Call gtk_container_forall instead of
4187 gtk_container_foreach in get_child_panes.
4189 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
4191 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4193 Plug leak: When reordering the info in the list the old node is
4194 removed but not freed. (#503569)
4196 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
4198 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4199 Use u32 instead of __u32 and u8 instead of __u8 as the other types
4200 are deprecated since DirectFB 1.0.0. If compiling with an older
4201 version define the new type name to the old types. Fixes bug #503190.
4203 2007-12-14 Ray Strode <rstrode@redhat.com>
4205 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4206 instead of g_signal_connect_after (..., "realize", ...) as an
4207 alternative to gtk_widget_realize () (bug 503537).
4209 2007-12-14 Michael Natterer <mitch@imendio.com>
4211 * gdk/gdkinternals.h
4212 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4215 * gdk/gdkapplaunchcontext.c
4216 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4217 header already includes everything now.
4219 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4221 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4222 next stable release shall be 2.16, not 2.14 - even if disagree.
4224 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4226 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4228 Change GtkToolItem to retrieve its properties from GtkToolShell
4229 interface, instead of relying on being child of a GtkToolbar.
4232 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4233 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4234 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4235 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4236 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4237 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4238 Take section docs from template file and update them for GtkToolShell.
4239 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4240 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4242 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4244 Extract loading of GtkPageSetup and GtkPrintSettings from their
4245 *_new_*() functions and move that code into separate
4246 *_load_*() functions (#475565).
4248 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4249 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4250 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4251 Change the matching *_new_*() functions to use those functions.
4253 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4256 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4258 2007-12-14 Kristian Rietveld <kris@imendio.com>
4260 * gtk/tests/liststore.c:
4261 * gtk/tests/treestore.c: added tests for insertion functions.
4263 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
4265 * Add RandR 1.2 support
4267 - New monitors_changed signal - New API to get width/height of
4268 monitors, and the name of the plug
4270 2007-12-13 Kristian Rietveld <kris@imendio.com>
4272 * gtk/tests/liststore.c:
4273 * gtk/tests/treestore.c: test the move and swap functions on a
4274 store with only one node.
4276 2007-12-13 Kristian Rietveld <kris@imendio.com>
4278 * gtk/gtktestutils.c (gtk_test_init): add a call to
4281 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4284 2007-12-13 Kristian Rietveld <kris@imendio.com>
4286 * gtk/tests/liststore.c:
4287 * gtk/tests/treestore.c: start composing tests for the list and tree
4290 * gtk/tests/treeview-scrolling.c: added automated tests for
4291 GtkTreeView's scrolling "subsystem".
4293 * gtk/tests/Makefile.am: updated; added new test programs.
4295 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
4297 Make the code compile again after the GdkAppLaunchContext changes.
4299 * configure.in: Add gio-2.0 to GDK_PACKAGES.
4300 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4302 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4304 * gdk/gdkapplaunchcontext.c: Add docs
4306 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4308 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
4309 in gdk, providing startup notification. (#503203)
4311 * gdk/x11/gdkapplaunchcontext-x11.c:
4312 * gdk/win32/gdkapplaunchcontext-win32.c:
4313 * gdk/quartz/gdkapplaunchcontext-quartz.c:
4314 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4315 parts. All but X11 are just empty stubs for now.
4318 * gdk/gdkinternals.h:
4320 * gdk/x11/Makefile.am:
4321 * gdk/win32/Makefile.am:
4322 * gdk/quartz/Makefile.am:
4323 * gdk/directfb/Makefile.am: Necessary glue.
4325 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
4327 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4329 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4331 * gdk/directfb/gdktestutils-directfb.c:
4332 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4333 which adds testing functions to the DirectFB backend.
4335 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4337 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4338 Ciccani which fixes the mixing of gdk and cairo rendering.
4340 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
4342 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4343 on "drag-motion" handlers. Clearify documentation for
4346 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
4348 * buildertest.c: made unnecessarily exported symbols static.
4349 switched g_return_if_fail() statements in tests to assertions.
4350 special cased currently failing Widget/accesibility test to
4351 run only for g_test_thorough(), so it doesn't break make check.
4352 some coding style fixes.
4354 * Makefile.am: added buildertest to TEST_PROGS.
4356 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4358 * docs/tutorial/gtk-tut.sgml:
4359 Use gtk_widget_get_parent_window() instead of widget->parent->window.
4361 2007-12-10 Richard Hult <richard@imendio.com>
4363 * gdk/quartz/Makefile.am:
4364 * gdk/quartz/gdkquartz.h:
4365 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4366 header (bug #405915). Also add a getter for the toplevel nswindow.
4368 2007-12-10 Richard Hult <richard@imendio.com>
4370 * gdk/quartz/gdkdrawable-quartz.c:
4371 (gdk_quartz_drawable_get_context),
4372 (gdk_quartz_drawable_release_context):
4373 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4374 (gdk_event_check), (gdk_event_dispatch), (poll_func):
4375 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4376 used for each drawing context and in prepare, dispatch and poll
4377 with one that exists across each main loop iteration. Fixes leaks
4378 on leopard and protects against future leaks introduce when the
4379 underlying system changes again (bug #492977).
4381 2007-12-10 Richard Hult <richard@imendio.com>
4383 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4384 Fix the check for no changes to position and size.
4386 2007-12-10 Richard Hult <richard@imendio.com>
4388 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4389 sized areas at (0, 0), patch from Paul Davis.
4391 2007-12-10 Richard Hult <richard@imendio.com>
4393 * gdk/quartz/gdkprivate-quartz.h:
4394 * gdk/quartz/gdkeventloop-quartz.c:
4395 (_gdk_quartz_event_loop_get_pending),
4396 (_gdk_quartz_event_loop_check_pending),
4397 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4398 (gdk_event_check), (gdk_event_dispatch):
4399 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4400 (_gdk_events_queue): Fix a bug where we could end up trying to
4401 handle the same event more than once. Based on patch from Paul
4404 2007-12-10 Tor Lillqvist <tml@novell.com>
4406 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4409 2007-12-10 Matthias Clasen <mclasen@redhat.com>
4411 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4412 to avoid further fallout from the fix for bug 388321.
4414 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4416 * gdk/directfb/gdkgc-directfb.c:
4417 * gdk/directfb/gdkdrawable-directfb.c:
4418 * gdk/directfb/gdkdirectfb.h:
4419 * gdk/directfb/gdkwindow-directfb.c:
4420 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4421 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4422 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4423 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4424 which are expected to improve the performance of the DirectFB backend.
4425 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4427 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4429 * gtk/gtkcontainer.c: Correct the documentation of child
4430 property getter arguments. (#501992, David Brigada)
4432 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4434 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4435 leak pixbufs. (#502250, Yevgen Muntyan)
4437 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
4439 * gtk/gtkprintunixdialog.c:
4440 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4441 Print and Page Setup dialogs (#502202).
4443 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
4445 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4446 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4447 of XVFB_START, since it's the GTESTER invokation that needs this.
4449 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
4451 * gdk-pixbuf/gdk-pixbuf.symbols:
4453 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4454 positives in abicheck.sh
4456 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4458 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4459 GDK events generations in the DirectFB backend.
4461 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
4463 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4464 set of likely unused display ids, because MacOS has no seq(1) command.
4466 2007-12-06 Richard Hult <richard@imendio.com>
4468 * gdk/quartz/gdkevents-quartz.c:
4469 (synthesize_crossing_events_for_ns_event): Fix warning when
4470 switching spaces in leopard.
4472 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
4474 * tests/floatingtest.c: ported to new testing framework.
4476 * tests/Makefile.am: run floatingtest as testing framework test.
4478 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
4480 * tests/autotestfilechooser.c: majorly speed up execution by reducing
4481 timeouts and converting main loop sleeps to pending/iterate loops with
4482 very low priority async handlers. eliminate output for non-verbose
4483 tests. assert successfull subtests in all test functions. use testing
4484 framework in main().
4486 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4487 executed inside Xvfb upon make check.
4489 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
4491 * tests/objecttests.c: use string comparisons for string property
4492 values and get rid of referencing symbols in array initialization.
4494 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
4496 * gtk+/Makefile.decl: run tests in current dir after setting up the
4497 logging directory, so their results get properly merged into the
4500 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4501 tests to loop over registered Gdk/Gtk+ types.
4503 * gtk+/tests/objecttests.c: new test program, implements automated
4504 property tests. several properties are blacklisted because they
4505 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4506 can be used to test blacklisted properties and see which proprty failed.
4508 2007-12-04 Richard Hult <richard@imendio.com>
4510 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4511 Fully initialize the root window, fixes bug #501583.
4513 2007-12-04 Matthias Clasen <mclasen@redhat.com>
4515 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4518 2007-12-03 Richard Hult <richard@imendio.com>
4520 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4521 Don't crash when dragging from a source that doesn't support uri
4522 lists (bug #499868, Paul Davis).
4524 2007-12-03 Richard Hult <richard@imendio.com>
4526 * gdk/quartz/gdkwindow-quartz.c:
4527 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4528 parent relative bg pixmap is set, and no parent has a bg
4529 pixmap. Fixes bug #500804.
4531 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4533 Two optimizations for icon cache lookups.
4535 * gtk/gtkiconcache.[hc]:
4536 * gtk/gtkicontheme.c: Remember the directory index for
4537 subdirectories, instead of running over the directory list
4540 * gtk/gtkiconcache.c (find_image_offset): Remember the last
4541 chain and try it first; this helps with the the usage patterns
4542 in gtkicontheme.c, where the same icon is queried for a lot
4545 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
4547 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4548 functions from header files. this should be portable across linux and
4549 Mac OS, unlike the previpous sed expression.
4551 2007-12-1 Cody Russell <bratsche@gnome.org>
4553 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4554 On Windows, queue a redraw of child2 whenever we set
4555 the pane handle position. This is unfortunately kind
4556 of hacky, but solves the visual artifacts that were
4557 occuring on at least certain types of child widgets
4558 (e.g., text views and tree views) that are inside
4559 horizontal or vertical panes. (#144269)
4561 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4563 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4565 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4567 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4570 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4572 * gtk/Makefile.am: Fix ordering of subdirs.
4574 2007-11-28 Tor Lillqvist <tml@novell.com>
4576 A proper build of GNU libintl is supposed to export the variable
4577 _nl_msg_cat_cntr. configure looks for that variable in order to
4578 recognize GNU gettext. If it sees that it is indeed GNU gettext
4579 that is used, it decides to install message catalogs in
4580 share/locale, otherwise in lib/locale. Until now on Windows I have
4581 built GTK+ against a build of GNU gettext that did not export
4582 _nl_msg_cat_cntr. But this will change, so we can't assume message
4583 catalogs are always in lib/locale.
4585 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4586 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4587 before the inclusion of gtkprivate.h so that it sees the original
4590 * gtk-zip.sh.in: Check whether the message catalogs are in
4591 share/locale or lib/locale.
4593 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4594 that the code in _gtk_get_localedir() will find the slashes.
4596 2007-11-28 Tor Lillqvist <tml@novell.com>
4598 * gtk/Makefile.am: Improve portability. The -o option is present
4599 only in newish GNU egreps. Use one more sed in the pipeline
4602 2007-11-28 Tor Lillqvist <tml@novell.com>
4604 Fix #375893, patch by Ben Hague:
4606 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4607 around GetLogicalDrives() that takes also the viewable drive
4608 restrictions in the Registry (which are usually the result of an
4609 Active Directory Group Policy) into account.
4611 (check_volumes, gtk_file_system_win32_list_volumes) Call
4612 get_viewable_logical_drives() instead of GetLogicalDrives().
4614 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4616 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4617 variables to silence valgrind. (#495124, Morten Welinder)
4619 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4621 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4622 that the construct_child function is responsible for returning a
4624 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4625 objects from constructors
4626 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4627 g_object_ref() to this construction function (it's the only
4632 2006-11-26 Ryan Lortie <desrt@desrt.ca>
4634 * gtkbuilder.c: remove concept of root objects and just refcount
4635 all objects in the builder. Fixes #496651.
4637 2007-11-26 Ryan Lortie <desrt@desrt.ca>
4639 * tests/buildertest.c (test_window): fix invalid free
4641 2007-11-26 Josselin Mouette <joss@malsain.org>
4643 reviewed by: Federico Mena Quintero
4645 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4646 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4647 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4648 Make the shortcuts activate with a single click. (#148828)
4649 Fix a few things affected by the change:
4650 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
4651 where no shortcut is selected.
4652 - Don't activate a shortcut in the response callback.
4653 - Filter out duplicate entries in volumes and bookmarks to
4654 avoid the selection to change when reordering them with DnD.
4656 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4659 * gtk/gtknotebook.c:
4660 * gtk/gtkplugprivate.h:
4662 * gtk/gtksocketprivate.h:
4663 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4665 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4667 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4668 (#495574, Richard Hult)
4670 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4672 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4673 String change ! (#376361, Sven Neumann)
4675 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4677 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4679 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4682 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4684 * gtk/gtkassistant.c: Improve alternative button
4685 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4687 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4689 * gtk/gtkcalendar.c: Fix a theming problem with colors
4690 in GtkCalendar. (#499703, Michael Hofmann)
4692 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4694 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4696 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4698 Use templates for glib-mkenums calls instead of
4699 complicated commandlines in Makefiles. (#429910)
4701 * gdk-pixbuf/Makefile.am:
4704 * perf/Makefile.am: Use templates for glib-mkenums
4706 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4707 * gdk/gdkenumtypes.[ch].template:
4708 * gtk/gtktypebuiltings.[ch].template:
4709 * perf/typebuiltins.[ch].template: The templates
4711 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4713 * gtk/gtkfilechooserbutton.c:
4714 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4715 some compilers choke on that. (#467722)
4717 2007-11-26 Matthias Clasen <mclasen@redhat.com>
4719 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4720 about hook setup. (#425004, Emmanuele Bassi)
4722 2007-11-26 Tor Lillqvist <tml@novell.com>
4724 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4725 monitor the window currently is on, not always the primary
4726 monitor. (#463865, Tim Evans)
4728 2007-11-26 Tor Lillqvist <tml@novell.com>
4730 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4732 * gdk/win32/Makefile.am: Add it.
4734 2007-11-26 Tor Lillqvist <tml@novell.com>
4736 * configure.in: Don't add jasper to all_loaders if no libjasper.
4738 2007-11-25 Bastien Nocera <hadess@hadess.net>
4740 * configure.in: Add detection for libjasper, used by the
4741 gdk-pixbuf JPEG2000 loader
4743 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4745 * configure.in: Require gtk-doc 1.8
4747 * */*.c: Use gtk-doc abbreviations for examples in docs.
4749 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4751 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4754 2007-11-25 Matthias Clasen <mclasen@redhat.com>
4756 * gtk/gtkdialog.c: Move signal and property documentation inline,
4757 fix a problem with the ::response signal docs. (#499133, Josselin
4760 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
4762 * Makefile.decl: initialize automake variables EXTRA_DIST and
4763 TEST_PROGS for unconditional appending via += in other makefiles.
4764 define recursive test targets: test, test-report, perf-report,
4765 full-report, as described here:
4766 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4767 the test targets will execute Gtk+ test programs within an Xvfb session.
4769 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4771 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4772 g_test_run() to run the tests to integrate with the testing framework.
4774 * gtk/tests/Makefile.am: removed exemplary testing rules.
4776 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4777 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4778 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4779 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4780 * docs/reference/Makefile.am, docs/tools/Makefile.am:
4781 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4782 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
4783 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
4784 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
4785 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
4786 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
4787 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
4788 * modules/engines/ms-windows/Theme/Makefile.am:
4789 * modules/engines/ms-windows/Makefile.am:
4790 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
4791 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
4792 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
4793 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
4794 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
4795 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
4796 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
4798 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4800 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
4801 (#485662, patch by Herbert Valerio Riedel)
4803 2007-11-22 Matthias Clasen <mclasen@redhat.com>
4805 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
4807 2007-11-21 Richard Hult <richard@imendio.com>
4809 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
4810 stubs for the testing functions to fix the build.
4812 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4814 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
4815 (#467711, The Written Word)
4817 2007-11-21 Ross Burton <ross@openedhand.com>
4819 * gdk/x11/gdksettings.c:
4820 Add xsetting for gtk-scrolled-window-placement (#458103).
4822 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4824 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
4825 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
4826 (#469239, Michael Natterer)
4828 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
4830 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
4831 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
4832 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
4833 (#436536, Tommi Komulainen)
4835 2007-11-21 Matthias Clasen <mclasen@redhat.com>
4837 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
4838 property. (#489782, Jan Janech)
4840 2007-11-20 Matthias Clasen <mclasen@redhat.com>
4842 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
4843 frames. (#107398, Owen Taylor, Miguel Gomez)
4845 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
4847 Moved Gdk test functions from Gtk+ to Gdk test utils.
4849 * gdk/Makefile.am: added gdktestutils.h to public includes.
4851 * gdk/gdk.h: added gdktestutils.h to public includes.
4853 * gdk/gdk.symbols: added gdk_test_simulate_button,
4854 gdk_test_simulate_key, gdk_test_render_sync.
4856 * gdk/gdktestutils.h: new file, added prototypes for
4857 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
4859 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
4861 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
4862 gdk_test_simulate_key, gdk_test_render_sync.
4864 * gtk/gtktestutils.c:
4865 * gtk/gtktestutils.h:
4866 * gtk/gtk.symbols: removed gtk_test_simulate_button
4867 gtk_test_simulate_key, gtk_test_xserver_render_sync.
4869 * gtk/tests/testing.c: call gdk_test_render_sync.
4871 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
4873 Added unit tests for Gtk+ testing utilities.
4875 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
4876 utility functions. some g_test_* related portions are disabled and need
4877 to be enabled once Gtk+ depends on a new glib with the GLib testing
4878 framework integrated.
4880 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
4881 tests. added exemplary test rules to run tests inside Xvfb. this
4882 needs to depend on gtester for full fledged testing.
4884 * gtk/Makefile.am: build gtk+/gtk/tests, define
4885 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
4886 e.g. gtk_text_get_type().
4888 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
4890 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
4892 Added Gtk+ testing utilities.
4894 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
4895 functions. for the most part, the functions herein involve
4896 navigating and interacting with dialog elements programatically,
4897 to automate user interaction tests of dialogs and widgets.
4899 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
4901 * gtk/gtk.symbols: added gtk_test_* symbols.
4903 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
4904 the build. generate gtktypefuncs.c which contains a list of all
4905 _get_type functions in Gtk+ and Gdk.
4907 2007-11-20 Bastien Nocera <hadess@hadess.net>
4909 * configure.in: add support for conditional icns gdk-pixbuf loader
4912 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
4914 * configure.in: updated version number to 2.15.0 for development.
4916 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
4918 === Branch for 2.12 ===