]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded
[~andy/gtk] / ChangeLog.pre-2-10
index cc8143eee321ae709c75277a1a4dbf675cf0cec8..e9e5a46539383620343ecac9270c5a4ff8d58453 100644 (file)
@@ -1,3 +1,302 @@
+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
+       the current focus row if nothing is selected and ctrl is not pressed.
+       (Fixes #324480, Murray Cumming/Srirama Sharma).
+
+2006-05-28  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_focus): refactor
+       to work correctly in RTL mode.
+
+       * gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): make
+       cursor movement to left/right work correctly in RTL mode.
+
+2006-05-28  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
+       Note in docs that @dest can be the same as @src1 or @src2. (#343233,
+       Christian Persch)
+
+2006-05-28  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkstyle.c (gtk_default_draw_flat_box): handle
+       cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
+       state.
+
+2006-05-28  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkenums.h: add GTK_ARROW_NONE.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_column): always
+       "show" the arrow if sort_column_id >= 0, only set arrow type if
+       this column is the column we are currently sorting on. (#331338).
+
+2006-05-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkrecentchoosermenu.c: Avoid trivial differences
+       in translated strings.  (#343088, Clytie Siddall)
+
+2006-05-28  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_build_tree): emit test_expand_row
+       and test return value before expanding a branch. (Fixes #321523,
+       reported by Daniel Lindenaar).
+
+2006-05-28  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_insert_column): set the sizing
+       type of the new column to FIXED,
+       (gtk_tree_view_insert_column_with_attributes): likewise. (#341898,
+       Dan Winship).
+
+2006-05-27  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_remove_node):
+       only unref if elt->ref_count > 0,
+       (gtk_tree_model_filter_row_deleted): likewise. (Fixes #340839,
+       reported by Yevgen Muntyan).
+
+2006-05-27  Kristian Rietveld  <kris@gtk.org>
+
+       Small refactoring. (#340428, Paolo Borelli).
+
+       * gtk/gtkliststore.c (gtk_list_store_set_valist_internal),
+       (gtk_list_store_insert_with_valuesv): refactor code to determine
+       iter compare func into gtk_list_store_get_compare_func().
+
+       * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal),
+       (gtk_tree_store_insert_with_valuesv): likewise.
+
+2006-05-27  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): really fix
+       #333284.
+
+2006-05-27  Kristian Rietveld  <kris@gtk.org>
+
+       Editable cell window placement and RTL fixes.
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press),
+       (gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
+       (gtk_tree_view_create_row_drag_icon): Only add indentation to x
+       if !rtl,
+       (gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
+       direction if in rtl mode.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       horizontal_separator is not part of the real background area width,
+       add 2 * focus_line_width to real_cell_area.x and not
+       real_background_area.x, fix up event coordinates check in the
+       PACK_END loop, also set depth to zero at the end of the PACK_END
+       loop,
+       (_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
+       visible cell.
+
+2006-05-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/stock-icons/24/gtk-orientation-landscape.png:
+       * gtk/stock-icons/24/gtk-orientation-portrait.png:
+       * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
+       * gtk/stock-icons/24/gtk-orientation-reverse-portrait.png:
+       Cleaned up icons by Diana Fong.
+
+2006-05-26  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
+       for the full width of the row, not just the width we got allocated.
+       (Fixes #333284, reported by Benjamin Berg).
+
+2006-05-26  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
+       page_size + height in the event dy + page_size is about to become
+       bigger than height.
+
+2006-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtk.symbols:
+       * gtk/gtkstatusicon.h:
+       * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry):
+       New function that can be used to e.g. position 
+       notification bubbles wrt to the status icon.  
+       (#341450, Christian Persch, Havoc Pennington)
+
 2006-05-25  Matthias Clasen  <mclasen@redhat.com>
 
        Make GTK+ work as an untrusted X client. (#136571,