]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Bug 530353 – Mac-like gtk_accelerator_get_label()
[~andy/gtk] / ChangeLog
index bd914a3fadd3da9b8047667bad553215fa07330e..cfb92b57ee20736ee440b3709f4f82946297283c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,428 @@
+2008-05-26  Richard Hult  <richard@imendio.com>
+
+       Bug 530353 – Mac-like gtk_accelerator_get_label()
+
+       * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
+       (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
+       On quartz, make gtk_accelerator_get_label() format a Mac-like
+       string, using unicode characters for modifier keys, arrows, delete
+       etc. Patch from Yevgen Muntyan.
+
+2008-05-26  Richard Hult  <richard@imendio.com>
+
+       Bug 534869 – Length miscalculation in
+       _gtk_quartz_get_selection_data_from_pasteboard
+
+       * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
+       Get the number of bytes, not the number of characters, patch from
+       Yevgen Muntyan.
+
+2008-05-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwidget.c: Some doc formatting fixes.
+
+2008-05-26  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 511163 – Remove pango_extents_to_pixels() calls
+
+       * gtk/gtkcellrenderertext.c (get_size): Use
+       pango_layout_get_pixel_extents.
+
+       * configure.in: Bump Pango requirement to 1.20
+
+       * INSTALL.in: Update required versions
+
+2008-05-26  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 513811 – Use cairo_format_stride_for_width()
+
+       * gtk/gtkhsv.c (paint_ring, paint_triangle):
+       * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
+       cairo_format_stride_for_width, proposed by Behdad Esfahbod.
+
+       * configure.in: Bump cairo requirement to 1.6.0
+
+       * INSTALL.in: Update required versions
+
+2008-05-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkshow.[hc]: Formatting fixes
+
+       * gtk/gtkmountoperation.c: Add docs
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 507389 – use gslice for gtksettings
+
+       * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
+       Report and patch by Christian Persch.
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
+       when options are missing
+
+       * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
+       that other processes that try to open it will fail gracefully.  Also
+       fix a crasher caused by lack of a NULL check.  Report and patch
+       by Erwann Chenede.
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
+
+       * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
+       !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
+       so that we also take into account for foreign windows.
+       Report and patch by Nathaniel Smith.
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 525461 - Don't invalidate under an input-only child
+
+       * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
+       Check that the window is not input-only before invalidating.
+       Report and patch by Owen Taylor.
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 524110 - Gdk should not assume reparenting WMs when retrieving
+       window frame extents
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
+       Use _NET_FRAME_EXTENTS, if available.  Patch by Danny Baumann.
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 522269 - Evince windows sometimes incorrectly unmaximized,
+       caused by missing flag initialization
+
+       * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
+       top-level private flags correctly.  Patch by Danny Baumann.
+
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 534463 - non-editable GtkTextView should not call
+       gtk_im_context_focus_in in focus event
+
+       * gtk/gtktextview.c: Add checks to see if the textview is
+       editable.  Patch by Wang Diancheng.
+
+2008-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 501730 – use GSlice for small allocs
+
+       * gtk/gtkmenuitem.c:
+       * gtk/gtkmenu.c: Use the slice allocator for small allocations.
+       Patch by Christian Persch.
+       
+2008-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 523930 – sort -> search in gtktreeview.c
+
+       * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
+       glitch, pointed out by Björn Lindqvist.
+
+2008-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
+
+       * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
+       doc glitch, pointed out by Christian Persch.
+
+2008-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 534694 – Col id in GtkListStore could be out of range
+
+       * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
+       a bit. Pointed out by Jan Arne Petersen.
+
+2008-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 532497 – Configure problem when cross-compiling
+
+       * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
+       pointed out by Marko Lindqvist.
+
+2008-05-25  Richard Hult  <richard@imendio.com>
+
+       * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
+       Slight coding style cleanup.
+
+2008-05-25  Tristan Van Berkom <tvb@gnome.org>
+
+       * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
+       Added support for parsing required toolkit versions (so that ui descriptions
+       can target specific versions of the backend widget libraries) bug 527612.
+
+       * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
+       for the added xml tags to the ui description.
+
+       * tests/buildertest.c: Enhanced pango attribute tests, Added tests
+       for requires tag handling.
+
+2008-05-25  Richard Hult  <richard@imendio.com>
+
+       * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
+       gtk_drag_source_info_destroy in an idle, workaround for bug
+       #501588, that makes any code that uses the context returned from
+       gtk_drag_begin() crash, like treeview/iconview dnd.
+       (GdkDragSourceOwner::provideDataForType): only use the data if we
+       got any.
+
+2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
+       to the drag actions to allow trash (#137717).
+
+2008-05-25  Josselin Mouette  <joss@malsain.org>
+
+       reviewed by: Matthias Clasen
+
+       * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
+        check that tracker is actually working before using it. Fixes
+        bug #479197.
+
+2008-05-25  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
+       (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
+       and don't create an output window if it is set.
+
+       * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
+       drawing areas. Fixes bug #519317.
+
+2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
+       (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
+       * gtk/gtkentry.h:
+       * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
+       (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
+       (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
+       (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
+       (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
+       (start_spinning), (gtk_spin_button_button_release),
+       (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
+       (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
+       (gtk_spin_button_update): Reorder strange window hierarchy of the
+       GtkSpinButton (#466000).
+
+2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
+       fix the wrong position for right and center justified labels with
+       logical.x > 0 (#530255).
+
+2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtkfilechooserdefault.c:
+       (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
+       errors (#532262).
+
+2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
+
+       * tests/pixbuf-lowmem.c
+       * tests/pixbuf-random.c
+       * tests/pixbuf-randomly-modified.c
+       * tests/pixbuf-read.c
+       * tests/pixbuf-threads.c
+       * tests/testgtk.c
+       * tests/testtreeview.c: Fix remaining compiler warnings in these
+       files (#523751).
+
+2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
+
+       reviewed by: Matthias Clasen
+
+       * gtk/Makefile.am:
+       * gtk/gtk.h:
+       * gtk/gtk.symbols:
+       * gtk/gtkshow.c: (gtk_show_uri):
+       * gtk/gtkshow.h:
+       Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
+
+2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
+
+       * gtk/gtkliststore.c: (list_store_text): Use type of the correct
+       column (#529535).
+       * tests/buildertest.c: (test_list_store): Add test.
+
+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
 
 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.
+       * 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>