]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Make the iconfactory buildable implementation less strict
[~andy/gtk] / ChangeLog
index 0fd23ad39946732bbb4a89c1e5fb497bb9dc69af..4f18934eced916199190502ce76bdfc621d03474 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,280 @@
+2008-05-24  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 520989 – icon factory buildable too strict
+
+       * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
+       an optional attribute.
+
+2008-05-24  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 387972 – gtkassistant drawing problem
+
+       * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make 
+       GtkAssistant work better in glade. 
+
+2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
+       properties "expand" and "homogeneous" from TRUE to FALSE (as they are
+       used in GtkToolItem) (#532787).
+
+2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
+       try to toggle the visibility of the location entry field in search and
+       recent mode (#526422).
+
+2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
+       (shortcuts_list_create): Show parse name as tooltip for path
+       shortcuts (#137503).
+
+2008-05-24  Björn Lindqvist  <bjourne@gmail.com>
+
+       * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
+       pango_color_parse, do not reference XParseColor forms (#434991).
+
+2008-05-24  James Sharpe <jsharpe@gnome.org>
+
+       * gdk/gdk.symbols: Remove duplicate
+       gdk_window_redirect_to_drawable and gdk_window_remove_redirection
+       * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
+       
+2008-05-23  Hans Breuer  <hans@breuer.org>
+
+       * **/makefile.msc gtk/makefile.msc.in : updated
+       * gtk/gtkwidget.c : fix c99ism (variable at start of block
+       * gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
+       redirection
+       * gtk/gtkfilechooserdefault.c : #include <locale.h> for 
+       setlocale(LC_ALL, ...)
+
+2008-05-23  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
+       gdk_window_remove_redirection.
+
+       * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
+       (_gdk_window_reparent): Rename to adapt to the offscreen rendering
+       changes. Remove now unnecessary parameter checks as the caller
+       does that already.
+
+       * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
+
+2008-05-23  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
+       anything if style doesn't change. Improve debugging output.
+
+2008-05-23  Michael Natterer  <mitch@gimp.org>
+
+       * perf/widgets.h
+       * tests/print-editor.c
+       * tests/prop-editor.h
+       * tests/testmountoperation.c
+       * tests/testmultidisplay.c
+       * tests/testnouiprint.c
+       * tests/testprint.c
+       * tests/testprintfileoperation.h
+       * tests/testtreesort.c
+       * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
+       files. Remove some redundant includes.
+
+2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>
+
+       * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
+       GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
+
+2008-05-21  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
+       offscreen rendering changes, fixes build.
+
+2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
+
+       * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
+       return snapshot pixmap coordinates widget relative in *clip_rect.
+
+       * tests/testgtk.c: fixed bogus NULL pointer unref.
+
+2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
+       widget's allocation to cover extra widget windows placed outside the
+       widget allocation (spinbutton arrows are the prime example for this).
+
+2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
+
+       * Applied pixmap redirection patch by Alexander Larsson with
+       various updates from:
+       Bug 318807 – Offscreen windows and window redirection.
+
+
+       Updates:
+
+       * updated docs to mention "Since 2.16".
+
+       * tests/testgtk.c: fixed snapshooting pixmap leak.
+       convert pixmap to pixbuf after snapshooting, to compensate for different
+       bit depths (occurs when snapshooting ARGB visuals and displaying the
+       pixmap in an RGB visual).
+
+       * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
+
+       * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
+       need for it. enqueue damage notification as GDK_DAMAGE events
+       for each painting redirection at the start of the event queue.
+       consider windows with a redirection fully visible when invalidating,
+       and when updating from backing store. cleaned up stale variables.
+
+       * gdk/gdkevents.c: added _gdk_event_queue_prepend().
+
+       * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
+       gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
+       tree, drawingarea, text, handlebox, etc.
+       clip the redirected window hierarchy to window sizes, the visible
+       rectangles don't need to be taken into account here.
+       extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
+       in case pixmap visuals could mismatch.
+
+       * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
+
+
+       Base patch:
+
+       * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
+       of possibly obscured widgets into an offscreen pixmap.
+
+       * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
+       gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
+
+       * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
+
+       * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
+       implementations here, adapted them to propagate redirects to child windows.
+       gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
+       clipped to visible region. queue GDK_DAMAGE event delivery.
+       gdk_window_redirect_to_drawable(): install window painting redirection.
+       gdk_window_remove_redirection(): remove previously installed redirection.
+
+       * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
+       renamed _gdk_window_new() and _gdk_window_reparent().
+
+       * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
+       gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
+
+       * gdk/gdkevents.h: added GDK_DAMAGE event type.
+
+       * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
+
+       * gdk/gdkinternals.h: added internal prototypes.
+
+2008-05-21  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkalignment.c
+       * gtk/gtkarrow.c
+       * gtk/gtkbbox.c
+       * gtk/gtkcalendar.c
+       * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
+
+2008-05-20  Matthias Clasen  <mclasen@redhat.com>
+
+       RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
+       was chosen
+
+       Patch by Marek Kasik.
+
+       * gtk/gtk.symbols:
+       * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
+       
+       * gtk/gtkprintbackend.[hc]: Add fallback implementation.
+
+       * modules/printbackends/file/gtkprintbackendfile.c:
+       * modules/printbackends/cups/gtkprintbackendcups.c: Implement
+       get_default_page_size.
+
+       * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
+       select its default paper size.
+
+       * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
+       use the printer default.
+
+       * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
+       if we don't have a default page setup.
+
+2008-05-20  Gian Mario Tagliaretti  <gianmt@gnome.org>
+
+       * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
+       can accept NULL for none. Fixes bug #533920.
+
+2008-05-20  Björn Lindqvist  <bjourne@gmail.com>
+
+       * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
+       gtk_spin_button_update): Remove two chunks of duplicated
+       code (#533733).
+
+2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>
+
+       * reverted recent unapproved changes by Yair Hershkovitz,
+       regarding: Bug 503071 – Application direction changes to right
+       to left even if theres no translation.
+
+2008-05-19  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
+       (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
+       SetSystemUIMode instead of hiding and showing the menubar.
+
+2008-05-19  Federico Mena Quintero  <federico@novell.com>
+
+       http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
+       can't be resized until you expand the "Browse for other folders"
+       section.
+
+       * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
+       Removed the "get_resizable" method.
+       (_gtk_file_chooser_embed_get_resizable): Removed.
+
+       * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
+
+       * gtk/gtkfilechooserdefault.c: Likewise.
+
+       * gtk/gtkfilechooserdialog.c
+       (file_chooser_widget_default_size_changed): Act as if the dialog
+       were always resizable.
+
+2008-05-19  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkcellrenderer.c
+       * gtk/gtkcellrendererpixbuf.c
+       * gtk/gtkcellrenderertoggle.c
+       * gtk/gtkimagemenuitem.c
+       * gtk/gtkmenutoolbutton.c
+       * gtk/gtkoptionmenu.c
+       * gtk/gtkstatusbar.c
+       * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
+
+2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
+
+       * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
+       g_disable_setlocale().
+
+2008-05-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       (gdk_window_impl_quartz_invalidate_maybe_recurse):
+       (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
+       of g_idle_add. Add a temporary check if the window is already in
+       the updates list, since update_area currently doesn't always match
+       the backend's state, see bug #530801.
+
 2008-05-13  Tor Lillqvist  <tml@novell.com>
 
-       Bug 496958 - Wacom Bamboo Doesn't Function with GTK apps in Win32
+       Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
 
        * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
        the "packet rate" of devices to zero instead of 50. This is