X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-10;h=7379764ee71b2adf655eb765f29f7d75a0101982;hb=024b8898d784425464c0473d6e16bcc281abd384;hp=02ac540090c6394c235d92423afd4a26bff61200;hpb=89f48d718978e197adfcdfc519c1073ca26724ab;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 02ac54009..7379764ee 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,974 @@ +2004-01-05 Murray Cumming + + * gdk/gdkimage.h: Added documentation to the struct, as + suggested by Owen Taylor. + +Sun Jan 4 15:29:04 2004 Soeren Sandmann + + * gtk/gtkradiotoolbutton.[ch] + (gtk_radio_tool_button_new_with_stock_from_widget): Change API so + group is a GtkRadioButton, not a GtkWidget. + +2004-01-04 Hans Breuer + + * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in + gdk_window_set_keep_(above|below) to make DND work again. + Thanks to Alif Wahid for noticing. + + * gdk/gdk.def : update externals + + * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes + + * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c + gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : + gtk/stock-icons/stock_harddisk_16.png + gtk/stock-icons/stock_harddisk_24.png + Harddisk stock icons for file system implementations. Beside + FLOPPY and CDROM there is now HARDDISK, probably some + GTK_STOCK_NETWORK would be useful, but I could not find one. + +Sat Jan 3 11:39:42 2004 Manish Singh + + * gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link. + Patch from Andrew Moise (#130462). + +2004-01-01 Jody Goldberg + + * gtk/gtkaction.c (_GtkActionPrivate) : add visible_horizontal, + visible_vertical. + (gtk_action_class_init) : here. + (gtk_action_init) : here. + (gtk_action_set_property) : here. + (gtk_action_get_property) : here. + (connect_proxy) : and here. + +2003-12-30 Jody Goldberg + + * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel) : new + utility routine for use in derived GtkActions with the replicated code + from. + (gtk_action_group_add_actions_full) : here. + (gtk_action_group_add_toggle_actions_full) : here. + (gtk_action_group_add_radio_actions_full) : and here. + +2004-01-01 Taneem Ahmed + + * configure.in: Added "bn" to ALL_LINGUAS. + +2004-01-01 Taneem Ahmed + + * bn.po: Added Bangla translation by + of Ankur group . + +Fri Jan 2 02:50:11 2004 Matthias Clasen + + * gtk/gtkcalendar.c (gtk_calendar_compute_days): + * gtk/gtkcalendar.c (gtk_calendar_paint_day_names): + * gtk/gtkcalendar.c (gtk_calendar_init): Changes to support + week_start values other than 0 and 1, e.g. 6 will let weeks start + on Saturday. (#130353, Roozbeh Pournader) + +2003-12-31 13:49 Daniel Rogers + + * gdk/x11/gdkinput-x11.c: (gdk_input_translate_coordinates) + + Fix to allow reasonable pointer behavior in window mode when an + extended input device reports an incorrect resolution of 0. Fixes + bug #123546 + +2003-12-31 Christian Neumair + + * gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata): + * gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for + plurals (#123847). + +Wed Dec 31 02:05:39 2003 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): + (gtk_action_group_add_toggle_actions_full): + (gtk_action_group_add_radio_actions_full): Pull accelerator key + from the stock item if stock_id is given, but accelerator + not. (Noticed by Jeff Franks and Jody Goldberg) + + * tests/testmerge.c: Remove the accelerator from the "Open" entry + to test the above change. + +2003-12-29 Federico Mena Quintero + + Make show_all() work for the extra and preview widgets; reported + by Paolo Maggi. + + * gtk/gtkfilechooserdefault.c (set_preview_widget): show_all() the + preview widget. + (set_extra_widget): show_all() the extra widget. + +Mon Dec 29 12:22:22 2003 Soeren Sandmann + + * gtk/gtkuimanager.c (do_updates): + * gtk/gtktoolbar.c (slide_idle_handler): + * gtk/gtkdnd.c (gtk_drag_update_idle): + + Add GDK_THREADS_ENTER()/GDK_THREADS_LEAVE() pairs around idle + functions. (#130157, patch from Olexiy Avramchenko). + +2003-12-29 Anders Carlsson + + * gtk/gtkradiotoolbutton.c: + * gtk/gtkradiotoolbutton.h: + * gtk/gtkseparatortoolitem.c: + * gtk/gtkseparatortoolitem.h: + * gtk/gtktoggletoolbutton.c: + * gtk/gtktoggletoolbutton.h: + * gtk/gtktoolbar.c: + * gtk/gtktoolbar.h: + * gtk/gtktoolbutton.c: + * gtk/gtktoolbutton.h: + * gtk/gtktoolitem.c: + * gtk/gtktoolitem.h: + Update my e-mail address. + +Mon Dec 29 01:36:22 2003 Matthias Clasen + + * gtk/gtkaccelmap.[hc]: (gtk_accel_map_lock_path, + gtk_accel_map_unlock_path): Add a way to lock individual accelerator + paths. (#73207, reported by Havoc Pennington) + +Sat Dec 27 23:17:56 2003 Soeren Sandmann + + * gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE + instead of VISIBLE to determine whether we should stop + sliding. (#130018, reported by Christian Persch). + +Fri Dec 26 23:24:35 2003 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): + Don't use first_action without initializing it if n_entries is 0. + +Thu Dec 25 00:26:34 2003 Matthias Clasen + + * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size): + Add the missing _get_ to the name of the non-Xcursor version of + this function. (noticed by Torsten Schoenfeld) + +Tue Dec 23 22:34:50 2003 Manish Singh + + * gtk/gtkicontheme.h: fix GTK_TYPE_ICON_INFO macro, reported by + muppet. + +2003-12-24 Jody Goldberg + + * gtk/gtkactiongroup.h : Add some const to the char * in + GtkActionEntry*. We're reccomending people pass static strings to + them, and not freeing them. This stems to flood of warnings that + result. + * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full) : change + temp vars to const to match above. + (gtk_action_group_add_toggle_actions_full) : ditto. + (gtk_action_group_add_radio_actions_full) : ditto. + +Wed Dec 24 01:12:53 2003 Matthias Clasen + + * gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc, + gtk_clipboard_request_targets() and + gtk_clipboard_wait_for_targets(). (#101774, Dom Lachowicz) + +Mon Dec 22 00:40:39 2003 Matthias Clasen + + * gtk/gtkcalendar.c (gtk_calendar_paint_arrow): Use + gtk_paint_arrow instead of draw_arrow_left/draw_arrow_right. + * gtk/gtkcalendar.c (draw_arrow_left): + (draw_arrow_right): Removed. + * gtk/gtkcalendar.c (gtk_calendar_realize_arrows): + * gtk/gtkcalendar.c (gtk_calendar_state_changed): Set the + arrow_state to GTK_STATE_INSENSITIVE if the calendar is + insensitive. (#97376) + +Sun Dec 21 23:17:01 2003 Matthias Clasen + + * gtk/gtkuimanager.c (update_node): + (update_smart_separators): + (_gtk_menu_is_empty): + (find_menu_position): + * gtk/gtktreeview.c (gtk_tree_view_search_dialog_destroy): + * gtk/gtkcombobox.c (gtk_combo_box_relayout_item): + (gtk_combo_box_relayout): Fix memory leaks caused by the + failure to free the result of gtk_container_get_children(). + +Sun Dec 21 17:34:22 2003 Soeren Sandmann + + * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right + properties when the window becomes a toplevel. When a window that + was previously a toplevel becomes a toplevel again, restore its + window type. Also make sure the focus window is removed from the + XID hash when it is destroyed. (#117579, reported by Morten + Welinder, patch reviewed by Owen Taylor). + +Sun Dec 21 01:54:40 2003 Matthias Clasen + + * gtk/gtkmenushell.h: + * gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function + to emit the "cancel" signal on a menu shell. + + * gtk/gtkmenu.c (gtk_menu_key_press): + * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu): + * gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the + new function instead of directly emitting the + signal. (#81803, Owen Taylor) + +Sun Dec 21 00:39:50 2003 Matthias Clasen + + * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): + Fix the "language_set" blurb. + +Sat Dec 20 22:06:03 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate + all of treeview when resizing (#110074, patch from Soeren Sandmann). + +Fri Dec 19 23:36:00 2003 Kristian Rietveld + + Fixes #108458. + + * gtk/gtkcelllayout.[ch]: added a reorder method. + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init), + (gtk_tree_view_column_cell_layout_reorder): implement reorder. + + * gtk/gtkcellview.c (gtk_cell_view_cell_layout_init), + (gtk_cell_view_cell_layout_reorder): ditto. + + * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init), + (gtk_combo_box_cell_layout_reorder): ditto. + + * gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init), + (gtk_entry_completion_reorder): ditto. + +Fri Dec 19 22:18:19 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr + instead of strcmp (#117127, suggestion from Soeren Sandmann). + +Fri Dec 19 21:52:46 2003 Kristian Rietveld + + * gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic + here from gtk_menu_real_insert(), + (gtk_menu_real_insert): just call gtk_menu_do_insert(), + (gtk_menu_reorder_child): run _do_insert after inserting the child + (unbreaks _reorder_child, reported by Tim Janik). + +2003-12-19 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use + g_date_strftime() for UTF-8 correctness; use Julian dates to + simplify the function. + +Fri Dec 19 01:47:34 2003 Matthias Clasen + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): + Test extra_width, not extra_height, when determining whether to + set extra_width. (#129647, Jan Arne Petersen) + +Fri Dec 19 01:35:34 2003 Matthias Clasen + + Fix the behaviour of insensitive actions, which was broken + when gtk_action_activate() was changed to pay attention to + sensitivity (#129557, Christian Persch) + + * gtk/gtkaction.h: + * gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary + function to emit an activate signal without regard to sensitivity. + + * gtk/gtkradioaction.c: + * gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate() + instead of gtk_action_activate(). + +Thu Dec 18 19:13:12 2003 Kristian Rietveld + + Fixes #110249, reworked patch from Joshua N Pritikin. + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type), + (gtk_tree_model_sort_tree_drag_source_init), + (gtk_tree_model_sort_row_draggable), + (gtk_tree_model_sort_drag_data_get), + (gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource. + + * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type), + (gtk_tree_model_filter_tree_drag_source_init), + (gtk_tree_model_filter_row_draggable), + (gtk_tree_model_filter_drag_data_get), + (gtk_tree_model_filter_drag_data_delete): ditto. + +Thu Dec 18 18:01:01 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings + for "*" and "/" (expand/collapse all). (#110195, reported by + Calum Benson). + +Thu Dec 18 17:52:56 2003 Kristian Rietveld + + * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): + clear the extra_attrs list if we set "text" after "markup". + (Fixes #121933, Federico Mena Quintero). + +2003-12-18 Alexander Larsson + + * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): + Fix typo that used the wrong x/y values for the x1, y1 point + (#129605) + +Thu Dec 18 01:41:50 2003 Kristian Rietveld + + * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), + (gtk_cell_renderer_text_finalize), + (gtk_cell_renderer_text_get_property), + (gtk_cell_renderer_text_set_property), (get_layout): added language + and language_set properties like GtkTextTag has. (#103800, reported + by Owen Taylor). + +Thu Dec 18 01:37:59 2003 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs. + * gtk/gtkbutton.c (gtk_button_class_init): Add docs for the + "activate" signal. (#129358, Ka-Hing Cheung) + +Thu Dec 18 01:21:59 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got + the logical flag backwards in the expand_collapse_cursor_row + bindings, fixing. + (gtk_tree_view_real_expand_collapse_cursor_row): invert expand + flag when !logical and in RTL. (Fixes #107527, reported by + Noah Levitt). + +Thu Dec 18 01:10:16 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_button_press): only start + editing when activated by the left mouse button. (#106869, + patch from Evan Martin). + +Thu Dec 18 00:57:18 2003 Kristian Rietveld + + Migrating all cell renderers to use the new instance private data + construction. + + * gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no + longer being used. + + * gtk/gtkcellrenderer.c (gtk_cell_renderer_init), + (gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property), + (set_cell_bg_color), (gtk_cell_renderer_render): remove old + GtkCellRendererInfo handling, migrate to instance private data. + + * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done), + (gtk_cell_renderer_text_start_editing): moved focus_out_id + from GtkCellRendererInfo to text renderer private data. + + * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init), + (gtk_cell_renderer_pixbuf_class_init), + (gtk_cell_renderer_pixbuf_finalize), + (gtk_cell_renderer_pixbuf_get_property), + (gtk_cell_renderer_pixbuf_set_property), + (gtk_cell_renderer_pixbuf_create_stock_pixbuf), + (gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render): + migrate to instance private data. + + * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init), + (gtk_cell_renderer_toggle_get_property), + (gtk_cell_renderer_toggle_set_property), + (gtk_cell_renderer_toggle_render): migrate to instance private data. + +Thu Dec 18 00:24:32 2003 Kristian Rietveld + + * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), + (gtk_cell_renderer_text_get_property), + (gtk_cell_renderer_text_set_property), (get_layout): add a + single-paragraph-mode property, use private instance data. + (Fixes #114943, reported by Morten Welinder). + +Thu Dec 18 00:07:01 2003 Kristian Rietveld + + * gtk/gtktreemodel.h (gtk_tree_path_new_root), + (gtk_tree_model_get_iter_root): now deprecated (#106953, reported + by Matthias Clasen). + +Wed Dec 17 23:50:56 2003 Kristian Rietveld + + * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): + if we set a new stock_id and there was a previous stock_id, unref + the pixbuf (since it was used to renderer the previous stock_id + and stock_id might have been set to NULL now). (Fixes #122966). + +2003-12-17 Marco Pesenti Gritti + + * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter): + + Check that index is not bigger than level array length + also when depth is 1. Now get_iter_first correctly return + FALSE when the model is empty (#129411). + +Wed Dec 17 23:31:19 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): only + try to strcmp or strlen if we managed to normalize and casefold + the string correctly. Fixes crashes with non-UTF8 strings. + (#121617, Patch from Tim-Philipp Müller). + +Wed Dec 17 23:20:23 2003 Matthias Clasen + + * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing + GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). + * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, + gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, + gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to + GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko) + +Wed Dec 17 23:16:45 2003 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning. + (#122727, patch from Kjartan Maraas). + +Wed Dec 17 21:23:01 2003 Kristian Rietveld + + Yay! Fixed height mode! Hooray! (Part 2 of #80868). + + * gtk/gtktreeview.c (gtk_tree_view_class_init), + (gtk_tree_view_init), (gtk_tree_view_set_property), + (gtk_tree_view_get_property), (gtk_tree_view_set_model): add a + fixed_height_mode property, + (intialize_fixed_height_mode), (do_validate_rows), + (column_sizing_notify), (gtk_tree_view_set_fixed_height_mode), + (gtk_tree_view_style_set), (gtk_tree_view_row_changed), + (gtk_tree_view_row_inserted), (gtk_tree_view_remove_column), + (gtk_tree_view_insert_column): implement fixed height mode, + (gtk_tree_view_append_column), (gtk_tree_view_insert_column), + (gtk_tree_view_insert_column_with_attributes), + (gtk_tree_view_insert_column_with_data_func): update docs. + + * gtk/gtktreeprivate.h: add two fields to GtkTreePrivate. + +2003-12-07 Murray Cumming + + * gtk/gtktreemodel.c: + (row_inserted_marshal, row_deleted_marshal, rows_reorderered_marshal) + Actually call the default signal handlers instead of calling the + marshallers themselves in an endless loop. These default signal handler + callbacks are not actually set so this is only noticed by gtkmm at + the moment. Bug 123923. + +2003-12-16 Federico Mena Quintero + + * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a + "volumes-changed" signal. Added the following methods: + list_volumes + volume_free + volume_get_base_path + volume_get_is_mounted + volume_mount + volume_get_display_name + volume_render_icon + + * gtk/gtkfilesystem.c (gtk_file_system_base_init): Create the + "volumes-changed" signal. + (gtk_file_system_list_volumes): New function. + (gtk_file_system_volume_free): New function. + (gtk_file_system_volume_get_base_path): New function. + (gtk_file_system_volume_get_is_mounted): New function. + (gtk_file_system_volume_mount): New function. + (gtk_file_system_volume_get_display_name): New function. + (gtk_file_system_volume_render_icon): New function. + + * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_free): Implement. + (gtk_file_system_unix_volume_get_base_path): Implement. + (gtk_file_system_unix_volume_get_is_mounted): Implement. + (gtk_file_system_unix_volume_mount): Implement. + (gtk_file_system_unix_volume_get_display_name): Implement. + (gtk_file_system_unix_volume_render_icon): Implement. + + * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): + Added a field for the "volumes-changed" signal connection. + (gtk_file_chooser_default_set_property): Connect to + "volumes-changed" on the file system. + (gtk_file_chooser_default_finalize): Disconnect from + "volumes-changed". + + * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): New helper + function. + (shortcuts_get_index): New helper function. + (shortcuts_insert_path): Can now insert volumes as well as paths. + (shortcuts_append_paths): Don't take is_file_system_root. + (shortcuts_add_volumes): New function. + (shortcuts_append_file_system_roots): Removed. + (create_shortcuts_model): Use shortcuts_add_volumes(). + (remove_bookmark_button_clicked_cb): Check that the index is + within range. + (bookmarks_check_add_sensitivity): Take volumes into account. + (shortcuts_get_selected_index): New helper function. + (remove_bookmark_button_clicked_cb): Use + shortcuts_get_selected_index(). + (bookmarks_check_remove_sensitivity): Likewise. + (shortcuts_select_func): Likewise. + (shortcuts_row_activated_cb): Handle volumes as well as normal + paths. + (shortcuts_activate_volume): New function. + (struct _GtkFileChooserDefault): Removed the bookmarks_set and + bookmarks_iter fields. + (shortcuts_append_bookmarks): Use shortcuts_remove_rows(). + (bookmarks_changed_cb): Use shortcuts_add_bookmarks(). + (remove_bookmark_rows): Removed. + (shortcuts_add_bookmarks): New function; moved most of the code + over from shortcuts_append_bookmarks(). + (shortcuts_append_bookmarks): Add the separator node here, and + then call shortcuts_add_bookmarks(). + +Tue Dec 16 15:01:10 2003 Manish Singh + + * gtk/gtkfilechooserwidget.c: fix preprocessor conditional confusion. + (G_OS_UNIX/G_OS_WIN32 stuff) + +Tue Dec 16 01:46:46 2003 Matthias Clasen + + Do not interpret distant clicks as double-clicks (#116541, + Bernhard Walle): + + * gdk/gdkdisplay.h (struct GdkDisplay): Add new fields + double_click_distance, button_x and button_y. + * gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields. + + * gdk/gdkdisplay.h: + * gdk/gdkevents.c (gdk_display_set_double_click_distance): + New function to set the double click distance on a display. + + * gdk/gdkevents.c: Take double click distance into account + when generating single, double or triple clicks. + + * gtk/gtksettings.c: Add new setting "gtk-double-click-distance". + + * gdk/x11/gdkevents-x11.c: Add the XSetting + "Net/DoubleClickDistance" and map it to "gtk-double-click-distance". + +2003-12-15 Federico Mena Quintero + + * gtk/gtkdialog.c: Sigh, revert the change. + +2003-12-15 Federico Mena Quintero + + * gtk/gtkdialog.c (dialog_has_cancel): Removed. + (gtk_dialog_close): Don't call dialog_has_cancel(). At least + allows sane behavior for #101293. + +Mon Dec 15 00:56:54 2003 Matthias Clasen + + * gtk/gtkbutton.[hc]: Add new properties, xalign and yalign, with + getter and setter gtk_button_[sg]et_alignment(), to set the + alignment of the child. (#70961, Jody Goldberg) + +2003-12-14 Hans Breuer + + * gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR + similar as the other filesystem placement 'constants' (dynamic + resolving on win32) + + * gtk/gtkfilechooserwidget.c : handle file system to win32 + renaming here as will + * gtk/gtkfilesystemwin32.c : implement render_icon + + * gtk/gtk.def gdk/gdk.def : updated externals + + * gdk/win32/gdkdisplay-win32.c : make it compile without + - i.e. even older sdk + + * gdk/win32/gdkevents-win32.c : match resize_timer_proc + with TIMERPROC prototype + + * gdk/win32/gdkwindow-win32.c : older msvc does not know + BITMAPV5HEADER (from win xp) either + + * gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is + not defined + + * tests/testfilechooser.c : recent GLib crashes on + g_print ("%s", NULL) so avoid this + +2003-12-14 Tor Lillqvist + + * gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be + followed by calls to CloseClipboard(). Add a missing call to + CloseClipboard(). Found by Adam Wright, fixes #104944. Use + API_CALL macro in more places. + +2003-12-14 Tor Lillqvist + + Merge from stable: + + * gdk/gdkdisplaymanager.c: Mark default_display static. + + * gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static. + + * gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging + output. + + * gdk/win32/gdkevents-win32.c: Clean up the debugging output from + --gdk-debug=events. In general, output just one line of debugging + output for each Windows message, plus one line for each GDK event + generated. Indent all lines according to window procedure nesting + level. + + (inner_window_procedure): Rename from real_window_procedure. + + (find_real_window_for_grabbed_mouse_event): Don't get misled when + the point is in the non-client (decoration) area of the window + returned by WindowFromPoint(). Return the root window in that + case. + + (build_pointer_event_state): Test also MK_XBUTTON1 and + MK_XBUTTON2 (buttons 4 and 5). + + (synthesize_enter_event): Track the mouse leaving the window in + the event being generated, not the one mentioned in the Windows + message. + + (propagate): Test for NULL parent earlier. Improves event + generation from a grabbed pointer. Part of fix for #107320. + + (handle_stuff_while_moving_or_resizing): New function, to + dispatch the main loop (once). + + (resize_timer_proc): New function, set to be called by an inerval + timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing(). + + (gdk_event_translate): Drop unused return_exposes parameter. + + Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5). + + On WM_SYSKEYUP, generate a key release event also for just the Alt + key. + + On WM_MOUSELEAVE, generate a leave event of type + GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a + top-level window, and left the app completely. + + On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that + calls resize_timer_proc() at regular intervals. On + WM_EXITSIZEMOVE, kill the timer. + + On WM_WINDOWPOSCHANGED, generate a configure event if necessary, + and dispatch the main loop (by calling + handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by + Herman Bloggs. + + * gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle + also wintab messages. + + * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint): + Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting + the window's owner. Fixes #118093, reported by Maxime Romano. + +Tue Dec 8 09:41:00 2003 Tim Evans + + * gdk/win32/gdkwindow-win32.[ch]: Implement + gdk_window_set_icon_list() for Win32, with support for big and + small icons and support for alpha-channel icons under Windows + XP. Replaces the previous implementation of gdk_window_set_icon(). + (#128762) + +Sun Dec 14 01:28:23 2003 Matthias Clasen + + * gdk/x11/gdkprivate-x11.h: + * gdk/x11/gdkx.h: + * gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type): + Rename from _gdk_x11_register_event_type(), added API docs. + * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): + * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust + all callers. (#121471, Bill Haneman) + +Sat Dec 13 23:37:50 2003 Matthias Clasen + + * gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask + of gc is ignored. (#101983, Sebastian Rittau) + +Sat Dec 13 16:13:27 2003 Kristian Rietveld + + A trick for a faster treeview, step 1. Patch to short circuit + _build_tree(), inspired by Jonathan (#80868). + + * gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in + flags by default, + (gtk_tree_view_build_tree): don't even try to recurse when the + model says that it is a list, remove flag unsetter, + (gtk_tree_view_set_model): change flag setting logic. + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): + propagate whether or not the child model has _IS_LIST set. + + * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags): + ditto. + +Sat Dec 13 02:33:17 2003 Matthias Clasen + + * gtk/gtkrange.c (gtk_range_scroll): Undo the last change, + since it broke logical keynav. + * gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper + direction in inverted scrollbars here instead. + +Sat Dec 13 00:39:24 2003 Matthias Clasen + + * gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement + "gravity" for RTL mode in a better way: Keep the distance from + the upper end of the page to the upper bound constant. This also + fixes problems with the initial position of the viewport in RTL + mode. (#129063) + +Fri Dec 12 21:00:12 2003 Kristian Rietveld + + Combo box flipping support. + + * gtk/gtkcombobox.c (gtk_combo_box_menu_position), + (gtk_combo_box_size_allocate): support RTL flipping (#126518, + patch from Matthias Clasen), + (gtk_combo_box_popup): fix popup window alignment if there's a + cell view frame visible (#126518, patch from Semion Chichelnitsky). + + * gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping + (#128348, patch from Semion Chichelnitsky). + +Fri Dec 12 01:13:34 2003 Matthias Clasen + + * examples/gtkdial/gtkdial.c: + * examples/menu/menu.c: + * examples/scribble-xinput/scribble-xinput.c: + * examples/progressbar/progressbar.c: + * docs/tutorial/gtk-tut.sgml: Remove deprecated functions + in examples. (#129074, Olexiy Avramchenko) + * examples/calendar/Makefile: + * examples/rangewidgets/Makefile: + * examples/menu/Makefile: Allow deprecated functions in + examples which use deprecated widgets. + +Fri Dec 12 00:43:16 2003 Matthias Clasen + + * gdk/gdk.c (gdk_threads_set_lock_functions): + * gdk/x11/gdkspawn-x11.c: Add "Since: 2.4" to doc comments. + +Fri Dec 12 00:05:31 2003 Matthias Clasen + + * gtk/gtkrange.c (gtk_range_scroll): Fix direction of + steppers in inverted scrollbars. (#129084, Olexiy Avramchenko) + +Thu Dec 11 23:50:30 2003 Matthias Clasen + + * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't + unnecessarily reserve space for arrows in RTL mode. (#129075, + Semion Chichelnitsky) + +Thu Dec 11 00:35:12 2003 Matthias Clasen + + Changes to allow "no input" windows (#64613): + + * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean + field accept_focus. + + * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to + set it. + + * gtk/gtkwindow.[hc]: Add a boolean property "accept_focus" + and gtk_window_get_focus() and gtk_window_set_focus(). + + * gdk/win32/gdkwindow-win32.c (gdk_window_new): + * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): + * gdk/x11/gdkwindow-x11.c (gdk_window_set_new): + Initialize the accept_focus field to TRUE. + + * gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): + * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): + * gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): + Implementations for the various backends. The Win32 and linux-fb + implementations set the accept_focus field, but don't use it yet + to actually implement noinput windows. The X implementation updates + the WM_HINTS to select the globally active input model (see the + ICCCM) if accept_focus is FALSE. + + * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the + WM_TAKE_FOCUS message if accept_focus is FALSE. + +2003-12-10 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): + Added toolbar items for the filter separator and the filter item. + (toolbar_create): Add the filter widgets here. + (filter_create): Renamed from create_filter(). Don't store the + alignment in the impl structure, just return it. + (toolbar_show_filters): New function. + (gtk_file_chooser_default_add_filter): Use toolbar_show_filters(). + (gtk_file_chooser_default_remove_filter): Likewise. + (gtk_file_chooser_default_constructor): Don't create the filter + widget here. + (struct _GtkFileChooserDefault): Added a field for a current + folder label. + (gtk_file_chooser_default_constructor): Create the folder label. + (gtk_file_chooser_default_set_current_folder): Set the current + folder label. + + * tests/testfilechooser.c (main): Dramatically improved the + usability of the extra widget through careful word choice. + +2003-12-10 Mark McLoughlin + + * gdk/gdk.h: include gdkspawn.h. + +2003-12-10 Mark McLoughlin + + * gdk/linux-fb/gdkspawn-fb.c, + gdk/win32/gdkspawn-win32.c, + gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen): + s/gdk_spawn/gdk_spawn_on_screen/. + +2003-12-10 Mark McLoughlin + + Utility functions for multi-screen applications which need + to ensure launched applications appear on a certain screen. + See bug #95897. + + * gdk/gdkspawn.h: header for multi-screen launching + support. + + * gdk/Makefile.am: install gdkspawn.h. + + * gdk/x11/Makefile.am: + * gdk/x11/gdkspawn-x11.c: + (gdk_spawn_make_environment_for_screen): private function + to create an environment vector with DISPLAY set appropriately + for the screen. + (gdk_spawn_on_screen): multi-screen version of g_spawn_async(). + (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes(). + (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async(). + + * gdk/linux-fb/Makefile.am, + gdk/linux-fb/gdkspawn-fb.c: linux-fb impl. + + * gdk/win32/Makefile.am, + gdk/win32/gdkspawn-win32.c: win32 impl. + +2003-12-09 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home" + rather than "Username's Home" (#125964). + (shortcuts_selection_changed_cb): New callback, check the + sensitivity of the Remove Bookmark button at the right time. + (shortcuts_row_activated_cb): It is not necessary to check the + sensitivity here. + +Wed Dec 10 00:06:24 2003 Matthias Clasen + + Improve the GDK API for dealing with group leaders (#119375): + + * gdk/gdkwindow.h: + * gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to + get the group leader of a toplevel window as a GdkWindow. + + * gdk/gdkdisplay.h: + * gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New + function to get the default group leader as a GdkWindow. + + * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for + the GdkWindow of the default group leader. + + * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow + for the default group leader. + +2003-12-09 Noah Levitt + + * gdk/gdkkeysyms.h: + * gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn, + Ukrainian_GHE_WITH_UPTURN. (#128529) + +2003-12-08 Jan Arne Petersen + + * gtk/gtkfilechooserdefault.c: + (gtk_file_chooser_default_get_paths), (entry_activate): Use the + behavior of the GtkFileSelection to determine selected paths in + single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode. + +2003-12-08 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c + (gtk_file_chooser_default_get_paths): Don't declare the closure + struct twice. + (get_paths_foreach): Likewise. + +Tue Dec 9 00:12:36 2003 Matthias Clasen + + * gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g. + +2003-12-08 Tor Lillqvist + + * gdk/win32/gdkdisplay-win32.c: Use when compiling + with MSVC and old headers. (#126933, John Ehresman) + +Mon Dec 8 10:54:44 2003 Owen Taylor + + * === Released 2.3.1 === + + * NEWS: Updates for 2.3.1 + + * configure.in: Version 2.3.1, interface age 0, binary age 301. + + * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel): + Rename from gtk_menu_item_real_can_activate_accel() to + match GTK+ convention, improve comment. + + * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(), + can ::can-activate-accel signal. + + * gtk/gtkwidget.c (closure_accel_activate): Fix spelling + in comment. + + * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean + up comment. + + * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros + into the .c file. + +Mon Dec 8 12:09:21 2003 Owen Taylor + + * gtk/gtkicontheme.c (find_builtin_icon): Fix a + missing 'else'. (#128816, Jorn Baayen) + +2003-12-02 Michael Meeks + + Based on a patch by Martin Kretzschmar; #122448 + + * gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to + implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE. + (GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock + function pointers. Deprecate the global gdk_threads_mutex variable. + + * gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new, + extracted from GTK_THREADS_ENTER/LEAVE macros. + (gdk_threads_init): init gtk_threads_[un]lock if not set. + (gdk_threads_set_lock_functions): impl. + + * gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock. + +Sun Dec 7 23:45:40 2003 Matthias Clasen + + * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if + icon_theme_builtin_icons hasn't been initialized. (#128726, Diego + Gonzalez) + +2003-12-07 Tor Lillqvist + + * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the + return value from SendMessage(WM_SETICON). That is the old + icon. Fixes GDI resource leak. (#128559, Tim Evans) + + * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already + have a pointer grab active with a grab cursor set, destroy that + cursor to avoid a GDI resource leak. (#128410, Tim Evans) + +2003-12-05 Paisa Seeluangsawat + + * configure.in: Added Thai (th) to ALL_LINGUAS. + Sat Dec 6 01:42:04 2003 Matthias Clasen * gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement @@ -362,7 +1333,7 @@ Mon Nov 17 16:25:04 2003 Manish Singh Tue Nov 18 00:12:55 2003 Matthias Clasen - Fix for #119555, Peter Zelesny: + Fix for #119555, Peter Zelezny: * gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image. * gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public @@ -804,7 +1775,7 @@ Wed Oct 29 15:40:26 2003 Owen Taylor as worked previously. (#125759, Richard Hult) * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): - Use g_markup_vprintf_escaped() to escape argumetns. + Use g_markup_vprintf_escaped() to escape arguments. * gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup() so there is some way to set literal markup. @@ -850,10 +1821,6 @@ Tue Oct 28 10:34:24 2003 Owen Taylor the is_active and has_toplevel_focus properties. (#122531) -Tue Oct 28 10:18:55 2003 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_is_active): - 2003-10-28 Mark McLoughlin * gtk/gtkexpander.c: @@ -881,7 +1848,7 @@ Tue Oct 28 09:21:29 2003 Owen Taylor 2003-10-28 Padraig O'Briain * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter): - Changew index to filter_index to fix compilation error. + Change index to filter_index to fix compilation error. * gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.