]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Fix string offsets.
[~andy/gtk] / ChangeLog
index eb48ed7dfbdf5d771a45f5367d3f052ec8e456e6..83b4584caf7abae708aac0b7919fd000829c0995 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,519 @@
+2006-01-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c: Fix string offsets.
+
+       Allow falling back to another icon theme before 
+       hicolor.   (#325546, Rodney Dawes)
+       
+       * gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.
+
+       * gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.
+       
+       * gtk/gtkicontheme.c: Consult the fallback icon theme before
+       looking in hicolor. 
+
+2006-01-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testgtk.c: Add an expander example.
+
+       * gtk/gtkcalendar.c (gtk_calendar_focus_out): Queue a draw
+       when losing the focus.  (#326064, Andrew Conkling)
+
+       * gtk/gtkimmulticontext.c: 
+       * gtk/gtkhsv.c: 
+       * gtk/gtkhandlebox.c: Convert to use instance private data.
+
+       * gtk/gtk.h: Remove duplicate include.  (#326429, 
+       Benoît Carpentier)
+
+       * gtk/gtkpaned.c: Convert to use instance private data.
+
+2006-01-10  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
+       right object ("closed" is emitted by the display, not the screen).
+       (bug #85715)
+
+2006-01-10  Anders Carlsson  <andersca@imendio.com>
+
+        * gdk/quartz/gdkproperty-quartz.c:
+        (ensure_atom_tables):
+        (intern_atom_internal):
+        (gdk_atom_intern):
+        (gdk_atom_intern_static_string):
+        (gdk_atom_name):
+        Implement local-only atoms.
+
+2006-01-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkgc.c (gc_get_foreground): Correct a warning.
+       (#326341, Benoît Carpentier)
+
+       * gtk/gtk.symbols:
+       * gtk/gtkwindow.h:
+       * gtk/gtkwindow.c (gtk_window_get_group): Make this function
+       public API.  (#307099, Todd Berman)
+
+       * gtk/gtkmenu.c: 
+       * gtk/gtkmain.c: 
+       * gtk/gtkentrycompletion.c: 
+       * gtk/gtkcombo.c: 
+       * gtk/gtkcombobox.c: Update all callers.
+
+       * gtk/gtkentry.c (paste_received):  Make GtkEntryCompletion
+       complete on pastes at the end.  (#165714, Christian Neumair)
+
+       * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): 
+       Prevent the first row being focused on map.  (#137351,
+       Niklas Knutsson)
+
+2006-01-09  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtk.symbols:
+       * gtk/gtkeditable.h:
+       * gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
+       * gtk/gtksizegroup.h:
+       (struct _GtkSizeGroup): 
+
+       Add gtk_size_group_get_widgets, fixes #326324.
+       Also mark all fields of GtkSizeGroup as private
+
+2006-01-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
+       leak preedit_string and preedit_attrs.  (#322332, Paolo
+       Borelli)
+
+       * gtk/gtk.symbols:
+       * gtk/gtkaction.h: 
+       * gtk/gtkaction.c (gtk_widget_get_action): New function to
+       get the action for a proxy.  (#326288)
+
+       * gtk/gtkaction.c: Go back to the old key for attaching the
+       action to the proxy.  (#326288, Diego González)
+
+2006-01-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
+       empty strings.  (#326200, Christian Stimming)
+
+2006-01-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.[hc]: 
+       * gtk/gtklabel.[hc]: Shrink the private structs of these a bit.
+
+       * gtk/gtklabel.c (get_layout_location): Fix label alignment 
+       when width-chars is set.  (#326098, Benjamin Otte)
+
+       * gdk/gdkregion-generic.c (miRegionCopy): Fix this for the 
+       single-rectangle case.  (#326127, Benjamin Berg)
+       (gdk_region_copy): Use miRegionCopy() here.
+
+2006-01-07  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix actiongroup-action interaction that relied on 
+       actions connecting to notify on themselves:
+       
+       * gtk/gtkaction.[hc]: Factor out the code updating the
+       visibility/sensitivity of proxies into _gtk_action_sync_visible()
+       and _gtk_action_sync_sensible().
+
+       * gtk/gtkactiongroup.c: Call the new functions when the
+       group visibility/sensitivity changes. 
+
+2006-01-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkactiongroup.c (gtk_action_group_set_sensitive) 
+       (gtk_action_group_set_visible): Add missing property change
+       notification.
+
+2006-01-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (model_add_special): Just use the
+       directory name for the home dir.  (#325817, Federico Mena Quintero)
+       
+       * gtk/gtktexttag.c (gtk_text_attributes_new): Initialize editable 
+       to TRUE. 
+       (gtk_text_tag_class_init): The default value for the direction 
+       property is GTK_TEXT_DIR_NONE. Add notes about the initial values 
+       of the font and language properties.
+
+       * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Make clicked
+       an action signal.  (#325782, Martyn Russell)
+
+       * gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
+       the old adjustments signals.  (#325869, Jorn Baayen)
+
+2006-01-06  Hans Breuer  <hans@breuer.org>
+
+       * tests/makefile.msc : added a bunch of tests
+       * tests/testcellrenderertext.c : use g_snprintf()
+       * tests/testfilechooserbutton.c : don't include unistd.h twice.
+       Removed the unconditional one and added direct.h for G_OS_WIN32
+       
+2006-01-05  Hans Breuer  <hans@breuer.org>
+
+       * gdk/makefile.msc : also recurse into win32 for ::clean
+       * gtk/makefile.msc.in : create gtkbuiltincache.h (most code
+       to simulate links) and file renames
+
+2006-01-05  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkprogressbar.c: Set minimum for activity-step property to 0
+       instead of -G_MAXUINT.
+       
+2006-01-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwindow.c: Only connect to the event if we have
+       a frame, since the handler is only relevant in that case.
+
+       * gtk/gtkaction.c (connect_proxy, disconnect_proxy): 
+       Use a weak reference rather than the destroy signal to track 
+       proxies going away.
+
+       * gtk/gtkbindings.c (binding_signal_new): Revert the last change.
+
+       * gtk/gtkaction.c (gtk_action_sync_property): 
+       (gtk_action_sync_stock_id): Removed.
+
+2006-01-05  Rodrigo Moya <rodrigo@novell.com>
+
+       * gtk/gtkbindings.c (binding_signal_new): allocate correct amount for
+       signal and arguments.
+
+2006-01-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_grab_focus): Don't return a value from
+       a void function.
+
+2006-01-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkbindings.h (struct _GtkBindingSignal): Revert questionable
+       changes.
+       
+       * gtk/gtkbindings.c: Use the slice allocator and allocate signal
+       and arguments in one block.
+
+       * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Don't return
+       a list of NULLs.  (#325723, Steve Chaplin)
+
+2006-01-04  Rodrigo Moya <rodrigo@novell.com>
+
+       * gtk/gtkbindings.c (binding_signal_new): guard against multiplying
+       by -1 (when n_args is 0).
+
+2006-01-04  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkmenutoolbutton.c
+       (gtk_menu_tool_button_set_menu)
+       (gtk_menu_tool_button_destroy): use gtk_menu_attach_to_widget()
+       and gtk_menu_detach() instead of reffing/unreffing the menu
+       manually. Also fixes brokenness on screen change (bug #85715).
+
+2006-01-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaccelmap.c: 
+       * gtk/gtkactiongroup.c: 
+       * gtk/gtkdialog.c: 
+       * gtk/gtkfilesystemunix.c: 
+       * gtk/gtkgc.c: 
+       * gtk/gtkkeyhash.c: 
+       * gtk/gtkplug.c: 
+       * gtk/gtktextiter.c: 
+       * gtk/gtktextlayout.c: 
+       * gtk/gtkuimanager.c: 
+       * gtk/gtkwidget.c: 
+       * gtk/gtkwindow.c: 
+       * gtk/gtkxembed.c: Use the slice allocator for many small 
+       allocations.
+
+       * gtk/gtkcolorsel.c: 
+       * gtk/gtktreeview.c: Use IPN.
+
+       * gtk/gtkwidget.c: Remove an unused field from the AccelPath 
+       struct.
+
+2006-01-04  Tor Lillqvist  <tml@novell.com>
+
+       * gtk-zip.sh.in: Include also the gtk20-properties message catalogs.
+
+2006-01-03  Matthias Clasen  <mclasen@redhat.com>
+       
+       * gtk/gtkdnd.c: Make it compile
+
+       * gtk/gtkdnd.c (gtk_drag_begin_internal): Call gtk_drag_update
+       for non-motion events.  (#325443, Peter Harvey)
+
+       * gtk/gtkaction.c: Avoid connecting to notify on our own
+       properties. 
+
+2006-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.c (gtk_entry_delete_from_cursor): When deleting
+       words, delete preceding whitespace as well.  (#325358,  Akkana Peck)
+
+2006-01-02  Anders Carlsson  <andersca@imendio.com>
+
+        * gdk/quartz/GdkQuartzWindow.c:
+        (-[GdkQuartzWindow canBecomeMainWindow]):
+        (-[GdkQuartzWindow canBecomeKeyWindow]):
+        Have these return TRUE
+        
+        * gdk/quartz/gdkevents-quartz.c:
+        (pointer_grab_internal):
+        Remove FIXME
+        
+        (find_child_window_by_point_helper):
+        Fix bug in offset calculation
+        
+        (find_window_for_event):
+        Use grab window toplevel when a grab is in effect
+        
+        (gdk_event_translate):
+        Don't call _gdk_event_button_generate on mouse up
+        
+        * gdk/quartz/gdkgc-quartz.c:
+        (_gdk_quartz_gc_new):
+        Fix indentation
+        
+        * gdk/quartz/gdkwindow-quartz.c:
+        (gdk_window_new):
+        Make TEMP windows borderless
+        
+        (gdk_window_hide):
+        Hide window
+        
+        (gdk_window_get_origin):
+        Implement
+        
+2006-01-02  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkwindow-win32.c
+       (gdk_window_impl_win32_get_visible_region): Make identical to the
+       X11 implementation. (#322264, John Ehresman)
+
+       * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): Get the
+       invalidated region from ScrollWindowEx() instead of an incorrect
+       attempt to calculate it ourselves. Fix by John Ehresman. (#323666)
+
+       * gdkevents-win32.c: Make _gdk_win32_hrgn_to_region() non-static.
+
+       * gdkprivate-win32.h: Declare it.
+
+2005-12-31  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaction.c: 
+       * gtk/gtkentry.c: Connect to notify instead of multiple
+       detailed signals.
+
+2005-12-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdk.symbols: 
+       * gdk/gdkcairo.h: 
+       * gdk/gdkcairo.c: Add gdk_cairo_set_source_pixmap.  (#318805,
+       Alexander Larsson)
+
+       * gdk/gdkdisplaymanager.c (gdk_display_manager_set_property): Call
+       gdk_display_manager_set_default_display() to change the default
+       display.  (#153623, Stefan Kost)
+
+       * gtk/gtkmessagedialog.c (gtk_message_dialog_init):
+        (setup_type): Alert dialogs should not have titles and should 
+       not be displayed in the taskbar.  (#310443, Carlos Garnacho Parro,
+       Dennis Cranston)
+
+2005-12-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkliststore.c: 
+       * gtk/gtktreestore.c: Always call the get_path and get_iter
+       implementations directly, rather than the current mixture whith
+       some calls going through the GtkTreeModel interface.
+
+       * gtk/gtktreemodelsort.c: 
+       * gtk/gtkliststore.c: 
+       * gtk/gtktreestore.c: Remove excessive g_return_if_fail() checks
+       in static functions.
+       
+       * gtk/gtktreedatalist.c: Use the slice allocater for 
+       GtkTreeDataSortHeader.
+
+       * gtk/gtktreedatalist.h: 
+       * gtk/gtktreedatalist.c (_gtk_tree_data_list_set_header): New function.
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): 
+       * gtk/gtkliststore.c (gtk_list_store_set_sort_func): 
+       * gtk/gtktreestore.c (gtk_tree_store_set_sort_func): Use it here.
+
+2005-12-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkbindings.h (GtkBindingSignal): 
+       * gtk/gtkbindings.c (binding_signal_new): Make the
+       args a flexible array inside the struct, and allocate them
+       together.
+
+Wed Dec 28 00:45:46 2005  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkctree.c (row_delete): delete GtkCTreeRow as GtkCTreeRow, not
+       clist rows which crashes in gslice later on.
+
+2005-12-27  Federico Mena Quintero  <federico@ximian.com>
+
+       * gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
+       FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
+       not NULL.  Fixes bug #317687.
+
+2005-12-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
+       (gdk_screen_get_setting): Avoid relocations for the settings
+       map.
+
+       * gdk/x11/gdkproperty-x11.c: Avoid relocations for the list
+       of standard atoms.
+
+       * gtk/gtkbindings.c (gtk_binding_set_new): Avoid copying
+       the set_name by interning it.
+
+2005-12-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Precache atoms
+       before calling gdk_window_new().
+
+       * gtk/gtktextbtree.c: Use the slice allocator for some other small
+       auxiliary structures as well.
+
+       * gtk/gtkimcontext.c (gtk_im_context_filter_keypress): Clarify
+       docs.  (#324996)
+
+       * gtk/gtktextbtree.c (gtk_text_btree_get_tag_info) 
+       (gtk_text_btree_remove_tag_info): Use the slice allocator for 
+       tag info.
+
+       * README.in: Mention the stripping of (_F) suffixes.
+
+       * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Strip a suffix of 
+       the form "(_<single character>)", since this is the preferred way
+       for some languages to indicate accelerators.  (#323956, Yang Hong)
+
+       * gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
+       setting.
+       (gtk_label_grab_focus): And use it here to select the contents of
+       the label when appropriate.
+       (gtk_label_class_init): Use the same keybindings for select all/
+       unselect all as GtkEntry and GtkTextView.
+
+       * gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
+       focus, avoid leaving a selection in a label.
+
+2005-12-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwindow.c: Documentation fixes.  (#324815, 
+       Ross Burton)
+
+       * configure.in: Require GLib 2.9.2
+
+2005-12-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkregion-generic.c: 
+       * gdk/gdkpolyreg-generic.c: 
+       * gdk/gdkregion.h: 
+       * gdk/gdkrectangle.c: Inline docs, use g_assert(), avoid 
+       extra allocation for rectangular regions.
+
+Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.
+
+Thu Dec 22 17:55:11 2005  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkobject.h: parent type fixups in structure declarations.
+
+Thu Dec 22 16:01:27 2005  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkobject.c: derive GtkObject from GUnowned,
+       so it initially has a floating reference count.
+       gtk_object_class_init(): installa floating flag handler with
+       libgobject, so for GtkObjects the flag is stored as GTK_FLOATING
+       in the ->flags member.
+
+       * tests/floatingtest.c: test floating flag uses.
+
+2005-12-21  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkregion-generic.c: Use the slice allocator
+       for regions. Still todo: avoid extra allocations for
+       the single-rectangle case.
+
+       * gtk/gtksettings.c (gtk_settings_class_init): Update
+       class_n_properties after installing color-hash, since
+       other classes install settings, too.
+
+       * gtk/gtkctree.c: 
+       * gtk/gtkclist.c: Fix some mistakes in the conversion
+       from mem chunks to slice allocator.
+
+       * gtk/gtkiconview.c (adjust_wrap_width): Adjust the 
+       wrap-width also if an explicit item width is set.  
+       (#322475, Alex Graveley)
+       
+2005-12-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkiconview.c (gtk_icon_view_button_press): Reset 
+       pressed_button to -1 after handling a double click, so that
+       motion events occurring between here and the release event
+       don't trigger DND.  (#324588, Dave Andreoli)
+
+2005-12-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcellrenderer.c: 
+       * gtk/gtkselection.c: 
+       * gtk/gtkcalendar.c: 
+       * gtk/gtkitemfactory.c: 
+       * gdk/gtkcombo.c: 
+       * gdk/gdkpixbuf-render.c: Documentation updates
+
+       * gtk/gtktreemodel.c: 
+       * gtk/gtkplug.c: 
+       * gtk/gtkwindow.c: Documentation fixes.
+
+2005-12-19  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkentry.c: implement boolean property "truncate-multiline"
+       which, when enabled, truncates multi-line pastes or drops to their
+       first line. Fixes bug #322252.
+
+       * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): enable
+       truncate-multiline here.
+
+2005-12-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtksettings.c (get_color_hash): Don't crash if
+       there is no color scheme.  (#324429, Diego Gonzalez)
+
+2005-12-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesystem.c (gtk_file_system_module_load): 
+       * gtk/gtkimmodule.c (gtk_im_module_load): 
+       * gtk/gtkthemes.c (gtk_theme_engine_load): 
+       * gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
+       opening modules.
+
+       * gtk/gtksettings.[hc]: Rework the way the color scheme setting
+       is inherited. Now the overriding is done on a per-color basis,
+       rather than for the setting as a whole. This has the effect
+       that themes can declare defaults for all the symbolic colors they
+       use by specifying a value for the gtk-color-scheme setting in 
+       their rc file, while still allowing the XSetting to override
+       "standard" symbolic colors. The hash table is now available
+       through the color-hash property.
+       
+       * gtk/gtkrc.c: Use the new color-hash property.
+       
+2005-12-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcontainer.c (_gtk_container_focus_sort): Skip unrealized
+       children when doing focus sorting.  (#323995, Dan Winship)
+
 2005-12-14  Rodney Dawes  <dobey@novell.com>
 
        * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
@@ -165,7 +681,7 @@ Tue Dec  6 10:32:17 2005  Tim Janik  <timj@gtk.org>
 
        * gdk/x11/gdkevents-x11.c: map the new GtkSettings properties
        "timeout-initial", "timeout-repeat", "color-scheme" and
-       "enable-enimations" to X settings.
+       "enable-animations" to X settings.
 
 2005-12-05  Matthias Clasen  <mclasen@redhat.com>