1 2008-07-21 Matthias Clasen <mclasen@redhat.com>
4 * gtk/gtkscalebutton.c:
5 * gtk/gtkmessagedialog.c:
8 * gtk/gtkcolorseldialog.c:
11 * gtk/gtkfontsel.c: Fix some doc problems.
13 2008-07-21 Michael Natterer <mitch@imendio.com>
15 * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
16 the deprecated gtk_box_pack_start_defaults().
18 * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
19 (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
20 instead of the deprecated gtk_binding_entry_add_signall().
22 2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
24 * gtk/gtkrecentmanager.c:
25 (recent_app_info_new), (recent_app_info_free): Use GSlice to
26 allocate the application data for recently used resources;
27 do not call time() to initialize the timestamp, as it will
28 be overwritten anyway later. (#535223, Michael Meeks)
30 2008-07-21 Kristian Rietveld <kris@gtk.org>
32 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
34 * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
35 for width_changed != NULL. (Patch by Josselin Mouette).
37 2008-07-21 Michael Natterer <mitch@imendio.com>
39 Bug 442042 – GtkScaleButton is too limited
41 * tests/testvolumebutton.c: forgot to commit code that tests
42 toggling the button's orientation. Also fixes the file's coding
45 2008-07-21 Cody Russell <bratsche@gnome.org>
47 Bug 153567 – Repaint glitches in widgets
49 * gdk/win32/gdkevents-win32.c: Set a sync timer when
50 we receive WM_SYNCPAINT, and RedrawWindow() once
53 2008-07-21 Michael Natterer <mitch@imendio.com>
55 * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
56 g_signal_override_class_handler() instead of
57 g_signal_override_class_closure().
59 * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
61 (gtk_text_view_compat_move_focus): chain up using
62 g_signal_chain_from_overridden_handler() instead of the generic
63 g_signal_chain_from_overridden() which needs manual fiddling with
66 2008-07-21 Michael Natterer <mitch@imendio.com>
68 * gtk/gtkuimanager.c: remove redundant include.
70 2008-07-21 Michael Natterer <mitch@imendio.com>
72 * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
74 * gtk/gtkfilechooserdefault.c
77 * gtk/gtkscalebutton.c
80 * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
81 some missing I_() to the signal names.
83 2008-07-21 Michael Natterer <mitch@imendio.com>
85 * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
86 functions and virtual function implementations. Some minor
89 2008-07-20 Andre Klapper <a9016009@gmx.de>
91 Bug 543915 - translation issues
93 * modules/printbackends/cups/gtkprintbackendcups.c:
94 Add translator comments for several strings.
96 2008-07-20 Sven Herzberg <sven@imendio.com>
98 reviewed by: Richard Hult
100 Fixes #543868: GdkPixmap is upside down on quartz
102 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
103 coordinate space from GTK+ orientation to CoreGraphics orientation
104 before calling CoreGraphics code
105 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
106 coordinate space flipping (we always get it right, now)
107 * gdk/quartz/gdkpixmap-quartz.c
108 (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
109 creating the CGContextRef
111 2008-07-20 Sven Herzberg <sven@imendio.com>
113 reviewed by: Richard Hult
115 Extracted the CGContextRef creation into a virtual function of
116 GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
119 * gdk/quartz/gdkdrawable-quartz.c
120 (gdk_quartz_drawable_get_context): dropped the different
121 implementations; forward to the virtual function now
122 * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
123 * gdk/quartz/gdkpixmap-quartz.c
124 (gdk_pixmap_impl_quartz_get_context),
125 (gdk_pixmap_impl_quartz_class_init): implemented get_context()
126 * gdk/quartz/gdkwindow-quartz.c
127 (gdk_window_impl_quartz_get_context),
128 (gdk_window_impl_quartz_class_init): implemented get_context()
130 2007-08-19 Matthias Clasen <mclasen@redhat.com>
134 2007-08-18 Matthias Clasen <mclasen@redhat.com>
136 Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
137 inside "apply" signal handler
139 * gtk/gtkassistant.c: Don't emit signals with extra parameters.
140 Patch by Antti Kaijanmäki
142 2007-08-18 Matthias Clasen <mclasen@redhat.com>
144 Bug 543217 – GTK application crashed with directfb backend
146 * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
147 _gdk_visual_init(). Patch by Huimin He.
149 2008-07-18 Federico Mena Quintero <federico@novell.com>
151 * gtk/updateiconcache.c (build_cache): If the resulting cache file
152 would be empty, erase the old cache file as well as the temporary file.
154 2008-07-18 Federico Mena Quintero <federico@novell.com>
156 * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
157 do funny casts to avoid compiler warnings.
159 * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
161 * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
163 * gtk/gtkmodules.c (load_module): Likewise.
165 * gtk/gtkselection.c (gtk_selection_convert): Likewise.
167 * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
169 * gtk/queryimmodules.c (query_module): Likewise.
171 * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
172 (find_widget_at_pointer): Likewise.
174 2008-07-08 Matthias Clasen <mclasen@redhat.com>
176 * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
177 hunk of the previous commit.
179 2008-07-18 Sven Herzberg <sven@imendio.com>
181 Make aliasfilecheck.sh pass for the quartz backend, too.
183 * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
185 2008-07-17 Runa Bhattacharjee <runabh@gmail.com>
187 * configure.in: Added Pashto (ps) to ALL_LINGUAS
189 2008-07-15 Paolo Borelli <pborelli@katamail.com>
191 Bug 447998 - GtkBuilder does not support building parts of the xml tree
195 * gtk/gtkbuilderprivate.h:
196 * gtk/gtkbuilderparser.c:
198 Add two new functions that allow cherry picking and construct
199 objects from a ui description file or string.
201 * gtk/tests/builder.c: tests for the above.
203 2008-07-15 Paolo Borelli <pborelli@katamail.com>
205 * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
206 signal) case and plug a couple of leaks.
208 2008-07-15 Matthias Clasen <mclasen@redhat.com>
210 Bug 543244 – crashes when renaming a bookmark
212 * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
213 free a GFile. Reported by Sebastien Bacher
215 2008-07-15 Matthias Clasen <mclasen@redhat.com>
217 Bug 339591 – Detect list of availible cover pages
219 Patch by Marek Kasik:
220 * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
221 available cover pages and the default front and back cover pages
222 from the cups server.
224 2008-07-15 Matthias Clasen <mclasen@redhat.com>
226 Bug 384940 – handle rejecting jobs and authentication meaningfully
228 Patch by Marek Kasik, icons by Mike Langlie:
230 * gtk/gtkprintbackend.h:
231 * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
235 * gtk/gtkiconfactory.c:
237 * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
239 * modules/printbackends/cups/gtkprintbackendcups.c:
240 * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
243 2008-07-15 Matthias Clasen <mclasen@redhat.com>
245 * configure.in: Add a test to see if GIO can sniff image data,
246 this should make gdk-pixbuf use its own sniffing again, on OS X.
248 2008-07-15 Xavier Claessens <xclaesse@gmail.com>
250 Bug 542523 – GtkTextTag should handle setting properties to NULL
252 * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
253 setting it to NULL instead of displaying a warning.
255 2008-07-15 Matthias Clasen <mclasen@redhat.com>
257 Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
259 * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
260 Call shortcuts_check_popup_sensitivity() every time the
261 menu is popped up. Problem reported by Hong Jen Yee
263 2008-07-15 Matthias Clasen <mclasen@redhat.com>
265 Bug 488766 – GtkFileChooserButton doesn't clear icon after
266 gtk_file_chooser_unselect_all
268 * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
269 the image when the label is set to "(None)". Reported by
272 * tests/testfilechooserbutton.c: Add an "Unselect all" button.
274 2008-07-15 Matthias Clasen <mclasen@redhat.com>
276 Bug 507394 – mem leak from gtk_selection_add_targets
278 * gtk/gtkoldeditable.c: Free target lists in finalize.
279 Reported by Christian Persch
281 2008-07-14 Matthias Clasen <mclasen@redhat.com>
284 * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
286 2008-07-14 Matthias Clasen <mclasen@redhat.com>
288 * gtk/gtklabel.c: Trivial doc fix.
290 2008-07-14 Matthias Clasen <mclasen@redhat.com>
292 Bug 542853 – jasper test fails due to incomplete library arguments
294 * configure.in: Add -ljpeg when checking for jasper.
295 Reported by Mike Calmus
297 2008-07-14 Matthias Clasen <mclasen@redhat.com>
299 * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
302 2008-07-11 Kristian Rietveld <kris@gtk.org>
304 Bug 316087 - Resizing columns is chaotic
306 * gtk/gtktreeprivate.h: add new member fields.
308 * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
310 (gtk_tree_view_size_allocate_columns): rework the size allocation
311 mechanism to only recalculate the expand values if the width of the
312 widget, content or the column configuration has changed,
313 (gtk_tree_view_size_allocate): move call to size_allocate_columns()
314 to before the adjustment updates so the proper width is used after
316 (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
317 use the column width minus the expand value for the resized width,
318 (gtk_tree_view_move_column_after): update call to
319 gtk_tree_view_size_allocate_columns().
321 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
322 resized width to FALSE.
325 * tests/testtreecolumnsizing.c: new interactive test program
326 for testing column resizing with different column configurations.
328 2008-07-11 Simos Xenitellis <simos@gnome.org>
330 * gtk/compose-parse.py:
331 * gtk/gtkimcontextsimple.c:
332 Fixed typo for the name of Markus Kuhn, issue mentioned
333 in bug #321896 (comment 61).
335 2008-07-11 Simos Xenitellis <simos@gnome.org>
337 Bug 334418 – Support easy input of ellipsis
339 * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
340 that listed the wrong codepoint. Reported by Wouter Bolsterlee.
342 2008-07-03 Murray Cumming <murrayc@murrayc.com>
344 * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and
345 tooltip-markup properties: Interpret an empty string as a NULL
346 string because an empty tooltip is silly. This will help
347 language bindings that do not bother to have the two types of
351 2008-07-10 Matthias Clasen <mclasen@redhat.com>
353 Bug 542234 – iconview a11y implementation segfaults
355 * gtk/gtkiconview.c: Fix a segfault in the a11y code.
358 2008-07-08 Christian Neumair <cneumair@gnome.org>
360 * gtk/gtkuimanager.c (update_node):
361 Skip update of accelerator child node if it has no associated action.
364 2008-07-07 Cody Russell <bratsche@gnome.org>
366 Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
368 * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
369 existing modal hint value before setting it.
371 2008-07-07 Cody Russell <bratsche@gnome.org>
373 Bug 540994 – [Win32] Some windows don't appear at the top when created
375 * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
377 I actually already committed this one by accident, probably when I committed
378 #541305, but just wanted to document it here in the ChangeLog.
380 2008-07-07 Johan Dahlin <johan@gnome.org>
382 * gtk/tests/builder.c (test_cell_view):
383 Add a test case for 528845.
385 2008-07-07 Tor Lillqvist <tml@novell.com>
387 * gdk/win32/gdkwindow-win32.c
388 (gdk_window_foreign_new_for_display): Need to initialise
389 private->impl here, too.
391 2008-07-07 Michael Natterer <mitch@imendio.com>
393 * gtk/gtkfilesystem.c: include the two needed headers instead of
396 2008-07-06 Matthias Clasen <mclasen@redhat.com>
398 Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
401 * gtk/gtkcellview.c: Don't blindly chain up in the buildable
402 implementation. Reported by Kevin Ryde.
404 2008-07-06 Matthias Clasen <mclasen@redhat.com>
406 Bug 469068 – clarify gdk_cairo_create()
408 * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
409 contexts cannot be cached for handling expose events.
410 Proposed by Behdad Esfahbod.
412 2008-07-06 Matthias Clasen <mclasen@redhat.com>
414 Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
416 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
417 that the tooltip is set as markup. Proposed by Czirkos Zoltan.
419 2008-07-06 Matthias Clasen <mclasen@redhat.com>
421 Bug 510225 – gtk_widget_get_composite_name retval should be freed
423 * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
424 docs. Pointed out by Wolfgang Oertl
426 2008-07-06 Matthias Clasen <mclasen@redhat.com>
428 Bug 531129 – gtk_style_copy() does not include a return value or
431 * gtk/gtkstyle.c: Document gtk_style_copy.
433 2008-07-06 Matthias Clasen <mclasen@redhat.com>
435 Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
436 Bug 513580 – Broken link in GTK+ FAQ
438 * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
440 2008-07-07 Christian Dywan <christian@imendio.com>
442 * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
443 erroneously added g_return_if_fail (bug #541811).
445 2008-07-06 Matthias Clasen <mclasen@redhat.com>
447 Bug 343663 – source-buffer highlighting highlights "char" in
448 gtk_text_iter_forward_char
450 * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
452 2008-07-06 Matthias Clasen <mclasen@redhat.com>
454 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
456 * gtk/gtksettings.c: Improve the documentation of the
457 gtk-icon-sizes setting. Proposed by Tommi Komulainen.
459 2008-07-06 Matthias Clasen <mclasen@redhat.com>
461 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
464 * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
465 Check that the cursor is over a valid date before retrieving
466 its details. Patch by Chris Wilson
468 2008-07-06 Matthias Clasen <mclasen@redhat.com>
470 Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
472 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
473 64-bit brokenness. Reported by Christian Hammond.
475 2008-07-06 Matthias Clasen <mclasen@redhat.com>
477 Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
480 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
481 Be more robust. Reported by Jelte van der Hoek
483 2008-07-06 Matthias Clasen <mclasen@redhat.com>
485 Bug 540917 – deprecate pack_start_defaults()
488 * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
489 Proposed by Owen Taylor
491 2008-07-05 Matthias Clasen <mclasen@redhat.com>
493 * configure.in: Bump version
495 2008-07-05 Matthias Clasen <mclasen@redhat.com>
497 * === Released 2.13.4 ===
499 2008-07-05 Michael Natterer <mitch@imendio.com>
501 * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
502 deprecated section because it isn't deprecated.
504 2008-07-05 Michael Natterer <mitch@imendio.com>
506 * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
507 other include weirdness in this file.
509 2008-07-05 Matthias Clasen <mclasen@redhat.com>
513 2008-07-04 Matthias Clasen <mclasen@redhat.com>
517 * gtk/gtkscalebutton.c: Small doc fixes.
519 2008-07-04 Matthias Clasen <mclasen@redhat.com>
522 * gdk/x11/gdktestutils-x11.c: Small doc fixes
524 2008-07-04 Matthias Clasen <mclasen@redhat.com>
526 * gtk/tests/defaultvalue.c: Omit some more untestable properties.
528 * gtk/gtkmenu.c: Fix the initial value of the monitor property.
530 * gtk/gtkentry.c: Fix the property getter for text-length property.
532 * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
534 2008-07-04 Matthias Clasen <mclasen@redhat.com>
536 * gtk/gtkmenu.c: Debork the attach-widget property.
538 2008-07-04 Michael Natterer <mitch@imendio.com>
542 * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
552 * gtk/gtkoldeditable.c
557 * gtk/gtktreeitem.c: don't #define it again before including
558 gtkalias.h after it has been #undef'ed before.
560 2008-07-04 Michael Natterer <mitch@imendio.com>
562 * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
563 to FALSE instead of 0.
565 2008-07-04 Michael Natterer <mitch@imendio.com>
567 Allocate with GSlice:
569 * gtk/gtkassistant.c: GtkAssistantPage
570 * gtk/gtkcellview.c: GtkCellViewCellInfo
571 * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
572 * gtk/gtkfilefilter.c: FilterRule
573 * gtk/gtknotebook.c: GtkNotebookPage
575 2008-07-04 Michael Natterer <mitch@imendio.com>
577 * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
579 2008-07-04 Michael Natterer <mitch@imendio.com>
581 * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
582 variable to GtkWidget fo fix two warnings.
584 2008-07-04 Michael Natterer <mitch@imendio.com>
586 Bug 539944 – Add GtkScaleButton API so struct fields can be marked
590 * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
591 and _get_minus_button(). Patch by Christian Dywan.
593 2008-07-04 Matthias Clasen <mclasen@redhat.com>
595 * gtk/gtkscalebutton.c:
597 * gdk/gdkwindowimpl.c: Fix make check.
599 2008-07-03 Matthias Clasen <mclasen@redhat.com>
601 Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
602 constructed using GtkUIManager
604 * gtk/gtkmenuitem.c: Fall back to the default positioning when
605 the menuitem is not realized. Patch by Björn Lindqvist.
607 2008-07-03 Matthias Clasen <mclasen@redhat.com>
609 Bug 540612 – mem leak in filechooser
611 * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
612 Patch by Christian Persch.
614 2008-07-04 Tor Lillqvist <tml@novell.com>
616 Bug 540861 - invalid UTF-8 in input device name
618 * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
619 Unicode, and convert to UTF-8 for the GdkDevice's name field.
621 2008-07-03 Matthias Clasen <mclasen@redhat.com>
623 Bug 538863 – Fixes assertion on entering empty folder
625 * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
626 select the first row if the folder is empty.
627 Patch by Olle Bergkvist.
629 2008-07-03 Matthias Clasen <mclasen@redhat.com>
631 Bug 540915 – GtkBuilder sets properties in reverse order
633 * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
634 in which they are specified in the xml file.
636 2008-07-03 Matthias Clasen <mclasen@redhat.com>
638 Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
642 * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
643 accessor for the popup. Patch by Christian Dywan
645 2008-07-03 Matthias Clasen <mclasen@redhat.com>
647 Bug 535498 – Printing demo broken
649 * demos/gtk-demo/printing.c: Use monospace as font name,
650 not mono. Also use the right advance when moving from line to line.
651 Patch by Yevgen Muntyan.
653 2008-07-03 Matthias Clasen <mclasen@redhat.com>
655 Bug 538547 – Update doc-shooter in gtk documentation
657 * docs/tools/Makefile.am:
658 * docs/tools/folder.png:
659 * docs/tools/gnome.png: New images
661 * docs/tools/widgets.c: Use the new images.
662 Patch by Baptiste Mille-Mathias.
664 2008-07-03 Michael Natterer <mitch@imendio.com>
666 * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
667 names of binding signal implementations.
669 2008-07-03 Li Yuan <li.yuan@sun.com>
671 * gail-uninstalled.pc.in:
672 Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
674 2008-07-03 Cody Russell <bratsche@gnome.org>
676 Bug 540529 – Remove all GIMP references
680 * gtk+-unix-print-2.0.pc.in:
681 * gtk+-2.0-uninstalled.pc.in:
682 * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
683 GTK+ Graphical UI Library in the pkg-config files.
685 2008-07-02 Cody Russell <bratsche@gnome.org>
687 Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
689 * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
692 * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
693 * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
696 2008-07-02 Cody Russell <bratsche@gnome.org>
698 Bug 541249 – [Win32] Fix some internal static methods
700 * gdk/gdkwindow-win32.c: Make the interface implementation methods
703 2008-07-02 Michael Natterer <mitch@imendio.com>
705 Bug 537591 – Don't hardcode minimum width of menuitems
707 * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
708 introduces a "width-chars" style property which replaces the
709 hardcoded minimum width of menuitems with submenu. Patch
710 extracted from Maemo-GTK+.
712 2008-07-02 Michael Natterer <mitch@imendio.com>
714 * gtk/gtkfilechooserdefault.c: remove some of the million includes.
716 2008-07-02 Kristian Rietveld <kris@imendio.com>
718 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
719 Since s/2.16/2.14/ for the new gicon property.
721 2008-07-02 Kristian Rietveld <kris@imendio.com>
723 Bug 455268 - Add gtk-enable-tooltips GtkSetting
726 * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
728 * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
730 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
731 introduced XSetting into account.
733 * demos/gtk-demo/appwindow.c: don't use the now deprecated
734 gtk_toolbar_set_tooltips().
736 2008-07-02 Cody Russell <bratsche@gnome.org>
738 Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
740 * gdk/win32/gdkprivate-win32.h:
741 * gdk/win32/gdkgeometry-win32.c:
742 * gdk/win32/gdkevents-win32.c:
743 * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
744 the newly refactored GdkWindow code.
746 2008-07-01 Cody Russell <bratsche@gnome.org>
748 Bug 539164 – Windows' System Menu blocks main loop
750 * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
751 receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
752 GLib mainloop from there.
754 2008-07-01 Richard Hult <richard@imendio.com>
756 Some aftermath from the window impl cleanups:
758 * gdk/quartz/gdkwindow-quartz.c:
759 (gdk_window_merge_child_input_shapes): Rename and export again.
760 (gdk_window_quartz_get_offsets): Make static.
762 2008-07-01 Michael Natterer <mitch@imendio.com>
764 * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
766 2008-07-01 Matthias Clasen <mclasen@redhat.com>
768 539790 – [PATCH] Please add three new settings to GtkSettings
770 * gdk/x11/gdksettings.c:
771 * gtk/gtksettings.c: Add event sound settings.
772 Patch by Lennart Poettering.
774 2008-07-01 Matthias Clasen <mclasen@redhat.com>
776 Bug 434535 – printoperation's create_surface doesn't check temp file
779 Patch by Marek Kasik:
781 * gtk/gtkprintoperation-unix.c
782 (_gtk_print_operation_platform_backend_create_preview_surface):
783 Handle failure to create temp file by returning NULL.
785 * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
786 Return FALSE if surface creation fails.
788 (print_pages): If the preiew signal is not handled, show an
791 2008-07-01 Michael Natterer <mitch@imendio.com>
793 Bug 442042 – GtkScaleButton is too limited
795 * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
796 property that can be changed at any time after widget
797 creation. Add public API for it.
799 * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
801 2008-06-30 Michael Natterer <mitch@imendio.com>
803 Some unrelated cleanups found while reviewing
804 the offscreen window patch:
806 * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
807 functions, fix some function header indentation, update
808 documentation of redirect_to_drawable().
810 * gdk/x11/gdkwindow-x11.c
811 * gdk/x11/gdkpixmap-x11.c: fix function header
812 formatting/indentation.
814 * gtk/gtkwidget.c: use I_() on "damage_event".
816 2008-06-30 Michael Natterer <mitch@imendio.com>
818 * gdk/gdkinternals.h: remove duplicate declaration of
821 2008-06-30 Michael Natterer <mitch@imendio.com>
823 * gdk/Makefile.am: reorder source lists alphabetically.
825 2008-06-30 Matthias Clasen <mclasen@redhat.com>
827 Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
829 * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
832 2008-06-29 Behdad Esfahbod <behdad@gnome.org>
834 Bug 530255 – GtkAboutDialog cuts off comments label
835 Followup patch from Jan Arne Petersen
837 * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
839 2008-06-28 Michael Natterer <mitch@imendio.com>
841 * gtk/gtkselection.h: properly indent the newly added
842 GtkSelectionData accessors. Some newlines can't hurt either.
844 2008-06-27 Mikael Hallendal <micke@imendio.com>
846 * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
848 2008-06-27 Mikael Hallendal <micke@imendio.com>
850 * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
851 Factored out gtk_box_pack from gtk_box_pack_start and use it from both
852 pack_start and pack_end in order to reduce the code duplication.
854 2008-06-27 Michael Natterer <mitch@imendio.com>
856 Bug 442042 – GtkScaleButton is too limited
858 * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
859 "gtk-scalebutton-popup-window" on the popup window so it is
862 2008-06-27 Kristian Rietveld <kris@imendio.com>
864 * gdk/quartz/gdkgeometry-quartz.c:
865 * gdk/quartz/gdkwindow-quartz.c:
866 * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
869 2008-06-27 Carlos Garnacho <carlos@imendio.com>
871 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
872 critical warnings. Bug #539470.
874 2008-06-27 Emmanuele Bassi <ebassi@gnome.org>
876 Abstract some GdkWindow API into an interface that the backends
877 must implement. (based on a patch by Alex Larsson)
879 * gdk/Makefile.am: Add gdkwindowimpl.[ch]
881 * gdk/gdk.symbols: Move symbols around.
883 * gdk/gdkinternals.h:
884 * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
885 from the backends to a GInterface that the backends should implement
888 * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
889 wrapper call around the GdkWindowImpl interface vtable.
891 * gdk/x11/gdkevents-x11.c:
892 * gdk/x11/gdkgeometry-x11.c:
893 * gdk/x11/gdkprivate-x11.h:
894 * gdk/x11/gdkwindow-x11.c:
895 * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
896 the GdkWindowImpl interface.
898 2008-06-27 Martyn Russell <martyn@imendio.com>
900 Bug 540318 - Invalid URL
902 * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
903 in the warning produced here.
905 2008-06-27 Michael Natterer <mitch@imendio.com>
907 Bug 442042 – GtkScaleButton is too limited
909 * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
910 stuff that is part of the public API continues to be created in
911 init() to stay compatible. Move creating of the popup scale to
912 constructor(). Add an internal HScale class. Changed popup
913 positioning for horizontal scales accordingly.
915 2008-06-26 Michael Natterer <mitch@imendio.com>
917 * gtk/gtkscalebutton.c
918 * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
919 prototypes, remove redundant includes, remove a little trailing
922 2008-06-26 Richard Hult <richard@imendio.com>
924 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
926 (_gtk_quartz_get_selection_data_from_pasteboard),
927 (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
928 Christian Dywan to clean up selection data setting.
930 2008-06-26 Richard Hult <richard@imendio.com>
932 * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
933 deprecated function gtk_widget_ref, replace with g_object_ref.
935 2008-06-26 Michael Natterer <mitch@imendio.com>
937 * gtk/gtkfilesystem.c: #include "config.h"
939 2008-06-26 Carlos Garnacho <carlos@imendio.com>
941 * gtk/gtkfilechooserdefault.c
942 (gtk_file_chooser_default_get_current_folder): current_folder can be
943 NULL here, do not try to reference it (Bug #540235)
944 (gtk_file_chooser_default_get_files): Deal better with
945 gtk_file_chooser_default_get_current_folder() being able to return
948 2008-06-26 Michael Natterer <mitch@imendio.com>
950 * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
951 allocate the GtkTextUtilCallbackInfo structs with GSlice.
953 2008-06-25 Michael Natterer <mitch@imendio.com>
955 * gtk/gtktypeutils.h: there is no reason to include
956 <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
957 replacing the <glib-object.h> include. Also move the remaining few
958 non-deprecated things to the top and move some deprecated things
959 around to clean up the mess with too many deprecated sections even
962 2008-06-24 Michael Natterer <mitch@imendio.com>
964 * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
965 (also for GTK_COMPILATION). Move some deprecated typedefs around
966 to reduce the mess with zillions of deprecated sections.
968 * gtk/gtkmain.c (do_post_parse_initialization): replace the call
969 to gtk_type_init() by g_type_init() and gtk_object_get_type() even
970 though the latter is probably completely pointless.
972 2008-06-24 Michael Natterer <mitch@imendio.com>
974 * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
975 the dialog's vbox was added (bug #539732).
977 2008-06-24 Carlos Garnacho <carlos@imendio.com>
979 * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
980 thought for handling non-direct children. Fixes #539732.
981 (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
982 doesn't provide enough control to API users (removing, reordering...),
983 this is better handled through:
984 (gtk_dialog_get_content_area): New function which just returns
986 * gtk/gtk.symbols: Modify accordingly.
987 * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
988 using gtk_dialog_get_[action|content]_area() instead of accessing
989 dialog struct members directly.
991 2008-06-24 Michael Natterer <mitch@imendio.com>
994 * gtk/gtkcellrenderer.h
995 * gtk/gtkfilechooserentry.h
999 * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
1000 if there is any other widget included, they all have to include
1001 their respective parent classes (the is-a relation works for
1004 2008-06-24 Michael Natterer <mitch@imendio.com>
1006 * gtk/gtktextutil.h: remove includes from this internal header.
1008 * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
1010 2008-06-23 Michael Natterer <mitch@imendio.com>
1012 * gtk/gtkinvisible.h: formatting.
1014 2008-06-23 Michael Natterer <mitch@imendio.com>
1017 * gtk/gtkbuildable.h
1018 * gtk/gtkbuilderprivate.h
1019 * gtk/gtkcelllayout.h
1020 * gtk/gtkentrycompletion.h
1021 * gtk/gtkfilechoosersettings.h
1022 * gtk/gtkfilesystem.h
1023 * gtk/gtkfilesystemmodel.h
1024 * gtk/gtkicontheme.h
1025 * gtk/gtklinkbutton.h
1026 * gtk/gtkpagesetup.h
1027 * gtk/gtkpapersize.h
1028 * gtk/gtkprintcontext.h
1029 * gtk/gtkprintoperation.h
1030 * gtk/gtkprintoperationpreview.h
1031 * gtk/gtkprintsettings.h
1032 * gtk/gtkrecentchooserprivate.h
1033 * gtk/gtkrecentmanager.h
1034 * gtk/gtksearchengine.h
1036 * gtk/gtktreeselection.h
1037 * gtk/gtktreeviewcolumn.h
1038 * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
1039 <glib-object.h>. There is no point in relying on them being pulled
1040 in by other headers in some places and placing them explicitly in
1041 other places, so choose the "as little includes as possible"
1042 approach and get rid of them.
1044 2008-06-23 Kristian Rietveld <kris@imendio.com>
1046 * gdk/gdkenumtypes.h.template:
1047 * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
1048 * gtk/gtktypebuiltins.h.template:
1049 * perf/typebuiltins.h.template: do not hard code the prefix of the
1050 enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
1052 2008-06-23 Michael Natterer <mitch@imendio.com>
1054 * gtk/gtkmountoperation.h
1055 * gtk/gtktestutils.h
1056 * gtk/gtkshow.[ch]: remove as many includes as possible from these
1057 new files. They can't be included individually, so nothing can break.
1059 2008-06-22 Michael Natterer <mitch@imendio.com>
1061 * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
1062 registering the "modifier-mask" property.
1064 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
1066 * *.[ch]: Include "config.h" instead of <config.h>
1068 find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
1069 Rubberstamped by Mitch and Tim
1071 2008-06-21 Carlos Garnacho <carlos@imendio.com>
1073 Bug 539466 – GtkMenuShell API/ABI break in trunk.
1075 * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
1076 different name and packing width.
1078 2008-06-21 Johan Dahlin <jdahlin@async.com.br>
1080 * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
1083 2008-06-21 Michael Natterer <mitch@imendio.com>
1085 * gdk/gdkapplaunchcontext.h: remove redundant include, fix
1086 indentation, replace header by a GDK copyright header (don't say
1087 "The Gnome Library"), remove trailing whitespace.
1089 2008-06-21 Hans Breuer <hans@breuer.org>
1091 * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible
1092 types - from 'struct _cairo *' to 'struct _cairo_surface *' by
1093 passing the surface to cairo_surface_show_page(), not the context
1094 * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018:
1095 '<' : signed/unsigned mismatch by using guint for the loop
1097 * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is
1098 an uint, gtk_menu_get_active() returns the widget pointer. Convert
1099 the latter to the former by calculating the index in menu::children
1100 Also fix some occurences of g_return_if_fail() where
1101 g_return_val_if_fail() was meant
1103 2008-06-21 Björn Lindqvist <bjourne@gmail.com>
1105 Bug 539363 – Segfault when creating GtkPlugs
1107 * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
1108 property names. "socket window" => "socket-window"
1110 2008-06-20 Jody Goldberg <jody@gnome.org>
1112 * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
1113 Fix life cycle to avoid crash. [#536966]
1115 2008-06-20 Hans Breuer <hans@breuer.org>
1117 * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
1118 a value of the appropriate type with g_return_val_if_fail
1120 * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
1122 * gtk/gtkfilesystem.c : don't add the "File System" on win32
1124 * tests/makefile.msc : remove broken autotestfile(system|chooser)
1127 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1129 * gtk/gtkbutton.c: Document a style property
1131 * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
1134 * gtk/gtkcolorsel.c:
1136 * gtk/gtkitemfactory.c:
1137 * gtk/gtknotebook.c:
1138 Fix up deprecated markup syntax. Add version numbers and
1139 a message on the remaning ones.
1141 2008-06-20 Mikael Hallendal <micke@imendio.com>
1143 * tests/testthreads.c: Use g_signal_connect instead of
1146 * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
1147 While the code is not built, people may still look at it.
1149 2008-06-20 Kjartan Maraas <kmaraas@gnome.org>
1151 reviewed by: <Carlos Garnacho <garnacho@gnome.org>
1154 * gtk/gtkliststore.h:
1156 * gtk/gtktextchild.h:
1157 * gtk/gtktreemodelfilter.h:
1158 * gtk/gtktreemodelsort.h:
1159 * gtk/gtktreestore.h:
1160 #include <gdkconfig.h> not <gdk/gdkconfig.h>
1162 2008-06-20 Martyn Russell <martyn@imendio.com>
1164 * gtk/gtkaccelgroup.c: Fix warnings from calling
1165 g_object_notify() on a GtkAccelGroup without casting to a
1168 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1170 * gtk/gtkcolorsel.c: Modernize and order things as most
1171 other objects. Defines at the top, class init before init
1172 before gobject methods before object method before widget
1173 methods. No changes to the logic done.
1175 2008-06-20 Martyn Russell <martyn@imendio.com>
1177 * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
1178 properties that don't exist. Also, make sure we notify for
1179 the "is-locked" property.
1181 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1183 * gtk/gtklayout.c (enum): Remove left-over unused property enum.
1185 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1187 * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
1189 * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
1191 * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
1192 allocation to avoid compiler warnings
1194 2008-06-20 Michael Natterer <mitch@imendio.com>
1196 * gtk/gtkaccellabel.h
1197 * gtk/gtkactiongroup.h
1198 * gtk/gtkalignment.h
1200 * gtk/gtkaspectframe.h
1202 * gtk/gtkhandlebox.h
1203 * gtk/gtkprogressbar.h
1206 * gtk/gtkscalebutton.h
1207 * gtk/gtkselection.h: fix some formatting and spacing uglyness
1208 that got merged from the GSEAL branch.
1210 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1213 * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
1214 * gtk/gtkmessagedialog.h:
1215 Add missing accessor for sealed field GtkMessageDialog->image.
1217 2008-06-20 Michael Natterer <mitch@imendio.com>
1219 * gtk/gtkprinter.h: the GSEAL branch added two includes for no
1222 2008-06-20 Johan Dahlin <jdahlin@async.com.br>
1224 * gtk/gtkaccelgroup.c:
1225 * gtk/gtkcolorseldialog.c:
1226 * gtk/gtkcontainer.c:
1228 * gtk/gtkentry.c (gtk_entry_class_init):
1230 * gtk/gtkhandlebox.c:
1232 * gtk/gtkmenu.c (gtk_menu_class_init):
1233 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
1234 * gtk/gtkplug.c (gtk_plug_class_init):
1235 * gtk/gtkselection.c:
1237 * gtk/gtktreeselection.c:
1238 * gtk/gtkwidget.c (gtk_widget_class_init):
1240 Add missing Since: gtk-doc markup for newly added GSEAL API.
1241 Change all Since: GSEAL-branch to Since: 2.14.
1243 2008-06-20 Michael Natterer <mitch@imendio.com>
1245 * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
1246 the code merged from the GSEAL branch.
1248 2008-06-20 Michael Natterer <mitch@imendio.com>
1250 * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
1251 value from GtkHButtonBox to GtkWidget.
1253 2008-06-20 Michael Natterer <mitch@imendio.com>
1255 * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
1258 2008-06-20 Michael Natterer <mitch@imendio.com>
1260 * gtk/gtkwindow.[ch]
1261 * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
1262 gtk_window_group_list_windows().
1264 2008-06-20 12:35:20 +0200 Tim Janik
1266 * Fixed wrongly resolved merge conflicts.
1268 2008-06-19 19:01:41 +0200 Carlos Garnacho
1270 Add gtk_window_group_get_windows().
1273 * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
1275 2008-06-19 18:39:47 +0200 Carlos Garnacho
1277 Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
1279 * gtk/gtkdialog.c: Add missing documentation for new fucntions.
1281 2008-06-19 18:38:35 +0200 Carlos Garnacho
1283 Document gtk_container_get_focus_child().
1285 * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
1287 2008-06-19 13:50:06 +0200 Christian Dywan
1289 Add gtk_plug_get_socket_window
1291 2008-06-19 13:11:52 +0200 Christian Dywan
1293 Remove superflous gtkselection accessors and merge _get_data
1295 2008-06-13 15:56:51 +0200 Christian Dywan
1297 Implement gtk_selection_get_display, style fixes
1299 2008-06-13 15:45:00 +0200 Christian Dywan
1301 Fix indentation of a comment.
1303 2008-06-13 15:10:08 +0200 Christian Dywan
1305 Change docs and signature of gtk_widget_get_allocation
1307 2008-06-13 14:22:17 +0200 Christian Dywan
1309 Remove unneeded GtkColorSelectionDialog accessors
1311 2008-06-13 12:57:54 +0200 Christian Dywan
1313 Fix documentaion of gtk_menu_item_get_accel_path
1315 2008-06-11 13:49:34 +0200 Christian Dywan
1317 Fix gtk_widget_get_allocation
1319 2008-06-07 15:37:18 +0200 Carlos Garnacho
1321 Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
1325 * gtk/gtkcellrenderer.h:
1326 * gtk/gtkcellrenderertext.h:
1327 * gtk/gtkcheckmenuitem.h:
1328 * gtk/gtkcontainer.h:
1330 * gtk/gtkhandlebox.h:
1331 * gtk/gtkimcontextsimple.h:
1333 * gtk/gtkliststore.h:
1335 * gtk/gtkmenuitem.h:
1336 * gtk/gtkmenushell.h:
1337 * gtk/gtknotebook.h:
1340 * gtk/gtkprintjob.h:
1341 * gtk/gtkprogressbar.h:
1344 * gtk/gtkscrolledwindow.h:
1345 * gtk/gtksizegroup.h:
1347 * gtk/gtkspinbutton.h:
1348 * gtk/gtkstatusbar.h:
1350 * gtk/gtktearoffmenuitem.h:
1351 * gtk/gtktextbuffer.h:
1352 * gtk/gtktextview.h:
1353 * gtk/gtktogglebutton.h:
1355 * gtk/gtktreestore.h:
1356 * gtk/gtktreeviewcolumn.h:
1357 * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
1359 2008-06-06 19:02:17 +0200 Christian Dywan
1363 2008-06-06 17:58:21 +0200 Christian Dywan
1365 Seal GtkSelectionData
1367 2008-06-06 17:57:23 +0200 Christian Dywan
1369 Fix GtkDialog, don't add vbox via gtk_container_add.
1371 2008-06-06 13:39:34 +0200 Kristian Rietveld
1373 Make GtkCellRenderer::editing read-only. (Catched by Matthias)
1375 2008-06-03 09:11:50 +0200 Kristian Rietveld
1379 2008-05-30 16:48:12 +0100 Martyn Russell
1381 Seal GtkFontSelection & GtkFontSelectionDialog
1383 2008-05-29 10:35:29 +0200 Kristian Rietveld
1385 Seal GtkTearoffMenuItem.
1387 (the torn_off field is for internal state keeping, you can retrieve
1388 the value from the parent menu's tearoff_state).
1390 2008-05-27 18:34:12 +0200 Christian Dywan
1394 2008-05-27 18:17:44 +0200 Christian Dywan
1398 2008-05-27 15:10:02 +0200 Christian Dywan
1402 2008-05-27 14:17:45 +0200 Christian Dywan
1406 2008-05-27 14:04:31 +0200 Christian Dywan
1410 2008-05-27 12:40:08 +0200 Christian Dywan
1414 2008-05-27 12:39:49 +0200 Christian Dywan
1416 Seal GtkIMMultiContext
1418 2008-05-27 12:39:17 +0200 Christian Dywan
1420 Seal GtkIMContextSimple
1422 2008-05-27 12:14:53 +0200 Christian Dywan
1426 2008-05-27 11:14:21 +0200 Christian Dywan
1430 2008-05-27 10:54:20 +0200 Christian Dywan
1432 Fix the build by including gdkconfig.h in gtkprinter.h.
1434 2008-05-27 10:38:02 +0200 Christian Dywan
1438 2008-05-27 10:20:56 +0200 Christian Dywan
1442 2008-05-26 17:58:19 +0200 Kristian Rietveld
1446 2008-05-26 17:54:56 +0200 Kristian Rietveld
1450 2008-05-26 17:48:23 +0200 Kristian Rietveld
1454 2008-05-26 17:39:38 +0200 Kristian Rietveld
1458 2008-05-26 17:31:06 +0200 Kristian Rietveld
1462 2008-05-26 17:27:22 +0200 Kristian Rietveld
1466 2008-05-26 17:07:43 +0200 Kristian Rietveld
1470 2008-05-26 17:07:37 +0200 Kristian Rietveld
1474 2008-05-26 16:39:27 +0200 Kristian Rietveld
1476 Seal GtkTextTagTable.
1478 2008-05-26 16:34:13 +0200 Kristian Rietveld
1482 2008-05-26 17:08:19 +0200 Christian Dywan
1486 2008-05-26 16:40:05 +0200 Christian Dywan
1490 2008-05-26 16:37:54 +0200 Christian Dywan
1494 2008-05-26 14:09:32 +0200 Kristian Rietveld
1496 Seal priv pointer in GtkToggleToolButton.
1498 2008-05-26 14:04:51 +0200 Kristian Rietveld
1500 Seal priv pointer in GtkUIManager.
1502 2008-05-26 14:01:32 +0200 Kristian Rietveld
1504 Seal priv pointer in GtkToolItem.
1506 2008-05-26 14:01:12 +0200 Kristian Rietveld
1508 Seal priv pointer in GtkToolButton.
1510 2008-05-26 14:00:24 +0200 Kristian Rietveld
1512 Seal priv pointer in GtkToggleAction.
1514 2008-05-26 13:58:01 +0200 Kristian Rietveld
1516 Seal priv pointer in GtkStatusIcon.
1518 2008-05-26 13:57:33 +0200 Kristian Rietveld
1520 Seal priv pointer in GtkSeparatorToolItem.
1522 2008-05-26 13:56:33 +0200 Kristian Rietveld
1524 Seal priv pointer in GtkScaleButton.
1526 2008-05-26 13:55:57 +0200 Kristian Rietveld
1528 Seal priv pointer in GtkRecentManager.
1530 2008-05-26 13:55:25 +0200 Kristian Rietveld
1532 Seal priv pointer in GtkRecentChooserWidget.
1534 2008-05-26 13:54:39 +0200 Kristian Rietveld
1536 Seal priv pointer in GtkRecentChooserMenu.
1538 2008-05-26 13:54:15 +0200 Kristian Rietveld
1540 Seal priv pointer in GtkRecentChooserDialog.
1542 2008-05-26 13:52:40 +0200 Kristian Rietveld
1544 Seal priv pointer in GtkRecentAction.
1546 2008-05-26 13:51:47 +0200 Kristian Rietveld
1548 Seal priv pointer in GtkRadioAction.
1550 2008-05-26 13:50:49 +0200 Kristian Rietveld
1552 Seal priv pointer in GtkPrintUnixDialog.
1554 2008-05-26 13:50:08 +0200 Kristian Rietveld
1556 Seal priv pointer in GtkPrintOperation.
1558 2008-05-26 13:49:41 +0200 Kristian Rietveld
1560 Seal priv pointer in GtkPrinter.
1562 2008-05-26 13:48:49 +0200 Kristian Rietveld
1564 Seal priv pointer in GtkPageSetupUnixDialog.
1566 2008-05-26 13:47:39 +0200 Kristian Rietveld
1568 Seal priv pointer in GtkMenuToolButton.
1570 2008-05-26 13:47:29 +0200 Kristian Rietveld
1572 Add gdkconfig.h include to GtkBuilder for GSEAL macro.
1574 2008-05-26 13:23:45 +0200 Kristian Rietveld
1576 Seal priv pointer in GtkLinkButton.
1578 2008-05-26 13:22:25 +0200 Kristian Rietveld
1580 Seal priv pointer in GtkIconView.
1582 2008-05-26 13:22:04 +0200 Kristian Rietveld
1584 Seal priv pointer in GtkIconTheme.
1586 2008-05-26 13:13:49 +0200 Kristian Rietveld
1588 Seal child_allocation field in GtkFrame.
1590 2008-05-26 13:10:17 +0200 Kristian Rietveld
1592 Sealed priv pointer in GtkFontButton.
1594 2008-05-26 13:07:14 +0200 Kristian Rietveld
1596 Seal priv pointer in GtkFileChooserButton.
1598 2008-05-26 13:06:43 +0200 Kristian Rietveld
1600 Seal priv pointer in GtkExpander.
1602 2008-05-26 13:03:24 +0200 Kristian Rietveld
1604 Sealed remaining (private) fields in GtkContainer.
1606 2008-05-26 13:02:26 +0200 Kristian Rietveld
1608 Seal priv pointer in GtkComboBoxEntry.
1610 2008-05-26 13:01:40 +0200 Kristian Rietveld
1612 Seal priv pointer in GtkComboBox.
1614 2008-05-26 13:00:59 +0200 Kristian Rietveld
1616 Seal private_data pointer in GtkColorSel.
1618 2008-05-26 12:57:50 +0200 Kristian Rietveld
1620 Seal 3 remaining fields in GtkButton.
1622 2008-05-26 12:55:24 +0200 Kristian Rietveld
1624 Seal priv pointer in GtkBuilder.
1626 2008-05-26 12:52:44 +0200 Kristian Rietveld
1628 Seal center_allocation field in GtkAspectFrame.
1630 2008-05-26 12:48:18 +0200 Kristian Rietveld
1632 Seal priv pointer in GtkAction.
1634 2008-05-26 12:46:11 +0200 Kristian Rietveld
1636 Seal priv pointer in GtkAboutDialog.
1638 2008-05-26 12:41:46 +0200 Kristian Rietveld
1642 2008-05-26 12:39:54 +0200 Kristian Rietveld
1646 2008-05-26 11:59:35 +0200 Kristian Rietveld
1648 Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
1650 2008-05-26 11:52:20 +0200 Kristian Rietveld
1652 Add new GtkColorSelectionDialog accessors to gtk.symbols.
1654 2008-05-26 11:41:47 +0200 Kristian Rietveld
1656 gtklabel.h: include bit-size of fields inside GSEAL parens.
1658 2008-05-26 11:40:07 +0200 Kristian Rietveld
1660 gtktoolbar.h: include bit-size of fields inside GSEAL parens.
1662 2008-05-26 11:39:35 +0200 Kristian Rietveld
1664 gtkentry.h: include bit-size of fields inside GSEAL parens.
1666 2008-05-26 11:34:14 +0200 Kristian Rietveld
1668 Add new accessors for GtkEntry to gtk.symbols.
1670 2008-05-26 11:23:56 +0200 Kristian Rietveld
1672 Also seal GtkWindowGroup in gtkwindow.h
1674 2008-05-26 10:48:48 +0200 Kristian Rietveld
1676 Fix the build by including gdkconfig.h in gtktextchild.h.
1678 2008-05-23 18:48:56 +0200 Christian Dywan
1682 2008-05-23 18:28:39 +0200 Christian Dywan
1686 2008-05-23 18:28:07 +0200 Christian Dywan
1688 Seal GtkColorSelectionDialog
1690 2008-05-23 18:03:44 +0200 Carlos Garnacho
1692 Seal GtkTextChildAnchor.
1694 * gtk/gtktextchild.h: Sealed private member.
1696 2008-05-23 17:42:01 +0200 Carlos Garnacho
1700 * gtk/gtkwindow.h: Seal all fields.
1702 2008-05-23 17:40:09 +0200 Carlos Garnacho
1704 Add gtk_window_get_default()
1706 * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
1707 * gtk/gtk.symbols: same here.
1709 2008-05-09 15:41:57 +0100 Martyn Russell
1711 Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
1713 2008-05-02 16:31:40 +0200 Martyn Russell
1717 2008-05-02 16:30:09 +0200 Martyn Russell
1719 Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
1721 2008-04-27 18:49:50 +0200 Kristian Rietveld
1723 Seal GtkToggleButton.
1725 * gtk/gtktogglebutton.h: Seal all member fields.
1727 2008-04-27 18:41:46 +0200 Kristian Rietveld
1729 Seal GtkTreeViewColumn.
1731 * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is
1732 still troublesome. We are probably going to need an accessor for this and
1733 deprecated it immediately in GTK+ 3.0. Accessors for requested_width and
1734 resized_width can be useful, but I really consider them to be private and
1735 of not much use to applications.
1737 2008-04-27 18:23:23 +0200 Kristian Rietveld
1739 Seal GtkRadioMenuItem.
1741 * gtk/gtkradiomenuitem.h: Seal member field.
1743 2008-04-27 18:21:29 +0200 Kristian Rietveld
1745 Seal GtkRadioButton.
1747 * gtk/gtkradiobutton.h: seal member field.
1749 2008-04-27 18:11:41 +0200 Kristian Rietveld
1751 Seal GtkTreeSelection.
1753 * gtk/gtktreeselection.h: Seal all member fields.
1755 2008-04-27 18:09:46 +0200 Kristian Rietveld
1757 Add gtk_tree_selection_get_select_function().
1759 * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
1761 * gtk/gtk.symbols: add new function.
1763 2008-04-27 16:05:02 +0200 Kristian Rietveld
1765 Seal GtkScrolledWindow.
1767 * gtk/gtkscrolledwindow.h: Seal all object member fields.
1769 2008-04-27 15:56:33 +0200 Kristian Rietveld
1771 Seal GtkCellRenderer.
1773 * gtk/gtkcellrenderer.h: seal all member fields. All member fields are
1774 already accessible via GObject properties.
1776 2008-04-27 15:56:01 +0200 Kristian Rietveld
1778 Add "editing" GObject property to GtkCellRenderer.
1780 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
1781 (gtk_cell_renderer_get_property),
1782 (gtk_cell_renderer_set_property): add the property and hook
1785 2008-04-27 15:42:08 +0200 Kristian Rietveld
1787 Seal GtkCellRendererText.
1789 * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
1792 2008-04-27 15:40:47 +0200 Kristian Rietveld
1794 Seal GtkCellRendererCombo.
1796 * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields
1797 that were not marked as private are already accessible via GObject properties.
1799 2008-04-27 15:39:41 +0200 Kristian Rietveld
1801 Seal GtkCellRendererAccel.
1803 * gtk/gtkcellrendereraccel.h: seal all member fields that were already
1806 2008-04-18 16:55:44 +0200 Kristian Rietveld
1810 * gtk/gtktreeview.h: seal private pointer.
1812 2008-04-18 16:52:54 +0200 Kristian Rietveld
1814 Seal GtkTreeModelFilter
1816 * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
1819 2008-04-18 16:50:55 +0200 Kristian Rietveld
1821 Seal GtkTreeModelSort
1823 * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
1824 all public member fields.
1826 2008-04-18 16:42:28 +0200 Kristian Rietveld
1830 * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
1831 public member fields.
1833 2008-04-18 16:37:43 +0200 Kristian Rietveld
1837 * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
1838 public member fields.
1840 2008-04-18 18:26:31 +0200 Carlos Garnacho
1842 * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
1844 2008-04-18 18:25:22 +0200 Carlos Garnacho
1846 * gtk/gtkcontainer.h: seal members.
1848 2008-04-11 17:28:54 +0200 Carlos Garnacho
1850 * gtk/gtkmisc.h: seal members.
1852 2008-04-11 17:28:05 +0200 Carlos Garnacho
1854 *gtk/gtkfixed.h: seal members.
1856 2008-04-11 16:04:23 +0200 Michael Natterer
1858 * gtk/gtkcellrendererpixbuf.h: seal all members.
1860 2008-04-11 16:01:19 +0200 Michael Natterer
1862 * gtk/gtkcellrendererprogress.h: seal private member.
1864 2008-04-11 15:43:22 +0200 Michael Natterer
1866 * gtk/gtkcellrenderertoggle.h: seal all members.
1868 2008-04-04 18:50:05 +0200 Carlos Garnacho
1870 * gtk/gtkfilechooserwidget.h: Seal the private member.
1872 2008-04-04 18:46:47 +0200 Carlos Garnacho
1874 gtk/gtkfilechooserdialog.h: seal the private member.
1876 2008-04-04 18:42:17 +0200 Carlos Garnacho
1878 * gtk/gtkentrycompletion.h: Seal private member.
1880 2008-04-04 18:36:35 +0200 Carlos Garnacho
1882 * gtk/gtkcellview.h: Seal the private member.
1884 2008-04-04 18:28:00 +0200 Carlos Garnacho
1886 * gtk/gtkcolorbutton.h: seal private member.
1888 2008-04-04 18:27:26 +0200 Carlos Garnacho
1890 * gtk/gtkcheckmenuitem.h: seal public struct members.
1892 2008-04-04 18:25:25 +0200 Carlos Garnacho
1894 * gtk/gtkcalendar.h: seal public struct members.
1896 2008-04-04 18:24:15 +0200 Carlos Garnacho
1898 * gtk/gtkdialog.h: Also seal variables marked as private.
1900 2008-04-04 17:35:48 +0200 Michael Natterer
1902 * gtk/gtkimagemenuitem.h: seal private member.
1904 2008-04-04 17:28:56 +0200 Michael Natterer
1906 * gtk/gtkiconfactory.h: seal private member.
1908 2008-03-28 16:56:53 +0000 Martyn Russell
1912 * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
1913 member and clean up .c file to reflect this.
1915 2008-03-28 15:00:09 +0100 Sven Herzberg
1919 gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
1921 2008-03-28 16:38:00 +0100 Michael Natterer
1923 * gtk/gtkdrawingarea.h: seal instance struct member.
1925 2008-03-28 16:23:32 +0100 Christian Dywan
1927 Seal GtkScaleButton public fields
1929 * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
1931 2008-03-28 16:07:50 +0100 Christian Dywan
1933 Seal GtkScale public fields
1935 * gtk/gtkscale.h: Deprecate direct access through GSEAL().
1937 2008-03-14 20:45:34 +0100 Christian Dywan
1939 Seal GtkProgressBar public fields
1942 2008-03-14 20:32:12 +0100 Christian Dywan
1944 Seal GtkFrame public vars
1946 2008-03-14 18:57:35 +0100 Carlos Garnacho
1948 Deprecate direct access to public variables in GtkButton.
1950 * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
1952 2008-03-14 18:56:23 +0100 Carlos Garnacho
1954 Deprecate direct access to public variables in GtkButtonBox.
1956 * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
1958 2008-03-14 18:54:35 +0100 Carlos Garnacho
1960 Deprecate direct access to public variables in GtkBox.
1962 * gtk/gtkbox.h: Deprecate direct access through GSEAL().
1964 2008-03-09 11:50:41 +0100 Carlos Garnacho
1966 Seal GtkMessageDialog public vars
1968 2008-03-09 11:38:00 +0100 Carlos Garnacho
1970 Seal GtkDialog public vars
1972 2008-03-09 11:32:05 +0100 Carlos Garnacho
1974 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
1976 2008-03-09 11:31:46 +0100 Carlos Garnacho
1978 Seal GtkAssistant public fields
1980 2008-03-09 11:31:30 +0100 Carlos Garnacho
1982 Seal GtkNotebook public fields
1984 2008-03-07 20:29:47 +0100 Mikael Hallendal
1986 Deprecate direct access to child in GtkBin.
1988 * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
1990 2008-03-07 18:25:59 +0000 Martyn Russell
1992 Sealed GtkAccelGroup and added
1994 * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
1995 modifier_mask, acceleratables, n_accels and priv_accels. Added seal
1996 macro for public struct members which should be private.
1998 2008-03-07 18:54:22 +0100 Mikael Hallendal
2000 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
2002 * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
2004 2008-03-07 18:48:29 +0100 Mikael Hallendal
2006 Deprecate arrow_type and shadow_type direct access in GtkArrow.
2008 * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
2010 2008-03-07 18:35:12 +0100 Mikael Hallendal
2012 Added GSEAL to GtkAlignment.
2014 * gtk/gtkalignment.h: Seal the object data with GSEAL.
2016 2008-03-07 15:24:27 +0100 Tim Janik
2018 Introduce GSEAL() macro.
2020 * configure.in: define GSEAL() when generating gdkconfig.h
2022 2008-06-20 Michael Natterer <mitch@imendio.com>
2024 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
2027 * gtk/gtkcombobox.c (gtk_combo_box_append_text)
2028 (gtk_combo_box_insert_text)
2029 (gtk_combo_box_prepend_text)
2030 (gtk_combo_box_remove_text)
2031 (gtk_combo_box_real_get_active_text): apply patch from Christian
2032 Dywan which adds the needed g_return_if_fail() to prevent the
2035 2008-06-20 Cody Russell <cody@jhu.edu>
2037 * gdk/directfb/gdkwindow-directfb.c:
2039 Rename gdk_window_new -> _gdk_window_new and
2040 gdk_window_reparent -> _gdk_window_reparent to fix
2041 the build. (#539095, Sebastien Bacher)
2043 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2045 * gtk/gtkmenuitem.c: remove an unused variable and cast
2046 accel_path to gchar, just like in gtkmenu.c
2048 2008-06-19 Matthias Clasen <mclasen@redhat.com>
2050 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
2053 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2055 * gtk/gtkprintbackend.c: Fix a typo in a comment
2057 * gtk/gtkhsv.c (paint_ring, paint_triangle):
2058 Cast buf to unsigned char to avoid two compiler
2062 * gtk/gtkstyle.c (gtk_style_finalize):
2063 Do not ignore the return value of g_slist_remove.
2064 gtkstyle.c changes rubberstamped by Owen.
2066 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2068 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
2069 (gtk_tree_view_set_enable_tree_lines):
2070 gdk_gc_set_dashes expects a list of gint8, not guint8.
2072 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2074 * gtk/gtkmenu.c (gtk_menu_set_accel_path):
2075 Remove an unused variable and cast to gchar to avoid a compiler
2078 2008-06-19 Christian Persch <chpe@gnome.org>
2080 * docs/reference/gtk/gtk-sections.txt:
2082 * gtk/gtkclipboard.c:
2083 * gtk/gtkclipboard.h: Add clipboard convenience functions for URI
2084 targets. Bug #537639.
2086 2008-06-19 Christian Persch <chpe@gnome.org>
2088 * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
2089 hardcoded target tables. Bug #516092.
2091 2008-06-19 Christian Persch <chpe@gnome.org>
2093 * gdk-pixbuf/gdk-pixbuf-io.c:
2094 * gdk-pixbuf/gdk-pixdata.c:
2095 * gdk-pixbuf/io-ani.c:
2096 * gdk-pixbuf/io-bmp.c:
2097 * gdk-pixbuf/io-gdip-utils.c:
2098 * gdk-pixbuf/io-gif.c:
2099 * gdk-pixbuf/io-icns.c:
2100 * gdk-pixbuf/io-ico.c:
2101 * gdk-pixbuf/io-jasper.c:
2102 * gdk-pixbuf/io-jpeg.c:
2103 * gdk-pixbuf/io-pcx.c:
2104 * gdk-pixbuf/io-png.c:
2105 * gdk-pixbuf/io-pnm.c:
2106 * gdk-pixbuf/io-ras.c:
2107 * gdk-pixbuf/io-tga.c:
2108 * gdk-pixbuf/io-tiff.c:
2109 * gdk-pixbuf/io-wbmp.c:
2110 * gdk-pixbuf/io-xbm.c:
2111 * gdk-pixbuf/io-xpm.c:
2112 * gtk/gtkfilechooserdefault.c:
2113 * gtk/gtkfilesystemmodel.c:
2114 * gtk/gtkiconfactory.c:
2115 * gtk/gtkicontheme.c:
2117 * gtk/gtkpagesetup.c:
2118 * gtk/gtkpapersize.c:
2119 * gtk/gtkprintoperation-win32.c:
2120 * gtk/gtktextbufferserialize.c:
2121 * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
2123 * configure.in: Update glib requirement to 2.17.3.
2125 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2127 * demos/testpixbuf.c (new_testrgb_window):
2128 * gtk/gtkctree.c (gtk_ctree_new_with_titles):
2129 * gtk/gtkitemfactory.c (gtk_item_factory_construct),
2130 (gtk_item_factory_create_item):
2131 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
2132 * gtk/gtkprogressbar.c (gtk_progress_bar_new),
2133 (gtk_progress_bar_new_with_adjustment):
2134 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
2135 * gtk/gtktext.c (gtk_text_new):
2136 * gtk/gtkviewport.c (gtk_viewport_new):
2137 * tests/simple.c (main):
2138 * tests/testgtk.c (create_statusbar), (create_get_image),
2139 (create_saved_position), (create_tooltips), (create_cursors),
2140 (create_display_screen), (create_progress_bar), (create_idle_test):
2141 * tests/testmultidisplay.c (make_selection_dialog), (main):
2142 * tests/testmultiscreen.c (main):
2143 * tests/testrgb.c (new_testrgb_window):
2144 Use g_object_new instead of gtk_widget_new
2146 2008-06-19 Johan Dahlin <jdahlin@async.com.br>
2148 * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
2150 * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
2153 * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
2154 to avoid a gcc warning.
2156 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
2158 http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
2159 the filename in the name entry in CREATE_FOLDER mode when changing
2160 folders, so that you can enter a new subfolder name, double-click on a
2161 folder to change to it, and close the dialog.
2163 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
2164 the filename in the entry in CREATE_FOLDER mode, either.
2166 2008-06-18 Olle Bergkvist <olle.bergkvist@yahoo.se>
2168 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
2169 chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
2172 * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
2173 clear the entry for CREATE_FOLDER either; this needs the same
2174 behavior as SAVE mode.
2175 (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
2178 2008-06-18 Matthias Clasen <mclasen@redhat.com>
2180 * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
2181 * gtk/gtkfilechooserbutton.c (change_icon_theme):
2182 (model_add_bookmarks):
2183 (model_update_current_folder):
2184 * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
2185 (shortcuts_reload_icons): Use standard icon names.
2187 2008-06-18 Matthias Clasen <mclasen@redhat.com>
2189 * gtk/Makefile.am: Add some more aliases for standard
2190 icon names to the builtin icon theme: drive-harddisk,
2191 folder, folder-remote, text-x-generic.
2193 2008-06-18 Michael Natterer <mitch@imendio.com>
2195 * gtk/gtkcalendar.c: set the maximum of the "year" property to
2196 G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
2197 calculations which in turn caused writing beyond the boundaries of
2198 the calendar->day_month[] and day[] arrays which in turn caused a
2199 SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
2201 2008-06-18 Michael Natterer <mitch@imendio.com>
2204 * tests/autotestfilechooser.c
2205 * tests/buildertest.c
2206 * tests/defaultvaluetest.c
2207 * tests/floatingtest.c
2208 * tests/objecttests.c
2209 * tests/pixbuf-init.c
2210 * tests/textbuffertest.c: remove unit tests here...
2212 * gtk/tests/Makefile.am
2213 * gtk/tests/builder.c
2214 * gtk/tests/defaultvalue.c
2215 * gtk/tests/filechooser.c
2216 * gtk/tests/floating.c
2217 * gtk/tests/object.c
2218 * gtk/tests/pixbuf-init.c
2219 * gtk/tests/textbuffer.c: ...and add them here.
2221 2008-06-18 Michael Natterer <mitch@imendio.com>
2223 * gdk/gdk.h: deprecate GdkDestroyNotify.
2227 * gdk/x11/gdkevents-x11.c
2228 * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
2230 2008-06-18 Michael Natterer <mitch@imendio.com>
2232 * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
2234 * gtk/gtkactiongroup.[ch]
2235 * gtk/gtkcombobox.[ch]
2236 * gtk/gtkcontainer.[ch]
2237 * gtk/gtkliststore.[ch]
2241 * gtk/gtktreedatalist.[ch]
2242 * gtk/gtktreemodelfilter.[ch]
2243 * gtk/gtktreemodelsort.[ch]
2244 * gtk/gtktreeprivate.h
2245 * gtk/gtktreeselection.[ch]
2246 * gtk/gtktreesortable.[ch]
2247 * gtk/gtktreestore.[ch]
2248 * gtk/gtktreeview.[ch]
2249 * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
2251 2008-06-18 Michael Natterer <mitch@imendio.com>
2253 * tests/testgtk.c: some more undeprecation.
2255 2008-06-18 Michael Natterer <mitch@imendio.com>
2257 * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
2260 (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
2262 2008-06-18 Michael Natterer <mitch@imendio.com>
2264 * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
2266 * gtk/gtk.symbols: changed accordingly.
2268 * gtk/gtksettings.c (gtk_settings_install_property)
2269 (gtk_settings_install_property_parser): get rid of using
2270 gtk_type_class() by keeping a static reference to GtkSettingsClass
2271 around in both functions and passing that pointer on to
2272 settings_install_property_parser().
2274 * tests/testgtk.c: use g_type_class_ref()/unref() instead of
2277 * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
2280 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
2282 * gtk/gtkstyle.c: Add deprecated version
2283 and change the deprecation markup used by ref/unref
2285 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
2288 Add deprecated versions and fixup markup.
2290 2008-06-17 Johan Dahlin <jdahlin@async.com.br>
2292 * gtk/gtkaboutdialog.c:
2293 * gtk/gtkbutton.c (gtk_button_class_init):
2294 Don't markup deprecated in italics.
2296 2008-06-18 Carlos Garnacho <carlos@imendio.com>
2298 * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
2299 GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
2301 2008-06-17 Michael Natterer <mitch@imendio.com>
2303 * examples/gtkdial/gtkdial.[ch]: undeprecate.
2305 2008-06-17 Michael Natterer <mitch@imendio.com>
2307 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
2308 function gtk_object_init_type().
2310 2008-06-17 Michael Natterer <mitch@imendio.com>
2312 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
2313 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
2314 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
2317 2008-06-17 Tor Lillqvist <tml@novell.com>
2319 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
2320 #undef/#define dance here, too, because
2321 gtk_notebook_set_group_id() is deprecated but used here before it
2322 is defined, and gcc complains about conflicting type from the
2323 implicit int declaration when it sees the actual void definition.
2325 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
2328 2008-06-17 Michael Natterer <mitch@imendio.com>
2330 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
2337 * gtk/gtkoldeditable.c
2340 * gtk/gtktipsquery.c
2342 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
2343 actually use deprecated symbols (not just types or macros),
2344 #define it again before #include "gtkalias.h" so the symbols match
2345 and the beast links.
2347 2008-06-17 Paolo Borelli <pborelli@katamail.com>
2349 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
2351 2008-06-17 Michael Natterer <mitch@imendio.com>
2353 * modules/input/gtkimcontextmultipress.h
2354 * modules/input/gtkimcontextthai.h
2355 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
2356 type checking macros.
2358 2008-06-17 Michael Natterer <mitch@imendio.com>
2360 * gtk/gtktypeutils.h: really move the GtkType typedef to an
2361 undeprecated section.
2363 2008-06-17 Michael Natterer <mitch@imendio.com>
2365 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
2366 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
2367 Move the GtkType typedef to an undeprecated section.
2369 2008-06-17 Michael Natterer <mitch@imendio.com>
2371 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
2372 of GTK_CHECK ones because it's the parent class of an undeprecated
2373 class and the GTK_CHECK stuff will soon be deprecated.
2375 2008-06-17 Michael Natterer <mitch@imendio.com>
2378 * gtk/gtkinputdialog.c
2379 * gtk/gtkmenutoolbutton.c
2380 * gtk/gtkoptionmenu.c
2382 * gtk/gtktooltips.c: add or move around
2383 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
2384 deprecated stuff again (with the minor glitch that it doesn't
2385 link ;) but at least it's a tool to keep the code clean).
2387 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
2389 * gtk/gtkrecentmanager.c:
2390 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
2393 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
2395 * gtk/gtkrecentmanager.c:
2396 (gtk_recent_manager_remove_item),
2397 (gtk_recent_manager_move_item): Increase the consistency of the
2398 errors returned by GtkRecentManager. (Paolo Borelli)
2400 2008-06-17 Paolo Borelli <pborelli@katamail.com>
2402 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
2404 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
2406 * gtk/gtkrecentmanager.c:
2407 (gtk_recent_manager_remove_item): Consistently use the same
2408 error when removing a URI from an empty GtkRecentManager.
2410 2008-06-17 Michael Natterer <mitch@imendio.com>
2412 * gtk/gtkfilechooserdefault.c: remove static integer variables
2413 which hold the number of members in GtkTargetEntry arrays and use
2414 G_N_ELEMENTS() directly instead.
2416 2008-06-17 Michael Natterer <mitch@imendio.com>
2418 * gtk/gtk.symbols: move some deprecated symbols into
2419 #ifndef GTK_DISABLE_DEPRECATED.
2421 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
2423 * gtk/gtkfilechooserdefault.c:
2424 (gtk_file_chooser_default_init),
2425 (gtk_file_chooser_default_constructor),
2426 (gtk_file_chooser_default_screen_changed),
2427 (recent_start_loading): Remove the GtkRecentManager screen
2428 dance, as it has been deprecated since 2.12. Now we get the
2429 GtkRecentManager singleton whewn we create the FileChooserDefault
2430 instance. (Michael Natterer)
2432 2008-06-17 Michael Natterer <mitch@imendio.com>
2434 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
2435 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
2437 2008-06-17 Michael Natterer <mitch@imendio.com>
2439 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
2442 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
2443 in via deprecated headers.
2445 2008-06-16 Matthias Clasen <mclasen@redhat.com>
2447 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
2449 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
2450 against XKB being stupid. Reported by Pedro Villavicencio.
2452 2008-06-17 Michael Natterer <mitch@imendio.com>
2454 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
2455 and unref() instead of the deprecated gtk_widget_ref() and unref().
2457 2008-06-16 Michael Natterer <mitch@imendio.com>
2459 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
2460 svn since 2.8 but was never used.
2462 2008-06-16 Michael Natterer <mitch@imendio.com>
2464 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
2465 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
2466 (the former is deprecated and #defined to gtk_binding_entry_clear)
2468 2008-06-16 Michael Natterer <mitch@imendio.com>
2470 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
2471 unused) "gtkmarshal.h".
2473 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
2475 Bug 538182 – pango_cairo_context_update_layout is not noop after
2476 gtk_widget_create_pango_layout
2478 * gtk/gtksettings.c (settings_update_font_options): Make sure all
2479 font option fields are set to non-DEFAULT values.
2481 2008-06-16 Michael Natterer <mitch@imendio.com>
2486 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
2487 gtk_rc_style_unref().
2489 2008-06-16 Michael Natterer <mitch@imendio.com>
2491 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
2492 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
2493 gtk_marshal_BOOLEAN__VOID.
2495 2008-06-16 Michael Natterer <mitch@imendio.com>
2497 * gtk/gtkcellrendereraccel.h
2499 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
2500 macros for type checking.
2502 (gtk_object_get_type): change prototype to return GType instead of
2505 2008-06-16 Matthias Clasen <mclasen@redhat.com>
2507 * gtk/Makefile.am: Make folder, user-home and user-desktop links
2508 to gtk-directory in the builtin icon theme, so that we can
2509 use these icon names without risk of ending up without an icon.
2511 2008-06-16 Tor Lillqvist <tml@novell.com>
2513 Bug 538362 - Get Win32 icons back in the file chooser
2515 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
2516 reference to an icon resource in a DLL or .EXE in the same format
2517 as the DefaultIcon strings in the Registry. In that case, extract
2518 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
2519 code has to be in sync with the corresponding code in
2520 glib/gio/gcontenttype.c.
2522 2008-06-16 Matthias Clasen <mclasen@redhat.com>
2524 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
2525 to the builtin icon theme, to avoid showing broken images when
2526 there is no icon theme around. The new icons are thanks to
2529 2008-06-16 Michael Natterer <mitch@imendio.com>
2531 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
2532 GtkFileChooserDefault struct.
2534 * gtk/gtkfilechooserdefault.c: don't allocate and free the
2537 2008-06-16 Carlos Garnacho <carlos@imendio.com>
2539 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
2542 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
2543 Allow again setting any of the properties to render an image back to
2546 2008-06-15 Matthias Clasen <mclasen@redhat.com>
2548 * gtk/gtkimage.c: When pixel-size is specified, use
2549 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
2551 2008-06-15 Carlos Garnacho <carlos@imendio.com>
2553 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
2554 path here as expected, not just the basename.
2556 * gtk/gtkfilechooserdefault.c
2557 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
2558 a reference to file, since it can be destroyed when switching back to
2561 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
2562 and desktop directories are dealt by the filechooser as normal files,
2563 not volumes, so the icon for these is handled directly by GIO.
2564 (_gtk_file_system_volume_render_icon): Update caller.
2566 2008-06-15 Matthias Clasen <mclasen@redhat.com>
2568 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
2570 2008-06-14 Cody Russell <bratsche@gnome.org>
2572 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
2574 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
2575 according to MSDN docs, associates the open clipboard with the
2576 current task. (#378158, reported by Andreas Köhler)
2578 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2580 * configure.in: Bump version
2582 * === Released 2.13.3 ===
2584 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2586 * gtk/gtkaccelgroup.c: Add some docs
2588 * gdk/gdkwindow.c: Fix doc typos
2590 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2592 * gtk/gtkfilesystem.c: Avoid PLT entries by including
2595 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2597 * gtk/gtkfilechooserbutton.c:
2598 * gtk/gtkfilechooserdefault.c:
2599 * gtk/gtkfilechooserentry.c:
2600 * gtk/gtkfilesystem.c:
2601 * gtk/gtkfilesystem.h:
2602 * gtk/gtkfilesystemmodel.c:
2603 * gtk/gtkpathbar.c: Really make GtkFileSystem private
2604 by _-prefixing all functions.
2606 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2608 * docs/RELEASE-HOWTO: Updates
2609 * INSTALL.in: Bump version
2611 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2615 2008-06-13 Michael Natterer <mitch@imendio.com>
2617 * gtk/gtkcellrendereraccel.h
2618 * gtk/gtkfilechooser.h
2619 * gtk/gtkfilechooserdialog.h
2620 * gtk/gtkfilechooserwidget.h
2621 * gtk/gtkmenutoolbutton.h
2622 * gtk/gtkpagesetup.h
2623 * gtk/gtkpapersize.h
2624 * gtk/gtkprintcontext.h
2625 * gtk/gtkprintoperation.h
2626 * gtk/gtkprintoperationpreview.h
2627 * gtk/gtkprintsettings.h
2628 * gtk/gtkradiotoolbutton.h
2629 * gtk/gtkrecentchooser.h
2630 * gtk/gtkrecentchooserdialog.h
2631 * gtk/gtkrecentchoosermenu.h
2632 * gtk/gtkrecentchooserwidget.h
2633 * gtk/gtkseparatortoolitem.h
2635 * gtk/gtktoggletoolbutton.h
2637 * gtk/gtktoolbutton.h
2638 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
2639 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
2641 2008-06-13 Michael Natterer <mitch@imendio.com>
2643 * gtk/gtktexttagtable.h: remove double inclusion of
2646 2008-06-13 Michael Natterer <mitch@imendio.com>
2648 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
2649 local "image" variable from GtkImage to GtkWidget to fix warning.
2651 2008-06-13 Michael Natterer <mitch@imendio.com>
2653 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
2654 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
2656 2008-06-13 Michael Natterer <mitch@imendio.com>
2658 * gtk/gtkuimanager.c (start_element_handler): silently skip
2659 unknown attributes instead of bailing out with an error in order
2660 to be compatible with possible future attribute names.
2662 This is related to the discussion in bug #516425 but actually
2663 needed for any kind of XML format extension.
2665 2008-05-23 Hans Breuer <hans@breuer.org>
2667 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
2668 Avoids crashing when the target can not be written, bug #537685
2670 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
2672 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
2673 it was not needed here anyway.
2675 2008-06-13 Matthias Clasen <mclasen@redhat.com>
2677 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
2678 Patch by Jan Arne Peterson
2680 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2682 Bug 537985 – gtk_init_with_args() doesn't open a display after
2685 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
2686 even when gtk_parse_args() has already been called.
2687 Patch by Mathias Hasselmann
2689 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2691 Bug 524222 – GtkToolbar with mix of buttons with and without
2694 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
2695 Improve appearance of "both vertical" mode toolbuttons.
2696 Patch by Peter Johanson
2698 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2700 Bug 519092 – Add accessibility support to GtkVolumeButton
2702 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
2703 Patch by Jonh Wendell
2705 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2707 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
2708 GtkAction has problems
2709 Patch by Peter Johanson
2711 * gtk/gtkaction.c (connect_proxy): Set the image of a button
2712 proxy to the "icon-name" property.
2714 (gtk_action_set_short_label): If the "image" property is set
2715 on the button proxy, also tries to set the "label" property on
2718 2008-06-12 Michael Natterer <mitch@imendio.com>
2721 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
2722 in via "gtkintl.h" from <glib/gi18n-lib.h>.
2724 2008-06-12 Matthias Clasen <mclasen@redhat.com>
2726 RH bug 248245 and 449379: cups client printing from gnome
2729 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
2730 printer URI construction. Patch by Marek Kasik
2732 2008-06-12 Michael Natterer <mitch@imendio.com>
2734 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
2735 limit the number of displayed items by the actual screen height
2736 instead of some arbitrary value (Bug #408154, Xan Lopez and
2739 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
2741 Bug 503071 – Application direction changes to right to left even if
2742 theres no translation
2744 * configure.in: Bump glib requirement.
2746 * gtk/gtkaccellabel.c
2747 (_gtk_accel_label_class_get_accelerator_label):
2748 * gtk/gtkactiongroup.c (dgettext_swapped):
2749 * gtk/gtkbuilder.c (gtk_builder_class_init):
2750 * gtk/gtkbuilderparser.c (_dpgettext),
2751 (_gtk_builder_parser_translate):
2752 * gtk/gtkfilechooserdefault.c (list_size_data_func):
2753 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
2755 * gtk/gtkmain.c (setlocale_initialization),
2756 (do_pre_parse_initialization), (gettext_initialization):
2757 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
2758 Use g_dgettext() and g_dngettext().
2760 2008-06-11 Matthias Clasen <mclasen@redhat.com>
2762 * docs/RELEASE-HOWTO: Updates
2764 2008-06-11 Tor Lillqvist <tml@novell.com>
2766 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
2767 support Win9x anyway, we can use ProcessIdToSessionId()
2770 2008-06-11 Michael Natterer <mitch@imendio.com>
2772 * gtk/gtkfilechooserbutton.c: fix local prototype of
2773 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
2775 2008-06-10 Matthias Clasen <mclasen@redhat.com>
2777 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
2779 * gtk/gtkoptionmenu.c:
2780 * gtk/gtkcombobox.c: Set the window type hint on popups.
2781 Patch by Danny Baumann
2783 2008-06-10 Matthias Clasen <mclasen@redhat.com>
2785 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
2786 (gtk_file_system_volume_render_icon): Add standard icon names,
2787 and also fall back to builtin gtk stock icons.
2789 2008-06-10 Christian Persch <chpe@gnome.org>
2791 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
2792 (gtk_tree_view_maybe_begin_dragging_row),
2793 (gtk_tree_view_set_reorderable),
2794 (gtk_tree_view_enable_model_drag_source),
2795 (gtk_tree_view_enable_model_drag_dest),
2796 (gtk_tree_view_unset_rows_drag_source),
2797 (gtk_tree_view_unset_rows_drag_dest): Make
2798 gtk_tree_view_enable_model_drag_[source|dest] compatible with
2799 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
2801 2008-06-10 Christian Persch <chpe@gnome.org>
2803 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
2804 (dest_row_free), (set_dest_row), (ensure_info),
2805 (gtk_tree_view_remove), (gtk_tree_view_put),
2806 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
2809 2008-06-10 Paolo Borelli <pborelli@katamail.com>
2811 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
2812 use g_file_new_for_uri.
2814 2008-06-10 Paolo Borelli <pborelli@katamail.com>
2816 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
2819 2008-06-10 Carlos Garnacho <carlos@imendio.com>
2823 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
2824 #520874, comment #8. It's no longer used directly by GTK+.
2826 2008-06-10 Carlos Garnacho <carlos@imendio.com>
2828 Bug 520874 - Should use gio directly.
2830 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
2831 provides helper functions for asynchronous calls, folder abstraction
2832 and uniform handling of volumes/drives/mounts.
2834 * gtk/gtkfilesystemwin32.[ch]:
2835 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
2837 * gtk/gtkfilechooser.c:
2838 * gtk/gtkfilechooserbutton.c:
2839 * gtk/gtkfilechooserdefault.c:
2840 * gtk/gtkfilechooserentry.[ch]:
2841 * gtk/gtkfilechooserprivate.h:
2842 * gtk/gtkfilechooserutils.c:
2843 * gtk/gtkfilesystemmodel.[ch]:
2844 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
2845 Do not load filesystem implementation modules.
2848 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
2849 anymore, nor the unix/win32 implementations.
2851 * README.in: Add blurb about these changes.
2853 2008-06-09 Kristian Rietveld <kris@gtk.org>
2855 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
2857 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
2858 (gtk_cell_renderer_combo_set_property),
2859 (gtk_cell_renderer_combo_editing_done),
2860 (gtk_cell_renderer_combo_start_editing): introduce private class
2861 struct, allow model to be set to NULL.
2863 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
2865 Bug 131920 – gtkNotebook sends incorrect switch_page value
2867 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
2868 signal send correct page index when page index 0 is active and
2869 removed. (#131920, Samuel Fogh)
2871 2008-06-08 Kristian Rietveld <kris@gtk.org>
2873 Bug 536730 - memory corruption in gtktreeview
2875 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
2876 remove the expand/collapse timeout and node, then free the rbtree.
2878 2008-06-08 Kristian Rietveld <kris@gtk.org>
2880 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
2882 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
2883 find path if we found valid nodes, return FALSE otherwise. (Patch
2884 from Matthias Clasen).
2886 2008-06-08 Matthias Clasen <mclasen@redhat.com>
2888 * gtk/gtkrecentmanager.c:
2889 * gtk/gtkrecentfilter.c:
2890 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
2893 2008-06-08 Christian Persch <chpe@gnome.org>
2895 Bug 535608 – do not string-copy accel paths in the menu code
2897 * gtk/gtkaccelgroup.c:
2898 * gtk/gtkaccelmap.c:
2901 * gtk/gtkmenuitem.c:
2902 * gtk/gtkwidget.c: Don't store the accel path as a string in
2903 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
2904 keeping a string copy around is just a waste of memory.
2905 Improve the documentation to mention this.
2907 2008-06-07 Tor Lillqvist <tml@novell.com>
2909 Bug 536990 - updateiconcache.c: 'close ()' is redundant
2911 * gtk/updateiconcache.c (build_cache): Drop redundant close()
2912 calls. fclose() on a fdopen()ed stream closes the underlying file
2915 2008-06-06 Matthias Clasen <mclasen@redhat.com>
2917 Bug 536757 – regression: openoffice.org menus are placed at wrong
2918 position since 2.12.10
2920 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
2921 Return the right coordinates.
2923 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
2925 Bug 536185 – monitor font configuration
2928 * gdk/x11/gdksettings.c:
2929 * gtk/gtksettings.c (gtk_settings_class_init),
2930 (gtk_settings_notify), (settings_update_fontconfig):
2931 Monitor xsettings key Fontconfig/Timestamp and upon change,
2932 reread fontconfig configuration, clear Pango's caches, and
2935 2008-06-06 Ross Burton <ross@burtonini.com>
2938 Fix trivial typo in documentation.
2940 2008-06-06 Tor Lillqvist <tml@novell.com>
2942 * config.h.win32.in: Slight update to match what configure
2945 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
2947 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
2948 constant to the end of the list, to avoid breaking the stable ABI
2950 2008-06-05 Michael Natterer <mitch@imendio.com>
2952 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
2954 2008-06-05 Li Yuan <li.yuan@sun.com>
2956 * gail-uninstalled.pc.in:
2957 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
2958 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
2960 2008-06-03 Matthias Clasen <mclasen@redhat.com>
2962 * docs/RELEASE-HOWTO: Update a bit
2964 2008-06-03 Matthias Clasen <mclasen@redhat.com>
2966 * configure.in: Bump version
2968 * === Released 2.13.2 ===
2970 2008-06-03 Federico Mena Quintero <federico@novell.com>
2972 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
2973 If the user presses Tab while the completion feedback window is
2974 active, then we'll assert. Remove the assertion and just re-set
2975 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
2977 2008-06-03 Colin Walters <walters@redhat.com>
2979 Bug 535303 – add _get_implementation to GtkStatusIcon
2981 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
2982 function to retrieve internal X11 window ID, useful for libnotify.
2983 * gtk/gtkstatusicon.h: Prototype it.
2984 * docs/reference/gtk/gtk-sections.txt: Add to docs.
2985 * gtk/gtk.symbols: Export it.
2987 2008-06-03 Tor Lillqvist <tml@novell.com>
2989 * gtk/updateiconcache.c (build_cache): Use g_open().
2991 2008-06-03 Michael Natterer <mitch@imendio.com>
2994 * gtk/gtkctree.h: revert includes to how they have been before the
2995 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
2996 that you can't include <gtk/gtk.h> from two headers where one is a
2997 parent class of the other and expect them both to be includable
3000 2008-06-03 Michael Natterer <mitch@imendio.com>
3002 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
3004 2008-06-02 Matthias Clasen <mclasen@redhat.com>
3006 Bug 536092 – GtkEntryCompletion's popup window should set type hint
3008 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
3009 a type hint on the popup window to help compiz.
3010 Patch by Vaclav Slavik.
3012 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
3014 Bug 535862 – gtk_action_create_icon can't create icons from the
3017 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
3018 the default factories as it's supposed.
3020 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
3022 Bug 535497 – Print preview doesn't work.
3024 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
3025 instead of launching Preview.app directly.
3027 2008-06-02 Michael Natterer <mitch@imendio.com>
3029 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
3030 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
3033 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
3035 Bug 535830 – wrong content type adding an item
3037 * gtk/gtkrecentmanager.c:
3038 (gtk_recent_manager_add_item_query_info): Use the correct API
3039 for retrieving the fast MIME type of a URI. (Carlos Garcia
3042 2008-05-31 Kristian Rietveld <kris@imendio.com>
3044 Bug 530146 - Setting non-string tooltip with
3045 gtk_tree_view_set_tooltip_column() segfaults
3047 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
3048 gtk_tree_model_get_value() and explicitly transform the value to a
3049 string before setting it as tooltip.
3051 2008-05-30 Tor Lillqvist <tml@novell.com>
3053 * modules/engines/ms-windows/msw_style.h
3054 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
3056 2008-05-30 Michael Natterer <mitch@imendio.com>
3058 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
3059 GDestroyNotify when using it in g_object_set_data_full().
3061 2008-05-30 Michael Natterer <mitch@imendio.com>
3063 * gdk/gdkapplaunchcontext.h
3064 * gdk/gdktestutils.h
3065 * gtk/gtkmountoperation.h
3067 * gtk/gtktestutils.h
3068 * gtk/gtktoolshell.h: no need to allow disabling single includes
3069 conditionally in these new files. Simply forbid including them
3070 individually from the beginning.
3072 2008-05-30 Tor Lillqvist <tml@novell.com>
3074 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
3076 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
3079 2008-05-29 Matthias Clasen <mclasen@redhat.com>
3081 * configure.in: Bump version
3083 * === Released 2.13.1 ===
3087 2008-05-29 Matthias Clasen <mclasen@redhat.com>
3089 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
3091 2008-05-29 Matthias Clasen <mclasen@redhat.com>
3093 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
3095 2008-05-29 Tor Lillqvist <tml@novell.com>
3097 Bug 535526 - updateiconcache.c: using open/close without prototype
3099 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
3100 g_utime() when available instead of utime() for UTF-8 pathname
3103 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
3105 Bug 56355 – GtkLabel - Not all changes propagate correctly
3107 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
3108 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
3109 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
3110 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
3111 notifications of mnemonic-keyval changes.
3113 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3115 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
3117 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
3118 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
3119 * gtk/gtk.symbols: Additions
3120 * tests/testimage.c: Add a GIcon test
3122 2008-05-29 Michael Natterer <mitch@imendio.org>
3125 * gtk/gtkunixprint.h: add a single-include header for the unix
3128 * gtk/gtkpagesetupunixdialog.h
3131 * gtk/gtkprintunixdialog.h: add single-include guards that #error
3132 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
3133 files is included individually.
3135 * gtk/gtkprintbackend.h
3136 * gtk/gtkprinter-private.h
3137 * modules/printbackends/cups/gtkprintbackendcups.c
3138 * modules/printbackends/cups/gtkprintercups.h
3139 * modules/printbackends/lpr/gtkprintbackendlpr.c
3140 * tests/buildertest.c
3141 * tests/defaultvaluetest.c
3142 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
3145 2008-05-28 Michael Natterer <mitch@imendio.com>
3147 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
3148 excess newlines and sprinkled some newlines where needed. Zero
3149 code or formatting changes included.
3151 2008-05-28 Michael Natterer <mitch@imendio.com>
3153 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
3155 2008-05-28 Michael Natterer <mitch@imendio.com>
3157 * gtk/gtkcolorbutton.h: fix comment: the widget is called
3158 GtkColorButton, not GtkColorSelectButton. Remove trailing
3159 whitespace and excess newlines.
3161 2008-05-28 Michael Natterer <mitch@imendio.com>
3163 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
3164 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
3165 to CPPFLAGS so it's impossible to commit code that would break
3166 apps which use DISABLE_INCLUDE defines.
3168 2008-05-28 Michael Natterer <mitch@imendio.com>
3170 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
3173 * gtk/gtktypebuiltins.h.template
3174 * gtk/gtkversion.h.in
3175 * gtk/gtk*.h: add single-include guards that #error out if
3176 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3177 included individually.
3179 * gtk/gtkprintbackend.h
3180 * gtk/gtkprinter-private.h
3181 * gtk/gtktextlayout.h
3182 * gtk/gtktexttagprivate.h
3183 * gtk/gtktexttypes.h
3184 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
3185 headers in these private or semi-private headers.
3187 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
3189 * gtk/gtkpagesetupunixdialog.h
3192 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
3198 * gtk/gtkitemfactory.h
3201 * gtk/gtkoldeditable.h
3202 * gtk/gtkoptionmenu.h
3206 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
3207 instead of individual headers in these deprecated headers. They
3208 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
3209 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
3210 and include them individually, which should continue to work.
3212 * gtk/gtkclist.c: include "gtkctree.h" because of the change
3215 2008-05-28 Kristian Rietveld <kris@imendio.com>
3217 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
3220 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
3221 cursor_offset *must* be larger than background height of the cursor
3222 node, not just equal otherwise there is no guarantee there is a next
3225 2008-05-28 Michael Natterer <mitch@imendio.com>
3227 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
3229 2008-05-28 Michael Natterer <mitch@imendio.com>
3231 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
3234 * gdk/gdkenumtypes.h.template
3235 * gdk/gdk*.h: add single-include guards that #error out if
3236 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3237 included individually. Also removed some redundant includes and
3238 did some tiny trailing whitespace removal that's not worth to
3241 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
3244 * gdk/win32/gdkwin32.h
3245 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
3248 2008-05-28 Kristian Rietveld <kris@imendio.com>
3250 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
3251 current widget again.
3253 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
3254 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
3255 custom_was_reset field to check if the custom widget is set again in
3256 the query-tooltip callback; if not, we set it to NULL. Based on a
3257 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
3258 and Christian Persch.
3260 2008-05-28 Michael Natterer <mitch@imendio.com>
3262 * modules/printbackends/cups/gtkcupsutils.c
3263 * modules/printbackends/cups/gtkprintbackendcups.c
3264 * modules/printbackends/file/gtkprintbackendfile.c
3265 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
3266 <gtk/gtk.h> instead of individual files.
3268 2008-05-28 Michael Natterer <mitch@imendio.com>
3270 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
3273 2008-05-28 Kristian Rietveld <kris@imendio.com>
3275 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
3277 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
3278 ->priv->tree != NULL. Suggestion from Stefan Kost.
3280 2008-05-28 Kristian Rietveld <kris@imendio.com>
3282 Bug 324282 - add selected signal to cell renderer combo.
3284 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
3285 (gtk_cell_renderer_combo_changed),
3286 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
3287 that will be emitted as soon as the combo box emitted changed and has
3288 an active iterator. (Modified patch based on work by James
3291 * gtk/gtkmarshalers.list: add marshaler.
3293 2008-05-28 Kristian Rietveld <kris@imendio.com>
3295 Refactor expand/collapse timeout handling (amendment to bug 511217).
3297 * gtk/gtktreeview.c (add_expand_collapse_timeout),
3298 (remove_expand_collapse_timeout): new functions, the remove function
3299 also clears expanded_collapsed_node,
3300 (cancel_arrow_animation): moved to be next to the add/remove timeout
3302 (gtk_tree_view_unrealize),
3303 (gtk_tree_view_row_deleted),
3304 (gtk_tree_view_set_model),
3305 (cancel_arrow_animation),
3306 (gtk_tree_view_real_expand_row),
3307 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
3309 2008-05-28 Kristian Rietveld <kris@imendio.com>
3311 Amendment of bug 485218 - Strange warning encountered.
3313 * gtk/gtktreemodelsort.[ch]
3314 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
3315 indication whether or not the conversion had succeeded.
3317 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3319 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
3321 * modules/printbackends/cups/gtkprintbackendcups.c
3322 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
3323 if the printer does not support level 3. Patch by Marek Kašík.
3325 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3327 Bug 404571 - Scroll arrow backgrounds should be painted with different
3330 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
3331 as detail when drawing scroll arrow backgrounds. Proposed by
3334 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3336 Bug 511217 - potential memory corruption after refreshing a tree_view
3338 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
3339 expanded_collapsed_node when canceling the animation.
3340 Patch by Nicholas Setton.
3342 2008-05-28 Michael Natterer <mitch@imendio.com>
3344 * modules/input/gtkimcontextime.h
3345 * modules/input/gtkimcontextmultipress.h
3346 * modules/input/gtkimcontextthai.h
3347 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
3350 * modules/input/gtkimcontextime.c
3351 * modules/input/gtkimcontextmultipress.c
3352 * modules/input/gtkimcontextxim.c
3353 * modules/input/imam-et.c
3354 * modules/input/imcedilla.c
3355 * modules/input/imcyrillic-translit.c
3356 * modules/input/iminuktitut.c
3357 * modules/input/imipa.c
3358 * modules/input/imti-er.c
3359 * modules/input/imti-et.c
3360 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
3361 "gtk/gtkintl.h" to the end of includes.
3363 2008-05-28 Michael Natterer <mitch@imendio.com>
3365 * modules/engines/pixbuf/pixbuf-style.h
3366 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
3367 instead of individual files.
3369 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3371 Bug 485218 - Strange warning encountered
3373 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
3374 (gtk_tree_model_sort_convert_child_iter_to_iter):
3375 (gtk_tree_model_sort_build_level): Better warnings. Patch
3376 by Kristian Rietveld.
3378 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3380 Bug 351910 - Search column setting lost
3382 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
3383 the docs. Patch by Matt Barnes.
3385 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3387 Bug 477278 - avoid unnecessary pointer subtraction
3389 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
3390 subtraction that sparse complains about. Patch by Christian
3393 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3395 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
3397 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
3398 Commit the entry text before doing an increment. Patch by
3401 2008-05-27 Federico Mena Quintero <federico@novell.com>
3403 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
3404 drag and drop from the file list into itself, as it doesn't make
3405 sense (it would just change the current folder).
3407 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
3408 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
3411 2008-05-27 Michael Natterer <mitch@imendio.com>
3413 * gtk/gtksignal.h: move deprecated guards around everything,
3414 including includes and include guards (just as in all other
3417 2008-05-27 Tor Lillqvist <tml@novell.com>
3419 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
3420 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
3421 <sys/stat.h> on Windows, and the mode used in open() doesn't
3422 matter much as there are no rwxrwxrwx bits on Windows anyway.)
3423 Open file in binary mode. Passing "b" to fdopen() later isn't
3426 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
3428 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
3429 invalid or invisible widgets.
3431 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3433 Bug 531008 – Crash in gtkprintunixdialog.c
3435 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
3436 the dialog closes. Patch by Yevgen Muntyan.
3438 2008-05-27 Matthias Clasen <mclasen@redhat.com>
3440 RH bug 248245: cups client printing from gnome applications fail
3442 * modules/printbackends/cups/gtkprintbackendcups.c
3443 (gtk_print_backend_cups_print_stream): Specify the right server.
3445 2008-05-27 Carlos Garnacho <carlos@imendio.com>
3447 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
3448 rubberbanding when "select-multiple" is TRUE. Bug #446068.
3450 2008-05-27 Carlos Garnacho <carlos@imendio.com>
3452 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
3453 correctly dialog buttons sensitivity when the anonymous option is
3454 enabled by default. Bug #531865.
3456 2008-05-27 Carlos Garnacho <carlos@imendio.com>
3458 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
3459 password dialog modal and transient for the parent window also if it
3460 was specified in the constructor. Bug #531864.
3462 2008-05-26 Richard Hult <richard@imendio.com>
3464 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
3465 setting the default font, might need to tweak this.
3467 2008-05-26 Michael Natterer <mitch@imendio.com>
3469 * examples/gtkdial/gtkdial.h
3470 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
3472 2008-05-26 Michael Natterer <mitch@imendio.com>
3474 * gtk/gtkimmodule.h: fix indentation.
3476 2008-05-26 Michael Natterer <mitch@imendio.com>
3478 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
3480 * gtk/gtkshow.c: remove inclusion of single files from gdk/
3482 Removed trailing whitespace in both files.
3484 2008-05-26 Richard Hult <richard@imendio.com>
3486 Bug 530353 – Mac-like gtk_accelerator_get_label()
3488 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
3489 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
3490 On quartz, make gtk_accelerator_get_label() format a Mac-like
3491 string, using unicode characters for modifier keys, arrows, delete
3492 etc. Patch from Yevgen Muntyan.
3494 2008-05-26 Richard Hult <richard@imendio.com>
3496 Bug 534869 – Length miscalculation in
3497 _gtk_quartz_get_selection_data_from_pasteboard
3499 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
3500 Get the number of bytes, not the number of characters, patch from
3503 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3505 * gtk/gtkwidget.c: Some doc formatting fixes.
3507 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3509 Bug 511163 – Remove pango_extents_to_pixels() calls
3511 * gtk/gtkcellrenderertext.c (get_size): Use
3512 pango_layout_get_pixel_extents.
3514 * configure.in: Bump Pango requirement to 1.20
3516 * INSTALL.in: Update required versions
3518 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3520 Bug 513811 – Use cairo_format_stride_for_width()
3522 * gtk/gtkhsv.c (paint_ring, paint_triangle):
3523 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
3524 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
3526 * configure.in: Bump cairo requirement to 1.6.0
3528 * INSTALL.in: Update required versions
3530 2008-05-26 Matthias Clasen <mclasen@redhat.com>
3532 * gtk/gtkshow.[hc]: Formatting fixes
3534 * gtk/gtkmountoperation.c: Add docs
3536 2008-05-25 Cody Russell <bratsche@gnome.org>
3538 Bug 507389 – use gslice for gtksettings
3540 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
3541 Report and patch by Christian Persch.
3543 2008-05-25 Cody Russell <bratsche@gnome.org>
3545 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
3546 when options are missing
3548 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
3549 that other processes that try to open it will fail gracefully. Also
3550 fix a crasher caused by lack of a NULL check. Report and patch
3553 2008-05-25 Cody Russell <bratsche@gnome.org>
3555 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
3557 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
3558 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
3559 so that we also take into account for foreign windows.
3560 Report and patch by Nathaniel Smith.
3562 2008-05-25 Cody Russell <bratsche@gnome.org>
3564 Bug 525461 - Don't invalidate under an input-only child
3566 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
3567 Check that the window is not input-only before invalidating.
3568 Report and patch by Owen Taylor.
3570 2008-05-25 Cody Russell <bratsche@gnome.org>
3572 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
3573 window frame extents
3575 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
3576 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
3578 2008-05-25 Cody Russell <bratsche@gnome.org>
3580 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
3581 caused by missing flag initialization
3583 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
3584 top-level private flags correctly. Patch by Danny Baumann.
3586 2008-05-25 Cody Russell <bratsche@gnome.org>
3588 Bug 534463 - non-editable GtkTextView should not call
3589 gtk_im_context_focus_in in focus event
3591 * gtk/gtktextview.c: Add checks to see if the textview is
3592 editable. Patch by Wang Diancheng.
3594 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3596 Bug 501730 – use GSlice for small allocs
3598 * gtk/gtkmenuitem.c:
3599 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
3600 Patch by Christian Persch.
3602 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3604 Bug 523930 – sort -> search in gtktreeview.c
3606 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
3607 glitch, pointed out by Björn Lindqvist.
3609 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3611 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
3613 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
3614 doc glitch, pointed out by Christian Persch.
3616 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3618 Bug 534694 – Col id in GtkListStore could be out of range
3620 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
3621 a bit. Pointed out by Jan Arne Petersen.
3623 2008-05-25 Matthias Clasen <mclasen@redhat.com>
3625 Bug 532497 – Configure problem when cross-compiling
3627 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
3628 pointed out by Marko Lindqvist.
3630 2008-05-25 Richard Hult <richard@imendio.com>
3632 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3633 Slight coding style cleanup.
3635 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
3637 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
3638 Added support for parsing required toolkit versions (so that ui descriptions
3639 can target specific versions of the backend widget libraries) bug 527612.
3641 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
3642 for the added xml tags to the ui description.
3644 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
3645 for requires tag handling.
3647 2008-05-25 Richard Hult <richard@imendio.com>
3649 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
3650 gtk_drag_source_info_destroy in an idle, workaround for bug
3651 #501588, that makes any code that uses the context returned from
3652 gtk_drag_begin() crash, like treeview/iconview dnd.
3653 (GdkDragSourceOwner::provideDataForType): only use the data if we
3656 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3658 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
3659 to the drag actions to allow trash (#137717).
3661 2008-05-25 Josselin Mouette <joss@malsain.org>
3663 reviewed by: Matthias Clasen
3665 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
3666 check that tracker is actually working before using it. Fixes
3669 2008-05-25 Sven Neumann <sven@gimp.org>
3671 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
3672 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
3673 and don't create an output window if it is set.
3675 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
3676 drawing areas. Fixes bug #519317.
3678 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3680 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
3681 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
3683 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
3684 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
3685 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
3686 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
3687 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
3688 (start_spinning), (gtk_spin_button_button_release),
3689 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
3690 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
3691 (gtk_spin_button_update): Reorder strange window hierarchy of the
3692 GtkSpinButton (#466000).
3694 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3696 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
3697 fix the wrong position for right and center justified labels with
3698 logical.x > 0 (#530255).
3700 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3702 * gtk/gtkfilechooserdefault.c:
3703 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
3706 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
3708 * tests/pixbuf-lowmem.c
3709 * tests/pixbuf-random.c
3710 * tests/pixbuf-randomly-modified.c
3711 * tests/pixbuf-read.c
3712 * tests/pixbuf-threads.c
3714 * tests/testtreeview.c: Fix remaining compiler warnings in these
3717 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
3719 reviewed by: Matthias Clasen
3724 * gtk/gtkshow.c: (gtk_show_uri):
3726 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
3728 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
3730 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
3732 * tests/buildertest.c: (test_list_store): Add test.
3734 2008-05-24 Matthias Clasen <mclasen@redhat.com>
3736 Bug 520989 – icon factory buildable too strict
3738 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
3739 an optional attribute.
3741 2008-05-24 Matthias Clasen <mclasen@redhat.com>
3743 Bug 387972 – gtkassistant drawing problem
3745 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
3746 GtkAssistant work better in glade.
3748 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
3750 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
3751 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
3752 used in GtkToolItem) (#532787).
3754 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
3756 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
3757 try to toggle the visibility of the location entry field in search and
3758 recent mode (#526422).
3760 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
3762 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
3763 (shortcuts_list_create): Show parse name as tooltip for path
3764 shortcuts (#137503).
3766 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
3768 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
3769 pango_color_parse, do not reference XParseColor forms (#434991).
3771 2008-05-24 James Sharpe <jsharpe@gnome.org>
3773 * gdk/gdk.symbols: Remove duplicate
3774 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
3775 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
3777 2008-05-23 Hans Breuer <hans@breuer.org>
3779 * **/makefile.msc gtk/makefile.msc.in : updated
3780 * gtk/gtkwidget.c : fix c99ism (variable at start of block
3781 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
3783 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
3784 setlocale(LC_ALL, ...)
3786 2008-05-23 Tor Lillqvist <tml@novell.com>
3788 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
3789 gdk_window_remove_redirection.
3791 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
3792 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
3793 changes. Remove now unnecessary parameter checks as the caller
3796 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
3798 2008-05-23 Tor Lillqvist <tml@novell.com>
3800 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
3801 anything if style doesn't change. Improve debugging output.
3803 2008-05-23 Michael Natterer <mitch@gimp.org>
3806 * tests/print-editor.c
3807 * tests/prop-editor.h
3808 * tests/testmountoperation.c
3809 * tests/testmultidisplay.c
3810 * tests/testnouiprint.c
3812 * tests/testprintfileoperation.h
3813 * tests/testtreesort.c
3814 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
3815 files. Remove some redundant includes.
3817 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
3819 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
3820 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
3822 2008-05-21 Richard Hult <richard@imendio.com>
3824 * gdk/quartz/gdkwindow-quartz.c:
3825 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
3826 offscreen rendering changes, fixes build.
3828 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
3830 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
3832 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
3833 return snapshot pixmap coordinates widget relative in *clip_rect.
3835 * tests/testgtk.c: fixed bogus NULL pointer unref.
3837 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
3839 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
3840 widget's allocation to cover extra widget windows placed outside the
3841 widget allocation (spinbutton arrows are the prime example for this).
3843 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
3845 * Applied pixmap redirection patch by Alexander Larsson with
3846 various updates from:
3847 Bug 318807 – Offscreen windows and window redirection.
3852 * updated docs to mention "Since 2.16".
3854 * tests/testgtk.c: fixed snapshooting pixmap leak.
3855 convert pixmap to pixbuf after snapshooting, to compensate for different
3856 bit depths (occurs when snapshooting ARGB visuals and displaying the
3857 pixmap in an RGB visual).
3859 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
3861 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
3862 need for it. enqueue damage notification as GDK_DAMAGE events
3863 for each painting redirection at the start of the event queue.
3864 consider windows with a redirection fully visible when invalidating,
3865 and when updating from backing store. cleaned up stale variables.
3867 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
3869 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
3870 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
3871 tree, drawingarea, text, handlebox, etc.
3872 clip the redirected window hierarchy to window sizes, the visible
3873 rectangles don't need to be taken into account here.
3874 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
3875 in case pixmap visuals could mismatch.
3877 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
3882 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
3883 of possibly obscured widgets into an offscreen pixmap.
3885 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
3886 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
3888 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
3890 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
3891 implementations here, adapted them to propagate redirects to child windows.
3892 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
3893 clipped to visible region. queue GDK_DAMAGE event delivery.
3894 gdk_window_redirect_to_drawable(): install window painting redirection.
3895 gdk_window_remove_redirection(): remove previously installed redirection.
3897 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
3898 renamed _gdk_window_new() and _gdk_window_reparent().
3900 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
3901 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
3903 * gdk/gdkevents.h: added GDK_DAMAGE event type.
3905 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
3907 * gdk/gdkinternals.h: added internal prototypes.
3909 2008-05-21 Michael Natterer <mitch@imendio.com>
3911 * gtk/gtkalignment.c
3915 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
3917 2008-05-20 Matthias Clasen <mclasen@redhat.com>
3919 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
3922 Patch by Marek Kasik.
3925 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
3927 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
3929 * modules/printbackends/file/gtkprintbackendfile.c:
3930 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
3931 get_default_page_size.
3933 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
3934 select its default paper size.
3936 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
3937 use the printer default.
3939 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
3940 if we don't have a default page setup.
3942 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
3944 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
3945 can accept NULL for none. Fixes bug #533920.
3947 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
3949 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
3950 gtk_spin_button_update): Remove two chunks of duplicated
3953 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
3955 * reverted recent unapproved changes by Yair Hershkovitz,
3956 regarding: Bug 503071 – Application direction changes to right
3957 to left even if theres no translation.
3959 2008-05-19 Richard Hult <richard@imendio.com>
3961 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
3962 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
3963 SetSystemUIMode instead of hiding and showing the menubar.
3965 2008-05-19 Federico Mena Quintero <federico@novell.com>
3967 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
3968 can't be resized until you expand the "Browse for other folders"
3971 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
3972 Removed the "get_resizable" method.
3973 (_gtk_file_chooser_embed_get_resizable): Removed.
3975 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
3977 * gtk/gtkfilechooserdefault.c: Likewise.
3979 * gtk/gtkfilechooserdialog.c
3980 (file_chooser_widget_default_size_changed): Act as if the dialog
3981 were always resizable.
3983 2008-05-19 Michael Natterer <mitch@imendio.com>
3985 * gtk/gtkcellrenderer.c
3986 * gtk/gtkcellrendererpixbuf.c
3987 * gtk/gtkcellrenderertoggle.c
3988 * gtk/gtkimagemenuitem.c
3989 * gtk/gtkmenutoolbutton.c
3990 * gtk/gtkoptionmenu.c
3991 * gtk/gtkstatusbar.c
3992 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
3994 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
3996 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
3997 g_disable_setlocale().
3999 2008-05-17 Richard Hult <richard@imendio.com>
4001 * gdk/quartz/gdkwindow-quartz.c:
4002 (gdk_window_impl_quartz_invalidate_maybe_recurse):
4003 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
4004 of g_idle_add. Add a temporary check if the window is already in
4005 the updates list, since update_area currently doesn't always match
4006 the backend's state, see bug #530801.
4008 2008-05-13 Tor Lillqvist <tml@novell.com>
4010 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
4012 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
4013 the "packet rate" of devices to zero instead of 50. This is
4014 reported to help significantly with Wacom tablet behaviour in GIMP
4015 and Inkscape. Patch from Thomas Bleeker.
4017 2008-05-12 Richard Hult <richard@imendio.com>
4019 * gdk/quartz/gdkevents-quartz.c:
4020 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
4021 as it's no longer necessary; instead the added quartz API to get
4022 the nsevent from an event should be used. Also move the global
4023 filter up so it's done before the check for window-less events.
4025 2008-05-12 Tor Lillqvist <tml@novell.com>
4027 Bug 532558 - Cannot build dll when using separate builddir
4030 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
4033 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
4035 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
4037 2008-05-12 Tor Lillqvist <tml@novell.com>
4039 Bug 532059 - Leak in win32 clipboard manipulation
4041 * gdk/win32/gdkselection-win32.c
4042 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
4045 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
4047 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
4048 gettext_initialization only once.
4050 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
4051 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
4052 with the extended functionality that was in the removed dpgettext().
4054 * gtk/gtkaccellabelc:
4056 * gtk/gtkimmulticontext.c:
4057 * gtk/gtkactiongroup.c:
4058 * gtk/gtkintl.h: use glib i18n api.
4060 2008-05-08 Richard Hult <richard@imendio.com>
4062 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
4063 currently invalidated region. Fixes bug #532048, patch by Yevgen
4066 2008-05-08 Richard Hult <richard@imendio.com>
4068 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
4069 fd's revents, not the first one. Fixes bug #531056, spotted by
4072 2008-05-07 Tor Lillqvist <tml@novell.com>
4074 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
4077 2008-05-05 Matthias Clasen <mclasen@redhat.com>
4079 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
4080 more printer status information in the print dialog.
4082 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
4083 printer-state-reasons into suitable messages and icons.
4085 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
4086 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
4087 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
4089 * gtk/gtkiconfactory.c:
4090 * gtk/gtkstock.h: New stock icons to display printer state.
4092 2008-05-07 Michael Natterer <mitch@imendio.com>
4094 * gdk/gdkinternals.h
4096 * gdk/directfb/gdkevents-directfb.c
4097 * gdk/quartz/gdkevents-quartz.c
4098 * gdk/win32/gdkevents-win32.c
4099 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
4100 order parameters src,dest and make src const.
4102 2008-05-06 Richard Hult <richard@imendio.com>
4104 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
4105 * gdk/gdkinternals.h: Add private backend data to events, and
4106 handle it when copying/freeing events. Currently only needed in
4109 * gdk/directfb/gdkevents-directfb.c:
4110 * gdk/quartz/gdkevents-quartz.c:
4111 * gdk/win32/gdkevents-win32.c:
4112 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
4113 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
4114 directfb. Implement for quartz. Part of fixing bug #473822.
4116 2008-05-05 Richard Hult <richard@imendio.com>
4118 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
4119 framework if there is one.
4121 2008-05-05 Michael Natterer <mitch@imendio.com>
4123 * gtk/gtkcellrenderercombo.h
4124 * gtk/gtkcellrendererspin.h
4125 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
4128 * gtk/gtkfilechooserdialog.h
4129 * gtk/gtkfilechooserwidget.h
4130 * gtk/gtkscalebutton.h: reorder instance and class structs to be
4133 2008-05-04 Richard Hult <richard@imendio.com>
4135 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
4136 gdk_unicode_to_keyval() worked before using the result. Makes
4137 function keys work, bug #530156. Also add F16 to the function key
4140 2008-05-04 Richard Hult <richard@imendio.com>
4142 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
4143 semicolon after if statement. Fixes bug #530963, patch from Yevgen
4146 2008-05-02 Michael Natterer <mitch@imendio.com>
4148 * gtk/gtk.h: add 15 files that were missing (they all got included
4149 indirectly by including gtk.h, so should have been here in the
4152 2008-05-02 Michael Natterer <mitch@imendio.com>
4154 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
4156 2008-05-01 Richard Hult <richard@imendio.com>
4158 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
4159 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
4161 2008-05-01 Matthias Clasen <mclasen@redhat.com>
4163 * modules/imput/imthai.c: Register the right translation domain.
4165 2008-04-30 Matthias Clasen <mclasen@redhat.com>
4167 Bug 529386 – Printing options hidden by blacklisted option
4169 * modules/printbackend/cups/gtkprintbackendcups.c
4170 (cups_printer_get_options): Fix the blacklist handling.
4171 Patch by Marek Kašík.
4173 2008-04-30 Richard Hult <richard@imendio.com>
4175 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
4178 2008-04-30 Richard Hult <richard@imendio.com>
4180 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
4181 nsevents with the gdk lock held, fixes deadlock when doing manual
4182 window resizing with threading enabled.
4184 2008-04-30 Richard Hult <richard@imendio.com>
4186 * gdk/quartz/gdkevents-quartz.c:
4187 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
4188 Alt to Alt and Cmd to Meta. This is not only more logical but also
4189 makes it easier to have Mac-like behavior.
4191 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
4193 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
4194 painting the flat box instead of recalculating it. (#437493,
4197 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
4199 Bug 529841 – incorrect position in directfb
4201 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
4203 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
4205 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
4207 2008-04-25 Michael Natterer <mitch@imendio.com>
4209 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
4210 <pango/pango-layout.h>.
4212 * gtk/gtkiconfactory.c
4216 * gtk/queryimmodules.c: remove inclusion of single files from
4217 pango, none of them was actually needed.
4219 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
4220 <pango/pango-utils.h>.
4222 2008-04-25 Michael Natterer <mitch@imendio.com>
4224 * gdk/gdkfont.h: include <pango/pango.h> instead of
4225 <pango/pango-font.h>.
4227 2008-04-25 Michael Natterer <mitch@imendio.com>
4229 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
4232 2008-04-21 Michael Natterer <mitch@imendio.com>
4234 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
4235 crashing when NULL pointers get passed.
4237 2008-04-18 Michael Natterer <mitch@imendio.com>
4239 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
4240 here have the same style.
4242 2008-04-18 Michael Natterer <mitch@imendio.com>
4244 * gtk/gtkicontheme.h
4245 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
4248 * gtk/gtkbuilderparser.c
4249 * gtk/gtklinkbutton.c
4251 * gtk/gtkrecentchooserdefault.c
4252 * gtk/gtkrecentchoosermenu.c
4253 * modules/input/gtkimcontextthai.c: remove inclusion of single
4254 files from gdk, none of the includes was actually needed.
4256 2008-04-18 Michael Natterer <mitch@imendio.com>
4258 * gdk/gdk.h: reorder one include so they are all alphabetical.
4260 2008-04-18 Michael Natterer <mitch@imendio.com>
4262 * modules/printbackends/cups/gtkprintercups.[ch]
4263 (gtk_printer_cups_get_ppd_name): change return value and local
4264 variable to const gchar* to fix warning about discarding const
4267 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
4269 * gtk/gtkrecentmanager.c:
4270 (gtk_recent_manager_set_filename): Keep the default storage
4271 file in $HOME, as we don't have a migration code in place yet.
4273 2008-04-18 Michael Natterer <mitch@imendio.com>
4275 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
4276 g_strfreev() the uris returned by g_bookmark_file_get_uris().
4278 2008-04-17 Michael Natterer <mitch@imendio.com>
4280 * gtk/gtkiconfactory.c (get_default_icons): register the
4281 GTK_STOCK_PAGE_SETUP icon.
4283 2008-04-17 Michael Natterer <mitch@imendio.com>
4285 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
4286 g_return_if_fail(tooltips != NULL);
4288 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
4290 * gtk/gtkwindow.c: Chain up in buildable_finish()
4292 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
4293 cases where g_path_get_dirname() returns "."
4295 * docs/reference/gtk/tmpl/gtklabel.sgml,
4296 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
4297 for the <attributes> tags on GtkLabel
4299 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
4301 * gtk/gtkrecentmanager.c:
4302 (gtk_recent_manager_real_changed): Fix last commit, and
4303 complete the gtk-recent-files-max-age semantics: if the
4304 property is set to 0 then purge the list.
4306 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
4308 Bug 488507 – boundless growth of .recently-used.xbel file
4309 slows down applications
4311 * gtk/gtkrecentmanager.c:
4312 (gtk_recent_manager_init),
4313 (gtk_recent_manager_real_changed),
4314 (gtk_recent_manager_set_filename),
4315 (gtk_recent_manager_clamp_to_age): Clamp the recently
4316 used resources list by the age of its items, using
4317 the newly added GtkSettings property.
4319 * gtk/gtksettings.c (gtk_settings_class_init): Add the
4320 gtk-recent-files-max-age property, controlling the
4321 maximum age of the items in the recently used resources
4324 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
4326 * gtk/gtkrecentmanager.c:
4327 (gtk_recent_manager_add_item_query_info),
4328 (gtk_recent_manager_add_item): Emit the ::changed signal
4329 at the end of the asynchronous MIME type query.
4331 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
4333 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
4336 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
4337 changes in the recently used resources storage file, and
4338 drop the timeout-based poll.
4340 * ChangeLog: Fix attribution of the patch of the previous
4343 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
4345 Bug 506062 – gtk_recent_manager_add_item does not detect mime
4348 * configure.in: Depend on gio-2.0
4350 * gtk/gtkrecentmanager.c:
4351 (gtk_recent_manager_add_item_query_info_cb),
4352 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
4353 query the MIME type of the passed URI (based on a patch by
4356 2008-04-11 Carlos Garnacho <carlos@imendio.com>
4358 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
4359 page to visited page list instead of next current page. (#527466,
4360 patch by Marcus Brinkmann)
4362 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
4364 * gtk/gtklabel.c: Added <attributes> / <attribute>
4365 custom tags to parse pango attributes into labels (#527486).
4367 * tests/buildertest.c: Added tests for GtkLabel custom
4370 2008-04-10 Carlos Garnacho <carlos@imendio.com>
4372 * gtk/gtknotebook.c (hide_drag_window): Do not call
4373 gtk_widget_set_parent_window(), using widget->window instead of NULL
4374 to unset is the wrong thing, and gtk_widget_unparent() will already
4375 take care of this (#467698, patch by Sébastien Granjoux)
4377 2008-04-08 Tor Lillqvist <tml@novell.com>
4379 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
4380 these functions with G_MODULE_EXPORT.
4382 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
4384 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
4385 (gtk_file_system_volume_render_icon):
4386 Fix fallback icon rendering size
4388 2008-04-08 Michael Natterer <mitch@imendio.com>
4390 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
4391 touchscreen-mode keynav corner case: when navigating to the parent
4392 menu, make sure we don't close two menus at the same time in case
4393 the deepest open menu has no selectable items.
4395 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
4397 * gtk/gtkwidget.c: Clarified a g_warning message regarding
4398 parsing accelerators from builder files.
4400 2008-04-03 Cody Russell <bratsche@gnome.org>
4402 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
4403 of the block. (#526021, reported by Kazuki IWAMOTO)
4405 2008-04-03 Tor Lillqvist <tml@novell.com>
4407 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
4410 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
4411 workaround for a specific kind of screwed up locale setting.
4413 2008-04-02 Matthias Clasen <mclasen@redhat.com>
4415 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
4416 colormaps. Found by Daniel Berrange.
4418 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
4420 * tests/autotestfilechooser.c: Cover
4421 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
4422 name. (#346058, Joe Halliwell)
4424 2008-04-02 Federico Mena Quintero <federico@novell.com>
4426 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
4427 chooser incorrectly substitutes and expands a ~ when you type it
4428 in the filename entry.
4430 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
4431 basenames result in a slash-terminated pathname.
4432 gtk_file_system_unix_parse() is correct, but it was splitting
4433 "/home/username" into path="/home" and file_part="username", which
4434 is not what the caller wants when the entry has just "~" or
4437 2008-04-02 Tor Lillqvist <tml@novell.com>
4439 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
4440 and gtksearchenginetracker.c on Windows.
4442 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
4445 2008-04-01 Cody Russell <bratsche@gnome.org>
4447 * configure.in: Bump required Cairo to 1.5.2.
4449 * gtk/gtkprintoperation-win32.c: Add support for using the new
4450 cairo_win32_printing_surface for printing. Also fixed to use
4451 cairo_surface_show_page(). (#488833 and #521178)
4453 2008-03-31 Cody Russell <bratsche@gnome.org>
4455 * demos/gtk-demo/printing.c (draw_page): Move down each line in
4456 units of text_height rather than in units of data->font_size.
4457 (totally awesome catch by Dom Lachowicz)
4459 2008-03-28 Richard Hult <richard@imendio.com>
4461 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
4462 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
4463 event to the mainloop and don't generate one at all if the
4464 toplevel didn't change. Use the actual window and not the toplevel
4465 as event window. These changes make the generated crossing events
4466 match the X11 behavior and fixes issues with e.g. tooltips,
4467 comboboxes and menus.
4469 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
4470 the view has no window, it will be updated as soon as it's put
4473 * gdk/quartz/gdkwindow-quartz.c:
4474 (_gdk_quartz_window_debug_highlight): Make it possible to track
4475 multiple windows with debug highlighting.
4476 (show_window_internal): Remove workaround for tooltips and popups
4477 that is no longer needed with the above changes.
4479 2008-03-26 Federico Mena Quintero <federico@novell.com>
4481 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
4482 helper function; factored out from the functions that commit the
4483 current suggested autocompletion and that refresh the entry's paths.
4484 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
4485 (_gtk_file_chooser_entry_get_file_part): Likewise.
4486 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
4487 makes the entry have the correct paths when *not* using any form
4488 of completion (and makes the file chooser work when clicking the
4491 2008-03-25 Richard Hult <richard@imendio.com>
4493 * gdk/quartz/gdkevents-quartz.c:
4494 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
4495 can't find a matching window.
4497 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
4498 comment, and only trigger an event for non-temp windows, fixes
4499 problems for tooltips caused by the workarounds for the
4500 problematic tracking rect API.
4502 2008-03-25 Richard Hult <richard@imendio.com>
4504 * gdk/quartz/gdkwindow-quartz.c:
4505 (gdk_window_quartz_process_all_updates): Plug a leak and add a
4506 check that we have a toplevel before accessing it.
4508 2008-03-24 Tor Lillqvist <tml@novell.com>
4510 Bug 524151 - Dragging of 0-byte files results in an empty filename
4511 on Windows XP and above
4513 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
4514 being empty first. For some reason ISHellLink and IPersistFile
4515 succeeds in interpreting empty files as shortcuts, claiming the
4516 target of the shortcut is an empty path.
4518 Change the function to take the wide character file name that the
4519 caller already has anyway, to avoid a superfluous conversion from
4522 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
4524 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
4525 against NULL pointer. (#467051, Gian Mario Tagliaretti)
4527 2008-03-23 Cody Russell <bratsche@gnome.org>
4529 * gdk/win32/gdkevents-win32.c (show_window_recurse):
4530 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
4531 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
4532 menus from a maximized window would force the window to restore
4535 2008-03-23 Johan Dahlin <johan@gnome.org>
4537 * gtk/gtk-builder-convert:
4538 Properly convert GtkImageMenuItems which use stock labels but don't
4540 (#523932, Brian Pepple)
4542 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
4544 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
4545 New function implements GtkCellLayoutClass::get_cells. (#523787)
4547 2008-03-22 Tor Lillqvist <tml@novell.com>
4549 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
4551 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
4552 GDK_THREADS_LEAVE() call. Approved by mclasen.
4554 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
4556 * gtk/gtkexpander.c (gtk_expander_get_label):
4557 gtk_label_get_label() should be used instead of
4558 gtk_label_get_text(). (#353088, Xan Lopez)
4560 2008-03-21 Tor Lillqvist <tml@novell.com>
4562 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
4563 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
4564 gdip-pixbuf-loader module.
4566 * configure.in: Add switch --disable-gdiplus-loaders that disables
4567 building of the GDI+ loaders.
4569 When including loaders in the gdk-pixbuf library, and building
4570 GDI+ loaders, either build in all the GDI+ loaders or none of
4571 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
4572 signal building them in.
4574 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
4575 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
4576 indicate whether they should be built-in.
4578 For the rest of the changes, see gdk-pixbuf/ChangeLog.
4580 2008-03-20 Tor Lillqvist <tml@novell.com>
4582 * gtk/Makefile.am: Revert accidental change that went in as part
4583 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
4584 Darwin. On Windows one has to use a newer GNU grep that has -o,
4585 for instance the one from gnuwin32, instead of the oldish one in
4586 MSYS that doesn't have -o.
4588 2008-03-20 Tor Lillqvist <tml@novell.com>
4590 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
4591 pass NULL for %s to g_message().
4592 (main): Drop unnecessary call to gtk_widget_destroy().
4594 2008-03-20 Tor Lillqvist <tml@novell.com>
4596 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
4598 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
4599 in one dimension, or centered in case it doesn't fit.
4600 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
4603 2008-03-18 Tor Lillqvist <tml@novell.com>
4605 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
4607 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
4608 G_MODULE_ENTRY decoration can be put in a more correct place.
4610 2008-03-18 Sven Neumann <sven@gimp.org>
4612 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
4613 alternative button order on the password dialog.
4615 2008-03-18 Tor Lillqvist <tml@novell.com>
4617 Bug 99192 - Add --with-include-input-modules
4619 * configure.in: Add --with-included-immodules switch. Handled in a
4620 similar way as the --with-included-loaders switch. For each input
4621 method module foo: Collect the list of input modules to be built
4622 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
4623 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
4624 Define Automake conditionals INCLUDE_IM_FOO.
4626 * modules/input/Makefile.am: For modules to be included in libgtk,
4627 build a static library.
4629 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
4630 gdk-pixbuf to get unique names for the functions called by libgtk
4631 in the included case. Use G_MODULE_EXPORT in the non-included case
4632 so that we don't unnecessarily export unneeded random global
4635 * gtk/Makefile.am: Build the included modules and link them into libgtk.
4637 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
4638 copy/paste leftover mentions of "themes" in comments.
4640 2008-03-18 Tor Lillqvist <tml@novell.com>
4642 * tests/Makefile.am: Build testmountoperation only on Unix for now.
4644 2008-03-17 Christian Kellner <gicmo@gnome.org>
4646 Implement GtkMountOperation, a subclass of GMountOperation
4647 to be used with gio wherever there is the need to ask the
4648 user for credentials or questions while mounting a volume.
4651 * gtk/gtkmountoperation.c:
4652 * gtk/gtkmountoperation.h:
4653 Implement GtkMountOperation.
4655 * gtk/gtk.h: Add gtkmountoperation.h
4656 * gtk/Makefile.am: Add gtkmountoperation.[hc]
4657 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
4658 * tests/testmountoperation.c: Test program for it.
4659 * tests/Makefile.am: Add testmountoperation.
4661 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
4663 * gtk/gtkcontainer.c: Properly document
4664 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
4666 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
4668 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
4669 style names for the ComboBox thickness style
4671 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
4673 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
4674 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
4675 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
4676 intelligent separation for the xp theming engine and the classic
4677 theme while drawing the GtkComboBox button. combobox_draw_arrow
4678 is not used anymore, commented. The style has been updated to fix
4679 border/thickness glitches in the combobox according to the fixes
4680 commited regarding bug #521442. (bug #461805)
4682 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
4684 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
4685 now aware of both the combobox and frame (if has-frame is set)
4686 thickness and border. (bug #521442)
4688 2008-03-15 Andre Klapper <a9016009@gmx.de>
4690 * configure.in: Added "si" to ALL_LINGUAS.
4692 2008-03-15 Matthias Clasen <mclasen@redhat.com>
4694 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
4695 Set window type hint on the search popup. (#522279, Danny Baumann)
4697 2008-03-15 Matthias Clasen <mclasen@redhat.com>
4699 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
4700 appropriate. (#521934, Huang Peng)
4702 2008-03-14 Michael Natterer <mitch@imendio.com>
4705 * gtk/gtkbuilderprivate.h
4706 * gtk/gtkfilechoosersettings.c
4707 * gtk/gtksearchenginesimple.c
4708 * gtk/tests/liststore.c
4709 * gtk/tests/treestore.c: remove single-file includes of GLib
4710 headers or replace them by <glib.h> where needed.
4712 2008-03-14 Michael Natterer <mitch@imendio.com>
4714 * gtk/gtkadjustment.c: coding style cleanup.
4716 (gtk_adjustment_set_property): no need to call g_object_notify()
4717 on the set properties.
4719 Implement GObject::dispatch_properties_changed() and make sure we
4720 emit "changed" when anything but the "value" property changes.
4722 2008-03-14 Tor Lillqvist <tml@novell.com>
4724 * gdk/win32/gdkevents-win32.c: Drop the support for the
4725 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
4726 Win95. Thanks to mitch for noticing this obsolete code.
4728 2008-03-14 Cody Russell <bratsche@gnome.org>
4730 * examples/scribble-xinput/scribble-xinput.c: Changed
4731 'void int main()' to 'int main()'. (#522211, Liqing Huang)
4733 2008-03-14 Richard Hult <richard@imendio.com>
4735 * gdk/quartz/gdkwindow-quartz.c:
4736 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
4737 only flush the toplevel once per update.
4739 2008-03-13 Federico Mena Quintero <federico@novell.com>
4741 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
4742 Set the mouse cursor of the feedback window to invisible, so that
4743 we respect GtkEntry's invisible cursor while typing.
4745 2008-03-13 Federico Mena Quintero <federico@novell.com>
4747 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
4748 the feedback window at entry_height/2 pixels to the right of the
4749 cursor, for a cheap "M-width / 2" spacing.
4751 2008-03-13 Sven Neumann <sven@gimp.org>
4753 * gtk/gtkfilechooserdefault.c
4754 * gtk/gtkprintunixdialog.c: set alternative button order for
4755 overwrite confirmation dialogs (bug #522191).
4757 2008-03-13 Sven Neumann <sven@gimp.org>
4759 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
4760 (overwrite_confirmation_dialog): added some line-breaks for
4763 2008-03-12 Federico Mena Quintero <federico@novell.com>
4765 Rework the way completion works in GtkFileChooserEntry. Fixes
4766 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
4767 Tab completion should work even if the cursor is not at the end of
4770 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
4773 We distinguish between two cases:
4775 - autocompletion - happens only in the Open modes by
4776 inserting and selecting the common prefix as you type.
4778 - explicit completion - happens when you hit Tab.
4780 When some type of completion needs to happen, the entry first
4781 parses its input and sees if it needs to initiate a folder load.
4782 Completion will not happen until the folder finishes loading.
4784 If the folder is already completely loaded, then completion is
4785 performed immediately. Otherwise, the entry queues a pending
4786 completion and starts loading the new folder (or waits until the
4787 current folder is completely loaded).
4789 Tab completion is allowed to happen even if the cursor is not at
4790 the end of the entry.
4792 There is a new feedback mechanism for explicit completion, so that
4793 you will get an Emacs-like tip whenever there are ambiguities in
4794 completion, no matches, etc. (This needs to be polished so that
4795 we support RTL entries and all the fancy Pango layout in GtkEntry).
4797 The only remaining thing to fix is the popup suggestion window.
4798 Unfortunately, GtkEntryCompletion does not let us do what we want,
4799 and will need further changes.
4801 2008-03-12 Tor Lillqvist <tml@novell.com>
4803 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
4805 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
4806 for the TaskbarCreated message in the window procedure for the
4807 dummy "tray observer" window we create. When we get a
4808 TaskbarCreated message, iterate over the status icons and re-add
4809 them to the task bar, and update them by calling
4810 gtk_status_icon_update_image().
4812 Move some ifdefs around to avoid unused functions.
4814 2008-03-12 Tor Lillqvist <tml@novell.com>
4816 * config.h.win32.in: Update to match what configure produces.
4818 2008-03-12 Jens Granseuer <jensgr@gmx.net>
4820 * modules/printbackends/cups/gtkprintbackendcups.c:
4821 (cups_printer_prepare_for_print): Don't define variables in the
4822 middle of a block. (#522067)
4824 2008-03-12 Matthias Clasen <mclasen@redhat.com>
4826 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
4827 dialog for print-to-file. (#474302, Marek Kašík)
4829 2008-03-12 Matthias Clasen <mclasen@redhat.com>
4831 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
4832 (#469210, Wouter Bolsterlee)
4834 2008-03-12 Matthias Clasen <mclasen@redhat.com>
4836 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
4837 paper_size here. (#488820, Morten Welinder)
4839 2008-03-12 Michael Natterer <mitch@imendio.com>
4841 * acconfig.h: remove this deprecated file.
4843 * configure.in: added comments to all instances of AC_DEFINE() so
4844 config.h can be completely generated from configure.in.
4846 2008-03-12 Michael Natterer <mitch@imendio.com>
4848 * modules/printbackends/cups/gtkprintbackendcups.c: include
4849 <glib/gstdio.h> for g_fopen().
4851 2008-03-11 Matthias Clasen <mclasen@redhat.com>
4853 * modules/printbackends/cups/gtkprintbackendcups.c: Use
4854 g_ascii_formatd when formatting custom paper sizes, since
4855 cups doesn't handle , as decimal separator. (#521548)
4857 2008-03-11 Tor Lillqvist <tml@novell.com>
4859 Bug 469868 - Filenames with colon ":" are not saved correctly
4861 * gtk/gtkfilechooserentry.c (insert_text_callback)
4862 (delete_text_callback) [Win32]: New functions to make sure that
4863 colons used otherwise than as a separator after a drive letter, or
4864 characters that are always illegal in file names, are rejected on
4865 input. This means that the GTK+ file chooser can't be used to
4866 input full names of alternate data streams, but oh well. There are
4867 still more checks that could be done on the file names, see the
4868 bug report. But this will do for now.
4869 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
4871 2008-03-11 Jordi Mallach <jordi@sindominio.net>
4873 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
4875 2008-03-11 Michael Natterer <mitch@imendio.com>
4877 * gdk/linux-fb/*: removed linux-fb backend files.
4881 * docs/README.linux-fb
4882 * gtk/Makefile.am: remove remaining traces of linux-fb.
4884 * gtk/gtkwindow-decorate.c: same here. There is some code that
4885 calls into linux-fb to set window move/resize callbacks. I put it
4886 in #if 0 as a reminder because we did use decorated windows with
4887 the DirectFB backend and it did work, so I don't really know why
4888 this code is needed or how it could work with DirectFB back then.
4889 The file does actually compile now if DECORATE_WINDOWS is defined,
4890 but I didn't test with DirectFB to check if it does anything.
4892 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
4894 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
4895 Take thickness into account in the size allocation of the child widgets in
4899 2008-03-11 Richard Hult <richard@imendio.com>
4901 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
4903 2008-03-10 Tor Lillqvist <tml@novell.com>
4905 * tests/teststatusicon.c (do_exit, popup_menu): Add the
4906 possibility to test what happens if the process just calls exit()
4907 without any orderly cleanup of GTK+.
4909 2008-03-10 Tor Lillqvist <tml@novell.com>
4911 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
4913 2008-03-10 Tor Lillqvist <tml@novell.com>
4915 Bug 520286 - Non-deletable window has no minimize / maximize buttons
4917 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
4918 New debugging output function that decodes a set of WS_* bits.
4920 * gdk/win32/gdkprivate-win32.h: Declare it.
4922 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
4923 New function that enables or disables one menu entry in the system
4924 menu of a top-level window. (The corresponding decoration will
4925 then also be enabled or disabled (grayed).)
4927 (update_style_bits): Do as the comment says and don't try to
4928 update the window style based on the GdkWMFunctions set for the
4931 (update_system_menu): New function that enables or disables the
4932 system menu entries based on a window's stored set of
4935 (gdk_window_set_functions): Call update_system_menu() instead of
4936 update_style_bits().
4938 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
4940 * README.in: Reword the 2.14 release notes entry about the
4941 deprecation of the gtkitemfactory.h header, and fix typos
4944 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
4946 * modules/engines/ms-windows/msw_style.c (draw_shadow):
4947 Do not draw frame if parent if combobox.
4949 Uses scrollbar width system metrics for combobox button.
4950 Fixes #461805 for XP theme engine.
4952 2008-03-07 Johan Dahlin <johan@gnome.org>
4955 * gtk/gtkbuilderparser.c:
4956 * gtk/gtkbuilderprivate.h:
4957 * gtk/gtkiconfactory.c:
4958 * tests/buildertest.c:
4959 - Treat enums like enums and not values
4960 - Avoid invalid free, in case of more than two sources
4961 - Add better error messages
4962 - Add much improved tests
4963 (#520979, Christian Persch)
4965 2008-03-07 Carlos Garnacho <carlos@imendio.com>
4967 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
4970 2008-03-06 Federico Mena Quintero <federico@novell.com>
4972 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
4973 GtkFileChooserDialog should set a default response button if the
4974 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
4976 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
4977 function, refactor from where there was duplicated code.
4978 (gtk_file_chooser_dialog_map): Look at the buttons in our
4979 action_area. If the response ID for a button is one of the stock
4980 ones, make it the default response button.
4982 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
4984 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
4986 * gtk/gtkbuilderprivate.h:
4987 * gtk/gtkiconfactory.c:
4988 * tests/buildertest.c:
4989 Implement GtkBuildable on GtkIconFactory, to make
4990 it possible to register custom stock icons.
4993 2008-03-06 Johan Dahlin <johan@gnome.org>
4997 * gtk/gtkstyle.c: npoints->n_points.
4998 * gtk/gtktestutils.h: widget->spinner
4999 * gtk/gtktestutils.c: argc->argcp, argv->argvp
5001 2008-03-06 William Lachance <wrlach@gmail.com>
5003 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
5004 string localizable (as it should be).
5006 2008-03-06 William Lachance <wrlach@gmail.com>
5008 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
5009 the time for today's date. It's redudant. (see bug #410517).
5011 2008-03-06 Xan Lopez <xan@gnome.org>
5013 * gtk/gtkfixed.c: fix typo in documentation.
5015 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
5017 * gtk/gtkitemfactory.h:
5018 * gtk/gtktypeutils.h:
5019 Move GtkTranslateFunc to gtktypeutils.h so we can completely
5020 deprecate gtkitemfactory.h.
5022 * gtk/gtkactiongroup.h:
5024 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
5027 Add a note describing this slight incompatible change
5029 2008-03-06 Johan Dahlin <johan@gnome.org>
5031 * gtk/gtkpreview.h: Avoid double-deprecation.
5033 2008-03-06 Michael Natterer <mitch@imendio.com>
5036 * gtk/Makefile.am: move the remaining deprecated widgets to the
5037 separate sections and replaced spaces by tabs in Makefile.am
5039 2008-03-05 Johan Dahlin <johan@gnome.org>
5041 * configure.in: Add --disable-cups option.
5042 (#513826, Alberto Ruiz)
5046 Separate broken and deprecated sources and headers into different sections
5048 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
5050 2008-03-05 Kristian Rietveld <kris@imendio.com>
5052 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
5053 short-circuit in case an empty root level would be build (and thus
5054 directly destroyed) if no virtual root has been set.
5056 2008-03-04 Matthias Clasen <mclasen@redhat.com>
5058 * modules/printbackends/cups/gtkprintbackendcups.c:
5059 Honor cups user default options from ~/.cups/lpoptions
5060 (#469210, Stijn Hoop)
5062 2008-03-04 Michael Natterer <mitch@imendio.com>
5065 * gtk/gtkcolorbutton.c
5066 * gtk/gtkentrycompletion.c
5067 * gtk/gtkfontbutton.c
5071 * gtk/gtkpreview.c: don't include "gtksignal.h".
5073 * gtk/gtkfilefilter.c
5074 * gtk/gtkrecentchoosermenu.c
5075 * gtk/gtkrecentfilter.c
5076 * gtk/gtktext.c: don't include "gtkobject.h".
5078 2008-03-04 Simos Xenitellis <simos@gnome.org>
5080 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
5081 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
5083 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
5086 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
5087 file, contains compose sequences that used to exist in
5088 gtk/gtkimcontextsimple.c
5090 * gtk/compose-parse.py: Script to generate compose
5091 sequences from upstream (Xorg).
5093 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
5094 check_algorithmically): New functions. First two search in
5095 gtk_compose_seqs_compact[] for matching compose sequence, third
5096 tries NFC normalisation on incoming compose sequence.
5097 (gtk_im_context_simple_filter_keypress):
5098 Adds searching with check_compact_table(), check_algorithmically().
5100 2008-03-03 Carlos Garnacho <carlos@imendio.com>
5102 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
5103 scrollwheel work in GtkPathBar.
5105 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
5107 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
5108 an input-only window, event_window, which we'll use to capture
5110 (gtk_path_bar_map): Show the event_window under the rest of the
5111 windows, so it will be a catch-all for unhandled events.
5113 2008-03-03 Sven Neumann <sven@gimp.org>
5115 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
5116 typo in the documentation of the GtkFileChooserButtons::file-set
5117 signal (see bug #353196).
5119 2008-03-03 Tor Lillqvist <tml@novell.com>
5121 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
5124 2008-03-02 Johan Dahlin <johan@gnome.org>
5126 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
5127 Remove left-over focus_pad variable.
5128 (#490892, Claudio Saavedra)
5130 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
5131 (#518166, Matt Kraai)
5133 2008-03-02 Johan Dahlin <johan@gnome.org>
5135 * docs/tutorial/gtk-tut.sgml: Add a missing space
5136 (#517954, Matt Kraai)
5138 2008-03-03 Tor Lillqvist <tml@novell.com>
5140 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
5141 the widget is a GtkButton before casting.
5143 2008-03-02 Johan Dahlin <johan@gnome.org>
5145 * configure.in: Compare using = instead of ==, which is portable.
5146 (#490787, Thomas Klausner)
5148 2008-03-02 Johan Dahlin <johan@gnome.org>
5150 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
5151 fixes non-C++ build.
5152 (#496032, Nelson Benitez)
5154 2008-02-29 Johan Dahlin <johan@gnome.org>
5156 * demos/gtk-demo/demo.ui:
5157 * gtk/gtkbuilderparser.c:
5158 * gtk/gtkbuilderprivate.h:
5159 * gtk/gtkliststore.c:
5160 * tests/buildertest.c:
5161 Add translatable/context and comment attributes on
5162 <col> tags under a GtkListStore. Refactor parts of the
5163 translation api and make it available inside gtk+ itself.
5164 Update tests and example.
5165 Fixes a part of #518642
5167 2008-02-29 Johan Dahlin <johan@gnome.org>
5170 Add missing g_return_val_if_fail checks for public API.
5172 * gtk/gtkbuilderparser.c:
5173 * gtk/gtkbuilderprivate.h:
5174 Do not use g_error for a few more errors, instead set
5175 the GError sent in through add_from_file/add_from_string.
5176 * tests/buildertest.c:
5177 Add a couple of new parsing tests.
5178 (#519199, Pavel Syomin)
5180 2008-02-29 Federico Mena Quintero <federico@novell.com>
5182 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
5183 refreshing an existing folder (i.e. when we are about to reload
5184 its file list), turn off the folder's is_finished_loading flag.
5185 Otherwise callers which do ::is_finished_loading() followed by
5186 ::list_children() will get nothing.
5188 2008-02-29 Cody Russell <bratsche@gnome.org>
5190 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
5191 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
5193 2008-02-28 Matthias Clasen <mclasen@redhat.com>
5195 * gtk/gtkcalendar.h: Remove trailing comma from enum to
5196 make the compiler happy. (#517295, Sylvain Pasche)
5198 2008-02-27 Michael Natterer <mitch@imendio.com>
5200 * gtk/gtkmenushell.c
5203 * gtk/gtktipsquery.c
5208 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
5209 private functions and virtual function implementations.
5211 2008-02-27 Richard Hult <richard@imendio.com>
5213 * gdk/quartz/GdkQuartzView.c:
5214 * gdk/quartz/GdkQuartzView.h:
5215 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
5216 Fix performance regression for borderless transparent windows
5219 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
5221 * tests/testgtk.c: Revert back to r19454.
5223 2008-02-27 Sven Neumann <sven@gimp.org>
5225 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
5226 Quartz backend, use a native Mac OS X application for the print
5227 preview (bug #518624).
5229 2008-02-26 Michael Natterer <mitch@imendio.com>
5231 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
5232 the members of info->tag_stack since they are a) gobjects and b)
5233 not even owned by us, ugh... Fixes crash when deserializing fails.
5235 2008-02-26 Sven Neumann <sven@gimp.org>
5237 * docs/tools/shooter.c (find_toplevel_window)
5238 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
5239 argument passed to XQueryTree().
5241 2008-02-25 Matthias Clasen <mclasen@redhat.com>
5243 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
5244 don't use beagle_query_add_hit_type.
5246 2008-02-25 Richard Hult <richard@imendio.com>
5248 * gdk/quartz/gdkevents-quartz.c
5249 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
5251 2008-02-24 Richard Hult <richard@imendio.com>
5253 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
5254 shown without gdk's control when clicking the dock icon.
5256 2008-02-24 Richard Hult <richard@imendio.com>
5258 * gdk/quartz/gdkprivate-quartz.h:
5259 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
5260 Use the subtype field for the custom event that is used to wake up
5261 the mainloop so we can have other custom event types.
5263 * gdk/quartz/gdkevents-quartz.c:
5264 (_gdk_quartz_events_trigger_crossing_events):
5265 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
5266 crossing events after showing a window if necessary, to work
5267 around problems with the tracking rect API.
5269 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
5271 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
5272 wrong results on win32 because it doesn't set the printing units,
5273 which affect the transformation of the cairo context
5274 (#347125, Erik van Pienbroek)
5276 2008-02-22 Tor Lillqvist <tml@novell.com>
5278 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
5280 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
5282 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
5283 acceptable for a module to only support the save_to_callback()
5284 method if it marks itself as WRITABLE
5286 2008-02-16 Matthias Clasen <mclasen@redhat.com>
5288 * configure.in: Bump version
5290 2008-02-16 Matthias Clasen <mclasen@redhat.com>
5292 * === Released 2.13.0 ===
5294 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
5296 2008-02-21 Tor Lillqvist <tml@novell.com>
5298 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
5299 pass the format string to strftime in the C library's locale's
5300 charset, not the system's. Correspondingly, the return value from
5301 strftime() is in the C library's locale's charset. (#509885)
5303 2008-02-20 Richard Hult <richard@imendio.com>
5305 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
5306 the right window level and shadow after recreating the window.
5308 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
5309 necessary after drawing (bug #517338).
5311 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
5313 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
5314 call to g_type_class_unref in case of error. (#517563)
5316 2008-02-18 Sven Neumann <sven@gimp.org>
5318 * gtk/Makefile.am (STOCK_ICONS)
5319 * gtk/stock-icons/16/gtk-page-setup.png
5320 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
5321 taken from GNOME icon theme.
5323 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
5325 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
5327 * configure.in: Added Kannada (kn) to ALL_LINGUAS
5329 2008-02-17 Johan Dahlin <johan@gnome.org>
5331 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
5332 When converting a stock item based on the label, remove the label property.
5334 2008-02-17 Richard Hult <richard@imendio.com>
5336 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
5337 position after showing the window since the window manager might
5338 not place it where we requested in the first places.
5340 2008-02-17 Richard Hult <richard@imendio.com>
5342 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
5343 (_gdk_quartz_window_detach_from_parent),
5344 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
5345 the toplevel ordering list in all places where the order is
5346 potentially changed. Fixes mouse focus issues for windows with
5347 a transient parent set.
5349 2008-02-17 Richard Hult <richard@imendio.com>
5351 * gdk/quartz/gdkevents-quartz.c
5352 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
5353 window when event debugging is enabled.
5355 2008-02-16 Richard Hult <richard@imendio.com>
5357 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
5358 to the scroll event (bug #516757, Paul Davis).
5360 2008-02-16 Matthias Clasen <mclasen@redhat.com>
5364 2008-02-16 Matthias Clasen <mclasen@redhat.com>
5366 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
5369 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5371 * gdk/Makefile.am: Don't install private headers. (#463510)
5373 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
5374 the installed header gdkprivate.h.
5376 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5378 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
5379 a crash with hidden, reorderable tabs. (#513230,
5380 Mike Massonnet, patch by Carlos Garnacho)
5382 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5384 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
5385 Warn on duplicate action group names. (#501746, Christian
5388 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5391 * modules/other/gail/tests/Makefile.am:
5392 * modules/other/gail/libgail-util/Makefile.am:
5393 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
5394 builds. (#516254, Yevgen Muntyan)
5396 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5401 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
5402 instead of hardcoded target tables. (#516092, Christian Persch)
5404 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5406 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
5407 add the same target atom twice. (#516087, Christian Persch)
5409 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5411 * tests/testfilechooser.c: Add a --backend option.
5412 (#516073, Christian Persch)
5414 2008-02-16 Richard Hult <richard@imendio.com>
5416 * gdk/quartz/gdkprivate-quartz.h:
5417 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
5420 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5422 * configure.in: Go back to 2.13.0 as version for now,
5423 as there was no consensus to do the jump.
5425 * many other places: Update Since: tags.
5427 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5429 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
5431 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
5433 2008-02-15 Richard Hult <richard@imendio.com>
5435 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
5436 instead of bounds when resizing windows.
5438 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5440 * gdk/x11/gdkkeys-x11.c:
5441 * gdk/x11/gdkcolor-x11.c:
5442 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
5444 2008-02-15 Matthias Clasen <mclasen@redhat.com>
5446 * gdk/x11/gdktestutils-x11.c:
5447 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
5449 2008-02-15 Tor Lillqvist <tml@novell.com>
5451 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
5452 leak Registry key handles. (#516578)
5454 2008-02-14 Richard Hult <richard@imendio.com>
5456 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
5457 makeKeyWindow unfortunately doesn't work in all cases, we must use
5458 makeKeyAndOrderFront.
5460 2008-02-14 Richard Hult <richard@imendio.com>
5462 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
5463 (gdk_window_hide), (gdk_window_fullscreen),
5464 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
5465 the window is hidden.
5467 2008-02-14 Richard Hult <richard@imendio.com>
5469 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
5470 resizing to be consistent and to avoid introducing an internal
5471 transform in the view.
5473 2008-02-14 Richard Hult <richard@imendio.com>
5475 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
5478 2008-02-14 Johan Dahlin <johan@gnome.org>
5480 * gdk/gdktestutils.h
5481 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
5483 2008-02-13 Richard Hult <richard@imendio.com>
5485 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
5486 Remove unused variables.
5487 (gtk_clipboard_set_contents),
5488 (gtk_clipboard_get_owner), (clipboard_unset),
5489 (gtk_clipboard_request_targets): Notify the previous clipboard
5490 owner when the owner changes. Fixes bug #493406.
5492 2008-02-13 Richard Hult <richard@imendio.com>
5494 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
5495 the return value (return number of colors that failed), and handle
5497 (gdk_colormap_free_colors): Fix typo in comment.
5499 2008-02-13 Kristian Rietveld <kris@imendio.com>
5501 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
5502 queue a redraw if the rubber banding has actually been active.
5504 2008-02-12 Matthias Clasen <mclasne@redhat.com>
5506 * gtk/gtkpapersize.c:
5507 * gtk/gtkprintoperation.c:
5508 * gtk/gtkvolumebutton.c:
5509 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
5510 out by Behdad Esfahbod.
5512 2008-02-12 Federico Mena Quintero <federico@novell.com>
5514 Merged from gtk-2-12:
5516 Don't focus the file list when shortcuts get activated. This
5517 removes a lot of ambiguity in when the file selection should
5518 change, and makes the overall code flow simpler.
5520 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
5521 file/save dialog clears the filename entry when changing
5524 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
5525 focus should not go to the file list when a shortcut is activated.
5527 * gtk/gtkfilechooserdefault.c
5528 (shortcuts_activate_volume_mount_cb): Don't focus the file list
5529 (shortcuts_activate_get_info_cb): Likewise.
5531 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
5532 the file list (this was the last place where we would focus the
5533 file list explicitly). If you are in the location entry, for
5534 example, you don't want Alt-Home to take you to the file list; you
5535 just want the current folder to change. Thanks to Olle Bergkvist
5536 <olle.bergkvist@yahoo.se> for pointing this out in
5537 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
5538 (focus_browse_tree_view_if_possible): Removed.
5540 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5542 Skip exensions when selecting filenames in the save-as dialog.
5543 (#362516, Carlos Garnacho)
5545 * gtk/gtkfilechooserentry.h:
5546 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
5547 New function to skip the extension part when selecting a filename.
5548 (_gtk_file_chooser_entry_set_base_folder): Use it here.
5550 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
5553 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5555 * gtk/gtkiconview.c: Fix state change reporting for
5556 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
5558 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
5560 * gtk/gtkrecentchooser.c:
5561 (gtk_recent_chooser_class_init): Set the default value of the
5562 :show-not-found property to TRUE, as every implementation sets
5565 * gtk/gtkrecentchooserdefault.c:
5566 (_gtk_recent_chooser_default_init): Sync show_tips to the
5567 default value of the :show-tips property.
5569 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5571 * gtk/gtkclipboard-quartz.c:
5573 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
5576 2008-02-12 Kristian Rietveld <kris@imendio.com>
5578 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
5579 (gtk_tree_view_real_toggle_cursor_row): guard against people
5580 deleting the row in question in the selection-changed callback.
5581 (#514621, Andreas Koehler).
5583 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5585 * gtk/*.c: Unify the handling of various "Enter" keysyms
5586 all over the place. (#515047, Christian Persch)
5588 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5590 * gtk/gtkfilesystemmodel.c:
5592 * gtk/gtkwidget.c: Use g_value_set_static_string() where
5593 appropriate. (#515042, Christian Persch)
5595 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5597 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
5599 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5601 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
5603 2008-02-12 Matthias Clasen <mclasen@redhat.com>
5605 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
5606 (recent_model_sort_drag_data_get):
5607 (search_model_sort_drag_data_get):
5608 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
5609 * gtk/gtkpathbar.c (button_drag_data_get_cb):
5610 Use gtk_selection_data_set_uris() instead of doing it
5611 by hand. (#514890, Christian Persch)
5613 2008-02-12 Michael Natterer <mitch@imendio.com>
5615 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
5616 gtk_get_current_event_time().
5618 2008-02-12 Michael Natterer <mitch@imendio.com>
5620 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
5621 gtk_window_get_key_hash() to get the hash instead of manually
5622 fiddling with quarks and gtk_window_keys_changed(). Also add
5623 g_return_if_fail() to this public function.
5625 2008-02-11 Matthias Clasen <mclasen@redhat.com>
5627 Support keynav in status icons. (#473786, Li Yuan)
5629 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
5631 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
5633 2008-02-11 Kristian Rietveld <kris@imendio.com>
5635 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
5636 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
5637 wrt. link deletion from list; contination of fix for #503569.
5639 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
5641 * gtk/gtkrecentchoosermenu.c:
5642 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
5643 on the placeholder menu item.
5645 * tests/testrecentchoosermenu.c:
5646 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
5647 whether the placeholder menu item gets shown.
5649 2008-02-10 Cody Russell <bratsche@gnome.org>
5651 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
5652 Check the return value of _gtk_file_chooser_get_file_system () for
5653 NULL before passing it to gtk_file_system_path_to_uri ().
5654 (#515667, Francesco Montorsi)
5656 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
5658 * gtk/gtkbuilder.c: Improve the documentation for
5659 gtk_builder_connect_signals. (#514471)
5661 2008-02-10 Matthias Clasen <mclasen@redhat.com>
5663 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
5666 2008-02-08 Cody Russell <bratsche@gnome.org>
5668 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
5669 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
5671 2008-02-08 Richard Hult <richard@imendio.com>
5673 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
5674 delta from the NSEvent for now, generating multiple scroll events
5675 results in a lot of events getting queued up and things get really
5678 2008-02-08 Sven Herzberg <sven@imendio.com>
5680 Adjust the code to match the documentation, examples, "common sense"
5681 and existing applications.
5683 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
5684 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
5687 2008-02-07 Cody Russell <bratsche@gnome.org>
5689 * gdk/win32/gdkevents-win32.c
5690 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
5691 of a block that were causing compile problems on old
5692 compilers. (#515053, reported by Kazuki IWAMOTO)
5694 2008-02-07 Michael Natterer <mitch@imendio.com>
5701 * gtk/gtkmenushell.c
5703 * gtk/gtkoptionmenu.c
5707 * gtk/gtkradiomenuitem.c
5709 * gtk/gtkscrolledwindow.c
5710 * gtk/gtksocket.c: remove g_return_if_fail() from private
5711 functions and virtual function implementations.
5713 2008-02-07 Michael Natterer <mitch@imendio.com>
5716 * gtk/gtkassistant.c
5720 * gtk/gtkcellrenderercombo.c
5723 * gtk/gtkdrawingarea.c
5724 * gtk/gtkentrycompletion.c
5730 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
5731 functions and virtual function implementations.
5733 2008-02-07 Christian Persch <chpe@gnome.org>
5735 * gdk/gdkpixbuf-render.c:
5736 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
5737 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
5738 otherwise there will be random pixel values in the semi-transparent
5739 area of the pixbuf within the mask. Bug #487865.
5741 2008-02-06 Cody Russell <bratsche@gnome.org>
5743 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
5744 otherwise things get wonky when you click on a menu. This fixes
5745 a regression caused in #505928. Thanks to Tor for spotting this
5748 2008-02-06 Michael Natterer <mitch@imendio.com>
5750 * gtk/gtkcontainer.c
5757 * gtk/gtkmenushell.c
5759 * gtk/gtkseparatortoolitem.c
5761 * gtk/gtktextlayout.c
5762 * gtk/gtktoggletoolbutton.c
5763 * gtk/gtktoolbutton.c
5766 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
5769 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5771 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
5772 Allow to store half-open ranges.
5774 2008-02-05 Cody Russell <bratsche@gnome.org>
5776 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
5777 down the stack until we get to a window that is mapped.
5778 Otherwise hiding a window will cause all windows in the app
5779 to be blocked. (#514643)
5781 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5783 * gtk/updateiconcache.c: Ignore images in the toplevel theme
5784 directory, avoiding one source of invalid caches that has been
5785 spotted in the wild.
5787 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5789 * gtk/updateiconcache.c: Fix the previous commit to compile.
5791 2008-02-05 Matthias Clasen <mclasen@redhat.com>
5793 * gtk/updateiconcache.c: Install a printerr handler that
5794 prepends the program name, since gtk-update-icon-cache output
5795 often appears in the middle of other output, e.g. rpm update logs.
5797 2008-02-05 Cody Russell <bratsche@gnome.org>
5799 * gdk/win32/gdkprivate-win32.h
5800 * gdk/win32/gdkevents-win32.c
5801 * gdk/win32/gdkwindow-win32.c
5802 * gdk/win32/gdkwindow-win32.h
5803 * gdk/win32/gdkwin32.h:
5804 Modal window rework. (#455627 and #511111)
5806 2008-02-04 Michael Natterer <mitch@imendio.com>
5808 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
5809 g_return_if_fail() if the cell is not part of the combo instead of
5810 crashing in the next line.
5812 2008-02-01 Cody Russell <cody@jhu.edu>
5814 * modules/engines/ms-windows/xp_theme.[ch]
5815 * modules/engines/ms-windows/xp_theme_defs.h
5816 * modules/engines/ms-windows/msw_rc_style.c
5817 * modules/engines/ms-windows/msw_theme_main.c
5818 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
5819 attempted to stylize more like the rest of the gtk+ stack's code.
5821 2008-02-01 Michael Natterer <mitch@imendio.com>
5823 * tests/testgtk.c: initialize GdkColor structs to fix warning
5824 about uninitialized "pixel" member.
5826 * tests/testactions.c: connect the toolbar_style() callback so it
5827 does something useful and doesn't warn about being defined but not
5830 2008-01-31 Cody Russell <bratsche@gnome.org>
5832 * gdk/win32/gdkevents-win32.c:
5833 Refactored some of the window hiding/showing code from
5834 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
5835 under WM_ACTIVATE was causing the application to go into
5836 a weird state when the user right-clicked on the taskbar
5837 entry of a window that was minimized. (#505928)
5839 2008-01-31 Cody Russell <bratsche@gnome.org>
5841 * gtk/gtkpaned.c (gtk_paned_set_position):
5842 Change queue_resize() to queue_draw(), and add a check for
5843 child2 != NULL in case someone calls this before there is
5844 a child packed in there. (#144269 again)
5846 2008-01-31 Sven Neumann <sven@gimp.org>
5848 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
5849 applied patch from Denis Oliver Kropp <dok@directfb.org>.
5851 2008-01-31 Sven Neumann <sven@gimp.org>
5853 * gdk/directfb/gdkdisplay-directfb.c
5854 * gdk/directfb/gdkdrawable-directfb.c
5855 * gdk/directfb/gdkprivate-directfb.h
5856 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
5857 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
5859 2008-01-31 Richard Hult <richard@imendio.com>
5861 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
5862 issues with undecorated windows. Revert the change done on
5863 2008-01-25 and fix it by using the view's bounds instead. The
5864 bounds will always be up to date when setting up the tracking
5865 rect, so this should be more robust.
5867 2008-01-30 Sven Neumann <sven@gimp.org>
5869 * gdk/directfb/gdkdrawable-directfb.c
5870 * gdk/directfb/gdkwindow-directfb.c
5871 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
5872 Oliver Kropp <dok@directfb.org>. Adds debug messages using
5873 DirectFB's debugging system
5875 2008-01-30 Sven Neumann <sven@gimp.org>
5877 * gdk/directfb/gdkdirectfb.h
5878 * gdk/directfb/gdkdisplay-directfb.c
5879 * gdk/directfb/gdkdrawable-directfb.c
5880 * gdk/directfb/gdkim-directfb.c
5881 * gdk/directfb/gdkimage-directfb.c
5882 * gdk/directfb/gdkinput-directfb.c
5883 * gdk/directfb/gdkmain-directfb.c
5884 * gdk/directfb/gdkpixmap-directfb.c
5885 * gdk/directfb/gdktestutils-directfb.c
5886 * gdk/directfb/gdkvisual-directfb.c
5887 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
5888 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
5889 errors and has some cleanups.
5891 2008-01-30 Michael Natterer <mitch@imendio.com>
5893 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
5894 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
5897 * gtk/updateiconcache.c (add_string): cast const gchar* to
5898 gpointer when inserting in a GHashTable.
5900 * tests/testcalendar.c (calendar_detail_cb): remove const from
5901 return value since it's a newly allocated string.
5903 (calendar_update_details): free the detail.
5905 2008-01-29 Johan Dahlin <johan@gnome.org>
5907 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
5909 * demos/gtk-demo/demo.ui:
5910 Move the about dialog to the glade file, add accessible tags
5911 examples to the markup file.
5913 2008-01-28 Paolo Borelli <pborelli@katamail.com>
5915 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
5916 layout, fixes #512375.
5918 2008-01-28 Michael Natterer <mitch@imendio.com>
5920 * gtk/gtktextchild.c
5921 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
5923 2008-01-28 Michael Natterer <mitch@imendio.com>
5925 * demos/gtk-demo/builder.c (about_activate): use
5926 gtk_about_dialog_set_program_name() instead of the deprecated
5929 2008-01-28 Michael Natterer <mitch@imendio.com>
5931 * gtk/gtktextchild.c
5932 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
5935 2008-01-26 Johan Dahlin <johan@gnome.org>
5937 * tests/Makefile.am:
5938 * tests/textbuffertest.c:
5939 Rename textbuffer test and port it to the new test framework
5941 2008-01-25 Johan Dahlin <johan@gnome.org>
5943 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
5944 unsetting of GTK_MODULES.
5946 * gtk/gtk-builder-convert
5947 (GtkBuilderConverter._convert_adjustment): Handle the case where
5948 there is no child text node.
5949 (GtkBuilderConverter): Allow xml comments in most places.
5951 2008-01-25 Johan Dahlin <johan@gnome.org>
5953 * gtk/gtk-builder-convert
5954 (GtkBuilderConverter._convert_combobox_items): Remove the items
5955 even if there are no items set.
5956 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
5957 signals and tooltips for all menu items subclasses and
5958 GtkImageMenuItem:label.
5959 Makes it possible to fully convert and run Jokosher.glade.
5961 2008-01-25 Johan Dahlin <johan@gnome.org>
5963 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
5964 (gtk_widget_buildable_get_internal_child), (free_action),
5965 (free_relation), (gtk_widget_buildable_parser_finished),
5966 (accessibility_start_element),
5967 (gtk_widget_buildable_custom_tag_start),
5968 (gtk_widget_buildable_custom_finished):
5969 Implement accessible support, fixes #454653.
5971 * gtk/gtk-builder-convert:
5972 Add support for migrating old glade files
5974 * tests/buildertest.c: (test_widget), (test_file):
5975 Add accessible tests and imprve the test_file function to display
5976 toplevels and run dialogs.
5978 2008-01-25 Richard Hult <richard@imendio.com>
5980 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
5981 didn't change, fixes focus event issues for undecorated windows.
5983 2008-01-25 Richard Hult <richard@imendio.com>
5985 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
5986 const and remove unused variables).
5988 2008-01-25 Michael Natterer <mitch@imendio.com>
5991 * gtk/gtkcellrenderer.h
5992 * gtk/gtkimcontext.h
5996 * gtk/gtktreeprivate.h
5997 * gtk/gtktreeviewcolumn.h
5998 * gtk/gtkwidget.h: add const to constant structs which are passed
5999 into GTK+. Also add some forgotten const for const strings.
6003 * gtk/gtkcellrenderer.c
6004 * gtk/gtkimcontext.c
6009 * gtk/gtktreeviewcolumn.c
6010 * gtk/gtkwidget.c: changed accordingly.
6012 2008-01-25 Sven Herzberg <sven@imendio.com>
6014 Reviewed by Johan Dahlin.
6016 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
6017 this is called with something that's not a GtkUIManager
6019 2008-01-24 Johan Dahlin <johan@gnome.org>
6021 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
6022 Chain up to parent, so widgets can have internal children.
6024 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
6026 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
6029 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
6031 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
6033 Use pango_layout_set_height() for calendar details (#506049).
6035 * configure.in: Require 1.19.3 for pango_layout_set_height().
6036 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
6038 2008-01-18 Johan Dahlin <johan@gnome.org>
6040 * gtk/gtk-builder-convert (get_property_node): New method
6041 (GtkBuilderConverter._create_object): Conditionally take a node as
6042 a property value, so don't lose translate/context attributes if they
6044 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
6045 property values instead of strings.
6046 (#509153, Erik van Pienbroek)
6048 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
6050 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
6052 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
6053 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
6054 * tests/testcalendar.c: Duplicate calendar details before returning.
6056 2008-01-16 Christian Persch <chpe@gnome.org>
6058 * gtk/gtkwidget.c: Store the event mask and extension event mode
6059 directly in the gobject data pointer, instead of in an allocated
6062 2008-01-16 Michael Natterer <mitch@imendio.com>
6064 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
6065 gdk-pixbuf now uses gio functions.
6067 2008-01-16 Matthias Clasen <mclasen@redhat.com>
6069 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
6070 the notify::model signal. (#509819, David Zeuthen)
6072 2008-01-15 Michael Natterer <mitch@imendio.com>
6080 * gdk/gdkwindow.h: made more struct pointer and array parameters
6081 const. GDK should now be constified as far as possible without
6082 breaking source compatibility. Includes some minor cleanup like
6083 indentation and s/nfoo/n_foo/ (bug #508544).
6089 * gdk/gdkregion-generic.c
6091 * gdk/directfb/gdkdisplay-directfb.c
6092 * gdk/directfb/gdkwindow-directfb.c
6093 * gdk/quartz/gdkdisplay-quartz.c
6094 * gdk/quartz/gdkwindow-quartz.c
6095 * gdk/win32/gdkdisplay-win32.c
6096 * gdk/win32/gdkwindow-win32.c
6097 * gdk/x11/gdkdisplay-x11.c
6098 * gdk/x11/gdkwindow-x11.c: changed accordingly.
6100 2008-01-14 Michael Natterer <mitch@imendio.com>
6102 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
6105 (gtk_rc_parse_any): change variables to const and introduce
6106 another local variable to fix const warnings.
6108 2008-01-14 Michael Natterer <mitch@imendio.com>
6110 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
6111 of gdk_screen_get_font_options() to gpointer to get rid of const
6114 2008-01-14 Michael Natterer <mitch@imendio.com>
6116 * tests/testdnd.c (source_drag_data_get): fix another call to
6117 gtk_selection_data_set().
6119 2008-01-14 Michael Natterer <mitch@imendio.com>
6121 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
6124 2008-01-14 Michael Natterer <mitch@imendio.com>
6126 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
6128 2008-01-14 Michael Natterer <mitch@imendio.com>
6130 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
6131 "uris" to guchar* when passing it to gtk_selection_data_set().
6133 2008-01-14 Michael Natterer <mitch@imendio.com>
6139 * gdk/gdkinternals.h
6141 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
6142 parameters const (bug #508544).
6147 * gdk/gdkrectangle.c
6148 * gdk/gdkpolyreg-generic.c
6149 * gdk/gdkregion-generic.c
6150 * gdk/directfb/gdkcolor-directfb.c
6151 * gdk/directfb/gdkgc-directfb.c
6152 * gdk/directfb/gdkgeometry-directfb.c
6153 * gdk/directfb/gdkwindow-directfb.c
6154 * gdk/quartz/gdkcolor-quartz.c
6155 * gdk/quartz/gdkgc-quartz.c
6156 * gdk/quartz/gdkgeometry-quartz.c
6157 * gdk/quartz/gdkwindow-quartz.c
6158 * gdk/win32/gdkcolor-win32.c
6159 * gdk/win32/gdkgc-win32.c
6160 * gdk/win32/gdkgeometry-win32.c
6161 * gdk/win32/gdkprivate-win32.h
6162 * gdk/win32/gdkwindow-win32.c
6163 * gdk/x11/gdkcolor-x11.c
6164 * gdk/x11/gdkgc-x11.c
6165 * gdk/x11/gdkgeometry-x11.c
6166 * gdk/x11/gdkmain-x11.c
6167 * gdk/x11/gdkprivate-x11.h
6168 * gdk/x11/gdkwindow-x11.c: changed accordingly.
6170 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
6173 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
6175 Explain name choice for gtk_tool_item_toolbar_reconfigured.
6177 * gtk/gtktoolitem.c: Add comment expaining name choice for
6178 gtk_tool_item_toolbar_reconfigured.
6180 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
6182 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
6183 implementations to notify its children, when some aspect of their
6184 configuration changed (#509042).
6186 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
6187 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
6188 Rename _gtk_tool_item_toolbar_reconfigured.
6190 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
6192 Include <gtk/gtktoolshell.h> from gtk.h.
6194 * gtk/gtk.h: Add gtktoolshell.h
6196 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
6198 Print angle brackets arround e-mail addresses in the about dialog
6199 (#409520, Mariano Suárez-Alvarez).
6201 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
6203 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
6205 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
6206 special casing so test widgets are always queues for destruction
6209 * gtk/tests/testing.c: removed bits left-over from testing without
6212 2008-01-10 Tor Lillqvist <tml@novell.com>
6214 * modules/other/gail/libgail-util/Makefile.am
6215 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
6218 2008-01-10 Tor Lillqvist <tml@novell.com>
6220 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
6221 uses gtkprintunixdialog API.
6223 2008-01-10 Tor Lillqvist <tml@novell.com>
6225 * gdk/win32/gdkdisplay-win32.c
6226 * gdk/win32/gdkglobals-win32.c
6227 * gdk/win32/gdkprivate-win32.h
6228 * gdk/win32/gdkscreen-win32.c
6229 * gdk/win32/gdkwindow-win32.c: Implement
6230 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
6231 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
6234 2008-01-10 Cody Russell <bratsche@gnome.org>
6236 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
6237 Properly ref/unref windows and parents. (#506769)
6239 2008-01-10 Richard Hult <richard@imendio.com>
6241 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6242 (gdk_window_hide), (move_resize_window_internal): Move the
6243 tracking rect workaround from here...
6245 * gdk/quartz/GdkQuartzWindow.c:
6246 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
6247 movements during showing/hiding operations. Fixes bug #508516.
6249 2008-01-10 Michael Natterer <mitch@imendio.com>
6251 * gdk/directfb/gdkscreen-directfb.c
6252 (gdk_screen_get_monitor_width_mm)
6253 (gdk_screen_get_monitor_height_mm)
6254 (gdk_screen_get_monitor_plug_name): add these functions to make
6257 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
6259 * gtk/gtkrecentchoosermenu.c:
6260 (idle_populate_func), (idle_populate_clean_up): Fix possible
6261 recursion by resetting the idle source id. (#507605, William
6264 2008-01-10 Kristian Rietveld <kris@imendio.com>
6266 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
6267 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
6268 avoid valgrind warnings. (#507751, patch from Christian Persch).
6270 2008-01-10 Kristian Rietveld <kris@imendio.com>
6272 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
6273 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
6275 2008-01-10 Kristian Rietveld <kris@imendio.com>
6277 Fix #477175, reported by Juri Pakaste.
6279 * gtk/gtktreeprivate.h:
6280 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
6281 tree_view->priv->dy here directly, just calculate the new value
6282 and set it on the adjustment,
6283 (gtk_tree_view_adjustment_changed): add guards to not call
6284 gtk_tree_view_dy_to_top_row() if we are currently in
6285 gtk_tree_view_top_row_to_dy(),
6286 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
6287 coordinates, not tree coordinates,
6288 (gtk_tree_view_real_start_editing): add cast.
6290 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
6291 position of the editable in the "create new row and start editing"
6294 2008-01-09 Michael Natterer <mitch@imendio.com>
6296 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
6299 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
6300 * gtk/gtkicontheme.c (theme_list_contexts)
6301 (gtk_icon_theme_lookup_icon)
6302 * gtk/gtkimcontextsimple.c (beep_window)
6303 * gtk/gtklinkbutton.c (set_link_color)
6304 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
6307 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
6308 variable and add const to another to fix a warning.
6310 2008-01-07 Matthias Clasen <mclasen@redhat.com>
6312 * gtk/gtkassistant.c (remove_page): Be more robust when removing
6313 the current page. (#499951, Andreas Sandberg)
6315 2008-01-06 Johan Dahlin <johan@gnome.org>
6317 * gtk/gtkspinbutton.c: Declare value in the example code for
6318 GtkSpinButton::output, as pointed out by Anders Carlsson.
6320 2008-01-06 Christian Persch <chpe@gnome.org>
6322 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
6323 and remove an obsolete event box. Bug #506760.
6325 2008-01-06 Johan Dahlin <johan@gnome.org>
6327 * tests/buildertest.c (test_domain):
6328 Update, GtkBuilder::translation-domain is no longer set
6330 * gtk/gtkbuilderparser.c (parse_interface):
6331 Allow domains to be overridden in <interface>'s if a translation-domain
6332 is set in the builder.
6333 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
6334 of the builder, make the domain set in the <interface> apply only to strings
6336 (#496831, Ryan Lortie)
6338 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
6341 * gtk/gtktreestore.c (tree_model_end_element):
6342 Remove an unused variable
6344 2008-01-06 Matthias Clasen <mclasen@redhat.com>
6346 * gtk/gtkspinbutton.c: Document the ::output signal and
6347 add an example. (#507566, example by Owen Taylor)
6349 2008-01-06 Johan Dahlin <johan@gnome.org>
6351 * gtk/gtkcellrenderercombo.c:
6352 (gtk_cell_renderer_combo_get_property),
6353 (gtk_cell_renderer_combo_set_property):
6354 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
6355 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
6356 * gtk/gtknotebook.c: (gtk_notebook_set_property):
6357 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
6358 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
6359 (gtk_text_buffer_get_property):
6360 * gtk/gtktextview.c: (gtk_text_view_set_property):
6361 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
6362 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
6363 (gtk_tool_button_get_property):
6364 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
6365 (gtk_tool_item_get_property):
6366 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
6367 * gtk/gtkwidget.c: (gtk_widget_set_property):
6368 * gtk/gtkwindow.c: (gtk_window_set_property):
6369 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
6372 2008-01-06 Johan Dahlin <johan@gnome.org>
6374 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
6375 Make sure that --root works for toplevel widgets.
6376 (#491847, Phil Lello)
6378 2008-01-05 Johan Dahlin <johan@gnome.org>
6380 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
6381 to make sure that make test-report works properly
6383 2008-01-05 Christian Persch <chpe@gnome.org>
6385 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
6386 GType as integer through gpointer. Bug #507395.
6388 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
6390 Avoid some compiler warnings (#507000).
6392 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
6393 for value argument of _gtk_builder_flags_from_string.
6394 * gtk/gtkwidget.c: Don't alias the child pointer passed
6395 to gdk_window_get_user_data.
6397 2008-01-04 Michael Natterer <mitch@imendio.com>
6399 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
6400 to set the time in the returned GdkTimeCoords.
6402 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
6404 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
6405 correct comparison function (kudos to Christian Persch and
6406 Claudio Saavedra for spotting this)
6408 * gtk/gtkrecentchooserutils.c:
6409 (sort_recent_items_mru),
6410 (sort_recent_items_lru): Ditto as above.
6412 2008-01-03 Johan Dahlin <johan@gnome.org>
6414 * tests/defaultvaluetest.c: Make it pass again.
6416 2008-01-02 Johan Dahlin <johan@gnome.org>
6418 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
6419 make it pass on Ubuntu.
6420 (main): Use gtk_test_list_all_types () instead of providing our
6422 And it no longer passes.
6424 2007-12-30 Johannes Schmid <jhs@gnome.org>
6426 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
6427 Also reorder menu when reordering tabs by drag & drop
6430 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
6431 Add a menu to one of the notebooks to have a test-case for
6432 the change mentioned above.
6434 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
6436 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
6438 2007-12-31 Christian Persch <chpe@gnome.org>
6440 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
6441 Plug a mem leak. Bug #506107.
6443 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6445 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
6446 icon cache api change. (#506135, Kazuki Iwamoto)
6448 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6450 Consider "wide-separators" and "separator-height" style properties:
6451 The separator is drawn using gtk_paint_box instead of cairo, when
6452 "wide-separators" is set. Also do not highlight details for previous
6453 or next month, if their day matches the selected day. (#339540)
6455 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
6456 in gtk_calendar_size_request and calendar_paint_day
6457 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
6458 for selected detail separators in GtkCalendar.
6460 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6462 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
6464 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
6465 a local variable instead in gtk_calendar_size_request.
6467 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6469 * tests/defaultvaluetest.c: Add enough exclusions to make the
6472 2007-12-28 Christian Persch <chpe@gnome.org>
6474 * modules/other/gail/Makefile.am:
6475 * modules/other/gail/tests/*:
6476 * configure.in: Merge tests from standalone gail. Bug #504568.
6478 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6480 * gtk/gtkclipboard.c: Make the finalizer work when display is
6483 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6485 Draw bottom shadow of GtkCalender headings. (#506113)
6487 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
6489 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6491 * gtk/gtkcalendar.c: Document the initial values of year/month/day
6494 2007-12-28 Christian Persch <chpe@gnome.org>
6496 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
6497 a mem leak. Bug #506096.
6499 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6502 * gtk/gtktreeview.c:
6503 * gtk/gtkprintoperation.c:
6504 * gtk/gtkprogressbar.c:
6505 * gtk/gtkmessagedialog.c:
6506 * gtk/gtknotebook.c:
6510 * gtk/gtklinkbutton.c:
6511 * gtk/gtkmenu.c: More default property value corrections.
6513 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6515 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
6516 accel_group unless it is set.
6518 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6520 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
6522 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6524 * gtk/gtkhandlebox.c: Fix the default values of shadow and
6525 shadow-type properties.
6527 * gtk/gtkfontsel.c: Fix the default values of several properties.
6529 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
6532 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
6534 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
6537 2007-12-28 Johan Dahlin <johan@gnome.org>
6539 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
6540 (gtk_dialog_buildable_custom_tag_start): Chain up.
6541 This makes it possible to have accelerators tags on GtkDialog
6544 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6546 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
6547 are shown within the widget, or just as tooltip. (#339540)
6549 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
6550 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
6551 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
6554 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6556 Try more decent appearance of calendar details separator. (#339540)
6558 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
6559 and make it short by one pixel on each side.
6561 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6563 Apply trivial code-style changes from attachement 101101. (#339540)
6565 * tests/testcalendar.c: Some updates to current GTK+ code-style.
6567 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6569 Restructure testcalendar for testing calendar details. (#339540)
6571 * tests/testcalendar.c: Push code arround for testing calendar details.
6573 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6575 Implement GtkTooltip API for calendar details. (#339540)
6577 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
6578 Remember detail overflows in calendar_paint_day to show the tooltip
6579 only when neccessary.
6581 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6583 Without setting "detail-width-chars" and "detail-height-rows"
6584 properties not only the widget has to be redrawn on certain
6585 conditions, but also its size must be recalculated. (#339540)
6587 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
6588 that function instead of gtk_widget_queue_draw.
6590 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
6592 Consider details for size-request and expose-event. (#339540)
6594 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
6595 is_color_attribute functions. Change gtk_calendar_size_request
6596 and calendar_paint_day to consider and show calender details.
6598 2007-12-28 Matthias Clasen <mclasen@redhat.com>
6600 * gtk/gtkcombobox.c: Introduce local priv variables to
6603 2007-12-27 Matthias Clasen <mclasen@redhat.com>
6605 * gtk/gtkcombobox.c: Correct the default value for the
6606 tearoff-title property.
6608 * gtk/gtkcellrenderertext.c: Fix the default value for the
6609 wrap-mode and font-scale properties.
6611 * gtk/gtkaspectratio.c: Fix the default value for the ratio
6614 2007-12-27 Matthias Clasen <mclasen@redhat.com>
6616 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
6617 defines. (#505708, MINAMI Hirokazu)
6619 2007-12-27 Christian Persch <chpe@gnome.org>
6621 * Makefile.am: Install gail.pc. Bug #505859.
6623 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
6625 Add infrastructure for GtkCalendar details. (#339540)
6627 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
6628 Add "detail-width-chars" and "detail-height-rows" properties,
6629 and gtk_calendar_set_detail_func function.
6631 2007-12-27 Xan Lopez <xan@gnome.org>
6634 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
6636 Add gtk_border_new to avoid memory allocator confusions when using
6637 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
6639 2007-12-27 Christian Persch <chpe@gnome.org>
6641 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
6642 bug #504886 not to read unitialised memory.
6644 2007-12-26 Xan Lopez <xan@gnome.org>
6646 * gtk/gtkstatusbar.c (has_extra_children): take into account the
6647 modification of the internal frame contents to decide if we have
6648 extra children. (#415677)
6650 2007-12-22 Christian Persch <chpe@gnome.org>
6652 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
6654 2007-12-25 Christian Persch <chpe@gnome.org>
6656 * modules/other/gail/gailwindow.c: (gail_window_initialize):
6657 Initialise |widget|. Fixes a buglet introduced by the commit from bug
6660 2007-12-25 Christian Persch <chpe@gnome.org>
6662 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
6664 2007-12-25 Christian Persch <chpe@gnome.org>
6666 * modules/other/gail/*.[ch]: Remove relocations from the atk
6667 factories. Remove unused gail_foo_new() functions. Fix object
6668 instantiation to be derivation safe by moving initialisation code
6669 from the removed gail_foo_new() functions to the
6670 AtkObjectClass::initialize implementation. Bug #505226.
6672 2007-12-24 Matthias Clasen <mclasen@redhat.com>
6674 * modules/other/gail/gailentry.c:
6675 * modules/other/gail/gailimage.c:
6676 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
6677 uses of clipboards and settings. (#504722, Christian Persch)
6679 2007-12-24 Matthias Clasen <mclasen@redhat.com>
6681 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
6684 2007-12-24 Matthias Clasen <mclasen@redhat.com>
6686 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
6687 use the time and button information from the event. (#504901,
6690 2007-12-23 Cody Russell <bratsche@gnome.org>
6692 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
6693 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
6694 Fixes a regression caused by #164537 patch where transient
6695 windows that are hidden get shown (incorrectly) when their
6696 parents are minimized. (#504984)
6698 2007-12-22 Christian Persch <chpe@gnome.org>
6700 * modules/other/gail/gailcell.c:
6701 * modules/other/gail/gailcontainercell.c:
6702 * modules/other/gail/gailexpander.c:
6703 * modules/other/gail/gailtextcell.c:
6704 * modules/other/gail/gailtextview.c:
6705 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
6707 2007-12-22 Christian Persch <chpe@gnome.org>
6709 * modules/other/gail/*.c: Include config.h. Bug #504720.
6711 2007-12-22 Christian Persch <chpe@gnome.org>
6713 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
6714 handwritten get_type functions. Bug #504661.
6716 2007-12-23 Xan Lopez <xan@gnome.org>
6718 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
6719 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
6721 Patch by Sadrul Habib Chowdhury (#504804)
6723 2007-12-22 Christian Persch <chpe@gnome.org>
6725 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
6726 #504645, patch by Li Yuan.
6728 2007-12-22 Christian Persch <chpe@gnome.org>
6730 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
6732 2007-12-22 Christian Persch <chpe@gnome.org>
6734 * modules/other/gail/gail.c:
6735 * modules/other/gail/gailbutton.c:
6736 * modules/other/gail/gailcell.c:
6737 * modules/other/gail/gailcombo.c:
6738 * modules/other/gail/gailcombo.h:
6739 * modules/other/gail/gailcombobox.c:
6740 * modules/other/gail/gailentry.c:
6741 * modules/other/gail/gailexpander.c:
6742 * modules/other/gail/gailmenuitem.c:
6743 * modules/other/gail/gailnotebook.c:
6744 * modules/other/gail/gailnotebookpage.c:
6745 * modules/other/gail/gailnotebookpage.h:
6746 * modules/other/gail/gailoptionmenu.c:
6747 * modules/other/gail/gailrange.c:
6748 * modules/other/gail/gailtextview.c:
6749 * modules/other/gail/gailtreeview.c:
6750 * modules/other/gail/gailtreeview.h:
6751 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
6754 2007-12-22 Matthias Clasen <mclasen@redhat.com>
6756 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
6759 2007-12-21 Richard Hult <richard@imendio.com>
6761 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
6762 Plug leak of destroyed subviews, fixes bug #504753.
6764 2007-12-20 Johan Dahlin <johan@gnome.org>
6766 * tests/Makefile.am (TEST_PROGS):
6767 * tests/defaultvaluetest.c: Add a test for default values,
6768 based on program by Christan Perch
6770 2007-12-20 Johan Dahlin <johan@gnome.org>
6772 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
6773 Refactor to avoid some duplication.
6774 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
6775 Fixes #504749, Yuri Pimenov
6777 2007-12-20 Kristian Rietveld <kris@imendio.com>
6779 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
6780 the build work again on systems without xrandr 1.2.
6782 2007-12-20 Christian Persch <chpe@gnome.org>
6785 * modules/other/gail/libgail-util/Makefile.am:
6786 Keep the same libtool version as the standalone libgail-util had.
6789 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
6791 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
6793 2007-12-20 Alexander Larsson <alexl@redhat.com>
6795 * gdk/x11/gdkapplaunchcontext-x11.c:
6796 Update for gio API changes
6798 2007-12-20 Richard Hult <richard@imendio.com>
6800 * gdk/quartz/GdkQuartzWindow.c:
6801 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
6802 processing events after changing the size.
6804 2007-12-20 Richard Hult <richard@imendio.com>
6806 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
6807 Add stub for quartz to fix build.
6809 2007-12-20 Christian Persch <chpe@gnome.org>
6811 * modules/other/gail/Makefile.am:
6812 * modules/other/gail/gailimage.c: (gail_image_class_init),
6813 (gail_image_init), (elide_underscores), (gail_image_get_name),
6814 (atk_image_interface_init), (gail_image_finalize):
6815 * modules/other/gail/gailimage.h:
6816 R modules/other/gail/gailintl.h:
6817 * po/POTFILES.skip: Use the stock item's label as the name of the
6818 accessible in gailimage.c. Bug #504246.
6820 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
6822 Avoid some compiler warnings and remove obsolete code. (#339540)
6824 * gtk/gtkcalendar.c: Change week and year variable in
6825 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
6826 0" block from calendar_paint_day: The feature in question is handled
6827 few lines above. Cast data returned by gtk_selection_data_get_text()
6828 to (gchar*) in gtk_calendar_drag_data_received.
6830 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
6832 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
6834 2007-12-19 Johan Dahlin <johan@gnome.org>
6836 * tests/buildertest.c (test_object_properties):
6837 Add another call to gtk_builder_add_string after using
6838 delayed properties, as reported in #504393 but already
6841 2007-12-18 Christian Persch <chpe@gnome.org>
6844 * docs/reference/Makefile.am:
6845 * docs/reference/libgail-util/*:
6846 * gail-uninstalled.pc.in:
6848 * modules/Makefile.am:
6849 * modules/other/Makefile.am:
6850 * modules/other/gail/*:
6851 * modules/other/gail/libgail-util/*:
6852 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
6854 2007-12-17 Matthias Clasen <mclasen@redhat.com>
6856 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
6857 * gdk/win32/gdkproperty-win32.c:
6858 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
6860 * gtk/gtkimmodule.[hc]:
6861 * gtk/gtkimmulticontext.[hc]: When determining the default context,
6862 look at the gtk-im-module setting, and listen for changes to the
6863 setting. (#502446, Akira Tagoh)
6865 2007-12-17 Kristian Rietveld <kris@imendio.com>
6867 * gtk/gtktooltip.c (gtk_tooltip_finalize),
6868 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
6869 to NULL as soon as it's destroyed. (#496546, patch from
6872 2007-12-17 Kristian Rietveld <kris@imendio.com>
6874 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6875 always determine what arrow to show if show_sort_indicator is true.
6876 (#352738, Chris Vine).
6878 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
6880 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
6883 * gtk/gtkpaned.c: Call gtk_container_forall instead of
6884 gtk_container_foreach in get_child_panes.
6886 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
6888 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
6890 Plug leak: When reordering the info in the list the old node is
6891 removed but not freed. (#503569)
6893 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
6895 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
6896 Use u32 instead of __u32 and u8 instead of __u8 as the other types
6897 are deprecated since DirectFB 1.0.0. If compiling with an older
6898 version define the new type name to the old types. Fixes bug #503190.
6900 2007-12-14 Ray Strode <rstrode@redhat.com>
6902 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
6903 instead of g_signal_connect_after (..., "realize", ...) as an
6904 alternative to gtk_widget_realize () (bug 503537).
6906 2007-12-14 Michael Natterer <mitch@imendio.com>
6908 * gdk/gdkinternals.h
6909 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
6912 * gdk/gdkapplaunchcontext.c
6913 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
6914 header already includes everything now.
6916 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
6918 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
6919 next stable release shall be 2.16, not 2.14 - even if disagree.
6921 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
6923 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
6925 Change GtkToolItem to retrieve its properties from GtkToolShell
6926 interface, instead of relying on being child of a GtkToolbar.
6929 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
6930 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
6931 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
6932 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
6933 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
6934 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
6935 Take section docs from template file and update them for GtkToolShell.
6936 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
6937 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
6939 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
6941 Extract loading of GtkPageSetup and GtkPrintSettings from their
6942 *_new_*() functions and move that code into separate
6943 *_load_*() functions (#475565).
6945 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
6946 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
6947 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
6948 Change the matching *_new_*() functions to use those functions.
6950 2007-12-14 Matthias Clasen <mclasen@redhat.com>
6953 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
6955 2007-12-14 Kristian Rietveld <kris@imendio.com>
6957 * gtk/tests/liststore.c:
6958 * gtk/tests/treestore.c: added tests for insertion functions.
6960 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
6962 * Add RandR 1.2 support
6964 - New monitors_changed signal - New API to get width/height of
6965 monitors, and the name of the plug
6967 2007-12-13 Kristian Rietveld <kris@imendio.com>
6969 * gtk/tests/liststore.c:
6970 * gtk/tests/treestore.c: test the move and swap functions on a
6971 store with only one node.
6973 2007-12-13 Kristian Rietveld <kris@imendio.com>
6975 * gtk/gtktestutils.c (gtk_test_init): add a call to
6978 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
6981 2007-12-13 Kristian Rietveld <kris@imendio.com>
6983 * gtk/tests/liststore.c:
6984 * gtk/tests/treestore.c: start composing tests for the list and tree
6987 * gtk/tests/treeview-scrolling.c: added automated tests for
6988 GtkTreeView's scrolling "subsystem".
6990 * gtk/tests/Makefile.am: updated; added new test programs.
6992 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
6994 Make the code compile again after the GdkAppLaunchContext changes.
6996 * configure.in: Add gio-2.0 to GDK_PACKAGES.
6997 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
6999 2007-12-12 Matthias Clasen <mclasen@redhat.com>
7001 * gdk/gdkapplaunchcontext.c: Add docs
7003 2007-12-12 Matthias Clasen <mclasen@redhat.com>
7005 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
7006 in gdk, providing startup notification. (#503203)
7008 * gdk/x11/gdkapplaunchcontext-x11.c:
7009 * gdk/win32/gdkapplaunchcontext-win32.c:
7010 * gdk/quartz/gdkapplaunchcontext-quartz.c:
7011 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
7012 parts. All but X11 are just empty stubs for now.
7015 * gdk/gdkinternals.h:
7017 * gdk/x11/Makefile.am:
7018 * gdk/win32/Makefile.am:
7019 * gdk/quartz/Makefile.am:
7020 * gdk/directfb/Makefile.am: Necessary glue.
7022 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
7024 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
7026 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7028 * gdk/directfb/gdktestutils-directfb.c:
7029 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
7030 which adds testing functions to the DirectFB backend.
7032 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7034 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
7035 Ciccani which fixes the mixing of gdk and cairo rendering.
7037 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
7039 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
7040 on "drag-motion" handlers. Clearify documentation for
7043 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
7045 * buildertest.c: made unnecessarily exported symbols static.
7046 switched g_return_if_fail() statements in tests to assertions.
7047 special cased currently failing Widget/accesibility test to
7048 run only for g_test_thorough(), so it doesn't break make check.
7049 some coding style fixes.
7051 * Makefile.am: added buildertest to TEST_PROGS.
7053 2007-12-11 Stefan Kost <ensonic@users.sf.net>
7055 * docs/tutorial/gtk-tut.sgml:
7056 Use gtk_widget_get_parent_window() instead of widget->parent->window.
7058 2007-12-10 Richard Hult <richard@imendio.com>
7060 * gdk/quartz/Makefile.am:
7061 * gdk/quartz/gdkquartz.h:
7062 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
7063 header (bug #405915). Also add a getter for the toplevel nswindow.
7065 2007-12-10 Richard Hult <richard@imendio.com>
7067 * gdk/quartz/gdkdrawable-quartz.c:
7068 (gdk_quartz_drawable_get_context),
7069 (gdk_quartz_drawable_release_context):
7070 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
7071 (gdk_event_check), (gdk_event_dispatch), (poll_func):
7072 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
7073 used for each drawing context and in prepare, dispatch and poll
7074 with one that exists across each main loop iteration. Fixes leaks
7075 on leopard and protects against future leaks introduce when the
7076 underlying system changes again (bug #492977).
7078 2007-12-10 Richard Hult <richard@imendio.com>
7080 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
7081 Fix the check for no changes to position and size.
7083 2007-12-10 Richard Hult <richard@imendio.com>
7085 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
7086 sized areas at (0, 0), patch from Paul Davis.
7088 2007-12-10 Richard Hult <richard@imendio.com>
7090 * gdk/quartz/gdkprivate-quartz.h:
7091 * gdk/quartz/gdkeventloop-quartz.c:
7092 (_gdk_quartz_event_loop_get_pending),
7093 (_gdk_quartz_event_loop_check_pending),
7094 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
7095 (gdk_event_check), (gdk_event_dispatch):
7096 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
7097 (_gdk_events_queue): Fix a bug where we could end up trying to
7098 handle the same event more than once. Based on patch from Paul
7101 2007-12-10 Tor Lillqvist <tml@novell.com>
7103 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
7106 2007-12-10 Matthias Clasen <mclasen@redhat.com>
7108 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
7109 to avoid further fallout from the fix for bug 388321.
7111 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7113 * gdk/directfb/gdkgc-directfb.c:
7114 * gdk/directfb/gdkdrawable-directfb.c:
7115 * gdk/directfb/gdkdirectfb.h:
7116 * gdk/directfb/gdkwindow-directfb.c:
7117 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
7118 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
7119 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
7120 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
7121 which are expected to improve the performance of the DirectFB backend.
7122 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
7124 2007-12-07 Matthias Clasen <mclasen@redhat.com>
7126 * gtk/gtkcontainer.c: Correct the documentation of child
7127 property getter arguments. (#501992, David Brigada)
7129 2007-12-07 Matthias Clasen <mclasen@redhat.com>
7131 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
7132 leak pixbufs. (#502250, Yevgen Muntyan)
7134 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
7136 * gtk/gtkprintunixdialog.c:
7137 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
7138 Print and Page Setup dialogs (#502202).
7140 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
7142 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
7143 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
7144 of XVFB_START, since it's the GTESTER invokation that needs this.
7146 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
7148 * gdk-pixbuf/gdk-pixbuf.symbols:
7150 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
7151 positives in abicheck.sh
7153 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
7155 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
7156 GDK events generations in the DirectFB backend.
7158 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
7160 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
7161 set of likely unused display ids, because MacOS has no seq(1) command.
7163 2007-12-06 Richard Hult <richard@imendio.com>
7165 * gdk/quartz/gdkevents-quartz.c:
7166 (synthesize_crossing_events_for_ns_event): Fix warning when
7167 switching spaces in leopard.
7169 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
7171 * tests/floatingtest.c: ported to new testing framework.
7173 * tests/Makefile.am: run floatingtest as testing framework test.
7175 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
7177 * tests/autotestfilechooser.c: majorly speed up execution by reducing
7178 timeouts and converting main loop sleeps to pending/iterate loops with
7179 very low priority async handlers. eliminate output for non-verbose
7180 tests. assert successfull subtests in all test functions. use testing
7181 framework in main().
7183 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
7184 executed inside Xvfb upon make check.
7186 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
7188 * tests/objecttests.c: use string comparisons for string property
7189 values and get rid of referencing symbols in array initialization.
7191 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
7193 * gtk+/Makefile.decl: run tests in current dir after setting up the
7194 logging directory, so their results get properly merged into the
7197 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
7198 tests to loop over registered Gdk/Gtk+ types.
7200 * gtk+/tests/objecttests.c: new test program, implements automated
7201 property tests. several properties are blacklisted because they
7202 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
7203 can be used to test blacklisted properties and see which proprty failed.
7205 2007-12-04 Richard Hult <richard@imendio.com>
7207 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
7208 Fully initialize the root window, fixes bug #501583.
7210 2007-12-04 Matthias Clasen <mclasen@redhat.com>
7212 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
7215 2007-12-03 Richard Hult <richard@imendio.com>
7217 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
7218 Don't crash when dragging from a source that doesn't support uri
7219 lists (bug #499868, Paul Davis).
7221 2007-12-03 Richard Hult <richard@imendio.com>
7223 * gdk/quartz/gdkwindow-quartz.c:
7224 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
7225 parent relative bg pixmap is set, and no parent has a bg
7226 pixmap. Fixes bug #500804.
7228 2007-12-03 Matthias Clasen <mclasen@redhat.com>
7230 Two optimizations for icon cache lookups.
7232 * gtk/gtkiconcache.[hc]:
7233 * gtk/gtkicontheme.c: Remember the directory index for
7234 subdirectories, instead of running over the directory list
7237 * gtk/gtkiconcache.c (find_image_offset): Remember the last
7238 chain and try it first; this helps with the the usage patterns
7239 in gtkicontheme.c, where the same icon is queried for a lot
7242 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
7244 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
7245 functions from header files. this should be portable across linux and
7246 Mac OS, unlike the previpous sed expression.
7248 2007-12-1 Cody Russell <bratsche@gnome.org>
7250 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
7251 On Windows, queue a redraw of child2 whenever we set
7252 the pane handle position. This is unfortunately kind
7253 of hacky, but solves the visual artifacts that were
7254 occuring on at least certain types of child widgets
7255 (e.g., text views and tree views) that are inside
7256 horizontal or vertical panes. (#144269)
7258 2007-11-30 Matthias Clasen <mclasen@redhat.com>
7260 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
7262 2007-11-29 Matthias Clasen <mclasen@redhat.com>
7264 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
7267 2007-11-29 Matthias Clasen <mclasen@redhat.com>
7269 * gtk/Makefile.am: Fix ordering of subdirs.
7271 2007-11-28 Tor Lillqvist <tml@novell.com>
7273 A proper build of GNU libintl is supposed to export the variable
7274 _nl_msg_cat_cntr. configure looks for that variable in order to
7275 recognize GNU gettext. If it sees that it is indeed GNU gettext
7276 that is used, it decides to install message catalogs in
7277 share/locale, otherwise in lib/locale. Until now on Windows I have
7278 built GTK+ against a build of GNU gettext that did not export
7279 _nl_msg_cat_cntr. But this will change, so we can't assume message
7280 catalogs are always in lib/locale.
7282 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
7283 GTK_LOCALEDIR being either in "lib" or "share". Move the function
7284 before the inclusion of gtkprivate.h so that it sees the original
7287 * gtk-zip.sh.in: Check whether the message catalogs are in
7288 share/locale or lib/locale.
7290 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
7291 that the code in _gtk_get_localedir() will find the slashes.
7293 2007-11-28 Tor Lillqvist <tml@novell.com>
7295 * gtk/Makefile.am: Improve portability. The -o option is present
7296 only in newish GNU egreps. Use one more sed in the pipeline
7299 2007-11-28 Tor Lillqvist <tml@novell.com>
7301 Fix #375893, patch by Ben Hague:
7303 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
7304 around GetLogicalDrives() that takes also the viewable drive
7305 restrictions in the Registry (which are usually the result of an
7306 Active Directory Group Policy) into account.
7308 (check_volumes, gtk_file_system_win32_list_volumes) Call
7309 get_viewable_logical_drives() instead of GetLogicalDrives().
7311 2007-11-27 Matthias Clasen <mclasen@redhat.com>
7313 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
7314 variables to silence valgrind. (#495124, Morten Welinder)
7316 2006-11-26 Ryan Lortie <desrt@desrt.ca>
7318 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
7319 that the construct_child function is responsible for returning a
7321 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
7322 objects from constructors
7323 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
7324 g_object_ref() to this construction function (it's the only
7329 2006-11-26 Ryan Lortie <desrt@desrt.ca>
7331 * gtkbuilder.c: remove concept of root objects and just refcount
7332 all objects in the builder. Fixes #496651.
7334 2007-11-26 Ryan Lortie <desrt@desrt.ca>
7336 * tests/buildertest.c (test_window): fix invalid free
7338 2007-11-26 Josselin Mouette <joss@malsain.org>
7340 reviewed by: Federico Mena Quintero
7342 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
7343 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
7344 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
7345 Make the shortcuts activate with a single click. (#148828)
7346 Fix a few things affected by the change:
7347 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
7348 where no shortcut is selected.
7349 - Don't activate a shortcut in the response callback.
7350 - Filter out duplicate entries in volumes and bookmarks to
7351 avoid the selection to change when reordering them with DnD.
7353 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7356 * gtk/gtknotebook.c:
7357 * gtk/gtkplugprivate.h:
7359 * gtk/gtksocketprivate.h:
7360 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
7362 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7364 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
7365 (#495574, Richard Hult)
7367 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7369 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
7370 String change ! (#376361, Sven Neumann)
7372 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7374 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
7376 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
7379 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7381 * gtk/gtkassistant.c: Improve alternative button
7382 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
7384 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7386 * gtk/gtkcalendar.c: Fix a theming problem with colors
7387 in GtkCalendar. (#499703, Michael Hofmann)
7389 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7391 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
7393 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7395 Use templates for glib-mkenums calls instead of
7396 complicated commandlines in Makefiles. (#429910)
7398 * gdk-pixbuf/Makefile.am:
7401 * perf/Makefile.am: Use templates for glib-mkenums
7403 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
7404 * gdk/gdkenumtypes.[ch].template:
7405 * gtk/gtktypebuiltings.[ch].template:
7406 * perf/typebuiltins.[ch].template: The templates
7408 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7410 * gtk/gtkfilechooserbutton.c:
7411 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
7412 some compilers choke on that. (#467722)
7414 2007-11-26 Matthias Clasen <mclasen@redhat.com>
7416 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
7417 about hook setup. (#425004, Emmanuele Bassi)
7419 2007-11-26 Tor Lillqvist <tml@novell.com>
7421 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
7422 monitor the window currently is on, not always the primary
7423 monitor. (#463865, Tim Evans)
7425 2007-11-26 Tor Lillqvist <tml@novell.com>
7427 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
7429 * gdk/win32/Makefile.am: Add it.
7431 2007-11-26 Tor Lillqvist <tml@novell.com>
7433 * configure.in: Don't add jasper to all_loaders if no libjasper.
7435 2007-11-25 Bastien Nocera <hadess@hadess.net>
7437 * configure.in: Add detection for libjasper, used by the
7438 gdk-pixbuf JPEG2000 loader
7440 2007-11-25 Matthias Clasen <mclasen@redhat.com>
7442 * configure.in: Require gtk-doc 1.8
7444 * */*.c: Use gtk-doc abbreviations for examples in docs.
7446 2007-11-25 Matthias Clasen <mclasen@redhat.com>
7448 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
7451 2007-11-25 Matthias Clasen <mclasen@redhat.com>
7453 * gtk/gtkdialog.c: Move signal and property documentation inline,
7454 fix a problem with the ::response signal docs. (#499133, Josselin
7457 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
7459 * Makefile.decl: initialize automake variables EXTRA_DIST and
7460 TEST_PROGS for unconditional appending via += in other makefiles.
7461 define recursive test targets: test, test-report, perf-report,
7462 full-report, as described here:
7463 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
7464 the test targets will execute Gtk+ test programs within an Xvfb session.
7466 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
7468 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
7469 g_test_run() to run the tests to integrate with the testing framework.
7471 * gtk/tests/Makefile.am: removed exemplary testing rules.
7473 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
7474 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
7475 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
7476 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
7477 * docs/reference/Makefile.am, docs/tools/Makefile.am:
7478 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
7479 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
7480 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
7481 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
7482 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
7483 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
7484 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
7485 * modules/engines/ms-windows/Theme/Makefile.am:
7486 * modules/engines/ms-windows/Makefile.am:
7487 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
7488 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
7489 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
7490 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
7491 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
7492 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
7493 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
7495 2007-11-22 Matthias Clasen <mclasen@redhat.com>
7497 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
7498 (#485662, patch by Herbert Valerio Riedel)
7500 2007-11-22 Matthias Clasen <mclasen@redhat.com>
7502 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
7504 2007-11-21 Richard Hult <richard@imendio.com>
7506 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
7507 stubs for the testing functions to fix the build.
7509 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
7511 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
7512 (#467711, The Written Word)
7514 2007-11-21 Ross Burton <ross@openedhand.com>
7516 * gdk/x11/gdksettings.c:
7517 Add xsetting for gtk-scrolled-window-placement (#458103).
7519 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
7521 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
7522 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
7523 (#469239, Michael Natterer)
7525 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
7527 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
7528 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
7529 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
7530 (#436536, Tommi Komulainen)
7532 2007-11-21 Matthias Clasen <mclasen@redhat.com>
7534 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
7535 property. (#489782, Jan Janech)
7537 2007-11-20 Matthias Clasen <mclasen@redhat.com>
7539 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
7540 frames. (#107398, Owen Taylor, Miguel Gomez)
7542 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
7544 Moved Gdk test functions from Gtk+ to Gdk test utils.
7546 * gdk/Makefile.am: added gdktestutils.h to public includes.
7548 * gdk/gdk.h: added gdktestutils.h to public includes.
7550 * gdk/gdk.symbols: added gdk_test_simulate_button,
7551 gdk_test_simulate_key, gdk_test_render_sync.
7553 * gdk/gdktestutils.h: new file, added prototypes for
7554 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
7556 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
7558 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
7559 gdk_test_simulate_key, gdk_test_render_sync.
7561 * gtk/gtktestutils.c:
7562 * gtk/gtktestutils.h:
7563 * gtk/gtk.symbols: removed gtk_test_simulate_button
7564 gtk_test_simulate_key, gtk_test_xserver_render_sync.
7566 * gtk/tests/testing.c: call gdk_test_render_sync.
7568 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
7570 Added unit tests for Gtk+ testing utilities.
7572 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
7573 utility functions. some g_test_* related portions are disabled and need
7574 to be enabled once Gtk+ depends on a new glib with the GLib testing
7575 framework integrated.
7577 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
7578 tests. added exemplary test rules to run tests inside Xvfb. this
7579 needs to depend on gtester for full fledged testing.
7581 * gtk/Makefile.am: build gtk+/gtk/tests, define
7582 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
7583 e.g. gtk_text_get_type().
7585 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
7587 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
7589 Added Gtk+ testing utilities.
7591 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
7592 functions. for the most part, the functions herein involve
7593 navigating and interacting with dialog elements programatically,
7594 to automate user interaction tests of dialogs and widgets.
7596 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
7598 * gtk/gtk.symbols: added gtk_test_* symbols.
7600 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
7601 the build. generate gtktypefuncs.c which contains a list of all
7602 _get_type functions in Gtk+ and Gdk.
7604 2007-11-20 Bastien Nocera <hadess@hadess.net>
7606 * configure.in: add support for conditional icns gdk-pixbuf loader
7609 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
7611 * configure.in: updated version number to 2.15.0 for development.
7613 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
7615 === Branch for 2.12 ===