]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
stylecontext: Do invalidation on first resize container
[~andy/gtk] / ChangeLog.pre-2-10
index 5fd7c91d0aaa0bb319bfa52b491d45cd209cb302..cb0733bc0b8201330bdab01fba313deae847c057 100644 (file)
@@ -1,5 +1,305 @@
+2006-08-22  Matthias Clasen  <mclasen@redhat.com> 
+
+       * Branch for 2.10
+
+2006-08-23  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkfilesystemwin32.c: Remove dead code. Reduce spurious
+       differences between this file and gtkfilesystemunix.c so that it
+       is easier to compare them and check if differences are
+       intentional. I will later factor out the common functions and code
+       snippets from these two files.
+
+2006-08-23  Tor Lillqvist  <tml@novell.com>
+
+       Fix several problems with the file chooser on Windows, for
+       instance prevent duplicated directory entries from appearing.
+
+       * gtk/gtkfilesystem.c (gtk_file_paths_sort): Use
+       _gtk_file_system_win32_path_compare() on Windows for casefolded
+       sorting.
+
+       * gtk/gtkfilesystemwin32.c (casefolded_hash, casefolded_equal):
+       case-independent hash and equality functions. Scan the UTF-8
+       strings gunichar by gunichar, and ignore special casing rules, to
+       more closely match NTFS behaviour.
+       (gtk_file_system_win32_init): Use casefolded_hash() and
+       casefolded_equal() for the folder hash table.
+       (remove_trailing_slash): Don't remove the slash of a drive or
+       share root.
+       (get_mime_type_for_file): Take also a WIN32_FILE_ATTRIBUTE_DATA as
+       argument, and use that to recognize directories. Don't call
+       g_file_test() to check for executables, just look at the file name
+       extension directly.
+       (gtk_file_system_win32_make_path): Check illegal chars in file
+       name, like in gtkfilesystemunix.c.
+       (create_file_info): Drop unused basename parameter. Call
+       g_filename_display_name() directly for roots, as
+       g_filename_display_basename() mishandles those.
+       (gtk_file_folder_win32_get_info): Skip sanity check for now, as it
+       fails for server share roots. Construct basename only in the if
+       branch that uses it.
+       (fill_in_names): Use casefolded_hash() and casefolded_equal() for
+       the folder's stat_info hash table, too.
+       (_gtk_file_system_win32_path_compare): Scan the strings gunichar
+       by gunichar and ignore special casing here, too, instead of using
+       g_utf8_casefold(). Match slash and backslash.
+
+2006-08-23  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask)
+       (gdk_window_input_shape_combine_mask)
+       (gdk_window_shape_combine_region)
+       (gdk_window_input_shape_combine_region): Add Win32 detail to doc
+       comments.
+
+2006-08-22  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtktextview.c: do not scroll on copy. Bug #329604.
+
+2006-08-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkrecentchooser.c (gtk_recent_chooser_get_uris): Behave as
+       documented and always return a NULL-terminated array.
+
+       * gtk/gtkrecentmanager.c (gtk_recent_manager_real_changed): Make sure
+       to reset write_in_progress.  
+
+2006-08-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.10.2 ===
+
+       * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_list_filters):
+       Initialize menu.  (#351857, Chris Wilson)
+
+       * gtk/gtkprinteroptionwidget.c (update_widgets): 
+       * modules/printbackends/file/gtkprintbackendfile.c 
+       (output_file_from_settings): Handle filename encoding
+       consistently.  (#351812, Christian Persch)
+
+       * NEWS: Updates
+
+2006-08-17  Federico Mena Quintero  <federico@novell.com>
+
+       * gtk/gtkfilechooserdefault.c
+       (_gtk_file_chooser_default_class_init): Enable "/" and "~" as
+       bindings to activate the location entry again.  Fixes bug #340856.
+       (tree_view_keybinding_cb): Likewise.
+       (trap_activate_cb): Likewise.
+       (location_popup_handler): Handle the "path" argument again; set it
+       as the text on the location entry.
+       (location_set_user_text): New helper function.
+       (load_setup_timer): Fix comment.
+
+       * tests/autotestfilechooser.c (main): Oops, enable all the tests again.
+
+2006-08-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmodules.c (find_module): Revert the local binding
+       change to avoid a11y regressions in current OpenOffice.org
+       releases. The G_MODULE_BIND_LOCAL will be reintroduced 
+       in 2.12.
+
+2006-08-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktrayicon-x11.c: Fix the ClientMessages we are
+       sending to the notification area to be more in sync with
+       the systray spec.  (#350860, Wincent Untz)
+
+       * gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
+       printing idles at a low priority.  (#348289, Yevgen Muntyan)
+
+       * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Add some
+       caveats to the documentation.  (#348971)
+
+Thu Aug 17 16:19:35 2006  Tim Janik  <timj@imendio.com>
+
+       * docs/tutorial/gtk-tut.sgml: fixed buglet from #351759.
+
+2006-08-17  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/Makefile.am (libgtk_win32_2_0_la_LIBADD): Link with -luuid
+       for IID_IUnknown that gtkprintoperation-win32.o needs.
+
+2006-08-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/file/gtkprintbackendfile.c: Improve
+       the handling of the default output filename, to ensure
+       that we default to output.ps when only PostScript output
+       is possible.  (#348236, Don Scorgie)
+
+       * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_manual_capabilities): 
+       Re-select the current printer to update per-printer ui. 
+       (#348245, Don Scorgie)
+
+       * gtk/gtkfilechooserbutton.c (set_info_get_info_cb) 
+       (model_add_special_get_info_cb): Handle the case where the
+       filechooser button is destroyed quickly.
+
+2006-08-17  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtktextbuffer.c: make sure the has-selection property is
+       updated when the delection is deleted. Bug #329752
+       * tests/testtext.c: add a copy menu item and show how to
+       update its sensitivity tracking the has-selection property.
+
+2006-08-17  Michael Emmel  <mike.emmel@gmail.com>
+
+       * configure.in:
+       Changed  to use cairo-directfb.pc bug #351519
+
+2006-08-17  Kristian Rietveld  <kris@gtk.org>
+
+       * demos/gtk-demo/main.c (window_closed_cb), (row_activated_cb),
+       (create_tree): move the ITALIC_COLUMN over to a STYLE_COLUMN
+       which sets the style attribute.  Makes drawing the active demos
+       in italic work again.
+
+2006-08-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreemodel.c (gtk_tree_model_base_init): Add some
+       docs to the row-deleted signal.  (#349128, Benedikt Meurer)
+
+       * gtk/gtkiconview.c: Update background upon style-set and
+       state-changed.  (#348634, Thomas Rydzynski)
+
+       * gtk/gtkentry.c (paste_received): Popup completion if paste
+       is at the end (patch was already in 2.8.x).  (#165714, 
+       Christian Persch)
+
+       * gtk/gtknotebook.c (gtk_notebook_set_current_page): Explain
+       some quirks of this function.  (#351112)
+
+2006-08-16  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       take the cell spacing into account when calculating the available
+       extra space. (#350938, patch from Peter Johanson).
+
+2006-08-16  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
+       update the refs from children to parents for all nodes, since
+       they may all have been moved by the insert operation. (#346800,
+       patch from Jonathan Matthew).
+
+2006-08-15  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkrecentfilter.c (gtk_recent_filter_filter):
+       * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item):
+       Add Since tags.  (#351581, Brian Cameron)
+
+2006-08-15  Michael Emmel  <mike.emmel@gmail.com>
+
+       * configure.in  
+       Added cairo flag patch to fix directfb build from bug #351519
+
+2006-08-15  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: (get_event_mask_from_ns_event): 
+       Add GDK button mask for NS dragging events.
+       (create_scroll_event): Remove obsolete comment.
+       (_gdk_quartz_get_current_event_mask), (gdk_event_translate): Keep
+       track of the latest event mask here...
+
+       * gdk/quartz/gdkwindow-quartz.c: 
+       (_gdk_windowing_window_get_pointer): And use it here. Patch from
+       Kristian Rietveld.
+       (gdk_window_quartz_update_idle): Rename to make things clearer.
+
+2006-08-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperationpreview.c: 
+       * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Add
+       more docs.
+
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Set CAN_DEFAULT
+       on all buttons.  (#168737, fix proposed by Benjamin Berg)
+
+       * gtk/gtkentryprivate.h: 
+       * gtk/gtkentry.c (_gtk_entry_effective_inner_border): Export 
+       privately. Adjust all callers.
+
+       * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use it
+       here to get the actual inner border.  (#349429, Benjamin Berg)
+
+       * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Don't
+       store GSource pointers, but ids.
+       (gtk_file_chooser_entry_dispose): Remove idles.
+       (idle_add, idle_add): Factor this out.
+       (gtk_file_chooser_entry_maybe_update_directory): 
+       (add_completion_idle): And use it here. (#350039, Chris Wilson)
+
+       * gtk/gtkicontheme.c (do_theme_change): Run the reset_styles
+       idle at a priority higher than size negotiation.  (#350517,
+       Søren Sandmann)
+       
+       * gtk/gtkfilesystem.c (gtk_file_info_render_icon) 
+       (gtk_file_system_volume_render_icon): Do better fallbacks
+       if the icon theme does not have icons.  (#345666,
+       Kazuki Iwamoto)
+
+       * gtk/gtkruler.c (gtk_ruler_unrealize): Don't leak
+       no_gr_exp_gc.  (#350050, Chris Wilson)
+
+       * gdk/x11/gdkdrawable-x11.c (get_shm_pixmap_for_image): Don't
+       leak ShmPixmapInfo.  (#349858, Chris Wilson)
+
+       * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): Call evince
+       with the --preview option.  (#350139, Carlos Garcia Campos)
+
+       * modules/printbackends/cups/gtkprintbackendcups.c (create_pickone_option): 
+       Simplify, make it build against cups 1.1.  (#350329)    
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_with_values): 
+       Fix a typo in the docs.  (#349501, Carlos GUSLiBu)
+
+       * gtk/gtkcolorsel.c (palette_paint): Remove a leftover
+       debug statement. (#350072, Iago Rubio)
+
+       * gtk/gtktextbufferserialize.c (check_id_or_name): Fix
+       warning text.  (#349277)
+
+       * gtk/gtknotebook.c (gtk_notebook_enter_notify): Remove.
+       (gtk_notebook_motion_notify): Instead, update the arrow
+       state here.  (#349570, Benjamin Otte)
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry_hints):
+       Use XAllocSizeHints to allocate the XSizeHints struct.
+       (#249285, David Baron)
+
+       * gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd):
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_decorations):
+       (gdk_window_set_functions): Zero out some stack-allocated
+       X structures, to avoid valgrind warnings about uninitialized
+       memory.  (#349382, David Baron)
+
+2006-08-14  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchooser.c:
+       (gtk_recent_chooser_add_filter),
+       (gtk_recent_chooser_remove_filter),
+       (gtk_recent_chooser_set_filter): Add a check on the
+       filter argument, instead of blindly passing it to
+       underlying implementation.
+
+       * gtk/gtkrecentchoosermenu.c:
+       (gtk_recent_chooser_menu_add_filter),
+       (gtk_recent_chooser_menu_remove_filter),
+       (gtk_recent_chooser_menu_list_filters): Implement
+       these GtkRecentChooser methods, by setting and
+       returning the only GtkRecentFilter object supported
+       by a GtkRecentChooserMenu. (#347856, reported by Rod
+       Butcher)
+
 2006-08-14  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkcombobox.c (gtk_combo_box_remove): Null the
+       cell_view pointer if the internal cell view is removed. 
+       (#348828, Rolando Espinoza La Fuente)
+
        * gtk/gtkentry.c (gtk_entry_drag_data_received): Don't leak
        in the non-editable case.  (#350258, Colin Leroy)