]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Really fix printer URI construction
[~andy/gtk] / ChangeLog
index b22d766e6a89885f61c3b62c935b351ef4fdc03b..1fbbe5c7845919e572b20e0d2102b2c75d97b8ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,560 @@
-2006-05-28  Kristian Rietveld  <kris@imendio.com>
+2008-06-12  Matthias Clasen  <mclasen@redhat.com>
+
+       RH bug 248245 and 449379: cups client printing from gnome
+       applications fail
+
+       * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
+       printer URI construction. Patch by Marek Kasik
+       
+2008-06-12  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
+       limit the number of displayed items by the actual screen height
+       instead of some arbitrary value (Bug #408154, Xan Lopez and
+       Christian Dywan).
+
+2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
+
+       Bug 503071 – Application direction changes to right to left even if
+       theres no translation
+
+       * configure.in: Bump glib requirement.
+
+       * gtk/gtkaccellabel.c
+       (_gtk_accel_label_class_get_accelerator_label):
+       * gtk/gtkactiongroup.c (dgettext_swapped):
+       * gtk/gtkbuilder.c (gtk_builder_class_init):
+       * gtk/gtkbuilderparser.c (_dpgettext),
+       (_gtk_builder_parser_translate):
+       * gtk/gtkfilechooserdefault.c (list_size_data_func):
+       * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
+       * gtk/gtkintl.h:
+       * gtk/gtkmain.c (setlocale_initialization),
+       (do_pre_parse_initialization), (gettext_initialization):
+       * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
+       Use g_dgettext() and g_dngettext().
+
+2008-06-11  Matthias Clasen <mclasen@redhat.com>
+
+       * docs/RELEASE-HOWTO: Updates
+
+2008-06-11  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
+       support Win9x anyway, we can use ProcessIdToSessionId()
+       unconditionally.
+
+2008-06-11  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkfilechooserbutton.c: fix local prototype of
+       _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
+
+2008-06-10  Matthias Clasen <mclasen@redhat.com>
+
+       Bug 536765 – GtkComboBox should set COMBO type hint for its menu
+
+       * gtk/gtkoptionmenu.c:
+       * gtk/gtkcombobox.c: Set the window type hint on popups.
+       Patch by Danny Baumann
+
+2008-06-10  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkfilesystem.c (get_icon_for_special_directory):
+       (gtk_file_system_volume_render_icon): Add standard icon names,
+       and also fall back to builtin gtk stock icons.
+
+2008-06-10  Christian Persch  <chpe@gnome.org>
+
+       * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
+       (gtk_tree_view_maybe_begin_dragging_row),
+       (gtk_tree_view_set_reorderable),
+       (gtk_tree_view_enable_model_drag_source),
+       (gtk_tree_view_enable_model_drag_dest),
+       (gtk_tree_view_unset_rows_drag_source),
+       (gtk_tree_view_unset_rows_drag_dest): Make
+       gtk_tree_view_enable_model_drag_[source|dest] compatible with
+       gtk_drag_[source|dest]_add_*_targets. Bug #506853.
+
+2008-06-10  Christian Persch  <chpe@gnome.org>
+
+       * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
+       (dest_row_free), (set_dest_row), (ensure_info),
+       (gtk_tree_view_remove), (gtk_tree_view_put),
+       (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
+       bug #506853.
+
+2008-06-10  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
+       use g_file_new_for_uri.
+
+2008-06-10  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
+       leak the GIcon.
+
+2008-06-10  Carlos Garnacho  <carlos@imendio.com>
+
+       * configure.in:
+       * gtk/Makefile.am:
+       * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
+       #520874, comment #8. It's no longer used directly by GTK+.
+
+2008-06-10  Carlos Garnacho  <carlos@imendio.com>
+
+       Bug 520874 - Should use gio directly.
+
+       * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
+       provides helper functions for asynchronous calls, folder abstraction
+       and uniform handling of volumes/drives/mounts.
+
+       * gtk/gtkfilesystemwin32.[ch]:
+       * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
+
+       * gtk/gtkfilechooser.c:
+       * gtk/gtkfilechooserbutton.c:
+       * gtk/gtkfilechooserdefault.c:
+       * gtk/gtkfilechooserentry.[ch]:
+       * gtk/gtkfilechooserprivate.h:
+       * gtk/gtkfilechooserutils.c:
+       * gtk/gtkfilesystemmodel.[ch]:
+       * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
+       Do not load filesystem implementation modules.
+
+       * gtk/Makefile.am:
+       * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
+       anymore, nor the unix/win32 implementations.
+
+       * README.in: Add blurb about these changes.
+
+2008-06-09  Kristian Rietveld  <kris@gtk.org>
+
+       Bug 526987 - GtkCellRendererCombo should allow model to be NULL
+
+       * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
+       (gtk_cell_renderer_combo_set_property),
+       (gtk_cell_renderer_combo_editing_done),
+       (gtk_cell_renderer_combo_start_editing): introduce private class
+       struct, allow model to be set to NULL.
+
+2008-06-08  Björn Lindqvist  <bjourne@gmail.com>
+
+       Bug 131920 – gtkNotebook sends incorrect switch_page value
+
+       * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
+       signal send correct page index when page index 0 is active and
+       removed. (#131920, Samuel Fogh)
+
+2008-06-08  Kristian Rietveld  <kris@gtk.org>
+
+       Bug 536730 - memory corruption in gtktreeview
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
+       remove the expand/collapse timeout and node, then free the rbtree.
+
+2008-06-08  Kristian Rietveld  <kris@gtk.org>
+
+       Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
+
+       * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
+       find path if we found valid nodes, return FALSE otherwise.  (Patch
+       from Matthias Clasen).
+
+2008-06-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkrecentmanager.c:
+       * gtk/gtkrecentfilter.c:
+       * gtk/gtkfilefilter.c: Replace uses of xdgmime with
+       g_content_type.
+       
+2008-06-08  Christian Persch <chpe@gnome.org>
+
+       Bug 535608 – do not string-copy accel paths in the menu code
+
+        * gtk/gtkaccelgroup.c:
+        * gtk/gtkaccelmap.c:
+        * gtk/gtkaction.c:
+        * gtk/gtkmenu.c:
+        * gtk/gtkmenuitem.c:
+        * gtk/gtkwidget.c:  Don't store the accel path as a string in
+        gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
+        keeping a string copy around is just a waste of memory.
+        Improve the documentation to mention this.
+
+2008-06-07  Tor Lillqvist  <tml@novell.com>
+
+       Bug 536990 - updateiconcache.c: 'close ()' is redundant
+
+       * gtk/updateiconcache.c (build_cache): Drop redundant close()
+       calls. fclose() on a fdopen()ed strema closes the underlying file
+       descriptor.
+
+2008-06-06  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 536757 – regression: openoffice.org menus are placed at wrong
+       position since 2.12.10
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
+       Return the right coordinates.  
+
+2008-06-06  Behdad Esfahbod  <behdad@gnome.org>
+
+       Bug 536185 – monitor font configuration
+
+       * configure.in:
+       * gdk/x11/gdksettings.c:
+       * gtk/gtksettings.c (gtk_settings_class_init),
+       (gtk_settings_notify), (settings_update_fontconfig):
+       Monitor xsettings key Fontconfig/Timestamp and upon change,
+       reread fontconfig configuration, clear Pango's caches, and
+       redraw all widgets.
+
+2008-06-06  Ross Burton  <ross@burtonini.com>
+
+       * gtk/gtkwindow.c:
+       Fix trivial typo in documentation.
+
+2008-06-06  Tor Lillqvist  <tml@novell.com>
+
+       * config.h.win32.in: Slight update to match what configure
+       produces.
+
+2008-06-05  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkbuilder.h (enum): Add the new version mismatch error
+       constant to the end of the list, to avoid breaking the stable ABI
+
+2008-06-05  Michael Natterer  <mitch@imendio.com>
+
+       * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
+
+2008-06-05  Li Yuan  <li.yuan@sun.com>
+
+       * gail-uninstalled.pc.in:
+       Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
+       Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
+
+2008-06-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * docs/RELEASE-HOWTO: Update a bit
+
+2008-06-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.13.2 ===
+
+2008-06-03  Federico Mena Quintero  <federico@novell.com>
+
+       * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
+       If the user presses Tab while the completion feedback window is
+       active, then we'll assert.  Remove the assertion and just re-set
+       the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
+
+2008-06-03  Colin Walters  <walters@redhat.com>
+       
+       Bug 535303 – add _get_implementation to GtkStatusIcon
+
+       * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
+       function to retrieve internal X11 window ID, useful for libnotify.
+       * gtk/gtkstatusicon.h: Prototype it.
+       * docs/reference/gtk/gtk-sections.txt: Add to docs.
+       * gtk/gtk.symbols: Export it.
+
+2008-06-03  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/updateiconcache.c (build_cache): Use g_open().
+
+2008-06-03  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkclist.h
+       * gtk/gtkctree.h: revert includes to how they have been before the
+       GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
+       that you can't include <gtk/gtk.h> from two headers where one is a
+       parent class of the other and expect them both to be includable
+       individually.
+
+2008-06-03  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
+
+2008-06-02  Matthias Clasen  <mclasen@redhat.com>
+       
+       Bug 536092 – GtkEntryCompletion's popup window should set type hint
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
+       a type hint on the popup window to help compiz.
+       Patch by Vaclav Slavik.
+
+2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
+
+       Bug 535862 – gtk_action_create_icon can't create icons from the
+       icon themes
+
+       * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
+       the default factories as it's supposed.
+
+2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>
+
+        Bug 535497 – Print preview doesn't work.
+
+        * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
+        instead of launching Preview.app directly.
+
+2008-06-02  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
+       in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
+       (bug #536126).
+
+2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>
+
+       Bug 535830 – wrong content type adding an item
+
+       * gtk/gtkrecentmanager.c:
+       (gtk_recent_manager_add_item_query_info): Use the correct API
+       for retrieving the fast MIME type of a URI. (Carlos Garcia
+       Campos)
+
+2008-05-31  Kristian Rietveld  <kris@imendio.com>
+
+       Bug 530146 - Setting non-string tooltip with
+       gtk_tree_view_set_tooltip_column() segfaults
+
+       * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
+       gtk_tree_model_get_value() and explicitly transform the value to a
+       string before setting it as tooltip.
+
+2008-05-30  Tor Lillqvist  <tml@novell.com>
+
+       * modules/engines/ms-windows/msw_style.h
+       * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
+
+2008-05-30  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
+       GDestroyNotify when using it in g_object_set_data_full().
+
+2008-05-30  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdkapplaunchcontext.h
+       * gdk/gdktestutils.h
+       * gtk/gtkmountoperation.h
+       * gtk/gtkshow.h
+       * gtk/gtktestutils.h
+       * gtk/gtktoolshell.h: no need to allow disabling single includes
+       conditionally in these new files. Simply forbid including them
+       individually from the beginning.
+
+2008-05-30  Tor Lillqvist  <tml@novell.com>
+
+       Bug 533108 - leak of GDI region in function 'handle_wm_paint'
+
+       * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
+       Atallah.
+
+2008-05-29  Matthias Clasen <mclasen@redhat.com>
+
+       * configure.in: Bump version 
+
+       * === Released 2.13.1 ===
+
+       * NEWS: Updates
+
+2008-05-29  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
+
+2008-05-29  Matthias Clasen <mclasen@redhat.com>
+
+       * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
+
+2008-05-29  Tor Lillqvist  <tml@novell.com>
+
+       Bug 535526 - updateiconcache.c: using open/close without prototype
+
+       * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
+       g_utime() when available instead of utime() for UTF-8 pathname
+       support on Windows.
+
+2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       Bug 56355 – GtkLabel - Not all changes propagate correctly
+
+       * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
+       (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
+       (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
+       Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
+       notifications of mnemonic-keyval changes.
+
+2008-05-27  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 522084 – GIcon support for GtkIconTheme & GtkImage
+
+       * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
+       * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
+       * gtk/gtk.symbols: Additions
+       * tests/testimage.c: Add a GIcon test
+
+2008-05-29  Michael Natterer  <mitch@imendio.org>
+
+       * gtk/Makefile.am
+       * gtk/gtkunixprint.h: add a single-include header for the unix
+       print stuff.
+
+       * gtk/gtkpagesetupunixdialog.h
+       * gtk/gtkprinter.h
+       * gtk/gtkprintjob.h
+       * gtk/gtkprintunixdialog.h: add single-include guards that #error
+       out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
+       files is included individually.
+
+       * gtk/gtkprintbackend.h
+       * gtk/gtkprinter-private.h
+       * modules/printbackends/cups/gtkprintbackendcups.c
+       * modules/printbackends/cups/gtkprintercups.h
+       * modules/printbackends/lpr/gtkprintbackendlpr.c
+       * tests/buildertest.c
+       * tests/defaultvaluetest.c
+       * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
+       individual files.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
+       excess newlines and sprinkled some newlines where needed. Zero
+       code or formatting changes included.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkcolorbutton.h: fix comment: the widget is called
+       GtkColorButton, not GtkColorSelectButton. Remove trailing
+       whitespace and excess newlines.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
+       GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
+       to CPPFLAGS so it's impossible to commit code that would break
+       apps which use DISABLE_INCLUDE defines.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
+       headers.
+
+       * gtk/gtktypebuiltins.h.template
+       * gtk/gtkversion.h.in
+       * gtk/gtk*.h: add single-include guards that #error out if
+       GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
+       included individually.
+
+       * gtk/gtkprintbackend.h
+       * gtk/gtkprinter-private.h
+       * gtk/gtktextlayout.h
+       * gtk/gtktexttagprivate.h
+       * gtk/gtktexttypes.h
+       * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
+       headers in these private or semi-private headers.
+
+       * gtk/gtkimmodule.h: also here because it's not in gtk.h.
+
+       * gtk/gtkpagesetupunixdialog.h
+       * gtk/gtkprinter.h
+       * gtk/gtkprintjob.h
+       * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
+
+       * gtk/gtkclist.h
+       * gtk/gtkcombo.h
+       * gtk/gtkctree.h
+       * gtk/gtkfilesel.h
+       * gtk/gtkitemfactory.h
+       * gtk/gtklist.h
+       * gtk/gtklistitem.h
+       * gtk/gtkoldeditable.h
+       * gtk/gtkoptionmenu.h
+       * gtk/gtkpixmap.h
+       * gtk/gtkpreview.h
+       * gtk/gtksignal.h
+       * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
+       instead of individual headers in these deprecated headers. They
+       don't get included at all when GTK_DISABLE_DEPRECATED is defined,
+       so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
+       and include them individually, which should continue to work.
+
+       * gtk/gtkclist.c: include "gtkctree.h" because of the change
+       above.
+
+2008-05-28  Kristian Rietveld  <kris@imendio.com>
+
+       Bug 449625 - crash in gtk_tree_view_real_move_cursor at
+       gtktreeview.c:9641
+
+       * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
+       cursor_offset *must* be larger than background height of the cursor
+       node, not just equal otherwise there is no guarantee there is a next
+       node.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
+       headers.
+
+       * gdk/gdkenumtypes.h.template
+       * gdk/gdk*.h: add single-include guards that #error out if
+       GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
+       included individually. Also removed some redundant includes and
+       did some tiny trailing whitespace removal that's not worth to
+       commit separately.
+
+       * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
+       files.
+
+       * gdk/win32/gdkwin32.h
+       * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
+       other includes.
+
+2008-05-28  Kristian Rietveld  <kris@imendio.com>
+
+       Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
+       current widget again.
+
+       * gtk/gtktooltip.c (gtk_tooltip_set_custom),
+       (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
+       custom_was_reset field to check if the custom widget is set again in
+       the query-tooltip callback; if not, we set it to NULL.  Based on a
+       patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
+       and Christian Persch.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * modules/printbackends/cups/gtkcupsutils.c
+       * modules/printbackends/cups/gtkprintbackendcups.c
+       * modules/printbackends/file/gtkprintbackendfile.c
+       * modules/printbackends/lpr/gtkprintbackendlpr.c: include
+       <gtk/gtk.h> instead of individual files.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
+       individual files.
+
+2008-05-28  Kristian Rietveld  <kris@imendio.com>
+
+       Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
+
+       * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
+       ->priv->tree != NULL.  Suggestion from Stefan Kost.
+
+2008-05-28  Kristian Rietveld  <kris@imendio.com>
 
        Bug 324282 - add selected signal to cell renderer combo.
 
 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
 
        * gtk/gtklabel.c: Added <attributes> / <attribute>
-       custom tags to parse pango attributes into labels.
+       custom tags to parse pango attributes into labels (#527486).
 
        * tests/buildertest.c: Added tests for GtkLabel custom
        tag parsing.