X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog;h=9f7bee17a516998121dc781633d63a71c536c143;hb=588b8c7f717778d57c2d639dadea7457335a59b7;hp=19f858a2be2328d1a5e3c98979aa9a698fb2d5cd;hpb=b33307b7906dc55162bbb85bba14017577811917;p=~andy%2Fgtk diff --git a/ChangeLog b/ChangeLog index 19f858a2b..9f7bee17a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,429 @@ +Fri May 28 14:20:17 2004 Matthias Clasen + + * gdk/x11/gdkevents-x11.c: Fix off-by-one allocation + errors. (#143337, Billy Biggs) + +Thu May 27 16:36:22 2004 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set + bits within visual->depth that aren't used for color to + 1s, in case they are alpha. + +2004-05-27 Anders Carlsson + + * gtk/gtkfilechooserdefault.c (save_folder_combo_create): + Make separator rows insensitive. + +Thu May 27 00:48:16 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c (gtk_entry_completion_set_text_column): + Add more docs. + +Thu May 27 00:45:07 2004 Matthias Clasen + + * gtk/gtkentrycompletion.h: + * gtk/gtkentrycompletion.c (gtk_entry_completion_get_text_column): + Getter for text_column. Also make ::text_column a property. + +Thu May 27 00:11:01 2004 Matthias Clasen + + * gtk/gtkmenuitem.c (gtk_menu_item_size_request): Fix a typo. + +Thu May 27 00:07:47 2004 Jonathan Blandford + + * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the + signal if the box exists. + +Wed May 26 23:26:51 2004 Matthias Clasen + + Support insensitive cells in tree views and combo boxes: + + * gtk/gtkcellrenderer.h: + * gtk/gtkcellrenderer.c: Add a ::sensitive property. + + * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): + * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): + * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): + Support drawing insensitive. + + * gtk/gtkcellview.h: + * gtk/gtkcellview.c (gtk_cell_view_get_cell_renderers): New + function to obtain the cell renderers from a cell view. Also + export gtk_cell_view_set_cell_data(). + + * gtk/gtktreeselection.c (tree_column_is_sensitive): + * gtk/gtktreeselection.c (row_is_selectable): Helper functions + to determine whether all visible cells in a row are insensitive + and whether a row is selectable. A row is not selectable if the + user function says so or if all visible cells are insensitive. + * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): + * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): + Use row_is_selectable(). + + * gtk/gtkcombobox.c (row_is_sensitive): + * gtk/gtkcombobox.c (tree_column_row_is_sensitive): + * gtk/gtkcombobox.c (menu_row_is_sensitive): Helper functions + to determine row sensitivity in menu or list mode. + + * gtk/gtkcombobox.c (update_menu_sensitivity): Helper function + to set up sensitivity menu items from the underlying rows. + + * gtk/gtkcombobox.c (gtk_combo_box_popup): + * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): Use + update_menu_sensitivity(). + + * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Setup the cell + data funcs. + + * gtk/gtkcombobox.c (gtk_combo_box_key_press): Skip insensitive + rows. + + * tests/testcombo.c (main): Make some rows insensitive. + +2004-05-26 Robert Ögren + + * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Send key + modifiers (shift, ctrl etc) in button and motion events from the + tablet. (#143240) + +2004-05-26 Robert Ögren + + * gdk/win32/gdkinput-win32.c (gdk_device_get_state): Simple + implementation for extended input devices using last known + device state (#143237) + +Tue May 25 21:54:00 2004 Matthias Clasen + + * gtk/gtkframe.c: Move docs inline, fixing them on the + way. (#143029, Steve Chaplin) + +2004-05-11 Robert Ögren + + * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse + events to windows that want extended input events. (#142943) + (gdk_event_translate): Move check for extended input devices to + propagate, new parameter to propagate. + (gdk_pointer_grab, gdk_display_pointer_ungrab): Enable calls to + _gdk_input_(un)grab_pointer. (#142943) + + * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Check for + input grab. [Fix missing update of impl in "dijkstra" event + propagation loop] Drop the parallel "impl" pointer, just use a + cast. Don't propagate beyond windows that want normal input + events. (#142943) + (gdk_input_grab_pointer, gdk_input_ungrab_pointer): Limited + implementation of input grab. (#142943) + +2004-05-22 Tor Lillqvist + + * gdk/win32/gdkinput-win32.c (print_lc): Remove duplicated + line. (Spotted by Benoît Carpentier.) + +2004-05-18 Matthias Clasen + + * configure.in: Check for XFIXES extension. + + * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add + a gboolean have_xfixes member. + + * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register + XFIXES events and set have_xfixes. + + * gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE. + (GdkEventOwnerChange): New event struct for owner change events. + (GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange. + + * gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate + XFixesSelectionNotify events into GdkEventOwnerChange events. + + * gdk/gdkdisplay.h: + * gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification): + (gdk_display_request_selection_notification): New api + to support selection ownership notification. + + * gtk/gtkclipboard.h: + * gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private + api to handle owner change events. + (clipboard_peek): Refactored out the body of + gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event(). + + * gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events + by calling _gtk_clipboard_handle_event(). + +2004-05-18 Matthias Clasen + + * gtk/gtkintl.h: Include glib/gi18n-lib.h and only define + the P_() macros ourselves. + + * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): + Restrict the width of the popup to be no larger than the + monitor. (#142678, DmD Ljungmark) + + * gtk/gtkbutton.c: Go back to the initial fix for the + focus-overdrawing problem, which was actually correct + according to docs/widget_geometry.txt. + + * gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial + arrow size from 11 to 15 to compensate for that. + + * gtk/gtktextview.c (gtk_text_view_class_init): Document the + arguments of the ::move-cursor signal. (#142725) + +2004-05-17 Matthias Clasen + + Merged from 2.4: + + * gtk/gtkbutton.c (gtk_button_size_request) + (gtk_button_size_allocate, _gtk_button_paint): Allocate + space for the focus rectangle only if necessary. (#142668, + Michael Natterer) + +Sun May 16 23:11:47 2004 Matthias Clasen + + Merged from 2.4: + + * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless + lines. (#142479, Morten Welinder) + +Sun May 16 22:27:17 2004 Matthias Clasen + + * gtk/gtkintl.h (Q_): Add a Q_() macro. + + * gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN + and GTK_PROGRESS_CELL_FAILED. With the ability the set the label, + they are not really needed. + + * gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties + instead of hardwired padding, use Q_() for the default label, + compute a reasonable minimal size. (#142571, #142572, #142573, + Tommi Komulainen, Christian Persch) + +2004-05-15 Tor Lillqvist + + * gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the + GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this + time). It is used by the OLE2_DND code, which is unfinished and + presumably horribly broken, but still, let's not make it not + compile on purpose. Silence some gcc warnings in the OLE2_DND + code. + +2004-05-14 Matthias Clasen + + * gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords): + New function to go from tree window to tree coordinates, kept + static for now until we figure out the multiple coordinate + system mess in GtkTreeView API-wise. + (gtk_tree_view_scroll_to_cell): Transform the coordinates + from tree window to tree coordinates, using the new function. + Previously, the x coordinate was wrongly transformed. (#142494) + + * gdk/gdktypes.h (GdkModifierType): Add a comment about unused + bits. + + * gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused + modifier bit to mark stock item which need to be freed + eventually. (#140654, Michal Pasternak, Scott Tsai) + +2004-05-11 Robert Ögren + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing + call to g_object_ref in Wintab code. (#138341) + + * gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems + including unallocated buffers for event->motion.axes and + event->button.axes, unsigned wraparound problem in the code for + detecting missing press/release events and assigning min instead + of max when setting up axes. + +2004-05-12 Matthias Clasen + + * tests/testtreeedit.c: Add a progress column. + + * gtk/Makefile.am: Add gtkcellrendererprogress.[hc] in the right + places. + + * gtk/gtk.h: Include gtkcellrendererprogress.h. + + * gtk/gtkcellrendererprogress.[hc]: A progress cell renderer, + based on the one found in Epiphany. + +2004-05-11 Michael Natterer + + * gtk/gtkcombobox.c (gtk_combo_box_popup) + (gtk_combo_box_menu_button_press): don't allocate the popup + smaller than the combobox. Fixes bug #59660. + +2004-05-11 Matthias Clasen + + * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the + previous change to this function, clarify the docs instead. + + * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use + GTK_SELECTION_BROWSE. + + * gtk/gtktreeview.c: Make hover selection work for + GTK_SELECTION_BROWSE as well. + +Tue May 11 00:38:25 2004 Matthias Clasen + + * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init): + Document the ::toggled signal. + +Mon May 10 23:04:25 2004 Soeren Sandmann + + * gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify() + +2004-05-10 Matthias Clasen + + * gtk/gtkwindow.c (get_screen_icon_info): Make static. + + * gdk/gdkdisplay.c (singlehead_...): + * gdk/x11/gdkkeys-x11.c (get_effective_keymap): + * gdk/x11/gdkgeometry-x11.c (expose_serial_predicate): + * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static. + + * gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a + note about COLUMN_FIXED restriction. + + * gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press): + Set the entry in the default handler of the ::match-selected signal. + (#137226) + + * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't + do the move-selected-item below pointer thingie, do the + place-below-or-above one. + + * tests/testentrycompletion.c: Make the second example use the + ::match-selected signal to make it actually work. + + * gtk/gtkentrycompletion.c (gtk_entry_completion_init): + * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection + mode. (#127648, Dave Bordoley) + + * gtk/gtktreeview.h: + * gtk/gtktreeview.c: Add a new property "hover_selection", which + when TRUE makes the selection follow the mouse. Also add setter + and getter for the fixed_height property. + +2004-05-10 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_popup) + (gtk_combo_box_menu_button_press): Make sure the menu pops up + as wide as the combobox. (#59660, Havoc Pennington) + +2004-05-10 Matthias Clasen + + * gtk/gtkcombobox.h: + * gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu + mode). Add a new property, add-tearoffs, for this. (#135956) + + * gtk/gtkfontsel.c (list_row_activated): Make Return activate the + default button. (#118921) + +Mon May 10 15:03:50 2004 Soeren Sandmann + + * gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function + that emits the grab notify signal. + + * gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here. + +Mon May 10 00:48:08 2004 Matthias Clasen + + * gtk/gtkmenu.c: Make destruction of a torn off menu work + like un-tearing off. + +Sun May 9 21:05:38 2004 Matthias Clasen + + Merge from 2.4: + + * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): + Allow to suppress the stock accelerator by using "". (#142196, + David A Knight) + +Sun May 9 02:01:13 2004 Matthias Clasen + + Merge from 2.4: + + * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): + In list mode, accept the same mouse/wheel bindings on + the cellview as on the button. (#136967) + +Sun May 9 01:25:37 2004 Matthias Clasen + + * gtk/gtkiconfactory.c (add_to_cache): Actually count the + cached icons. (#135888, Crispin Flowerday) + +Sun May 9 00:03:03 2004 Matthias Clasen + + * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure + that we actually return menus for nodes of type menu, not the + menuitems they're attached to. + +Sat May 8 22:50:55 2004 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): + Add a note regarding UTF-8 requirements, proposed by + Mariano Suárez-Alvarez. + +Sat May 8 22:43:11 2004 Matthias Clasen + + * gtk/gtktearoffmenuitem.h: + * gtk/gtktearoffmenuitem.c: Put the torn_off flag back + into the GtkTearoffMenuItem struct, since it is used + by the Gimp, and keep it synchronized with the + tearoff_state property of the parent menu. + +2004-05-08 Hans Breuer + + * gtk/gtkfilesystemwin32.c (extract_icon) : finally also + create the correct mask for 'pseudo mime' icons + + * gdk/win32/gdkwindow-win32.c(show_window_internal) : also + take focus_on_map into account + + * gtk/gtkselection.c : g_message() only with DEBUG_SELECTION + + * gtk/gtkactiongroup.c gtk/gtkcombobox.c : + ... must return a value + + * gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated + +2004-05-07 Matthias Clasen + + * gtk/gtkbutton.c (gtk_button_size_allocate): Don't let the child + draw over the focus rectangle. + + * gtk/gtkhsv.c: Draw focus indication in the color wheel using + standard focus style. (#63071, Bill Haneman, idea for new + style by Owen Taylor) + + * gtk/gtkstyle.c (gtk_default_draw_focus): Support drawing on + focus on the colorwheel via details. + +2004-05-06 Matthias Clasen + + Merge from 2.4: + + * gtk/gtkcombobox.c (gtk_combo_box_menu_state_changed): Remove + this no longer needed signal handler. (#141817, Paul Pogonyshev) + +Fri May 7 00:41:46 2004 Matthias Clasen + + * gtk/gtktearoffmenuitem.h: + * gtk/gtktearoffmenuitem.c: Make the tearoff + functionality model/view, the tearoffmenuitem being + the view and the tearoff_state property of the menu + being the model. (#101185, Owen Taylor) + + * gtk/gtkmenu.c: Add a tearoff_state property. + +Thu May 6 23:52:13 2004 Matthias Clasen + + Merge from 2.4: + + * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also + popup the submenu for items in torn off menus. (#122051) + 2004-05-06 Sven Neumann * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,