]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
report status in return value instead of spewing assertions. (#335729,
[~andy/gtk] / ChangeLog.pre-2-10
index ec6b6542c5e0bfea28d1980ce0103777910e47e6..99bb6194dbbb6c7400e408166bf003d2164ea2b5 100644 (file)
@@ -1,3 +1,553 @@
+2006-06-12  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreemodelfilter.[ch]
+       (gtk_tree_model_filter_convert_child_iter_to_iter),
+       (gtk_tree_model_filter_convert_child_path_to_path): report status
+       in return value instead of spewing assertions.  (#335729, Yevgen
+       Muntyan).
+
+2006-06-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize): 
+       Clean up user data.  (#344624, Christian Weiske)
+
+       * NEWS: Updates
+
+       * gtk/gtkprintjob.c:
+       * gtk/gtkprintbackend.c: 
+       * gtk/gtkpagesetupunixdialog.c: 
+       * gtk/gtkprintunixdialog.c: Cosmetic cleanups.
+
+2006-06-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkassistant.c: Add an accessible implementation in
+       order to make the buttons visible to a11y tools.  (pointed out
+       by David Malcolm, #343945)
+
+       * gtk/gtkprintoperation-win32.c: Store scale as a percentage.
+       (#344560, Christian Persch)
+
+       * gtk/gtkprogressbar.h: Add a dirty flag to GtkProgressBar.n/ 
+       * gtk/gtkprogressbar.c: Defer updating of the offscreen
+       pixmap until expose.  (#344543, Chris Wilson)
+
+2006-06-11  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchooserdefault.c
+       (get_is_recent_filtered):
+       * gtk/gtkrecentchoosermenu.c
+       (get_is_recent_filtered):
+       Do not leak the groups string vector. (#344607,
+       John Finlay)
+
+2006-06-11  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,
+       Kazuki Iwamoto)
+
+       * gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n
+       to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
+       Clipboard. (#344496)
+
+2006-06-10  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkrecentchooserwidget.c 
+       (gtk_recent_chooser_widget_new_for_manager):
+       * gtk/gtkrecentchoosermenu.c
+       (gtk_recent_chooser_menu_new_for_manager): 
+       Allow NULL to mean the default manager.  (#344530, 
+       John Finlay)
+
+       * gtk/gtkprintoperation-unix.c (page_setup_data_free):
+       Check if rdata->page_setup is set before unreffing it. 
+       (#344518, Christian Persch)
+
+       * gtk/gtkprintoperation.h: Remove an extra comma.  (#344528, 
+       Elijah Newren)
+
+       * modules/printbackends/gtkprintbackendpdf.c 
+       (gtk_print_backend_pdf_print_stream): Use the passed in 
+       destroy notify.  (#344513, Christian Persch)
+
+       * configure.in: Require cairo 1.1.7
+
+       * gtk/gtkprintoperation.c:
+       * modules/printbackends/pdf/gtkprintbackendpdf.c: Use
+       cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
+       (#344512, Elijah Newren)
+
+       * gdk-2.0-uninstalled.pc.in: Make compiling against uninstalled
+       gdk work.  (#344386, Masatake Yamamoto)
+
+       * gtk/gtkprintoperation.c: Register create_custom_widget as 
+       an object-returning signal.  (#344505, Marko Anastasov, patch
+       by Christian Persch)
+
+       * gtk/gtkmarshalers.list: Add the right marshaller.
+
+       * gtk/gtk.symbols:
+       * gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
+       flags type.  (#344504, Marko Anastasov)
+
+2006-06-09  Benjamin Berg  <benjamin@sipsolutions.net>
+
+       * gtk/gtkmenuitem.c: (get_offsets): Take GtkMenu::horizontal-padding
+       into account when placing submenus (#344290)
+
+2006-06-09  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrange.c: added new style properties "trough-side-details"
+       and "draw-trough-under-steppers" and fixed the "stepper-spacing"
+       style property. Fixes bugs #342339 and #342249.
+
+       "draw-trough-under-steppers", when set to FALSE, starts trough
+       drawing next to the steppers instead of drawing the trough "below"
+       (around) the steppers. If "stepper-spacing" is set to any value
+       larger than zero, "draw-trough-under-steppers" is set to FALSE
+       automatically to avoid rendering an area that looks clickable but
+       isn't.
+
+       (gtk_range_calc_layout): honor draw-trough-under-steppers.
+       Don't reserve stepper-spacing on sides of the range that don't
+       have steppers.
+
+       (gtk_range_expose): changed drawing accordingly. Implement
+       "trough-side-details" which enables drawing of the upper and lower
+       parts of the trough with different details. This is useful for
+       theme engines which want to draw these parts differently.
+
+       (coord_to_value): correctly take all rendering options into
+       account. stepper-spacing > 0 caused jumping and otherwise
+       strangely behaving ranges before.
+
+       (other functions): changed accordingly.
+
+2006-06-09  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
+       Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
+       DeleteDC() on DCs acquired with CreateCompatibleDC() (for
+       bitmaps). According to MSDN, this is the correct thing to do, even
+       if always using DeleteDC() seems to have worked fine in
+       practice. (#337491, Chris Wilson)
+
+2006-06-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testprint.c: Update for api changes.
+
+       * gtk/gtkprintoperation.c: Fix some copy-and-paste errors,
+       and rename the pdf-target property to export-filename.
+
+       * gtk/gtkfilechooserdefault.c: Turn off profiling code.
+
+       * tests/print-editor.c: Update for api changes.
+
+       * gtk/gtk.h: Include gtkprintoperationpreview.h
+
+       * gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): 
+       Use g_return_val_if_fail (#344288, Kazuki Iwamoto)
+
+       * gtk/gtkprintbackend.h: Don't include gtkprinter-private.h here.
+
+       * gtk/gtkprintunixdialog.c: 
+       * gtk/gtkprintoperation-unix.c: 
+       * gtk/gtkprintjob.c: 
+       * gtk/gtkprintbackend.c: Instead include it here.
+
+       * gtk/gtk.symbols: 
+       * gtk/gtkprintoperation.h: 
+       * gtk/gtkprintoperation.c: Rename pdf_target to export_filename.
+
+2006-06-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation.h (GtkPrintOperationResult): Get
+       rid of GTK_PRINT_OPERATION_RESULT_PREVIEW.
+       
+       * gtk/gtkprintoperation-unix.c: 
+       * gtk/gtkprintoperation.c: Update all users.
+
+2006-06-08  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate):
+       [WM_WINDOWPOSCHANGED] Replace identical code as in
+       handle_configure_event() with call to that function.
+       [WM_SIZING] Fix implementation of aspect ratio hints. (#344244)
+       The hints are for the geometry of the client area, not of the
+       window including decorations. Improve resizing behaviour in the
+       presence of aspect hints, to be more in line with typical X window
+       managers.
+
+2006-06-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give
+       GtkToolButton the same treatment.
+
+       * gtk/gtkbutton.c (gtk_button_style_set): Don't call
+       construct_child here, since some apps make assumptions 
+       about the lifecycle of the constructed label.  
+
+2006-06-08  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkprintoperation-unix.c (finish_print):
+       Fix up unix fallout from previous change.
+
+2006-06-08  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkprintoperation-win32.c:
+       Update windows to build with new APIs and first cut
+       at preview work.
+       
+       * gtk/gtkprintoperation-private.h:
+       * gtk/gtkprintoperation-unix.c:
+       * gtk/gtkprintoperation.c
+       Various updates needed when making the preview work on win32.
+
+       * tests/print-editor.c:
+       Print, don't preview.
+
+2006-06-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.c (popup_targets_received): Make Delete
+       menuitem insensitive if entry is not editable.  (#344232, 
+       Milosz Derezynski)
+
+       * gtk/gtkprintoperation.c: Add some docs. 
+
+       * gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.
+
+       * gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
+
+       * tests/testnotebookdnd.c: Update callers.
+
+       * gtk/gtknotebook.h:
+       * gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook):
+       Add a destroy notify for the callback data.  (#344209, 
+       Murray Cumming)
+
+2006-06-07  Jürg Billeter  <j@bitron.ch>
+
+       * gtk/Makefile.am: Fix building gtkbuiltincache.h without system GTK+.
+
+2006-06-07  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtk.symbols:
+       * gtk/gtkprintoperation-private.h:
+       * gtk/gtkprintoperation-unix.c:
+       * gtk/gtkprintoperation.[ch]:
+       Clean up APIs:
+       Make async a setting instead of separate calls.
+       Combine settings like show_dialog, show_preview and pdf_target into
+       an action enum that you pass to gtk_print_dialog_run().
+       
+       * tests/print-editor.c:
+       * tests/testnouiprint.c:
+       * tests/testprint.c:
+       * demos/gtk-demo/printing.c:
+       Update to new APIs
+
+2006-06-07  Bastien Nocera  <hadess@hadess.net>
+
+       * configure.in: Update the ATK requirements (#344148)
+
+2006-06-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintercups.c 
+       (gtk_printer_cups_finalize):  Fix a C99ism.
+       (#344123, Jens Ganseuer)
+
+2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
+       rounding of rect members.  Improved docs.  (#337603)
+
+2006-06-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c: Small optimization
+
+2006-06-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.9.2 ===
+
+       * configure.in: Set interface age to 0.
+
+       * NEWS: Updates
+
+       * gtk/gtkprintoperationpreview.c: Include gtkalias.h
+
+       * gtk/gtk.symbols: Add some forgotten new functions.
+
+2006-06-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
+       (gtk_notebook_calc_tabs): Fix borderline cases in tab
+       visibility calculation.  (#168105, Carlos Garnacho Parro)
+
+       * gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
+       XID from the xid table.  (#341327, Sampo Savolainen, Tim Janik)
+
+2006-06-04  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)
+
+2006-06-03  Richard Hult  <richard@imendio.com>                                 
+
+       * gdk/quartz/Makefile.am:                                               
+       * gdk/quartz/gdkspawn-quartz.c: Add spawn functions, copied from the
+       win32 backend.
+
+2006-06-02  Matthias Clasen  <mclasen@redhat.com>
+       
+       * gtk/gtkprintoperation-private.h:
+       * gtk/gtkprintoperation.h:
+       * gtk/gtkprintoperation.c: Add a show-preview property. 
+
+       * gtk/gtkprintoperation-unix.c: Implement it here.
+
+       * gtk/gtkprintoperation-unix.c: Cleanups
+
+2006-06-02  Kristian Rietveld  <kris@imendio.com>
+
+       Rubber banding for GtkTreeView, #80127.  Uses same method as
+       GtkIconView.
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init),
+       (gtk_tree_view_init), (gtk_tree_view_get_property),
+       (gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding),
+       (gtk_tree_view_get_rubber_banding): add property,
+       (gtk_tree_view_button_press): start rubber banding if enabled and
+       press is on a non-selected node,
+       (gtk_tree_view_button_release): stop rubber banding,
+       (gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update
+       the rubber band,
+       (gtk_tree_view_bin_expose): draw rubber band if active,
+       (gtk_tree_view_stop_rubberband),
+       (gtk_tree_view_update_rubber_band_selection_range),
+       (gtk_tree_view_update_rubber_band_selection),
+       (gtk_tree_view_update_rubber_band),
+       (gtk_tree_view_paint_rubber_band): new functions.
+
+       * gtk/gtktreeview.h: add new set/get function for rubber banding
+       property.
+
+       * gtk/gtktreeprivate.h: add a bunch of new private fields.
+
+2006-06-02  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_leave_notify): revert fix of
+       #164884 because it's not a problem in gtk+ but in applications and
+       it breaks starting drags from the edge of a row.
+
+2006-06-02  Kristian Rietveld  <kris@imendio.com>
+
+       Separate sensitive/selectable properties.
+
+       * gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
+       (_gtk_tree_selection_row_is_selectable): remove checks to see if at
+       least one column is sensitive,
+       (gtk_tree_selection_real_select_node): remove code which enables
+       insensitive rows to always be unselected.
+
+       * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
+       that unselects a node if it just became insensitive.
+
+       * gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
+       based on the at least one column sensitive check from
+       _gtk_tree_selection_row_is_selectable(),
+       (gtk_combo_box_list_setup): set selection function on tree selection.
+
+2006-06-02  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreemodelfilter.c
+       (gtk_tree_model_filter_convert_child_path_to_path): need to use
+       gtk_tree_model_filter_get_iter_full() since the path returned
+       by gtk_real_tree_model_filter_convert_child_path_to_path() includes
+       invisible nodes.
+
+2006-06-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow
+       to return partial information.  (#343625, Christian Persch)
+
+       * gtk/gtkwindow.c (gtk_window_key_release_event): Chain up
+       to key_release, not to key_press.  (#343677, Tommi Komulainen)
+
+2006-06-02  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/Makefile.am:
+       Add gtkprintoperationpreview.[ch]
+       Set default preview command. Hardcoded for now.
+       
+       * gtk/gtkmarshalers.list:
+       Add BOOLEAN:OBJECT,OBJECT,OBJECT
+       
+       * gtk/gtkprintbackend.c:
+       Add preview command property.
+       
+       * gtk/gtkprintcontext.[ch]:
+       Make less dependent on PrintOperation for output settings
+       Externally set cairo_t and dpi. Resettable.
+       Create fontmap without metrics hinting (so that print preview
+       text layout doesn't depend on zoom level).
+       
+       * gtk/gtkprintoperation-private.h:
+       * gtk/gtkprintoperation-unix.c: 
+       * gtk/gtkprintoperation.[ch]:
+       Initial work on print preview API and default implementation
+       using an external preview app.
+       
+       * gtk/gtkprintoperation-win32.c:
+       Some needed updates. Not done, needs more work.
+       
+       * gtk/gtkprintoperationpreview.[ch]:
+       New interface used in print preview api.
+       
+       * gtk/gtkprintunixdialog.c:
+       Add print preview dialog.
+       
+       * tests/print-editor.c:
+       Test using an custom print preview widget.
+
+2006-06-02  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c
+       (gtk_recent_info_get_application_info): Fix a typo (spotted by
+       Paolo Borelli and coverity).
+
+2006-06-01  Matthias Clasen  <mclasen@redhat.com>
+       
+       * tests/testnotebookdnd.c: Small tweaks to test more things.
+
+       * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
+       an icon-spacing style property for the same purpose.
+
+       * gtk/gtkbutton.c (gtk_button_class_init):  Add an image-spacing
+       style property that allows to adjust the spacing between image
+       and label in button.  (#320431, James Moger)
+
+       * gtk/gtkprintoperation-private.h: 
+       * gtk/gtkprintoperation.c: 
+       * gtk/gtkprintoperation-unix.c: Move the 
+       PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync.
+       Also use a recursive mainloop instead of manually looping.
+       
+       * gtk/gtkprintoperation.c: Add some examples to the docs.
+
+       * gtk/gtkprintbackend.c (gtk_print_backend_class_init): 
+       Intern signal names.
+
+       * gtk/gtkprintunixdialog.c: 
+       * gtk/gtkprintoperation-unix.c: Use canonical signal names.
+
+2006-05-31  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some
+       formatting.
+
+       * gtk/gtkprintoperation.c (print_pages_idle): Don't
+       treat manual_scale like a percentage, its a factor.
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init): Document
+       signals.  (#302556, Stefan Kost)
+
+2006-05-31  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtk.symbols:
+       * demos/gtk-demo/printing.c:
+       * tests/print-editor.c:
+       * tests/testnouiprint.c:
+       * tests/testprint.c:
+       * tests/testprintfileoperation.c:
+       Further updates from the GtkPrintContext functions rename.
+       
+       * modules/printbackends/cups/gtkcupsutils.c:
+       Always set requesting-user-name when doing cups requests.
+
+2006-05-31  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkpagesetupunixdialog.c:
+       Remove request_details_tag with g_signal_handler_disconnect,
+       not g_source_remove. (#343475)
+
+2006-05-31  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintcontext.h: 
+       * gtk/gtkprintcontext.c: 
+       * gtk/gtkprintoperation.c: 
+       * gtk/gtkprintoperation-unix.c: Change some function names to be 
+       longer and better. 
+       gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context
+       gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap
+       gtk_print_context_create_context -> gtk_print_context_create_pango_context
+       gtk_print_context_create_layout -> gtk_print_context_create_pango_layout
+       Update all callers.
+
+       * gtk/gtkpagesetupunixdialog.c: Don't run the custom page
+       size dialog.  (#340444, Christian Persch)
+
+       * demos/gtk-demo/main.c (main): Display comments in friendly
+       DodgerBlue instead of scary red.  (#343444, Carol Spears)
+
+       * gtk/gtkfontbutton.c: 
+       * gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
+       font-set signals.  (#343438, Olexiy Avramchenko)
+
+2006-05-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
+       children when emitting grab-notify.  (#343425, Markku Vire)
+
+       * gdk/gdkpixmap.c: 
+       * gdk/gdkwindow.c: Don't use G_DEFINE_TYPE, since the instance
+       struct name does not match the type name.  (#343453, Ed Catmur)
+
+       * gtk/gtk.symbols: 
+       * gtk/gtkbutton.h: 
+       * gtk/gtkbutton.c: Add a GtkButton::image-position property
+       with getter and setter, to allow constructing buttons with
+       the image stacked on top of the label.  (#342930, Johan Dahlin)
+
+2006-05-30  Johan Dahlin  <jdahlin@async.com.br>
+
+   * gtk/gtk.symbols:
+   * gtk/gtkbutton.c: (gtk_button_class_init), (gtk_button_init),
+   (gtk_button_set_property), (gtk_button_get_property),
+   (gtk_button_construct_child), (gtk_button_set_image_spacing),
+   (gtk_button_get_image_spacing):
+   * gtk/gtkbutton.h:
+   * gtk/gtktoolbutton.c: (gtk_tool_button_class_init),
+   (gtk_tool_button_construct_contents),
+   (gtk_tool_button_set_property), (gtk_tool_button_get_property),
+   (_gtk_tool_button_get_button), (gtk_tool_button_set_icon_spacing),
+   (gtk_tool_button_get_icon_spacing):
+   * gtk/gtktoolbutton.h:
+   Add GtkButton:image-spacing and GtkToolButton::icon-spacing.
+   (#320431, James Moger)
+
+2006-05-30  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): only
+       check sort column id if connected to sortable model.
+
+2006-05-30  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gdk/gdkpango.c (draw_error_underline): Fix offset to center the
+       underline in requested rectangle. (Ported from pango fix.)
+
+2006-05-29  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkdialog.h: removed forgotten declaration of
+       _gtk_dialog_get_response_for_widget(), the function has been made
+       public a long time ago.
+
+2006-05-29  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktextview.c (gtk_text_view_target_list_notify): applied
+       patch from Chris Wilson which replaces a useless loop with
+       built-in access to free'd memory by a simple integer comparison.
+       Fixes bug #342894.
+
 2006-05-29  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): select