diff --git a/ChangeLog.gtk-async-file-chooser b/ChangeLog.gtk-async-file-chooser deleted file mode 100644 index 9160422690..0000000000 --- a/ChangeLog.gtk-async-file-chooser +++ /dev/null @@ -1,514 +0,0 @@ -2006-04-30 Kristian Rietveld - - * gtk/gtkfilesystem.[ch] (gtk_file_info_render_icon): remove the - caching code, - (gtk_file_info_get_icon_name): new function, - (gtk_file_system_volume_get_icon_name): new function, - (gtk_file_system_volume_render_icon): refactor to use - get_icon_name() and render the icon on the fly. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon), - (gtk_file_system_unix_volume_get_icon_name): reflect updates in - file system interface, - (get_fallback_icon): remove, along with icon caching code. - - * gtk/gtk.symbols: updated. - -2006-04-30 Kristian Rietveld - - * gtk/gtkfilesystemmodel.c (got_root_folder_cb), (ref_path_cb), - (get_children_get_folder_cb): don't leak the handle, - (got_root_folder_cb), (get_children_get_folder_cb): emit - row-inserted for the newly added nodes. - -2006-04-30 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (file_list_drag_data_select_uris), - (file_list_drag_data_received_get_info_cb), - (file_list_drag_data_received_cb): refactor code for selecting - multiple uris into file_list_drag_data_select_uris(). - -2006-04-23 Kristian Rietveld - - * gtk/gtkfilechooserbutton.c (dnd_select_folder_get_info_cb): don't - leak handle, - (change_icon_theme_get_info_cb), (set_info_get_info_cb), - (model_add_special_get_info_cb), (update_label_get_info_cb): ditto. - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons_get_info_cb): - don't leak the handle, - (get_file_info_finished), (edited_idle_create_folder_cb), - (file_list_drag_data_received_get_info_cb), - (show_and_select_paths_get_folder_cb), - (update_current_folder_get_info_cb), (add_shortcut_get_info_cb), - (confirmation_confirm_get_info_cb), (action_create_folder_cb), - (save_entry_get_info_cb), (shortcuts_activate_volume_mount_cb), - (shortcuts_activate_get_info_cb), (update_from_entry_get_info_cb): - ditto. - - * gtk/gtkfilechooserentry.c (load_directory_get_folder_callback): - don't leak the handle. - - * gtk/gtkpathbar.c (set_button_image_get_info_cb), - (gtk_path_bar_get_info_callback): don't leak the handle. - -2006-04-23 Kristian Rietveld - - Review. - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons_get_info_cb): - don't forget to unref data->impl at the end. - -2006-04-23 Kristian Rietveld - - Review, continued. - - * gtk/gtkfilechooserdialog.c (response_cb): set response_requested - to FALSE after stopping emission of the response signal. - -2006-03-16 Kristian Rietveld - - More review work. - - * gtk/gtkfilechooserprivate.h: remove idle_finished_loading_source - from GtkFileSystemModel. - - * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): remove - idle_finished_loading_source, - (idle_finished_loading_cb), (queue_finished_loading): removed, - (got_root_folder_cb): save a list walk, immediately emit - finished-loading and don't queue it, since we are already in an - idle here, always list_children() so the children the folder already - has are returned, - (_gtk_file_system_model_new): handle the case where NULL is - returned by _get_folder(), - (_gtk_file_system_model_path_do): remove comment, and append the - new handle to the list, don't try to remove, - (get_children_get_folder_cb): save a list walk, remove the dummy - child if the _get_folder() call fails or is cancelled. - -2006-03-14 Kristian Rietveld - - More suggestions from Federico. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder): - remove check for filename_is_root(), since we never hit that code - and else mkdir will fail anyway, - (gtk_file_system_unix_create_folder): fixup parent folder refresh - code. - -2006-03-14 Kristian Rietveld - - * gtk/gtkfilesystemunix.c (read_hidden_file), (fill_in_hidden), - (get_is_hidden_for_file): factor out g_file_get_contents() code - in read_hidden_file(). (Federico Mena Quintero). - -2006-03-14 Kristian Rietveld - - Icon name code suggestions by Federico Mena Quintero. - - * gtk/gtkfilesystemunix.c: add GTK_FILE_INFO_ICON to - STAT_NEEDED_MASK, - (get_fallback_icon_name), (get_fallback_icon), - (get_icon_name_for_directory), (get_special_icon_name): get rid - of strdups, - (get_icon_type_from_path): add a statbuf argument and use the - statbuf when folder_unix is NULL, - (create_file_info): adapt to work with above changes. - -2006-03-14 Kristian Rietveld - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_info): path - is NULL is an error here (gtk_file_system_get_info() already guards - path = NULL), - (gtk_file_system_unix_get_info): move basename creation to just - before create_file_info(). (Federico Mena Quintero). - -2006-03-14 Kristian Rietveld - - * gtk/gtkfilesystemunix.c (struct _GtkFileFolderUnix): add - load_folder_id field, - (load_folder): add thread enter/leave construct, set load_folder_id - to zero since we have the idle removed when we return, - (gtk_file_system_unix_get_folder): initialize load_folder_id to 0 - and store the source id of the load_folder idle, - (gtk_file_folder_unix_finalize): remove the load_folder idle - if necessary. (Federico Mena Quintero). - -2006-03-14 Kristian Rietveld - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder): return - NULL if there is no current folder path. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_map): we - reload the current folder if there is one, else we continue the - still pending load. - -2006-03-14 Kristian Rietveld - - Couple of fixes from Markku Vire. - - * gtk/gtkfilesystem.c (gtk_file_info_copy): also strdup icon_name - and display_key. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder): - initialize error to NULL, - (gtk_file_folder_unix_list_children): return an empty list for now if - we couldn't read the directory. - -2005-12-23 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb), - (gtk_file_chooser_default_update_current_folder): set and unset - busy cursor while checking whether the given path is a folder. - -2005-12-23 Kristian Rietveld - - * gtk/gtkfilesystem.h: change the GtkFileInfo argument of the - GetInfoCallback to be const. - - * gtk/gtkfilechooserbutton.c, gtk/gtkfilechooserdefault.c, - gtk/gtkpathbar.c: changes functions to reflect the above change. - -2005-12-23 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c, gtk/gtkfilechooserprivate.h: keep track - of handles, cancel all pending operations on dispose. - -2005-12-23 Kristian Rietveld - - * gtk/gtkfilechooserprivate.h (struct _GtkFileSystemModel): add - pending_handles field, - (struct _FileModelNode): add load_pending flag. - - * gtk/gtkfilesystemmodel.c (gtk_file_system_model_dispose): introduce, - cancel all pending operations here, - (got_root_folder_cb), (_gtk_file_system_model_new), (ref_path_cb), - (_gtk_file_system_model_path_do): keep track of all pending - operations, handle cancelled operations. - -2005-12-23 Kristian Rietveld - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_finalize), - (gtk_file_chooser_button_destroy): move all handle cancellations - and object unrefs to destroy. - - * gtk/gtkpathbar.c (gtk_path_bar_finalize), (gtk_path_bar_dispose): - likewise. - - * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_class_init): - add dispose, - (gtk_file_chooser_entry_dispose): cancel handles and unrefs - objects here instead of finalize. - -2005-12-23 Kristian Rietveld - - * gtk/gtkfilesystem.c (get_cached_icon): check if "name" is an - absolute path, if so load the icon from that file. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): fix - the build. - -2005-12-21 Kristian Rietveld - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): remove - the FIXME since it doesn't make sense, when we return a cached - folder we won't emit finished-loading either, - (gtk_file_system_unix_create_folder): remove unused variable, - (gtk_file_folder_unix_list_children): remove unused code, - (get_is_hidden_for_file): new function, - (create_file_info): also handle getting is_hidden when called - without a folder unix (from _system_get_info() for example). - -2005-12-20 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (check_is_folder): fully removed! - woo!, - (check_save_entry): add is_folder argument, - (gtk_file_chooser_default_get_paths): update check_save_entry() call, - (get_display_name_for_folder): removed, - (confirmation_confirm_get_info_cb): new function which will - handle the confirmation dialog now we have all information for it, - (should_respond_after_confirm_overwrite): replace the call to - get_display_name_for_folder() with an asynchronous solution, - (action_create_folder_cb): request dialog response on successfull - folder creation, - (gtk_file_chooser_default_should_respond): update call to - check_save_entry(); replace the check is folder call for "path" - by just using the is_folder return value from check_save_entry(); - replaced the check is folder call for "parent_path" with an - asynchronous setup, remainder of that work is now done in - save_entry_get_info_cb(), - (save_entry_get_info_cb): new function. - - * gtk/gtkfilechoosermebed.[ch]: add response-requested signal. - - * gtk/gtkfilechooserdialog.c, gtk/gtkfilechooserprivate.h: handle - response_requested signal. - - * gtk/gtkfilechooserentry.[ch] - (_gtk_file_chooser_entry_get_is_folder): new function. - -2005-12-20 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (ref_path_cb): when called with - !folder, check if node is the node we are looking for (can be - triggered when we call ref_path_cb ourselves after a find_child_node), - (_gtk_file_system_model_path_do): introduce parent_node field; - after finding a child node in a loaded parent node, don't forget - to call ref_path_cb, - (get_children_get_folder_cb): don't forget to set data->node->folder - to the newly acquired folder. - -2005-12-20 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (show_and_select_paths_get_folder_cb): - handle case where the folder we get already finished loading. - - * gtk/gtkfilesystemmodel.c (ref_path_cb), - (_gtk_file_system_model_path_do): make this work. - -2005-12-19 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (shortcuts_update_count): modify - in such a way that it can also negatively update the count on - failures, - (get_file_info_finished): handle failures, update save folder - combo box on success, - (shortcuts_insert_path): change the boolean return value into a - void one, also refilter the model and update the save folder combo - box for the non-asynchronous case, - (shortcuts_append_home), (shortcuts_append_desktop), - (shortcuts_add_volumes), (shortcuts_add_current_folder), - (add_shortcuts_get_info_cb): adapt to shortcuts_insert_path() updates. - -2005-12-19 Kristian Rietveld - - * gtk/gtkpathbar.[ch]: add handle fields to ButtonData and - GtkPathBar; do correct handle bookkeeping. - - * gtk/gtkfilesystemunix.c (load_folder), - (gtk_file_system_unix_get_folder), - (gtk_file_folder_unix_is_finished_loading): add is_finished_loading - field to GtkFileFolderUnix, which is set to true once we are - really finished with loading (previous assumption that we are - always finshed loading is not true anymore). - - * gtk/gtkfilesystemmodel.c (got_root_folder_cb): if the folder is - finished loading, list the children and update the root level. - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): - handle cancellation. - -2005-12-16 Kristian Rietveld - - * gtk/gtkfilesystemunix.c: always call the callback, even when - cancelled; ref handles passed to the callback queue functions; - don't set cancelled to TRUE in _cancel_operation(), since operations - in this backend are always completed, - (get_special_icon_name): don't strdup the value of - get_icon_name_for_directory() again. - - * gtk/gtkfilechooserbutton.c: adapt to new cancellation policy; - reference all objects which are passed as callback arguments; in the - callback check if the handles match. - - * gtk/gtkfilechooserentry.c: likewise. - - * gtk/gtkfilechooserdefault.c: likewise. Also changed the shortcut - loading code to be more like the code in GtkFileChooserButton, where - we store all handles in the model and have model_row_free_data - cancel any pending operations, - (shortcuts_model_create): copy the error. - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): remove - loading_volumes and loading_bookmarks fields. - - * gtk/gtkfilesystem.c (gtk_file_info_free): free icon_name here... - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (edited_idle_create_folder_cb): fix - thinko. - - * gtk/gtkfilesystemunix.c (dispatch_create_folder_callback), - (queue_create_folder_callback): need to copy/free the path, - (gtk_file_system_unix_create_folder): put the "reget folder" hack - back in, though it's working different now. - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_finalize), - (dnd_select_folder_get_info_cb), (gtk_file_chooser_drag_data_received), - (change_icon_theme_get_info_cb), (change_icon_theme), - (model_add_special_get_info_cb), (model_add_special), - (update_label_get_info_cb), (update_label_and_image): cancel existing - operations, if any; added apprioriate fields to - GtkFileChooserButtonPrivate. - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_finalize): if - there's a folder loading, cancel the operation, - (load_directory_get_folder_callback): set the loading folder handle - to NULL, - (load_directory_callback): cancel any currently loading folders - before starting a new get folder operation. - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): don't overwrite - data if it's already set (for example by the "is volume" case). - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilechooserbutton.c (set_info_get_info_cb), - (set_info_for_path_at_iter): store a row reference in the temporary - data structure and not an iter, - (model_add_special), (model_update_current_folder), - (gtk_file_chooser_button_add_shorcut_folder): remove unused pixbuf - variable. - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (get_file_info_finished), - (shortcuts_insert_path): replace gtk_file_system_render_icon() call - with gtk_file_system_get_file_info(), - (gtk_file_chooser_default_add_shortcut_folder), - (gtk_file_chooser_default_remove_shortcut_folder): handle shortcuts - which are still loading. - - * gtk/gtkfilechooserprivate.h: add shortcuts_loading field to - struct _GtkFileChooserDefault. - - * gtk/gtkfilechooserbutton.c (set_info_get_info_cb), - (set_info_for_path_at_iter), (model_free_row_data): keep handle - and path together; now supports adding/removing shortcuts - which are still loading. - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilesystem.c: make the cancelled field an GObject property. - -2005-12-13 Kristian Rietveld - - * gtk/gtkfilesystem.h: make the GError argument in the callbacks - const. - - * gtk/gtkfilechooserbutton.c: update callbacks, - * gtk/gtkfilechooserentry.c: likewise, - * gtk/gtkfilechooserdefault.c: likewise, - * gtk/gtkfilesystemmodel.c: likewise, - * gtk/gtkpathbar.c: likewise. - - * gtk/gtkfilechooserdefault.c (edited_idle_create_folder_cb): copy - the error which will be passed to error_creating_folder_dialog(), - (action_create_folder_cb): likewise, - (file_list_drag_data_received_get_info_cb): add forgotten GError - declaration. - -2005-12-13 Kristian Rietveld - - * gtk/gtkpathbar.c (get_button_image), (set_button_image), - (set_button_image_get_info_cb), - (gtk_path_bar_update_button_appearance): update to new icon - rendering call. - -2005-12-09 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (file_list_drag_data_received), - (gtk_file_chooser_default_add_shortcut_folder), - (shortcuts_activate_get_info_cb): replace synchronous check_is_folder - calls with an async gtk_file_system_get_info() solution. - -2005-12-09 Kristian Rietveld - - * gtk/gtkfilesystem.c (icon_cache_element_free), (icon_theme_changed), - (get_cached_icon), (gtk_file_info_render_icon): implement pixbuf - caching as found in the file system backends. - -2005-12-09 Kristian Rietveld - - * gtk/gtk.symbols: updated. - - * gtk/gtkfilesystem.[ch] (struct GtkFileInfo): added icon_name field, - (enum GtkFileInfoType): added GTK_FILE_INFO_ICON, - (gtk_file_info_set_icon_name): new function, - (gtk_file_info_render_icon): new function, - (gtk_file_system_render_icon): removed. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon): removed, - (create_file_info): fill icon_name field if required, - (get_*_icon): modified to suit create_file_info() better. - - * gtk/gtkfilechooserbutton.c: modified to use - gtk_file_info_render_icon() instead of gtk_file_system_render_icon(). - - * gtk/gtkfilechooserdefault.c: likewise. - -2005-12-06 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (get_file_info_finished), - (update_current_folder_get_info_cb): fix mem leaks. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_info): ditto. - - * gtk/gtkpathbar.c (gtk_path_bar_set_path_finish): ditto. - -2005-12-06 Kristian Rietveld - - * gtk/gtkfilechooserbutton.c (dnd_select_folder_get_info_cb), - (gtk_file_chooser_button_drag_data_received): make asynchronous, - (update_label_and_image): remove unused variable. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_update_current_folder): split in two - functions, so we can have the is_folder check back. - * gtk/gtkfilechooserprivate.h: add update_current_folder_handle - field. - -2005-12-06 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (show_and_select_paths): fixed a typo. - -2005-12-05 Federico Mena Quintero - - (merge from HEAD) - - * gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state & - modifiers", not "event->state && modifiers". Patch by Sadrul - Habib Chowdhury . Fixes bug #323073. - -2005-12-06 Kristian Rietveld - - Beginnings of an asynchronous file chooser. - - * gtk/gtkfilechooserbutton.c: display name and the is folder property - are now asynchronously set using set_info_for_at_path_iter(), the - is folder property is now also stored in the tree model. - - * gtk/gtkfilechooserdefault.c: lots of changes to the shortcuts - model code to make it operate asynchronously, check_is_folder() has - been "disabled" for now, all other synchronous calls were - replaced with asychronous ones. - - * gtk/gtkfilechooserentry.c: update call to - gtk_file_system_get_folder(). - - * gtk/gtkfilechooserprivate.h: added two fields. - - * gtk/gtkfilesystem.[ch]: for about 85% changed to the changes - outlined in the proposal discussed on gtk-devel-list. - - * gtk/gtkfilesystemmodel.[ch]: updated all asynchronous calls, - _gtk_file_system_model_path_do() basically had to be rewritten - (and I still need to finish that). - - * gtk/gtkfilesystemunix.c: changed to be compatible with the new - GtkFileSystem interface. - - * gtk/gtkpathbar.c (button_clicked_cb): block/unblock the - button_clicked_cb callback around the call to - gtk_toggle_button_set_active(), avoids button_clicked_cb getting - called twice. - (_gtk_path_bar_set_path): refactored to be asynchronous. diff --git a/ChangeLog.gtk-printing b/ChangeLog.gtk-printing deleted file mode 100644 index be0045b140..0000000000 --- a/ChangeLog.gtk-printing +++ /dev/null @@ -1,500 +0,0 @@ -2006-04-17 Matthias Clasen - - * docs/tools/widgets.c (get_all_widgets): Add print dialog - and page setup dialog. - -2006-04-11 Matthias Clasen - - * gtk/gtkpapersize.c (gtk_paper_size_get_display_name): - Call gettext on the standard paper names. - -2006-04-11 Alexander Larsson - - * gdk/gdk.symbols: - * gdk/win32/gdkevents-win32.c: - * gdk/win32/gdkwin32.h: - Add gdk_win32_set_modal_dialog_libgtk_only that we - need for handling the mainloop in the print dialogs. - - * gtk/gtkprintoperation-win32.c: - Pump the gtk+ mainloop when needed in the print dialogs. - This means gtk+ windows will redraw while the print dialogs - are up. - -2006-04-10 Alexander Larsson - - * gtk/gtkprintoperation-win32.c: - Better size handling. - Save win32-specific settings in additions to the generic ones - if the generic one is lossy. - -2006-04-10 Alexander Larsson - - * gtk/gtkprintoperation-win32.c: - Finish implementing run_page_setup_dialog. - - * gtk/gtkpagesetup.h: - * gtk/gtkpapersize.h: - * gtk/gtkprint-win32.h: - * gtk/gtkprintcontext.h: - * gtk/gtkprinter-private.h: - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.h: - * gtk/gtkprintsettings.h: - s/EGG/GTK/ - -2006-04-09 Matthias Clasen - - * gtk+-unix-print-2.0.pc.in: Fix a typo (#337698) - -2006-04-07 Matthias Clasen - - * gtk/paper_names_offsets.c: - * gtk/gen-paper-names.c: Correct the suffix/duplicate optimizations. - -2006-04-07 Alexander Larsson - - * gtk/gtkprintoperation-win32.c: - Initial work on gtk_print_run_page_setup_dialog. - Not reading margins yet. - -2006-04-07 Alexander Larsson - - * gtk/Makefile.am: - Link to winspool - - * gtk/gtk.symbols: - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.[ch]: - Add gtk_print_operation_get_status_string() and status - string to _gtk_print_operation_set_status. - Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING. - - * gtk/gtkprintoperation-win32.c: - Poll for status updates - - * modules/printbackends/cups/gtkprintbackendcups.c: - Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING. - - * tests/print-editor.c: - Show print status string - -2006-04-06 Matthias Clasen - - * gtk/paper_names_offsets.c: - * gtk/gtkpapersize.c: Save 4K of .data by converting - the array of paper names to offsets. - - * gtk/gen-paper-names.c: Utility used to create - paper_names_offsets.c from paper_names.c. - - * gtk/Makefile.am: Necessary glue. - -2006-04-06 Alexander Larsson - - * gtk/gtkprintoperation-win32.c: - Use glib base64 code. - Set up manual_* vars fully. - -2006-04-06 Alexander Larsson - - * gtk/Makefile.am: - Add -lcomdlg32 on win32 - - * gtk/gtkprint-win32.h: - Move WINVER define to .c files - - * gtk/gtk.symbols: - * gtk/gtkprintoperation-win32.c: - Add empty gtk_print_run_page_setup win implementation - Move WINVER define to this file - - * modules/Makefile.am: - Only build print backends on unix - -2006-04-05 Matthias Clasen - - * gtk/gtkprintunixdialog.c: - * gtk/gtkprintoperation-unix.c: Use GTK_RESPONSE_CANCEL/OK - instead of GTK_RESPONSE_REJECT/ACCEPT, to make Esc close - the dialog, and to not use values which are documented - as reserved for apps. - -2006-04-05 Alexander Larsson - - * modules/printbackends/lpr/gtkprintbackendlpr.c: - Don't hardcode lpr command, expose full commandline. - -2006-04-05 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintunixdialog.c: - Don't check for printer changes after dialog is dead. - - * gtk/gtkprintbackend.c: (gtk_print_backend_load_modules): - Strip whitespace from backend strings - - * gtk/gtkprintbackend.h: - Add private printer functions - - * gtk/gtkprinter-private.h: - Move GtkPrinterPrivate into gtkprinter.c - - * gtk/gtkprinter.[ch]: - Move GtkPrinterPrivate into gtkprinter.c - Add new construct properties. - Add setter functions. - - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/cups/gtkprintercups.[ch]: - Update to new APIs. - - * modules/printbackends/lpr/Makefile.am: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/lpr/gtkprinterlpr.[ch] - Update to new APIs. - Remove GtkPrinterLPR. - Read/Save command line option in settings - - * modules/printbackends/pdf/Makefile.am: - * modules/printbackends/pdf/gtkprintbackendpdf.c: - * modules/printbackends/pdf/gtkprinterpdf.[ch]: - Update to new APIs. - Remove GtkPrinterPDF. - -2006-04-04 Matthias Clasen - - * gtk/gtkprintoperation.h: Add missing standard - GObject macros. (#337277, Yevgen Muntyan) - -2006-04-04 Alexander Larsson - - * gtk/gtkprinteroption.[ch]: - Add gtk_printer_option_has_choice. - - * gtk/gtkprintunixdialog.c: - * modules/printbackends/cups/gtkprintbackendcups.c: - Add support for "print at time". - -2006-04-04 Alexander Larsson - - * gtk/gtkpapersize.c: - Handle ppd names with ".Transverse" suffix - Don't force width < height - - * gtk/gtkprinteroption.c: - Make sure that value is never NULL. - - * modules/printbackends/cups/gtkprintbackendcups.c: - Add some HP whitelist names - Remove spew from ignored options. - -2006-04-03 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - Fix warnings - - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.[ch]: - Add gtk_printer_is_default. - - * gtk/gtkprintunixdialog.c: - Use gtk_printer_is_default. - - * modules/printbackends/cups/gtkprintbackendcups.c: - Get default printer info - - * modules/printbackends/pdf/gtkprintbackendpdf.c: - Fix warning. - -2006-04-03 Alexander Larsson - - * modules/printbackends/pdf/gtkprintbackendpdf.c: - * modules/printbackends/pdf/gtkprinterpdf.[ch]: - Correctly read/write/use the output filename setting. - -2006-04-03 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - Disable margin from printers if there are no printers. - - * gtk/gtkpapersize.c: - Fix build. - -2006-04-01 Matthias Clasen - - * gtk/gtk.symbols: protect unix-only symbols by - G_OS_UNIX (#336819, Yevgen Muntyan) - - * gtk/gtkpapersize.c: Win32 fixes. (#336806, Yevgen Muntyan) - -2006-03-30 Alexander Larsson - - * gtk/gtk.symbols: - Update - - * gtk/gtkprintbackend.[ch]: - Add dnotify to gtk_print_backend_print_stream - - * gtk/gtkprinter-private.h: - Declare gtk_print_job_set_status - - * gtk/gtkprinter.[ch]: - Remove gtk_printer_prepare_job. - - * gtk/gtkprintjob.[ch]: - Now you create print job directly with gtk_print_job_new() and - they'll be prepared automatically. - Add status_changed signal and get_status. - Add gtk_print_job_set_source_file to allow sending a file. - - * gtk/gtkprintoperation-private.h: - Add destroy notify for platform_data. - Declare _gtk_print_operation_set_status. - - * gtk/gtkprintoperation-unix.c: - Hook up status change handling. - Use the new way to get a print job. - - * gtk/gtkprintoperation.[ch]: - Add status_changed signal and get_status/is_finished. - - - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: - Update to use new APIs and set status on the job. - Cups polls for the status. - - * tests/print-editor.c: - Track the print operations in the status bar. - -2006-03-30 Alexander Larsson - - * gtk/Makefile.am: - * gtk/gtkprintbackend.c: - Default to "pdf,cups" if we found cups, and - "pdf,lpr" otherwise. - -2006-03-29 Matthias Clasen - - * modules/printbackends/Makefile.am: - * configure.in: Don't build the cups backend - if cups is not there. - -2006-03-29 Alexander Larsson - - * gtk/gtk.symbols: - gtk_printer_prep_job -> gtk_printer_prepare_job - gtk_print_job_prep -> gtk_print_job_prepare - - * gtk/gtkprintbackend.h: - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.[ch]: - Add print_job argument to printer_prepare_for_print - gtk_printer_prep_job -> gtk_printer_prepare_job - - * gtk/gtkprintjob.[ch]: - Add manual rendering settings to GtkPrintJob. - gtk_print_job_prep -> gtk_print_job_prepare - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.c: - Get more manual_* settings working. - Run mainloop after each printed page. - - * gtk/gtkprintunixdialog.c: - Save page ranges. - - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: - Now put the manual_* settings inside the PrintJob in - prepare_for_print. - -2006-03-29 Alexander Larsson - - * gtk/gtkprintunixdialog.c: - Make sure we remember the format-for printer. - Also, use it as the default if set. - -2006-03-28 Alexander Larsson - - * gtk/gtkprintunixdialog.c: - Remove unnecessary padding under list. - -2006-03-28 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintunixdialog.c: - More HIGy layout. - -2006-03-28 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - HIG conformance of spacing and titles. - - * gtk/gtkprintunixdialog.c: - Use standard constructor form print button too. - -2006-03-27 Matthias Clasen - - * modules/printbackends/*/Makefile.am: Fix - a problem with builddir != srcdir builds. - (#335915, Yevgen Muntyan) - -2006-03-27 Matthias Clasen - - * gtk/gtkprintbackend.c: Simply the syntax - of the setting to "cups,pdf", and get rid - of the GScanner used to parse it. - -2006-03-27 Alexander Larsson - - * gtk/gtkprintunixdialog.c: - Reorder print list so status is at the end. - Ellipsize the status column. - -2006-03-27 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - Handle removed printers and status-changed. - Handle NULL printer location. - -2006-03-27 Alexander Larsson - - * gtk/Makefile.am: - * gtk/stock-icons/24/gtk-orientation-landscape.png: - * gtk/stock-icons/24/gtk-orientation-portrait.png: - * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png: - * gtk/gtkiconfactory.c: (get_default_icons): - * gtk/gtkstock.h: - Add orientation stock icons. - - * gtk/gtkpagesetupunixdialog.c: - Use the orientation icons. - -2006-03-27 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintjob.c: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintunixdialog.c: - s/impl/dialog/ - Don't prefix static functions with _ - -2006-03-26 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Don't use _(""). (#335898, - Christian Persch) - - * modules/printbackends/*: Don't use G_DEFINE_TYPE - in modules. - - * gtk/gtkprintbackend.c: Remove an unused static function. - -2006-03-25 Matthias Clasen - - * gtk/gtk.symbols: Add printing symbols - - * gtk/gtkpapersize.[hc]: - * gtk/gtkpage*.[hc]: - * gtk/gtkprint*.[hc]: Add aliasing, #include cleanups. - - * gtk/gtkprintcontext.h: - * gtk/gtkprintoperation.h: - * gtk/gtkprintsettings.h: Make get_type function const. - - * modules/printbackends/pdf/gtkprintbackendpdf.c: Remove - C99ism. - - * modules/printbackends/cups/gtkcupsutils.c: Use unsigned - integers for bitfields. - -2006-03-24 Matthias Clasen - - * gtk/gtknotebook.c: Fix docs - - * gtk/Makefile.am (EXTRA_DIST): Add the stock icons here. - - * gdk/directfb/Makefile.am (EXTRA_DIST): Remove ChangeLog, - to make make dist happier. - -2006-03-24 Alexander Larsson - - * configure.in: - * gtk/gtkprintbackend.c: - * modules/printbackends/Makefile.am: - * modules/printbackends/cups/Makefile.am: - * modules/printbackends/lpr/Makefile.am: - * modules/printbackends/lpr/gtkprintbackendlpr.[ch]: - * modules/printbackends/lpr/gtkprinterlpr.[ch]: - * modules/printbackends/pdf/Makefile.am: - * modules/printbackends/pdf/gtkprintbackendpdf.[ch]: - * modules/printbackends/pdf/gtkprinterpdf.[ch]: - Import pdf and lpr backend - -2006-03-24 Alexander Larsson - - Import print-operation into gtk+ - - * .cvsignore: - * Makefile.am: - * gtk+-unix-print-2.0.pc.in: - Add gtk+-unix-print-2.0.pc - - * configure.in: - Look for cups - Look for various _NL_* extensions - Output new makefiles and .pc.in - - * gtk/Makefile.am: - Add new files - - * gtk/gtk.h: - Include gtkprintoperation.h - - * gtk/gtkenums.h: - Add printing enums - - * gtk/gtkmarshalers.list: - Add required new marshallers - - * gtk/gtkpagesetup.[ch]: - * gtk/gtkpagesetupunixdialog.[ch]: - * gtk/gtkpagesetupunixdialog.h: - * gtk/gtkpapersize.[ch]: - * gtk/gtkprint-win32.[ch]: - * gtk/gtkprintbackend.[ch]: - * gtk/gtkprintcontext.[ch]: - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.[ch]: - * gtk/gtkprinteroption.[ch]: - * gtk/gtkprinteroptionset.[ch]: - * gtk/gtkprinteroptionwidget.[ch]: - * gtk/gtkprintjob.[ch]: - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation-win32.c: - * gtk/gtkprintoperation.[ch]: - * gtk/gtkprintsettings.[ch]: - * gtk/gtkprintunixdialog.[ch]: - * gtk/paper_names.c: - Generic printing support - - * modules/Makefile.am: - * modules/printbackends/Makefile.am: - * modules/printbackends/cups/Makefile.am: - * modules/printbackends/cups/gtkcupsutils.[ch]: - * modules/printbackends/cups/gtkprintbackendcups.[ch]: - * modules/printbackends/cups/gtkprintercups.[ch]: - Cups backend - - * tests/.cvsignore: - * tests/Makefile.am: - * tests/print-editor.c: - Add printing test app - diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 deleted file mode 100644 index 1cc52e7085..0000000000 --- a/ChangeLog.pre-1-0 +++ /dev/null @@ -1,4961 +0,0 @@ -Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson - - * Released GTK+ 1.0.0 - -Mon Apr 13 21:40:14 1998 Owen Taylor - - * gtk/gtktext.c (find_char_width): Don't read the - character past the end of the text. - - * gtk/gtkrange.c (gtk_real_range_timer): If the mouse - button has been released before the timer is activated, - don't keep on scrolling. - - * gdk/gdk.c (gdk_event_translate): Filter subsequent configure - events after we discard the first. Removed obsolete and - sometimes very slow GdkOtherEvent. (Left in gdktypes.h - with signal in GTK) - -Mon Apr 13 18:03:54 PDT 1998 Shawn T. Amundson - - * README: update address info to gtk.org for ftp and web sites. - -1998-04-13 Federico Mena Quintero - - * gdk/gdkregion.c (gdk_region_polygon): New function; wrapper for - XPolygonRegion(). - - * gdk/gdk.h: Added prototype for gdk_region_polygon(). - - * gdk/gdktypes.h (GdkFillRule): New enum type of fill rule for polygons. - -Mon Apr 13 15:04:26 1998 Michael K. Johnson - - * gtk/testgtk.c (create_clist): removed duplicate call to - gtk_widget_set_policy. - -Mon Apr 13 05:03:11 1998 Tim Janik - - * gtk/gtkwindow.c (gtk_window_add_accelerator_table): check for - accelerator table to be != NULL. - (gtk_window_remove_accelerator_table): likewise. - -Sun Apr 12 19:35:09 PDT 1998 Shawn T. Amundson - - * INSTALL: typo, gtk-1.0.0 should be gtk+-1.0.0 - * README: A little more intro on what gtk is... - -Sun Apr 12 22:43:22 1998 Owen Taylor - - * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): - An old allocation error. - - * gtk/gtkviewport.c (gtk_viewport_add): Don't map - when adding a not-VISIBLE widget to a VISIBLE - viewport. - -Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson - - * Changed LGPL address for FSF in all .h and .c files - -Sun Apr 12 20:09:40 1998 Owen Taylor - - * gtk/gtklabel.[ch] (gtk_label_expose): Set a flag so - instead of clearing the area in advance. That looked - _really_ bad. - - * gtk/gtkcontainer.c (gtk_container_class_init): Changed - "focus" to RUN_LAST. - - * gtk/gtkentry.c (gtk_entry_realize): Fixed place - where allocation was used where requisition was meant. - (Found by David J N Begley ) - - * gtk/gtkwindow.c (gtk_window_set_default): Fixed - assertion in when setting default to NULL> - ("Damon Chaplin" ) - - * gtk/gtkwidget.c (gtk_widget_unparent): Unset the - default widget on the toplevel, if necessary. - -Sun Apr 12 02:04:21 1998 Owen Taylor - - * gtk/gtkpreview.c: Removed unecessary and harmful - htons/ntohs when storing properties. (X does the byte - swapping itself) - -Sat Apr 11 02:01:31 1998 Owen Taylor - - * gtk/gtktext.c (scroll_down): Removed incorrect part of - assertion that was causing failures for scrolling a single - line very short text widget. - -Sat Apr 11 01:41:55 1998 Owen Taylor - - * gtk/gtktext.c (expose_text): Fixed a sign problem - (typedef gint guint!). Added some checks to make sure things - are positive. - -Sat Apr 11 05:51:22 1998 Tim Janik - - * gtk/gtktooltips.c (gtk_tooltips_event_handler): don't shut down the - tooltip on expose events. - - * gtk/testgtk.c (create_progress_bar): add an example tooltip. - -Fri Apr 10 00:10:16 1998 Owen Taylor - - * README/INSTALL: Extended for the 1.0 release. - * TODO: Eliminated the "before 1.0" section - -Thu Apr 9 19:31:51 PDT 1998 Shawn T. Amundson - - * AUTHORS NEWS README configure.in gtk+.spec glib/configure.in: - changes for 1.0.0 release. - -Thu Apr 9 18:36:31 1998 Owen Taylor - - * gtk/gtkmisc.c gdk/gdkwindow gtk/gtkentry.c gtk/testgtk.c: - Picky --enable-ansi cleanups. - - * gtk/gtkstatusbar.c (gtk_statusbar_pop): Pop top message - off _belonging_to_this_context_. (gtk-d4bjorn-980409-0) - - From "Damon Chaplin" - - * gtk/gtktable.c (gtk_table_size_request_pass3): Small fix to size - requisition code. - - * gtk/gtknotebook.c: Make sure not to do things to page->tab_label - if it doesn't exist. - -Thu Apr 9 14:24:35 1998 Owen Taylor - - (Found by Mattias.Gronlund" ) - - * gtk/gtkcurve.c (gtk_curve_interpolate): Added a - missing g_free. - - * gtk/gtkcurve.c (gtk_curve_graph_events): Limits - were off by one, resulting in writing past array - bounds. Removed some unused code. - - * gdk/gdk.c (gdk_dnd_drag_begin): The event structure - used for gdk_event_put should be a GdkEvent, not a - subtype, since it will all be copied. - - * gtk/gtkcolorsel.c: Added a unrealize handler that - unref's the GC's that were created. - - * gtk/testgtk.c (clist_warning_test): ref and sink - child because it may never be added to anything. - -Wed Apr 8 20:50:02 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_hints): Removed unsed - variables (gtk-jbuhler-980408-0) - -Wed Apr 8 17:27:40 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_unparent): Make sure - widgets get removed from the resize queue before the - connection between them and the resize queue is broken - by unparenting their parent. - -1998-04-08 Miguel de Icaza - - * gdk/gdk.c (gdk_event_translate): During drag and drop, set the - event mask at ButtonPress time to include ButtonPressMask and - ButtonReleaseMask, otherwise, if the button is released, and we - get a LeaveNotify event, it still thinks we are doing a drag. - -Tue Apr 7 22:45:37 PDT 1998 Shawn T. Amundson - - * Released GTK+ 0.99.10 - -Wed Apr 8 01:33:58 1998 Owen Taylor - - * gtk/gtkviewport.c (gtk_viewport_realize): Handle border - width correctly on realize after allocate. - -Tue Apr 7 23:06:00 1998 Owen Taylor - - * Changes for GTK+ 0.99.10 - - * examples/find-examples.sh: Script to find all the - files we need to distribute from the examples directory. - -Tue Apr 7 19:14:03 1998 Owen Taylor - - * gdk/gdkpixmap.c: Added maximum field widths to prevent - possible '%s' scanf overflows. Replaced scanf("%c") - with getc(), Don't interpret /*/ as a full comment. Use - g_realloc/g_new. - - * gtk/gtkwidget.h gtk/gtkprivate.h: Changed all flag - tests to check for ((GTK_WIDGET_FLAGS(widget) & FLAG) != 0) - instead of (GTK_WIDGET_FLAGS(widget) & FLAG) - - * gtk/gtkfilesel.c: Use getwd() instead of getcwd() on - SunOS, because getcwd() hangs up in a wait4(). - (Found by David Monniaux ) - - - Check device/inode/mtime not just inode/mtime, when - caching scanned directories. - (From: scottk@ig.utexas.edu (Scott Kempf)) - - * gdk/gdkpixmap.c: Check for 0 width/height when - creating pixmaps. - - * gtk/*.c: Global substitution of recently introduced - "MAX (0," for allocations to "MAX (1,", since - creating a backing pixmap with a zero width or height - fails. - - * gdk/gdkwindow.c (gdk_window_new): Don't set all the - WM properties for child windows. Don't set the base - size, since the value we set will be taken as a minimum - size. - -Wed Apr 8 00:00:48 1998 Tim Janik - - * gtk/gtklabel.c (gtk_label_expose): don't take '\n' into account for - size computation (Damon Chaplin). - - * gtk/gtkvscale.c (gtk_vscale_draw_value): adjusted static snprintf() - buffer size to 32 characters (Damon Chaplin). - * gtk/gtkhscale.c (gtk_hscale_draw_value): likewise. - - * gtk/gtkmain.c (gtk_main_iteration_do): gdk_flush() the X-queue if - iteration_done==TRUE since we will most likely not get invoked again - (Marius Vollmer). - -Mon Apr 6 23:48:29 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_realize): Set the - window hints on every map so that GTK_WIN_POS_MOUSE - works correctly. - -1998-04-06 Federico Mena Quintero - - * gtk/gtktable.h: - * gtk/gtktable.c (gtk_table_set_homogeneous): Added function to - set the homogeneous flag of the table (needed by derived widgets - and such). - -1998-04-03 Federico Mena Quintero - - * gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget. - -Mon Apr 6 18:48:49 BST 1998 Tony Gale - - * docs/gtkfaq.sgml: more on GIMP (et al) configure - problems. - -Mon Apr 6 08:05:23 1998 Owen Taylor - - * gtk/gtkbutton.c (gtk_button_paint): Take border in - account properly. - - * gtk/gtktext.c (gtk_text_realize): Don't recompute - geometry when creating with initial 1x1 geometry, - since our calculations can't handle that. Leave - text->line_start_cache NULL as sign we don't have - a real geometry yet. - - * gtk/gtkentry.c (gtk_entry_motion_notify): Use the x - value we get from gdk_window_get_pointer, not from - event->x - since we always specify OwnerGrabButtonMask - (why???), event->x can refer to another window. - -Mon Apr 6 08:08:49 BST 1998 Tony Gale - - * docs/gtk_tut.sgml examples/helloworld/helloworld.c: - Change a missed "delete_event" return value description - from TRUE to FALSE. - -Mon Apr 6 00:28:28 1998 Owen Taylor - - * gtk/gtkcontainer.c (gtk_container_focus_tab): Make - tab key move in reading order (left-to-right top - to bottom) - which might have been the original intended - behavior modulo sorting bugs. - - * gtk-config.in: Never output -I/usr/include from --cflags - -Sun Apr 5 21:47:12 1998 Owen Taylor - - * gtk/gtkmenubar.c: Fixed bug where right justified - menu would overlap last left justified item. - -Sun Apr 5 19:30:23 1998 Owen Taylor - - * gtk/gtkclist.c: Fixed assignment of adjustment->value - to negative values. Moved a few other allocation type things - around in ways that may or may matter. Fixed some allocation - errors (scrollbars were overlapping main window). - - * gtk/gtkbutton.c (gtk_real_button_released): Small hack to keep - button labels from vanishing when the invoked operation blocks. - - * gtk/gtkbox.c (gtk_box_remove): Assigning GTK_WIDGET_VISIBLE (widget) - to a gboolean (char) is _bad_. GTK_VISIBLE == 256. - -Sun Apr 5 15:08:25 1998 Owen Taylor - - * gtk/gtkmain.c: Reverted broken implementation of removing - the current timeout/idle. Substituted a (hopefully) functional one. - -Sun Apr 5 09:35:55 1998 Tim Janik - - * gtk/gtkmain.c (gtk_events_pending): take expired timeouts into - account, otherwise things like e.g. spin-buttons don't work. - also, count gtk_main_quit() as an event. - -Sun Apr 5 08:03:01 1998 Tim Janik - - * gtk/gtkspinbutton.c: fixed panel allocation and stacking order, - fixed the base class realization. - - * gtk/gtkmisc.c: implemented widget arguments. - - * gtk/gtkentry.c: fixes in _realize to behave similar to - _size_allocate. - -Sat Apr 4 12:23:23 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: (gtk-crichton-980403-0) subsections on - Aspect Frames and Paned widgets. - - * examples/paned examples/aspectframe: new examples - -Fri Apr 3 23:15:55 1998 Owen Taylor - - * gtk/gtktext.c: Test for need to recompute geometry with - GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE(). - -1998-04-03 Federico Mena Quintero - - * gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a - nifty "textured metal" frame. Could be useful in gtkstyle.c, maybe. - (gtk_handle_box_paint): Paint a handle that does not make you puke - when you look at it. - -Fri Apr 3 21:03:38 1998 Owen Taylor - - * gtk/gtktext.c (gtk_text_realize): Call recompute_geometry() - upon realization, since it can't be done in the previous - size_allocate. - -Fri Apr 3 20:36:52 1998 Owen Taylor - - * gdk/gdk.c gtk/gtkmain.c: Accept debug options - in the form --g[td]k[-no]-debug=xxx as well - -Fri Apr 3 18:33:47 1998 Owen Taylor - - * gtk-config.in: Added flags --prefix[=dir] and - --exec-prefix[=DIR] which allow querying and overriding the - configured-in prefix and exec-prefix. - - * gtk.m4: Added configure flags --with-gtk-prefix= - and --with-gtk-exec-prefix= to set the --prefix and - --exec-prefix argumetns to gtk.m4 - -Fri Apr 3 17:14:55 1998 Owen Taylor - - * gdk/gdk.c: More extensive debugging output - - * gtk/gtkalignment.c gtk/gtkbutton.c gtk/gtkcheckbutton.c - gtk/gtkclist.c gtk/gtkeventbox.c gtk/gtkhandlebox.c - gtk/gtk[hv]box.c gtk/gtk[hv]paned.c gtk/gtklist.c - gtk/gtkmenu.c gtk/gtkmenubar.c gtk/gtkmenuitem.c - gtk/gtknotebook.c gtk/gtktable.c gtk/gtktree.c - gtk/gtktreeitem.c gtk/gtkviewport.c - - Avoid assigning negative values to unsigned allocation.width and - height - - * gtk/gtkwindow.c: - - Instead of realizing the widget, then size allocating, (resulting - in XMoveResizeWindows for all children, do the size allocation - first, then realize. - - In gtk_real_window_move_resize, combine move and resize - into a single GDK/X call when possible. - - * gtk/gtkclist.c gtk/gtkdrawingarea.c: - - Remove assumption that the widget will be size allocated _after_ - it is realized. - - * gtk/gtklist.c (gtk_list_motion_notify): Removed useless - debugging message. - -Wed Apr 1 21:51:37 1998 Owen Taylor - - * gtk/gtkmain.c: return NULL for gtk_get_event_widget (NULL) - - * gtk/gtkentry.c: New algorithm to get more normal behavior - with scroll_offset when changing fonts. - -Thu Apr 2 17:30:04 BST 1998 Tony Gale - - * examples/gtkdial/Makefile, - examples/menu/Makefile, - examples/tictactoe/Makefile : add correct dependencies - -Thu Apr 2 13:04:37 BST 1998 Tony Gale - - * docs/gtkfaq.sgml: add question on failing GIMP configure - -Tue Mar 31 15:41:57 PST 1998 Shawn T. Amundson - - * Makefile.am: - * examples/*: added the rest of the tutorial examples - -Tue Mar 31 06:37:16 1998 Tim Janik - - * gtk/testgtk.c (create_cursors): forgot to set the initial `0' cursor. - -1998-03-30 Miguel de Icaza - - * gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the - window first, display it after (this removes one of the annoying - flashing effects). - -Mon Mar 30 21:29:43 1998 Owen Taylor - - * gtk/gtkentry.c: Add a "style_set" callback, so the - font can be changed at run time. (needed for GIMP text - tool) - -Tue Mar 31 01:17:23 1998 Tim Janik - - * gtk/gtknotebook.c (gtk_notebook_menu_item_create): show the menu_label - unconditionally (even if it is not a default label). - (gtk_notebook_update_labels): if we have a tab_label, then use its label - as the default menu_label. - -Mon Mar 30 16:35:57 1998 Owen Taylor - - * gtk/testgtk.c: Improved main loop test. (Quits main - loop properly, makes it more obvious to the user - what is going on) - - * gtk/gtkwidget.c (gtk_widget_unparent): Reset the - allocation _after_ clearing the window. - - * configure.in: If can't find XShmAttach in Xext, check - in XextSam (for AIX). - - * gtk/gtkmain.c (gtk_events_pending): Remember, small - numbers are _high_ priority for idle queues. - - * gtk/gtkmain.c (gtk_handle_current_timeouts): Allow - removing the currently running timeout. - - * gtk/testgtk.c (timeout_test): Use the right prototype - for callback. - -Mon Mar 30 21:40:21 1998 Tim Janik - - * gtk/gtkclist.c (gtk_clist_row_from_ypixel): removed this function, - it was unneeded and not exported. - - * gtk/gtkwidget.c (gtk_widget_ref) (gtk_widget_unref): don't check-cast - the widgets to volatile GtkObjects (which was there for debugging - purposes only). these functions should probably be macros, but that - would break binary compatibility again, sigh. - (gtk_widget_destroy): removed superfluous check-casts, since the - neccessary checks are done in gtk_object_destroy anyways. this should - be a macro as well but stays as a function for the above reasoonings. - -Mon Mar 30 17:21:27 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: reflect the change of meaning - of the delete_event return value - -Sun Mar 29 22:25:22 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: more on the Text widget, - update the tictactoe example to the current code - -Sun Mar 29 22:29:00 1998 Tim Janik - - * gtk/gtkspinbutton.[ch] gtk/testgtk.c (gtk_spin_button_set_wrap): - Added wrapping capabilities to GtkSpinButton. New function : - gtk_spin_button_set_wrap (Lars Hamann and Stefan Jeske). - -Sat Mar 28 21:18:42 1998 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_disable_activate): - Disconnect from combo->entry, not combo. - (From: Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>) - - * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpm): Deal - better with xpm's with bad colors in them. - -Fri Mar 27 21:01:17 1998 Owen Taylor - - * gdk/gdk.c (gdk_event_translate): Don't call - XTranslateCoordinates on a destroyed window. (Why do we - do event processing at all on destroyed windows when we - throw out the results?) - - * gtk/gtklabel.c: Clear the background when changing style/ - state. - -Fri Mar 27 16:35:00 PST 1998 Shawn T. Amundson - - * Released GTK+ 0.99.9 - - * examples: added a couple more, fixed some Makefiles - -Fri Mar 27 17:58:41 1998 Owen Taylor - - * gtk/gtkhandlebox.c (gtk_handle_box_paint): Don't clear - the window on an expose event. On draws, just clear the - portion we are redrawing. - - * gdk/gdkfont.c (gdk_fontset_load): Corrected calculation - of fontset ascent/descent. - - * gtk/gtkwidget.[ch]: Added new function to show a toplevel - window and wait for it to be mapped, gtk_window_show_now () - -Fri Mar 27 08:51:17 PST 1998 Shawn T. Amundson - - * docs/Makefile.sgml: some stuff for doing plain text and - postscript - -Fri Mar 27 00:13:18 1998 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): If the widget is _not_ - a descendant of a Window widget, propagate key presses like - other events. - - * gtk/gtkentry.c gtk/gtktext.c: Ignore multiple simultaneous - button presses instead of treating subsequent presses as - release/press pairs for tablet compatibility. - - * configure.in config.h.in: Removed inline checks, because they - are duplicated in glib. - - * gtk/gtkwidget.c (gtk_widget_draw): When gtk_widget_draw () - occurs with queued draw already in place, redraw _entire_ - widget. (Pointed out by Tim Janik) - -Thu Mar 26 23:12:54 1998 Tim Janik - - * gtk/gtkmain.c (gtk_propagate_event): make a clear distinction between - key press/release events, which will be sent to a widgets toplevel - ancestor and be forwarded from there, and all other events that need to - get propagated up the widget tree (pointed out by Owen Taylor). - -Thu Mar 26 21:37:57 1998 Tim Janik - - * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): always - display the correct active state. - - * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): always - display the correct active state. - - * gtk/gtkwidget.c (gtk_widget_set_arg): CAN_FOCUS and CAN_DEFAULT flag - changes need to queue a resize. - - * gtk/gtkbutton.c (gtk_button_paint): take border_width into - consideration for restrict area. - - * gtk/gtktogglebutton.c (gtk_toggle_button_class_init): enable the - draw_default member of GtkButton, otherwise the diplay is messed up - for CAN_DEFAULT toggles. - (gtk_toggle_button_draw_focus): always display whether the toggle button - is active or not. - - * gtk/gtkwidget.c (gtk_widget_set_state): - (gtk_widget_set_sensitive): - (gtk_widget_set_parent): - (gtk_widget_propagate_state): take into consideration, whether we really - want to change childrens states, or just restauration of old states. - -Thu Mar 26 15:33:50 1998 Owen Taylor - - * gtk/gtkwidget.c: When gtk_widget_draw() is called on a - REDRAW_PENDING widget, draw it and remove it from the - queue instead of doing nothing. - - * gtk/Makefile.am gdk/Makefile.am: Switch order of includes - directories, to make doubly sure that wrong glibconfig.h - isn't used. (See also glib/ChangeLog) - - * gtk/gtkentry.c (gtk_entry_draw_focus): Don't draw the - cursor unless the entry is editable. - - (From: Stefan Jeske ) - -Thu Mar 26 08:31:58 1998 Tim Janik - - * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key - events on widgets with parent==NULL twice. - -Tue Mar 24 14:59:50 1998 Tim Janik - - * gtk/gtkhandlebox.h: - * gtk/gtkhandlebox.c: implemented new flag shrink_on_detach (TRUE by - default) which will cause the handle boxes requisition to collapse in - case the child is already detached. - -Tue Mar 24 00:17:42 1998 Owen Taylor - - * gtk/gtkcombo.c gtk/gtkmenu.c: Use reversed arrow for - menus ala Motif (and fix Options menus, which had X cursor - before), and show normal arrow when inside ComboBox. - - * gtk/gtkfilesel.c: Various memory leaks removed, as - pointed out by Mattias.Gronlund" - - * docs/gtk_tut.sgml: Change compiling explaination - to refer to gtk-config. - (From: johannes@nada.kth.se (Johannes Keukelaar)) - -1998-03-23 Federico Mena Quintero - - * gtk/gtkclist.c (gtk_clist_size_allocate): Fixed xthickness -> - ythickness typo. - -Tue Mar 24 03:53:18 1998 Tim Janik - - * gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for - evaluation after the widget got destroyed, discovered by Johannes - Keukelaar . - -1998-03-23 Federico Mena Quintero - - * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row - which got its data changed, and not (0, 0). - -Mon Mar 23 18:19:42 1998 Owen Taylor - - * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making - an X grab when the button is released, grab immediately. - This solves a problem where menus wouldn't pop down - if the caller didn't have the BUTTON_RELEASE mask on - their window, and and another where the X grab would - be released prematurely. - - * gtk/gtklist.c gtk/gtktree.c: Do sanity checking on - button presses to make sure they occurred in a child item. - (From: "Damon Chaplin" ) - - * gtk/gtkmenushell.c: Do sanity checking on button - press/releases. Handle button events on window widget - descendents of menu items correctly. - - * gtk/gtkclist.c gtk/gtkbutton.c gtk/gtkviewport.c - gtk/gtkeventbox.c: - - Make the window size allocated in _realize() match that - in _size_allocate(). Take into account the border width - in the draw() handler. - -Mon Mar 23 15:26:25 1998 Tim Janik - - * gtk/gtkentry.c (gtk_entry_append_text): check for text!=NULL. - (gtk_entry_prepend_text): likewise. - some else picky indentation fixes. - -Mon Mar 23 12:03:03 CST 1998 Shawn T. Amundson - - * examples/: added this directory with stuff from - the tutorial, updated to compile and work with recent - changes - -Mon Mar 23 01:04:51 1998 Owen Taylor - - * gtk/gtktext.[ch] testgtk.c: Added optional word wrap, controlled - by new function gtk_text_set_word_wrap; and a check button - in the Text test. - - * gtk/gtktext.c: First line wasn't getting updated - properly when selection was removed. - -Sun Mar 22 23:33:50 1998 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_insert_text): Fixed some - problems with !gtk_use_mb introduced in the last change. - -Sun Mar 22 21:00:43 1998 Owen Taylor - - * gtk/gtkpaned.c: Fix so children don't get bogus draws. - -Mon Mar 23 01:08:30 1998 Tim Janik - - * gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and - container_class->remove untouched if we don't implement them. - - * gtk/gtkcontainer.c (gtk_container_class_init): add missing NULL - initialization for the class method (*foreach). implement a default - handler to output a warning for (*add) and (*remove). - -Sun Mar 22 19:01:36 1998 Owen Taylor - - * gdk/gdkcolor.c: Fixes to allow GTK to work with colormaps - that aren't 256 entries long. (colormap->colors is - now dynamically allocated) - -Sun Mar 22 16:25:46 1998 Owen Taylor - - * gtk/gtkmain.c (gtk_init): fixes to locale checks - - * gtk/testgtk.c (create_dnd): Create the dnd icons separately - to avoid strange interactions with shapes demo. - - * gtk/gtkentry.[ch]: - - Limit the length of the text to 2048 to prevent long delays - - Fix problems with buffer overruns - - Draw only the onscreen portion of the text to prevent wrapping - of shorts in the X drawing code. - - Keep track of character positions and x-offsets to speed - up algorithms. - -Sun Mar 22 11:37:51 CST 1998 Shawn T. Amundson - - * gtk/gtkcolorsel.c: - * gtk/gtkfilesel.c: use button_box for buttons - -Sat Mar 21 19:07:01 1998 Owen Taylor - - * gtk/testgtk.c (dnd_drop): Don't respond to drops when - grab is in effect. (workaround) - - * gdk/gdkfont.c (gdk_fontset_load): More details on - error messages. - - * gdk/gdk.c: Translate va_list to XVaNestedList instead - of just casting it. - - * gtk/gtkmain.c: Make temporary copy of string returned by - setlocale, since it may be changed by subsequent calls. - -Sat Mar 21 22:54:31 1998 Tim Janik - - * gtk/gtkhandlebox.h: - * gtk/gtkhandlebox.c: major overhaul of the code, fixed all - known bugs (hopefully ;). - -Sat Mar 20 15:33:17 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_real_show): queue the resize for the - parent. - -Thu Mar 19 02:00:50 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_unrealize): unset flags after emission, - especially GTK_MAPPED, since that might not have been taken care of - by an UNMAP emission. - -Sat Mar 21 10:39:02 CET 1998 Paolo Molaro - - * gtk/gtkcombo.[ch] "activate" signal can be disabled now - -Fri Mar 20 20:49:33 1998 Radek Doulik - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing - in toolbar elements, so texts are always at the bottom - -Wed Mar 18 01:07:11 1998 Radek Doulik - - * gtk/gtkclist.c (gtk_clist_column_titles_show): test if - clist->title_window exists before showing it, - gtk_clist_column_titles_hide also fixed - -Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson - - * Released GTK+ 0.99.8 - -Thu Mar 19 16:28:48 CST 1998 Shawn T. Amundson - - * the Solaris ltconfig patch from draco - -Wed Mar 18 17:03:02 PST 1998 Manish Singh - - * gtk/gtkcolorsel.c: #define M_PI if it isn't already - * gtk/testgtk.c: initialize transparent properly, to make purify - happy - -Thu Mar 19 00:37:44 1998 Tim Janik - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the - neccessary checks on funtion begin. use the scrolled_window that got - passed to this function, and not a new one. - -Wed Mar 18 11:09:10 1998 Owen Taylor - ( From: James Henstridge ) - - * gtk/gtkclist.c: Don't remove, then destroy labels in - gtk_clist_set_column_[*], just remove them. - - * gtk/gtkmain.c (gtk_invoke_timeout_function): call - marshal when appropriate, not function. - -Tue Mar 17 14:15:07 1998 Owen Taylor - - * gtk/testgtk.c (create_main_window): Alphabetize tests - - * gtk/gtk[hv]paned.c: Change division on resize if - necessary to keep handle visible. - - * gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into - _init() functions. - - * gtk/gtkscrolledwindow.c: Added missing _construct() - functions. - -Wed Mar 18 17:38:25 CET 1998 Paolo Molaro - - * gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length - (it truncates the texts if it's longer, now) - -Wed Mar 18 02:06:52 1998 Tim Janik - - * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue. - - * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after - setting certain arguments, so they actually take affect. - (gtk_window_set_policy): likewise. - -Tue Mar 17 22:45:39 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_get_arg): return real boolean values - not just numbers. - - * gtk/gtktogglebutton.c (gtk_toggle_button_set_state): check - state for != 0, otherwise we get strange results. - -Tue Mar 17 01:55:00 1998 Owen Taylor - - * gtk/gtkmain.c gtk/gtkentry.c: Try to guess if we can - use the mb* functions safely. (For glibc, they do - UTF-8). Heuristic is (X_LOCALE && locale != C/POSIX) - || (mblen("\xc0", MB_CUR_MAX) == 1). - - (From: "Richard Lloyd" ) - - * gdk/gdk.c (gdk_ic_get_attr): Use an intermediate - variable to avoid taking the address of the result - of va_arg. - - * gtk/gtkentry.c gtk/gtkeditable.c gtkobject.c - gtk/testselection.c: signedness fixups - - * gtk/gtkcontainer.c: Fixed implicit cast between - gpointer and func pointer by changing. - - * gtk/gtkcombo.c, gtk/gtkentry.c, gtk/gtktext.c: - static void forward declaration vs. void actual fixed - - * gtk/testgtk.c: Limit total number of tree items to 10,000 - -Mon Mar 16 21:14:52 1998 Owen Taylor - - * gdk/gdkvisual.c: Put visual names into #ifdef G_ENABLE_DEBUG - gtk-jbuhler-980315-0.patch - - * gdk/gdkcc.c: Changed DEBUG => G_ENABLE_DEBUG, eliminate - unused variable warnings. - -Tue Mar 17 16:19:47 1998 Tim Janik - - * gdk/gdk.c: - * gdk/gdkvisual.c: changed some debugging messages to be prefixed - by "Gdk:". - - * gtk/gtkwidget.c (gtk_widget_real_draw): applied - gtk-shige-980317-0.patch.gz to set all event fields, but modified - the event.send_event field to be set to TRUE, since the event is not - really comming from the server. - - * gtk/gtkwindow.c (gtk_window_init): applied gtk-ograf-980317-1.patch.gz - which cares about an initial setting of program name and program class. - - * gdk/gdk.c (gdk_init): applied gtk-ograf-980317-0.patch.gz, which - strips leading pathnames from gdk_progname. - -Tue Mar 17 12:36:35 1998 Tim Janik - - * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing - GTK_ARROW_LEFT, correction from Damon Chaplin . - -Tue Mar 17 02:02:02 1998 Miguel de Icaza - - * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as - the mask, as this enables an application listening to those events - to catch the root events. Thanks to Maciej for pointing us in the - right direction. - (gdk_dnd_drag_enter): Likewise. - (gdk_dnd_drag_leave): Likewise. - * gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise. - -Mon Mar 16 22:31:02 1998 Federico Mena - - * gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that - testing will not fail for windows that are off-screen. - - (gdk_window_xid_at_coords): Only considers visible windows. - -Tue Mar 17 03:56:13 1998 Tim Janik - - * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is - used in testgtk, and besides that. - - * gtk/testgtk.c: created a new "test" cursors, which showes different - types of GdkCursors and is a very simple example at using the drawing - area. - -Mon Mar 16 18:19:31 GMT 1998 Tony Gale - * docs/gtkfaq.sgml: - - new question on modal windows - - new question on updating progressbars - - update all the links to gtk.org - -Mon Mar 16 09:15:03 GMT 1998 Tony Gale - - * docs/gtk_tut.sgml: - - New subsection on colourselection from Tom Bech - - Moved fileselection text to Miscallaneous Widgets section - - Started new section on the Text widget - - Removed Viewport, Paned, HPaned and VPaned from list of - NO_WINDOW widgets. - -Mon Mar 16 01:33:36 1998 Owen Taylor - - * gtk-config.in: Added trailing newline, hopefully will - fix the problem with esac disappearing. - - * gtk/Makefile.am (test-debug): Improved test targets - will work with --enable-shared - [From: Raja R Harinath ] - - * gtk.m4: Not all shells understand $(...). Use `...` instead. - [From: Raja R Harinath ] - - use AM_PATH_PROG instead of AM_CHECK_PROG, so the user - can specify programs not in their path. - - * Makefile.am: added gtk.m4 to EXTRA_DIST - -Sun Mar 15 23:44:10 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkmenushell.c: - * gtk/gtkmenu.c: - * gtk/gtkmain.c: removed EXCLUSIVE_GRAB again, just disable modal - event delivery for insensitive children. - -Sun Mar 15 22:44:33 1998 Tim Janik - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted - the last change, since it broke click-select-click menus for gimp. - -Sun Mar 15 20:13:42 1998 Tim Janik - - * gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether - we need gtk_widget_destroy or gtk_object_destroy. these functions are - by no means allowed to act differently! - - * gtk/gtkmisc.c (gtk_misc_set_alignment): check for _DRAWABLE instead - of _VISIBLE to operate on widget->window. - (gtk_misc_set_padding): likewise. - - * gtk/gtkwidget.c: slightly reordered object arguments. - - * gtk/gtkobject.c (gtk_object_setv): - * gtk/gtkobject.c (gtk_object_getv): - operator `!' has precedence over `&'. - -Sun Mar 15 14:38:34 1998 Tim Janik - - * gtk/gtknotebook.c (gtk_notebook_pages_allocate): applied a fix from - lars against a segfault that i discovered. - -Sun Mar 15 13:25:28 1998 Tim Janik - - * gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB. - * gtk/gtkmain.c: allow exclusive grabs. - - * gtk/gtkmenu.c: grab exclusively. - * gtk/gtkmenushell.c: grab exclusively. - - * gtk/gtkmenushell.c: don't activate insensitive menu items when - in click-selects mode. - - * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): activate submenus - on popup. - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't take - *additional* button presses into account. - - * gtk/gtkmenushell.c (gtk_menu_shell_button_press): don't take - foreign button releases into account. - -Sun Mar 15 08:27:06 1998 Tim Janik - - * gtk/gtktipsquery.c (gtk_tips_query_set_labels): changed run type - of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it can be overidden - by the user. - - * gtk/gtkwindow.c (gtk_window_configure_event): small fix by - Assar Westerlund . - - * gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer. - -Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson - - * Released 0.99.7 - -Sat Mar 14 20:07:45 1998 Owen Taylor - - * gtk.m4: Fixed reversed conditional, so checks against - supplied version. - -Sat Mar 14 10:10:46 1998 Tim Janik - - * gtk/gtkmain.c (gtk_main): fixed a bug with invoking the quit handlers - that could cause them to be removed wihout being invoked. - -Sat Mar 14 14:36:40 PST 1998 Shawn T. Amundson - - * Released 0.99.6 - - * gdk/gtk_tut.sgml: - * gdk/gtk_tut_it.sgml: fixed Ian Main's e-mail address - -Sat Mar 14 17:48:42 1998 Owen Taylor - - * gtk/Makefile.am: Don't refer to current directory as - $(top_builddir)/gtk to avoid confusing non-gmakes. Made - Emacs-dependent maintainer-oonly - -Sat Mar 14 17:47:12 1998 Owen Taylor - - * gdk/gdkwindow.c: (gdk_window_set_group): Fixed use of - unitialized variable. - -Sat Mar 14 13:26:09 1998 Owen Taylor - - * gtk/gtkentry.c gtk/gtktext.c: Some cleanups of signedness - warnings - - * gtk/gtkhandlebox.h: Changed gint ... : 1 to guint ... : 1 - -1998-03-14 Federico Mena Quintero - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Moved the - gtk_signal_connect of the specified callback into the big switch() - for buttons. We don't want to connect to the "clicked" signal of - a custom widget or a space element, because it may not have one. - (gtk_toolbar_insert_element): Extra sanity check; if the type is - GTK_TOOLBAR_CHILD_WIDGET, then the specified widget must not be NULL. - -Sat Mar 14 02:54:28 PST 1998 Manish Singh - - * gtk.m4: fixed a bashism in gtk tests - -Sat Mar 14 08:29:56 1998 Tim Janik - - * gtk/gtkhandlebox.c (gtk_handle_box_size_allocate): refuse to allocate - with a greater height than requested. - (gtk_handle_box_remove): clean up if the child is detached. - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): don't take invisible - children into account. - -Sat Mar 14 02:12:44 1998 Owen Taylor - - * gtk/gtkmain.c gdk/gdk.c: Don't leave NULL's in argv. - -Sat Mar 14 01:36:51 1998 Owen Taylor - - * gtk-config.in: Added -I $exec_prefix/glib/include to cflags - -Sat Mar 14 00:03:34 1998 Owen Taylor - - * gtk/gtkwindow.c: - Don't resize windows when request is rejected by WM. - Only use the resize count to guess whether a Configure - event was a rejection by the WM, or a move. - - * gdk/gdk.c gdk/gdktypes.h: - - Don't XDestroyWindow foreign windows (If they're a child of - one of our windows, reparent them to root and send them a WM - delete event, otherwise, just delete the GTK structure.) - Handle notification of their deletion properly. - (Made foreign windows a seperate window type to do this) - - * gtk/gtkobject.c (gtk_object_set_data_full): - Call the DestroyNotify when replacing the object data. - -Sat Mar 14 02:03:13 1998 Tim Janik - - * gtk/gtksignal.c: make use of *_by_id() functions for handler key. - - * gtk/gtkwidget.c: make use of *_by_id() functions for a bunch of keys. - (gtk_widget_shutdown): new function to perform pre-destruction shutdown - of the widget. - (gtk_widget_unparent): call gtk_widget_set_parent_window(widget,NULL) - - * gtk/gtkobject.h: - * gtk/gtkobject.c: GtkObject destruction is now split into an internally - used shutdown class method and the usual GtkObject::destroy signal - emission. this allowes for class based shutdown functionality prior - to actuall object destruction. - added *_by_id() counterparts for gtk_object_data_* functions, meant for - internal use only. - - * gtk/gtkmain.c (gtk_quit_add_destroy): new function which will destroy - a GtkObject once gtk_main() of a certain level finishes. it is save to - destroy the object prior to that, gtk_quit_add_destroy will only destroy - objects that are still existing. - -1998-03-13 Federico Mena Quintero - - * gtk/gtkclist.c (gtk_clist_row_is_visible): Now we return a - GtkVisibility value, instead of a simple boolean. Also, changed - all the functions that expected a boolean value to use - "!= GTK_VISIBILITY_NONE". - - * gtk/gtkclist.h: Changed prototype for gtk_clist_row_is_visible(). - - * gtk/gtkenums.h (enum): Added GtkVisibility enum. - -Fri Mar 13 11:23:55 PST 1998 Shawn T. Amundson - - * docs/gtk_tut.sgml: - * docs/gtk_tut_it.sgml: - * docs/gtk_tut_packbox1.gif: - * docs/gtk_tut_packbox2.gif: - * docs/gtk_tut_table.gif: added graphics, update tutorials - appropriately - -Fri Mar 13 18:25:07 1998 Tim Janik - - * gtk/gtkcombo.c: fix popup calculations (removal - of FIXMEs), changes from Lars Hamann. - -Fri Mar 13 10:25:16 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: renamed gtk_widget_delete_hides to - gtk_widget_hide_on_delete at owens request, and because the - new name is much more descriptive. - -Fri Mar 13 17:33:56 GMT 1998 Tony Gale - - docs/gtkfaq.sgml: fix the spelling of Helge Hess's name - -Fri Mar 13 09:40:17 GMT 199 Tony Gale - - * docs/gtkfaq.sgml: update links to documentation and - remove question on what needs to be done before 1.0 - -Fri Mar 13 01:17:44 1998 George Lebl - - * gtk/gtkfilesel.c: Set the column width of the clists - to the longest string length so that the bottom scrollbar - appears when you get some long files in the list - -1998-03-12 Federico Mena Quintero - - * docs/gtk_tut.sgml: fix one missing quote. - -Thu Mar 12 18:01:03 1998 Owen Taylor - - * gtk.m4 gtk-config.in Makefile.am configure.in: - Added a new mechanism for GTK-dependent programs to - find out about the installed GTK. (Does not remove - any current functionality) - - * gtk+-xconfig.in: Was no longer used for anything. - -Thu Mar 12 20:17:47 1998 Tim Janik - - * gtk/gtkhandlebox.c (gtk_handle_box_delete_float): return TRUE for - GtkWidget::delete_event to avoid destruction of our float window. - - * gtk/gtkmain.c (gtk_main_iteration_do): GDK_DELETE will destroy a - widget if the last handler returned FALSE or there was none connected. - - * gtk/testgtk.c: adapted all delete_event/destroy case that were affected. - - * gtk/gtkwidget.c (gtk_widget_delete_hides): new function that will hide - a widget and return TRUE to avoid window deletion if - connected to GtkWIdget::delete_event. - -Thu Mar 12 11:51:33 PST 1998 Shawn T. Amundson - - * docs/gtk.texi: Changed name of GTK to the GIMP Toolkit - -Wed Mar 11 22:52:57 1998 Russell Nelson - - * gtk/gtktest.c: new_pixmap wasn't using its filename argument. - * docs/gtk.texi: Add descriptions - -Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson - - * gtk/docs/: added tutorial, changed some files around to - make more sense. - -Thu Mar 12 10:49:38 1998 Tim Janik - - * gtk/gtkmain.h: - * gtk/gtkmain.c: changed handler tags to be of type guint, reflecting - the internal tag handling. - - * gtk/gtkcurve.h: macro fixups. - -Thu Mar 12 08:55:34 1998 Tim Janik - - * gtkitem.c: - * gtktree.c: - * gtklist.c: fetch the inintial value of attributes.event_mask from - gtk_widget_get_events (widget) (pointed out by Damon Chaplin - ). - -Thu Mar 12 07:43:33 1998 Tim Janik - - * gdk/gdk.h: - * gdk/gdkvisual.c: applied gtk-shige-980311-0.patch.gz, which removes - the erronerous gdk_query_visuals() function in favour of - gdk_list_visuals() which does a correct job. - - * gtk/gtkcontainer.h: applied gtk-draco-980311-0.patch.gz which fixes - a class cast check. - - * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980312-0.patch.gz about - '+' sign acceptance. - - * gtk/gtknotebook.c: applied gtk-hamann_jeske-980311-1.patch.gz which - cares about delayed tab label creation. - -Thu Mar 12 06:58:17 1998 Tim Janik - - * gtk/gtktree.c (gtk_tree_map): avoid warnings about NULL casts. - - * gtk/gtkstatusbar.c (gtk_statusbar_destroy): don't leak the context - id key's slist. - - * gtk/gtkobject.c (gtk_object_set_data_full): duplicate keys that get - inserted into the hashtable, otherwise this function *forces* the caller - to leak memory, for dynamically allocated keys (problem pinpointed by - Mattias Gronlund). - -Tue Mar 10 23:02:42 1998 Owen Taylor - - * gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c: - Various minor cleanups related to -W - -1998-03-11 Elliot Lee - - * gtk/gtkentry.h: Keep it consistent - - don't list gtk_entry_set_max_length unless it's implemented. - (Someone make up their mind please ;-) - -Wed Mar 11 07:10:11 1998 Tim Janik - - * gtk/gtkspinbutton.h: - * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980311-0.patch.gz, - to limit entered characters to numbers, '-' and '.'. - -Wed Mar 11 04:35:06 1998 Tim Janik - - * gtk/gtklist.c: - * gtk/gtktree.h: - * gtk/gtktree.c: - * gtk/gtktreeitem.h: - * gtk/gtktreeitem.c: applied gtk-bolliet-980310-0.patch.gz which adds - more checks and implements gtk_tree_clear_items. made a bunch of style - and indentation fixes. - -Wed Mar 11 03:35:17 1998 Tim Janik - - * gtk/gtktooltips.h: - * gtk/gtktooltips.c: code and structure clean ups. fixed the - tooltips flickering bug. - -Tue Mar 10 14:24:09 1998 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_clear): Make the return - result reflect whether the clear event was out of data. - - * gtk/gtkeditable.c: Ignore out of date selection clear - events. - - * gtk/gtkentry.c gtk/gtktext.c: Don't synthesize releases - on [2/3]BUTTON presses, since we get the normal click as well. - - Claim the selection when selecting words/lines. - -Tue Mar 10 13:34:29 1998 Owen Taylor - - * gtk/gtkrange.c (gtk_range_default_[vh]trough_click): - Take forward/back step arrows into account when computing - position for middle button clicks. - - * gtk/gtktext.c gtk/gtkentry.c: - - Fixes for deleting characters (don't subtract guints and get - negative numbers!) - - Reset cursor_virtual_x when moving by words and lines - - Extra sanity checks - - Fix to gtk_text_get_chars - (from Tony Gale ) - -1998-03-10 Federico Mena Quintero - - * gdk/gdkgc.c (gdk_gc_set_function): Replace GXor by GXxor. Seems - to have been a typo. - -Tue Mar 10 00:49:18 EST 1998 The Rasterman - * gdk/gdkwindow.c: (gdk_window_xid_at) fixed minor memory leak and - minor buglet in tree search. - -Mon Mar 9 21:21:19 PST 1998 Shawn T. Amundson - - * Released 0.99.5 - -Mon Mar 9 23:24:42 1998 Miguel de Icaza - - * gtk/gtkclist.c (gtk_clist_get_selection_info): Export - functionality. - -Tue Mar 10 05:42:34 1998 Tim Janik - - * configure.in: Bumped version number to 0.99.5. - -Tue Mar 10 05:30:05 1998 Tim Janik - - * gtk/gtkrange.h: - * gtk/gtkrange.c: - changed gtk_range_trough_click() to take an additional jump_perc arg, - class method and callers changed. - - * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz - which fixes a memory leak. - -Mon Mar 9 20:38:15 1998 Owen Taylor - - * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: - Moved "activate" to editable class. Made the vfuncs in - gtkeditable just vfuncs not signals. - - * gtkentry.[ch] gtktext.[ch]: Made behavior when pressing - multiple buttons at once more rational. - - * gtkentry.c gtktext.c: Unified and rationalized key - bindings. (Now are basically emacs+CUA) - - * gtktext.c: - - Last position now always shares the property of the preceding - character - - Freeze the widget when inserting large amounts of text. - - Selecting lines now selects the _whole_ line. - - Fixed bug with displaying the cursor - - Ctrl-Home/End now move the cursor to the _absolute home/end - - * gtkmenuitem.c: Remove necessary code out of a g_return_if_fail - -1998-03-09 Federico Mena Quintero - - * gtk/gtkclist.c (gtk_clist_set_foreground): We now accept the - color parameter to be NULL. If it is NULL, it will mark the row - with "color not set", so it will be repainted with the default color. - (gtk_clist_set_background): Likewise. - -Mon Mar 9 15:48:10 1998 Tim Janik - - * Signal signedness and naming corrections, plus GtkType fixes: - - * gtk/gtkadjustment.c: - * gtk/gtkbutton.c: - * gtk/gtkcheckmenuitem.c: - * gtk/gtkclist.c: - * gtk/gtkcolorsel.c: - * gtk/gtkcontainer.c: - * gtk/gtkcurve.c: - * gtk/gtkdata.c: - * gtk/gtkeditable.c: - * gtk/gtkentry.c: - * gtk/gtkhandlebox.c: - * gtk/gtkinputdialog.c: - * gtk/gtkitem.c: - * gtk/gtklist.c: - * gtk/gtkmenuitem.c: - * gtk/gtkmenushell.c: - * gtk/gtknotebook.c: - * gtk/gtkstatusbar.c: - * gtk/gtktoolbar.c: - * gtk/gtktree.c: - * gtk/gtktreeitem.c: - * gtk/gtkwidget.c: - * gtk/gtktogglebutton.c: - * gtk/gtkwindow.c: - made the _signals[] arrays of type guint rather than gint. - - * gtk/gtkwidget.c (gtk_widget_get_ancestor): made widget_type a GtkType. - - * gtk/gtkcombo.h: - handler ids need to be of type guint (entry_change_id, list_change_id). - - * gtk/gtkaccelerator.c: - changed signal_num to signal_id and typed it guint. - - * gtk/gtkmain.c: made gtk_ndebug_keys a guint. - - * gtk/gtkmenu.h: - * gtk/gtkmenu.c: - (gtk_menu_popup): made button a guint. - (gtk_menu_set_active): made index a guint. - - * gtk/gtkmenuitem.h: - * gtk/gtkmenuitem.c: - made accelerator_signal a guint. - - * gtk/gtkoptionmenu.h: - * gtk/gtkoptionmenu.c: - (gtk_option_menu_set_history): made index a guint. - - * gtk/gtksignal.h: - * gtk/gtksignal.c: - * gtk/gtkobject.h: - * gtk/gtkobject.c: changed a bunch of prototypes to take guints rather - than gints. also made some conversions from guint to GtkType, left over - from when the fundamental-types system was introduced. - - * gtk/gtkobject.h: - * gtk/gtkobject.c: made object_data_id_index and obj_count guints. - made *signals and nsignals guints in GtkObjectClass. - -Mon Mar 9 13:36:53 GMT 1998 Tony Gale - - * docs/gtkfaq.sgml: - - - Use 'diff -ru' for patches - - Explained patch application/rejection - - Added information on CVS - - New question on right justified menus with menufactory - - From Nathan: - - - Information on Objective-C bindings - - Add missing variable in colour example. - -Mon Mar 9 11:44:33 1998 Tim Janik - - * gtk/gtkfilesel.c (gtk_file_selection_update_history_menu): reverted - the changes ian introduced in r1.16 on Mar 06, since they broke the - history menu. - -Mon Mar 9 08:07:01 1998 Tim Janik - - * gtk/gtkspinbutton.h: - * gtk/gtkspinbutton.c: - applied gtk-hamann_jeske-980308-0.patch.gz to have a - gtk_spin_button_construct() function - -Mon Mar 9 01:01:41 1998 Owen Taylor - - * gtk/gtkrc.c: No, you can't add a GtkStyle * to a - list of GtkRcNode *. (Fixes huge performance problem) - Plus, don't bother creating a new style unless style - actually has bg pixmaps. - -Sun Mar 8 15:53:33 1998 Owen Taylor - - * gtk/gtktext.c: - - - Show selection correctly when starting selection with arrows - - - Display pixmap background only when not editable - - - Redraw focus area more carefully to prevent flashing (and - make style of drawing consistent with Entry) - - * gtk/gtktreeitem.c: ref colormaps for pixmap by colormap - storage. - - * gtk/gtkrc.c: Store a separate style for each RcStyle for - each colormap, so we can handle background pixmaps - correctly, which need to be per-colormap. (Leaks - colormaps...) - - Parse text color style entries correctly. - - * gtk/testgtk.c: insert text without fg color - gtk/testgtkrc: move "*" after rest, so the other class styles - take effect - - * gdk/gdkwindow.c gdk/gdk.c gdk/gdkprivate.h: Send DND events - safely, in case drop window disappears. (Performance hit - because XSync()'s are necessary) - - * gdk/gdk.h gdk/gdkpixmap.c: Added - gdk_pixmap_colormap_create_from_xpm[_d] to allow creating - pixmaps from xpm's before you have a GdkWindow. - -Sun Mar 8 12:33:38 PST 1998 Jay Painter - - * gtk/gtkclist.c: the GList clist->selection now contains row indexes - in the data portion of the linked list structure instead of pointers, - fixed several bugs with the different selection modes - - * gtk/testgtk.c: displays information for unselect events, and prints the list - of selected rows - -Sun Mar 8 13:03:22 1998 Tim Janik - - * gtk/gtkrange.h: removed gtk_range_calc_value(). - -Sun Mar 8 04:22:36 1998 Tim Janik - - * gtk/gtkfilesel.c: applied gtk-gronlund-980307.patch.gz which - fixes a memory leak by making use of gtk_clist_set_row_data_full. - - * gtk/gtkclist.c: applied gtk-gronlund-980307.patch.gz which ads a - gtk_clist_set_row_data_full () function. slightly modified to - always invoke the destroy function regardless of the value of - the row_data. - - * docs/gtk.texi: applied gtk-draco-980305-1.patch.gz, spelling fixes. - - * gdk/gdk.c (gdk_init): - cleared up a tiny memory leak from not destroying a temporary copy - of argv (gtk-gronlund-980307-02.patch.gz). - -Sun Mar 8 03:00:17 1998 Tim Janik - - * configure.in: define the version variables in config.h. - - * gtk/gtkmain.h: - * gtk/gtkmain.c: added static version variables. - - * gdk/gdkpixmap.c: fixed memory leaks (gtk-gronlund-980307-1.patch.gz) - -Sat Mar 7 18:46:57 1998 Owen Taylor - - * gtk/gtkpreview.[ch]: Added a new function, gtk_preview_reset(), - that can be used (under highly controlled circumstances), - to change the properties of the preview colormap after - a preview has already been created and destroyed. - -Sun Mar 8 00:18:04 1998 Tim Janik - - * gtk/gtkobject.c: register living objects in a hashtable. - -Sat Mar 7 20:20:53 1998 Tim Janik - - * gtk/gtkobject.c: - (gtk_object_check_cast): - (gtk_object_check_class_cast): - made the object/class cast checks much more descriptive, based on - gtk-draco-980305-2.patch.gz and gtk-draco-980306-1.patch.gz but - optimized for common code path. - - * gtk/gtkpreview.c: added a few extra checks for the visual - (gtk-draco-980305-0.patch.gz). - - * gdk/gdk.c (gdk_signal): abort() on a signal if G_ENABLE_DEBUG - is defined, so we dump core (gtk-draco-980305-0.patch.gz). - -Sat Mar 7 13:00:00 1998 The Rasterman - - * gdk/gdkwindow.c (gdk_window_xid_at_coords),(gdk_window_xid_at): - added these two calls, gdk_window_xid_at_coords beign the one - to actually call to look up the current X Window ID at a particular - x,y co-ordinate onscreen accounting for a list of windows to be - excluded from this search. Useful for DND support. - * gdk/gdkprivate.h added in above function calls. - -Sat Mar 7 01:07:24 1998 Owen Taylor - - * gtk/gtkrange.c (gtk_range_expose): Fixed the vscrollbar - flickering problem, by checking the area on expose events. - (There was a hscrollbar flickering problem as well, it - just wasn't very noticeable) - -Fri Mar 6 21:30:05 1998 Owen Taylor - - * gtk/gtkeditable.c: Disallow pasting into non-editable - widgets. - - * gtk/gtktext.[ch]: - - -Added scrolling when dragging the selection - paste the top/bottom. - - -Fix some of the problems with displaying the selection - state before mouse release. - - -Disallow pasting into non-editable widgets - - -Fixed segfault when changing window size - - -Update the cursor correctly when switching between - editable and non-editable - - * testgtk.c: Added a toggle button for editability for - the text widget. - -Fri Mar 6 14:47:33 PST 1998 Shawn T. Amundson - - * Applied gtk-matsu-980205-0 (oops, should be 980305) - gdk/gdkinputcommon.h: return NULL if device is not ready - gtk/gtkwindow.c: check for GDK_ISO_Left_Tab - -Fri Mar 6 13:17:58 1998 Marc Ewing - - * gtk/gtkclist.c (real_select_row, real_unselect_row): - fix selection bugs - -Thu Mar 5 20:41:27 1998 Ian Main - - * gtk/gtkfilesel.c: Added - gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and - gtk_file_selection_hide_fileop_buttons(GtkFileSelection *fs). - Changed pulldown to only contain current directory name instead of - the full path. Removed Help button (it can now be packed into the - button_area if desired). - - * gtk/gtkfilesel.h: Added GtkWidget *button_area (the fileop - buttons at the top are packed into this hbox), and GtkWidget - action_area (hbox below clists) to GtkFileSelection structure. - - * gtk/testgtk.c: Changed the filesel example to show off the hiding/ - showing of fileop buttons, and the packing area. - -1998-03-05 Federico Mena Quintero - - * gdk/gdkprivate.h: Changed the name of default_filters to - gdk_default_filters to avoid namespace pollution. Yes, it just - happened to me. - * gdk/gdk.c (gdk_event_translate): - * gdk/gdkglobals.c: - * gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise. - -Thu Mar 5 12:32:06 1998 Marc Ewing - - * gtk/gtkclist.c (select_row): emit UNselect on rows - that are not selected. - -Thu Mar 5 01:22:06 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_unparent): Unset allocation - on unparent, to force reallocation if we get adding back - to a new parent which is already size-allocated. - - * gtk/gtktreeitem.[ch]: Keep track of separate +/- pixmaps - for each colormap, removed the idle hack. - - * gdk/gdk.c: Don't warn when unable to open XIM method, - since X11R5 apparently has no default method. - - * gtk/gtkwidget.c (gtk_widget_set_style_internal): Don't - call size_request on initial emission - since the - widget size isn't set yet, it can't change. - - * gtk/Makefile.am: New rules 'test' and 'test-debug' to run - testgtk with the correct working directory. - - * gtk/gtkentry.c (gtk_move_forward_word): - Check for position at end of line. - - * gtk/gtkinputdialog.h (struct _GtkInputDialogClass): - removed 'gpointer data' arguments from default handler - structures. - -Wed Mar 4 20:06:47 1998 Miguel de Icaza - - * gdk/gdk.c (gdk_event_translate): Drags can only be started with - the left button. - -Wed Mar 4 16:02:44 GMT 1998 Tony Gale - - * docs/gtkfaq.sgml: widget hierarchy update from Tim Janik - -Mon Mar 2 19:57:27 1998 Miguel de Icaza - - * gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to - zero before calling the X routine. - -Tue Mar 3 01:22:25 1998 Tim Janik - - * gtk/gtkspinbutton.c: applied patch from lars and steffan to proper - check for realized widgets. - -Mon Mar 2 18:27:09 CST 1998 Shawn T. Amundson - - * gtk/gtkstatusbar.h: fixed ifndef..define typo - -Mon Mar 2 17:48:38 1998 Owen Taylor - - Miscellaneous minor fixes to remove ANSI C incompatibilities - - * gdk/gdkregion.c gtk/gtkclist.c: fix // comments - - * gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of - some arguments to ANSI functions - - * gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers - to void * - - * gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp) - - * gtk/gtknotebook.h: Bitfields must be gint or guint. (and should - be guint) - - * gtk/gtkstatusbar.c: trailing ';' - - * gtk/testgtk.c: GList where there should have been GSList - -Mon Mar 2 12:26:59 1998 Owen Taylor - - * gtk/gtkentry.c: Changed 'entry != NULL' to 'editable != NULL' - in three spots. - -Sun Mar 1 18:29:58 PST 1998 Shawn T. amundson - - * Released GTK+ 0.99.4. - -Sun Mar 1 16:47:29 PST 1998 Shawn T. Amundson - - * gtk/testgtk.c: small fix to notebook portion - -Sun Mar 1 15:18:38 PST 1998 Shawn T. Amundson - - * Required changes for version change to 0.99.4 - - * gtk/gtktree.[ch]: patch from J. Bolliet to correct some bugs - * gtk/testgtk.c: added test here from J. Bolliet, removed testtree - - * gtk/clist: gtk-abilleira-981602-0, allows gtk_clist_set_pixmap - and gtk_clist_set_pixtext to not require a mask - - * gdk/gdkdraw.c,gdk.h: gtk-trow-980217-0 - adds gdk_draw_lines and fixes some things about - gdk_draw_polygon - -Sun Mar 1 17:40:58 1998 Owen Taylor - - * gdk/gdkpixmap.c: Make sure either the window or - the depth is given when creating a pixmap. - -Sun Mar 1 22:59:09 1998 Tim Janik - - * gtk/gtkstatusbar.h: - * gtk/gtkstatusbar.c: complete api change to honour message contexts. - unfortunaltely this also involved argument changes on the signal - emissions which will not be caught by the compiler. your callbacks - should look like: - void message_text_popped (GtkStatusbar *statusbar, - guint context_id, - const gchar *text, - gpointer func_data); - - * gtk/gtkwidget.c (gtk_widget_set_rc_style): eliminated bug about - initial signal emission. - (gtk_widget_set_parent): don't ensure style, just call - gtk_widget_set_style_recurse. - (gtk_widget_set_style_recurse): only change a widget's rc styles if - if there has already been a lookup. - - * gtk/testgtk.c: adaptions for statusbar widget. - substituted notebook pixmaps with pixmaps from fvwm, since - we don't know where the originals came from. - - * gtk/gtkobject.c (gtk_object_data_destroy): call the destroy - notifier with the objects data, not its internal structure. - - * gtk/gtkspinbutton.c (gtk_spin_button_button_press): small - fix from lars. - -Sun Mar 1 15:08:13 CST 1998 Shawn T. Amundson - - * docs/*.texi changes from Greg Mclean. - -Sun Mar 1 18:41:07 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_restore_default_style): hm if we save the - default style, we should also provide a function to restore it ;). - - * gtk/main.[hc]: small fixups to idle handlers, added support for quit - handlers. - -Sun Mar 1 05:18:11 1998 Owen Taylor - - * gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch] - - Changed interface to cut/copy/paste so it makes sense - when triggered by say, menu items. - -Sun Mar 1 03:20:39 1998 Owen Taylor - - * gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch] - - Turned off debugging in gtktext.c - - Bug fixes for cutting, pasting, deleting, etc. - - Some of the bugs that were there before have definitely - been fixed. - - * gtk/testgtk.c gtk/testgtkrc: Removed my ugly orange backgrounds, - to make things look nicer. - -Sat Feb 28 23:58:54 1998 Owen Taylor - - * gtk/gtkentry.[ch] gtktext.[ch] gtkeditable.[ch] - - Created a new base widget type Editable for the entry and - text widgets, which encapsulates most of the selection and - clipboard handling stuff, plus some common signals. - - Changed the Entry widget extensively to support this, - but the interface and appearance should be the same. - - Changed the Text widget moderately to support this. - - It now supports: - - - Selection style cut and paste - - Clipboard style cut and paste - - Emacs style key bindings (~same as Entry) - - Word motion - - "changed" signal - - There are definitely still some bugs in the new stuff. - - Use style->base for the background and style->text for - the foreground. - - * gtkfilesel.c gtkspinbutton.c testgtk.c: small changes - to fit the new interface more exactly. - -Sat Feb 28 19:29:09 1998 Tim Janik - - * gtk/gtkclist.c (gtk_clist_new_with_titles): retrive the clist widget - from gtk_type_new (gtk_clist_get_type ()), not gtk_clist_new(), - otherwise gtk_clist_construct() gets called twice. - - * gtk/gtkhandlebox.h: - * gtk/gtkhandlebox.c: emit signals when the child is attached/detached. - -Sat Feb 28 15:18:36 1998 Tim Janik - - * gtk/gtkpreview.c: fix behavior of gtk_preview_put() with - srcx/srcy != 0, gtk-shige-980127-0.patch.gz by - AOSASA Shigeru . - - * gdk: applied gtk-roebling-980121-0.patch.gz, patch for region - support in Gdk, by Robert Roebling . - -Fri Feb 27 15:31:55 1998 Tim Janik - - * gtk/gtktipsquery.c: we make an active server grab now, this way we - can change the cursor globally and don't need to tweak event masks - of other windows. - - * gtk/gtkframe.c (gtk_frame_style_set): recompute label size. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: - New signal GtkWidget::style_set to be emitted when a widget's style - changed. New flag GTK_RC_STYLE to indicate whether an rc lookup has - been perfomed for the widget. - (gtk_widget_ensure_style): New function. - (gtk_widget_set_rc_style): New function. - - * docs/styles.txt: new file. - -Fri Feb 27 01:11:55 1998 Owen Taylor - - * gtk/gtktext.c - - - gtk_text_delete and gtk_text_insert now update caches - and refresh screen correctly if the text widget isn't frozen. - - - Fixed bug where text->first_line_start_index wasn't - being updated correctly on insertion and deletion. - - - Added new public macro GTK_TEXT_INDEX (text, ind), and - function gtk_text_get_chars(text, index, nchars); - -Thu Feb 26 22:36:46 1998 Owen Taylor - - * gdk/gdkwindow.c gdktypes.c gdk.h: - new functions for setting WM hints - - gdk_window_set_icon() - gdk_window_set_icon_name() - gdk_window_set_group() - gdk_window_set_decorations() - gdk_window_set_functions() - - * gdk/MwmUtil.h: new uninstalled header file from lesstif - distribution, used for setting MWM hints. - - * gdk/gdkdnd.c Makefile.am: renamed from gdk/gdk_dnd.c - - * gtk/gtkhandlebox.c (gtk_handle_box_realize): Use MWM hints - to undecorate window. - - * gtk/testgtk.c gtk/circles.xbm: new test for WM hints. - -Wed Feb 25 22:56:42 1998 Tim Janik - - * gtk/gtkspinbutton.h: - * gtk/gtkspinbutton.c: - new widget from Lars Hamann and - Stefan Jeske . - - * gtk/gtknotebook.c: fixups from lars and stefan. - -Wed Feb 25 13:18:53 1998 Owen Taylor - - * gtk/gtkbbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch] : - - Move layout constants into an enumeration, split - GTK_BUTTONBOX_DEFAULT into GTK_BUTTONBOX_DEFAULT - and GTK_BUTTONBOX_DEFAULT_STYLE (enumeration member). - - * gtk/gtkclist.c: - - Renamed gtk_clist_row_isvisable to .._is_visible - - From: Maciej Stachowiak - -Wed Feb 25 13:50:05 GMT 1998 Tony Gale - - * docs/gtkfaq.sgml: added questions on: - - Why don't the contents of a button move when - the button is pressed? - - How do I catch a double click event in - a list widget? - - When compiling GTK+ I get an error like: - make: file `Makefile' line 456: Syntax error - Removed questions on menus which are covered in the - tutorial. - - Added link to HTML versions of FAQ and Tutorial on my - web site. - -Tue Feb 24 22:47:01 1998 Owen Taylor - - * gtk/gtktext.c: Added some support for i18n. The support - for input methods, including preedit, is there, but input - is ignored unless it comes one byte at a time, so the - CJK locales won't really work. Fixing that would require - variable-width character support in the Text widget, which - is probably the wrong approach. Eventually we'll probably - want to go to UCS-4 internally. - - Also, revised key press handling, which should improve - the forwarding of non-handled keypresses to the toplevel, - and make adding selection handling easier. - - * gtk/gtkentry.c: Minor changes so that C-d, etc delete - the selection if there is one. - - * gdk/gdk.c (gdk_ic_get_events): Check the result of - XGetICValues - it is failing for some reason, and - causing some warnings to be printed. - -Mon Feb 23 15:41:13 1998 Owen Taylor - - * gtk/gtkwidget.c gtk/gtkmenu.c: Don't process configure events - that just move the window, and don't resize it. Because we need - to make sure that a widget gets redrawn after a size_allocate - - and that only happens when the configure event changes the size - of the window. Plus, it's inefficient. - -Mon Feb 23 15:45:37 1998 Marc Ewing - - * gtk/gtktoolbar.h: - * gtk/gtktoolbar.c: - Added gtk_toolbar_*_element() functions. Rewrote others - to simply call gtk_toolbar_insert_element() to do the - work. - Added two new GtkToolbarChildType options: TOGGLEBUTTON and - RADIOBUTTON, available through the gtk_toolbar_*_element() functions. - -Mon Feb 23 13:44:10 1998 Tim Janik - - * gtk/gtkstatusbar.h: - * gtk/gtkstatusbar.c: - (re-)implemented the statusbar widget. my first intend was to fix the - code, but then there was nothing to fix. - -Sun Feb 22 20:42:04 1998 Marc Ewing - - * gtk/gtkclist.c (gtk_clist_insert): Allow inserts - on empty clists. - -Sun Feb 22 14:28:43 1998 Owen Taylor - - * gtk/gtkmain.c (gtk_events_pending): Count idle handlers - at internal priority as pending events. - -Sun Feb 22 00:20:12 MET 1998 Eckehard Berns - - * gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode - GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine. - -Sat Feb 21 15:33:20 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to - GtkWidget::parent_set. since it's purpose is pure notification, - it should have been named this way in the first place. - -Sat Feb 21 12:06:11 1998 Scott Goehring - - * gtk/gtkentry.c (gtk_entry_set_text): Added a test for passing a - NULL text pointer. - -Sat Feb 21 14:49:17 1998 Tim Janik - - * gtk/gtkobject.h: - * gtk/gtkobject.c: gtk_object_query_args takes an additional pointer - now which if supplied will point to an array holding the sequential - argument ids. - - * gtk/gtktree.c: fix emission of selection_changed signal, supplied - by Bolliet Jerome. - - * gtk/gtktreeitem.c: inline the plus and minus pixmaps, supplied by - Bolliet Jerome. - - * gtk/gtknotebook.c: do a resize when a page is removed and don't - refer to the removed page on the switch signal, supplied by Lars Hamann - and Stefan Jeske. - - * gtk/gtktoolbar.h: - * gtk/gtktoolbar.c: - gtk_toolbar_append_item, gtk_toolbar_prepend_item, - gtk_toolbar_insert_item, gtk_toolbar_append_widget, - gtk_toolbar_prepend_widget, gtk_toolbar_insert_widget: take an additional - gchar *tooltip_private_text as argument to fully support the underlying - call to gtk_tooltip_set_tip. - -Fri Feb 20 06:40:00 1998 Tim Janik - - * gtk/gtktipsquery.h: - * gtk/gtktipsquery.c: - New widget GtkTipsQuery for letting the user query tooltips of widgets. - - * gtk/testgtk.c: add example for GtkTipsQuery. - - * gtk/gtk.h: include gtk/gtktipsquery.h. - - * gtk/gtklabel.c: enable default constructing. - - -Thu Feb 19 18:53:51 1998 Larry Ewing - - * removed g_warnings from the common XShm failure cases in gdkimage.c - -1998-02-19 Federico Mena Quintero - - * gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n - key equivalents for up and down keys. Just for us Emacs weenies :-) - -Thu Feb 19 12:18:24 1998 Owen Taylor - - * gtk/testgtk.c : Use POINTER_MOTION_HINT when dragging - shapes around. - (gtk-wille-980203-0 - Stefan Wille <1wille@vsys1.informatik.uni-hamburg.de>) - - * gtk/gtktext.c : Fixes to inserting and deleting characters - on line breaks. - (gtk-magnus-980210-0 Magnus Hulthen ) - - * glib/configure.in glib/glibconfig.h.in: the value of - ---enable_debug is written into glibconfig.h so everything - is recompiled when it changes. (HACK) - - * gtk/gtkmain.c gdk/gdk.c docs/debugging.txt: - Added --gdk-no-debug and --gtk-no-debug switches. Effect - of switches is no cumulative. - -Thu Feb 19 06:56:52 1998 Tim Janik - - * gtkbox.c: - * gtkbutton.c: - * gtkcontainer.c: - * gtkframe.c: - * gtklabel.c: - * gtkobject.c: - * gtkwidget.c: - * gtkwindow.c: - present the argument access masks on their announcement. - - * gtk/gtkobject.h: - * gtk/gtkobject.c: - (gtk_object_add_arg_type): take an additional argument describing - the access mask of the new arg. this can be of GTK_ARG_READABLE, - GTK_ARG_WRITABLE or GTK_ARG_READWRITE (the latter is an alias for - the two previous ones). - (gtk_object_query_args): provide an access_mask array if desired. - - * gtk/gtkwidget.c (gtk_widget_real_realize): - realized the assumtion that widget is a NO_WINDOW widget - in actuall code. - - * gtkwindow.c: - slight changes to gtk_window_configure_event that will make - the resizing behaviour a little less odd. - sigh, for some (buggy) reason, there are still container resizes - triggered by manual resizing to very small window sizes. - the cointainer resizes will cause gtk_real_window_move_resize to - be invoked, which makes the app look like it wants to fight the users - resizing action. ;( - -Thu Feb 19 01:11:48 1998 Owen Taylor - - * configure.in gdk/gdk.[ch] gdk/gdkcc.c - gdk/gdkglobals.c gdk/gdkinputcommon.h gdk/gdkprivate.h - gdk/gdkvisual.c glib/configure.in glib/glib.h - glib/gutils.c gtk/Makefile.am gtk/gtkmain.c - gtk/gtkobject.[ch] gtk/gtkdebug.h docs/debugging.txt - - New system for controlling debugging: - - * --enable-debug=[no/yes/minimum] - * G_DISABLE_ASSERT and G_DISABLE_CHECKS for glib - * G_NO_CHECK_CASTS to control cast checking - * G_ENABLE_DEBUG enables run time checking which controls: - Object tracing - Showing events - Miscellaneous g_print's in GDK - And is controlled by --gdk-debug/GDK_DEBUG, --gtk-debug/GTK_DEBUG - * debug_level and show_events are gone from GTK - - See docs/debugging.txt for details. - - And some fixups to the configure.in's so '-g' can be - overriden on the command line for --enable-debug - -Thu Feb 19 05:40:51 1998 Tim Janik - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c: - applied gtk-hamann_jeske-980218-0.patch.gz, a patch from - Lars Hamann and Stefan Jeske which introduces major - usability improvements. - fixed bugs are: - - container border_width>0 does now work correctly for show_tabs==TRUE - and for tab_pos=GTK_POS_BOTTOM/GTK_POS_RIGHT. - - toggleing visibility of the tab labels works now. - - emission of GtkNotebook:switch_page and all page changes - also the signature for the GtkNotebook:switch_page signal changed, - callbacks should now look like: - gint notebook_switch_page (GtkWidget *widget, GtkNotebookPage *page, - gint page_num, gpointer data); - -Wed Feb 18 01:09:56 PST 1998 Jay Painter - * gdk/gdk.c: fixed ambigous else compiler warning - * gtk/gtkgamma.c: fixed ambigous else compiler warning - * gtk/gtkclist.h: - * gtk/gtkclist.c: new signals which break everything! (yeah!) - * gtk/gtkfilesel.c: fixed to use new clist signals - -Wed Feb 18 04:38:24 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: - new signal GtkWidget::set_parent. this signal will be emitted once a - widget gets a new/no parent assigned (i.e. from gtk_widget_unparent - and gtk_widget_set_parent). - -Wed Feb 18 02:58:50 1998 Tim Janik - - * gtk/gtktooltips.h: - new functions gtk_tooltips_data_get and - gtk_tooltips_set_tip, gtk_tooltips_set_tips is discouraged now. - (_GtkTooltips): removed some fields that were never used. - changed boolean fields to one bit size, to pack together with - the delay field. - (_GtkTooltipsData): added tip_private, renamed tips_text to - tip_text. - * gtk/gtktooltips.c: - (gtk_tooltips_data_get): new function to retrive the - _GtkTooltipsData structure of a widget. - (gtk_tooltips_set_tip): new function for more extensible tooltips - settings than gtk_tooltips_set_tips which is discuraged now. - removed a bug that caused a stale object_data key to a - _GtkTooltipsData structure. - removed a bug that caused tips falsly to come up for a grab widget - on widgets where events were grabbed from. - -1998-02-17 Federico Mena Quintero - - * gdk/gdkcc.c: Added some missing newlines on debug messages. - -Tue Feb 17 05:41:31 1998 Tim Janik - - * gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already - in this place, so the application will never see entry->text==NULL. - (see also ChangeLog entry from Tue Feb 11 1997 on this). - - * gtk/gtkcheckbutton.c: - * gtk/gtkradiobutton.c: - * gtk/gtktogglebutton.c: - applied patch to fix draw_indicator behaviour from Lars Hamann - and Stefan Jeske. - - * gtk/gtkmain.h: - * gtk/gtkmain.c (gtk_grab_get_current): new function - that returns the current grab widget or NULL. - - * gdk/gdkwindow.c (gdk_window_shape_combine_mask): remove - shape mask if mask==NULL (provided by Stefan Wille). - -Tue Feb 17 00:06:26 1998 Owen Taylor - - * gtk/gtkpaned.c, gtk/gtk[hv]paned.c: (gtk-fortier-980215-0) - From Patrice Fortier - - Add a widget->window for paned windows, so they - can be reparented properly. - -Mon Feb 16 23:47:09 1998 Owen Taylor - - * gtk/gtkviewport.c: (gtk-fortier-980130-0) - From Patrice Fortier - - Eliminate some extra expose events for viewports. - (To be conservative, I set the user's event mask for - both widget->window, and viewport->bin_window -owt) - -Mon Feb 16 23:12:14 1998 Owen Taylor - - * gtk/gtkmain.c: Make timeout and idle insertion code - use g_list_insert_sorted(). - -Mon Feb 16 17:35:17 1998 Owen Taylor - - * gtk/gtktreeitem.c: Use gtk_signal_default_marshaller, - for expand/collapse signals. - -Fri Feb 13 19:08:51 1998 Tim Janik - - * gtk/gtkclist.c (check_exposures): check for clist !REALIZED. - (draw_rows): bail out if the widget isn't drawable. - (hadjustment_value_changed): - (vadjustment_value_changed): bail out if clist isn't drawable. - - * gdk/gdk.c (graphics_expose_predicate): check for private != NULL. - (gdk_event_get_graphics_expose): check for window != NULL. - -Fri Feb 13 00:33:26 1998 Owen Taylor - - * gtk/testgtk.c (shape_create_icon): Realize window before - creating xpm so it gets the right colormap/visual, - instead of the default one. - -Thu Feb 12 23:59:49 1998 Owen Taylor - - * gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch] - gtk/gtkselection.[ch] gdk/gdk.[ch] gtktypeutils.h - - Replaced all _interp functions with _full functions. - (_interp functions left in for compatibility until 0.99.5). - Difference: _full functions take _both_ a C-language callback and a - marshaller, and simply ignore the C-language callback - if the marshaller is present. This allows the destroy notification - to be used without marshalling. - - gtk_selection_add_handler[_full]() regularized to agree - with other callbacks. - - Also, added gtk_input_add_full() to the header file. - (gtk_input_add_interp() was never there) - - * gtk/gtkmain.[ch] gtk/gtkwidget.c: Idle functions are now prioritized. - Added new function gtk_idle_add_priority to create - an idle with a specified priority (default is zero) - constants #defined - GTK_PRIORITY_[HIGH/INTERNAL/DEFAULT/LOW] - (redraws, resizes run at GTK_PRIORITY_INTERNAL) - - * gtk/gtkentry.c gtk/testselection.c: changes to keep up with change - to gtkselection.c. - - * gtk/gtkentry.c gtk/gtkinputdialog.c gtk/gtklist.c - gtk/gtklistitem.c gtktree.c gtk/gtktreeitem.c testgtkrc: - - Change style->white to style->base[] where appropriate. - Change the default style to make this apparent. (Yes, its - ugly... it can be removed later) - -Tue Feb 10 15:01:44 1998 Owen Taylor - - * gtk/gtkobject.c gtk/gtkobject.h: Add a DestroyNotify - field, and gtk_object_set_data_full() to match. - - * gtk/gtkobject.c (gtk_object_finalize): ObjectData structures - were being added to a free list, then forgotten about. Just - rely on GMemChunk instead. - -2018-02-11 Federico Mena Quintero - - * gtk/gtkclist.c: - * gtk/gtkentry.c: - * gtk/gtkfixed.c: - * gtk/gtkhandlebox.c: - * gtk/gtknotebook.c: - * gtk/gtkpaned.c: - * gtk/gtkpreview.c: - * gtk/gtkrange.c: - * gtk/gtkruler.c: - * gtk/gtktext.c: - * gtk/gtkviewport.c: - Fixed unrealize handler to comply with the - documentation (which mentions the right thing to do). - -Wed Feb 11 00:18:31 1998 Tim Janik - - * docs/refcounting.txt: backed out the section "Gnits to care about". - * docs/developers.txt: new file, kinda developers FAQ. - - * gtk/gtksignal.c: new function gtk_signal_handler_pending() returning - the id of the next handler pending for that signal or 0. - put struct GtkHandler back into gtksignal.c along with - gtk_signal_get_handlers. - -Tue Feb 10 07:12:07 1998 Tim Janik - - * gtk/gtksignal.h: - * gtk/gtksignal.c: - ok, there have been several severe bugs in the signal handler - referencing and ->next connection stuff. these bugs caused - invokations of handlers that are disconnected and - worse - - destroyed already. invokation of *destroyd* handlers mean: - anything can be executed , because the handler structure can just - as well be realocated. - at the cost of an extra ->prev field per handler we should have a - reasonable stable system now, because of the various places that - can cause a handler to be disconnected (*any* handler invokation can - cause *any* or *all* handlers to be disconnected, there is no way - around a doubly linked list, actually handler disconnection has never - worked correctly because of this. - handlers are connected together via a *doubly* linked list now, and it - is *not* valid to remove a handler out of this list untill all its - references have been droped, i.e. handler->ref_count==0. - to prevent emissions of disconnected but still referenced handlers, - disconnected handlers are simply marked as blocked and get an id of 0 - which is an invalid signal handler id. - the handler->id has been changed to have 28 significant bits (using - alignment gaps), since 65536 (old range: guint16) signal connections - (as a total) can easily be reached by complex applications. - this whole handler thingy is at least as tedious as writing doubly - linked list implementations ;) - -Mon Feb 9 23:08:16 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_unparent): Check for - the RESIZE_NEEDED flag and remove the widget from the list. - Remove the check from gtk_widget_destroy (no longer needed). - - * Unrealize widget _before_ calling "destroy" signal, and - unset VISIBLE flag. - - * Unrealize child widgets _after_ unrealizing parent to improve - visual appearance. - -Mon Feb 9 16:42:21 1998 Miguel de Icaza - - * gtk/gtksignal.c (gtk_signal_get_handlers): no longer a private - routine; - gtksignal.h: export gtk_signal_get_handlers and GtkHandlers type. - -Sun Feb 8 07:06:54 1998 Tim Janik - - * gtk/gtkmenu.c (gtk_menu_get_attach_widget): new function to return - the widget that the menu is attached to. - -Sat Feb 7 11:33:08 1998 Owen Taylor - - * gdk/gdkgc.c (gdk_gc_copy): use a mask of 0xffffffff - instead of 0xffff, since there are 22 flags currently - defined. (From: Jon Trowbridge ) - - Changed to something better. ~((~1) << GCLastBit) - (From: from Daniel Stephens ) - -Sat Feb 7 02:29:01 1998 Tim Janik - - * gdk/gdk.c (gdk_event_translate): don't wipe out window_private's x - and y coordinates if the configure notify is only about resizing, - query the correct origin instead. - -Wed Feb 4 23:05:28 1998 Scott Goehring - - * gtk/gtkmenufactory.c: menufactories now ref&sink the menus they - create - -Thu Feb 5 02:13:08 1998 Tim Janik - - * gtk/gtklist.h: - * gtk/gtklist.c (gtk_list_remove_items_no_unref): new function - to perform the same actions as gtk_list_remove_items, but - supply the removed widgets with an additional reference count. - - * gtk/gtkmain.c (gtk_main_iteration_do): ignore events - with event_widget == NULL, since they are bogus events - from destroyed GdkWindows, exept for the case where - event->type==GDK_PROPERTY_NOTIFY. Always handle expired - timeout functions when returning from this function. - - * gtk/gtkwidget.c (gtk_widget_event): ignore GDK_EXPOSE events - if event->window == NULL. Also, if this function couldn't handle - the event for any reason (including failing assumptions), make - the return value to look as if the event had been handled to - avoid further processing (and warnings). - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: remove gtk_widget_sink, because there is - no point in providing such a function. - - * gdk/gdk.c (gdk_init): changed options `-name' and `-class' - to `--name' and `--class', because the old names would - confuse getopt(). these arguments have been introduced in the - changes from gtk+970916 to gtk+970925 without a ChangeLog entry, - changing argument names is painful, it would be nice if people - would care about compatibility and consistency in the first place! - -Tue Feb 3 15:09:55 1998 Tim Janik - - * docs/widget_system.txt: new file containing notes about - the inner workings of the widget system of GTK+, a widget - flag description and certain invariants about widget states. - - * docs/refcounting.txt: moved file (previously REFCOUNTING) - introducing The Reference Counting Scheme of GDK an GTK+. - lots of additions/corrections. - - * gtk/gtksignal.c (gtk_signal_real_emit): for the emission - of AFTER signals, fetch the objects signals via - gtk_signal_get_handlers again. some handlers might have - been removed or added. not doing this would mess up the - memchunk allocation of signal handlers (this had been - triggered by multiple *_while_alive connections), bad, bad, bad! - (gtk_handlers_run): do the referencing on signal handlers - unconditionally, the invokation of AFTER handlers will now take - care of modified lists. - - * gtk/gtksignal.h: added gtk_signal_connect_while_alive. - -Tue Feb 3 15:34:27 1998 Owen Taylor - - * gdk/gdkcolor.c (gdk_colormap_get_system): Only query - the colormap for GRAYSCALE and PSEUDOCOLOR visuals, - and don't ask for more than 256 colors in any case. - - * gdk/gdkwindow.c (gdk_window_internal_destroy): Remove - the input window information when we destroy the window, - not when we are notified of it. - - * gdk/gdkinputcommon.h (gdk_input_device_new): Work around - bug in XFree86 3.3.1's handling of Wacom macro buttons. - by assumming no device will report exactly 25 buttons. - - * gdk/gdkinputcommon.h (gdk_input_common_other_event): Fill - in string translation for generated key press events, - do sanity checking on received key codes. - - * gdk/gdkcc.c (gdk_color_context_new): Allocate enough - room for a GdkColorContextPrivate, not just for a - GdkColorContext. - -Tue Feb 3 15:09:55 1998 Tim Janik - - * gtk/testgtk.c: don't add the same menu to different menuitems/ - optionmenus. - - * gtk/gtkmenuitem.h: - * gtk/gtkmenuitem.c: new function gtk_menu_item_remove_submenu ro - be consistent with optionmenu. use gtk_menu_attach_to_widget/ - gtk_menu_detach for setting/removing the submenu. - invoke gtk_widget_destroy(submenu) in destructor to be consistent - with other destructors. - - * gtk/gtkoptionmenu.h: - * gtk/gtkoptionmenu.c: attach/detach to menu widget via - gtk_menu_attach_to_widget/gtk_menu_detach. - invoke gtk_widget_destroy(menu) in destructor to be consistent - with other destructors. - - * gtk/gtkmenu.h: - * gtk/gtkmenu.c: new functions gtk_menu_attach_to_widget - and gtk_menu_detach that correspond to the action of - gtk_widget_set_parent and gtk_widget_unparent. - - * gtk/widget.c: few fixups. - -Tue Feb 3 00:12:00 1998 Owen Taylor - * gtk/gtktable.c - Fixed problem with division by zero in row/column-spanned - tables. Also removed a bunch of conditionals by making - the observation that x/1 == x. - -Mon Feb 2 04:15:08 1998 Tim Janik - - * gtk/gtkwindow.c: - * gtk/gtkwidget.c: - * gtk/gtkmain.c: - * gtk/gtkwidget.c: - * gtk/gtkcontainer.c: - * gtk/gtkprivate.h (GTK_PRIVATE_UNSET_FLAG) (GTK_PRIVATE_UNSET_FLAGS): - changed name to reflect that these macros in fact can't operate on - multiple flags. - - * gtk/gtktoolbar.c: fixed destroy handler, so it doesn't - segfault with the new refcounting scheme anymore. - - * gtk/gtkhandlebox.c: - * gtk/gtkclist.c: - * gtk/gtkentry.c: - * gtk/gtkrange.c: - * gtk/gtktext.c: - * gtk/gtkviewport.c: - enforced - gdk_window_set_user_data (window, NULL); - gdk_window_destroy (window); - window = NULL; - throughout the code. - - * gtk/gtkmain.c (gtk_propagate_event): fixed a bad, bad referencing - bug that could caused unreferencing of finalized objects. - - * gtk/testgtk.c: destroy fileselection on "OK" (this triggered the - above mentioned bug). - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: - * gtk/gtkobject.h: - * gtk/gtkobject.c: - implemented and object reference tracer (gtk_trace_referencing) which - is activated if GTK_TRACE_OBJECTS is defined (currently per default). - in gdb: set the static variable `gtk_trace_object' to point to the - object that you want to have reference traced. - - * gtk/gtkfileselection.c: few cleanups. - - * gtk/gtkcolorsel.c: - * gtk/gtkcombo.c: - * gtk/gtkobject.c: - * gtk/gtkselection.c: - * gtk/gtkwidget.c: - * gtk/gtkwindow.c: - cleanups with key name spaces. - - * gtk/gtkcombo.c: fixed destruction bug with popwin. - - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: GTK_RESIZE_NEEDED is a private flag now. - (gtk_container_register_toplevel): new function. - (gtk_container_unregister_toplevel): new function. - - * gtk/gtkmain.c: GTK_LEAVE_PENDING is a private flag now. - - * gtk/gtkmenu.c: call gtk_container_register_toplevel in - gtk_menu_class_init instead of this dirty gtk_widget_set_parent(,NULL) - hack. new default handler gtk_menu_destroy for calling - gtk_container_unregister_toplevel. removed GTK_ANCHORED, GTK_UNMAPPED. - - * gtk/gtkobject.h: macro cleanups, added GTK_DESTROYED flag. - - * gtk/gtkobject.c: only emit DESTROY signal if !GTK_OBJECT_DESTROYED - (object). - - * gtk/gtkprivate.h: new file that will not be automatically included. - it holds the private flags for GtkWidget along with it's SET/UNSET - and examination macros. - - * gtk/gtkwidget.c: private flags: GTK_RESIZE_NEEDED, GTK_REDRAW_PENDING, - GTK_RESIZE_PENDING, GTK_IN_REPARENT, GTK_USER_STYLE. GTK_ANCHORED is - replaced by GTK_TOPLEVEL. added missing UNSET for GTK_IN_REPARENT. - removed the gtk_widget_set_parent(, NULL) hack for toplevels. - upon destroy free memory for widgets with GTK_WIDGET_HAS_SHAPE_MASK. - - * gtk/gtkwidget.h: split up the widget flags into a public and a private - portion. added an extra field private_flags to GtkWidget without making - it bigger by using an alignment gap of 16 bit. macro cleanups. - - * gtk/gtkwindow.c: removed GTK_ANCHORED. new function gtk_window_destroy - for calling gtk_container_unregister_toplevel. removed the - gtk_widget_set_parent(,NULL), call gtk_container_register_toplevel - instead. remove GTK_UNMAPPED. GTK_RESIZE_NEEDED is private now. - - * gtk/gtksignal.c (gtk_signal_disconnect): removed a bug on - removal that cut off the handler list -> living_objects == 0 - with testgtk. made some warnings more descriptive. - new function gtk_signal_connect_object_while_alive, which - will automatically destroy the connection once one of the objects - is destroyed. didn't include this before removal of the above - mentioned bug. - -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - -Fri Jan 30 23:55:03 1998 Tim Janik - - * Incorporation of Marius Vollmer's reference counting revolution, - plus various fixups and additions from myself. - - * gdk/gdk.h: - * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. - - * gdk/gdkprivate.h: cleanups on ref_count field sizes. - - * gtk/gtkadjustment.c (gtk_adjustment_set_value): new function for - emission of GtkAdjustment::value_changed signal. - - * gtk/gtkbin.c: - * gtk/gtkcolorsel.c: - * gtk/gtkcurve.c: - * gtk/gtkentry.c: - * gtk/gtkframe.c: - * gtk/gtkinputdialog.c: - * gtk/gtklabel.c: - * gtk/gtkpixmap.c: - * gtk/gtkpreview.c: - * gtk/gtkrange.c: - * gtk/gtktable.c: - * gtk/gtkwindow.c: - replaced functionality of gtk_*_destroy by gtk_*_finalize. - - * gtk/gtkbox.c: - * gtk/gtkbutton.c: - * gtk/gtkfixed.c: - * gtk/gtkmenushell.c: - * gtk/gtknotebook.c: - * gtk/gtkpaned.c: - * gtk/gtkscale.c: - removed default destroy handler. - - * in general: reference parent->window for NO_WINDOW widgets. - set user data of a GdkWindow to NULL before destruction. - - * gtk/gtkbutton.c: use gtk_widget_unparent instead of gtk_widget_destroy - in *_set_arg. - - * gtk/gtkcontainer.c: provide other containers with a default destroy - handler that will destroy all children. - new function gtk_container_foreach_interp. - new field resize_widgets. - - * gtk/gtklist.c: handle destruction of children in gtk_list_destroy. - replaced occourances of gtk_widget_destroy with gtk_widget_unparent. - reference children that are in the selection list. - - * gtk/gtkmain.c: reference grab widgets. - (gtk_get_event_widget): check for event.window != NULL. Note: this - function may return NULL now!. - (gtk_propagate_event): much simplified by using proper reference - counting. - - * gtk/gtkmenu.c: introduce GTK_TOPLEVEL, and gtk_widget_set_parent(, - NULL) hack. - - * gtk/gtkmenuitem.c: gtk_widget_(un)ref the submenu. - - * gtk/gtkmenushell.c: check for return value of gtk_get_event_widget. - - * gtk/gtknotebook.c: proper gtk_widget_unparent()ing. - - * gtk/gtkobject.c: new functions gtk_object_finalize, - gtk_object_notify_weaks, gtk_object_debug, gtk_object_sink, - gtk_object_weakref, gtk_object_weakunref. implementation of the new - reference counting scheme for gtkobjects (consult gtk+/REFCOUNTING). - - * gtk/gtkoptionmenu.c: proper reference counting for option_menu->menu. - - * gtk/gtkscrolledwindow.c: new finalize handler for proper referencing - of the subwidgets. - - * gtk/gtksignal.c: internal representation of signal_type is now 16 bit - instead of 13 bits. this is needed because of user signals. - new functions gtk_signal_handler_ref and gtk_signal_handler_unref - (replacement for gtk_signal_handler_destroy). - gtk_signal_emit, gtk_signal_emit_by_name, gtk_signal_real_emit used - to return the existence of a GtkObject. this will always be TRUE now, - therefore the return value is now void. - - * gtk/gtktooltips.h: - * gtk/gtktooltips.c: GtkTooltips is now a descendant of GtkData and - therefore a real GtkObject. - - * gtk/gtktree.c: reference changes similar to thos in gtklist.c. - - * gtk/gtktreeitem.c: reference th e pixmaps properly. - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: new function gtk_arg_copy() to conform to - the requirements of gtk_object_get(). - - * gtk/gtkviewport.c: finalize handler for proper referencing of the - adjustments. - - * gtk/gtkwidget.c: substituted VISIBILITY_NOTIFY_EVENT by NO_EXPOSE_EVENT. - added finalize handler. added gtk_widget_ref/gtk_widget_unref. - new functions gtk_widget_idle_draw and gtk_widget_idle_sizer, that - will handle all widgets that are currently in either queue. - referencing all over the place. changes because gtk_signal_emit - returns void now. moved queue removal into the destroy handler. - gtk_widget_real_unrealize propagates now down the tree. new flag - GTK_TOPLEVEL. new function gtk_widget_destroyed for connection to the - destroy signal of a widget. this function nullifies the widgets - structure pointer, look at gtkmain.c for an example on this. - - * gtk/gtkwindow.c: new functions gtk_window_activate_focus, - gtk_window_activate_default. for activation of the appropriate - children. changes to the resizing code because there is a new - field resize_widgets in GtkContainer now. - - * gtk/testgtk.c: some changes because of all the above ;) - -Fri Jan 30 17:41:06 1998 George Lebl - - * gtk/gtktable.c: fixed round-off error in calculation - of tabels with a lot of cells - -Fri Jan 30 08:51:16 1998 Federico Mena - - * gdk/gdkcc.c (gdk_color_context_get_pixel): red/green/blue - parameters are now expected to be in [0, 65535], to be consistent - with the rest of Gdk. - (gdk_color_context_get_pixels): Made it use 16-bit color values as - well. Fixed mdist=1000000 buglet (it should start with at least - 0x1000000). - (gdk_color_context_get_pixels_incremental): Same as - gdk_color_context_get_pixels(). - -Thu Jan 29 22:57:39 1998 Owen Taylor - - * gtk/gtkstyle.c (gtk_default_draw_polygon): Close - the polygon if it isn't already. (To match gtk_draw_polygon) - Simplified logic. (Appearance could probably be - improved for objects with gradual curves by adding in - some intermediate edge coloration) - -Thu Jan 29 21:36:14 1998 Tim Janik - - * gtk/gtksignal.c (gtk_signal_query): new function to gather - information about a certain signal. - - * gtk/gtksignal.c (gtk_signal_newv): new function similar to - gtk_signal_new(). - - * gtk/gtksignal.c (gtk_signal_real_emit): check for function_offset - == 0. - - * gtk/gtksignal.c (gtk_signal_connect_by_type): perform a signal - id lookup on the parent as well. - - * gtk/gtkobject.c (gtk_object_class_add_user_signal): new - function for implementation of user defined signals. - * gtk/gtkobject.c (gtk_object_class_add_signals): free old - signal id array. - - * gtk/gtkobject.h: this holds the typedefs for GtkSignalFunc and - GtkSignalMarshaller now, because they are used for - gtk_object_class_add_user_signal. - - * gtk/gtktypeutils.c (gtk_type_class_init): reset object_class->signals - and object_class->nsignals for new object classes. - -Tue Jan 27 15:52:48 1998 Federico Mena - - * gtk/gtkhandlebox.c (gtk_handle_box_realize): The auto_shrink - policy of the floating window is now set to TRUE. This fixes the - problem of the floating window being too big when the handlebox - child is small. - (gtk_handle_box_motion): Now we use GDK_POINTER_MOTION_HINT_MASK - to improve movement. - -Tue Jan 27 14:15:50 CST 1998 Shawn T. Amundson - - * docs/gtkfaq.sgml: more additions/changes Tony Gale. - -Mon Jan 26 17:12:12 CST 1998 Shawn T. Amundson - - * docs/gtkfaq.sgml: additions/changes from new FAQ maintainers - Nathan Froyd and Tony Gale. - -Mon Jan 26 16:54:02 CST 1998 Shawn T. Amundson - - * docs/gtk.texi: additions/changes from Gregory A. McLean - -Mon Jan 26 02:15:29 1998 Tim Janik - - * gdk/gdkdraw.c: - * gdk/gdkgc.c: - * gdk/gdkimage.c: - * gdk/gdkinput.c: - * gdk/gdkpixmap.c: - * gdk/gdkproperty.c: - * gdk/gdkselection.c: - * gdk/gdkwindow.c: added a bunch of checks for window != NULL and - private->destroyed. - -Sun Jan 25 19:15:32 1998 Tim Janik - - * gtk/gtkwidget.h (enum): added new widget flag GTK_LEAVE_PENDING. - * gtk/gtkmain.c (gtk_main_iteration_do): if a widget has - GTK_LEAVE_PENDING set, send it its LEAVE_NOTIFY event, regardless - of a grab or sensitivity. - changed the compression code for enter/leave notify events to - free *both* compressed event, and removed an unneccessary call - to g_list_remove. - - * ChangeLog: finally catched up with the recent changes on my part. - - * gtk/gtkobject.h: new element n_args in GtkObjectClass. - * gtk/gtkobject.c (gtk_object_query_args): this function now returns - the arguments in the correct order. - - * gtk/gtkbox.c: - * gtk/gtkbutton.c: - * gtk/gtkcontainer.c: - * gtk/gtkframe.c: - * gtk/gtklabel.c: - * gtk/gtkobject.c: - * gtk/gtkwidget.c: - * gtk/gtkwindow.c: various fixes and additions to the gtk_*_set_arg - and gtk_*_get_arg() functions. - - * gdk/gdk.h: - * gdk/gdk.c (gdk_pointer_is_grabbed): new function. - - * gtk/gtkmain.h: - * gtk/gtkmain.c: implementations of gtk_invoke_key_snoopers(), - gtk_key_snooper_install() and gtk_key_snooper_remove(). this - mechanism allowes applications to track global hot keys that need - to bypass accelerator tables and else key processing stuff. - -Thu Jan 22 18:58:44 1998 Federico Mena - - * gdk/gdkcc.c: Switched the file to GNU indentation, for consistency. - - * gdk/gdktypes.h (struct _GdkColorContext): Picky, picky... fix - two lines with wrong indentation :-) - -Thu Jan 22 02:32:06 1998 Scott Goehring - - * gtk/Makefile.am: Fixed the call to runelisp to use $(SHELL). - (Cannot rely on the script having execute permissions.) - -Wed Jan 21 17:29:54 CST 1998 Shawn T. Amundson - - * Released 0.99.3 - -Wed Jan 21 01:32:21 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: changed the state_changed signal to take an - extra argument `old_state'. - removed `gtk_widget_restore_state'. - changed `gtk_widget_set_state' and `gtk_widget_set_sensitive' to use - only one function `gtk_widget_propagate_state' to iterate down the - tree. this causes GtkWidget::state_changed to be invoked on state - changes and on sensitivity changes. some comment cleanups. - -Tue Jan 20 16:38:52 1998 Owen Taylor - * gtk/gtkcombobox.{c,h}: removed - gtk/gtkcombo.{c,h}: added [Paolo Molaro's version] - gtk/testgtk.c: changed to use new version - gtk/Makefile.am gtk/gtk.h - -Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson - - * gdk/gdk.h Fixed typo where strdup was used instead of g_strdup - (found by Frank Neumann) - -Mon Jan 19 16:21:00 1998 Federico Mena - - * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set - container_class->focus to NULL. Widgets in the toolbar should not - get the focus via the normal key bindings (no toolkit does this, - and it makes sense). - - * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to - match Eckehard's new prototypes. - - * gtk/gtktoolbar.h: Switched the order of the tooltip_text and - widget parameters to the gtk_toolbar_*_widget() functions, to be - friendlier to the C++ bindings. This is per request of Guillaume - Laurent. - -Mon Jan 19 09:16:38 1998 Tim Janik - - * gtk/gtkmain.c (gtk_grab_add) (gtk_grab_remove): this is a stack - of grabbing widgets now, having unique entries. the GTK_HAS_GRAB - flag of a widget is set while it is on the stack (wasn't - implemented before). - -Mon Jan 19 00:46:18 1998 MET Eckehard Berns - - * gtk/gtktoolbar.[ch]: changed - gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget - as icon to allow more flexibility - -Sun Jan 18 16:54:55 CST 1998 Shawn T. Amundson - * gtk/gtkstatusbar.[ch] added new widget, the statusbar - -Sun Jan 18 09:57:00 1998 Owen Taylor - - * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkdrawingarea.c - gtk/gtkentry.c gtk/gtkeventbox.c gtk/gtkfixed.c - gtk/gtkhandlebox.c gtk/gtkhscale.c gtk/gtkhscrollbar.c - gtk/gtkitem.c gtk/gtklist.c gtk/gtkmenushell.c gtk/gtkmisc.c - gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtkpreview.c - gtk/gtkprogressbar.c gtk/gtkruler.c gtk/gtktext.c gtk/gtktree.c - gtk/gtkviewport.c gtk/gtkvscale.c gtk/gtkvscrollbar.c - gtk/gtkwidget.{c,h} - - Added gtk_widget_set_parent_window() and - gtk_widget_get_parent_window(). All widgets should use: - - gtk_widget_get_parent_window() instead of widget->parent->window. - - Any widget that wants to have children not in the parent window, - should use gtk_widget_set_parent() in their realize() and - add() routines. - - CList and Viewport widgets changed to do this. (Viewport - widget using code from gtk-fortier-980117-0.patch.) - -Sat Jan 17 23:56:02 1998 Owen Taylor - - * gtk/gtkobject.c: - renamed g_string_equal => g_str_equal - renamed g_string_hash => g_str_hash - -Sun Jan 18 03:57:52 1998 Tim Janik - - * gtk/gtkframe.c: gtk_*_get_arg() and gtk_*_set_arg() implementations. - * gtk/gtkobject.c: new arg `GtkObject::object_signal' similar to - `GtkObject::signal'. check for class type in gtk_object_{setv|getv}. - - * gtk/gtkobject.c: - * gtk/gtksignal.c: - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: added GTK_TYPE_DOUBLE. - - * gtk/gtkwidget.c: new args `has_focus' and `has_default'. - * gtk/gtkwindow.c: new arg `window_position'. - - * gtk/gtkbox.h: - * gtk/gtkbox.c: new functions gtk_box_reorder_child, - gtk_box_query_child_packing and gtk_box_set_child_packing to - allow modification of the child linkage after the widget tree - is setup. - - * gtk/gtkbox.c: - * gtk/gtklabel.c: - * gtk/gtkwindow.c: - * gtk/gtkwidget.c: - * gtk/gtkobject.c: gtk_*_get_arg() and gtk_*_set_arg() fixes - and implementations. - -Sat Jan 17 18:06:35 1998 Owen Taylor - * gdk/gdk.c (gdk_events_pending): Take putback events into - account - - * gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory - allocation correctly. (Incompatible change: client must - _not_ fre event->data and event->data_type.) - - * gdk/gdk.c (gdk_event_translate): Changed DND dragging - so that we don't ungrab pointer when we reenter window - to prevent extra Enter/Leave effects which had bad - effects. - Changed drag zone handling to not send uncessary - DragEnter events. - Fixed EnterNotify/LeaveNotify handling. (Only pay - attention to events on window, don't specify these - events to XGrabPointer - that isn't valid, and handle - reverse the sense of the handling of LeaveNotify.) - - * gdk/gdkwindow.c (gdk_window_remove_filter): Free removed - filter. - - * gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref - - * gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps - should use this instead of gdk_events_pending. - - * gtk/gtkvbbox.h: Fixed a duplication in the headers. - - * gtk/testgtk.c (dnd_drop): Don't free the drop data, - it belongs to the event. - -Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson - - * gtk/gtkentry.[ch]: Applied patch from - which adds gtk_entry_set_max_length function. This was - part of gtk-lupus-970112-0. - - * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes - a problem with a shaped widget keeping grab forever - when double clicked. - - * docs/gtk.texi: patch from Gregory McLean - to add some on aspect_frame, button_box, and color_selection - widgets - -Sat Jan 17 06:24:05 1998 Tim Janik - - * gtk/gtktypeutils.h (gtk_type_get_arg): new function. - * gtk/gtkobject.h (gtk_object_query_args): new function. - * gtk/gtkobject.h (gtk_object_getv): new function. - * gtk/gtkwidget.h (gtk_widget_get): new function. - -Fri Jan 16 00:36:31 1998 Federico Mena - - * gtk/gtkhandlebox.c: Now we use a GtkWindow of type - GTK_WINDOW_DIALOG as a destination for reparenting the child of - the handle box. This solves the problem of having X calls in - Gtk. It also makes the handle box work with KWM, OLVWM, 4Dwm (so - I expect mwm to work as well). I hadn't noticed that previously - it only worked with fvwm and twm. - - * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the - real_parent field, as it is never used. - (struct _GtkHandleBox): Added a float_window field. This is a - GtkWindow to where the child is now reparented. - - * gtk/gtkhandlebox.c: Lots of changes all over the place. Now the - widget has two windows. The steady_window stays put in the parent - container, and the widget->window is the one that gets - reparented. Now that window is transient, in compliance with the - ICCCM, instead of an OverrideRedirect window. - - We have two windows so that we can properly receive Expose events - for the thin 3D line that marks the place where the handlebox is - docked. - - * gtk/gtkhandlebox.h (struct _GtkHandleBox): Added fields for - dragging (mouse position information). Added fleur_cursor so that - we look pretty. Added steady_window field; it is the window that - actually stays on the parent (widget->window is the one that gets - reparented). - -Thu Jan 15 19:03:19 1998 Miguel de Icaza - - * gtk/gtkclist.c (gtk_clist_set_column_width): Call - gtk_clist_size_allocate_columns every time the column - configuration changes. - -Fri Jan 16 01:55:17 1998 Tim Janik - - * improved the gtk_widget_set handling. removed GtkArgFunc and added - GtkArgSetFunc and GtkArgGetFunc in _GtkTypeInfo. - performance consuming strcmp() calls are avoided in gtk_*_set_arg() - now, it is passed an arg_id on which it can switch() now. - - * gtk/gtkobject.h: - * gtk/gtkobject.c (gtk_object_add_arg_type): added parameter arg_id. - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c (gtk_type_set_arg): added parameter arg_id. - - * gtk/gtkobject.c: bug fixes and changes in the assertion system for - arg handling. changed g_print() warning calls to real g_warning()s. - - * changed all *_get_type() functions to initialize GtkTypeInfo - correctly with GtkArgSetFunc and GtkArgGetFunc fields. - -Thu Jan 15 00:44:27 PST 1998 Jay Painter - * gtk/gtkentry.[ch]: Change window cursor to "I" - * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the - cursor - -Tue Jan 13 07:30:02 PST 1998 Jay Painter - * gtk/gtkclist.c: minor updates - * gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now, - because editing was never really turned off. - * gtk/testgtk.c: changed the gtktext test a little - * gtk/testgtkrc: removed pixmap background for now, since I intend to break - that for a while - -1998-01-13 Federico Mena Quintero - - * gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed - child->icon and child->label == NULL bugs. - - * gtk/gtktoolbar.h: Added some new functions: - gtk_toolbar_append_widget() - gtk_toolbar_prepend_widget() - gtk_toolbar_insert_widget() - These let the user insert any kind of widget in the toolbar. Also - changed the gtk_toolbar_*_item() functions to return a - GtkWidget * so that the user can do things with the toolbar buttons. - - * gtk/gtktoolbar.c: Now the toolbar supports its own buttons and - arbitrary widgets as well. Geometry management has been changed - accordingly. Added gtk_toolbar_remove() function, so container - functionality should be complete now. - - * gtk/testgtk.c (create_toolbar): Added an entry widget to test - the new toolbar. - - * Most of these changes are adapted from the - gtk-lupus-970112-0-patch (should be 970112... :-) - -Sat Jan 9 20:52:00 PST 1998 Ian Main - * gtk/gtkfilesel.c: Changed a few tests in the path correcting - function. Hopefully this helps the filesel stability. - -Fri Jan 8 00:55:00 PST 1998 Jay Painter - * gtk/gtkclist.c: - * gtk/gtkclist.h: modifications to GtkCList so it's look and - feel is the same as scrolled windows. - -Thu Jan 8 17:56:09 PST 1998 Manish Singh - - * glib/gscanner.c - * gtk/gtclist.c - * config.h.in - * configure.in: added test for inline and put the inline keywords - back in - - * gtk/gtklabel.c: made the prototypes match the definitions - - * gtk/fnmatch.c: minor change to make sure the right config.h - gets included - -1998-01-07 Elliot Lee - - * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox - * gdk/gdkwindow.c: Make gdk_window_init set the width & - height of gdk_root_parent - -Wed Jan 7 18:06:17 PST 1998 Manish Singh - - * gtk/gtkentry.c: - * gtk/gtkentry.h: applied patch to use a backing pixmap for - drawing, which removes the bad flickering. (gtk-wille-980106-0) - -Wed Jan 7 02:14:30 PST 1998 Manish Singh - - * glib/glib.h - * glib/glist.c - * glib/gslist.c - * glib/testglib.c: Added g_[s]list_insert_sorted function - and appropriate tests in testglib - -Tue Jan 6 17:09:46 1998 Owen Taylor - * gtk/gtknotebook.h gtk/gtknotebook.c - Added "switch_page" signal. (gtk-hamann_jeske-971212-0.patch) - -Tue Jan 6 17:07:29 1998 Owen Taylor - * gtk/gtkentry.c gtk/gtkentry.h gtk/testgtk.c : - Fixed problem with deleting while text is selected. - Changed behavior so that motion keys remove selection. - Added new gtk_entry_select_region () call. - -Sat Jan 3 20:23:25 1998 Owen Taylor - * glib/glib.h: Changed guint32 -> guint for bitfields. - (Bitfields must be int or unsigned int?) - -Sat Jan 3 15:39:45 PST 1998 Jay Painter - * gtk/testgtk.c: better CList test - -Sat Jan 3 11:09:51 CST 1998 Shawn T. Amundson - * GTK+ 0.99.2 Released - -Sat Jan 3 11:09:51 CST 1998 Shawn T. Amundson - - * gtk/gtkscrolledwindow.c: initialize scrollbar_spacing - (gtk-fortier-980103-0) - -Sat Jan 3 10:15:08 1998 Scott Goehring - - * configure.in: fixed a typo (no_xext_lib, not no_ext_lib). - -Sat Jan 3 00:41:28 PST 1998 Manish Singh - - * gtk/gtkentry.c: - * gtk/gtkentry.h: applied Gordon Matzigkeit's patch to add - fixed-length entry fields (gtk_entry_new_with_max_length) - -Fri Jay 2 23:52 PST 1998 Jay Painter - * reverted glibconfig.h and glib.h files back to the - way they were before my ugly hack - * gtk/gtkclist.c: - * glib/gscanner.c: removed inlines from clist and gscanner - -Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson - - * Several portability fixes from Michael Callahan - including adding in missing - #includes and adding void in function prototypes. - -Fri Jan 2 19:28:52 1988 Jay Painter - * gtk/gtkclist.h: - * gtk/gtkclist.c: - * gtk/gtk.h: - * gtk/testgtk.c: - * gtk/testgtkrc: added GtkCList, column list widget, and a small test - to testgtk - -Fri Jan 2 15:42:51 1998 Federico Mena - - * gtk/gtkmain.c (gtk_main_iteration): Make the big switch handle - GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events. - -Fri Jan 2 12:07:33 CST 1998 Shawn T. Amundson - - * gtk/gtkviewport.c: corrects a small resize bug in the - viewport widget. The viewport widget provides a _set_shadow - function to draw its shadows. But if GTK_SHADOW_NONE is sent - to this function, the viewport isn't resized correctly (it's - still considered as a shadowed widget). (gtk-fortier-971213-0) - - * gtk/gtknotebook.c: this patch fixes the redraw problems of - notebook tabs, without using gdk_gc_set_clip_rectangle. - (gtk-hamann_jeske-971218-0) - - * add gtk_widget_(show/hide)_all (Stefan Wille) - (gtk-wille-301297-0) Patch for testgtk not included - because it did not patch clean. - -Thu Jan 1 21:21:56 PST 1998 Manish Singh - - * configure.in: fixed up the xinput test - * Miscellaneous portability fixes. - -Mon Dec 29 22:05:45 1997 Miguel de Icaza - - * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values - from one gc to another gc. - -Sat Dec 27 20:39:99 1997 Elliot Lee - * gtk/gtkhandlebox.c: It mostly works now, please test it and make - fixes as needed. - -Fri Dec 26 11:20:03 1997 Scott Goehring - - * gtk/Makefile.am (gtkinclude_HEADERS): added gtkhandlebox.c - - * gtk/gtkhandlebox.c (gtk_handle_box_reparent): eliminated a - compiler warning caused by not casting an argument in a debugging - message. :) - -Fri Dec 26 02:59:39 1997 Federico Mena - - * gdk/gdktypes.h gdk/gdk.c gdk/gdkwindow.c: Added new - GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events. They are needed - for Alan Cox's TV widget and for GtkXmHTML. Only missing with - respect to their Xlib counterparts are the major_code and - minor_code fields from the GdkEventNoExpose structure. Does - anyone need them? - -Tue Dec 23 03:03:17 1997 Tim Janik - - * gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes - the spacing from klass->scrollbar_spacing now. adapted all functions - that used this macro (based on a patch from Patrice Fortier). - * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added - scrollbar_spacing to substitute a define (patch from Patrice Fortier). - - * gtk/gtkrc.h (gtk_rc_parse_string): new function. - * gtk/gtkrc.c: many functions adapted to use GScanner for scanning. - (gtk_rc_parse): use gtk_rc_parse_any for parsing. - (gtk_rc_parse_string): new function to support parsing from - strings, just calls gtk_rc_parse_any. - (gtk_rc_parse_any): new function using GScanner as lexer. - -Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson - - * GDK support for 1 bpp depth screens. - -Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson - - * Changes from Bolliet Jerome to gtktree. - Corrects a bug in gtk_tree_remove_items and gtk_tree_item_destroy. - Adds the possibility to connect all items by lines. This is the - default now. You can overide this with the function - gtk_tree_set_view_line which take a tree and a boolean. - -Thu Dec 18 23:26:49 CST 1997 Shawn T. Amundson - - * removed configure, Makefile.in, and aclocal.m4 files - -Wed Dec 17 23:36:57 1997 Scott Goehring - - * gdk/gdkcc.c (gdk_color_context_free): Caught a stray - gdk_colormap_destroy that Owen missed (and Shawn found). - -Wed Dec 17 20:59:52 1997 Owen Taylor - * gdk/gdkinput.c gdk/gdkinput.h gdk/gdkinputcommon.h - gdk/gdkinputxfree.h gdk/gdkinputgxi.h gdk/gdkinputnone.h. - gtk/gtkinputdialog.h gtk/testinput.c - Added support for device keys mapping to key events. - Fixed various bugs. - -Wed Dec 17 20:53:00 1997 Owen Taylor - * gdk/gdk.c gdk/gdk.h: Changed gdk_get_event to remove - predicate filtering, and to allocate the events. - Added gdk_event_get_graphics_expose for scroll handling. - * gtk/gtkmain.c gtk/gtktext.c: - Use above changes. Interface change for gtk_get_current_event. - * testgtk.c - Added another test to test new scrolling mechanism.s - * gdk/gdk.c gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: - Added beginnings of event filtering. Removed obsolte - OtherEvent mechanism. - * gdk/gdk.c: Combined FocusIn/FocusOut events. Now ignore - focus events which aren't for window itself. (Only pay - attention to NotifyAncestor/Inferior/Nonlinear) - * gtk/gtkwindow.c gtk/gtkwindow.h: Virtualize set_focus - function so it can be overridden. - * gtk/gtkwidget.c: Reparenting should now work for - containers. (Guillaume Laurent ) - * gdk/gdkgc.c: By default, GraphicsExpose events are now - _not_ generated. - * gtk/testselection.c: Suppress a warning, fix a bug? - -Wed Dec 17 20:47:42 1997 Owen Taylor - * configure.in, glib/configure.in: - Remember if user set CFLAGS, so we can set it for --enable-debug - only if they didn't. - Added missing quotes. )Raphael.Quinet@eed.ericsson.se) - Only use -DX_LOCALE if setlocale doesn't work. - * gdk/gdki18n.h: Simplified system for trying to get iswalnum() - - include if present, otherwise if present. - -Wed Dec 17 21:09:12 1997 Owen Taylor - 1997-10-13 Marius Vollmer - - Bug fixes: - - * gtksignal.c (gtk_params_get): Initialize the GtkArg even when - the return type is GTK_TYPE_NONE. - - Revamped reference counting, see the file REFCOUNTING. - - * Makefile.am (EXTRA_DIST): Added REFCOUNTING. - * REFCOUNTING: New file. - - * gdk/gdk.c (received_destroy_notify, window_to_destroy): Removed. - (gdk_event_get): Code that deals with the above removed. - (gdk_event_translate): Abort when the GdkWindow for the XEvent - cannot be found. For DestroyNotify: Do not use - receive_destroy_notify and window_to_destroy but call - gdk_window_destroy_notify. - - * gdk/gdk.h: (gdk_pixmap_destroy, gdk_colormap_destroy, - gdk_fontset_free): Removed. - (gdk_pixmap_ref, gdk_pixmap_unref, gdk_bitmap_ref, - gdk_bitmap_unref): New prototypes. - (gdk_font_free, gdk_font_unref): Renamed gdk_font_free to - gdk_font_unref. - - * gdk/gdkcolor.c (gdk_colormap_real_destroy): Made static. - (gdk_colormap_destroy): Removed. - - * gdk/gdkfont.c (gdk_font_free): Renamed to gdk_font_unref. - Handle fontsets as well. - (gdk_fontset_free): Removed. - - * gdk/gdkpixmap.c (gdk_pixmap_destroy): Removed. - (gdk_pixmap_ref, gdk_pixmap_unref, gdk_bitmap_ref, - gdk_bitmap_ref): New functions. - - * gdk/gdkwindow.c: (gdk_window_new, gdk_window_foreign_new): Call - gdk_window_ref for the pointer in the xid table. - (gdk_window_internal_destroy): Renamed from gdk_window_destroy. - New parameter XDESTROY that takes the role of `destroyed==2'; - removed special casing of `destroyed==2'. Free dnd_data only when - really destroying. Do not touch the ref_count. Calling - gdk_window_destroy on a Pixmap is now a real error, not just a - warning. - (gdk_window_destroy): Just call gdk_window_internal_destroy and - gdk_window_unref, as advertised in REFCOUNTING. - (gdk_window_destroy_notify): New function. - (gdk_window_unref): Print a warning when the ref_count is zero and - the window has not been destroyed. Should never happen. Do not - destroy the window, just free the memory. - - * gdk/gdkprivate.h (gdk_window_real_destroy): Removed. - - * gtk/gtkaccelerator.c (gtk_accelerator_table_destroy): Removed. - (gtk_accelerator_table_unref): Do the job of - gtk_accelerator_table_destroy directly. - (gtk_accelerator_table_init): Init ref_count with 1. - - * gtk/gtkaccelerator.h (gtk_accelerator_table_destroy): Removed. - - * gtk/gtkcurve.c, gtk/gtkgamma.c: Replaced gdk_pixmap_destroy with - gdk_pixmap_unref. - - * gtk/gtkhscrollbar.c (gtk_hscrollbar_realize): Reflect the fact - that the widget->window is used as the range->trough in the - ref_count. - * gtk/gtkvscrollbar.c (gtk_vscrollbar_realize): Likewise. - - * gtk/gtkmain.c (gtk_main_iteration): Protect event_widget with - ref/unref while handling the GDK_DELETE and GDK_DESTROY events. - - * gtk/gtkmenu.c (gtk_menu_set_accelerator_table): Don't do - anything when the new accel_table is the old one. - - * gtk/gtkmenufactory.c (gtk_menu_factory_destroy): Unref - factory->table if there is one. - (gtk_menu_factory_create, gtk_menu_factory_create_widget): Don't - ref newly created accel_table, it is now created with a ref_count - of 1. - - * gtk/gtkmenuitem.c (gtk_menu_item_set_submenu): Don't do - anything when the new submenu is the old one. - - * gtk/gtkpixmap.c (gtk_pixmap_destroy): New static function. - (parent_class): New global variable. - (gtk_pixmap_init): Set object_class->destroy. - (gtk_pixmap_set): Don't do anything about the pixmap when the new - pixmap is the old one. Likewise for the mask. - - * gtk/gtkprogressbar.c, gtk/gtkruler.c: Replaced - gdk_pixmap_destroy with gdk_pixmap_unref. - - * gtk/gtkrange.c (gtk_range_set_adjustment): Don't do - anything when the new adjustment is the old one. - - * gtk/gtkrc.c: Replaced gdk_fontset_free/gdk_font_free with - gdk_font_unref. - - * gtk/gtkstyle.c (gtk_style_new): Initialize ref_count with 1. - (gtk_styles_init): Replace gtk_style_destroy with gtk_style_unref - for the cache. - (gtk_style_new_from_key): Ref style before returning it when it - has not been newly created. - (gtk_style_destroy): Don't look at the ref_count, destroy always. - Free style-font with gdk_font_unref, regardless of font->type. - - * gtk/gtktooltips.c (gtk_tooltips_real_destroy): Renamed from - gtk_tooltips_destroy and made static. Don't look at ref_count, - destroy always. - (gtk_tooltips_new): Initialize ref_count with 1. - (gtk_tooltips_unref): Don't look at pending_destroy, destroy - always when ref_count is 0. - (gtk_tooltios_widget_remove): Use gtk_tooltips_destroy_data - instead of hand-coded destruction. - - * gtk/gtktooltips.h (GtkTooltips::pending_destroy): Removed. - (gtk_tooltips_destroy): Removed. - - * gtk/gtkviewport.c (gtk_viewport_set_hadjustment, - gtk_viewport_set_vadjustment): Don't do anything when the new - adjustment is the old one. - - * gtk/gtkwidget.c (gtk_widget_reparent): Protect the reparented - widget with ref/unref while moving it. - (gtk_widget_set_default_colormap): Replace gdk_colormap_destroy - with the proper ref/unref spell. - (gtk_widget_set_default_style): Don't do anything when the new - style is the old one. - - * gtk/testinput.c (configure_event): Replaced gdk_pixmap_destroy - with gdk_pixmap_unref. - - More Interpreter support: - - * gdk/gdktypes.h (GdkDestroyNotify): New type. - - * gdk/gdk.c (struct _GdkInput::destroy): New field. - (gdk_input_add_interp): New version of gdk_input_add that follows - the interp conventions for callbacks. - (gdk_input_add): Implement in terms of gdk_input_add_interp. - (gdk_input_remove): Call destroy notify when appropriate. - - * gdk/gdk.h (gdk_input_add_interp): New prototype. - - * gtk.defs: Updated from guile-gtk. - * gtk/gtktypebuiltins.c, gtk/gtktypebuiltins.h: Regenerated. - - * gtk/gtkmain.c (GtkInputFunction, struct _GtkInputFunction): New - types. - (gtk_invoke_input_function, gtk_destroy_input_function, - gtk_input_add_interp, gtk_input_remove): New functions. - -Wed Dec 17 12:00:48 1997 Federico Mena - - * gdk/gdkcc.c: New GdkColorContext functionality! This should - eventually solve all of our color management problems. Gdk still - needs to be modified to support visuals with less than 8 bpp. Gtk - needs to be modified just a bit. - -Wed Dec 17 13:56:17 PST 1997 Manish Singh - - * a small patch by Lauri Alanko that allows Gimp to pass - on --display to it's plugins. - -Sun Dec 14 00:08:00 PST 1997 Raph Levien - * a minor patch to make the file selection dialog not always - select the first file in a directory - -Sat Dec 13 Jay Painter - * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars - can get keyboard focus - -Fri Dec 12 Owen Taylor - * Removed warning when XGetWindowProperty fails - this can - be the desired behavior. - -Fri Dec 12 Owen Taylor - * gdk/makecursor* gdk/makekeysym* gdk/Makefile.am - Removed old sed/awk code and replaced it with a - spiffier awk-only code from Art_Haas@dril-quip.com - -Fri Dec 12 Owen Taylor - * gdk/gdkgc.c: If gdk_gc_set_clip_rectangle is called with - rectangle = NULL, remove clip mask, instead of segfaulting. - * gtk/gtknotebook.c: Set clip mask before redrawing, so that - we don't overwrite things outside of exposed areas when - drawing them shadows. (Based on a patch from - Lars Hamann , and Stefan Jeske) - -Thu Dec 11 10:57:29 CST 1997 Shawn T. Amundson - * Change to ltconfig to remove -z text for Solaris x86 - * Change to configure stuff so compile works on Solaris x86 - * Added gdk/gdkkeysyms.h and gdk/gdkcursors.h back into the tree - -Thu Dec 11 09:44:03 1997 Tim Janik - - * gdk.c: added gdk_progclass==NULL patch by Oliver Graf . - -Wed Dec 10 23:40:03 1997 Tim Janik - - * fixed some compiler errors, because g_return_if_fail() wasn't used - with a trailing semicolon in some places. fixed few other warnings also. - -Tue Dec 9 Owen Taylor - * configure changes: (configure.in, glib/configure.in) - Change test ! `...` to test -z `...` - (Harald Meland ) - Change $gtk_cv_x_locale to $need_x_locale so it isn't cached. - With --enable_debug, don't touch CFLAGS if they're already set. - -Tue Dec 9 Owen Taylor - * gdk/gdkpixmap.c: don't use gdk_black/white for pixmap mask. - From Patrice Fortier - -Mon Dec 8 Owen Taylor - * gtk/testselection.c (selection_received): foreward -> forward. - * gtk/gtktext.c (gtk_text_forward_delete): Renamed; changed all - callers. - * gtk/gtktext.h: foreward -> forward. - From Tom Tromey - -Mon Dec 8 Owen Taylor - * gtk/gtkimage.c: Fixes to expose() handler - From Rob Browning - -Mon Dec 8 21:09:43 PST 1997 Geoffrey T. Dairiki - * gtk/gtklabel.h: - * gtk/gtklabel.c: Add support for GTK_JUSTIFY_FILL. This support - is used by the new gtktooltips.c. - * gtk/testgtk.c (create_labels, create_main_window): A new test - window for labels (to test the new GTK_JUSTIFY_FILL'ed labels.) - -Mon Dec 8 21:09:43 PST 1997 Geoffrey T. Dairiki - * gtk/gtklabel.h: - * gtk/gtklabel.c: Add support for GTK_JUSTIFY_FILL. This support - is used by the new gtktooltips.c. - * gtk/testgtk.c (create_labels, create_main_window): A new test - window for labels (to test the new GTK_JUSTIFY_FILL'ed labels.) - -Sun Dec 7 Owen Taylor - * gdk/gdk.c, gdk/gdk.h, gdk/gdktypes.h: - Remove dependencies of interfaces on USE_XIM - * gdki18n.h: Attempt to make wchar handling more portable - * gdkwindow.c: Include config.h. (For gdkinput.h) - -Sun Dec 7 Owen Taylor - * gtk/gtkentry.c, gtk/gtkentry.h: - Fixed word motion - Added cut/copy/paste via X clipboard - Generalized extending selection using to work with all types - of motion, not just arrow keys. - Don't change length of GtkEntry structure because of USE_XIM - -Sun Dec 7 03:19:02 1997 Tim Janik - - * gtkfilesel.c: applied jamesa-971010-0 for stability. - * gtkrc.c: applied jamesa-971010-2 for a small optimization. - * gtkcheckmenuitem.h: - * gtkcheckmenuitem.c: - * gtkradiomenuitem.c: - * testgtk.c: applied johannes-971113-0 which adds - gtk_check_menu_item_set_show_toggle() to change the way check - menu items and radio menu items look. - -Fri Dec 5 1997 Elliot Lee - * gdk/gdk.c: clean up warnings, remove some un-ifdef'd debugging - printing, DnD is Bug Free now, etc. - * gtk/gtkcolorsel.c: fix DnD support. - * gtk/gtkmain.c: DnD events go to the original window even if - there is a grab - if I drop on a window the data had better go - to it and not some other window :) - * gtk/testgtk.c: Replace (GtkSignalFunc) with GTK_SIGNAL_FUNC(), - and do a nicer DnD demo. - * My very first ChangeLog entry, seeing as people have - a fixation on them (what's wrong with "rcs2log" output?) - -Thu Dec 4 1997 Owen Taylor - * gdk/gdkgc.c: Ignore gdk_gc_set_font if font is a fontset. - -Wed Dec 3 1997 Jay Painter - * gtk/gtkstyle.c: fixed a problem introduced recently in - gtk_style_detach witch crashed script_fu. - -Wed Dec 3 1997 Owen Taylor - * gdk/Makefile.am: add a dependence for $(DEP_FILES) on - $(BUILT_SOURCES) to work around automake problem - -Wed Dec 3 1997 Owen Taylor - * configure.in glib/configure.in glib/glibconfig.h.in gdk/gdk.h - gdk/gdk18n.h gdk.c gtk/gtkentry.c: Try to handle variations in - headers gracefully. Do not automatically include - gdk/gdki18n.h. - -Wed Dec 3 1997 Jay Painter - * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new - menu for a optionmenu the widget would not get positioned correctly - inside of the optionmenu. - -Tue Dec 2 1997 Owen Taylor - * gdk/gdkpixmap.c: Include unistd.h to get SEEK_END - for SunOS (john_johns@credence.com) - -Tue Dec 2 1997 Owen Taylor - * gtk+/fnmatch.c: Define _GNU_SOURCE before including - fnmatch.h to make sure all constants are defined. - (Yasuhiro SHIRASAKI ) - -Tue Dec 2 1997 Owen Taylor - * configure.in, glib/configure.in: Make the logic to add -Wall, - -ansi, -pedantic for GCC operational. - -Tue Dec 2 1997 Owen Taylor - * glib/glib.h, glib/configure.in. Disabled gldouble, since - it wasn't used anywhere and caused portability problems - -Tue Dec 2 1997 Owen Taylor - * glib/glib.h, glib/configure.in, glib/glibconfig.h.in: Added a - g_memmove function which is simply memmove if it exists, otherwise - bcopy.(Should really check if bcopy has the correct semantics, and - create our own memmove is necessary) - * glib/gstring.c, glib/garray.c, gtk/gtktext.c: - memmove => g_memmove - -Sun Nov 30 1997 Jay Painter - * gtk/gtknotebook.c: fixed a old bug where all the notebook pages - which were not displayed when the notebook widget was realized were - never size allocated when they were realized. - -Thr Nov 28 1997 Jay Painter - * gtk/gtklist.h: removed GtkSelectionMode - * gtk/gtkenums.h: added GtkSelectionMode - -Fri Nov 28 01:26:55 1997 Tim Janik - - * gtk/gtkwindow.c (gtk_window_show): propagate a size_request before - the initial window creations (prevents windows with size of -1x-1). - - * gtk/gtkmain.c (gtk_main_level): new function to determine - the current recursion level of gtkmain(). - (gtk_true) (gtk_false): new functions implemented as a convenience - for signals that just need a handler with the appropriate return value. - -Tue Nov 25 1997 Owen Taylor - gdk.c: Fix so that "other_events" are actually generated - -Tue Nov 25 1997 Owen Taylor - Patches to support internationalized input by: - Takashi Matsuda - TANAKA Shinya - - From the README: - - Feature: - Followings are the main feature of this patch. - * support XIM protocol. - * GtkEntry widget support Over-The-Spot and Root style input. - * input style is configurable by command-line option. - - Furthermore, this patch includes several changes which are useful - without XIM too. - - * copy and paste with other clients by compound text. - * Window title can be specified by multi byte string. - - configure.in: - Added --with-locale and --enable-xim options - gdk/Makefile.am: - gdk/gdki18n.h [new file] - Multibyte string manipulation functions - gdk/gdk.c - gdk/gdk.h - gdk/gdkprivate.h - Input method and context handling functions - Command line options to control input methods - Changes to KeyPress handling to support input methods - Fixes to not return events for destroyed windows - gdk/gdkselection.c - Text property handling functions - gdk/gdkwindow.c - Set window title by multibyte string - gtk/gtkentry.c - Support for using an input context for XIM input. - Cut and paste using compound text. - Improvements to pasting (no longer replace the active selection - with itself OWT) - gtk/gtkselection.c - fix to send selection clear events to the right owner - gtk/testgtkrc - Added a default fontset that will allow international characters - INSTALL - Some rudimentary documentation about the new configuration options. - -Mon Nov 24 1997 Owen Taylor - gtk/gtkaspectframe.c: - Some minor improvements to rounding in aspectframes. - Make sure that child allocation is always >= 0 - Always trigger size allocation with gtk_widget_queue_resize - to prevent calling size_allocate before allocation done. - -Mon Nov 24 1997 Owen Taylor - gtk/gtkframe.c: - Changed tests for drawability to GTK_WIDGET_DRAWABLE - Always trigger size allocation with gtk_widget_queue_resize - to prevent calling size_allocate before allocation done. - -Mon Nov 24 1997 Jay Painter - gtk-dairiki-971117-2.patch - gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): When - computing new dimensions of the subwidget, round to nearest - integer rather than truncating. - -Mon Nov 24 1997 Jay Painter - gtk-dairiki-971117-1.patch - * gtk/gtkvruler.c (gtk_vruler_draw_ticks): - * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Ensure that subticks - always are drawn when they should be (sometimes they were getting - drawn with zero length --- invisible). Also clear rectangle - behind text labels to ensure they don't touch or overlap ticks. - -Mon Nov 24 1997 Jay Painter - * gtk/gtkaspectframe.c (gtk_aspect_frame_set): - gtk-dairiki-971117-0.patch - Clear window when aspect ratio or alignment is changed. - -Mon Nov 24 1997 Jay Painter - * gtk/gtkobject.h: fixed GTK_OBJECT_NSIGNALS macro - -Mon Nov 24 1997 Jay Painter - * gtk/gtklabel.h: modified gtklabel to clip its drawing to - its given area, now it will always draw in the area it's - been given and clip accordingly. Note: this may cause - the a label to disappear on widgets which don't give their - child labels proper area! - -Mon, 17 Nov 1997 Michael K. Johnson - * gtkwidget.c: gtk_set_style_recurse was not allowing updated - widget names to cause new styles to be applied. - * gtkentry.c gtkentry.h: The entry widget now has invisible - attribute. The cursor does not move to show you typing; this - is an intentional design decision but I'm not so attached to it - that I'll reverse any patches that change it... :-) - - This patch is a modified version of a patch to which I have - lost the attribution. I modified it by packing the "visible" - flag into the structure more tightly (without damaging backwards - compatibility on sane systems) and by allowing entry timers - to run. - -Mon Nov 17 1997 Jay Painter - * gtkviewport.c: Raph's Mon, 10 Nov 1997 patch to gtk-list - to fix some viewport bugs - -Mon Nov 17 1997 Jay Painter - * gtk/gtkwidget.c: gtk-ajaborsk-971016-2 - A little patch again to prevent user to use gtk_widget_set_events() - when a widget is already realized. - In this case, the gtk_widget_set_events() doesn't work. - -Mon Nov 17 1997 Jay Painter - * gtk/gtkwindow.c: gtk-ajaborsk-971016-1 - This small patch correct position for GTK_WIN_POS_CENTER and - GTK_WIN_POS_MOUSE GtkWindow positions. - -Sat Nov 15 1997 Jay Painter - * gdk/gdkgc.c: added function gdk_gc_set_clip_rectangle - * gdk/gdk.h: header for above - -Sat Nov 15 1997 Jay Painter - * gdk/gdkgc.c: added function gdk_gc_set_clip_rectangle - * gdk/gdk.h: header for above - -Wed Nov 12 1997 Jay Painter - * gdk/gdkpixmap.c: Patrice Fortier's patch for transparent pixmaps. - * gdk/gdk.h: - gdk/gdkdraw.c: Patrice Fortier's patch to add pixel draw function. - -Sun Nov 9 1997 Jay Painter - * Fixed problems with makefiles relating to the bug - which required glib to be installed. - * Fixed makefiles to incluce the xpm's in gtk+/gtk needed - for testgtk. - * Updated gtk+ and gtk+/glib to libtool-1.0f - -Fri Nov 7 1997 Jay Painter - * gtk/gtktext.c: return char_widths[ch & 0xff]; in line 2152 - -Thr Nov 5 1997 Jay Painter - * gtk/testgtk.c: added drag and drop test, removed the test hack - from the button test - -Tue Nov 4 08:28:57 1997 Federico Mena - - * gtk/gtkmain.c (gtk_handle_idle): Patch from David Mosberger to - avoid crashes when handling idle function (this manifested itself - in the Umax and Microtek backends in SANE. - -Sun Nov 2 07:34:56 1997 Tim Janik - - * gtk/gtkfilesel.c: Small fixes about a segmentation viaolation - cause by a double click in the directoy list (introduced by my - previous changes). - - * gtk/gtklist.c: Small fixes to gtk_list_add() and gtk_list_remove(). - - * gtk/testgtk.c (list_add): Applied Stefan Wille's patch to make this - function do something ;). - -Fri Oct 31 Jay Painter - *gdk/gdk.c: reformatted DND code for GTK coding standards - *gdk/gdkwindow.c: changed memory allocation for DND to q_mem stuff - -Thu Oct 30 Jay Painter - * gdk/gdkwindow.c: - * gdk/gdk/gdk.h: - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: Applied Stephan Willie's shaped window patch - - * gdk/gdkwindow: - * gdk/gdk.h: - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: reformatted the DND code to conform to GTK - coding standards - - * gtk/testgtk: massive fixes, SW's shaped window example - -Thu Oct 30 07:33:27 1997 Tim Janik - - * gtk/gtklistitem.c (gtk_real_list_item_toggle): applied Johannes - Keukelaar's patch for keyboard support in - GtkList widgets. - - * gtk/gtkfilesel.c: adapted dir and file list selection - behaviour to deal with keyboard selections. this is a little - bit tricky: in the dir list it just changes the entrys value on a one - button press. but on a keyboard selection via gtk_widget_activate() it - does a new population (likewise on a double click) as this seems more - obvious. - -1997-10-25 Marius Vollmer - - * gdk/gdkcolor.c (gdk_colormap_get_system): Initialize - private->ref_count. - -Wed Oct 22 09:47:43 1997 Tim Janik - - * gtk/gtkwindow.c (gtk_window_key_release_event): Fixed a stupid - bug that caused the key_release_event to be propagated twice. - -Sun Oct 12 11:01:43 1997 Tim Janik - - * acconfig.h: - * configure.in: - * gdk/gdkimage.c: Added configure check for IPC_RMID_DEFERRED_RELEASE, - because shmat() fails after a shmctl(..., IPC_RMID,...) for OSF1 V3.2, - SunOS 4.1.1, 5.5, 5.5.1, 5.6, IRIX 5.2 and 6.2. - -Mon Oct 6 11:59:07 1997 Federico Mena - - * gdk/gdk.c (gdk_event_translate): In line 1693, fixed typo that - would cause motion notify events not to be delivered. - -Sun Oct 5 18:15:06 1997 Federico Mena - - * gtk/gtkrc.c (gtk_rc_parse_bg_pixmap): Changed strdup() for - g_strdup(). - -Wed Sep 24 17:16:34 1997 Peter Mattis - - * configure.in: Fixed a stupid error in the test for libXext that - would cause it to fail if X_EXTRA_LIBS was not empty. - - * gtk/gtkmain.h (gtk-timj-970919.patch): - * gtk/gtkmain.c (gtk-timj-970919.patch): new function - `gtk_idle_remove_by_data' to remove all idle callbacks that take a - specific piece of data as argument. (gtk_get_current_event): - remove idles through gtk_idle_remove_by_data. - - * gtk/gtkwidget.c (gtk-timj-970919.patch): - (gtk_widget_destroy): remove pending idles for - widgets that have GTK_REDRAW_PENDING or GTK_RESIZE_PENDING and - GTK_ANCHORED set (only anchored widgets can have a resize queue - handler pending). widgets that have GTK_RESIZE_NEEDED will be removed - from their anchored toplevels `resize_widgets' list. - - (gtk_widget_queue_draw): let the widget remember the queue handler - tag (through `redraw_handler_key') for later call to `gtk_idle_remove'. - - (gtk_widget_queue_resize): let the widget remember the queue handler - tag (through `resize_handler_key') for later call to `gtk_idle_remove'. - corrected referencing the toplevel widget for which the handler is - pending. if a widget is added to the `resize_widgets' list of a - toplevel widget, GTK_RESIZE_NEEDED is set and it's referenced. - - (gtk_real_widget_queue_resize): on the deletion of the `resize_widgets' - list, unset GTK_RESIZE_NEEDED and unreference the removed widgets. - - * gtk/gtkwindow.c (gtk-timj-970919.patch): - (gtk_real_window_move_resize): move `resize_containers = NULL' - initialization out of if-statement. - while stepping through the `resize_widgets' list, unreference the - widgets and clear GTK_RESIZE_NEEDED. if a widget realy needs are - resize, they are flagged through GTK_RESIZE_NEEDED now (instead of - GTK_RESIZE_PENDING, as this is indicative for a pending handler). - added checks to provide segfaulting if a widgets parent pointer - is NULL (e.g. on toplevel widgets that have GTK_RESIZE_NEEDED set). - -Tue Sep 23 13:23:27 1997 Federico Mena - - * gdk/gdkimage.c: Applied Tim Janik's patch to mark shm segments - as IPC_RMID so that they are automatically removed always. - - * gdk/gdkfont.c: Removed casts from lvalues. - - * gtk/gtkmain.c: Removed GTK_RETLOC_*() (which do a cast) from lvalues. - - * gtk/gtkaccelerator.c (gtk_accelerator_table_remove): Added - "const" to the accelerator_key param to be consistent with the - declaration in gtkaccelerator.h. The const is not useful in this - case, anyway. - -Tue Sep 16 13:11:06 1997 Peter Mattis - - * gtkpreview.c: Andrew Logan Kieschnick's change to eliminate - round-off error when gamma is set to 1.0. - - * gtkrange.c: - * gtkviewport.c: Jay Painter's changes to modify the way in which - viewports resize. - - * gdkinput.c: - * gdkinputgxi.h: - * gdkinputxfree.h: - * gtk/Makefile.am: - * gtk.h: - * gtkeventbox.c: - * gtkeventbox.h: Owen Taylor's event box widget and fixes for X - input support (that I had broken). - - * gdk.h: - * gdkwindow.c: - * gtksignal.h: - * gtksignal.c: Elliot Lee's changes to support Objective C. (id is - apparently a reserved word in Objective C). - -Sun Sep 14 22:33:15 1997 Peter Mattis - - * gtkwidget.c (gtk_widget_queue_resize): If the toplevel container - is invisible we simply call "gtk_container_need_resize" on - it. This fixes a bug with option menus not redrawing correctly. - - * gtkmenuitem.c (gtk_menu_item_enter): (gtk_menu_item_leave): - These functions now simply pass the event on to their parent. This - is necessary for menus to work properly due to the change in how - grabs are dealts with. - - * gtkwindow.c (gtk_real_window_move_resize): Fixed a bug that - caused the GTK_RESIZE_PENDING flag to not be unset in some cases. - -Fri Sep 5 20:49:37 1997 Marius Vollmer - - Bug fixes: - - * Makefile.am: Added PATCHES to EXTRA_DIST. - * gtk/gtkpixmap.c (gtk_pixmap_new): Move the "pixmap != NULL" test - after the allocation of the pixmap. - - To shut up the compiler: - - * gtk/gtkfilesel.c (get_pwdb): Initialize home_dir. - * gtk/gtkmain.c (gtk_init): Replace comments around calls to - g_set_*_handler with "if (0)". - * gtk/gtkrc.c (gtk_rc_get_token): Initialize hex_number and - float_number. - * gtk/gtkwindow.c (gtk_window_key_press_event): Initialize - direction. - - Changes to the type system in gtk/: - - * Makefile.am: Added gtktypebuiltins.h to gtkinclude_HEADERS. - Added gtk.defs, runelisp, gentypeinfo.el and gtktypebuiltins.c to - EXTRA_DIST. Added rules to generate gtktypebuiltins.* from - gtk.defs. - - * runelisp, gentypeinfo.el, gtk.defs: New files. - - * gtkaccelerator.c, gtkaccelerator.h (gtk_accelerator_table_ref): - Return the table so that this function can be used as the `copy' - function for GTK_TYPE_BOXED values. - * gtkstyle.c, gtkstyle.h (gtk_style_ref): Likewise. - - * gtkenums.h: Removed GtkArgType enum. - - * gtkmain.c (gtk_init): Call gtk_type_init to initialize the type - system. - - * gtkobject.c (gtk_object_init_type): New function to take over - for gtk_object_get_type. (gtk_object_get_type): Just return the - constant GTK_TYPE_OBJECT. (gtk_object_collect_args): Do the right - thing for the new GTK_TYPE_* types. - * gtksignal.c (gtk_params_get): Likewise. - - * gtktypeutils.c: (gtk_type_init_builtin_types): New - function. (gtk_type_init): Call it. Also made non-static. - (gtk_type_unique): The allocation scheme for numerical ids has - changed: The low 8 bits hold the appropriate GtkFundamentalType of - a type, the rest is a globally unique sequence number. - (gtk_type_hash): Use the sequence number of a key to hash it. - (gtk_type_register_builtin): New function. - - * gtktypeutils.h: (GtkFundamentalType): New enumeration of the - fundamental types. (GTK_TYPE_MAKE, GTK_FUNDAMENTAL_TYPE, - GTK_TYPE_SEQNO): New macros to work with the new id scheme. - (GtkArg): Added fields for new types and renamed old ones. GtkArg - should now be a mostly opaque structure, except name and type. - (GTK_VALUE_*): New macros to access the values of a GtkArg. - (GTK_RETLOC_*): New macros to access the location of a return - value that is contained in a GtkArg. * gtktypebuiltins.h: New - file to access the typeids of the builtin types. - - * gtkwidget.h (GTK_TYPE_WIDGET): New macro to access the type id - of the widget class. - - Thru out: Changed GTK_ARG_* to the appropriate GTK_TYPE_*. - Changed access to GtkArg structure to the appropriate GTK_VALUE_* - or GTK_RETLOC_* macro. Changed GtkArgType to GtkType. Changed - some guints to GtkType. - - General changes in gtk/ to support interpreters: - - * gtkradiobutton.c (gtk_radio_button_new_from_widget, - gtk_radio_button_new_with_label_from_widget): New functions. - - * gtksignal.c (gtk_signal_connect_no_marshal): New function. - (struct _GtkHandler): Added no_marshal and destroy_func fields. - (gtk_signal_handler_new): Initialize them. - (gtk_signal_connect_by_type): Added no_marshal and destroy_func - arguments. Changed all callers. - (gtk_signal_destroy): Invoke destroy_func if there is one and the - global destroy func does not apply. (gtk_handlers_run): If the - handler has no_marshal set, call its function directly without - going thru the signal's marshaller. - -Wed Sep 3 09:56:22 1997 RHS Linux User - - * gtkrange.c: Changed the way the range control focus was drawn so - that the range control is drawn correctly when it does not have - the focus. - -Tue Sep 2 17:41:17 1997 RHS Linux User - - * gtkwidget.c: 'gtk_real_widget_queue_resize' should only remove - the "resize_widgets" if another resize is not pending. - -Mon Sep 1 18:28:08 1997 Peter Mattis - - * gtkmain.c: Changed the way GDK_DELETE events are handled. Only, - if 'gtk_widget_event' returns TRUE is the widget destroyed. By - default, 'gtk_widget_event' will return FALSE causing the window - to not be destroyed. This prevents segfaults in the GIMP and other - programs that do not correctly handle GDK_DELETE events. - - * gtkmain.c: Added modal dialog support by allowing events - destined for a child of the grab widget to go to the child instead - of the grab widget. (Added 'gtk_widget_is_ancestor' to determine - the relationship between the grab widget and the event widget). - - * *.[ch]: Incorprated a whole mess of patches. (Started keeping - the ChangeLog up to date again). - -Thu Jun 5 17:22:21 1997 Peter Mattis - - * gtkmenufactory.c: - * gtkmenufactory.h: Added 'gtk_menu_factory_remove_*' - calls. Removing entries/paths causes the associated widgets to be - destroyed. - - * gtkwidget.c: - * gtkwidget.h: Calling 'gtk_widget_set_style' is used as an - indication that the programmer specifically wants that style to be - used. RC-style substitution is disabled for the widget after such - a call. - - * gtkpixmap.c: - * gtkpixmap.h: - * gtkimage.c: - * gtkimage.h: Changed to use clip mask and a single pixmap (or - image) to deal with transparent areas. - - * gdkpixmap.c: Modified xpm loading routines to optionally return - a clip mask. - - * gdkgc.c: - * gdkdraw.c: - * gdktypes.h: Modifications to allow clip masks to be used with - gc's. Clip masks are bitmaps that specify drawable regions. - -Thu May 1 03:11:51 1997 Peter Mattis - - * gtkscrolledwindow.c: Scrolled windows need to have the - GTK_NO_WINDOW flag set. Not having it set caused an obscure - redrawing bug. - -Wed Apr 30 12:38:03 1997 Peter Mattis - - * gtkhruler.c: - * gtkvruler.c: Fixed a small bug that caused the indicator to be - positioned slightly off. - -Sun Apr 27 14:28:21 1997 Peter Mattis - - * gtkmenushell.c: - * gtkmenushell.h: - * gtkmenu.c: - * gtkmenu.h: Changes so that if a menu is popped up there is a - timeout period during which a menu item will not be activated and - if the mouse button is released in that period the menu will stay - popped up. - - * gtkcurve.c: - * gtkcurve.h: Included curve widget courtesy of David - Mosberger-Tang (davidm@azstarnet.com). - - * gtkentry.c: - * gtkentry.h: Changed "insert" and "delete" signals to - "insert_text" and "delete_text" respectively. (The symbol "delete" - cannot be used since it is a C++ reserved word). - -Sat Apr 19 01:43:49 1997 Peter Mattis - - * gtkmenufactory.c: A path which ends in "" will cause an - invisible (hidden) menu entry to be created. This is useful for - setting an accelerator key for which a corresponding menu entry is - not desired. - - * gtktooltips.c: Fixed some problems with destruction of the - active tip widget not properly updating the tooltips data - structures. - -Fri Apr 18 15:09:45 1997 Peter Mattis - - * gtkcontainer.c: - * gtklist.c: - * gtkwidget.c: - * gtkwidget.h: Patch from Owen Taylor (owt1@cornell.edu) which - fixes problems with destruction of objects and with destruction of - objects which hold the focus. - -Thu Apr 17 11:29:15 1997 Peter Mattis - - * gtkmenushell.c: Incorrect logic in - 'gtk_menu_shell_button_release' for deciding when a menu should - stay popped up when the mouse button is released. - - * *.c: Miscellaneous fixes from folks on the net. - -Tue Apr 15 02:43:17 1997 Peter Mattis - - * *.c: - * gtkwidget.h: Added GTK_BASIC widget flag which when set - specifies a widget as "basic". A "basic" widget is one which - doesn't take input events. For example, labels, pixmaps, boxes, - tables, alignments, etc. - -Sat Apr 12 15:23:08 1997 Peter Mattis - - * gtkcolorsel.c: Add "#include " to define M_PI. - - * gtksignal.c: Fixed a bug in 'gtk_signal_emit' which showed up - because of the new cast checking macros. The 'object' was being - accessed after it had been destroyed. - - * gtkoptionmenu.c: Fixed bug with using 'GTK_BIN' instead of - 'GTK_BUTTON' which showed up because of the new cast checking - macros. - - * *.h: 'GTK_CHECK_CAST', 'GTK_CHECK_CLASS_CAST' and - 'GTK_CHECK_TYPE' used by standard widget macros everywhere. - -Wed Apr 9 00:54:17 1997 Peter Mattis - - * docs/gtk.texi: Started further work on documentation. Major - changes and additions are being made. - - * gtkarrow.c: - * gtkarrow.h: Removed function 'gtk_arrow_get'. - - * gtkcontainer.c: 'gtk_container_check_resize' no performs - additional checking to account for the case where the containers - allocation is no longer sufficient because its parent (or its - parents parent, etc.) needs to resize its children. - -Tue Apr 8 21:15:50 1997 Peter Mattis - - * gtkstyle.c: Fixed a bug in 'gtk_style_init' in which the font - was not ref'd (via 'gdk_font_ref'), but was free'd (via in - 'gdk_font_free') in 'gtk_style_destroy'. (David - Mosberger-Tang). Also cleaned up 'gtk_style_destroy' while I was - at it. - - * gtkmain.c: Fixed a bug in 'gtk_propogate_event' which caused - entry widgets (and probably other widgets) not to be destroyed in - some instances. - -Mon Apr 7 01:20:38 1997 Peter Mattis - - * gtkentry.c: - * gtkentry.h: Changed the "insert_text", "delete_text" and - "changed_text" signals to "insert", "delete", and "changed" - respectively. They really should have been named this way - originally except the previous signal mechanism prevented - duplicate signal names. ("changed" is also used by adjustments). - - * gtkradiomenuitem.c: - * gtkradiomenuitem.h: New widget. - - * gtkcheckmenuitem.c: - * gtkcheckmenuitem.h: New widget. - - * gtksignal.c: Modified 'gtk_signal_lookup' to require an object - type to be passed as a parameter. In addition, signals are now - only needed to be uniquely defined in their branch of the class - hierarchy. This allows the same signal name to be used in two - different branches of the class hierarchy. For instance, the - "changed" signal is used both by adjustments and entries...in - different ways! - - * gtktypeutils.c: Added 'gtk_type_parent' which returns the parent - type for a given type. - -Sun Apr 6 22:08:35 1997 Peter Mattis - - * gtkwidget.c: If a widget is set insensitive it loses the focus - if it had it. - - * gtkcontainer.c: Insensitive widgets no longer participate in tab - traversal. - - * gtkscrolledwindow.c: The "viewport" child is now destroyed and a - container class "foreach" function was written (which fixes the - sensitivity bug). - -Sat Apr 5 14:25:38 1997 Peter Mattis - - * gtkhscrollbar.c: - * gtkvscrollbar.c: Fixed trough size allocation bug. - - * gtkhscale.c: - * gtkvscale.c: Fixed trough size allocation and position bug that - showed up when scales were placed in notebooks. - -Thu Mar 27 17:45:54 1997 David Mosberger-Tang - - * gtk/gtkmain.c (gtk_handle_idle): Fix appending pending_idles to - idle_functions so it works even when idle_functions is empty. - -Sat Mar 15 14:15:59 1997 Peter Mattis - - * *.[ch]: Moved '*_class_init' and '*_init' function declarations - for widgets into the source file as those functions no longer had - to be public. - - * gtkcheckbutton.c: Fixed redrawing of check button. - - * gtkframe.c: Fixed redrawing of frame when the shadow type is - changed. - -Sat Mar 8 15:19:23 1997 Peter Mattis - - * gdkimage.c: Fixed a stupid bug with 'gdk_image_new' which - potentially added a NULL image to "image_list" and caused problems - when 'gdk_image_exit' was called. - -Wed Mar 5 00:40:08 1997 Peter Mattis - - * gtkpreview.c: Massively changed the colormap handling used by - the preview widget. Gray previews are now dithered. A single - visual and colormap is shared by the color and gray previews. A - GTK_PREVIEW_INFO property is installed on the root window in - certain cases to allow multiple GTK programs to share the system - colormap. - -Sun Mar 2 05:43:06 1997 Peter Mattis - - * gtkcheckbutton.c: 'gtk_checkbutton_size_allocate' was allocating - too much space to its children and not leaving the check button - room for the focus border. - - * gtknotebook.c: 'gtk_notebook_size_request' wasn't requesting - enough space when the notebook tabs are visible. - -Sat Mar 1 01:59:35 1997 Peter Mattis - - * gtkpreview.c: Fixed a problem with 'gtk_preview_put' when the - image byte order is GDK_MSB_FIRST. - - * gtksignal.c: - * gtksignal.h: Added 'gtk_signal_connect_after' and - 'gtk_signal_connect_object_after' functions. These connect signal - handlers which will run after the class function associated with - the signal. - - * gtkstyle.c: Fixed a stupid bug in 'gtk_style_new_from_key' that - was causing twice as many styles to be created as necesary. - - * gtkwidget.c: 'gtk_real_widget_size_allocate' erases the widgets - old allocation if it has the GTK_NO_WINDOW flag set. - - * gtkwidget.c: 'gtk_real_widget_unmap' now erases the widget if it - has the GTK_NO_WINDOW flag set. - - * gtklabel.c: Removed 'gtk_label_unmap' as similar functionality - was added to gtk_real_widget_unmap. - - * gtkbin.c: Modified 'gtk_bin_map' and 'gtk_bin_unmap' so that it - erases and draws the widget if it has the GTK_NO_WINDOW flag set. - - * gtkframe.c: Modified 'gtk_frame_size_allocate' so that it erases - the old allocation. - -Fri Feb 28 03:27:05 1997 Peter Mattis - - * gtkwindow.c: 'gtk_window_set_title' now changes the window title - if the window is already realized. - - * gtkentry.c: 'gtk_entry_set_text' was emitting both a - "delete_text" and a "changed_text" signal. Modified so that it - only emits a "changed_text" signal. - - * gtkpreview.c: Modified to work correctly on systems with MSB - byte order. The colormap for TRUE and DIRECT color displays is now - created if the default visual is not equal to the visual we are - using. - - * gtkstyle.c: 'gtk_style_attach' and 'gtk_style_find' weren't - working properly in the presence of multiple colormaps are - different depth visuals. - - * gtkcontainer.c: Massively improved focus traversal using tab and - arrow keys. It now uses the layout of the widgets to determine - where to move the focus to. - -Mon Feb 24 03:24:02 1997 Peter Mattis - - * gtkmenufactory.c: Set the accelerator table field for menus when - they are created. - - * gtkmenu.c: - * gtkmenu.h: Added a default accelerator table field to menus so - that runtime modification of accelerator keys in menus can work - better. - - * gtkrange.c: 'gtk_range_default_{h,v}motion' had faulty logic for - deciding what to do when the slider was at the edge of the - trough. They previously didn't update the adjustment value event - if the value wasn't what it should be when the slider was at the - edge of the trough. - - * gtkviewport.c: 'gtk_viewport_size_allocate' and - 'gtk_viewport_adjustment_value_changed' both had the potential for - performing a divide by 0. Checks are now in place to prevent this. - - * gtkmenu.c: 'gtk_menu_map' now makes sure the menu lies on screen - if the position function is NULL. - - * gtkentry.c: Modified selection handling. 'gtk_delete_selection' - actually removes the X selection now. 'gtk_entry_destroy' removes - the selection as well and relies on the change in "gdk.c" to make - sure the selection event will not be sent to a non-existant - window. - - * gdk.c: Selection events are only passed on if the selection - owner is not NULL. - - * gtkstyle.c: 'gtk_style_detach' and 'gtk_style_destroy' were not - destroying the black and white gc's. - -Sun Feb 23 19:17:56 1997 Peter Mattis - - * gtkwindow.c: 'gtk_window_size_request' was setting the window - hints. This was also being done in 'gtk_window_map', so the - instance being done in 'gtk_window_size_request' was removed. - -Fri Feb 21 01:04:01 1997 Peter Mattis - - * gtkwidget.c: 'gtk_widget_draw' has to use the widgets allocated - position for the drawing rectangle when the widget has the - GTK_NO_WINDOW flag set. - - * gtkwidget.c: In 'gtk_widget_init' the visual and colormap were - being directly compared against 'default_visual' and - 'default_colormap' instead of calling - 'gtk_widget_get_default_{visual,colormap}'. - - * gdkrectangle.c: Amazing! There was a bug in the - 'gtk_rectangle_intersect' logic. Its been there for near eternity - and I never noticed. - - * gtkpreview.c: - * gtkpreview.h: Created preview widget which allows drawing to an - rgb or grayscale buffer which is automatically displayed on the - screen. Performs dithering as necessary. - -Thu Feb 20 20:33:21 1997 Peter Mattis - - * gdkwindow.c: Modified the logic in 'gdk_window_new' which - determined when to add a window to the WM_COLORMAP_WINDOWS - property. - -Wed Feb 19 19:55:29 1997 Peter Mattis - - * gtkruler.c: 'gtk_ruler_make_pixmap' was always destroying the - old backing store and creating a new one even when it would create - a new one of exactly the same size as the old one. - -Tue Feb 18 18:32:10 1997 Peter Mattis - - * gmem.c: 'g_mem_chunk_alloc' was incorrectly modifying the mem - areas free mem field when reallocating a previously freed - atom. This caused a fairly severe memory leak. - - * gtkmenushell.c: 'gtk_menu_shell_button_release' had a bug in the - logic for deciding whether to initiate an X pointer grab or not - when the mouse button was released. It now only initiates a grab - if the mouse is released within an active menu item. - -Fri Feb 14 00:57:40 1997 Peter Mattis - - * gtknotebook.c: Changed the look of notebook tabs slightly. - - * gtkentry.c: - * gtkentry.h: Deleting an entry widget which is holding the X - selection presents some difficulties. The X selection must be - released, but the widget can't be destroyed until the - SELECTION_CLEAR event is received that the X server will send in - response to clearing the X selection. There are probably still - bugs in the current method of entry widget deletion when the X - selection is held. - - * gtkmain.c: 'gtk_propagate_event' was not properly destroying the - toplevel window when receiving a key press event. - - * gtkwidget.c: Setting a widget insensitive did not cause it to - redraw. It now does. - -Thu Feb 13 16:59:07 1997 Peter Mattis - - * gtkviewport.c: 'gtk_viewport_size_allocate' was allocating its - child widget an adjusted allocation. Since the actual scrolling - has handled by a subwindow this caused the child to be double - scrolled. Modified to always set the child allocations origin to - (0, 0). - -Wed Feb 12 01:06:48 1997 Peter Mattis - - * gtkentry.c: Text is now centered vertically. Previously it was - pushed up against the top. This problem was only evident when the - widget was allocated more vertical space than it requested. - - * gtkfilesel.c: 'gtk_file_selection_key_press' was previously only - a stub for tab completion. The actual tab completion call had been - left out. (Oops!) - -Tue Feb 11 01:43:08 1997 Peter Mattis - - * gtksignal.c: 'gtk_signal_disconnect_by_data' was going into a - loop and crashing. Bad logic. Fixed. - - * gtkmain.c: An idle function which returns FALSE will be removed - from the list of idle functions. This makes the functioning of - idle functions and timeouts more similar. - - * gtkentry.c: 'gtk_entry_get_text' now returns an empty string - when the actual text is NULL. This allows "stupid" programs to use - the value returned by 'gtk_entry_get_text' blindly (without - checking to see if its NULL). - - * gtkradiobutton.c: Modified 'gtk_radio_button_clicked' so that - 'gtk_toggle_button_toggled' is called _after_ the widget state is - changed. - - * gtksignal.c: - * gtksignal.h: Added 'gtk_signal_name' which returns the character - string name for a given signal number. - - * gtkwidget.c: 'gtk_widget_set_parent' checks to see if the widget - is now "anchored" through the parent chain to a widget which is - GTK_ANCHORED. If it is, then it changes the widgets style using - 'gtk_rc_get_style' and recursively performs the same operation on - the widgets children. This is necessary is 'gtk_rc_get_style' only - works properly on "anchored" widgets. - - * gtkwindow.c: Modified GTK_WIN_POS logic so that it is only used - immediately after the window has been shown. - - * gtkmenu.c: 'gtk_menu_key_press'. Can now change menu item - accelerator keys on the fly. Why? Why not. Cool/useless feature of - the day. - - * gtkmenuitem.c: Accelerator key drawing. Somehow that never got - finished. (Oops!) - - * gtkdrawingarea.c: 'gtk_drawing_area_size_allocate' was not - actually installed during 'gtk_drawing_area_class_init'. (Oops!) - - * gtkframe.c: 'gtk_frame_size_request' fixed size requisition - problem caused by unsigned arithmetic. - - * gtkwindow.c: Modified window widget so that it only uses the - widget uposition auxiliary information immediately after it has - been shown. This prevents the annoying bug which can cause a - uposition'ed window to jump back to its original position after - the user moves it. - - * gtkwidget.c: Need to ref and unref style in - 'gtk_widget_{push,pop}_style' to make sure that a style on the - style stack is not destroyed. - - * gtktogglebutton.c: 'gtk_toggle_button_set_state' now calls - gtk_button_clicked to actually change the state of the - button. In this way, radio buttons can now perform the appropriate - actions when the toggle button state is set. - -Mon Feb 10 00:27:39 1997 Peter Mattis - - * gtklist.c: 'gtk_list_select_item' and 'gtk_list_unselect_item' - were casting a GList* variable to a a GtkWidget* variable. Bad bad - bad. (Tim Janik). - - * gtksignal.c: Modified 'gtk_signal_connect' and - 'gtk_signal_connect_object' to warn when a signal type cannot be - found. - -Sun Feb 9 00:15:30 1997 Peter Mattis - - * gtkoptionmenu.c: - * gtkoptionmenu.h: Changed option menus back to being derived from - buttons. This fixes up some screwiness with their user - interaction. - - * gtkwindow.c: Modified key press handler to support focus - traversal. - - * gtkcontainer.c: - * gtkcontainer.h: Added default focus traversal back in. - -Sat Feb 8 10:44:38 1997 Peter Mattis - - * gtkviewport.h: - * gtkviewport.c: Massively sped up viewport scrolling. Used to be - reallocating child's size (offset) each time a scrollbar - moved. Now a subwindow is moved. All the children are moved - automatically by moving the subwindow. Much much much faster. - -Tue Feb 4 00:20:44 1997 Peter Mattis - - * gtree.c: Changed 'g_tree_node_search' to use a loop instead of - recursion. - -Mon Feb 3 11:30:03 1997 Peter Mattis - - * gtkbutton.c: Removed 'parent_destroy' global and replaced it - with 'parent_class' global to reflect style used in other - widgets. - - * gtknotebook.c: Tab labels were being allocated less than their - requested size. - - * gtkrange.c: - * gtkrange.h: Moved the "digits" field of scales into the range - type. The adjustment value for scales is truncated to the number - of visible digits instead of being left untouched. - - * gtree.c: Fixed a bug in the AVL tree implementation. Single - rotations were always being performed during insertion. It is - sometimes necessary to perform a double rotation. - - * gtklabel.c: Modified 'gtk_label_expose' to only draw the label - when the allocated space is greater than or equal to the requested - space. - - * gtklabel.c: Added call to 'gtk_widget_unmap' to - 'gtk_label_destroy' in order for the label to redraw correctly - (erase itself) when destroyed. - - * gtklabel.c: Added 'gtk_label_unmap' call which erases the labels - allocation when it gets unmapped. - - * *.h: Removed a few remaining instances of using "class" as a - parameter name. (Causes problems for C++). - -Fri Jan 31 12:26:50 1997 Peter Mattis - - * gtkcontainer.c: 'gtk_container_enable_resize' needs to call - 'gtk_container_check_resize' instead of - 'gtk_container_need_resize'. - - * gtkwidget.c: 'gtk_real_widget_show' now maps the widget if its - parent is mapped. - - * gtkscrolledwindow.c: Fixed size allocation when the scrollbar - policy's are GTK_POLICY_AUTOMATIC. Doing it correctly is harder - than I originally thought. - - * gtklist.c: Added 'gtk_list_child_position' to determine the - integer position in a list of a child. Filled in the - 'gtk_list_item_select' and 'gtk_list_item_unselect' stubs. - -Thu Jan 30 16:08:06 1997 Peter Mattis - - * gmem.c: Changed the implementation of G_ALLOC_AND_FREE mem - chunks. They used to allocate SIZEOF_VOID_P extra bytes per atom - in order to keep track of which mem area they were allocated - from. Now the mem area is determined by searching through an AVL - tree of the mem areas for a mem chunk and comparing memory - locations. A little slower, but makes G_ALLOC_AND_FREE mem chunks - much more attractive. - - * gtree.c: Added an AVL tree implementation to glib. - - * gtksignal.c: - * gstring.c: va_arg (arg_list, {char, short}) is - invalid. Arguments passed in a variable argument list are - promoted. ({char, short}->int). Seemed to work ok before under - Linux. Crashed under FreeBSD. - -Tue Jan 28 02:27:51 1997 Peter Mattis - - * gdkwindow.c: Fixed a major slowdown apparent in the file - selection dialog which was caused by calling - 'gtk_window_add_colormap_windows' way way way too often. - - * *.c: Many widgets called 'gtk_container_need_resize' when - something internal changed which would cause the widget to grow or - shrink. The assumption was made that the widget would change size - and an expose event would be generated. This happens "most" of the - time. But its possible for certain widgets to change size without - generating expose events, or for its internal geometry to change - without a change of size which would mean no expose event was - generated. So a wrapper function called - 'gtk_container_check_resize' was created and - 'gtk_container_need_resize' was modified so that it returns FALSE - if a resize was actually generated and TRUE if nothing - changed. This allows 'gtk_container_check_resize' to initiate a - 'gtk_widget_size_allocate' and 'gtk_widget_draw' to emulate the - expose event. - -Sat Jan 25 14:17:44 1997 Peter Mattis - - * gtkmain.c: Fixed a bug with propogating key press events. The - events were sent 2 times to the toplevel windows which caused the - focus widget to be activated twice when the space bar was pressed. - - * */configure.in: - * */Makefile.am: Added support for libtool and removed the old - shared library configuration craziness. - -Fri Jan 24 12:59:22 1997 Peter Mattis - - * gtktext.c: - * gtktext.h: Josh's fixes and additions to the text widget. - - * gtkfill.c: - * gtkfill.h: Filler widget useful for filling space in a - table. Can specify a minimum size. Used by the canvas widget. - - * gtknotebook.c: - * gtknotebook.h: Made outline of notebook widget. - - * gtkcanvas.c: - * gtkcanvas.h: Started canvas widget. A composite of 2 rulers (w/ - an origin), 2 scrolllbars. Guides, grids, snap to. - -Sun Jan 19 18:26:45 1997 Peter Mattis - - * gtkdialog.c: - * gtkdialog.h: Created dialog widget which creates a standard - looking dialog with buttons along the button and a separator. - - * gtkxid.c: Generalized the window table code for looking up a gdk - window based on an XID to work for any XID and a piece of - data. Can now look up gdk fonts based on their XID. - - * gtkruler.c: - * gtkruler.h: - * gtkhruler.c: - * gtkhruler.h: - * gtkvruler.c: - * gtkvruler.h: Started conversion of the ruler widget. - - * gtktext.c: - * gtktext.h: Started conversion of the text widget. Scrolling - doesn't work. - - * gtkmain.c: Fixed a fairly major bug. The event widget needs to - be in a call for the entire duration of handling an event. Not - just for when the event widget itself is handling the event. - - * gtkfilesel.c: Fixed up some bugs with resizing. - -Fri Jan 10 14:18:03 1997 Peter Mattis - - * gtkwidget.c: - * gtkwidget.h: - * gtkentry.c: - * gtkentry.h: Support for selections. - - * gdkselection.c: - * gdk.c: - * gdktypes.h: - * gdk.h: Gdk support for X selections. Currently only text - selections are supported. - - * gtksignal.c: Fixed a major bug which occurred when destroying an - object. Memory was being written to after it was freed. - - * gtkfilesel.c: - * gtkfilesel.h: Hooked up more functionality to the file selection - dialog. - -Wed Jan 8 18:13:53 1997 Peter Mattis - - * gtkfilesel.c: - * gtkfilesel.h: Mostly converted old file selection dialog - widget. The widget is derived from the GtkWindow class and is - quite a bit simpler in the widget code. - - * gtkwidget.c: Fixed 'gtk_widget_grab_focus' and - 'gtk_widget_grab_default' to check that the toplevel widget is a - type of window (which includes classes derived from windows). - -Tue Jan 7 01:12:32 1997 Peter Mattis - - * gtkwindow.c: Was calling 'gtk_window_resize' twice in a - row...why? - - * gtksignal.c: - * gtksignal.h: - * *.c: Changed 'gtk_signal_new' so that the class function that is - called when the signal is emitted can be called either before, - after or both before and after the calling of any signal - handlers. - - * gtkobject.c: - * gtkobject.h: Added 'object_data' mechanism for storing data - associated with a character string key in objects. Removed - 'user_data' field of objects and changed - 'gtk_object_{get,set}_user_data' to use the object data - mechanism. Removed 'handlers' field of objects. - - * gtkwidget.c: - * gtkwidget.h: - * gtkwindow.c: Modified aux info mechanism to use object data - mechanism. - - * gtksignal.c: Modified signal mechanism to use object data - mechanism instead of 'handlers' field. - - -Mon Jan 6 15:10:16 1997 Peter Mattis - - * gtkmenushell.c: Fixed up button press handling so as to conform - more closely to that used by Motif. - -Wed Jan 1 21:27:17 1997 Peter Mattis - - * gtkmenu.c: - * gtkmenu.h: - * gtkmenubar.c: - * gtkmenubar.h: - * gtkmenushell.c: - * gtkmenushell.h: Reorganization of menu-ing code so that code - duplication is reduced. The menu shell now contains most of the - code for menu-ing interaction while menus and menubars simply layout - their child menu items in the appropriate place. - -Sun Dec 29 17:48:18 1996 Peter Mattis - - * gtkmenu.c: - * gtkmenubar.c: - * gtkmenuitem.h: - * gtkmenuitem.c: Modifications so that menu item accelerators and - the submenu indicator are drawn correctly and the correct amount - of space is allocated. - -Sat Dec 28 00:32:13 1996 Peter Mattis - - * gtkmenufactory.h: - * gtkmenufactory.c: Started menu factories as an easy method to - create and manipulate menus. - -Fri Dec 27 13:17:34 1996 Peter Mattis - - * gtkmenu.c: - * gtkmenu.h: - * gtkmenubar.c: - * gtkmenubar.h: - * gtkmenuitem.c: - * gtkmenuitem.h: - * gtkmenushell.c: - * gtkmenushell.h: Implemented basic menu functionality. Menubars - and popup menus work. Submenus work. (Much left to be done). - -Wed Dec 18 15:27:05 1996 Peter Mattis - - * gtktypeutils.h: - * gtktypeutils.c: Added 'gtk_type_from_name' which returns a type - identifier given a type name. Implemented using a second hash - table keyed by type names. - - * gtkbutton.c: - * gtktogglebutton.c: Fixed very small messed-up drawing bug when a - button loses its focus. - - * gtkwidget.h: - * gtkwidget.c: - * gtkbutton.c: - * gtkwindow.c: Added default button handling. Default buttons now - draw correctly and pressing return or enter causes the default - button (if one exists) to be activated. - -Tue Dec 17 19:32:21 1996 Peter Mattis - - * gtkhscale.c: - * gtkvscale.c: Overrode 'draw_slider' method of ranges in order to - draw the slider of scales with a line in them so as to be closer - to the Motif look-and-feel. - - * gtkwindow.c: Modified 'gtk_window_focus_in_event' so that focus - in events are only handled when the window is visible. Fixes a bug - where spurious focus in events get sent when a window is being - hidden. - - * gtkwidget.h: Added 'activate_signal' field to the GtkWidgetClass - structure. Added 'gtk_widget_activate' call to emit the activate - signal for a widget if it is non-zero. - -Tue Dec 10 15:59:45 1996 Peter Mattis - - * gtkwidget.c: 'gtk_widget_set_name' oops in strdup'ing the old - "widget->name" instead of the new one we are setting. - - * gtkrc.c: 'gtk_rc_widget_path' changed to use - 'gtk_widget_get_name' instead of accessing the "widget->name" - field directly. - - * gtkwidget.c: Added 'gtk_widget_get_name' function which returns - the widgets name if it exists and the widgets type name if it does - not. - - * gtkcheckbutton.c: Added 'gtk_check_button_draw' - function. Modified 'gtk_check_button_expose' to pass an expose - event to child instead of callings its draw function. - - * gtkentry.c: 'gtk_entry_draw_text' why was "+1" being added to - the font->ascent to calculate the font position? This was wrong - and caused some characters in fonts to be clipped. (Notably "g"). - - * gtkentry.c: 'gtk_entry_realize' specify GTK_BUTTON1_MOTION_MASK - and GTK_POINTER_MOTION_HINT_MASK for _both_ windows. - - * gtkmain.c: 'gtk_propagate_event' needs to set the GTK_IN_CALL - flag for the object before calling 'gtk_widget_event' and needs to - destroy the object if necessary after 'gtk_widget_event' returns. - - * gtkradiobutton.c: 'gtk_radio_button_clicked' needs to call - 'gtk_toggle_button_toggled' when the currently active button is - toggled. - - * gtkwidget.c: 'gtk_real_widget_hide' needs to call - 'gtk_widget_unmap' if the widget is currently mapped. - - * gtkwindow.c: Prevent automatic resizing after the user has - specified a new window size. Add 'handling_resize' flag to - windows. - - * gtkscrolledwindow.c: Implement the GTK_POLICY_AUTOMATIC - scrollbar policy. Need to connect to the adjustments 'changed' - signal and notice when the scrollbars aren't in use. - - * gtkcontainer.c: 'gtk_container_init' must set 'auto_resize' and - 'need_resize' fields to TRUE and FALSE respectively. - - * gtkwidget.c: 'gtk_widget_set_parent' must all set a widgets state - to its parents state. - -Sun Dec 1 01:31:01 1996 Peter Mattis - - * Started ChangeLog diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 deleted file mode 100644 index bd3e832e46..0000000000 --- a/ChangeLog.pre-1-2 +++ /dev/null @@ -1,9106 +0,0 @@ -Wed Feb 24 05:27:44 CST 1999 Shawn T. Amundson - - * Released GTK+ 1.2.0 - - * AUTHORS: updated - -Wed Feb 24 05:26:20 CST 1999 Shawn T. Amundson - - * gtk/gtkitemfactory.h: added a dummy gpointer to - GtkItemFactoryClass for Tim Janik. - -Mon Feb 22 21:22:11 1999 Owen Taylor - - * gtk/gtkcontainer.h gtk/gtkwidget.h: Added some - padding to class structures to allow addition - of signals without breaking binary compatibility. - -Thu Feb 25 13:38:38 1999 Tim Janik - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): still - request the extra width or height if the corresponding scrollbar is - already visible (the change from 09:50 needs to apply to policy == - GTK_POLICY_AUTOMATIC only). - -Thu Feb 25 11:27:36 1999 Tim Janik - - * TODO: updates, i left the text widget related portions in there, - to serve as a guide line for things to watch out for when it gets - reimplemented. - -Thu Feb 25 09:50:38 1999 Tim Janik - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): don't add - extra width or height if the requested size is mandatory (i.e. set - through child->usize). - -Thu Feb 25 02:13:20 CST 1999 Shawn T. Amundson - - * gtk/gtkmenu.[ch]: New function gtk_menu_reorder_child() - from Tim Janik. - -Thu Feb 25 00:48:51 1999 Owen Taylor - - * gtk/gtkfontsel.c: Don't access *bitmapped_sizes - if nbitmapped_sizes == 0. (Pointed out by - zucchi@zedzone.fsi.com.au (Michael Zucchi)) - -Wed Feb 24 23:12:09 1999 Owen Taylor - - * gtk/gtkwidget.h gtk/gtkclist.c: Make prototypes - for drag_data_get and drag_data_received handlers - match the types used for gtk_singal_new; time needs - to be a uint, not a uint32. - -Wed Feb 24 20:34:59 1999 Owen Taylor - - * README: Changed bug reporting instructions to - describe using the GNOME bug tracking system. - -Wed Feb 24 19:08:51 1999 Owen Taylor - - * gtk/gtkclist.c (draw_cell_pixmap): Unset the clip - mask for the GC if we set it. (Patch from - Lars Hamann ) - -Thu Feb 24 23:58:44 1999 Tim Janik - - * gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function - to check if a specific signal handler connection exists (similar to - gtk_signal_handler_pending_by_func). and yes, this is a neccessary - addition, since without this function, signal handlers can not be - (un)blocked or disconnected in a generic fashion without producing - g_warnings(). - made gtk_signal_get_handlers() an inline function since it's used in - a lot of places, especially within signal emission. - -Wed Feb 24 19:35:15 1999 Tim Janik - - * gtk/gtktext.c (gtk_text_key_press): if the widget is not editable, - don't silently eat up GDK_Return, GDK_Home and GDK_End, return FALSE - instead so the user can still hook up key bindings. - -Wed Feb 24 11:19:12 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_size_request): warn about - &widget->requisition, even for toplevels. - - * gtk/gtkwindow.c (gtk_window_move_resize): request size into an - automatic variable and check if our size has changed. - when we decide to reallocate everything, we need to resize our - own GdkWindow as well. - - * gtk/gtkmain.c: - * gtk/gtkobject.c: hack time, make --gtk-debug=objects work even - after gtk_type_init(), this is to "fix" gnome's arg parsing oddities. - - * gtk/gtktypeutils.h: don't segfault in GTK_CHECK_CLASS_TYPE and - GTK_CHECK_TYPE upon NULL pointers. - - * gtk/gtklayout.c: removed bogus prototypes of gtk_layout_gravity_works, - gtk_layout_set_static_gravity, gtk_layout_add_child_cb and - gtk_layout_remove_child_cb to shut up compiler. - - * gtk/Makefile.am: added an empty rule - gtkrc: - : - so make doesn't try to "update" gtkrc from gtkrc.c. - -Wed Feb 24 05:53:15 CST 1999 Shawn T. Amundson - - * gtk/Makefile.am: removed gtkrc rule added by - Sergey Panov, because GTK+ no longer built. We - don't need to install an empty gtkrc anyway. - -Wed Feb 24 01:22:39 CST 1999 Shawn T. Amundson - - * *.[ch]: Added notice to look in AUTHORS and ChangeLog files - for a list of changes. - -Tue Feb 23 17:52:37 1999 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): fix implicit - branch creation, we need the *real* parent path for this and - gtk_item_factory_parse_path() only returns the parent path with "_?" - stripped off. - -1999-02-23 Pavel Machek - - * gtk/gtkentry.c (gtk_entry_finalize): trivial bugfix - -Mon Feb 22 19:06:30 1999 Owen Taylor - - * gdk/gdkdnd.c (xdnd_send_*): When sending events to - windows with a proxy, set the window field in the - sent event to the original window, not to the proxy. - (This gives consistency with Motif, and also provides - information to the destination that it wouldn't have - otherwise). - - * gtk/gtkdnd.c: Fixed some refcount leaks for windows. - - * gdk/gdkdnd.c (xdnd_send_xevent): When sending - Xdnd event to the root window, set the event mask - to ButtonPressMask. Hopefully, this should give us - compatibility with kfm, if it uses the Qt style - of root window drops. - -Mon Feb 22 08:45:10 GMT 1999 Tony Gale - - * docs/gtk_tut.sgml: - - Complete the ProgressBar API - - Fix the CList example code - - * examples/clist/clist.c, examples/progressbar/progressbar.c: - Update from tutorial - -Sun Feb 21 17:44:52 1999 Owen Taylor - - * gtk/testgtkrc: Removed check-y/check-n backgrounds - - the effect looked like a bug. - -Sun Feb 21 17:14:44 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Always - set the max width or height to at least 1, since 0 - triggers bugs in some window managers. (The window - "pops out" of the frame in fvwm) - -Sun Feb 21 16:16:22 1999 Owen Taylor - - * gtk/gtkscrolledwindow.c gdk/gdkfont.c gdk/gdkim.c: - Changed warnings from g_message() to g_warning(). - - * gdk/gdkim.c (gdk_ic_destroy): Changed g_print - to g_message within GDK_NOTE() - - * gtk/gtkcolorsel.c gtk/gtkhandlebox.c: - Removed some leftover debugging printfs. - -Sun Feb 21 15:59:55 1999 Owen Taylor - - * gdk/MwmUtil.h gdk/gdkwindow.c: Account for the - fact that Xlib expects format == 32 to be a long, - even on 64-bit architectures. - - [ patch from George Lebl (jirka@5z.com) ] - -Sun Feb 21 14:46:02 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_init_check): - gdk/gdk.c (gdk_init_check): - - Added initialization variants that return a status - instead of dying. - -Sun Feb 21 14:21:46 1999 Owen Taylor - - * gtk/gtkwindow.c: removed debugging statements - about embedded XID's. They could have been - moved to the new PLUGSOCKET debug key, but they weren't - really useful anyways. - - * gdk/gdk.h: Added gdk_error_trap_push/pop to provide - a clean interface to the gdk_error_code functionality - of trapping X errors. - - * gtk/gtkplug.c gtk/gtksocket.c: Add error - traps around accesses to foreign windows. - -Sun Feb 21 15:37:25 1999 Tim Janik - - * gtk/gtkwindow.h: marked gtk_window_set_focus, gtk_window_set_default, - gtk_window_remove_embedded_xid and gtk_window_add_embedded_xid as - internal functions. - -Sun Feb 21 11:39:06 1999 Owen Taylor - - * gtk/gtktext.c (find_line_containing_point): Revise - algorithm for scrolling backwards. This one might actually - work with one-line-high Text widgets. - - * gtk/gtkmain.c: Removed a misplaced comment, a few - formatting cleanups. - -Sat Feb 20 20:59:25 1999 Tim Janik - - * gtk/gtkwindow.c: hm, set_modal doesn't really work with random - gtk_grab_add/gtk_grab_remove calls. either the window user uses - the set_modal interface or he places grab_add/grab_remove on his own. - (gtk_window_set_modal): enforce modality state either way. - (gtk_window_hide): revert previous change. - -Sat Feb 20 20:04:48 1999 Tim Janik - - * gtk/gtkcalendar.c (gtk_calendar_button_press): increment years and - months by two not three on double clicks, patch provided by Nick Lamb - . - -Sat Feb 20 19:44:36 1999 Tim Janik - - * gtk/gtkwindow.c: added ::modal argument. - (gtk_window_hide): reset window->modal from the current grab state - (this is only relevant when grab_add/grab_remove is called on the - window by bypassing gtk_window_set_modal). - (gtk_window_remove_embedded_xid): - (gtk_window_add_embedded_xid): don't use g_print() but g_message() - within #ifdef G_ENABLE_DEBUG. when the hack got these functions - added (ChangeLog doesn't know them)? - -Fri Feb 19 14:59:45 EST 1999 Sergey Panov - - * gtk/gtkrc,gtk/gtkrc.ja, gtk/gtkrc.ko, - gtk/gtkrc.ru: Collecttion of the locale dependent - gtkrc files and - - * gtk/Makefile.am: patched to get that collection - installed in to $(prefix)/etc/gtk/ - -Fri Feb 19 17:52:28 1999 Tim Janik - - * gtk/gtksignal.h: grouped function names into application-level, - widget-level and non-public. - - * gtk/gtktreeitem.c (gtk_tree_item_size_request): use auto - pix_requisition instead of item->pixmaps_box->requisition. - -Thu Feb 18 17:26:09 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_queue_clear_area): - When queueing clears relative to widget->window, - actually store widget->window so we know that - the coordinates are window-relative. - -Thu Feb 18 11:46:57 1999 Owen Taylor - - * gtk.m4: Fix glib_config_args gtk_config_args - confusion. (pointed out by - Roland Dreier ) - - * gtk/gtksocket.c gtk/gtkmain.c gtk/gtkdebug.h - (gtk_socket_filter_func): Move the plug-socket - debugging code to a new "plugsocket" debug keys - from the previous hardcoded DPRINTF. - -Thu Feb 18 00:54:46 1999 Tim Janik - - * gtk/gtkclist.c: added widget arg ::titles_active. - -Thu Feb 18 00:27:46 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_queue_clear_area): only translate widget - relative coordinates to window relative if the widget is not a toplevel - (i.e. it has ->parent != NULL), otherwise the area size gets screwed up - for toplevels. - -Tue Feb 16 14:25:44 CST 1999 Shawn T. Amundson - - * INSTALL - README - configure.in - gtk+.spec - docs/gtk-config.1: version = 1.1.16 - - * Makefile.am: removed colorsel example since it - doesn't actually exist. - - * Released GTK+ 1.1.16 - -Mon Feb 15 23:55:27 1999 Owen Taylor - - * gtk/testgtk.c (create_text): Use a ScrolledWindow - test how Text widgets work within ScrolledWindow. - (POLICY_AUTOMATIC drew very badly, so it uses - POLICY_ALWAYS for the vscrollbar) - - * gtk/gtktext.c (gtk_text_unrealize): Free the cache - in the unrealize handler. Some code in gtktext.c - assumes that if text->line_start_cache is non-NULL, - the widget is realized. We'll recompute it again - anyways if we later re-realize. - -Fri Feb 12 15:47:20 1999 Owen Taylor - - * gtk/gtkcalender.c gtk/gtkentry.c gtk/gtkhandlebox.c - gtk/gtknotebook.c gtk/gtktext.c gtk/gtkviewport.c - gtk/gtkwidget.c: - - When setting styles, remove unecessary explicits draws - and clears. - - * gtk/gtkrange.c: Ugly fix so the steps get the - correct background. - -Mon Feb 15 22:55:50 1999 Owen Taylor - - * NEWS: Updated for 1.1.16. - -Mon Feb 15 19:36:57 1999 Owen Taylor - - * gtk/gtklabel.c (gtk_label_finalize): Free - label->label_wc. - -Mon Feb 15 18:02:22 1999 Owen Taylor - - * gtk/gtkdnd.c: Some coding style fixups. - - * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set a flag - so that we destroy the icon window that we created - when the drag ends. - -Thu Feb 11 18:43:12 1999 Owen Taylor - - * gtk/gtkbindings.c (gtk_binding_set_add_path): When - we find a match, stop searching. (Because we - assume pspec != NULL in the search). - -Wed Feb 10 01:18:22 1999 Owen Taylor - - * gtk/gtkhandlebox.c (gtk_handle_box_draw_ghost): Fix - up painting of "ghosts". - - * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): - Add double-click reattachment. - - * gtk/gtkhandlebox.c: Grab on widget->window, - not on handlebox->bin_window. This means we don't - have to worry about ungrabbing while reparenting. - - Don't make a GTK+ grab - that wasn't necessary. - - * gtk/gtkhandlebox.c: Only compute the root -> desk - offset once, when starting the drag, instead - of continuously. This should solve the *Bad Window* - errors that were occurring because of race conditions - with the WM. - - * gtk/gtkhandlebox.c: Completely reworked the - the logic of reattachment. We introduce the - concept of the "snap edge", which is an edge - that needs to be aligned for reattachmed. - We set a reasonable default from - handlebox->handle_position, but an application - might want to change this in some circumstances. - - * gtk/gtkhandlebox.[ch]: Add settors: - gtk_handle_box_set_handle_position (); - gtk_handle_box_set_snap_edge (); - -Mon Feb 15 11:13:01 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_focus): - gtk/gtkwidget.c (gtk_widget_real_grab_focus): - - If the focus widget is the same, but does not currently - have the focus, call gtk_window_set_focus(). This is needed - so that click focusing with GtkPlug works correctly. - -Mon Feb 15 07:45:28 1999 Tim Janik - - * configure.in (--enable-debug): default to yes for development trees. - -Fri Feb 12 00:08:01 1999 Lars Hamann - - * gtk/gtklist.c (gtk_list_remove_items_internal): don't autoselect - focus_row in case of GTK_SELECTION_EXTENDED - - * gtk/testgtk.c : few changes in list example. - - * gtk/gtklistitem.c (gtk_list_item_class_init): - * gtk/gtkctree.c (gtk_ctree_class_init): - * gtk/gtkclist.c (gtk_clist_class_init): - fixed indentation, removed unused key bindings - -Wed Feb 10 01:02:46 1999 Lars Hamann - - * gtk/gtkclist.c (real_remove_row): - * gtk/gtkctree.c (gtk_ctree_remove_node): don't autoselect focus_row - in case of GTK_SELECTION_EXTENDED - - * gtk/testgtk.c : few changes in clist/ctree examples. - -Wed Feb 10 15:49:16 1999 Tim Janik - - * gtk/gtkwindow.c (gtk_window_class_init): - * gtk/gtkctree.c (gtk_ctree_class_init): applied patch from Paolo - Molaro to fix GTK_TYPE_POINTER args of ::tree_collapse and - ::set_focus signals. - - * docs/gtk_tut.sgml: s/menufactory/itemfactory, minor fixups - to the item factory example. - -Wed Feb 10 11:05:53 1999 Owen Taylor - - * gtk/gtkdnd.c: Reverted coding style "fixups" - -Wed Feb 10 10:43:50 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_set_icon, gdk_window_set_group): - Supplement the existing WMNormalHints, don't - overwrite them. - -Wed Feb 10 08:35:36 1999 Tim Janik - - * gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar): asure that - ->value_buf always points to an allocated area. - (gtk_color_selection_drag_end): new function hooked up to drag_end to - destroy the drag_window. - - * gtk/gtkdnd.c: some coding style fixups. - -Wed Feb 10 06:47:17 1999 Tim Janik - - * gdk/gdkwindow.c: various indentation fixes. - - * gdk/gdkevents.c: coding style fixups. - NULL initialize event_func, event_notify and event_chunk. - (expose_predicate): made this function static. - (gdk_event_handler_set): perform destroy notification even if no - event_func is set. - - * gdk/gdkrectangle.c (gdk_rectangle_union): added g_return_if_fail - statements. - -Sun Feb 7 19:49:21 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Fixed some - bugs with set_default_size. - -Sat Feb 6 13:23:51 1999 Owen Taylor - - * docs/Changes-1.2.txt: Added information about - the change to gtk_widget_size_request(). - - * gtk/gtkentry.c: Call gtk_widget_get_child_requisition - explicitely since we differentiate between the usize - set by the user and what we got. (Ugh) - - * gtk/gtkwidget.[ch] (gtk_widget_get_child_requisition): - New function to return the effective size of a widget - as it looks to its parent. - - * gtk/gtkwidget.c (gtk_widget_size_request): Leave - widget->requisition set to exactly what the widget - asked for, and then make a copy of that into - the requisition argument. Allow a NULL requisition - argument, and, if G_ENABLE_DEBUG, warn if - requisition == &widget->requisition. - - * gtkalignment.c gtkaspectframe.c gtkbutton.c gtkclist.c - gtkcontainer.c gtkentry.c gtkeventbox.c gtkfixed.c - gtkframe.c gtkhandlebox.c gtkhbox.c gtkhpaned.c - gtklayout.c gtklist.c gtklistitem.c gtkmenu.c - gtkmenubar.c gtkmenuitem.c gtknotebook.c - gtkoptionmenu.c gtkpacker.c gtkscrolledwindow.c - gtktable.c gtktoolbar.c gtktree.c gtktreeitem.c - gtkvbox.c gtkviewport.c gtkvpaned.c gtkwindow.c - - Avoid calling gtk_widget_size_request with - requisition == widget->requisition; use - gtk_widget_get_child_requisition to get the - size of children. - -Tue Feb 9 19:49:46 1999 Owen Taylor - - * configure.in (LDFLAGS): Removed extraneous line - that crept in in previous commit. - -Tue Feb 9 19:39:32 1999 Owen Taylor - - * gtk/gtkentry.[ch] gtk/gtkeditable.h: Moved - entry->visible into editable class. (Leave it - behind deprecated for compatibility) - - * gtk/gtkeditable.c: If not editable->visible, - return *'s for clipboard and selection. - -Tue Feb 9 19:11:43 1999 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_new): If we can't find - helvetica, fall back to "fixed". If we can't - find "fixed", exit cleanly. - -Tue Feb 9 16:03:44 1999 Owen Taylor - - * acconfig.h configure.in: Rename - XIM_INST_IS_MISSING_OR_STRANGE to USE_X11R6_XIM - - * Conditionalize destroy callbacks with USE_X11R6_XIM. - -Tue Feb 9 15:35:13 1999 Owen Taylor - - * gtk/gtklabel.c (gtk_label_style_set): Added - a style_set() function so that word lengths get - recomputed on style change. - -Mon Feb 8 21:00:20 1999 Lars Hamann - - * gtk/gtkclist.c (CLIST_OPTIMUM_SIZE): changed to 64 - (gtk_clist_draw_focus) (hadjustment_value_changed) (draw_row): - few fixes to respect GTK_CAN_FOCUS flag. - - * gtk/gtkctree.c (draw_row): - respect GTK_CAN_FOCUS flag. - -Mon Feb 8 19:22:27 GMT 1999 Tony Gale - - * example/colorsel/*: missing from the CVS for some reason - -Mon Feb 8 13:08:51 GMT 1999 Tony Gale - - * examples/Makefile: add SpinButton example - -Mon Feb 8 12:50:06 GMT 1999 Tony Gale - - * docs/gtk_tut.sgml: - - Heavily edited GtkCombo section initially from - Christopher T. Lansdown . - - - Cleanups and some glib stuff from - David Wheeler - - * Makefile.am: update to include the latest Tutorial examples. - -Sat Feb 6 11:20:16 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_idle_draw): Add the - entire draw_data_list back to the free list, not - just the last element. - -Sat Feb 6 00:21:14 1999 Lars Hamann - - * gtk/gtkctree.c (draw_row): - * gtk/gtkclist.c (draw_row) (new_column_width) (scroll_horizontal) - (title_focus): search last visible column instead of - using clist->columns. - -Fri Feb 5 13:23:50 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_move_resize): Adjust - saved positions of children when resizing a - guffaw_gravity = TRUE window. - - * gtk/gtkdnd.c (gtk_drag_highlight): Rework the - highlighting so that it is done in callbacks for - draw and expose. This should solve problems with - multiple highlights for the same GdkWindow. - - * gtk/gtkdnd.c (gtk_drag_highlight): Fix bug where - the highlight was being drawn with an incorrect - width/height for !NO_WINDOW widgets. - -Tue Feb 2 11:06:02 1999 Owen Taylor - - * gtk/gtkrange.c (gtk_range_style_set): Fixes - to account for the changed structure of the windows - of range widgets. - -1999-02-05 Owen Taylor - - * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): - Don't assume any more that the gtkwidget.c code - will queue a redraw on us during a size_allocate - - queue clear/draws as appropriate for our groove. - -1999-02-04 Christopher Blizzard - - * gtk+.spec (Packager): Change my email address. - -Thu Feb 4 05:42:34 CST 1999 Shawn T. Amundson - - * INSTALL - NEWS - README - configure.in - gtk+.spec - docs/gtk-config.1: version=1.1.15 - - * Makefile.am: example files where incorrect for - menu directory. - - * Released GTK+ 1.1.15 - -Wed Feb 3 17:29:57 PST 1999 Manish Singh - - * gtk/gtkclist.h: spelling fix in comment from - joey@kuolema.Infodrom.North.DE (Martin Schulze) - -Tue Feb 2 12:39:42 1999 Owen Taylor - - * gtk/gtkdnd.c: Make sure we set the icon window position - before it is shown to prevent annoying flicking to 0,0. - Make it consistent that info->cur_x/y do not include - info->hot_x/y displacement. - -Tue Feb 2 08:59:16 GMT 1999 Tony Gale - - * docs/gtk_tut.sgml: new sections on Layout and - SpinButton [nice widget] - - * examples/spinbutton/*: example code - -Mon Feb 1 19:25:54 1999 Owen Taylor - - * docs/gtk-config.txt (testinput_SOURCES): Put - in some information about 'gtk-config --libs gthread'. - - * docs/Changes-1.2.txt: Updated section on threads. - -Tue Feb 2 00:28:44 1999 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_insert_node): in case of - GTK_SELECTION_BROWSE select first inserted row. - (resync_selection): select rows in correct order. - - * gtk/gtkclist.c (real_insert_row): in case of GTK_SELECTION_BROWSE - select first inserted row. - (resync_selection): select rows in correct order. - - * gtk/gtklist.c (gtk_list_end_selection): select rows in correct order. - -Mon Feb 1 16:47:55 1999 Owen Taylor - - * gtk.m4: Pass gthread on to gtk-config. - - * configure.in gtk-config.in: Support gthread flag to - add thread cflags/libraries into the output of - gtk-config. - -Mon Feb 1 15:14:56 1999 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_size_allocate): - Fixed problem with uints resulting in huge child - allocations. - -Mon Feb 1 14:54:28 1999 Owen Taylor - - * gtk/gtklabel.c (gtk_label_expose): Cast uints - to ints in geometry calculations. This should - prevent FP exceptions on FreeBSD when quantities - become negative. [ Actually, this is probably - a workaround with a gcc bug with handling of - bitfields, according to Ben Jackson ] - -Mon Feb 1 13:35:14 GMT 1999 Tony Gale - - * examples/Makefile: update to new examples - - * examples/menu/itemfactory.c: I must have forgotten to - 'cvs add' this file - -Mon Feb 1 09:16:03 GMT 1999 Tony Gale - - * docs/gtk_tut.sgml: - - Complete documentation of Label widget API - - New sections for the following: - * Arrows - * Alignment - * Button Boxes - * Viewports - - * examples/arrow/*, examples/buttonbox/*, examples/label/* - - New code examples - -Fri Jan 29 09:44:37 GMT 1999 Tony Gale - - * examples/fixed/*, examples/frame/* - - Examples from the Tutorial - -Fri Jan 29 09:18:41 GMT 1999 Tony Gale - - * docs/gtk_tut.sgml: - - New sections on the Fixed and Frame containers - - Rearrange the Containers section so the easier ones - are first - - Move the List widget section to an appendix - -Thu Jan 28 12:14:12 GMT 1999 Tony Gale - - * docs/package_tutorial.sh: script to convert and - package up the tutorial - stick it here so I don't lose - it when I accidentally delete it again. - -Thu Jan 28 10:16:28 GMT 1999 Tony Gale - - * docs/gtk_tut.sgml: - - Replace all uses of deprecated functions. - - Replace menufactory example with itemfactory example - from Nick Scott - - Minor bug fixes in the examples. - -1999-01-28 Sebastian Wilhelmi - - * gdk/gdkim.c: - s/XIM_INSTANTIATE_IS_MISSING_OR_STRANGE/XIM_INST_IS_MISSING_OR_STRANGE/ - -Thu Jan 28 01:57:06 CST 1999 Shawn T. Amundson - - * INSTALL - NEWS - README - configure.in - gtk+.spec - docs/gtk-config.1: version=1.1.14 - - * Released GTK+ 1.1.14 - -Thu Jan 28 01:34:29 1999 Owen Taylor - - * gtkfontsel.c gtkcolorsel.c: When translating - N_() strings, use _(), not gettext(), since we - really need to call dgettext(). - -Wed Jan 27 20:51:25 PST 1999 Manish Singh - - * acinclude.m4: Xsed isn't valid here, don't use it - - * ltmain.sh - * ltconfig: better file magic regexp for Linux libs - -Wed Jan 27 23:05:55 1999 Owen Taylor - - * gtk/gtklayout.[ch] (gtk_layout_realize): Move - gravity_works back to a static global variable, - since it is a global constant, and this way we - keep structure sizes uniform. - -Wed Jan 27 22:59:07 1999 Owen Taylor - - * gtk/Makefile.am (static_SOURCES): Move gtkintl.h - from $source_headers to $static_sources since - it should not be installed. - -Wed Jan 27 22:51:23 1999 Owen Taylor - - * gdk/gdkevents.c (expose_predicate): Allow exposure - compression across GravityNotify events to improve - the appearance of a GTK+ window unshading. - -Wed Jan 27 21:56:07 1999 Owen Taylor - - [ patch from Takashi Matsuda ] - - * acconfig.h configure.in gdk/gdkim.c: Add configure - flag for disabling XRegisterIMInstantiateCallback(), default - it to off for Solaris. Always try to open the - input method immediately, and only if that fails, - register than instantiate callback. - - * gtk/gtkentry.c: Some tweaks to make sure that we - only get and set the IC attributes when appropriate. - -Wed Jan 27 20:08:54 1999 Owen Taylor - - * gtk/gtkfilesel.c (open_user_dir): Patch from - Sebastian Wilhelmi to - use g_get_home_dir() instead of calling getpwuid() - ourselves. - -Wed Jan 27 20:06:06 1999 Owen Taylor - - * gtk/gtklayout.c (gtk_layout_adjustment_changed): - Removed some g_print()'s - -Wed Jan 27 18:57:57 1999 Owen Taylor - - * gdk/gdk.h gdk/gdkdnd.c: Change signatures for - gdk_drag_begin() and gdk_drag_motion() so that the set - of possible actions is passed on each motion, not just at - the beginning of the drag. We do this so that - we can restrict the set of possible drag events - when the user presses a modifier key during a - drag. - - * gdk/gdkdnd.c: Send a motif Operation-changed - message when the set of possible actions change, - as well as when the suggested action change. - - * gdk/gdkdnd.c: Change the XdndActionList whenever - the set of actions change. - - * gdk/gdkdnd.c: Add a filter to catch changes to - the XdndActionList property for the source widget. - - * gtk/gtkdnd.c: Change the set of possible actions - when the user presses Control, Shift, or Control-Shift, - to only include the corresponding action. - - * gtk/gtkdnd.c (gtk_drag_button_release_cb): - Disconnect button signals before we possibly - free info structure. - -Wed Jan 27 18:40:50 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_main_do_event): Hack scrollwheel - support into the eventloop, by treating button 4-5 - presses on scrolled windows and scrollbars specially. - Put it here to keep the ugliness small and confined. - (We need to intercept the normal propagation in any case - to have this work reliably right now, since some - subwidgets will trap the button presses) - - * gtk/gtkviewport.c (gtk_viewport_realize): Select for - BUTTON_PRESS to support the above hack. - -Tue Jan 26 14:02:50 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's - checks for already being mapped or hidden. See - the ICCCM's section on state changes for why this - is a bad idea. - -Wed Jan 27 17:05:40 1999 Owen Taylor - - * Separate out GLIB_LIBS and GLIB_DEPLIBS. This - may fix the --with-glib option. GLIB_LIBS are - the libs to link example programs against, while - GLIB_DEPLIBS are dependency libraries. - -Wed Jan 20 11:19:00 1999 Owen Taylor - - * gtk/gtklabel.c: Use floor() instead of truncating - to integer values so we get translation invariance. - - * gtk/gtklayout.c (gtk_layout_size_allocate): Set upper - and lower values for adjustments in size_allocate(). - - * gdk/gdkwindow.c gdk/gdk.h gdk/gdkprivate.h: New - function gdk_window_set_static_gravities() to set - up a window for guffaw scrolling. - - * gdk/gdkwindow.c (gdk_window_internal_destroy): Set flags - indicating destroyed state before cleanup. - - * gtk/gtkprivate.h gtk/gtkwidget.c: Add a new - private flag IS_OFFSCREEN. If set, this indicates - to GTK+ that the widget is not to be considered - viewable regardless of its map state. Queued draws - on offscreen widgets are suppressed. - - Added new function static gtk_widget_is_offscreen() to - check this flag on a widget and its ancestors. - - * gtk/gtklayout.[ch]: Major revisions. - - - Use gdk_window_set_static_gravities to set static gravity - on all child windows, and thus avoid having to create a window - for NO_WINDOW children. - - - Adjust allocations of children as we scroll them - so queued draws work correctly. - - - Don't allocate our children directly in a put() - or move(); just queue a resize() like every other - widget. - - * gtk/testgtk.c: Make the arrows on the scrollbars - work, create a larger and more demanding test. - -Wed Jan 27 09:19:07 1999 Tim Janik - - * gdk/gdkcolor.c (gdk_colormap_unref): assert ref_count>0. - -Mon Jan 25 20:05:22 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_{visual,colormap}): - New functions to set the colormap or visual - of an existing widget. These functions should not - be called on a widget that has previosly been - realized. - - * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): - Set the visual and colormap on the toplevel dialog, - then push them for the child widgets. As opposed - to push/pop in _new(), this way, things will work - properly with gtk_widget_new(). - -Mon Jan 25 19:41:56 1999 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_page_allocate): Queue - a redraw on the tab area when a tab changes size. - (Includes improvements from Lars Hamann) - -Mon Jan 25 19:00:13 1999 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_value_events): - Back out the last solution to updating problem. And - try a different one that is less dependent on - the state of the widget. Just redraw the value_marker - when it gets mapped. Somebody needs to analyze - this widget more carefully and figure out when - it should be setting the contents of the previews - with more care. - -Mon Jan 25 17:48:03 1999 Owen Taylor - - * gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE() - tests - we need to update the value bar's contents - even when the widget is unmapped. - -Mon Jan 25 15:47:46 1999 Owen Taylor - - * acinclude.m4 (ac_result): Don't define ENABLE_NLS - unless we have a working NLS. (This should keep - libintl.h from being included when it doesn't - exist). - -Mon Jan 25 11:05:10 1999 George Lebl - - * gtk/gtkbutton.c: set RECEIVES_DEFAULT on init, and a - button press on the widget doesn't grab default anymore - - * gtk/gtkcheckbutton.c,gtk/gtkoptionmenu.c,gtk/gtkradiobutton.c: - unset RECEIVES_DEFAULT on init - - * gtk/gtkwidget.[ch]: add a RECEIVES_DEFAULT flag to widget - flags - - * gtk/gtkwindow.c,gtk/gtkplug.c: on pressing , activate - the focused widget if it is a RECEIVES_DEFAULT widget, - no matter what the current default_widget is - - * gtk/gtkwindow.c: on focus change, migrate the HAS_DEFAULT - flag to CAN_DEFAULT widgets if they RECEIVE_DEFAULT as well - or migrate it back to the default_widget if the focus widget - doesn't "RECEIVE_DEFAULT" - -Sun Jan 24 18:09:24 1999 Owen Taylor - - * gdk/gdkdnd.c (motif_read_initiator_info): Byteswap - the MotifInitiatorInfo structure _before_ using it. - -Sun Jan 24 12:17:39 1999 Owen Taylor - - * gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix - reversed assertion. - (Pointed out by Austin Donnelly ) - - * gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary - and harmful call to gtk_paint_box(). We are going - to paint onto the backing store later anyways. - -Sat Jan 23 11:15:39 1999 Owen Taylor - - * gdk/gdkdnd.c (gdk_window_register_dnd): X expects - longs, not uint32 for XChangeProperty, when - format == 32. - - * gdk/gdkdnd.c (motif_read_initiator_info): Byte-swap - the MotifInitiatorInfo structure if necessary. - - * gdk/gdkdnd.c: When extracting and constructing - Motif DND messages, don't use data.s[], data.l[] - since on 64bit architectures, these won't necessarily - be in the same place with data.b[]. - - * gtk/testdnd.c (target_drag_drop): Return TRUE for - drag_drop within the drop zone. - - * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Only send - a XmTRANSFER_FAILURE if no drop site is found, not - on every drop! - -Fri Jan 22 19:22:39 1999 Owen Taylor - - * gtk/gtkeditable.c: Add flags field to - GtkTargetEntry table. - - * gdk/gdkwindow.c (gdk_window_is_viewable): Treat foreign - windows as always viewable, since we can't track their - map-state reliably without speed problems. (Fixes - problem where updating didn't occur properly within - GtkPlug) - -Sat Jan 23 13:41:00 1999 Jeff Garzik - - * gtk/gtkctree.c - (tree_delete): Don't search selection list twice. - (real_select_row): Remove extra ';', add default for clarity. - -Sat Jan 23 01:44:43 1999 Lars Hamann - - * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int) - (gtk_spin_button_get_value_as_float): removed extra - gtk_spin_button_update calls again. - * gtk/gtkclist.c (gtk_clist_unmap): unblock dnd signal handler if - neccessary - * gtk/gtknotebook.c (gtk_notebook_button_press): grab_focus before - switch_page - (gtk_notebook_set_shape): don't use cur_page if it's NULL. - -Fri Jan 22 12:20:54 1999 Jeff Garzik - - * gtk/gtktooltips.c: - Fix recent change to match existing coding style. - -Fri Jan 22 07:33:44 1999 Tim Janik - - * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into - account for GTK_POS_LEFT. - - * gtk/gtkradiobutton.c (gtk_radio_button_set_group): use - gtk_toggle_button_set_active () to set the new state. - (gtk_radio_button_new): only _set_group if group != NULL. - (gtk_radio_button_clicked): reference the widget. - (gtk_radio_button_init): make radio buttons active upon - startup. - -Thu Jan 21 17:13:12 1999 Jeff Garzik - - * gtk/gtkselection.c: - (gtk_selection_property_notify): Check args for NULL. - (gtk_selection_default_handler): - Replace manual list count with call to g_list_length. - Remove signedness of temp var 'count' to agree with usage. - Slight spacing adjustment for readability. - - * gtk/gtkbox.c, gtk/gtklayout.c, gtk/gtkselection.c: - Init a few ptrs to NULL, to quiet warnings. - -Thu Jan 21 16:03:02 1999 Owen Taylor - - * gtk/gtkbutton.c (gtk_button_expose): Code cleanup. - - * gtk/gtktreeitem.c: Add a paint routine, fix up bugs - in drawing where if the expose area was contained - completely in the right side of the tree the background - wasn't redraw, etc. - - * gtk/gtkwidget.c (gtk_widget_clip_rect): Fix a bug - in clipping draw regions while propagating them - upwards. - -Thu Jan 21 12:20:51 1999 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_dialog_new): - Pushing and popping the visual/cmap in the init() - function does no good, because the window itself needs - to be create with that visual/cmap. - - So do it in the new() function instead. - - This will require people doing gtk_widget_new() to do - the push/pop themselves, but I don't see any way around - it other than digging in and tweaking the window - widget's colormap and visual ourselves, which - is highly non-kosher, but would be safe... - -Thu Jan 21 16:04:35 1999 Timur Bakeyev - - * gtk/gtkrc.c (gtk_rc_init): It was reported by Owen Taylor - , that LC_ALL produce unparsable garbage - on some glibc'ed systems and HP/UX. So, falling to LC_CTYPE. - -Thu Jan 21 02:11:44 1999 Owen Taylor - - * Set and read the XdndActionList property defined - in the Xdnd spec. We do this always, not just for - XdndActionAsk like the spec says, but if we don't - find it, we fall back to actions = suggested_action, - which is compatible with the language of the spec. - -Thu Jan 21 01:15:28 1999 Jeff Garzik - - * gdk/gdkdnd.c (gdk_drag_context_unref): - Move not-null assertion before pointer de-ref. - - * gdk/gdkevents.c (gdk_event_queue_find_first): - Fix infinite loop bug. Someone should look at this further to - make sure the events_pending tests are correct. - -Thu Jan 21 00:44:47 1999 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling - for drops should be keyed on GTK_DRAG_DEFAULT_DROP - not GTK_DRAG_DEFAULT_MOTION. - -Wed Jan 20 21:52:51 1999 Jeff Garzik - - * gtk/gtkclist.c (real_remove_row): - Don't search entire row list twice for element being removed. - - * gtk/gtkmenushell.c (gtk_menu_shell_insert): - Replaced hand-coded implementation of g_list_insert with - call to g_list_insert. - - * gtk/gtktooltips.c - (gtk_tooltips_destroy_data, gtk_tooltips_layout_text): - tooltipsdata->row test not-null test now properly encompasses - both g_list_* calls. - -Thu Jan 21 02:47:36 1999 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_focus): few cleanups. - (gtk_notebook_key_press): call select page function for - GDK_DOWN key in case of tab_pos == TOP. Changed other - positions accordingly. - -Wed Jan 20 19:57:14 1999 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_begin): Start off with the - cursor for "no drop" since if we'll get a status - if we are over a drag window, but none if we aren't - over one. - -1999-01-20 Jeff Garzik - - * gtk/gtkcombo.c (gtk_combo_entry_key_press): - Free 'nprefix', closing a memory leak. - Spaced out the code a bit to make it more readable. - - * gtk/gtkhbox.[ch] (gtk_hbox_new), - gtk/gtkvbox.[ch] (gtk_vbox_new): - Change 'homogenous' arg from gint to gboolean. - - * gtk/gtktogglebutton.[ch]: - New function gtk_toggle_button_get_active(). - -1999-01-20 Federico Mena Quintero - - * gtk/gtkdnd.c (gtk_drag_get_event_action): Allow button 2 to act - as GDK_ACTION_ASK. Also, allow MOD1 to specify GDK_ACTION_ASK - only if that action is enabled in the actions argument. - -1999-01-20 Raja R Harinath - - * configure.in (gtklocaledir): New variable. Define to - $prefix/$DATADIRNAME/locale. This will point to the directory - where po/Makefile actually installs the message translation - tables. - * gtk/Makefile.am (INCLUDES): Define GTK_LOCALEDIR to - $(gtklocaledir) rather than $prefix/share/locale. - -Wed Jan 20 21:07:45 1999 Timur Bakeyev - - * gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of - LC_MESSAGES in locale.h. As a last resort for such systems, set locale - according to LC_ALL. - -Wed Jan 20 13:06:51 1999 Owen Taylor - - * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing - a background pixmap in with gdk_draw_pixmap(), set - it as a tile pixmap for a GC. This should speed - up things considerably and also will hide a bug - where text->first_onscreen_ver_pixel is being - corrupted, causing the bg pixmap drawing code to generate - graphics exposes. - -Tue Jan 19 22:15:10 1999 Lars Hamann - - * gtk/gtklist.c - (gtk_list_button_press): only call grab_add if pointer_grab succeeds. - (gtk_list_unmap): remove pointer/widget grabs if needed. - (gtk_list_signal_focus_lost): removed. - (gtk_list_focus) (gtk_list_set_focus_child): set last_focus_child. - (gtk_list_remove_items_internal) (gtk_list_clear_items): unset - undo_focus_child if neccessary. In case of SELECTION_BROWSE/EXTENDED - select a new item if selection is empty. - -Tue Jan 19 00:21:15 1999 Tim Janik - - * gtk/gtkcompat.h: add compatibility define for - gtk_ctree_set_reorderable. - -Tue Jan 19 00:02:10 1999 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_node_set_row_data_full): - add a sanity check [from Todd Dukes ] - -Mon Jan 18 22:54:11 1999 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_press): only call grab_add - if pointer_grab succeeds. - (gtk_clist_unmap): remove pointer/widget grabs if needed. - -Mon Jan 18 15:46:14 1999 Owen Taylor - - * gtk/gtklabel.c (gtk_label_init): Initialize - label->label_wc. (We allocate labels from - a memchunk) - -Mon Jan 18 18:53:08 1999 Tim Janik - - * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a - meaningfull range (we need to stay below a certain limit anyways - to avoid string buffer overflows). - - * gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background - area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM. - * gtk/gtkhscale.c (gtk_hscale_pos_background): likewise. - (gtk_hscale_draw_value): safety CLAMP the value's x position for - GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of - our allocation. - - * gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value - and GtkScale::value_pos arguments. - -Mon Jan 18 14:26:17 1999 Owen Taylor - - * docs/Changes-1.2.txt: Some editing, a little more - detail. - -Mon Jan 18 13:25:14 1999 Owen Taylor - - * gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to - set the title of a menu in the torn-off state. - - * gtk/gtkthemes.c (gtk_theme_engine_get): When loading - of theme engine fails, just warn and do without - - don't error out. - - * gtk/gtkmain.c (gtk_check_version): s/to/too/. - -Mon Jan 18 01:21:03 1999 Lars Hamann - - * gtk/gtkctree.c (draw_row): fixed auto resize bug. - -Sun Jan 17 17:35:28 CST 1999 Shawn T. Amundson - - * Released GTK+ 1.1.13 - - * README: - INSTALL: - docs/gtk-config.1: ver=1.1.13 - -Mon Jan 18 00:22:54 1999 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release): - block drag source signal handler during column resizes. - (gtk_clist_set_column_visibility): resize clist if needed. - (gtk_clist_map): raise resize windows to make resize - cursor visible again. - -Sun Jan 17 22:47:15 1999 Tim Janik - - * gtk/gtkwidget.[hc]: - * gtk/gtkspinbutton.[hc]: - * gtk/gtkscrolledwindow.[hc]: - * gtk/gtkprogressbar.[hc]: - * gtk/gtkpreview.[hc]: - * gtk/gtkobject.[hc]: - * gtk/gtkentry.[hc]: - * gtk/gtkctree.[hc]: - * gtk/gtkcontainer.[hc]: - * gtk/gtkclist.[hc]: - removed deprecated functions: gtk_clist_set_border, - gtk_container_block_resize, gtk_container_unblock_resize, - gtk_container_need_resize, gtk_ctree_set_reorderable, - gtk_ctree_show_stub, gtk_ctree_set_use_drag_icons, - gtk_entry_adjust_scroll, gtk_object_class_add_user_signal, - gtk_preview_put_row, gtk_progress_bar_construct, - gtk_scrolled_window_construct, gtk_spin_button_construct, - gtk_widget_freeze_accelerators, gtk_widget_thaw_accelerators. - - * gtk/gtkcheckmenuitem.c: removed binary variant of - gtk_check_menu_item_set_state, this is still defined in gtkcompat.h - though. - - * docs/Changes-1.2.txt: - removed section about gtk_idle_remove_by_data vs. - gtk_timeout_remove_by_data, we actually don't even provide a - gtk_timeout_remove_by_data() function. - added a table with removed functions and their replacements. - - * NEWS: updates for 1.1.13. - -Sun Jan 17 17:56:33 1999 Owen Taylor - - Patch from Felix Bellaby - - * gdk/gdk.c: Use XmbSetWMProperties to set - the class/command on the loader window so that the - client machine is also set in the same place. - (For X11R5 sesssion management compatibility) - - * gdk/gdk.c: (gdk_set_sm_client_id) Implementation - of function to set the session manager client ID. - - * gdk/gdkwindow.c (gdk_window_new): Set - WM_CLIENT_LEADER propertiy on all windows pointing - back to GDK's leader window. - -Sun Jan 17 12:01:57 1999 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_style_init): Allow a bg_pixmap - of "", as there was no way to set the background - on all widget but some widgets. This is important - because Text widgets with background images are - slow and possibly ugly. - -1999-01-17 Nat Friedman - - * gtk/gtkscrolledwindow.c (DEFAULT_SCROLLBAR_SPACING): New macro. - Changed the spacing from 5 to 3. - - * gtk/gtkmenubar.c (BORDER_SPACING): Changed the extra spacing on - the menubar from 2 to 0. - -Sun Jan 17 11:51:17 1999 Owen Taylor - - * gtk/gtktext.c (gtk_text_move_cursor): Fix typo - [ gtk-mailund-990116-0: Thomas Mailund Jensen ] - -Sun Jan 17 11:15:05 1999 Christopher Blizzard - - * gtk+.spec: Update to version 1.1.13, change packager address. - -Sun Jan 17 14:52:29 1999 Tim Janik - - * gtk/gtkcompat.h: - * gtk/gtkcheckmenuitem.[hc]: - deprecated gtk_check_menu_item_set_state, people should use - gtk_check_menu_item_set_active instead. - - * gtk/testgtk.c: - s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/. - -Sun Jan 17 05:19:14 1999 Tim Janik - - * configure.in: incremented version number to 1.1.13, bin age 0, - interface age 0. - - * gtk/gtkmain.c (gtk_idle_remove_by_data): use g_idle_remove_by_data to - remove idles, so `data' cannot conflict with other sources. - - * gtk/gtkcompat.h: define gtk_style_apply_default_pixmap here. - - * gtk/gtkstyle.[hc]: removed gtk_style_apply_default_pixmap. - (struct _GtkStyle): reordered GtkStyleClass*klass; member. - -Sat Jan 16 19:42:48 1999 George Lebl - - * gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y - to the position of the tooltip. This fixes tooltip positioning - problems with some widgets such as a checkbox. - -Sat Jan 16 14:01:53 1999 Stuart Parmenter - - * gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL - -Sat Jan 16 05:02:22 1999 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug. - -Fri Jan 15 19:16:42 1999 Tim Janik - - * gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk - code. - - * gtk/gtkrc.c (gtk_rc_style_unref): added an assertment. - - * gtk/gtkcompat.h: - * gtk/gtklabel.h: - don't provide compatibility defines if GTK_DISABLE_COMPAT_H is defined. - - * gtk/gtkstyle.h: - * gtk/gtkstyle.c: coding style, indentation and alignment fixups. - (gtk_draw_string): - (gtk_paint_string): - (gtk_draw_polygon): - (gtk_style_set_background): fixed assertments. - (gtk_default_draw_ramp): - (gtk_default_draw_cross): - (gtk_default_draw_oval): issue warnings since these functions aren't - yet implemented. - - * gdk/gdkwindow.c: - (gdk_window_hide): only unmap window if already mapped. - (gdk_window_show): only map window if !mapped. - (gdk_window_internal_destroy): destroyed windows can't be mapped. - - * gtk/gtkwidget.c (gtk_widget_event): don't ignore expose events just - because a resize is queued on a widget, we rely on the expose events - now. - -Fri Jan 15 10:22:21 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_class_init): - nparams for selection_get should be 3, not 2. - [ From Damon Chaplin ] - - * gtk/gtkeventbox.c (gtk_event_box_paint): Add a paint - routine so queued redraws work inside event boxes. - -Thu Jan 14 17:47:37 1999 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only - redraw character under cursor when not displaying - highlighted selection. - - * gdk/gdkrgb.c (gdk_rgb_init): Add in a cast to - gpointer to make IRIX cc happy. - -Thu Jan 14 12:29:50 1999 Owen Taylor - - * gtk/gtkcheckbutton.c (gtk_check_button_draw): Restructure - the drawing code to remove a bit of duplication - - and to remove a call to gtk_widget_draw_focus() - that queues a redraw when an expose occurs. - - * gtk/gtklabel.c (gtk_label_expose): Fix up handling - of ypadding. - - * gtk/gtknotebook.c (gtk_notebook_draw): If we redraw - the whole widget, also redraw the corresponding - areas of the child widget. (have_visible_child - still has some problems) - - * gdk/gdkpixmap.c: Change some g_new's to g_new0 so - that fields unused for pixmaps get initialzized - sanely. - - * gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: Add new calls - gdk_window_is_visible() and gdk_window_is_viewable() - and a mapped flag to the window private structure. - - * gtk/gtkbin.c gtk/gtkclist.c gtk/gtkfixed.c gtk/gtkitem.c - gtk/gtklayout.c gtk/gtklist.c gtk/gtkmenushell.c - gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtktree.c - gtk/gtktreeitem.c gtk/gtkviewport.c: - Map windows after mapping children. - - * gtk/gtkwidget.c (gtk_widget_clip_rect): Handle - rectangles completely clipped away correctly. - - * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't - call gtk_widget_draw if width or height is 0. - - * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't - rely on GTK_REDRAW_PENDING after we've cleared - it. (This was causing draw-combining to not - happen at all). - - * gtk/gtkbin.c gtk/gtkscale.c: Remove uneccessary calls - to gtk_widget_queue_draw() when mapping. - -Thu Jan 14 11:29:53 1999 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_get_event_action): Make - MOD1-drag also do action ask. - - * gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the - button-release event we simulate to get grabs released, - with a window of GDK_ROOT_PARENT instead of the actual - widget. This is a bad hack in some sense, but seems - to work nicely. (It's sort of like what you would - if you grabbed on button press, then the user - released outside of the widget.) - -Thu Jan 14 20:29:16 1999 Owen Taylor - - * gtk/gtkstyle.[ch] (gtk_style_apply_default_background): - Change copy_area => !set_bg. Use tile instead of - gdk_window_copy_area when drawing without !set_bg. - - This does mess up timj's neat check-button example, - but is consistent with how we interpret background - pixmaps everywhere else in the default scheme. - - Restructure code for clarity. - -Thu Jan 14 19:19:51 1999 Owen Taylor - - * gdk/gdkevents.c: Do all event processing in - dispatch() instead of prepare() and check(). - -Wed Jan 13 22:34:29 1999 Owen Taylor - - * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c - gtk/gtkframe.c gtk/gtk[hv]box.c gtk[hv]paned.c gtk/gtklist.c - gtkmenu.c gtkmenuitem.c gtkmenubar.c gtknotebook.c - gtk/gtkscrolledwindow.c gtk/gtktable.c gtk/gtktree.c - gtk/gtktreeeitem.c gtk/gtkviewport.c - - Fix up comparisons of signed and unsigned ints to avoid - assigning negative widths/heigths. - -Wed Jan 13 21:18:41 1999 Owen Taylor - - * acinclude.m4 (ac_result): Unset CATOBJEXT so - that the macros and Makefiles correctly handle - disabling NLS when no gettext is found. - -Wed Jan 13 20:14:32 1999 Tim Janik - - * gtk/gtkarg.c (gtk_arg_copy): in comparisions with GTK_TYPE_STRING, use - the fundamental type to catch GTK_TYPE_IDENTIFIER as well. - - * gtk/gtkmenushell.c: - (gtk_real_menu_shell_activate_current): - (gtk_menu_shell_button_release): asure that we only activate sensitive - menu items, reported by Dave Cole . - -Wed Jan 13 13:28:00 1999 Tim Janik - - * gtk/gtkwidget.c: eliminate queue_clears or queue_draws where we know - that expose events will be generated. - (gtk_widget_map): only queue_draw for NO_WINDOW widgets. - (gtk_widget_unmap): only queue_clear_child for NO_WINDOW widgets. - (gtk_widget_size_allocate): we don't need a queue_clear on changing - allocations of !NO_WINDOW widgets, we do still need a full redraw for - them though. - - * gtk/gtklabel.c (gtk_label_set_text): check whether the new string - actually differs from the original. - -Tue Jan 12 22:50:44 PST 1999 Manish Singh - - * acinclude.m4 - * ltconfig - * ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf) - -Tue Jan 12 18:30:51 1999 Owen Taylor - - * gtk/testdnd.c (label_drag_data_received): Add - a drag_data_received handler for the label. - -Tue Jan 12 15:01:50 1999 Owen Taylor - - * gdk/gdkevents.c: Removed the putback_events queue, - since it was causing problems with event ordering - - just keep a single queue. If we need it, we can - add priorities to events. - - * gdk/gdkevents.c: Annotate events with flags - we allocate - a GdkEventPrivate structure in gdk_event_new() and use these - flags to mark an event being translated as "pending" - - I.e., not yet ready to be dequeued. So we can put - the event on the queue and get the order of the - events right. (This solves the double-click problems) - - * gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy - of the next event on the event queue. - - * gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek() - to check the next event without causing event queue - reordering. - -Tue Jan 12 15:41:20 1999 Owen Taylor - - * gtk/gtklabel.c (gtk_label_expose): Minor fix - to handling of misc->[x/y]pad - -Tue Jan 12 14:31:43 1999 Owen Taylor - - * gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap): - Add back as wrapper function to restore source/binary - compatibility. grrrr. - -Tue Jan 12 13:47:07 1999 Tim Janik - - * reworked the redrawing heuristics somewhat, this fixed a bunch of - existing redrawing problems and majorly reduces overall redrawing needs - during normal operation. basically we now only queue redraws when - neccessary and much rely on the draw_area coalescing code in gtkwidget.c - to optimize the queued portions. widgets will now upon reallocation only - get redrawed if their allocation has changed. upon hide/show only the - area allocated by the child will be queued for the parent, this has the - side effect that parents which change their appearance in dependance on - the numer of visible children have to keep track of their children's - visiblity and eventually fully redraw themselves. this is a minor - constrain with great benefits in terms of redraw reduction, and only got - triggered by the notebook widget. - - * gtk/gtkwidget.c: - (gtk_widget_queue_clear): don't bother if width and height == 0. - (gtk_widget_queue_clear_child): new static function to queue a redraw of - the area obscured by a child on a parent. - (gtk_widget_queue_resize): queue_clear the widget if it is drawable. - (gtk_widget_show): queue resize on the widget before showing. - (gtk_widget_hide): queue resize on the widget after hiding. - (gtk_widget_map): queue_draw the widget after mapping. - (gtk_widget_unmap): queue_clear_child the widget. - (gtk_widget_size_allocate): queue_clear_child and queue_draw if the - widget's allocation changed. - (gtk_widget_unparent): queue_clear_child so the parent redraws obscured - portions. - (gtk_widget_real_show): - (gtk_widget_real_hide): - (gtk_widget_real_map): - (gtk_widget_real_unmap): - (gtk_widget_real_size_allocate): don't bother with redraw queueing, - descendants that override these functions don't do either and we handle - all redrawing/resizing related stuff before or after the signal emission - now. - - * gtk/gtkcontainer.c: - (gtk_container_resize_children): don't bother about redrawing anymore - since gtk_widget_size_allocate handles that for us now. - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c: - added a flag have_visible_child to indicate whether we need to draw - non child related portions at all, e.g. shadows etc. - (gtk_notebook_draw): if have_visible_child changed, do a full paint - instead of updating a small area only. - -Mon Jan 11 20:44:35 1999 Tim Janik - - * gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to - gtk_style_apply_default_background which takes an extra argument - copy_area to determine NO_WINDOW widget pixmap copying. - changed callers accordingly. - - * gtk/gtktogglebutton.c: - (gtk_toggle_size_allocate): - (gtk_toggle_button_expose): - (gtk_toggle_button_paint): avoid messing with our parent's window if - toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget. - - * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw - the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active. - - * gtk/check-n.xpm: - * gtk/check-y.xpm: - * gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button - bg_pixmaps. - -Mon Jan 11 23:52:58 1999 Lars Hamann - - * gtk/gtklist.c (gtk_list_signal_drag_begin) - (gtk_list_drag_begin): end drag selections if necessary. - - * gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function - public. Manually force synchronization of spin button text and - adjustment value. - -Mon Jan 11 15:23:32 1999 Tim Janik - - * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking - gtk_widget_set_state, since that cares about redrawing already. - some code cleanups. - - * gtk/gtktogglebutton.[hc]: - * gtk/gtkfontsel.c: - * gtkgamma.c: - s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since - set_state is already taken by gtkwidget.h. - - * gtk/gtkcompat.h: #define gtk_toggle_button_set_state - gtk_toggle_button_set_active. - - * gtk/gtkstyle.c: some indentation cleanups. - -Mon Jan 11 15:12:33 1999 Tim Janik - - * gtk/gtktogglebutton.c (gtk_toggle_button_set_mode): take previous - visibility state into account when unrealizing. - -Mon Jan 11 10:45:28 1999 Owen Taylor - - * gtk/gtkdnd.c: Only remove handlers for motion/button_release - at drop, remove "selection_get" handler later. - -Mon Jan 11 13:31:49 1999 Tim Janik - - * gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks - again, since they 1) don't care about infinite recursion (likely - to achive), 2) we are in feature freeze for 1.2. this definitely - deserves a sane implementation in 1.3 though (but without a hook - return value, without seq_id hackery and with recursion checks). - -Mon Jan 11 13:18:37 1999 Tim Janik - - * gtk/gtkwindow.c: - (gtk_window_key_release_event): - (gtk_window_key_press_event): only pass key events to the focus widget - if it is sensitive. - - * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the - submenu if it isn't sensitive. - (gtk_menu_item_paint): state_type doesn't need to be reset to - GTK_STATE_INSENSITIVE if the widget is insensitive anyways. - - * gtk/gtkcontainer.c (gtk_container_real_focus): - * gtk/gtklist.c (gtk_list_focus): - * gtk/gtkmenushell.c (gtk_menu_shell_move_selected): - * gtk/gtknotebook.c (gtk_notebook_focus): - s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets - sensitivity is determined through the parent as well, - GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere - else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for - sensitivity. - - * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate - object if it is an insensitive widget. - -Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro - - * gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook(). - You can have a notification when a type is created. - -1999-01-11 Tim Janik - - * gtk/gtkmain.c (gtk_propagate_event): added an assertement. - -Sun Jan 10 14:45:37 1999 Owen Taylor - - * gtk/gtktext.c (text_properties_equal): Fixed - cut and paste bug when comparing text property - bg colors. - [ Matt Aubury ] - -1999-01-10 Tim Janik - - * gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try - to initialize the object class and reattempt the lookup, reported - by Paolo Molaro . - -Sat Jan 9 17:36:20 1999 Owen Taylor - - * configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS. - -Sat Jan 9 17:27:49 1999 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_populate): - Mark another string for internationalization. - [ Stanislav Brabec ] - -Sat Jan 9 14:02:08 1999 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_force_window): Set - name "gtk-tooltips" on tip window so that a style - can be set for tooltips. - -Fri Jan 8 19:00:17 1999 Owen Taylor - - * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed - some list-manipulation breakage. - - * gdk/gdkdnd.c (gdk_window_cache_destroy): Free - window cache structure. - - * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an - event mask on the drag window so clicking on it - doesn't pop up root menus, etc. - - * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove - signal handlers at button release. - -Fri Jan 8 00:42:00 1999 Lars Hamann - - * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int) - (gtk_spin_button_get_value_as_float): call gtk_spin_button_update - before returning a value - - * gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections' - if clist is a drag source. - (gtk_clist_drag_begin): remove pointer grabs, end ongoing selections. - - * gtk/gtkctree.c (remove_grab): copy of clist function. - (gtk_ctree_drag_begin): let clists drag_begin method set the - source info struct. - -Thu Jan 7 19:10:21 1999 Owen Taylor - - * gtk/gtkviewport.c (gtk_viewport_style_set): Fixes - to drawing the background of the bin window - so that clearing and redrawing of child - widgets work properly. - - * gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around - data so that if somebody triggers more redraw queuing - from a expose_event handler, it doesn't confuse the - heck out of GTK+. (But is highly liable to cause - an infinite loop...) - -Thu Jan 7 12:31:41 1999 Owen Taylor - - * gtk/gtkselection.c (gtk_target_list_unref): Fix some - more memory leaks. - -Wed Jan 6 23:14:19 1999 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported - by Bertrand Guiheneuf. Don't return FALSE if source widget != dest. - widget. - -Wed Jan 06 10:04:12 1999 Tristan Tarrant - - * configure.in,po/it.po: added Italian translations - -Tue Jan 05 21:18:00 1999 George Lebl - - * gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the - event that was returned to us by gtk_get_current_event - -Tue Jan 5 19:01:18 1999 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push - GdkRGB's visual and colormap around the color selection - dialog so that the window and the previews have the - same colormap. If an app adds things to the colorsel - dialog, it will have to take care of them itself. - -Tue Jan 5 15:03:47 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): Make - gtk_propagate_event() non-static, we need it in gtkdnd.c - so that the button-release we synthesize gets propagated - correctly. - - * gtk/gtkdnd.c: Use gtk_propagate_event() so - release gets to a GtkList. But we can't really - get this right without access to the windows - event masks and doing X-style propagation ourselves. - -Tue Jan 5 12:40:57 1999 Owen Taylor - - * gtk/gtkpreview.c: Add a size_allocate() routine - and set the size of the preview window equal - to the area we are going to draw on, instead - of the entire allocation. Do this to avoid having - to set a parent-relative background. - -Tue Jan 5 11:51:32 1999 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): - When redrawing the under-cursor character, don't - redraw the terminating NULL. - [ From: dov@imagic.weizmann.ac.il (Dov Grobgeld) ] - -Tue Jan 5 11:31:55 1999 Owen Taylor - - * gtk/gtkselection.c (gtk_target_list_unref): Free - memory allocated for target lists. - - * gtk/gtkdnd.c (gtk_drag_drop_finished): Release - selections before destroying info structure. - - * gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add - new value GDK_DRAG_PROTO_NONE, use it for non-drag - targets, to quiet Purify. - - * gdk/gdkdnd.c (gdk_window_register_dnd): Set size - of property properly. - -Mon Jan 4 03:45:42 CST 1999 Shawn T. Amundson - - * Released GTK+ 1.1.12 - - * INSTALL: - NEWS: - README: - configure.in: - gtk+.spec: - docs/gtk-config.1: - gtk/gtkfeatures.h.in: version=1.1.12 - -1999-01-04 Sung-Hyun Nam - - * configure.in (ALL_LINGUAS): Added 'ko'. - -Sun Jan 3 17:41:22 1999 Lars Hamann - - * gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug - -Sat Jan 2 03:54:30 1999 Tim Janik - - * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT. - - * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with - a priority of GDK_PRIORITY_EVENTS. - -1999-01-02 Jeff Garzik - - * configure.in, config.h.in, gdk/gdkimage.c: - Removed features.h test. - - * gdk/gdkdnd.c: - Guard public functions against NULL pointer derefs. - -Fri Jan 1 18:41:09 PST 1999 Manish Singh - - * gdk/gdk.c - * gdk/gdkinputnone.h - * gtk/gtkruler.c: casts to get rid of const warnings - - * gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a - cmp so people don't whine about rebuilds - - * gtk/gtknotebook.c: use g_snprintf on translated strings, so we - don't get buffer overflows - - * gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf - Plug some memleaks. - -1999-01-01 Jeff Garzik - - * configure.in, config.h.in: - Check for features.h. - - * gdk/gdkevents.c (gdk_event_put, gdk_events_queue): - Fixed bug in linked list append logic by replacing hand-coded - logic with a call to g_list_append. Bug found by tml. - - * gdk/gdkimage.c: - 'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors - in sys/ipc.h, including one specific admonishment to use - _SVID_SOURCE or _XOPEN_SOURCE. Manually defined the latter, and - included features.h if present to obtain the necessary - side-effects. - - * gtk/gtkclist.c, gtk/gtkeditable.c: - Eliminates comma-after-final-element warnings. - - * gtk/gtkfontsel.c (gtk_font_selection_init): - Fixed bug where an intl string was declared as _("x") in - local var initializer. - -1998-12-31 Jeff Garzik - - * gtk/gtklabel.c (gtk_label_split_text_wrapped): - word->space is now initialized correctly. - Reported by Chi-Deok Hwang . - -1998-12-30 Miguel de Icaza - - * gtk/gtkmain.c (gtk_main_do_event): Fix memory leak. - gdk_event_put would make a copy of next_event, and next_event was - not being freed. - -Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson - - * Released GTK+ 1.1.11 - - * INSTALL: - NEWS: - README: - configure.in: - gtk+.spec: - docs/gtk-config.1: - gtk/gtkfeatures.h.in: version=1.1.11 - -1998-12-29 Owen Taylor - - * gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one - error when computing length. - -Thu Dec 24 14:35:48 1998 Jeff Garzik - - * gdk/gdkevents.c, gdk/gdkim.c, gdk/gdkrgb.c, gdk/gdkwindow.c, - gtk/gtkprogressbar.c: - Pull in string.h for various mem*() and str*() functions, - in an autoconf-friendly way. - -Thu Dec 24 12:40:45 1998 Jeff Garzik - - * gdk/gdkfont.c: removed unused var - * gdk/gdkim.c: 64-bit cast - * gtk/gtkaccelgroup.c: point to const data - * gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set): - Made const-correct. - * gtk/gtkfontsel.c: kill uninitialized var warning - * gtk/gtkselection.[ch]: (gtk_target_list_new, - gtk_target_list_add_table, gtk_selection_add_targets): - Made const-correct. - * gtk/testgtk.c: 64-bit cast - -Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson - - * INSTALL: - NEWS: - README: - configure.in: - gtk+.spec: - docs/gtk-config.1: - gtk/gtkfeatures.h.in: version=1.1.10 - -Wed Dec 23 20:31:40 1998 Owen Taylor - - * gtk/gtklabel.c: Fix problem where empty labels were - getting a requisition height of zero, and trailing - newlines were being ignored. - -Wed Dec 23 13:58:14 1998 Owen Taylor - - * gtk/gtklabel.c (gtk_label_parse_uline): - label->label should be the mb text _after_ removing - the underlines, not before. - - * gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item - title hack. If it deserves being done, it deserves - being done right. - -1998-12-23 Elliot Lee - - * gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj, - "GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have - it be recognized. If we're getting the title out of the GtkLabel, - then remove all underscores. - -Tue Dec 22 17:01:43 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_handle_event): - Request XmTRANFER_FAILURE on Motif drops not within - a drop zone. I don't know why this is necessary, - but it is. - - * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where - Motif flag field in response was getting wrong - values. - -Tue Dec 22 15:55:39 1998 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_button_press): - Return TRUE for button press events we handle. - (Allows option menus in radio buttons to work...) - -Tue Dec 22 14:50:25 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_find_widget): Optimization - - when we've already found a widget, skip all checks - for subsequent children. - - * gtk/gtkdnd.c (gtk_drag_find_widget): Checked for - !MAPPED, not !VISIBLE, since a widget (like a notebook - page), can be VISIBLE, but !REALIZED or !MAPPED. - - * gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(), - not foreach(). - -Mon Dec 21 22:01:49 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug - -Sun Dec 20 04:48:59 1998 Tim Janik - - * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which - events are processed. - - * gtk/gtk[main|signal|container].[ch]: removed deprecated _interp - variants: gtk_container_foreach_interp, gtk_idle_add_interp, - gtk_timeout_add_interp, gtk_signal_connect_interp. - -Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson - - * configure.in: added sv to ALL_LIGNUAS - -Sat Dec 19 22:49:40 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug - that caused this function to always return NULL (noticed by marius - vollmer). - -Sat Dec 19 17:28:30 1998 Owen Taylor - - * configure.in: Don't add the gthread libs to - GLIB_LIBS either, or -lgthread -lpthread will get - pulled into all applications because of shlib deps. - - * gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk: - Use GLIB's priority #define. Revise scale of - priorities. - -Sat Dec 19 03:44:29 PST 1998 Manish Singh - - * gtk/gtkmain.c: always run a g_main_iteration, even if - there are no active main loops. This fixes the gimp splash - screen. - -Sat Dec 19 05:37:51 1998 Tim Janik - - * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail - (label->words != NULL) since that's a valid case when the label - is empty, or just default constructed. - fixed indentation prototype arguments and braces in some places. - also, pointer comparisions and initializations are done with NULL - not 0, there's a reason GLib defines NULL. - - * gdk/gdkevents.c (gdk_events_pending): return (queued_events || - putback_events) so this again returns whether events are pending, - not whether other sources like idles are pending. - - * gtk/gtkmain.c (gtk_main_iteration_do): - (gtk_main_iteration): return whether the loop is done, not whether - something got dispatch to restore the original behaviour (yosh: this - fixes code like in GleSelector). - -Fri Dec 18 19:20:45 PST 1998 Manish Singh - - * gtkbutton.[ch] - * gtktogglebutton.c: s/(enter|leave)_button/$1/g, since pthreads.h - no longer conflicts - -Sat Dec 19 01:56:13 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS - bug. - -Fri Dec 18 15:30:43 PST 1998 Manish Singh - - * configure.in: add ja to ALL_LINGUAS - -Fri Dec 18 15:19:54 1998 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_filter_func): Marked - plug window as destroyed before destroying the - window. - -Fri Dec 18 14:17:14 1998 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the - tearoff window so when we reparent the window out, - the window doesn't shrink down. - -1998-12-18 Sebastian Wilhelmi - - * configure.in: do not export the glib flags for thread support to - gtk-config. - -Fri Dec 18 01:32:59 1998 Tim Janik - - * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we - get the original behaviour back, i.e. the event queue needs to be flushed - after a main loop has been quitted. - (gtk_main): add/remove the current main loop to/from the main loop - before/after init/quit functions have been exected to preserve the - original gtk_main_quit() behaviour. - -Thu Dec 17 23:48:29 1998 Tim Janik - - * gdk/gdkevents.c (gdk_events_init): changed argument order in call - to g_main_add_poll() to match recent glib changes. - -Thu Dec 17 20:33:28 1998 Owen Taylor - - * gtk-config.in: Add @INTLLIBS@. - gtk-scier-981116-0.patch Sean Cier ) ] - - * gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c - gtk/gtkgamma.c gtk/gtkinputdialog.c - gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c - gtk/gtktipsquery.c: - - Applied parts of gtk-egger-981215-1 [ Daniel Egger - ] marking additional strings for - internationalization. - - * po/nl.po: Added Dutch translation from - Paul Siegmann . - -Thu Dec 17 18:25:52 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the - info tag from the context so if the source unexpectedly - responds in the future, we do nothing properly. - -Thu Dec 17 18:24:41 1998 Owen Taylor - - * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle - the case where one side of the the pane is empty. - - * gtk/gtkfilesel.c (gtk_file_selection_init): Set - dir_title before using it. (Pointed out by - Lavoie Philippe ) - -Thu Dec 17 10:53:20 1998 Owen Taylor - - * gtk/gtklabel.c (gtk_label_set_text): Free - previous label->label_wc. - - * gtk/testgtkrc: Leave font, not fontset commented - in by default. - -1998-12-17 Sebastian Wilhelmi - - * gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed - unnecessary USE_XIM guard inside another. Made gdk_use_mb - static. Compile gdk_set_locale also if not USE_XIM. - -Thu Dec 17 00:26:01 1998 Shawn T. Amundson - - * Released GTK+ 1.1.9 - - * INSTALL: - NEWS: - README: - configure.in: - gtk+.spec: - gtk/gtkfeatures.h.in: - docs/gtk-config.1: version=1.1.9 - -Wed Dec 16 21:20:00 PST 1998 Manish Singh - - * autogen.sh: rm -rf intl breaks --disable-nls, put it back - - * gtkbutton.[ch] - * gtktogglebutton.c: s/(enter|leave)/$1_button/g. - Digital: 1 GTK+: 0 (for now) - -Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson - - * gdk/gdkevents.c: updated call to g_main_add_poll - instead of g_main_poll_add - -Wed Dec 16 23:32:05 1998 Owen Taylor - - * gtk/gtklabel.c (gtk_label_expose): Remove - unnecessary cast. - -Wed Dec 16 22:50:52 1998 Owen Taylor - - * gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0 - mb functions, and avoid them. - -Wed Dec 16 16:57:55 1998 Owen Taylor - - * gdk/gdkevents.c (gdk_events_queue): Don't - call XPending() if we have putback events. - -Wed Dec 16 16:04:41 1998 Owen Taylor - - * gtk/gtklabel.c (gtk_label_expose): Do nothing - on empty string, quietly. - -Wed Dec 16 15:36:19 1998 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): - Redraw the character under the cursor when removing - the cursor. - -Wed Dec 16 13:06:17 1998 Owen Taylor - - * gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main - thread lock back to GDK - we need it there for locking - when translating events. Rename things appropriately. - -Wed Dec 16 11:44:21 1998 Owen Taylor - - * gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo. - -Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson - - * Released GTK+ 1.1.8 - - * ChangeLog: - INSTALL: - README: - gtk+.spec: - docs/gtk-config.1: version=1.1.8 - -1998-12-16 Sebastian Wilhelmi - - * gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined. - -Wed Dec 16 07:03:32 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: s/USER_DRAW/APP_PAINTABLE/. provided - gtk_widget_set_app_paintable() which users can use to make - a widget paintable for the application. changed other files accordingly. - -Wed Dec 16 05:26:32 1998 Tim Janik - - * configure.in: version bump to 1.1.8, binary age 0, interface age 0, - depend on GLib 1.1.8. - - * gdk/gdkprivate.h: - * gdk/gdkglobals.c: removed last Gdk threads specific bits. - - * gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/. - - * gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE - to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE(). - honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER() - and GTK_THREADS_LEAVE(). changed callers accordingly. - -Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson - - * autogen.sh: warn if glib.m4 or gettext.m4 are not found - in aclocal's directory. - -Tue Dec 15 21:36:14 1998 Owen Taylor - - * gtk/testgtk.c (create_layout): Create buttons, - not combos again. - -1998-12-15 Joel Becker - - * autogen.sh: reordered gettextize and aclocal, because - gettextize was messing up aclocal.m4. - -Tue Dec 15 22:30:44 1998 Lars Hamann - - * gtk/gtkclist.h : - removed clist flag : GTK_CLIST_DRAG_SELECTION - added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS, - GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT - (GtkCListDragPos) : new enum for DND - (GtkButtonAction) : new enum of possible mouse button actions - (struct _GtkCList): added button_actions array. - Added drag_button and click_cell struct, to store cell and - mouse button of last button_press_event - - (struct _GtkCListClass): new class method draw_drag_highlight. - (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) : - new functions. Moved from gtkctree.h. Now clist is reorderable - as well. - (gtk_clist_set_button_actions) new function to customize mouse - button actions. - - * gtk/gtkclist.c: - (gtk_clist_drag_begin) - (gtk_clist_drag_motion) - (gtk_clist_drag_leave) - (gtk_clist_drag_end) - (gtk_clist_drag_drop) - (gtk_clist_drag_data_get) - (gtk_clist_drag_data_received) : new dnd widget methods to - implement clists reorderability via DND - - (remove_grab) : new function. remove mouse grab if necessary. - (draw_drag_highlight) : new method. Draw dnd highlight depending - on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT - - (gtk_clist_class_init): added object args "reorderable" and - "use_drag_icons" - - (gtk_clist_button_press) (gtk_clist_button_release) : - use button_actions array to decide which action to perform. - (gtk_clist_motion) : start reorder operation if necessary. - - * gtk/gtkctree.h : - (struct _GtkCTree): removed drag_icon, icon_widht, icon_height, - drag_row, drag_source, drag_target, reorderable, use_icons, - in_drag, drag_rect - (gtk_ctree_set_reorderable) : deprecated function. - use gtk_clist_set_reorderable instead. - (gtk_ctree_set_use_drag_icons) : deprecated function. - use gtk_clist_set_use_drag_icons instead. - - * gtk/gtkctree.c : - (gtk_ctree_class_init): removed object args "reorderable" and - and "use_drag_icons" - - (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor) - (tree_toggle_selection) (set_mouse_cursor) : removed - - (draw_drag_highlight) : new clist method. replacement for - draw_xor_line and draw_xor_rect functions - (check_drag) renamed check_cursor function - - (gtk_ctree_drag_begin) - (gtk_ctree_drag_motion) - (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees - reorderability via DND - - (gtk_ctree_button_release) - (gtk_ctree_button_motion) : removed. - - * gtk/testgtk.c: - (create_clist) : added new reorderable toggle button - -Tue Dec 15 19:50:41 1998 Owen Taylor - - * gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use - base[NORMAL] instead of bg[PRELIGHT] so CLists now can be - used in detergent commercials. - -Tue Dec 15 16:54:09 1998 Owen Taylor - - * gtk/gtklabel.h: Moved gtk_label_set() compatiblity - define from to for - compatibility. - -1998-12-15 Jeff Garzik - - * configure.in, gdk/Makefile.am, gtk/Makefile.am: - Removed last remaining thread-related configure bits - that have been moved into GLib. - -1998-12-15 Elliot Lee - - * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL - as the mask for checking for GDK_INPUT_EXCEPTION events. - -1998-12-15 Martin Baulig - - * acinclude.m4: Make the gettext check for for libc5 systems. - - * autogen.sh: Not running gettextize fails on a fresh CVS checkout - and we'll get a lot of bug reports tomorrow, so I add it back. - - * acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and - AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake - warnings. - -Tue Dec 15 16:06:15 1998 Owen Taylor - - * acinclude.m4: Provide a hacked version of the - gettext macros that never use the included gettext. - - * Makefile.am configure.in: Remove references - to intl/ - - * autogen.sh: Don't run gettextize. - -Tue Dec 15 14:30:35 1998 Owen Taylor - - * gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc() - - * Patch from Jonathan Blanford to add line wrapping - to label. (Based on patch from Jeff Dairiki - gtk-dairiki-971208-0) - - - Adds new function gtk_label_set_line_wrap() - - implement GTK_JUSTIFY_FILL. - - rename gtk_label_set to gtk_label_set_text() add - gtk_label_set() to gtkcompat.h. - - * Use an internal wc representation in the label, so - that we handle underlining and line breaks correctly - for multi-byte strings. - -Tue Dec 15 13:32:28 1998 Owen Taylor - - * gtk/gtkwidget.h: Added GTK_USER_DRAW flag. - - * gtk/gtkwindow.c: Honor GTK_USER_DRAW flag. - - * gtk/gtkdrawwindow.c gtk/Makefile.am: Removed - GtkDrawWindow, which GTK_USER_DRAW obsoletes. - -Tue Dec 15 11:37:05 1998 Owen Taylor - - * gtk/gtkmain.c: Fixed up some warnings. - -Tue Dec 15 10:32:01 1998 Owen Taylor - - * gtk/gtk{h,v,}paned.{c,h}: Add new functions - gtk_paned_set_position(), - gtk_paned_pack1/2(). The latter take a - shrink and resize parameters, that allows setting - minimum sizes and getting 'relative' resizing. - -Tue Dec 15 10:26:23 1998 Owen Taylor - - * gdk/gdkevents.c: Keep separate putback_events and - queued_events queues so that we get both FIFO and - preemptive behavior for gdk_event_put(). - -Tue Dec 15 09:22:44 1998 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_init): Removed unused - variable, fixed minor memory leak. - - * gdk/gdk.c: Fixed another merge problem. - -Tue Dec 15 08:53:38 1998 Owen Taylor - - * gdk/gdk.c (gdk_get_display): Remove gdk_signal, - which crept back in in last commit. - -Tue Dec 15 01:38:53 1998 Owen Taylor - - * gtk/Makefile.am: Commented out testthreads from - the build process, since we won't have any idea - how to create a thread. - - * configure.in (LIBS): use glib-config ... gthread - so we always build a thread-compatible library. - - * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c - gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c - gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c - gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c - gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c: - - Add GTK_THREADS_ENTER/LEAVE pairs around timeouts - and idles to account for the fact that they are no - longer called within the GTK+ lock. - - * gtk/gtkprivate.h: Added definitions for locking - the main GTK+ mutex. - - * gtk/gtkmain.c: Re-implement the main loop - in terms of the GLib main loop. - - * gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading - functionality, as it seems better to subsume GDK within the - GTK+ lock than vice-versa. - - * gdk/gdkevents.c: New file, containing event handling bits - from gdk.c. - - * gdk/gdkevents.c: Implement event source for GDK - events. - - * configure.in gdk/gdkevents.c: Removed attempts to - subtract base_id, which were already non-functional. - -Mon Dec 14 23:05:20 PST 1998 Manish Singh - - * acconfig.h - * configure.in: removed IPC_RMID_DEFERRED_RELEASE check - - * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID - after XShmAttach, and nobody complained - -Tue Dec 15 02:27:42 MET 1998 Sven Neumann - - * po/de.po: Replaced the crappy german po-file with a valid one. - -Mon Dec 14 16:10:05 1998 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_init): Append locale-specific - suffixes to default rc file names, and look these - up in addition to the base filename, to facilitate - having the correct fontset per-locale. - - move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc - - * gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func): - New function to set a function to translate menu paths. - - * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free - results of g_strsplit(). - -1998-12-14 Nuno Ferreira - - * configure.in (ALL_LINGUAS): Added 'pt'. - - * po/pt.po: Added Portuguese translation. - -Mon Dec 14 20:04:31 1998 Stefan Jeske - - * gtk/gtkspinbutton.c: Only call gtk_spin_button_update if - the spinbutton is editable. - -Mon Dec 14 12:24:13 1998 Owen Taylor - - * HACKING: Added gettext-10.35 - - * autogen.sh: Run gettextize. - -Wed Dec 9 16:29:06 1998 Owen Taylor - - Applied gtk-egger-981010-[12] - [ Daniel.Egger@t-online.de (Daniel Egger) ] - - * gtk/gtkintl.h: New file - defines for localization. - - * gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings - for internationalization. - - * gtk/gtkmain.c: call bindtextdomain - - * po/ - directory for translations. Initially includes - German translation. - -Mon Dec 14 02:42:11 1998 Tim Janik - - * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and - RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into - gtk_widget_real_grab_focus() so a signal is always emitted - if the focus is grabbed on a widget. - -Mon Dec 14 02:13:01 1998 Tim Janik - - * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or - not to delay the submenu popup from a menu item deselection time stamp. - the code looks even more hackish than before, but in practice "feels" - very well. - -1998-12-13 Federico Mena Quintero - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus" - signal for widgets. When the signal is emitted, the widget will - grab the focus. This is needed to let the user press an - accelerator key in a dialog box and have the corresponding widget - be focused. - - * gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus" - signal. The default handler is simply gtk_widget_grab_focus(). - -Sun Dec 13 22:15:48 GMT 1998 Tony Gale - - * docs/gtk_tut.sgml: Update the following sections to the - current API: - - Container Widgets - - CList Widget - - List Widget - - Tree Widget - -Sat Dec 12 19:11:35 1998 Tim Janik - - * gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal. - - * gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal. - - * gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8. - -Sat Dec 12 17:46:55 1998 Owen Taylor - - * gtk/gtklayout.c (gtk_layout_unrealize): Mark - child->window as destroyed so we don't destroy - it again. - -Sat Dec 12 17:18:32 1998 Owen Taylor - - * gdk/gdkfont.c (gdk_text_extents): Corrections - to computation of extents of text from a font set. - (from Chi-Deok Hwang ) - and Akira Higuchi ) - -Fri Dec 11 08:59:12 1998 Owen Taylor - - * gtk/gtklistitem.c (gtk_list_item_style_set): - * gtk/gtklist.c (gtk_list_style_set): - Added "style_set" handlers. - -Fri Dec 11 05:49:30 1998 Owen Taylor - - * gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set" - handler so that the background of the clist changes - with the theme. - -Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson - - * Released GTK+ 1.1.7 - - * INSTALL: - NEWS: - README: - configure.in: - gtk+.spec: - gtk/gtkfeatures.h.in: - docs/gtk-config.1: Version to 1.1.7 - -Thu Dec 10 20:48:19 PST 1998 Manish Singh - - * gtk/gtkclist.c: avoid void pointer math - - * gtk/gtkhscale.c - * gtk/gtkhscrollbar.c - * gtk/gtkvscale.c - * gtk/gtkvscrollbar.c: removed trailing , from enums - - * gtk/gtksignal.c: can't use enums as a bitfield type, use guint - - * gtk/testgtk.c: removed C++ comment added by owenpoo - -Thu Dec 10 21:48:34 1998 Owen Taylor - - * gtk/gtkdnd.[ch]: Added gtk_drag_source_unset() - -Thu Dec 10 20:42:22 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use - gdk_window_get_origin() instead of gdk_window_get_position, - because get_position is unreliable for plugs. - - This is a bad hack, maybe we need GDK_WINDOW_PLUG? - -Thu Dec 10 17:58:49 GMT 1998 Tony Gale - - * docs/gtk_tut.sgml: - - re-write the GtkProgressBar section to the 1.1 API. - - add an Appendix listing all the signals - (apologies to TimJ for taking so long in using his hard work - in automating the extraction - thanx Tim). - * examples/*: bring them all upto the tutorial versions - -Thu Dec 10 02:21:16 1998 Jeff Garzik - - * gtk/testdnd.c: use g_snprintf, eliminate need for string.h - * gtk/testrgb.c: include string.h, for strlen - -Wed Dec 9 17:39:26 1998 Owen Taylor - - * configure.in: Add a case for success in - test for XUnregisterIMInstantiate, to prevent - screwing up $LIBS. - -Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi - - * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument - list and return type for non-XIM fallback. - - * configure.in: Only build XIM-support if available. - -Wed Dec 9 12:23:30 1998 Owen Taylor - - * gtk/testselection.c (main): Add in missing 'flags' - field to target list. - - * gdk/gdkproperty.c (gdk_atom_intern): Actually - add the atoms to the local cache. - -Wed Dec 9 04:57:31 PST 1998 Manish Singh - - * gdk/gdkprivate.h: put text after #endif in comment - - * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl - - * gtk/testdnd.c: #include - -Mon Dec 7 10:27:09 1998 Owen Taylor - - * gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize - signals through the widget heirarchy. This is unpleasant, as it - causes more X traffic, but is necessary, because we have to clean - up our Input Contexts before destroying the X windows. - (from matsu-981109-0.patch) - -Mon Dec 7 10:18:18 1998 Owen Taylor - - Applied gtk-a-higuti-981202-0 : - [ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ] - - * gdk/gdk.h gdk/gdk.c - (gdk_mbstowcs): New function. Nearly equals to mbstowcs, but - implemented by a combination of Xlib functions, so - it works even with X_LOCALE. - (gdk_wcstombs): New function. - (g_mbtowc): Removed. No longer needed. - - * gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c: - Added _wc() variants to gdk_text_width(), - gdk_char_width(), gdk_draw_text(), - - * gdk/gdki18n.h - (mblen, mbtowc, wctomb, mbstowcs, wcstombs, - wcslen, wcscpy, wcsncpy): - Removed. No longer needed. - (iswalnum): Removed. - (gdk_iswalnum): New macro. - (gdk_iswspace): New macro. - * gdk/gdktype.h - (GdkWChar): New typedef. - - * gtk/gtkentry.h, gtk/gtkentry.c - There are many changes according to the change of the - internal representation of text, from multibyte string - to wide characters. - * gtk/gtkprivate.h, gtk/gtkmain.c - Removed the variable gtk_use_mb and related codes. - * gtk/gtkspinbutton.c - Some changes according to the change of type of entry->text. - * gtk/gtktext.h, gtk/gtktext.c - Changed the internal representation of text. We use GdkWchar - if a fontset is supplied. If not, we use guchar to save - memory. - -Tue Dec 1 15:20:39 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_new): When creating - a window with a specified non-system visual, use - a matching colormap. - -Mon Nov 30 11:50:13 1998 Owen Taylor - - * gdk/gdk.c gdk/gdkim.c gdk/gdkprivate.h gdk/gdk.h - gdk/gdktypes.h gtk/gtkeditable.c gtk/gtkmain.c - gtk/gtkentry.c gtk/gtktext.c: - - Applied matsu-981109-0 - [ matsu@arch.comp.kyutech.ac.jp (Takashi Matsuda) ] - - - Change system of setting input method values - from varargs to a structure, similar to GC's - or window attributes. - - - Various fixes to event handling. - - Also: - - * gdk/gdkim.c: Split of input method stuff into - a separate source file. - - * Remove GdkIM typedef, change everything from - GdkIC to GdkIC * to be consistent with the - rest of GTK. - -Wed Dec 9 00:41:41 1998 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Allocate - correct amount of memory for strings. - -Tue Dec 8 18:29:05 CST 1998 Shawn T. Amundson - - * Released GTK+ 1.1.6 - - * NEWS: updated - - * gtk/Makefile.am: - gtk/testgtk.c: - gtk/gtkrc.h: - gtk/gtkrc.c: Read in default files. - -Wed Dec 9 00:49:12 1998 Tim Janik - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: added gtk_type_query() which returns a newly - allocated structure holding certain type specific informations. - fixed the big bunch of `discards const' warnings with the - initialization of enum/flags values. - -Tue Dec 8 15:10:17 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_transient_parent_realized): - Fixed order of arguments to gdk_window_transient_for(). - -Tue Dec 8 18:02:57 GMT 1998 Tony Gale - - * examples/Makefile: simple top level Makefile that invokes all - the sub-directory Makefiles. - -1998-12-08 Andrew T. Veliath - - * gtk/testgtk.c: Functions to test the toolbar space style. - - * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of - GtkToolbarChild to hold allocation. Set default space style to - GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator - fraction defaults. - (gtk_toolbar_paint_space_line): New function; paints the separator - line, using "toolbar" as the detail. - (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when - style is set to SPACE_LINE. - (gtk_toolbar_size_allocate): Store space allocations. - (gtk_toolbar_insert_element): If we are a space, allocate and - initialize a GtkToolbarChildSpace instead of a GtkToolbarChild. - (gtk_toolbar_set_space_style): New function. - - * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY - and LINE. Add prototype for gtk_toolbar_set_space_style. - -Mon Dec 7 16:03:55 1998 Owen Taylor - - * gtk/gtkthemes.h: Remove random unnecessary includes - of standard headers. - -1998-12-07 Damon Chaplin - - * gtk/gtkfontsel.c (gtk_font_selection_select_best_style): made sure - we only try to match styles which are currently shown. - - (gtk_font_selection_init): set the notebook tabs homogeneous and set - the border, so we don't need to set the size explicitly (bad for i18n). - Used the clist auto-resize feature for the font and style lists on the - main page and all the filters. Used padding for the 'Reset Filter' - button instead of spaces around it (bad for i18n). - - (gtk_font_selection_find_font): when searching for - a font, if we can't match both the family and foundry, we return any - font where just the family matches. (The foundry can even be '*'.) - - (gtk_font_selection_show_available_styles): - (gtk_font_selection_realize_list): don't set the style clist row - colours (for the charset rows) until the clist is realized, since we - use the clist style's insensitive colours. - -Mon Dec 7 13:38:06 1998 Owen Taylor - - * gdk/gdkimage.c (gdk_image_new): Use IPC_RMID - _after_ doing XShmAttach. This should work everywhere, - and avoid the need for signal handlers or configure - checks. - -Thu Dec 3 19:58:45 1998 Owen Taylor - - * gtk/gtkinputdialog.c: Use _add_with_viewport() for - scrolled window contents. - -1998-12-07 Federico Mena Quintero - - * gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor - field in the structure. - -Mon Dec 7 15:15:06 GMT 1998 Tony Gale - - * docs/gtk_tut.sgml: Start mass update for GTK 1.1 - * examples/extract.sh: Look for the best version of awk - * examples/extract.awk: Fix FD leak - * example/base: minimal example from Tutorial - -Mon Dec 7 01:29:27 1998 Owen Taylor - - * gtk/gtkwindow.c: New functions - gtk_window_set_transient_for() - set up a "transient for" relationship. - gtk_window_set_default_size() - set the initial size of a window - distinct from its minimum size. - gtk_window_set_geometry_hints() - Allow the user to set - minimum, maximum sizes, aspect rations, and gridded geometry, - possibly all with respect to a subwidget of the window. - These interfaces are still a wee bit experimental. - - * gdk/gdk.c: Added gdk_window_set_transient_for(), - gdk_window_set_geometry_hints(), and gdk_window_set_role(). - - * gdk/gdktypes.h: Added new types for find-grained specification - of WM hints. - - * gtk/testgtk.c: Various changes to tests to test the - above new functions. - - * gtk/gtkfontsel.c: Squash a few 'const' warnings. - - * gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored - call to gtk_style_set_background() to prevent egregious - flashing to black. - -Mon Dec 7 03:52:01 1998 Tim Janik - - * gtk/gtksignal.c (gtk_handlers_run): when marshalling connect_object - signals, don't pass the data pointer twice, but swap it with the - object pointer (proposed on Nov 30 1998 on gtk-devel-list). - -Mon Dec 7 03:08:39 1998 Tim Janik - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: reverted Marius's change to expose the type systems - internal type info data to the user. if such functionality is required - we should provide wrapping accessors, ala gtk_signal_query(). also the - GtkTypeInfo structures are dynamically allocated memory portions, so - only the type system is really allowed to access that stuff. - - * gtk/gtksignal.c (gtk_signal_connect_by_type): reverted marius change, - since it destroys the possibility to implement automatic marshaller - lookups some day, and it also disables third party code's ability to - connect to any signal. - -Mon Dec 7 01:32:18 1998 Tim Janik - - * gtk/gtkfilesel.c (gtk_file_selection_key_press): always intercept the - Tab key on the entry. the focus shouldn't get lost even if completion - is attempted from an empty entry, since an empty entry string does - indeed have a valid completion meaning (complete all). - (gtk_file_selection_init): cast the gchar array parameter in calls to - gtk_clist_new_with_titles() to quit compiler warnings. - (check_dir): the no_stat_dirs struct must not be const, since we do - indeed modify its contents. - - * gtk/testgtk.c (event_watcher): adapted prototype to fit new emission - hook semantics. - - * gtk/gtksignal.h: - * gtk/gtksignal.c: - changed emission allocation, so we don't use a doubly linked list - but link ourselfs (singly linked). - changed emission hooks, they get the emision parameters passed as - well now and are emitted during the actuall signal emission (after - the RUN_FIRST class method, but prior to RUN_FIRST handlers). - the existing restrictions do still apply to signal emission hooks, - i.e. an emission may not be stopped or restarted from an emission hook. - due to possibly huge perfomance impacts, frequent use of emision hooks - is also not recommended. - (gtk_signal_next_and_invalidate): added an - assertments which explicits what the code assumes anyways: a - maximum amount of 65535 signals. - - * gtk/gtkcontainer.h: deprecated gtk_container_foreach_interp(), - gtk_container_foreach_full() should be used instead. - - * gtk/gtkmain.h: - deprecated gtk_timeout_add_interp and gtk_idle_add_interp, since - we provide _full variants. - - * gtk/gtksignal.h: deprecated gtk_signal_connect_interp(), we provide - gtk_signal_connect_full() for long enough now. - -1998-12-06 Marius Vollmer - - * gtk/gtksignal.c (gtk_signal_newv): Allow a NULL marshaller. - (gtk_signal_connect_by_type): Allow only no_marshal handlers to - connect to signals with a NULL marshaller. - - * gtk/gtktypeutils.c (gtk_type_get_info): New. - gtk/gtktypeutils.h (gtk_type_get_info): New prototype. - -Sun Dec 6 14:27:35 1998 Stefan Jeske - - * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): Grey out - arrows if wrap == FALSE and interval borders are reached. - -Sat Dec 5 21:07:09 1998 Owen Taylor - - * gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed - long-standing typo in aspect ratio computation code. - (pointed out by Sebastian Rittau ) - -Fri Dec 4 01:20:06 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with - valid row numbers only - (toggle_row): check if clist_row != NULL - -Fri Dec 4 00:50:12 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_export_to_gnode): fixed for-loop. - - * gtk/gtkclist.c - (gtk_clist_set_column_visibility) - (gtk_clist_column_titles_active) - (gtk_clist_column_titles_active) - (gtk_clist_column_title_passive) - (gtk_clist_column_title_active): few additional tests whether - column->button != NULL - -Thu Dec 3 16:49:18 1998 Owen Taylor - - * gtk/gtkdnd.c (DROP_ABORT_TIME): Changed to 5 min - from 10 seconds, so it doesn't abort while users - have an ACTION_ASK menu up. - - * gtk/gtkdnd.c: Hide the icon window between sending a a - drop event to the destination and displaying the - snapback animation, so that it doesn't hang around - during ACTION_ASK. - -Thu Dec 3 16:37:42 1998 Owen Taylor - - * gtk/gtkclist.c (get_cell_style): Use GTK_STATE_INSENSITIVE - for the foreground of cells for CLists in the insensitive - state, instead of GTK_STATE_PRELIGHT. - -Thu Dec 3 06:20:59 1998 Tim Janik - - * gtk/gtkwindow.c: moved checks upon focus setting from - gtk_window_real_set_focus to gtk_window_set_focus, so we don't - emit the signal if unneccessary. - - * gtk/gtkwidget.c (gtk_widget_grab_focus): clear up the old focus - containers when grabbing focus on a new widget. this is based on - a patch from Alexis Mikhailov, submitted to gtk-list on 4 Nov 1998. - - * gtk/gtkclist.c (gtk_clist_focus_out): set CLIST_CHILD_HAS_FOCUS - flag, so we take the buttons into consideration upon the next focus - request. - - * gtk/gtkcontainer.c (gtk_container_set_focus_child): fixed an - assertment. - -Wed Dec 2 17:45:21 CST 1998 Shawn T. Amundson - - * gtk/gtkpixmap.c: Fixes for low-color displays and a slight - enhancement for true-color displays. - - * INSTALL: - README: - configure.in: - gtk+.spec: - docs/gtk-config.1: up to version 1.1.6 - -Wed Dec 2 01:36:49 PST 1998 Manish Singh - - * gtk/gtkfeatures.h.in: lets #define GTK_HAVE_FEATURES_1_1_6 before - we release it this time - -Wed Dec 2 01:39:02 1998 Tim Janik - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c: s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/. - - * incremented version number to 1.1.6 and made Gtk - dependant on GLib 1.1.6. - - * gtk/gtkwidget.h (struct _GtkRequisition): changed width and height - from guint16 to gint16, since sizes bigger than 32767 are not supported - anyways, and aritmethics with intermediate negative values are possible - now. - -Tue Dec 1 00:00:04 1998 Tim Janik - - * gtk/gtkscrolledwindow.c: - implementation of GTK_POLICY_NEVER functionality, added rationales - on the policy and size requisition handling at the top. - (gtk_scrolled_window_size_request): - we assume a default minimum for our child's width and height - if [hv]scrollbar_policy != GTK_POLICY_NEVER, except when the user - specified the dimension explicitely. - (gtk_scrolled_window_size_allocate): - do not show scrollbars if [hv]scrollbar_policy == GTK_POLICY_NEVER. - - * gtk/gtkviewport.c (gtk_viewport_size_request): report the real - size we require (including the child). - - * gtk/gtkclist.c: - (gtk_clist_size_request): report the real size required. - - * gtk/gtkenums.h (enum GtkPolicyType): added GTK_POLICY_NEVER. - - * gtk/gtkobject.c (gtk_object_init_type): object_type doesn't - need to be a static variable. - -Mon Nov 30 22:41:25 1998 Tim Janik - - * gtk/gtkclist.h: - * gtk/gtkclist.c: - * gtk/gtkviewport.h: - * gtk/gtkviewport.c: - * gtk/gtktext.h: - * gtk/gtktext.c: - * gtk/gtklayout.h: - * gtk/gtklayout.c: - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c: - s/scroll_adjustements/scroll_adjustments/ - s/scroll_adjustments/set_scroll_adjustments/g - -Tue Dec 1 22:45:58 1998 Lars Hamann - - * gtk/gtkclist.h (struct _GtkCListClass): new class method/signal - row_move. - * gtk/gtkclist.c (gtk_clist_row_move): new public function. - emit a row_move signal - (real_row_move): move source_row to dest_row - (gtk_clist_swap_rows): use gtk_clist_row_move calls. - (gtk_clist_columns_autosize): resize all columns to their optimal - width - * gtk/gtkctree.c (real_row_move): use gtk_ctree_move to move - entire sub-tree. - * gtk/gtknotebook.c (gtk_notebook_nth_page): get nth page widget. - -Tue Dec 1 02:40:22 PST 1998 Manish Singh - - * configure.in - * gdk/Makefile.am - * gtk/Makefile.am: Put -DFOO stuff into Makefile.am INCLUDES. - Separate vars for each, for granularity. - -Tue Dec 1 02:19:54 1998 Tim Janik - - * gtk/gtkenums.h: fixed a stupid error of mine about the run type - values. - -1998-11-30 Elliot Lee - - * {gdk,gtk}/*.c: Make read-only data structures "static const" to - allow them to be shared, mainly including (but not limited to) the - GtkTypeInfo structures for each class. - - * gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing. - -Mon Nov 30 12:17:10 1998 Jeff Garzik - - * gtk/gtksignal.c: - Surround debug variable with #ifdef to silence gcc. - - * gtk/gtknotebook.c (gtk_notebook_reorder_child): - Added initializer to quiet gcc warning. - Added assertion to check for null pointer deref. - -Mon Nov 30 10:11:29 1998 Tim Janik - - * gtk/testgtkrc: merged testgtkrc with the pre-themes one, removed - system specific includes. - - * gtk/gtksignal.c: asured that stop and restart emissions are also - checked and processed for not connected objects. fixed up restart - emission administration. invoke emission hooks after emission, hooks - are not supposed to muck around with the current emission, and - may also not cause emission restarts. fixed up stop emission - administration. - -Mon Nov 30 06:20:36 1998 Tim Janik - - * gtk/testgtk.c: added an event watcher for enter/leave based on - signal emission hooks. - - * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a - GTK_RUN_NO_HOOKS signal. - - * gtk/gtksignal.h: - * gtk/gtksignal.c: implemented emission hooks, new hooks can be added - to a signal with gtk_signal_add_emission_hook or - gtk_signal_add_emission_hook_full, and can be removed again with - gtk_signal_remove_emission_hook. - - * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent - an appropriate mask for signal runtypes for a long time now. - added GTK_RUN_NO_HOOKS value, which is used to flag signals - that do not allow the running of signal hooks. - -1998-11-26 Michael Krause - - * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num' - argument a gint: switch_page signal delivers valid page numbers - again. - -Sun Nov 29 06:12:01 1998 Tim Janik - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment): - set composite names. - - * gtk/gtktypeutils.c (gtk_type_unique): removed default initialization - check, people must use gtk_type_init(). - fixed up type allocation for foreign fundamentals. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant - for internal use by containers, that want to assign specific composite - names to their composite children. - added gtk_widget_get_composite_name() which will return a newly - allocated string, containing the composite name of a widget. valid - composite names can only be retrived from widgets that have a parent - assigned and are flagged as GTK_COMPOSITE_CHILD. - - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: added a new function - gtk_container_child_default_composite_name() which will return a - newly allocated string, holding the composite name of a containers - child. a default implementation is provided which will compose the - composite name out of the widgets type and its sequential children - id. this implementation can be overidden through a new class function - *(composite_name)(). - -Sat Nov 28 10:57:59 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus - expose_event handler - we had two expose_event - handlers! - -Sat Nov 28 03:13:42 1998 Tim Janik - - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c: changed scrolled window inheritance, - it inherits from GtkBin now. - - * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for - visibility of child. - (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE(). - added check so a child gets only drawn if it's visible. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: removed gtk_widget_draw_children(). - - * gtk/gtkstyle.h: - * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child(). - added internal function gtk_widget_reset_shapes() from gtkstyle.c. - - * gtk/gtkrc.h: - * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner - argument, changed callers. - - * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time, - it will issue a warning now. - - * gtk/gtkcompat.h: new file to #define aliases for historic - function names. - - * changed 8 function names for consistency and provided aliases to keep - source compatibility in gtkcompat.h: - (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width - (gtk_container_set_border_width): renamed from gtk_container_border_width - (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page - (gtk_packer_configure): renamed from gtk_packer_set_child_packing - (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size - (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size - (gtk_scale_get_value_width): renamed from gtk_scale_value_width - (gtk_window_set_position): renamed from gtk_window_position - - * renamed a few recently added funtions for consistency: - (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label. - (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label. - (gtk_progress_configure): renamed from gtk_progress_reconfigure. - -Fri Nov 27 18:57:20 PST 1998 Manish Singh - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add_with_viewport): - check for existing viewport first, and don't add one if there - already is one - -Sat Nov 28 00:06:49 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and - gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators - and gtk_widget_unlock_accelerators. - - * gtk/gtklayout.h: - * gtk/gtklayout.c: implemented incremental freezing facility. - - * gtk/gtktext.h: - * gtk/gtktext.c: implemented incremental freezing facility. - - * gtk/gtkenums.h: - * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place. - - * gtk/gtkentry.h: - * gtk/gtkentry.c: - deprecated gtk_entry_adjust_scroll(). - - * random GtkType, macro and indentation fixes. - -Fri Nov 27 22:50:15 1998 Tim Janik - - * gtk/gtkclist.h: - * gtk/gtkclist.c: implemented incremental freezing facility, added - a new class member (*refresh)() which takes over the thaw - functionality. the clist FROZEN flag got removed on the way. - * gtk/gtkctree.c: adaptions to feature the clist refresh functionality - and incremental freezing. - - * gtk/gtkcalendar.c: implemented incremental freezing facility. - -Fri Nov 27 11:41:27 1998 Raph Levien - - * gdk/gdkinputcommon.h (gdk_input_common_init): Fixed it so that - it still includes the core pointer in gdk_input_devices even - if the XInput extension is not present in the X server. - -Fri Nov 27 12:17:15 1998 Owen Taylor - - * gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to - get the source widget of a drag. - - * gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP] - to restrict certain targets to the same widget or to - the same application. - - * gtk/testdnd.c: Test gtk_drag_get_source_widget(). - -Thu Nov 26 19:11:46 1998 Lars Hamann - - * gtk/gtk-boxed.defs (GtkCTreeNode): define GtkCTreeNode as boxed type - * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_CTREE_NODE_TYPE - instead of GTK_TYPE_POINTER in signal definitions. - (patch from James Henstridge ) - -Thu Nov 26 18:48:44 1998 Lars Hamann - - * gtk/gtkclist.c (set_cell_contents) - * gtk/gtkctree.c (set_cell_contents): call column_auto_resize only - if auto.resize == TRUE - - * gtk/gtknotebook.c (gtk_notebook_set_shape) (gtk_notebook_expose): - don't draw tab, if show_tabs == FALSE - (bug reports from Alexis Mikhailov / Dave Cole) - (gtk_notebook_focus_changed) (gtk_notebook_draw_focus): draw only - the focus rectangle, not the hole tab. - -Thu Nov 26 03:18:08 1998 Tim Janik - - * gtk/gtkclist.h: - * gtk/gtkctree.h: - * gtk/gtkclist.c: - * gtk/gtkctree.c: reverted bogus and undocumented!!! changes from - Jay Cox (98/11/23 13:53:26) which `const' qualified char* arrays. - - * gtk/maketypes.awk: changed underline substitution, so we get - GTK_TYPE_CTREE_POS instead of the broken GTK_TYPE_C_TREE_POS. - * gtk/makeenums.pl: likewise. - * gtk/gtkctree.c: adapted type names accordingly. - -Tue Nov 24 11:31:06 1998 Owen Taylor - - * docs/Changes-1.2.txt: Edited section on the ScrolledWindow. - - * gtk/gtklayout.c (gtk_layout_set_[hv]adjustment): Remove - some code duplication. - - * gtk/gtklayout.[ch] Fixed mapping and unmapping of child windows - and child widgets when scrolling greater than 32k pixels. - - * testgtk.c: Modified layout test to test scrolling over - long distances. - - * gtk/gtkplug.c: Added a few blank lines. - -Tue Nov 24 11:11:05 1998 Owen Taylor - - * gtk/gtklayout.[ch]: Fixed up copyright message. - - * gdk/gdkrgb.c (DM): Make the dither matrix constant - so it can be shared. - - * gtk/gtkdnd.c: Make cursor bitmaps const. - - * gdk/gdk.h gdk/gdkpixmap.c: Added const to - gdk_pixmap/bitmap_create_from_data. - -Tue Nov 24 07:46:09 1998 Tim Janik - - * docs/Changes-1.2.txt: added a section on scrolled windows and - scrollable widgets. - -1998-11-24 Andrew T. Veliath - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio - buttons when setting relief for button items. - (gtk_toolbar_set_button_relief): Same. - -1998-11-23 Jeff Garzik - - * gdk/Makefile.am, gtk/Makefile.am: - Removed DEFS "+=" mess that breaks recent automakes. - INCLUDES is the correct way to add to CFLAGS from Makefile.am. - - * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c, - gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c, - gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c, - gtk/testthreads.c: - Include "config.h" instead of "../config.h". - Now that DEFS works again, automake will automatically pass us - the location of config.h in -I. - -Mon Nov 23 22:10:09 1998 Owen Taylor - - * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch] - gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h: - - Added layout widget for scrolling arbitrarily big areas. - Added plug/socket widgets for interprocess embedding. - - These widgets still, at some point, need to be - made more pure in their use of GDK, as opposed - to raw X. - - * gtk/testgtk.c: Added test for layout widget. - -1998-11-23 Jeff Garzik - - * gtk/gtkclist.c: (gtk_clist_swap_rows): Bugfix from - Brandon Long - do the right thing with first - and last, which are the absolute values of row arguments row1 - and row2. - -Mon Nov 23 04:24:55 PST 1998 Manish Singh - - * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner - default adjustment (from 0 to 100) instead. I'm not sure if this - is the correct level for the fix, but gtk_progress_bar_new()'s - original default behavior is restored. - -1998-11-23 Martin Baulig - - * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so - we can check for latest GTK features. - -1998-11-23 Havoc Pennington - - * gtk/gtktoolbar.c: (gtk_toolbar_set_relief): - (gtk_toolbar_insert_element): When setting relief, also affect - toggle buttons. - -Sun Nov 22 20:37:06 PST 1998 Manish Singh - - * gtk/gtkobject.h: remove extraneous comma - -Mon Nov 23 05:21:50 1998 Tim Janik - - * gtk/gtkcontainer.c: - (gtk_container_add_with_args): - (gtk_container_addv): - (gtk_container_add): removed assertements for constructed containers - again, since this essentially breaks the "child" arg. - - * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window - reference count, we don't need to reference toplevels that already have - destroy notifiers. - - * gtk/gtkscrolledwindow.c: check for the composites existance in - _forall since we might not be already constructed. - -Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson - - * Released GTK+ 1.1.5 - - * configure.in: require GLib 1.1.5 - -Mon Nov 23 03:21:17 1998 Tim Janik - - * gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not - 2 * hadj. - (gtk_text_finalize): only unref the current_font if we have - been realized. - -Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson - - * configure.in: - INSTALL: - NEWS: - README: - gtk+.spec: - docs/gtk-config.1: Version incremented to 1.1.5 - -Sun Nov 22 16:21:28 1998 Tim Janik - - * gtk/gtkprogress.c: added args ::show_text, ::text_xalign, - ::text_yalign, ::activity_mode. - - * gtk/gtkprogressbar.c: added construct arg ::adjustment. added args - ::bar_style, ::orientation, ::discrete_blocks, ::activity_step, - ::activity_blocks. - (gtk_progress_bar_new): - (gtk_progress_bar_new_with_adjustment): use gtk_widget_new(). - (gtk_progress_bar_construct): deprecated. - - * gtk/gtkvscrollbar.c: - (gtk_vscrollbar_draw_step_back): - (gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for - gtk_paint_arrow, to be consistent with hscrollbar. - - * gtk/gtktext.c - added construct args ::hadjustment, ::vadjustment. - added args ::line_wrap, ::word_wrap. - (gtk_text_class_init): added scroll_adjustments signal. - (gtk_text_new): use gtk_widget_new. - (gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments, - so we don't screw the reference counts and don't leave signals connected. - (gtk_text_destroy): disconnect adjustments signals. - (gtk_text_finalize): unref adjustments. - - * gtk/gtkctree.c: added construct args ::n_columns and ::tree_column. - added args ::indent, ::spacing, ::show_stub, ::reorderable, - ::use_drag_icons, ::line_style and ::expander_style. - (gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is - deprecated now. - - * gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag. - * gtk/gtkclist.c: - removed ::vadjustment and ::hadjustment args, introduced - ::scroll_adjustments signal. - added ::shadow_type, ::selection_mode and ::row_height args. - added n_columns construct arg. - (gtk_clist_construct): call gtk_object_constructed(). - (gtk_clist_set_row_height): if height is passed as 0, - revert to automatic height calculation. - (gtk_clist_destroy): before unrefing the adjustments, disconnect our - signal handlers. - -Fri Nov 21 22:34:58 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct - like gtk_object_new. - (gtk_widget_destroy): assert that we only destroy constructed widgets. - - * gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY - to identify args that may only be used for construction. - GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction - time. - * gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct - at the end if the object is not fully constructed. - (gtk_object_newv): likewise. - (gtk_object_destroy): assert that we only destroy constructed objects. - (gtk_object_init): setup GTK_CONSTRUCTED from the - objects real klass. - (gtk_object_default_construct): new function to complete default - construction of an object by applying missing construtor args with - default values of 0, 0.0 or NULL. - (gtk_object_constructed): new function to mark an object as being - constructed (used from within constructors). - - * gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer - so it is immediatedly available for the caller. - - * gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to - the object initilizer (GtkObjectInitFunc takes a second arg now, the - real klass), and asure that object initializers may temporarily alter - the class pointer. - -Fri Nov 20 08:00:30 1998 Tim Janik - - * gtk/testgtk.c: change all occourances of gtk_container_add ( - scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...) - for widget!=(clist, ctree, text, viewport). - - * gtk/gtkcombo.c: - (gtk_combo_init): use gtk_scrolled_window_add_with_viewport() - to add children to the scrolled window. - - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c: - changed scrolled_window->viewport to scrolled_window->child, and use - gtk_widget_scroll_adjustements() to set the scroll adjustments for the - widget, we do not create an additional viewport anymore. - added ::hadjustment and ::vadjustment constructor args. - (gtk_scrolled_window_new): use gtk_widget_new() to create the widget. - (gtk_scrolled_window_set_hadjustment): - (gtk_scrolled_window_set_vadjustment): new functions that superceed - gtk_scrolled_window_construct. - (gtk_scrolled_window_construct): deprecated this function. - - * gtk/gtkhscrollbar.c: - * gtk/gtkvscrollbar.c: - * gtk/gtkhscale.c: - * gtk/gtkvscale.c: - support a constructor arg "::adjustment", and use gtk_widget_new() for - the widget creation. - - * gtk/gtkrange.c: added ::update_policy arg. - (gtk_range_set_adjustment): if adjustment is passed in as NULL, create - a default adjustment so this function can be used for derived widgets - that depend on the adjustment's existance. - (gtk_range_destroy): disconnect the adjustment signal, so we don't - get called after we got destroyed, we don't destroy the adjustment - in here, because it might have been provided from another widget. - - * gtk/gtkviewport.c: introduced ::scroll_adjustments signal. - (gtk_viewport_destroy): same as gtk_range_destroy. - - * gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: changed gtk_widget_activate() to return a - gboolean, indicating whether this widget supports activation. - added gtk_widget_scroll_adjustements() to set the scrolling - adjustments of a widget. - -Wed Nov 19 01:22:42 1998 Tim Janik - - * gtk/gtkoptionmenu.c: - (gtk_option_menu_remove_contents): - (gtk_option_menu_update_contents): removed - gtk_container_[un]block_resize() pairs. - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c: removed the tab_border field, since it shouldn't - be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a - wrtie-only argument. - - * *.c: made deprecated functions issue a message: - gtk_clist_set_border, gtk_container_block_resize, - gtk_container_unblock_resize, gtk_container_need_resize, - gtk_object_class_add_user_signal, gtk_spin_button_construct, - gtk_scrolled_window_construct. - removed non-functional functions: - gtk_container_disable_resize, gtk_container_enable_resize, - gtk_clist_set_policy. - -Wed Nov 18 22:54:36 1998 Tim Janik - - * gtk/gtkbox.c (gtk_box_init): - * gtk/gtkdrawingarea.c (gtk_drawing_area_init): - * gtk/gtkeventbox.c (gtk_event_box_init): - * gtk/gtkfixed.c (gtk_fixed_init): - * gtk/gtkframe.c (gtk_frame_init): - * gtk/gtkhandlebox.c (gtk_handle_box_init): - * gtk/gtkpacker.c (gtk_packer_init): - * gtk/gtkmisc.c (gtk_misc_init): - * gtk/gtkpreview.c (gtk_preview_init): - * gtk/gtkprogress.c (gtk_progress_init): - * gtk/gtkprogressbar.c (gtk_progress_bar_init): - * gtk/gtkseparator.c (gtk_separator_init): - * gtk/gtktable.c (gtk_table_init): - * gtk/gtkviewport.c (gtk_viewport_init): - * gtk/gtkalignment.c (gtk_alignment_init): - removed setting of the GTK_BASIC flag. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: - removed GTK_BASIC, GTK_WIDGET_BASIC and gtk_widget_basic. - - * miscellaneous GtkType and macro fixups. - -Sat Nov 21 18:53:13 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_get_deskrelative_origin): - Fixed so it at least works with window managers other - than Enlightenment, though it probably needs to be - removed altogether. - -1998-11-21 Andrew T. Veliath - - * gtk/gtkhandlebox.[ch]: Add shadow_type and - gtk_handle_box_set_shadow_type function (plus a - GtkHandleBox::shadow arg) to allow configuration of shadow in the - bin window. - -Thu Nov 19 23:47:38 CST 1998 Shawn T. Amundson - - * gtk/gtkcalendar.c: Fix for marking days from - Dan Reish . - -Thu Nov 19 00:15:27 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode - in row_list. (from Samuel Solon ) - - * gtk/gtkclist.c (gtk_clist_get_column_title): return column title - (gtk_clist_get_column_widget): return column widget - -Wed Nov 18 11:54:57 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops - that are sent to a toplevel but are not within the - toplevels bounds. - - * gdk/gdkdnd.c gdk/gdk.h: Added support for a - XdndProxy atom which proxies the drag to another window. - -1998-11-17 Federico Mena Quintero - - * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, now - that it is not needed. - -Tue Nov 17 1998 The Rasterman - * gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin - function to correctly determine gdk window position relative to - its "root window" - contains check for an Enlightenment - virtual root window. - * gtk/gtkhandlebox.c: changed gdk_window_get_origin -> - gdk_window_get_deskrelative_origin to get the origin of dragged - handleboxes correctly. Now it works correctly with E. - -Tue Nov 17 1998 Tuomas Lukka - - * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when - getting types even though we were not using real type names, - just the index. This caused random crashes when more than - 256 types were defined. - -1998-11-17 Martin Baulig - - * gtk/genmarshal.pl: Put output files in the current directory - and not in the $(srcdir) since the VPATH is ignored for built - sources. - -Tue Nov 17 01:37:53 PST 1998 Manish Singh - - * gtk/genmarshal.pl - * gtk/Makefile.am: check for unchanged autogenerated files, so - we don't rebuild everything just for adding a new function - -Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson - - * gtk/gtkpixmap.h - gtk/gtkpixmap.c: Pixmaps now grey out when insensitive, - code thanks to GNOME stock by Eckehard Berns. New function - gtk_pixmap_set_build_insensitive to provide ability to turn - this off. - -Tue Nov 17 00:06:29 1998 Lars Hamann - - * gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous; - new guints : tab_hborder, tab_vborder; marked tab_border deprecated - (struct _GtkNotebookPage): new flags : expand, fill, pack - - * gtk/gtknotebook.h/c - (gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous - tabs - (gtk_notebook_set_tab_border): set tab_h/vborder to tab_border - (gtk_notebook_set_tab_hborder): new function. set tab_hborder - (gtk_notebook_set_tab_vborder): new function. set tab_vborder - (gtk_notebook_query_tab_label): new function. get tab_label widget. - (gtk_notebook_set_tab_label): new function. set tab_label widget. - (gtk_notebook_set_tab_label_text): new function. set tab_label text. - (gtk_notebook_query_menu_label): new function. get tab_label widget. - (gtk_notebook_set_menu_label): new function. set tab_label widget. - (gtk_notebook_set_menu_label_text): new function. set tab_label text. - (gtk_notebook_set_tab_label_packing): new function. set tab_label - fill, expand, fill_type - (gtk_notebook_query_tab_label_packing): new function. get tab_label - fill, expand, fill_type - - (gtk_notebook_real_page_position): return logic page number - (gtk_notebook_search_page) search next/prev logic page - (gtk_notebook_update_labels): set logic page number. - (gtk_notebook_page_compare): renamed gtk_notebook_find_page - (gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND, - CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK - (gtk_notebook_button_press) (gtk_notebook_key_press) - (gtk_notebook_focus) (gtk_notebook_pages_allocate) - (gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab) - use gtk_notebook_search_page - (gtk_notebook_page_allocate): fixed allocation bug - (gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER. - (gtk_notebook_init): unset GTK_NO_WINDOW flag - (gtk_notebook_size_request): check whether page->child is visible. - changes due to tab h/vborder, homogeneous tabs - (gtk_notebook_paint): don't draw invisible tabs - (gtk_notebook_switch_page): calculate page_num if it's less than 0 - (gtk_notebook_append_*) (gtk_notebook_prepend_*) - (gtk_notebook_insert_page): removed sanity checks - - * gtk/testgtk.c (create_notebook): extended Notebook sample a bit. - -Mon Nov 16 15:10:33 1998 Owen Taylor - - * gtk/gtktext.c: Optimizations for [advance/decrement]_mark_n. - (gtk-mailund-980718-0, Thomas Mailund Jensen ) - - * gtk/gtkfixed.c: Removed gtk_fixed_umap, which was - broken. (GtkWidget's default unmap handler should work fine). - Pointed out by Patrice Fortier - -Mon Nov 16 00:59:26 PST 1998 Manish Singh - - * gtk/gtkmenubar.[ch]: added shadow_type setting and - gtk_menu_bar_set_shadow_type function to allow shadow - configurability for menubars - - * gtk/gtkviewport.h: use GtkShadowType enum instead of generic - guint - -Mon Nov 16 00:17:53 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_new): relookup type node after - class creation and parent class' object initializer. - -1998-11-13 Federico Mena Quintero - - * gtk/gtkpaned.c (gtk_paned_realize): Destroy the cursor after we - have assigned it to the window -- there is no point in keeping it around. - (gtk_paned_unrealize): No need to destroy the cursor here. - - * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, as - it is not needed. - -Fri Nov 13 11:22:38 1998 Owen Taylor - - * gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new(). - (gtk-blizzard-981005-0. - Christopher Blizzard - - * gtk/Makefile.am: Added rules to generate an empty - GTK+ theme called "Default" upon installation. - - * gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance - of fonts and fontsets. - (gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp) - - * gtk/gtkmain.c: Change test to detect glibc's - utf8 based mb* functions to be more specific. - - * gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation - cleanups. - -Fri Nov 13 16:43:36 1998 Lars Hamann - - * gtk/gtktogglebutton.c (gtk_toggle_button_realize): don't - show event_window - (gtk_toggle_button_map) (gtk_toggle_button_unmap): show/hide - event_window if draw_indicator is set - (gtk_toggle_button_set_mode): - -Thu Nov 12 15:33:54 PST 1998 Manish Singh - - * gtk/gtkitemfactory.c: cast NULL to GtkItemFactoryCallback to - ensure proper type (SunPro cc complains) - - * gtk/gtklist.c: removed bogus '*' from "*GTK_CONTAINER_CLASS" - - * gtk/gtktogglebutton.c: use our own draw method so we get proper - redraws on active state - -Thu Nov 12 00:26:13 1998 Lars Hamann - - * gtk/gtkstyle.c (gtk_default_draw_box_gap): use GtkPositionType - defines. - - * gtk/gtknotebook.c (gtk_notebook_draw_tab): fixed gap_side for - GTP_POS_RIGHT - -Wed Nov 11 19:54:58 1998 Lars Hamann - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init) - (gtk_scrolled_window_set_arg) (gtk_scrolled_window_get_arg): - added ARG_WINDOW_PLACEMENT - - * gtk/gtkclist.c (size_allocate_columns): resize column if column - button > column width and auto_resize is set - (real_clear) (column_auto_resize) (gtk_clist_optimal_column_width): - consider column button width of auto resized columns - (gtk_clist_parent_set): removed - - * gtk/gtkctree.c (gtk_ctree_insert_node): call column_auto_resize. - (auto_resize_columns): auto_resize all columns - (real_tree_collapse) (gtk_ctree_remove_node): call auto_resize_columns - (column_auto_resize): respect column button width of auto resized - columns - -1998-11-10 Martin Baulig - - * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_4): Define this so - we can check for latest GTK features. - -Mon Nov 9 00:39:20 1998 Lars Hamann - - * gtk/gtkenums.h : new enum GtkCornerType - * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added - window_placement. - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement): - new method to set window_placement. - (gtk_scrolled_window_viewport_allocate) - (gtk_scrolled_window_size_allocate): few changes due to - window_placement. - * gtk/testgtk.c (remove_selection): fixed while loop. - -Sat Nov 7 21:55:00 PST 1998 Manish Singh - - * gtk/gtkclist.c: check if column[i].button is valid before calling - gtk_widget_intersect on it in gtk_clist_draw - - * gtk/gtkdnd.c: removed unused variable empty_bits - - * gtk/gtkrc.c: we should use gslist_* functions with GSLists... - - * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return - a boolean (thanks to Elrond for noticing this) - -1998-11-07 Jay Cox - - * gtk/gtkwindow.c: forward declaration for gtk_window_paint - * gdk/gdkxid.c: declare xid_ht static - * examples/*/Makefile: get the link ordering right. - -Sat Nov 7 16:31:56 1998 Stefan Jeske - - * gtk/gtkclist.c (gtk_clist_realize): Set background of - title button window to GTK_STATE_NORMAL instead of - GTK_STATE_SELECTED to avoid ugly flicker. - -Fri Nov 6 23:29:40 1998 Lars Hamann - - * gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist - if adjustments are NULL and list size has changed - (gtk_clist_size_request): return real list requsition, - if adjustments are NULL. - (size_allocate_columns): use button->requisition.with, if column - width is not set. - (list_requisition_width): new function. return full list width. - (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not - auto create adjustments. - (gtk_clist_motion) (move_vertical) (move_horizontal): - check adjustment != NULL. - -Thu Nov 5 12:06:16 1998 Owen Taylor - - * gtk/gtkcheckbutton.c (gtk_check_button_draw_focus): Queue - a clear/redraw, not just a redraw, so the focus - gets undrawn properly. - - * gtk/gtktogglebutton.c (gtk_toggle_button_unrealize): - Chain to gtk_widget_unrealize() instead of duplicating - code. - -Wed Nov 4 14:34:51 1998 Owen Taylor - - * gdk/gdk.c gdk/gdkprivate.h gdk/gdkwindow.c: Removed - last vestiges of old DND. - -Tue Nov 3 12:27:52 1998 Owen Taylor - - * gtk/gtkentry.c: Restored inner border to entries, - erase cursors to background image. - -Fri Oct 30 12:09:21 1998 Owen Taylor - - * gtk/gtkentry.c gtk/gtkstyle.[ch]: removed paint_entry() - - it was identical to paint_flat_box(). - - * gtk/gtkstyle.c: Coding style fixups. - - * gtk/gtkwindow.c (gtk_window_move_resize): removed useless - test. - - * gtk/gtkframe.c gtkstyle.[ch] gtknotebook.c: - Change 'side' for paint_[box/shadow]_gap and paint_extension - to be GtkPositionType instead of a random int. - - * gtk/gtkaspectframe.c (gtk_aspect_frame_paint): Use - "frame" as detail - an aspectframe should draw identical - to a frame. - -Tue Oct 27 09:58:11 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_merge_child_shapes): renamed - from combine_child_shapes(). - - * gdk/gdkwindow.c: Merge propagate_shapes() and - propagate_combine_shapes() to remove code duplication. - -Thu Nov 5 14:31:57 PST 1998 Manish Singh - - * gdk/gdk.c: sometimes we get a KeyRelease before a KeyPress in - gdk_event_translate, and the USE_XIM buffer isn't allocated yet. - So allocate some mem if it's not already done. - - * clist scrollbar merges from HEAD - -Tue Nov 3 13:16:36 PST 1998 Manish Singh - - * gtk/Makefile.am: remove explict -ldl, gmodule takes care of that - - * gtk/gtkdnd.c: start TARGET_MOTIF_SUCCESS from 0x40000000 instead - of 0x80000000, so we stay within the bounds of a postive signed - int (it broke some compilers) - - * gtk/gtkmenushell.c - * gtk/gtkoptionmenu.c: merges from HEAD to make option menus work - when some of the menuitems are hidden - - * gtk/gtkthemes.h: don't include dlfcn.h explictly, gmodule takes - care of that - - * gtk/gtkwidget.c: add a dummy continue after the line label - next_rect, since some compilers don't like label: } - -Sun Nov 1 20:05:55 PST 1998 Manish Singh - - * Okay, so we need the X11R6 keysyms so programs don't have to - worry about them. They don't conflict anyway. Reverted the #ifdef - changes to gtk/*.c - - * gdk/Makefile.am: remove the BUILT_SOURCES rule, and make a - special rule for them (X-derived-headers) - -Sun Nov 1 05:30:32 PST 1998 Manish Singh - - * gdk/Makefile.am: changed the awk scripts to generate gdkcursors.h - and gdkkeysyms.h into sed scripts, since the awk scripts weren't - portable, and we really shouldn't be using awk anyway. - - * makecursors.awk - * makekeysyms.awk: bye bye - - * gtk/gtkaccelgroup.c - * gtk/gtkclist.c - * gtk/gtknotebook.c - * gtk/gtkwindow.c: don't use X11R6 keysyms if they aren't there - -Sat Oct 31 15:22:14 PST 1998 Manish Singh - - * gdk/Makefile.am: do the same built sources trick for gdkcursors.h - and gdkkeysyms.h. Remove those files from CVS. - -Sat Oct 31 14:44:01 PST 1998 Manish Singh - - * gdk/gdk.c: move prototype of gdk_wm_protocols_filter outside - of the USE_XIM #ifdef - - * gtk/Makefile.am: cause the built sources to be rebuild when possible, - even with --include-deps. Slightly different from timj's fix, to avoid - circular dependency with gtkmarshal.c - - * autogen.sh - * gtk/gtkclist.[ch] - * gtk/gtkctree.c - * gtk/gtkfontsel.[ch] - * gtk/gtklist.c - * gtk/gtklistitem.c - * gtk/gtkobject.[ch] - * gtk/testgtk.c: merges from HEAD - - * gtk/gtkmenubar.c - * gtk/gtkradiomenuitem.c - * gtk/gtktreeitem.c: cleanups - -Wed Oct 28 23:32:19 PST 1998 Manish Singh - - * gdk/gdkrgb.c: Oops. s/BIGENDIAN/BIG_ENDIAN/ - -Wed Oct 28 19:04:49 PST 1998 Manish Singh - - * configure.in: AIX has libpthreads, to make sure you can have - more than one thread. Also add -D_THREAD_SAFE, and reorder - configure.in so CFLAGS doesn't get clobbered when we actually - want to modify it - - * gdk/gdkimage.c: initialize the bpp and byte_order fields properly - in gdk_image_get - - * gtk/testdnd.c: removed unused variable "buf" - -Mon Oct 26 16:46:15 1998 Owen Taylor - - * gtk/gtkcontainer.c (gtk_container_unregister_toplevel): - remove_link(), not remove() - -Thu Oct 22 02:27:30 PDT 1998 Manish Singh - - * gdk/gdkrgb.c: use glib endian stuff - - * configure.in: don't need to check for endianness anymore - - * gtk/gtkstyle.h: removed #pragma }, causing a silly warning - -Wed Oct 21 17:44:27 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset - all toplevel widgets, not toplevel windows. (I.e., - plugs should be reset) - - * gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we - _do_ need to notify the other toplevels - by the time - the get the client messages, the RC file dates will - have been updated. - - * gtk/gtkcontainer.h: Added a function call to list - every toplevel widget. - - * gdk/gdk.c (gdk_event_send_client_message_to_all_recurse): - Don't send client messages to _every_ window on display! - -Tue Oct 20 16:21:04 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags - when dragging across widgets, only in drags - starting in widget. - -Tue Oct 20 15:59:49 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_source_info_destroy): - Emit "drag_end" signal at end of drag. - -Tue Oct 20 13:07:54 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_read_rcfiles): Look - for "gtk-embedded" data currently set by - GtkSocket, and use that to forward client message - on to embedded windows. Only reset our own toplevel - - the others will handle themselves. (Now that - GtkMenus live in GtkWindows) - -Mon Oct 19 16:40:40 1998 Owen Taylor - - * gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify - client window finding code so that it works with - WM's other than fvwm. - -Sun Oct 18 22:48:27 1998 Owen Taylor - - * gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added - the "GtkDrawWindow" class, which is a descendent - of the Window class which leaves its background alone. - Essentially, a toplevel drawing area, though it does - allow adding a child. - -Sat Oct 17 00:40:51 1998 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when - merging RC styles. Report new share/themes path for - themes directory. Deref theme engines when appropriate. - - * gtk/gtkclist.c: Set all backgrounds in _style_set(). - Make sure that pixel for xor_gc is never 0. - - * gtk/gtkctree.c: Choose colors for plus/minus more - carefully, in a hopefully style-independent fashion. - (Still needs a bit more work) - - * gtk/gtkwidget.c: Don't send expose events to widgets - which are about to be resized and redrawn. (Needs a - bit more thought.) - - * gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid - drawing on tabs for newly allocated, un-sized - pages - we'll get the size wrong. - -Thu Oct 1 17:38:07 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_redraw_queue_remove): Fixed - up stupidities in last commit. - -Thu Oct 1 14:25:43 1998 Owen Taylor - - * gtk/gtkwidget.c: When handling queued resizes, account - for handleboxes, where the widget heirarchy is different - than the window heirarchy by just queueing a resize on - the entire handlebox if the detached child is changed. - - - Remove widgets from the redraw queue when reparenting, - even if not unrealizing. We queue a resize/redraw in - any case. - -Mon Sep 28 21:07:01 EDT 1998 The Rasterman - * gtk/gtkstyle.c: added check to see if the widget has been shaped - byt the app via gtk_widget_shape_combine_mask and if it has does - not reset the shape on theme change. - -Tue Sep 15 11:30:03 1998 Owen Taylor - - * gtk/gtkfilesel.c: Keep a list of directories in which we never - want to stat the entries (like /afs), and assume everything in - those directories is a subdirectory. - - - When following a path, try to open components even when - we don't find them in their parent's directory to - support automounters. - -Fri Sep 11 15:36:33 1998 Owen Taylor - - * gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully - now at least compiles again. - - * gdk/gdk.c (gdk_event_translate): Don't pass events - on destroyed widgets to the gdk_input layer. - -Thu Sep 3 19:45:34 1998 Owen Taylor - - * gtk/gtkthemes.c: Use g_module instead of dlopen() - -Thu Sep 3 19:30:11 1998 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_expose): Check - if we've changed widgets since the expose event - was queued. - -Mon Aug 31 15:33:13 1998 Owen Taylor - - * gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit - to restore approximate bin compatibility with the - non-themes branch. (This does break bin compat - within the themes branch.) - -Sun Aug 30 16:48:27 1998 Owen Taylor - - * gtk/gtklabel.c (gtk_label_set): Eliminate a - gdk_window_clear_area() that snuck in with the - menu underlines merge. - -Mon Aug 24 23:37:26 1998 Owen Taylor - - * gtk/gtktext.c: Fixed some remaining background drawing, - merges from main branch, cleanups. - -Mon Aug 24 10:55:51 1998 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't - dereference NULL focus tab. - - * gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap - functions since we need to both show/hide and - queue a redraw. (There's some duplication of drawing here, - we probably should only be queuing a redraw on the - "value" portion of the scale.) - -Fri Aug 21 19:02:30 1998 Owen Taylor - - * gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales - into the theme-drawing framework. We do this by making them, - like check/radio-buttons, no-window widgets with subwindows. We - then move the value by calling gtk_widget_queue_clear() and only - redraw the value in our draw() / expose() handler. A virtual - function clear_background is added which queues a clear on the - "background" portion of the widget. - -Fri Aug 21 13:04:27 1998 Owen Taylor - - * gtk/gtktext.c (mark_bg_gc): Make background colors work - again. (We can't always paint the background with a - paint() function - only do that for selected text) - -Mon Aug 17 20:31:01 1998 Owen Taylor - - * gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch] - gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch. - - * Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS. - the themes can't be built as part of the same build since - they depend on gdk_imlib. - -Fri Aug 14 12:44:30 1998 Owen Taylor - - * gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code - from gtkthemes.c. - - * configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am - gtk/ - - - Upgrade to libtool-1.2b + patch to add shared library dependencies - for Linux. (Needs to be extended to other platforms where they - are safe) - - - Check for -ldl so this branch should build on all platforms, though - themes will work on all platforms they could work on. - - - Use -version and -release simultaneously: sonames stay as they are - in the current scheme, but -lgtk-1.1 changes to -lgtk. - - - Added in extra -l flags to library LDFLAGS so we get shared library - dependencies against X libs and -ldl. (But not libgtk against - libgdk or libglib yet, since dependencies against uninstalled - libraries aren't portable) - -Fri Aug 21 16:10:38 EDT 1998 The Rasterman - * gtkrc.c - added api calls to find module and theme paths from gtk. - nuked gtk_install_prefix global. - -Fri Aug 21 12:36:46 EDT 1998 The Rasterman - * fixed gtk_install_prefix global. - -Thu Aug 20 19:27:49 EDT 1998 The Rasterman - * added gtk_install_prefix global const variabel to find where gtk is - installed. - -Thu Aug 20 18:27:29 EDT 1998 The Rasterman - * added ~/.gtk/lib/themes/engines/ to the default searchpath for - gtk theme engines - -Thu Aug 20 18:27:29 EDT 1998 The Rasterman - * made gtkrc scanner append dir that gtkrc is read from to pixmap path. - -Mon Aug 10 23:03:55 1998 The Rasterman - * Fixed minor problem in gtkhandlebox.c with drawing, and some - notebook stuff. Also pixmap theme is now "clean" again. - -Mon Aug 10 23:03:55 1998 Owen Taylor - * gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up - queued area resizing once more. - -Mon Aug 10 23:09:30 EDT 1998 - * Added a few drawing fixes for notebook and other widgets. finished - pixmap theme up to the level that can be supported so far. (need to - add path discovery 9ie where is the rc fiel from - add to pixmap - path so we can get theimages from there too). then we can package - themes. After that need to add to theme seartch path stuff in users - home dir. - -Thu Aug 6 16:49:25 1998 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a - drawing area, draw in an expose handler. - - * gtk/gtknotebook.c (gtk_notebook_expose): Check for - empty current page. - -Wed Aug 5 16:13:15 1998 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved - creation of GC's so that they will be set before - they are used for map events (why are they used there?) - - * gtk/gtkwidget.c: Fixed mistake that caused widgets to - be queued in multiple times in the queue. - -Wed Aug 5 14:23:52 1998 Owen Taylor - - * gtk/gtkstyle.c (gtk_default_draw_shadow): Don't set - clip rects (or do anything) for shadow_none. - -Wed Aug 5 13:14:57 1998 Owen Taylor - - * gtk/gtkbutton.c (gtk_button_paint): Restored paint function. - Yes, it was needed. draw() and expose() are _not_ - identical. - -Sat Aug 1 17:44:31 EDT 1998 EDT 1998 The Rasterman - * Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again. - -Fri Jul 31 19:45:12 EDT 1998 The Rasterman - * YES YES YES YES YES clist borders work again! YES! YES YES! gimme - more baby oooh yeah more more MORE YES YES. - -Fri Jul 31 19:45:12 EDT 1998 The Rasterman - * hopefully fixed problem wiht togglebuttons acting like - radiobuttons in gtktogglebutton.c - -Thu Jul 30 23:36:46 EDT 1998 The Rasterman - * fixed another drawing buglet in the frame drawing code (actually - in the clearing code but anyway in gtkstyle.c) - -Thu Jul 30 19:23:48 EDT 1998 The Rasterman - * Fixed warning from colorsel widget... - -Thu Jul 30 19:10:42 EDT 1998 The Rasterman - * Fixed defautl drawing code to no longer clobber the original style - pixmap bgs as it did and added a helper funciton og gtkstyle.c to - help with this. - -Thu Jul 30 18:09:21 1998 Owen Taylor - - * gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups - - * gtk/gtktooltips.c: Pass a widget (the window) to the - drawing function instead of the GtkTooltips. - -Thu Jul 30 17:27:10 1998 Owen Taylor - - * gdk/gdkwindow.c: Abstract out checking for shape - extension into a function. - - * gtk/gtkwindow.c: Fix up gtk_window_expose()/draw(). - Remove extra callls to gtk_window_draw(). - -Thu Jul 30 11:18:43 1998 Owen Taylor - - * gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups. - - * themes/th_main.c: Moved messages around so they are - printed before destroying strings. - -Wed Jul 29 16:56:07 1998 Owen Taylor - - * gdk/gdk.c: Fairly simple implementation of expose compression. - (No GraphicsExpose compression yet, always compress - with the equivalent of XtCompressMultiple - no compression - of Expose events across non-Expose events) - - * gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union() - Find rectangle bounding two rectangles. - - * gtk/gtkstyle.c: Set clip rects for a few extra GC's - in gdk_default_draw_shadow() - -Wed Jul 29 16:03:20 EDT 1998 The Rasterman - * Fixed drawing functions to handle switching themes on the fly - gracefully and look decent. - -Tue Jul 28 22:52:10 EDT 1998 The Rasterman - * Added all the theme drawing code to all widgets, fixed up minor - nigglies in some widgets when it comes to themes, seem to be - running into some funky behavior with clipping rects in GC's. Too - many files to list here. (all files that now use gtk_paint_* are - affected). - -Tue Jul 28 22:49:16 1998 Owen Taylor - - * themes/th_main.c themes/th_draw.c gtk/testgtkrc: - Set up the demo theme so it is loaded from the RC file. - - * themes/th_draw.c: Alleviate the hardcoded paths a wee - bit. (use $HOME/themes/) - - * gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in - the RC file via dlopen() - -Tue Jul 28 20:30:56 1998 Owen Taylor - - Internal handling of styles and RC styles pretty much - completely reworked for Theme work. - - * gtkthemes.[ch]: - - Added routines for virtualization of RcStyle and Style handling. - - Temporary "sample" inline theme-engine. (Does nothing - but print out a few messages. - - * gtkrc.[ch] - - Made GtkRcStyle public, added flags to tell if particular - colors have been set. - - RC Styles are "transparent", and the final style for - a widget is the composition of all matching styles - - Added pointer to GtkThemeEngine, and gpointer engine_data - to RC style and style. - - Parse "engine" keyword, load the appropriate theme engine - and call the engine's parser. - - * gtkstyle.[ch] - - Keep a GtkRcStyle * in styles created from Rc Styles. - - Load up images from RC file at style attachment time. - - Call ->engine->foo() at appropriate times. - - Don't use a GCache. All incarnations for a style are - just linked together in a list, depend on the RC style - code to find the existing copy. - -Tue Jul 28 14:41:54 1998 Owen Taylor - - * gtk/gtkwidget.[ch]: Added the concept of queued redraws - of partial areas. This can be done either relative - to the existing windows (gtk_widget_queue_clear[_area]()) - or relative to the future allocation of the widget - (gtk_widget_queue_draw[_area]). - - The initial implementation is pretty braindead, but - can be improved. - - * gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area() - in favor of gtk_widget_queue_clear(). - - * gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear - flags in favor of gtk_widget_queue_clear() - -Tue Aug 4 19:12:14 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up - handling of partially clipped areas. - -Thu Nov 5 18:52:35 1998 Lars Hamann - - * gtk/gtkclist.h (struct _GtkCListClass) - * gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing. - -Thu Nov 5 16:00:32 1998 Lars Hamann - - * gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar, - vscrollbar_policy, hscrollbar_policy. added h/vadjustment. - - * gtk/gtkclist.c (gtk_clist_class_init): added new args types - "hadjustment" & "vadjustment" - (gtk_clist_set_arg) (gtk_clist_get_arg): new object class - set/get_arg functions - (gtk_clist_construct): don't create/adjust scrollbars. - (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions - to set h/vadjustments - (gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions - to query h/vadjustments - (create_scrollbars): removed. - (create_adjustments): replacement for create_scrollbars - (gtk_clist_new): call gtk_clist_new_with_titles - (gtk_clist_new_with_titles): don't warn on titles == NULL - (move_horizontal): use CLAMP instead - (gtk_clist_set_policy): deprecated method. - use gtk_scrolled_window_set_policy instead. - (vadjustment_value_changed): use clist->vadj. - (adjust_scrollbars): renamed to adjust_adjustments - (adjust_adjustments): former adjust_scrollbars - (gtk_clist_destroy): unref adjustments - (gtk_clist_size_allocate) (gtk_clist_map) (title_focus) - (gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus) - (gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars - (gtk_clist_thaw) (real_insert_row) (real_remove_row) - (gtk_clist_set_row_height) (real_resize_column): - call adjust_adjustments - (gtk_clist_moveto): return if clist has no adjustments yet. - (gtk_clist_parent_set): new GtkWidget::parent_set function. - Autogenerate h/vadjustments if needed. - (move_horizontal) (move_vertical): some cleanups - - * gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new): - call only gtk_viewport_set_h/vadjustment and let these functions - do the work. - (gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment): - generate a new adjustment if needed - - * gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow): - use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed): - queue_resize if visibility of scrollbars changes - (gtk_scrolled_window_remove): only call container_remove with - scrolled_window->viewport automatically if viewport was autogenerated - (gtk_scrolled_window_add): add widget as scrolled_window->viewport. - auto create a viewport only if widget does not take h/vadjustments. - (gtk_scrolled_window_construct): don't generate a viewport - automatically. - (gtk_scrolled_window_forall): call callback with viewport in any case - (gtk_scrolled_window_set_arg): call gtk_container_add in case of - ARG_VIEWPORT - (gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request) - (gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check - viewport != NULL - - * gtk/testgtk.c - (create_ctree) (export_ctree) (create_clist): use a scrolled_window - in conjunction with clists/ctrees - - * gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window - in conjunction with clists - - * gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window - in conjunction with clists - -Wed Nov 4 21:52:57 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment - (gtk_ctree_remove_node): select focus_row if needed - (cell_size_request): only get pixmap size if pixmap != NULL - -Wed Nov 4 04:30:37 1998 Tim Janik - - * gtk/gtkwidget.c: added a bunch of checks for widget != NULL and - GTK_IS_WIDGET (widget): - -Wed Nov 4 02:02:07 1998 Lars Hamann - - * gtk/gtkclist.c (real_remove_row) (sync_selection): set correct - focus_row after a remove_row call. - -Sun Nov 1 21:00:06 GMT 1998 Austin Donnelly - - * gtk/gtkoptionmenu.c - * gtk/gtkmenushell.c: make option menus work when some of the - menuitems are hidden - previously, option menu would popup too - high. - -1998-10-31 Raja R Harinath - - * gtk/gtkfeatures.h.in: Remove `#pragma }'. - - * gdk/gdki18n.h: Update to use new `glib' widechar defines. - - * configure.in (CFLAGS): Don't use test -z "echo .. | grep". Use - case instead. - (wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'. - (GDK_WLIBS): New variable. Lists extra libraries needed to use - widechar functions. - * gtk-config.in (--libs): List $GDK_WLIBS, too. - -Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson - - * Released GTK+ 1.1.3 - - * INSTALL: - * NEWS: - * README: - * gtk+.spec: - * docs/gtk-config.1: updated for v1.1.3 - - * Makefile.am - * sanity_check - * docs/Makefile.am: Includes new 'make release' as well as - 'make sanity'. Also handles html and text creation from html, - and puts them into the distribution - - * docs/Makefile.sgml: removed, similar functionality is now in - the Makefile.am file - - * docs/.cvsignore: ignore html and text directories - * docs/glib.texi: removed (now in glib dist) - -Fri Oct 30 20:02:36 1998 Lars Hamann - - * gtk/gtklist.c (gtk_list_remove_items_internal): - free undo_un/selection, unselect list_item before disconnect - signal functions - (gtk_list_destroy): removed. gtk_list_shutdown clears the list - already - (gtk_list_signal_item_select) (gtk_list_signal_item_deselect) - (gtk_list_signal_item_toggle) (gtk_list_signal_scroll_horizontal) - (gtk_list_signal_toggle_focus_row) (gtk_list_signal_select_all) - (gtk_list_signal_unselect_all) (gtk_list_signal_undo_selection) - (gtk_list_signal_start_selection) (gtk_list_signal_end_selection) - (gtk_list_signal_toggle_add_mode) (gtk_list_signal_scroll_vertical) - (gtk_list_signal_extend_selection) (gtk_list_signal_focus_lost): - new functions. These functions are signal connected to inserted - list_items, to handle key bindings and GtkItem::de/select/toggle - signals. - - * gtk/gtklistitem.c (gtk_list_item_class_init): added missing - gtk_object_class_add_signals call. - (gtk_list_item_toggle_focus_row) (gtk_list_item_select_all) - (gtk_list_item_unselect_all) (gtk_list_item_undo_selection) - (gtk_list_item_start_selection) (gtk_list_item_end_selection) - (gtk_list_item_extend_selection) (gtk_list_item_scroll_horizontal) - (gtk_list_item_scroll_vertical) (gtk_list_item_toggle_add_mode): - removed. These functions are handled via connected - gtk_list_signal_* functions now - -Fri Oct 30 05:24:43 1998 Tim Janik - - * gtk/Makefile.am: cause the built sources to be rebuild when possible, - even with --include-deps: - $(libgtk_la_SOURCES): $(BUILT_SOURCES) - -Fri Oct 30 01:56:08 1998 Tim Janik - - * gtk/gtkobject.c (gtk_object_remove_no_notify): renamed from - gtk_object_data_set_destroy to fit the gtkobject.h API. - - * applied patch from Damon Chaplin : - * gtk/gtkfontsel.h: - * gtk/gtkfontsel.c: - Added support for an extra 'base' filter which an application can - set to restrict the fonts available to the user (e.g. a terminal - program only wants the user to be able to select fixed-width fonts). - The type of font (bitmap/scalable/scaled bitmap) is now - also a part of the filter, so that an application can - request that only scalable fonts are shown. - There are new functions to set the base & user filters. - I've also stopped the up/down key press signals getting - to the clists since the font selection widget handles - them itself. It acted a bit strangely before. - -Sun Oct 25 20:27:02 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): support an environment variable - GTK_MODULES= which takes a colon sperated list of module names - automatically loaded at gtk_init() startup. - -Sun Oct 25 08:04:33 1998 Tim Janik - - * gtk/gtkwidget.c: added more g_return_if_fail() statements. - -Thu Oct 22 22:40:35 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy - is sufficient - -Thu Oct 22 16:22:55 1998 Lars Hamann - - * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible - columns - -Thu Oct 22 02:29:53 1998 Tim Janik - - * gtk/gtkfilesel.h: GtkType and macro fixups - * gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern - for the file selection widget to try a completion on (set the - initial filter). - -Wed Oct 14 14:34:04 1998 Tim Janik - - * gtk/gtkmain.c: implement idle functions via GHook. this gives a - slight speed improvement and lessens code duplication. - -Tue Oct 20 14:53:28 1998 Owen Taylor - - * gtk/gtkdnd.c: Always send "drag_leave" to dests - without GTK_DEST_DEFAULT_MOTION. - -Tue Oct 20 11:55:24 1998 Owen Taylor - - * gdk/gdk.c (gdk_event_translate): Handle DestroyNotify - on destroyed windows so we clear the XID table properly. - Finish up restructure of return value handling that - was half-done before. - -Tue Oct 20 12:57:10 1998 Owen Taylor - - * gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt - the window tree more comprehensively, so that we find - client windows hidden under non-toplevels. - -Tue Oct 20 12:43:04 1998 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_data_set): - Maintain the null-termintation guarantee, even when - data = NULL, length = 0. (Warn on data = NULL, - length > 0) - -Mon Oct 19 16:41:44 1998 Owen Taylor - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates - into function prototype for drag_data_received. - -Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro - - * gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++. - -Mon Oct 19 23:44:41 1998 Lars Hamann - - * gtk/gtkclist.c: rearranged some functions - (gtk_clist_set_column_auto_resize): new function. toggle auto_resize - flag of column - (gtk_clist_set_column_resizeable): if resizeable disable auto_resize - (gtk_clist_set_border): deprecated function, use - gtk_clist_set_shadow_type instead. - (gtk_clist_set_shadow_type): replacement for gtk_clist_set_border - (adjust_scrollbars): some cleanups - (select_row) (unselect_row): removed. replaced by equivalent - gtk_signal_emit calls - (add_style_data): removed, use gtk_clist_style_set instead - (gtk_clist_style_set): fill in size data, after style was set. - (set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style) - (gtk_clist_set_cell_style): auto_resize columns if needed - (column_auto_resize): resize column if needed for auto_resize - (real_clear): disable auto_resize while list destroy - (resize_column): removed - - * gtk/gtkctree.c : (gtk_ctree_remove_node) - (gtk_ctree_set_line_style) (gtk_ctree_set_expander_style) - (gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style) - (set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing) - (real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node) - (real_tree_collapse) (real_tree_expand) (column_auto_resize): - auto_resize columns if needed - (gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth) - (real_clear): disable auto_resize while processing the tree - - * gtk/testgtk.c (create_clist) (create_ctree): set auto_resize - for one column - -Mon Oct 19 08:31:36 1998 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_selection_received): Fixed - typo - look for right atom on transfer failures. - -Sun Oct 18 20:52:22 1998 Owen Taylor - - * gtk/gtkwidget.c gtkmarshal.list: Change signal - for drag_data_get to match the use that was being - made of it everywhere else... - -Sun Oct 18 18:16:39 1998 Owen Taylor - - * gdk/gdk.c gdkprivate.h: Added a modular client-message-filter - mechanism, that is used for the DND messages. - - Removed all the old DND code. - - * gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to - get the visual of a given colormap. - - * gtk/gtkcolorsel.c: Conversion to new DND, drag - a color-swatch. - - * gdk/gdk.h gdk/gdkdnd.c: The low-level - X oriented portions of drag and drop protocols. - Sending and receiving client messages, and navigating - window trees. - - * gdk/gdkimage.c: added a gdk_flush() when destroying - SHM images to hopefully make it more likely that - X will gracefully handle the segment being destroyed. - - * gdk/gdkprivate.h gtk/gtkdebug.h: Add new - DND debugging flags. - - * gtk/gtkeditable.[ch]: Updates for the selection handling - changes. - - * gtk/gtkselection.[ch]: Added GtkTargetList, a - refcounted data structure for keeping track of lists - of GdkAtom + information. Removed selection_handler_add - in favor of a "drag_data_get" signal. - - * gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop - dependent) parts of the DND protocols, display of drag icons, - drag-under highlighting, and the "default handlers". - - * gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen - windows that are used for reliable pointer grabs and - selection handling in the DND code. - - * gtk/testdnd.c: New test program for new DND. (Old - DND tests in testgtk still need to be converted.) - - * gtk/testselection.c: Use the new selection API. - - * docs/dnd_internals: Start at describing how - all the new code works inside. - - * docs/Changes-1.2.txt: New file describing source-incompatible - changes in GTK+-1.2. - -Sat Oct 17 22:50:34 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_remove_filter): Free - the right list node. - - * gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent - to the XID table so we can receive events on it. - -Wed Oct 14 12:57:40 1998 Owen Taylor - - * gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function - to get the timestamp from a generic event. - -Fri Oct 9 13:16:04 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_add_events): Added function - that safely adds additional events to a widget's event - mask, even if the widget has previously been realized. - (We can do this, but not remove events from the event - mask). - -Fri Oct 2 17:35:35 1998 Owen Taylor - - * gdk/gdkproperty.c (gdk_property_get): Allow type == 0, - for AnyPropertyType. - -Fri Oct 2 10:32:21 1998 Owen Taylor - - * gdk/gdkproperty.c (gdk_atom_intern): Add client-local - hashing. - -Thu Sep 24 20:33:54 1998 Owen Taylor - - * gdk/gdk.c (gdk_event_send_clientmessage_toall): serial - isn't a timestamp. - -Thu Sep 17 14:23:03 1998 Owen Taylor - - * gdk/gdk.c (gdk_event_translate): Removed printing - of unknown window lookup warnings. (Made it - a GDK_NOTE) - they happen in many circumstances. - -Tue Sep 8 12:38:43 1998 Owen Taylor - - * Call XFilterEvent() on events we get for unknown - windows, since it may be the window Xlib uses to - communicate with the IM. - (From Yung-Ching Hsiao ) - -Tue Sep 1 10:53:52 1998 Owen Taylor - - * gtk/gtkprogress.c (gtk_progress_finalize): Unref - the adjustment. - -Thu Aug 27 12:03:14 1998 Owen Taylor - - * gtk/gtksignal.c (gtk_signal_newv): Improve warning - message for return_value + GTK_RUN_FIRST. - -1998-10-18 Martin Baulig - - * gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle - line wrapping like gtk_text_set_word_wrap () toggles word wrapping. - -Fri Oct 16 15:59:02 1998 Lars Hamann - - * gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell - styles of inserted row - (change_style): change style of focus_row - - * gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style) - (gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions - to set/get row/cell styles. - (gtk_clist_realize): attach row and cell style, allocate row colors. - (gtk_clist_unrealize): detach row and cell styles. - (get_cell_style): new function. get correct cell style. - (draw_cell_pixmap): new function. - (draw_row): draw cells with row or cell styles. - (row_new): set cell and row styles to NULL. - (row_delete): detach & unref cell and row styles. - - * gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles): - new functions to attach/detach styles and allocate colors. - (gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row - styles of invisible nodes. - (draw_cell_pixmap): new function. - (get_cell_style): new function. get correct cell style. - (gtk_ctree_draw_expander): new function. draw tree expander. - (gtk_ctree_draw_lines): new function.draw tree lines. - (draw_row): draw cells with row or cell styles. - (row_new): set cell and row styles to NULL. - (row_delete): detach & unref cell and row styles. - (gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style) - (gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style): - Analogons of GtkCList functions - (gtk_ctree_set_spacing): new function. set spacing between - tree expander and cell contents - (gtk_ctree_set_expander_style): new function. set expander style - of ctree. - (ctree_is_hot_spot): few changes due to draw_row modifications. - -Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro - - * gtk/gtkcombo.c: try completion on MOD1-TAB. - Handle case when the combo->list is empty. - -Mon Oct 12 07:51:34 1998 Tim Janik - - * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those - handlers that have not yet been disconnected (finally managed to - trigger the gtk_signal_handler_unref() paranoid warning). - -Sat Oct 10 03:37:50 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y, - width and height which is -1 and not -2. - -Sat Oct 10 00:50:53 PDT 1998 Manish Singh - - * HACKING - * autogen.sh: we need libtool 1.2b now - -Sat Oct 10 03:37:50 1998 Tim Janik - - * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top - and bottom attach arguments as mandatory and readjust the table size - and opposing edge accordingly if required. this way the order in which - the arguments are set doesn't matter. - -Thu Oct 8 15:53:59 1998 Owen Taylor - - * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning - message to print out parent class name correctly. - -Thu Oct 8 07:07:10 1998 Tim Janik - - * gtk/gtkobject.h: - * gtk/gtkobject.c: - removed functions gtk_object_set_data_destroy and - gtk_object_set_data_destroy_by_id. - added functions gtk_object_remove_no_notify and - gtk_object_remove_no_notify_by_id which will remove a certain data - portion without invokation of its destroy notifier, this should only - be used in very controled circumstances. - -Wed Oct 7 23:59:37 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added - size_allocate_title_buttons call - (gtk_clist_realize): changed initial column.window position - -Wed Oct 7 20:27:28 1998 Lars Hamann - - * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists - xor_gc instead - * gtk/gtkctree.c (create_xor_gc): removed - (gtk_ctree_button_press): set correct line_attributes for - clist->xor_gc on drag start - (gtk_ctree_button_release): reset clist->xor_gc - -Wed Oct 7 05:15:36 1998 Tim Janik - - * gtk/gtk*.h: - * gdk/gdk.h: removed all occourances of #pragma } and #pragma { - which were in place to fixup emacs' cc-mode indentation. - putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the - proper way to achive this and doesn't produce problems for - stupid pragma-related compiler bugs. ;) - -Wed Oct 7 00:59:46 1998 Lars Hamann - - * gtk/gtkclist.h: new signal GtkCList::resize_column. - * gtk/gtkclist.c (draw_row): don't draw invisible columns - (size_allocate_title_buttons) (size_allocate_columns): - skip invisible columns - (new_column_width): take min/max_width into account - (gtk_clist_button_release) (gtk_clist_motion): - changes due to changed new_column_width function - (LIST_WIDTH): changed define to inline function. - (real_resize_column): class function for resize_column signal - (gtk_clist_motion): fixed autoscrolling for column resizes - (gtk_clist_set_column_visibility): don't hide last visible column, - changed visible arg to gboolean - (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width): - new functions : set min/max width of a column - (gtk_clist_set_column_resizeable): new function : enable/disable - column resize operations by mouse - - * gtk/gtkctree.c (draw_row): don't draw invisible columns - (ctree_is_hot_spot): return FALSE if tree_column is invisible - (draw_xor_line) (draw_xor_rect): draw full rectangle/line if - tree_column is invisible - (gtk_ctree_find_all_by_row_data) - (gtk_ctree_find_all_by_row_data_custom): new function from - Ronan Bourlier . Returns a GList of all - GtkCTreeNodes with row->data == data. - -Tue Oct 6 14:05:00 1998 Tim Janik - - * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced - memory (Martin Pool ). - -Mon Oct 5 15:26:30 1998 Raph Levien - - * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that - should have been guint32. Thanks to Tristan Colgate for finding it. - -Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson - - * gtk/gtkcalendar.h: - gtk/gtkcalendar.c: More changes: - - The day with focus is now seperated from the day selected - - The day with focus has the xor's line around it - - The selected day is now standard selected style - - The week names and week numbers are now also drawn - with selected style - - Space now selects the day which has focus - -Sun Oct 4 17:55:52 CDT 1998 Shawn T. Amundson - - * gtk/gtkcalendar.h: - gtk/gtkcalendar.c: Some significant changes, including: - - No longer draw focus around entire widget, only around - the day which has focus - - Draw relief around entire widget like originally planned - - Show header and day names by default - - Move data private to the widget out of GtkCalendar struct - and only point to it with a gpointer - - Remove some old unused variables from GtkCalendar struct - -Sun Oct 4 17:45:43 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: update I've had sat around: - - Grammar patch from James R. Van Zandt - - Range Widget update from David Huggins-Daines - - New Toolbar section from Jacek Wojdel - -1998-10-01 Martin Baulig - - * gtk/gtkclist.h (GtkCListColumn): Added `visible'. - - * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function. - Makes it possible to individually show and hide columns. - (size_allocate_columns): Adapted to keep track of hidden columns. - (size_allocate_title_buttons): Likewise. - -Sat Oct 3 17:54:48 1998 Tim Janik - - * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign - fundamental types, collect an argument of the type returned from - gtk_type_get_varargs_type(). removed the first macro argument which - was just the same as the fundamental type of the *arg passed to - the macro. - * gtk/gtkarg.c (gtk_args_collect): - * gtk/gtksignal.c (gtk_signal_collect_params): changed callers. - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and - gtk_type_get_varargs_type() to set and query the varargs collect - type used for a fundamental type, registered outside of Gtk. - - * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments - GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to - GTK_TYPE_FLOAT. - - * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments - GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE - to GTK_TYPE_FLOAT. - -Sat Oct 3 01:25:24 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse) - (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand): - fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV - - (real_tree_expand) (real_tree_collapse): - don't expand/collapse a leaf - -Fri Oct 2 16:10:36 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't - segfault when looking up a non-existant value name (reported by - Pablo ). - -Thu Oct 1 10:40:20 1998 Tim Janik - - * gtk/gtkclist.h (gtk_clist_prepend): - * gtk/gtkclist.c (gtk_clist_prepend): new function. - (gtk_clist_insert): added g_return_val_if_fail() - statements. accept a row parameter < 0 or > clist->rows to indicate - append mode. - (real_clear): first clean up all internal pointers and lists (e.g. - clist->row_list or clist->rows), then delete the distinct rows. this - is required because of destroy notifiers, we need to have all internal - structures updated and be reentrant. - - * gtk/gtkcalendar.h: - * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the - GtkCalendarClass signal methods. - GtkType and macro fixups, put `void' into () prototypes, avoid C++ - style comments, indentation fixes, fixed some g_return_if_fail() - statements. - (gtk_calendar_paint_header): - (gtk_calendar_paint_day_names): - (gtk_calendar_paint_week_numbers): - (gtk_calendar_paint_main): made these static functions. - (gtk_calendar_select_month): - (gtk_calendar_select_day): - (gtk_calendar_mark_day): - (gtk_calendar_unmark_day): - (gtk_calendar_get_date): signedness corrections, use guints - rather than gints. - (gtk_calendar_size_request): removed unused variables. - -Wed Sep 30 13:11:09 1998 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all - widgets in the ->widgets_by_action list that have a callback - defined (not only those with a callback_action!=0). - -Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson - - * gtk/gtkcalendar.h: - gtk/gtkcalendar.c: - examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff - -Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson - - * gtk/gtkcalendar.h: - gtk/gtkcalendar.c: - examples/calendar: Added gtkcalendar widget and demo - -Sat Sep 26 06:15:34 1998 Tim Janik - - * gtk/gtkclist.c (gtk_clist_sort): - (gtk_clist_clear): - (gtk_clist_unselect_all): - (gtk_clist_select_all): adde g_return_if_fail() statements. - -Sat Sep 26 04:46:22 1998 Tim Janik - - * configure.in: set binary age and interface age to 0. - - * gtk/gtkspinbutton.h: - * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to - gtk_spin_button_configure. gtk_spin_button_construct is still defined - as an alias for gtk_spin_button_configure for source compatibility, - but actuall use is deprecated. - typeness corrections, i.e. gint->gboolean and gint->guint. - added object arguments: GtkSpinButton::value, GtkSpinButton::wrap, - GtkSpinButton::shadow_type, GtkSpinButton::update_policy, - GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks, - GtkSpinButton::adjustment, GtkSpinButton::digits and - GtkSpinButton::climb_rate. - GtkType and macro fixups. - -Sat Sep 25 23:33:55 1998 Tim Janik - - * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get - the *real* geometry position of a window, taken possible window - manager offsets into account. - this has been succesfully tested with fvwm, fvwm-2, bowman, olwm, - olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment. - it does fail though for amiwm which adds windows to a pseudo root - window, and for icewm by a small offset because it defines the - geometry position whithin its border. - - * gtk/testgtk.c: added "saved position" test to figure how - gdk_window_get_root_origin() interacts with window managers (repopup - this window to figure ;). - -Wed Sep 23 06:09:19 1998 Tim Janik - - * configure.in: update to Gtk+ version 1.1.3, binary age 1, - interface age 1. - - * gtk/gtkobject.c - (gtk_object_ref): - (gtk_object_unref): check for ->ref_count to be greater than 0 (the - existing code was buggy in letting ->ref_count==0 pass through and - then failing the living_objs_ht assertion). - - * gtk/gtkclist.c (draw_row): fix chopping bug for right justified - pixtext fields (Roman Pozlevich ). - -Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson - - * Released GTK+ 1.1.2 - -Mon Sep 21 01:12:44 1998 Jay Cox (jaycox@earthlink.net) - - * gtk/Makefile.am: use $(PERL) instead of perl - * gtk/gtkcolorsel.c: render properly in non-square aspect ratios. - also much faster to render. - -Mon Sep 21 07:44:30 1998 Tim Janik - - * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate - the required memory block, rather than allocating it newly from - scratch and doing a full-blown block copy on it. - -Mon Sep 21 02:30:06 1998 Tim Janik - - * NEWS file update for upcoming release of Gtk+ version 1.1.2, - binary age 0, interface age 0. - - * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident. - -Sun Sep 20 18:21:46 1998 Owen Taylor - - * ltmain.sh: Patch to libtool-1.2b to make --disable-static - work. - -Sun Sep 20 09:52:39 1998 Owen Taylor - - * HACKING: indent other than GNU indent should be OK - now. - - * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file - instead of piping through indent. If indent wasn't - found in ./configure don't bother indenting at - all. - -Fri Sep 18 19:11:10 1998 Owen Taylor - - * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap. - -Fri Sep 18 18:54:59 1998 Jay Cox (jaycox@earthlink.net) - - * gtk/Makefile.am: use $(AWK) instead of awk - -1998-09-18 Raja R Harinath - - * gtk/Makefile.am (gdk_headers): - Remove references to $(top_srcdir). - (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify. - * gtk/makeenums.pl (parse_entries): Don't look for $srcdir. - -Fri Sep 18 19:58:24 1998 Tim Janik - - * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to - GData*object_data to cure compiler warnings. - -Thu Sep 17 19:06:47 PDT 1998 Manish Singh - - * install-sh - * missing - * mkinstalldirs: updated to latest automake version - -1998-09-17 Raja R Harinath - - * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ... - (gtkinclude_HEADERS): ... here. - (gtk.defs): Pass `g' flag to sed, to replace all occurances. - -Thu Sep 17 10:49:51 1998 Raph Levien - - * HACKING: added GNU indent, as it is now required to successfully - build gtk+. Should this be detected in autoconf, possibly? - -Tue Sep 15 14:57:30 1998 Owen Taylor - - * Makefile.am gtk-config.in l*: Update to libtool-1.2b, - change library versioning scheme to drop LT_RELEASE - from the -l line, while keeping it in the soname. - -Tue Sep 15 14:10:33 1998 Owen Taylor - - * configure.in Makefile.in: define a MAINT-like variable REBUILD - which is set if Perl and awk are found, and autogenerated sources - can be rebuilt. Remove the auto-generated sources from - CVS. - - Add dependencies so that the autogenerated sources are - rebuilt if the files they depend on change. - (This unfortunately currently results in the entire - gtk/ directory being rebuilt when any header changes. - Moving all enums to gtkenums.h would fix this.) - -Thu Sep 17 05:12:48 1998 Tim Janik - - * gtk/gtkobject.h: added gtk_object_set_data_destroy and - gtk_object_set_data_destroy_by_id functions to set the destroy - function pointer for an existing data portion. - - * gtk/gtkobject.c: removed the GtkObjectData implementation and - made all gtk_object_*data* functions use the GLib equivalents. - -1998-09-16 Federico Mena Quintero - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type - is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that - (widget != NULL), otherwise radio button insertion will not work - -- the widget argument is NULL for the first radio button in the - group. - -Tue Sep 15 13:09:24 1998 Owen Taylor - - * gdk/gdkimage.c (gdk_image_new): Reverted global changes - of g_new to malloc(), added back in the one place where - it actually mattered. #include . - - * gdk/gdkrgb.c: g_malloc() to malloc() as above. - -Tue Sep 15 11:30:03 1998 Owen Taylor - - * gtk/gtkfilesel.c: Keep a list of directories in which we never - want to stat the entries (like /afs), and assume everything in - those directories is a subdirectory. - - - When following a path, try to open components even when - we don't find them in their parent's directory to - support automounters. - -Tue Sep 15 11:06:13 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Don't request - a new size from the WM if we asked for the same size - before and our request was rejected. - - * gtk/gtkwindow.c (gtk_window_configure_event): If - in response to a request, we get a configure event - with unchanged dimensions, send a synthetic expose - since ForgetGravity won't expose our window. - -Mon Sep 14 14:28:24 1998 Owen Taylor - - * gtk/gtktext.c (adjust_adj): Change the way we - set the adjustments on resize so that it tries to - keep the beginning of the text in approximately - the same place. - - Removed assertion that the above change made invalid. - -Thu Sep 10 22:19:35 1998 Owen Taylor - - * gtk/gtktext.c: - Save first_cut_pixels when switching - sizes, so that if we switch to the _same_ size, - we don't move lines around. - - - Make sure that the text area always has a size of at - least 1x1, then do all computations when realized. - - - When fetching lines in recompute_geometry, make - sure we fetch enough lines to cover the screen. - -Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson - - * gdk/gdkimage.c: changed g_new()s to malloc()s and - g_free()s to free()s to avoid mixing g_new()s with - free()s. X itself uses free() on some of the - malloced memory. - -Sat Sep 12 10:44:06 1998 Owen Taylor - - * gtkfilesel.c: Maintain a list of directories like - /afs we know contain only directories, and avoid - stat'ing files in those directories. (Because - stat'ing all files in /afs is extremely expensive) - - To support automounters, try to open directories, - even if we couldn't find them when reading their - parent directory. - -Thu Sep 3 10:29:03 1998 Owen Taylor - - * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION, - to allow the same gtk.m4 to work for 1.0.x and - 1.1.x. - -Fri Sep 11 15:25:10 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_set_selectable): new function - to set/unset the selectable flag of a single row. - (gtk_clist_get_selectable): new function - to get the state of the selectable flag - - * gtk/gtkctree.c (gtk_ctree_node_set_selectable) - (gtk_ctree_node_get_selectable): clist analogons - -Thu Sep 10 17:04:03 1998 Raph Levien - - * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test - pattern. - - * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment - bugs in the 4bit gray cases. - -Wed Sep 9 02:48:44 PDT 1998 Manish Singh - - * configure.in: added -posix check for NeXTStep - - * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use - a unique buffer for each thread. - - * docs/gtk-config.1: clarified copyright - -Tue Sep 8 05:19:51 1998 Tim Janik - - * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT. - - * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT. - - * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of - ATEXIT. - - * ltconfig: use GLib's ltconfig which honours lcc. - -Mon Sep 7 20:09:23 PDT 1998 Manish Singh - - * configure.in: comment the -std1 check and save LIBS properly - -Sun Sep 6 12:36:23 PDT 1998 Manish Singh - - * gtk/testrgb.c: #include - -Sat Sep 5 16:01:19 1998 Owen Taylor - - * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h: - When the pointer is grabbed on an input window, - either explicitely, or through press-grab, and - then grabbed on a non-input window, ungrab the - devices. - -Sat Sep 5 07:13:19 1998 Tim Janik - - * gtk/gtktypeutils.h: don't include any gdk headers. - added structure definitions for GtkTypeObject and GtkTypeClass, - which cover the very basic fields of GtkObject and GtkObjectClass, - which are actually used by the type system. - - * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h, - we only refer to our own structures. improved class inheritance - sanity checking a bit. - - * gtk/gtkobject.h: placed appropriate comments at the beginnings - of the GtkObject and GtkObjectClass structures, which explain - their relationship to GtkTypeObject and GtkTypeClass. - - * gtk/gtktypeutils.h: - * gtk/gtkobject.h: - moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(), - GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from - gtkobject.h to gtktypeutils.h. - - * gtk/gtkobject.h: - * gtk/gtkobject.c: - removed gtk_object_check_cast() and gtk_object_check_class_cast() - functions. to keep source compatibility, we can provide macro aliases - for the corresponding gtk_type_* functions. but then again, people - shouldn't have been using these functions anyways since they were part - of Gtk's internal API. - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: - implemented gtk_type_check_object_cast() and gtk_type_check_class_cast() - functions to check GtkTypeObject and GtkTypeClass types. - -Thu Sep 3 07:16:54 1998 Tim Janik - - * gtk/gtkctree.h: - * gtk/gtkctree.c: `const' fixups. - - * gtk/gtkclist.h: - * gtk/gtkclist.c: `const' fixups and some coding style adaptions. - - * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text - if it is passed as NULL. - -Wed Sep 2 22:41:40 1998 Raph Levien - - * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth - big-endian cases. Added a 4bpp packed gray mode (somewhat - incorrectly hardwired to MSB), which should take care of - Stric's hardware. - -Thu Sep 3 04:45:57 1998 Tim Janik - - * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small - GtkSIgnalQuery leak. - -Thu Sep 3 04:22:20 1998 Tim Janik - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): - GTK_MENU_DIR_CHILD: check for the existance of - menu_shell->active_menu_item before accessing its child. - GTK_MENU_DIR_PREV: - GTK_MENU_DIR_NEXT: if we haven't had an active item and still - don't, make a default selection. - -Wed Sep 2 00:28:58 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate - the children with _forall for sensitivity changes and with - _foreach on pure state changes. this fixes a lot of the - old inclusions of internal widgets into _foreach calls. - - * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall - do the work. don't walk the subtrees of first level children. - - * gtk/gtktreeitem.c: provide a _forall implementation, - which walks the subtrees as well for include_internals. - - * gtk/gtkmenuitem.c: provide a _forall implementation, which walks - the submenus as well for include_internals. - - * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and - implemented gtk_scrolled_window_forall, which will iterate over - the viewport and the scrollbars for gtk_container_forall or - iterate over the viewports children for gtk_container_foreach. - - * gtk/gtktoolbar.c: - * gtk/gtktable.c: - * gtk/gtkpaned.c: - * gtk/gtkpacker.c: - * gtk/gtkmenushell.c: - * gtk/gtklist.c: - * gtk/gtkfixed.c: - * gtk/gtkclist.c: - * gtk/gtkbox.c: - * gtk/gtkbin.c: - * gtk/gtknotebook.c: - removed the old gtk_*_foreach functions and provided gtk_*_forall. - - * gtk/gtknotebook.c: - (gtk_notebook_real_switch_page): expose tabs. - (gtk_notebook_page_num): new function to return the page number - of a distinct child. - (gtk_notebook_focus): minor fixups. foxus handling is still screwed - under some circumstances. - - * gtk/gtktreeitem.c: - (gtk_real_tree_item_select): - (gtk_real_tree_item_deselect): major fixes. - some general fixups wrt queue_redraw, and tree items not being - NO_WINDOW widgets. - - * gtk/gtklistitem.c: - (gtk_real_list_item_select): - (gtk_real_list_item_deselect): - (gtk_real_list_item_toggle): - removed unneccessary queue_redraw calls. - -Wed Aug 30 09:42:07 1998 Tim Janik - - * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and - automatically popup the menu on space bar. - -Wed Aug 26 06:40:34 1998 Tim Janik - - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class - method), which acts similar to gtk_container_foreach(), but iterates - over internal children. the GtkContainer::foreach signal vanished in - favour of a new class method ->forall() that optionally includes - internal widgets. - - * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation - but a _forall implementation, since all child widgets we have are - internal ones. - (column_button_create): set the parent window prior - to gtk_widget_set_parent(). - - * gtk/gtkwidget.c: - exchanged all calls to gtk_container_foreach() with - gtk_container_forall(). - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through - the GtkWidget::composite_child argument. to have a widget created - with the flag initially, two new functions got added to wrap a widgets - creation: - gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag(). - -Wed Aug 25 23:37:39 1998 Tim Janik - - * gtk/gtktooltips.h: - * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as - gtk_tooltips_force_window(), so tooltips->tip_window can be accessed - prior to the first tip being set. - don't put an extra reference on the window, since it is a toplevel, - it wont get destroyed from anywhere else. - - * overall macro and GtkType fixups. - -1998-09-02 Federico Mena Quintero - - * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE" - constructs by more forgiving ones. (Does anyone else feel like - the color selector need rewriting?). - -Tue Sep 1 10:53:52 1998 Owen Taylor - - * gtk/gtkprogress.c (gtk_progress_finalize): Unref - the adjustment. - - * gtk/gtkmenu.c: Modified reference counting so - that the reference count from the toplevel that - the menu creates to the menu is invisible to the - application. - -Mon Aug 31 21:36:31 1998 Raph Levien - - * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp - conversion selection logic, so Suns and other big-endian - machines should get faster conv routines. This is also the - point where 4bpp gray and 1bpp are checked in, although I - wouldn't be surprised if 1bpp is a little buggy. This is - synchronized with the 0.0.7 release of GdkRgb. - - * gtk/Makefile.am: - * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the - appropriate change to the Makefile.am - -Mon Aug 31 15:18:19 1998 Raph Levien - - * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function, - which is good for images that scroll (makes the dither patterns - align correctly) - -Sat Aug 29 14:50:56 PDT 1998 Manish Singh - - * gdk/gdkcolor.c: - (gdk_colormap_new) (gdk_colormap_get_system): - quell some warnings with g_hash_table_new - - * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery - when we're done with it - - * gtk/itemfactory.c: - (gtk_item_factory_from_path): - (gtk_item_factory_create_item): free some strings - - * gtk/gtklabel.c: - (gtk_label_finalize): free label->pattern when done - (gtk_label_parse_uline): null terminate pattern string, delete - some duplicated code - - * gtk/testthreads.c: add #include for sleep() - -Tue Aug 25 16:52:47 1998 Owen Taylor - - * gtk/gtktext.c (recompute_geometry): Make sure the - mark we pass to line start is the beginning of a - real line, not a wrapped one. - -Mon Aug 24 18:37:15 1998 Owen Taylor - - * gtk/gtktext.c: Reference count the fonts used in - the text widget. - - * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation - freeing functions to be more consistent, and more - convenient; leave the old names in for backwards compatibility. - - * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the - allocations in pseudo-color colormaps to greatly reduce - calls to XAllocColor. Keep a per-colormap hashtable to - speed up finding if there is an already-allocated matching - color. - - * gdk/gdkcolor.c: Don't just match read the system colormap - when the colormap is created, but synchronize our copy - with the system colormap periodically. - - * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c: - Change XIM constants names to match GDK conventions - - * gtk/testinput.c: Allow the drawing area to get the focus. - - * gtk/testgtk.c: Change around the Text test to demonstrates - multiple fonts, use more colors. - - * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual() - so they work after a widget is unrealized. - - * gtk/gtktext.[ch]: Remove the requirement that the text - widget be realized before adding text (!) Allocate colors - ourself, instead of requiring the caller allocate them. - Allow changing styles to work properly by keeping track - of the values for a certain property are default or - set explicitely. - - * gtk/gtkmenu.h: Added some comments. - - * gtk/gtkentry.c: Changes to match XIM constants. - - * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(), - for adding keyed data to drawables. (Uses g_dataset - internally) - - * gdk/gdkpixmap.c: Keep track of the colors we allocate, - when creating an XPM - store them as user data for the GdkPixmap, - so we don't leak colors when we create pixmaps from XPM's. - - Allocate memory for color information in large blocks instead of - as many little pieces. - -Mon Aug 24 11:09:32 PDT 1998 Manish Singh - - * gdk/gdkrgb.c: removed some unused variables - - * gtk/gtkclist.c - * gtk/gtkmain.c: #if 0'd out some unused code - - * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug - -Mon Aug 24 02:36:53 1998 Tim Janik - - * gtk/gtkarg.h: - * gtk/gtkarg.c: - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: - * gtk/gtkobject.h: - * gtk/gtkobject.c: - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: - (gtk_object_new): - (gtk_object_set): - (gtk_widget_new): - (gtk_widget_set): - (gtk_container_add_with_args): - (gtk_container_child_set): - begin the parameter elipsis (...) after the first argument name. this - change is source compatible, since it was always required, even as NULL. - (gtk_args_collect): - (gtk_object_args_collect): - (gtk_container_child_args_collect): - changed prototypes to pass first_arg_name, also, pass va_list variable - by value (portability concerns). callers changed. - - * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as - a huge macro GTK_ARG_COLLECT_VALUE() . this is needed because we - can't pass va_list variables by reference for portability reasons. - -Fri Aug 21 22:40:00 Raph Levien - - * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and - get_visual calls, so that it gets implicitly initialized. - -Fri Aug 21 13:06:04 1998 Stuart Parmenter - * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes - such as GtkCTree function name changes - -Fri Aug 21 02:31:26 1998 Tim Janik - - * gtk/gtkmain.h: - * gtk/gtkmain.c (gtk_check_version): added a function to perform a - binary version check, returning a static string for error descriptions, - or NULL on success. - -Thu Aug 20 20:08:15 1998 Owen Taylor - - * gtk/gtktext.c ([un]draw_cursor): Check to see if we've - computed our geometry yet, and if not, ignore the request. - - * gtk/gtktext.c (correct_cache_insert): Fiddled around - some more. All the bug-test codes seem to work at once - now. (fingers crossed...) - -Thu Aug 20 13:04:08 PDT 1998 Manish Singh - - * gdk/gdkrgb.c: silly visual fixes - - * gtk/testgtk.c: call gdk_rgb_init so color preview test actually - works - -1998-08-20 Federico Mena Quintero - - * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do - anything if the event's window is not the bin window. - (gtk_handle_box_motion): Likewise. - -1998-08-19 Raph Levien - - * gtk/testgtk.c (create_color_preview): pushed the colormap and - visual so it would work better with GdkRgb. - -1998-08-19 Raph Levien - - * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a - 4bpp static_color mode (for vga displays). Also fixed a '64' value - in the dither matrix, which was causing one pixel out of 16k to be - dithered wrong. - - * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting - most of the contents. This is an API change - any apps that relied - on the internal structure of GtkPreview will need some change - - most notably in the use of reserved colors. The Gimp needed - changes in this regard. - -Wed Aug 19 00:11:14 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without - G_ENABLE_DEBUG being defined (specifically --gtk-module= and - --g-fatal-warnings), noticed by miguel. - -Tue Aug 18 17:54:40 1998 Tim Janik - - * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of - getcwd(). - - * gdk/gdkprivate.h: - * gdk/gdkglobals.c: - * gdk/gdkwindow.c: - * gdk/gdk.c: - * gtk/gtkwindow.c: - * gtk/gtkitemfactory.c: - dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead. - - * gtk/gtkselection.c: - * gtk/gtkpreview.c: - * gtk/gtkobject.c: - * gtk/gtkmain.c: - * gtk/gtktypeutils.c: indentation fixes due to g_message() use. - - * gdk/gdkrgb.c: exchanged occourances of g_print with g_message. - -Tue Aug 18 17:22:22 1998 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): - * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv - in case of show_tabs == NULL - -Tue Aug 18 03:54:43 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments - to --g-fatal-warnings again. this option now causes log levels of - WARNING and CRITICAL to abort(). - - * gdk/gdk.c: - * gdk/gdkdnd.c: - * gdk/gdkcc.c: - * gdk/gdkfont.c: - * gdk/gdkwindow.c: - * gdk/gdkvisual.c: - * gtk/gtkwidget.c: - * gtk/gtktypeutils.c: - * gtk/gtktree.c: - * gtk/gtkfontsel.c: - * gtk/gtkmain.c: - * gtk/gtkobject.c: - * gtk/gtkpreview.c: - * gtk/gtkselection.c: - * gtk/gtktext.c: - * gtk/gtktree.c: - * gtk/gtktreeitem.c: - did a global search&replace to substitute g_print() calls with - g_message(). libraries shouldn't use printf(), g_print() or - g_printerr() at all. - a bunch of the replacements should probably be wrapped into the - G{D|T}K_NOTE() macros, so they are special cased for debugging - purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY - things. - - * gdk/gdkdnd.c: added copyright notice. - -Mon Aug 17 17:28:00 Raph Levien - - * gdk/gdkrgb.c: Further speedups of the 565_d case. It's - impressively fast now - about 4.65 Mpix/s on an IBM TP 600 - running a PII 233. It's synced with the 0.0.5 release of - GdkRgb. - -Tue Aug 18 00:29:13 1998 Lars Hamann - - * gtk/gtkclist.h: - (struct _GtkCListClass): new class methods: - (sort_list) (insert_row) (remove_row) (set_cell_contents) - - * gtk/gtkclist.c : - (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext): - removed and replaced by (set_cell_contents) - (set_cell_contents): function for class method set_cell_contents - (real_insert_row): function for class method insert_row - (real_remoce_row): function for class method remove_row - (real_sort_list): function for class method sort_list - (default_compare): fix to avoid problems with cell types != CELL_TEXT - - * gtk/gtkctree.h : - (gtk_ctree_export_to_gnode): new function to export a ctree as gnode - (gtk_ctree_node_is_visible): new function to return visibility state - of a node - (gtk_ctree_show_stub): new function to set visibility of root stub - - renamed functions : - (gtk_ctree_insert) -> (gtk_ctree_insert_node) - (gtk_ctree_remove) -> (gtk_ctree_remove_node) - (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr) - (gtk_ctree_set_text) -> (gtk_ctree_node_set_text) - (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap) - (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext) - (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift) - (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type) - (gtk_ctree_get_text) -> (gtk_ctree_node_get_text) - (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap) - (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext) - (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground) - (gtk_ctree_set_background) -> (gtk_ctree_node_set_background) - (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data) - (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full) - (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data) - (gtk_ctree_moveto) -> (gtk_ctree_node_moveto) - (gtk_ctree_sort) -> (gtk_ctree_sort_node) - (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable) - - * gtk/gtkctree.c : - (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext): - removed and replaced by (set_cell_contents) - (set_cell_contents): function for class method set_cell_contents - (real_insert_row): function for class method insert_row - (real_remoce_row): function for class method remove_row - (real_sort_list): function for class method sort_list - (default_compare): removed. CTree now also compares two GtkCTreeRows - instead of two GtkCTreeNodes. - (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after - unlinking the node - (real_tree_expand) (real_tree_collapse): fix for refcounting of - node pixmaps - (set_node_info): call gtk_ctree_node_set_pixtext instead of - manipulating the row itself - - * gtk/testgtk.c: use renamed functions of GtkCTree. - new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode - at work. - -Mon Aug 17 15:31:38 1998 Tim Janik - - * gtk/gtkmain.c: removed gtk_input_add_interp. - - * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return" - keyword. - (gtk_editable_get_event_time): fix default: case. - - * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts. - - * gdk/gdkpixmap.c: made a bunch of unexported functions static. - - * gdk/gdkcolor.c: - * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes - of our functions. - - * various minor compilation cleanups, such as bogus commas in - enums and similar things. - -Mon Aug 17 07:47:43 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() - (thanx raph). - -Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson - - * NEWS: updated for 1.1.2 - * gtk+.spec: version = 1.1.2 - -Mon Aug 17 05:10:29 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): don't call module initializers multiple - times. changed --gtk-with-module to --gtk-module at owen's request. - -Mon Aug 17 03:47:55 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): feature a new commandline option - --gtk-with-module= that allows additional loading and - initialization of modules (e.g. GLE). - -Mon Aug 17 01:40:00 1998 Tim Janik - - * configure.in: version bump to 1.1.2, binary age 0, interface age 0. - pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now. - - * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log - with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks", - "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six - different *-fatal-* arguments now. this needs to be revised and - compressed to a reasonable amount of arguments. - -Sun Aug 16 20:51:59 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): fatal warning option is split up now, - "--g-fatal-warnings" causes fatal warnings in GLib, - "--gdk-fatal-warnings" causes fatal warnings in Gdk, - "--gtk-fatal-warnings" causes fatal warnings in Gtk. - - * gtk/Makefile.am: define G_LOG_DOMAIN for gtk. - * gdk/Makefile.am: define G_LOG_DOMAIN for gdk. - - * gtk/testgtk.c: - * gdk/gxid.c: - we need ugly #undef G_LOG_DOMAIN at the start of these files currently, - since automake doesn't support per target _CFLAGS yet. - - * configure.in: require GLib 1.1.3. - -Sat Aug 15 03:19:30 1998 John Ellis - - * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function - to set a callback to test if a node in drag can be dropped onto - it's currrent location. - * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions - to change the pointer when a drag destination is not allowed. - -Thu Aug 13 21:06:00 1998 Raph Levien - - * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that - speeds up the 565_d case by about 25% total. Thanks Ray! - -Thu Aug 13 16:47:44 1998 Owen Taylor - - * Changed GtkSignalFunc back to () from (void). (again!) - - * Added file README.cvs-commits - -Thu Aug 13 09:11:11 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: - - Tidy up of the menufactory example from - Andy Kahn - - New section on Range Widgets from - David Huggins-Daines - - Started a new section on 'Advanced Event and Signal - Handling' - used an email from Owen. - - New appendix on Gdk Event Types - - Added the tictactoe full example code to the - 'Code Examples' appendix - -Tue Jul 21 12:42:01 1998 Owen Taylor - - * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() - - to calculate all the metrics at once of a string, including - things which weren't calculated before. - - * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New - MenuItem type, that when put as the first thing in a - menu, makes the menu tearoff. Currently drawn as a - dashed line. - - * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag - "hide_on_activate" to the MenuItem class structure to allow - check and radio buttons to be changed with without - hiding the menu. - - * gtk/gtkitemfactory.c: - - Create a AccelGroup for each MenuShell we create. - - If an '_' appears before a character 'c' in the path, - then make 'c' an accelerator in the menu's accel group, - and if the menuitem is menubar C an accelerator - in the itemfactory's accel group. Double '__' inserts - a literal '_' - - * gtk/gtklabel.[ch]: Add support for a pattern arg - - which is a string. If an '_' appears in this string, - the corresponding position in the label is underlined. - - Add gtk_label_parse_uline() convenience function which - takes a string with embedded underlines, sets the - pattern and label, and returns the accelerator keyval. - - * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget. - Instead, they create a GtkWindow and add themselves - to that. (When torn off, another new feature, they - create another GtkWindow to hold the torn off menu) - - New function gtk_menu_set_tearoff_state() - - * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h: - Added action signals for keyboard navigation of menus. - - * gtk/gtkmenushell.c: Key press handler which activates - bindings for navigation, and accelerators, for handling - underline accelerators. Exported functions to select - and activate menu items in a menushell. - - * gtk/testgtk.c: Added a new "Item Factory" test which - tests GtkItemFactory and the new keyboard navigation - of menus. - -Tue Aug 11 20:52:58 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after - external functions have been called. also relookup nodes after - this function has been invoked. - -Tue Aug 11 15:04:52 1998 Owen Taylor - - * gtk/gtktext.[ch]: Removed has_cursor, set the cursor - beginning of Text when creating the Text widget. - - * gtk/testgtk.c: Grab the focus on the text widget so - as to test out the above. - -Tue Aug 11 14:55:00 1998 Owen Taylor - - * gtk/gtkeditable.c: Reverted part of timj's change of Jul 16. - ::changed is a notification signal and should have no default - handler. A complete redraw of the Text widget does _not_ need to - be done on every text insertion. - -Tue Aug 11 13:07:29 1998 Owen Taylor - (gtk-abilleira-072198-patch) - - * gtk/gtkwindow.[ch]: - Add gtk_window_set_modal() which sets a flag; when - set the window does a gtk_grab_add() when the window - is shown, and a gtk_grab_remove() when the window - is hidden. - - * gtk/gtkfilesel.[ch]: Test if it is running in modal form and in - that case will run "Create Dir","Delete File" and "Rename File" - dialogs as modal too. - - * gtk/testgtk.c: Added a button with an example of creating modal - dialog boxes. Including file selection and color selection standard - dialogs. - -Tue Aug 11 00:44:47 1998 Owen Taylor - - * gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c: - Removed CAN_FOCUS by default from scrollbars, button - children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children) - (Scrollbar definitely good change, toolbar bit more questionable) - -Tue Aug 11 17:49:33 1998 Tim Janik - - * examples/packbox/packbox.c: #include fixes (reported by Asbjoern - Pettersen). - -Tue Aug 11 00:35:56 1998 Owen Taylor - - * gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0; - added all logical operations to gc->function. - -Sun Aug 9 23:31:59 1998 Lars Hamann - - * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call - gtk_widget_size_allocate instead of gtk_widget_queue_resize - if the visibility state of a scrollbar changes. - -Mon Aug 10 12:49:54 1998 Tim Janik - - * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd). - -Thu Aug 6 22:37:21 1998 Stefan Jeske - - * gtk/gtkclist.c: Renamed my_merge and my_mergesort to - gtk_clist_merge and gtk_clist_mergesort. :) - -1998-08-06 Martin Baulig - - * gtk/gtkclist.c: Renamed `merge' -> `my_merge' and - `mergesort' -> `my_mergesort'. - -Wed Aug 5 21:12:37 1998 Stefan Jeske - - * gtk/gtkenums.h: new enum GtkSortType. - - * gtk/gtkclist.h: - * gtk/gtkclist.c: - Added sorting capabilities to GtkCList. New APIs : - gtk_clist_set_compare_func, gtk_clist_set_sort_column, - gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort. - New internal functions : default_compare, merge, mergesort. - - (gtk_clist_append): This is just a wrapper for gtk_clist_insert now. - - (gtk_clist_insert): Modified to handle gtk_clist_append and the - auto sort flag. Changed the return value from void to gint to - return the row number where the element was actually inserted. - - (gtk_clist_swap_rows): Return immediately if auto sort flag is set. - - * gtk/gtkctree.h: - * gtk/gtkctree.c: - Removed the auto_sort flag, replaced ctree->node_compare with - clist->compare all over the place, modified default_compare to - match clist's needs. Removed API´s : gtk_ctree_set_auto_sort, - gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef. - - * gtk/testgtk.c: Modified clist/ctree samples to demonstrate - sorting. The lists can be sorted by a column by clicking the - corresponding title button. - -Tue Aug 4 22:02:49 PDT 1998 Shawn T. Amundson - - * Released GTK+ 1.1.1 - -Wed Aug 5 02:57:20 1998 Lars Hamann - - * gtk/gtkctree.h: - * gtk/gtkctree.c: - (gtk_ctree_find): changed to return a gboolean - (gtk_ctree_insert_gnode): new function for recursive insertion of a - GNode tree. - (gtk_ctree_real_select_recursive): fix for extended selection - (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too. - (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag - -Tue Aug 4 16:18:26 1998 Tim Janik - - * configure.in: version bump to 1.1.1, binary age 0, interface age 0. - GLib version 1.1.1 is now required at minimum. - - * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version - of the Gtk+ tutorial, contributed by Eric Jacoboni . - -Mon Aug 3 19:24:48 1998 Owen Taylor - - * gtk/gtktext.c (gtk_text_forward_delete): Undraw the - cursor before (possibly) deleting the cursor's text - property. - - * gtk/gtktext.c (correct_cache_delete): More attempts - to clean the line-start cache up after inserting - a property. Among other things, make sure to - fix up text->current_line, since it is used to - refetch the changed lines. - -Tue Aug 4 10:59:19 1998 Owen Taylor - - * gtk/gtktable.[ch]: Empty rows/columns of the table - should not have been marked as being able to shrink. - (Fixes problem with shrinking scrollbarless GIMP canvases) - -1998-08-03 Federico Mena Quintero - - * gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public - function to find a row by its data pointer using a custom - comparison function. - -Sun Aug 02 22:58:00 1998 George Lebl - - * gtk/gtkclist.c: draw the buttons during a "draw" as well, - this fixes a bug when the whole widget is made non-sesitive - the buttons weren't redrawn - -Mon Aug 3 00:04:09 1998 Lars Hamann - - * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort - * gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines - * gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning - -Sun Aug 2 03:08:07 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_reparent): Change - window_private->parent pointer when reparenting. - -Sat Aug 1 22:17:00 1998 Raph Levien - - * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb - with the standalone release. - -Fri Jul 31 20:45:07 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion) - (gtk_clist_button_release) (new_column_width): Few fixes for - column resize. Store resize column in clist->drag_pos. - -Thu Jul 31 15:18:36 1998 Lars Hamann - - * gtk/gtkctree.h - * gtk/gtkctree.c - * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node - to GtkCTreeNode *node. - - * gtk/gtklist.h : added extended selection mode and auto scrolling. - (struct _GtkList): removed unneeded variables timer, button, - selection_start_pos, selection_end_pos, scroll_direction, have_grab. - Added new variables undo_selection, undo_unselection, last_focus_child, - undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state, - drag_selection, add_mode. - - New functions : - (gtk_list_extend_selection), (gtk_list_start_selection), - (gtk_list_end_selection), (gtk_list_select_all), - (gtk_list_unselect_all), (gtk_list_scroll_horizontal), - (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode), - (gtk_list_toggle_focus_row), (gtk_list_toggle_row), - (gtk_list_undo_selection), (gtk_list_end_drag_selection) - - * gtk/gtklist.c : - (gtk_list_enter_notify): removed, because auto scrolling now works - with gtk_list_motion_notify - - New functions, needed for auto scrolling : - (gtk_list_motion_notify) (gtk_list_move_focus_child) - - New functions for extended selection support : - (gtk_list_set_anchor), (gtk_list_fake_unselect_all), - (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection), - (gtk_list_focus_lost) - - (gtk_list_set_focus_child): modified gtk_container_set_focus_child - function to support auto scrolling, and avoid out-of-sync errors in - case auf GTK_SELECTION_BROWSE - (gtk_list_focus): modified gtk_container_focus function to avoid out - off sync errors in case auf GTK_SELECTION_EXTENDED - - * gtk/gtklistitem.h - * gtk/gtklistitem.c : - New signal functions for key binding support : - (toggle_focus_row), (select_all), (list_item), (unselect_all) - (list_item), (undo_selection), (start_selection), (end_selection) - (extend_selection), (scroll_horizontal), (scroll_vertical), - (toggle_add_mode) - (gtk_list_item_realize): added GDK_KEY_PRESS_MASK | - GDK_KEY_RELEASE_MASK - (gtk_list_item_draw_focus): modify gc if parent has add_mode set. - - * gtk/gtkcombo.c : - (gtk_combo_popup_button_press): grab pointer for combo->list - (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB - (gtk_combo_list_key_press): take care of which child HAS_GRAB - (gtk_comb_init): don't connect combo->button with button_release_event - -Thu Jul 30 12:39:36 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines - -Wed Jul 29 23:31:50 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_motion): column resize now works with - horizontal autoscrolling, GtkCTree's 'reorder ability' now works - with horizontal and vertical autoscrolling. - -Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson - - * gtk/docs/man: new directory - * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page - -Tue Jul 28 00:03:20 1998 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing - bug - -Mon Jul 27 09:18:13 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: GtkTree section from - David Huggins-Daines , - add a GtkText widget example - * examples/text/* example/tree/* : new examples for the - GtkTree and GtkText widgets - * docs/gtk_tut.sgml: added an appendix to hold complete code - examples that aren't in a full form elsewhere in the - tutorial (e.g. scribble) - -Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson - - * Released GTK+ 1.1.0 - -Mon Jul 27 04:18:26 1998 Tim Janik - - * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all - the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0. - -Mon Jul 27 03:11:20 1998 Tim Janik - - * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum - values are looked up. - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and - gtk_type_enums_find_value to lookup enum values. - - * gtk/gtkctree.h: - * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to - GtkCTreeExpansionType. fixed signal creations to pass the enum - types not just the base type GTK_TYPE_ENUM. - - * gtk/gtkclist.h: - * gtk/gtkclist.c: fixed signal creations to pass the real enum - types not just the base type GTK_TYPE_ENUM. - -Sun Jul 26 14:50:07 1998 Stefan Jeske - - * gtk/testgtk.c : - Began cleanup, e.g. use gtk_widget_show_all instead of many - gtk_widget_show's. Completely rewrote the button box sample - (only one window now). Removed "miscellaneous" button. - -Sun Jul 26 14:48:14 1998 Stefan Jeske - - * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): - Fixed wrong allocation for GTK_BUTTONBOX_END. - (allocation->x => allocation->y) - -Sun Jul 26 14:06:37 1998 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release) - (abort_column_resize) (gtk_clist_key_press): fix for pointer grab - - * gtk/gtkctree.c (real_tree_select): added check to avoid double - selected rows - (gtk_ctree_button_press) - (gtk_ctree_button_release): fix for pointer grab - -Sat Jul 25 13:16:00 1998 Damon Chaplin - - * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): - Fixed initialization problem - dirty memory could cause problems. - Also checked that bitmapped fonts can be scaled when showing the - available sizes. - -Sat Jul 25 02:25:03 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_sort_recursive) - (gtk_ctree_sort_recursive): test for node != NULL - (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize) - (gtk_ctree_last) : added sanity checks - * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row" - -Fri Jul 24 18:15:49 1998 Lars Hamann - - * gtk/gtkclist.c (toggle_focus_row): mini code cleanup - -Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro - - * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT. - -Thu Jul 23 00:11:39 1998 Tim Janik - - * gtk/testgtkrc: introduce testbindings on C-1 for buttons, - to check out binding priorities. someone should really write - gtkrc-mode for emacs. - - * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test. - * gtk/testgtk.c (main): and move it here ;). this test says something - on release of C-9. (this works only if the mouse pointer is on a - spinbutton and there is no focus widget). - - * gtk/gtkrc.h: - * gtk/gtkrc.c: - export gtk_rc_parse_color, gtk_rc_parse_state and a new function - gtk_rc_parse_priority to parse path priority types. - export rc tokens. - feature binding parsing. - -Wed Jul 22 23:41:17 1998 Tim Janik - - * gtk/gtkbindings.h: - * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to - feature binding parsing in rc files. - * gtk/gtkbindings.c (gtk_binding_set_new): bug fix. - * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to - order the bindings with lowest priority first. - -Wed Jul 22 15:21:08 PDT 1998 Manish Singh - - * gdk/gdkrgb.c: actually builds and runs properly on big - endian machines now, because we #include config.h. Also - fixed up a compile error in the WORDS_BIGENDIAN case in - gdk_rgb_convert_565_gray. I made the fix by looking at - patterns in the other code; Raph can you verify this? - - * gdk/gdkthreads.c: #include to quell compiler - warnings - -Wed Jul 22 23:00:44 1998 Lars Hamann - - * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse) - (tree_toggle_expansion) (real_select/unselect_row) - (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits - -Wed Jul 15 17:44:47 1998 Owen Taylor - - * gtk/gtktext.c (new_text_property): We free things from - the text property MemChunk, so it needs to be G_ALLOC_AND_FREE. - - * Fix up line start cache when splitting a property - during an insert. - -Wed Jul 15 21:15:52 1998 Owen Taylor - - * gtk/gtkwidget.c: restauration => restoration - -Thu Jul 16 20:11:36 1998 Owen Taylor - - * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht - hasn't been created yet, don't do the lookup. - -1998-07-20 Raph Levien - - * gdk/gdkrgb.c: More cleanups in the config process. - -1998-07-20 Raph Levien - - * gdkrgb.c: Fixed minor config bug preventing big-endian - architectures from working. - -Tue Jul 21 06:32:43 1998 Stefan Jeske - - * gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of - activity indicator. It is settable now as a fraction of the - total width/height using gtk_progress_bar_set_activity_blocks. - Renamed gtk_progress_bar_set_number_of_blocks to - gtk_progress_bar_set_discrete_blocks. - -Mon Jul 20 21:28:18 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth) - (gtk_ctree_pre_recursive_to_depth): new functions, recursive process - tree to specified depth - (gtk_ctree_expand_to_depth): expand tree to specified depth - (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth - -Sun Jul 19 23:51:05 1998 Lars Hamann - - * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case - of GTK_CLIST_ADD_MOD - * gtk/testgtk.c (add1000_clist): changed pixmap - -Sat Jul 18 22:59:04 1998 Tim Janik - - * gtk/gtkmain.h: - * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age. - - * gtk/gtktypeutils.h: - * gtk/gtkitemfactory.h: remove "void" from prototypes again. - -Sat Jul 18 00:54:01 1998 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for - CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL - (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL, - CHILD_ARG_POSITION - (gtk_notebook_reorder_child): new funktion to change position of a - notebook page - (gtk_notebook_draw_arrow): draw left/right arrow with - GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab. - - * gtk/gtkstyle.c (gtk_default_draw_arrow): - added GTK_SHADOW_ETCHED_IN/OUT - -Sun Jul 19 12:19:16 1998 Stefan Jeske - - * gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c - gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c: - Introduced generic GtkProgress widget. Derived GtkProgressBar from - GtkProgress. Made GtkProgressBar much more flexible (see testgtk). - -Fri Jul 17 23:49:28 PDT 1998 Manish Singh - - * gtk/gtktypeutils.h - * gtk/gtkitemfactory.h: explicitly specify void in prototype - -Fri Jul 17 17:54:02 1998 Lars Hamann - - * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end - of list - -Fri Jul 17 05:30:47 1998 Tim Janik - - * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit): - sropped the approach of copying all signal specific data into a - GtkHandlerInfo structure. we rather keep the signal data on the stack - in gtk_signal_real_emit and pass that over to gtk_handlers_run. this - avoids multiple lookups of the signal pointer and works savely together - with destroy notifiers of handlers. - - * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that - someone destroys the entry on the ::activate signal. - -Fri Jul 17 01:21:32 1998 Tim Janik - - * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation - instead of ypad (typo). - (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel - border around the allocation). - (gtk_arrow_init): the static requisition needs to be setup in this - function rather than gtk_widget_new(), so arrow creation works without - the gtk_arrow_new() constructing. - (gtk_arrow_expose): return TRUE, since we actually handled the expose. - - * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default - implementation for GtkWidget::size_request, so size requisition for - simple statically sized widgets like GtkArrow works. - -Thu Jul 16 14:16:16 PDT 1998 Manish Singh - - * gtk-config.in: minor changes to gtk-config: --cflags doesn't - prepend -I@libdir@/glib/include anymore, since glib-config handles - it; --libs strips out redundant -L's properly (there was - code in there to do it before, but it didn't work) - -Thu Jul 16 18:24:41 1998 Tim Janik - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c: signdness corrections all ove the place. - implementation of object arguments: GtkNotebook::enable_popup, - GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs, - GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page. - begun implementation of child args, we have GtkNotebook::tab_label, but - GtkNotebook::menu_label and GtkNotebook::position still lack the - implementation. - (gtk_notebook_remove_page): - (gtk_notebook_current_page): allow negative indices (-1) as alias for - the last page. - - * gtk/gtkentry.h: - * gtk/gtkentry.c: GtkType and macro fixups. implementation of object - arguments GtkEntry::max_length and GtkEntry::visibility. - (gtk_entry_adjust_scroll): queue a redraw. - - * gtk/gtkeditable.h: - * gtk/gtkeditable.c: GtkType und macro fixups. implementation of - object arguments GtkEditable::text_position and GtkEditable::editable. - new (action) signal GtkEditable::set_editable. - provide a default handler for GtkEditable::changed that queues a redraw. - - * gtk/gtktext.h: - * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable:: - set_editable. - -Thu Jul 16 14:42:11 1998 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in - case of drag_target == NULL - * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS. - Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS. - * gtk/gtkfilesel.c (gtk_file_selection_file_button, - gtk_dir_selection_file_button): fix due to changes in clist's - select_row signal. - -Thu Jul 16 01:27:15 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values - similar to gtk_widget_set_uposition(). that is: -1=unspecified, - -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo - to be gint16s rather than guint16s, since that's what the code expected - (for a long time actually). - - * gtk/gtkviewport.c: - added support for object arguments: GtkViewport::shadow_type, - GtkViewport::vadjustment and GtkViewport::hadjustment. - (gtk_viewport_add): chain gtk_bin_add. - - * gtk/gtkscrolledwindow.c: - added support for object argument: GtkScrolledWindow::hscrollbar_policy, - GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport. - - * gtk/gtkadjustment.h: - * gtk/gtkadjustment.c: - * gtk/gtkctree.h: - * gtk/gtkclist.h: - * gtk/gtkctree.c: - * gtk/gtkclist.c: - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c: - * gtk/gtkviewport.h: - * gtk/gtkviewport.c: - GtkType and macro fixups. - -Thu Jul 16 01:10:02 1998 Lars Hamann - - * gtk/gtkctree.h : - * gtk/gtkctree.c : - Added focus handling, horizontal and vertical autoscrolling, - extended Selection Mode, key bindings - Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive - Changed gtk_ctree_scroll_to to gtk_ctree_moveto. - Removed gtk_ctree_clear. - - * gtk/gtkclist.h : - * gtk/gtkclist.c : - Added focus handling, horizontal and vertical autoscrolling, - extended Selection Mode, key bindings - -Wed Jul 15 12:39:27 1998 Raph Levien - - * This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1 - source tree. For more information on GdkRgb, please see: - http://www.levien.com/gdkrgb/ - - * gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It - bothers me slightly that the feature is in gdk, and this file is - in gtk, but it's probably ok. - - * gdk/gdk.h: Added an #include of - - * gdk/gdkrgb.c: - * gdk/gdkrgb.h: Added this module. - - * Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files. - - * configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb). - -Wed Jul 15 14:20:10 1998 Tim Janik - - * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id - to this function. it needs to relookup the signal multiple times. - this fixes spurious segfaults that could show up with signal intensive - code, when classes are created during a pending emission (which is - normal case). - -Tue Jul 14 19:12:12 1998 Tim Janik - - * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons - child if it isn't a label. - -Tue Jul 14 11:41:38 1998 Tim Janik - - * gtk/gtkdialog.h: - * gtk/gtkseparator.h: - * gtk/gtkhseparator.h: - * gtk/gtkvseparator.h: macro and GtkType fixups. - -Tue Jul 14 06:25:46 1998 Tim Janik - - * gtk/testgtk.c (create_cursors): display the current cursor name. - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to - the fundamental type definition. the GtkArg union now only covers - the required storage types for argument values. adapted the GTK_VALUE_* - macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros. - - * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the - code, fixed int/float collection. fixed a bug in the sanity checking - code for GtkObjects. - - * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the - argument collection code. - - * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds - macros when distinguishing the return type. - -Mon Jul 13 12:42:51 1998 George Lebl - - * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private - is not NULL before trying to g_list_remove the child. A patch - from Michael Lausch. - -Sun Jul 12 16:40:06 1998 Tim Janik - - * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument - collection (always casted to doubles upon argument passing). - -Sun Jul 12 05:59:26 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_new): call the base classes' - object_init_func for derived objects with the object's ->klass field - still pointing to the corresponding base class, otherwise overridden - class functions could get called with partly-initialized objects. - (change from Tero Pulkkinen ). - -Sun Jul 12 02:47:35 1998 Tim Janik - - * gtk/gtkobject.h: - * gtk/gtkobject.c: - (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info(). - - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: - (gtk_container_child_arg_get_info): new function which wraps - gtk_arg_get_info(). - -Fri Jul 10 13:29:53 1998 Tim Janik - - * gtk/gtkcontainer.c: - (gtk_container_arg_get): - (gtk_container_arg_set): - * gtk/gtkobject.c: - (gtk_object_arg_set): - (gtk_object_arg_get): - strictly check for the associated get/set arg functions. if an - arg is readable or writable, the associated class functions *must* - be provided. - -Fri Jul 10 09:37:50 1998 Tim Janik - - * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the - padding into account if there is an accelerator. - -Fri Jul 10 05:51:44 1998 Tim Janik - - * gtk/gtkcontainer.c: - (gtk_container_add_with_args): collect the arguments with - gtk_container_child_args_collect, not through gtk_object_args_collect. - (gtk_container_child_set): likewise. - -Fri Jul 10 04:20:35 1998 Tim Janik - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER - which is derived from GTK_TYPE_STRING. - - * gtk/gtkbindings.c: reworked the argument type handling. - -Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson - - * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits - so that it seems to allow normal operation in those modes, - although you will only see black (GIMP toolbar now pops up, - just don't create a new image and GIMP now works in 4 bit.) - -Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson - - * gdk/gdkvisuals.c: 4 bit support, increased available_depths - array, which was too low (?) - -Fri Jul 10 00:02:04 1998 Tim Janik - - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: deleted most of the argument handling code, since - that is now implemented in gtkarg.c. similar to gtk_object_args_collect, - we now export a new function gtk_container_child_args_collect(). - for consistency with the object arguments, a few functions got renamed: - gtk_container_child_arg_get -> gtk_container_child_get, - gtk_container_child_arg_set -> gtk_container_child_set, - gtk_container_child_arg_getv -> gtk_container_child_getv, - gtk_container_child_arg_setv -> gtk_container_child_setv, - gtk_container_add_with_argv -> gtk_container_addv. - note, gtk_container_add_with_args() remained, because its equivalent - would be gtk_container_add(,, ...) which would break all existing code. - (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type, - we expect the `arg_name' argument to be a const static string now. - (gtk_container_get_child_arg_type): function removed. - -Thu Jul 9 07:03:04 1998 Tim Janik - - * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value(). - this is a static inline function that collects command line arguments - from a va_list. this file can just be included in all places that - need this functionality. - - * gtk/gtkarg.h: - * gtk/gtkarg.c: new files which implement most of the argument - handling stuff from gtkobject.c. also collected a few more - gtk_arg_* utility functions from else places. - - * gtk/gtkobject.h: - * gtk/gtkobject.c: moved most of the argument handling code into - gtkarg.c. we now export gtk_object_args_collect() as a non-public - method with a blind va_list pointer. - (gtk_object_add_arg_type): the `arg_name' argument is required to be a - const static string now. - (gtk_object_get_arg_type): function got removed. - - * gtk/gtkwidget.c: - (gtk_widget_set): - (gtk_widget_new): adaptions for gtk_object_args_collect(). - - * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal - fundamental type name so as to have a valid prefix, e.g. "bool"-> - "gboolean", "string"->"GtkString" and somesuch, left "void" as is, - though that should probably be something like GtkNone since the - type itself is called GTK_TYPE_NONE. - even the internal type names need to avoid name clashes and must live - in their own namespace, several code portions rely on that. - we should relly have typedefs such as typedef gchar* GtkString; so the - fundamental type names can be used for code dumpers just like with all - the Gtk/Gdk types. - -Wed Jul 8 15:31:28 1998 Tim Janik - - * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to - keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or - to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons - (GTK_RELIEF_HALF). - (gtk_button_paint): set the background for prelighted buttons with - GTK_STATE_NORMAL only if GTK_RELIEF_NONE. - (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for - the shadow type (otherwise we get strange shadows for coloured buttons). - (gtk_button_set_relief): queue a redraw after changing - the relief. - (gtk_button_class_init): - (gtk_button_set_arg): - (gtk_button_get_arg): added object argument "GtkButton::relief". - - * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF. - -Mon Jul 6 18:30:48 1998 Tim Janik - - * gtk/gtkbutton.h: - * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror - GTK_BIN (button)->child to button->child to keep source compatibility. - - * gtk/gtkoptionmenu.c: - * gtk/gtkclist.c: - * gtkcheckbutton.c: don't refer to button->child, but - GTK_BIN (button)->child instead. - -Mon Jul 6 12:06:23 BST 1998 Tony Gale - - * docs/gtkfaq.sgml: update anon CVS info - -Sat Jul 4 13:16:24 1998 Tim Janik - - * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type - functions. - - * gdk/gdkwindow.c: - * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior - to XFree() calls. - -1998-07-03 Federico Mena Quintero - - * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since - I seem to have erroneously added it to gtkfeatures.h (not .h.in). - -Fri Jul 3 14:55:31 PDT 1998 Manish Singh - - * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE - -Wed Jul 1 20:58:46 1998 Tim Janik - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg" - - * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one - error that prevented signal to entry addition for signals with - parameters. - -Wed Jul 1 10:05:36 PDT 1998 Manish Singh - - * ltconfig: fix for properly detecting shared lib support on - SunPro cc (taken from libtool 1.2.a) - -Wed Jul 1 03:33:30 1998 Tim Janik - - * gtk/gtkrc.c: implementation of the "class" keyword for styles. - -Tue Jun 30 14:30:37 1998 Tim Janik - - * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined - rc set pattern is favoured, this is needed for overriding of style - patterns with subsequently parsed rc files. - -Tue Jun 30 12:45:19 1998 Tim Janik - - * gtk/gtkrc.c: code overhaul for simplicity and more descriptive - error messages. - -Tue Jun 30 09:24:40 1998 Tim Janik - - * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "" - modifier as well. - (gtk_accelerator_name): add "" to the accelerator name if - neccessary. - - * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into - account. - - * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented - default handler for key-release events, which checks for activation - of GDK_RELEASE_MASK key bindings. - - * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType. - -Mon Jun 29 13:39:45 1998 Tim Janik - - * gtk/gtkarrow.h: GtkType and macro fixups. - * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type", - "GtkArrow::shadow_type". - -Sun Jun 28 11:39:17 1998 Tim Janik - - * gtk/gtkalignment.h: - * gtk/gtkbin.h: GtkType and macro fixups. - - * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument - implementation: GtkAlignment::xalign, GtkAlignment::yalign, - GtkAlignment::xscale, GtkAlignment::yscale. - -Sun Jun 28 04:29:10 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init - fucntions from all parent types upon class initialization. - - * gtk/gtkcontainer.c: - (gtk_container_get_type): announce gtk_container_base_class_init to - the type system. - (gtk_container_base_class_init): new function to feature base class - initialization. - (gtk_container_get_child_arg): - (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg - and set_child_arg methods of the class indicated through the argument - name. - - * gtk/gtkobject.c: - (gtk_object_base_class_init): new function to feature base class - initialization. - (gtk_object_init_type): announce gtk_object_base_class_init to the type - system. - (gtk_object_class_init): setup the get_arg and set_arg pointers for - GtkObjectClass. - (gtk_object_setv): - (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods, - instead of bothering the type system with this. - - * gtk/gtkaccellabel.c: - * gtk/gtkbutton.c: - * gtk/gtkradiobutton.c: - * gtk/gtktable.c: - * gtk/gtktogglebutton.c: - * gtk/gtktipsquery.c: - * gtk/gtkbox.c: - * gtk/gtkpacker.c: - * gtk/gtkwidget.c: - * gtk/gtkwindow.c: - * gtk/gtkframe.c: - * gtk/gtkmisc.c: - * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the - corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type - functions wrt GtkTypeInfo initialization. changed a lot of the set/get - arg functions to take a GtkObject argument. - - gtk/gtkadjustment.c: - gtk/gtkalignment.c: - gtk/gtkarrow.c: - gtk/gtkaspectframe.c: - gtk/gtkbbox.c: - gtk/gtkbin.c: - gtk/gtkcheckbutton.c: - gtk/gtkcheckmenuitem.c: - gtk/gtkclist.c: - gtk/gtkcolorsel.c: - gtk/gtkcombo.c: - gtk/gtkctree.c: - gtk/gtkcurve.c: - gtk/gtkdata.c: - gtk/gtkdialog.c: - gtk/gtkdrawingarea.c: - gtk/gtkeditable.c: - gtk/gtkentry.c: - gtk/gtkeventbox.c: - gtk/gtkfilesel.c: - gtk/gtkfixed.c: - gtk/gtkfontsel.c: - gtk/gtkgamma.c: - gtk/gtkhandlebox.c: - gtk/gtkhbbox.c: - gtk/gtkhbox.c: - gtk/gtkhpaned.c: - gtk/gtkhruler.c: - gtk/gtkhscale.c: - gtk/gtkhscrollbar.c: - gtk/gtkhseparator.c: - gtk/gtkimage.c: - gtk/gtkinputdialog.c: - gtk/gtkitem.c: - gtk/gtkitemfactory.c: - gtk/gtklist.c: - gtk/gtklistitem.c: - gtk/gtkmenu.c: - gtk/gtkmenubar.c: - gtk/gtkmenuitem.c: - gtk/gtkmenushell.c: - gtk/gtknotebook.c: - gtk/gtkoptionmenu.c: - gtk/gtkpaned.c: - gtk/gtkpixmap.c: - gtk/gtkpreview.c: - gtk/gtkprogressbar.c: - gtk/gtkradiomenuitem.c: - gtk/gtkrange.c: - gtk/gtkruler.c: - gtk/gtkscale.c: - gtk/gtkscrollbar.c: - gtk/gtkscrolledwindow.c: - gtk/gtkseparator.c: - gtk/gtkspinbutton.c: - gtk/gtkstatusbar.c: - gtk/gtktext.c: - gtk/gtktoolbar.c: - gtk/gtktooltips.c: - gtk/gtktree.c: - gtk/gtktreeitem.c: - gtk/gtkvbbox.c: - gtk/gtkvbox.c: - gtk/gtkviewport.c: - gtk/gtkvpaned.c: - gtk/gtkvruler.c: - gtk/gtkvscale.c: - gtk/gtkvscrollbar.c: - gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to - match the modified GtkTypeInfo structure. - -Sat Jun 27 23:23:27 PDT 1998 Manish Singh - - * gtk/testgtk.c: use rand() instead of random() for portability - -Sat Jun 27 22:42:28 PDT 1998 Manish Singh - - * configure.in - * acconfig.h - * gdk/gdk.c: use native Xlib XConvertCase if it's available - -Sat Jun 27 15:44:46 1998 Tim Janik - - * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide - XConvertCase() functionality from X11R6 on X11R5 systems. - -Thu Jun 25 10:50:34 1998 Stefan Jeske - - * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height, - gdk_string_height, gdk_char_height to retrieve the exact - height of a text. - -Thu Jun 25 07:53:51 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: add section on GtkCList widget, contributed - by Stefan Mars - * examples/clist/clist.c examples/clist/Makefile: example code - for GtkCList widget from the Tutorial - -Wed Jun 24 16:38:02 1998 Tim Janik - - * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize - if the container is not visible, we might be a toplevel! this holds - for all other base container implementations as well, that are - candidates to derive toplevels from. in general the resizing code will - care about visibility itself. - * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise. - * gtk/gtkbox.c (gtk_box_remove): likewise. - - * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around - gtk_window_set_hints(), since we haven't calculated the new position - yet. - - * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and - *mask are alway initialized in a sane way, regardless of the return - value. - -Wed Jun 24 14:14:32 1998 Tim Janik - - * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar - to gtk_container_child_arg_setv, but takes a variable argument list. - new function gtk_container_get_child_arg_type, which is needed by - gtk_object_collect_args. - - * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to - take a function pointer to figure the argument type. - adapted callers to pass gtk_object_get_arg_type. - * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass - gtk_object_get_arg_type.. - - * gtk/gtkpacker.h: - * gtk/gtkpacker.c: - (gtk_packer_reorder_child): new function to change the packing order - of a child. - (gtk_packer_size_request): - (gtk_packer_size_allocate): take container->border_width into acount. - - * gtk/gtkpacker.c: implemented widget arguments: - "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x", - "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y". - implemented child arguments: - "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand", - "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default", - "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y", - "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position". - - * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding, - not the alignment. - - * gtk/gtkeventbox.h: - * gtk/gtkeventbox.c: GtkType and macro fixups. - - * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle - sensitivity of an entry. - - * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color - for insensitive base and text. - - * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds - widget state dependent. - (gtk_entry_style_set): likewise. - (gtk_entry_state_changed): set background color on state changes. - (gtk_entry_draw_text): for non selected text, use state dependent - colors. - - * gtk/gtktogglebutton.c: support for widget arguments - "GtkToggleButton::active" and "GtkToggleButton::draw_indicator". - -Wed Jun 24 08:35:45 1998 Stefan Jeske - - * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility - code for 1.0.x-like parameters. Changed internal interface of - gtk_spin_button_real_spin. Several fixes to avoid emission of - "value_changed" where possible. - -Tue Jun 23 22:21:33 PDT 1998 Manish Singh - - * gtk-boxed.defs: s/GkWidget/GtkWidget/ - -Wed Jun 24 07:47:29 1998 Tim Janik - - * gtk/testgtk.c (create_idle_test): added a frame with radio buttons - to select the resize_mode for the idle-labels container. - - * gtk/gtkframe.h: - * gtk/gtkframe.c: GtkType and macro corrections. - - * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to - support widget argument "GtkRadioButton::group". - -Tue Jun 23 08:01:09 1998 Tim Janik - - * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize - unconditionally if resize_mode has changed. - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set - GTK_RESIZE_QUEUE on the scrolled window. - (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport. - -Tue Jun 23 04:20:30 1998 Tim Janik - - * gtk/gtkcontainer.h: - * gtk/gtkcontainer.c: - (GTK_IS_RESIZE_CONTAINER): new macro to find out if - a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT. - (gtk_container_queue_resize): new function to queue a container for - a *size* reallocation (doesn't affect its position, and thus its - parent is left untouched usually). - (gtk_container_get_resize_container): new function to retrive the next - most resize container which is not itself queued for a resize. - (gtk_container_idle_sizer): new function to carefully process the - container_resize_queue since it can change during invokation of - gtk_container_check_resize(). - (gtk_container_resize_children): total rework of this function to - properly handle resize containers. makes a lot of assumptions whitch - are stated in the comments. - - * gtk/gtkcontainer.c: - (gtk_container_real_check_resize): only requeue ourselves if we are not - a resize container. - (gtk_container_clear_resize_widgets): care for automatic deletion of our - resize_widgets list on size_allocate through a handler connection. - - * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the - focus and default widget of a window, so to take the burden from - gtk_widget_unparent. - - * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried - to be clever, but actually messed up the resize_children logic and - caused unneccessary allocations on its whole branch. besides this, - it messed up the display by not invoking a redraw after the allocation. - - * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so - that it is the child again that is queued for a resize. - (gtk_table_attach): likewise. - (gtk_table_remove): likewise. - -1998-06-22 Miguel de Icaza - - * gtk/gtkentry.h, gtk/gtkentry.c: Export the - gtk_entry_adjust_scroll. Required if you change the cursor - position and want to sync it up with your code (Midnight Commander - gtk front end needs this). - - * gtk/gtktable.c: Deal with tables that have size 0, 0. - -Tue Jun 23 12:12:19 BST 1998 Tony Gale - - * examples/README.1ST: new file to explain how the - code examples should be extracted from the tutorial. - -Mon Jun 22 18:43:11 1998 Lars Hamann - - * gtk/gtkctree.c (draw_row): added new "line style" - GTK_CTREE_LINES_TABBED - * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to - search the glist pointer of an GtkCTreeRow - -1998-06-21 Raja R Harinath - - * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir) - from, and clean up, the dependencies. Generate to intermediate - files to prevent problems with Ctrl-C. - - * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir. - -Fri Jun 19 14:46:56 1998 Stefan Jeske - - * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c: - - Bug fix for precision problem causing occasional double emission - of "value_changed" signal (hopefully works now). - - API change (should be binary compatible) : - new enum GtkSpinType; modified gtk_spin_button_spin to use it. - Modified cursor example appropriately. - To spin by something other than step_/page_increment, use - gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment). - - Made GTK_SHADOW_NONE the default. ;) - - Fixed casting of GtkAdjustment* to GtkWidget* in - gtk_spin_button_value_changed. - -Fri Jun 19 06:18:19 1998 Tim Janik - - * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently - for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the - resize widget list before queuing the container for a new reize. - (gtk_container_need_resize): changed return value to FALSE, since this - used to indicate that no further resizes are needed. - (gtk_container_set_arg): - (gtk_container_get_arg): - (gtk_container_class_init): implemented GtkContainer::resize_mode - argument. - - (gtk_container_resize_children): when we walk up the tree of a resize - widget we need to stop if we are the current parent. - - * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with - GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE. - (gtk_widget_hide_all): retrive the toplevel widget from via - gtk_widget_get_resize_container(). - -Thu Jun 18 23:08:36 1998 Owen Taylor - - * gtk/gtklist.c (gtk_list_button_press): Only respond - to selection with button 1. This allows context-sensitive - menus to work correctly. - -Fri Jun 19 03:29:04 1998 Tim Janik - - * gtk/gtkaccelgroup.c: - * gtk/gtkbindings.c: - * gtk/gtkcontainer.c: - * gtk/gtkitemfactory.c: - * gtk/gtkobject.c: - * gtk/gtksignal.c: - * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with - g_quark_from_static_string calls to save memory. - - * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy - function _after_ the new data has been setup. - minor changes to object data functions to feature the GQuark type. - -Thu Jun 18 21:13:54 1998 Owen Taylor - - * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag - from argv. - -Thu Jun 18 20:22:28 1998 Owen Taylor - - * gtk/genmarshal.pl: Modified to be more idiomatic Perl, - to be more readable perl, to spit out stuff that looks - more like readable C, and to pipe output through indent - so output looks a lot like readable C. No functional - changes. - -Thu Jun 18 17:43:31 1998 Owen Taylor - - * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if - necessary when switching to a masked pixmap. (Based on a patch - from Ullrich Hafner ) - -Thu Jun 18 16:18:10 1998 Owen Taylor - - * gtk/gtkeditable.[ch]: Added action signals for keyboard - bindings. (move_cursor, kill_word, etc, etc, etc). - - removed the time argument from - gtk_editable_cut/copy/paste_clipboard (source but not - binary incompatible...) Instead get time from - gtk_get_current_event (). - - * gtk/gtktext.c gtk/gtkentry.c: Support the new editable - signals. - -Thu Jun 18 02:52:09 1998 Owen Taylor - - Patches from Damon Chaplin : - - gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change - parent class to GtkNotebookClass when splitting the widget in - two. Also updated some comments. - - gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps' - button without a font selected. - - Fixed bug in set_font_name - I hadn't updated the code to - search for the style in the font_style clist - it was - still assuming the style row was equal to its index, - but it isn't any more. - - Changed 'Reset' button on filter page to 'Clear Filter'. - Deleted old code relating to the old 'Filter Fonts' toggle - Updated some comments. - Cleared 'Actual Fontname' if no font is set. - - gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was - destroying the GtkFontSelection instead of the - GtkFontSelectionDialog. - -Thu Jun 18 02:15:31 1998 Owen Taylor - - * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings - flag to make all warnings fatal errors. - - * gtk/testthreads.c: moved include inside - #ifdef USE_PTHREADS - -Thu Jun 18 01:37:31 1998 Owen Taylor - - * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c - gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c: - - - Added new function gtk_container_set_resize_mode() for - fine-grained control of where resize-queueing is done. - - - Removed GtkContainer::need_resize and GtkWindow::move_resize - - Added GtkContainer::check_resize to replace need_resize. - - - Added function gtk_container_check_resize() to trigger - queued resizes, and gtk_container_resize_children() to - Figure which children need to be size-allocated. (logic - moved from gtkwindow.c) - - - Reorganized code in gtkwindow.c - - - Set the resize-mode for viewports so that resizes within - a viewport don't propagate out of it. - -1998-06-18 Federico Mena Quintero - - * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings. - - * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use - g_return_val_if_fail, because the function *does* return a value. - -Thu Jun 18 03:30:06 1998 Tim Janik - - * gtk/gtkaccellabel.h: - * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to - request the size of the accelerator portion of an accel label. - (gtk_accel_label_size_request): don't request for the accelerators size. - (gtk_accel_label_expose_event): only draw the accelerator if we got - enough extra space. - - * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator - width from children. - - * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an - object (after removal has been requested) check if there is still an - accelerator remaining to avoid adding two accelerators on an object. - this can happen for locked accelerators (or accelerator-frozen widgets). - (gtk_menu_size_request): feature childrens accelerator width in size - requests. - - * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use - gtk_widget_freeze_accelerators() for dynamically created menu items. - - * gtk/gtksignal.h: - * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func() - which will return a handler_id > 0 if the specified function is pending - for `signal_id'. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just - a signal handler function to stop accelerator addition. - added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators - which will prevent (undo) any accelerators from being added to or - removed from a widget. - -Wed Jun 17 21:59:09 1998 Stefan Jeske - - * gtkspinbutton.h gtkspinbutton.c testgtk.c: - Changed GtkSpinButtonUpdatePolicy enum, added keyboard - acceleration, new API gtk_spin_button_set_snap_to_ticks. - -Wed Jun 17 03:47:40 1998 Tim Janik - - * gdk/gdk.h: - * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive - the current GdkWindow the pointer is on if there is any. - - * gtk/gtktable.c (gtk_table_init): preallocate a table with one row - and one column, so we don't construction logic at all. changed a few - (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to - unsigned int wraps. - - * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code - portion, added an additional check for parent != widget. - - * more GtkType and macro fixups. - -1998-06-16 Federico Mena Quintero - - * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra - "clip" parameter, which is the clipping rectangle to use. This - eliminates the extremely annoying flicker when exposing parts of - the handlebox. - -Tue Jun 16 14:08:08 PDT 1998 Manish Singh - - * gtk/gtktable.c: fix from TimJ for off-by-one error in table - resizing - -Tue Jun 16 06:29:57 1998 Tim Janik - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for - != 0 on the argument. - - * gtk/gtktable.h: - * gtk/gtktable.c: new function gtk_table_resize() which allowes - shrinking and expanding of tables. implementation of widget arguments - and child arguments. many signedness corrections. - -Mon Jun 15 04:15:03 1998 Tim Janik - - * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box - not only the child, otherwise we might end up taking away other - childrens space after the resize. - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse - an unknown menu path from any source, that path must always be flagged - as "modified", since we don't really know whether it has its default - value or not. - - * gtk/gtktree.c: - * gtk/gtkpacker.c: - * gtk/gtknotebook.c: - * gtk/gtkmenushell.c: - * gtk/gtklist.c: - * gtk/gtkpaned.c: - * gtk/gtkfixed.c: - * gtk/gtkbutton.c: implement gtk_*_child_type functions. - - * gtk/gtkbox.h: - * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type - arguments. implemented child arguments. - - * more GtkType and macro fixups. - -Sun Jun 14 16:30:02 1998 Tim Janik - - * gtk/gtkcheckbutton.h: GtkType and macro fixups. - - * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment - and gtk_clist_get_hadjustment. - - * gtk/gtkcontainer.c: - implementation of children arguments, new class member functions - (child_type), (get_child_arg) and (set_child_arg) plus a new field - n_child_args. - (gtk_container_child_type): new function which returns the type of a - child that the container expects for its next addition. - (gtk_container_add_child_arg_type): new function to introduce a new - child argument at class creation time. - (gtk_container_query_child_args): new function to query all child - arguments that are supported by a container class. - (gtk_container_child_arg_getv): new fucntion to retrive the value of a - child argument. - (gtk_container_child_arg_setv): new function to set a child argument for - a certain container and child combination. - (gtk_container_add_with_args): - (gtk_container_add_with_argv): new functions to feature addition of a - new child in combination with the setting of certain child arguments. - - * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of - GtkContainerClass.n_child_args, similar to the GtkObjectClass members. - this should really be done through class cretion hooks some day. - - * gtk/gtkcontainer.c: changed type of border_width from gint16 to - guint : 16. - - * gtk/gtkpacker.h: - * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to - follow the gtk convention for lower case variable names (important - for language wrappers and widget arguments), and made them guint : 16. - - * examples/packer/pack.c: adaptions for the case converted GtkPacker - fields. - -Fri Jun 12 16:33:23 1998 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not - change the character pair for single line comments. - (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in - GtkItemFactoryClass. - (gtk_item_factory_parse_rc_string): likewise. - -Mon Jun 15 23:39:44 1998 Owen Taylor - - * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font - lists from the klass structure to a static structure - in gtkfontsel.c; cleans up global the namespace. - -Mon Jun 15 22:16:10 1998 Owen Taylor - - * gtk/makeenums.pl (parse_entries): Fix (untriggered) - bug with /*< skip >*/ and remove warning. - -Mon Jun 15 20:14:09 1998 Owen Taylor - - * gtk/Makefile.am: Made the gtkmarshal.* generation - rules maintainer-only. - -Mon Jun 15 16:29:45 1998 Owen Taylor - - * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h - gtk/Makefile.am gtk/makenums.pl - - Removed out the G_ENUM/FLAGS mechanism in favor - of a perl script that parses the standard headers - (with occasional /*< nick=foo >*/ style overrides) - and extracts the enumerations. - - gtk/maketypes.awk: Small improvments to the - translation of names. (Avoid splitting gc into - g_c_.) - -Mon Jun 15 16:25:44 1998 Owen Taylor - - * gtk/gtk.h gtk/gtkfontsel.[ch]: - Damon Chaplin's Font selection widget. - -Mon Jun 15 15:58:34 1998 Owen Taylor - - * gtk/gtkentry.c: - - Restored gtk_entry_adjust_scroll to static - - Changed text positioning code so that we always - display as large a portion of the text as possible. - -Mon Jun 15 15:42:12 1998 Owen Taylor - - * gtk/gtktext.c (gtk_text_finalize): Free internal - structures of text widget. Also, unreference pixmaps - when unrealizing. - -Sat Jun 13 19:14:39 1998 Owen Taylor - - * gdk/gdkinputcommon.h (gdk_input_device_new): Change - 3.3.1 bug workaround to number keys starting at 1. - -Sat Jun 13 11:56:57 1998 Owen Taylor - - * docs/gtk_tut.sgml: Fixed urls for complete example - source for scribble+widget-writing examples. - -Sat Jun 13 11:48:26 1998 Owen Taylor - - * gdk/gdkpixmap.c (gdk_pixmap_extract_color): - Patch from Tom Bech , to handle color - specs of the form c #abcdef [ more keys ] properly. - -Sat Jun 13 10:51:56 1998 Stefan Jeske - - * gtkspinbutton.h gtkspinbutton.c testgtk.c - (gtk_spin_button_set_shadow_type): - New API to set the shadow type of the arrow panel. - -Fri Jun 12 21:20:42 1998 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed - code for drawing the child in two places at once. Unfortunately, - not only does it not work anymore (because reparenting has - been fixed), but it also triggers reparent/expose loops - in some cases. - - * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed - an unecessary unrealize. - -Fri Jun 12 21:18:56 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_reparent): Update the - old and new parents' child window lists properly. - -Fri Jun 12 09:24:47 1998 Tim Janik - - * gtk/gtkpacker.h: - * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType - and GtkSideType, to be consistent with the rest of Gtk's enum - definitions. wrapped the enum definitions with the G_ eunm wrappers. - spelled out the GTK_ANCHOR_* enum values, since single letters don't - work out corectly as nick-names (left the old values as aliases). - some signdness corrections (border-width, spacing), could stand more. - -Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson - - * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: - Added gtkpacker - - * examples/packer/pack.c, examples/packer/Makefile: Added - gtkpacker example - -Thu Jun 11 13:09:00 1998 Owen Taylor - - * gtk/gtktext.c (remove_cache_line): Fixed broken - list-removal code. - - * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr) - Check bounds before deleting. - -Wed Jun 10 23:21:33 1998 Owen Taylor - - * autogen.sh: Support ACLOCAL_FLAGS - -Wed Jun 10 20:54:37 1998 Owen Taylor - - * gtk-config.in: Added missing quotes. - -Wed Jun 10 18:44:22 PDT 1998 Manish Singh - - * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP - -1998-06-10 Raja R Harinath - - * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from - G_COMPILED_WITH_DEBUGGING. - - * configure.in (fd_set): Explain check better. - - * acinclude.m4: New file. Contains `libtool.m4' from libtool-1.2, - the version from which gtk+'s libtool forked. Needed for people - who use post-1.2 alphas of libtool. - -Wed Jun 10 19:36:35 1998 Owen Taylor - - * glib/* Moved to glib module - - * INSTALL Makefile.am acconfig.h autogen.sh configure.in - gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am - - configuration changes for the above: - - - Use AM_PATH_GLIB by default to find glib; also accept - a --with-glib option for using an uninstalled glib. - - - Put --enable-debug information into config.h so - that we rebuild when it changes. (was in glibconfig.h) - -Wed Jun 10 22:23:27 1998 Lars Hamann - - * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping - - * gtk/gtknotebook.h (struct _GtkNotebookClass): - * gtk/gtknotebook.c (gtk_real_notebook_switch_page): - added missing argument (according to Joseph Coleman's bug report) - - * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class - function to fix notebook focus handling - -Wed Jun 10 12:57:03 1998 Owen Taylor - - * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c - glib/gutils.c glib/testglib.c glib/gdataset.c - gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c - gtk/gtktext.c gtk/gtkbindings.c: - - renamed g_const_pointer => gconstpointer - -Wed Jun 10 06:25:17 1998 Tim Janik - - * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when - invoked with (NULL, NULL); (this worked sometime ago). - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: enum and flags type creation can now be done - through gtk_type_register_enum() and gtk_type_register_flags(), - which allow to specify the enum value arrays directly. - the NULL terminated value arrays can be retrived through - gtk_type_enum_get_values() and gtk_type_flags_get_values(); - (gtk_type_children_types): new function to query derived types. - -1998-06-09 Raja R Harinath - - * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in - environment to genmarshal.pl. - (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the - rule), and removed it where not needed (in the dependencies). - - * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir. - -Tue Jun 9 18:44:57 1998 Owen Taylor - - * gtk/gtkobject.c: Removed g_object_pointer_hash, which - was just g_direct_hash. - -Mon May 25 19:54:20 1998 Owen Taylor - - * configure.in: x_libs=, not $x_libs=. Enough said. - (Case only hit for --disable-xshm) - -Mon May 25 12:08:14 1998 Owen Taylor - - * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS - when testing for X libraries, don't replace them. Because - the user might have specified the path to the X libraries - themself before running configure. - - * examples/**.c: Changed all gpointer * to gpointer - -1998-06-09 Federico Mena Quintero - - * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the - fleur_cursor field. Now the cursor is created/destroyed on demand - by the routines that need it. - - * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): - (gtk_handle_box_motion): The fleur cursor is created and destroyed - only when needed. - -Tue Jun 9 09:57:09 1998 Tim Janik - - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and - gtk_enum_set_values to gtk_type_enum_get_values and - gtk_type_enum_set_values respectively, since they are actually type - system features. - - * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with - my last commit. ;) - -Tue Jun 9 01:57:23 1998 Tim Janik - - * gtk/gtkselection.h: - * gtk/gtkselection.c: new functions gtk_selection_data_copy and - gtk_selection_data_free. - - * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call - for "selection_received", which was completely bogus. - * other fixups to gtk_signal_new() calls all over the place. - - * gtk/gtktypebuiltins.h: types as variables (formerly macros). - * gtk/gtktypebuiltins_vars.c: type variable implementations. - * gtk/gtktypebuiltins_ids.c: array entries for builtin type - declarations. - * gtk/gtktypebuiltins_evals.c: enum value arrays. - * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build - gtk.defs. - * gtk/gtk.defs: generated file with scheme syntax for type definitions - of gtk and gdk structures and enums. - * gtk/gtktypeutils.h: - * gtk/gtktypeutils.c: reworked type ids, so they are variables not - macros anymore (this fixes binary incompatibility with new enum - definitions). - - * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible - key bindings for this widget. - * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class' - handler. - - * gtk/gtkobject.h: - * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse() - again. new functions gtk_object_class_user_signal_new () and - gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType - flag on the signal creation. - -Mon Jun 8 20:52:21 1998 Tim Janik - - * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child. - -Mon Jun 8 02:52:37 1998 Tim Janik - - * gdk/gdkprivate.h: - * gdk/gdktypes.h: - * gtk/gtkprivate.h: - * gtk/gtkwidget.h: - * gtk/gtkobject.h: wrapped enum definitions with glib macros. - - * reworked enum value array generation code. gtk.defs is a generated - file now. - -Sun Jun 7 14:34:31 1998 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature - check menu items in the compatibility code (this required me to remove - the "" part from the menu item name, grrr). - -1998-06-07 Marius Vollmer - - * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes. - * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions. - -Sun Jun 7 10:53:02 1998 Tim Janik - - * gtk/gtkitemfactory.h: - * gtk/gtkitemfactory.c: further additions to fit the gimp's code. - additions to the dumping code to feature GtkPatternSpec. - even found a bug to fix in the original code ;) - -Sun Jun 7 09:36:04 1998 Tim Janik - - * gtk/gtkitemfactory.c: support different types of callbacks, to - maintain existing code. - -Sat Jun 6 06:01:24 1998 Tim Janik - - * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment. - - * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from, - this should eventually be done by gentypeinfo.el somewhen. - * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays. - - * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the - enum values of an enum type. - - * gtk/gtk.defs: - * gtk/gtkcurve.h: - * gtk/gtkobject.h: - * gtk/gtkprivate.h: - * gtk/gtkwidget.h: - * gtk/gtkenums.h: - brought enum/flags definitions in sync, added a few more enum - definitions for bindings and pattern matching. - - * some more macro and GtkType fixups in various places. - - * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used - as a key-release modifier for the binding system. - -Fri Jun 5 06:06:06 1998 Tim Janik - - * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it - was a stale list pointer that is already present in GtkMenuShell. - - * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal - GtkMenuShell::selection_done which is emitted after the menu shell - poped down again and all possible menu items have been activated. - -Thu Jun 4 02:20:42 1998 Tim Janik - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue - before activation of the menuitem, so the menu is actually taken off the - screen prior to any menu item activation. - - * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation - for NULL nodes. - - * gtk/gtkwidget.h: - * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop - the emission of the "add-accelerator" signal on a widget. this is - useful to prevent accelerator installation on certain widgets. - - * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu - labels left justified, by setting their alignment. stop accelerator - installation for the menu items, since we use dynamic menus. - -Wed Jun 3 06:41:22 1998 Tim Janik - - * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people - should *really* use GtkItemFactory. this is only for preserving source - compatibility where possible, use of GtkMenuFactory is deprecated as of - now. - - * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function - to create user signals of type GTK_RUN_NO_RECURSE. don't know why i - missed this possibility when i added gtk_object_class_add_user_signal - in late january. - - * gtk/gtkmain.c (gtk_init): ignore subsequent function calls. - -Sun May 31 07:31:09 1998 Tim Janik - - * gtk/gtkaccelgroup.h: - * gtk/gtkaccelgroup.c: new implementation of the accelerator concept. - - * gtk/gtkaccellabel.h: - * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features - display of the accelerators associated with a certain widget. - - * gtk/gtkitemfactory.h: - * gtk/gtkitemfactory.c: new widget, item factory with automatic rc - parsing and accelerator handling. - - * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for - positioning a menu. - (gtk_menu_map): removed the allocation code. - (gtk_menu_size_allocate): care for redrawing of children and resize - our widget->window correctly. - (gtk_menu_key_press): feature the new accelerator groups. - - * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the - submenu if neccessary. - - * gtk/gtkmenuitem.c: - * gtk/gtkcheckmenuitem.c: - * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label() - function variants. - - * gdk/gdk.c: - (gdk_keyval_from_name): - (gdk_keyval_name): new functions for keyval<->key-name associations. - (gdk_keyval_to_upper): - (gdk_keyval_to_lower): - (gdk_keyval_is_upper): - (gdk_keyval_is_lower): new functions to check/translate keyvalues with - regards to their cases. - -Wed May 27 00:48:10 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a - widget's class path. - (gtk_widget_path): new function to calculate a widget's name path. - - * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up - pattern matching, features reversed pattern matches. - -Thu Jun 4 12:12:11 BST 1998 Tony Gale - - * examples/extract.sh, examples/extract.awk: - New files to automagically extract code examples from the - tutorial. - -Tue Jun 2 20:04:45 1998 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus) - * gtk/gtkcontainer.c (gtk_container_focus_move): - reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER - -Tue Jun 2 13:04:06 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: minor changes to support auto - extraction of example code - -Mon Jun 1 12:47:56 BST 1998 Tony Gale - - * docs/gtk_tut_it.sgml: Update of Italian Tutorial - to Tutorial of 24th May, from Daniele Canazza - -Fri May 29 13:53:57 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: - - new section on Events - - change all delete_event callbacks to include - a GdkEvent parameter - - clean up the formatting - - * examples - helloworld.c, helloworld2.c, notebook.c, - packbox.c, pixmap.c, progressbar.c, radiobuttons.c, - rulers.c, table.c, wheelbarrow.c: change all delete_event - callbacks to include a GdkEvent parameter. - -1998-05-26 Federico Mena Quintero - - * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode" - field of crossing events. - (struct _GdkEventCrossing): Added the following fields: time, x, - y, x_root, y_root, mode, focus, state. - - * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the - crossing event structure. - - * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate - changes to the crossing event structure. - -Tue May 26 15:51:28 1998 Radek Doulik - - * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW) - -Sun May 24 12:11:38 BST 1998 Tony Gale - - * docs/gtk_tut.sgml: - - GtkTooltips, update to current API - - change all 'gpointer *data' to 'gpointer data' - - other minor changes - -Sat May 23 21:54:05 1998 Owen Taylor - - * configure.in (LDFLAGS): Bomb out with a moderately - helpful message if detection of X libraries fails. - -Sat May 23 18:57:06 1998 Owen Taylor - - [ Combination of: - gtk-rrh-980412-0.patch (Raja R Harinath ) - gtk-jbuhler-980516-0 (Jeremy Buhler ) ] - - * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c - gtk/gtksignal.c gtk/gtktext.c: - - Fixups for warnings from adding const to type of GHashFunc, - GCompareFunc - - * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/ - ansi-warnings fixups. - -Sat May 23 17:48:58 1998 Owen Taylor - - * gtk/gtkeventbox.c (gtk_event_box_size_allocate): - Locate child at (border_width,border_width), not - (2*border_width,2*border_width). [ The border is _outside_ - widget->window ] - - * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm - functions. [From: Alexander Larsson ] - -1998-05-22 Miguel de Icaza - - * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be - used in gnome-libs - -1998-05-22 - - * gtk/gtkeventbox.c: Pass size_allocate on to the child - regardless of whether it is visible or not. Also - locate child at (border_width,border_width), not (0,0) - -Fri May 22 03:02:40 1998 Owen Taylor - - * gtk/gtkhandlebox.c: Added style_set handler. - -Fri May 22 02:55:57 1998 Owen Taylor - [ From: Chris Lahey ] - - * gtk/gtkeditable.c, gtk/gtkeditable.h, - gtk/gtktext.c, gtk/gtkentry.c: Added get_position, - and set_position functions to get and set the cursor position. - - * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to - signal status. Make GtkText do user-controlled insertion - and deletion through the Editable widget so that these - signals are properly emitted. - - * gtk/gtkentry.c: Changed gtk_entry_set_visibility to - display asterisks instead of empty space when visible = FALSE) - -Fri May 22 08:51:10 CEST 1998 Paolo Molaro - - * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row - signal. - -1998-05-21 - - * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a - custom routine for loading images specified in gtkrc's. - -Tue May 19 23:41:04 1998 Owen Taylor - - * configure.in: Use pthread_attr_init() as a test function, - since most of the rest of -lpthread is macros on DU4. - -Tue, 19 May 1998 09:03:03 +0200 Paolo Molaro - - * gtk/gtkcombo.c: implemented completion in the entry. - -1998-05-18 - - * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals - -Mon May 18 04:01:41 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event", - "drop-data-available-event", "drop-enter-event" and "drop-leave-event" - to be of runtype GTK_RUN_LAST. - - * gtk/gtkcontainer.c (gtk_container_class_init): likewise for - "need-resize". - - * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for - "widget-selected". - -Sat May 16 09:04:32 1998 Tim Janik - - * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the - text retrived from GtkEntry. only intercept the Tab key if there - was some text to complete. - -Fri May 15 21:16:54 1998 Owen Taylor - - Basic thread-awareness: - - * acconfig.h configure.in: New option --with-threads=[yes/posix/no] - - * gdk/Makefile.am gdk/gdkthreads.c: Added new functions - gdk_threads_[init/enter/leave] for applications, plus - gdk_threads_wake to wake the mainloop thread out of - the select(). - - * gtk/Makefile.am: gtk/testthreads.c: Test program for threads - -Fri May 15 12:08:48 1998 Owen Taylor - - * gtk/testgtk.c (list_clear): Account for the fact - that gtk_list_clear_items is not inclusive. (Clears - [start, end)) - -Fri May 15 12:31:27 1998 rodo - - * gdk/gdk.c: include gdkkeysyms.h always - - -Fri May 15 09:44:10 1998 Tim Janik - - * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of - the visibility_notify_event method and changed method order. - -1998-05-14 - - * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget - -Thu May 14 03:04:43 1998 Tim Janik - - * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions - from Olli Helenius . - - * gtk/gtktypeutils.c (gtk_type_free): new function to take care about - freeing types. - (gtk_type_set_chunk_alloc): new function to allow allocation of new - types from a mem_chunk of certain size (n_chunks==0 indicates allocation - thorugh g_malloc). - - * gtk/gtkobject.c (gtk_object_finalize): free an object through - gtk_type_free(). - - * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for - GtkButtons to 16. - * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16). - * gtk/gtklabel.c (gtk_label_get_type): likewise (32). - -Wed May 13 00:53:52 1998 Owen Taylor - - * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more - GPOINTER_TO_UINT fixes. - - * gtk/gtksignal.c: Include for memset. - -Tue May 12 23:10:53 1998 Owen Taylor - (Maximilian Bisani : gtk-bisani-980320-0) - - * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h: - Cleanups, comments and the ability to have rulers with - a reversed direction. - -Tue May 12 19:37:55 1998 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat() - that Sopwith missed when changing stat => lstat. - -Tue May 12 19:19:29 1998 Owen Taylor - - * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c - gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use - GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate. - - * gdk/gdk.c: Print sizeof() results - as g_print("%ld", (glong)sizeof(foo)), to deal with - sizeof() being long on Alpha's. - - * gtk/testgtk.c: include for strlen - -Tue May 12 16:56:35 1998 Owen Taylor - (James A : gtk-jamesa-980511-4.patch) - - * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h: - Changed #include "gtkfoo.h" to #include - - * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass - -Tue May 12 15:16:10 1998 Owen Taylor - (From: Christopher James Lahey ) - - * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch] - gtk/testgtk.c: - - Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL - (old style), or GTK_RELIEF_NONE - no relief in the NORMAL - state. Added gtk_toolbar_{set,get}_button_relief, which set/get - the default relief for the toolbars buttons. Added an - toggle for the toolbar test in testgtk.c. - -Tue May 12 00:24:59 1998 Owen Taylor - - * docs/gtk-config.1: Rewritten and hopefully improved. - -Mon May 11 20:26:39 PDT 1998 Manish Singh - - * docs/Makefile.am - * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield - -1998-05-11 Federico Mena Quintero - - * gtk/gtkpreview.c (gtk_preview_realize): Create the window using - GtkPreview's visual and colormap, otherwise things can BadMatch. - - * gtk/testgtk.c (create_color_preview): - (create_gray_preview): Removed pushing/popping of visual/colormap - now that GtkPreview does things correctly. - - * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): - (gtk_color_selection_draw_wheel): Pick the style from the correct - place (the colorsel->wheel_area widget) so that the GCs will match - with where we are going to paint to. - - * gtk/testgtk.c (create_color_selection): Removed pushing/popping - of visual/colormap now that GtkColorSelection does things the - right way. - -Mon May 11 21:04:51 1998 Owen Taylor - - * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the - previously unused window->need_resize flag to mark if a window's - descendents changed size while the window was not visible. In this - case, when the window becomes visible, we reallocate everything, - since we didn't keep track of what actually changed. - - (Fixes bug where changing the popdown strings of a - combo to something of the same length caused them to - blank out, as reported by Todd Dukes ) - -Tue May 12 02:31:57 1998 Tim Janik - - [security audit by Alan Cox] - - * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not - exceed maximum assumed size. - - * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does - not exceed maximum assumed size. - (gtk_menu_factory_remove): likewise. - (gtk_menu_factory_find_recurse): likewise. - -Mon May 11 23:53:38 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with - GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then - redrawn if that is still neccessary. don't allow queueing of already - destructed objects. - (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so - widgets which are in the queue can be destroyed safely, handle - requeueing properly. - (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so - widgets which are in the queue can be destroyed/unrealized safely. - -Mon May 11 17:54:44 BST 1998 Tony Gale - - * gtkfaq.sgml: add question on multi-threading, - minor URL cleanups. - -Mon May 11 09:56:45 1998 Tim Janik - - * configure.in (cflags_set): preserve automake CFLAGS. - - * Makefile.am: fully rename the created libraries to libgtk-1.1.la - and libgdk-1.1.la. this means we need to change certain portions of - the Makefile.am on major/minor version bumps. - - * ltmain.sh: the -release option is not required anymore. - - * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type - of the first argument to be of type GtkObject. unconditionally compile - this function. removed __GNUC__ dependancy of the gtk_object_ref and - gtk_object_unref macro wrappers for this function. - -Mon May 11 02:31:19 1998 Tim Janik - - * gtk/gtkobject.h: - * gtk/gtkobject.c: - (gtk_object_data_try_key): - (gtk_object_data_force_id): these are now macros substituting the old - functions. we just use the corresponding g_dataset_* functions for - key->id associations. (this is to assure unique key<->id associations). - -1998-05-10 Stefan Jeske - - * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value - to gboolean. - - * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree. - -Sat May 9 20:11:20 1998 Owen Taylor - - * configure.in (LIBS): Try to figure out if this - is Digital Unix and we need -std1 to get the - right prototypes. - -Sat May 9 16:30:33 BST 1998 Tony Gale - - * docs/gtk_tut_it.sgml: update of Italian tutorial - translation from Daniele Canazza - -Sat May 9 02:34:41 1998 Tim Janik - - * gtk/gtkfeatures.h.in: new file used as template for - * gtk/gtkfeatures.h: new file to define macros indicating newly - introduced features, such as GTK_HAVE_SIGNAL_INIT. - - * gtk/gtksignal.c: - (gtk_signal_emitv_by_name): - (gtk_signal_emitv): - new functions to emit signals with an already provided parameter set. - (provided by Kenneth Albanowski ). - (gtk_signal_real_emit): prototype changes, so this functions always - gets its parameters and signal structure as arguments. - (gtk_signal_emit): provide the signal structure and parameter list for - gtk_signal_real_emit. - (gtk_signal_emit_by_name): likewise. - -Sat May 9 00:03:12 1998 Tim Janik - - * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of - signal connections through unsetting GTK_CONNECTED. - (gtk_signal_handler_insert): reflect the presence of signal connections - through setting GTK_CONNECTED. - (gtk_signal_real_emit): only check for handler emissions if the object - has the GTK_CONNECTED flag set. - (gtk_signal_handler_pending): don't check for pending handlers if the - GTK_CONNECTED flag is not set for this object. - - * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether - a GtkObject has signal handler connections. - - * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is - set for this object call gtk_signal_handlers_destroy(). - - * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused - multiple processing of macro args. - - * gtk/gtktypeutils.c: - * gtk/gtkobject.c: - * gtk/gtkwidget.c: - * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a. - -Fri May 8 21:31:50 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the - draw-queue when we are done. - - (gtk_widget_queue_draw/_queu_resize): Always return - FALSE and avoid having two idles at the same time. - -Fri May 8 21:04:00 1998 Owen Taylor - - * gtk/gtktext.c: Various fixes to make sure cache - lines are freed if line_start_cache doesn't point to the - beginning of the cache. - -Thu May 7 09:44:22 1998 Owen Taylor - - * style_set improvements for GtkText and GtkEntry - -Thu May 7 19:03:50 1998 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has - been initialized. - -Thu May 7 12:52:45 1998 Tim Janik - - * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object - data chunks through a global object data structure list. unlink - object data before invoking its destroy function. - (gtk_object_finalize): slight modification to allow usage of object - data during object finalization. - -Thu May 7 10:29:24 1998 Tim Janik - - * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in - signal names, e.g. "signal-name" is now an alias for "signal_name". - (gtk_signal_handler_new): allocate handlers through a global handler - structure list, that's faster than memchunks. - (gtk_emission_new): allocate emissions through a global emission - structure list, that's faster than memchunks. - -Thu May 7 05:14:19 1998 Tim Janik - - * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE. - - * ltmain.sh: added a new commandline flag -postfix similar to -release, - but will immediately change the library name. - - * gdk/Makefile.am: - * gtk/Makefile.am: specify -postfix and -version-info - - * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and - GTK_BINARY_AGE. calculate LT_* variables for libtool. - -1998-05-06 Federico Mena Quintero - - * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row - background (fg_set -> bg_set confusion). - -1998-05-06 Stefan Jeske - - * gtk/testgtk.c (unselect_all): Removed code that caused an - endless loop. - -Wed May 6 02:16:34 1998 Tim Janik - - * gtk/gtksignal.c: reimplemented the signal storage system to use a - linear array rather than a hash table. - be carefull *not* to keep any GtkSignal pointers across invokations - of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v](). - general code cleanups, made all allocations through memchunks. - (gtk_signal_lookup): we now do the lookup of signals through a key_id - for the signal names to avoid multiple hashing of the signal name on - lookups for the several hirarchy levels of an object. - -Tue May 5 19:49:27 1998 Owen Taylor - - * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit - to speed things up and remove code duplication. - - Reintegrated buffer overflow patches, and added - some extra paranoia. - -Tue May 5 17:04:14 1998 Owen Taylor - - * gdk/gdk.c (gdk_event_translate): A guint * was - being passed where X expected a Keysym *, and - keysyms are long's on Alpha Linux. This was causing - segfaults in Xlib, apparently because of alignment. - (Bug located by Juergen Haas ) - -Tue May 5 19:11:27 1998 Owen Taylor - - * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always - set GDK_EXPOSURE_MASK for DrawingAreas - -Tue May 5 14:32:37 1998 Owen Taylor - - * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style - (superceded by RC file reparsing capabilities) - - * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client - events. (Shouldn't be sent to the InputOnly leader, which - it is now by gdk_event_send_clientmessage_toall - - * gtk/testgtk.c: Added extra button to rcfiles test - to send out _GDK_READ_RCFILES events. - -Tue May 5 11:03:00 1998 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_clear): Fixed - reversed conditionals that caused segfault on some - platforms. - -Tue May 5 00:44:47 1998 Owen Taylor - - * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment): - cast to GTK_OBJECT for gtk_object_ref. - -Tue May 5 15:33:27 1998 Tim Janik - - * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly - checking for signal initialization in gtksignal.c. - - * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after - a long debugging period ;) - -1998-05-05 Stefan Jeske - - * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes): - New function to wrap XSetDashes; modified gtkctree.c to use it. - -1998-05-04 Federico Mena Quintero - - * configure.in: Added $x_libs in the other_libraries field in the - check for XShapeCombineMask. - -Mon May 4 00:30:11 1998 Tim Janik - - * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup - gtk_type_is_a(). - * gtk/gtktypeutils.c: reimplemented the type storage system to use a - linear array rather than a hash table. it actually speeded up testgtk - for a *considerable* amount. be carefull *not* to keep any GtkTypeNode - pointers across invokations of gtk_type_node_next_and_invalidate() and - therefore gtk_type_unique()! - - * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the - inheritance of a class pointer. - (GTK_OBJECT): modifications for speedups. - (GTK_IS_OBJECT): likewise. - (GTK_OBJECT_CLASS): likewise. - (suggested by owen). - - * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro. - - * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro. - - * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed, - since its derivation changed 4 month ago ;(. showed up with the unique - type name checking code in gtk_type_unique(). - - * random guint->GtkType and macro fixups. - -Sat May 2 23:14:34 1998 Owen Taylor - - * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore - Configure events that would result in a negative - size. - -Sun May 3 14:55:34 1998 Owen Taylor - - * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about - "glibconfig.h" and another about writing another IRC - client. - -Sat May 2 00:14:05 1998 Owen Taylor - - * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the - parameters to log are doubles. Digital Unix apparently - is missing the argument in its prototype. - -Sun May 3 19:04:46 1998 Owen Taylor - - * gtk/gtklabel.c (gtk_label_state_changed): Don't - force a clear until the widget is actually on - screen. - -Sun May 3 21:32:35 1998 Owen Taylor - - * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False - to make this consistent with the gtk-1-0 tree. - -Sun May 3 13:38:22 1998 Owen Taylor - - * configure.in acheader.h gdk/gdkwindow.c - Check for Shape extension both on the client and server - side. (And, more importantly, check for the shape extension - so we may include -lXext even when compiling with --disable-xshm) - - Don't set override_redirect on all shaped windows. It isn't - necessary. - - * gdk/gdkwindow.c: Set ->colormap to NULL for root - and foreign windows. Use this to check if we - need to get the colormap from X. - -Fri May 1 22:32:47 1998 Owen Taylor - - * gtk/gtkbutton.c (gtk_button_paint): Draw the areas - between the default and the button always in GTK_STATE_NORMAL. - - * gtk/gtkrange.c (gtk_range_style_set): Added a style_set - callback. - -Fri May 1 16:40:57 1998 Owen Taylor - - * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]): - Fix a buffer overflow on pixmaps that claim to have - more than 31 characters per pixel. - - (gdk_pixmap_read_string): Don't wrap around strings longer - than half of address space ;-) - - * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers - that were used for printing integers. - - * */* (almost): - - Style: All - int foo () { ... } - changed to - int foo (void) { ... } - - Even where there were proper prototypes elsewhere. - - * gdk/gxid.c (handle_claim_device): Some extra checks. - It isn't safe against being fed bad X id's, but at - least it should be safe against deleting all your - files. - -Sun May 3 19:45:09 1998 Tim Janik - - * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function - to set the adjustments value when there is no current emission. - [ Removed by mutual agreement owt 5/3/1998 ] - - * gtk/gtksignal.c: added new functions to retrive the number of - existing emissions for a certain signal. - (gtk_signal_n_emissions): new function. - (gtk_signal_n_emissions_by_name): new function. - -Sun May 3 16:55:43 1998 Tim Janik - - * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to - set the current focus_child of a container, does proper referencing and - adjusts the vadjustment/hadjustment associated with the focus widget. - - * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on - containers via gtk_container_set_focus_child. - - * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child - where appropriate. - - * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus - child since not every child removal goes through this function (this - showed up after gtk_container_set_focus_child() started to reference the - focus_child of a container). - - * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child - of a container from gtk_container_remove into this place. - -Sat May 2 22:33:45 1998 Tim Janik - - * gtk/gtksignal.c: added new functions to operate on intermediate - function pointers. implemented incremental blocking. - (gtk_signal_disconnect_by_func): new function. - (gtk_signal_handler_block_by_func): new function. - (gtk_signal_handler_unblock_by_func): new function - -Fri May 1 22:45:55 1998 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate): - Always show the scrollbars when the policy is - GTK_POLICY_ALWAYS... - -Sat May 2 20:19:03 1998 Tim Janik - - * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit - "value_changed" if we really passed a new value. - (gtk_adjustment_changed): new function to emit the "changed" signal. - (gtk_adjustment_set_value): new function to emit the "value_changed" - signal. - -Fri May 1 12:28:35 1998 Owen Taylor - - * gtk/gtkcombo.c: Further changes to the way the window - is popped up so that it will be compatible with - auto-scrolling in the future. - -Fri May 1 20:25:29 1998 Tim Janik - - * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if - the combo-list is empty since that will cause the combo to operate - on a non existing GtkList window. - (gtk_combo_get_pos): provide the combo list with a usfull default - height if empty. - (gtk_combo_popup_button_press): grab the focus. - (gtk_combo_activate): grab the focus. - -Fri May 1 12:06:43 1998 Owen Taylor - - * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New - function to reset the RC styles for a heirarchy - - Clear the window background if necessary in - gtk_window_style_set. - - * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which - rereads all previously read RC files. - - * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels(). - (Should it just be called gdk_get_toplevels?) - - * gtk/testgtk.c: New test to reload RC files. - -Fri May 1 13:57:36 1998 Tim Janik - - * gtk/gtkclist.h: - * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name - clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as - GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add - the GTK_ prefix (this solution involved less changes in the - gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute - the mem_chunk==NULL test in gtk_clist_construct. merged in changes - from lars & stefan to support the derivation of GtkCtree. - - * gtkctree.h: - * gtkctree.c: - initial import of a tree widget derived from gtkclist, courtesy - of Lars Hamann and Stefan Jeske , - it just damn rocks! - -Fri May 1 10:05:44 1998 Tim Janik - - * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work - for us. - (gtk_list_insert_items): - (gtk_list_remove_items_internal): - (gtk_list_clear_items): - remove a possible pointer grab, we might get thrown into a loop - otherwise. - (gtk_list_button_press): grab the pointer *before* selecting the child, - because selection of items may cause the lists children to change, - resulting in a grab release. - (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of - children. - (gtk_list_shutdown): remove all children from the list. - (gtk_real_list_unselect_child): - (gtk_real_list_select_child): *always* put our internal structures into - sane state *before* signal emisions (i.e. list->selection updates prior - to gtk_list_item_[de]select() calls). - - * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists - focused child walks out of the window. - removed CAN_FOCUS for the combo arrow's button since it doesn't react - to keyboard events ("clicked" connection is missing). - -Fri May 1 00:42:25 1998 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up - getting colormap for FOREIGN windows to go along with - Raster's fix for visuals. - -Merges from gtk-1-0 -=================== - -Thu Apr 30 23:32:51 1998 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate): - Check to catch the case when the viewport fits in either - direction or both, instead of flip-flopping infinitely. - - Only show/hide the scrollbars once at the end. - -Thu Apr 30 21:56:07 1998 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): - Include the scrollbars in the foreach call. - (gtk-fortier-980405-0.patch; - Patrice Fortier ). - - The notebook widget - really should also include its tabs, but that might cause - problems for programs if they - -Thu Apr 30 21:51:52 1998 Owen Taylor - - * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a - resize if the size actually changed. - (gtk-johannes-980414-0.patch ; - johannes@nada.kth.se (Johannes Keukelaar) ) - -Thu Apr 30 10:22:59 1998 Owen Taylor - - * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess: - ltmain.sh ltconfig config.sub config.guess: - - Reverted back to libtool-1.2 (plus minor patches) so as not to - force the issue for everyone else. - -Thu Apr 30 10:22:59 1998 Owen Taylor - - * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess: - Updated to libtool 1.2a. - - * gtk/gtkclist.c: Draw the in-between lines with style->base - instead of style->white. - -Wed Apr 29 15:46:13 1998 Owen Taylor - - * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: - Cache the colormap and children of a window locally - instead of fetching them from the server when needed. - Huge performance difference for creating/destroying - windows. - - * gtk/gtkstyle.c: Find the depth from the cached - visual, instead of asking the server. - - * gtk.m4: Distribute the new version which tries to - figure out what went wrong and give helpful error - messages. - - * ltmain.sh ltconfig config.sub config.sh: - Updated to libtool 1.2a - - * gtk/gtktext.c: Fixed a bug where the drawn level - was being messed up when the text was scrolled - during a deletion. - -Thu Apr 30 02:42:11 PDT 1998 Manish Singh - - * gtk/gtkfilesel.c: don't die when naughty people remove parts of - the filesystem under you (fix from Josh) - -Thu Apr 30 09:49:14 1998 Tim Janik - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check - if the viewport already exists before iterating over it, maybe we - haven't been constructed yet. - -Thu Apr 30 01:51:00 1998 Tim Janik - - * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if - the GtkBin widget already has a child. - - * gtk/gtkbox.c (gtk_box_pack_{start|end}): - check that child->parent == NULL; - -Tue Apr 28 22:13:54 1998 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_clear): Only return - FALSE when the clear event is been rejected, not when - widget has already lost the selection. (Which should - only happen when we are setting the selection to another - widget ourself.) - -Fri Apr 24 19:07:32 1998 Owen Taylor - - * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c: - - Removed the "check visibility after gtk_widget_unparent" bug - in hopefully the last three places. - -Tue Apr 28 15:46:41 1998 Tim Janik - - * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other - rc-files. - -Mon Apr 27 15:11:52 1998 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus - for CAN_FOCUS widgets. - - * gtk/testgtk.c (create_scrolled_windows): feature h/v focus - adjustments for the table. - (create_list): feature automatic adjustment of the scrolled window to - always contain the focused child. - (create_main_window): keep the focussed button always inside of the - scrolled windoww. - - * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus - adjustments, to contain the allocation of the currently focused child. - (gtk_container_set_focus_hadjustment): new functin to set the - horizontal focus adjustment. - (gtk_container_set_focus_vadjustment): new functin to set the vertical - focus adjustment. - - * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to - clamp the currents adjustment page into a specific range. - - * random GtkType fixups for gtk_*_get_type() functions. - -Fri Apr 24 18:37:16 1998 Owen Taylor - - * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): - Account for the fact that gtk_tree_item_remove_subtree - will be called recursively. - - Handle removing a collapsed subtree. - - (From Andy Dustman ) - - * gtk/gtktree.c (gtk_tree_remove_items): Look for the - root tree when removing items from a non-previously - mapped tree. - - * gtk/testgtk.c: Added a remove_subtree button. - -Thu Apr 23 23:44:17 1998 Owen Taylor - - * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references - before object removing data. This change fixes a bug where - removing the last weak references would cause it to be - triggered. - -Wed Apr 15 20:42:46 1998 Owen Taylor - - * gdk/Makefile.am: Removed mostly useless dependency that - was causing problems for SGI's make, when used with - the 'make dist' form of GTK+. (Dependency caused dependencies - to be redone when BUILT_SOURCES changed) - -Thu Apr 30 11:18:00 1998 Owen Taylor - - * gtk/gtkcombo.[ch]: Allow the user to use the popup list - like a menu. - - * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers - to gtkitem.c so dragging can also work in lists. - - * gtk/gtklist.[ch]: Track child enter events and use - those to allow dragging the selection. - -Thu Apr 30 11:16:06 1998 Owen Taylor - - * gtk/gtktext.c: Try enabling background pixmaps for editable text - widgets. There is a bit of flashing, but not too bad. If you - don't want the flashing, you can always not set a background - pixmap. - -Wed Apr 29 15:46:13 1998 Owen Taylor - - * gtk/gtktext.c: Fixed a bug where the drawn level - was being messed up when the text was scrolled - during a deletion. - -1998-04-28 Miguel de Icaza - - * gdk/gdk.c (gdk_event_translate): Random debugging fixed this - bug: There is no need to set the ExposureMask in the XGrabPointer - (this caused DnD programs to crash). - -Fri Apr 24 01:29:04 1998 Tim Janik - - * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count - field to be of type guint. - * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for - ref_count>0; - (gtk_accelerator_table_install): keep a per object list of accelerator - tables that refer to this object. - (gtk_accelerator_table_remove): remove the accelerator table from the - per object list. - (gtk_accelerator_table_clean): warn if there are any object references - left in an accelerator table upon destruction. - (gtk_accelerator_tables_delete): new function to delete object - references from the accelerator tables associated with this object. - - * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of - GtkWidget::install_accelerator to GTK_RUN_LAST so the installation - of an accelerator can be prevented by gtk_signal_emit_stop(). - (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (), - so there are no stale pointers in accelerator tables left. - -1998-04-22 Federico Mena Quintero - - * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was - visible before we unparent it. - -Wed Apr 22 04:15:26 1998 Tim Janik - - * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the - running_timeouts list with the tmp_list link itself, not with a new - GList structure pointing to our link. that would fill up memory and - causes the GList.data fields of the running_timeouts list to point to - GList structures and not GtkTimeoutFunction structures which is a - *really* bad thing. - (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in - the above entry ;). - -Sat Apr 18 22:18:12 1998 Tim Janik - - * gtk/gtkradiomenuitem.h: - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function - ala gtk_radio_button_set_group. - (gtk_radio_menu_item_init): assure that we always have at least a group - that points to self. - - * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and - added g_return_if_fail() statements. - (gtk_radio_button_init): assure that we always have at least a group - that points to self. - -Fri Apr 17 03:05:05 1998 Tim Janik - - * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog. - -Wed Apr 15 05:13:09 1998 Tim Janik - - * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position - (Damon Chaplin), which i got wrong when applying Damon's patch the last - time. - -Wed Apr 15 20:42:46 1998 Owen Taylor - - * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure - that when we are running with a non-installed colormap, - in 8-bit pseudo-color, we actually are using the system - visual. (Fixes *Bad Match* errors on Digital Unix machines - with multiple 8-bit pseudo-color visuals) - -1998-04-14 Miguel de Icaza - - * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced - by whoever thought that randomly changing ints to unsigned int - without reviewing the code was a good idea. It is, btw not - mentioned in the ChangeLog as usual, but I know it was not Elliot - the culprit this time. - -Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson - - * Released GTK+ 1.0.0 diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 deleted file mode 100644 index 6765f7278f..0000000000 --- a/ChangeLog.pre-2-0 +++ /dev/null @@ -1,28743 +0,0 @@ -Fri Mar 8 14:45:00 2002 Owen Taylor - - * ======== Released GTK+-2.0 ======== - -Fri Mar 8 20:41:51 2002 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): handle - gtk-tree-model-drop-append like the ListStore, includes some - tweaks to work right with trees - -Fri Mar 8 14:22:43 2002 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_init): Some packing - tweaks. - - * configure.in: Include GLIB_LIBS when checking - for bind_textdomain_codeset, to catch the case where - it is in -lintl. - -Thu Mar 7 16:46:58 2002 Jonathan Blandford - - * gtk/gtktreeview.c (validate_visible_area): get rid of really - bad focus loop. - (gtk_tree_view_clamp_node_visible): only clamp the node when - realized. Need to replace this with scroll_to_cell sometime. - (gtk_tree_view_header_focus): clickable or reorderable columns are - focusable, #73656 - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_widget): fix - docs to reflect behaviour change, #73682 - -Fri Mar 8 11:12:32 2002 Owen Taylor - - * NEWS: Fix version numbers. (Johan Dahlin.) - - * INSTALL.in: Update, just refer to gtk-building.html - rather than duplicating information. - - * README.in: Add release specific notes. - - * Makefile.am (EXTRA_DIST): Remove TODO and TODO.xml - from the distribution. - -Thu Mar 7 23:29:35 2002 Owen Taylor - - * NEWS: Final updates for 2.0.0 - - * README.in: Updates. - -2002-03-08 Tor Lillqvist - - * gdk/Makefile.am (LDFLAGS): Add missing .la suffix for libgdk_pixbuf. - -Thu Mar 7 21:32:01 2002 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase - value of new_location by one if cmp_a > 0 and we hit the end of - the list. - -Thu Mar 7 10:31:57 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where - there were two copies of the "do an arrow step" code, - one correct for rotated notebooks, one not. (#73855, - Thomas Leonard.) - -Wed Mar 6 23:20:51 2002 Jonathan Blandford -and Kristian Rietveld - - Finishing touch for 2.0.0 release, fixes #70782, #72729, the - 'stealth' bug and other last-minute minor issues. - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set dnd dest line - drawing right. We can't draw the line at the position of the next - row, because that one still has to be drawn. So draw everthing at - a -1 offset. - (validate_visible_area): add check for invalid descendants and - NULL scroll_to_path path, get scrolling right. Also, fix the - area_above value. Pretty amazing I got it wrong. - (get_logical_dest_row): add gtk-tree-model-drop-append magic, so - dragging a row to the end of the model works right. - (gtk_tree_view_get_dest_row_at_pos): minor floating point fix - (gtk_tree_view_start_editing): add call to validate_row - (gtk_tree_view_tree_to_widget_coords): Never subtract - HEADER_HEIGHT from y values anymore!!! - (gtk_tree_view_widget_coords_to_tree): ditto. - (gtk_tree_view_scroll_to_point): allow -1 as values for the - scroll_to coords - (gtk_tree_view_move_cursor_page_up_down): Don't need scroll_to_y - as clamp_node_visible will make it work. - - * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): also check - path depth, as we can't get iters from empty paths - - * gtk/gtkliststore.c (gtk_list_store_drag_data_received): handle - gtk-tree-model-drop-append - - * gtk/gtktreednd.c (gtk_tree_set_row_drag_data): free path_str - - * tests/testtreeflow.c (main): select path where we are scrolling to - -2002-03-06 Darin Adler - - * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_insert_value): - Update offsets before finding where to insert the new value. - - * gtk/gtktreeview.c: (validate_visible_area): Make sure we redraw when - we scroll, instead of just updating the scroll position variables. - -2002-03-06 Manish Singh - - * gdk/Makefile.am - * gtk/Makefile.am: rework so that only things that really need to be - done post install are in the hook - -2002-03-06 Anders Carlsson - - * gtk/gtkiconfactory.c (get_default_icons): Register 16x16 version - of properties stock icon. - - * gtk/stock-icons/Makefile.am: Add stock_properties_16.png - -Wed Mar 6 00:38:29 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_real_insert_text): Fix various problems - when truncating the inserted text to fit into the GtkEntry - size limit of 65kb. (#73119) - -Wed Mar 6 00:20:59 2002 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_cell_process_action): move event handling to - the process_action function so we can have the event go to - individual cells. - -Tue Mar 5 22:16:58 2002 Owen Taylor - - * GTK+-2.0.0 rc1 - - * docs/tutorial,faq/Makefile.am: Deal with the html directory - already being there. - - * docs/faq/Makefile.am (EXTRA_DIST): Add gtk-faq.sgml to EXTRA_DIST. - -2002-03-05 Manish Singh - - * gdk/Makefile.am - * gtk/Makefile.am: use install-foo-hook instead of install-foo-local, - since foo-local is run before the their respective builtin targets - in automake 1.5 - -2002-03-05 jacob berkman - - * configure.in: change an == to = - -2002-03-06 Tor Lillqvist - - * gdk-pixbuf/gdk_pixbuf.rc.in - * gdk/win32/rc/gdk.rc.in - * gtk/gtk-win32.rc.in: Use GTK_API_VERSION. - -2002-03-05 Manish Singh - - * configure.in: Fix up the freetype checking logic. Suppress - suprious "no" with --disable-modules. - -2002-03-06 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab, - gdk_pointer_ungrab): Bypass calls to the grab/ungrab functions in - gdkinput-win32.c, as they don't effectively do anything anyway. - (build_key_event_state): Set MOD2 bit if key is in AltGr group. - (gdk_event_translate): Call _gdk_windowing_window_get_offsets() - each time the offsets are used, on the window they refer to, - instead of once in the beginning. The window in question might - change due to event propagation. - (gdk_event_translate): Set key event group to 0 for non-AltGr - keys. Do set the SHIFT bit in the key event state also for - ISO_Left_Tab. Now backtabbing finally works again. - - * gdk/win32/gdkunput-win32.c: Minor debugging output change. - - * gdk/win32/gdkkeys-win32.c (update_keymap): Set VK_TAB mapping to - Gdk_Tab and GDK_ISO_Left_Tab, like on X11. - (gdk_keymap_translate_keyboard_state): Add similar code as in the - non-XKB case on X11 to generate a more correct - consumed_modifiers. Add debugging output. - (gdk_keyval_name): Use the U+xxxx format for UCS characters - encoded as keyvals. Never return NULL, but hex number - representation if keyval not in table. - - * gdk/win32/gdkwindow-win32.c (gdk_window_focus): Call - SetFocus(). Doesn't seem to have any harmful effect, and probably - is close to what this function is supposed to do. But it didn't - fix GtkCombo as I had hoped. - (gdk_window_set_type_hint): Don't intern the _NET_WM_* atoms that - weren't used and wouldn't have any meaning on Win32 anyway. - -Tue Mar 5 19:19:19 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_focus): When setting - the focus to NULL, clear the existing focus chain so - that when we focus into the window again, we start - at the beginning. (Pointed out by Tim Janik.) - -2002-03-06 James Henstridge - - * configure.in: libpango is now called libpango-1.0 - -Tue Mar 5 18:17:31 2002 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): - remove sizing == AUTOSIZE check. Update docs. - -Tue Mar 5 17:43:43 2002 Owen Taylor - - * gtk/gtkfontsel.c (gtk_font_selection_init): Don't - create ->font_entry, ->font_style_entry at all rather - than just not showing them to avoid the problem of - them popping up if gtk_widget_show_all() is done - on the dialog. (#72913, Charles Kerr.) - -Tue Mar 5 18:06:49 2002 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_resizable): - doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567. - -2002-03-05 Matthias Clasen - - * gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs. - - * gtk/gtkwindow.c (gtk_window_remove_mnemonic): - (gtk_window_add_mnemonic): - (gtk_window_mnemonic_activate): Add docs. - - * gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix - typo in docs. - -Tue Mar 5 17:02:59 2002 Owen Taylor - - * docs/tutorial/gtk-tut.sgml: s/menu_new/menu_item_new/. - (#69199, Akira Tagoh.) - -Tue Mar 5 16:53:05 2002 Owen Taylor - - * docs/faq/Makefile.am: Build the docbook version, not - the old linuxdoc version. - -Tue Mar 5 15:47:54 2002 Owen Taylor - - * configure.in test/makefile.msc **.pc.in **/*.am: - Update version to 2.0.0 - - * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp - files. - - * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0, - Pango, Atk, 1.0.0. - - * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum - version. - -2002-03-05 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_size_allocate): don't assign - yoffset here, just let it get updated in response to the - value_changed. Fixes #72479 - -Tue Mar 5 10:29:09 2002 Owen Taylor - - * gtk/gtktreeview.c (do_presize_handler) - gtk/gtktreeview.c (do_validate_rows): Don't use this - same functions as idle callbacks and directly, to avoid - threading deadlocks. (#72392, Scott Guilbeaux) - - * gtk/gtktable.c (gtk_table_size_request_init): Fix - row/column confusion from recent patch. (#73505, - Vitaly Tishkov.) - -2002-03-04 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml: Make color selection and selection - examples work. - - * tests/testselection.c (selection_toggled, selection_clear): - Use selection_widget as selection owner - otherwise clearing the - selection doesn't work. - -Mon Mar 4 12:43:48 2002 Owen Taylor - - Fixes for non XKB operation. (#73103) - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab - always, not just if Shift was pressed. - - * gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c - gdk/x11/gdkevents-x11.c: Move determination of group - to _gdk_x11_get_group_for_state(), fix to handle non-XKB. - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only - add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted - and unshifted keysyms are different. Only add in group_switch_mask - if the group-switched and non-group-switched keysyms are diferent. - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2 - not group * keysyms_per_keycode. (Tor Lillqvist) - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - Remove the hack to fudge the return value for GDK_Tab + Shift - since that didn't work -- it didn't affect the reverse mapping. - Instead fudge the non-XKB keymap instead. - -Mon Mar 4 11:02:18 2002 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_get_selections): Fix - memory leak. (#73370, Paolo Maggi). - -Mon Mar 4 10:35:28 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_set_current_page): Fix docs - in terms of what out of range @page_num does. (#73371, - Vitaly Tishkov.) - -2002-03-02 Havoc Pennington - - * demos/gtk-demo/editable_cells.c (cell_edited): const fix - -Sun Mar 3 18:47:13 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_parse_geometry): Fix - to properly take the default window into account by - setting a flag and in gtk_window_compute_configure_request_size () - multiplying by the increments and adding in the base - size. (#72393) - - * tests/testgtk.c (create_gridded_geometry): Add a - test for gridded geometry and for gtk_window_parse_geometry(). - -2002-03-04 Hans Breuer - - * gtk/makefile.msc.in : don't build gtk.defs anymore - -2002-03-04 Tor Lillqvist - - * gtk/gtkrc.h: Remove obsolete Win32-only declaration of - gtk_win32_get_installation_directory(). - -Sun Mar 3 17:03:30 2002 Owen Taylor - - * gtk/gtkmenushell.c gtk/gtkmenubar.[ch]: Back out - changes to propagate keys to parent menu shells, since - that broke stuff; rather implement ::cycle-focus as - a key binding on GtkMenuShell rather than on GtkMenuBar. - - * gtk/gtkmenushell.c (gtk_menu_shell_class_init): Add - add bindings for ::cycle-focus. (In gtkmenubar.c, were - mistakently bound to ::move-focus.) - -2002-03-03 Tor Lillqvist - - * README.win32: Minor edits. - - * config.h.win32.in: Update to match a recent configure-generated - config.h - -Sun Mar 3 15:16:07 2002 Owen Taylor - - * gtk/gtktable.c: When increasing the row or column - requisitions to make them sufficient for spanning widgets, - favor rows or columns with expandable children in them. - (#1261, Jonathan Blandford.) - -Sun Mar 3 14:26:33 2002 Owen Taylor - - * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc): - Centralize lookup and caching of cursor GC's here. - - * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c - gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc(). - - * gtk/gtkentry.c (gtk_entry_expose): Draw cursors - under the text, not over the text. - - * gtk/gtkwidget.c (gtk_widget_class_init): add - a secondary-cursor-color property. - - * gtk/gtkwidget.c (gtk_widget_class_init): Decrease - the default aspect ratio to 1/25 (0.04). - - * tests/testgtkrc (bell_duration): Comment out - cursor color setting. - -Sun Mar 3 20:48:12 2002 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change - offset of cursor corner of navigation region from (-2, 2) to - (-2, 0). - -2002-03-03 jacob berkman - - * Makefile.am (EXTRA_DIST): add sanitize-la.sh - -2002-03-03 Anders Carlsson - - * gdk/x11/gdkwindow-x11.c (gdk_window_move_resize): Fix tyop - in docs. - -Sat Mar 2 03:49:31 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_button_press): move edit - ifs above _set_cursor code, don't collapse/expand row on double - click, only activate (#63269) - (validate_visible_area): add two missing lines (#73161, #73162) - -Sun Mar 3 12:13:56 2002 Owen Taylor - - * configure.in: Fix typo where pangoxft was being - required instead of pangox. (Reported by Miles - Lane) - -Sun Mar 3 11:12:16 2002 Owen Taylor - - * gtk/gtktextlayout.c (add_cursor): When in split cursor - mode, always add the cursor as both strong and weak - so that it is drawn with the correct non-split color. - -Sun Mar 3 11:05:13 2002 Owen Taylor - - * modules/input/Makefile.am (moduledir): Fix - install location. - -Sun Mar 3 10:28:32 2002 Owen Taylor - - * gtk/Makefile.am: add missing dependency of objects on - gtkmarshalers.h. - - * gtk/Makefile.am gtk/gtk-boxed.defs: Remove completely - out of date and unused gtk-boxed.defs and the accompanying - Makefile rule to generate the complete gtk.defs. - -2002-03-03 Hans Breuer - - * gtk/gtkmain.c : make rewrite_event_for_window() static - * gtk/gtkrc.c : gtk_rc_clear_realized_style() static - - * gtk/makefile.msc.in : adapt to makeenums build changes - - * gtk.def : sorted alphabetical again - -2002-03-03 Sven Neumann - - * m4macros/gtk-2.0.m4: lowercase configure --help output. - -Sun Mar 3 06:39:19 2002 Tim Janik - - * gtk/gtkfilesel.c: added compile time switch to put the tree views - into a hpaned for owen to play with. - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free): - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func), - (gtk_tree_view_column_finalize): - * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func), - (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize): - * gtk/gtktreeselection.c (gtk_tree_selection_finalize): - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func), - (gtk_tree_model_sort_set_default_sort_func), - (gtk_tree_model_sort_set_sort_func): - * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func), - (gtk_list_store_set_default_sort_func), - (gtk_list_store_set_sort_func), (gtk_list_store_finalize): - add reentrancy protection around destroy() function invocation. - - * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix - destroy function invocation (which was missing). - -Sat Mar 2 23:08:23 2002 Owen Taylor - - Fixes for uninstalled operation with module suffixes - other than .so and in general for platforms like AIX where - the module suffix isn't predictable. (#72185, problems - reported by Miroslaw Dobrzanski-Neumann) - - * modules/input/Makefile.am (gtk.immodules): Query .la - files rather than shared objects in .libs when creating the - uninstalled gtk.immodules file. - - * gtk/gtkmain.c (_gtk_find_module): Look for .la files - after looking for the normal soname extension to handle - cases where the soname extension isn't predictable, - like AIX. - - * gtk/gtkthemes.c (gtk_theme_engine_load): Don't - call g_module_build_path... leave that to - gtk_rc_find_module_in_path. - - * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init): - tests/testgtk.c (test_init): tests/testtext.c (test_init) - tests/testdnd.c (test_init): Point gdk-pixbuf to .la - files rather than poking in .libs for .so files. - - * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove - .libs from GDK_PIXBUF_MODULEDIR. - -Sat Mar 2 20:58:30 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_reparent): Handle NO_WINDOW - widgets with windows that are children of widget->window. - (#50279) - - * tests/testgtk.c: Add eventboxes to the example so that - we are reparenting between different GdkWindows. - -Sat Mar 2 20:39:38 2002 Owen Taylor - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): - Add a note to the docs about how to use this in the - context of changeable accelerators. (#72382, Mark Patton) - -Sat Mar 2 19:48:10 2002 Owen Taylor - - * configure.in: Fix missing -lX11 into x_libs with pangoxft. - -Fri Mar 1 00:46:49 2002 Owen Taylor - - * configure.in: Add a --enable-explicit-deps option to control - whether dependency libraries are written into .la files and .pc - files. Default is auto: if static libraries are off and shlib - dependencies are found, don't write deps. - - * gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script - used to strip dependencies out of .la files. - - * Makefile.am: Add a slightly modified distcheck rule that passes - --enable-gtk-doc to the configure inside. - (So that 'make dist' succeeds inside.) - - * configure.in: If pango was compiled with - --disable-explicit-deps, then repeat the checks for X and - freetype ourselves so we don't depend on linking to libraries - that pango doesn't reveal in the link line. Add some more paranoia - for whether what we detect ourselves matches what Pango backends - we found. - -2002-03-03 Tor Lillqvist - - * configure.in: Output gdk-pixbuf/gdk_pixbuf.rc. - - * gdk/gdk.def - * gdk/win32/gdkevents-win32.c: Add and (trivially) implement - gdk_pointer_grab_info_libgtk_only() and - gdk_keyboard_grab_info_libgtk_only(). - -2002-03-02 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (build_keypress_event): Reorder - code, keyval should get a value in all cases now. - (build_keyrelease_event): Set GDK_CONTROL_MASK here, too, if it - was a control character produced with Alt+keypad digits. - (gdk_event_translate): Minor cleanups to keyboard input - handling. Still need more major work. - -Sat Mar 2 16:12:03 2002 Owen Taylor - - * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't - do special focus handling if draw_indicator is not set. - (#64723, Damon Chaplin.) - -Sat Mar 2 15:48:04 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_new_with_max_length, - gtk_entry_set_max_length): Clamp @max parameter passed in to - [0, MAX_SIZE], improve docs. Fix default and range - for ::max-length property, range for ::ncursor_position, - ::selection_bound properties. (#55916, Vitaly Tishkov) - - * gtk/gtkmain.c (rewrite_event_for_grabs): Fix typo - -Fri Mar 1 18:39:44 2002 Owen Taylor - - * gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h, - gdkwindow-x11.c}: Robustify tracking of pointer grab window. - - * gdk/x11/gdkmain-x11.c: Keep track of current keyboard - grab window. - - * gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only, - gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk - API for finding out current grab information. - - * gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events - so that the effective behavior of owner_events = TRUE is changed - to "deliver events to same window group normally" instead - of "deliver events to same application normally. #69934 - - * gtk/gtkrange.c: Use an explicit gtk_grab_add() so that - it works within the GtkList combo, where there is a - owner_events = FALSE gdk_pointer_grab() already in effect. - (#65006, reported by Damon Chaplin) - -Sat Mar 2 14:32:50 2002 Owen Taylor - - * configure.in: Default to --disable-gtk-doc (avoid Jade - breakage) and --disable-static (static linking causes - problems with Xft changes.) - - * autogen.sh: Add --enable-gtk-doc by default. - - * Makefile.am: Add a 'mydistcheck' rule that passes - --enable-gtk-doc to the configure since that is needed - for 'make dist'. - - * docs/tutorial/Makefile.am (dist-hook): Don't distribute - the PDF file. (Rule doesn't work on my system, plus it's - big.) - - * gtk/Makefile.am: 'make dist' fixes. - -Sat Mar 2 13:26:58 2002 Owen Taylor - - * gtk/Makefile.am: Switch style of stamp file usage. - - * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported - enumeration/fags TYPE variables over to macros for get_type() functions, - for lazy definition and to get rid of expensive relocations. - - * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch] - gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch] - gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type - definitions over manually coded get_type() functions. - - * gtk/gtk.def: Updates for above - - * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}: - Remove from CVS, no longer used. - - * configure.in: Remove checks for awk. - -Sat Mar 2 04:44:10 2002 Tim Janik - - * gtk/gtkaccelgroup.c (gtk_accel_group_connect_by_path): fix typo. - -Fri Mar 1 23:59:35 2002 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set - first_cell to FALSE after first iteration - - * gtk/gtktreeview.c (validate_visible_area): reduce usage of - GTK_RBNODE_GET_HEIGHT, check for node != NULL, - (gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed - (gtk_tree_view_search_iter): select iter after scrolling - -2002-03-02 Tor Lillqvist - - * gtk/gtkitemfactory.c: Remove unneeded Win32 stuff inside #ifdef - G_OS_WIN32. (Leftover from when gtkitemfactory.c handled files.) - -2002-03-01 Tor Lillqvist - - * gdk/gdkkeys.c (gdk_keyval_convert_case) - * gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval - to be converted is one of those that consist of a Unicode - character plus our special flag bit, use the - g_unichar_to{lower,upper} functions (Bug#73112). - - * gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for - the GDK keysym symbols. As we include gdkkeysyms.h, we know they - are there. And if GDK keysyms some day are added/removed, this - function needs changes, too, anyway. - -Fri Mar 1 17:00:28 2002 Owen Taylor - - * gdk/gdkpolyreg-generic.c: Fix some reported (but not significant) - UMR's from purify. (#73160, Morten Welinder) - -Fri Mar 1 16:48:19 2002 Owen Taylor - - * gtk/gtkscrolledwindow.c: Initialize the scrollbar spacing - variable in the class to -1, and then take that to mean - "default" (3) rather than putting 3 in the class directly. - This gives us some wiggle room to make it a per-instance - rather than a per-class property later. - -2002-03-01 jacob berkman - - * Makefile.am (install-data-hook): - (dist-hook): replace uses of test -e with more portable test -f - -Fri Mar 1 14:49:35 2002 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete - forward across line boundaries when in overwrite mode. - (#73145, reported by Ettore Perazzoli) - -Fri Mar 1 14:47:39 2002 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_commit_text): Don't - join up lines. - -Fri Mar 1 10:31:14 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_reorder_child): - Fix signed-unsigned error that was accidentally causing - negative values to append, do it intentionally. Fix docs - to say that negative values append. (Alexey A. Malyshev, - #73108) - -2002-03-01 Alexey Malyshev - - * gtk+/gtk/gtkitemfactory.c - fixed a little type in docs for gtk_notebook_set_show_border() - -Fri Mar 1 09:05:19 2002 Owen Taylor - - * gtk/gtkitemfactory.c (gtk_item_factory_delete_entries): - Really make it work for paths with underline accelerators. (#69247) - -2002-02-28 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array - for custom tabs, reported by Paolo Maggi #72980 - -Thu Feb 28 19:55:01 2002 Owen Taylor - - * gdk/gdkkeys.c: include gdkkeysysms.h if - compiling gdk_keyval_convert_case. - - * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement - Tab Tab to cycle between - all menu bars in a toplevel once one is up. - - * tests/testgtk.c: Add a second menubar, this - example is already full of crack anyways. - - * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd - unhandled events up to the parent menu shell. - - * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only - pop up the menu if the parent menu shell is still active. - - * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a - old_focus argument, export privately. - -2002-02-28 Darin Adler - - * gtk/gtkfilesel.c: (open_new_dir): Add missing NULL check. - -2002-03-01 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Remove - the event_mask, it is now in GdkWindowObject. - - * gdk/win32/gdkwindow-win32.c: Change accordingly. Set the - GDK_STRUCTURE_MASK in gdk_window_set_events(), as it is always set - in gdk_window_new(), too. (Bug#72921) - - * gdk/win32/gdkevents-win32.c: Change accordingly here, too. - (vk_from_char): New function, calculates the virtual keycode - corresponding to the char in a WM_CHAR message. - (build_keypress_event, build_keyrelease_event): Use it. - (build_keypress_event): Call ImmReleaseContext() after using the - input context. This might plug a memory or resource leak. - (build_key_event_state): Remove #if 0 code. - (gdk_event_translate): Actually, it would be preferrable to always - handle just the WM_KEYDOWN and WM_KEYUP messages, not WM_CHAR at - all, and thus drop the contorted logic with ignore_wm_char etc. - - * gdk/win32/gdkkeys-win32.c: (gdk_keymap_get_entries_for_keyval): - Debugging output. - (gdk_keymap_translate_keyboard_state): Return correct value. (But - _gtk_key_hash_lookup() doesn't check the return value...) - -Thu Feb 28 14:49:08 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): Initialize - private->event_mask from attributes we retrieved for - the window. - -2002-02-22 Havoc Pennington - - * gtk/gtktextbuffer.c (save_range): change gravity of start/end - marks so that text added at either end of the range doesn't end up - inside the range. - (gtk_text_buffer_real_insert_range): fix to handle pasting a range - into itself. - -2002-02-28 Sven Neumann - - * configure.in: beautified configure --help output. - -2002-02-28 Tor Lillqvist - - * gdk/win32/Makefile.am: Move bdfcursor.c from - libgdk_win32_la_SOURCES to EXTRA_DIST. - - * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the - bitmap case, use just the LSB of the pixel value. Does this match - X11 semantics? Or should it be pixel!=0? - -Wed Feb 27 19:16:50 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): - * gdk/x11/gdkwindow-x11.c (gdk_window_get_events): - * gdk/x11/gdkwindow-x11.c (gdk_window_set_events): - * gdk/win32/gdkwindow-win32.c (gdk_window_set_events): - * gdk/win32/gdkwindow-win32.c (gdk_window_new): - * gdk/gdkwindow.h (struct _GdkWindowObject): - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_events): - Save the window's event mask in window->event_mask. - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Only - generate expose events if GDK_EXPOSE_MASK is included - window->event_mask. (#54506) - -Wed Feb 27 18:50:29 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_event): Allow focus-change - events to be sent to unrealized widgets; they aren't - really normal events in that they have anything to - do with widget->window. (#72914, Andreas J. Guelzow) - -Wed Feb 27 18:39:25 2002 Owen Taylor - - * gtk/stock-icons/Makefile.am: Split big VARIABLES variable - that was causing overlong lines into 6 variables with 20 - in each one. - -Wed Feb 27 18:01:03 2002 Owen Taylor - - * gtk/gtkaccellabel.c (gtk_accelerator_name) po/POTFILES.in: - Mark Ctrl, Shift, Alt for translation. - (#60590) - - * gtk/gtkfontsel.c: Mark PREVIEW_TEXT for translation. - (Vlad Harchev, #53223) - -Wed Feb 27 17:32:09 2002 Owen Taylor - - * gtk/gtkrange.c (gtk_range_get_props): if CAN_FOCUS - reserve focus_line_width + focus_line_pad extra - space and draw the focus in that space. #72027. - -Wed Feb 27 23:02:55 2002 Soeren Sandmann - - * gtk/gtkhandlebox.c (gtk_handle_box_realize): minor code cleanup - -Wed Feb 27 14:58:12 2002 Owen Taylor - - * gtk/gtkmenubar.c (gtk_menu_bar_size_request/allocate): - Don't reserve space for border when the shadow type - for the menubar is "none". (#61843) - - * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Fix - offset for right-justified menu items. - -Wed Feb 27 14:45:21 2002 Owen Taylor - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go - back to old style of drawing children over the bevel. - (#58615) - -Wed Feb 27 14:08:26 2002 Owen Taylor - - * modules/input/imxim.c: Add ko and zh to the locales - where this is the default. - -Wed Feb 27 12:34:21 2002 Owen Taylor - - * gtk/gtkiconfactory.c: Register all stock icons - "unscaled" so that we don't have icons only available - at some sizes. (#68896) - -Wed Feb 27 11:59:05 2002 Owen Taylor - - Some ASCII vs. locale fixes from Darin Adler (#55837) - - * gtk/gtkcombo.c (gtk_combo_find): Implement real - case-insensitive comparison using g_utf8_casefold(). - - * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Fix - assignment of gunichar to char by replacing g_unichar_totitle - with g_ascii_toupper ... the contents would only be ascii - here anyways. - - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale) - * gtk/gtkfontsel.c (gtk_font_selection_show_available_fonts): - Replace a calls to g_strcasecmp() with g_ascii_strcasecmp(). - -2002-02-27 Hans Breuer - - * demos/gtk-demo/makefile.msc.in : new file - - * gdk-pixbuf/gtk-pixbuf.rc.in : new file to include - version resource - * gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res - - * gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU, - (gdk_keyval_name) : fix endless looping - - * gtk/gtkfilesel.c : translate_win32_path() static - * gtk/queryimmodules : print_escaped(), query_module() static - - * gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res - - * gtk/stock-icons/makefile.msc : regenerated from directory - listing (almost all filenames changed) - -Wed Feb 27 10:34:46 2002 Owen Taylor - - * gtk/gtkrange.c (gtk_range_set_range): After computing - the clamped value, actually set it. (#62639, Sergey Kuzminov) - -Tue Feb 26 22:22:37 2002 Owen Taylor - - * gtk/gtkbox.c (gtk_box_reorder_child): Clean up - the code so < 0 == end wasn't just a side effect, - remove most of the manual linked list manipulation - code in favor of g_list_* functions. - -Tue Feb 26 21:44:01 2002 Owen Taylor - - * config.status config.guess: Remove these files - from CVS so we more-or-less current versions from - automake --add-missing. (Reported by Finlay Dobbie, - #60342) - - * gdk/gdkkeyuni.c: Shouldn't map KP_Enter to '\n', - or KP_Tab to \t' since we don't map the corresponding - main keyboard characters in that way. (#61561, - Padraig O'Briain) - -Tue Feb 26 19:45:29 2002 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): - Call gtk_combo_set_popdown_strings() in case - the combo is up currently. (#63535, Skip Montaro) - -Tue Feb 26 19:38:14 2002 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): - Switch control-home/end and home/end with - the idea that scrolled windows more typically contain - vertical sets of controls and to correspond to the bindings - in GtkTreeView. - -Tue Feb 26 19:32:42 2002 Owen Taylor - - * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain - up before drawing the scale values so that the number - is drawn in the right place instead of one step - back. (#61743, patch from Satyajit Kanungo) - -Tue Feb 26 19:16:28 2002 Owen Taylor - - * gdk/win32/gdkkeys-win32.c (gdk_keyval_name): - * gdk/x11/gdkkeys-x11.c (gdk_keyval_name): - Make sure Page_Up, Page_Down get those names, not Prior, - Next. - -Tue Feb 26 18:58:49 2002 Owen Taylor - - * gtk/gtkaccelgroup.c (gtk_accelerator_set_default_mod_mask): - OR in the three default modifiers to any value passed - in by the caller, so that the caller won't break the - the default bindings. (#70142, Jody Goldberg, though he - wasn't in favor of this particular way of solving it.) - -Tue Feb 26 18:47:44 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_add_mnemonic): Append - mnemonics rather than prepending them so that the - order is typically forward rather than typically - backward. (Partial fix for #52395) - -Wed Feb 27 00:45:39 2002 Soeren Sandmann - - * gtk/gtkarrow.c, gtk/gtkmenuitem.c, gtk/gtkrange.c - gtk/gtkspinbutton.c gtk/gtkstyle.c: Draw arrows better (without - extra baseline) - -Tue Feb 26 18:38:17 2002 Owen Taylor - - * gtk/gtkaccellabel.c (gtk_accel_label_refetch): - Display any "g_unicode_isgraph()" char literally, - not just latin1. (#65679) - -Tue Feb 26 18:01:10 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_grab_focus): Don't - focus insensitive widgets. (#68203) - - * gtk/gtkentry.c (gtk_entry_state_changed): Clear any - current selection if we become insensitive. (#68203) - - * gtk/gtkentry.c (gtk_entry_grab_focus): Don't - select the text if the entry isn't editable. (#67203) - - * gtk/gtkentry.c: Activate keybindings when not editable, - but supress keybindings that change the text. (#65848, #68203) - - * gtk/gtkentry.c (gtk_entry_set_property): Reset the - IM context for the entry when it is made not editable. - -Tue Feb 26 17:04:44 2002 Owen Taylor - - * gtk/gtkcolorsel.c (update_color): Emit ::color_changed - every time we notify current_color. (Brute force - fix for #72470, Matthias Clasen). Some fixes to improve - reentrancy. - -Tue Feb 26 15:04:33 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_enter_text): use - the cursor position _after_ deleting the text - as the position to insert at. (#72717, Jan Mynarik) - -2002-02-26 Vitaly Tishkov - - * gtk/gtktreemodel.c - misprints in documentation for gtk_tree_row_reference_inserted() - and gtk_tree_path_new () are fixed - -Tue Feb 26 19:47:16 2002 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): take into account - that a path from a rowref can be NULL. (#72623 and #72650) - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_render_or_focus): - let focus_rectangle be the same as cell_area for empty cells (#69900) - -Tue Feb 26 11:51:56 2002 Owen Taylor - - * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): Fix - double free. - -Tue Feb 26 10:38:14 2002 Owen Taylor - - * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle - a keyval of 0, by returning an empty list. (#72617, - Kevin Breit) - -2002-02-26 Richard Hult - - * gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix - #72586. Silently accept empty tree. - (gtk_tree_view_collapse_all): Likewise. - -2002-02-26 Tor Lillqvist - - * gtk/gtk.def: A couple of name changes. - -Mon Feb 25 22:10:47 2002 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): Fix - double set of bindings for page-up/down. (#72605, Tor Lillqvist) - - * gtk/gtkmenu.c (gtk_menu_key_press): Remove consumed modiifers - when setting up accelerator to make accelerators look prettier. - (#65416, Guillermo S. Romero) - -2002-02-26 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c: Implement the functions that until - now just were non-functional stubs. For "hardware keycodes", we - use Windows virtual keycodes. Not scancodes, although that at - first might seem more low-level and a better match to X11 - keycodes. - - The Windows API is really mixed up and confused with respect to - scancodes and virtual keycodes. (Surprised?) Some scancodes are - generated by two keys on the keyboard (!), and although the - keyboard messages do have a flag to indicate which key the user - pressed, other API that take a scan code as input don't let you - specify which actual key you mean. - - (update_keymap): Function to build a X11-like representation of - the keyboard. Each key has four keysyms: two levels (nonshifted - and shifted) and two groups (normal and with AltGr). - - (gdk_keymap_get_direction): Use the codepage corresponding to the - thread's input locale, not the system codepage. - - * gdk/win32/gdkglobals.h - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkwindow-win32.h - * gdk/win32/gdkwindow-win32.c: Remove the input_locale and - charset_info fields from GdkWindowImplWin32. Input locale is - per-thread in Windows, and as GDK on Windows really only works - when the GDI interaction all happens in just one thread anyway, - this state can be global. Use globals _gdk_input_locale and - _gdk_input_codepage instead. Set these based on the thread's input - locale (keyboard layout, or which IME is active). - - * gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode - fields in GDK key events. On input locale change messages, set - the global state variables, and inform update_keymap() that it - has to rebuild the keymap. - -2002-02-25 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config - invokations. (#72476) - -Mon Feb 25 18:59:27 2002 Owen Taylor - - * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode - flag before popping up the tooltip so that pop it up - in the right place. (#71917, Narayani Pattipati) - -Mon Feb 25 22:11:34 2002 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call - _gtk_tree_view_column_cell_set_dirty when visible, so this column - gets some space allocated. (#70996) - - * gtk/gtkliststore.c (gtk_list_store_get_path): add simple - optimization for the tail case - (gtk_list_store_real_set_value): remove unneeded _get_path calls - -Mon Feb 25 12:47:25 2002 Owen Taylor - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - Fix precendence problem. (Sven Neumann) - -Sun Feb 24 23:23:28 2002 Owen Taylor - - * tests/testselection.c (main): Convert over to using - an GtkInvisible - selections don't work properly - with now NO_WINDOW GtkToggleButton. (Example really - should be using GtkClipboard.) - - * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): - Fix problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely) - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): Set - actual_length when converting atoms as well. - (Gregory Merchan, #72074) - -2002-02-24 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_value_changed): add dx/dy to - child allocation, don't subtract them. Also, copy code from CList - to recursively adjust the child allocation, instead of just - adjusting immediate children. #69115 - -2002-02-24 Havoc Pennington - - * gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in - the cursor direction always, not just when we need an arrow, so we - can flip the cursor around its axis for RTL. Resolves #72372 - - * gtk/gtkentry.c (gtk_entry_draw_cursor): update for - draw_insertion_cursor change - - * gtk/gtklabel.c (gtk_label_draw_cursor): ditto - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto - -2002-02-24 Alexander Larsson - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_background): - Always NULL out bg_pixmap, even when it used to be None - or parent relative. - -2002-02-24 Havoc Pennington - - * gtk/gtktextbuffer.c (parent_class): parent_class variable was - GtkObjectClass instead of GObjectClass - - * gtk/gtktextview.c (widget_to_buffer): fix this the way - buffer_to_widget was fixed, to avoid duplicating - the code that computes text_window->allocation.x/y - -Sun Feb 24 21:18:20 2002 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_end_embedding): Fix - off-by-one error. (Pointed out by Anders Carlsson) - -2002-02-25 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More - GTK+ 2.0 updates. - - * docs/tutorial/Makefile.am: build and dist the new tutorial, not - the old Linuxdoc one. - -Mon Feb 25 01:14:26 2002 Kristian Rietveld - - * gtk/gtktextlayout.c (find_display_line_above): free iter before - going to done - - * gtk/gtktreeview.c (validate_visible_area): free above_path, - (set_destination_row): free path before returning, - (gtk_tree_view_set_drag_dest_row): free current_dest - -Sun Feb 24 14:15:45 2002 Owen Taylor - - * gtk/gtktextview.c (widget_to_buffer): Take border - width into account. - - * gtk/gtklabel.c (get_label_wrap_width): Don't use GdkFont - to compute wrap width ... GdkFont will pull in X11 core - fonts. - -Sun Feb 24 00:06:58 2002 Owen Taylor - - * Released 1.3.15. - - * configure.in: Version 1.3.15, binary, interface age 0. - - * NEWS: Updates - - * configure.in: Update version requirements. - -Sat Feb 23 22:37:23 2002 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_init): Sanity check default - font family name and size. - - * gtk/gtkwindow.c (gtk_window_set_default_size): Remove - incorrect comment about the geometry widget. - - * gtk/gtkwindow.c (gtk_window_move_resize): Unset the - gtk_window_resize)() information once we've set the size - once, to avoid it coming back next time we queue a resize. - (#72359) - - * gtk/gtkwindow.c (gtk_window_move_resize): Remove - sething of ->need_default_position from here, Havoc - says that it should correspond more or less exactly - to GTK_WIDGET_MAPPED (window). - -Sat Feb 23 23:00:48 2002 Jonathan Blandford - - * gtk/gtktreemodel.h: add () to function macros as per owen's - request. - - * gtk/gtkfontsel.c: (gtk_font_selection_select_best_style), - (gtk_font_selection_show_available_sizes), - (gtk_font_selection_set_font_name): - * gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first), - (gtk_tree_model_foreach): - * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level), - (gtk_tree_model_sort_build_level): - * gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach): - * gtk/gtktreeview.c: (validate_visible_area), - (gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model), - (gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move), - (gtk_tree_view_search_init): - * tests/testtreeview.c: (run_automated_tests): change iter_root - to iter_first - -Sat Feb 23 22:10:52 2002 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to - new_first to avoid confusion. - (gtk_tree_model_get_iter_first): ditto. - -Sat Feb 23 20:59:05 2002 Owen Taylor - - * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c: - Patch from Richard Hestilow to add a gtk-font-name GtkSetting. - - * gdk/x11/gdkevents-x11.c: Add Gtk/FontName XSETTING. - -2002-02-24 Tor Lillqvist - - * gtk/gtkfilesel.c: Move inclusion of before inclusion - of , to actually get STRICT prototypes for Win32 - API. Include glib.h early to get G_OS_WIN32 and G_WITH_CYGWIN. - Don't declare static functions that aren't defined if !HAVE_PWD_H - or if G_OS_WIN32. - (win32_gtk_add_drives_to_dir_list): Remove #if 0 code, reindent. - (gtk_file_selection_get_selections): Don't crash if nothing has - been selected. - -Sat Feb 23 20:33:29 2002 Owen Taylor - - * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement - accelerator propagation using a custom XEMBED_GTK_KEY_GRAB - XEMBED_GTK_KEY_UNGRAB pair of messages. - - * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach(). - - * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default - widgets. - -2002-02-23 Havoc Pennington - - * gtk/gtktextbuffer.c (save_range): change gravity of start/end - marks so that text added at either end of the range doesn't end up - inside the range. - (gtk_text_buffer_real_insert_range): fix to handle pasting a range - into itself. #71412 - -Sat Feb 23 19:05:34 2002 Jonathan Blandford - - * gtk/gtktreeview.c (validate_visible_area): Didn't refind node - when it was NULL. Bug found by Tor Lillqvist. - -2002-02-24 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (build_keypress_event, - build_keyrelease_event, gdk_event_translate): Set also group in - the key press/release events, always to zero for now. - -2002-02-24 Anders Carlsson - - * gtk/stock-icons/stock_dialog_error_48.png: - * gtk/stock-icons/stock_sort_ascending_16.png: - * gtk/stock-icons/stock_undelete_24.png: - * gtk/stock-icons/stock_sort_descending_16.png: - Alpha-pad icons so they get the correct size. - -Sat Feb 23 16:52:38 2002 Owen Taylor - - * gtk/gtkentry.c: Patch from Matthias Clasen to remove some - excessive ::changed signals for GtkEntry. (#53130) - -2002-02-23 Tor Lillqvist - - * gtk-zip.sh.in: Include the gtkrc files for themes. - -2002-02-23 Anders Carlsson - - * gtk/gtkiconfactory.c (get_default_icons): Register 16x16 - versions of most icons. - - * gtk/stock-icons: Add 16x16 versions - of most icons. - -Wed Feb 20 16:44:05 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): delay - scrolling until we try to draw the window. - - * gtk/gtktreeview.c (validate_visible_area): Implement - scroll_to_cell. - -2002-02-23 Tor Lillqvist - - * gtk/gtk.def: Add missing gtk_file_selection_get_select_multiple. - Remove gtk_tree_view_column_cell_* entry points that were made - private. - -Sat Feb 23 15:43:46 2002 Owen Taylor - - * gtk/gtktogglebutton.c: Make button draw depressed whenever - the user clicks / activates it, whether it's off/on/inconsistent. - -Sat Feb 23 11:54:12 2002 Owen Taylor - - * gtk/*.h gdk/*.h: Massive padding addition to class structures. - - * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN. - -Fri Feb 22 20:28:18 2002 Owen Taylor - - * gtk/gtkrange.c: Applied patch from Thomas Leonard to make - stepper click to scroll take effect immediately, rather than after - a delay (#67649). - - * gtk/gtkrange.c: Remove right-click == step in trough since it - isn't a useful binding and it's a large area to hit accidentally. - (Leave it on the steppers since its more useful there and less - likely to do accidentally.) - -2002-02-23 Pablo Saratxaga - - * configure.in (ALL_LINGUAS): Add "cy" to the language list. - -2002-02-23 Jody Goldberg - - * gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the - key_val. - (gtk_accel_group_connect_by_path) : ditto. - (gtk_accel_group_disconnect_key) : ditto. - - * gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify. - (gtk_widget_real_key_press_event) : ditto. - -Sat Feb 23 00:28:47 2002 Jonathan Blandford - - * gtk/gtktreeviecolumn.c: Documented undocumented functions. - - * gtk/gtktreemodel.c: Documented undocumented functions. - -Sat Feb 23 03:10:20 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and - max_width while resizing columns (pointed out by Jorn Baayen) - -Fri Feb 22 19:17:46 2002 Owen Taylor - - Patch from Matthias Clasen (#54488) - - * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here, - and do ::has-focus notifications. - - * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c - gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c: - Remove unecessary focus_in/out handles and unecessary - flag setting. - - * gtk/gtkwidget.c: Adda missing notification on ::parent. - -Fri Feb 22 18:36:45 2002 Owen Taylor - - Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, - #72182. - - * demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c - gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c - gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h: - Squash trailing commas on enumerations. - - * gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead - of 1 << 31 to work around AIX compiler problem. (C standard - seems to imply that compiler is required to use an unsigned - type for the enum value in this case.) - - * gdk/gdkpixbuf-drawable.c: Fix lvalue casts. - - * gtk/gtkwindow.h: Fix use of enum types for bitfields ... - compilers may choose to use a signed type for bitfields. - -Sat Feb 23 00:34:01 2002 Kristian Rietveld - - * gtk/gtktreeview.c (validate_rows_handler): leave threads before - returning (#72045) - -2002-02-22 Anders Carlsson - - * gtk/stock-icons/*: Rename icons. - - * gtk/stock-icons/Makefile.am: Update for new icon names. - - * gtk/gtkiconfactory.c (init_icon_sizes): Set the - GTK_ICON_SIZE_BUTTON size to be 20x20. - (get_default_icons): Change stock names. - -Fri Feb 22 22:39:59 2002 Kristian Rietveld - - * gtk/gtktreeprivate.h: add last_single_clicked and - last_single_clicked_2 rowrefs and add disable_popdown to the - bitfield - - * gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff - for two new rowrefs - (gtk_tree_view_button_press): add some 'advanced' button handling, - so double click is being handled right (double click madness was - discovered by Anders Carlsson) - - * gtk/gtktreeview.c (gtk_tree_view_set_property): add missing - break - (gtk_tree_view_class_init): default value of headers_visible - should be TRUE (both pointed out by Damon Chaplin, #71986) - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - connect to populate_popup, - (gtk_tree_view_search_disable_popdown): new function, - (gtk_tree_view_real_search_enable_popdown): ditto, - (gtk_tree_view_search_enable_popdown): ditto, - (gtk_tree_view_search_dialog_destroy): check for - gtk-tree-view-popdown-disabled (#71868) - - * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move - ->priv->reorderable assignment to bottom. (#72122) - -2002-02-22 Havoc Pennington - - * gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from - line endpoint, to avoid cursor dirt in the text widget. - zero-width lines appear to draw the endpoint always. #67999 - -2002-02-22 Havoc Pennington - - * gtk/gtktextview.c (buffer_to_widget): implement more cleanly by - using text_window->allocation.x/y instead of recomputing it. - Fixes a bug caused by leaving out the border width here. - -2002-02-22 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): call - gtk_size_group_queue_resize to avoid invalidating the widget every - time its requisition changes. Instead we use the btree invalid - lines to know what to redraw. Fixes #71429 - -Fri Feb 22 14:08:38 2002 Soeren Sandmann - - * gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h, - gtktogglebutton.c: feedback when check and radio buttons are - depressed. - -2002-02-22 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): - s/columns/rows/ in docs. (#70199) - - * gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in - docs. (#71852, #68405) - - * gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment. - -Thu Feb 21 23:02:29 2002 Kristian Rietveld - - * gtk/gtktreeview.[ch]: add keynav handling for unselect all, - focus column header, change focus with arrow keys in column headers, - column reordering, column resizing, small try to fix page up/down - (this fixes #70889, and fixes a great deal of #53580) - -Thu Feb 21 16:51:17 2002 Owen Taylor - - * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add - GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ - First_Group/Last_Group to list of invalid accelerators. - (A lot more that should be added, but probably would - want a range mechanism. These are the ones found in - the standard XFree86 config files.) - - * gtk/gtkbindings.c (gtk_bindings_activate): Fix problem - that broke bindings for menus. - - * gtk/gtkwindow.[ch]: Export _gtk_window_activate_key() - privately. - - * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use - _gtk_window_activate_key(), gtk_bindings_activate_event(). - -Thu Feb 21 12:24:22 2002 Owen Taylor - - * gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds - for +/= and shift key handling. - -Wed Feb 20 14:26:47 2002 Owen Taylor - - * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; - allow matches on key and level but not group. Also, implement - ignoring "consumed modifiers correctly." - - * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using - GtkKeyHash. - - * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in - the group for key release events as well as key press events. - - * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - Rename unused_modifiers to consumed_modifiers, make the docs and - non-Xkb implementation match the Xkb implementation. - - * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate - doc and parameter name changes. - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - XkbTranslateKeyCode doesn't handle LockMask, we need to handle - it ourselves. - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force - Tab to give GDK_ISO_Left_Tab, since we need consistency - to allow dealing with ISO_Left_Tab. - - * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c - gtk/gtkpaned.c gtk/gtkcombo.c gtk/gtknotebook.c: - Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab - or Tab both are equivalent as a binding specifier.) - - * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate - GTK_RUN_ACTION, so you can bind an accelerator to it. - - * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call - gdk_unicode_to_keyval on the mnemonic character. - - * tests/testgtk.c: Add a test for the new fuzzy key binding matching. - -2002-02-21 jacob berkman - - * gtk/theme-bits/Makefile.am (EXTRA_DIST): inconsitent files are - .pngs too - -Wed Feb 20 21:52:13 2002 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_request): Set the property - as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.) - - * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties - of type ATOM_PAIR as well as properties of type ATOM. - -2002-02-21 Matthias Clasen - - * docs/tutorial/images/*.png: screenshots of examples. - - * docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add - screenshots, fix chapters 1-4 for GTK+ 2.0. - - * demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED. - -Thu Feb 21 00:31:41 2002 Soeren Sandmann - - * gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively - in expose handler. Feedback when buttons are depressed. - - * gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix - spinbuttons for RTL langauges. - -Wed Feb 20 23:00:08 2002 Soeren Sandmann - - * gtk/gtkstyle.c: new radio buttons. handle inconsistent state for - check- and radiobuttons. - - * gtk/theme-bits/check-13-inconsistent.png, - gtk/theme-bits/radio-13-inconsistent.png: new files - - * gtk/theme-bits/radio-13.png: new radio buttons - - * gtk/theme-bits/Makefile.am (EXTRA_DIST): add new - -inconsistent.png files - -Wed Feb 20 16:19:49 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c: Add a XSETTING mapping for - gtk-can-change-accels. (#70218, Thomas Leonard.) - -2002-02-20 Sven Neumann - - * gtk/gtkcolorsel.c (gtk_color_selection_finalize): check - handler_id before disconnecting the signal handler since it might - have never been connected if the GtkColorSelection is destroyed - before it was realized. - -2002-02-20 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from - the examples. - - * docs/tutorial/gtk-tut.sgml, examples/progressbar/progressbar.c, - examples/progressbar/Makefile: Make the progressbar example - deprecation-clean. - -Tue Feb 19 22:10:59 2002 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new - function - (gtk_tree_view_column_create_button): use g_signal_* instead of - gtk_signal_*, hook up _mnemonic_activate callback - (gtk_tree_view_column_update_button): use - gtk_label_set_text_width_mnemonic instead of gtk_label_set_text - (#69095) - - * gtk/gtktreeview.c (gtk_tree_view_class_init): remove key bindings - for C-f and C-b, let treeview search use C-f (instead of C-s) - (#61866) - - * gtk/gtkrc.key.emacs: add some GtkTreeView bindings - -Tue Feb 19 20:56:32 2002 Soeren Sandmann - - * gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all - black pixels). - -2002-02-19 Sven Neumann - - * examples/*/*.c: finish conversion to g_signal_* functions by - using G_OBJECT and G_CALLBACK and other assorted changes. - -Tue Feb 19 17:36:31 2002 Kristian Rietveld - - * gtktreeprivate.h, gtktreeviewcolumn.[ch], gtktreeview.c: change - gtk_tree_view_column_cell_render, - gtk_tree_view_column_cell_focus, - gtk_tree_view_column_cell_draw_focus and - gtk_tree_view_column_cell_set_dirty to be private functions. - - * gtktreeviewcolumn.[ch]: add install_handler argument to - _cell_set_dirty to control if _mark_rows_col_dirty (which calls - install_presize_handler) gets called, set widths correctly so - autosizing works (#71870) - - * gtktreeview.c (gtk_tree_view_column_autosize): new function, - (gtk_tree_view_button_press): make double click on column - separator resize the row (#71870) - (gtk_tree_view_get_dest_row_at_pos): change DnD threshold to 33% - (#71869, suggestion by Anders Carlsson) - -Mon Feb 18 23:16:16 2002 Owen Taylor - - * gtk/gtkmain.[ch]: Add routines _gtk_find_module(), - _gtk_get_module_path() to look up a module of an arbitrary type in - a standard fashion. (#68474) - - * gtk/gtkrc.c: Make module_path keyword warn and do - nothing. Remove the im_module_path keyword. - - * gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix - to return the standard path instead of one determined - from im_module_path and GTK_IM_MODULE_PATH. - - * gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version. - -2002-02-19 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting - fixes to all examples, simple functional fixes to rangewidgets example. - -Mon Feb 18 18:27:45 2002 Owen Taylor - - * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Select - the right item in the family list. (Reported by Mark Patton, - Patch from Satajyit Kanungo, #64240) - - * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Update - the size and face entry lists as well, fix memory leak. - (Also #64240) - - * gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): - Allow fractional sizes, unselect the selected row if none - matches. - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): Fix - a bug where the scrolled window would always get focus - when focusing out of the child. - -2002-02-18 Hans Breuer - - * gdk/win32/gdkevents-win32.c : process WM_PAINT messages - for bg_pixmap == GDK_NO_BG, fixes The GIMP's canvas - rendering glitches on win32 - - * gdk/win32/gdkinput-win32.c : use g_object_new to create - GdkDevice instead of g_new - - * gtk/gtkpaned.c : make LAST_SIGNAL the last in enum. - This avoids to smash totally unrelated static data and - resulting random crashes. (as reported on gtk-devel-list, - 2002-02-10 : testgtk crashes) - - * gtk/gtk.def : add new file selection entry points - -Mon Feb 18 17:34:43 2002 Owen Taylor - - * gtk/gtkentry.c gtk/gtktextview.c: Remove support for - the poorly defined text/plain type for now. (#55117) - -Mon Feb 18 16:44:00 2002 Owen Taylor - - * docs/widget_system.txt: Add some docs for GTK_NEED_REQUEST - GTK_NEED_ALLOCATION. - - * gtk/gtkmenu.c (gtk_menu_popup): Scroll the menu - to the right place before showing the menu to - avoid spurious enter events. - - * gtk/gtkmenu.c (gtk_menu_realize): Only scroll - if there is an active menu item. - - * gtk/gtkwidget.c (gtk_widget_init): Set RESIZE_NEEDED - ALLOC_NEEDED initially. - -2002-02-18 Matthias Clasen - - * NEWS: fix version number. - -2002-02-18 Manish Singh - - * Makefile.am: don't comment out the lines to dist the packer - example, just simply remove it. (the continuation line confused - make even though it was in the comment, barf) - -Mon Feb 18 14:40:22 2002 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_popdown_list): Fix problems - with stuck grab (#60132, reported by Nicolas Setton) and - stuck prelighting. Combine duplicated code in three - places for popping down the list. - -Mon Feb 18 14:17:59 2002 Owen Taylor - - * gtk/gtkclist.c (adjust_adjustments) - * gtk/gtklayout.c (gtk_layout_size_allocate) - * gtk/gtktextview.c (gtk_text_view_size_allocate) - * gtk/gtktreeview.c (gtk_tree_view_size_allocate) - * gtk/gtkviewport.c (gtk_viewport_size_allocate): - Standardize on a page increment of page minus 1 line - rather than half a page (#51027, Eric Fischer) - - * gtk/gtkviewport.c (gtk_viewport_size_allocate): - Change step increment to be 0.1 * page_size height rather than - a fixed 10 pixels. - -Mon Feb 18 12:31:52 2002 Owen Taylor - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): - Don't commit unless we got at least one hex digit. (#70619) - -Sun Feb 17 21:30:49 2002 Owen Taylor - - * Released 1.3.14 - - * configure.in: Version 1.3.14, interface, binary age 0. - - * gdk/gdkregion-generic.c (miSubtractO): Fix out-of-bounds - read. (#71619, reported by Morten Welinder) - - * gtk/gtkmenu.c (gtk_menu_class_init): Fix setting default. - - * gtk/gtkfilesel.c (gtk_file_selection_class_init): Add - a select_multiple property to go along with thenew - get/set_select_multiple. - - * gdk/gdkwindow.c: Patch from Soeren Sandmann to improve - update debugging code. (#71703) - -2002-02-17 Tor Lillqvist - - * gdk/win32/gdkcolor-win32.c (free_colors): Don't set the - PC_EXPLICIT flag for unused palette entries, that might have - undesired side effects. Just set them to black. Black is always - present in a palette, so having superfluous black entries won't - cause any extra allocations from the system palette either when - realized. - - * gdk/win32/gdkevents-win32.c - (gdk_event_translate:WM_QUERYNEWPALETTE): Don't do anything if the - system visual is static color, i.e. the user has told GDK to use - just the 16 static colors. In that case no need to redraw - anything, as the colors are static and by definition always - correctly mapped in the system palette. - (WM_PALETTECHANGED): Ditto, no need to call UpdateColors() either. - - * gtk/gtk.def: Add new gtkfilesel entry points. - -2002-02-17 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml, examples/paned/paned.c, - examples/paned/Makefile: Make the paned example deprecation-clean. - -2002-02-17 jacob berkman - - * Makefile.am: remove the packer example files as they don't exist - in CVS. - -2002-02-16 Manish Singh - - * tests/testgtk.c: hm, check buttons look better for below. - -2002-02-16 Manish Singh - - * tests/testgtk.c: redid the filesel test. Added a way to set select - multiple as a toggle button, and made show/hide fileops toggle - buttons as well. get_selections() is called on OK and all the - filenames selected are printed. - -2002-02-17 Tor Lillqvist - - * README.win32: Remove comment about the gtk-1-3-win32-production - branch having more functionality. - - * gdk/win32/*.c: Massive changes. Too many to list here, but I'll - try a summary: - - 1) Unify GdkPixmap and GdkImage implementation: For each - GdkPixmap, allocate a GdkImage, and vice versa. - GdkPixmapImplWin32Data has a pointer to the GdkImage. - GdkImage::windowing_data is a pointer to the GdkPixmap. - - This simplifies many pixmap and image related functions a lot, and - reduces duplicated code. For instance, there is only one - place in gdk/win32 where CreateDIBSection() is called, in the - function _gdk_win32_new_pixmap(). Converting a bitmap (GdkPixmap) - to a Windows region is almost trivial, with the bitmap bits being - readily accessible in the associated GdkImage. - - All blitting between GdkPixmaps, GdkWindows and GdkImages goes - through handled the _gdk_win32_blit() function, which calls - different functions to handle the cases of blitting from pixmaps, - inside windows (scrolling), or from windows, which all require - somewhat different handling. - - 2) Support 256-color mode. This has long been very broken, now it - works more or less OK. Keep the logical palette for each colormap - as small as possible while allocating and freeing colors. Select - and realize the logical palette associated with a GdkColormap into - a DC before drawing or blitting. - - When the display is in 256-color mode, make it possible for the - user to override the size of the palette(s) used with either the - GDK_WIN32_MAX_COLORS environment variable, or a -max-colors - command line option. It is possible to reduce the palette size all - the way down to using just the 16 static colors (which causes the - system visual to be of type GDK_VISUAL_STATIC_COLOR. This could - possibly be useful if one desperately wants to avoid color - flashing. (Note that in order for this to work properly, an as of - yet not commited fix to gdkrgb.c is needed.) - - Handle the palette messages. On WM_PALETTECHANGED, call - UpdateColors() for the given window hierarchy. Do this only if a - window in some other top-level window hierarchy caused the palette - change (realized a palette). Do this max five times in a row (an - arbitrarily chosen limit), though, otherwise redraw by generating - expose events. On WM_QUERYNEWPALETTE, cause a redraw of the whole - window hierarchy by generating GDK_EXPOSE events. - - 3) Code cleanup in general. For instance, remove the "emulated" - X11 structs ColormapStruct, Visual and XStandardColormap. Use the - new GDK_DEBUG_* flags for debugging output in the relevant source - files. Remove the unused colormap hash table in gdkcolor-win32.c - - 4) Plug some resource leaks. - -2002-02-14 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Use - g_filename_to_uri() to actually create legal URIs in the - text/uri-list data. - -2002-02-16 Manish Singh - - * gtk/gtkfilesel.[ch]: Added multiple selection API - -2002-02-16 Manish Singh - - * gdk/linux-fb/miarc.c: use fabs() on a double instead of abs() - -2002-02-17 Matthias Clasen - - More work on #71430. - - * examples/*/Makefile (CFLAGS): add deprecation guards. - - * docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples - deprecation-clean; the major offenders right now are the examples - that make heavy use of completely deprecated or broken widgets: - list, tree, text, pixmap, paned and progressbar. These will have - to be redone from scratch. - -Sun Feb 17 00:13:06 2002 Kristian Rietveld - - This commit lands the 'dy patch'. - - * gtk/gtktreeview.c (validate_rows_handler): update top_row or dy, - (gtk_tree_view_top_row_to_dy): new function, - (gtk_tree_view_row_changed): update top_row or dy, - (gtk_tree_view_rows_reordered): update top_row - -2002-02-16 Matthias Clasen - - * demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED. - -2002-02-16 Matthias Clasen - - * examples/extract.awk: rearrange rules to not emit the example - start and end markers. - - * docs/tutorial/gtk-tut.sgml: turn the start and end markers into - SGML comments, so they don't clutter the formatted tutorial. - -2002-02-16 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_parse_geometry): take - GDK_HINT_RESIZE_INC into account, and handle negative coordinates - correctly. (Can't email Owen - hope this is OK.) - -Fri Feb 15 20:09:45 2002 Owen Taylor - - * gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list: - Add key bindings on GtkScrolledWindow for arrow keys, - PageUp/PageDown Home/End to scroll the window. - Bind Control-[Shift]-Tab to focus out of the scrolled - window entirely. Allow the scrolled window to be - focused if no child can be focused. (#63480) - - * gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED() - check - if we have visible but not mapped widgets - (inside a unshown notebook tab, for instance), we need - to track their size. (#65087, reported by Damon Chaplin.) - - * gtk/gtkcolorsel.c (palette_change_color): Shut up - a warning. - -2002-02-16 Tor Lillqvist - - * gdk/win32/rc/Makefile.am (gdk-win32res.lo): Depend on gtk.ico. - - * gdk/win32/rc/gtk.ico: Use the real GTK logo. Thanks to Jernej - Simoncic for providing the nice multi-resolution .ico file. - -2002-02-15 Alexey Malyshev - - * gtk/tmpl/gtkimage.sgml - removed wrong sentence from gtk_image_new() docs - -Fri Feb 15 19:38:00 2002 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_clear_traverse): new function - (gtk_tree_store_clear): traverse the tree, so we emit row_deleted - for every node. This way we don't have confused row refs crashing the - application. (#70631) - -2002-02-14 Richard Hult - - * gtk/gtkpaned.c (gtk_paned_enter): Only queue a draw on the - handle, not the whole widget. #71530. - (gtk_paned_leave): Likewise. - -2002-02-14 Jody Goldberg - - * gtk/gtkrange.c (gtk_range_class_init) : add new signal - 'adjust_bounds' to potentialy change the bounds before assigning the - new value and camping it to the existing bounds. - (gtk_range_internal_set_value) : used here. #68800. - * gtk/gtkmarshalers.list : add VOID:DOUBLE - -Thu Feb 14 21:08:49 2002 Owen Taylor - - * gdk/gdkglobals.c: Remove GDKVAR from C file, see - if anyone complains. (#71317, Morten Welinder.) - -2002-02-14 Matthias Clasen - - The following changes are the beginning of the work on #71430. - - * examples/extract.sh, examples/extract.awk: Make extraction work. - - * examples/Makefile (SUBDIRS): Remove packer. - - * examples/packer/pack.c, examples/packer/Makefile: Removed. - - * docs/tutorial/gtk-tut.sgml: Fix the included examples far - enough to make them compile and (mostly) work, remove the packer - example. - -Thu Feb 14 16:46:48 2002 Owen Taylor - - * gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c - gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill - Haneman and Padraig O'Briain to add cursor_aspect_ratio - style property to GtkWidget to allow theming the aspect - ratio of the cursor. - - * gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c - gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property - to GtkWidget. - -Thu Feb 14 11:13:22 2002 Owen Taylor - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_surrounding): - Fix bug where we called get_surrounding on the context,. - not the slave. - -Thu Feb 14 00:10:09 2002 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_event_handler): Only - pop the tooltip down on a select set of events, not - on any unknown event. (#71157, Jody Goldberg) - - * gtk/gtktooltips.c (gtk_tooltips_event_handler): - Fix some warnings. - -Thu Feb 14 00:02:21 2002 Owen Taylor - - * gtk/gtkcalendar.c (gtk_calendar_size_request): A bunch of - small allocation/drawing fixes. - - * gtk/gtkcalendar.c: Replace DAY_XPAD, DAY_YPAD with - GtkWidget::focus-padding - -Wed Feb 13 23:01:20 2002 Owen Taylor - - * gtk/gtkcalendar.c: Patch from Bill Haneman to draw - to focus using gtk_paint_focus() with the focus width - GtkWidget::focus-width. (#63075) - - * gtk/gtkcalendar.c (gtk_calendar_size_request): Initialize - label_char_ascent/descent to 0. (#56925, reported by - (Jean-Noel Guiheneuf) - -2002-02-13 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_flush_scroll): validate a - larger area, proportional to widget size, to fix - #71427 reported by Dennis Bjorklund - -2002-02-13 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush - all the first validate stuff if it hasn't been done, presumably - someone called process_updates at a weird time. - - * tests/testtext.c (do_apply_colors): terminate on >= end, not > - end, avoids infinite loop when end is at the end of the buffer. - - * gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a - line data, we were adding it to the wrong line ("line" instead of - "start_line") - -2002-02-13 Joe Shaw - - * gtk/gtktreeitem.c (gtk_tree_item_expose): Don't chain up to the - container's expose event. Instead call - gtk_tree_item_expose_child() on each child. Avoids a failed - g_assert() in gtk_container_propagate_expose(). - (gtk_tree_item_expose_child): Added. Synthesize an expose event - for our children. Basically gtk_container_propagate_expose() - minus the g_assert(). (#71396) - -2002-02-13 Tor Lillqvist - - * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more - fine-grained debugging output (mainly used in the Win32 backend). - - * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table. - -Wed Feb 13 15:42:42 2002 Owen Taylor - - * gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1 - as toggle-tooltips-mode. - - * gtk/gtktooltips.c: Remove parsing of tooltips style - string from here ... now in gtkrc.c. - -Wed Feb 13 12:41:44 2002 Owen Taylor - - * gtk/gtkmain.c (gtk_init_check): g_warning() if setting - the local fails, like gdk_set_locale() did. - - * gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list): - Don't free local_list if local_count == 0. (#71241, reported - by Kevin Vandersloot.) - - * gdk/x11/gdkselection-x11.c (gdk_text_property_to_text_list): - Clean up list == NULL handling and failure. - -Wed Feb 13 11:27:31 2002 Owen Taylor - - * tests/testtreeview.c (typesystem_recurse): Cast GType - to long and use %ld to fix warning. (#71318, Morten Welinder) - -Wed Feb 13 13:26:39 2002 Tim Janik - - * gtk/gtkmenu.c: fix figuring accel path and changing behaviour. - -Wed Feb 13 06:42:37 2002 Tim Janik - - * gtk/gtktable.c (gtk_table_size_allocate_pass1): partly revert - my recent expanding change to not expand the table if all children - have not epxand behaviour. this fixes palette views which often - use homogeneous non-expanding tables. - -Tue Feb 12 14:27:41 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): emit - row_deleted before we start unreffing the nodes ourselves - (gtk_tree_model_sort_increment_stamp): always increment the stamp, - and not only if the stamp equals 0 (pointed out by Darin Adler) - - * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): we want - to continue the while loop and not the nested for loop. - -Tue Feb 12 02:19:49 2002 Tim Janik - - * gtk/gtktable.c (gtk_table_size_allocate_pass1): always spread out - the extra space allocated for the homogeneous case, as we don't - properly deal with readjusting table allocation within it. (for this - purpose, a GtkAlignment can be used as table parent). - -2002-02-11 Darin Adler - - * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_row_changed): - Consider reordering the row even when there's no sort column, if - there's a default sort function. - (gtk_tree_model_sort_rows_reordered): Use symbolic constants. - (gtk_tree_model_sort_level_find_insert): Add code to handle the - case where there is no sort column, but a default sort function. - (gtk_tree_model_sort_insert_value): Add code to handle the case - where there is no sort column an no default sort function. - (gtk_tree_model_sort_set_model): Use symbolic constant. - (gtk_tree_model_sort_reset_default_sort_func): Use symbolic constant. - -2002-02-11 Sven Neumann - - * gtk/gtkfilesel.c: converted the "Delete File" dialog to - GtkMessageDialog. Marked missing strings for translation. - -Mon Feb 11 22:03:15 2002 Soeren Sandmann - - * gtk/gtkpaned.[ch]: Opaque resizing + prelighting for paned widget. - * gtk/gtkvpaned.c, gtk/gtkhpaned.c: move reszing logic to gtkpaned.c - -Mon Feb 11 21:42:17 2002 Kristian Rietveld - - Implements DnD scrolling and fixes #71139 - - * gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): new function, - (scroll_row_timeout): new function, - (gtk_tree_view_drag_motion): create scroll_timeout, so - scroll_row_timeout gets called - -Mon Feb 11 17:54:46 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper - member of hadjustment correct, so the hscrollbars of lists smaller - than 1 page (in width) are somewhat saner - -2002-02-11 jacob berkman - - * gdk/gdkwindow.h (gdk_get_default_root_window): fix signature to - match implementation - -Mon Feb 11 16:48:34 2002 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_set_valist): set value of - func to NULL during initialization (we don't use func in the - !SORTED case, so we just silent the compiler here) (#71029) - -Mon Feb 11 16:40:44 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_set_model): install presize - handler, so the validate_rows_handler will always be run (#70997) - -Sun Feb 10 22:20:46 2002 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): increase - value of new_location by one if cmp_a > 0 and we hit the end of - the list and pass NULL instead of a 'NULL-iter' with - _rows_reordered (#71060) - -Sun Feb 10 12:32:44 2002 Owen Taylor - - * modules/input/Makefile.am modules/input/{imam-et.c, imti-er.c, - imti-et.c} po/POTFILES.in: Add three Ethiopic input methods from - Daniel Yacob. - -2002-02-10 Anders Carlsson - - * gtk/gtkcalendar.c (gtk_calendar_class_init): Set finalize handler; - (gtk_calendar_finalize): Rename gtk_calendar_destroy to - gtk_calendar_finalize since ::destroy can be called multiple times, - resulting in double-freeing memory. - -2002-02-10 Hans Breuer - - * gdk/win32/gdkgeometry-win32.c : don't reduce the scroll - rect size by the scroll amount - - * gdk/win32/gdkwindow-win32.c - * gdk/win32/gdkselection-win32.c : added some casts to - make it compile with msvc's strict type checking - - * gtk/fnmatch.c : #include again for tolower - prototype. The fnmatch() code assumes to be in the crt - locale though it is feeded by utf8 strings from gtkfilesel.c - - * gtk/gtkfilesel.c : let ->cmpl_text be a strdup managed by - _CompletionDir instead of referencing already freed memory - - * gtk/gtktooltips.c (gtk_tooltips_init) : fix typo to - gtk_rc_parse_string (theDefaultTooltipColor) once as it - was intended - - * tests/makefile.msc : added more tests - - * tests/testgtk.c (create_list) : don't try to load gtkenums.h - from the current directory use ../gtk/gtkenums.h instead - -2002-02-10 Kjartan Maraas - - * gtk/gtksizegroup.c: Fix a double "The" typo in a string. - -2002-02-09 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_set_focus_child): Avoid segfault - for selectable tab labels (even without a segfault, they make the - notebook almost unusable, though). (#69985) - -2002-02-08 Matthias Clasen - - * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): Silently do - nothing if the parent is not a menu. (#66492) - -2002-02-06 Matthias Clasen - - * gtk/gtkitemfactory.c (gtk_item_factory_from_widget, - gtk_item_factory_path_from_widget): Try fetching the return value - from menu_item->submenu as a fallback. (#69020) - -Sat Feb 9 22:57:43 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert - the iter to a child iter again, after doing _iter_children. It's - possible that _iter_children added some rows and updated the stamp. - -2002-02-09 Daniel Elstner - - * gtk/gtktextchild.c: Use == rather than = in sanity - checks. Ouch! - -2002-02-09 Daniel Elstner - - * gtk/gtktextchild.c (CHECK_IN_BUFFER_RETURN): Add missing - curled braces so that it doesn't always return. Also indent - both CHECK_IN_BUFFER* macros properly, and make use of - G_STMT_START/G_STMT_END. - -Sat Feb 9 13:27:14 2002 Owen Taylor - - * gtk/gtkbindings.h: Add prototype for - _gtk_binding_reset_parsed(). - -Sat Feb 9 13:19:20 2002 Owen Taylor - - * configure.in gtk/Makefile.am gtk/theme-bits/*: Add - tools and images used for creating the check/radio - button images in the default theme. - -Sat Feb 9 13:58:41 2002 Soeren Sandmann - - * gtk/gtkpaned.[ch]: Keyboard navigation for GtkPaned - F6: cycle between panes. - F8: focus handle (#53584) - - * tests/testgtk.c: Add test cases for GtkPaned keyboard - navigation. - -Sat Feb 9 00:16:31 2002 Owen Taylor - - * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): - XCopyArea with subwindow_mode = IncludeInferiors. - (#70999) - - * demos/testpixbuf-save.c (configure_cb): Fix a minor - memory management problem. - -Fri Feb 8 20:24:58 2002 Owen Taylor - - * gtk/gtkbindings.c (binding_compose_params): Fix problem - with string-valued parameters (#70012, Johan Dahlin.) - - * gtk/gtkentry.c (gtk_entry_delete_whitespace): Fix - white space deletion. - -Fri Feb 8 21:25:56 2002 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): fix - evil ref bug where the wrong row and a deleted row was unreffed. - Found by Darin Adler - -Fri Feb 8 18:46:13 2002 Owen Taylor - - * gtk/gtkbindings.[ch] (_gtk_binding_reset_parsed): Add - a function to delete all bindings add by - gtk_binding_parse_binding() when rereading RC files. - - * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Reset - binding set content as well as RC content. - - * gtk/gtkbindings.c (binding_compose_params): Fix - various GValue handling problems. - - * gtk/gtkentry.c (gtk_entry_class_init): Remove bindings - for C-b, C-f, M-b, M-f, C-a, C-e, C-w, C-y, M-space, C-u, - C-k, M-\, M-d, C-d. - - * gtk/gtktextview.c (gtk_text_view_class_init): Remove - same bindings as GtkEntry, plus C-n, C-p, C-space - - * gtk/gtkrc.key.default gtk/gtkrc.key.emacs gtk/Makefile.am: - Add Emacs and Default key themes. - -2002-02-08 Darin Adler - - * gtk/gtktreeview.c: (gtk_tree_view_map_expanded_rows_helper): - Remove a tiny bit more dead code. - -2002-02-08 Darin Adler - - * gtk/gtktreeview.c: (gtk_tree_view_map_expanded_rows_helper): - Fix stale pointer bug. - -Fri Feb 8 14:30:14 2002 Owen Taylor - - * gtk/gtkclist.c (title_focus_in): Return FALSE if - not showing the titles. (#70959, Thomas Leonard) - -2002-02-08 Darin Adler - - * demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace - * gdk/x11/gdkim-x11.c: Remove gdki8n.h include. - * gdk/x11/gdkkeys-x11.c: Remove include. - * gdk/x11/gdkmain-x11.c: Remove include. - * gtk/fnmatch.c: Remove include. - * gtk/gtkaccelgroup.c: Remove include. - * gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper -> - g_unichar_toupper, toupper -> g_unichar_totile - * gtk/gtkbindings.c: Remove include. - * gtk/gtkfontsel.c: Remove include. - * gtk/gtkiconfactory.c: Remove include. - * gtk/gtkinputdialog.c: Remove include. - * gtk/gtklabel.c: Remove include. - * gtk/gtkmain.c: Remove include. - * gtk/gtkmenu.c: Remove include. - * gtk/gtkoldeditable.c: Remove include. - * gtk/gtkrc.c: Remove include. - * gtk/gtktextbtree.c: Remove include. - * gtk/gtktextiter.c: Remove include. - * gtk/gtktextsegment.c: Remove include. - -2002-02-08 Sven Neumann - - * gtk/gtkfilesel.c - * gtk/gtkgamma.c - * gtk/gtkinputdialog.c: use stock labels for dialog action buttons. - -2002-02-08 Darin Adler - - * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_ref_node), - (gtk_tree_model_sort_unref_node): Pass the ref_node and - unref_node calls through to the child model. - -2002-02-08 Laszlo Peter - - * gtk/gtktextchild.c: s/__FUNCTION__/G_GNUC_FUNCTION/ - * gtk/gtktextview.c: ditto - -2002-02-07 Havoc Pennington - - * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add - change_value virtual function, to fix build - - * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was - from GtkWidget not GtkMisc. Not that it ever mattered. - -Thu Feb 7 19:52:00 2002 Owen Taylor - - * gtk/gtknotebook.[ch]: Add ::move-focus-out signal - to handle Control[-Shift]-Tab and Control-arrow - bindings and implement bindings as per #53612. - - * gtk/gtktextview.c (gtk_text_view_move_focus): Fix - fetching the toplevel for plug-socket. - - * gtk/gtknotebook.c (gtk_notebook_class_init): Remove - bindings for Return/Enter to select the page. - - * gtk/gtknotebook.c (gtk_notebook_change_current_page): - Beep at ends. - - * gtk/gtknotebook.c (focus_tabs_move): Don't wrap around - and beep at ends. - - * gtk/gtknotebook.c (gtk_notebook_focus): When focusing into - the page with the arrow keys, focus the first widget, - not the directionally closest widget. - -Thu Feb 7 19:00:10 2002 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_key_release): Convert - to using binding set for doing key bindings. (#62622, - Requested by Skip Montaro) - - * gtk/gtkwindow.c (gtk_window_class_init): Add control-arrow - bindings as overrides along with control-tab bindings. - - * gtk/gtknotebook.c (gtk_notebook_class_init): Fix return - type for ::focus_tab signal. - -Thu Feb 7 19:39:27 2002 Kristian Rietveld - - Fixes #70782 and some drag dest rectangle/line issues - - * gtk/gtktreeview.c (gtk_tree_view_set_model): set - GTK_TREE_VIEW_IS_LIST flag (we can switch from a TreeStore to a - ListStore for example) - (gtk_tree_view_get_path_at_pos): revert previous change, we - shouldn't correct for the header, because we are taking bin_window - coordinates here - (gtk_tree_view_set_drag_dest_row): queue old drag_dest row and - upper/lower neighbors for draw, so the drag dest rectangle/line will - be cleared correctly - (gtk_tree_view_get_dest_row_at_pos): correct for treeview header - here, as drag_y is relative to the widget and _get_path_at_pos wants - coords relative to bin_window, draw black outline rectangle after - drawing the cells - -Thu Feb 7 10:53:12 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_text): Use layout text - (which may be affected by invisible char) to compute - selection bounds, not entry text. (#70733, Alex Larsson) - -2002-02-07 Padraig O'Briain - - * gtk/gtkwidget.[ch]: - Change show_help signal to return gboolean instead of void. This - allows the keypress which invokes the signal to be propagated to the - focus widgets ancestors if not handled by the focus widget. - - * gtk/gtktoolips.[ch] - Change _gtk_tooltips_show_tip () to return a gboolean indicating - whether widget has tooltip to display. - -2002-02-07 Padraig O'Briain - - * gtk/gtkwidget.[ch]: - Change popup_menu signal to return gboolean instead of void. This - allows the keypress which invokes the signal to be propagated to the - focus widgets ancestors if not handled by the focus widget. - - * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c: - Change signature of popup_menu signal handler to return gboolean - instead of void and return TRUE in the signal handler - -2002-02-07 Anders Carlsson - - * gdk/x11/xsettings-common.c (xsettings_setting_free): Free - the setting name. - -Wed Feb 6 23:28:39 2002 Kristian Rietveld - - Fixes #70708 - - * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): we're dealing - with widget coordinates here, so take the header height into - account while converting - (gtk_tree_view_widget_to_tree_coords): take header height into - account - (gtk_tree_view_tree_to_widget_coords): ditto - (gtk_tree_view_get_dest_row_at_pos): we were passing coords - relative to the tree with _get_path_at_pos, while that function - wants coords relative to the widget - -2002-02-06 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_scroll_hpages): remove unused variable - (gtk_text_view_get_window): add warning about how you - can't get the private window. #70683, and avoid default: in the - switch so we get "enum value unhandled" warnings - -2002-02-06 Havoc Pennington - - * gtk/gtktextchild.c: Add warnings if you try to use a child - anchor that isn't inside a buffer. Really kind of lame; - we should separate the anchor from the buffer. But not worth - fixing for now. #70601 - -Wed Feb 6 18:25:24 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c: rip out all the debugging ifdefs, as - modelsort seems to be stable (and nobody complained :) - -Tue Feb 5 19:13:42 2002 Owen Taylor - - * gdk/x11/gdkgeometry-x11.c (gdk_window_queue): Keep - the length of the anti-expose queue finite, by if - it gets too long, first doing a XSync() and checking - the event queue, and if that doesn't work, simply - discarding all anti-expose items in the queue. - - * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix ordering - on ConfigureNotify (#56349, Thomas Leonard) - -2002-02-05 Havoc Pennington - - * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from - pixmap by the align/padding offsets, so we don't get warnings - in gdk_pixbuf_get_from_drawable (and so it works, of course) - -2002-02-05 Matthias Clasen - - * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment. - -2002-02-05 Federico Mena Quintero - - * gdk/gdkwindow.h: Do not #include . - -Tue Feb 5 22:54:16 2002 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the - path, which we're going to pass with the emission of row_inserted, to - the iter we inserted and not its sibling. - -2002-02-04 Padraig O'Briain - - * gtk/gtkmenu.c (gtk_menu_popup): - Fix leak of GdkEvent (#70519) - -Mon Feb 4 10:40:28 2002 Owen Taylor - - * gtk/gtkstyle.c (gtk_default_draw_resize_grip): - Fix from Matthias Clasen to clear background appropriately - for theme by calling gtk_style_apply_default_background(). - (#70449) - -Mon Feb 4 10:06:49 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c: gtk-double-click-time, - not gtk-double-click-timeout. (#70501) - -2002-02-04 Havoc Pennington - - * gtk/gtksignal.c (gtk_signal_connect_while_alive): - (gtk_signal_connect_object_while_alive): rename - "signal" arg to "name" to avoid compiler warnings - about shadowing signal(). #70453 - -2002-02-03 Anders Carlsson - - * gtk/gtkstyle.c (gtk_default_draw_expander): Add - flipping support to the expanders. - -Sat Feb 2 21:54:01 2002 Owen Taylor - - RC file lookup improvements (#68234, suggestions - from Matthias Clasen.) - - * gtk/gtkrc.c (gtk_rc_parse_file): Look for the - locale suffix variants (gtkrc.en_US, gtkrc.en) for - all RC files we parse, not just the default RC - files. - - * gtk/gtkrc.c (gtk_rc_parse_default_files): Remove - support for charset specific RC files. - -Sat Feb 2 20:16:04 2002 Owen Taylor - - * gtk/gtkmenushell.c (_gtk_menu_shell_select_first): - Non-exported _gtk_menu_select_first() function that - selects the first item of the menu in a standard - way. (Skipping tearoffs.) - - * gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c - gtkmenuitem.c: Use _gtk_menu_shell_select_first(). - - * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember - if we are starting the timeout from a keypress so - we can set menushell->ignore_enter properly. - - * gtk/gtknotebook.c (focus_child_in): Return something - meaningful if there are no children. - - * gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence - problem. - -Sat Feb 2 19:15:42 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in - the determination of xgrab_shell. - -Sat Feb 2 17:43:00 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting - (gtk-entry-select-on-focus) controlling whether the - contents of an entry are selected on focus in. - - * gtk/gtkmenu.c (gtk_menu_key_press): Add a GtkSetting - (gtk-can-change-accels) controlling whether accelerators can be - changed on the fly or not. (#51902) - - * gtk/gtkmenu.c (gtk_menu_key_press): Allow unmodified - accelerators, now that accelerator changing can be turned - off for those who won't expect it. (#61285) - - * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow - Backspace/Delete/KP_Delete as valid accelerators. - - * gtk/gtkmenu.c (gtk_menu_key_press): Allow setting of - Delete/Backspace as accelerators by making them toggle - the menu item between empty and the pressed key. - (#58605) - - * tests/testgtkrc: Remove the objectionably short cursor blink - time setting. - -Sat Feb 2 16:43:31 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_popup): To get around the fact - that we may have a owner_events = FALSE grab in effect - when we pop up a window, make a temporary grab on a - different window, then grab on the real window. Fixes - a problem where if a context menu popped up under the - cursor, the first item would be stuck unselected. - (#59812, reported by Arnaud Charlet.) - -2002-02-02 Peter Williams - - * gtk/Makefile.am (install-data-local): Install gtkrc.default - from $(srcdir) for when $(builddir) is different. - -Sat Feb 2 19:00:39 2002 Kristian Rietveld - - * gtk/Makefile.am: remove TESTGTK_RCFILE define - -Sat Feb 2 11:37:21 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_popup): Remove the - "select first item if popped up from keypress" hack -- - was causing more problems than it was worth - (#53191, #68483) - - * gtk/gtktextview.c (popup_targets_received): - gtk/gtkentry.c (popup_targets_received): If activated - from keyboard, select first item of popup menu. - -Sat Feb 2 18:07:51 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper member - of vadjustment correct, so the vscrollbars of lists smaller than - 1 page are somewhat saner (#66905) - - * gtk/gtkliststore.c (gtk_list_store_remove_silently): do not - increment the stamp, liststore is a model with persisting iters - -Fri Feb 1 23:54:00 2002 Owen Taylor - - * gtk/gtkrc.[ch] (gtk_rc_parse_engine): Support - engine "" {} to mean override to the default - engine. (#70205) - -Fri Feb 1 23:25:33 2002 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_init): Parse the - RC string here when the first object is created - rather than in the class_init to not break doc - building. (#70341, Havoc Pennington.) - - * gtk/gtkrc.c (parse_include_file): Use the directories - for the currently parsed files as the starting point - to look for include files. (#59975) - -Fri Feb 1 20:21:56 2002 Manish Singh - - * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels - that actually have mnemonics - -Fri Feb 1 19:57:59 2002 Owen Taylor - - * configure.in: Fix use of ! in shell. - - * gtk/gtktooltips.c (gtk_tooltips_class_init) gtkrc.default: - Move the setting of default tooltips colors to gtktooltips.c - from gtkrc.default. (Use default priority so themes will - override.) (#58542) - -Fri Feb 1 17:48:51 2002 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of - priorities so that priorities take precendence over - the ordering by type. (#70205) - - * test/testgtkrc tests/testgtk.c (create_rc_file): Add - some labels to test priorities in testgtkrc. - -Fri Feb 1 00:37:49 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): use - y coordinate relative to the tree and not the treeview window - (fixes the PgDn/PgUp brokenness) - -Fri Feb 1 23:40:31 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_button_press): adjust - cell_area and background_area for possible treeview scroll - (fixes #70283, #70065) - -Fri Feb 1 22:20:13 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height (fixes #66269) - -Fri Feb 1 15:22:23 2002 Owen Taylor - - * gtk/gtkimage.c (gtk_image_class_init): Fix typo - in property description. (Christian Rose.) - -Fri Feb 1 14:50:36 2002 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_parse_string): Handle reparsing - any strings if the theme changes. (#69465) - - * tests/testgtk.c: Add a test for gtk_rc_parse_string(). - -Fri Feb 1 20:50:29 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): set tree to - NULL if tree_view->priv->tree is NULL (#70152, patch by John Harper). - -Fri Feb 1 12:51:20 2002 Owen Taylor - - * gtk/gtknotebook.c (focus_child_in): Catch the - cur_page == NULL (no children) case. (#70287, - Paolo Maggi.) - -Fri Feb 1 12:12:12 2002 Owen Taylor - - * gtk/gtkfilesel.c (attempt_file_completion): - s/directory/folder/ in all labels and messages. - -Fri Feb 1 08:57:38 2002 Owen Taylor - - * gtk/gtkmain.c (gtk_exit_func): Remove this useless - atexit handler. (existance pointed out by Stefan Kost) - - * gtk/gtkmain.c (gtk_init_check): Warning fixes. - -Thu Jan 31 18:46:10 2002 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the - model after the last use, not before. - -Thu Jan 31 14:50:16 2002 Owen Taylor - - * gtk/gtkrc.default gtk/Makefile.am: Install a Default - RC file that sets the tooltips color to yellow. (#58542) - - * gtk/gtksettings.c (gtk_settings_class_init): make - the default theme "Default", not NULL. - -Thu Jan 31 11:33:52 2002 Owen Taylor - - * gdk/x11/gdkproperty-x11.c (insert_atom_pair): Fix - another missing static. - - * gtk/gtkimmodule.c (n_loaded_contexts): And another. - - * gdk/x11/Makefile.am gdk/x11/gxid_lib.c: Don't - build gxid sources at all except in the vanishingly - rare case of --with-xinput=xfree. - -2002-01-31 Mark McLoughlin - - * gdk/gdkimage.c: (scratch_image_info_for_depth): make static. - - * gdk/x11/gdkimage-x11.c: (get_full_image): ditto. - - * gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device): - renamed from gxid_(claim|release)_device. - - * gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window), - (_gdk_input_disable_window): upd for gxid change. - - * gtk/gtkimage.c: (animation_timeout): make static. - - * gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make - static. - - * gtk/gtktextutil.c: (bidi_menu_entries): make static. - -Thu Jan 31 10:21:05 2002 Owen Taylor - - * gtk/gtkplug.c (gtk_plug_focus): Handle the case where - bin->child is NULL. (#70153, Padraig O'Briain) - - * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems): - Actually call gettext() on the labels; previously they - were marked with N_() but we never called gettext(). - -Wed Jan 30 20:15:49 2002 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute - changes before committing. - - * gtk/gtkliststore.c (gtk_list_store_set_valist): ditto - -Wed Jan 30 18:46:14 2002 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_set_valist): only emit the - signal if an interesting column changes. - - * gtk/gtktreestore.c: ditto. - - * gtk/gtktreeview.c (gtk_tree_view_set_cursor): change behavior so - that it no longer grabs - -2002-01-30 Manish Singh - - * gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused - variable. - - * gtk/gtkwindow.c (gtk_window_get_icon): function returns a value, - so return NULL with g_return_val_if_fail instead of g_return_if_fail. - -2002-01-30 Matthias Clasen - - * gtk/*.c: Remove excess g_return_if_fail calls from static - and virtual functions. (#57615) - -2002-01-30 Anders Carlsson - - * gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size. - -Wed Jan 30 20:29:01 2002 Tim Janik - - * gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix. - (use a define for max digits). - -Wed Jan 30 13:55:59 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_show): Try to make - sure that we have some focused widget on map. (#50339) - - * gtk/gtkdialog.c (gtk_dialog_map): Handling picking - a focus widget here differently so that if a - response button gets picked, it's the default one. - - * tests/testgtk.c (make_message_dialog): Set the - default response for the dialogs. - -Tue Jan 29 22:52:36 2002 Owen Taylor - - * Released 1.3.13 - - * configure.in: Micro version 13, interface, binary - age 0. Require GLIB-1.3.13, Pango 0.24. - - * docs/Makefile.am (EXTRA_DIST): Add widget_geometry.txt, - sizing-test.txt, tree-column-sizing.txt - - * docs/Makefile.am (EXTRA_DIST): Don't distribute - Changes-1.2.txt, Changes-2.0.txt, README.linux-fb, - since they are no longer canonical. - - * gtk/gtk.def: Convert spaces to tabs in front of - gtk_widget_set_accel_path in case it matters. - - * NEWS: Updated for 1.3.13. - -Tue Jan 29 22:31:07 2002 Owen Taylor - - * gtk/gtkwidget.[ch] gtkmenuitem.c gtkitemfactory.c: Export - gtk_widget_set_accel_path(). - - * gtk/gtk.def: Add gtk_widget_set_accel_path. - -Tue Jan 29 21:50:28 2002 Owen Taylor - - * gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]: - Consistently use GdkModifierType. (#66950, Mark Patton) - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): - For consistency with gtk_button_new_from_stock(), fall back - to gtk_image_menu_item_new_with_mnemnonic(). (#65944, - Havoc Pennington) - - * gtk/gtkitemfactory.[ch] (gtk_item_factory_path_from_widget): - Make G_CONST_RETURN. (#68527, Matt Wilson) - -Tue Jan 29 20:56:13 2002 Owen Taylor - - * gtk/gtk[vh]scale.c (gtk_[vh]scale_new_with_range): Document - that the end points are included in the range. (#69783, - Jeffrey Baker) - -Tue Jan 29 20:38:04 2002 Owen Taylor - - * gtk/gtkscale.[ch]: Revert the last changes to make the - number of digits only effect drawing, instead, don't - round unless we are in the 'draw_value' mode -- this - is the behavior of GTK+-1.2, and keeps the behavior that - if the user sees a displayed value, it is the correct value. - -Tue Jan 29 19:51:05 2002 Owen Taylor - - * gtk/gtkenums.h: Deprecate GtkPreviewType, - GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection - (#68183, Matthias Clasen) - - * gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from - the public header to avoid having to use GtkSubmenuPlacement. - - * gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define - GTK_MENU_INTERNALS to preserve access to GtkSubmenu*. - - * gdk/gdki18n.h: Deprecate contents. (Darin Adler.) - -Tue Jan 29 19:32:47 2002 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_get/set_property): - Fix wrong usage of g_value_set/get_object for PROP_TABS - and memory leak in getter for PROP_TABS. (Jeff Franks) - -Tue Jan 29 19:04:41 2002 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_render_icon): Document that - a size of (GtkIconSize)-1 means don't scale. - - * gtk/gtkstyle.c (gtk_default_render_icon): Obey the - -1 convention. - - * gtk/gtkimage.c (gtk_image_expose): Pass in -1 to - gtk_style_render_icon() to make sure that we catch it - obviously if the style's render function tries to - scale. - -Tue Jan 29 18:50:59 2002 Owen Taylor - - * gtk/gtkimage.c (gtk_image_expose): Optimize exposes of - partial insensitive images. - -2002-01-24 Havoc Pennington - - * gtk/gtkimage.c (gtk_image_expose): create insensitive version of - the image regardless of storage type, #63305 - - * demos/gtk-demo/images.c: add toggle button to demonstrate that - GtkImage makes its contents insensitive - -Tue Jan 29 17:40:02 2002 Owen Taylor - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): - Call _gdk_draw_pixbuf(), thus enabling using this function - for pixbufs with alpha. (#68801) - - * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Move - implementation of gdk_pixbuf_render_to_drawable() - to here. - -Tue Jan 29 17:16:17 2002 Owen Taylor - - * gtk/gtklayout.c: Patch from Jacob Berkman to fix problem - when the height/width of a layout was set before the - adjustments were added. (#66294) - - * gtk/gtktreeview.c: Warning cleanups. - -Tue Jan 29 16:35:04 2002 Owen Taylor - - * gtk/gtkhandlebox.c (gtk_handle_box_motion): Small - fix to size of torn off window (#60271, Detlef Reichl) - - * gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out - by Ross Burton) - -Tue Jan 29 18:50:46 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free - cursor_path after usage - (gtk_tree_view_real_start_interactive_search): use new g_signal - and g_object calls - (gtk_tree_view_search_dialog_destroy): use g_object calls and free - selected_iter if set - (gtk_tree_view_search_position_func): rework so it will never ever - appear offscreen (#68492) - (gtk_tree_view_search_move): use new g_object calls - (gtk_tree_view_search_init): free selected_iter if set, use new - g_object calls - (gtk_tree_view_leave_notify): don't destroy interactive search - dialog - -Tue Jan 29 23:07:03 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - send focus in event - (gtk_tree_view_search_dialog_destroy): send focus out event (#66466) - -2002-01-29 Anders Carlsson - - * gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct - size in the size entry. - -Tue Jan 29 16:11:55 2002 Owen Taylor - - * gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use - gtk_tree_view_set_cursor() instead of gtk_tree_selection_select_iter(). - - * gtk/gtkfontsel.c (gtk_font_selection_init): Add mnemonic to - preview field. (#52433, patch from Anders Carlsson) - - * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Remove the - dialog separator. (#69558, Alex Larsson, patch from Anders Carlsson) - -Tue Jan 29 15:24:59 2002 Owen Taylor - - * gtk/gtkfontsel.[ch]: Switch over to GtkTreeView from - GtkCList. Remove the entries above the font/face lists - since they were a little confusing. (Not sure about this - change, so the code is still there the entries are - just hidden.) (#68890) - - * gtk/gtkfilesel.c: Switch over to GtkTreeView from - GtkCList. Add mnemonics for fileops. Allow Control/Shift - Tab to focus out. - - * gtk/gtkfilesel.c: Make fileop dialogs transient-for - the fileselector. (#69336, patch from Melvin Hadasht) - - * gtk/gtkgamma.c (button_clicked_callback): Fix handling - of gamma dialog a bit. (#69336, Matthias Clasen.) - -Tue Jan 29 14:56:28 2002 Owen Taylor - - * gtk/gtksocket.c (toplevel_focus_out_handler): Return boolean - (and FALSE from focus_in / focus_out handlers. (#69528, - Padraig O'Briain) - -Tue Jan 29 14:47:54 2002 Owen Taylor - - * gtk/gtkmain.c (gtk_init_check): Remove the scary startup - warning. (#69480) - -Tue Jan 29 14:24:49 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_class_init): Add Tab - bindings for "move-focus" so that Control-Tab to escape from - something that eats Tab just works if not otherwise overriden. - - * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range) - * gtk/gtkvscale.c (gtk_vscale_new_with_range) - * gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size - of zero for the adjustment, since at times we think that the range - is lower to upper - page_size. A page size equally to the - step_increment is, in any case, not meaningful. - -2002-01-29 Tor Lillqvist - - * README.win32: Add comment about gtk-1-3-win32-production branch - currently being ahead in functionality and code cleanliness (in - gdk/win32). Just in case somebody looks at the code in gdk/win32 - here and starts fixing it, when it is going to change soonish - anyway. - -2002-01-29 Sven Neumann - - * gtk/gtkrc.c: don't install an empty icon_set if none of the image - files could be found in the pixmap_path (bug #69398). - -2002-01-29 Sven Neumann - - * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault - that showed up when using the color picker. - -Tue Jan 29 11:51:14 2002 Tim Janik - - * gtk/gtkscale.[hc]: fix default value for ::digits property, - leave as 1 as per havoc's request. - don't apply the draw_digits value to range->round_digits, - so we don't perform gross quantization by default. - -2002-01-25 Havoc Pennington - - * gtk/gtktextbtree.c (_gtk_text_btree_delete): fix assertion - failure by creating the line data, but not validating it at this - stage. Also, remove old code related to the "bogus newline" mess - that removed all tags from the last char in the buffer if you - tried to delete it. - (_gtk_text_line_data_new): put this here and prepend underscore, - remove from gtktextlayout.c - -Mon Jan 28 19:57:39 2002 Owen Taylor - - * modules/input/imhangul.c modules/input/imhangul-defs.h - po/POTFILES.in. Add port of Emacs korean-hangul input - method from Yusuke Tabata (#67665) - -Mon Jan 28 18:25:10 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_frame): Paint shadow - before focus to give theme engines a bit morea - flexibility. (#69857) - -Mon Jan 28 16:23:20 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): no longer - g_assert. - -2002-01-28 Jon Trowbridge - - * gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the - GtkTreeView's model, set prelight_node, prelight_tree, - button_pressed_node and button_pressed_tree to NULL. (#69603) - -2002-01-28 Bill Haneman - - * gtk/gtkstyle.c: - Make sure that the default expanders are drawn with - an outline thickness appropriate to the size of the - expanders (RINT expander_size/7). - Added static gtk_style_draw_polygon_with_gc(), to - reduce code duplication. - - * gtk/gtktreeview.c: (gtk_tree_view_bin_expose): - Use focus_line_thickness when drawing focus lines. - - * gtk/gtktreeviewcolumn.c:(gtk_tree_view_column_cell_get_size): - Adjust requested width to include focus line thickness. - (gtk_tree_view_column_cell_render_or_focus): - Calculate a focus line rectangle which gets larger as the focus - line thickness increases, to avoid overwriting cell content. - Render left-aligned content at x+focus_line_width. - (gtk_tree_view_column_cell_draw_focus): - Don't draw a focus line around an editable text cell, since the - text caret already indicates keyboard focus. - Pass a GtkStateType appropriate to the focussed cell's state - to gtk_paint_focus. - -Mon Jan 28 14:44:40 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): Only - activate/edit the row if shift is not pressed, #69248 - -2002-01-28 Anders Carlsson - - * gtk/gtkcurve.c (gtk_curve_set_vector): Fix build. - -2002-01-28 Matthias Clasen - - * gtk/{gtkalignment.c,gtkaspectframe.c,gtkbutton.c, - gtkcellrenderer.c,gtkcellrendererpixbuf.c,gtkcombo.c, - gtkcontainer.c,gtkcurve.c,gtkframe.c,gtklabel.c, - gtkmessagedialog.c,gtknotebook.c,gtkspinbutton.c,gtktable.c, - gtktext.c,gtktextview.c,gtktreeview.c,gtktreeviewcolumn.c, - gtkviewport.c,gtkwidget.c}: General property notification - cleanup. (#69066) - -2002-01-28 Anders Carlsson - - * gtk/gtkaccelgroup.c (gtk_accel_groups_activate): & with the - default mod mask so accels work when numlock is on. - -Sun Jan 27 23:23:23 2002 Kristian Rietveld - - * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous - commit already needed this ...) - -Sun Jan 27 22:13:02 2002 Kristian Rietveld - - Fix for bug #69586 - - * gtk/gtktreeprivate.h: get rid of tab_offset, introduce - expander_size - - * gtk/gtktreeview.c: get rid of ->priv->tab_offset, introduce - expander_size caching (from style), fix CELL_HEIGHT macro, - use MAX ("RBNODE_HEIGHT", expander_size) (differs per case) for - row height calculation, added style_set callback - -2002-01-27 Anders Carlsson - - * gtk/gtklabel.c (gtk_label_create_window): Set the cursor to - GDK_XTERM. - - * gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured. - - * gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured. - - * gtk/gtktextview.c (set_invisible_cursor): New function. - (gtk_text_view_obscure_mouse_cursor): Likewise. - (gtk_text_view_key_press_event): Call obscure_cursor if text - has been inserted. - (gtk_text_view_motion_event): Restore the mouse cursor. - - * gtk/gtkentry.c (gtk_entry_realize): Add GDK_POINTER_MOTION_MASK. - (set_invisible_cursor): New function. - (gtk_entry_obscure_mouse_cursor): Likewise. - (gtk_entry_key_press): call obscure_cursor if text has been inserted. - (gtk_entry_motion_notify): Restore the mouse cursor. - -2002-01-27 Sven Neumann - - * gtk/gtkstyle.c (sanitize_size): removed unused return value. - -Sat Jan 26 19:27:23 2002 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_grab_notify): Don't - send MODALITY_ON/OFF if socket->same_app (More fixes for #69735) - -Sat Jan 26 19:04:37 2002 Owen Taylor - - * gtk/gtkmain.c (check_is_grabbed): Return FALSE not true - in the grab_widget == NULL case. (Bug reported by - Padraig O'Briain, #69735) - - * gtk/gtkplug.c (handle_modality_on): Realize the modality - window so gtk_widget_event() doesn't complain :-((((. - -2002-01-25 Federico Mena Quintero - - Merge from gdk-pixbuf stable. - - * gdk/gdkpixbuf-drawable.c (rgb565msb): Fixed the endianness - conversion --- swap the individual 16 bit values instead of taking - everying as a 32 bit value. - (rgb565lsb): Likewise. - (rgb555lsb): Likewise. - (rgb555msb): Likewise. - -2002-01-25 Alex Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_drawable_impl_fb_class_init): - Implement copy_to_image instead of get_image - - * gdk/linux-fb/gdkimage-fb.c: - Implement _gdk_image_new_for_depth, _gdk_windowing_get_bits_for_depth and - _gdk_fb_copy_to_image. - Based in part on patch from Mathieu Lacage - - * gdk/linux-fb/gdkmain-fb.c: - Make ENABLE_FB_MANAGER region larger. - - * gdk/linux-fb/gdkprivate-fb.h: - Change _gdk_fb_get_image to _gdk_fb_copy_to_image. - -2002-01-25 Sven Neumann - - * gtk/gtkwindow.c (gtk_window_get_size): changed the comment so - that gtk-doc doesn't get confused. - -Fri Jan 25 14:03:36 2002 Tim Janik - - * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert - that the passed in arrow is always _UP or _DOWN, this catches - false invocations which lead to drawing artefacts. - (start_spinning): likewise, i.e. sanity check the passed in arrow. - (gtk_spin_button_button_release): fix arrow redrawing. - (gtk_spin_button_button_press): must set click_child for - button3 even if we don't take spinning action right away. - - * gtk/gtkspinbutton.h (struct _GtkSpinButton): document - valid values for click_child. - -Thu Jan 24 23:03:24 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): update docs, - return current FALSE if x is smaller than the current visible area, - not than the requested area, don't correct y coordinate, - TREE_WINDOW_Y_TO_RBTREE_Y will do that. Fixes #67477. - -Thu Jan 24 15:41:08 2002 Jonathan Blandford - - * gtk/gtktreeview.c - (gtk_tree_view_motion_draw_column_motion_arrow): fix column - reordering fully. - (gtk_tree_view_size_allocate): fix evil bug. - -Thu Jan 24 11:53:19 2002 Owen Taylor - - * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't clear - the model until we clean up all the other objects - that might refer to the object. - -2002-01-24 Mark McLoughlin - - * gtk/gtkaccessible.h: include gtk/gtkwidget.h - -Wed Jan 23 20:28:59 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_draw_arrow): - Use insensitive state for insensitive arrows, not - just an "etched state". (#67172, Adrian Custer) - -2002-01-23 Manish Singh - - * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually - been declared. - -2002-01-23 Damon Chaplin - - * configure.in (gtk_doc_min_version): set minimum gtk-doc version to - 0.9, since we need to use the new --type-init-func argument for - gtkdoc-scangobj. - -2002-01-23 Matthias Clasen - - * gtk/gtkentry.c, gtk/gtkwidget.c: Remove excessive - g_return_if_fail() calls. (#57615) - - * gtk/gtkitemfactory.c (gtk_item_factory_delete_entries): Make - it work for paths with underline accelerators. (#69247) - -Wed Jan 23 15:12:16 2002 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_state_changed): - Stop spinning if widget becomes insensitive. (#56248) - -Wed Jan 23 14:44:12 2002 Owen Taylor - - * gtk/gtkspinbutton.c (EPSILON): Decrease value since - we now use doubles. - -Tue Jan 22 16:58:37 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Fix sizing bug - I introduced accidentally, #69358 - -2002-01-22 Padraig O'Briain - - * gtk/gtktreestore.c (gtk_tree_store_iter_children): - Update last change to prevent core dump - -Mon Jan 21 01:21:54 2002 Kristian Rietveld - - * gtk/gtktreestore.c: add some more stamp checks (pointed out - by Anders Carlsson) - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): don't - assume _row_changed will insert sort (because _row_changed doesn't - need to follow this signal), so apply insert sort here - (gtk_tree_model_sort_level_find_insert): header doesn't need to be - set here, so use a return instead of g_return_val_if_fail. - -Mon Jan 21 18:28:17 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update - top_row. Remove extraneous print statements. - -2002-01-21 Matthias Clasen - - * gtk/gtkitemfactory.c (gtk_item_factory_popup, - gtk_item_factory_popup_with_data): Document allowed values - for ifactory. - - * gtk/gtkitemfactory.c (gtk_item_factory_delete_entry): Make - it work for paths with underline accelerators. - -Fri Jan 18 16:31:21 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): only resize the - window. - -Mon Jan 21 11:56:31 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_real_activate): Trap the - case where there is no default widget and the entry - is the focus widget, since this also causes infinite - recursion. (#69158) - -Mon Jan 21 11:46:39 2002 Owen Taylor - - * gdk/gdk.c (gdk_init_check): Set the fallback program class here, - rather than lazilygdk_get_program_class(), since we don't want - -name to override it. (#69123, Ryan Lovett) - -Mon Jan 21 10:29:45 2002 Owen Taylor - - * gdk/gdk.c: Fix wrong types for command line arguments - (#69124, Ryan Lovett) - - * gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing - parsing '--arg VALUE'. - - * gdk/gdk.c: Remove unused variable gdk_error_trap_free_list. - -2002-01-21 Havoc Pennington - - * gdk/gdkwindow.c (gdk_window_add_filter): mention that window - arg can be NULL - -Sat Jan 19 20:49:41 2002 Kristian Rietveld - - * demos/gtk-demo/editable_cells.c: fix a load of open line ends - (cell_edited): modified patch from German Poo Caaman~o - to fix up old_text declaration and free the memory - (do_editable_cells): unref the model after creating the treeview - - * demos/gtk-demo/list_store.c: fix a load of open line ends, - (add_columns): set the sort column id, so we can sort - - * demos/gtk-demo/tree_store.c: fix a load of open line ends, - (do_tree_store): unref the model after creating the treeview - -2002-01-19 Havoc Pennington - - * gtk/gtkwindow.c: link to new X11 section in a lot of places when - mentioning the window manager. - - * gtk/gtkwidget.c (gtk_widget_hide_on_delete): don't mention - window manager since we're portable. - -Sat Jan 19 08:47:41 2002 Jeff Garzik - - * gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name): - Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x. - - * gtk/gtkmain.c: Include sys/types.h if G_OS_UNIX. - Fixes build with gcc 3.x and -ansi. - -Fri Jan 18 23:01:37 2002 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_parse_style): Fix problems when - an engine declaration occurs in a reopened style, and - g_free() of objects when errors occur. - -2002-01-18 Matthias Clasen - - * gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action): - Clarify documentation. (#69026) - - * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix - missing initialization of adjustment. (#69025) - -2002-01-17 Raja R Harinath - - Simplify Makefiles. - - * gdk/Makefile.am: Remove use of automake conditionals to pick - library to build. - * gtk/Makefile.am: Likewise. - - * gdk/Makefile.am (LDFLAGS): Use $(libdir), not @prefix@/lib. - * gtk/Makefile.am (LDFLAGS): Likewise. - -Thu Jan 17 20:13:14 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_redraw_tabs): Fix - missing allocation.x/y offsets. (#68962, Jacob - Berkman) - - * gtk/gtknotebook.c (gtk_notebook_size_allocate): - Queue a redraw on the entire widget if we hide - the last page or show the first. (Also #68962) - -2002-01-17 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): change - GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it - starts to go up/down paragraphs. This makes Ctrl+Up/Ctrl+Down work - as in the keynav spec, though it makes the interpretation of - GTK_MOVEMENT_PARAGRAPHS different from the interpretation of some - of the other GTK_MOVEMENT_ thingies, maybe, as if that enum makes - any sense anyhow. - -Thu Jan 17 16:34:55 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): For - some reason, I was activating a row while just selecting it. - Reported by andersca. - (gtk_tree_view_size_request): add a - validate_rows_handler to give us a rough width of the widget. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): - Queue a resize here just in case. It's needed in over half the - cases, and I don't want to do a diff to figure out exactly when - it's needed. - -2002-01-17 Matthias Clasen - - * gtk/gtkinputdialog.c, - gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c: - Mark children as composite. (#66360) - - * gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain - composite children some more. (#66360) - -2002-01-17 Havoc Pennington - - * gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new - function (which I then decided not to use but I think it's needed - to fix #68963 - - * gtk/gtktextview.c: add page_horizontally action signal and - implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig, - hackily modified to avoid adding GTK_MOVEMENT_ API. Part of - #53934 - - * gtk/gtkmarshalers.list: add NONE:INT,BOOL - -Thu Jan 17 17:02:38 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_real_unrealize): Call - gtk_selection_remove_all() here, not in destroy/ - finalize. (#66636, Sergey Vlasov) - - * gtk/gtkselection.c (gtk_selection_request): Fix - reentrancy problem with multiple conversions. - - * gtk/gtkselection.c (gtk_selection_remove_all): - Don't remove incrs, we don't need the widget for - maintain the incr. - - * gtk/gtkselection.c (struct _GtkIncrInfo): Remove - the widget field from here, we don't need it. - -Thu Jan 17 13:08:34 2002 Owen Taylor - - * gdk/x11/gdkmain-x11.c (gdk_error_trap_push): Move - here, and save/restore the X error handler to allow - people using GTK+ to set the X error handler to something - custom without disturbing the operation of GDK. - - * gdk/linux-fb/gdkmain-fb.c (gdk_error_trap_push) - * gdk/win32/gdkmain-win32.c (gdk_error_trap_pop): Add - dummy implementations. - - * gdk/x11/gdkmain-x11.c gdk/x11/gdkevents-x11.c - gdk/x11/gdkdnd-x11.c: Use gdk_error_trap_push()/pop() - for all error trapping. - - * gdk/x11/gdkdnd-x11.c: Remove '#if 0' code. - - * gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Fix - problem where we would add the results anyways, - and then add it again if no error occurred, and problem - where we could leave _gdk_error_warnings() unset. - -Wed Jan 16 20:28:38 2002 Owen Taylor - - * gtk/gtkfilesel.c: Fix "deleting" filename by adding - another boolean parameter to file_selection_populate() - - whether to clear the entry. Also, never fill in the - entry when the user clicks on something in the - directory list. (#6791, Reported by Jos Dehaes and many, - many, many others.) - -2002-01-16 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_scroll_pages): update - cursor_y_pos with clamped delta rather than theoretical delta - (#68788). Also, if we can't page up/down further then jump - to top/bottom of the document. - -Wed Jan 16 19:33:41 2002 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_map): Refresh - the dialog on map. (#52877, inspired by request from - Murray Cumming) - -Wed Jan 16 19:23:04 2002 Owen Taylor - - * gtk/gtkbindings.c (gtk_binding_entry_activate): - Support "optional" bindings. If a binding signal - has a boolean return value, and returns FALSE it - is as if it didn't exist all. - - * gtk/gtkbindings.c (binding_compose_params): Switch - over to GValue. - - * gtk/gtknotebook.[ch]: Make the select_page() and - change_current_page() signals only take effect when - the focus is on the tab area so that key presses - in children pass up to the toplevel correctly. - -Wed Jan 16 12:16:37 2002 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Fix - calculation error in the (shouldn't happen) case where - option_menu->height < child_requisition.height. (Patch - from Jacob Berkman, #66969) - -2002-01-15 Matthias Clasen - - * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) - - * gtk/gtkscale.h (gtk_scale_value_width): Remove useless - compatibility macro. (#67730) - -Wed Jan 16 10:54:38 2002 Owen Taylor - - * configure.in: Fix typo in --help output. - (Arnaud Charlet). - -Wed Jan 16 10:18:42 2002 Owen Taylor - - * gtk/stock-icons/Makefile.am (EXTRA_DIST): Add - gtkstockpixbufs.h. - - * configure.in: Make TIFF, JPEG, PNG loaders mandatory - unless you configure with --without-libtiff, etc. - (#54045, Brian Cameron) - -2002-01-16 Padraig O'Briain - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): - Avoid unexpected warning message when navigating menu (#68517) - -2002-01-15 Jody Goldberg - - * gtk/gtklayout.c (gtk_layout_realize) : It is possible that a - GtkLayout may have been scrolled _before_ it was realized. - -Tue Jan 15 18:10:24 2002 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): Stop - the timer on destroy, or when we are notified that we are - shadowed by a modal dialog. - - * gtk/gtkspinbutton.c: Remove explicit gtk_grab_add()/remove() - - not needed any more. - - * gtk/gtkmain.c (gtk_grab_notify): Fix problem where notifications - weren't sent out for the default grab group. - - * gtk/gtkmain.c (gtk_grab_notify): Fix notification of widgets that - were getting events because they were part of the previous grab. - -Tue Jan 15 12:23:33 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_mnemonic_activate_switch_page): - focus the activated tab, not the page. (#53612) - - * gtk/gtknotebook.c (gtk_notebook_set_focus_child): Track - the last focus descendant of the page. - - * gtk/gtknotebook.c (gtk_notebook_real_switch_page): If the focus - was on the previous page, move it to the last focused widget / - first element on the new page, if possible, or if not, to the - notebook itself. (#68224, reported by Jonathan Blandford) - - * gtk/gtknotebook.c (focus_tabs_in): Don't focus tabs - tabs aren't visible. (#65462, Damon Chaplin, fixed based - on patch from Anders Carlsson) - -2002-01-15 Vitaly Tishkov - - * gtk/gtkstyle.c - a misprint in documentation for gtk_style_render_icon () is fixed - -Mon Jan 14 23:21:47 2002 Tim Janik - - * gtk/gtkmenuitem.c (gtk_menu_item_map): map event_window after - mapping child, so we don't loose events. - -2002-01-15 Sven Neumann - - * gtk/gtkaccellabel.h - * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter - names used in headers and code. - -2002-01-14 jacob berkman - - * gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block - -Tue Jan 15 01:13:51 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c: fix a load of open line ends, - (gtk_tree_model_sort_set_model): only free root level if it's - !NULL - -2002-01-14 Matthias Clasen - - * gtk/gtkoldeditable.c, gtk/gtkrc.c, - gtk/gtkstyle.c: Documentation additions. - - * gtk/gtkmenu.c (gtk_menu_set_accel_path), - gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path), - gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes. - - * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document. - - * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use. - -Mon Jan 14 17:14:13 2002 Owen Taylor - - * gdk/x11/gdkselection-x11.c (sanitize_utf8): Don't - mangle sequences of consecutive \n or \r. - -Mon Jan 14 17:42:28 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_stop_editing): allow cancel to - happen. - - * gtk/gtktreeview.c (install_presize_handler): only install the - handler if we're realized, #68056 - -Mon Jan 14 16:35:58 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Unset - initial_pos_set after the first configure request. - -2002-01-13 Jody Goldberg - - * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color - and will use a mem_chunk to do it. Avoid an unnecessary copy, a - leak, and confusion. - -Sun Jan 13 23:23:22 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where - widget->requisition was being used instead of - gtk_widget_get_child_requisition (), causing geometry widgets - with usizes to misbehave. - -2002-01-14 Sven Neumann - - * gtk/gtkrc.c: g_getenv() returns a const string. - -2002-01-14 Hasbullah Bin Pit - - * configure.in: Added ms at ALL_LINGUAS. - * po/ms.po: Added Malay Translation. - -2002-01-14 Matthias Clasen - - * gtk/gtkitemfactory.c: Documentation. - -2002-01-13 Sven Neumann - - * gdk/gdkwindow.c: documentation cleanups. - -Sun Jan 13 01:15:45 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c: various cleanups, - (get_child_iter_from_elt): removed, - (gtk_tree_model_sort_elt_get_path): rewritten to be a lot cleaner - and especially faster, - (gtk_tree_model_convert_iter_to_child_iter): use - gtk_tree_model_sort_elt_get_path - -Sat Jan 12 16:57:31 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - revert Owen's change (using a strdupped string as object data), so - the interactive search works again - -2002-01-11 Havoc Pennington - - * gtk/gtklabel.c: put in more links to Pango markup format docs - (gtk_label_set_justify): mention gtk_misc_set_alignment - -2002-01-12 Tor Lillqvist - - Fixes contributed by Archaeopteryx Software: This is a first small - part of their changes. Will commit more later. - - * gdk/win32/*.c: Add some more checks for failed GDI calls. If a - call fails, don't use bogus values. - - gdk/win32/gdkcursor-win32.c (_gdk_win32_data_to_wcursor): Plug - memory leak: g_free() the AND and XOR bitmaps after use. - (_gdk_cursor_destroy): If we are destroying the current Windows - cursor, set the Windows cursor to none first. - - * gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old - brush that was in the DC, like the win32-production branch does. - - * gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_finalize): If - the window has a cursor which is the current Windows cursor, - before destroying it set the current Windows cursor to none. - (gdk_window_set_cursor): Also here, if destroying the current - Windows cursor, set the current Windows cursor to none first. - (gdk_window_get_pointer): Revamp logic. - -2002-01-10 jacob berkman - - * gtk/gtkwidget.c (gtk_widget_add_events): actually iterate - through the list rather than infinitely loop - -2002-01-08 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to - reset_rc_styles_recurse(). (#68084) - -2002-01-10 Vitaly Tishkov - * gtk/gtkimage.c - * gtk/gtkimcontext.c - * gtk/gtktreemodel.c - * gtk/gtktreemodelsort.c - * gtk/gtkwindow.c - fix docs - -Wed Jan 9 20:56:42 2002 Jonathan Blandford - - * gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the - symbols because we need them in MyEnhancedXkbTranslateKeyCode. - -2002-01-10 Tor Lillqvist - - Apply the same fixes and improvements as to the - gtk-1-3-win32-production branch: Bug fixes and cleanup of - selection and DND functionality. Still doesn't work as well as the - win32-production branch, though, but getting closer. - - After this, need to add Archaeopteryx Software's OLE2 DND support. - - * gdk/win32/gdkselection-win32.c (gdk_selection_owner_set, - gdk_selection_send_notify, generate_selection_notify): Don't use - SendMessage() to generate events for the same app, instead use - gdk_event_put(). - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition, - initialisation and handling of gdk_selection_notify_msg, - gdk_selection_request_msg and gdk_selection_clear_msg. - - * gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list, - gdk_free_text_list, gdk_string_to_compound_text, - gdk_free_compound_text): Implement trivially, witrh a text_list - always having a single element, and a compound text always - consisting of just a single (UTF-8!) string. Let's see how well - this works. - - * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix - non-ASCII paste from the clipboard: Try getting the same formats - from the Windows clipboard that gdk_property_change() puts there: - CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE. - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): When - storing text on the clipboard, handle non-ASCII text - correctly. The logic is as follows: - - If we have only ASCII characters, use CF_TEXT. - - Else, if we are on NT, use CF_UNICODETEXT. - - Else (we are on Win9x), if all the characters are present in the - code page of some installed locale, use CF_TEXT and also set - CF_LOCALE to that locale. - - Else (still on Win9x) store as RTF. We use a very simple RTF - string, just the text, no fonts or other crap, with the non-ASCII - characters as Unicode \uN keywords. Additionally, also store the - UTF-8 string as such, under the format "UTF8_STRING", so that GDK - can also paste from the Clipboard what it has copied there. (Thus - no need to implement any RTF parser.) - - (find_common_locale): New function, implements the search for a - locale for case 3 above. - - * gdk/win32/gdkglobals-win32.c: New global variables - compound_text, text_uri_list, utf8_string, cf_rtf and - cf_utf8_string. - - * gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function, - converts from a wchar_t string to UTF-8. - (_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts. - (_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts. - - * gdk/win32/gdkevents-win32.c (build_keypress_event): Use - _gdk_ucs2_to_utf8(). - - * gdk/win32/gdkselection-win32.c: Remove some unnecessary logging. - - * gdk/win32/gdkdnd-win32.c: Plug memory leaks, the - gdk_drag_context_ref() was called unnecessarily in a couple of - places, meaning drag contexts were never freed. The same memory - leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW. - - (gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily - stored file list. - - * gdk/win32/gdkselection-win32.c: Clarify the use of the - sel_prop_table. Now it is used only for storing the GDK_SELECTION - "properties". - - The file names dropped with WM_DROPFILES -style DND is stored - temporarily (between the drop and the target picking them up) in a - separate place. - - Have a separate hash table to map selection atoms to owner - windows. This used to be quite mixed up. - - (_gdk_dropfiles_store): New function, to store the dropped file - list for the drop target to possibly fetch, and clear it - afterwards, from gdk_drop_reply(). - - (gdk_selection_owner_get): Much simplified now. - -2002-01-09 jacob berkman - - * gtk/gtklayout.c (gtk_layout_style_set): set the background of - our bin window also (fixes #58957) - -Wed Jan 9 19:10:07 2002 Jonathan Blandford - - * gtk/gtktreeselection.c - (_gtk_tree_selection_internal_select_node): Now we test we can - unselect nodes before selecting new ones. - (gtk_tree_selection_real_select_node): be careful comparing booleans. - -Wed Jan 9 21:31:44 2002 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_sort): pass NULL to - gtk_tree_model_rows_reordered and not an iter with user_data - set to NULL (which is an invalid liststore iter, so - iter_n_children failed, etc) - -2002-01-09 Sven Neumann - - * tests/prop-editor.c: declared internal functions static. - -Wed Jan 9 11:13:12 2002 Owen Taylor - - * gtk/gtkmenuitem.c (_gtk_menu_item_refresh_accel_path): - Fix problem with menus without accel groups, such as the - menus for option menus. - - * gtk/gtkpaned.c (gtk_paned_expose): Only conditionalize - drawing of handle on whether both children are visible, - not the drawing of the other child!. (#68325, Diego Gonzalez) - -Wed Jan 9 10:20:16 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkgc-c11.c: Check for - RENDER before trying to use it... XRenderFindFormat() prints - warnings if called when extension isn't present. - -Wed Jan 9 15:20:40 2002 Tim Janik - - * gtk/gtkmenuitem.c (gtk_menu_item_parent_set): update the accel - path upon parent changes. - -Wed Jan 9 13:20:14 2002 Tim Janik - - * gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important - fix to force vadjustments at size_alocate time from Xavier Ordoquy - . - -Wed Jan 9 11:23:39 2002 Tim Janik - - * gtk/gtklayout.c (gtk_layout_get_property): - * gtk/gtkspinbutton.c (gtk_spin_button_get_property): - * gtk/gtktreeview.c (gtk_tree_view_get_property): - * gtk/gtkwidget.c (gtk_widget_get_property): - * gtk/gtkfontsel.c (gtk_font_selection_get_property): - * gtk/gtkrange.c (gtk_range_get_property): - * gtk/gtkviewport.c (gtk_viewport_get_property): - * gtk/gtkprogressbar.c (gtk_progress_bar_get_property): don't cast a - possible NULL pointer. - -2002-01-08 Mike Kestner - - * gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE. - * gtk/gtktreednd.h : ditto. - * gtk/gtktreemodel.h : ditto. - * gtk/gtktreesortable.h : ditto. - * gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type. - -2002-01-08 Matthias Clasen - - * gtk/gtkplug.c, gtk/gtksocket.c: Speak of window IDs rather - than XIDs in the docs. - - * gtk/gtkclipboard.c (gtk_clipboard_clear): Fix docs. - -Tue Jan 8 18:39:23 2002 Jonathan Blandford - - * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): wow! - Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b") - -Tue Jan 8 18:04:01 2002 Owen Taylor - - * gtk/gtktoolbar.c (gtk_toolbar_set_icon_size): - Handle TOGGLE/RADIOBUTTON as well. (#68201, - Damon Chaplin.) - - * gtk/gtktoolbar.c (get_first_child): Fix stupid - bug, just introduced. - -Tue Jan 8 15:53:28 2002 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate - translations, once and for all. - - * gtk/gtktextbuffer.c (paste_from_buffer): Free - the ClipboardRequest structure. (#66198, HideToshi - Tajima) - -2002-01-08 jacob berkman - - * gtk/gtklayout.c (gtk_layout_move_internal): queue a resize on - the child rather than the layout. see bug #68263 - -Tue Jan 8 14:51:19 2002 Owen Taylor - - * gtk/gtkpaned.c (gtk_paned_expose): Don't draw - the handle if we aren't showing both children. - (#68135, Diego Gonzalez) - -Tue Jan 8 14:45:43 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_add_events): Fix - leak of result of gtk_container_get_children(). - -Tue Jan 8 14:42:19 2002 Owen Taylor - - * gtk/gtktoolbar.c: Fix leaks of results of - gtk_container_get_children(). (#68199, Damon Chaplin) - -Tue Jan 8 14:19:43 2002 Owen Taylor - - * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate): - Fix problem where child->requisition was accessed - directly instead of calling get_child_requisition() - (#68199, Damon Chaplin) - -2001-01-08 James Henstridge - - * gtk/gtkstyle.c: add trailing */ on doc comment. - -Mon Jan 7 22:19:32 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (draw_with_pixmaps): Fix a - problem where were the offset into the image was passed - into convert_to_format() wrong. - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Call - gdk_x11_drawable_update_picture_clip () before using - the picture; allow update_picture_clip() to take a NULL gc - to mean no clipping. - -2002-01-07 Matthias Clasen - - * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172) - - * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs. - - * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document. - - * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs. - - * gtk/gtkrc.c (gtk_rc_get_style_by_paths), - gtk/gtkwidget.c (gtk_widget_get_toplevel, - gtk_widget_push_composite_child), gtk/gtkdialog.c - (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc - from messing up the indentation of inline examples. - - * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv() - instead of getenv(). - - * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c, - gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c, - gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes. - - * gtk/gtkaccelmap.c (gtk_accel_map_add_filter, - gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner): - Document. - -2002-01-07 Anders Carlsson - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove - unused pixels and rowstride variables. - (gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width. - -Mon Jan 7 08:48:23 2002 Tim Janik - - * gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset - the pointer by x/y_offset into the new window when we found - the drag destination. - - * gtk/gtkaccelmap.c (internal_change_entry): fix return code - for simulation when the entry already contains the required - accel key and mod. - -2002-01-06 Matthias Clasen - - * docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by - G_DISABLE_CAST_CHECKS. - - * gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure, - gtk_accel_group_query, gtk_accel_group_find, - gtk_accel_groups_from_object): Document. - - * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document. - -2002-01-04 Hans Breuer - - * gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c : - need to cast image->mem away from void* to avoid - 'error C2036: 'void *' : unknown size'. Doing pointer - arithmetics on void pointers is a GCCism afaik. - - * gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for - _gdk_draw_pixbuf () - - * gdk/makefile.msc gdk/win32/makefile.msc - gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h - - * gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image - and take care of image->visual possibly NULL. - - * gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(), - _gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth(). - Again take care of image->visual possibly NULL. - - * gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image() - - * gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap - instead of private field access - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt - colormap setting to the gdk-X behaviour - -2001-01-04 Matthias Clasen - - * gtk/gtkwidget.c: Documentation additions. - -2001-01-04 Matthias Clasen - - * gtk/gtkobject.c (gtk_object_dispose): Fix a comment. - - * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change - -2002-01-04 Havoc Pennington - - * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change - -Fri Jan 4 13:05:15 2002 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_find_widget): At least - don't infinite loop if the widget and window heirarchies - don't correspond. - - * gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes - in heirarchy in ::drag_motion, ::drag_drop callbacks - by referencing child widget lists. (Patch from Tim) - - * gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem - with widgets where window.x != widget->allocation.x - -Fri Jan 4 01:36:48 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize - a little bit. (More for consistency than because it - makes much of a difference.) - -Thu Jan 3 22:18:15 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h - (_gdk_x11_have_render): Private function to tell if we have RENDER - extension. - - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return - None if we don't have RENDER extension. - - * gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't - use Xft unless we have render extension. - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture): - Handle missing render extension. - - * gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c - gdk/gdkinternals.h: Add a private copy_to_image() virtual function - to the GdkDrawable vtable that extends get_image() to allow - copying onto existing images. Make the default implementation of - get_image() use this so that backends don't have to implement - both. Add private wrapper _gdk_drawable_copy_to_image(). - - * gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c - gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement - copy_to_image() semantics, speed up by using ShmPixmaps and - XCopyArea when possible, XFlush() after ungrabbing the server, - generally redo the logic once again. - - * gdk/gdkinternals.h gdk/x11/gdkimage-x11.c - _gdk_windowing_bits_per_depth(): Function to convert from depth to - bits-per-pixel. (We assume only one bpp per depth - X requires - this.) - - * gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB - scratch image code into a generic _gdk_image_get_scratch() chunk - of code that we can use other places we need scratch images. - - * gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h: - Add _gdk_image_new_for_depth() as the backend - to _gdk_image_new() to allowing creating images with - a depth and no visual. - - * gdk/gdkpixbuf-drawable.c: Fix so that getting - parts of images not at 0,0 actually works. - - * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c - gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c: - - Add a new GdkDrawableClass vfunc _draw_pixbuf, and - _gdk_draw_pixbuf() [ will be made public later ], to allow - backends to accelerate drawing pixbufs. - - Move the implementation of gdk_pixbuf_render_to_drawable_alpha() - to be the default implementation. - - Update docs for gdk_pixbuf_render_to_drawable_alpha(). - - Optimize the default implementation by using - _gdk_image_copy_to_pixmap() and scratch shared images, and - special casing the compositing. - - * gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf() - with alpha using the RENDER extension. - - * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): - Optimize by _gdk_image_copy_to_pixmap() and scratch images. - - * tests/testrgb.c: Add test for speed of alpha composition, - reduce the number of iterations since alpha composition - can be a bit slow. - - * gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap): - Private function to get a ShmPixmap for an image, if possible. - -2002-01-04 Anders Carlsson - - * tests/testtreesort.c: Add my cool list of integers. - -Thu Dec 27 18:12:55 2001 Owen Taylor - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix - problem where retrieved atoms weren't properly returned. - -2002-01-03 Anders Carlsson - - * gtk/gtktextview.c (gtk_text_view_key_press_event): When - tab is pressed and the text view isn't editable, - move the focus instead. - - * gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if - necessary. - - * gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list. - - * gtk/gtkcolorsel.c (get_focus_gc): Free dash list. - - * gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask - if it's NULL. - - * gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to - _gtk_tree_view_queue_draw_node. - (gtk_tree_view_row_has_child_toggled): Only redraw one node. - - * gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): - sort_column_id can be 0. - - * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): - Only redraw one the node being selected. - - * gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node. - -Wed Jan 2 23:09:06 2002 Tim Janik - - * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore - realized but visible && !mapped resize containers (which is - possible with unset CHILD_VISIBLE now). - -2002-01-02 jacob berkman - - * gtk/Makefile.am (LDFLAGS): automake still doesn't support - libsomething_la_LDFLAGS, so fix the build again - -2002-01-01 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_expose_event): propagate - exposes to no window children not in the buffer window. - (gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab - - is this the right way to do it? - (gtk_text_view_focus): add focus method, just chains up for now, - I'm not sure why the GtkContainer implementation doesn't work - - * gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill - in the text line for the child anchor segment - - * tests/testtext.c (do_add_focus_children): add another test - example (to put focusable buttons into the widget) - -2002-01-01 Havoc Pennington - - * docs/README.linux-fb: note that this file is obsolete - - * docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these - files that they should not be edited and look in the reference - manual instead. Probably these files should just be replaced by - the note, and their main contents deleted. - - * gtk/gtktextview.c: docs - - * gtk/gtktextmark.c: docs - - * gtk/gtktextchild.c: docs - - * gtk/gtktextbuffer.c: docs stuff - - * gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe - give people more leads in sorting out PRIMARY vs. CLIPBOARD - -2002-01-01 Tor Lillqvist - - * demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to - ../gdk-pixbuf/gdk-pixbuf-csource. - -2001-12-31 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error - handling. - (gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall. - - * gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc - -Wall. Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in - one more place. - - * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc - -Wall. - - * gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32. - -2002-01-01 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc - fix - -2002-01-01 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): Replace call to - gtk_widget_size_request() that expected to actually compute the - request with a direct use of widget_class->size_request, so we get - our size request right; fixes remaining part of #63065 reported by - Matthias Clasen - -2001-12-31 Havoc Pennington - - * tests/testtext.c (do_insert_and_scroll): remove backward_char - since we no longer have bogus newline - (dialog_response_callback): remove another backward_char horkage, - reported by Matthias Clasen #63065 - -2001-12-31 Havoc Pennington - - * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): - fix an incorrect assertion that the "valid" flag is always correct - in a node and add explanatory comment. This keeps me from - reproducing #59101, but I'm remembering that 59101 was actually - about incorrect pixel totals, so I'm not sure 59101 is actually - fixed. May just have stopped happening due to some change in - how C-k works. - -2001-12-31 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend - selection if shift is down, bug #50939 - (gtk_text_view_button_press_event): add double/triple click - selection to the current selection if shift is down - -2001-12-31 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix - to use ensure_byte_offsets not ensure_char_offsets, patch - from Padraig O'Briain bug #67356 - -2001-12-30 Havoc Pennington - - * gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have - the right values, reported by Jeff Franks - -2001-12-30 Matthias Clasen - - * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks. - -2001-12-28 Matthias Clasen - - * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c: - Minor documentation tweaks. - -2001-12-28 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c: Use G_N_ELEMENTS(). - (unicode_classify): Don't return -1 on encountering an - unclassified character, but play it safe and return U_BASIC_LATIN. - -Thu Dec 27 16:05:30 2001 Owen Taylor - - * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation - of misc->xpad/ypad consistent with GtkLabel. Do - directional flipping when interpreting misc->xalign/yalign. - Fix off-by-one error for negative x,y. (#67472, reported - by Mathieu Lacage) - -Thu Dec 27 15:45:41 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_style_internal): - Remove optimization that was causing problems because - we called gtk_widget_size_request() before we called - gtk_widget_queue_resize() so RESIZE_NEEDED was not - set. Optimization shouldn't mattter now that we - are smart about needlessly size requesting or allocating - widgets. (#67598, reported by Jacob Berkman) - -Thu Dec 27 15:38:20 2001 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb): - Call gdk_window_get_pointer() on menu->bin_window not - menu->window, so we get the correct window for the - menu item. (#65213, Guillermo S. Romero) - -Thu Dec 27 15:13:44 2001 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting - the title by setting to NULL. Move docs inline. - Update the title if the tearoff window already - exists. Code cleanup. (Fixes #65190, reported by - Vitaly Tishkov.) - -Thu Dec 27 14:04:22 2001 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_key_press_event): - gtk/gtkplug.c (gtk_plug_key_press_event): Don't do - special handling of key presses unless we are doing - iter-app embedding. (Fixes #67590, Anders Carlsson) - -Thu Dec 27 16:37:04 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted), - (gtk_tree_model_sort_sort_level), - (gtk_tree_model_sort_insert_value): fix a few places where - I was confused between modelsort iters and other iters. This was - really going to happen someday ;) - -Wed Dec 26 23:41:41 2001 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure - we are unprelighted before reordering - - * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we - need to break out of the for loop, not return (this fixed - the 'selection freeze' bug). - - * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to - be pretty stable now, though it still needs some more code - cleanups. - -Wed Dec 26 12:32:31 2001 Owen Taylor - - * docs/Changes-2.0.txt: Document the fact that - gtk_paned_set_handle_size() has been removed. - - * gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro, - since it pointed to gtk_paned_set_handle_size(), which - was removed. (#66760, Matt Wilson) - -Wed Dec 26 12:28:24 2001 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_highlight): Connect - gtk_drag_hightlight_expose _after_, so it works with - widgets that paint there entire background. (#66735) - -Wed Dec 26 12:17:06 2001 Owen Taylor - - * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the - allocation to widget->allocation. (Fixes #67290, - Chris Phelps.) - -Wed Dec 26 11:49:01 2001 Owen Taylor - - (#67542, reported by Anders Carlsson) - - * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge - rc_style->font_desc with defaul style instead of replacing - it. - - * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial - font descriptions in RC styles by calling - pango_font_description_merge(). - -2001-12-24 James Henstridge - - * gtk/gtkdialog.h (doc comment): s/// to make the doc - valid with both SGML and XML. - -Sat Dec 22 12:38:03 2001 Owen Taylor - - * configure.in: 1.3.12, interface, binary age 0. - - * configure.in: Require new versions of Glib, Pango, ATK. - - * NEWS: Updated. - - * configure.in: Make explicit what libtool we are executing. - (Tomas Ogren) - - * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes. - - * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix - parameter names for docs. - -Sat Dec 22 22:35:29 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_realize) - gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK. - - * gtk/gtkentry.c (gtk_entry_key_release) - gtk/gtktextview.c (gtk_text_view_key_release_event): Pass - key release events to the input method. - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): - Handle release of Control/Shift to end hex sequence. - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): - Handle key releases as well as presses. - -2001-12-21 Matthias Clasen - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Trivial doc adjustment. - - * gtk/gtklabel.c (gtk_label_new_with_mnemonic), - gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise - documentation about underscores and mnemonics. (#66380) - - * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix - cyclic reference in docs. - - * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation - of default value. (#65402) - - * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale): - Markup fixes. - -2001-12-20 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_realize): Don't call - map here. - -Tue Dec 18 16:15:55 2001 Owen Taylor - - * gdk/gdkgc.h: Explicitely deprecate gdk_gc_set_font() - (reported by Jeff Franks.) - -Tue Dec 18 16:07:28 2001 Owen Taylor - - * gdk/gdkkeys.h (struct _GdkKeymapClass): Fix - prototype for direction_changed. (Reported by - Jeff Franks.) - -2001-12-18 Padraig O'Briain - - * gtk/gtktreeview.c (gtk_tree_view_get_expander_column): - Fix typo (list->data becomes list->next) - -2001-12-06 Havoc Pennington - - Add Unicode control char menu, based on patch from Dov. - Bug #63495 - - * gtk/gtkentry.c (gtk_entry_commit_cb): share code via - gtk_entry_enter_text - (gtk_entry_enter_text): function to do "typing in text" - (popup_targets_received): add the Unicode menu items - - * gtk/gtktextview.c (popup_targets_received): add missing mnemonic - on Input Methods item, and add the unicode menu items. - - * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be - used in GtkEntry and GtkTextView - may become public later. - -2001-12-16 Kjartan Maraas - - * gtk/gtkprogressbar.c: Fix a typo. - * gtk/gtkpaned.c: Fix a typo. - -2001-12-15 Darin Adler - - Fix some warnings. - - * gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in - g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *). - * gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL - * gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local. - * gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local. - * gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment): - Restructure loop to get rid of uninitialized variable warning. Also - gives a tiny efficiency gain. - -2001-12-15 Murray Cumming - - * Fixed first arg type of GtkScale's "format_value" signal's - function pointer. - -2001-12-14 Vitaly Tishkov tvv@sparc.spb.su - docs/reference/gtk/tmpl/gtkcelleditable.sgml - gtkcelleditable -> GtkCellEditable - docs/reference/gtk/tmpl/gtktreesortable.sgml - gtktreesortable -> GtkTreeSortable - -2001-12-13 Sebastian Wilhelmi - - * demos/testpixbuf-drawable.c, demos/testpixbuf-save.c, - demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref - and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref - resp. - -Thu Dec 13 22:02:41 2001 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): free path - at the end - -2001-12-13 Matthias Clasen - - * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes. - -Thu Dec 13 20:37:27 2001 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_button_press): do not try - to find the clicked node in the tree when tree == NULL - -2001-12-13 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Compare - event->state with the default mod mask. - -2001-12-12 jacob berkman - - * gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate - -Wed Dec 12 17:22:45 2001 Owen Taylor - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): - Reset the existing slave before removing it to give - it a chance to commit and emit "preedit_changed" - in case there was still a preedit string. - -2001-12-12 Matthias Clasen - - * gtk/gtktextlayout.c: Typo fixes - * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746) - - * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, - gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744) - - * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467) - -Wed Dec 12 16:43:10 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove - validate_rows_timer in unrealize. Reported by Matthew Wilson. - -Wed Dec 12 16:18:26 2001 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_realize): Remove support for - "prepainting" the menu before realizing other than - via gtk_style_set_background() - this was broken when - we added menu scroll support. - - * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the - window in the expose event -- fixes problem with border - flashing during scrolling. - -Wed Dec 12 15:11:49 2001 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_get_property): Support - using names/nicks for the gdk_settings values for enum valued - types. (#57678, reported by Anders Carlsson) - -Wed Dec 12 15:01:33 2001 Jonathan Blandford - - * gtk/gtknotebook.c (gtk_notebook_set_tab_label): keep in sync - with insert_page_menu. Code duplication is bad. - - * gtk/gtklabel.c (gtk_label_mnemonic_activate): Whoops -- got the - wrong fix yesterday. - -Wed Dec 12 14:27:30 2001 Owen Taylor - - * gtk/gtkmenubar.c (window_key_press_handler): Fix check for - modifiers. - -2001-12-12 James Henstridge - - * gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM - (menu_item)->accel_path first when looking up the accel path. - -Tue Dec 11 19:18:21 2001 Owen Taylor - - * tests/testgtk.c (layout_expose_handler): Only draw - for events on the bin window. - -Tue Dec 11 18:55:16 2001 Jonathan Blandford - - * gtk/gtklabel.c (gtk_label_mnemonic_activate): Small fix to let - mnemonics work with notebooks. - -Tue Dec 11 15:25:06 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Change - bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view). - Makes some flicker while scrolling go away. - -2001-12-11 Michael Natterer - - * demos/testpixbuf-save.c: added new keyboard shortcut 'a' which - adds alpha to the pixbuf; re-load the saved pixbuf and - pixel-by-pixel compare it with the original one. - -Tue Dec 11 15:39:08 2001 Soeren Sandmann - - * ChangeLog: Fix wrong ChangeLog entry - * gtk/gtkstyle.c (gtk_default_draw_shadow_gap): Fix drawing of top - right corner - -2001-12-10 jacob berkman - - * gdk/x11/gdkinput-xfree.c (_gdk_input_grab_pointer): - * gdk/x11/gdkmain-x11.c (gdk_pointer_grab): - (gdk_keyboard_grab): do not grab things if the nograb debug flag - is set - - * gdk/gdkinternals.h: - * gdk/gdk.c: add nograbs debug flag to disable grabs of the - keyboard / mouse - -Mon Dec 10 19:42:29 2001 Jonathan Blandford - - * gtk/gtktreeview.c (validate_rows_handler): stupid bug where I - didn't reset the timer. - -2001-12-10 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_child_type): Close comment. - -2001-12-09 Matthias Clasen - - * gtk/gtkviewport.c: Add docs. - -Mon Dec 10 16:21:38 2001 Jonathan Blandford - - * gtk/gtkrbtree.c (_fixup_parity): New function to fixup parity. - RBTree corruption bug-- - -2001-12-10 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Return - if edited_column is NULL, also grab focus before removing - the cell_editable. - -Sun Dec 09 15:06:51 2001 George Lebl - - * gtk/gtkrange.c (gtk_range_calc_layout): check for 0 value on the - denominator in the horizontal case just like we do in the vertical - case (why I didn't notice that there were two cases the first time - around is beyond me:). Also fix indentation in the vertical case. - -2001-12-09 Anders Carlsson - - * gdk/x11/gdkevents-x11.c: Update xsettings name. - - * gtk/gtkdnd.c (gtk_drag_check_threshold): Use the - gtk-dnd-drag-threshold GtkSetting. - - * gtk/gtksettings.c (gtk_settings_class_init): Add - setting for dnd drag threshold. - -2001-12-09 Matthias Clasen - - * gtk/gtkcontainer.c: Add docs. - -2001-12-08 Matthias Clasen - - * gtk/gtkwidget.c: Doc markup fix. - - * gtk/gtktreeviewcolumn.c: Markup fixes. (#66447) - - * gtk/gtktreestore.c: Typo fixes. (#66445) - - * gtk/gtkaccelgroup.c: Misc doc markup. (#66425) - - * gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference - to gtk_clipboard_set_with_owner(). (#66424) - -Sat Dec 8 16:12:10 2001 Christopher Blizzard - - * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to - "" if someone doesn't pass in a valid argc. (Patch from - Fabrice Bellet , #54127). - -Sat Dec 8 10:04:54 2001 Jonathan Blandford - - * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots - of places, so that people with crashy trees can just run their - program with GTK_DEBUG=TREE. - -Sat Dec 8 20:57:24 2001 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_remove): nuke the stamp++, - per jrb's request - -2001-12-08 Anders Carlsson - - * tests/testgtk.c (layout_expose_handler): Don't return TRUE - since then the default GtkLayout expose handler won't be called. - -Fri Dec 7 23:42:50 2001 Jonathan Blandford - - * gtk/gtktreeview.c (validate_rows_handler): remove - g_return_if_fail. - - * gtk/gtktreeview.c (validate_visible_area): Patch from Manish - Singh to fix bug when rendering Tree with an - empty model. - -Fri Dec 7 20:06:14 2001 Jonathan Blandford - - * gtk/gtktreeview.c (validate_visible_area): get logic right, - #66249 - - * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where - removing a node ended up with a corrupt tree. Really really nasty - bug. - (_gtk_rbtree_debug_spew): new debug helper function - (_fixup_validation): new inline function to clean up code - readability a lot. - -Fri Dec 7 19:34:51 2001 Owen Taylor - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): - Close comment. - -2001-12-07 Matthias Clasen - - * gtk/gtkstyle.h: Typo fixes. - - * gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs. - - * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs. - -Fri Dec 7 16:05:22 2001 Owen Taylor - - * modules/input/gtkimcontextxim.c: Display the XIM - status callbacks with a popup window. (Patch from - HideToshi Tajima, #50628, somewhat modified.) - -Fri Dec 7 12:07:15 2001 Tim Janik - - * gtk/Makefile.am: each source generation rule needs to use its own - temporary file, to avoid clashes for parallel builds. fixed rules - for gtkmarshalers.h and gtkmarshalers.c to use their own temp files. - -2001-12-07 Havoc Pennington - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new): fix up my list of - "cursors that are actually useful" in gdk_cursor_new() docs - -Thu Dec 6 23:09:21 2001 Owen Taylor - - * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors - in computing the size of the second child. - -Thu Dec 6 16:50:17 2001 Owen Taylor - - * gtk/gtkrange.c: Make button 1 clicks on the trough - do pages, button 3 steps. (Patch from Hans Breuer - #63735) - -2001-12-06 Matthias Clasen - - * gtk/gtklabel.c: Fix docs. (#66383) - - * gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs. - (#66278, #66280) - - * gdk/gdkwindow.h (gdk_window_get_deskrelative_origin), - gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208) - - * gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy): - Don't emit a g_warning() about being deprecated. (#66208) - - * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs. - - * gtk/gtkcontainer.c: Doc fixes. - - * gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes. - - * gtk/gtkstyle.c (gtk_style_attach): Add docs. - -2001-12-05 Sven Neumann - - * gtk/gtkwidget.c (gtk_widget_reset_shapes): close comment. - - * gtk/queryimmodules.c: g_dir_read_name() returns const. - -Tue Dec 4 21:46:13 2001 HideToshi Tajima - - * gtk/gtktreeprivate.h: restore the else case of #ifdef __GNUC__ - #66225 - -2001-12-04 Manish Singh - - * gtk/gtkmain.c - * gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just - a gpointer. - - * gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic - correction to docs. - - * demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast - -2001-12-04 Havoc Pennington - - * gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove - g_assert_not_reached() that was bogus, since we demand-create the - tag info. reported by Chris Phelps - - Jump through assorted hoops to fix bug from Chris Phelps where - removing tags from the table resulted in btree trying to - access tag->table - - * gtk/gtktextbuffer.c: set up mechanics of adding/removing - ourselves to the tag table - - * gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer) - (_gtk_text_tag_table_remove_buffer): private cruft to - let us notify buffer of disappearing tags - - * gtk/gtktexttag.h: remove BTreeNode typedef from this public - header, put it in tagprivate - - * gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to - tag_removed; it's emitted too late. - (_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to - this - - Padding for ABI-compat expansion - - * gtk/gtktexttag.h (struct _GtkTextAttributes): pad this - (struct _GtkTextAppearance): one pad in here too - - * gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here - - * gtk/gtktextview.h (struct _GtkTextViewClass): more padding, - since action signals etc. seem pretty likely - - * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding - - * gtk/gtktexttag.h (struct _GtkTextTagClass): padding - - * gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding - -2001-12-04 Matthias Clasen - - * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851) - - * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025) - - * gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes. - -Tue Dec 4 18:51:44 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event, - #62084. - -Tue Dec 4 18:38:35 2001 Jonathan Blandford - - * demos/gtk-demo/main.c: (create_tree): Minor fix. - - * docs/tree-column-sizing.txt: Update - - * gtk/gtkrbtree.[ch]: Massive work to support validation. - - * gtk/gtktreemodel.c: Doc fixes. - - * gtk/gtktreeview.c: Incremental reflow added. - * gtk/gtktreeviewcolumn.c: ditto - * gtk/gtktreeviewcolumn.h: ditto - -2001-12-04 Havoc Pennington - - * gtk/gtktexttag.c (gtk_text_tag_set_property): add a warning for - "invisible" property, #65999 - -2001-12-04 Matt Wilson - - * gtk/gtktreestore.c (gtk_tree_store_insert): fixed docs - -Tue Dec 4 12:16:31 2001 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_set_property_value): - Simplify, make more efficient and fix memory leak - when turning quark into a string. (#66103, HideToshi - Tajima) - - * gtk/gtkcolorsel.c: Ref and sink priv->tooltips in - init() and unref priv->tooltips in destroy rather - than calling gtk_object_destroy() which has no - effect on memory management. (#66104, HideToshi - Tajima) - - * gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full() - so we free the when the object is freed. (Fixes memory - leak, #66096, HideToshi Tajima) - - * gdk/gdkevents.c (gdk_synthesize_window_state): Use - a full GdkEvent structure to avoid reads of uninitialized/ - invalid memory in gdk_event_put() (#65877, patch - from Hidetoshi Tajima) - -Tue Dec 4 11:06:54 2001 Owen Taylor - - * gtk/gtkmenuitem.c: Revert my last mistaken change - - toggle-size-request doesn't take a requisition. - - * gtk/gtkmenuitem.c (gtk_menu_item_class_init): Fix - reference to marshaler that no longer exists. - -Mon Dec 3 16:39:17 2001 Owen Taylor - - Patch from Bill Haneman (with many modifications) to make - the focus color work on dark themes and to make the - focus line width configurable. (#61079, #63074) - - * gtk/gtkwidget.c: Add style properties, - ::focus-widget, ::focus-line-width, and ::focus-padding. - - * gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a - state argument as well so we can use fg[STATE] to - draw instead of always drawing with black. - Cange paint_focus() to respect GtkWidget::focus-width - and GtkWidget::focus-line-pattern. Fix continuity - problem where the default 1-1 stipple had a blob - in one corner and a gap in the other. Change the - interpretation of x/y/width/height to be the bounding - box of the focus rect instead of the rectangle - passed to gdk_draw_rectangle. - - * gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c - gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c - gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width - and ::focus-line-padding. - - * gtk/gtkentry.c: Handle :;focus-width property; cleanup - and remove duplicated code; fix drawing of focus rectangle - when interior-focus = FALSE. (#63072, #63073) - - * gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c - gtk/gtktreeviewcolumn.c: Basic fixups to make compile; - Range and TreeViewColumn will need more extensive fixing. - - * gtk/gtkcolorsel.c: Honor focus line attributes when - drawing the focus on the color swatches. (#63071) - - * gtk/gtkhsv.c: Honor focus line attributes when - drawing the focus for the ring and triangle. - - * docs/widget_geometry.txt: Start at documenting how - various widgets are drawn. - - * gtk/gtkbutton.c (_gtk_button_paint): Export - _gtk_button_paint() librarywide, so we don't have - duplicate a bunch of code in gtktogglebutton.c. - - * gtk/gtktogglebutton.c: Use _gtk_button_paint(). - -Mon Dec 3 21:04:13 2001 Jonathan Blandford - - * gtk/gtkmarshalers.list: remove VOID:BOXED,POINTER and - NONE:POINTER. - -2001-12-03 Alex Larsson - - * gtk/gtkaccellabel.c: - * gtk/gtkarrow.c: - * gtk/gtkcolorsel.c: - * gtk/gtkcontainer.c: - * gtk/gtklabel.c: - * gtk/gtktextview.c: - * gtk/gtktogglebutton.c: - * gtk/gtktreeview.c: - * gtk/gtkwindow.c: - Return FALSE from expose handlers. - -Mon Dec 3 21:15:59 2001 Kristian Rietveld - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_value_to_node): if - we use pointers, we should free the previous pointer first (if - it exists), before we set a new pointer. (#64726) - - * gtk/gtktreeprivate.h: get rid of cursor_drag - - * gtk/gtktreeview.c (gtk_tree_view_unrealize): remove check - for cursor_drag - (gtk_tree_view_bin_expose): don't directly return in the while - loop - (gtk_tree_view_class_init): indentend expanders by default - (gtk_tree_view_header_focus): only give the button focus - if it's clickable, visible and the column is reorderable - (#65539) - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button): - create and free cursor - -Mon Dec 3 10:23:07 2001 Owen Taylor - - * gtk/gtkcalendar.c (gtk_calendar_size_request): Fix - some bugs with size requisition. (From Bill Haneman) - - * gtk/gtkcalendar.c: Draw headers and selection in - base/text[SELECTED] instead of fg/bg[SELECTED]. - - * gtk/gtkcalendar.c: Miscellaneous cleanups to drawing - code and formatting. - -2001-12-03 Havoc Pennington - - * gtk/gtktextview.c (set_window_height): - (set_window_width): Hmm, setter functions normally assign the new - value to the object field. Reported by Chris Phelps. - -2001-11-30 jacob berkman - - * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the - signal id to 0 after we disconnect from it - -2001-11-30 Matthias Clasen - - * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), - gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref), - gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref), - gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate. - - * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not - GTK_DISABLE_DEPRECATED. - - * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref), - gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document. - -Fri Nov 30 16:37:01 2001 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize - move/resize code, removing various bad, non-functional - hacks. (Fixes #65048, reported by Damon Chaplin.) - -Fri Nov 30 16:12:21 2001 Owen Taylor - - * gdk/gdkpango.c: Patch from Hidetoshi Tajima to fix - bad match error when target drawable is not the - same depth as the root window. (#65841) - - * HACKING: Update. - -2001-11-29 Matthias Clasen - - * gdk/gdkwindow.c: Typo fix. - -Thu Nov 29 21:35:56 2001 Kristian Rietveld - - * gtk/gtkmenu.c (gtk_menu_motion_notify): add checks for - empty menu items to behave like insensitive items (#59456) - - * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item): select - next item if the first item in the menu is a tear off item - (#59456-2, suggestion by Matthias Clasen) - - * gtk/gtkmenushell.c (gtk_menu_shell_button_press), - (gtk_menu_shell_button_release), (gtk_menu_shell_entry_notify), - (gtk_menu_shell_leave_notify), (gtk_real_menu_shell_move_current), - (gtk_real_menu_shell_activate_current): add check, so empty - menu items behave like insensitive items (#59456) - - * gtk/gtkmenuitem.[ch]: add _gtk_menu_item_is_selectable to make - the checks more readable ... - - * gtk/gtkmenushell.c (gtk_menu_shell_button_press), - (gtk_menu_shell_button_release): causes the menu to dropdown if the - caption is clicked again (#64977) - -2001-11-29 Havoc Pennington - - * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment): - assertion here that we were at the end iterator was not correct; - change code to move us to the end iterator. bug #65731 - -Wed Nov 28 20:05:44 2001 Owen Taylor - - * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove - improper use of g_locale_to_utf8() to convert from - latin-1, and do it the easy way by building the string - correctly in the first place. - -Wed Nov 28 19:34:15 2001 Owen Taylor - - * gdk/x11/gdkproperty-x11.c (gdk_property_change, gdk_property_get): - Convert atoms to and from atoms for properties of type XA_ATOM. - (#65555, patch from Hidetoshi Tajima) - -Wed Nov 28 18:37:04 2001 Owen Taylor - - * gtk/gtksocket.[ch] (gtk_socket_add_id): Rename 'id' parameter - to avoid problems with Objective C. - -2001-11-28 Matthias Clasen - - * gtk/gtkaccelmap.c: Typo fixes. (#65607) - - * gtk/gtkfixed.c (gtk_fixed_set_has_window, gtk_fixed_get_has_window): - Fix docs. (#65505) - - * gtk/gtkwindow.c (gtk_window_set_mnemnonic_modifier): Document. - -Wed Nov 28 18:19:12 2001 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_hints): Move - accounting of menu->tearoff_scrollbar width to here - and make sure we have the correct requisition. - - * gtk/gtkmenu.c (gtk_menu_position): Fix fixme - by using gtk_window_move(). - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Force - the requisition to be updated by calling - gtk_widget_size_request() (#65440) - - * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate): - queue resize before calling gtk_menu_set_tearoff_state(). - -Wed Nov 28 22:20:44 2001 Kristian Rietveld - - * demos/gtk-demo/editable_cells.c: fix typo - - * demos/gtk-demo/list_store.c (add_columns): remove call to - gtk_tree_view_column_set_clickable which didn't make sense - -2001-11-28 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_paint): put the warning - explaining the validation error in front of the G_BREAKPOINT - - * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call - process updates with include_children = FALSE instead of TRUE, so - we redraw the range only, not the whole darn window. Making - GtkRange a NO_WINDOW widget had weirdly caused the text widget - Trace/breakpoint trap bug to become much easier to trigger. - -Wed Nov 28 14:12:03 2001 Owen Taylor - - * gdk/Makefile.am (gdk_public_h_sources): Remove reference - to gdkcursors.h. - -2001-11-28 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_move): Add markup to docs. - - * gdk/gdkcursor.h: Directly include the contents - of gdkcursors.h in the GdkCursorType enum. - - * gdk/gdkcursors.h: Deleted. - - * gdk/gdkkeysyms.h: Remove XFree86-specific keysyms, add - header boilerplate. - - * gdk/Makefile.am: Remove the X-derived-headers rule. - -Tue Nov 27 20:17:55 2001 Owen Taylor - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate): - Notify on the ::active property _here_, not in - gtk_check_menu_item_set_active. - -Mon Nov 26 19:11:18 2001 Jonathan Blandford - - * gtk/gtkcellrendererpixbuf.c - (gtk_cell_renderer_pixbuf_class_init): add 2 properties - (PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED) - -Sun Nov 25 21:19:02 2001 Owen Taylor - - * gdk/x11/gdkgeometry-x11.c: Add long, but horribly sketchy - comment about what is going on in this file. - - * gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): Fix - x/y problem. - -Sun Nov 25 18:59:19 2001 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_calc_size): - Calculate size based on the _child_ of the menu item, - not the menuitem. (#65005, Damon Chaplin) - - * gtk/gtklistitem.c (gtk_list_item_new_with_label): Add - some extra vertical padding to the label widget ... restores - GTK+-1.2 spacing. (#65085, Damon Chaplin.) - -2001-11-26 Tor Lillqvist - - * demos/pixbuf-demo.c - * demos/gtk-demo/pixbufs.c: M_PI -> G_PI. - - * demos/gtk-demo/main.c (read_line): No flockfile() or - getc_unlocked() on Win32. - -2001-11-25 Tor Lillqvist - - * configure.in - * acconfig.h: As we now use GDir, no need to check for dirent.h. - -Sun Nov 25 23:18:39 2001 Kristian Rietveld - - * gtk/gtktexttag.c (gtk_text_tag_set_property): free font_desc - when finished (#65266) - -Sun Nov 25 23:16:29 2001 Kristian Rietveld - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): free - data after we set the property. (#65264) - -Sun Nov 25 23:14:06 2001 Kristian Rietveld - - * gtk/gtkbutton.c: add destroy method so label_text gets freed - if it has been allocated (#65268) - -Sat Nov 24 13:39:51 2001 Manish Singh - - * gdk/linux-fb/gdkdrawable-fb2.c - * gdk/linux-fb/gdkpango-fb.c: update to latest Pango API - - * gdk/linux-fb/gdkwindow-fb.c: implement gdk_window_show_unraised - - * gdk/linux-fb/gdkfont-fb.c (gdk_font_load): plug memleak on - set_family - - * gdk/linux-fb/gdkfbswitch.c: minor cleanups - -Sat Nov 24 22:05:27 2001 Kristian Rietveld - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't - deactivate menu when menu_item isn't sensitive (#61389) - -Sat Nov 24 15:35:26 2001 Kristian Rietveld - - * gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before - we return (in case of a failure here) - -Fri Nov 23 19:22:50 2001 Owen Taylor - - * gtk/gtknotebook.c: Handle events in windows other - than widget->event_window properly. (#65079, reported - by Damon Chaplin) - - * gdk/gdkevents.c (gdk_event_get_coords): Fix x/y bug. - -Fri Nov 23 18:57:46 2001 Owen Taylor - - * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Align - the image at the top. (#65020, request from Seth Nickell) - -Fri Nov 23 18:49:53 2001 Owen Taylor - - * gtk/{gtkclist,gtkctree.c} (draw_row): Remove some strange - arithmetic that was resulting in rows being drawn too low. - (#65001, reported by Damon Chaplin) - -Fri Nov 23 18:36:42 2001 Owen Taylor - - * gtk/gtkrange.c (gtk_range_button_press): Offset - invalidated range correctly. - - * gtk/gtkclist.c (hadjustment_value_changed): Fix scrolling - of title window. (#65001, reported by Damon Chaplin) - - * gtk/gtkcombo.c (gtk_combo_button_event_after): Replace - horrible hack with use of ::event_after. - -Thu Nov 22 15:01:03 2001 Owen Taylor - - * Version 1.3.11 - - * configure.in (ATK_REQUIRED_VERSION): Require - GLib-1.3.11, Pango-0.22, ATK-0.7. - - * tests/prop-editor.c (property_widget): Restore - to working as well as it did before. - - * gtk/gtklistitem.h: Mark deprecated since it is - an integral part of GtkList. - - * demos/gtk-demo/demo-common.h: New header file, - for a common functions not important to the meat - of the demos. - - * demos/gtk-demo/main.c (demo_ifind_file): Add a utility - function to search for a file used by the demo. - - * demos/*.c: Use demo_find_file. - -2001-11-23 Matthias Clasen - - * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag), - gtk/gtkruler.c (gtk_ruler_get_metric): Actually commit typo - fixes already mentioned in ChangeLog entry on 2001-11-14. - - * docs/reference/gtk/tmpl/drawing.sgml: Minor markup fixes. - -2001-11-23 Hans Breuer - - * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : - reflect Pango API change - - * gtk/gtk.def : updated externals - - * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use - g_return_val_if_fail() to avoid 'function must return a value' - - * gtk/gtkrc.c : added spaces to fix small coding style issues - * gtk/gtkwidget.c : ... and linebreaks. Also a static for - 'static correctness' - - * gtk/makefile.msc.in : temporary(?) disable gtk - because they only can be build on win32 after applying my patch - -Wed Nov 21 22:55:37 2001 Tim Janik - - * gtk/gtkbutton.c (gtk_button_map): raise event window afte - children, in order for the input pnly window to stay *above* - children. - -Wed Nov 21 22:44:27 2001 Tim Janik - - * tests/testtreeview.c: make hackery worse ;) by checking fundamental - type walks againts G_TYPE_FUNDAMENTAL_MAX. - - * tests/prop-editor.c: disable type hackery. - -Wed Nov 21 17:41:39 2001 Owen Taylor - - * gdk/gdkimage.c (gdk_image_get): Fix problem with - lost parameter. - -Wed Nov 21 17:01:25 2001 Owen Taylor - - * gtk/gtkcellrenderer.h gtk/gtktreemodel.h - gtk/gtktreeprivate.h gtk/gtktreesortable.h: Remove - trailing commas in enum declarations. - -Wed Nov 21 15:21:26 2001 Owen Taylor - - * configure.in (GTK_MICRO_VERSION): Version 1.3.11, - interface, binary age 0. - - * NEWS: Updates - - * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML - fixes in docs. - - * gtk/gtkmain.h: Remove unused and misnamespaced - get_gtk_win32_directory() prototype. - - * gdk/gdkimage.c (gdk_image_get): Fix parameter names - to match header. - - * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(), - gdk_window_set_transient_for(), gdk_window_set_geometry_hints(), - to match docs. - - * gdk/gdkevents.c (gdk_event_get_coords) - gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active) - gtk/gtkdnd.c (gtk_drag_set_icon_stock): - Fix parameter names in docs. - - * docs/faq/Makefile.am (FAQ_FILES): Add missing files. - (#64961, Akira Tagoh) - -Wed Nov 21 11:41:29 2001 Owen Taylor - - * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object. - - * gtk/gtktoolbar.c (gtk_toolbar_init): Ref-sink the tooltips object. - - * gtk/gtkfilesel.c (open_new_dir): Fix some constness warnings. - - * gtk/gtkaccelgroup.c: Rename gtk_accel_groups_from_acceleratable() - back to gtk_accel_groups_from_object(), change @acceleratable - parameter to gtk_accel_groups_activate() accordingly. - - * gtk/gtkaccelmap.c (gtk_accel_map_lookup_entry): Remove - left-over comment about quark return. - - * gtk/gtkaccelmap.h: Fix spelling of gtk_accel_map_foreach_unfiltered(). - - * gtk/gtk-boxed.defs (GtkIconSource): added as a boxed type. - (Patch from Matt Wilson) - - * gtk/gtkobject.c (gtk_object_finalize): Warn if a floating - object is finalized. - -Tue Nov 20 21:25:08 2001 Tim Janik - - * applied patch from owen to get rid of accel map notifiers. - changed things to fix reentrancy and API as discussed on gtk-devel. - - * gtk/gtkaccelgroup.[hc]: - (gtk_accel_group_finalize): unregister this accel group from all - accel map paths. - (accel_closure_invalidate): handle invalidation of closures by - disconnecting their accelerators. - (quick_accel_add): move closure connection and changed notification - into this function to reduce code duplication. don't emit change - notification on closurers without accelerators. - (quick_accel_remove): rewrite, do the exact opposite of quick_accel_add - for a GtkAccelGroupEntry. - (gtk_accel_group_connect): get rid of the accel_path_quark argument. - (gtk_accel_group_connect_by_path): new function to add accelerators - with an accel path. - (gtk_accel_group_disconnect_closure): new function, disconnect a - closure from of an accel group. - (gtk_accel_group_disconnect): loop over all closure for a accel_ley, - accel_mods pair and remove them. - (_gtk_accel_group_reconnect): new function that basically does - gtk_accel_group_disconnect_closure() and - gtk_accel_group_connect_by_path() once an accel path changed. - (gtk_accel_groups_disconnect_closure): remove this, there's - gtk_accel_group_disconnect_closure(). - - * gtk/gtkaccelmap.[hc]: keep list of accel groups per entry now, - nuke notifiers. - (_gtk_accel_path_is_valid): make this non-static for - gtkwidget.c and gtkaccelgroup.c assertions. - (gtk_accel_map_add_notifer): removed this function. - (gtk_accel_map_remove_notifer): same. - (_gtk_accel_map_add_group): - (_gtk_accel_map_remove_group): (un-)register accel groups, with - accel paths for correct propagation. - (gtk_accel_map_add_entry): return void. - (gtk_accel_map_lookup): return gboolean instead of GQuark. - - * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): always - set accel_path on widgets. - - * gtk/gtkwidget.[hc]: - (accel_path_changed): got rid of this, changes are handled by - accel maps internally now. - (_gtk_widget_set_accel_path): get things to work without notifiers. - (gtk_widget_list_accel_closures): list accel closures of a widget. - - * gtk/gtkwindow.[hc]: rename ::accels_changed, to ::keys_changed. - -2001-11-20 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_propagate_expose): Typo fix. - -Tue Nov 20 23:01:01 2001 Kristian Rietveld - - * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path): - replace gboolean free_last in the function parameters with - gint depth. Changes to reflect new situation. - - * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper): - replace gboolean free_last, with gint depth, add gint current_depth. - Changes to reflect new situation. - - * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): changes - to reflect new situation - - * gtk/gtktreemodel.c (gtk_tree_row_reference_free): ditto - -Tue Nov 20 12:37:10 2001 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_paint): Fix problem - where notebook gap was double shifted by allocation.x/y - - * gtk/gtknotebook.c (gtk_notebook_unmap): Chain up - to unmap children. - -Tue Nov 20 14:49:59 2001 Tim Janik - - * gtk/gtkvpaned.c (gtk_vpaned_size_allocate): fix - allocation to be relative to paned->allocation, now - that this is a NO_WINDOW widget. - * gtk/gtkhpaned.c (gtk_hpaned_size_allocate): same here. - - * gtk/gtkaccellabel.c (gtk_accel_label_class_init): ::closure - needs to be a boxed property. - -Mon Nov 19 17:34:40 2001 Owen Taylor - - * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): - Use the widget's state when drawing the indicator, as - in GtkCheckButton. This gives us color changes for - un-prelighted checkbuttons. (#63308, Matt Wilson) - -Mon Nov 19 17:11:23 2001 Owen Taylor - - (Fixes related to #64428, Michael Meeks) - - * gtk/gtkplug.c (gtk_plug_set_is_child): Unmap the - widget, so it gets mapped again properly when we - add to a parent. - - * gtk/gtkplug.c (_gtk_plug_add_to_socket): Set - plug->socket_window. - - * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Set - socket_window to NULL, not FALSE. - - * gtk/gtkplug.c (_gtk_plug_add_to_socket): Set - socket->same_app to TRUE. (#64612) - -Mon Nov 19 15:50:41 2001 Owen Taylor - - * gtk/gtkfixed.[ch] docs/Changes-2.0.txt: Add - gtk_fixed_set/get_has_window() to remove criticism - about GTK_WIDGET_SET_FLAGS() hacks. - -2001-11-19 Michael Natterer - - * gtk/gtknotebook.c: show notebook->event_window with - gdk_window_show_unraised(), so it doesn't catch the events which - should go to the tab widgets first. - -Mon Nov 19 15:30:51 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a - "resizable" property, to get rid of the - GTK_TREE_VIEW_COLUMN_RESIZABLE sizing flag. - (gtk_tree_view_column_set_resizable): New function to set resizable. - (gtk_tree_view_column_set_resizable): getter. - - * tests/testtreecolumns.c (add_clicked): modify for above change. - - * Makefile.am (install-data-hook): remove old .pc files before - installing the new one. We used to symlink this, and it will - break old installs. - -2001-11-19 Havoc Pennington - - * tests/testtext.c (fill_example_buffer): put in a test for - negative indentation values - -Mon Nov 19 14:08:18 2001 Owen Taylor - - * gtk/gtklabel.c (gtk_label_init): Change default for - justify to GTK_JUSTIFY_LEFT. Assuming that multiline - labels are most often wrapped labels, this gives better - compatibility with GTK+-1.2, where justification was - ignored for wrapped labesl and is a more sensible - default in any case. (#64489) - - * gtk/gtklabel.c (gtk_label_class_init): Fix default - for wrap property to FALSE. - -2001-11-19 jacob berkman - - * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list - -Mon Nov 19 13:56:45 2001 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use - RevertToParent, not RevertToNone. (#64613, - Matthias Clasen) - -Mon Nov 19 12:28:02 2001 Owen Taylor - - * gtk/gtkframe.c (gtk_frame_class_init): label_xalign - and label_yalign need to be float properties to - correspond to GTK+-1.2, to gtk_frame_set_label_align, - and to the types of the xalign and yalign properties of GtkMisc. - (#63484, Vitaly Tishkov) - -Mon Nov 19 12:24:30 2001 Owen Taylor - - * gtk/gtksocket.h (struct _GtkSocketClass): Fix return - of plug_added vfunc. (#64408, Jeff Franks) - -Mon Nov 19 12:07:20 2001 Owen Taylor - - * configure.in (deps): Undef HAVE_STDLIB_H before - checking for jpeg, because jconfig.h has this - in it too (%#$@!). Fix from Matthias Clasen, #64500. - -Mon Nov 19 11:30:03 2001 Owen Taylor - - * gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a - memory leak when retrieving atom names. (Michael Meeks, - #64508) - -2001-11-18 Alex Larsson - - * gdk/x11/gdkfont-x11.c (gdk_font_from_description): - Update to new Pango API. - -Sun Nov 18 19:47:29 2001 Owen Taylor - - * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the - GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the - GTK_OBJECT_DESTROYED() check macro. - - * gtk/gtkbindings.c (gtk_bindings_activate): Remove - instances of GTK_OBJECT_DESTROYED() that weren't - needed any more. - - * gtk/gtkdialog.c: Exchange use of GTK_OBJECT_DESTROYED - for a connection to ::destroy. - -Sun Nov 18 18:18:11 2001 Owen Taylor - - * gtk/gtkfixed.c: Make a NO_WINDOW widget, as it should - have been since the beginning, but as special hack, - allow clearing the NO_WINDOW flag to get a window widget. - -Sun Nov 18 22:01:36 Kristian Rietveld - - * gtk/gtktreestore.c: return TRUE when value changed, so - row_changed is being emitted - -2001-11-18 Hans Breuer - - * gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H; - no label without op, even if it's a no-op. - - * gtk/gtk.def : - * gtk/makefile.msc.in : reflect marshaler split, some clean-up - - * config.h.win32.in : remove definition of HAVE_DIRENT_H - * gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't - required anymore, replace it. - * gtk/queryimmodules.c : DIR -> GDir replacement, also - getcwd() -> g_get_current_dir() - - * gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c - Even 'noisy laugh' scolling appears to work, though I still can't - claim to have fully understood what it is supposed to do ... - -Sat Nov 17 21:07:46 2001 Owen Taylor - - * gtk/gtkenums.h: Include glib-object.h instead of - gobject/gsignal.h - - * gdk/{gdkinternals.h,gdkwindow.c,gdkwindow.[ch], - x11,{fb,win32,x11/gdkwindow-*.c}: Add a dummy GdkScreen - argument to the window_at_pointer() field of - GdkPointerHooks. (Patch from Erwann Chenede) - - * gdk/gdkdrawable.h (struct _GdkDrawableClass ): Up - to 6 pointers. - -2001-11-17 Matt Wilson - - * gtk/gtkenums.h: must include glib-object.h only - -Sat Nov 17 19:26:20 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_key_press_event): Reprioritize - key bindings in order of visibility - mnemonics, then - accelerators, then send key to the focus widget, then - bindings on the GtkWindow. - - * gtk/gtklayout.h docs/Changes-2.0.txt tests/testgtk.c: - Removed the xoffset, yoffset fields of GtkLayout which were - identically zero for compat with 1.2, but were no longer - compatible with all uses of these fields in 1.2. - - * gtk/gtkwindow.c (gtk_window_set_default): Remove - unused variable. - -Sat Nov 17 19:08:13 2001 Owen Taylor - - * tests/testtreeview.c (gtk_tree_model_types_get_type): - We no longer need to create the signals here ... they - come from the interface. - - * gtk/maketypes.awk: Use GType, not GtkType in output. - - * gtk/gtktypeutils.h: Mark virtually all of this - file deprecated. - - * gtk/gtkcontainer.h: Deprecate gtk_container_foreach_full; - the only use of this function is the GtkArg using - GtkCallbackMarshal, since destroy notification is - silly here. - -Sat Nov 17 18:26:45 2001 Owen Taylor - - * gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list - gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h - only for compatibility with GTK+-1.2; and deprecate it; - put all marshalers we actually use into gtkmarshalers.list - and use the _gtk_marshal_ prefix for these marshalers. - -2001-11-17 Murray Cumming - - * gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): - The first parameters of the signals are now registered as - GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT. - -2001-11-17 Tor Lillqvist - - * gtk-zip.sh.in: Build separate runtime and developer - packages. - - * gtk/gtk.def: Reflect recent accelerator-related changes. - -Fri Nov 16 19:44:35 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_default): Move - notification of "has_default" to here, so it - is safe to call gtk_window_set_default() instead - of gtk_widget_grab_default(). - - * gtk/gtkwindow.c (gtk_window_set_focus): Make it call - gtk_widget_grab_focus(), which then calls - _gtk_widget_internal_set_focus(). This makes - gtk_window_set_focus() a safe way of both setting - and unsetting the focus widget. - - * gtk/gtkwidget.c (gtk_widget_propagate_state): Use - gtk_widget_get_toplevel(), instead of gtk_widget_ancestor - to find the toplevel. - - * gtk/gtkwindow.h: Move gtk_window_set_focus/default - from the "internal functions" section. - -2001-11-16 jacob berkman - - * tests/testgtk.c (create_radio_buttons): add some no-indicator - radio buttons - - * gtk/gtkradiobutton.c (gtk_radio_button_init): since we are - initially active, also initially be depressed - (gtk_radio_button_clicked): also update our depressed state - -Thu Nov 15 12:54:36 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_key_press_event): Propagate - key press events not just to focus/window but also to - intermediate widgets. - - * gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown - to switch pages. (Needs some work on handling focus - when switching pages.) - -Fri Nov 16 14:06:31 2001 Owen Taylor - - * gtk/gtknotebook.c: Fix child allocations to be relative to - widget position and some drawing bugs. - - * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem - with reading uninitialized variable. - -Fri Nov 16 00:16:40 2001 Owen Taylor - - * gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c, - gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items - NO_WINDOW widgets. - - * gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some - cleanup. - - * gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume - we are drawing in a window when drawing the paned handle. - -2001-11-16 Sven Neumann - - * demos/gtk-demo/appwindow.c - * demos/gtk-demo/menus.c: reduce compiler warnings - -Thu Nov 15 19:47:09 2001 Owen Taylor - - * demos/gtk-demo/main.c (button_press_event_cb): Remove - unused callback to make things compile with - gtk_tree_view_path_at_pos_change(). - -Thu Nov 15 18:44:33 2001 Jonathan Blandford - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160 - -2001-11-15 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407) - -Thu Nov 15 16:24:55 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function - to get a GdkWindow to compare event->window to. - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit - the signal for lateral motion too, #64361 - - * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window - arg as it is useless, #64137 - -Thu Nov 15 16:07:42 2001 Owen Taylor - - * gtk/gtknotebook.c: Some small drawing fixes for scroll arrows. - -Thu Nov 15 14:19:34 2001 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal - gdk_window_invalidate_maybe_recurse() for recursion. - (Soeren Sandmann) - - * gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann) - - * gtk/gtkcontainer.c (gtk_container_expose): Call - gtk_container_forall() not _foreach() to propagate, - since we need to propagate exposes to internal children - as well. - - * gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events): - Remove the restriction of only being able to call these - on window widgets, since we have lots of NO_WINDOW widgets - with windows now; for add events, recurse over the children - of widget->window to find one owned by the widget. - - * gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only - window to catch events. - - * gtk/gtktogglebutton.[ch]: Remove the code for switching - between NO_WINDOW and WINDOW widgets based on the mode. - - * gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c - gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton. - - * gtk/gtkrange.[ch]: Make into a NO_WINDOW widget. - - * gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW - change for range. - - * gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget. - - * docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes. - -Thu Nov 15 11:59:35 2001 Owen Taylor - - * gtk/gtkmessagedialog.c: Patch from Murray Cumming to add - "message_type" and "buttons" CONSTRUCT properties. (#64069) - - * tests/testsocket.c: Expand tests to add a "local passive - child" (Test case for #64428) - -2001-11-14 jacob berkman - - * gtk/gtkgamma.c (button_clicked_callback): create the label with - a mnemonic - -2001-11-15 Sven Neumann - - * tests/testgtk.c: make it compile without warnings. - -2001-11-14 Alex Larsson - - * gtk/gtklabel.c: - Don't recalculate the layout on each gkt_label_ensure_layout () for - wrapped labels. - -Wed Nov 14 17:40:23 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Return - the currently selected column when we get the column, #64380 - - * gtk/gtkentry.c (gtk_cell_editable_key_press_event): Handle Esc - to cancel CellRendererText editting, #63613 - - * gtk/gtkcellrenderertext.c: ditto - - * gtk/gtkcellrenderertext.h: formatting changes - -2001-11-14 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_get_label): Rearrange docs (#64566) - - * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Typo fix (#64474) - - * gtk/gtkruler.c (gtk_ruler_get_metric): Typo fix (#64470) - - * gtk/gtknotebook.c (gtk_notebook_prepend_page): Typo fix (#64467) - - * gtk/gtklabel.c: Documentation fixes (#64452) - -2001-11-14 Daniel Egger - - * gdk-pixbuf/io-xpm.c: - (xpm_skip_whitespaces): Remove unused static function. - (xpm_skip_string): Dito. - (xpm_extract_color): Declare const variable const to avoid warnings. - - * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function. - - * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code. - - * gtk/gtksocket.c: Change type of mask to g_message to %ld for - a long. - -Wed Nov 14 15:14:48 2001 Owen Taylor - - * gtk/gtkcontainer.c (gtk_container_idle_sizer): Back - out accidental commit of debugging timing code. - -2001-11-14 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_move_cursor): fix Control-E so - it doesn't move to a new line each time you press it - - * gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix - return value, #62987 - -2001-11-14 Havoc Pennington - - * tests/testtextbuffer.c (main): bulk of the tests were commented - out, oops. - - * gtk/gtktextiter.c (find_paragraph_delimiter_for_line): make this - function work, should resolve #63426 - (gtk_text_iter_ends_line): return TRUE for the end iterator - - * gtk/gtktextiter.h: put padding back in GtkTextIter, I thought of - a couple things that might get cached in here. - -Tue Nov 13 21:00:59 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new - "model" construct property for language bindings. - - * gtk/gtktreestore.c (gtk_tree_store_set_column_types): New - function to let you set the column types of a GtkTreeStore for - language bindings. - - * gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto. - -2001-11-13 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_add_child_in_window): docs - including reference to bugzilla bug about how we should have - a better way of positioning children - - * gtk/gtktextview.h (struct _GtkTextViewClass): add some padding - - * gtk/gtktextview.c (gtk_text_view_size_allocate): assign zero - size to side rects if they don't exist, #63438 - -2001-11-13 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_key_press_event): fix to - properly replace selection with Return or Tab - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): fix broken code - that didn't locate the end of the line correctly, should fix #63800 - -2001-11-13 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_size_request): add border width - to requisition, request non-anchored children - (gtk_text_view_size_allocate): handle border width, allocate - non-anchored children - (text_view_child_new_window): set the child as object data - (gtk_text_view_move_child): allow children at negative - coordinates, no reason why not - (gtk_text_view_forall): make it copy the list of children before - walking it, to avoid reentrancy issues - (gtk_text_view_move_child): short-circuit if position is unchanged - (changed_handler): only queue_resize if requisition has changed - (gtk_text_view_init): don't redraw_on_allocate, since we can do - a better job of invalidation ourselves - - * tests/testtext.c: add tests for the fixed-position children - -Tue Nov 13 19:51:43 2001 Tim Janik - - * gtk/gtkwindow.c (handle_accels_changed): protect idle handle - with gdk threads macro. - -Mon Nov 12 23:08:37 2001 Tim Janik - - * gtk/maketypes.awk: fix type utils generation on unix. - - * gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator - registry. - - * gtk/gtkaccelgroup.[hc]: major API/implementation revamp: - removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default, - gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry, - gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove, - gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object. - introduced ::accel_changed signal for change notification, and - gtk_accel_group_connect/disconnect to connect closures to accel groups. - made gtk_accel_group_attach/detach and gtk_accel_group_activate private - functions. - deprecated gtk_accel_group_ref/unref. - - * gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention - to accel group changed notification and basically operate on closures. - removed gtk_accel_label_get_accel_object and - gtk_accel_label_set_accel_object. - introduced gtk_accel_label_set_accel_closure, and for convenience, - gtk_accel_label_set_accel_widget. - - * gtk/gtkitemfactory.[hc]: removed accelerator propagation code - which mostly moved into gtkaccelmap.[hc]. - removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_* - and gtk_item_factory_print_func. - - * gtk/gtkmain.c: call _gtk_accel_map_init(). - - * gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(), - that associates an accelerator path with menu items, through which - persistent accelerator settings on menu items are enabled. - - * gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator - paths of menu item can be default constructed to allow installation - of accelerators on menu items that don't come with an accelerator - binding by default. - - * gtk/gtksettings.c: fix STRING type rc settings by special casing - them appropriately in the parser. - - * gtk/gtksignal.[hc]: allow a class function offset of 0 for - gtk_signal_newv(). - - * gtk/gtkwidget.[hc]: accelerator API revamp. - removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal, - gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and - gtk_widget_(un)lock_accelerators. - accelerators maintained through gtk_widget_add/remove_accelerator() - are not runtime changable now, the correct sequence to setup a - widget for runtime changable accelerators is now: - gtk_accel_map_add_entry(accel_path, key, mods); - _gtk_widget_set_accel_path(widget, accel_path, accel_group); - - * gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel - group changes (as well as mnemonic changes) through the new signal - ::accels_changed. - -Sat Nov 10 12:08:56 2001 Tim Janik - - * gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle - GString->string conversions. - -Mon Nov 12 19:33:52 2001 Owen Taylor - - * gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn - if GTK_DIALOG_NO_SEPARATOR is passed in and ignore it. - -2001-11-12 Matthias Clasen - - * gtk/gtktreeview.c: Documentation fixes. (#64377) - - * gtk/gtktreestore.c: Documentation fixes. (#64376) - -2001-11-11 Matthias Clasen - - * gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c, - gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c, - gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs. - (#63544, #57007, #64141, #63472, #57108, #60818, #61562) - -2001-11-10 Hans Breuer - - * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure - we know what we are talking about when asked for MINMAXINFO. - Also some cleaning for !HAVE_DIMM_H etc. - -2001-11-10 Matthias Clasen - - * gtk/gtktreeviewcolumn.c: Fix docs for - gtk_tree_view_column_set_sort_order. (#62647) - - * gtk/gtkcontainer.c: Fix docs for - gtk_container_set_border_width. (#64139) - - * gtk/gtkcolorsel.c: Documentation fixes. - -2001-11-10 Hans Breuer - - * gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms - don't have strcasecmp() - - * gtk/gtktextview.c : to fix crashing on e.g. TextView::find need - to remove the idle funcs in gtk_text_view_destroy (). To reduce - code duplication wrap it in its own function and use it in - gtk_text_view_unrealize () and gtk_text_view_destroy_layout () - - * gdk/win32/gdkdrawable-win32.c : implement the finalize - method like the X11 version does, allow to set_colormap NULL - * gdk/win32/gdkwindow-win32.c : adapt GdkWindowImplWin32:: - set_colormap, also some adaption to X11 version : - (gdk_window_hide) call _gdk_window_clear_update_area - (gdk_window_reparent) call _gdk_window_init_position - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints) : - call gdk_window_resize() after all hints are set, because the - window resizing process (WM_GETMINMAXINFO) takes all of them into - account - - * gdk/win32/gdkfont-win32.c : make gdk_font_equal return a gboolean - - * gdk/win32/gdkvisual-win32.c : register GdkVisual with - sizeof (GdkVisualPrivate) - - * gdk/gdk.def gtk/gtk.def : upated externals - - * gdk/makefile.msc gdk/win32/makefile.msc gdk-pixbuf/makefile.msc - gdk-pixbuf/pixops/makefile.msc gtk/makefile.msc.in tests/makefile.msc : - from now on use make.msc from $(TOP)/glib/build/win32 - - * gtk/stock-icons/makefile.msc : add stock_missing_image - -2001-11-08 Tor Lillqvist - - * README.win32: Add headers. Add section about ActiveIMM. - - * configure.in: Add --with-ie55 flag to specify the location of - the "IE55 libs and headers" package downloadable from Microsoft, - which contains, among other things, the Active IMM header dimm.h - and UUID library uuid.lib. Use test -f instead of AC_CHECK_FILE. - Require GLib 1.3.10. - - * config.h.win32.in: New version, produced by merging two - configure-generated ones (for gcc and MSVC). Hopefully #defines - the same flags that the previous, hand-written one, did. - - * gdk/Makefile.am - * gdk/win32/Makefile.am: Handle the uuid library from the IE55 lib. - - * gdk/win32/gdkevents-win32.c: Conditionalize ActiveIMM - stuff. Remove unused GdkIOClosure. - - * gdk/win32/surrogate-dimm.h: Remove, use real dimm.h instead (if - available). - - * gdk/win32/libie55uuid.la: New file, handwritten libtool wrapper - for uuid.lib. (Does it really have to be this hard to use an - existing library with libtool? Probably I am missing something.) - -2001-11-08 Darin Adler - - * gtk/gtklabel.c: (gtk_label_ensure_layout): Fix an obvious - typo where it says LEFT instead of CENTER. - -2001-11-07 Darin Adler - - * gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive), - (gtk_dialog_set_default_response): Add g_return_if_fail. - -Mon Nov 5 22:34:29 2001 Owen Taylor - - * gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface): - Add row_draggable() vfunc, and wrapper function. - - * gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make - row_drop_possible take a GtkSelectionData, rather than - model/row pair. - - * gtk/gtktreestore.c gtk/gtkliststore.c: Update for - new DND interfaces. - - * gtk/gtktreeview.[ch]: Remove the row_draggable_func - location_dropable_func from gtk_tree_view_set_rows_drag_source/dest. - and rename them to enable_model_drag_source/dest. - - * gtk/treeviewcolumn.c: Add DND of columns between rows. - Still can't drop _to_ the left tree, but other places - work. - - * gtk/gtktreeview.c (unset_reorderable): Unset the - reorderable property if unset/enable_model_drag_source/dest - are called manually. - - * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): - Correct for change in depth count handling. - - * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): - Pass in a expose area to gtk_tree_view_column_cell_render() - -2001-11-06 Havoc Pennington - - * demos/gtk-demo/textview.c (easter_egg_callback): wacky easter egg - -Tue Nov 6 10:13:16 2001 Owen Taylor - - * gdk/x11/gdkgc-x11.c: Fix misplaced HAVE_XFT. - -2001-11-05 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_paint): expose the child - widgets in here - (gtk_text_view_realize): set parent window of child widgets - (gtk_text_view_size_request): use child req to decide whether - to invalidate layout, not widget->requisition - - * gtk/gtktextdisplay.c (render_layout_line): set - shaped_width_pixels for NULL shape objects, so that we properly - draw the "missing pixbuf/widget" thing - (render_layout_line): don't draw the widget here - (gtk_text_layout_draw): pass out a list of widgets that need exposing - - * demos/gtk-demo/textview.c (insert_text): add demo of child - widgets - - * gtk/gtktextlayout.c (add_child_attrs): remove debug spew - - * gtk/gtktextdisplay.c (render_layout_line): remove debug spew - - * gtk/gtktextview.c (gtk_text_view_update_child_allocation): add - scroll offsets - (gtk_text_view_value_changed): poke new X and Y into child allocations - -2001-11-06 Tor Lillqvist - - * gtk/gtkmain.c (find_module): Do search GTK_BINARY_VERSION - -specific directory on Windows, too (#63759). - -Mon Nov 5 12:46:44 2001 Owen Taylor - - * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c - gdk/x11/gdkpixmap-x11.c gdk/x11/gdkprivate-x11.h - gdk/x11/gdkwindow-x11.c: Redo Xft support to go - directly to Picture objects instead of using XftDraw. - This fixes the problem where we weren't able to - properly destroy XftDraw objects before destroying - the accompanying windows, and probably improves - efficiency a bit too. (#50214) - -Mon Nov 5 10:01:49 2001 Owen Taylor - - * gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): - Clamp max window width/height to 32767, not 32768 since - we have to be able to deal with a dx/y of -32768 without - getting a width of 65536 when guffaw scrolling. - - * gdk/x11/gdkgeometry-x11.c: Implement gdk_window_scroll() - for the guffaw scrolling case, fixing some problems with - copy-area case as well. Fix BadValue bug with moving windows - by large amounts. - - * gdk/x11/gdkgeometry-x11.c (gdk_window_clip_changed): Update - clip in window structue before calling gdk_window_invalidate_region - since that trims new invalidations to the window's visible - region. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_gravities): - Really set the static window gravity on the children, not - repeatedly on the window. - - * gtk/testgtk.c: Add a torture test for big windows and - gdk_window_scroll(). - -Sun Nov 4 17:36:08 2001 Manish Singh - - * acconfig.h configure.in: sigsetjmp is macroized in some places, - so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check. - -Sun Nov 4 19:16:23 2001 Owen Taylor - - * gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse() - in terms of pango_color_parse(). - - * gdk/{linux-fb,win32,x11}/gdkcolor-*.c: Remove port-specific - gdk_color_parse() implementations. - -Sun Nov 4 18:39:43 2001 Owen Taylor - - * gtk/gtksizegroup.c (gtk_size_group_set_mode): - queue_resize_on_group with both the old and new mode, not - just the new mode. (#60171, Nicolas Setton). Also, notify - the "mode" property. - -Sun Nov 4 16:02:08 2001 Owen Taylor - - * gdk/gdkwindow.[ch]: Add a function gdk_window_invalidate_maybe_recurse() - for use in "shallow invalidation" of a widget. (Windows belonging - to the widget, but not to the widget's children) - - * gtk/gtkprivate.h gtk/gtkwidget.c gtk/gtksizegroup.c: Add private - flags GTK_ALLOC_NEEDED, GTK_REQUEST_NEEDED. These flags are set - up on ancestors up to the resize container on queue_resize. Size - requests only actually take place if GTK_REQUEST_NEEDED, size - allocations only take place if GTK_ALLOC_NEEDED or the size - changed. - - * gtk/gtkcontainer.c gtk/gtkwidget.c: Remove - container->resize_widgets and the RESIZE_NEEDED flag since the - above flags are sufficient to figure out what needs to be - resized/reallocated. Remove code manipulating - container->resize_widget. - - * gtk/gtkwidget.[ch]: Add gtk_widget_set_redraw_on_alloc(); this - allows widgets to turn off being automatically invalidated is when - they are resized. - - * gtk/gtkwidget.[ch] (gtk_widget_size_allocate): Invalidation when - a widget is resized or moved is "shallow" as described above - - only the windows that need to be invalidated are invalidated. - - * gtk/gtkbox.c gtk/gtktable.c gtk/gtkalignment.c docs/Changes-2.0.txt: - Make these widget's init functions call - gtk_widget_set_redraw_on_allocate(widget,FALSE). - - * gtk/gtkwindow.c (gtk_window_configure_event): Call - _gtk_container_queue_resize(), since we don't want - redrawing. (Probably could be done for other - calls to gtk_widget_queue_resize() in gtkwindow.c, - but this is the most important one.) - - * gtk/gtkwindow.c (gtk_window_move_resize): Don't call - gtk_widget_queue_draw() - size_allocate() handles - that as appropriate. - - * gtk/gtkframe.c (gtk_frame_size_allocate): Invalidate instead - of queue_clear() to avoid invalidating children. - -2001-11-04 jacob berkman - - * gtk/gtkmain.c (find_module): don't free the module name until - after we load the module - -Sat Nov 3 13:57:21 2001 Owen Taylor - - * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer - derivation instead of boxed derivation. - - * gtk/gtkmarshal.list: Remove some now unused marshallers. - -2001-11-04 Tor Lillqvist - - * gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the - include yesterday, without really thinking), as that defeats the - working of correct_libdir_prefix() (it becomes a no-op.). Add - comment mentioning that. Thanks to Hans Breuer for noticing. - -2001-11-03 Daniel Elstner - - * gtk/gtkwindow.h (frame_event): Use GtkWindow* as first - signal argument (was GtkWidget*). - - * gtk/gtkwindow.c (gtk_window_frame_event), - gtk/gtkwindow-decorate.c (gtk_decorated_window_frame_event): - Fixed argument types as above, removed GTK_WINDOW casts and - added some GTK_WIDGET casts instead. - -2001-11-03 Hans Breuer - - * gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain - finalize to parent class to get removed from the toplevel_list. - Should fix 'random' crashes of #63474. - - * gtk/gtktreemodelsort.c : chain finalize() to parent class - -2001-11-03 Tor Lillqvist - - * modules/input/Makefile.am: Use -no-undefined on Windows. Look - for .dll or .so as appropriate as module suffix. - - * gtk-zip.sh.in: Use correct import library names. - - * gtk/gtk.def: Add a couple of missing entry points. (#63585) - - * gtk/gtkimmodule.c (correct_libdir_prefix): New function, used on - Windows to turn build-time paths from a gtk.immodules distributed - as part of a binary package into runtime ones in the - end-user-chosen installation directory. - (gtk_im_module_init): Use it for module path and domain - directory. - -2001-11-02 Tor Lillqvist - - * gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous - comma. Include gtkprivate.h for GTK_LIBDIR etc definitions on - Windows. - -2001-10-30 Tor Lillqvist - - * Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc - files. Configure on Win32 (running on Cygwin) thinks symlinks - exist, but pkg-config is not necesarily a Cygwin program, and - doesn't understand them. - -Fri Nov 2 16:45:17 2001 Jonathan Blandford - - * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code - a bit. I don't think it's completely correct yet, but it's - getting there. - -Fri Nov 2 16:14:15 2001 Owen Taylor - - * gtk/gtkviewport.c (gtk_viewport_size_request): Remove - random + 5 for width and height. If people want padding, - they should add padding. (Note the +5 isn't padding - that will always appear - it just appears in the case - where the widget is allocated it's requisition.) - (#51018, Janet Davis) - -Fri Nov 2 15:53:23 2001 Owen Taylor - - * gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad - the structure for future expansion. - -Fri Nov 2 15:30:34 2001 Owen Taylor - - Patch from HideToshi Tajima (#51922) - - * gtk/gtkimmulticontext.c: Proxy set_use_preedit(). - - * gtk/modules/input/gtkimcontextxim.[ch]: Implement - set_use_preedit(). - - * gtk/modules/input/gtkimcontextxim.[ch]: If we have - to destroy the input context because we change the - client window or use_preedit, make sure we empty - the preedit string. - -Fri Nov 2 14:55:53 2001 Owen Taylor - - * gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c, - gtkgamma.c,gtkmessagedialog.c}: Go to the GUP - proposed ordering of buttons with [OK] in the lower - right hand corner. Patch from Gregory Merchan, - #56331. - -Fri Nov 2 11:51:49 2001 Jonathan Blandford - - * gtk/gtklabel.c (gtk_label_select_region_index): remove - extraneous gtk_label_clear_layout (label) - -2001-11-02 Sebastian Wilhelmi - - * tests/makefile.msc, gtk/makefile.msc.in: Removed - -DGTK_DISABLE_COMPAT_H. - - * docs/Changes-2.0.txt: - s/GDK_DISABLE_COMPAT_H/GDK_DISABLE_DEPRECATED/ - - * gtk/gtkcompat.h.in, gdk/gdkcompat.h: Removed from CVS. - -Fri Nov 2 10:21:03 2001 Owen Taylor - - * examples/**/Makefile.am: Convert to use pkg-config - rather than gtk-config. (#53375, Skip Montanaro) - -2001-11-02 Matt Wilson - - * gtk/gtkdialog.c (find_child_by_response_id): remove totally - broken unused, non-compiling, static function. - -Fri Nov 2 08:17:06 2001 Owen Taylor - - * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): - Iterate through children of the action area, not of - the vbox. (#58278, Sergey Kuzminov) - -2001-11-01 Havoc Pennington - - * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in - order to remove a workaround in Nautilus that forced - GTK_ENABLE_BROKEN - - * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs - -Thu Nov 1 20:09:31 2001 Owen Taylor - - * gtk/gtkrange.c: Patch from George Lebl to - fix division by zero for full scroll bars. (#62114) - -Thu Nov 1 19:56:40 2001 Owen Taylor - - * gtk/gtkmain.c (gtk_main_do_event): ref/unref - around gtk_widget_event() if we are going to - set a flag afterwards. (#63464) - -Thu Nov 1 19:44:48 2001 Owen Taylor - - * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am: - Actually add the missing/broken image icon as the - image for the "missing image" stock icon. - -Thu Nov 1 19:18:34 2001 Owen Taylor - - * demos/gtk-demo/stock_browser.c (do_stock_browser): - Set a reasonable default height for the window. - - * demos/gtk-demo/stock_browser.c (id_to_macro): Fix - bug where subsequent '-' weren't converted to '_'. - (#59550, Matthias Clasen) - - * demos/gtk-demo/appwindow.c (menu_items): Don't right - justify the Help menu - just include a comment on - how to do it. (#63539, Marius Andreiana) - - * gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't - list GTK_ICON_SIZE_INVALID. - - * demos/gtk-demo/stock_browser.c: Show the biggest available - size, not a fixed size. (Often reported, including #63539, - Marius Andreiana) - -Thu Nov 1 19:11:35 2001 Jonathan Blandford - - * gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup, - #59583 - - * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix - warning. - -Thu Nov 1 16:54:00 2001 Owen Taylor - - * gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint. - (Daniel Elstner). - -Thu Nov 1 16:20:56 2001 Owen Taylor - - * gtk/gtkimcontext.[ch]: Add: - - A ::retrieve_surrounding signal that asks the widget for - context around the insertion point. - - A ::delete_surrounding signal that asks the widget to - delete context aroudn the insertion point. - - gtk_im_context_set_context() for widgets to set context - around the insertion point in response to ::retrieve_context. - - gtk_im_context_get_context() for context to get context - around the insertion point - - * gtkmarshal.list: Add BOOL:INT,INT - - * gtk/gtkimmulticontext.c: Proxy the get_surrounding() / - set_surrounding() methods, and the ::retrieve_surrounding / - ::delete_surrounding signals. - - * gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the - GtkIMContext::retrieve_surrounding / ::delete_surrounding - signals. - -Thu Nov 1 15:45:04 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): - it's amazing how well things work sometimes, even when they're - completely wrong. - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug - where you could try to collapse a node w/o it having children. - - (gtk_tree_view_class_init): remove Shift L<->R as they already - existed for expand/collapse. - -Thu Nov 1 12:21:31 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash - found by Matt Wilson. - -Thu Nov 1 00:44:50 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, - Control, and Shift|Control L<->R, #63475 - -Wed Oct 31 18:53:51 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix - infinite loop noticed by yosh. - -2001-11-01 Michael Meeks - - * gtk/gtksocket.c (gtk_socket_unrealize): unset the - GTK_REALIZED flag so we don't re-enter when we are - destroyed from the plug side. - -Wed Oct 31 18:23:47 2001 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_detacher): - Add a "menu" property and notify on it. (#62798, - Padraig O'Briain) - - * gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c, - gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}: - Fix set_text to take a gchar, not a guchar, and to have - a len argument. - -Wed Oct 31 15:31:13 2001 Manish Singh - - * gtk/gtkstock.c: fix typo to make it compile - -Wed Oct 31 17:27:20 2001 Jonathan Blandford - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): if - the widget is insensitive, draw the text insensitively, #63306 - -2001-10-31 Matthias Clasen - - * gtk/gtkstock.c: Add stock items for most stock icons. (#61757) - -Wed Oct 31 16:53:48 2001 Jonathan Blandford - - * gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename - gtk_selection_data_set_tree_row, #60218 - (gtk_tree_get_row_drag_data): rename - gtk_selection_data_get_tree_row, #60218 - - * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually - get this right, after the third try, #63122. - -2001-10-31 jacob berkman - - * gdk/gdkselection.h (GDK_TARGET_STRING): - (GDK_SELECTION_TYPE_STRING): these should be 31, not 3. Hooray - for Xatoms (and not using the XA_* macros)! - -Wed Oct 31 15:38:14 2001 Owen Taylor - - * gtk/gtkwindow.[ch] (gtk_window_get_focus): Add a - gtk_window_get_focus() getter to determine the currently - focused widget within the window. (#63145, request - from Damian Ivereigh) - -Wed Oct 31 14:45:08 2001 Jonathan Blandford - - * gtk/gtkenums.h (enum): Add GTK_SELECTION_NONE enum, #61695 - - * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Handle new - GTK_SELECTION_NONE enum. - (_gtk_tree_selection_internal_select_node): ditto - - * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): add - constness. - - * gtk/gtkcellrenderertoggle.c: more yummy constness. - - * gtk/gtkclist.c (gtk_clist_set_selection_mode): g_return_if_fail - if mode == GTK_SELECTION_NONE - -Wed Oct 31 14:05:17 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Added a - "cursor_changed" signal, #62850. - -2001-10-31 Matt Wilson - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_alloc): after - allocating the treedatalist, zero it to make sure the values are - cleared from any garbage that was in this chunk. - -2001-10-31 Murray Cumming - - * gtk/cellrenderertext.h: "edited" default signal handler - gchar* args are now const. - gtk/cellrenderertoggle.h: "toggled" default signal handler - gchar* arg is now const. - Also changed other signal handlers for "edited" and "toggled" to - have the same signature. - -Tue Oct 30 19:17:57 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize - rewrite. Static models now totally work. I'm not 100% sure about - row_inserted and row_changed, but I'll get those later. - -2001-10-30 Sven Neumann - - * configure.in: use GLIB_AC_DIVERT_BEFORE_HELP() so we get proper - output for configure --help. - -2001-10-30 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): Update the IM spot location - here, if text was invalidated in the visible area, because the - scroll offset doesn't normally change in that case, and the mark - isn't set, just implicitly moved over as text is added/removed - -Mon Oct 29 19:18:35 2001 Jonathan Blandford - - * gtk/gtkseparatormenuitem.c: Code cleanup. - (gtk_separator_menu_item_class_init): Fix bugs in this code. - -2001-10-29 jacob berkman - - * gdk/Makefile.am (LDFLAGS): - * gtk/Makefile.am (LDFLAGS): automake doesn't support conditionalized - LDFLAGS, so put win32 flags in here - -Mon Oct 29 15:41:58 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): Darn. - I can't believe this took this long to fix. - -Mon Oct 29 13:54:49 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix - reordered signal. - -Mon Oct 29 12:27:51 2001 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab - the focus to the fileop entry for create dir / rename - file. (#62838) - -Mon Oct 29 12:21:49 2001 Owen Taylor - - * configure.in: Don't use AC_CHECK_FILE to check for a - file since it always spits warnings about cross compilation, - use -f instead. It's not like we cross compile properly - anyways. - - * configure.in (gtktargetlib): Move call to AC_PROG_CC - to suppress autoconf warning. - - * acconfig.h: Add some missing #undefs from recent - Win32 additions. - -Mon Oct 29 11:31:40 2001 Owen Taylor - - * m4macros/gtk-2.0.m4: Don't try to use pkg-config - when we didn't find it. (#62944, Eric Lemings) - - * m4macros/gtk-2.0.m4: Fix problem with spaces around = - sign in assignment. (#63209, Arkadiusz Miskiewicz) - -2001-10-29 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate - the buttons size request before using it. Fixes #61696. - -2001-10-29 Tor Lillqvist - - * README.win32: Updates. - - * gtk-zip.sh.in: New file, used to build distribution package for - Windows. - - * gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when - applicable with GDKVAR. - - * gdk/win32/libwntab32x.la: New file, hand-written wrapper for the - Wintab library. - - * gdk/win32/gdkwin32.h - * gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding - X11 headers better, and to enable gdkwin32.h to be installed and - included from applications, but not the *-win32.h headers. - - * gdk/win32/*.c: Corresponding small changes, simplifications of - #includes. - - * gdk/win32/gdkregion-win32.c: Remove. - - * gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING. - - * gdk/win32/gdkfont-win32.c - * gdk/win32/gdkgeometry-win32.c: Remove unused variables. - - * gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert - GDK_NONE values into hash table. - - * gtk/gtk.def: Update. - - * gtk/gtkfilesel.c: Include (if available) for - gethostname(). - - * gtk/gtkmain.c - * gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL - entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR, - GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call - g_win32_get_package_installation_subdirectory() with the actual - DLL name saved above. Redefine above directory name macros to call - these functions. Remove some ifdefs. - - * gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks - variable for export on Win32) also to the _vars file. - - Changes for autoconfiscated build on Win32, and addition of Win32 - backend to the related files: - - * configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use - when forming DLL name in some files. Set MS_LIB_AVAILABLE is - lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set - PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add - win32 target, using pangowin32. Don't use the - -export-symbols-regex option on Win32, we use .def files to list - exported symbols. Check (for gethostname() in - gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to - prevent premature m4 expansion. - - * acconfig.h: Add HAVE_WINTAB. - - * gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated - macros and rules. Use -no-undefined on Win32. Use gdk.def file. If - MS_LIB_AVAILABLE, build MS import library. Install the import - libraries. If HAVE_WINTAB, link with the Wintab library. - - * gdk/win32/Makefile.am: Actually enable building the win32 - objects here, not just list all files in EXTRA_DIST. Link in the - compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB, - copy the Wintab library into the .libs directory. - - * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the - name of the GDK DLL when fetching the icon. Use the HMODULE saved - in gdk_dll_hinstance by DllMain. - - * gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the - build/win32/lt-compile-resource script. - - * gdk/win32/rc/gdk.rc.in - * gtk/gtk-win32.rc.in: Use the DLL name that libtool would use. - - * gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated - macros and rules. Use -no-undefined on Win32. Use gtk-win32.def - file. Install import libraries. - -2001-10-29 Anders Carlsson - - * gtk/gtkiconfactory.c (get_default_icons): Fix build. - -2001-10-28 Hans Breuer - - * gdk/gdk.c gdk/gdkevents.c - gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c - gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c - gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c - gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c - gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c - gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h - gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h : - static correct-ness, underscore prefixing of library internal - functions - (applied the undisputed and the win32 part. Of the latter - I'm probably the one who will change it back again, if Owen - decides that the Gdk*Impl types should not be private to Gdk) - - * gdk/gdk.def : added the remaining exported functions - -2001-10-28 Matthias Clasen - - * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c, - gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c, - gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates. - -2001-10-28 jacob berkman - - * gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call - gtk_settings_get_default() here as that requires an X connection - (which breaks doc building with no X connection) and is not - multihead safe - (gtk_color_selection_init): delay palette loading until realize - time - (gtk_color_selection_realize): load the palette, and initialize - the global palette if it hasn't been already - - * gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the - visual/cmap fields of klass->info since they are gone - (gtk_preview_get_visual): just return gdk_rgb_get_visual () - (gtk_preview_get_cmap): just return gdk_rgb_get_colormap () - (gtk_preview_realize): don't set VISUAL and COLORMAP attributes - - * gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and - cmap fields - (gtk_preview_get_visual): - (gtk_preview_get_cmap): mark as deprecated - - * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo - changes - -Sun Oct 28 09:15:39 2001 Owen Taylor - - * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed - structure to have GObject not GtkObject as - parent_instance. (Jeff Franks.) - -2001-10-27 Matthias Clasen - - * gdk/x11/gdkinput.c: Typo fix. - -2001-10-26 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_mark_set_handler): Call - update_im_spot_location here explicitly - (gtk_text_view_reset_im_context): don't update the spot location - here - -2001-10-27 Anders Carlsson - - * gtk/gtktreemodel.c (gtk_tree_model_get): Fix typo in docs. - This fixes #62942. - - * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): - Clarify that we're returning a spin button in the _new function. - This fixes #54097. - -Fri Oct 26 20:55:57 2001 Owen Taylor - - * gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST. - Unfortunately, people apparently erroneously connect - to ::clicked for GtkToggleButton and expect - they know what happened in the default signal handler - instead of appropriately connecting to notification - signal ::toggled. When the revolution comes, such - people will be first against the wall. - - We'll just have to go back to the old less-reliable - set-it-back hacks for handling model-view check - buttons and radio buttons. :-(. - -2001-10-27 Hans Breuer - - * gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c - gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c - gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c - gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c - gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c - gtk/gtktreestore.c gtk/gtkvbbox.c : - to simplify parsing for exported functions: - - made implementation signature static, when the local - prototype already was - - put the functions return value on it's own line - - added as space between the function name and the - opening bracket - - * gtk/gtk.def : added the remaining exported functions - -2001-10-27 Anders Carlsson - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): - Add note about width having to be greater than 0. This fixes - #55574. - - * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_start): - Fix docs to say previous instead of next. - (gtk_text_iter_backward_word_start): Likewise. - This fixes bug #62980. - - * gtk/gtkcontainer.c (gtk_container_set_border_width): Mention - that the valid width is in range 0-65535 pixels. Fixes bug - #56754. - - * gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove - a dot in the documentation. Fixes bug #62632. - - * gdk/x11/gdkmain-x11.c: Replace int and guint with - long and gulong in some places to make the code 64-bit - clean. - (_gdk_windowing_init_check): Replace gint with gulong. - This patch was made by George Lebl and fixes bug #62113. - - * tests/testgtk.c (create_range_controls): Don't set a - fixed height on the hscale widget. This fixes "bug" - #55840. - (create_window_states): Set up destroy signals so that - all windows will be destroyed when one is. This fixes - bug #58133. - -2001-10-26 Anders Carlsson - - * gtk/gtktreeview.c: - (gtk_tree_view_class_init): Create new "indent_expander" - style property. - - (gtk_tree_view_get_arrow_xrange): Add a tree argument - to the function since the xrange can change depending - on where in the tree we are. - - (coords_are_over_arrow): Update function call to - gtk_tree_view_get_arrow_xrange. - (gtk_tree_view_draw_arrow): Likewise. - - (gtk_tree_view_real_expand_collapse_cursor_row): - Call real_{expand|collapse}_row, so that we'll have an - animation. - -Fri Oct 26 20:13:36 2001 Kristian Rietveld - - * tests/Makefile.am: fixed a small typo - -Fri Oct 26 18:27:11 2001 Kristian Rietveld - - * demos/gtk-demo/list_store.c (create_model): Anders - Carlsson suggested to use G_N_ELEMENTS here - -2001-10-26 Sven Neumann - - * gtk/gtkbutton.[ch] - * gtk/gtkdnd.c: fixed inline comments - - * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar. - -2001-10-26 Hans Breuer - - * gdk-pixbuf/gdk_pixbuf.def : - * gdk/gdk.def : - * gtk/gtk.def : updated externals - - * gdk/win32/gdkpixmap-win32.c : removed duplicate of - gdk_window_lookup implementation. It already was in - gdk/win32/gdkwindow-win32.c - - * gdk/win32/gdkproperty-win32.c : made it compile again - after GdkAtom API change - - * gtk/gtk/makefile.msc.in : updated - -Wed Oct 24 11:36:33 2001 Owen Taylor - - * configure.in (GTK_MICRO_VERSION): Version 1.3.10, - require GLib 1.3.10. - - * NEWS: updates. - -Thu Oct 25 16:27:29 2001 Jonathan Blandford - - * gtk/gtkrbtree.c (_gtk_rbnode_rotate_left): Add support for - invalid nodes. - (_gtk_rbnode_rotate_right): Ditto. - (_gtk_rbtree_node_mark_invalid): New function. - (_gtk_rbtree_node_mark_valid): New function. - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): We're a - GObject, not a GtkObject. - (gtk_tree_model_sort_row_has_child_toggled): Rewrote to be more - correct. - (gtk_tree_model_sort_row_deleted): ditto. - (gtk_tree_model_sort_{un,}ref_node): Fix. - - * gtk/gtktreeview.c: Protean incremental reflow support (commented - out) - - * gtk/gtktreeview.h (GtkTreeViewSearchEqualFunc): change char *key - to const char *key. - - * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper): - Important 1 line fix to fix a lot of refcounting woes. - -2001-10-25 Matt Wilson - - * gtk/gtktextview.c (gtk_text_view_destroy): call - gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which - now invalidates) so that we remove our idle functions. - (gtk_text_view_destroy_layout): remove the first_validate_idle as - well. - - * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for - the 'indent' property is G_MININT to G_MAXINT. Don't use - -G_MAXINT for the minimum of the 'rise' property, use G_MININT - instead. - -2001-10-24 Anders Carlsson - - * gtk/gtktreeview.c: - (gtk_tree_view_real_expand_row): add an animate argument - (gtk_tree_view_real_collapse_row): likewise - - (gtk_tree_view_button_press), (gtk_tree_view_button_release), - (gtk_tree_view_collapse_all), (gtk_tree_view_expand_row), - (gtk_tree_view_collapse_row): update functions that call - real_{expand|collapse}_row to set the animate argument - accordingly. - -2001-10-24 Alex Larsson - - * gdk/linux-fb/gdkfont-fb.c: - Update to new Pango APIs - - * gdk/linux-fb/gdkproperty-fb.c: - Update to new GdkAtom APIs - - * gdk/linux-fb/gdkwindow-fb.c: - Remove warnings - -Mon Oct 22 20:07:21 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_prepend): Fix docs, #62808 - -Wed Oct 24 22:54:07 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): treat - s_path as a child path - -Wed Oct 24 20:29:47 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.c: more changes in an attempt to get - it right. It's not yet ready for general consumption. - - * tests/treestoretest.c: add a button and entry for the new - iter_change function - (iter_change): new function, to test - the row_changed signal implementation of the GtkTreeModelSort - - * tests/testtreesort.c: cleanups, changes to test more features - of the GtkTreeModelSort at once - -2001-10-24 Havoc Pennington - - * gtk/gtktextbuffer.c (clipboard_clipboard_buffer_received): - remove hack to strip off the bogus newline, since we killed the - bogus newline; fixes #61779 - -2001-10-24 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't - create layout if we didn't have one - (gtk_text_view_set_buffer): invalidate so we get the idle handlers - as appropriate, avoids blanking the screen - (gtk_text_view_invalidate): new function to do invalidation, - containing old guts of invalidated_handler - -Wed Oct 24 10:29:47 2001 Owen Taylor - - * gtk/gtkalignment.c (gtk_alignment_class_init): Improve - dreadful tooltips. - -Tue Oct 23 17:31:42 2001 Owen Taylor - - * gdk/x11/gdkwindow-x11.c gdk/win32/gdkwindow-win32.c: Always - set window->parent (except or the root window itself); if - the window's parent is not a GdkWindow, or is a window of - type GDK_WINDOW_FOREIGN, set window->parent to the root parent. - - * gdk/gdkwindow.c (gdk_window_get_toplevels): Don't include - windows of type GDK_WINDOW_FOREIGN. - -2001-10-24 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_backward_chars): if we move to - the front of a segment, use the "slow" technique for moving - backward, so we don't mess up the any_segment field in the iter. - Fixes #57707 - - * tests/testtextbuffer.c: add code to detect #57707, to avoid - regression - -2001-10-23 Havoc Pennington - - * gtk/gtktextview.c (popup_targets_received): only sensitize Cut - if selection contains some editable text, #60975 - (gtk_text_view_scroll_to_iter): remove warning about scrolling - prior to map; it should actually be OK to do so in many cases, - it would be nice to warn about scrolling when many lines have - height 0, but I don't know what to do about that. Perhaps - move part of flush_scroll into this function? comment added - to consider this. - -2001-10-23 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): Correctly keep the same - text on the top of the screen, considering that the changed region - may have overlapped the first paragraph. Should fix msw's "text - widget scrolled to wrong place on map" bug, and probably some - other scrolling cases as well. - (gtk_text_view_set_scroll_adjustments): start adjustments at 0.0, - instead of some random value - - * gtk/gtktextview.c (gtk_text_view_class_init): actually override - grab_focus, so #59708 is really fixed - -2001-10-24 Anders Carlsson - - * gtk/gtkentry.c: (append_action_signal): Use an image menu item here - (popup_targets_received): Call append_action_signal with stock items - - * gtk/gtklabel.c: (append_action_signal): Use an image menu item here - (gtk_label_do_popup): Call append_action_signal with stock items - - * gtk/gtktextview.c: (append_action_signal): Use an image menu item here - (popup_targets_received): Call append_action_signal with stock items - -2001-10-23 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): queue a resize here; will - temporarily slow down the widget a lot, until we figure out how to - optimize to avoid full redraw everytime we queue a resize. - -2001-10-23 Havoc Pennington - - * gtk/gtktextiter.c (test_log_attrs): handle case where offset == - 0 and char_len == 0, bug #61729 - -2001-10-23 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix - return value, #61714 (Vitaly Tishkov) - (gtk_text_iter_backward_sentence_starts): ditto - (gtk_text_iter_backward_word_starts): ditto - (gtk_text_iter_forward_word_ends): ditto - (gtk_text_iter_forward_sentence_ends): ditto - (gtk_text_iter_backward_cursor_positions): ditto - -2001-10-23 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply - fix from Dov Grobgeld, #61858 - -2001-10-23 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_update_im_spot_location): - Update IM spot location at appropriate times, #50626 - (Hidetoshi Tajima) - -2001-10-23 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_grab_focus): scroll to cursor - on grab focus, unless it's caused by button click, #59708 - -Tue Oct 23 11:53:00 2001 Owen Taylor - - * gtk/Makefile.am (INCLUDES): Remove G_DISABLE_CONST_RETURNS. - - * gtk/gtkfontsel.[ch]: Make gtk_font_selection_get_font() - G_CONST_RETURN. (Murray Cumming) - - * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_preview_text): - Make G_CONST_RETURN. - - * gtk/gtkfilesel.c (open_user_dir): Fix bug with freeing - results of g_get_home_dir(). - - * gtk/gtkfilesel.c: Make filesel->fileop_file a duplicated - copy. Storing the return from gtk_entry_get_text() is evil. - - * gtk/gtkcombo.c gtk/gtkcellrenderertext.c gtk/gtkbindings.c - gtk/gtkfilesel.c gtk/gtkfontsel.c gtk/gtkimmodule.c - gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtktreedatalist.c - gtk/gtksignal.c: Add const. - - * gdk/x11/gdkkeys-x11.c (get_direction): Add missing const. - - * gtk/gtktreeview.c: Namespace object data keys to be safe, even - if we are setting them on private widgets. - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - Duplicate entry->text before setting it as object data. - -2001-10-22 Havoc Pennington - - * gtk/gtktextbuffer.c (gtk_text_buffer_place_cursor): don't back - up a char from the end iterator, fixes #61859 ("can't put cursor - at the end of the buffer") - - * gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix this - to work with delimiters other than newline. - - * tests/testtextbuffer.c: add some tests for get_chars_in_line, - get_bytes_in_line - - * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): fix for the - last line, since the newline is no longer counted. - (gtk_text_iter_get_bytes_in_line): ditto - -2001-10-22 Havoc Pennington - - * gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that - #58290 would trigger if it reappeared, I think - -2001-10-22 Havoc Pennington - - * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment): - add temporary code to dump btree contents on assertion failure - described in #62656 - - * gtk/gtktextbtree.c (ensure_end_iter_segment): add some - assertions that we're getting the right end iter segment - - * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment): - verify that we aren't on the end iterator after moving - forward one segment - fixes return value in an obscure case. - Also, some trivial code cleanup/rearranging. - -2001-10-22 Havoc Pennington - - * gtk/gtktextlayout.h: add a #error unless you define - GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally - - * gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate. - -2001-10-22 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix - #62365 - -2001-10-22 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_get_window_type): fix - #62436 - -2001-10-22 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_set_border_window_size): Fix - #62366 - -Mon Oct 22 11:47:47 2001 Owen Taylor - - * gtk/gtklabel.c: Add cursor-position, selection-bound - properties. (#62148, reported by Padraig O'Briain) - - * gtk/gtkentry.c (gtk_entry_class_init): Rename text_position - to cursor_position. (1.3.x addition, text_position is an awful - name.) Make cursor_position read-only to avoid sticky questions - of interaction with selection_bound. (#62636, reported by - Padraig O'Briain) - -Mon Oct 22 16:25:12 2001 Owen Taylor - - Fixing popup menus to have "Paste" sensitized correctly. Original - patches from Damian Ivereigh, much mangled. - - * gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(), - gtk_selection_data_targets_include_text(). (#60854) - - * gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if - the clipboard has text" function gtk_clipboard_wait_is_text_available. - (#60854) - - * gtk/gtkentry.c: Only enable the paste item if the clipboard - contains text. (#60973) - - * gtk/gtktextview.c: Only enable the paste item if the clipboard - contains text. (#60975) - -2001-10-22 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_class_init): rip out - "height_lines" and "width_columns" properties, it doesn't make - sense to set the size request on a text view really. #62103 - -Mon Oct 22 15:17:05 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_iter_depth): Realized - g_node_depth is broken, and that it's not worth being consistent - with it. - -2001-10-22 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_set_line): Clarify behavior in - docs, #61777 - (gtk_text_iter_forward_search) (gtk_text_iter_backward_search): - change the two boolean args to a flags field, so we can extend - to add case insensitive, regexp searches later. #61852 - -Mon Oct 22 15:07:17 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_iter_depth): update docs to - reflect reality, #62810 - -Mon Oct 22 14:08:26 2001 Jonathan Blandford - - * demos/gtk-demo/appwindow.c: Remove handle_box from App demo. - - * gtk/gtktreeview.c (size_allocate): Move to a different drawing - system. Instead of having a window the size of the tree, we have - a window the size of widget->allocation, and simply draw with the - offset. - (coords_are_over_arrow): ditto. Move to window coordinates. - (do_prelight): ditto - (do_unprelight): ditto - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): - Minor fix from Kristian Rietveld to fix unsorted case. - -2001-10-22 jacob berkman - - * gtk/gtkclist.c (cell_size_request): don't cast a PIXTEXT cell to - a PIXMAP cell (fixes crash when using PIXTEXT cells) - -Sat Oct 20 18:58:25 2001 Owen Taylor - - * gtk/gtkentry.h: Deprecate gtk_entry_set_editable. - (#58768, Vitaly Tishkov) - - * gtk/gtkobject.h: Deprecate with abandon. - (#61942, Vitaly Tishkov, Matthias Clasen) - - * gtk/gtksignal.h: Deprecate everything. - - * gtk/gtkmain.h (GTK_PRIORITY_INTERNAL): Deprecate - all GTK_PRIORITY_* defines other than GKT_PRIORITY_RESIZE> - (#61942, Matthias Clasen) - - * gtk/gtkstyle.h: Deprecate gtk_draw_*. (#61140, - Havoc Pennington) - - * gtk/gtkitemfactory.h: Deprecate compat functions - for GtkMenuFactory code. (#62071) - - * gdk/gdkdrawable.h: Deprecate gdk_draw_string, - gdk_draw_text,gdk_draw_text_wc. (#62071) - -Mon Oct 22 10:12:08 2001 Owen Taylor - - * gdk/gdk.c docs/Changes-2.0.txt (gdk_threads_init): Don't call - g_thread_init(), we don't want to link to -lgthread if we don't - have to. - -Mon Oct 22 08:51:02 2001 Owen Taylor - - * gdk/gdk.[ch] (gdk_threads_init) docs/Changes-2.0.txt: - Add a function, gdk_threads_init() that must be explicitely - called to enable the GDK thread mutex. - -2001-10-22 Jakub Steiner - - * gtk/stock-icons/stock_stop.png: no body parts - -Sun Oct 21 23:27:00 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Fix - problem with g_return_if_fail return value. - - * gdk/x11/gdkproperty-x11.c docs/Changes-2.0.txt: Move over the - virtual atom code from the gdk-multihead branch, removing the per-display - part. Virtualizing atoms needs to be done now to prevent compat - breakage in direct Xlib accessing code in the future. (#62208) - - * gdk/x11/gdkx.h: gdk/gdk/x11/gdkproperty-x11.c: Export - gdk_x11_xatom_to_atom, gdk_x11_atom_to_xatom(). - - * gdk/gdktypes.h docs/Changes-2.0.txt: Make GdkAtom - an opaque pointer type so the compiler catches attempts - to mingle it with X atoms. - - * gdk/x11/{gdkdnd-x11.c,gdkevents-x11.c,gdkglobals-x11.c, - gdkkeys-x11.c, gdkmain-x11.c, gdkprivate-x11.c, - gdkproperty-x11.c, gdkselection-x11.c, gdkwindow-x11.c} - gtk/{gtkclist.c,gtkctree.c,gtkdnd.c,gtkplug.c,gtksocket.c} - tests/testdnd.c,tests/testselection.c: - Fix up for above atom changes. - - * gdk/gdkselection.h (GDK_SELECTION_CLIPBOARD): Add, since we - now have the ability to add custom predefines. - - * gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}: - Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls - to gtk_clipboard_get(). - - * gdk/win32/gdkproperty-win32.c: Add CLIPBOARD, fix up - for GdkAtom => pointer change. - - * gdk/linux-fb/gdkproperty-fb.c: Fix handling of predefined - atoms, fix for GdkAtom => pointer change. - -Mon Oct 22 00:26:46 2001 Kristian Rietveld - - * gtk/gtkspinbutton.c: remove ARROW_SIZE constant, use - new function spin_button_get_arrow_size() instead. - - * gtk/gtkstyle.c (gtk_default_draw_arrow): actual size of - arrow was hardcoded, it's now variable. - - Fixes bug #50200 - -Sat Oct 20 18:16:04 2001 Manish Singh - - * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and - PROP_EXPANDER_COLUMN can be NULL, so don't do a object cast check - for those - -Sat Oct 20 19:38:16 2001 Owen Taylor - - * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_* - in favor of g_signal_*, gtk_object_* in favor of - g_object_*. - -Fri Oct 19 18:35:22 2001 Manish Singh - - * gtk/{gtkentry.c,gtktextview.c}: since GtkIMContext derives directly - from GObject now, we have to use the g_object_* functions, not - gtk_object_*. - -Fri Oct 19 22:46:54 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.[ch]: we probably have rows_reordered - nailed down now (this code is not yet ready for general consumption) - -Fri Oct 19 13:44:51 2001 Manish Singh - - * gtk/gtktreeview.c (gtk_treeview_scroll_to_cell): correct docs - for use_align - -Fri Oct 19 15:34:06 2001 Owen Taylor - - * gtk/gtk.h gtk/Makefile.am: Export GtkIMContextSimple publically. (#61862) - -Fri Oct 19 15:08:30 2001 Owen Taylor - - * gtk/{gtkimcontext.c,gtkimcontextsimple.c,gtkimmulticontext.c} - modules/input/{gtkimcontextxim.c,imcyrillic-translit.c,iminuktitut.c, - imipa.c,imthai-broken.c,imviqr.c}: Make GtkIMContext derive from - GObject, not GtkObject. (#62621) - -Fri Oct 19 12:49:12 2001 Owen Taylor - - * tests/testsocket.c: Remove now useless include of unistd.h, - fix wrong argument gtk_socket_steal. (Hans Breuer, #58541) - -Fri Oct 19 12:24:32 2001 Owen Taylor - - * gdk/linux-fb/gdkfont-fb.c: Fix up for change to - Pango font API. #61933. (Untested, even for compilation.) - -Fri Oct 19 11:24:58 2001 Owen Taylor - - * gtk/gtkmain.[ch] (gtk_disable_setlocale): Actually - export gtk_disable_setlocale(). (Caught by Sven Neumann) - -2001-10-18 Havoc Pennington - - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_lookup): fix compilation - -2001-10-18 Havoc Pennington - - * gtk/gtkbutton.c (gtk_button_class_init): Change button signals - to GTK_RUN_LAST, #50239 - -2001-10-18 HideToshi Tajima - - * gtk/gtkimmodule.c (match_locale): - Support "*" for all locales with least priority - when to select default im module, #58201 - -2001-10-18 Matthias Clasen - - * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): - Fix docs. (#61976) - - * gtk/gtkplug.c (gtk_plug_get_id) : Fix docs. (#62144) - - * gtk/gtkliststore.c: Fix docs. (#61672, #61675) - - * gdk/gdkwindow.h, gdk/gdkpixmap.h, gdk/x11/gdkx.h, - gdk/x11/gdkwindow-x11.c, gdk/x11/gdkpixmap-x11.c, - gdk/win32/gdkwin32.h, gdk/win32/gdkwindow-win32.c, - gdk/win32/gdkpixmap-win32.c, gdk/linux-fb/gdkfb.h, - gdk/linux-fb/gdkwindow-fb.c, gdk/linux-fb/gdkpixmap-fb.c: - Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup - and gkd_pixmap_foreign_new to the gdk frontend api. (#62063) - - * gtk/gtkselection.c: Remove gdk backend dependencies. (#62063) - - * gtk/gtkspinbutton.c (gtk_spin_button_size_request): - Don't restrict the width of the spinbutton entry field - to 10 digits. (#58681) - -Thu Oct 18 14:58:14 2001 Jonathan Blandford - - * tests/testtreeflow.c: new test program for the tree. - -Thu Oct 18 14:22:10 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug - reported by (Oleg Maiboroda), #62600 - -2001-10-18 Michael Meeks - - * gtk/gtkentry.c (gtk_entry_set_property), - (gtk_entry_get_property): impl 'text' - (gtk_entry_class_init): add the 'text' prop. - (gtk_entry_insert_text): notify 'text' changed. - (gtk_entry_delete_text): ditto. - -2001-10-17 Matthias Clasen - - * gtk/gtkdnd.c, gtk/gtkclipboard.c, gdk/x11/gdkmain-x11.c: - Documentation updates. - -Wed Oct 17 15:17:20 2001 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_real_insert_text): Fix mistake - in truncating length of text to MAX_SIZE. (Found by - Padraig O'Briain, #62055) - -Tue Oct 16 17:04:44 2001 Owen Taylor - - * gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to - MNEMONIC_ACTIVATE; signal was changed a long time - ago. - - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): - Fix wrong return statement. (Reported by HideToshi - Tajima and others.) - - * gtk/gtklabel.h (struct _GtkLabelClass): Remove - left over select_all vfunc. - -Tue Oct 16 15:50:03 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Add - a utility function to translate coordinates relative to - one widget's allocation to coordinates relative to another - widget's allocation. - - * gtk/gtkradiobutton.c: Add a special ->focus() implementation - that: - - only accepts external focus if there is no active - member of the group or the button is active. - - makes arrow keys move the active button as well - as the focus - - make tab tab out directly. - This makes a radio button group act as a single focus location. - (#53577). - - * gtk/gtkcontainer.c (gtk_container_focus): Remove prefiltering - - it was only a small optimization that didn't matter and made - things more complicated. - - * gtk/gtkcontainer.c (gtk_container_focus_tab): Get rid of custom - sorter for FOCUS_TAB as we did for the other focus directions, - sort by center of widgets, not upper-left corner. (Shouldn't - matter in general.) - - * gtk/gtkcontainer.c: Restructure code to remove duplicate code - from the different types of focusing: encapsulate sorting the - widgets for the focus direction into one routine - (gtk_container_focus_sort()) and then share the work of moving the - focus between the different focus directions. - - * gtk/gtkcontainer.c: Fix bug where arrow navigation might not - work correctly with focus chains containing non-immediate - children. Sorting was being done using allocation coordinates for - each widget in the focus chain, and if there were intermediate - window-widgets, these allocations would not be in the same - coordinate system. - -Tue Oct 16 15:12:26 2001 Jonathan Blandford - - * gtk/gtkoptionmenu.c (gtk_option_menu_mnemonic_activate): add a - mnemonic_activate function to option menu. - -2001-10-15 Murray Cumming - - * gtk/gtkinputdialog.c, gtk/gtktoolbar.c, gtk/gtkwidget.c: - Corrected the type names used in some calls to g_signal_new(). - -Sat Oct 13 07:09:30 2001 Tim Janik - - * gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern - specs, use g_pattern_spec_equal() instead of direct field accesses. - upon compressing two equal paths of the same type, the resulting - priority has to be the maximum. - * gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the - GtkPathPriorityType enum and make it a macro. - -2001-10-12 Matthias Clasen - - * gtk/gtkwidget.c: Fix some doc comments. - -Fri Oct 12 11:39:20 2001 Joshua N Pritikin - - * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): Fix to work - on empty models. - -2001-10-11 Matthias Clasen - - * gtk/gtkcolorsel.c, gtk/gtkwidget.c, gtk/gtktreeview.c: - Remove stale gdk backend includes. - -2001-10-10 Michael Meeks - - * gtk/gtkcombo.c (gtk_combo_class_init): add enable_empty - and value_in_list properties. - (gtk_combo_set_value_in_list): notify change. - (gtk_combo_set_property, gtk_combo_get_property): impl. prop. - -2001-10-11 James Henstridge - - * configure.in: add AS=CC and ASFLAGS=CFLAGS substitutions so - that gtk+ can be built with automake 1.5 while not breaking - things for automake 1.4. - -Wed Oct 10 12:48:38 2001 Owen Taylor - - * gtk/gtkmain.c (gtk_init_check): Call setlocale (LC_ALL, ""). - (#60606) - - * gtk/gtkmain.c (gtk_disable_setlocale): Add function - to disable calling setlocale (LC_ALL, ""). - - * gtk/gtkmain.c (gtk_set_locale): Indicate in the - docs that this function is not typically useful. - - * gdk/x11/{gdkim-x11.c,gdkmain-x11.c,gdkprivate-x11.h}: - Automatically initialize GDK for the current locale - on gdk_init(). Don't reset locale to C when - XSupportsLocale() fails. - - * gdk/linux-fb/gdkim-fb.c (gdk_set_locale): Remove - useless checks for UTF-8 locale breakage that mattered - only for X. - - * examples/calendar/calendar.c - tests/{testgtk.c,testtext.c,testcalendar.c}: Remove calls to - gtk_set_locale(). - - * gtk/gtkiconfactory.c gtk/gtkitemfactory.c: - gdk_pixbuf_new_from_stream => gdk_pixbuf_new_from_inline. - -Wed Oct 10 21:13:46 2001 Kristian Rietveld - - * gtk/gtktreemodel.[ch]: added gtk_tree_model_get_iter_from_string(). - - Fixes bug #61904 - -Wed Oct 10 01:19:04 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_iter_is_selected): - new function, #61923 - (gtk_tree_selection_path_is_selected): Ditto - -Tue Oct 9 17:40:24 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_finalize): We're a gobject, - not a GtkObject. Thanks andersca. - - * gtk/gtkliststore.c (gtk_list_store_finalize): ditto - -Tue Oct 9 14:50:51 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_model_sort_column_changed): fix broken code. - -2001-10-08 Matthias Clasen - - * gtk/gtkselection.c: s/succesfully/successfully/g - -2001-10-08 Havoc Pennington - - * demos/gtk-demo/stock_browser.c: remove unused enum - - * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): - pass the current selection state of the node in to the user - selection func - -2001-10-06 Matthias Clasen - - * gdk/x11/gdkx.h (GDK_CURSOR_XCURSOR): Replace reference to - non-existent function gdk_x11_cursor_get_xid - by gdk_x11_cursor_get_xcursor. - -Fri Oct 5 20:50:00 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_iter_has_child): improve - warning. - - * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): ref and - unref nodes, #okay61676 - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_sort): we listen - to the property; no need to clear the other columns. Also, we go - to 'unsorted' if the model supports it. - -2001-10-05 Sven Neumann - - * demos/testpixbuf-save.c - * demos/testpixbuf-scale.c: simple tests for the new PNG tEXt chunk - feature. - -Fri Oct 5 19:06:07 2001 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_leave_notify): should - destroy the search dialog - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - added check to prevent creation of a search dialog if there's - already one around - - * gtk/gtktreeview.c: Define GTK_TREE_VIEW_SEARCH_DIALOG_KEY, and use - it instead of "search-dialog" (when getting/setting the search dialog - widget). - -2001-10-05 Jakub Steiner - - * gtk/stock-icons/stock_broken_image.png: broken images icon - -2001-10-04 Havoc Pennington - - Fix #56586 - - * gtk/gtksettings.c (gtk_settings_class_init): move the F10 - accelerator setting here... - - * gtk/gtkmenubar.c (gtk_menu_bar_class_init): ...from over here, - because we try to use it when a menu bar hasn't necessarily been - initialized. - -2001-10-03 Havoc Pennington - - * tests/testtextbuffer.c (logical_motion_tests): fix test case, - it previously verified incorrect behavior - - Fixes for #61565 - - * gtk/gtktextiter.c (gtk_text_iter_set_line): don't return lines - off the end - (_gtk_text_btree_get_iter_at_line_char): don't return lines off - the end - (_gtk_text_btree_get_iter_at_line_byte): don't return lines off - the end - (gtk_text_iter_forward_lines): if on the last line, move to end of - it - - * gtk/gtktextbtree.c (_gtk_text_btree_last_could_contain_tag): - don't return a line off the end - -Wed Oct 3 23:47:25 Kristian Rietveld - - * gtk/gtkeditable.[ch]: move insert_text and delete_text virtual - functions to do_insert_text and do_delete_text, add signals - insert_text, delete_text and changed - - * gtk/gtkentry.[ch]: remove signals insert_text, delete_text - and changed. Updates to match new situation. - - * gtk/gtkspinbutton.c: updates to match new situation - - * gtk/gtkoldeditable.h: remove signals changed, insert_text - and delete_text - - * gtk/gtkoldeditable.c: updates to match new situation - - * gtk/gtktext.c: updates to match new situation - - Fixes bug #59803 - -2001-10-03 Havoc Pennington - - * gtk/gtktextiter.c (test_log_attrs): allow testing the end - position - - * gtk/gtktextbuffer.c (compute_log_attrs): update for pango - changes - - * tests/testtextbuffer.c (logical_motion_tests): updates - -2001-10-03 jacob berkman - - * gtk/gtkwidget.c (gtk_widget_style_get_property): - * gtk/gtkstyle.c (_gtk_style_peek_property_value): - * gtk/gtksettings.c (apply_queued_setting): - * gtk/gtkmain.c (gtk_init_check): - * gtk/gtkcontainer.c (gtk_container_child_get_property): - s/retrive/retrieve/ - -Wed Oct 3 20:29:29 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.[ch]: preparation for surgery - * tests/testtreesort.c: ditto - -2001-10-02 Havoc Pennington - - Throughout: assorted docs - - * gdk/gdkwindow.h: deprecate gdk_window_set_hints(), it's broken, - gdk_window_set_geometry_hints() should be used instead. - - * gdk/gdkimage.h: deprecate gdk_image_ref, gdk_image_unref, and - document them - - * gdk/x11/gdkx.h: remove gdk_get_client_window() since it doesn't - seem to exist in any .c files - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_query_color): docs, - g_return_if_fail (pixel < colormap->size). - -Wed Oct 3 10:42:54 2001 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_find_target): Allow - NULL for @target_list to mean, use - gtk_drag_dest_get_target_list (widget). - - * gtk/gtkdnd.c (gtk_drag_finish): Fix problem where - drop could hang when calling gtk_drag_finish with - success == FALSE and del == TRUE. - - * gtk/gtkdnd.c (gtk_drag_dest_drop): Fix problem where - drops without a matching target found would propagate - to the parent widget rather than being rejected. - - * gtk/gtktextview.c (gtk_text_view_drag_data_received): - Use text_view->dnd_mark instead of mark name to be - consistent with the rest of the code. - - * gtk/gtktextview.c (gtk_text_view_drag_motion): Make - pendantically correct for a drop-only-in-some-places - widget. (Check whether you can insert in drag_drop, - not just in drag_motion ... matters in theory, and - for Motif drag and drop in practice.) - - * gtk/gtkentry.c (gtk_entry_drag_drop): Patch from - Damian Ivereigh to not allow drops on non-editable - entries. (#61124) - - * gtk/gtkentry.c (gtk_entry_motion_notify): Don't allow - text to be moved from a non-editable entry. - -2001-10-03 James Henstridge - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): - s/width/fixed_width/ in order to get things to compile. - -Wed Oct 3 00:37:09 2001 Jonathan Blandford - - * gtk/gtkcelleditable.c: docs - - * gtk/gtktreemodel.h: more docs. - -2001-10-02 Havoc Pennington - - * gdk/x11/gdkwindow-x11.c: docs - - * tests/testtextbuffer.c (logical_motion_tests): add sentence - boundary tests - -Tue Oct 2 20:18:32 2001 Kristian Rietveld - - * demos/gtk-demo/Makefile.am: add editable_cells.c, - list_store.c and tree_store.c - - * demos/gtk-demo/appwindow.c: remove tearoff item from - File menu, put menubar and toolbar in handle boxes. - - * demos/gtk-demo/genincude.pl: various changes to support trees - - * demos/gtk-demo/main.c: various changes to support trees - - * demos/gtk-demo/stock_browser.c: changed name of demo - to Stock Item and Icon Browser, so geninclude.pl doesn't see - it as child - - * demos/gtk-demo/editable_cells.c: new file/demo - * demos/gtk-demo/list_store.c: new file/demo - * demos/gtk-demo/tree_store.c: new file/demo - -Mon Oct 1 16:05:44 2001 Owen Taylor - - * gtk/gtkrc.c gtk/gtksettings.c: - g_string_printfa => g_string_append_printf. - -Mon Oct 1 16:08:23 2001 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_class_init): add a finalize - and destroy handler. - - * gtk/gtktreestore.c (gtk_list_store_class_init): ditto, #59963 - - * gtk/gtktreeview.h (struct _GtkTreeViewClass): Add - 'start_editing' flag to select_cursor_row. Bug spotted by Manish - Singh . - -2001-10-01 Matthias Clasen - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): replace - g_scanner_add/remove_symbol by g_scanner_scope_add/remove_symbol. - - * gtk/gtkrc.c (gtk_rc_parse_any): here as well. - -Mon Oct 1 14:07:02 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): change - scroll_to_cell delayed code to happen in size_allocate. - - * gtk/gtkstyle.c (gtk_default_draw_expander): change - prelight/normal arrow drawing. - - * gtk/gtktreedatalist.c: Change compare func to use g_utf8_collate - - * gtk/gtktreestore.c: refactor. - -Sun Sep 30 22:15:52 2001 Manish Singh - - * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate): Applied - patch from Soeren Sandmann . Vertically - centers the child in relation to the to indicator height. - -Sun Sep 30 15:11:59 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_remove): Make ITERS_PERSIST - correct - -Sun Sep 30 07:01:42 2001 CEST - - * gtk/gtkcellrenderertext.c: I reverted back to old "weight" - property code using g_param_spec_int and changed from - g_value_get_enum to g_value_get_int instead. Probably a better way - to fix the problem :-) - -Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson - - * gtk/gtkcellrenderertext.c changed "weight" property type from - g_param_spec_int to g_param_spec_enum. - -Sat Sep 29 12:25:26 2001 Manish Singh - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo - fix: s/Wether/Whether/ in reorderable property description - -Thu Sep 27 16:46:36 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): only - start editing when you select with a keyboard. - - (gtk_tree_view_button_press_event): much more graceful now. - - * gtk/gtkstyle.c: Draw togglebutton better. - -2001-09-26 Havoc Pennington - - * demos/gtk-demo/dialog.c (interactive_dialog_clicked): add demo - of passing non-stock label in to gtk_dialog_new_with_buttons - - * gtk/gtktextview.c (cursor_blinks): disable cursor blink when - debugging updates - - * gtk/gtktextiter.h: comment about how GtkTextIter struct contents - are private - - * gtk/gtkbutton.c (gtk_button_new_from_stock): if stock ID doesn't - exist, fall back to mnemonic label, not plain label, bug #61184 - -Wed Sep 26 19:48:01 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_set_valist): Stop being - stupid and emitting the signal every time. - - * gtk/gtkliststore.c (gtk_list_store_set_valist): ditto - -Wed Sep 26 16:35:59 2001 Owen Taylor - - Patch from Mark McLoughlin (#61233) - - * contrib/gdk-pixbuf-xlib/Makefile.am: install - gdk-pixbuf-xlib-2.0.pc. - -Wed Sep 26 16:15:25 2001 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_set_tab_label): Fix - problem where menmonic wasn't removed properly when - setting a label when there already is a label. - Also, handle setting the tab label back to the same - value. (#61160, #61161) - - * gtk/gtkentry.c (paste_received): Patch from - Damian Ivereigh to replace selection if there is - one. (#61121) - -2001-09-25 Darin Adler - - * tests/.cvsignore: Ignore new test program. - -2001-09-25 Havoc Pennington - - * gtk/gtktextview.c: fix for #50317 - -2001-09-25 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_key_press_event): use - gtk_text_iter_can_insert - - * gtk/gtktextbuffer.c: use gtk_text_iter_can_insert - - * gtk/gtktextiter.c (find_line_log_attrs): fixes, #57611, #57613 - (gtk_text_iter_can_insert): new function to fix #60282, should - also fix msw's "can paste into empty buffer" bug. - - * gtk/gtktexttag.c (gtk_text_tag_event): change type check for - "event object," #59091 - - * gtk/gtktextbtree.c: indentation fixes - - * gtk/gtktextiter.c (find_by_log_attrs): fixes - -Tue Sep 25 12:41:17 2001 Owen Taylor - - * configure.in: Version 1.3.9, interface age 0, binary age 0. - - * configure.in: Require GLib-1.39, Pango 0.20, Atk 0.5. - - * NEWS: Updates. - -Mon Sep 24 11:59:09 2001 Owen Taylor - - * gtk/gtkstyle.[ch] (_gtk_draw_insertion_cursor): Shared - function for drawing cursors between gtkentry/gtklabel/gtktextview. - Should this be public? It has a bit of an odd interface, but - custom editing widgets probably should be using it. - Function will draw with wider width for taller cursors, and - draws a little indicator arrow to indicate directoin for split - cursors. - - * gtk/gtktextview.c: Add a "cursor_color" property. - - * gtk/gtktextdisplay.[ch]: Add a cursor_gc parameter to - gtk_text_layout_draw(). - - * gtk/gtkentry.c gtk/gtklabel.c gtk/gtktextdisplay.c: Use - _gtk_draw_insertion_cursor(). - -Tue Sep 25 11:22:23 2001 Owen Taylor - - * gtk/gtkcellrenderertext.c gtk/gtktexttag.c: Restore - the behavior where you could turn family_set (etc) back on - and get back the values you had before. - - * demos/gtk-demo/stock_browser.c (id_to_macro): Use - g_string_ascii_up() rather than looping through the - string ourself. - -Tue Sep 25 15:32:44 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_set_cell_renderer): Removed - (gtk_tree_view_column_set_alignment): xalign = CLAMP (xalign, 0.0, 1.0); Fixes 61012. - - * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Fixed #61012 - Patch from Detlef Reichl - -2001-09-25 Havoc Pennington - - * tests/testtextbuffer.c (line_separator_tests): Add tests for - line separators, addresses bug #57428 - -Tue Sep 25 12:34:42 2001 Jonathan Blandford - - * gtk/gtkentry.c: Make a GtkCellEditable - (get_widget_window_size): Change to let it honor size_allocate - when a CellEditable. - - * gtk/gtktreeview.c: M-x clean-line-ends. Lots of focus and - editable changes. - (gtk_tree_view_set_cursor): Now you can set the cursor - horizontally, as well as start editing. - - * gtk/gtkstyle.c (gtk_default_draw_check): changing toggle drawing - code to look more like the other check buttons. - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size): - Change the way we calculate cell size. - - * gtk/gtkmarshal.list (VOID:STRING,STRING): new marshaller. - - * demos/gtk-demo/sizegroup.c: Add mnemonics. - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_size): Fix docs. - Fix logic. - - * gtk/gtkcellrenderertext.c: Change to be editable. - - * gtk/gtkcellrenderertoggle.c: Change to be activatable. - - * test/testtreesort.c: Fix misspelling - - * test/testreecolumns.c: Add mnemonics. - - * test/testreeedit.c: New test program. - -2001-09-25 Havoc Pennington - - * gtk/gtkwindow.c: Put notes in gtk_window_set_has_frame(), - etc. docs about how these are not going to do what you want for - the X/win32 ports. Futile attempt to avoid a FAQ... - -2001-09-24 James Henstridge - - * gtk/gtkmarshal.list (VOID): add marshal function types. - - * gtk/gtkctree.c (gtk_ctree_class_init): make arguments have type - GTK_TYPE_CTREE_NODE|G_SIGNAL_TYPE_STATIC_SCOPE rather than - GTK_TYPE_POINTER. - (gtk_ctree_node_get_type): implement boxed type for GtkCTreeNodes - with no-op copy/free functions. - - * gtk/gtkctree.h (gtk_ctree_node_get_type): add prototype for - GtkCTreeNode get_type function. - -2001-09-24 Havoc Pennington - - * gtk/gtktextiter.c, gtk/gtktextbuffer.c, gtk/gtktextbtree.c, - gtktextlayout.c: - Get rid of the newline-that-could-not-be-deleted; buffers may - now be zero-length. Much easier to fix than expected, once - I figured out the right way to do it. However, there are - various subtle bugs introduced by this that will have to get - sorted out. Please use bugzilla. - -Mon Sep 24 15:09:08 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Don't wait for a - response back from the window manager if our size hasn't changed - since we won't get a response back from the window manager; - there was code in there to do this, but it was in the wrong - place so if the hints change and the size didn't we'd expect - a response. - - Also, optimize the position-only-changed case by running - the resize queue immediately, and clean up some comments - for the changes. - -Mon Sep 24 12:48:25 2001 Owen Taylor - - * gtk/gtknotebook.h: Add a compat macro that got lost. - - * gtk/gtktreestore.c: Doc fixes. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix reference - leak for windows that receive events after being destroyed. - (#60863, Joshua N. Pritikin) - - * gtk/gtktable.c (gtk_table_remove): Use gtk_widget_queue_resize - rather than gtk_container_queue_resize(). - - * gtk/{gtkcontainer.c,gtkwidget.c,gtkwindow.c}: _gtk prefix - gtk_container_queue_resize, gtk_container_queue_resize_widgets, - gtk_container_child_composite_name. (#60217.) - -2001-09-22 Hans Breuer - - * gtk/gtkmenu.h : fix compat macros for gtk_menu_ - -Sat Sep 22 16:50:34 2001 Kristian Rietveld - - * gtk/gtktexttag.c (gtk_text_tag_set_property): (case PROP_WEIGHT): - weight value should be an int - -Sat Sep 22 15:17:41 2001 Kristian Rietveld - - * gtk/gtkmenu.c (gtk_menu_select_item): move most code - to gtk_menu_scroll_item_visible(). Only call - gtk_menu_scroll_item_visible() if the menu widget has been - realized. Fixes bug #55310. - -2001-09-21 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_key_press_event): don't pass - key press to IM context if cursor isn't in an editable location; - bug #58425, patch from Hidetoshi Tajima - -2001-09-21 Havoc Pennington - - Bug #60862 - - * gtk/gtktextbtree.c (gtk_text_btree_node_destroy): - (_gtk_text_btree_unref): fix up mark memory management - - * gtk/gtktextmark.c (mark_segment_delete_func): ditto - -2001-09-20 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): don't - try to handle alignment here, because it's done by PangoLayout - after we set the layout width. Fix from Dov. - -2001-09-21 Hans Breuer - - * gdk/gdk.def : - * gtk/gtk.def : updated externals - - * gtk/gtkmain.h : define get_gtk_win32_directoty () - * gtk/gtkmain.c (find_module) : don't use module_name after freeing it. - Also handle that Win32 pathes cann't be hard-coded - - * gtk/gtkrc.c : use get_gtk_win32_directoty () to cleanup the various - module, themes etc directory calculations - - * gdk/win32/gdkgeometry-win32.c : some more hacking to get coordinates - >16 bit right. The size limit within Win9x appears _not_ to be 32767 - but slightly smaller ... - - * gdk/win32/gdkwindow-win32.c : use impl->position_info to avoid - >16 bit clipping. Added dummy body for gdk_window_set_icon_list () - - * gdk/win32/gdkdrawable-win32.c : implement gdk_win32_drawable_get_handle () - - * gdk/win32/gdkevents-win32.c : some tweaking to get better expose - handling. I'm not sure if it is better now, but at least not worse - - * gdk/win32/makefile.msc : define INSIDE_GDK_WIN32, some cleanup - - * gdk/win32/gdkwin32.h : reflect recent API restrictions - -2001-09-21 Matt Wilson - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set - radio_menu_item->group to NULL after removing it from the list, as - it is no longer in the group. (#60869) - - * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise - -2001-09-20 Havoc Pennington - - * configure.in (PANGO_REQUIRED_VERSION) - (ATK_REQUIRED_VERSION): add variables and checks for specific - versions of dependencies. Previously we didn't verify the - Pango or ATk versions. - -2001-09-09 Havoc Pennington - - * gtk/gtktextiter.c: fool with indentation - (gtk_text_iter_in_range): add g_return_if_fail - -Thu Sep 20 17:45:54 2001 Joshua N Pritikin - - * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix - ref count on new tag to be 1. Update doc. (#60836) - -Thu Sep 20 16:20:47 2001 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary - call to gdk_image_new_bitmap(). (#59094, reported by - by Sven Neumann) - -Thu Sep 20 15:31:35 2001 Owen Taylor - - * gtk/gtkcalendar.c (gtk_calendar_init): Use the current - day, as well as the current month and year. - (#59047, reported by Vitaly Tishkov) - -Thu Sep 20 15:10:30 2001 Owen Taylor - - * gtk/gtkdialog.c (gtk_dialog_init): Automatically set - set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554) - -Thu Sep 20 18:00:56 2001 Kristian Rietveld - - * tests/testgtk.c (struct OptionMenuItem): get rid of it, - - (build_option_menu): add func argument, connect ::changed - signal to option menu instead of connecting the ::activate - signal to the menu items, - - (toplevel): get rid of RADIOMENUTOGGLED macro, - - (list_toggle_sel_mode), (clist_toggle_sel_mode), - (ctree_toggle_line_style), (ctree_toggle_expander_style), - (ctree_toggle_justify), (ctree_toggle_sel_mode), - (progressbar_toggle_orientation), (progressbar_toggle_bar_style): - use gtk_option_menu_get_history() instead of RADIOMENUTOGGLED, - - (notebook_type_changed): merged standard_notebook(), - notabs_notebook(), scrollable_notebook() and borderless_notebook() - into notebook_type_changed() - - (create_list), (create_ctree), (create_notebook), - (create_progress_bar): changed OptionMenuItem arrays into - gchar * arrays. Removed "Extended" item where used. - - Fixes bug #59885 - -2001-09-20 Sven Neumann - - * configure.in - * gdk/Makefile.am - * gtk/Makefile.am - * gtk/gtkselection.c - * gtk/gtktreeview.c - * gtk/gtkwindow.c: removed remaining traces of nanox GDK backend. - -Thu Sep 20 11:19:42 2001 Owen Taylor - - * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Add - a missing pango_layout_iter_free (). - -Thu Sep 20 11:03:51 2001 Owen Taylor - - * gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c - gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups. - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change - the function definition so we don't accidentally rely on - the compat #define from gtk_radio_menu_item_group. - (#60782, Jeff Franks) - -Thu Sep 20 16:51:02 2001 Kristian Rietveld - - * gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned - incorrect values for top, right and bottom due to cut-and-paste - bug. Pointed out by Vitaly Tishkov, fixes bug #59008 - -Wed Sep 19 17:59:27 2001 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set - _NET_WM_PID and WM_CLIENT_MACHINE properties on each - window, not just on the client leader. (#58463) - -Wed Sep 19 17:28:47 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_new): Add missing cast. - - * gtk/gtkmenuitem.[ch] gtk/gtkmenushell.c: Underscore prefix - non-public _gtk_menu_item_set_placement. - - * gtk/gtktooltips.h: Deprecate gtk_tooltips_set_delay(). - -Wed Sep 19 16:16:38 2001 Owen Taylor - - * gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c - gdk/linux-fb/gdkcolor-fb.c: - Fix propagated (flags && GDK_COLOR_WRITEABLE) typo. - (#59723) - -Wed Sep 19 16:12:16 2001 Owen Taylor - - * gdk/gdkpixbuf-render.c: Allow -1 for width/height - to mean "width/height of pixbuf" (Patch from Matthias Clasen, - #59723) - -Wed Sep 19 16:01:27 2001 Owen Taylor - - Patch from Frank Belew #59037 for Solaris compilation. - - * gtk/maketypes.awk: Change syntax slightly for a call - to sub(), apparently making awk on Solaris happier. - - * gtk/gtktreeview.c: Remove C++ comments. - -Wed Sep 19 15:46:29 2001 Owen Taylor - - * gtk/gtkwindow.c: Add xgettext:no-c-format comment to - to handle '99% of the time. (#60473, reported by Christian Rose) - - * gtk/gtkwidget.h: Remove prototype for gtk_widget_get_usize() - which no longer exists. (#60379, reported by Vitaly Tishkov) - -Wed Sep 19 11:06:24 2001 Tim Janik - - * Released 1.3.8. - - * gdk/Makefile.am: kill EXTRA_DIST clearing. - -Wed Sep 19 02:50:40 2001 Tim Janik - - * demos/Makefile.am ($(testpixbuf_OBJECTS)): don't use BUILT_SOURCES - as its broken in automake 1.4, add explicit object rule to - generate this. - - * gdk-pixbuf/Makefile.am: fix maintainer and normal cleanfiles. - get rid of uneccessary stamps, group stuff more logically, and build - sources due to object rules. fix srcdir!=builddir. - -Tue Sep 18 20:47:16 2001 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Fix - incorrect parameter to compute_double_length - (#58680, patch from Matthias Clasen) - - Fixes for compilation with Forte cc. (#59734, Derek Rafter) - - * gtk/gtkwindow.h gtk/gtksizegroup.h: Remove extra ;. - - * gdk/gdktypes.h (GdkModifierType): Write 1u << 31 - for GDK_RELEASE_MASK to avoid warnings with Forte. - - * gtk/gtktexttag.c gtk/gtkcellrendertext.c: Add some missing - break; statements. - -2001-09-18 Alex Larsson - - * gtk/gtkcheckbutton.c: - * gtk/gtkradiobutton.c: - Don't draw with GTK_STATE_ACTIVE. - - * gtk/gtkclist.c: - * gtk/gtkctree.c: - Draw lines between rows with base_gc[GTK_STATE_NORMAL]. - - * gtk/gtktextdisplay.c: - Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and - unfocused with base_gc [GTK_STATE_ACTIVE]. - - * gtk/gtkentry.c: - Add select all menu-item. - Default cursor color is red. - Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and - unfocused with base_gc [GTK_STATE_ACTIVE]. - - * gtk/gtklabel.[ch]: - Add keynav + menu to selectable lables. - Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and - unfocused with base_gc [GTK_STATE_ACTIVE]. - - * gtk/gtkfilesel.c: - Add drag and drop support. - - * gtk/gtkstyle.c: - (This was checked in earlier) - New default values for text/base SELECTED and ACTIVE - -Tue Sep 18 23:51:49 2001 Tim Janik - - * configure.in: up version to 1.3.8, interface age 0, - binary age 0, depend on glib 1.3.8. - - * NEWS: 1.3.8 updates. - -Tue Sep 18 18:46:54 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_start_editing): centralize all - the editing code - - * gtk/gtkcelleditable.c: Got rid of stop_editing, as there was no - reason to call it beyond emiting the two signals. - - * gtk/gtkentry.c (gtk_entry_class_init): add "has_frame" property - to GtkEntry. - -Wed Sep 12 11:21:14 2001 Owen Taylor - - * gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch] - gtk/gtktextview.c tests/testgtk.c: Fix up for changes to - PangoFontDescription. - - * gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c - gtk/gtkspinbutton.c: Fix up for change to PangoMetrics - structure. - - * gtk/gtkfontsel.c: Fix up for new Pango font listing API. - - * gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace - direct access to style->font. Deprecate gtk_style_ref/unref. - - * gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c: - Remove gtk_style_ref/unref with g_object_ref/unref. - - * gtk/gtkcalendar.c: Remove leftover macros accessing - style->font. - - * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused - variable. - - * gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of - style->font. - -Tue Sep 18 13:51:35 2001 Jonathan Blandford - - * gtk/gtkcellrenderer.h (enum): Get rid of broken "can_edit" and - "can_activate" properties in favor of - GTK_CELL_RENDERER_MODE_INERT, GTK_CELL_RENDERER_MODE_ACTIVATABLE, - and GTK_CELL_RENDERER_MODE_EDITABLE - -Tue Sep 18 12:12:43 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_put): Add put for use with - editable widgets. This function is private, and should only be - used by GtkTreeView. - -2001-09-18 Matt Wilson - - * docs/Makefile.am (EXTRA_DIST): don't use += before = - - * docs/faq/Makefile.am (EXTRA_DIST): likewise - - * docs/tutorial/Makefile.am (EXTRA_DIST): likewise - - * gdk/Makefile.am (MAINTAINERCLEANFILES): likewise - (EXTRA_HEADERS): likewise - - * gtk/Makefile.am (MAINTAINERCLEANFILES): likewise - (EXTRA_HEADERS): likewise - (EXTRA_DIST): likewise - (CLEANFILES): likewise - - * gtk/stock-icons/Makefile.am (CLEANFILES): likewise - - * tests/Makefile.am (EXTRA_DIST): likewise - - * Makefile.am (install-data-local): changed to use - install-data-hook, which runs after install-pkgconfigDATA, so that - the pkgconfigdir will have been created and populated first. - -Mon Sep 17 17:39:52 2001 Jonathan Blandford - - * gtk/gtkcelleditable.[ch]: Add editable interface. This should - be the last big GtkTreeView API change. - - * gtk/gtkcellrenderer.[ch]: Get rid of the "event" vfunc, and - replace with "activate" and "start_editing". Also, added a - "can_activate" and "can_edit" property. - - * gtk/gtktreeviewcolumn.c: modify to use above. - -2001-09-16 Alexander Larsson - - * gtk/gtkoptionmenu.c: Handle scroll wheel events. - -Fri Sep 14 22:31:25 2001 Matthias Clasen - - * demos/gtk-demo/main.c (setup_default_icon): Use a shaped - icon instead of one with ugly white background. - -Fri Sep 14 22:26:01 2001 Matthias Clasen - - * demos/gtk-demo/stock_browser.c (id_to_macro): make - the uppercasing work. (#59550) - -2001-09-14 Jakub Steiner - - * gtk/stock-icons/dialog_error.png: - * gtk/stock-icons/dialog_question.png: more road signs - -2001-09-13 Jakub Steiner - - * gtk/stock-icons/dialog_question.png: - * gtk/stock-icons/dialog_warning.png: anders and jonathan seem to - like a road sign. - -Wed Sep 12 19:01:05 2001 Jonathan Blandford - - * gtk/gtktreemodel.h (struct _GtkTreeModelIface): Rename interface - signals to make them more clear. Also, change ::range_changed to - ::row_changed. - * gtk/gtktreemodel.c: Adjust to interface change - * gtk/gtktreemodel.h: ditto - * gtk/gtktreemodelsort.c: ditto - * gtk/gtktreestore.c: ditto - * gtk/gtkliststore.c: ditto - * gtk/gtktreeview.c: ditto - * tests/testtreecolumns.c: ditto - * gtk/gtkmarshal.list: Actually remove a marshaller! - -2001-09-12 Padraig O'Briain - - * gtk/gtktextview.c - Add support for Ctrl+Up/Down arrow to move cursor to beginning - of previous/next paragraph. If within a paragraph cursor moves to - beginning of that paragraph. - -2001-09-12 Jakub Steiner - - * gtk/stock-icons/dialog_question.png: replacing the shaky - question mark with a sans-serif one. - * gtk/stock-icons/stock_top.png, stock_bottom.png, - stock_first.png, stock_last.png: using the new style arrows - * gtk/stock-icons/stock_font.png: simple one to replace the ugly - colors. - * gtk/stock-icons/stock_refresh.png: anti-aliased and changed - color. - * gtk/stock-icons/stock_zoom*: anti-aliased - * gtk/stock-icons/dialog_error.png, dialog_warning.png: confused - '-' with a '_', removed the wrong files - -Sat Sep 8 16:19:02 2001 Owen Taylor - - * gtk/gtkmain.c: Implement a search path for GTK+ modules. - - * configure.in gtk/gtkrc.c gtk/Makefile.am: Look for modules - in gtk-2.0//major.minor.(micro-binary_age) rather - than in gtk-2.0/major.minor.micro//. This - works better for a search path for modules. - - * gtk+-2.0.pc.in gtk+-2.0-uninstalled.pc.in: Add - gtk_binary_version variable holding major.minor.(micro-binary_age). - - * modules/input/Makefile.am (moduledir): Fix installation - directory to match change in lookup location. - - * gtk/gtkmain.c (gtk_init_check): Remove OS/2 code for dll - suffixes. Needs to be handled in g_module_build_path(). - - * gtk/gtkrc.c gtk/queryimmodules.c: Use g_build_filename() where - appropriate. - -Tue Sep 11 13:59:12 2001 Owen Taylor - - * gtk/gtkrc.c (insert_rc_property): Fixed reversed comparison - causing RC properties not to work. - -2001-09-11 Jakub Steiner - - * gtk/stock-icons/dialog-error.png: less drastic - * gtk/stock-icons/dialog-warning.png: no body parts. (I hope - "STOP" is international enough. - * gtk/stock-icons/stock_dnd*.png: get rid of the cursor - * gtk/stock-icons/stock_menu_properties.png: 16x16 version - -Mon Sep 10 21:26:24 2001 Joshua N Pritikin - - * gtk/gtktextview.c (gtk_text_view_set_buffer): Make - (add|remove)_selection_clipboard symmetric. (bug #59836) - - * gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree): - Avoid SEGV for empty tree. (bug #60243) - -Mon Sep 10 20:47:22 2001 Tim Janik - - * tests/testgtk.c (create_idle_test): slight fix for - g_object_set() not usable for nesting anymore. - - * gtk/gtkhandlebox.c (gtk_handle_box_class_init): - * gtk/gtkframe.c (gtk_frame_class_init): deprecate ::shadow - properties, supply ::shadow_type properties instead as most - other widgets do. - -2001-09-10 Alex Larsson - - * demos/gtk-demo/stock_browser.c: - * gdk/gdkcolor.c: - * gdk/gdkfont.c: - * gdk/gdkcursor.c: - * gdk/gdkevents.c: - * gdk/gdkrectangle.c: - * gtk/gtktypeutils.c: - Update to use the new g_boxed_type_register_static API. - -2001-09-10 Padraig O'Briain - - * gtk/gtktreestore.c: - Fix looping in gtk_tree_store_init() waiting for zero random int. - -Mon Sep 10 16:55:49 2001 Tim Janik - - * gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale - behaviour which havoc broke. they have to default to 1.0 for - expand behaviour. - - * gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects. - -2001-09-10 Padraig O'Briain - - * gtk/gtkstyle.c (_gtk_style_peek_property_value) - Amend previous change to avoid runtime error in g_param_spec_ref() - -Mon Sep 10 06:58:56 2001 Owen Taylor - - * gtk/gtkrc.c (insert_rc_property): Fix blank line - in the wrong place. - -Mon Sep 10 06:50:39 2001 Owen Taylor - - * gtk/gtkstyle.c (_gtk_style_peek_property_value): Don't - do a lookup immediately after creating style->property_cache, - since bsearch crashes on zero length for Solaris. - (Found by Padraig O'Briain.) - -2001-09-09 Alexander Larsson   - - * gtk/gtkwidget.c (_gtk_widget_peek_colormap): - Really return NULL if not set. - (gtk_widget_init): Remove unused varaible. - -2001-09-09 Alexander Larsson   - - * configure.in: - Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer - in cvs. - -2001-09-08 Havoc Pennington - - * gtk/gtkaccelgroup.c: add docs to functions that I can imagine - people might want to use - -2001-09-08 Havoc Pennington - - * gtk/gtkalignment.c (gtk_alignment_class_init): default - xscale/yscale to 0.0, not 0.5, 0.5 isn't useful - - * tests/testtextbuffer.c: fix usage of gtk_text_iter_spew - - * gtk/gtktextiter.c: fix docs - (gtk_text_iter_spew): get rid of this - - * gtk/gtklayout.c: docs - - * gtk/gtkbutton.c (gtk_button_construct_child): add an alignment - to center image and label together, instead of having image on - left and label centered, patch/suggestion from Jacob - - * gtk/gtkdialog.c: docs - -Sat Sep 8 14:19:49 2001 Jonathan Blandford - - * gtk/gtkliststore.c: Write documentation - * gtk/gtktreestore.c: Write documentation - -Sat Sep 8 13:53:09 2001 Owen Taylor - - * gtk/gtkrc.[ch] gtk/gtkstyle.[ch]: Replace uses of GBSearchArray - with GArray and bsearch(), to remove dependency on a still - evolving interface that we want to keep private to glib/gobject. - -2001-09-08 Havoc Pennington - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_add_attribute): - docs fixes - - * gtk/gtktable.c (gtk_table_get_col_spacing): docs fixes - - * gtk/gtkspinbutton.c (gtk_spin_button_get_increments): docs fixes - - * gtk/gtksocket.c (gtk_socket_steal): docs fixes - - * gtk/gtkscrolledwindow.h: docs fixes - - * gtk/gtkimage.c (gtk_image_new): docs fixes - -Sat Sep 8 01:49:22 2001 Owen Taylor - - * gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check): Prevent a - false alarm constness warning with a cast. - - * gdk/x11/gdkx.h: Undefine GDK_ROOT_PARENT before redefining it - for the inside-gdk case. - -Sat Sep 8 01:44:18 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_dirty): - remove g_print. - - * gtk/gtktreeview.c (gtk_tree_view_set_model): unref model when we - change models, #59899 - -2001-09-07 Havoc Pennington - - * gtk/gtkmain.c: move some docs inline - -2001-09-07 Havoc Pennington - - * gtk/gtk.h: tsk tsk, jrb broke the build - -Fri Sep 7 20:45:29 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_{start,end}): - Removed 'fill' attribute. It was silly b/c that was a property of - the cell renderer, anyway. - (gtk_tree_view_column_render): Actually render the packed - renderers. - * doc/tree-column-sizing.txt: initial devel documentation. - * gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix bug. - * gtk/gtkcellrenderertextpixbuf.[ch]: removed. - - * tests/testtreefocus.c: fix up to reflect above changes. - * tests/testtreeview.c: ditto - * demos/gtk-demo/stock_browser.c: ditto - -2001-09-07 Alex Larsson - - * gdk/linux-fb/gdkcolor-fb.c: - Removed unused function. - - * gdk/linux-fb/gdkdrawable-fb2.c - * gdk/linux-fb/gdkfont-fb.c: - Use PangoLanguage functions. - - * gdk/linux-fb/gdkinput.c: - * gdk/linux-fb/gdkselection-fb.c: - Fix const warnings. - - * gdk/linux-fb/gdkwindow-fb.c: - Fix warning. Implement gdk_window_set_icon_list() and - gdk_window_get_frame_extents(). (No icon support yet though.) - - * gtk/gtkwindow.c (gtk_window_get_position): - If window->frame is set get the extents of it instead. - -Fri Sep 7 18:50:59 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_get_default_colormap): - Make the default default colormap the GdkRGB colormap, - not the system colormap. - - * gtk/gtkinvisible.c (gtk_invisible_init) - gtk/gtkwindow.c (gtk_window_init): Set the current - colormap, as returned by _gtk_widget_peek_colormap() - on the widget. - - * gtk/gtkwidget.[ch]: Export _gtk_widget_peek_colormap - to GTK+. Make it return %NULL instead of the default - colormap if no colormap has explicitely been pushed. - - * gtk/gtkwidget.c (gtk_widget_get_colormap): Check for - colormaps on ancestral widgets before defaulting the - the system default colormap. - - * docs/Changes-2.0.txt: explain colormap changes. - -2001-09-07 Havoc Pennington - - * gtk/gtktextiter.c: add some lame code to handle G_MININT, fixes - #57424 - -Fri Sep 7 18:17:47 2001 Owen Taylor - - * gdk/gdk.h gdk/x11/gdkmain-x11.c: Deprecate gdk_set/get_use_xshm, - make gdk_set_use_xshm a noop. Remove --no-xshm command line - option. If we aren't autodetecting properly, we need - to fix the problem, or at least make it an environment - variable setting, to avoid problems with propagating - to embedded children, plugins, etc. - - * gdk/gdkcolor.h: Deprecate gdk_colormap_get_system_size(). - - * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h - (gdk_pixbuf_render_pixmap_and_mask_for_colormap): - New function to render a pixmap and mask for a particular colormap. - - * gtk/gtkwindow.c (get_pixmap_and_mask): Change to use - gdk_pixbuf_render_pixmap_and_mask_for_colormap () instead - of internal implementation of the same. - -2001-09-07 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_get_lines): remove some - debug code that seems to have caused a breakpoint in valid cases - - * gtk/gtktextbtree.c (_gtk_text_btree_add_view): set the prev - pointer on the first view when adding the second view, fixes - crash when closing gtk-demo text test with active selection - - * gtk/gtktextbuffer.c - (gtk_text_buffer_remove_selection_clipboard): don't leave dead - clipboards in the list of clipboards - probably fixes #59836 - -Fri Sep 7 11:51:44 2001 Owen Taylor - - Make gdkx.h the only installed header from gdk/x11. - All structures in gdk/x11 are opaque. - - * gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h: - Don't install gdk{drawable,pixmap,window}-x11.h. - - * gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c: - Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11, - GdkVisualClass into C files. - - * gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static. - - * gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c, - gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c} - Add public functions to replace previously exported direct - structure access. - gdk_x11_colormap_get_{xdisplay,xcolormap} - gdk_x11_cursor_get_{xdisplay,xcursor}, - gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual, - gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage}, - gdk_x11_gc_get_{xdisplay,ximage} - - * gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo, - GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals. - - Fix a number of variables and functions that were exported - "accidentally" from GDK. - - * gdk/**.[ch]: gdk => _gdk for gdk_visual_init, - gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit, - gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data, - gdk_event_notify, gdk_queued_events, gdk_queued_tail, - gdk_event_new, gdk_events_queue, gdk_events_unqueue, - gdk_event_queue_find_first, gdk_event_queue_remove_link, - gdk_event_queue_append, gdk_event_button_generate, - gdk_debug_flags, gdk_default_filters, gdk_parent_root. - - * gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c, - gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}: - gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks, - gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window, - gdk_use_xshm, gdk_input_ignore_core. - - * gdk/x11/xsettings-common.h (xsettings_list_insert): Add - #defines to namespace functions into the private _gdk_ - namespace. - - * gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window () - to replace gdk_parent_root exported variable. Adjust and - deprecate GDK_ROOT_PARENT(). - - * demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix - GDK_ROOT_PARENT usage, remove includes of port-specific - headers. - - * gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for - _gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core, - gdk_input_devices, _gdk_input_windows, gdk_init_input_core. - - * gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c} - docs/Changes-2.0.txt: Remove gdk_wm_protocols, - gdk_wm_delete_window functions, gdk_wm_take_focus, - use gdk_atom_intern() instead. - - * gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h} - gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h} - gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h} - gtk/gtkselection.c - Unexport gdk_selection_property, just use - gdk_atom_intern ("GDK_SELECTION"). - - * gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}: - Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type, - GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate, - GdkVisualprivate, gdk_x11_gc_flush. - - Make a number of public exports of variables into functions - to increase encapsulation. - - * gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h - gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer, - move to gdkinternals.h. Add gdk_device_get_core_pointer (). - - * gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h - docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code, - gdk_error_warnings. - - * gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h} - docs/Changes-2.0.txt: - s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen() - s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow() - Add gdk_x11_get_default_xdisplay(). - - * gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c - win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c - gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class, - Don't export gdk_progclass, move --class command line - option and handling to common portion of GDK. - - Miscellaneous fixes: - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix - g_return_val_if_fail that should have been g_return_if_fail. - - * gdk/gdkinternals.h gdk/gdkprivate.h: Move - gdk_synthesize_window_state() to the semi-public gdkprivate.h. - - * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded - X11 dependency. - - * gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO: - Remove unused gdk_key_repeat_disable/restore. - - * linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c - x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def: - Remove unused gdk_null_window_warnings variable. - - * gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox; - it can be retrieved from the repository; it is too far - from functional to be worth having people check out; - it would be easier to start from scratch, I suspect. - - * gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID(). - - * gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c - gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c: - Fix some accidentally global variables and unused global variables. - - * gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c - gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c: - Fix some accidentally global variables and unused global variables. - - Add some space for future expansion to multihead. - - * gdk/gdkdrawable.h: Add four reserved function pointers - for future expansion of GdkDrawableClass. - - * gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer - where we can put a GdkScreen * later. - -2001-09-07 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_flush_scroll): update - adjustments after validating destination yrange; fixes #53918 - (This may cause other issues, but I hope it won't) - -2001-09-05 Havoc Pennington - - * gtk/gtktextbtree.c (_gtk_text_btree_delete): when merging end - line into start line, update the character counts in parent nodes; - caused a bug when end and start line had different parent nodes. - -2001-08-30 Havoc Pennington - - * gtk/gtktexttag.c (_gtk_text_attributes_fill_from_tags): add - assertion that tag is in a table - -Fri Sep 7 12:48:56 2001 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c (get_direction): Don't call - g_strcasecmp on NULL strings. (#59058) - -2001-09-06 Alex Larsson - - * gtk/gtkbin.c: - * gtk/gtkfontsel.c: - * gtk/gtkspinbutton.c: - * gtk/gtktipsquery.c: - Use GtkType/GType instead of uint. - -Tue Sep 4 18:13:43 2001 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_init): fix initial val for - sort column. - - * gtk/gtktreestore.c (gtk_list_store_init): ditto - - * gtk/gtktreesortable.c: add docs. - -Tue Sep 4 09:37:19 2001 Owen Taylor - - * Version 1.3.7 - - * configure.in docs/Makefile.am docs/gtk-config.1.in: Remove - docs for gtk-config - - * modules/input/Makefile.am (install-data-local): Don't - run gtk-query-immodules if DESTDIR is set. - - * NEWS: Various additions. - -Tue Sep 4 03:12:25 2001 Tim Janik - - * NEWS: updates for 1.3.7 release. - -Mon Sep 3 18:03:56 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func): - handle default sort feature - - * gtk/gtktreesortable.c (gtk_tree_sortable_set_default_sort_func): - new function to handle default sort. - (gtk_tree_sortable_has_default_sort_func): check if default sort - is set. - - * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func): - handle default sort feature - -Sun Sep 2 20:32:36 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): patch from - vishnu@pobox.com (Joshua N Pritikin) to fix math and an assertion, - #59731 - -Sun Sep 2 17:38:42 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from - vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct - time, #59727 - - * gtk/gtkbutton.c (gtk_button_update_state): Get depressed - correctly. - -Sun Sep 2 21:41:21 2001 Owen Taylor - - * gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial - so that we don't eternally update the keymap after we - get a change notification. - - * gtk/gtkmenuitem.c (gtk_menu_item_set_right_justified): Fix - incorrect cast. - -Sun Sep 2 23:27:16 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.[ch]: much changes in an attempt to make - it working. It mostly works now, although there're still a few issues - to be worked out. - - * tests/testtreesort.c (main): changes to have a better test - application for the GtkTreeModelSort. - -Sun Sep 2 23:19:07 2001 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_iter): code cleaup, - fix for bug #59222. - - * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): add - gpointer search_data argument to function definition and - prototype, to match GtkTreeViewSearchEqualFunc typedef. - -Sat Sep 1 21:57:27 2001 Kristian Rietveld - - * gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings - per jrb's request. - -Fri Aug 31 20:01:23 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data. - - * gtk/gtktreeview.c (gtk_tree_view_destroy): destroy search_data. - -Wed Aug 29 20:40:58 2001 Owen Taylor - - * gtk/gtktextbuffer.[ch] (gtk_text_buffer_add/remove_selection_clipboard): - Instead of always mirroring the selection to a single PRIMARY - selection, allow it to be mirrored to any number of clipboards. - - * gtk/gtktextbuffer.[ch] (gtk_text_buffer_paste_primary): Remove, - just use gtk_text_buffer_paste_clipboard with the appropriate clipboard. - - * gtk/gtktextbuffer.[ch] (gtk_text_buffer_cut/copy/paste_clipboard): Add a - GtkClipboard argument, and for paste_clipboard, the - @override_location argument from @paste_primary. - - * gtk/gtktextview.c: Adapt to above change. - -2001-08-30 Havoc Pennington - - * gtk/gtktextview.c (invalidated_handler): put validate idle at - resize - 2 just for flexibility - -2001-08-30 Havoc Pennington - - * gtk/gtktextdisplay.c (render_layout_line): handle NULL shaped - object from the empty-child-anchor case by drawing a little box. - - * gtk/gtktextlayout.c (add_child_attrs): Still set shape attribute - if the child anchor has no anchored widgets - fixes #59328. - - Also, remove bizarre deletion of preedit string that seems to have - gotten in here somehow. - -2001-08-30 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): apply fix - to #58420 from Hidetoshi Tajima and Matthias Clasen - -Wed Aug 29 17:28:04 2001 Jonathan Blandford - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - change color when the GtkTreeView loses focus. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): - ditto. - - * gtk/gtkstyle.c (gtk_default_draw_flat_box): ditto - -2001-08-28 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_set_icon_list): fix g_object_notify - -2001-08-28 Havoc Pennington - - * demos/gtk-demo/main.c (setup_default_icon): add default icon - - * gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): - warning fix - (gtk_radio_button_new_with_label): warning fix - - * gtk/gtkdnd.c: used some random GtkImage private structs, - update to reflect GtkImage changes - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): don't check - whether the hint is supported, just always set the icon. A task - list might want to use it even if the WM doesn't, and the WM may - change over time. Also, XDeleteProperty() if list == NULL. - - * gtk/gtkwindow.c (gtk_window_set_icon_list) - (gtk_window_get_icon_list) - (gtk_window_set_icon) - (gtk_window_get_icon) - (gtk_window_set_default_icon_list) - (gtk_window_get_default_icon_list): - new functions - - * gtk/gtk-boxed.defs (GtkIconSet): add GtkIconSet - - * gtk/gtkimage.c: Implement property support, bug #59408 - - * gtk/gtkcontainer.c (gtk_container_add): make the warning message - on reparent-without-removing-first a bit more helpful. - Let's just destroy this FAQ. - -Tue Aug 28 21:37:11 2001 Matthias Clasen - - * demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object - instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161) - -Tue Aug 28 21:00:44 2001 Matthias Clasen - - * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting - of use_text_format to the end of the function. (#56447) - -Tue Aug 28 20:06:07 2001 Matthias Clasen - - * demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf - only in response to an area_prepared signal. - -2001-08-28 Alex Larsson - - * gtk/gtkwidget.c (gtk_widget_class_init): - Make unrealize GTK_RUN_LAST. - -Mon Aug 27 22:00:41 2001 Manish Singh - - * gtk/gtkradiobutton.c: fix silly cut'n'paste error, - with_label and with_mnemonic should create radio buttons, not - check buttons - -Mon Aug 27 15:28:56 2001 Jonathan Blandford - - * tests/testtreefocus.c (main): Fix to use GtkSelectionMode. - * tests/treestoretest.c (make_window): ditto - * demos/gtk-demo/main.c (create_tree): ditto - * demos/gtk-demo/stock_browser.c (do_stock_browser): ditto. - -Mon Aug 27 15:18:14 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Use the - GTK selection types rather than GtkTreeSelectionMode. - - * docs/Changes-2.0: Add comment about selection change. - -Mon Aug 27 14:21:30 2001 Jonathan Blandford - - * gtk/gtkenums.h (GtkSelectionMode): deprecate - GTK_SELECTION_EXTENDED. - - * gtk/gtkclist.c: Remove old GTK_SELECTION_MULTIPLE behavior. - Make GTK_SELECTION_EXTENDED be GTK_SELECTION_MULTIPLE. - - * gtk/gtkctree.c: ditto - - * gtk/gtklist.c: ditto - - * gtk/gtktree.c: ditto - -Mon Aug 27 14:18:12 2001 Owen Taylor - - * gtk/gtkmenubar.h (gtk_menu_bar_prepend): Fix a cuple - of typos in compat macros. (#59624, Skip Montaro) - -Sun Aug 26 20:00:00 2001 Owen Taylor - - * configure.in acinclude.m4: Use autoconf 2.13/2.50 compat - macro. - - (patch from ERDI Gergo , #58920) - - * gtk/gtkmenuitem.c (gtk_menu_item_set_right_justified): Change - interface to be a standard setter from gtk_menu_item_right_justify. - (gtk_menu_item_get_right_justified): a getter to go with the setter - - * gtk/gtkmenuitem.h: Add a deprecated compat macro for - gtk_menu_item_right_justify. - - * demos/gtk-demo/menus.c tests/testgtk.c: Switch to - gtk_menu_item_set_right_justified. - -2001-08-27 Jens Finke - - * gtk+.spec.in: Updated to match gpp requirements, reworked the - files section to make it work with 1.3.x releases. - -2001-08-26 Alexander Larsson - - * gtk/gtkbutton.[ch]: - Add properties for labels, mnemonics and stock items. - Added C accessor functions for the properties. - Removed deprecated button->child. - - * gtk/gtkradiobutton.c: - * gtk/gtktogglebutton.c: - Update to use the functions in GtkButton. - - * gtk/gtkcheckbutton.c: - Update to use the functions in GtkButton. - Changed size allocation of child. Now only gets as much - space as it requests. - - * gtk/gtkclist.c: - Don't use GtkButton->child - - * gtk/gtklabel.c: - Fixed typo in docs - -2001-08-26 Alexander Larsson - - * tests/testgtk.c: - * tests/Makefile.am: - Ressurect the properties test. - I don't care if it is inferior, I just want to test my property code. - -2001-08-25 Chema Celorio - - * gtk/gtktable.c (gtk_table_set_child_property): pass ->nrows to - gtk_table_resize as the first argument for CHILD_PROP_RIGHT_ATTACH - and CHILD_PROP_LEFT_ATTACH v.s. using ->ncols - -2001-08-24 Havoc Pennington - - * gtk/gtkcompat.h: remove gtk_menu_* compat defines; - these are already in gtkmenu.h, and the copies - here were broken. - - Also, change GTK_DISABLE_COMPAT_H to GTK_DISABLE_DEPRECATED - - * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_image): - special-case bitmaps to allow no colormap - (bitmap1): implement no-colormap bitmap-getting - (bitmap1a): implement no-colormap bitmap-getting to pixbuf with - alpha - (rgb8): indentation - (rgb1a, rgb1): change the way we read the data out of the image, - old way didn't seem to work quite right. - - I'm pretty sure a lot of the rgbconvert code is still broken. - - * gtk/gtkwindow.c (gtk_window_move_resize): move hints comparison - above position constraint (I really intended to do this before, - don't know what's up with that) - (gtk_XParseGeometry): shut up gcc - - * gdk/gdkpixbuf-drawable.c (rgb1a): fix bug where "x1" was used - and "0" should have been. remove the attempted 4-bytes-at-once - optimization, it was totally broken. - -Sat Aug 25 19:02:39 2001 Owen Taylor - - * gtk/gtkbutton.[ch] gtk/gtktogglebutton.c: Add optional movement - on push to buttons (based on patch from Soeren Sandmann, #54720) - - - Add child_displacement_x/y style properties to control how far the - child moves when the button is depressed. - - - Add non-exported function _gtk_button_set_depressed to clean - up the handling of the in/out shadow and separate it frmo - widget->state. - - - Lots of code cleanup and simplification of state handling - for GtkButton/GtkToggleButton. - - * tests/testgtkrc: Set the x/y displacement to 1 to provide a test - of button movement. testgtk + testgtkrc == test ugly GTK+, as always. - -Fri Aug 24 23:09:05 2001 Owen Taylor - - * gtk/gtkimage.[ch] docs/Changes-2.0.txt: Break compatibility - and make gtk_image_new() take no arguments. The compiler will - catch it, and it is vastly more useful than having - gtk_image_new() be a deprecated alias for gtk_image_new_from_image(). - - * gtk/gtkmenu.c (gtk_menu_set_property): Apply patch - to add tearoff-title property (#51319, Lee Mallabone) - -Fri Aug 24 22:12:32 2001 Owen Taylor - - * gtk/gtkmenuitem.[ch]: Remove unused and useless function - gtk_menu_item_configure(). (#58925) - -Fri Aug 24 16:03:45 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add - "use_align" to give people the option to just make a cell visible. - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): fix bug where - we were scrolling past the end of the tree. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_start): - rename gtk_tree_view_column_pack_start_cell_renderer to - gtk_tree_view_column_pack_start. Same for pack_end, and clear. - -Fri Aug 24 12:02:08 2001 Owen Taylor - - * gtk/gtktextbuffer.c (gtk_text_buffer_new): Remove - a stray g_object_ref() left over from gtk_object_ref/sink. - (Pointed out by Josh Pritikin.) - -Thu Aug 23 19:33:54 2001 Owen Taylor - - * gtk/gtkcontainer.[ch]: Rename gtk_container_children() - to gtk_container_get_children. Added deprecated compatibility - macro. (Suggested by Vitaly Tishkov, #59051) - - * gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children() - calls. - -Thu Aug 23 19:10:01 2001 Owen Taylor - - * gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate - gtk_menu_bar_append/prepend/insert, forgot to do this - when we deprecated gtk_menu_append/prepend/insert. - - * gtk/gtkmenu.h (gtk_menu_insert): Add casts to deprecated - compat macros. - - * gtk/gtkmenu.c: Fix problem with static gtk_menu_insert() being - renamed by compat macro. - - * gtk/gtkfontsel.h: Deprecated gtk_font_selection_get_font(), - gtk_font_selection_dialog_get_font(). (Suggested by - Vitaly Tishkov, #59383) - -Thu Aug 23 18:23:31 2001 Owen Taylor - - * gtk/gtktexttag.c (gtk_text_tag_table_get_size): - Rename from gtk_text_tag_table_size(). (#59366) - -Thu Aug 23 20:01:41 2001 Kristian Rietveld - - * gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch], - gtk/gtktreestore.[ch], gtk/gtktreeviewcolumn.[ch], - gtk/gtkliststore.[ch]: use GtkSortType instead of GtkTreeSortOrder. - (#59173). - -Thu Aug 23 16:26:47 2001 Tim Janik - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize): - * gtk/gtktextmark.c (gtk_text_mark_finalize): chain parent class - handlers, pointed out by Joshua N Pritikin . - -Wed Aug 22 19:15:39 2001 Owen Taylor - - [ Patch from Sebastian Wilhelmi, 52790 ] - - * gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h - - * gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h: - Move compatibility macros from g[dt]kcompat.h to within - #ifndef G[DT]K_DISABLE_DEPRECATED in each file. - - * gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h. - - * demos/Makefile.am demos/gtk-demo/Makefile.am - docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am - tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED. - - * demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c, - testpixbuf.c}: Fix usages of deprecated functions. - -Wed Aug 22 19:03:27 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection - when changing models. - -Wed Aug 22 18:25:46 2001 Jonathan Blandford - - * gtk/gtktreeview.c: Fix selection. I think it's all dandy now. - We check the current event for modifiers rather than try to trap - all presses. - -2001-08-22 Anders Carlsson - - * gtk/gtkliststore.h (GTK_LIST_STORE_CLASS): Fix a small typo. - It's LIST_STORE, not LISTSTORE. - -Tue Aug 21 12:43:29 2001 Owen Taylor - - * gtk/gtk.h: Remove commented out gtkpacker reference. - -2001-08-21 Matthias Clasen - - * configure.in (all_loaders): Add tga loader, - patch by Nicola Girardi. (#56067) - -Tue Aug 21 02:57:13 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Fix up selection - a little. More needs to be done tomorrow. - -Tue Aug 21 00:45:55 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_destroy): Grr... Get it right. - -Mon Aug 20 23:48:18 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Fix bug - reported by Kristian Rietveld to handle row - == NULL. - (gtk_tree_view_destroy): Fix bug reported by Kristian Rietveld - to change destroy order. - -Mon Aug 20 11:39:44 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_class_init): Use - correct marshaller. - -Sun Aug 19 03:22:59 2001 Jonathan Blandford - - * gtk/gtkliststore.c: Fix up warnings, #58928. - - * gtk/gtktreeselection.h: Change signal prototype, #58647 - - * gtk/gtktreeview.c (_gdk_tree_view_find_node): Make more robust, - #59221. - - * gtk/gtkstyle.c: Actually prelight arrow, #50981 - -2001-08-18 Hans Breuer - - * gdk/gdk.def : updated externals - - * gdk/win32/gdkselection-win32.c : returning TRUE with gdk_selection_set - is required to get (at least) visible in entry fields. Some selections - are really handled now - even on win32 - but copying via middle - mouse button into a different app needs to wait ... - - * gdk/win32/gdkdnd-win32.c : implemented inter-app drag&drop - mostly by stealling code from gdkdnd-fb.c. Thanks to who ever wrote it! - - * gdk/win32/gdkevents-win32.c : some tweaking to get better expose - handling. I'm not sure if it is better now, but at least not worse - - * gdk/win32/gdkgeometry-win32.c : replaced every call to MoveWindow - with SetWindowPos () which allows more fine-tuning backing-store wise - - * gdk/win32/gdkwindow-win32.c : allow unraised gdk_window_show (). - Also changed move/resize to be more like the X version. - - * gtk/gtk.def : updated externals - -2001-08-19 Sven Neumann - - * gtk/gtktooltips.c - * tests/testtreesort.c - * tests/treestoretest.c: inserted some casts to get rid of compiler - warnings. - -Sun Aug 19 01:44:44 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_pack_{start,end}_cell_renderer): sink cell. - - * gtk/gtktreeview.c (gtk_tree_view_insert_column): sink column. - (_gtk_tree_view_find_node): If *node is NULL, - *tree should be NULL too. - - * demos/gtk-demo/stock_browser.c (do_stock_browser): don't unref - column/renderers. - * tests/testtreecolumns.c: ditto - * tests/testtreefocus.c: ditto - * tests/testtreesort.c: ditto - * tests/testtreeview.c: ditto - * tests/treestoretest.c: ditto - -Sat Aug 18 04:34:31 2001 Jonathan Blandford - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 2 new - signals; is_expander/is_expanded. - - * gtk/gtlcellrendererpixbuf.c: Allow other expanded and closed - pixbufs. - - * gtk/gtktreeview.c: set above properties. - -Sat Aug 18 23:01:33 2001 Owen Taylor - - * gtk/gtkwidget.h: Really remove set_default_style(). - - * docs/Changes-2.0.txt: added a note about - gtk_widget_push/pop/set_default_style. - -2001-08-18 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_move_resize): constrain position on - hints_changed in addition to the other cases. - (gtk_window_move_resize): include last position from configure - notify in debug spew - -2001-08-18 James Henstridge - - * gtk/gtkaccelgroup.c (gtk_accel_group_object_destroy): use the - second argument to the weak ref notify, cleaning up some uglyness. - (gtk_accel_group_attach): remove and add the weak notifier when - changing the accel groups slist. - (gtk_accel_group_detach): same here. - -2001-08-17 Darin Adler - - * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add - missing parameters to utf8 functions to make it compile. - -Fri Aug 17 19:30:14 2001 Jonathan Blandford - - * gtk/gtktreeprivate.h: - * 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_destroy), - (gtk_tree_view_key_press), (gtk_tree_view_leave_notify), - (gtk_tree_view_focus_out), (gtk_tree_view_set_model), - (gtk_tree_view_set_destroy_count_func), - (gtk_tree_view_set_enable_search), - (gtk_tree_view_get_enable_search), - (gtk_tree_view_get_search_column), - (gtk_tree_view_set_search_column), - (gtk_tree_view_get_search_equal_func), - (gtk_tree_view_set_search_equal_func), - (gtk_tree_view_search_dialog_destroy), - (gtk_tree_view_search_position_func), - (gtk_tree_view_interactive_search), - (gtk_tree_view_search_delete_event), - (gtk_tree_view_search_button_press_event), - (gtk_tree_view_search_key_press_event), - (gtk_tree_view_search_move), (gtk_tree_view_search_equal_func), - (gtk_tree_view_search_iter), (gtk_tree_view_search_init): - * gtk/gtktreeview.h: - Add heavily modified patch from Kristian Rietveld to handle - interactive searching. - -Fri Aug 17 17:30:34 2001 Tim Janik - - * gtk/gtktreemodel.c (gtk_tree_path_new_from_string): const correct - string parameter. - - * gtk/gtkoptionmenu.c (gtk_option_menu_set_menu): connect to - GtkMenuShell::selection_done, now that we have it, instead of - ::deactivate so we're not tearing the menu apart and notify - the user prematurely. - -Thu Aug 16 05:22:01 2001 Tim Janik - - * gtk/gtkwindow.c (gtk_window_move_resize): if we actually move our - window, clear window->need_default_position to avoid infinite loops. - some comment fixups and GTK_RESIZE_IMMEDIATE fixups. - -Wed Aug 15 12:36:55 2001 Tim Janik - - * gtk/gtktreeview.c (gtk_tree_view_set_model): move all model setup - code into this place. get rid of GTK_TREE_VIEW_MODEL_SETUP usage. - (gtk_tree_view_set_property): don't cast possible NULL objects. - (gtk_tree_view_destroy): reset the model to NULL. - - * gtk/gtktreeselection.c (gtk_tree_selection_finalize): chain - parent_class handler. - -2001-08-17 Matthias Clasen - - * gtk/demos/gtk-demo/*: Remove all uses of deprecated functions. - -2001-08-17 Anders Carlsson - - * gtk/gtkstyle.c (create_expander_affine): Divide with floating - point numbers so that the result will be floating point. - -2001-08-16 Matthias Clasen - - * tests/testgtk.c (create_handle_box): - (create_toolbar): Replace gtk_window_set_policy calls by - gtk_window_set_resizable. - -2001-08-16 Jakub Steiner - - * gtk/stock-icons/dialog_info.png: new style bulb - * gtk/stock-icons/dialog_error.png: maybe a little drastic ;) - * gtk/stock-icons/dialog_warning.png: need a hand? - * gtk/stock-icons/stock_add.png, stock_remove.png: I hope - the aa border gets chopped off ok - * gtk/stock-icons/stock_colorselector.png: using the new hand - * gtk/stock-icons/stock_dnd_multiple.png: I'm not totally sure what - this one is for, but the old icon was butt ugly. - * gtk/stock-icons/stock*_insert_image.png: not sure if it belongs here - * gtk/stock-icons/stock*_insert_object.png: " - * gtk/stock-icons/stock_index.png: using new hand icon - * gtk/stock-icons/stock*_new.png: the document template being used - elsewhere too - * gtk/stock-icons/stock*_print*.png: new print and print preview - icons (panel/menu) - * gtk/stock-icons/stock*_save*.png, stock*_revert.png: new save/revert - icons based on Tuomas' floppy image. - * gtk/stock-icons/stock*_search*.png: search and s'n'r icons for panel/menu - * gtk/stock-icons/stock*_stop.png: replacing the old 'x' button - * gtk/stock-icons/stock*_trash.png: based on Tuomas' trash icon - * gtk/stock-icons/stock*_undelete.png: " - * gtk/stock-icons/stock_preferences.png: I have a version with a - document base if the sliders are no good. - * gtk/stock-icons/stock_properties.png: properties - - - * gtk/stock-icons/stock*_copy.png, stock*_cut.png, stock*_paste.png: Tuomas' - (tigert@ximian.com) clipboard icons - * gtk/stock-icons/stock_{up,down,left,right}_arrow.png: tigert's new arrows - * gtk/stock-icons/stock*_{undo,redo}.png: tigert's undo/redo icons. - * gtk/stock-icons/stock_open.png: shaded open icon by Tuomas. we should make it a - little bigger IMHO - -2001-08-16 Sven Neumann - - * gtk/gtkbox.c (gtk_box_class_init): removed unused widget_class. - -2001-08-15 Padraig O'Briain - - * gtk/gtkcellrenderertext.c: - Avoid warning when specifying NULL for "attributes" property - -2001-08-15 Matthias Clasen - - * docs/debugging.txt: Add a warning about --enable-debug=no, - some editorial changes. - -2001-08-13 Matthias Clasen - - * gtk/docs/debugging.txt, gdk/gdk.c, gdk/gdkinternals.h, - gdk/x11/gdkmain-x11.c, gtk/gtkdebug.h, gtk/gtkmain.c: Update - debugging info, remove unused debug flags. (#58330) - -Mon Aug 13 13:17:32 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_select_all): - (gtk_tree_selection_select_all): Remove strict checking for rows. - -2001-08-13 Matthias Clasen - - * gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips): - Don't remove the tooltip window when the tip text changes. (#15891) - -Sun Aug 12 12:02:09 2001 Owen Taylor - - * gtk/Makefile.am ($(srcdir)/gtkmarshal.c): Remove extra - $(srcdir). - -Sun Aug 12 10:39:12 2001 Owen Taylor - - * Makefile.am (EXTRA_DIST): Fix problem with trying to - dist files from intl/, which is no longer there. - -2001-08-11 Hans Breuer - - * gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c, - gtk/gtkcellrenderer.c, gtk/gtkcellrenderertext.c, - gtk/gtkcombo.c, gtk/gtkcurve.c, gtk/gtkfontsel.c, - gtk/gtklayout.c, gtk/gtkmisc.c, gtk/gtkpacker.c, - gtk/gtkprogress.c, gtk/gtkruler.c,, gtk/gtksettings.c, - gtk/gtkspinbutton.c, gtk/gtktexttag.c : coalescing property notifies - - * gtk/gtkclist.c, gtk/gtktipsquery.c, gtk/gtktexttag.c, - gtk/gtkwidget.c : added G_SIGNAL_TYPE_STATIC_SCOPE to all - GDK_TYPE_EVENT signals - - * gtk/gtkalignment.c : removed 'direct allocation bug', - which Tim discovered while reading the patch - -Sat Aug 11 14:32:14 2001 Owen Taylor - - * gtk/gtkwidget.h (gtk_widget_set_default_visual): Add some - compat macros for push/pop/set_visual that were supposed - to be added a long time ago, but got dropped. - -Fri Aug 10 16:55:53 2001 Tim Janik - - * gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple - property notifies. - -2001-08-07 Havoc Pennington - - * gtk/gtkfilesel.c (open_ref_dir): fix a typo. - - * gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink; - some fixage is needed here, but nothing simple. Owen understands - it. ;-) - - * gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window - sizing and positioning. Also, fix bug in compute_geometry_hints - (width/height confusion for setting min size). - (gtk_window_move): new function - (gtk_window_resize): new function - (gtk_window_get_size): new function - (gtk_window_get_position): new function - (gtk_window_parse_geometry): new function - - * gtk/gtkwidget.c (gtk_widget_set_size_request): new function - (gtk_widget_get_size_request): new function - (gtk_widget_get_usize): delete, that was a short-lived function - ;-) - (gtk_widget_set_usize): deprecate - (gtk_widget_set_uposition): deprecate, make it a trivial - gtk_window_move() wrapper - (gtk_widget_class_init): remove x/y/width/height properties, - add width_request height_request - - * demos/*: update to avoid deprecated functions - - * gtk/gtklayout.c: add x/y child properties - - * gtk/gtkfixed.c: add x/y child properties, and get rid of - uses of "gint16" - - * tests/testgtk.c (create_window_sizing): lots of tweaks to window - sizing test - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that - configure events on toplevel windows are always in root window - coordinates, following ICCCM spec that all synthetic events - are in root window coords already, while real events are - in parent window coords. Previously the code assumed that - coords of 0,0 were parent window coords, which was - really broken. - - * gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix - warning - - * gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS - and GDK_HINT_USER_SIZE so we can set USSize and USPosition - hints in gtk_window_parse_geometry() - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support - new USER_POS USER_SIZE hints - -2001-08-09 Matthias Clasen - - * tests/prop-editor.c (properties_from_type): Use - g_object_class_list_properties to get the param specs - for a given type. (#58609) - -2001-08-09 Matthias Clasen - - * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to - free the text_aa parts. (#57549) - -2001-08-09 Matthias Clasen - - * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, - not the foreground color. (#57621) - -2001-08-09 Alexander Larsson - - * gdk/win32/gdkfont-win32.c: - Update to the new pango win32 api. - -2001-08-08 HideToshi Tajima - - * gtk/gtkclipboard.c (request_text_received_func): ask apps for - COMPOUND_TEXT instead of TEXT - * gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text): correctly - interpret the return value of g_string_to_compound_text() - (#55152) - -2001-08-08 Matthias Clasen - - * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't - fail if iter is NULL. (#58347) - -2001-08-07 Matthias Clasen - - * gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix - some off-by-one issues, fixing selection of line-ends. (#50323) - -2001-08-07 Matthias Clasen - - * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these - functions in order to make mouse operation work again in the - color wheel. (#58604) - -2001-08-07 James Henstridge - - * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch - the accelerator when the accel object is changed. Fixes bug - #58628. - -2001-08-06 HideToshi Tajima - - * modules/input/gtkimcontextxim.c (mb_to_utf8), xim_text_to_utf8): - Skip g_convert when to_codeset and from_codeset are both 'UTF-8' - (gnome bugzilla #58202) - -2001-08-06 Havoc Pennington - - * gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): The whole - GDK_IS_WINDOW() branch of this was a bit screwed up, because - it was expecting a GdkWindow, not a GdkWindowImplX11. - - Also, we were getting the window rect in screen coords - and the screen rect in window coords then intersecting - them; instead, get window rect in window coords. - - Finally, there were codepaths that resulted in a stuck server grab - (when the window was fully onscreen, or on gdk_image_new() - failure); make the server ungrab thing a bit more - robust/consistent. - -2001-08-06 Sven Neumann - - * gdk/gdkpango.c (gdk_pango_context_destroy): - check if info->colormap != NULL before unref'ing it. It might have - been set to NULL using gdk_pango_context_set_colormap(). - -Sun Aug 5 11:24:27 2001 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_set_current_alpha): - Fix conversion from float to int so that we don't get - skew in the int => float => int roundtrip. - (#58120, reported by Vitaly Tishkov). Also fix problem - where if no alpha was set, the returned alpha - from (say) set_current_alpha() was returned as 1, not 65535. - -Sun Aug 5 09:48:08 2001 Owen Taylor - - * gtk/gtklist.c (gtk_list_clear_items): Fix - problem with selecting a new focus child. - - * gtk/gtklist.c (gtk_list_clear_items): Clear - list->undo/list_focus_child after unparenting - child, since unparenting the child can result - in list->last_focus_child being set. (#58024) - - * Makefile.am (SUBDIRS): Add target specific pc - files to DISTCLEANFILES. - - * gtk/Makefile.am: add @GTK_DEBUG_FLAGS@ - (58327, Matthias Clasen) - -Sat Aug 4 19:28:21 2001 Owen Taylor - - * tests/testgtk.c: Patch from Hans (with various modifications), - to add the ability to use testgtk as a rough-and-ready - benchmark. Try, 'testgtk --bench all:5' (if you want decent - numbers, run without a window manager) - -2001-08-04 Alexander Larsson - - * gdk/win32/gdkinput.c: - Add #ifdef HAVE_WINTAB around wintab.h include. - - * gtk/gtk.def: - Removed marshals that have been moved to glib. - Commented out plug and socket. They didn't compile for me - on win32. - -2001-08-04 Hans Breuer - - * gtk/stocks-icons/makefile.msc : new file - * gtk/makefile.msc.in : use it - - * gtk/gtkstyle.c : not all platforms do provide M_PI and - friends, but luckily there is G_PI - - * gtk/gtk.def : updated - - * gdk/win32/gdkwindow.c (gdk_window_new) : don't make all TEMP - windows WS_POPUP, but only those without a parent. This fixes the - mis-alignment between the selectable (temp, input only) window and - the window text of GtkLabel. - - (gdk_window_show) : respect private->state when actually showing - the window. - - (gdk_window_set_transient_for) : Implementation from Wolfgang - Sourdeau ported to 2.0 and added some - error handling. Should fix #50586. - - * gdk/win32/gdkevents-win32.c : beautify log output - -2001-08-04 Michael Natterer - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): - Need to show the image after adding it to the GtkImageMenuItem. - This used to work without in testgtk because of the - gtk_widget_show_all() at the end of the function. - (Closes #54978). - -Tue Jul 31 22:59:33 2001 Tim Janik - - * gtk/gtknotebook.c (gtk_notebook_get_child_property): - (gtk_notebook_set_child_property): fix finding of child's page, - since we have to validly deal with labels and menus here as well. - (gtk_notebook_get_child_property): fix warning. - (gtk_notebook_class_init): property tab_pack is of type - GTK_TYPE_PACK_TYPE (enum) not boolean. - (gtk_notebook_find_child): don't always warn, we might be looking - for a label or menu child. - (gtk_notebook_map): fix mapping of panel. - - * gtk/gtkwidget.c (gtk_widget_set_child_visible): always constrain - widget's mapped state, regardless of the value being set equals - old settings, since things like REALIZED(parent) or MAPPED(parent) - may have changed since the old value was set. make it an error to - invoke this function on a toplevel widget. - -2001-07-31 Darin Adler - - * gdk/gdkprivate.h: - * gdk/x11/gdkx.h: - Put all mentions of GdkFont inside #ifndef GDK_DISABLE_DEPRECATED. - - * demos/gtk-demo/menus.c: (do_menus): Cast to G_OBJECT, not - GTK_OBJECT. - -Tue Jul 31 15:34:57 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_remove_column): Whoops. Stupid - scoping error pointed out by matthiasc@poet.de. - -2001-07-31 Sven Neumann - - * demos/gtk-demo/appwindow.c - * demos/gtk-demo/item_factory.c - * tests/testgtk.c: gtk_accel_group_attach() takes a GObject. - -Mon Jul 30 10:49:16 PDT 2001 Suresh Chandrasekharan - - * gtk/gtksignal.h (gtk_signal_handler_pending): corrected the wrong - argument order for g_signal_has_handler_pending. - -Sun Jul 29 17:14:01 2001 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): use g_file_test() - instead of long deprecated g_scanner_stat_mode(). - -2001-07-29 Hans Breuer - - * gdk/makefile.msc : build in the backend dir after - auto-generating files - - * gdk/win32/gdkfont-win32.c (gdk_font_load) : reimplement - with code from win32-production-branch. - - * gdk/win32/gdkwindow-win32.c : set the private->destroyed flag - before calling DestroyWindow, which indirectly calls - gdk_window_destroy_notify () - - (performance patch merged from win32-production-branch) - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_segments): - Use PatBlt() instead of LineTo() when possible (solid single-pixel pen, - R2_COPYPEN rop). It is claimed to be much faster. - -Fri Jul 27 11:31:15 2001 Jonathan Blandford - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property): - add an "attributes" property to the text renderer for ATK. - -2001-07-26 Alex Larsson - - * gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): - Initialize image->bits_per_pixel from the drawable, not from - the root window. - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_get_depth): - Fix cast. argument is an IMPL already. - -2001-07-15 James Henstridge - - * gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject. - (gtk_window_remove_accel_group): same here. - (gtk_window_key_press_event): same here. - - * gtk/gtkwidget.c (gtk_widget_add_accelerator): cast to GObject. - (gtk_widget_remove_accelerator): same here. - (gtk_widget_remove_accelerators): same here. - - * gtk/gtkplug.c (gtk_plug_accel_entries_changed): same here. - - * gtk/gtkmenushell.c (gtk_menu_shell_key_press): cast to GObject - instead of GtkObject. - - * gtk/gtkmenu.c (gtk_menu_key_press): update since GtkAccelGroup - now takes GObjects. - - * gtk/gtkitemfactory.c (gtk_item_factory_propagate_accelerator): - pass a GObject to gtk_accel_group_entries_from_object. - (gtk_item_factory_create_item): s/accel_widget/accel_object/ - - * gtk/gtk-boxed.defs: remove GtkAccelGroup boxed def. - - * gtk/gtkaccellabel.c: convert to handle GObject accel objects. - - * gtk/gtkaccellabel.h: fix header to reflect that arbitrary - GObjects can have accelerators set now. Add compatibility - defines. - - * gtk/gtkmarshal.list: add missing marshallers. - - * gtk/gtkaccelgroup.[ch]: convert to a GObject, and allow setting - accelerators on plain GObjects. gtk_accel_group_object_destroy - has been converted into a weak reference, and - gtk_accel_group_delete_entries is now a destroy notify for that - piece of data. - -2001-07-23 Ron Steinke - - * gdk/gdkdraw.c: Added a check on the colormap depth to - gdk_drawable_set_colormap() - * gdk/x11/gdkimage-x11.c: combination of Matthias Clasen's - patch to fix colorsel and my patch to fix gdk_drawable_get_image() - for pixmaps without visuals (more specifically, bitmaps) - * gdk/x11/gdkpixmap-x11.c: Fixed gdk_pixmap_new() so it - doesn't set a colormap with the wrong depth - - -2001-07-22 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Replace the - expander_height and expander_width properties with a single - property, expander_size. - (gtk_tree_view_init): Set the tab_offset to expander_size - plus some padding. - (gtk_tree_view_unrealize): Remove the expand/collapse - timeout if it exists. - (coords_are_over_arrow): Fix a small bug. - (gtk_tree_view_motion_draw_column_motion_arrow): Use - expander_size. - (gtk_tree_view_draw_focus): Use "treeview" instead of - "add-mode" as detail when drawing the focus. - (gtk_tree_view_bin_expose): Use "treeview-drop-indicator" - instead of "add-mode" as detail when drawing the focus. - (gtk_tree_view_deleted): If we have a node currently being - expanded or collapsed, remove the timeout and set the node - to NULL. - (gtk_tree_view_queue_draw_arrow): New function that just - redraws the arrow of a node. - (gtk_tree_view_draw_arrow): Use expander_size instead of - expander_width/expander_height, also pass a different - expander_style to gtk_paint_expander depending on the - state of the node being drawn. - (expand_collapse_timeout): New function for expanding - or collapsing a node depending on the previous state. - (gtk_tree_view_real_expand_row): Add timeout and set - correct state for node being expanded. - (gtk_tree_view_real_collapse_row): Add timeout and set - correct state for node being collapsed. - - * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add - information about the node currently being expanded or - collapsed, and also a timeout id. - - * gtk/gtkstyle.h (struct _GtkStyleClass): Replace is_open - with expander_style for draw_expander. - - * gtk/gtkstyle.c (gtk_draw_expander): Replace is_open with - expander_style. - (create_expander_affine): New function for creating an - expander affine. - (apply_affine_on_point): New function for applying an - affine to a point. - (gtk_default_draw_expander): Modified to take expander_style - instead of is_open, and to draw the rectangle rotated differently - depending on the expander style. - (gtk_paint_expander): Replace is_open with expander_style. - - * gtk/gtkrbtree.h: Add expander states to GtkRBNodeColor. - - * gtk/gtkenums.h: Add expander style enum. - -2001-07-21 Jonas Borgström - - * gtk/gtktreemodel.c (gtk_tree_model_foreach): Check the return - value from gtk_tree_model_get_iter, the model might be empty. - -2001-07-20 Hans Breuer - - * gdk/win32/gdkinput-win32.c : gdk_device_get_history moved to - gdk/gdkinput.c like the other backends - - * gdk/win32/gdkinput-win32.h : - * gdk/win32/gdkinput.c : - * gdk/win32/gdkvisual-win32.c : - * gdk/win32/gdkwin32.h : mechanical adaption to GdkDevice and - GdkVisual GObjectification. UNTESTED for pen-devices because - I simply have none. - - * gdk/gdk.def : - * gtk/gtk.def : updated externals - - * gtk/gtkiconfactory.c : - * gtk/gtkoldeditable.c : GError *error needs to be initialized (= NULL) - before passing &error to functions to avoid strange crashes - - * gtk/gtkcontainer.c (gtk_container_real_set_focus_child) : is static - - * gtk/gtkwidget.c (gtk_widget_get_child_visible): use g_return_val_if_fail - - * gtk/makefile.msc.in : updated - -Thu Jul 19 15:35:32 2001 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): - Add property support. (#51858) - -Thu Jul 19 14:56:33 2001 Owen Taylor - - * gtk/gtkaccellabel.c (gtk_accel_label_class_init) - * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): - Use Shift/Ctrl instead of Shft/Ctl. (#53807) - -Thu Jul 19 11:41:00 2001 Owen Taylor - - * gtk/gtkcolorsel.c: Add propery support (roughly - based on patch from Lee Mallabone, #51014) - - * gtk/gtkcolorsel.h: Mark gtk_color_selection_set_update_policy as - deprecated, since we already g_warning() on it. - -Thu Jul 19 14:24:34 2001 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_set_positions): Fix - typo that sometimes caused selection not to work properly. - - * gtk/gtkentry.c (gtk_entry_grab_focus): Select text in - entry when tabbing in. (#57743) - - * gtk/gtkentry.c (gtk_entry_motion_notify): If the - user drags up above or down below the entry, move - to the end or the beginning of the entry. (Suggestion - from Jay Cox, #50940) - - * gtk/gtkentry.c (gtk_entry_move_cursor): If we have - a current selection, then when moving by chars or - words, move to the end of the selection rather than - from entry->current_pos. (Suggestion from Jay Cox, - #50942) - -Thu Jul 19 12:14:28 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_decorated): Actualy - set window->decorated. (Patch from Hidetoshi Tajima, - #55846) - -Sat Jul 7 02:50:14 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_parent): Enforce - the widget/child realization/mapping invariants. - - * gtk/gtkwidget.[ch] gtk/gtkprivate.h: Add functions - gtk_widget_[get/set]_child_visible() to control - whether visible children of a mapped window are - mapped. - - * docs/widget_system.txt: Updated for changes in - container contract, and addition of GTK_CHILD_VISIBLE. - - * gtk/gtkcontainer.c: Add generic map()/unmap() - functions that work for almost all containers. - - * gtk/gtknotebook.c gtk/gtkpacker.c: Use - gtk_widget_set_child_visible() where necessary. - - * gtk/*.c: Remove excess map(), unmap(), and - realization/mapping invariant enforcing code - from many containers. - -Wed Jul 18 19:51:45 2001 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_set_attributes_from_style): - Get the foreground color from 'text', nor 'fg'. (#57568) - -Wed Jul 18 19:28:46 2001 Owen Taylor - - * gtk/*.c: Patch from Matthias Clasen to remove remove - all instances of g_return_if_fail (foo != NULL); that are - immediately before a g_return_if_fail (GTK_IS_FOO (foo)); - since the second check catches the NULL anyways. - -Wed Jul 18 18:23:05 2001 Owen Taylor - - * gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c - gtktreeview.c: Fix idles and timeouts to be properly surrounded by - GDK_THREADS_ENTER()/LEAVE() pairs. - - * gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls - to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER() - pairs. (Problem found by M. Meeks) - -2001-07-18 Darin Adler - - * gtk/gtkiconfactory.c: (gtk_icon_size_register): Reorder code so - that we don't get a g_warning message every time we register a new - icon size. - - * gdk/x11/gdkcolor-x11.c: (gdk_colormap_alloc1): Fix warning by - using pixel variable of the correct type. - -Fri Jul 13 15:33:32 2001 Owen Taylor - - * gdk/gdkwindow.[ch]: Add a function gdk_window_get_internal_paint_info(), - so that using X functions on a GdkWindow is possible, if - a little hairy. - - * gdk/gdkgc.c (gdk_gc_offset): Add a function to offset the clip - and ts_origin of a GC, so that external parties can offset/restore - a GC, when using gdk_window_get_internal_paint_info(). - -2001-07-17 Darin Adler - - * .cvsignore: Ignore the sgml directory made by gtkdoc. - * demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable - instead of the deprecated gtk_window_set_policy. - * demos/testpixbuf-scale.c: Add missing include. - * gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize - function to get rid of warning and some code too. - * gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add - missing const. - * gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove - unused local. - * gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing - const. - * gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list), - (gdk_utf8_to_compound_text): Add missing const. - * gtk/gtkimage.c: (gtk_image_expose): Remove unused local. - * gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing - cast and get rid of an unnecessary one. - * gtk/gtksettings.c: (gtk_settings_notify): Remove unused local. - * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused - local. - * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level): - Remove unused local. - * modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add - missing const. - * tests/testsocket.c: (add_child): Add cast so the printf format - doesn't make us implicitly depend on what integer type - gtk_socket_get_id returns. - * tests/testtextbuffer.c: Add missing const. - * tests/testtreefocus.c: (main): Remove unused local. - * tests/treestoretest.c: (iter_remove): Remove unused local. - (uppercase_value): Remove unused function. - (make_window): Add statement to quiet the compiler's uninitialized - variable warning. - -Sat Jul 14 12:47:35 2001 Tim Janik - - * gtk/gtkrange.c: - (second_timeout): - (initial_timeout): - (update_timeout): add GDK_THREADS_ENTER/GDK_THREADS_LEAVE. - (gtk_range_calc_layout): compute the new layout based on an - adjustment->value being passed in as argument. - (gtk_range_button_press): for button2 slider warps, first recalc - the layout, then adjust the value. also, use update_slider_position() - for adjusting the value, so we keep pixel quantisation at which we - usually operate (upon motion or button releases). the reason for this - is that, we can't change the adjustment upon button2 presses to a non - quantised value and upon button2 release re-quantise the value since - that'd alter the value even if we didn't get any motion events (causing - unexpected scroll area warps upon release and/or slider pixel-jitter). - (gtk_range_motion_notify): update the slider position from queried - coordinates, not event coordinates. - -Fri Jul 13 09:47:52 2001 Tim Janik - - * gtk/gtkstyle.c (gtk_default_draw_focus): fix line style resetting, - the default gc values are: width=0, CapBut, JoinMiter. - -2001-07-13 Anders Carlsson - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Take - into account the xpad and ypad when calculating the width and the - height of the pixbuf cel. - -Thu Jul 12 18:29:40 2001 Owen Taylor - - * gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group): - Rename to gtk_radio_menu_item_get_group(), add deprecated - alias. (#57044) - - * gtk/gtkfilesel.c: Indentation fix. - -Thu Jul 12 17:33:00 2001 Owen Taylor - - * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias - Hasselmann to fix warnings in compat macros. - (#56773) - - * gtk/gtkmenubar.c (gtk_menu_bar_hierarchy_changed): Fix - stupid wrong cast added in last patch. - -Thu Jul 12 16:51:34 2001 Owen Taylor - - * gtk/gtkwidget.c: Replace a couple of inappropriate calls to - GTK_WIDGET_HAS_FOCUS() with gtk_widget_is_focus(). (#57067) - -Thu Jul 12 14:06:19 2001 Owen Taylor - - * gtk/gtkmenubar.c (gtk_menu_bar_hierarchy_changed): Add - missing cast. - - * gtk/gtkcontainer.c (gtk_container_get_focus_chain): Fix - NULL/FALSE return value confusion. - - * gtk/gtkrange.c (coord_to_value): Fix division-by-zero - problem when scrollbar completely fills range. (Patch - from Matthias Clasen, #57047) - -Thu Jul 12 13:53:28 2001 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly - clean up when handling events for move-resize emulation. - (Problem traced down by Matthias Clasen, #57271) - -Thu Jul 12 13:43:27 2001 Owen Taylor - - * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c - gtk/gtkctree.c gtk/gtkcurve.c gtk/gtkentry.c - gtk/gtkfontsel.c gtk/gtkhandlebox.c - gtk/gtkimcontextsimple.c gtk/gtkmain.c gtk/gtkmenu.c - gtk/gtkmenuitem.c gtk/gtkoptionmenu.c gtk/gtkpixmap.c - gtk/gtkselection.c gtk/gtktextdisplay.c gtk/gtktextview.c - gtk/gtktooltips.c gtk/gtkwidget.c gtk/gtkwindow.c: - Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ] - -2001-07-09 Peter Williams - - * gtk/Makefile.am ($(srcdir)/stamp-gtk.defs): Add a cd $(srcdir) - for when srcdir != builddir - -Mon Jul 9 12:50:51 2001 Jonathan Blandford - - * gtk/gtktreemodel.c: remove gtk_tree_model_get_first in favor of - gtk_tree_model_get_iter_root. - - * gtk/gtkliststore.c: Add a bunch of g_return statements. - (gtk_list_store_iter_n_children): Fix up. - - * gtk/gtktreestore.c: Add a bunch of g_return statements. - -Fri Jul 6 15:38:33 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_class_init): - G_SIGNAL_TYPE_STATIC_SCOPE GtkSelectionData to - restore some workingness. - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Fix - handle of window type for input-only windows. - -Thu Jul 5 21:53:46 2001 Owen Taylor - - * gtk/gtkbbox.[ch] gtk/gtkbox.[ch] gtk/gtk[hv]bbox.c: - Patch from Gregory Merchan to add - gtk_button_box_set_secondary(), which separates - the child into a separate group from the normal - buttons. (#56331) - - * gtk/gtkdialog.c: Make help buttons secondary by - default. - - * gtk/gtkbbox.c: Added a child property "secondary". - - * gtk/testgtk.c: Turn on the help button for the - color selector to check that it properly appears - as secondary. - -Mon Jul 2 01:09:37 2001 Owen Taylor - - * gdk/gdkwindow.[ch] gdk/gdkinternals.h gdk/x11/gdkwindow-x11.c - gdk/linux-fb/gdkwindow-fb.c gdk/x11/gdkwindow-x11.c gdk/gdk: - Add gdk_set_pointer_hooks() to allow pointer-querying to - be hooked by an event record/playback system like GERD. - (#56914) - -Thu Jul 5 08:57:07 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_reset_rc_style): Pass - in the right value of initial_emission to - gtk_widget_set_style_internal (#57091) - -Wed Jul 4 23:17:04 2001 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed): - Make compile. - - * gtk/gtkwidget.c (gtk_widget_reset_rc_style): Fix problem - with calling gtk_widget_set_style_internal() with - the old style, not the new style. (#56989) - -Wed Jul 4 22:35:40 2001 Owen Taylor - - * gtk/gtklabel.c gtk/gtkmenubar.c gtk/gtktreeviewcolumn.c - gtk/gtkwidget.c: - Check GTK_WIDGET_TOPLEVEL(gtk_widget_get_toplevel (widget)), - not GTK_WIDGET_GET_ANCESTOR ... see - http://mail.gnome.org/archives/gtk-devel-list/2001-July/msg00072.html. - Indicate the best practice in the docs for gtk_widget_get_toplevel(). - - * gtk/gtkwidget.[ch]: Expose a private _gtk_widget_hierarchy_changed(), - so GtkPlug can give the correct signals when transforming - from a child to a toplevel. - - * gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed): Handle - reparentation correctly. - - * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed): - Propagate the previous_toplevel argument down properly. - - * gtk/gtklabel.c (gtk_label_finalize): Fix unrefing - of wrong atr list. - - * gtk/gtkplug.[ch]: Add an "embedded" signal. - - * gtk/gtksocket.[ch]: Add "child_added", "child_removed" - signals. - - * gtk/gtkplug.[ch] gtk/gtksocket.[ch]: Add - functions gtk_plug_get_id(), gtk_socket_get_id(), - to avoid the user having to worry about realization, - and gdkx.h. - - * tests/testsocket.c: Extend to try out the new signals - and gtk_plug/socket_get_id(). - - * gtk/gtklabel.c (gtk_label_set_pattern_internal): Fix - setting of underline attributes. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore - DestroyNotify events from SubstructureNotifyMask - - * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): - Switch GDK_WINDOW_TYPE (window) as needed. - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Clean up, - allow creation of toplevel windows as children of - foreign windows. - - * gtk/gtkplug.c: Remove hacks involving changing private - fields of GdkWindow. - - * gtk/gtkplug.[ch] gtk/gtksocket.c: Work to make - exactly the same signals and notification - be emitted for local embedding as for inter-process - embedding. - -2001-07-04 James Henstridge - - * gtk/gtkliststore.h: add missing gtk_list_store_newv prototype. - -Mon Jul 2 16:53:25 2001 Owen Taylor - - * gtk/xembed.h gtk/gtkplug.c gtk/gtksocket.c: For - XEMBED embedding add a _XEMBED_INFO property to the - client with version number and a "mapped" flags. - Use the mapped flag instead of the racy MapRequestEvent - - * gtk/gtksocket.c: Clean up the gtk_socket_steal() - code to reliably set things (when the child is a passive - embedder participating in the XEMBED protocol) intead - of just being a hack for embedding non-participating - programs. Fix various bugs and race conditions. - - * gtk/gtksocket.[ch] gtk/gtkplug.[ch]: Make local embedding - work by simply making the GtkSocket the gtk parent - of the GtkPlug. Set a flag in this case and make - the GtkPlug work like a normal container by overriding - methods such as check_resize and "chaining past" GtkWindow - to GtkBin. - - * gtk/gtkentry.c (gtk_entry_real_activate) - gtk/gtkmain.c (gtk_propagate_event): - Eliminate use of gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW). - - * gtk/gtkwidget.c (gtk_widget_get_toplevel, - gtk_widget_get_ancestor): - Explain why gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) - might not give the expected result and recommend - an alternative. - - * tests/testsocket.c tests/testsocket_child.c - tests/testsocket_common.c tests/Makefile.am: Extended - to test different type of adding plugs to sockets - (local,active,passive), and to test mapping/unmapping - the plug. - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Don't - mark the window as destroyed until after we - called _gdk_windowing_window_destroy(). - (_gdk_windowing_window_destroy() may use GDK functions - on the window.) - - * gdk/x11/gdkinput.c: Remove the check for finalization - - devices can be finalized under some circumnstances. - - * gdk/x11/gdkinput-x11.c (gdk_input_device_new): Fix - small problem with GDK_TYPE_DEVICE. - -2001-07-02 Havoc Pennington - - * gdk/x11/gdkwindow-x11.c (gdk_wmspec_change_state): fix to - use constants not atoms. - -2001-07-02 James Henstridge - - * gtk/gtktextview.c (gtk_text_view_class_init): same here for - PANGO_TYPE_TAB_ARRAY. - - * gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also - for PANGO_TYPE_TAB_ARRAY. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/ - - * gtk/gtk-boxed.defs: move all the boxed definitions to the top of - the file. Remove Pango types from defs -- they are now defined in - libpango. - -Mon Jul 2 06:35:10 2001 Tim Janik - - * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ - - * gtk/gtkobject.c (gtk_object_destroy): invoke - g_object_run_dispose(). - - * gtk/gtkwindow.c: - * gtk/gtkwidget.c: - * gtk/gtkobject.c: - * gtk/gtklist.c: s/shutdown/dispose/ for the GObject - method. - -Sat Jun 30 20:44:48 2001 Owen Taylor - - * gtk/gtktypeutils.c (gtk_type_class): Remove - change check for GTK_TYPE_OBJECT derivation to - G_TYPE_OBJECTS - it's Tim-approved to use this - for arbitary objects. - - * gtk/gtkwindow.c gtk/gtkcontainer.[ch]: underscore - prefix gtk_container_dequeue_resize_handler(). - - * gtk/gtkwidget.[ch]: Add a previous_toplevel argument - to the hierarachy_changed signal, since you otherwise - have to always keep that around. - - * gtk/gtkmenubar.c gtk/gtklabel.c gtk/gtksocket.c: Adapt - for extra argument to hierarchy_changed. - -Tue Jun 26 19:39:03 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL - for style to mean "revert to default style" - - * gtk/gtkwidget.[ch] (gtk_widget_set_rc_style, - gtk_widget_restore_default_style): Make this functions - deprecated aliases for gtk_widget_set_style (widget, NULL). - - * gtk/gtkwidget.[ch]: Remove: - gtk_widget_set_default_style () - gtk_widget_push_style () - gtk_widget_pop_style () - These functions interact are overriden by RC files, and - thus virtually useless, and complicated. - -Fri Jun 22 18:49:48 2001 Owen Taylor - - * gtk/gtkrc.c: Add a GtkRcContext structure to hold - most of the previous global variables in gtkrc.c. This is - in preparation for multi-head, since each screen can - have different GtkSettings and RC information. - - * gtk/gtkrc.[ch]: - - * gtk/gtkrc.h (struct _GtkRcStyleClass): Add a - GtkSettings parameter to GtkRcStyle::parse. - - * gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c: - Add two new settings gtk-theme-name, gtk-key-theme-name, - for RC files that are loaded by name after reading - the default RC files. - - * gtk/gtkrc.c: Allow priorities for styles, as wll as - bindings. - - * gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME, - and use it by default for RC files loaded via - gtk-theme-name, gtk-key-theme-name. - - * gtk/gtkiconfactory.c (gtk_icon_source_set_filename) - gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string) - tests/testgtkrc: Require pathnames to be absolute. - - * gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for - the source when parsing, since the operation of looking up a - pixmap from an RC file depends on the parsing context. - - * gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically - reset RC styles on all widgets when files are reparsed. - - * tests/testgtk.c (create_rc_file) - gtk/gtkwindow.c (gtk_window_read_rcfiles): - Simplify, now that gtk_rc_reparse_all() resets styles on - all widgets itself. - - * gtk/gtkmain.c (gtk_get_default_language): Fix broken - return value. - - * gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove - GtkSettings argument. - - * gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from - gtk_settings_get_global(). - - * gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings() - to get the appropriate GtkSettings for a widget. (For now, - just gets the default GtkSetttings.) - - * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c - gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings - changes. - - * gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow - getting a style for a path without actually having a widget. - (Allows using a style for a subpart of a widget, for - example.) - - * gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing - the RC files to be reloaded for just one GtkSettings - (not sure how useful this really is.) - - * gtk/gtkrc.h: Deprecate - gtk_rc_add_widget_name/widget_class/class_style - -2001-06-30 Alex Larsson - - * gdk/linux-fb/gdkinput-none.c: - * gdk/linux-fb/gdkinput.c: - * gdk/linux-fb/gdkinputprivate.h: - Convert GdkDevice to a GObject. - - * linux-fb/gdkprivate-fb.h: - * linux-fb/gdkvisual-fb.c: - Convert GdkVisual to a GObject. - -2001-06-29 Alex Larsson - - * gdk/gdkvisual.h: - * gdk/gdkcolor.c: - * gdk/x11/gdkx.h: - * gdk/x11/gdkvisual-x11.c: - Convert GdkVisual to a GObject. - - * gdk/gdkinput.h: - * gdk/gdkevents.c: - * gdk/x11/gdkinputprivate.h: - * gdk/x11/gdkinput-gxi.c: - * gdk/x11/gdkinput-none.c: - * gdk/x11/gdkinput-x11.c: - * gdk/x11/gdkinput-xfree.c: - * gdk/x11/gdkinput.c: - Convert GdkDevice to a GObject. - -Fri Jun 29 22:13:28 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types - to just plain new, fixing the number of columns, and column types - at creation time. - - * gtk/gtkliststore.c (gtk_list_store_new): ditto. - - * gtk/gtkcellrenderertext.c - (gtk_cell_renderer_text_set_fixed_height_from_font): FIX the - height to a specific font. - - * gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness. - - * tests/*c: change to work with new store models. - -2001-06-29 Havoc Pennington - - * Throughout: fixes to compile with G_DISABLE_COMPAT - (s/g_signal_connectc/g_signal_connect/, - s/g_signal_newc/g_signal_new/, - s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/) - -Fri Jun 29 03:14:16 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): - add path argument to selection callbacks. - -Fri Jun 29 00:13:34 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_model_foreach): New function to - walk through a model in a depth first manner, with the option to - break out. - -Fri Jun 8 18:52:10 2001 Jonathan Blandford - - * gtk/gtktreeview.[hc]: Patch Thomas Broyer from - . Expander arrows are now attached to a specific - column and follow it when draged, rather than a location in the - view. "expander_column" property and drawing functions changed - accordingly. Fixes bug #55942. - - (gtk_tree_view_{set,get}_expander_column): Now works with a - GtkTreeViewColumn* instead of int. - -Thu Jun 28 22:53:18 2001 Owen Taylor - - * gdk/gdk.c gtk/gtktypeutils.c: Fix args to g_type_init(). - -2001-06-28 Havoc Pennington - - * gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved - image data to the screen, using a server grab to avoid race - conditions. - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove - check for NULL return from gtk_image_new_from_stock(), it never - returns NULL. - (gtk_item_factory_create_item): fix bug where we parsed the stock - ID as an inline pixbuf - - * gtk/gtktext.c (gtk_text_key_press): numeric keypad support - - * gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad - support (should be using binding set here) - - * gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad - support (should be using binding set here) - - * gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad - support - - * gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support - - * gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad - - * gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad - - * gtk/gtkimcontextsimple.c - (gtk_im_context_simple_filter_keypress): keypad - - * gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad - - * gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes - - * gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support - - * gtk/gtkcolorsel.c (palette_activate): keypad support (of course, - should be binding-setted) - - * gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes - - * gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes - - * gtk/gtkcalendar.c: numeric keypad fixes - - * gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad - support - - * gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop - screwup - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha): - clip the render area to the drawable's clip region in advance, - so we don't get data from the server that we don't need. - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha): - check return value of gdk_pixbuf_get_from_drawable(), fall back - to bilevel alpha if we can't get the pixbuf to composite against. - - * gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap - - * gdk/gdkimage.c (gdk_image_get_colormap): add - gdk_image_set_colormap, gdk_image_get_colormap - - * gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to - take a region of the image, instead of converting the entire - image. - - * gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help - keybinding signal. Add default bindings for it. Add default - handler for show_help that shows the tooltip for the widget. - - * gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and - "close" keybinding signal, remove key press handler. - - * gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this, - it's not our usual practice to leave a deprecated function around - with a runtime warning, plus we don't want it to appear in docs, - plus if we make them yellow no one will want to change them - anyhow. - -Thu Jun 28 23:53:31 2001 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_hide): !GTK_OBJECT_DESTROYED() -> - GTK_WIDGET_REALIZE() for resize queueing. - - * gtk/gtkmain.c (gtk_main_do_event): !GTK_OBJECT_DESTROYED() -> - GTK_WIDGET_REALIZE() for post event delivery destruction upon - GDK_DESTROY. - - * gtk/gtkwidget.c: added GtkWidget::event-after notification signal, to - sompensate for former (pre-2.0) connect_after() facility. - (gtk_widget_send_expose): - (gtk_widget_event): assert the widget is realized, since event delivery - to non-realized widgets is essentially a bug. event handlers should - be able to unconditionally rely on widget->window (unless they - emit events on their own which can trigger widget destruction). - (gtk_widget_event_internal): removed old outdated GTK_OBJECT_DESTROYED() - logic. event delivery happens as follows: - a) emission of GtkWidget::event (RUN_LAST handler). returns was_handled. - b) if !was_handled in (a) and the widget is still realized, emit event- - specific signal (RUN_LAST handler). returns was_handled. - c) emission of GtkWidget::event-after for notification if the widget is - still realized (regardless of was_handled from previous stages, no - class handler). no return value. - d) was_handled gets passed on to caller, to determine further - propagation. if the widget got unrealized meanwhile, was_handled - is returned as TRUE. - - * gdk/gdkevents.[hc]: added gdk_event_get_root_coords() and - gdk_event_get_coords(). - -Thu Jun 28 17:18:41 2001 Tim Janik - - * configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface - age 0, binary age 0. depend on glib 1.3.7. - - * gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack. - - * gtk/gtkmenubar.c: same here. - - * gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival. - - * gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage. - - * gtk/gtkentry.c (gtk_entry_focus_in): same here. - - * gtk/gtkmenubar.c (add_to_window): likewise. - - * gtk/gtktextbtree.c: and here... - - * gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing. - - * gtk/gtktoolbar.c (gtk_toolbar_init): once more. - - * gtk/gtktreemodel.c (connect_ref_callbacks): and another time. - - * gtk/gtktreeviewcolumn.c: - (_gtk_tree_view_column_set_tree_view): yet again. - - * demos/gtk-demo/images.c (progressive_timeout): demonstrate - signal connections without g_signal_connect_data(). - - * demos/gtk-demo/stock_browser.c (do_stock_browser): second - demo of the matter. - - * demos/testpixbuf.c (main): running out of equality phrases for the - ChangeLog, but had to adapt connections here as well. - - * demos/testanimation.c (progressive_timeout): and for the fun of it, - tackled this the same way. - - * tests/testtext.c (create_view): ok, it's becoming a pain at this - point, but had enough enery for one more fix. - - * tests/testtreecolumns.c (main): stand up man, do your work! - - * tests/testtreeview.c (set_columns_type): ok, this is the last file i - fix, either that's been all of it or CVS gtk is broken yet again. - -2001-06-29 James Henstridge - - The following changes correspond to bug #56812 - - * gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type - code for GdkDevice. - - * gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for - GdkCursor. - -2001-06-19 Havoc Pennington - - * gdk/x11/gdkwindow-x11.c (gdk_window_show_unraised): new function - for mapping a window without fooling with stacking order, but - updating the "withdrawn" flag - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Do event - filtering as soon as possible, moving move resize and wmspec_check - handling after the event filter. Make default filter apply to all - events, not just those with no GdkWindow wrapped around the X - window. Fix a FIXME about how the window could be a pixmap using - RTTI; this of course assumes GDK_IS_WINDOW() is optimized. - - Also, be robust against events not on a known GdkWindow. - - * gdk/x11/gdkmain-x11.c (gdk_x11_grab_server, - gdk_x11_ungrab_server): export reference-counted server grabs, so - other people can grab server over a GDK function that also does - so. - -Wed Jun 27 19:40:31 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_pack_start_cell_renderer): New function to - reflect that you can (hypothetically) pack cell renderers into a - column. - (gtk_tree_view_column_pack_end_cell_renderer): ditto. - (gtk_tree_view_column_cell_is_visible): Move more functionality to - the column. - (gtk_tree_view_column_cell_can_focus): Move more functionality to - the column. - - * gtk/gtktreeview.c: Move to use new column-packing code. - (gtk_tree_view_real_expand_row): remove totally braindead code. - (gtk_tree_view_real_collapse_row): ditto. - -2001-06-27 Kjartan Maraas - - * gtk/gtktreeviewcolumn.c: Fix a typo. - -2001-06-26 Joel Becker - - * gdk-pixbuf/gdk-pixbuf-csource.c: remove '#include "x"' line - at the end of the file - -2001-06-26 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_set_policy): forgot a notification - -2001-06-26 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_class_init): add "resizable" - property - -Tue Jun 26 12:59:28 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): fix - stupid missing statement - - * gtk/gtktreeview.c (gtk_tree_view_set_destroy_count_func): New - private function for ATK. It notifies you of how many _visible_ - children are deleted when a node is deleted. Should be used by - atk only. - -Tue Jun 26 11:06:34 2001 Owen Taylor - - * gtk/gtkclist.c gtk/gtkentry.c gtk/gtkspinbutton.c: - Use new pango_context_get_metrics() to fix problems - with font lists in descriptions. (#56184, reported by - Jonas Borgström) - -Tue Jun 26 10:04:30 2001 Tim Janik - - * gtk/gtkiconfactory.c: - * gtk/gtkitemfactory.c: use gdk_pixbuf_new_from_stream(). fixed up - item factory so inlined pixbufs actually work. - -2001-06-25 Havoc Pennington - - * gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c: - s/RESIZEABLE/RESIZABLE/ - - * gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/ - -2001-06-25 Alexander Larsson - - * configure.in: - Added --enable-fbmanager. This is some experimental code - that lets several GtkFB apps coordinate their access to the - framebuffer. - - * acconfig.h: - Added ENABLE_FB_MANAGER. - - * gdk/linux-fb/Makefile.am: - Added gdkfbmanager and gdkfbswitch. - - * gdk/linux-fb/gdkkeyboard-fb.c: - * gdk/linux-fb/gdkmouse-fb.c: - * gdk/linux-fb/gdkprivate-fb.h: - Split device init and open so that - they can be opened and closed while switched - away. - - * gdk/linux-fb/gdkmain-fb.c: - Add the basic manager communication. - - * gdk/linux-fb/gdkrender-fb.c: - Don't update to the shadow fb if we're - blocked by the fb manager. - -Sun Jun 24 22:15:16 2001 Owen Taylor - - * docs/Changes-2.0.txt: Add note about child property - changes. - -Sun Jun 24 21:34:32 2001 Owen Taylor - - * gtk/gtkenums.h gtk/gtkiconfactory.c: Add a special size for - drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32) - - * gtk/gtkdnd.c (gtk_drag_dest_set_target_list): Fix problem - with un'reffing wrong list reported by Jeff Franks. - - * gtk/gtkdnd.[ch] (_gtk_drag_{source,}dest_handle_event): _prefix. - - * gtk/gtkdnd.c (gtk_drag_set_icon_default): Use GTK_STOCK_DND - for the default icon. Remove inline XPM. - - * gtk/gtkstock.h gtk/gtkiconfactory.c: - Add GTK_STOCK_DND GTK_STOCK_DND_MULTIPLE (Currently, stock_new - is used for GTK_STOCK_DND, but it is a bit too small.) - - * gtk/stock-icons/stock_dnd_multiple.png - gtk/stock-icons/Makefile.am: New stock icon moved from gnome-libs. - - * gtk/gtkdnd.c (gtk_drag_source_event_cb): Only return - TRUE when starting a drag. In other cases, we are - just observing. (#52995) - - * gtk/gtkdnd.[ch] (gtk_drag_set_icon_{stock,pixbuf}): Add - function to set the icon for a drag from a GdkPixbuf - or stock ID. - - * gtk/gtkdnd.[ch] (gtk_drag_source_set_icon_{stock,pixbuf}): - Likewise, for drag sources. - - * gtk/gtkdnd.h: Deprecate gtk_drag_set_default_icon. - (Now should be done using the stock system.) - -Sun Jun 24 12:06:47 2001 Owen Taylor - - * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): - Removed - didn't work and not particularly useful anyways - if it did. - -Sun Jun 24 11:29:35 2001 Owen Taylor - - * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error - introduced last night that was making things decidedly not work. - - * gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters - so that we have getter/setter pairing everywhere it makes - sense. (#55767) - - * gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.: - Rename gtk_radio_button_group to gtk_radio_button_get_group, add a - deprecated compat macro. (#55516) - - * gtk/gtklabel.[ch]: Add functions - gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(), - gtk_label_set_label(), which mirror the property API for GtkLabel. - Make gtk_label_get_attributes() only reflect the attributes - set by gtk_label_set_attributes. - - * gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename - from gtk_notebook_set_page(). - -Sat Jun 23 18:02:46 2001 Owen Taylor - - * configure.in: Fix tests for XShm.h. - - * gdk/x11/gdkimage-x11.c: Cleanup error handling in - gdk_image_new() by use of goto, properly use g_object_unref(). - -Sat Jun 23 22:03:20 2001 Tim Janik - - * gdk/x11/gdkimage-x11.c (gdk_image_init): disabled g_free (image) - calls, as GdkImage is an object. these should be g_obejct_unref() - instead but that won't work because of the g_error() statement - in gdk_x11_image_destroy(). so for now, i did s/g_free/LEAK_IMAGE/ - to spot these places. - -Sat Jun 23 10:27:53 2001 Owen Taylor - - * modules/input/gtkimcontextxim.c: Fixup some problems with - text length handling in error cases. - - * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder - a bit to make test actually warn on attempt to allocation - a negative size. (#56101, Matthias Clasen) - -Fri Jun 22 14:06:08 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug - noticed by Brian Cameron. - (gtk_tree_view_real_expand_row): Fix bug noticed by Brian - Cameron. - -2001-06-22 Hans Breuer - - * gdk/gdk.def : updated externals - - * gdk/win32/gdkdrawable-win32.c : corrected some casts - in GDK_NOTEs - - * gdk/win32/gdkevents-win32.c : use _gdk_windowing_window_get_offsets - to translate coordinates to the internal > 16 bit system - Try to handle WM_WINDOWPOSCHANGED to get better performance for - when moving/resizing - - * gdk/win32/gdkkeys-win32.c : implement gdk_keymap_get_default () - and gdk_keymap_get_direction (). The latter is untested for - the RTL case - - * gtk/gtk.def : updated externals - - * gtk/gtkmain.c : gtk_get_default_language () should reurn the result - from pango_language_from_string (), not an already freed pointer - - * gtk/stock-icons/stock_menu_sort_ascending.png : PNGs need to be - binary (-kb) to be useable on windoze - -2001-06-21 Alexander Larsson - - * gdk/linux-fb/gdkfont-fb.c (gdk_font_from_description): - Update to new PangoLanguage changes. - - * gtk/gtkwindow-decorate.c: - * gtk/gtkwindow.[ch]: - Added setting argument to gtk_window_set_has_frame () - -Thu Jun 21 13:42:01 2001 Owen Taylor - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_get_direction): Handle - the case without XKB properly. - - * gtk/gtkrc.c (gtk_rc_set_default_files): Remove - unused gtk_rc_auto_parse variable. - - * gtk/gtkrc.[ch] gtk/gtkstyle.c docs/Changes-2.0.txt: - Remove gtk_rc_set_image_loader(), gtk_rc_load_image(), no - longer needed with GdkPixbuf. - - * gtk/gtkrc.c (_gtk_rc_init): Make private. - -Fri Jun 15 16:26:12 2001 Owen Taylor - - * gtk/gtkentry.h: Mark deprecated functions with - GTK_DISABLE_DEPRECATED. - -Mon Jun 11 18:15:16 2001 Owen Taylor - - * gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype. - - * gtk/gtk[hv]scale.c: Include math.h, stdlib.h - - * gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch] - gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c - gtk/gtktextdisplay.c gtk/gtktextiter.[ch] - gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt - to recent changes in Pango. - - * tests/testgtk.c: Set language tags with gtk_label_set_markup() - to test whether the basic engine honors them. - -Thu Jun 21 02:13:40 2001 Tim Janik - - * gtk/gtkcontainer.[hc]: added gtk_container_child_set_property() and - gtk_container_child_get_property(). - -Wed Jun 20 19:19:15 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): clean up - (gtk_tree_view_move_cursor_page_up_down): implement. - -Wed Jun 20 05:32:05 2001 Tim Janik - - * gtk/gtkspinbutton.c: make maximum digits compile time configurable - via MAX_DIGITS and up to 20. 5 was just ridiculously small. - don't use automatic fixed size buffer for printf-ing floats, doubles - can expand to really _huge_ strings, use g_strdup_printf() instead. - -Wed Jun 20 04:28:24 2001 Tim Janik - - * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a - construct property in 1.2 and still needs to be. - - * gtk/gtkwidget.c: "composite_child" is not a settable property. - -Tue Jun 19 19:13:19 2001 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_clear): - * gtk/gtktreestore.c (gtk_tree_store_clear): New functions to - clear a model. - -Mon Jun 18 02:00:49 2001 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_get_property): fix PROP_EVENTS. - - * gtk/Makefile.am: - * gtk/gtk.h: disabled GtkPacker compilation. - - * gtk/gtkarg.[hc], gtk/gtkargcollector.c: got rid of these. - - * gtk/gtknotebook.c: - * gtk/gtktable.c: - * gtk/gtkbox.c: ported this over to child properties. - - * gtk/gtksettings.c: fetch class properties via - g_object_class_list_properties(). - - * gtk/gtkcontainer.[hc]: implemented child properties, got rid of the - child arg interface. use gobjectnotifyqueue.c for child property - notification. - - * gtk/gtkwidget.[hc]: provide necessary means for container child - properties, i.e. ::child_notify signal, - gtk_widget_freeze_child_notify(), - gtk_widget_child_notify(), - gtk_widget_thaw_child_notify(). - - * tests/testgtk.c: removed inferior property handling code, for - property editing, a generic module should be used, and GLE - coincidentally fullfills that purpose. - - * docs/reference/Makefile.am: disabled gtk docs building, gtk-doc - needs to be adapted to g_object_class_list_properties() before this - builds again. - -Mon Jun 18 20:06:10 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_row_expanded): New function to - test if a node is expanded. - -Mon Jun 18 19:41:38 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug - where collapsing a selected row would result in the cursor/anchor - getting screwed up. - -Fri Jun 15 18:53:48 2001 Jonathan Blandford - - * gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename - gtk_tree_sortable_sort_column_id_set_func. It's much shorter now. - * gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!! - Now I can really reorder/sort all Store widgets. treesorttest - seems to just work now. - * gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops. - testtreesort worked through a big coincidence all this time. - * gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty - code. - * tests/testtreecolumns.c: Big 'ol warning at the top letting - people know that this code should never ever ever be copied. - -2001-06-15 Jonas Borgström - - * gtk/gtkwindow.h: Fixed a small typo, it should be - GTK_WINDOW_GROUP_GET_CLASS and not GTK_WINDOW_GET_CLASS - on line 134. - -2001-06-14 Havoc Pennington - - Docs fixups, and: - - * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with - GTK_DISABLE_DEPRECATED - -Thu Jun 14 19:21:27 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot - this a couple months ago. Now GtkTreeStore sort of sorts. I'll - finish it off tonight, though it basically works now when it's a - list. Also, I have a sinking feeling neither GtkTreeStore or - GtkListStore actually resort when adding a new item. I'll look - into it. - -2001-06-14 Havoc Pennington - - * demos/gtk-demo/main.c (load_file): fix bug identified by - warnings I just added to gtktextbuffer - -2001-06-14 Havoc Pennington - - * gtk/gtkwindow.c (window_group_cleanup_grabs): fix other typo - - * gtk/gtkwidget.c (gtk_widget_propagate_state): fix typo - - * gtk/gtktextbtree.c: don't leak node data all over the place. - - * demos/gtk-demo/main.c (main): create fontify tags for the right - buffer - - * gtk/gtktextbuffer.c, gtk/gtktexttagtable.c: enhance docs - to mention tags in the same table can't have the same name, - suggested by Skip Montanaro - -2001-06-11 Havoc Pennington - - * gtk/gtktexttagtable.c (gtk_text_tag_table_add): improve warning - for trying to add two tags with same name to the tag table - - * demos/gtk-demo/main.c (main): fix colors ;-) - -`Fri Jun 8 17:56:52 2001 Owen Taylor - - * gtk/gtkwindow.[ch] gtk/gtkmain.c: Add a GtkWindowGroup struct - that allows grouping together multiple windows so that grabs - within that set of windows only affect those windows. - - * gtk/gtkmain.c gtk/gtkwidget.[ch]: Add a "grab_notify" - signal for notification when a widget becomes shadowed - by a grab or is no longer shadowed by a grab. - - * gtk/gtkwidget.c (gtk_widget_propagate_state) - gtk/gtkmain.c: (gtk_widget_grab_add): Don't allow - insenstive widgets to maintain a grab. - -2001-06-14 Alexander Larsson - - * docs/README.linux-fb: - Add some example config files that can be used with the URW fonts. - - * gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init): - Set up the color ramps for DirectColor mode. - -2001-06-11 Havoc Pennington - - * Release 1.3.6 - -2001-06-13 Alexander Larsson - - * gdk/linux-fb/gdkwindow-fb.c: - Unify shaped window code and make it repaint the area that used - to be part of the shape, but isn't anymore. - -2001-06-11 Havoc Pennington - - * NEWS: Updates - - * configure.in (GTK_MINOR_VERSION): bump version to 1.3.6 - - * gtk/Makefile.am: glib_genmarshal already contains top_builddir - -2001-06-13 Alexander Larsson - - * gdk/linux-fb/gdkdnd-fb.c (gdk_drag_status): - Don't pass on GDK_ACTION_DEFAULT. The Xdnd code - passes zero instead, so do we. - -2001-06-13 Alexander Larsson - - * gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy): - Deep copy dash_list too. - (_gdk_fb_gc_new): Set default cap_style before - setting values. - -2001-06-12 Alexander Larsson - - * gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default, - gdk_keymap_get_direction): New functions. - -Tue Jun 12 12:41:27 2001 Jonathan Blandford - - * gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify - gtk_tree_model_get_flags by adding a second flag for atk. - - * gtk/gtktreemodel.c: make cursor behavior interact better with - mouse presses. - -Mon Jun 11 12:43:08 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_class_init): changed - expand_row/collapse_row to be 2 signals each -- test_expand_row - and row_expanded as well as test_collapse_row and row_collapsed. - -2001-06-10 Anders Carlsson - - * demos/gtk-demo/stock_browser.c (do_stock_browser): Update - signal name to be changed instead of selection_changed. - -2001-06-08 Havoc Pennington - - * gtk/gtkentry.c (gtk_entry_class_init): add read-only - "scroll_offset" property for notification when the layout offsets - may have changed - (gtk_entry_adjust_scroll): add notify for scroll_offset - (gtk_entry_layout_index_to_text_index): function to compensate for - preedit string when doing coordinate stuff on the entry's layout - (gtk_entry_text_index_to_layout_index): inverse function - (gtk_entry_get_layout_offsets): hook to get current position of - the layout - (gtk_entry_get_layout): hook to get the layout itself. - - * gtk/gtklabel.c (gtk_label_get_layout): new function - -Fri Jun 8 19:49:29 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): New - keybinding. - (gtk_tree_view_focus): Fix merge conflict. - -Fri Jun 8 18:41:30 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_cursor): new function to - clean up cursor handling. - -2001-06-08 Havoc Pennington - - * gtk/gtktextbuffer.c (gtk_text_buffer_get_start_iter): added this - function - - * gtk/gtktextview.c (gtk_text_view_get_default_attributes): added - this function - -2001-06-08 Alex Larsson - - * gtk/gtkcompat.h.in: - Added compat macros for all old GTK_TYPE_GDK_xxx types. - Fixes bug #52892 - -2001-06-08 Havoc Pennington - - * gtk/gtkhsv.h (struct _GtkHSVClass): had GtkContainerClass as - parent still - -2001-06-08 Havoc Pennington - - * gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez, - don't call g_list funcs on GSList - - * gtk/gtkwidget.c (gtk_widget_child_focus): replaces - gtk_container_focus(), since some widgets have focusable locations - which are not other widgets. These widgets should not have to be - containers just to manage the focus. For example, GtkHSV is - currently a container for no good reason. Also, this cleans - up the "if (is_container && is_sensitive && is_drawable) - container_focus ()" mess in widget implementations. - - * gtk/gtkcontainer.c (gtk_container_focus): deprecate this - function, and have it just call gtk_widget_child_focus(). - - * gtk/gtkhsv.c: derive from widget not container - - Throughout: fix to reflect GtkContainer::focus change - -Fri Jun 8 12:38:49 2001 Jonathan Blandford - - * gtk/gtktable.c (gtk_table_resize): warn if row/cols are out of - range. Fix bug #55921 - - * gtk/gtkliststore.c (gtk_list_store_new_with_types): fix doc bug - (#55920). - -Fri Jun 8 12:03:07 2001 Owen Taylor - - * gdk/gdkkeys.[ch]: Add a direction-changed signal, - and gdk_keymap_get_current_direction(). - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkkeys-x11.c - gdk/x11/gdkmain-x11.c gdk/x11/gdkprivate-x11.h: Track - the current locked group, use it to set the keymap - direction. - - * gtk/gtksettings.c: Add a new gtk-split-cursor setting - to determine whether we draw a split cursor or use - a jumping cursor based on the current direction. - - * gtk/gtkentry.c gtk/gtktextview.c gtk/gtktextlayout.[ch]: - Obey the split cursor setting. - -Fri Jun 8 11:57:50 2001 Owen Taylor - - * gtk/gtkimmulticontext.c (activate_cb): Only activate - when toggling on, not when toggling off... (#55906) - -Wed Jun 6 10:37:07 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_double_buffered): - s/gdk_window_begin_paint/gdk_window_begin_paint_region/ - in docs. (#55812, Vitaly Tishkov) - -2001-06-08 Anders Carlsson - - * demos/gtk-demo/main.c (create_tree): Changed signal name from - selection_changed to changed in signal connection to GtkTreeSelection, - also used g_signal_connectc since GtkTreeSelection is now a GObject. - -Thu Jun 7 18:25:42 2001 Jonathan Blandford - - * gtk/gtktreeselection.c: Now it's a GObject instead of a - GtkObject. The GtkTreeSelection::selection_changed signal is now - the GtkTreeSelection::changed signal. - - * gtk/gtktreeview.c: Modified to deal with new GtkTreeSelection - object. - - * tests/gtktree*.c: Modified to deal with new GtkTreeSelection - object. - -2001-06-07 Havoc Pennington - - * gtk/Makefile.am: fix glib-mkenums and glib-genmarshal again - -2001-06-07 Havoc Pennington - - * gtk/Makefile.am: fixups for glib-mkenums and glib-genmarshal - (not tested yet because with absolute path to srcdir I can't build - atk, but it was broken anyway so this may help) - -2001-06-07 Havoc Pennington - - * configure.in: output m4macros/Makefile - -Wed Jun 6 21:59:16 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow - buttons. Fixes #55460 reported by matthiasc@poet.de. - -Wed Jun 6 21:18:54 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize - expansion/collapsing so it only happens in one place. - (gtk_tree_view_real_expand_row): ditto. - -2001-06-07 Havoc Pennington - - * tests/Makefile.am: add missing -I flag - - * gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc. - - * configure.in: use pkg-config to see if GModule is - supported; fix to properly turn on included loaders - when GModule isn't supported; don't use AC_CHECK_LIB - when libs are not installed yet - - * autogen.sh: add support for AUTOGEN_SUBDIR_MODE - - * Makefile.am (SUBDIRS): add m4macros subdir - - * gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in - dependencies also. - -Wed Jun 6 19:31:11 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_model): fix silly bug - reported by "Padraig O'Briain" . - -Wed Jun 6 20:01:38 2001 Jonathan Blandford - - * gtk/gtktreeview.c - (gtk_tree_view_real_expand_collapse_cursor_row): Handle key - bindings to expand and collapse rows. - (gtk_tree_view_real_select_cursor_parent): New key binding. - (gtk_tree_view_real_toggle_cursor_row): New key binding. - - * gtk/gtkmarshal.list: new - marshaller. (VOID__BOOLEAN_BOOLEAN_BOOLEAN) - -2001-06-06 Havoc Pennington - - * gtk/gtkrange.c (gtk_range_class_init): add "inverted" property - - * gtk/gtkscale.c (gtk_scale_class_init): Change Page Up and Page - Down to move visually rather than logically, since it confuses - people. Add -/+ and Ctrl--/+ bindings for logical movement. - -2001-06-06 Alex Larsson - - * gdk/linux-fb/gdkmain-fb.c (_gdk_windowing_init_check): - Fix up error messages. - -Wed Jun 6 10:34:42 2001 Owen Taylor - - * gtk/gtktooltips.h: Include gtkwidget.h - (#55798, Karl Nelson) - - * gdk/x11/gdkwindow-x11.c (utf8_is_latin1): 0xff is - a valid latin-1 character. (Marc Lehmann, #35467) - - * gdk/x11/gdkwindow-x11.c: Fix minor typo in comment. - (Marc Lehmann, #35467) - -2001-06-05 Alex Larsson - - * demos/gtk-demo/appwindow.c (do_appwindow): - Don't swap the order of the args to gtk_widget_destroyed. - - * tests/testgtk.c (destroy_properties): - Don't crash when the properties window is destroyed. - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): - Use with_mnemonics to handle the case of stock items with - underscores in them. - -2001-06-05 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_order): rename from - gtk_text_iter_reorder - -2001-06-05 Havoc Pennington - - * gtk/gtktoolbar.c (gtk_toolbar_remove_space): new function - -2001-06-05 Havoc Pennington - - * gtk/gtkspinbutton.c (gtk_spin_button_set_range): clamp the value - to the range that was set - - * gtk/gtkrange.c: add value_changed signal, primarily - intended for use with GtkScale - (gtk_range_set_increments): new function - (gtk_range_set_range): new function with weird name - (gtk_range_set_value): new function - (gtk_range_get_value): new function - - * gtk/gtkspinbutton.c (gtk_spin_button_get_value): rename - from gtk_spin_button_get_value_as_float(). Compat #define - added for get_value_as_float. - - * gtk/gtkhscale.c (gtk_hscale_new_with_range): new function - - * gtk/gtkvscale.c (gtk_vscale_new_with_range): new function - -Tue Jun 5 14:57:18 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_size): Fix bug #55573 - -Mon Jun 4 12:41:25 2001 Owen Taylor - - * gtk/gtkwidget.h: Deprecate gtk_widget_set(). - - * tests/testgtk.c (create_tooltips): Remove usage of - gtk_widget_set(). - -2001-06-05 Havoc Pennington - - * gtk/gtkcolorsel.c: Use new mnemonic convenience functions - - Applying patch from Jeff Franks, with function docs added. - - * gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic): - remove call to set_mnemonic_widget, change docs a bit. - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic): - new function - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic): - new function - - * gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function - - * gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new - function - (gtk_radio_button_new_with_mnemonic_from_widget): new function - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic): - new function - - * gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new - function - - * gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on - auto-selection of mnemonic widget. - -Mon Jun 4 15:05:24 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_max_width): - Fix segfault found by Vitaly Tishkov . - (gtk_tree_view_column_set_min_width): ditto. - -Tue Jun 5 11:04:06 2001 Owen Taylor - - * gdk/gdkpixmap.h (GDK_PIXMAP_GET_CLASS): - s/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks) - -Mon Jun 4 12:50:11 2001 Owen Taylor - - * gtk/gtkctree.c (gtk_ctree_insert_gnode): Add a missing - gtk_clist_thaw(). - -2001-06-04 Havoc Pennington - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore -r eleases for buttons 6, 7 - -2001-06-04 Havoc Pennington - - * gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup - (s/CHECK/SEPARATOR/ gone awry). Patch from Jeff Franks, bug - #55562 - -2001-06-04 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_size_request): handle case - where text_view->layout == NULL by assuming its size is 0, - i.e. same as if we haven't done any reflow. Reported by - Hidetoshi Tajima #55448 - -2001-06-04 Havoc Pennington - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): support button 6 - and 7 for scroll left/right, from Thomas Broyer - -2001-05-10 Havoc Pennington - - * gtk/gtksettings.c (gtk_settings_get_property): Handle case where - we need to parse the xsetting as if it were an RC file string. - - * gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial - value of palette from settings, not from static variable - - * gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to - xsettings translation table - - * gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because - hardcoding the toolbar style conflicts with new customizable - toolbar style philosophy - (gtk_toolbar_class_init): add settings for default toolbar style; - these are used unless the app specifically forces a toolbar style - - * gtk/gtksettings.c (settings_install_property_parser): only - return at the start if we warn and parser == NULL - - * gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the - palette changed handler so we don't notify dead color selections - - * gtk/gtkstyle.c (gtk_default_draw_shadow): handle - xthickness/ythickness of 0 or 1 properly - (gtk_default_draw_resize_grip): clear the background behind the - resize grips, and align to bottom right if we square the - area to be drawn. - - * gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on - statusbar label to 1, so it doesn't make toplevels resize oddly - (gtk_statusbar_size_request): add grip size to request - (gtk_statusbar_size_allocate): hack so the hbox still works with - the grip size in the request - - * gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix - bug where showing all on a toplevel makes the toolbar - button text appear despite the toolbar mode - - * gtk/gtkmenubar.c: add internal padding style property - - * gtk/gtktoolbar.c: Add internal padding style property; add - shadow type style property - - * gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget - state; and put Container::border_width outside the frame - - * gtk/gtktextview.c: don't draw focus rectangle if we're in - interior focus mode, we just use blinking cursor - -2001-06-04 Havoc Pennington - - * configure.in: Make gdk-pixbuf have same version number as GTK - -2001-06-04 Havoc Pennington - - * gtk/gtkspinbutton.c: Get rid of stupid g_return_if_fail on - digits greater than 6. If there actually are limits (which there - likely aren't), should clamp to them not warn. - (gtk_spin_button_new_with_range): don't take log of 0 - (gtk_spin_button_size_request): use digits to compute size - request, rather than step increment. - - * tests/testgtk.c (create_spins): test larger values of digits - - * gtk/gtkfontsel.c (gtk_font_selection_init): scroll to selected - font on map not expose, so we don't get weirdness during scrolling - -2001-06-04 Havoc Pennington - - * gtk/gtkclist.c (vadjustment_value_changed): Apply fix from - Sam Solon, bug #54577, update value even if not drawable. - -2001-06-04 Havoc Pennington - - * gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to - SCROLL_LEFT, reported by Thomas Broyer. - -2001-06-04 Havoc Pennington - - * gtk/gtkrange.c (gtk_range_adjustment_value_changed): - Process updates immediately, to prevent funny lag effect - when scrolling, at some mild potential efficiency cost. - -2001-06-04 Havoc Pennington - - * gtk/gtkrange.c (gtk_range_button_press): on middle click, center - slider on the click. - -2001-06-03 Havoc Pennington - - * gtk/gtkstyle.c (gtk_default_draw_slider): make this special-case - hscale/vscale details, so we can use it for scrollbar as well. - - * tests/testgtk.c (reformat_value): honor digits from GtkScale - - * gtk/gtkenums.h (GtkTroughType): Remove this enum - (GtkScrollType): add START and END from GtkTroughType - - * gtk/gtkstyle.c (gtk_default_draw_slider): was not properly using - its x/y arguments - - * gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkscrollbar.h, - gtk/gtkscrollbar.c, gtk/gtkscale.h, gtk/gtkscale.c, - gtk/gtkhscrollbar.h, gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.h, - gtk/gtkvscrollbar.c, gtk/gtkhscale.h, gtk/gtkhscale.c, - gtk/gtkvscale.h, gtk/gtkvscale.c: Rewrite GtkRange and subclasses. - - Notable changes in the process: - - - stepper_size style property is the height for vertical - ranges, width for horizontal; the other dimension matches - the trough size - - add ability to do NeXT-style steppers (and several other styles - that don't make any sense) - - added min_slider_length, fixed_slider_length properties to - GtkScrollbar - - cleaned some private (or at least useless) functions out of - gtkscale.h - - moved bindings to GtkScale from subclasses, even arrow keys, - since blind users don't know scale orientation. - - change move_slider action signal to use new GtkScrollType, - remove GtkTroughType argument - - digits rounds the values a range will input to the given - number of decimals, but will not try to force adjustment - values set by other controllers. That is, we no longer - modify adjustment->value inside a value_changed handler. - - added getters for GtkScale setters - - middle-click begins a slider drag - -Fri Jun 1 18:54:47 2001 Jonathan Blandford - - * gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at - getting the focus code to work. - (gtk_tree_view_class_init): Add a bunch of keybindings. - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_set_cell_data_func): - s/GtkCellDataFunc/GtkTreeCellDataFunc. - (_gtk_tree_view_column_set_tree_view): Use "notify::model" instead - of "properties_changed" to help justify the death of the latter - signal. (-: - - * tests/testtreefocus.c (main): Let some columns be focussable to - test focus better. - -2001-06-01 Havoc Pennington - - * gtk/gtkentry.c (gtk_entry_commit_cb): implement overwrite mode - - * gtk/gtktextview.c (gtk_text_view_commit_handler): don't - overwrite in overwrite mode if we already deleted the selection - and replaced it with new text. - - * gtk/gtklabel.c (gtk_label_select_region_index): if you set the - selection to an empty range, clear the clipboard if we owned it. - (gtk_label_set_selectable): give up selection if we become - unselectable. - (gtk_label_state_changed): override state changed to unselect text - when insensitive - (get_text_callback): add paranoia check that indexes aren't - outside of label->text - (gtk_label_select_region): make -1 for start_offset mean "end of - label," for consistency with GtkEditable - - * gtk/gtkmessagedialog.c (gtk_message_dialog_new): honor - GTK_DIALOG_NO_SEPARATOR flag - -Fri Jun 1 11:47:11 2001 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_set_use_arrows_always): Fix - notifications on non-existant "enable_arrow_keys". - (#53753, Skip Montanaro) - -Fri Jun 1 11:31:55 2001 Owen Taylor - - * gdk/gdkrectangle.c (gdk_rectangle_get_type): Add - GDK_TYPE_RECTANGLE. - - * gtk/gtkwidget.c (gtk_widget_class_init): Fix type - of allocation argument be GDK_TYPE_RECTANGLE. - -Thu May 31 12:43:57 2001 Owen Taylor - - * gtk/gtkoptionmenu.c: Account for the fact that the border - width is _outside_ the window. (Fixes #54585, bug found - by Bastien Nocera.) - -Wed May 30 15:56:30 2001 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_get_property): Validate - value from GDK settings against parameter spec. - - * gdk/x11/gdkevents-x11.c (gdk_setting_get): Add assignments - to temporary values and use g_value_transform(), since - thinking that GValue was going to be easy or efficient - to use was, of course, a mistake. - - * gtk/gtksettings.c: Add cursor blink setting. - - * gdk/x11/gdkevents-x11.c: Add cursor blink X settings. - - * gtk/gtkentry.c: Add cursor blinking. - - * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Use - cursor blink global settings. - - * gtk/gtkentry.c (gtk_entry_button_press): Add notification - for :text_position in places where it is missing. - -Tue May 29 18:17:11 2001 Owen Taylor - - * autogen.sh (have_libtool): Fix GNU sedism (#55430) - -Tue May 29 17:40:29 2001 Owen Taylor - - * configure.in (GTK_DEP_CFLAGS): Use $PKG_CONFIG, - not pkg-config. (#51032) - - * gdk/gdkproperty.h: Remove inappropriate G_GNUC_CONST - (fixes #51952, James Henstridge) - -2001-05-27 Alexander Larsson - - * gtk/gtkstock.h (GTK_STOCK_GO_UP): - Rename to the more correct gtk-go-up. - - * gtk/stock-icons/stock_menu_sort_ascending.png: - Added new file. - - * gtk/stock-icons/stock_menu_sort_descending.png: - Changed to show descending instead of ascending. - - * gtk/gtkiconfactory.c: - Added menu size icon to sort ascending. - - * gtk/stock-icons/Makefile.am: - Added stock_menu_sort_ascending.png. - - * gtk/gtkseparatormenuitem.c: - Use correct typenames. - -Sun May 20 20:07:35 2001 Tim Janik - - * gtk/gtksignal.[hc] (gtk_signal_connect_full): make hanlder id a - gulong as in GSignal. - -Fri May 25 19:04:17 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_calc_size): Remove almost all - instances of GtkCellRenderer in code (all but dnd icon code). - Virtualized in GtkTreeViewColumn. Now I need to move focus in - there, and I can do multiple Cells per column. - - * gtk/gtktreeviewcolumn.c: Proxy all cell calls correctly - - * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): fix bug - when model was unreffed prior to removing the row reference. - -2001-05-25 Havoc Pennington - - * gtk/gtkiconfactory.c: fix so that default icons are created if - you call gtk_stock_list_ids() - - * demos/gtk-demo/stock_browser.c (create_model): sort stock items - in list - -2001-05-25 Havoc Pennington - - * gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon - set can render without falling back to missing image icon - - * gtk/gtktextview.c (gtk_text_view_size_request): request full - size of text, instead of random values - - * gtk/gtktreeview.c (gtk_tree_view_size_request): request full - size of tree view, instead of random values - - * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback - image in an appropriate size - - * gtk/gtkstock.h: Rename the stock items including _BUTTON_, - etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/ - - Throughout: fix GTK_STOCK_BUTTON_ instances - - * gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h, - gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am: - Add a bunch of new stock items/icons - - * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func): - new function, convenience for inserting columns with a data func - - * gtk/gtkiconfactory.c: keep a list of all existing icon factories - (_gtk_icon_factory_list_ids): use list of all factories to - generate a list of all known IDs - - * gtk/gtkstock.c (gtk_stock_list_ids): replace - gtk_stock_list_items() with a function that returns all IDs known - including those for GtkIconFactory. - -2001-05-25 Hans Breuer - - * gdk/win32/gdkgc-win32.c : made fil mode GDK_STIPPLED actually - work -> check boxes and radio buttons are drawn now, even on win9x. - Improved line settings a bit, still no clue how to get really dotted - lines on win9x, on NT it's PS_ALTERNATE. - - * gdk/win32/gdkwindow-win32.c : use SafeAdjustWindowRect for - GDK_HINT_MIN_SIZE as well - - * gdk/win32/makefile.am : added gdkkeys-win32.c to EXTRA_DIST - - * gtk/gtk.def : updated - - * gtk/gtktreeprivate.h : change column_drop_func to be a function - pointer not a function pointer pointer - - * tests/testdnd.c : include for putenv prototype - - * tests/testsocket.c : made it compile on win32 again - - * tests/makefile.msc : one more test-app uses prop-editor.obj - -2001-05-22 Havoc Pennington - - * gtk/gtkbin.c (gtk_bin_get_child): New function - -Wed May 23 20:07:53 2001 Owen Taylor - - * gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys - to ignore when doing compose processing. - -2001-05-22 Joe Shaw - - * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_last_toggle): - Simplify as suggested by Havoc. Just get the last iter and work - backward to the tag instead of getting a line and working back from - there. Fixes passing in an invalid offset to - iter_init_from_byte_offset(). - -Tue May 22 16:25:27 2001 Jonathan Blandford - - * gtk/gtktreeview*.h: - * gtk/gtkcell*.h: - * gtk/gtk*store.h: - Added patch from Jeff Franks to add GET_CLASS - macros to all objects. - -Tue May 22 15:13:52 2001 Jonathan Blandford - - * gtk/gtkcellrenderertext.c - (gtk_cell_renderer_text_set_fixed_size): Evil function to deal - with very large (TM) amounts of text. May be moved to - GtkCellRenderer in the future, though I'm not sure it wants to be - this accessible. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): - More sanity brought to this class. I like it. - - * tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test - case. Kids, don't try this at home. - - * gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new - convenience function. - - * gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs. - -2001-05-21 Alexander Larsson - - * gtk/gtkfontsel.c: - Added properties. Based on patch by Lee Mallabone. - - * gtk/gtkruler.c: - * gtk/gtkhruler.c: - * gtk/gtkvruler.c: - * gtk/gtktext.c: - * gtk/gtktextview.c: - Converted GtkArg to GParam. Based on patches by John Margaglione. - - * tests/Makefile.am: - * tests/testtext.c: - Add a property editor to testtext. - -Mon May 21 11:29:21 2001 Owen Taylor - - * gtk/gtk{h,v,}paned.c: Only show the separator if - - * configure.in: Fixed reversed conditional causing all image - libraries to be linked in. - -2001-05-21 Joe Shaw - - * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion - that top_y needs to be >= 0. - -2001-05-11 Havoc Pennington - - * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and - losing connection to the X server. - -Sun May 20 13:59:20 2001 Owen Taylor - - * configure.in: Start checks for X from pangox/pangoxft - CFLAGS to avoid duplicate libraries. - - * gdk/Makefile.am (LDFLAGS): Remove extra -lm. - - * configure.in (GDK_PIXBUF_PACKAGES): Fix GDK_PIXBUF_PACKAGES - to include gobject. - -2001-05-18 Alexander Larsson - - * gtk/gtkspinbutton.c: - Convert GtkArgs to GParams. Based on patch by John Margaglione. - Also do size request reasonable for MAXDOUBLE. Previously it printed - the limits to a buffer and overran it. Instead do it using log10() and - limit the width to 10 digits. - - * gtk/gtkwidget.c (gtk_widget_get_property): - Correctly handle setting the parent property to NULL. - -Fri May 18 15:26:26 2001 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_style_set): Reset - style attributes even if the widget isn't realized. - - * demos/gtk-demo/main.c: Use a slightly smaller font. - -Fri May 18 14:25:20 2001 Owen Taylor - - * gtk/gtkcontainer.c: Remove reallocate-redraws property. - This is something that only a widget writer would ever want - to change. - - * gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for - gtk_signal_emit_by_name(). - - * gtk/gtkviewport.c: Fix some warnings. - - * gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility - allowing the requisitions of multiple widgets to be grouped - together. - - * tests/testgtk.c: Add GtkSizeGroup test - - * demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo. - - * demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some - warnings. - - * configure.in: Switch to using AM_GLIB_GNU_GETTEXT. - -2001-04-28 Martin Baulig - - * gtk/gtkimagemenuitem.[ch]: Renamed gtk_image_menu_item_add_icon() - to gtk_image_menu_item_set_icon() and made it work if there's already - an image. - (gtk_image_menu_item_new): This function doesn't take any arguments anymore. - (gtk_image_menu_item_new_with_label): New function. - -Thu May 17 16:20:04 2001 Jonathan Blandford - - * demos/gtk-demo/main.c (fontify): It's the worlds ugliest - highlighting code!!!! The result is okay so long as you don't try - to stress it. It also highlights a bug in the TextView so it's in - an unproportional font right now until it's fixed. - - *demos/gtk-demo/*.c: Clean up code a bit to make it - ugly-parser(TM) friendly. (-: - -2001-05-17 Joe Shaw - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove the assertions - that x_offset and y_offset must be >= 0. Clip the cursor being drawn - if it is only partially onscreen. - -Thu May 17 17:10:13 2001 Owen Taylor - - * gtk/gtkentry.c: Make logical motion and deletion by graphemes, - not by characters. - - * gtk/gtkentry.c: Handle "trailing" returns from Pango when they - are not zero or one; that is, when graphemes of multiple characters - are involved. - - * gtk/gtktextlayout.c (line_display_index_to_iter): Remove unnecessary - FIXME. - -2001-05-17 Alexander Larsson - - * gtk/gtkbbox.c: - Add properties, based on patch by Lee Mallabone. - - * gtk/gtknotebook.c: - * gtk/gtktoolbar.c: - Convert from GtkArg to GParam, based on patch by John Margaglione. - - * gtk/gtkhscale.c: - * gtk/gtkvscale.c: - * gtk/gtkhscrollbar.c: - * gtk/gtkvscrollbar.c: - * gtk/gtkrange.c: - Move adjustment property to GtkRange. - - * gtk/gtklabel.c: - Setup mnemonics on property changes - - * gtk/gtkwidget.c (gtk_widget_get_property): - GdkExtensionMode is an enum, not a flag. Set it with - g_value_set_enum (). - - * tests/prop-editor.c: - Better propery editor. - - * tests/testgtk.c: - Add new property test. Pass zero to the property editor to - get properties from all derived types. - -Sun May 13 12:01:12 2001 Owen Taylor - - * autogen.sh (have_automake): Require libtool-1.4, - automake-1.4p1. - - * acinclude.m4: Remove libtool macros. - - * gdk-pixbuf/Makefile.am: Add dependencies to loade - modules. - - * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la - for libgdk. - - * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la - libgdk.la for libgtk. - - * modules/input/Makefile.am: Make modules have full - dependencies. - -Wed May 16 14:06:01 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_path_new_from_string): fix bug - #54699 where paths weren't being checked for correctness. - -Tue May 15 20:13:24 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c: You can now set all sorts of properties - in any order you wan, whether or not the column is added to the - tree, or the tree is realized. Yay! - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_setup_sort_column_id_callback): handle - sorting columns a lot saner - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_reorderable): - new function to actually set wether or not a column is - reorderable. - - * gtk/gtktreeview.c (gtk_tree_view_unrealize): Only destroy things - if we have 'em. - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_set_tree_view): - Fix nasty bug where we were showing the button just before - realizing it. As a result, the parent window was - tree_view->window instead of tree_view->priv->header_window. - - * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): new property - to let you easily reorder a list or tree. - -2001-05-15 Alexander Larsson - - * gtk/gtkpacker.c: Apply patch from John Margaglione that converts - from args to properties. - -Tue May 15 10:11:59 2001 Owen Taylor - - * gtk/gtkpreview.c: Apply patch from John Margaglione converting - from args to properties. (#51957) - - * gtk/gtkscale.c (gtk_scale_class_init): Move install property - calls to after ->set_property call. - -Mon May 14 14:56:21 2001 Owen Taylor - - * tests/prop-editor.c: Block against redundant changes. - - * gtk/gtkpaned.c gtk/gtk[hv]paned.c: Add position, position_set - properties. - -Sun May 13 18:40:04 2001 Owen Taylor - - * gdk/gdkpixmap.h: Remove creative formatting. - -Thu May 10 19:22:28 2001 Owen Taylor - - * gtk/gtktogglebutton.c: Patch from John Margaglione converting to - property API. (#51669) - - * gtk/gtkscale.c: Patch from John Margaglione converting to - property API. (#51891) - - * gtk/gtkaccellabel.c: Applied patch from Lee Mallabone, converting - to property API. (#50985) - -Fri May 11 20:13:44 2001 Tim Janik - - * gtk/gtkmain.c (gtk_main_do_event): remember widget's double - buffering state across expose event, so we still call end_paint(). - -2001-05-11 Alexander Larsson - - * gtk/gtkhsv.c (paint_triangle): - Expose the ring in the triangle at the correct place when - exposing just a part of the triangle. - - * gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change): - Return FALSE, or window focusing will not work. - -2001-05-11 Havoc Pennington - - * gtk/gtkimage.c (gtk_image_new_from_stock): docs, fixes bug - #54144 - - * gtk/gtkcolorsel.c (gtk_color_selection_new): docs, fixes - bug #54330 - -Fri May 11 02:53:57 2001 Tim Janik - - * gtk/gtktogglebutton.c (gtk_toggle_button_expose): don't - propagate exposes to NULL child. - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed): guard - against not having one of the scrollbars. - - * gtk/gtklabel.c (gtk_label_setup_mnemonic): clean up after us, - we don't keep a mnemonic window if we have no mnemonic installed. - -Fri May 11 01:05:00 2001 Tim Janik - - * gtk/gtktypeutils.h: grum, gtk_type_class() is not GNUC_CONST - it has the _important_ side effect of initializing a class. - -2001-05-10 Alexander Larsson - - * gdk/linux-fb/gdkprivate-fb.h: - Make sure you can compile out the implementation/wrapper assert - macros. - - * gdk/linux-fb/gdkdrawable-fb2.c: - Check implementation/wrappers, initialize type for pixmap dummys. - - * gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): - Hide the cursor if reading from the screen. - - * gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic): - Fix sign bug in tiling code. - - * gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area): - Handle background pixmaps. - -Wed May 9 15:27:22 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_column_drag_function): New - function to let user control where columns are dragged. - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Cancel drags if - Escape is pressed. - -Wed May 9 09:08:44 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_class_init): New - "columns_changed" signal. - (gtk_tree_view_motion_draw_column_motion_arrow): Change column - motion code to draw arrows to the side if indicator is outside the - widget. - (gtk_tree_view_map_expanded_rows): Implement. - -2001-05-07 Alexander Larsson - - * demos/testpixbuf-save.c: - * demos/testpixbuf-drawable.c: - Include gdkfb.h on linux-fb. - -2001-05-07 Alexander Larsson - - * gdk/linux-fb/gdkdnd-fb.c (get_toplevel_window_at): - New function for getting toplevel window at position. - (gdk_drag_find_window): Use get_toplevel_window () instead - of gdk_window_get_pointer(). (gdk_drag_status): Use - correct context for getting window. - - * gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name): - g_strdup the atom name. - - * gdk/linux-fb/gdkwindow-fb.c: - Costmetic fix. - - * gtk/gtkdnd.c (gtk_drag_source_handle_event): - Add code for changing cursor on linux-fb backend (same as - win32). - -2001-05-07 Federico Mena Quintero - - * gtk/gtkwindow.c (gtk_window_focus): Test for bin->child being - present before doing anything with it. Patch from Håvard Kvålen - . Fixes Ximian bugzilla #2492 (OK, the bug - report was not for the development branch of GTK+, but it applies - anyways). - -2001-05-04 Havoc Pennington - - * configure.in: fix some shell typos - - * gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix - - * gtk/gtkimage.c: handle animations - - * gtk/gtkcheckbutton.c (gtk_check_button_size_request): request - border_width * 2, not just border_width - - * gtk/gtkscale.c: add "format_value" signal to allow people - to override the way values are drawn. - (gtk_scale_get_value_size): fix width/height mistake, - and compute size from actual displayed text, not - from made-up text. - - * gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in - signal registration - - * tests/testtext.c: Add "Remove all tags" menu item for testing - - * gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement - - * demos/gtk-demo/main.c (main): add hack so we can find modules - without installing gtk - - * demos/gtk-demo/textview.c (insert_text): demo font scaling - - * gtk/gtkcellrenderertext.c: Add "scale" property (font scaling - factor) - (gtk_cell_renderer_text_set_property): remove some bogus - g_object_notify - - * gtk/gtktexttag.c: add "scale" property which is a font scaling - factor - - * gtk/gtktextlayout.c (add_text_attrs): add font scale attribute - to layout - - * gtk/gtktextiter.c (gtk_text_iter_is_start): rename from - gtk_text_iter_is_first - -2001-01-06 Hans Breuer - - * gdk/gdk.def : updated exports - - * gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise - gdk won't compile anymore - - * gdk/win32/gdkevents-win32.c : initialize ret_val when - processing GDK_FILTER functions, initialize event.key->hardware_keycode. - Improved gdk_flush () to not only do pending drawing operations - but also process all currently pending events. This should make - the behaviour more similar to the X11 version. - - * gdk/win32/gdkgc-win32.c (predraw_set_background) : a background - option needs to be set even if there is no GDK_GC_BACKGROUND. - (gdk_win32_hdc_get) : use predraw_set_background () independent - of value_mask. This allows to draw dashed lines leaving the original - background intact. - - * gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data - after processing, because we can't reuse it as the X11 version does. - - * gtk/gtk.def : updated exports - - * gtk/makefile.msc.in : added ATK, removed all test apps. (I - would like to get rid of this file again, and use straight - makefile.msc again, as the other Gtk+ subdirs do) - - * test/makefile.msc (new file) : build the test apps here - -2001-05-05 ERDI Gergo - - * gdk/gdkpango.c (gdk_pango_get_item_properties): Peek - strike-through setting - (gdk_draw_layout_line_with_colors): Render strike-through - -Sat May 5 10:06:24 2001 Owen Taylor - - * Release 1.3.5 - - * configure.in (GTK_MICRO_VERSION): Up to 1.3.5 - - * NEWS: Updated - - * demos/gtk-demo/Makefile.am (EXTRA_DIST): Fix minor - Makefile breakage. - -Sat May 5 09:18:30 2001 Owen Taylor - - * demos/gtk-demo/images.c (progressive_timeout): Fix - typo in filename. - - * gtk/gtktreeview.c (gtk_tree_view_row_activated): Comment - out FIXME warning; just too annoying. - -2001-05-04 Alex Larsson - - * gdk/linux-fb/gdkcolor-fb.c: - Better error messages. - - * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new): - Initialize abs_x and abs_y. - - * gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic): - Correct handling of stipple offset. - - * gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init): - Treat directcolor framebuffers as truecolor. - -Thu May 3 14:13:49 2001 Owen Taylor - - * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add - dependency on Atk for accessibility support. - - * configure.in **/Makefile.am: Major reworking of substituted - variables for CFLAGS/LIBS to make a lot more sane and - keep the the compile/link lines a bit shorter. - - * gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff. - -Thu May 3 08:10:54 2001 Owen Taylor - - * gtk/gtktexttag.c (gtk_text_tag_class_init): Fix return - value to be G_TYPE_BOOLEAN, not G_TYPE_INT, also, - use _gtk_boolean_handled_accumulator. - -Thu May 3 07:00:09 2001 Owen Taylor - - * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza - to fix things so clicking inside selection leaves cursor - at point where clicked. (#50324) - - * gtk/gtksettings.c (gtk_settings_class_init): Restore - sane value for default double click time. - - * tests/testtext.c (test_init): Really path to input modules. - -2001-05-03 Sven Neumann - - * demos/testpixbuf-save.c: include target-specific headers as - done in testpixbuf-drawable.c - -Wed May 2 20:36:38 2001 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_real_insert_text): Reduce - new_text_length appropriately when we run into the - size limit for the entry. (#53445, reported by Jeff Franks) - - * tests/testgtk.c (create_entry): Remove most of the - property toggle buttons. Replace with a "Props" button - that brings up a property editor. - - * tests/prop-editor.[ch] test/testtreeview.c tests/Makefile.am: - Split the property editor code out for reuse, improve. - -Wed May 2 17:26:22 2001 Owen Taylor - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.c: Always - trap errors around calls to XSetInputFocus since we have - no way of knowing reliably whether we are viewable or - not. (#53947) - -Tue May 1 09:21:23 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): - fix bug in dropping columns. Moving columns now basically works - modula some fine tuning. - -Tue May 1 19:09:21 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_horizontal_autoscroll): Add - autoscroll support. It mostly works, but could use some fine - tuning. - * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): - Actually move the column. - -Mon Apr 30 20:29:27 2001 Owen Taylor - - * gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c - gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c: - New default theme! A slighly improved version of the 2.0 Raleigh - theme, with Windows-esque focus/drawing default. - (GtkWidget::interior_focus defaults to TRUE.) - - * gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base. - -2001-04-30 Havoc Pennington - - * tests/testtext.c (line_numbers_expose): fix to work with - gtk_paint_layout change - -Mon Apr 30 19:18:07 2001 Owen Taylor - - * gtk/gtkstyle.[ch] gtk/gtkaccellabel.c gtk/gtkcellrenderertext.c - gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c gtk/gtkprogressbar.c - gtk/gtkvruler.c gtk/gtkvscale.c: Add an extra parameter - use_text to gtk_paint_label() to deal with style->bg[] vs style->text[]. - - * gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal - with GtkWidget::interior_focus = TRUE better. - - * gtk/gtkbutton.c: Switch ::default_spacing to ::default_border, - ::default_outside_border for more flexibility. - - * gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove - G_VALUE_NO_COPY_CONTENTS, to correspond with the recent - change that had to be made with g_object_get. - -Sun Apr 29 20:13:40 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_get_columns): new function. - (gtk_tree_view_move_column_after): Clean up interface. - -Sun Apr 29 03:02:02 2001 Tim Janik - - * gtk/gtkpacker.h: - * gtk/gtkenums.h: moved GtkAnchorType and GtkSideType from gtkpacker.h - to gtkenum.h. - - * gtk/gtkmain.c (gtk_main_do_event): silence compiler (GDK_SETTING not - handled in switch). - - * gtk/Makefile.am: - (gtk.defs): generate enum portions with glib-mkenums. - (gtktypebuiltins_evals.c): generate this with glib-mkenums. - got rid of makeenums.pl and makeenums.awk in distributed tarballs. - - * gtk/gtkaccelgroup.c (gtk_accel_group_add): refined havocs warning - addition. - - * docs/Changes-2.0.txt: keep a note on signal handlers now - not getting emitted during the emission they were connected within. - -2001-04-28 Havoc Pennington - - * gtk/gtkcolorsel.c (palette_new): fix bug in tooltip - -2001-04-24 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line): - (gtk_text_layout_move_iter_to_next_line): fix these two for - invisible text, lots of other stuff still hosed. - - * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook): - new function, replaces the get/set palette stuff. This function - is intended for use by libgnomeui which should set the hook to a - thing which sets the palette in GConf, and we need the - GConf-to-xsettings proxy which will result in the change being - propagated back to the GTK app. - - * gtk/gtkaccelgroup.c (gtk_accel_group_add): add note to warning - about unusable signals that it may be because the signal has - parameters. - - * gtk/gtkwidget.c (gtk_widget_modify_style): always copy the - style, otherwise gtkrc.c won't know to create a new GtkStyle for - it. - (gtk_widget_modify_color_component): call - gtk_widget_modify_style() so the rc style will get copied. - (gtk_widget_modify_font): ditto - - * gtk/gtkrc.c: make a couple variables static - - * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): hide - help button by default, since it does nothing - - * gtk/gtkcolorsel.c: add tooltips, work on key navigation, fool - around with UI - - * gtk/gtkentry.c (gtk_entry_realize): request enter/leave notify - so we can have tooltips - - * gtk/gtkhsv.c (gtk_hsv_realize): request enter/leave notify so we - can have tooltips - - * gdk/gdkimage.h: mark gdk_image_new_bitmap with - GDK_ENABLE_BROKEN, because its memory behavior is completely - hosed. - - * gtk/gtknotebook.c: remove key press handler, replace with - binding set, add numeric keypad support - - * gtk/gtktextview.c (gtk_text_view_class_init): accept KP_Delete - - * gtk/gtktext.c (gtk_text_key_press): add a bunch of KP keysyms - - * gtk/gtkentry.c (gtk_entry_class_init): accept GDK_KP_Delete in - addition to plain Delete - - * gtk/gtktextview.c (gtk_text_view_key_press_event): accept - GDK_KP_Enter in addition to GDK_Return - - * gtk/gtkfontsel.c (gtk_font_selection_size_key_press): connect to - activate on entry instead of key press - (gtk_font_selection_on_clist_key_press): get - rid of this signal handler, not needed with new font sel. - - * gtk/gtkfilesel.c (gtk_file_selection_key_press): remove a - no-longer-needed emit_stop_by_name(), just return TRUE - - * gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.c: remove keybindings - cruft, this widget is no longer focusable. - - * gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkvscale.c, - gtk/gtkhscale.c: Get rid of trough_keys virtual function, add - move_slider action signal, add binding set for vscale/hscale, in - the process support numeric keypad - - * gtk/gtkentry.c (gtk_entry_class_init): Add keypad bindings; - make GDK_Return and GDK_KP_Enter activate the entry via - binding set, instead of hardcoded. - -Fri Apr 27 20:27:21 2001 Jonathan Blandford - - * gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the - code. Some documentation added. - -2001-04-27 Havoc Pennington - - * gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning - - * gtk/gtkmessagedialog.c (gtk_message_dialog_init): make messages selectable - - * gtk/gtkentry.c (gtk_entry_real_insert_text): don't strip - line/para separators - (gtk_entry_create_layout): set single paragraph mode on the layout - - * gtk/gtkbutton.c (gtk_button_new_from_stock): don't put much - spacing between the image and label; instead, inside a button box - the button will get extra space that will go there, but if people - configure button box for 0 chubbiness, then there's no spacing. - - * gtk/gtkbbox.c (gtk_button_box_class_init): Make child ipadding - and min/max size style properties, so people can tune their - chubbiness. - - * tests/testgtk.c (make_toolbar): remove calls to removed toolbar - functions - - * gtk/gtktoolbar.c (gtk_toolbar_class_init): Make space_size, - space_style, and button_relief into style properties, remove - functions for setting them - - * gtk/gtkmenu.c (gtk_menu_key_press): handle menu bar accel to pop - it back down - - * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): free boxed - types from gtk_widget_style_get - - * gtk/gtkmenubar.c (gtk_menu_bar_set_shadow_type): Remove, replace - with a style property. - - * gdk/x11/gdkevents-x11.c: namespace the settings - - * gtk/gtkmenubar.c: Add F10 accelerator to move between menubars. - - * gtk/gtksettings.c (gtk_settings_class_init): remove code with - side effects from inside g_assert(), so that G_DISABLE_ASSERT can - be used. Also, translate doc strings for settings. Also, namespace - the double-click-time property. Also, remove bell properties crap. - -2001-04-27 Sven Neumann - - * Makefile.am: before creating links, check if pkg-config files - exist for the default target. Otherwise link to the pkg-config files - that got installed with this build. - -Thu Apr 26 19:11:46 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_motion): clean up column - dragging code. Revealed some (potential) GdkWindow bugs. - - * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): add - _gdk_window_init_position to the end of reparent to fix the case - of reparenting when new_x != old_x and new_y != old_y. - -Thu Apr 26 10:54:50 2001 Owen Taylor - - * gtk/gtkentry.c (strstr_len): Fix optimization that - was correct for the use here, but completely incorrect - in general. - -Thu Apr 26 10:40:41 2001 Owen Taylor - - * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size() - until patch adding gtk_window_set_size() is recommitted. - - * **Makefile.am configure.in gdk/x11/gdkim-11.c - gtk/gtkmain.c gtk/gtkimmulticontext.c gtk/gtkmain.c - gtk/gtkrc.c: Remove all traces of -DX_LOCALE support. - (#10784) - -Wed Apr 25 12:16:36 2001 Owen Taylor - - * gdk/X11/gdkevents-x11.c (gdk_event_translate): Test for - window == NULL in a number of cases. - - * tests/testdnd.c: Set module path for gdk-pixbuf. - -Thu Apr 19 16:11:07 2001 Owen Taylor - - * gtk/Makefile.am xembed.h: File containing #defines - for XEMBED protocol. - - * gtk/gtkplug.[ch] gtk/gtksocket.[ch]: - - - Change protocol from old plug/socket specific protocol - to XEMBED draft - - Various fixes to work with GTK+-2.0 - - Still quite a bit of work to do here to handle initiation - from the socket side (as specified by XEMBED), to handle - the more advanced features of XEMBED, and to figure out - a good way to handle same-app embedding with less overhead - than using full XEMBED. - -Wed Apr 18 16:04:28 2001 Owen Taylor - - * gtk/gtkwindow.[ch] (gtk_window_real_set_focus): Keep - track of whether the toplevel has the focus; only send - focus-in events to the focus widget when the window - actually has the focus. - -2001-04-25 Havoc Pennington - - * gtk/gtkwindow.h: set_decorations_hint and set_functions_hint - were still in the header - -2001-04-24 Alexander Larsson - - * gtk/gtkclist.[ch]: - * gtk/gtkctree.c: - When there is a row highlighted for D'n'D it must alse - be painted hightlighted on exposes. Otherwise exposes from - the icon being dragged will mess up the hightlight. - - * gtk/gtkfontsel.c: - Don't recenter selected font when exposing the font family - clist. This means you can now actually scroll the font family - list. - - * gtk/gtknotebook.c: - Fix focus movement on scrolling tabs that are placed on the left - and right. - -2001-04-21 Havoc Pennington - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height - empty/invisible lines. - - * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset) - (gtk_text_iter_set_visible_line_index): new functions to set - indexes excluding invisible text - - * gtk/gtktextlayout.c (line_display_iter_to_index): get visible - index - - * gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index) - (gtk_text_iter_get_visible_line_offset): new functions to - get indexes excluding invisible text - - * gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a - bunch of extra padding that served no purpose - - * gtk/gtkdialog.c: Make all the spacings configurable via style - properties, for chubbiness configuration in themes - - * tests/testtext.c: fix path to the immodules. - -Mon Apr 23 18:57:03 2001 Jonathan Blandford - - * gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that - got munched by #endif. - - * gtk/Makefile.am (gtk_plug_c_sources): add missing '\' - - * gtk/gtktreeview.c: Refactored code to clean up a number of - events. - - * gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return - values to make consistent with other functions. Spotted by Jeff - Franks . - - * gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal - declaration spotted by Jeff Franks . - -2001-04-23 Sven Neumann - - * gtk/Makefile.am - * gtk/gtkplug.c - * gtk/gtksocket.c: on request of Owen, reverted my last change - and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets - -2001-04-23 Sven Neumann - - * gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+ - compile for non-X11 targets again - -2001-04-20 Alexander Larsson - - * gtk/gtkcolorsel.[ch]: - API Change. Take GdkColor arguments instead of gdouble *. - Leave the old gtk_color_selection_set_color for compatibility, - but marked deprecated. - Do correct rounding when converting RGB <-> HSV. - - * gtk/gtkcolorseldialog.c: - * tests/testgtk.c: - Use new GtkColorSelection API. - - * gtk/gtkhsv.c: - Fix problem selecting colors in triangle when Hue is 330. - Fix some black dots around the HSB triangle. - - * gtk/gtkfilesel.c: - return FALSE from the focus_in_event handler to fix focus problems. - -2001-04-18 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_class_init): add signals and binding - set, so keybindings are configurable - (gtk_window_activate_default): Change to activate the focus widget - instead if there's a focus widget, to be consistent with the - behavior that previously existed in key_press_event - -2001-04-18 Havoc Pennington - - * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 - -2001-04-18 Havoc Pennington - - Close bug #50615: - - * gtk/gtkstyle.c (gtk_default_draw_layout): Use text_gc to draw - the layout - - * gtk/gtktext.c: Use base/text instead of bg/fg throughout - - * gtk/gtkentry.c: Use base/text instead of bg/fg throughout - - * gtk/gtktextdisplay.c: Use base/text instead of bg/fg throughout - - * gtk/gtkstyle.c (gtk_style_init): make GTK_STATE_SELECTED default - to blue for base, in addition to bg - -2001-04-18 Havoc Pennington - - * tests/testgtk.c (create_image): allow shrinking the image window - to test that we clip to allocation. - - * gtk/gtkimage.c (gtk_image_expose): clip to allocation, - #9845 - - * gtk/gtkenums.h: move GtkWrapMode in here, #50472 - -Wed Apr 18 14:23:14 2001 Owen Taylor - - * gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing - mode on shm segments to 0600. We'll see who complains. - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call - _gdk_windowing_window_destroy() AFTER recursing through - children. - - * tests/Makefile.am (noinst_PROGRAMS): Build testsocket, - testsocket_child on X. - - * tests/testsocket[_child].c: Fix uses of - gtk_window_get_default_accel_group(). - - [ Merge patch from Ramiro Estrugo from gtk-1-2 ] - - * gdk/gdkimage.c: (gdk_image_get): - Deal with the possibility that XGetImage() might return NULL. - Allocate the GdkImagePrivate structure only after XGetImage() - succeeds in order not to dereference a NULL ximage pointer. This - prevents a core dump when XGetImage() fails - which is unlikely, - but can happen due to race conditions accessing the geometries of - drawables. An x error will still be triggered, but the gdk image - wrapper at least wont seg fault. - -2001-04-18 Havoc Pennington - - * gtk/gtkimage.c: fix to properly queue resizes when the image is - set - - * gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste - if the insertion point isn't editable - - * demos/gtk-demo/images.c: Added a GtkImage demo - - * demos/gtk-demo/drawingarea.c: drawing area demo - - * demos/gtk-demo/menus.c (create_menu): cleanups - -Wed Apr 18 12:15:52 2001 Owen Taylor - - * gdk/x11/gdkwindow-x11.c gdk/x11/gdkwindow-x11.h - gdk/x11/gdkevents-x11.c: Introduce an extra child - of toplevel windows that serves to hold the focus to - avoid events being delivered to embedded windows. - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Introduce - some extra variables to clean up code and reduce the - number of casts. - - * gdk/x11/gdkwindow-x11.h (struct _GdkXPositionInfo): Use - guint for 1 bit bit fields, not gboolean. - -Wed Apr 18 10:04:23 2001 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_paint_window): Return FALSE, - not TRUE. (Fixes #52925) - -Tue Apr 17 18:05:34 2001 Owen Taylor - - * Released 1.3.4 - - * NEWS: Updated - - * gtk/gtktextview.c (gtk_text_view_class_init): Fix to not - use GTK_TYPE_ENUM. - -Tue Apr 17 13:47:12 2001 Owen Taylor - - * configure.in: Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS - - * gtk/gtktypeutils.h gtk/gtksignals.h: Restore proper parameter - names to compatibility #defines so docs work. - - * gtk/gtkenums.h: Remove GtkMenuFactoryType - - * gtk/gtkwindow.c gtk/gtkdnd.c: Docs cleanups. - - * configure.in: Don't include -lgthread in GLIB_LIBS, GLIB_DEPLIBS - - * tests/testgtkrc: No magenta cursors, please. - - * README.in INSTALL.in HACKING README.cvs-commits: Updated. - - * gtk/gtkenums.h (enum): Remove left over GtkMenuFactoryType. - -Mon Apr 16 14:38:41 2001 Owen Taylor - - * gtk/gtklist.c gtk/gtklistitem.c: Remove explicit pointer - grabs, since they are no longer necessary. - - * gtk/gtkcombo.c (gtk_combo_popup_button_press): Fix #52926 - by signal_connect() and call gtk_button_pressed() rather - than signal_connect_after(). - - * tests/testgtk.c: Restore radio menu items to combos - since they'll look OK with Raleigh, and it is easier - than finishing the process of removing them that was - started earlier. - -2001-04-16 Hans Breuer - - * gdk/gdk.def : - * gtk/gtk.def : added all exports required to link PyGtk 0.7.1 - - * gdk/gdkfont.h : #define GDK_TYPE gdk_font_get_type () - we are interested in the functions return value not the function address - * gdk/gdkvisual.h : same for GDK_TYPE_VISUAL - - * gtk/makefile.msc.in : reflect movement of GDK_TYPEs from gtk to gdk - -2001-04-14 Hans Breuer - - * gdk/gdk.def : - * gdk/makefile.msc : updated - - * gdk/win32/gdkdrawable.win32 (gdk_win32_draw_rectangle) : if modus is - "fill with tile" do so with new helper function gdk_win32_draw_tiles - (the testgtk::text backgound pixmap is drawn again) - Changed SetTextAlign before pango_win32_render to TA_BASELINE to reflect - Win32 Pango change - * gdk/win32/gdkprivate-win32.h : prototype for gdk_win32_draw_tiles - - * gdk/win32/gdkproperty-win32.c : first implementation of gdk_setting_get - Not sure if the returned settings have the right unit, because I couldn't - find any docs for the X version ... - - * gtk/gtk.def : - * gtk/makefile.msc.in : updated - -Thu Apr 12 17:41:17 2001 Owen Taylor - - * gtk-2.0.m4: Fix up to refer to GTK+, not to GLib; fix some - wording problems. (Compared to version from Johannes Stezenbach to - check correctness.) - -Thu Apr 12 21:04:26 2001 Tim Janik - - * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): get - this to compile. - -2001-04-12 Anders Carlsson - - * gtk/gtkcellrenderertextpixbuf.c (gtk_cell_renderer_text_pixbuf_class_init): It's pixbuf_pos, - not pixbufpos. - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Fix small typo. - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): xpad and ypad - are unsigned insts, therefore use g_value_set_uint. - (gtk_cell_renderer_set_property): Likewise, use g_value_get_uint. - -Sun Apr 8 05:36:06 2001 Jonathan Blandford - - * gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme. - - * gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to - GTK_TYPE_STRING. - - * gtk/gtktreeview.c: New functions to allow initial column - dragging work. - - * gtk/gtktreeviewcolumn.c: Initial column dragging support. - - * tests/testtreefocus.c: give dave some love. - - * tests/testtreesort.c: Modify test to check really long samples. - -2001-04-11 Alexander Larsson - - * gtk-2.0.m4: Pass pkg-config options - before the other args so it works even if - POSIXLY_CORRECT is set. - -Mon Apr 9 19:02:07 2001 Tim Janik - - * configure.in (GTK_MICRO_VERSION): increment version to 1.3.4 (binary - 0, interface 0). - -2001-04-04 Denis Oliver Kropp - - * gtk/gtkcalendar.c (gtk_calendar_button_press): - check for action_func != NULL - -2001-04-04 Sven Neumann - - * tests/testgtk.c (test_init): corrected path to gtk.immodules - -Wed Apr 4 09:18:18 2001 Tim Janik - - * Released Gtk+-1.3.3. - -Wed Apr 4 07:42:23 2001 Tim Janik - - * gdk/Makefile.am (EXTRA_DIST): add makeenums.pl to EXTRA_DIST. - -Wed Apr 4 04:13:18 2001 Tim Janik - - * gtk/stock-icons/Makefile.am: stay in builddir and read/write - files to/from source dir. (if we don't stay in builddir, we - can't reach make-inline-pixbuf. - - * gdk/Makefile.am (gdkenumtypes.c): add $(srcdir) to mekeenums.pl - deps. - - * configure.in (GTK_MICRO_VERSION): up and away (1.3.3 bin/interface - ages 0). - -Tue Apr 3 15:04:45 2001 Jonathan Blandford - - * gtk/gtktreemodelsort.h: removed set_sort_column, as it was - moved to the GtkTreeSortable interface. - - * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): - Make more efficient (fixes #50262). - -Tue Apr 3 13:55:37 2001 Owen Taylor - - * NEWS: Updated. - - * configure.in: Remove support for uninstalled glib. - - * gtk/gtkdnd.c (gtk_drag_highlight_expose): Return FALSE as - so as not to stop emission. - - * gtk-config-2.0.in: Exit with an error message that gtk-config-2.0 - is no longer supported. - - * Makefile.am gtk/Makefile.am tests/*: Moved all tests - into tests, change build order to build modules before - gtk/. - - * modules/input/Makefile.am: Move gtk-query-immodules-2.0 invocation - to here. - -Tue Apr 3 13:52:57 2001 Tim Janik - - * gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items() - and gtk_item_factory_dump_rc() GtkPatternSpec argument to - GPatternSpec. this is actually unlikely to cause breakage in - third-party apps since except for gle, pretty much ever caller - passes NULL here. - - * gtk/gtkbindings.[hc]: removed gtk_pattern_*() API. - - * *.c: use g_pattern_*() API. - - * docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates. - - * gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled - directions aren't passed in. - - * gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion - functionality to be usable from gtkstyle.c as well, give precedence - for conversion to user-supplied parsers. - s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/; - - * gtk/gtkstyle.c (_gtk_style_peek_property_value): use - _gtk_settings_parse_convert() for rcporperty value conversion. - -2001-04-03 Alexander Larsson - - * gdk/linux-fb/gdkevents-fb.c: - Add empty gdk_setting_get(). - -Tue Apr 3 05:09:07 2001 Tim Janik - - * gtk/gtkmain.c (_gtk_boolean_handled_accumulator): use more elaborate - variable names. - - * gtk/makeenums.pl: touch this so enum files get remade. - -Mon Apr 2 19:36:57 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_init): Bug fix to make trees - work again when not sorted. - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Add "collapse_row" - and "expand_row" signal, closing bug 52578. - - * gtk/gtktreeview.c (gtk_tree_view_expand_row): Add signal - support. - - * gtk/gtktreeview.c (gtk_tree_view_collapse_row): Add signal - support. - -Mon Apr 2 18:18:07 2001 Owen Taylor - - * gdk/gdkevents.h: Add GdkEventSetting event for notification - of changes to system settings, gdk_setting_get() to retrieve - a single system setting. - - * gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting - to the draft XSETTINGS mechanism. - - * gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of - XSETTINGS. - - * gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification - of GDK settings changes to the GtkSettings object. - - * gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the - double-click-timeout property to GDK. - - * gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]: - Define GDK boxed types here. - - * gdk/Makefile.am gdk/makeenums.pl: Generate source files - gdk/gdkenumtypes.[ch] for enum definitions. - - * gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_* - * gtk/gtk-boxed.defs: Comment out GDK types - * gtk/gtktypeutils.h: Remove GDK types - * gtk/Makefile.am: No longer scan GDK headers for enumerataions - -Mon Apr 2 16:41:08 2001 Owen Taylor - - * Applied patch from Ron Steinke to add signal accumulators - so that signals with the convention 'TRUE return means - handled' stop emission on a TRUE return. - - * gtk/gtkmain.[ch]: Add private accumulator - _gtk_boolean_handled_accumulator, used throughout GTK+. - - * gtk/gtkspinbutton.c: Add accumulator for ::output. - - * gtk/gtktipsquery.c: Add accumulator for ::widget_selected - - * gtk/gtkwidget.c: Add accumulators for event signals, - ::drag_motion, ::drag_drop. Use _gtk_boolean_handled_accumator - for ::mnemonic-activate. - - * gtk/gtkwindow.c: Add accumulator for ::frame_event - -Mon Apr 2 16:24:21 2001 Owen Taylor - - * gtk/gtkwidget.c: Add missing include. - -Mon Apr 2 16:56:15 2001 Jonathan Blandford - - * gtk/gtkmarshal.list (VOID:BOXED,BOXED,BOXED,BOXED): new - marshaller. - - * gtk/gtktreemodel.c (gtk_tree_model_range_changed): change - "changed" signal to "range_changed". - - * gtk/gtktreeview.c (gtk_tree_view_set_model): fix small bug where - removing a tree from one model would remove all trees from that - model. - * gtk/gtktreeview.c (gtk_tree_view_range_changed): use range - changed signal instead. - -Mon Apr 2 16:13:58 2001 Owen Taylor - - * gtk/gtkinvisible.c (gtk_invisible_style_set): Avoid - chaining up to parent impl, since we have a INPUT_ONLY - window. - - * gtk/gtkentry.[ch]: Add a cursor_color property to set the - foreground color for the cursor. - -Mon Apr 2 15:06:13 2001 Owen Taylor - - * gtk/gtkstyle.c (_gtk_style_peek_property_value): Reference - param spec when caching property values, since we unref it - later when we free the style. - - * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Dont' free - values since they are retrieved with G_VALUE_NO_COPY_CONTENTS. - -Mon Apr 2 10:47:57 2001 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_class_init): Fix - G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE - stupidity. - -Mon Apr 2 00:51:11 2001 Owen Taylor - - [ First pass at adding style properties. Still needs some definite - fine-tuning. ] - - * gtk/gtkbutton.c: Add ::default_spacing style property. - - * gtk/gtkcheckbutton.[ch] gtkradiobutton.c: Add ::indicator_size, - ::indicator_spacing style properties. - - * gtk/gtkoptionmenu.c: Add ::indicator_size, ::indicator_spacing - style properties. - - * gtk/gtk{,h,v}paned.[ch]: Make handle_size a style property - rather than a normal property. - - * gtk/gtkwidget.c: Add an ::interior_focus style property to - draw focus inside buttons, in the Windows/Java Metal/etc. style. - - * gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtktogglenbutton.c: - Honor ::interior_focus. - - * gtk/gtkentry.c: Don't draw focus at all when ::interior_focus is - TRUE. - - * gtk/gtkrange.[ch] gtk/gtk{h,v}scrollbar.c gtk/gtk{h,v}scale.c: - Add ::slider_width, ::trough_border, ::stepper_size, - ::stepper_spacing style properties. - - * gtk/gtkscale.[ch] Add ::slider-length style property. - -2001-04-02 Alexander Larsson - - * gdk/linux-fb/gdkwindow-fb.c: - Add gdk_window_begin_resize_drag and gdk_window_begin_move_drag. Remove some - warnings that were spewed on startup. - - * gtk/gtkwindow-decorate.c: - gtk_window_reposition -> _gtk_window_reposition - -Sun Apr 1 21:37:22 2001 Owen Taylor - - * gtk/gtkwidget.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs: - Add boxed type for GtkRequistion. Use it for ::size-request. - - * gtk/gtkstyle.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs: - Add a new GtkBorder structure useful for geometry properties - for widgets. Add corresponding GTK_TYPE_BORDER. - - * gtk/gtkwidget.c (gtk_widget_class_install_style_property): - Support automatic parser selection like - gtk_settings_install_property_parser(). - - * gtk/gtksettings.c (_gtk_rc_property_select_parser): Export - functionality for use by gtk_widget_class_install_style_property. - Support GTK_TYPE_BORDER, GTK_TYPE_REQUISITION. - -Sun Apr 1 20:48:59 2001 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_class_init): Make invisible-char - g_param_spec_unichar(). - -Sun Apr 1 23:41:37 2001 Tim Janik - - * gdk/x11/gdkwindow-x11.c (gdk_window_focus): raise window for non - _NET window managers. - - * gtk/gtkmenufactory.[hc]: cvs removed those files now. - -Sun Apr 1 08:00:13 2001 Tim Janik - - * gtk/gtkwidget.[hc]: got rid of gtk_widget_popup(), a function that - bad needs to be nuked, not just deprecated. - - * gtk/gtktooltips.c (gtk_tooltips_draw_tips): don't use - gtk_widget_popup(). - - * gtk/*.[hc]: s/activate_mnemonic/mnemonic_activate/g; - - * gtk/gtkmenufactory.[hc]: removed this long-standingly deprecated - widget. - - * docs/Changes-2.0.txt: updates. - -Sun Apr 1 01:02:54 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): - for (i = 0; i < 100; i ++) - g_print ("I will confirm it compile before committing\n"); - -Sun Apr 1 00:52:06 2001 Jonathan Blandford - - * gtk/gtktreestore.c: Initial work on implementing the - GtkTreeSortable interface. Basicaly a big cut'n'paste job. - -Sun Apr 1 03:28:14 2001 Tim Janik - - * gtk/gtkwidget.c: fixed a bunch of notifications, added - reference counts around emissions where the widget is used afterwards. - added freeze/thaws around multiple properties being notified. - (_gtk_widget_get_aux_info): cleanups. - - * gtk/gtksettings.c (gtk_settings_install_property): provide - default parsing functions for gdkcolor, enums and flags. - - * gtk/gtkwindow.[hc]: partially reverted patch from havoc, - applied by owen. - backed out gtk_window_get_location(), gtk_window_set_location(), - gtk_window_get_size() and gtk_window_set_size(), these - have to be sorted out wrg x/y/width/height/default_with/default_height - properties. - kept a flag in GtkWindowGeometryInfo to handle user - resetting default sizes. - cleaned up ZVT comments. - bunch of assorted bug fixes, notification fixes. - (_gtk_window_reposition): make this a really internal function. - - * gtk/testgtk.c: fixups. - -2001-03-31 Hans Breuer - - * config.h.win32.in : disable USE_MMX for msvc build cause - the assembler doesn't fit and is out of my scope. Disable - USE_GMODULE for msvc build as wel. The right way to share - binaries on win32 would be to use libtiff.dll etc. To reduce - installation hassles IMO it's better to include all fileformats - builtin to gdk-pixbuf - - * gdk-pixbuf/makefile.msc : new file - - * gdk/gdk.def : updated - - * gdk/win32/gdkevents-win32.c : don't erase the background if - .no_bg is set. It improves the scrolling (e.g. of testgtk main - buttons - * gdk/win32/gdkgeometry-win32.c : added comment about the above - - * gdk/win32/gdkwindow-win32.c : added three new functions like - the X version. Only one is implemented, because the other two - "gdk_window_begin_(resize|move)_drag" got no docs and appear to - be default behaviour on win32 anyway ... - - * gtk/gtk.def : updated - - * gtk/makefile.msc.in : update for new files, use glib-genmarshal - from where it was built and add an additional rule to automagically - build gtkmarshal.[hc] - - * gtk/gtkfilesel.c (open_new_dir) : don't increase n_entries - before array access for the current entry isn't finished - - * gtk/gtktreeitem.c (gtk_tree_item_subtree_button_click) : - use g_return_val_if_fail - - * gtk/testgtk.c (window_controls) : don't use the *wrong* size - for the static array, but let the compiler calculate it. It - makes me wonder if gcc isn't capable to catch bugs like this ... - -2001-03-31 James Henstridge - - * gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic - constant "-1" in the aux info structure. - -2001-03-30 Alexander Larsson - - * gtk/gtkbutton.c (gtk_button_get_property): - * gtk/gtklabel.c: - Remove leaks. - - * gtk/gtkcontainer.c: - * gtk/gtkhscale.c: - * gtk/gtkhscrollbar.c: - * gtk/gtklayout.c: - * gtk/gtkmisc.c: - * gtk/gtkprogress.c: - * gtk/gtkprogressbar.c: - * gtk/gtkrange.c: - * gtk/gtktable.c: - * gtk/gtkviewport.c: - * gtk/gtkvscale.c: - * gtk/gtkvscrollbar.c: - * gtk/gtkwidget.c: - Property patches, based on patches from John Margaglione and Lee Mallabone. - -Thu Mar 29 21:20:38 2001 Mike Kestner - - * gtk/gtkspinbutton.c : added value_changed signal which proxies for the - adjustment. Cleaned redundant preconditions (spin != NULL). Added - inline API function docs. - (gtk_spin_button_new_with_range): New convenience constructor. - (gtk_spin_button_set_increments): New adjustment helper. - (gtk_spin_button_set_range): New adjustment helper. - - * gtk/testgtk.c : added test of the new convenince constructor and - value_changed signals. - -Thu Mar 29 20:20:38 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): Now we - listen to the reorder signal. - -Wed Mar 28 20:30:26 2001 Owen Taylor - - * gtk/gtkwidget.[ch] (_gtk_widget_get_aux_info): Add private function - to get the aux info structure fo the widget. - - * gtk/gtklabel.c gtk/gtkscrolledwindow.c gtk/gtkwindow.c: Use - above function. - - [ Patch from Havoc Pennington ] - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): function - to get the size of the window manager frame, basically the same - code that gdk_window_get_root_origin() had - (gdk_window_get_root_origin): use gdk_window_get_frame_extents() - - * gtk/gtkwindow.c (gtk_window_set_default_size): use - gdk_window_resize() if the window is realized and resizeable - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): fix - typo so that setting gravity works - - * gtk/gtkwindow.c (gtk_window_move_resize): don't ever use - allocation if auto_shrink is on, even if the default size - has not changed. - - * gtk/gtkwidget.c (gtk_widget_render_icon): remove bogus - g_return_if_fail - -Thu Mar 29 16:29:12 2001 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_iter_changed): Massive - reordering/sorting work. Now pretty much works. - - * gtk/gtkrbtree.c (_gtk_rbtree_reorder): Lots of work to make - reorder mostly work. Still need to get the parity correct. - - * gtk/gtktreeviewcolumn.c: Listen for "model" property changed - signal, so I can listen for the sort_column_changed signal so I - can change my "sort_indicator" property. Cool. - -Wed Mar 28 00:03:10 2001 Owen Taylor - - [ Patch from Havoc Pennington, hp@redhat.com ] - - * gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c: - Add functions gdk_window_begin_resize_drag/begin_move_drag - to start resizing or moving a toplevel window. This - is done either using the _NET_WM_MOVERESIZE protocol, - or, if that isn't present, by emulation. - - * gtk/gtkwindow.[ch]: Add functions gtk_begin_move/resize_drag - to export the above to GTK+-land. - - * gtk/gtkstyle.[ch]: Add ->draw_resize_grip() paint func. - - * gtk/gtkwindow.c gdk/gdkwindow.[ch] (gdk_window_constrain_size): - Move this function into gdkwindow, since we need it - when implementing fallback resizing. - - * gdk/x11/gdkwindow-x11.c: gdk_window_set_geometry_hints. - Fix typo when setting gravity. - - * gtk/gtkstatusbar.[ch] (gtk_statusbar_set_has_resize_grip): - Add an optional (but on by default) resize grip for resizing - the parent window. - -01-03-29 Alexander Larsson - - * gtk/gtktooltips.c (gtk_tooltips_event_handler): - Don't return TRUE from the event handler, that blocks all - event signals on the tooltip widget. Now you can press buttons - in toolbars again. - -Wed Mar 28 19:20:43 2001 Owen Taylor - - * gtk/testtext.c (create_buffer): Add missing NULL on - valist. - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix - c-n-p problem with INCONSISTENT property. - - [ Patch from Havoc Pennington ] - - * gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup - hook. - - * gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup - signal as a hook for extending the default popup menu - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - use radio menu items for the input method menuitems - - * gtk/gtkimcontextsimple.c (check_hex): do better validation of - inserted unicode from Ctrl-Shift-hex input method - - * gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8 - validatation here, already done at GtkTextBuffer level. - - * gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add - popup_menu run action signal and Shift+F10 and Menu keybindings. - - * gtk/gtkentry.c: implement a default handler for popup_menu - - * gtk/gtktextview.c: implement a default handler for popup_menu - - * gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is - from a key event - - * gtk/gtklabel.c: remove "trailer" cruft - -Wed Mar 28 17:27:12 2001 Jonathan Blandford - - * gtk/gtkrbtree.c (_gtk_rbtree_reorder): new function to - handle reordering of trees. Seems to mostly work w/ the exception - of the parity flag. - - * gtk/gtktreeview.c (gtk_tree_view_reordered): handle "reordered" - signal. - -Wed Mar 28 21:12:37 2001 Tim Janik - - * gtk/gtkwidget.h: c++ fixes. - -Sun Mar 25 15:51:28 2001 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized - memory. - -Tue Mar 27 22:36:07 2001 Owen Taylor - - * gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from - Nils Barth fixing event return values. (#51041) - - * gtk/gtkwidget.c: Fix some return values for default - functions. - - * gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix - return values for trough_keys functions. - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return - value for add_accelerator (shoudl have been a void - return.) - - * gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h: - Fix return type of EVENT. - - * gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT - signal return a boolean. - -Tue Mar 27 22:07:44 2001 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_sort): Fix arguments to - reordered signal. - - * tests/testtreesort.c (main): fix spelling. - -Tue Mar 27 20:55:29 2001 Jonathan Blandford - - * gtk/gtkliststore.c: More work on implementing sortable - interface. - -Mon Mar 26 15:48:45 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_list_toplevels): Don't - reference the widgets in the resulting list. (#11821) - This makes this consistent with gtk_container_children. - - * gtk/gtkwindow.c gtk/gtkwidget.c: Fix up the two - uses of gtk_window_list_toplevels. - -Mon Mar 26 15:26:17 2001 Owen Taylor - - * gtk/gtkimcontext.c (gtk_im_context_set_use_preedit): Add - a virtual function to set whether the IM context should use - the preedit string. (#51922) - -Mon Mar 26 14:42:59 2001 Owen Taylor - - * gdk/gdkpango.h: Remove stale FIXME comment. - -2001-03-26 Alexander Larsson - - * gtk/gtkfilesel.c (gtk_file_selection_get_filename): - Fixed bug that returned NULL if a filename was selected. - -2001-03-24 Havoc Pennington - - * gtk/gtkthemes.c (gtk_theme_engine_load): improve error message - to contain the word "theme" - -2001-03-24 Havoc Pennington - - * gtk/gtkhsv.c (gtk_hsv_move): make motion around the ring much - slower but finer-grained - (gtk_hsv_focus): get initial focus on the ring or triangle - according to tab direction - - * gtk/testgtk.c (main): get rid of weird sleep(1) on exit - -2001-03-23 Havoc Pennington - - * gtk/gtkhsv.c: make this somewhat key-navigable - - * gtk/gtkfontsel.c: mnemonics - - * gtk/gtkgamma.c: mnemonics - - * gtk/gtkcolorsel.c: add mnemonics to labels - -2001-03-22 Havoc Pennington - - Applied big patch from Seth Lytle to fix event handler return - values, slightly modified. - - * gtk/gtkcalendar.c (gtk_calendar_button_press): return TRUE if - handled. - (gtk_calendar_key_press): return TRUE for GDK_space triggers - select_day - - * gtk/gtkclist.c (gtk_clist_button_press): return TRUE if handled - (gtk_clist_button_release): return TRUE if handled - - * gtk/gtkcolorsel.c (mouse_release): - (palette_activate): - (palette_press): - (palette_new): - (mouse_press): - (get_screen_color): - fixed return type (void to gboolean), return TRUE, - added GTK_SIGNAL_FUNC cast - - * gtk/gtkcombo.c (gtk_combo_popup_button_press): fixed return type - (void to gboolean), and return TRUE - (gtk_combo_button_release): changed return value to TRUE after - gtk_grab_add on combo->popwin - - * gtk/gtkctree.c (gtk_ctree_button_press): return TRUE if triggers a - collapse or expand - - * gtk/gtkcurve.c (gtk_curve_graph_events): return TRUE for - button/motion - - * gtk/gtkdnd.c (gtk_drag_source_event_cb): return TRUE for button - press/release and motion that trigger act - - * gtk/gtkentry.c (gtk_entry_button_release): return TRUE - - * gtk/gtkfontsel.c (gtk_font_selection_size_key_press): return TRUE - for GDK_Return - - * gtk/gtklist.c (gtk_list_button_press): return TRUE mostly - (gtk_list_button_release): return TRUE if selection - - * gtk/gtklistitem.c (gtk_list_item_button_press): return TRUE on - press - - * gtk/gtkmenushell.c (gtk_menu_shell_button_press): - (gtk_menu_shell_button_release): chain parent_menu_shell retval - - * gtk/gtknotebook.c (gtk_notebook_button_press): return FALSE if - nothing triggered - (gtk_notebook_button_release): return TRUE if we do anything - - * gtk/gtkspinbutton.c (gtk_spin_button_button_press): - (gtk_spin_button_button_release): return TRUE or chained retval - - * gtk/gtktext.c (gtk_text_button_press): - (gtk_text_button_release): return TRUE - (gtk_text_key_press): remove redundant retval code - - * gtk/gtktreeitem.c (gtk_tree_item_button_press): return TRUE if button - and sensitive - (gtk_tree_item_subtree_button_click): changed type to gint, and return - TRUE if sensitive - - * gtk/gtktooltips.c (gtk_tooltips_event_handler): deactivate implies - return TRUE - -2001-03-23 Havoc Pennington - - * gtk/testgtk.c: fix warnings - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): fix return value - - * gtk/gtktextview.c: fix warnings - - * gtk/gtktext.c (find_cursor_at_line): fix warning - - * gtk/gtkselection.c (gtk_selection_notify): fix warning - - * gtk/gtkitemfactory.c (gtk_item_factory_menu_pos): fix signature - of this function - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - fix warning - - * gtk/gtkhandlebox.c (gtk_handle_box_style_set): fix warning - - * gtk/gtkfontsel.c: fix warning - - * gtk/gtkcolorsel.c: fix warnings - -2001-03-23 Havoc Pennington - - * gtk/gtkhandlebox.c: Apply property patch from Lee Mallabone - - * gtk/gtkbox.c: Apply property patch from Lee Mallabone - - * gtk/gtkcheckmenuitem.c: Apply property patch from Lee Mallabone, - and deprecated gtk_check_menu_item_set_show_toggle(). - - * gtk/gtkbutton.c: Apply property patch from Lee Mallabone - - * gtk/gtkfilesel.c: Apply property patch from Lee Mallabone - - * gtk/gtkframe.c: Apply property patch from Lee Mallabone - -2001-03-23 Havoc Pennington - - * gtk/gtktoolbar.c, gtk/gtkimcontext.c, gtk/gtklabel.c: fix up - some docs - -Fri Mar 23 16:13:43 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace - this. - - * gtk/gtktreestore.c (gtk_tree_store_set_value): change from - set_cell to set_value - - * gtk/gtkliststore.c (gtk_list_store_set_value): change from - set_cell to set_value - -Thu Mar 22 19:27:34 2001 Jonathan Blandford - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - fix braino. - * gtk/gtktreesortable.[ch]: New interface to add cleanup sortable - support. - - * gtk/gtktreeview.c: Addition of initial sortable support. - - * gtk/gtktreestore.c: Addition of initial sortable support. - - * gtk/gtkliststore.c: Addition of initial sortable support. - - * gtk/gtkmarshal.list: yet another marshaller. - - * gtk/gtktreedatallist.[ch]: shared code between the store models - for handling sorting headers. - -2001-03-22 Havoc Pennington - - * gtk/gtkcontainer.c (gtk_container_set_focus_chain): - (gtk_container_unset_focus_chain): Add ability to override the - focus chain for a container explicitly - -Thu Mar 22 13:01:44 2001 Tim Janik - - * gtk/gtklabel.[hc]: some cleanups, fixed mnemonic_widget handling, - added PROP_MNEMONIC_WIDGET. - - * gtk/gtkwindow.c (gtk_window_activate_mnemonic): - (gtk_window_remove_mnemonic): - (gtk_window_add_mnemonic): fixed assertions. - (gtk_window_activate_mnemonic): constrain modifier checks to those - permitted by gtk_accelerator_get_default_mod_mask(). - got rid of gtk_window_get_default_accel_group(). - - * gtk/gtkwidget.c (gtk_widget_real_activate_mnemonic): handle non - activatable widgets either by focussing or a warning. - added a signal accumulator to ::activate_mnemonic which stops the - emission once a handler returned TRUE. - -2001-03-22 Havoc Pennington - - * gtk/gtktoolbar.c (gtk_toolbar_insert_stock): handle mnemonics in - the stock item label - - * gtk/gtklabel.c: s/@gtk_func/gtk_func()/ in docs - - * gtk/gtkstock.c (builtin_items): add mnemonics where missing - - * demos/gtk-demo/*.c: Add mnemonics all over the place - - * gtk/gtklabel.h: mark parse_uline deprecated - -2001-03-21 Alexander Larsson - - * gtk/gtkitemfactory.[ch]: - Add support for stock and normal imagemenuitems. - - * gtk/testgtk.c: - Add some tests for mnemonics, stock toolbars, stock - and image menuitems in itemfactory and gdk_window_scroll. - -2001-03-21 Alexander Larsson - - * gtk/gtkbutton.[ch]: - * gtk/gtkdialog.c: - Renamed gtk_button_new_stock() to gtk_button_new_from_stock() and - removed accel_group argument. Renamed gtk_button_new_accel() to - gtk_button_new_with_mnemonic() and removed accel_group argument. - - * gtk/gtkcheckbutton.[ch]: - New function gtk_check_button_new_with_mnemonic(). - - * gtk/gtkentry.c: - Override activate_mnemonic and just grab focus. - - * gtk/gtkitemfactory.c: - Don't add menu uline accel group, instead use mnemonics support. - - * gtk/gtklabel.[ch]: - New support for mnemonics. - - * gtk/gtkmarshal.list: - Needed BOOLEAN:BOOLEAN for activate_mnemonic. - - * gtk/gtkmenu.[c]: - * gtkmenushell.c: - Use mnemonics instead of accel groups for uline - support in menu items. - Removed gtk_menu_get_uline_accel_group() and - gtk_menu_ensure_uline_accel_group(). - - * gtk/gtkmenuitem.c: - Override activate_mnemonic to handle switching between - menu items if there are collisions. - - * gtk/gtknotebook.c: - Connect to activate_mnemonic on the tab_label, so that - activating it switches to that notebook page. - - * gtk/gtkwidget.[ch]: - Add activate_mnemonic signal. New function - gtk_widget_activate_mnemonic() to emit it. - Default implementation does activate/grab_focus. - - * gtk/gtkwindow.[ch]: - Add support for mnemonics in windows. - New functions: - gtk_window_add_mnemonic, gtk_window_remove_mnemonic, - gtk_window_activate_mnemonic, gtk_window_set_mnemonic_modifier - - * gtk/testgtk.c: - Update to function name changes. - -2001-03-21 Alexander Larsson - - * gtk/gtkimagemenuitem.[c]: - Add gtk_image_menu_item_new_from_stock() - -Tue Mar 20 15:00:43 2001 Jonathan Blandford - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - Fix buglet in meeting. - -2001-03-19 Havoc Pennington - - * gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and - add a bunch of accessor functions. This is because we have - reasonable expectations of extending what fields it contains in - the future. - - * gtk/gtkstyle.c (gtk_default_render_icon): adapt to icon source - changes - - * gtk/gtkrc.c (gtk_rc_parse_icon_source): fix to use new - GtkIconSource - -Mon Mar 19 15:53:36 2001 Owen Taylor - - * gtk/gtkitemfactory.c gtk/testgtk.c: Handle quoting of / with \; properly - handle __ in paths, quote " and \n in gtk_item_factory_dump_items(). - - * gtk/gtkadjustment.[ch] gtk/gtkclist.c gtk/gtkhruler.c gtk/gtklayout.c - gtk/gtklist.c gtk/gtkprogress.[ch] gtk/gtkprogressbar.[ch] gtk/gtkrange.[ch] - gtk/gtkruler.[ch] gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtkspinbutton.[ch] - gtk/gtktext.c gtk/gtktextview.c gtk/gtkvruler.c gtk/testgtk.c: - Change float to double everywhere with the exception of 0<->1.0 alignment - and GtkCurve. - -2001-03-19 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c - * gdk/win32/gdkimage-win32.c: Use correct casts in debugging - output. - - * demos/testpixbuf-drawable.c: If GDK_WINDOWING_WIN32, include - gdkwin32.h. - -2001-03-18 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (print_window_state): New function. - print_event_state, print_event): Use preprocessor macro to make - code more compact. Print also GDK_WINDOW_STATE events. - (synthesize_crossing_events): Remove the old #ifdeffed-out code. - - * gtk/gtk.def - * gtk/makefile.mingw.in: Update. - - * gtk/gtkmain.h: Check for G_PLATFORM_WIN32, not only G_OS_WIN32, - to catch also Cygwin. - -Sun Mar 18 01:15:30 2001 Tim Janik - - * gtk/gtkspinbutton.[hc]: added rc-style argument - GtkSpinButton::shadow_type. - removed spin_button->shadow_type, gtk_spin_button_set_shadow_type() - and ARG_SHADOW_TYPE as it doesn' make much sense to try to override - rc-style settings. - - * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused). - - * gtk/gtkwidget.c: quark cleanups. - - * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file - scanner with appropriate configuration, renamed GtkRcStyleClass.clone - to create_rc_style() (we don't do cloning in standard OO sense). - added per rc style properties. - - * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style - property values and for caching those. some cleanups. - - * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS. - - * gtk/gtksettings.[hc]: new file for global rc-file properties - (at least currently, should get extended to support X properties - and other communication mechanisms). - - * gtk/gtkwidget.[hc]: added style property support: - (gtk_widget_class_install_style_property_parser): install style - property pspec with parser function for rc-file values other - than LONG, DOUBLE or STRING. - (gtk_widget_class_install_style_property): same as above without - parser (parsers are going to be needed quite infrequently). - (gtk_widget_style_get_property): retrive style property value. - (gtk_widget_style_get_valist): same as above with varargs support, - has NOCOPY semantics. - (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist(). - -Fri Mar 16 18:24:53 2001 Jonathan Blandford - - * demos/gtk-demo/main.c (row_activated_cb): modified to use - "row_activated" signal. - - * gtk/gtktreeview.c (gtk_tree_view_row_activated): oh, the - stupidity. Lets actually pass in the row with this signal... - -Fri Mar 16 18:01:17 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.[ch]: s/GTK_TREE_COLUMN/GTK_TREE_VIEW_COLUMN - - * gtk/gtktreeview.c (gtk_tree_view_row_activated): New signal. - - * gtk/gtktreeview.c (gtk_tree_view_destroy): moved pretty much - everything into the ::destroy function, and freed a lot more. - -2001-03-16 Havoc Pennington - - * gtk/gtkwidget.h (struct _GtkWidgetAuxInfo): change to use gint - instead of gint16, to avoid overflow issues, since sizes > 16-bit - are now allowed. - -2001-03-16 Havoc Pennington - - * Applied patch from Nils Barth (bug # 51041) to - replace "gint" with "gboolean" and 0/1 with TRUE/FALSE - in various places. - -2001-03-15 Havoc Pennington - - * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs - for properties to set on the tag. - - * gtk/testtext.c: fixups to reflect create_tag change - - * gtk/gtktexttag.c (gtk_text_tag_set_property): - background/foreground stipple are objects, not boxed. - - * demos/gtk-demo/textview.c: intellihancing - -Fri Mar 16 11:38:42 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_model): Fixed some - braindeadness spotted by Jamie Strachan . - -2001-03-16 Alexander Larsson - - * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): - Fix sign error with queued region translations. - -2001-03-15 HideToshi Tajima - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_set_cursor_location): - * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_location): - * gtk/gtkentry.c (update_im_cursor_location): - * gtk/gtkimcontext.c (gtk_im_context_set_cursor_location): - * gtk/gtkimcontext.h (struct _GtkIMContextClass): rename - set_cursor_pos to set_cursor_location in GtkInputContext class - -Thu Mar 15 18:22:44 2001 Jonathan Blandford - - * gtk/gtkcellrenderer.h: Changed prototype to allow for getting - the location of the cell relative to its area. - * gtk/gtkcell*: modified for above change - * gtk/gtktreeview.c: modified for above change. - -Wed Mar 14 13:58:32 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_model): Ref the model. - (gtk_tree_view_finalize): actually unref the model. Thanks to - Jamie Strachan for noticing this error. - -2001-03-14 Havoc Pennington - - * gtk/gtkdata.h, gtk/gtkdata.c: Delete. - - * gtk/gtk.h: remove gtkdata.h - - * gtk/Makefile.am: remove gtkdata - - * gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy" - not "disconnect" on the adjustments. - - * gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not - GtkData - - * gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject - not GtkData - - * configure.in: handle case where X render exists, but Pango lacks - Xft support. - -2001-03-15 Alexander Larsson - - * gtk/gtktoolbar.[ch]: - New functions gtk_toolbar_set_icon_size and gtk_toolbar_insert_stock - to add stock items to toolbars. - - * gtk/Makefile.am: - Remove ../gdk/gdkim.h from gdk_headers. - -2001-03-15 Sven Neumann - - * gdk/gdkim.h: removed - - * gdk/gdkprivate.h - * gdk/x11/gdkim-x11.c: do not include gdkim.h - -2001-03-14 HideToshi Tajima - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_pos): - * gtk/gtkimcontext.c (gtk_im_context_set_cursor_pos): - * gtk/gtkimcontext.h (struct _GtkIMContextClass): add - set_cursor_pos() virtual method - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_class_init): - (gtk_im_context_xim_set_cursor_pos): add implementation for - set_cursor_pos() method - - * gtk/gtkentry.c (recompute_idle_func): set current cursor - position to input methods - -Mon Mar 12 21:02:08 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_header_focus): Fix up focus - code a lot. - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_free): use - g_mem_chunk. - (_gtk_tree_data_list_alloc): use g_mem_chunk. - (_gtk_tree_data_list_node_to_value): Fix to switch on - G_TYPE_FUNDAMENTAL. - (_gtk_tree_data_list_value_to_node): Fix to switch on - G_TYPE_FUNDAMENTAL. - (_gtk_tree_data_list_node_copy): Fix to switch on - G_TYPE_FUNDAMENTAL. - -2001-03-12 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_class_init): Patch from John Margaglione - to convert to new property API. Also, change default_width and - default_height get_property to return 0 as the flag value for - "unset"; -1 is not a valid value for these fields. - -2001-03-12 Havoc Pennington - - * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: Switch to using an - enum with registration for icon sizes, instead of strings. - - * gtkimage.h, gtkimage.c, gtkstyle.h, gtkstyle.c, gtkwidget.h, - gtkwidget.c: Fix to reflect GtkIconSize - -2001-03-12 Alexander Larsson - - Make GtkFB compile and link. - - * gdk/linux-fb/gdkdrawable-fb2.c: - window->mapped to GDK_WINDOW_IS_MAPPED(). - - * gdk/linux-fb/gdkwindow-fb.c: - window->mapped to GDK_WINDOW_IS_MAPPED(). - Added gdk_window_shape_combine_region. - Added assorted placeholders for unimplemented new GdkWindow API calls. - -2001-03-12 Alexander Larsson - - * gtk/gtkfilesel.c: - Add more test when converting filenames from/to utf-8. - Don't allow entering text in the filename entry which isn't allowed in - a filename. Just beep instead. - -2001-03-12 Alexander Larsson - - * gtk/gtkclist.c: - Scroll using gdk_window_scroll(). Don't wait for exposes. - Move the column headers in an order that makes them flash less. - -2001-03-10 Hans Breuer - - * gdk/gdk.def : updated - - * gdk/win32/gdkgc-win32.c : pixmaps are visible again, due - to offseting the clip_mask at the right place - - * gdk/win32/gdkwindow-win32.c : don't create background brushes - for all the gdkClasses, especially not for the input_only case. - Otherwise flickering wont be avoidable, because we don't get - WM_ERASEBKGND message for these windows. - - * gdk/win32/gdkevents-win32.c : initialize event->expose.region - and fixed massive redraw problems apparently triggered by Alexanders - recent change. Not fully understood the GDK_EXPOSE / WM_PAINT handling - but it seems to work quite well :-) - - * gdk/win32/gdkprivate-win32.h : added _gdk_window_process_expose - prototype - -Sat Mar 10 12:15:31 2001 Jonathan Blandford - - * gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo. - (gtk_list_store_set_cell): Fix a stupid typo. - -Fri Mar 9 20:36:21 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make - select_all not work if you're in SINGLE mode (it doesn't make that - much sense, anyway.) - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value): - handle types more sanely. - (_gtk_tree_data_list_value_to_node): handle types more sanely. - (_gtk_tree_data_list_node_copy): handle types more sanely. - - * gtk/gtkliststore.c (gtk_list_store_set_cell): fix to work with - GValue better. Converts the type as well. - - * gtk/gtktreestore.c (gtk_tree_store_set_cell): fix to work with - GValue better. Converts the type as well. - -Wed Mar 7 20:47:41 2001 Owen Taylor - - * gtk/gtktext.c gtk/gtkoldeditable.[ch] gdk/gdk.[ch] - gdk/Makefile.am gdk/x11/Makefile.am gdk/x11/gdkevents-x11.c - gdk/x11/gdkglobals-x11.c gdk/x11/gdkprivate-x11.c - gdk/x11/gdkx.h gdk/x11/gdkim-x11.c: Remove old XIM code. - - * gdk/win32/gdkim-win32.c gdk/linux-fb/gdkim-fb.c: Remove - gdk_im/gdk_ic. - -2001-03-09 Hans Breuer - - * gdk/gdk.def : updated - - * gdk/win32/gdkevents-win32.c : don't ask input_only windows - for their palette - - * gdk/win32/gdkgeometry-win32.c : reflect GdkWindowObject::mapped - removing - - * gdk/win32/gdkwindow-win32.c : reflect GdkWindowObject::mapped - removing and implemented Havoc's GdkWindow state functions; - stick/unstick only as no-op, cause I don't know how to emulate - on win32 ... - - * gtk/gtk.def : updated - - * gtk/gtkbox.c (gtk_box_get_spacing) : use g_return_val_if_fail () - - * gtk/gtktypeutils.c : #include - - * gtk/gtkwindow.h : declare gtk_window_set_decorated () - -Fri Mar 9 09:31:55 2001 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with - GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object, - not a boxed. - -2001-03-09 Alexander Larsson - - * docs/Changes-2.0.txt: - Document expose event->region change and that gtk_widget_event - doesn't allow passing expose events. - - * gdk/gdkevents.h: - Add region to expose event. - - * gdk/gdkevents.c: - Handle event->region in gdk_event_copy() and gdk_event_free(). - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): - Generate expose_event->region when creating expose events. - - * gdk/x11/gdkevents-x11.c: - Generate expose events with regions when translating X events. - - * gtk/gtkcontainer.[ch]: - Default expose handler that propagates expose events to NO_WINDOW - children. New function gtk_container_propagate_expose() - - * gtk/gtkwidget.[ch]: - Moved gtk_widget_event implementation to gtk_widget_event_internal. - gtk_widget_event calls gtk_widget_event_internal but doesn't allow - expose events. New function gtk_widget_send_expose() to send expose - events. New function gtk_widget_region_intersect() to calculate - window/region intersections. - - * gtk/gtkmain.c (gtk_main_do_event): - Use gdk_window_begin_paint_region() instead of gdk_window_begin_paint_rect(). - Use gtk_widget_send_expose() to send expose events. - - * gtk/gtkbin.c: - * gtk/gtkbox.c: - * gtk/gtkfixed.c: - * gtk/gtkimagemenuitem.c: - * gtk/gtklist.c: - * gtk/gtkpacker.c: - * gtk/gtktable.c: - * gtk/gtktree.c: - Remove expose handler, using the default container implementation - instead. - - * gtk/gtkbutton.c: - * gtk/gtkcheckbutton.c: - * gtk/gtkeventbox.c: - * gtk/gtkfixed.c: - * gtk/gtkhandlebox.c: - * gtk/gtklayout.c: - * gtk/gtklistitem.c: - * gtk/gtkmenu.c: - * gtk/gtkmenubar.c: - * gtk/gtkmenuitem.c: - * gtk/gtknotebook.c: - * gtk/gtkoptionmenu.c: - * gtk/gtkpaned.c: - * gtk/gtkscrolledwindow.c: - * gtk/gtktogglebutton.c: - * gtk/gtktoolbar.c: - * gtk/gtktreeitem.c: - * gtk/gtkviewport.c: - Chain expose handler to parent class handler. Use - gtk_container_propagate_expose() to propagate exposes. - - * gtk/gtkclist.c (check_exposures): - * gtk/gtktext.c (process_exposes): - Use gtk_widget_send_expose instead of gtk_widget_event. - -Thu Mar 8 19:40:28 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_destroy): Add destroy function. - -Thu Mar 8 19:18:27 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): Actually - unref the nodes. Fixes bug #50058. - - * gtk/gtktreemodel.c (gtk_tree_model_ref_node): change - "::ref_iter" to "::ref_node". - (gtk_tree_model_unref_node): change "::unref_iter" to - "::unref_node". Fixes bug #50064. - -Thu Mar 8 17:40:09 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): add - support for invisible cells. - (gtk_tree_view_bin_expose): ditto - -Thu Mar 8 16:36:00 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_model_get_type): add prerequesite - on gobjects. - - * tests/testtreefocus.c (main): New test file. - - * tests/testtreeview.c: update to latest glib changes. - - * tests/testtreecolumns.c: update to latest glib changes. - -Thu Mar 8 18:13:20 2001 Tim Janik - - * gtk/testgtk.c: re-enabled event watcher emission hooks. - -Thu Mar 8 16:51:21 2001 Tim Janik - - * *.c: added accumulator data argument to g_signal_newc() - functions. - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): - * gtk/gtktreeview.c (gtk_tree_view_setup_model): - * gtk/treestoretest.c (make_window): - s/g_signal_connect/g_signal_connectc/. - - * gtk/gtktextbuffer.c: completed signal arg fixups, - they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag. - -Thu Mar 8 00:02:30 2001 Owen Taylor - - * gtk/gtkwidget.[ch] (gtk_widget_get_name): Make - G_CONST_RETURN. - - * gtk/gtkwidget.[ch] gtk/gtkprivate.h: Add a - ::hierarchy-changed signal when a widget changes - from anchored to unanchored or vice versa. - (anchored means - gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) != NULL.) - Use a private flag to keep track of this efficiently. - -2001-03-07 Havoc Pennington - - * gtk/testgtk.c (create_spins): uglify so that size request gets - tested. - - * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Base size - request on values for upper/lower, completes #6152 - -Wed Mar 7 20:07:22 2001 Owen Taylor - - * Makefile.am: Remove gtk-config-2.0 again. - (Grrrr, pkg-config. And stops make loops.) - -Thu Mar 8 00:18:29 2001 Tim Janik - - * gtk/gtksignal.[hc]: removed old emission hook API. - - * docs/Changes-2.0.txt: fixed sections. - - * gtk/gtktextbuffer.c: signal arg fixups. - -2001-03-07 Havoc Pennington - - * gtk/gtktextview.c (invalidated_handler): use PRIORITY_VALIDATE - - * gtk/gtktextview.h (GTK_TEXT_VIEW_PRIORITY_VALIDATE): add this - here, bug #50368; changed to be GDK_PRIORITY_REDRAW + 5, instead - of GDK_PRIORITY_REDRAW + 1, so you can insert stuff in between the - validation and the redraw which is higher priority than the - validation. - -2001-03-07 Havoc Pennington - - * gtk/gtkentry.c (gtk_entry_get_property): remove trailer - (gtk_entry_set_property): remove trailer - - * gtk/gtkentry.c (gtk_entry_set_width_chars): - (gtk_entry_get_width_chars): new functions, to set size request to - a given number of characters - - * gtk/testgtk.c (create_dialog): beef up the dialog test slightly - - * gtk/gtkdialog.c (gtk_dialog_set_has_separator): new function - (gtk_dialog_get_has_separator): new function - (run_delete_handler): fix to not emit "response" signal - because we already did in the delete event handler installed - at dialog creation time. - - * gtk/gtkdialog.h: add a has_separator property, - add GTK_DIALOG_NO_SEPARATOR flag - -2001-03-07 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_set_decorated): new function, turns - off decorations for a window. - - * demos/gtk-demo/button_box.c (create_bbox): adapt to button box - changes - - * gtk/gtklabel.c (gtk_label_get_layout_offsets): new function - to get location of PangoLayout inside the label, closes #51198 - - * gtk/testgtk.c (create_bbox): fix up button box usage - - * gtk/testcalendar.c (create_calendar): fix up button box usage - - * gtk/gtkfilesel.c (gtk_file_selection_init): fixup buttonbox usage - - * gtk/gtkdialog.c (gtk_dialog_init): fixup buttonbox usage - - * gtk/gtkhbbox.h: deprecations - - * gtk/gtkvbbox.h: deprecations - - * gtk/gtkbox.c (gtk_box_get_spacing): new function, used to - emulate deprecated gtk_button_box_get_spacing - - * gtk/gtkbbox.h: deprecate some useless functions, remove entirely - the "set global default" functions - (struct _GtkButtonBox): remove "spacing" field, use the one from - GtkBox base class - - * gtk/gtkbbox.c (_gtk_button_box_child_requisition): rename with uscore - - * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): If we fail to - render the icon, return the missing image icon. - - * gtk/gtkimage.c (gtk_image_set_from_file): fall back to missing - image icon if the load fails. - - * gtk/gtkstock.h (GTK_STOCK_MISSING_IMAGE): Add stock icon for use - when no image is found; should be the Netscape "missing image" - icon eventually but for now is a random image - - * gtk/gtkwindow.c (gtk_window_set_role): new function, sets the - role for the session manager - - * gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG - - * gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define - GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL - - * gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG - -Wed Mar 7 13:24:57 2001 Tim Janik - - * gtk/*.c: marshaller fixes. - - * gtk/gtkmarshal.list: extreme cleanup. - - * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface - param spec for now. - - * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed() - where appliable. - - * gtk/gtktypeutils.[hc]: updates to GLib API changes. - special cased autogenerated boxed types from gtktypebuiltins_ids.c - which are not reference counted: - GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray, - PangoFontDescription, GtkTreeIter and GtkTreePath. - -Thu Mar 1 03:58:56 2001 Tim Janik - - * gtk/gtktreeselection.h: - * gtk/gtktreemodel.c: - * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/* - file should be included directly, and gobject/gmarshal.h - as well as gtk/gtkmarshal.h even can't be included directly. - - * Makefile.am: grr, install gtk-config-2.0. - - * gtk/testgtk.c: - * gtk/simple.c: - * gtk/gtkmenu.c: - * gtk/gtkitemfactory.c: use g_object_connect() instead of - passing "*signal*::*" args to gtk_widget_set(). - - * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL. - - * gtk/*.c: removed trailer arg from property setters and getters. - macro fixups. - -2001-03-07 Alexander Larsson - - * gtk/gtklabel.c (set_markup): Removed warning - -Tue Mar 6 19:59:12 2001 Jonathan Blandford - - * gtk/gtkcellrenderer.h (struct _GtkCellRenderer): Add visible - field to allow you to hide cell renderers. - - * gtk/gtkcellrenderer.c: Add support for invisible cells. - - * gtk/gtktreeview.c: Add support for invisible cells. - -Tue Mar 6 17:25:07 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked): - Add "clicked" signal back to columns. - - * ChangeLog: remove conflict markers. - -Tue Mar 6 10:45:45 2001 Owen Taylor - - * gtk/gtkbutton.c: Add animation of activation by, on - activate, pressing the button, and adding a timeout that - releases the button after 250ms or on key release and - emits ::clicked. (#51501) - - * gtk/gtkdialog.c: Bit of a hack - for buttons in the - action area, we connect to ::clicked instead of ::activate - so the dialog stays up through the animation. - -Mon Mar 5 16:38:15 2001 Owen Taylor - - * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): Only - check the ignore_enter flag for the menu shell that - the item is actually a child of, not for attached - submenus. (#51536) - -Tue Feb 27 02:16:14 2001 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): Only do special - special key-press grab handling for widgets within - GtkWindows. Otherwise, fall through to normal case. - - This prevents key events being sent twice to GtkInvisible - widgets, which can cause all sorts of mischief. - -Fri Feb 2 13:20:12 2001 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): When a grab - widget is in effect, give the grab widget a first - crack at KEY_PRESS/RELEASE events. (#424) - -2001-03-06 James Henstridge - - * gtk/gtkwidget.c (gtk_widget_class_init): set the class closure - offset for the window_state_event to point at window_state_event - rather than no_expose_event. - -Mon Mar 5 19:10:15 2001 Jonathan Blandford - - * gtk/gtkimmodule.h: fix busted /* comment */ - -Mon Mar 5 15:07:05 2001 Jonathan Blandford - - * gtk/gtktreeview.c: Apply patch from John Margaglione to add - object properties. - -Mon Mar 5 14:55:19 2001 Jonathan Blandford - - * gtk/gtkcellrenderertoggle.c: Apply patch from Lee Mallabone to - add object properties. - - * gtk/gtkcellrenderertextpixbuf.c: Apply patch from Lee Mallabone - to add object properties. - - * gtk/gtkcellrenderertext.c: Apply patch from Lee Mallabone to add - object properties. - - * gtk/gtkcellrendererpixbuf.c: Apply patch from Lee Mallabone to - add object properties. - - * gtk/gtkcellrenderer.c: Apply patch from Lee Mallabone to add - object properties. - -Mon Mar 5 14:38:54 2001 Jonathan Blandford - - * gtk/gtktreemodel.c: renamed "child_toggled" to - "has_child_toggled". - - * gtk/gtktreeview.c: Handle removing columns better. Updated to - handle new signal name. - - * gtk/gtktreestore.c: Updated to handle new signal name. - * gtk/gtklisttore.c: Updated to handle new signal name. - * gtk/gtktreemodelsort.c: Updated to handle new signal name. - -2001-03-05 Alexander Larsson - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): - Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window. - -2001-03-05 Michael Natterer - - * gtk/gtklabel.c: Made the "parent_class" pointer static. The - pixbuf-engine coincidentially also failed to make one of it's - parent_class pointers static, causing overwriting of GtkLabel's - parent_class pointer in pixbuf_style_class_init(). - (Will commit the fix to the pixbuf-engine too). - -2001-03-05 Alexander Larsson - - * gdk/gdkwindow.h: - Added GdkWindowTypeHint type. Added modal_hint field to GdkWindindow. - New functions gdk_window_set_type_hint, gdk_window_set_modal_hint and - gdk_window_set_icon_list for net wmspec functionality. - - * gdk/x11/gdkwindow-x11.c: - Set _NEW_WM_STATE_MODAL from window->modal_hint in set_inital_hints. - Implement gdk_window_set_type_hint, gdk_window_set_modal_hint and - gdk_window_set_icon_list. - Added gdk_wmspec_change_state helper function and used it in the code. - Set _NET_WM_ICON_NAME in gdk_window_set_title and gdk_window_set_icon_name. - - * gtk/gtkdialog.c (gtk_dialog_init): - Set GDK_WINDOW_TYPE_HINT_DIALOG. - - * gtk/gtkhandlebox.c (gtk_handle_box_realize): - Set GDK_WINDOW_TYPE_HINT_TOOLBAR. - - * gtk/gtkwindow.c: - new function gtk_window_set_type_hint. - On realize, set type hint and modal hint. - - * gtk/gtkwindow.h: - Added type_hint field and gtk_window_set_type_hint. - -2001-03-05 Alexander Larsson - - * gtk/gtklabel.[ch]: - Convert from GtkArg to GParam (originally based on patch from Lee Mallabone). - New function gtk_label_get_accel_keyval () to get the underline accelerator - of the label. Setting the label pattern overrides other attributes. - -Mon Mar 5 14:51:10 MET 2001 Sven Neumann - - * gtk/gtkrc.c: fixed compiler warnings by inserting some consts. - Added missing initializers to gtk_rc_style_init(). - -Sun Mar 04 07:30:03 2001 CET Mikael Hermansson - - * gtk/gtktextview.c: fixed bug #51097 about setting - gtk_text_view_set_border_window_size() if the widget is - already realized. - -Sat Mar 3 16:59:16 2001 Owen Taylor - - * gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes - - * gdk/win32/gdkinput.c (gdk_device_get_axis): Remove doc - comment. Won't do to have duplicated doc comments between - the platform subdirs. - -Sat Mar 3 16:26:33 2001 Owen Taylor - - * gdk/x11/gdkmain-x11.c gdk/x11/gdkkeys-x11.c - gdk/x11/gdkevents-x11.c gdk/x11/gdkprivate-x11.c: - - Detectable auto-repeat - make a repeating key generate - press/press/press/release instead of press/release pairs. - - If we have Xkb and XkbSetDectableAutoRepeat supports - that, we do it that way. Otherwise, when we get - a release event, we check ahead with XPending to see - if the next key is a KeyPress with the same keycode - and timestamp. (Not 100% reliable, but pretty close.) - -Tue Feb 27 02:16:14 2001 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): Only do special - special key-press grab handling for widgets within - GtkWindows. Otherwise, fall through to normal case. - - This prevents key events being sent twice to GtkInvisible - widgets, which can cause all sorts of mischief. - -Fri Feb 2 13:20:12 2001 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): When a grab - widget is in effect, give the grab widget a first - crack at KEY_PRESS/RELEASE events. (#424) - -Sat Mar 3 15:39:49 2001 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_button_press): Add shift-clicking - to extend the selection. (Roughly based on patch - from Jay Cox, #50939) - - * gtk/gtkentry.c (gtk_entry_button_press): Fix triple-clicking - to properly handle previous GDK_BUTTON_PRESS. - (Patch from Jay Cox, #50938) - - * gtk/gtkentry.c (gtk_entry_real_delete_text): Move the - '\0' back along with the deleted text. (#51148) - -Mon Jan 22 14:31:29 2001 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Unshift - the group when extracting it from the X keyboard event. - - * modules/input/Makefile.am modules/input/imipa.c: - Simple module for entering IPA. (Do we need a - gtk-stupid-input-tricks CVS module?) - -Sat Mar 3 13:32:47 2001 Owen Taylor - - * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious - const. - - * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path. - - * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there - is no focus widget for the dialog currently, grab the focus as well - as the default. - - * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get - the action area's children to iterate through, not the - dialog's children. - -Sat Mar 3 13:21:27 2001 Owen Taylor - - * tests/Makefile.am tests/testsocket.c tests/testsocket_child.c: - Add plug-socket tests. (Won't work worth a darn until I commit - the rest of the plug-socket changes, but no reason these - can't go into CVS now.) - -2001-03-02 Havoc Pennington - - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_flush): use - _gdk_region_get_xrectangles() - - * gdk/x11/gdkmain-x11.c (_gdk_region_get_xrectangles): new function - - * gtk/testgtk.c (create_shapes): add test for shape_combine_region - - * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_region): new - function, contributed by Ron Steinke - - * gdk/x11/gdkevents-x11.c (gdk_wmspec_supported): rename - gdk_net_wm_supports - - * gdk/gdkregion-generic.c (gdk_region_get_rectangles): - New function, contributed by Ron Steinke - - * gtk/gtkentry.c (gtk_entry_get_layout_offsets): New function, - used to line up the text in the entry when using the entry for - editable sheet cell hacks - - * gtk/testgtk.c (create_entry): test the activate_default setting - on GtkEntry - - * gtk/gtkentry.c (gtk_entry_set_activates_default): New function to - cause the entry to activate the default button for a dialog when - activated - (gtk_entry_get_activates_default): new function - -Wed Feb 28 19:10:43 2001 Owen Taylor - - * gtk/gtkclist.c (real_remove_row): Patch from ChiDeok - Hwang to move call to sync_selection() up a few lines - to before the row list is modified, to fix crash when - removing rows in the undo_selection list. - - (Test case provided by Daniel Elstner: - - http://mail.gnome.org/archives/gtk-list/2001-February/msg00359.html) - -Fri Feb 23 15:06:48 2001 Owen Taylor - - * gtk/gtktree.c (gtk_tree_class_init): Do the setting - of tree->root_tree in parent_set rather than _map(), - fixing #50892 in a bit better manner. - -Thu Feb 22 17:07:58 2001 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_popup): Don't flip cursor. (#50934) - -Tue Feb 2 11:22:33 2001 Jody Goldberg - - * gtk/gtkstyle.c : Remove duplicate fwd decl for - gtk_default_draw_shadow. - -ue Feb 20 11:40:58 2001 Owen Taylor - - * gdk/gdkimage.c (gdk_image_new): Remove excess - warning, make warnings more verbose, treat a error - in shmat as permanent, and don't try again. - (#51163, Ed Randall.) - -Mon Feb 19 20:15:28 2001 Owen Taylor - - * gtk/gtkrange.c (gtk_range_timer_1st_time): Add an initial - delay for the first click before starting to scroll. - (based on #51026, gtk-enf-990512-0.patch, Eric Fisher) - - * gtk/gtktext.c: GtkText should have I-beam cursor. - (based on gtk-enf-990513-1.patch, Eric Fisher.) - -Mon Feb 19 16:42:19 2001 Owen Taylor - - * gtk/gtklayout.c (gtk_layout_allocate_child): Tiny - cleanup to remove some references to unused - ->xoffset, ->yoffset. - -Mon Feb 19 14:20:36 2001 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_convert_555_br): Fix incorrect - mask. (#51039, fix from Martin Maierhofer) - -Fri Feb 16 20:09:42 2001 Owen Taylor - - * gtk/gtkctree.c (gtk_ctree_class_init): Add bindings - for unshifted + and shifted = for non-us keyboards. - Make + and - work as well as - KP_Plus, KP_Minus for recursive - open/close. (#2682, René Seindal) - -Fri Feb 16 18:50:59 2001 Owen Taylor - - * gtk/gtkmenushell.c (gtk_real_menu_shell_cancel): Unset - the active menu item before deactivating the menu, - so gtk_menu_popdown doesn't change the history. (#50964) - -Fri Feb 16 15:55:22 2001 Owen Taylor - - * gtk/gtktreeitem.c (gtk_tree_item_draw_lines): - draw lines with text_gc rather than black_gc. - (Patch from Vlad Harchev , #50926) - -Thu Mar 1 19:50:56 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button): - Move handling of buttons fully in gtktreeviewcolumn. This code is - less interrelated then it was, but it still requires the - GtkTreeView to map it. - - * test/testtreecolumn.c: Now I can add a column to one view, - remove it, add it to the another view, remove it, then re-add it - to the first. Nifty. - -Thu Mar 1 13:14:27 GMT 2001 Tony Gale - - * docs/tutorial/gtk-tut.sgml: Minor corrections - -Wed Feb 28 16:36:46 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_row_reference_*): Sanitize - GtkRowReference. - -2001-02-28 Havoc Pennington - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove draw_focus and - draw_default - (gtk_widget_draw_focus): remove this function; we could instead - make it just gtk_widget_draw(), but in most cases I think the - result would be broken user code, so think it's better to have - that code not compile and get fixed - (gtk_widget_draw_default): ditto - - * gtk/gtkwidget.c: Add default handlers for focus_in_event and - focus_out_event that set/unset GTK_HAS_FOCUS and call queue_draw - - * gtk/gtkwindow.c (gtk_window_set_default): just queue a draw when - widgets lose/get the default, instead of calling draw_default - - * docs/Changes-2.0.txt: note about all this - - Then fixed every widget in GTK, I won't list all the filenames. - -Tue Feb 27 19:32:53 2001 Jonathan Blandford - - * gtk/gtktreemodel.c (deleted_callback): Proxy out to - _gtk_tree_row_reference_deleted. - (inserted_callback): Proxy out to - _gtk_tree_row_reference_inserted. - (_gtk_tree_row_reference_new_from_view): Somewhat yukky hack to - get around signal emission ordering problem. - - * gtk/gtktreeselection.c (gtk_tree_selection_real_unselect_all): - fix to work with SINGLE - (_gtk_tree_selection_internal_select_node): Major sanitization on - selections. SINGLE now seems to work. - - * tests/Makefile.am: add testtreecolumn.c: - - * tests/testtreecolumn.c: New test. Mostly points out selection - bugs currently, but will test columns later. - - * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Fix really nasty - selection bug. I hate touching this code -- it's scary. - -2001-02-26 Havoc Pennington - - * gtk/testgtk.c: test the window state stuff - - * gtk/gtkwindow.c (gtk_window_present): new function, makes a - window come to the user's attention as if it were just created - (gtk_window_iconify): new function - (gtk_window_deiconify): new function - (gtk_window_stick): new function - (gtk_window_unstick): new function - (gtk_window_maximize): new function - (gtk_window_unmaximize): new function - - * gtk/gtkwidget.h, gtk/gtkwidget.c: add window_state_event signal - - * gtk/gtkmain.c (gtk_main_do_event): handle GDK_WINDOW_STATE - - * gdk/x11/gdkevents-x11.c: create window state events when - appropriate - (gdk_wmspec_supported): new function - - * gdk/x11/gdkwindow-x11.c (gdk_window_iconify): handle - iconification before showing the window - (gdk_window_deiconify): new function - (gdk_window_stick): new function - (gdk_window_unstick): new function - (gdk_window_maximize): new function - (gdk_window_unmaximize): new function - - * gdk/gdkwindow.c: store the window state in the window; - change to using the GDK_WINDOW_STATE_WITHDRAWN flag instead of - window->mapped. - (gdk_window_get_state): return the current window state - - * gdk/gdkevents.c (gdk_event_get_time): handle GDK_WINDOW_STATE - (gdk_event_get_state): handle GDK_WINDOW_STATE - (gdk_synthesize_window_state): function to create the window state - events - - * gdk/gdkevents.h (struct _GdkEventWindowState): new type of - event, for changes to "window state" such as maximized, sticky, - etc. - - * gdk/x11/gdkwindow-x11.c (gdk_window_focus): new function, - focuses a window - - * gdk/x11/gdkmain-x11.c (_gdk_wmspec_supported): new function, - finds out if we support a given WM spec hint - -Tue Feb 27 13:37:38 GMT 2001 Tony Gale - - * docs/faq/gtk-faq.sgml: New question re memory leaks. - -2001-02-25 Hans Breuer - - * gdk/gdk.h : changed #ifdef GDK_DISBALE_DEPRECARED to #ifndef - cause we want to loose those prototypes only in the latter case - - * gdk/win32/gdkevents-win32.c : can't cast from GdkPixmap to - GdkPixmapImplWin32 because it itsn't derived from it. Use the - impl member variable instead - - * gtk/gtk.def : updated - - * gtk/gtklist.c : - * gtk/gtkmenus.c : include for memset () - - * gtk/makefile.msc.in : updated and don't define GTK_COMPILATION - for everthing built here, but for gtk-x.x.dll only. This solves - problem of indifferent gtk type definitions - -Sat Feb 24 20:11:39 2001 Jonathan Blandford - - * gtk/gtkclipboard.h: actually put /* */ around #endif comment. - -Fri Feb 23 17:50:13 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Only draw the - column that is exposed. - - (_gtk_tree_view_update_size): Changed name from set_size, and - changed function to do more work, and not force people calling it - to figure out the size. Simplifies a lot of code elsewhere. - -2001-02-23 Alexander Larsson - - * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): - return solid masks for xpms that have no transparent color. - This makes the ..._create_from_xpm... API backwards - compatible. - -2001-02-23 Tor Lillqvist - - * README.win32: Update. Mention the gtk-1-3-win32-production - branch. - - * gdk/win32/bdfcursor.c: New file. A program that generates - xcursors.h. Thanks to Stefan Ondrejicka. - - * gdk/win32/xcursors.h: New file, contains the X cursor font in a - compact format. - - * gdk/win32/Makefile.am (EXTRA_DIST): Add new files. - - * gdk/win32/gdkcursor-win32.c (_gdk_win32_data_to_wcursor): New - function, uses xcursors.h. - (gdk_cursor_new): Use _gdk_win32_data_to_wcursor to generate - cursor from inline data instead of using LoadCursor() to generate - it from a resource. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): At button up - event, must check the Windows message for mouse button state, as - the GDK event state might not have been built if it is - undelivered. Remove one goto. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Call - SetCursor() if the current cursor as returned by GetCursor() is - the window's previous cursor. The ChildWindowFromPoint() test - apparently didn't work correctly. - - * gdk/win32/rc/*.cur: Remove. - - * gdk/win32/rc/gdk.rc.in: Remove cursors. - - * gdk/win32/rc/Makefile.am (EXTRA_DIST): Remove from here, too. - - * gtk/makefile.{mingw,msc}.in: Updates. - -Wed Feb 21 20:56:50 2001 Jonathan Blandford - - * gtk/gtktreemodel.h: add functions for signal emission. - - * gtk/gtktreestore.c: move to use above functions instead of - g_signal_emit. - - * gtk/gtkliststore.c: ditto - -Wed Feb 21 15:41:34 2001 Jonathan Blandford - - * gtk/gtktreestore.c: removed signals. Moved to inherit from - GObject instead of GtkObject. - - * gtk/gtkliststore.c: ditto. - - * gtk/gtktreemodelsort.c: ditto. - - * gtk/gtktreemodel.c (gtk_tree_model_base_init): moved signals to - GtkTreeModelIface, instead of in each model. - -2001-02-21 Havoc Pennington - - * gtk/gtktextbuffer.c (gtk_text_buffer_insert_child_anchor): - unbreak this function - - * gtk/gtkentry.c: apply patch from Lee Mallabone to add object - properties - - * gtk/gtkcurve.c: apply patch from Lee Mallabone to add object - properties - - * gtk/gtkcombo.c: apply patch from Lee Mallabone to add object - properties - - * gtk/gtkentry.c (gtk_entry_set_max_length): have this take -1 to - mean unset the max length - -Wed Feb 21 14:23:05 2001 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func): - Changed name to be set_cell_data_func to make it clear what - the functino does. Close bug #51069. - -Tue Feb 20 16:49:00 2001 Jonathan Blandford - - * gtk/testgtk.c (main): Remove turning on of profiling malloc, - have memory actually freed. Keeps box running longer. - -2001-02-21 Alexander Larsson - - * gtk/gtkseparatormenuitem.[ch]: - Added new menu separator item. The drawing and size handling - is still done in GtkMenuItem, but the API is a bit more sane. - - * gtk/Makefile.am: - Add gtkseparatormenuitem.[ch]. - - * gtk/gtk.h: - Add gtkseparatormenuitem.h. - - * gtk/gtkentry.c: - * gtk/gtkmenufactory.c: - * gtk/gtktextview.c: - Use the new API for menu separators. - - * demos/gtk-demo/menus.c (create_menu): - Add some GtkSeparatorMenuItem demo code. - -2001-02-20 Havoc Pennington - - * gtk/gtkaspectframe.c: Convert to new property API, patch from - Lee Mallabone - - * gtk/gtkarrow.c: Convert to new property API, patch from - Lee Mallabone - -Tue Feb 20 14:26:41 2001 Jonathan Blandford - - * tests/testtreeview.c (toggled_callback): fix to reflect change - in GtkTreeModelStore. - -Tue Feb 20 12:16:12 2001 Jonathan Blandford - - * gtk/gtkiconfactory.c (gtk_icon_set_new_from_pixbuf): New - function to create an icon set from a pixbuf. - -2001-02-20 Alexander Larsson - - * gtk/gtkcellrenderertext.[ch]: - Add a "markup" property. - - * gtk/treestoretest.c: - Use the markup property, remove some leftover stuff from - GtkTreeModelMapping. - -2001-02-20 Alexander Larsson - - * gtk/gtklabel.c (gtk_label_set_selectable): - Queue a redraw if the selectable setting was changed. - -2001-02-20 Alexander Larsson - - * gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy): - Actually copy the whole gc, not just the public parts. - - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): - GDK_WINDOW_TEMP are not toplevel. Fixes selectable - labels. - -2001-02-19 Havoc Pennington - - * gdk/gdkwindow.c: docs - - * gdk/gdkrgb.c: docs - - * gdk/gdkregion-generic.c: docs - - * gdk/gdkgc.c (gdk_gc_set_values): docs - - * gdk/gdkdraw.c: docs - - * gdk/gdkdrawable.h: deprecate drawable get/set data - -Mon Feb 19 20:37:35 2001 Jonathan Blandford - - * demos/gtk-demo/dialog.c: Add simple new demo. - -2001-02-19 Havoc Pennington - - * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): add - insert_child_anchor signal, bug #50245 - - * gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): change - from create_child_anchor, so the anchor is passed in - - * gtk/gtktextchild.c (gtk_text_child_anchor_new): new function - (_gtk_widget_segment_new): have the child anchor object passed in, - instead of creating it. - - * gtk/gtktextbuffer.c (gtk_text_buffer_modified): rename - to gtk_text_buffer_get_modified - -2001-02-19 Havoc Pennington - - * gtk/gtktreemodel.c (gtk_tree_model_get_valist): hmm, someone - changed GLib without fixing GTK - - * gtk/gtkrange.h: Rename all the stupid implementation detail - functions to have an underscore in front. Most of them should - probably just go away, but for starters don't export them. - Bug #50482 - -2001-02-19 Havoc Pennington - - * gdk/gdkcolor.h: test was backward, so deprecated functions were - excluded by default - - * gtk/gtkstyle.c (gtk_default_draw_diamond): draw etched in/out, - clean up the old code a bit - - * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): draw - inconsistent state - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): - draw inconsistent state - - * gtk/testgtk.c (create_toggle_buttons): add test for inconsistent - (create_menu): add inconsistent test - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_inconsistent): - new function - (gtk_check_menu_item_get_inconsistent): new function - (gtk_real_check_menu_item_draw_indicator): draw the inconsistent - state (using etched in for now) - - * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): - draw inconsistent state - - * gtk/gtktogglebutton.c (gtk_toggle_button_set_inconsistent): new - function, used when the user has selected a range of stuff in - different states - (gtk_toggle_button_get_inconsistent): accessor for that - (gtk_toggle_button_paint): draw inconsistent state (etched in? - don't know what else to do) - -2001-02-19 Hans Breuer - - * gtk/gtk.def : updated exported symbols - - * gtk/makefile.msc.in : updated - - * gtk/gtkstyle.c (gtk_style_realize) : gets called without - a colormap, when invoked from testgtk::entry. I'm not sure where - the bug is, but g_return_if_fail (GDK_IS_COLORMAP (colormap)); - avoids immediate crashing ... - - * gtk/gtkmain.c (check_setugid) : totally disabled on win32; - any objections ? - - * gtk/gtktreemodel.c : called G_VALUE_LCOPY with an extra - 0 parameter. At least msvc doesn't like macros with var args. - I simply removed the extra 0, was it a feature or a typo ? - - * gtk/gtktreeviewcolumn.[hc] (gtk_tree_view_column_set_func) : - removed the extra indirection from the GtkTreeViewColumnFunc parameter, - because the value assignment to the internal struct wasn't working. - I'm not absolutely sure. The problem could have been resolved by - changing the "func" declartion in the struct, but was the pointer - to the function pointer intended ? - - * gtk+/gtk/gtktreedatalist.c : include gboxed.h - - * gdk/gdk.def : updated exported symbols - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_image) : - only use SetDIBitsToDevice if there is a palette at the drawable - and the image is GDK_VISUAL_PSEUDO_COLOR - - * gdk/win32/gdkkeys-win32.c : msvc still has no ... - - * gdk/win32/gdkwindow-win32.c : #include "gdk.h" /* gdk_rectangle_intersect */ - - * gdk/*/makefile.msc : updated - -2001-02-19 Havoc Pennington - - * demos/gtk-demo/Makefile.am (INCLUDES): GDK_DISABLE_COMPAT_H, - GDK_DISABLE_DEPRECATED (we need to merge those two #defines) - - * gdk/x11/gdkmain-x11.c (gdk_key_repeat_disable): nuke - (gdk_key_repeat_restore): nuke - - * gdk/gdk.c (gdk_exit_func): #if 0 this for now, don't install it - (gdk_init_check): no atexit func - - * gdk/gdkrgb.h: mark some stuff deprecated - - * gdk/gdkcolor.h: mark some stuff deprecated - - * gdk/gdk.h: deprecated gdk_exit, gdk_input_* - - * gdk/gdkfont.h: bracket in GDK_DISABLE_DEPRECATED - -2001-02-16 Havoc Pennington - - * gtk/gtkvscrollbar.c (gtk_vscrollbar_trough_keys): use the visual - scroll steps. - - * gtk/gtkvscale.c (gtk_vscale_trough_keys): use the visual scroll - steps, and add Ctrl-arrow shortcuts for paging visually as with - HScale, since Page Up and Page Down move logically. - - * gtk/gtkenums.h (GtkScrollType): add GTK_SCROLL_STEP_UP, - GTK_SCROLL_STEP_DOWN, etc. for visual scroll directions - - * gtk/gtkrange.c (gtk_range_key_press): handle the visual scroll - steps - (gtk_range_scroll): handle the visual steps - - * gtk/gtklist.c (gtk_list_scroll_horizontal): handle the up/down - scroll steps - - * gtk/gtkhscale.c (gtk_hscale_trough_keys): use the visual scroll - steps, not the logical ones. - - * gtk/gtkclist.c (move_focus_row): handle the up/down scroll steps - (scroll_vertical): handle up/down steps - -2001-02-19 Alexander Larsson - - * gdk/linux-fb/gdkimage-fb.c (gdk_image_new_bitmap): - Copy data and free data with free(). - - * gdk-pixbuf/gdk-pixbuf.c: - * gdk-pixbuf/io-jpeg.c: - * gdk-pixbuf/io-png.c: - Use g_try_malloc/g_free instead malloc/free. - - * gdk-pixbuf/test-gdk-pixbuf.c: - Must... initialize... gobject... - - * gdk-pixbuf/pixops/timescale.c: - * gtk/gtkcalendar.c: - Use g_malloc instead of malloc. - -2001-02-19 Alexander Larsson - - * gtk/testgtkrc: - Comment out property assignments, these don't work yet. - -2001-02-17 Havoc Pennington - - * gtk/gtkalignment.c (gtk_alignment_class_init): clean this up a - bit. - -2001-02-17 Havoc Pennington - - * gtk/gtklabel.c (gtk_label_ensure_layout): fix screwup with - shadowed variables that had broken size request in some cases, - leading to bogus tooltips (#50996) - -2001-02-06 Jon K Hellan - - Implement fast browsing of tooltips, bug #50619 - - * gtk/gtktooltips.h (struct _GtkTooltips): Add use_sticky_delay - and last_popdown - - * gtk/gtktooltips.c (gtk_tooltips_init): Initialize sticky_delay, - use_sticky_delay and last_popdown. - (gtk_tooltips_draw_tips, gtk_tooltips_set_active_widget): Record - time of popdown. - (gtk_tooltips_set_active_widget): Unset sticky behaviour if widget - is NULL. - (gtk_tooltips_recently_shown): New static function. Return true - if < sticky_delay has elapsed since last popdown. - (gtk_tooltips_event_handler): Display window after sticky_delay - (presumably < normal delay) if < STICKY_REVERT_DELAY has elapsed - since last popdown. - -2001-02-17 Havoc Pennington - - * gtk/gtktypeutils.h (GtkSignalFunc): change it to take (void) - instead of (). #6394 - - * gtk/gtkprogressbar.c (gtk_progress_bar_get_text): Add - G_CONST_RETURN, make it return by reference, #50473 - -Sat Feb 17 06:47:27 2001 Tim Janik - - * gtk/gtkmenu.c (gtk_menu_motion_notify): default initialize the - generated ENTER_NOTIFY event with 0, otherwise not explicitely - setup fields contain garbage (e.g. subwindow, breaking - gdk_drawable_ref() upon event copy). - (gtk_menu_stop_navigating_submenu_cb): same here. - - * gtk/gtklist.c (gtk_list_vertical_timeout): - * gtk/gtklist.c (gtk_list_horizontal_timeout): - * gtk/gtkclist.c (vertical_timeout): - * gtk/gtkclist.c (horizontal_timeout): change direct assignment - default-zero-intialization for unions to memset(,0,), as unions are - not fully default-zero-initialized by compilers (GdkEvent x = { 0, }; - has to become GdkEvent x; memset (&x, 0, sizeof (x)); ) - - * gtk/gtktreeview.c (gtk_tree_view_set_rows_drag_source): scratch - g_closure_sink() warning. - - * gtk/gtktreemodel.c (gtk_tree_model_get_valist): - * gtk/gtktreestore.c (gtk_tree_store_set_valist): - * gtk/gtkliststore.c (gtk_list_store_set_valist): - fix G_VALUE_COLLECT() and G_VALUE_LCOPY() calls. - -Fri Feb 16 17:49:59 2001 Jonathan Blandford - - * gtk/gtktreestore.[hc], gtk/gtkliststore.[ch]: removed - gtk_*_store_get, and moved to GtkTreeModel. - - * gtk/gtktreemodel.h (gtk_tree_model_set{v,}): Added - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize): added. - - * gtk/Makefile.am: remove gtktreemodelmapping.[ch] - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_func): let you - set the func. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data): - freeze/thaw notify between setting all the properties for a cell. - - * gtk/gtk.h: remove gtktreemodelsimple.h, and gtktreemodelmapping.h - -2001-02-15 Havoc Pennington - - * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): convert - the X coordinates so they're with respect to the line, rather than - with respect to the layout. - - * gtk/gtkalignment.c: Convert to new property API, patch from Lee - Mallabone - - * gtk/testgtk.c (create_range_controls): add vscale tests, - and inverted test - - * gtk/gtkrange.c (gtk_range_set_inverted): new function to fix - #50806 - - * gtk/gtkentry.c (gtk_entry_get_text): add G_CONST_RETURN - - * gtk/gtktextiter.h (gtk_text_iter_is_last): rename - gtk_text_iter_is_end - - * gtk/gtktextbuffer.h (gtk_text_buffer_get_last_iter): - rename gtk_text_buffer_get_end_iter - - * gtk/testgtk.c (create_labels): Add test for selectable - - * gtk/gtkentry.c (gtk_entry_draw_text): Use new GDK API to draw - the selection stuff. This code is kind of broken since it doesn't - use the theme engine. - - * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): - fix infinite loop and y offset problem - (gdk_draw_layout_line_with_colors): fix foreground color handling - - * gtk/gtklabel.h, gtk/gtklabel.c: Implement a "selectable" flag - that makes the label selectable. - - * gtk/gtklabel.c (gtk_label_style_set): recreate the label's - layout when the style is set, since fonts etc. could have changed. - -Fri Feb 16 14:22:05 2001 Jonathan Blandford - - * gtk/Makefile.am: Removed gtktreemodelsimple.[ch] - - * gtk/gtktreemodelsimple.[ch]: removed. - -2001-02-16 Alexander Larsson - - * gtk/gtktreemodelmapping.[ch]: - New files. Implement GtkTreeModelMapping. - - * gtk/Makefile.am: - Add gtktreemodelmapping.[ch]. - - * gtk/gtk.h: - Add gtktreemodelmapping.h - - * gtk/treestoretest.c: - Test the GtkTreeModelMapping - -Tue Feb 13 13:16:09 2001 Jonathan Blandford - - * demos/gtk-demo/panes.c (create_pane_options): If we're going to - have a demo, we might as well pass in real values. Thanks to - clahey for pointing this out. - -2001-02-14 Havoc Pennington - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_remove): add - "static" to a private function - (gtk_image_menu_item_class_init): remove destroy handler, - add "image" object property - -2001-02-13 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_clip_region): - Add a shortcut if the window and the current clip_region doesn't - overlap. This is needed when there are a lot of windows in a - window. The layout test in testgtk is a good test. - - * gdk/linux-fb/gdkwindow-fb.c: - Whitespace fix. - -2001-02-13 Sven Neumann - - * demos/testanimation.c: replaced deprecated gtk_drawing_area_size - -2001-02-13 Alexander Larsson - - * gdk/linux-fb/gdkcursor-fb.c (gdk_fb_cursor_unhide): - Don't reference last_cursor if it is null. Fixes crash when rotating - the screen before having moved the mouse. - - * gdk/linux-fb/gdkcc-fb.c: Zapp! - - * gdk/linux-fb/Makefile.am: Don't compile gdkcc-fb.c - - * gdk/linux-fb/gdkwindow-fb.c: Fix typo. width->height. Fixes redraw - when using 90 or 270 degrees rotation. - -2001-02-12 Havoc Pennington - - * gdk/gdkpango.c (gdk_pango_get_gc): fix bug where - it always set the foreground, even if we were only using - a stipple. - (gdk_draw_layout_line_with_colors): new function, allow - override colors - (gdk_draw_layout_with_colors): new function, allow override - colors - (gdk_pango_layout_line_get_clip_region): function to get the clip - region for a logical text range - (gdk_pango_layout_get_clip_region): get the clip region for a - logical text range - - * gdk/x11/gdkcolor-x11.c: forward declare gdk_colormap_sync(), - (gdk_colormap_new): fix call to gdk_colormap_sync() so it has - the right number of arguments. - - * gtk/gtktextbtree.c (gtk_text_btree_node_check_consistency): - enhance the function to check that node data corresponds to a - view still belonging to the tree. - - * gtk/gtktreeview.c (gtk_tree_view_changed): we were leaking the - GtkTreePath - (gtk_tree_view_inserted): ditto - (gtk_tree_view_child_toggled): ditto - - * gtk/gtktreemodel.c (gtk_tree_path_append_index): use realloc to - simplify this code. - - * gtk/gtkcellrenderertext.c (get_layout): fix leak of - a PangoAttrList - - * demos/gtk-demo/main.c (load_file): Fix leak of a GString - - * gtk/gtkentry.c (gtk_entry_realize): Fix leak of a GdkCursor - - * gtk/gtkmenubar.c (gtk_menu_bar_size_request): consider toggle - size in the size request - (gtk_menu_bar_size_allocate): consider toggle size here - - * gtk/gtkimagemenuitem.h, gtkimagemenuitem.c: Menu item - that displays a widget in the toggle slot - - * gtk/testgtk.c: test GtkImageMenuItem - - * gtk/Makefile.am, gtk/gtk.h: Add GtkImageMenuItem - - * gtk/gtkmenuitem.h: Use "gint" not "guint16" for toggle size - request and allocation - - * gtk/gtkmenu.c (gtk_menu_size_request): use gint not guint16 - - * gtk/gtkcheckmenuitem.c - (gtk_check_menu_item_toggle_size_request): ditto - -Mon Feb 12 23:43:30 2001 Owen Taylor - - * gtk/Makefile.am (gdk_headers): Remove gdkcc.h - reference. - - * configure.in gtk/gtkmain.c: Add checks for setuid/setgid, - and refuse to initialize GTK+ if they fail. - -Mon Feb 12 15:02:07 2001 Owen Taylor - - * configure.in: Add check for gtk-doc version. - -Thu Feb 8 17:18:26 2001 Owen Taylor - - * gtk/gtklabel.c (gtk_label_size_request): Fix bug - where the xpad/ypad was only being used on one side! - -2001-02-11 Tor Lillqvist - - * gdk/win32/gdkcolor-win32.c (gdk_colormap_query_color): New - function, copied from X11 version. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Eliminate - DestroyCursor failures. The reason for the problem (despite the - inconsistent messages from GetLastError()) was that - DestroyCursor() cannot be called while a cursor is set in a - window. Set the new cursor first and then destroy the old one. - Thanks to jpe@archaeopteryx.com. - - * gdk/win32/gdkcc-win32.c: Remove. - - * gdk/win32/Makefile.am: Remove from here, too. - - * gdk/gdk.def - * gdk/makefile.mingw.in: Update. Godbye GdkColorContext. - - * gtk/gtk.def - * gtk/makefile.mingw.in: Updates. - -2001-02-08 Havoc Pennington - - * gtk/gtkbin.c (gtk_bin_add): better error message if you try to - add a widget to a bin that already has a child. - - * gdk/gdkcc.h, gdk/gdkcc-x11.c: Remove GdkColorContext, #50512 - - * docs/Changes-2.0.txt: note that GdkColorContext is gone. - - * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): remove gdkcc-x11.c - - * gdk/gdk.h: remove gdkcc.h - - * gdk/Makefile.am (gdk_public_h_sources): remove gdkcc.h - - * gtk/gtkpixmap.c (build_insensitive_pixmap): rewrite using - GdkPixbuf, since the previous implementation was GdkColorContext - dependent. - - * gtk/testgtk.c (create_pixmap): add test for insensitive GtkPixmap - -Thu Feb 8 19:00:00 2001 Jonathan Blandford - - * gtk/gtktreeview.c (TREE_VIEW_VERTICAL_SEPARATOR): moved back to - a sane value! - -2001-02-08 Havoc Pennington - - * gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not - lighten them. - -2001-02-08 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_destroy_layout): remove - validation idle - - * demos/gtk-demo/main.c (create_tree): adjust to changes in text - cell renderer - - * demos/pixbuf-demo.c (timeout): remove deprecated - gtk_widget_draw - - * demos/testpixbuf-save.c (main): remove deprecated - gtk_drawing_area_size - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): allocate - buttons even if the model isn't setup. gtk_tree_view_check_dirty() - at the start of the allocation. - (gtk_tree_view_check_dirty): handle column->button == NULL, handle - unsetup or NULL model. - - * gtk/gtkstyle.c (gtk_default_draw_flat_box): drawing for the - even/odd/sorted cells in the tree view. - - * gtk/gtktreeselection.c (gtk_tree_selection_real_unselect_all): - bugfixes - - * gtk/gtktreeview.c: assorted bugfixy stuff. Draw the row - backgrounds with draw_flat_box using different detail for even/odd - rows. - - * gtk/gtkrbtree.c, gtkrbtree.h: Keep track of the parity of each - row, so we can draw the alternating colors thing - - * gtk/gtktexttag.c (gtk_text_tag_set_property): if we change a - property from a synonym property, notify for the synonym. - Also, nuke the background_gdk_set and foreground_gdk_set synonyms - (gtk_text_tag_get_property): Always return the font, even if - all its fields aren't set - - * gtk/gtkcellrenderertext.h (struct _GtkCellRendererText): don't - store the attr list; it leaves us with no way to change attributes - in _render according to the render flags, and no way to implement - get_property. Instead store all the specific text attributes. - Separate whether an attribute is enabled from its value. Sync all - properties with GtkTextTag, make them all consistent, etc. - - * gtk/gtkcellrenderer.h: Add a flag GTK_CELL_RENDERER_SORTED so - renderers can highlight the sort row/column - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_property): use - accessor functions to get values; this has the side effect of - showing up which accessor functions were missing. Added those. - - * gtk/gtktreeviewcolumn.h: Replace set_justification with - set_alignment, to be consistent with GtkLabel, GtkMisc - - * gtk/gtktreeviewcolumn.c: Added code to display sort indicator - arrow. - - * gtk/Makefile.am (gtk_public_h_sources): add gtktreesortable.h - - * gtk/gtktreesortable.h: updates in here - -2001-02-07 Sven Neumann - - * gtk/gtkentry.c (gtk_entry_draw_text): convert area_height to - pango dimensions after painting the background. We used to draw - gigantic flat boxes here. - -Mon Feb 5 22:05:57 2001 Owen Taylor - - * gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax - error introduced with earlier commit) (pointed out by - Ollie Lho) - -Mon Feb 5 12:25:06 2001 Owen Taylor - - * gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove, - which are no longer necessary. - -Mon Feb 5 13:22:54 GMT 2001 Tony Gale - - * docs/faq/gtk-faq.sgml: s/MISK/MISC/ - -2001-02-04 Tor Lillqvist - - * gdk/gdk.def - * gdk/win32/gdkim-win32.c (gdk_ic_attr_new, gdk_ic_attr_destroy): - Provide dummy implementations. - -Sun Feb 4 07:55:17 2001 Tim Janik - - * gtk/gtksignal.h: removed gtk_signal_init() compat define. - - * gtk/gtktypeutils.[hc]: gtk_tpye_init() take an additional argument - GTypeDebugFlags debug_flags and pass it on to g_type_init (); - deprecated this function. - - * gdk/gdk.c (gdk_init_check): call g_type_init () with 0 as - argument. - -Sun Feb 4 07:45:45 2001 Tim Janik - - * gtk/gtkdebug.h: nuke GTK_DEBUG_OBJECTS and GTK_DEBUG_SIGNALS. - -2001-02-03 Havoc Pennington - - * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by - Mikael Hermansson with patch from Mikael (if there was a toggle - start one after the first character in the range, this function - was broken). Bug #50380 - -Sat Feb 3 11:28:03 2001 Owen Taylor - - * configure.in: Remove confusing comment about X11. - -Fri Feb 2 19:21:23 2001 Owen Taylor - - * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional - regions with HAVE_SHAPE_EXT. (#50511, Eric Ding) - -Fri Feb 2 18:31:54 2001 Owen Taylor - - * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since - it breaks things on BSD. If you want to compile GTK+ with - -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE - when configuring, since GTK+ simply can't be "pure ANSI" - in the header files it uses. (#8170, Greg Hudson) - -2001-02-02 Havoc Pennington - - * gtk/gtkwindow.c: docs - - * gtk/gtkwidget.c: docs - (gtk_widget_set_colormap): add a reference to the colormap - (gtk_widget_get_default_colormap): add a reference to the colormap - - * gtk/gtktextbtree.c (gtk_text_mark_set_visible): docs - - * gtk/gtktextiter.c: docs - - * gtk/gtkmain.c (gtk_propagate_event): docs - - * gtk/gtkpaned.c (gtk_paned_get_position): docs - (gtk_paned_set_position): docs - - * gtk/gtktreesortable.h (struct _GtkTreeSortableIface): Initial - sort interface, no implementation yet. - - * demos/testpixbuf.c (new_testrgb_window): replace - gtk_drawing_area_size() with gtk_widget_set_usize() - - * demos/testpixbuf-drawable.c (main): ditto - - * gtk/testgtk.c: remove use of GtkStatusbarMsg - - * gtk/gtktextbuffer.c: docs - - * gtk/gtkstock.c: docs - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_shadow_type): docs - - * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): docs - - * gtk/gtklabel.c (gtk_label_set_markup_with_accel): fix docs - - * gtk/gtkimage.c: add some docs in here - (gtk_image_size_request): change name of - gtk_widget_render_stock_icon - (gtk_image_get_icon_set): don't dup returned string - (gtk_image_get_icon_set): don't dup returned string - - * gtk/gtkwidget.c (gtk_widget_render_icon): rename from - gtk_widget_render_stock_icon(), more consistent with gtkstyle.h - and gtkiconfactory.h functions - - * gtk/gtkiconfactory.c: add some docs in here - - * gtk/gtkmain.c (gtk_get_default_language): document - (gtk_get_current_event): document - (gtk_get_current_event_state): document - (gtk_get_event_widget): document - - * gtk/gtkentry.c (gtk_entry_set_invisible_char): document - - * gtk/gtkcontainer.c: Add some documentation - (gtk_container_add): give a more explanatory warning on adding an - already-parented widget, this is kind of a FAQ and also a common - typo that's easier to debug with a nice warning - - * gtk/gtkcellrenderertoggle.c - (gtk_cell_renderer_toggle_get_active): remove, I was on crack - adding this, it's useless - (gtk_cell_renderer_toggle_set_active): remove - (gtk_cell_renderer_toggle_get_radio): add - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_size): don't allow - the NULL cell renderer, that doesn't make any sense to me. - - * demos/gtk-demo/Makefile.am (INCLUDES): -DGTK_DISABLE_DEPRECATED, - demo code should never use deprecated features. - - * demos/Makefile.am (INCLUDES): -DGTK_DISABLE_DEPRECATED, demo - code should never use deprecated features. - - * gtk/gtkwidget.h: Mark gtk_widget_draw, gtk_widget_queue_clear, - gtk_widget_queue_clear_area deprecated - - * gtk/gtklayout.h: mark gtk_layout_freeze/gtk_layout_thaw - deprecated - - * gtk/gtklabel.h: mark gtk_label_get() deprecated - - * gtk/gtkimage.h: mark the legacy GtkImage functions that took - a GdkImage deprecated, replaced by new consistently-named - functions - - * gtk/gtkmain.h: Mark gtk_exit() deprecated - - * gtk/gtkdrawingarea.h: mark gtk_drawing_area_size deprecated - - * gtk/gtkstyle.h: mark gtk_draw_string, gtk_paint_string - deprecated - - * gtk/gtkstatusbar.h: Move GtkStatusbarMsg to the .c file, - so it won't appear in docs and confuse people. - - * gtk/gtkprogressbar.h: Mark all the old methods deprecated - - * gtk/gtkprogress.h: Mark all methods deprecated, mark the cast - macros deprecated. (can't mark the type itself deprecated, since - GtkProgressBar is not deprecated and we need the type decl to use - GtkProgressBar) - - * gtk/gtkpixmap.h: Mark deprecated - - * gtk/gtkoldeditable.h: Mark deprecated - - * gtk/gtklist.h: Mark deprecated - - * gtk/gtklabel.h: delete "GtkLabelWord" typedef, not used - for anything anymore. - - * gtk/gtkctree.h: Mark deprecated - - * gtk/gtkclist.h: Mark deprecated - - * gtk/gtkpreview.h: Mark deprecated - - * gtk/gtkpacker.h: Mark deprecated - - * gtk/gtktipsquery.h: Mark deprecated - - * gtk/gtkinputdialog.h: Add comment that it will move out of GTK - - * gtk/gtkvruler.h: Add comment that it will move out of GTK - - * gtk/gtkhruler.h: Add comment that it will move out of GTK - - * gtk/gtkruler.h: Add comment that it will move out of GTK - - * gtk/gtkgamma.h: Add comment that it will move out of GTK - - * gtk/gtkcurve.h: Add comment that it will move out of GTK - -Fri Feb 2 17:16:09 2001 Owen Taylor - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_sync): Make - gdk_colormap_sync private since it was never exported - in a header file. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_new): Fill in - colormap->colors[] for StaticGray, StaticColor colormaps. - - * gdk/gdkpixbuf-drawable.c: Fix problems where image->bpp - was being used as if it was image->bits_per_pixel. - - * gdk/gdkimage.h, gdk/x11/gdkimage-x11.c: Save the bits-per-pixel - for the image in the GdkImage structure since it isn't - reconstructable, and we need it to handle packed types - - * gdk/win32/gdkimage-win32.c: Set image->bits_per_pixel. (I'm making - the assumption that on Win32 image->bits_per_pixel == image->depth, - always. - - * gdk/linux-fb/gdkimage-fb.c: Set image->bits_per_pixel. - - * gdk/gdkrgb.c (gdk_rgb_select_conv): Exit with an informative - warning message if no converter can be found. - -Fri Feb 2 15:09:51 2001 Owen Taylor - - * gtk/fnmatch.c (FOLD): Fix problem with passing signed - chars to isupper() / tolower(). (#567) - - * examples/packer/pack.c: Add GINT_TO_POINTER, GPOINTER_TO_INT - to clear up 64-bit warnings. (#567) - -Fri Feb 2 12:26:50 2001 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Get rid of - a bunch of g_strdup_printf("%s%s") in favor of g_strconcat(). - - * gtk/gtkrc.c Makefile.am: Use $(libdir), not $(exe_prefix), - since some people set $(libdir) separately. (#1290, David Kaelbling) - -Thu Feb 1 18:25:46 2001 Owen Taylor - - * gtk/gtkfilesel.c: If PATH_MAX and MAXPATHLEN are not - defined, define MAXPATHLEN to 2048. (The Hurd doesn't have - MAXPATHLEN, but the code here depends on a fixed value.) - (#4524) - -Wed Jan 31 22:01:04 2001 Owen Taylor - - * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Handle the case - where child == NULL and handle_position == RIGHT or BOTTOM. (#8041g) - -Wed Jan 31 21:20:39 2001 Owen Taylor - - * gtk/gtkctree.c (real_tree_move): If the node being moved isn't - viewable there is no way that moving the node will cause the - focus row to become not viewable, so omit check on the visibility - of new_sibling, which is irrelevant. (Fixes #8002, David Helder) - -Wed Jan 31 20:38:17 2001 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_commit_cb): Delete the current - selection before inserting new text. - -Wed Jan 31 18:49:33 2001 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_item_state_changed_cb): - Make the sensitivity of the reparented child track that of - the original parent menu item. (#34218, David Hodson) - - * gtk/gtkoptionmenu.c (gtk_option_menu_item_destroy_cb): Handle - the case where the current item is destroyed properly. - - * gtk/gtkoptionmenu.c: Some additional code cleanups and fix - some edge cases with child-less menuitems. - -Wed Jan 31 17:16:13 2001 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_window_key_press): Make Return - key pop down window. (#12074, Jon K Hellan) - -Wed Jan 31 16:21:42 2001 Owen Taylor - - * gtk/gtklist.c (gtk_list_signal_item_toggle): Don't allow - toggling of rows off in BROWSE or EXTENDED mode. (#12072, Jon K Hellan) - The solution here isn't perfect - you get an extraneous - emission of "toggle", which could conceivably confuse an app, - but better than the current situation. LXR search seems to - indicate that no apps in GNOME CVS connect to "toggle". - -Wed Jan 31 15:46:13 2001 Owen Taylor - - * gtk/Makefile.am (libgtkinclude_HEADERS): Move gtkcompat.h from - gtk_public_h_sources to directly here to avoid warning when - building srcdir != builddir. (#9656) - -Tue Jan 30 19:49:02 2001 Owen Taylor - - * gtk/gtkrange.c: Patch from Kipp Hickman to make the event - handlers in gtkrange.c return the proper values (TRUE == handled) - (#10316). - - This is just the tip of the iceberg, but gtkrange.c is the - most common place where the propagation is problematical, - and also a place where it is almost certainly safe to change - this in the stable branch. - - (You don't want right click popups on a range control or anything...) - -Tue Jan 30 18:57:59 2001 Owen Taylor - - * gtk/gtktext.c (clear_focus_area): We need to clear the focus - area on focus out, even if a background pixmap isn't set. - (#13941) - -Tue Jan 30 18:24:10 2001 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_set_shape): Fix from Sean Cunningham - to deal with setting the shape properly when scrolling arrows are - turned on, but not visible because there is sufficient space. - (#13432) - -Tue Jan 30 16:39:25 2001 Owen Taylor - - * gtk/gtkitemfactory.c (gtk_item_factory_delete_item): For menu - items with submenus, destroy the item along with the submenu. - (#7841, Brian Masney(?)) Also, handle paths of the form '/abcd...' - properly. - - * gtk/testgtk.c (menu_items): Add a dummy branch that we delete - later. - -Tue Jan 30 15:51:25 2001 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_real_set_focus): Fix a problem where - the focus widget sometimes wasn't drawn with the default if there - was no default widget. - - * gtk/gtkstyle.c (gtk_style_real_unrealize): free colors, - unreference pixmaps. - - * gtk/gtkstyle.c (gtk_style_realize): Reference colormap - for some extra safety. - -Mon Jan 29 19:00:01 2001 Owen Taylor - - * gtk/gtk{ctree.c,clist.c} (set_cell_contents): Handle setting - the text of a cell to the old pointer value better, by - copying the new text before freeing the old text. Some code - cleanup. (#8079, Karl Nelson) - -Mon Jan 29 16:50:19 2001 Owen Taylor - - * gtk/gtklabel.[ch] gtk/gtkframe.[ch]: Make gtk_label_get_text() - gtk_frame_get_label() non strdup'ing, and G_CONST_RETURN. - -Mon Jan 29 15:22:51 2001 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_remove): When removing an - item from a menu, check to see if it matches - menu->old_active_menu_item, and if so, unref and clear - old_active_menu_item (Patch from Pavel Cisler) - - * gtk/gtkmenushell.c (gtk_menu_shell_remove): Unset - menu_shell->active_menu_item, if it is the child being - removed. (Patch based on that of Gene Ragan, #50337) - -2001-01-31 Alexander Larsson - - * gdk/linux-fb/gdkselection-fb.c: - * gdk/linux-fb/gdkcolor-fb.c: - * gdk/linux-fb/gdkdrawable-fb2.c: - * gdk/linux-fb/gdkfont-fb.c: - * gdk/linux-fb/gdkim-fb.c: - * gdk/linux-fb/gdkinput.c: - * gdk/linux-fb/gdkkeyboard-fb.c: - * gdk/linux-fb/gdkmain-fb.c: - * gdk/linux-fb/gdkrender-fb.c: - A bunch of whitespace cleanup. - -2001-01-30 Havoc Pennington - - * gtk/gtktreeitem.h, gtk/gtktree.h, gtk/gtktext.h: bracket in - #ifdef GTK_ENABLE_BROKEN. - - * gtk/gtktreeitem.c, gtk/gtktree.c, gtk/gtktext.c: #define - GTK_ENABLE_BROKEN just before including the broken headers. - - * gtk/gtktypeutils.c: #define GTK_ENABLE_BROKEN, so we can get the - deprecated types registered. - - * gtk/testgtk.c, gtk/testselection.c: #define GTK_ENABLE_BROKEN, - we have to test the broken stuff. - - * docs/Changes-2.0.txt: explain GTK_ENABLE_BROKEN - -2001-01-30 Havoc Pennington - - * gtk/gtkliststore.c (gtk_list_store_insert_before): fix bug in - here where prev pointer was set to the wrong thing - - * gtk/gtktreemodel.c (gtk_tree_path_is_ancestor): new function - (gtk_tree_path_is_descendant): new function - - * gtk/gtkliststore.c (gtk_list_store_iter_n_children): return - cached length - (gtk_list_store_get_iter): don't modify iter if we can't get the - path. - - * gtk/gtkliststore.h (struct _GtkListStore): cache the length - - * gtk/gtktreednd.h: add virtual function row_drop_possible() to - GtkTreeDragDest - - * gtk/gtktreestore.c (copy_node_data): fix varargs type error that - was causing segfault - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_copy): set next - pointer to NULL - - * gtk/gtktreestore.c (gtk_tree_store_append): fix memleak - - * gtk/gtkliststore.c (gtk_list_store_iter_next): don't modify iter - on returning FALSE - (gtk_list_store_iter_children): ditto - (gtk_list_store_iter_nth_child): ditto - (gtk_list_store_iter_nth_child): ditto - (gtk_list_store_iter_parent): ditto - - * gtk/gtktreestore.c (gtk_tree_store_get_path): g_return_if_fail - on iter->user_data != NULL instead of silently accepting it. - (gtk_tree_store_iter_next): ditto. Also, don't modify iter unless - we are returning TRUE. - (gtk_tree_store_iter_children): ditto - (gtk_tree_store_iter_nth_child): ditto - (gtk_tree_store_iter_parent): ditto - (gtk_tree_store_insert): remove handling of parent->user_data == - NULL, replace with parent == NULL - - * gtk/gtktreemodel.c (inserted_callback): put some fixes in here, - and a comment explaining things - - * gtk/gtktreestore.c: add GtkTreeDragSource/GtkTreeDragDest - interface support to GtkTreeStore. - - * gtk/gtktreemodel.c (gtk_tree_path_prev): didn't properly return - FALSE if no prev, fix - - * gtk/gtktreeview.c (set_source_row): use a row reference - (set_dest_row): use a row reference - -Sat Jan 27 15:52:02 2001 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix - stupid typo pointed out by Kristian Rietveld . - (gtk_tree_selection_select_iter): The same as above. - -2001-01-26 Havoc Pennington - - * gtk/gtktreemodel.c, gtk/gtktreemodel.h: add GtkTreeRowReference - which holds a handle to a specific row (particular set of values - in the model, i.e. pointer-identity row). - - * gtk/gtktreeview.c, gtk/gtktreeprivate.h, gtk/gtktreeselection.c: - use GtkTreeRowReference for anchor, cursor, and drag_dest_row. - Still need to use it for the src/dest row saved on the drag context. - -2001-01-26 Havoc Pennington - - * gtk/gtktextlayout.c (convert_color): adapt to handle PangoColor - - * gtk/gtktreeview.c (gtk_tree_view_widget_to_tree_coords): fix to - not offset by TREE_VIEW_HEADER_HEIGHT - (gtk_tree_view_tree_to_widget_coords): fix to not offset by - TREE_VIEW_HEADER_HEIGHT - - * configure.in (included_loaders): for me, --with-included-loaders - generates the error "the specified loader yes does not exist", - i.e. the arg defaults to "yes", so change test for value "" - to test for value "yes", and include all loaders in that case. - - * gtk/gtkrbtree.c (_gtk_rbtree_get_depth): new function - - * gtk/gtktreeview.c (gtk_tree_view_get_cell_rect): fix to properly - handle TREE_VIEW_VERTICAL_SEPARATOR - (gtk_tree_view_bin_expose): fix to consider the row offset as - pointing halfway into vertical separator. - (gtk_tree_view_draw_node_focus_rect): ditto - - * gtk/gtkdebug.h, gtk/gtkmain.c (gtk_init_check): Add - --gtk-debug=updates, which causes gdk_window_set_debug_updates - (TRUE) to be called. - - * gdk/gdkwindow.c (gdk_window_set_debug_updates): Allow enabling a - debug mode where the invalid region is colored in on invalidate, - so you can see the flicker and know whether your redraw code is - doing a good job. - - * gtk/gtktreeview.c (gtk_tree_view_queue_draw_node): Work in - tree window coordinates (clip rect is in tree window coords) - - * gtk/Makefile.am: add gtktreednd.[hc] - - * gtk/gtkliststore.c: implement gtktreednd interfaces. - - * gtk/gtktreednd.c, gtk/gtktreednd.h: New interface to support - drag-and-drop data operations on a model (so we can set up tree - drag-and-drop automatically) - - * gtk/testgtk.c: Add a window to change sensitivity in the - GtkLabel test; add a way to change the entry frame in GtkEntry - test - - * gtk/gtkentry.c (gtk_entry_set_has_frame): - (gtk_entry_get_has_frame): new functions to remove the frame - around an entry - (gtk_entry_size_request): shrink requisition if no frame - (gtk_entry_draw_focus): don't draw frame if no frame - - * gtk/gtkstyle.c (gtk_default_draw_check): draw custom look for - checks inside a cell renderer - (gtk_default_draw_option): ditto for options - - * gtk/gtktreeviewcolumn.c (update_button_contents): add/remove - children from the alignment, not the button - (gtk_tree_view_column_init): ref/sink the column, to emulate - GObject refcounting. - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_init): ref/sink - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - Use theme functions to draw the toggles - - * gdk/gdkpango.c (gdk_pango_get_gc): use GdkRGB to alloc colors - - * gdk/gdkpango.h, gdk/gdkpango.c: Add GdkPangoAttrStipple and - GdkPangoAttrEmbossed to use in rendering insensitive text - - * gdk/gdkpango.c (gdk_draw_layout_line): render new properties - - * gtk/gtkstyle.c (gtk_default_draw_layout): handle sensitivity - using new GDK features - -2001-01-24 Alexander Larsson - - * gtk/gtkimage.c: - Splitted gtk_image_clear into gtk_image_clear() and - gtk_image_reset(). Call gtk_image_clear() in ::destroy - to avoid leaks. - - * gtk/gtklabel.c (set_markup): - Don't leak text. - - * gtk/gtktextlayout.c: - Always free display->shaped_objects. - - * gtk/testgtk.c (create_clist): - Don't leak custom style. - -2001-01-23 Alexander Larsson - - * gtk/gtkcolorsel.c (grab_color_at_mouse): - Don't leak image. Simplify using gdk_colormap_query_color(). - (gtk_color_selection_init): Don't leak dropper_pixmap and mask. - - * linux-fb/gdkcolor-fb.c: - Implemented gdk_colormap_query_color. - -2001-01-23 Alexander Larsson - - * linux-fb/gdkcursor-fb.c: - Don't leak built-in cursors. - - * linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_polygon): - Don't leak tmp_points. - - * linux-fb/gdkfont-fb.c (gdk_font_from_description): - Don't modify desc. Don't leak font if the PangoFont - isn't found. - - * linux-fb/gdkgc-fb.c (gdk_fb_gc_finalize): - Free dash_list. - - * linux-fb/gdkkeyboard-fb.c (gdk_fb_handle_key): - Don't leak string. - -2001-01-20 Havoc Pennington - - * gtk/gtktexttag.h (enum GtkWrapMode): rename member fields - from GTK_WRAPMODE_WORD to GTK_WRAP_WORD, etc., seems nicer to - me, matches Pango - -2001-01-22 Havoc Pennington - - * demos/testanimation.c: fix to reflect gdk-pixbuf changes - - * demos/testpixbuf.c: fix to reflect gdk-pixbuf changes - - * gtk/gdk-pixbuf-loader.c, gtk/gdk-pixbuf-loader.h: - Remove, move back to gdk-pixbuf - - * gtk/gtktextiter.c, gtk/gtktextiter.h: add sentence equivalents - to all the word functions - - * gtk/gtktextview.c (gtk_text_view_start_cursor_blink): return - before doing anything on NULL layout or if we don't have the focus - - * gtk/testtext.c (fill_example_buffer): "justification" - - * gtk/gtktexttag.h, gtk/gtktexttag.c: change the tag attribute - to be called "justification" not "justify" - - * demos/gtk-demo/textview.c (create_tags): "justification" - - * gtk/gtktextlayout.c (set_para_values): Handle char-wise wrapping - -2001-01-22 Alexander Larsson - - * gdk/gdkwindow.c (gdk_window_invalidate_region): - Don't leak visible_region. Use visible_region instead of region. - - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): - Don't do extra gdk_drawable_ref(). This is not X. - (gdk_fb_window_find_focus, gdk_fb_change_focus): make sure - gdk_fb_focused_window is ref:ed. - (gdk_fb_window_send_crossing_events): Watch out for destroyed - windows. - -2001-01-22 Alexander Larsson - - * gtk/gtkwindow-decorate.c (gtk_decorated_window_realize): - Don't leak the PangoFontDescriptor. - -Sun Jan 21 09:58:00 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail - when not realized. - (gtk_tree_view_scroll_to_cell): Make work when not realized. - (gtk_tree_view_realize): add scroll_to support - (gtk_tree_view_finalize): add a finalize method. Populate. - (gtk_tree_view_insert_column): ref and sink the column. - (gtk_tree_view_append_column): ref and sink the column. - (gtk_tree_view_queue_draw_node): New function to handle redrawing - individual nodes. Should make the code much more efficient, if - actually used. - -2001-01-19 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): - byte_offset variable was being used to mean both "offset into - layout" and "offset into buffer line" which was no longer true - with addition of preedit string; fix - -2001-01-19 Havoc Pennington - - * demos/gtk-demo/main.c (button_press_event_cb): sync to tree changes - - * gtk/gtkrbtree.c (_gtk_rbtree_node_find_offset): fix this - function - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_widget): - implement - - * gtk/gtktreeview.c (gtk_tree_view_move_to): rename - scroll_to_cell, matches TextView scroll functions better - (gtk_tree_view_tree_to_widget_coords): new function - (gtk_tree_view_widget_to_tree_coords): new function - (gtk_tree_view_get_visible_rect): new function - (gtk_tree_view_get_path_at_pos): accept negative coordinates - (gtk_tree_view_draw_node_focus_rect): new function moved from - draw_focus, also, use width of bin_window as width of the focus - rect - (gtk_tree_view_expand_row): fix bug where it didn't recognize - already-expanded rows - (gtk_tree_view_get_cell_rect): new function - (gtk_tree_view_get_path_at_pos): return the click position - relative to the passed-in cell - (gtk_tree_view_set_expander_column): new function - - * configure.in: remove gtk-config-2.0 chmod - - * gtk/gtktextview.c (gtk_text_view_drag_motion): small cleanups, - and properly handle drags with targets we don't understand - (gtk_text_view_drag_end): don't stop scrolling, the source isn't - scrolling anyway - (gtk_text_view_drag_drop): stop scrolling here though, and set the - mark invisible - - * gtk/gtkdnd.c (gtk_drag_dest_find_target): export as a public - function - (gtk_drag_dest_get_target_list): new function - (gtk_drag_dest_set_target_list): new function - - * gtk/gtktreeview.c: Add a bunch of drag-and-drop implementation - - * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add fields - related to drag-and-drop - -2001-01-19 Alexander Larsson - - * gdk/linux-fb/gdkprivate-fb.h: - Define EMULATE_GDKFONT. - Add extra pango_font stuff to GfkFontPrivate. - - * gdk/linux-fb/gdkdrawable-fb2.c: - * gdk/linux-fb/gdkfont-fb.c: - If EMULATE_GDKFONT defined, implement a slow lame GdkFont - emulation using PangoFont. - -2001-01-17 Havoc Pennington - - * gtk/gtkprogressbar.c, gtk/gtkprogressbar.h: Add "getters" for - all the non-deprecated set_foo functions. Added missing object - properties, and added g_object_notify() to setters. - Wrote docs. - -2001-01-18 Tor Lillqvist - - * gtk/gtkmain.c - * gtk/gtkrc.c: (Win32) Use the new - g_win32_get_package_installation_(sub)directory() functions. - - * config.h.win32.in: New file. - - * config.h.win32: Removed. - - * configure.in: Output config.h.win32. - - * Makefile.am: Add it to EXTRA_DIST. - - * gtk/gtk.def: Update. - -Wed Jan 17 16:22:54 2001 Owen Taylor - - * gtk/gtklabel.c (gtk_label_size_request): Set the - attributes onto the PangoLayout even if they are newly - created from label->pattern. - -Tue Jan 9 11:20:48 2001 Owen Taylor - - * gdk/x11/gdkdnd-x11.c: Remove unused variable. - - * gtk/gtkdnd.c: Encapsulate storing and retrieving info - structures in functions. Fixes bug where gtk_dataset_* - was accidentally still being used in one place, causing - every dest side event to be treated independently. - - * gtk/gtkdnd.c: Remove last vestages of handling - ::draw (fixes warning) - - * gtk/gtkentry.[ch]: Add drag and drop support. - - * gtk/gtkdnd.[ch] gtk/gtktextview.c gtk/gtkentry.c: Add - new function gtk_check_drag_threshhold() for checking - to check if (dx,dy) has exceeded the threshhold for starting - a drag and use it everywhere. - -Mon Jan 8 11:58:05 2001 Owen Taylor - - * gtk+-2.0.pc.in gdk-pixbuf-2.0.pc.in (Cflags): Remove -I${includedir}, - add -I{includedir}/gtk-2.0. - - * gtk/gtktreeview.[ch] gtktreemodelsort.[ch] gtknotebook.c - gdk/gdk-pixbuf.h: Doc fixups. - - * gtk/gtkobject.h: Remove trailing , from enum - -2001-01-17 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_shadow_fb_draw_arc): - Doh! Mixed up x and y. - - * gdk/linux-fb/gdkglobals-fb.c: - Removed gdk_fb_pointer_grab_window_events, - added _gdk_fb_pointer_grab_owner_events and - _gdk_fb_keyboard_grab_owner_events. - - * gdk/linux-fb/gdkmain-fb.c (gdk_fb_pointer_grab): - Set all button mask if GDK_BUTTON_MOTION_MASK set. Send - crossing events before grabbing. Set _gdk_fb_pointer_grab_owner_events. - (gdk_fb_pointer_ungrab): Unset _gdk_fb_pointer_grab_owner_events - Send crossing events after ungrab finished. - (gdk_keyboard_grab): Set ..._owner_events - (type_masks): Move out of function. - (gdk_fb_other_event_window, gdk_fb_pointer_event_window, - gdk_fb_keyboard_event_window): New functions, return the - window an event should be targeted at. Handles grabs and - event propagation. Can return NULL. - (gdk_event_make): Remove event_mask checking. Now always - returns an event. - - * gdk/linux-fb/gdkkeyboard-fb.c: - * gdk/linux-fb/gdkproperty-fb.c: - * gdk/linux-fb/gdkselection-fb.c: - Use new event_window/gdk_event_make() behaviour. - - * gdk/linux-fb/gdkmouse-fb.c: - Use new event_window/gdk_event_make() behaviour. - Only send motion events if in the same window. - If grabbed, use cursor from window if sibling of grabbed - window, and cursor from grabbed window otherwise. - - * gdk/linux-fb/gdkprivate-fb.h: - Update gdk_fb_window_send_crossing_events, gdk_event_make - and grab varaible declarations. Add gdk_fb_*_event_window(). - - * gdk/linux-fb/gdkwindow-fb.c: - Use new event_window/gdk_event_make() behaviour. - Keep correct track of focus window. - (gdk_window_set_events): Set all specific button motion masks - if GDK_BUTTON_MOTION_MASK set. - - * gtk/gtkdnd.c (gtk_drag_update): - Free info->last_event if gdk_drag_motion returned FALSE. - -2001-01-16 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_show, gdk_window_hide): - Eliminate redraws when input-only windows are shown or - hidden. Thanks to jpe@archaeopteryx.com. - -Tue Jan 16 13:13:13 GMT 2001 Tony Gale - - * docs/faq/gtk-faq.sgml: FAQ update: - - Update to bugzilla - - Add GTK+ and security/SUID/SGID - - Add DnD question - -2001-01-16 Alexander Larsson - - * gdk/linux-fb/gdkdnd-fb.c: - Some cleanups. - -2001-01-15 Havoc Pennington - - * tests/testtreeview.c: add test stuff for CellRendererToggle - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_model): add this - accessor - - * gtk/gtkcellrenderertoggle.c: distinguish different event types, - only toggle on button press (would do release like GtkButton, but - we'd need implicit grab code for treeview cells) - -2001-01-16 Tor Lillqvist - - * gdk/win32/gdkvisual-win32.c: Include for getenv(). - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't use - GDK_COLORMAP_PRIVATE_DATA on a potentially NULL GdkColormap. - - * gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Adapt calls - to g_{locale,filename}_{to,from}_utf8 to match current API. - - * gtk/makefile.msc.in (gtk_OBJECTS) - * gtk/makefile.mingw.in (gtk_OBJECTS): Add gtkwindow-decorate. - - * gtk/gtk.def: Update. - -2001-01-15 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (synthesize_crossing_events): New - implementaion that more closely mimics the events that an X server - would generate. Especially, properly generate GDK_NOTIFY_VIRTUAL and - GDK_NOTIFY_NONLINEAR_VIRTUAL crossing events. This makes buttons - with nested preview widgets, for instance, more responsive when - you move the mouse quickly into them. - (find_window_for_pointer_event): Make it actually compile. - (gdk_event_translate): Set send_event to the value of - InSendMessage (). This doesn't really mean the same as X11's - send_event flag, but is close enough, says jpe@archaeopteryx.com - -2001-01-15 Alexander Larsson - - * gdk/linux-fb/gdkdnd-fb.c: - Implemented drag and drop. - Seems to be mostly working. I sometimes get an assert from gtkdnd.c:2664 - when it tries to free and then copy the same event (info->last_event). - I am not sure about why this happens, but will continue looking. - -2001-01-15 Alexander Larsson - - * gdk/linux-fb/gdkwindow-fb.c: - Use gdk_window_invalidate_rect instead of - gdk_window_invalidate_rect_clear to minimise flashing. - When hiding windows you need to clear the root window though. - -2001-01-15 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c: - For optization, add an full_shapes argument to gdk_fb_clip_region. - If this is false, only the cliprects of the shapes are used. - - * gdk/linux-fb/gdkprivate-fb.h: - Export gdk_fb_window_peek_shape. - Add full_shapes to gdk_fb_clip_region. - - * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize): - When moving a window, don't clear everything under the it, just the - root window. Makes stuff faster and flash less. - (gdk_window_get_pointer): Correctly handle offseted shapes, due to - USE_CHILD_SHAPE. (gdk_fb_window_peek_shape): Return the correct - offset of the shape. - - -2001-01-12 Havoc Pennington - - * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): offset the - current invalid region, fixes redraw bug while scrolling the - text widget - - * gtk/gtktextview.c, gtk/gtktextview.h: - Rearrange the scrolling/validation/etc. code in a major way, - so it seems to make sense to me. Probably isn't genuinely that - much better, but... - - * gtk/gtktexttag.c (set_fg_color): fix name of property used for - notifies - - * gtk/gtktextmark.c (gtk_text_mark_get_left_gravity): new function - -2001-01-12 Alexander Larsson - - * gdk/linux-fb/gdkmain-fb.c (gdk_fb_set_rotation): - Hide mouse pointer while rotation. Show it afterwards. - -2001-01-12 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_clip_region): Take shaped - windows in consideration when generating clip region. - - * gdk/linux-fb/gdkfb.h: - Huge HACK. Added GDK_FB_USE_CHILD_SHAPE. - - * gdk/linux-fb/gdkprivate-fb.h: - Add shape to GdkWindowFBDatat. - exported gdk_fb_window_get_abs_shape(). - removed gdk_fb_draw_lines declaration. - - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_impl_fb_init): - Init shape to NULL. (gdk_fb_window_send_crossing_events): Don't - send focus changes when there is a grabbed window. - (gdk_window_get_pointer): Handle shaped windows. - (gdk_fb_region_create_from_bitmap): Convert bitmap to region. - (gdk_fb_window_peek_shape): Returns the shape for a window, - handles GDK_FB_USE_CHILD_SHAPE. - (gdk_fb_window_get_abs_shape): Returns the shape of the window, - offseted to absolute positions. Handles GDK_FB_USE_CHILD_SHAPE. - (gdk_window_shape_combine_mask): Implement. - - * gtk/gtkwindow-decorate.c: - HACK! Set GDK_FB_USE_CHILD_SHAPE on window->frame to make sure - setting the shape of a window makes the window transparent. - -2001-01-11 Havoc Pennington - - * gtk/gtktreemodelsimple.h: Oops, broke some macros - -2001-01-10 Havoc Pennington - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear_attributes): - add this function, bug 40251 - - * gtk/gtktreemodelsimple.h (GTK_TYPE_TREE_MODEL_SIMPLE): fix name - of type macro - -2001-01-11 Alexander Larsson - - * acconfig.h: - Added ENABLE_SHADOW_FB - - * configure.in: - Added --disable-shadowfb - - * gdk/linux-fb/gdkcursor-fb.c: - Update shadowfb when updating cursor - - * gdk/linux-fb/gdkdrawable-fb2.c: - Added wrappers for shadowfb that calls the normal drawable - methods, but calls gdk_shadow_fb_update(bounding box) when - GdkWindows are drawed to. - Moved gdk_draw_glyphs implementation to _gdk_draw_glyphs - which also returns the bounding box. - - * gdk/linux-fb/gdkfb.h: - Added GdkFBAngle type and gdk_fb_set_rotation declaration. - - * gdk/linux-fb/gdkgeometry-fb.c: - Update shadowfb when scrolling window. - - * gdk/linux-fb/gdkglobals-fb.c: - Add _gdk_fb_screen_angle. - - * gdk/linux-fb/gdkkeyboard-fb.c: - Test code for screen rotation. Shift-F2 in the xlate driver - rotates the screen. - - * gdk/linux-fb/gdkmain-fb.c: - Handle shadowfb. Add gdk_fb_set_rotation(). Remove CM and RP. - - * gdk/linux-fb/gdkmouse-fb.c: - Use fb_width/height instead of modeinfo.xres/yres. - - * gdk/linux-fb/gdkprivate-fb.h: - Added fb_men, fb_width, fb_height & fb_stride. When using - shadow fb these can differ from the framebuffer stuff. - Declarations for gdk_shadow_fb_update, gdk_shadow_fb_init, - gdk_shadow_fb_stop_updates, gdk_fb_recompute_all, - _gdk_fb_screen_angle. Removed CM, RP. - - * gdk/linux-fb/gdkrender-fb.c: - Added code for shadowfb handling and screen rotation using - shadowfb. - - * gdk/linux-fb/gdkwindow-fb.c: - Use fb_mem, fb_stride, fb_width, fb_height. - Added recompute_rowstride to reset the rowstride of all windows. - Added gdk_fb_recompute_all() which recomputes rootwindow size, - window abs positions and window rowstrides. Useful when the - rotation has changed. - -Thu Jan 11 13:16:50 GMT 2001 Tony Gale - - * docs/faq/gtk-faq.sgml: update to make web site updating easier - -2001-01-10 Havoc Pennington - - * gtk/gtktreestore.c (gtk_tree_store_insert_before): handle case - where sibling == iter - (gtk_tree_store_insert_after): handle sibling == iter - (gtk_tree_store_prepend): remove stamp checks - (gtk_tree_store_insert_before): ditto - (gtk_tree_store_append): ditto - (gtk_tree_store_get_path): ditto - (gtk_tree_store_get_value): ditto - (gtk_tree_store_iter_has_child): ditto - (gtk_tree_store_iter_n_children): ditto - (gtk_tree_store_iter_nth_child): ditto - (gtk_tree_store_insert_after): ditto - (gtk_tree_store_is_ancestor): ditto - (gtk_tree_store_iter_depth): ditto - (gtk_tree_store_insert_before): assert that sibling's parent is - the same as the passed-in parent - (gtk_tree_store_insert_after): assert that sibling's parent is - the same as the passed-in parent - - - * gtk/gtktreemodel.c (gtk_tree_model_get_first): new convenience - function to get the first iterator in a model - - * gtk/gtktreestore.c (gtk_tree_store_get_root_iter): remove, - conventionally the "root" in this sense is just NULL afaict. - - * gtk/gtkliststore.c (gtk_list_store_insert_before): handle case - where sibling == iter - (gtk_list_store_insert_after): handle case where sibling == iter - - * tests/testtreeview.c (run_automated_tests): fairly lame basic - automated tests for ListStore, TreeStore - - * gtk/gtkliststore.c (gtk_list_store_remove): update tail pointer - (gtk_list_store_insert): update tail pointer, and fix it to work - (gtk_list_store_insert_before): update tail pointer, and fix it to work - (gtk_list_store_append): use tail to be faster - (gtk_list_store_prepend): fix it, update tail pointer - (gtk_list_store_insert_after): fix it, update tail pointer - - * gtk/gtkliststore.h (struct _GtkListStore): add tail pointer for - the list - -2001-01-09 Havoc Pennington - - * gtk/gtklabel.c (gtk_label_expose): don't draw if label->layout - is NULL due to a pending resize - - * gtk/gtktreeview.c (gtk_tree_view_check_dirty): don't set the - column width to values less than 1 - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_width): clamp - width to be between min/max width, and still set the width - even if autosize is turned on, so the tree view can use this - function in order to autosize. - (gtk_tree_view_column_init): set initial width to 1 not 0 - - * gtk/gtktreeview.c (gtk_tree_view_size_request_buttons): use - setter function to modify column width, so we get notification - (gtk_tree_view_insert_iter_height): ditto - (gtk_tree_view_calc_size): ditto - (gtk_tree_view_check_dirty): ditto - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add - properties to change all the interesting attributes of the tree - view column. - (gtk_tree_view_column_set_header_clickable): rename set_clickable - (gtk_tree_view_column_get_clickable): add - (gtk_tree_view_column_set_cell_renderer): don't unset the current - attributes; assume a cell renderer with equivalent object - properties has been swapped in. Do g_object_notify(). - (gtk_tree_view_column_set_visible): g_object_notify - (gtk_tree_view_column_get_sizing): rename from get_col_type - (gtk_tree_view_column_set_sizing): g_object_notify - (gtk_tree_view_column_set_width): add g_object_notify - (gtk_tree_view_column_set_min_width): ditto - (gtk_tree_view_column_set_max_width): ditto - (gtk_tree_view_column_set_title): ditto - (gtk_tree_view_column_set_clickable): ditto - (gtk_tree_view_column_set_widget): ditto - (gtk_tree_view_column_set_justification): ditto - -2001-01-09 Havoc Pennington - - * gtk/gtktreeview.c (gtk_tree_view_check_dirty): handle case where - there are no rows in the model - - * gtk/gtkliststore.c (gtk_list_store_iter_children): if parent is - NULL, then return the start of the list - - * gtk/gtktreeview.c (gtk_tree_view_setup_model): don't build tree - if we can't get any rows from an empty model - - * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): remove - extraneous * after function pointer typedef usage - - * Makefile.am: don't specify full path to cp and rm - - * gtk/gtkcellrenderertextpixbuf.c - (gtk_cell_renderer_text_pixbuf_get_size): check width/height != - NULL before dereferencing, fixes a segfault that happened from - time to time - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): - use gdk_pixbuf_render_to_drawable_alpha() to get alpha channel, - and reindent the function - (gtk_cell_renderer_pixbuf_get_size): indentation - - * gtk/gtkdialog.c (gtk_dialog_run): destroy main loop only after - we quit it - (gtk_dialog_add_buttons_valist): add g_return_if_fail - (gtk_dialog_set_default_response): New function, to set default - button - (gtk_dialog_set_response_sensitive): New function, to set - sensitivity of buttons - - * gtk/gtkcellrendererpixbuf.c - (gtk_cell_renderer_pixbuf_get_property): allow getting a NULL pixbuf - (gtk_cell_renderer_pixbuf_set_property): allow setting a NULL pixbuf - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value): - handle any G_TYPE_OBJECT subclass, not just the base class, and - also boxed types. - (_gtk_tree_data_list_value_to_node): ditto - - * gtk/gtkrbtree.c: Run _gtk_rbtree_test at strategic points if - --gtk-debug=tree - - * gtk/gtkmain.c: add GTK_DEBUG_TREE - - * gtk/gtkdebug.h: add GTK_DEBUG_TREE - -2001-01-09 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c: Implement better mouse - capturing. Do use SetCapture(). Thanks to jpe@archaeopteryx.com. - (find_window_for_pointer_event): New function. - (gdk_event_translate): Use it when handling mouse events. - -2001-01-09 Alexander Larsson - - * configure.in: - Added --with-included-loaders option - - * gdk-pixbuf/Makefile.am: - * gdk-pixbuf/gdk-pixbuf-io.c: - Add support for including selected gdk-pixbuf loaders only. - - * gtk/gtkwindow.c (gtk_window_set_frame_dimensions, - gtk_window_set_has_frame): - Added inline documentation. - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations): - * docs/reference/gdk/tmpl/windows.sgml: - Added inline documentation. - -Mon Jan 8 14:42:06 2001 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_realize_buttons): Skip - realizing buttons that have already been realized. - -Mon Jan 8 14:06:29 2001 Jonathan Blandford - - * tests/testtreeview.c (main): Show menu items before adding to - option menu. - - * gtk/gtktreeview.c (gtk_tree_view_set_model): Keep the columns - around if we kill them. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data): - Return if we pass in a NULL model. - -2001-01-08 Havoc Pennington - - * tests/testtreeview.c: hack on this some - - * gtk/gtktreestore.c (gtk_tree_store_setv): rename - gtk_tree_store_set_valist, v is for arrays, valist for varargs - list - (gtk_tree_store_getv): rename gtk_tree_store_get_valist - - * gtk/gtkliststore.h: Add varargs set() and get() convenience - functions - -2001-01-08 Alexander Larsson - - * gtk/gtkwindow-decorate.[hc]: - * gtk/Makefile.am: - New files. Contains an implementation of a minimal WM for - linux-fb. - - * gtk/gtkwindow.h: - Add the possibility for GtkWindows to specify a frame. This - is used for the window decoration code, but could concievably - be used for X programs too (xmms style windows). - GtkWindow->frame is the toplevel window if the window is framed. - The signal frame_event gets all events that are targeted to - GtkWindow->frame. - (_gtk_window_constrain_size): Exported for usage by gtkwindow-decorate.c. - - * gtk/gtkwindow.c: - Implement gtk_window_set_has_frame and gtk_window_set_frame_dimensions. - Call out to gtkwindow-decorate.c for WM support in linx-fb. - -2001-01-08 Alexander Larsson - - * docs/README.linux-fb: - Correct filename ~/.pangoft2_aliases - - * gdk/gdkwindow.h: - Added new function gdk_window_get_decorations. - - * gdk/linux-fb/gdkfb.h: - Removed _gdk_window_get_decorations declaration. - Renamed _gdk_window_set_child_handler to - gdk_fb_window_set_child_handler. - - * gdk/linux-fb/gdkwindow-fb.c: - Renamed _gdk_window_set_child_handler to - gdk_fb_window_set_child_handler. - - * gdk/x11/gdkwindow-x11.c: - New function gdk_window_get_mwm_hints(). - Implemented gdk_window_get_decorations. - - * docs/reference/gdk/tmpl/windows.sgml: - * docs/reference/gdk/gdk-sections.txt: - Added gdk_window_get_decorations docs. - -2001-01-08 Alexander Larsson - - * gdk/linux-fb/gdkwindow-fb.c (_gdk_fb_window_find_focus, - gdk_fb_window_find_focus, gdk_fb_send_focus_change, - gdk_fb_window_send_crossing_events): - Possibly send focus events when the mouse moves from one - window to another. - -2001-01-07 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_title, - gdk_window_new): Adapt calls to g_{locale,filename}_{to,from}_utf8 - to match current API. - - * gdk/win32/gdkvisual-win32.c (gdk_visual_init): If a secret - environment variable is set, don't call g_error when on a - palettized (PseudoColor) display. Some people want to use GTK+ - in 256-colour mode even though works only partially. - - * gdk/gdk.def - * gtk/gtk.def - * gtk/makefile.mingw.in: Update. - -2001-01-05 Havoc Pennington - - * tests/testtreeview.c: hack on this a bit - - * gtk/gtktextlayout.c (gtk_text_layout_class_init): - s/GTK_RUN_LAST/G_SIGNAL_RUN_LAST - - * gtk/gtktreemodelsimple.h (GTK_IS_TREE_MODEL_SIMPLE_CLASS): - was spelled incorrectly - (GTK_IS_TREE_MODEL_SIMPLE): ditto - - * gtk/gtktreeview.c (gtk_tree_view_set_headers_clickable): rename - from gtk_tree_view_set_headers_active - - * gtk/gtktexttag.c: - (gtk_text_tag_get_property): handle PROP_DIRECTION - (gtk_text_tag_set_property): g_object_notify when we toggle the _set - properties, bug 40235 - - * gtk/gtktextiter.c (gtk_text_iter_forward_to_delimiters): rename - forward_to_line_end - -Fri Jan 5 16:16:29 2001 Owen Taylor - - * gtk/{gtkcalender.c,gtkfilesel.c,gtkimcontext.c}, - modules/input/gtkimcontextxim.c: Adapt to new prototypes - for unicode,locale,filename conversion functions. - -2001-01-05 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_ends_line): this function was - broken if called on the first position in the buffer. - - * gtk/gtktextlayout.c (line_display_index_to_iter): fix - forward_to_delimiters to be called only if we aren't already at - the delimiters. - -2001-01-05 Havoc Pennington - - * demos/gtk-demo/main.c (create_tree): Oops, that didn't link. Fix. - -2001-01-05 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_drawable_finalize): free - colormap in here. Sync from X port. - (gdk_fb_set_colormap): allow the colormap to be NULL if you like. - Sync from X port. - (gdk_fb_clip_region): Comment out g_warning about empty clip region. - This happens now and then, and i don't think it is a bug. - (gdk_fb_draw_polygon): Correctly add extra point if startpoint - != endpoint. - (gdk_fb_draw_lines): Don't draw dashed lines if line_style is - GDK_LINE_SOLID. - - * gdk/linux-fb/gdkfont-fb.c: Return bogus GdkFont that has - some of the fields filled in at least. - - * gdk/linux-fb/miwideline.c: The widths argument to miLineArcI, and - miLineArcD is no more, remove it from the function definition. - -2001-01-04 Havoc Pennington - - * gtk/gtktreeselection.c (gtk_tree_selection_get_tree_view): add - this - - * gtk/gtktreemodel.h (struct _GtkTreeIter): rename fields to - user_data instead of tree_node - - * gtk/gtktreeprivate.h (TREE_VIEW_COLUMN_WIDTH): rename from - TREE_VIEW_COLUMN_SIZE - - * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): rename - "size" field to "width" finishes bug 40061 - - * gtk/gtkcellrenderer.h: Use GtkCellRendererState instead of guint - for bitfields, bug 40268 - -2001-01-04 Havoc Pennington - - Rename some stuff: - - s/gtk_tree_view_column_set_size/gtk_tree_view_column_set_width/g; - - s/GtkModelSimple/GtkTreeModelSimple/g; - s/GTK_MODEL_SIMPLE/GTK_TREE_MODEL_SIMPLE/g; - s/gtk_model_simple/gtk_tree_model_simple/g; - s/gtkmodelsimple/gtktreemodelsimple/g; - - s/gtk_tree_view_column_set_header_active/gtk_tree_view_column_set_header_clickable/g; - - s/GtkTreeViewColumnType/GtkTreeViewColumnSizing/g; - s/column_set_col_type/column_set_sizing/g; - - s/GtkTreeSelectionType/GtkTreeSelectionMode/g; - s/gtk_tree_selection_set_type/gtk_tree_selection_set_mode/g; - - s/GtkCellRendererType/GtkCellRendererState/g; - - * gtk/gtkcellrenderertoggle.c: remove _ macro, include gtkintl.h - (gtk_cell_renderer_toggle_class_init): change "state" property to - "active", to match GtkToggleButton - (gtk_cell_renderer_toggle_get_active): new function, bug - 40269 - (gtk_cell_renderer_toggle_set_active): new function - (gtk_cell_renderer_toggle_set_property): route changes to toggle - state through gtk_cell_renderer_set_active - -Thu Jan 4 15:46:18 2001 Jonathan Blandford - - * gtk/gtkmodelsimple.c: Changed a bunch of boxed types to pointers - temporarily until they work again. Brought up to date with - changes in the model. - * gtk/gtkmodelsimple.h: Brought up to date with changes in the - model. - -2001-01-04 Havoc Pennington - - * gtk/gtktextlayout.c (line_display_index_to_iter): if index is - equal to the line length, then position iterator before paragraph - separators. Fixes crash reported by Mikael Hermansson when - pressing left arrow from the start of a line. - - * gtk/gtktextiter.c (iter_set_from_byte_offset): Add g_error - about byte indexes off the end - (iter_set_from_char_offset): add g_error about char offsets - off the end - -2001-01-03 Havoc Pennington - - * gtk/gtktextbtree.c: Adapt to uscore-ification of gtktextiterprivate - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): remove use - of private functions; remove inclusion of private headers. - - * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_line): Add this - function, so we don't need private functions in gtktextdisplay.c - - * gtk/gtktextiterprivate.h: underscore-ification - - * gtk/gtkwidget.c: Clean up a bunch of docs that said "INTERNAL" - to instead say "only useful to implement widgets" - - * gtk/gtkenums.h (GtkMovementStep): Rename GTK_MOVEMENT_CHARS, - GTK_MOVEMENT_POSITIONS to GTK_MOVEMENT_LOGICAL_POSITIONS, - GTK_MOVEMENT_VISUAL_POSITIONS. Resolves bug 40249. - - * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_set_colormap): - This function was completely broken - - * gtk/testtext.c (line_numbers_expose): use gtk_paint_layout - - * gtk/gtkvscale.c (gtk_vscale_draw_value): use gtk_paint_layout - - * gtk/gtkvruler.c (gtk_vruler_draw_ticks): use gtk_paint_layout - - * gtk/gtklabel.c (gtk_label_expose): use gtk_paint_layout - - * gtk/gtkhscale.c (gtk_hscale_draw_value): use gtk_paint_layout - - * gtk/gtkhruler.c (gtk_hruler_draw_ticks): use gtk_paint_layout - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): use - gtk_paint_layout - - * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): use - gtk_paint_layout - - * gtk/gtkstyle.h: Add draw/paint expander to draw tree expanders. - Progress on bug 40103. Add draw_layout to draw a PangoLayout. - (struct _GtkStyleClass): Remove draw_cross, draw_oval, draw_ramp, - which were not implemented. - - * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): Add - insert_pixbuf signal. Rename delete_text to delete_range since it - also deletes pixbufs and child anchors. This almost closes bug - 40245 (still need to deal with child anchors) - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add - insert_pixbuf, change signal names as appropriate, change types of - signals taking marks/tags to have the specific type, not just - G_TYPE_OBJECT - - * gtk/gtkmain.c (gtk_get_current_event_state): Add this function; - closes bug 40051 - - * gtk/gtkoptionmenu.c (gtk_option_menu_set_history): clean up - unnecessary remove_contents() call - (gtk_option_menu_class_init): add a "changed" signal, closes - bug 40039 - (gtk_option_menu_update_contents): emit "changed" if the - active menu item changes - - * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): fix bad - cast to GtkObject, reported by Jonas Borgstrom - (gdk_pixbuf_loader_finalize): don't close the loader on finalize; - we can't do stuff with side effects in finalize. Instead, spew a - warning if the loader isn't closed. - - * gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_finalize): free - colormap in here, non-X ports probably need to sync to this change - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_set_colormap): remove - assertion that colormap != NULL, you can set the colormap to NULL - if you like. - - * Makefile.am: remove gtk-config-2.0 - - * configure.in: Use pkg-config to locate GLib. Remove - separated-out GMODULE_LIBS, GMODULE_CFLAGS; these were not used, - and the gmodule libs/cflags were in GLIB_LIBS GLIB_CFLAGS anyhow. - Use pkg-config to locate Pango. Output correct Pango libs to - gdk-2.0.pc.in. Fix test for FREETYPE_CONFIG (typo fix). - - * Makefile.am (pkgconfig_DATA): install only target-specific pc - files - (install-data-local): symlink gtk+-2.0.pc and gdk-2.0.pc to the - X11 pc files - - * gtk+-2.0.pc.in (Requires): require the GDK for the current target - unref from here - -2001-01-03 Alexander Larsson - - * configure.in: - Change GTK_NO_CHECK_CASTS to G_DISABLE_CAST_CHECKS. - -Tue Jan 2 16:23:05 2001 Owen Taylor - - * gtk/gtktextlayout.c - (gtk_text_layout_move_iter_to_previous_line): Fix unitialized - variable when moving back onto a single line. - -2001-01-01 Havoc Pennington - - * gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@ - - * gdk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@ - - * configure.in (LIBTOOL_EXPORT_OPTIONS): define - LIBTOOL_EXPORT_OPTIONS with options to control symbol export - -2001-01-01 Havoc Pennington - - * gtk/gtktexttagprivate.h: uscore-prepend all the stuff in here. - - * gtk/gtk-boxed.defs (GtkTextAttributes): Add boxed type for - GtkTextAttributes - - * gtk/gtktexttag.c: Fix up GtkTextAttributes copying to close bug - #40246 - (gtk_text_attributes_copy_values): rename from - gtk_text_attributes_copy - (gtk_text_attributes_copy): a more standard GTK copy function, - which returns a new object - -2001-01-01 Havoc Pennington - - * gtk/gtktreeview.c: Adapt to GtkTreeSelection changes - - * gtk/gtktreeselection.c (_gtk_tree_selection_set_tree_view): - don't fill in tree_view->priv->selection, kind of an unexpected - side effect - - * gtk/gtkcellrenderertext.c: Remove definition of _ and include - gtkintl.h - - * gtk/gtkcellrenderer.c: Remove definition of _ and include - gtkintl.h - (gtk_cell_renderer_get_property): remove calls to g_value_init - - * gtk/gtkcellrendererpixbuf.c: Remove definition of _ and include - gtkintl.h - - * gtk/gtkcellrenderertextpixbuf.c: Remove definition of _ macro - and include gtkintl.h - (gtk_cell_renderer_text_pixbuf_class_init): remove spaces from - property names - - * gtk/gtktreeselection.c (_gtk_tree_selection_new): rename, return - GtkTreeSelection - (_gtk_tree_selection_new_from_with_view): rename, return - GtkTreeSelection - (_gtk_tree_selection_set_tree_view): rename with uscore - (gtk_tree_selection_get_selected): fill in the "model" out param - first, so it gets filled in even if we return at the top of the - function - (gtk_tree_selection_real_select_all): add a comment and an else{} - to clarify this a bit - (gtk_tree_selection_real_unselect_all): add the same else{} - - * gtk/gtktreeselection.h: Rename new, new_with_tree_view, and - set_tree_view to have underscore prefixes, move them to the - private header, fix return type of new_with_tree_view - (struct _GtkTreeSelection): mark struct - fields private - - * gtk/gtktreemodel.c (gtk_tree_model_get_flags): return - GtkTreeModelFlags, not a guint - (gtk_tree_path_prev): return gboolean not gint - (gtk_tree_path_up): return gboolean not gint - - * gtk/gtktreemodel.h (struct _GtkTreeModelIface): make get_flags - return GtkTreeModelFlags, not a guint - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize): check - that child model is non-null before unrefing it - (g_value_int_compare_func): make this a qsort compare func, not - a boolean predicate - - * gtk/gtktreemodelsort.h: rename gtk_tree_model_set_sort_column, - (add -umn to the end), and mark it unimplemented - (gtk_tree_model_sort_resort): remove, this wasn't implemented, and - I don't see what it's for - doesn't the model always sort itself? - (gtk_tree_model_sort_set_compare): this had the wrong signature - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_attributes): - Fix the docs to say that it destructively replaces existing - attributes (previously said that it added attributes). - (gtk_tree_view_column_set_visible): canonicalize bool before - equality testing. Also, check for realization before - hiding/showing the tree_column->window; if this window could exist - before realization, then it's busted and needs fixing, we can't - create GDK resources pre-realization. Also, remove - superfluous queue_resize(), since set_size() does that for us. - (gtk_tree_view_column_set_col_type): check realization before - using tree_column->window - - * gtk/gtktreedatalist.c: fix filename in copyright notice - -2000-12-31 Havoc Pennington - - * gtk/gtktextview.c: Rearrange all the - scroll-while-dragging-or-selecting code to be different, not - necessarily better. ;-) - (gtk_text_view_scroll_to_mark): Change this - function to take within_margin as a fraction instead of a pixel - value, and to take alignment arguments (indicating where to align - the mark inside the visible area) - - * gtk/testtextbuffer.c (fill_buffer): fix bad cast of GtkTextTag - to GtkObject - - * gtk/gtktextiter.c (gtk_text_iter_set_line_offset): change - behavior so that offsets past the end of the line are not - allowed, and an offset equal to the line length moves the iterator - to the next line - (gtk_text_iter_set_line_index): make parallel change - (gtk_text_iter_get_bytes_in_line): add this function - - * gtk/gtktextbtree.c (_gtk_text_line_byte_locate): change handling - of byte indexes off the end of the line; byte index at the end of - the line now returns FALSE and doesn't fill in the requested - values, byte index past the end of the line is an error. Also, - don't allow -1 offset anymore, since its meaning is unclear. - - This change exposes some bug in visual cursor motion, where we - end up with a huge invalid byte index; needs fixing. Symptom of - bug is a crash when you hit up arrow. - - (_gtk_text_line_char_locate): match the change to byte_locate - - * gtk/gtktextiter.c (find_by_log_attrs): Handle iteration backward - from start of line properly. fixes bug reported by Mikael - Hermansson where backspace would delete all text before the - cursor. - -2000-12-30 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c - (gdk_window_impl_win32_get_visible_region): New function, as in - the X11 backend. - (gdk_window_new, gdk_window_set_title): Use g_locale_from_utf8() - instead of duplicating the same code here. - - * gdk/win32/gdkwin32.h (GDK_COLORMAP_PRIVATE_DATA): Use - GDK_COLORMAP macro. - - * gdk/win32/gdkevents-win32.c (gdk_event_funcs): Use NULL as - destroy function. - (gdk_event_translate): Use GDK_COLORMAP_PRIVATE_DATA to correctly - access that. - - * gtk/gtk.def: Update. - - * gtk/makefile.mingw.in: Use glib-genmarshal from $(GLIB)/gobject. - -2000-12-30 Havoc Pennington - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system - colormap on input only windows, to avoid special cases all over - the code for these windows. - -2000-12-26 Tor Lillqvist - - * gdk/win32/gdkvisual-win32.c (gdk_visual_init): Call g_error if - we are on a palettized display ("PseudoColor" in X11), as the code - for that doesn't work anyway, and never has. - -2000-12-22 Alexander Larsson - - * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io): - Don't use isprint() for chars > 255. - -2000-12-21 Havoc Pennington - - * tests/testtreeview.c: more work - -2000-12-21 Alexander Larsson - - * docs/README.linux-fb: - Update the docs to the new pangoft2 way. - -2000-12-21 Alexander Larsson - - * configure.in: - For linux-fb get the pangoft2 cflags and libs. This needs a recent - pango version. - Remove modules/linux-fb/Makefile. - - * gdk/linux-fb/gdkdrawable-fb2.c: - Render glyphs using freetype. - - * gdk/linux-fb/gdkfb.h: - Add new fb-specific functions needed for managing windows. - - * gdk/linux-fb/gdkmain-fb.c: - Remove gdk_font_init/fini() calls. - - * gdk/linux-fb/gdkpango-fb.c: - Remove old implementation. Use pangoft2 instead. - - * gdk/linux-fb/gdkprivate-fb.h: - Remove PangoFBFont and related stuff. - - * gdk/linux-fb/gdkwindow-fb.c: - Implement drawable->get_visible_region. - Implement support for _gdk_window_set_child_handler () and - _gdk_window_get_decorations(). - - * modules/Makefile.am: - Remove linux-fb subdir. - - * modules/linux-fb/*: - Removed all. - -2000-12-20 Jonathan Blandford - - * gtk/gtkcellrenderer*.c (::get_property): remove g_value_init - calls, as they are no longer needed. - - * gtk/gtktreemodelsort.c: Fix up the comparison code. - - * gtk/gtktreemodel.h: Start work on ::reordered signal. Need to - figure out how to emit a signal on an interface. - -2000-12-20 Havoc Pennington - - * tests: new directory to contain tests, gtk/test* should move - here sometime (with appropriate on-cvs-server hackery) - - * tests/testtreeview.c, tests/Makefile.am: a test - - * configure.in (AC_OUTPUT): add tests/Makefile - - * gtk/gtktexttag.c (gtk_text_tag_get_property): Add "invisible" - and "invisible_set" which were missing - - * gtk/gtkrbtree.h: some cheesy indentation fix - -2000-12-20 Alexander Larsson - - * gtk/gtkinvisible.c (gtk_invisible_realize): - Attach the style to the window so that the style it is not - leaked when unrealizing the window. - -2000-12-18 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do - begin/end user action where appropriate - (gtk_text_view_commit_handler): add begin/end user action - - * gtk/gtktextbuffer.c: add begin/end user action signals, and - bracket interactive operations with begin/end user action pair. - - * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): remove - "interactive" arg from insert_text and delete_text signals. - Add begin_user_action, end_user_action signals - (gtk_text_buffer_begin_user_action): - (gtk_text_buffer_end_user_action): New functions to delimit - a user-visible action - - * gtk/gtkmarshal.list: update to reflect changes to gtktextbuffer - signals. - -2000-12-18 Havoc Pennington - - * gdk/gdkevents.c (gdk_event_get_state): wow, that implementation - was pretty non-working. - - * gtk/testtext.c (fill_file_buffer): make this a bit more robust - by passing the length to g_utf8_validate(). - -2000-12-16 Havoc Pennington - - * gtk/gdk-pixbuf-loader.h, gtk/gdk-pixbuf-loader.c: - Port to GObject, can go back in gdk-pixbuf after setting up - a gdk-pixbuf-marshal.h header over there. - - * gtk/gtktreeview.c: s/SEPERATOR/SEPARATOR/g; - (gtk_tree_view_class_init): specify GTK_TYPE_ADJUSTMENT for signal - args - (gtk_tree_view_init): don't unset GTK_NO_WINDOW, it shouldn't be - set - (gtk_tree_view_realize_buttons): don't gtk_widget_show() buttons - here, do it when we create the buttons later - (gtk_tree_view_realize_buttons): add some g_return_if_fail - (gtk_tree_view_map): paranoia checks that column->button is shown - and unmapped - (gtk_tree_view_size_request): only request visible children. - Move header size calculation in here, for cleanliness, and - to maintain invariants for child widgets if we eventually - let users set different children inside the buttons - (gtk_tree_view_map_buttons): factor out code to map buttons, - since it was being called several times - (gtk_tree_view_size_allocate_buttons): move_resize the drag - windows instead of just moving them; their height may change - if we allow random widgets in there, or the theme changes. - (gtk_tree_view_size_allocate): move button size allocation - above emitting the scroll signals, to ensure a sane state when we - hit user code - (gtk_tree_view_button_release): remove queue_resize after - tree_view_set_size(), set_size() will handle any resize queuing - that's needed - (gtk_tree_view_focus_in): just queue a draw, don't fool with - draw_focus goo - (gtk_tree_view_focus): use gtk_get_current_event() and - gdk_event_get_state() - (gtk_tree_view_deleted): don't queue_resize() after calling set_size() - (gtk_tree_view_build_tree): fix a "if (foo); {}" bug - i.e. remove - semicolon - (gtk_tree_view_create_button): show the button here - (gtk_tree_view_button_clicked): actually emit the clicked signal - on the column - (_gtk_tree_view_set_size): return right away if the size is - unchanged, as a cheesy optimization - (gtk_tree_view_setup_model): rename set_model_realized to - setup_model to match the flag that indicates whether we've - called it - (gtk_tree_view_get_hadjustment): create adjustment if it doesn't - exist, because set_scroll_adjustment does that and it shouldn't - matter what order you call these in - (gtk_tree_view_get_vadjustment): ditto - (gtk_tree_view_set_headers_visible): canonicalize the bool, - for paranoia - (gtk_tree_view_set_headers_visible): call - gtk_tree_view_map_buttons() instead of using cut-and-paste code - (gtk_tree_view_append_column): clarify whether the return value - is the count of columns before or after, and do the increment - separately from the return statement so you can tell from the code. - (gtk_tree_view_remove_column): ditto - (gtk_tree_view_insert_column): ditto - (gtk_tree_view_get_column): remove g_return_if_fail for columns - outside the existing range, the docs say that outside-range - columns are allowed, so we handle them as documented. (Presumably - this allows a nice loop with column != NULL as test.) - (gtk_tree_view_move_to): document what 0.0, 0.5, 1.0 alignments - mean (left/right/center etc.). - (gtk_tree_view_collapse_all): only queue a draw if we're mapped - (gtk_tree_view_expand_row): add docs - (gtk_tree_view_collapse_row): add docs - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clicked): new - function to emit the clicked signal on a column - - * gdk/gdkevents.c (gdk_event_get_state): new function, to get the - state of an event - (gdk_event_get_time): don't treat GDK_SCROLL - as a button event, remove default case from switch so gcc - will whine if we don't explicitly handle all event types - - * gtk/gtktreeselection.h: added some FIXME - - * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): rename - "columns" to "n_columns" and "column" to "columns" for clarity - -2000-12-16 Havoc Pennington - - * gtk/gtktextiter.c: General cleanup of the log attr iteration - stuff. This should make e.g. the delete key work again in the - text widget... - (gtk_text_iter_forward_cursor_positions): handle negative count - (gtk_text_iter_backward_cursor_positions): handle negative count - (gtk_text_iter_forward_word_ends): handle negative count - (gtk_text_iter_backward_word_starts): handle negative count - - * gtk/gtktextlayout.h, gtk/gtktextlayout.c, gtk/gtktexttag.h, - gtk/gtktexttag.c, gtk/gtktexttagtable.h, gtk/gtktexttagtable.c, - gtk/gtktextbuffer.h, gtk/gtktextbuffer.c: Convert everything to - GObject. No doubt will cause breakage. - - * demos/gtk-demo/textview.c: remove hacks around - non-GObject-ification of the text objects - - * demos/gtk-demo/main.c (main): use g_object_set() to manipulate - the text tag - -2000-12-14 Havoc Pennington - - * configure.in: only AC_DEFINE(HAVE_XFT) if we actually determined - that we have Xrender - -Thu Dec 14 20:22:31 2000 Owen Taylor - - * gdk/{gdkdrawable.[ch],gdkpixmap.c,gdkwindow.c,x11/gdkwindow.c}: - Add two virtualized functions gdk_drawable_get_clip_region - to - get the clip region when drawing. - - * gdk/gdkwindow.c (gdk_window_invalidate_rect): Rewrite to simple - use invalidate_region. - - * gdk/gdkwindow.c (gdk_window_invalidate_region): Clip to visible - region. - - * acconfig.h configure.in: Check for Xft. For now, assume - that if Xft is found, Pango was compiled with Xft support - as well. - - * gdk/gdkcolor.h gdk/x11/gdkcolor-x11.c: Add - gdk_colormap_query_color(). - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_glyphs): Draw - with Xft if appropriate. - - * gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Create - a pangoxft context if we have XFT and the environment - variable GD_USE_XFT is set. - - * gdk/x11/gdkx.h (struct _GdkGCX11): Cache the fg_pixel - and also possibly an XftDraw structure. - - * gtk/gtkfontsel.c: Handle the case where the font from the - style doesn't match any of the fonts a bit better. - - * gtk/testgtk.c: Add tabs between directional segments for - hebrew/arabic test. (Not really necessary, just a little - prettier.) - -2000-12-14 Havoc Pennington - - * gtk/testtext.c (fill_file_buffer): fix unicode validation when - reading a file - -2000-12-14 Havoc Pennington - - * gtk/gtktextbtree.c (_gtk_text_btree_validate_line): remove - unused call to get_last_line() - - * gtk/gtkobject.c (gtk_object_add_arg_type): add G_TYPE_POINTER - here until boxed is working (and maybe after that - we should - really not gratuitously break old code) - - * gtk/gtktexttag.c (gtk_text_tag_class_init): add commented-out - specific types for font_desc and tabs args, move them to - GTK_TYPE_POINTER for now, waiting on g_param_spec_boxed() to get - fixed. Move GdkColor args to GTK_TYPE_POINTER also. - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): temporarily - use GTK_TYPE_POINTER for signal signatures as a hack-around - - * gtk/gtk-boxed.defs: Add boxed types for PangoFontDescription and - PangoTabArray - - * gtk/gtktextlayout.c (line_display_iter_to_index): - make static - (line_display_index_to_iter): make static - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): fix marshaller - to marshal a string not a boxed - - * gtk/gtkmarshal.list: add marshaller for GtkTextBuffer:insert_text - - * gtk/testtext.c (fill_file_buffer): don't use g_utf8_next_char - since the UTF-8 isn't validated yet - - * gtk/gtktextsegment.c (char_segment_check_func): don't require - lines to end in '\n' - - * gtk/gtktextview.c (gtk_text_view_move_cursor): update to use - forward_to_delimiters, and grapheme boundaries - (gtk_text_view_delete_from_cursor): properly handle non-newline - delimiters, and grapheme boundaries - - * gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): rename - to gtk_text_iter_forward_to_delimiters, and make it work properly - if empty lines end with a character other than '\n' - - * gtk/gtktextiter.h, gtk/gtktextiter.c: Add movement by cursor - position - -2000-12-15 Tor Lillqvist - - * gdk/makefile.{mingw.in,msc} (gdk_OBJECTS): Add gdkkeys. - - * gtk/gtk.def - * gdk/gdk.def: Update. - - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkkeys-win32.c: New file. Move some functions from - gdkmain-win32.c here. - - * gdk/win32/makefile.mingw.in (all): No need to make - gdk-win32res.o here, the makefile one step up will call us to make - it. - - * gdk/win32/makefile.{mingw.in,msc} (gdk_win32_OBJECTS): Add - gdkkeys-win32. - - * gdk/win32/gdkcolor-win32.c: Silence gcc -Wall. - - * gdk/win32/gdkevents-win32.c (gdk_events_init): Remove leftover - call to g_source_add(). - - * gdk/win32/gdkgc-win32.c (BitmapToRegion): Plug memory - leak. Thanks to Andreas Kemnade. - -2000-12-13 Havoc Pennington - - * gtk/gtktextbtree.h: Remove double _ in front of some functions - - * gtk/gtktext*.[hc]: update accordingly - -2000-12-13 Havoc Pennington - - * gtk/gtktextbtree.h: Put _ in front of every function in this - header file - - * gtk/gtktext*.[hc]: update to reflect renamed btree functions - -2000-12-13 Alex Larsson - - * gdk/linux-fb/gdkmouse-fb.c (mouse_devs): - Add support for ps2 intellimouse. - - * gdkkeyboard-fb.c: - Move shift-F1 repaint handling to xlate handler only. - - * docs/README.linux-fb: - Add imps2 to docs. - Document the new refresh keys. - -Tue Dec 12 23:46:44 2000 Tim Janik - - * gtk/stock-icons/Makefile.am: doh, this was broken beyond believe. - - * gtk/gtkbox.c: change property types from (u)long to (u)int for - ::position and ::padding. - - * gtk/gtkcontainer.c: make ::border_width an INT property. - - * gtk/gtkpacker.c: make ::position an INT property. - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed): - guard against NULL h/v scrollbars, since this is used at construction - time. - - * gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented - internal gtk_clist_constructor(). - - * gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented - gtk_ctree_constructor(). - - * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property - ::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION. - - * docs/reference/Makefile.am: fun stuff, disabled docs generation - again, gtk-scan.c needs to introspec paramspecs, not GtkAgs. - - * gtk/gtkwidget.[hc]: - removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv() - and gtk_widget_get(). - (gtk_widget_new): use g_object_new_valist(). - (gtk_widget_set): use g_object_set_valist(). - - * gtk/gtkobject.[hc]: - removed gtk_object_arg_get_info(), gtk_object_getv(), - gtk_object_query_args(), gtk_object_newv(), - gtk_object_class_add_signals(), - gtk_object_class_user_signal_new(), - gtk_object_class_user_signal_newv(), - gtk_object_arg_set(), gtk_object_arg_get(), - gtk_object_args_collect(), - gtk_object_default_construct(), - gtk_object_constructed(), - GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED(). - removed nsignals, signals and n_args members from GtkObjectClass. - (gtk_object_new): use g_object_new_valist(). - (gtk_object_set): use g_object_set_valist(). - (gtk_object_get): use g_object_get_valist(). - - * gtk/gtkcompat.h: define gtk_object_default_construct(). - - * gtk/gtktypeutils.c (gtk_type_new): create constructed objects via - g_object_new(). - - * gtk/*.c: removed gtk_object_class_add_signals() from class_init() - fucntions, cleaned up method assignments (make sure your structures - are setup properly before calling out). removed all GTK_CONSTRUCTED - hacks ;) - -Tue Dec 12 11:52:16 2000 Owen Taylor - - * gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix - off-by-one error in checks. (Dave Lambert) - -2000-12-12 Alexander Larsson - - * gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close): - Don't free gdk_fb_keyboard twice. - -Tue Dec 12 08:24:42 2000 Tim Janik - - * gtk/testgtk.c: - (create_tooltips): - (create_statusbar): get rid of object_signal:: GtkObject argument uses, - use GObject swapped_signal:: properties instead. - - * gtk/gtkcellrenderertoggle.c: - * gtk/gtkcellrenderertextpixbuf.c: - * gtk/gtkcellrenderertext.c: - * gtk/gtkcellrendererpixbuf.c: - * gtk/gtkcellrenderer.c: - * gtk/gtktreeviewcolumn.c: s/[sg]et_param/[sg]et_property/, fixed - missing warnings for invalid property ids, install properties - with g_object_class_install_property() now. - - * gtk/gtksignal.c: - (gtk_signal_emit): let g_signal_emit_valist() collect the values for us. - -Wed Oct 25 14:17:43 2000 Owen Taylor - - * gtk/gtkwidget.[ch] (gtk_widget_is_focus): Add a function - to determine if a window is the focus widget within - its toplevel. - - * gtk/gtkcontainer.[ch]: Fix the return type of ::focus - to be boolean. - - * gtk/gtkcontainer.c (gtk_container_real_focus): Move handling - of the case where the container CAN_FOCUS to here instead - of having it in each individual move-the-focus place. - - * gtk/gtkcontainer.c: Rewrite handling of left-right and up-down - focusing to be geometric in a much more obvious sense. Arrowing - around is still non-intuitive because it isn't perfect and - because entries, etc, grab the arrow keys, but it at least - usually will do what you expect now. - - * gtk/gtknotebook.[ch]: Many cleanups. Moved docs inline in this - file. - - * gtk/gtknotebook.c: Change tabs to be a single item in - the focus chain. Make movement of focus on tabs with arrow - keys wrap around. - - * gtk/gtknotebook.c (gtk_notebook_find_child): Add - CHECK_FIND_CHILD macro to give informative error messages - instead of silent returns. - - * gtk/gtknotebook.c (gtk_notebook_init): Set the RECEIVES_DEFAULT - flag since we handle GdkReturn on the tabs. - - * gtk/gtknotebook.c (gtk_notebook_expose_tabs): Invalidate - windows rather than sending expose events directly. - - * gtk/gtknotebook.[ch] docs/Changes-2.0.txt: Move structure - definition for GtkNotebookPage into .c file, since it is private. - - * gtk/testgtk.c (create_notebook): Add option for - testing borderless notebook. - - * gtk/testgtk.c (page_switch): Removed egregious poking - around in GTK+ internals. - - * docs/widget-system.txt: Remove references to GTK_REDRAW_PENDING. - - * gtk/gtkclist.[ch]: Remove key press handler, handle focusing - properly through gtk_clist_focus. Make the title headers a - single item in the tab-focus chain, and make left-right wrap - around. - - * gtk/gtkwindow.c (gtk_window_focus): Add a custom - focus method so that wrapping around works properly. - - * gtk/gtktreeview.c: Remove calls to gtk_container_set_focus_child() - - that is handled for the widget now. - -Mon Dec 11 11:41:12 2000 Owen Taylor - - * gtk/gtkinvisible.c (gtk_invisible_init): Flag invisible - widgets as TOPLEVEL. - - * gtk/gtkwidget.c (gtk_widget_queue_resize): Don't assume - TOPLEVEL widgets are containers. - - * gtk/gtkinvisible.h: Remove useless include. - -2000-12-11 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): - Handle chopping off \r\n and 0x2029 in addition to \n before - passing to PangoLayout - - * gtk/gtkimcontextsimple.c - (gtk_im_context_simple_get_preedit_string): - return an empty string if no match is pending - - * gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): add - assertion that the returned preedit string was sane - - * gtk/gtktext*.[hc], gtk/testtext.c, gtk/testtextbuffer.c: - s/gtk_text_iter_next_char/gtk_text_iter_forward_char/g; - s/gtk_text_iter_prev_char/gtk_text_iter_backward_char/g; - -Mon Dec 11 10:02:26 2000 Owen Taylor - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize): - Fix up finalizer to chain to its parent. - -2000-12-11 Alexander Larsson - - * docs/README.linux-fb (GDK_KEYBOARD_TYPE): - Clearified the difference between the keyboard types. Wrote a note - about the magic sysrq key to get out of raw mode. - -2000-12-09 James Henstridge - - * gdk/linux-fb/gdkmouse-fb.c (GdkFBMouseDevice): add prot struct - member to hold masks for detecting the start of a protocol packet. - (mouse_devs): add packet start masks for ps2 and ms device types. - Left the mask for fidmour blank, as I have no idea what it should - be. - (handle_mouse_io): skip bytes until we get to the start of a - packet. My Logitech mouse seems to be passing an extra NULL pad - byte, and GPM does a similar thing here. - (gdk_fb_mouse_ms_open): changed error message to not say psaux, as - this is the ms mouse driver. - (gdk_fb_mouse_ms_packet): fix up button handling, which was - completely broken except for button1. It was checking the wrong - bit in the packet for the status of the right mouse button, and - wrongly assuming right == button2 rather than 3. I fixed that and - also added support for middle button (button2). - -2000-12-08 Havoc Pennington - - * gtk/gtktextbtree.c (gtk_text_btree_insert): fix breakage here - that cause a segfault on text insertion - - * gtk/gtktextchild.c (gtk_text_child_anchor_queue_resize): fix - warning - - * gtk/gtktextiter.c (test_log_attrs): use - _gtk_text_buffer_get_line_log_attrs to speed things up a bit - - * gtk/gtktextbuffer.c (_gtk_text_buffer_get_line_log_attrs): - Get log attrs for a line, using a cache stored on the buffer - - * gtk/gtkcolorsel.h (GTK_COLOR_SELECTION_GET_CLASS): fix typo, - reported by Jeff Franks - -2000-12-08 Alexander Larsson - - * gdk/linux-fb/gdkmouse-fb.c (gdk_fb_mouse_ms_open): - /dev/ttyS0 -> /dev/mouse - -2000-12-08 Alexander Larsson - - * gdk/linux-fb/gdkfont-fb.c (gdk_fontset_load): - Added dummy gdk_fontset_load. - -2000-12-08 Alexander Larsson - - * docs/README.linux-fb: - * docs/Makefile.am: - Initial GtkFB docs. - - * gdk/linux-fb/Makefile.am: - Define GDK_DATA_PREFIX. - - * gdk/linux-fb/gdkmain-fb.c: - Fix typo. - Change default display to /dev/fb0. - - * gdk/linux-fb/gdkpango-fb.c: - Add $(prefix)/share/fonts/ to font path. - -2000-12-08 Alexander Larsson - - * gdk/linux-fb/gdkkeyboard-fb.c: - New file containing the abstracted keyboard driver. Most code - taken from gdkinput-ps2.c - - * gdk/linux-fb/gdkinput-ps2.c: - Removed file. - - * gdk/linux-fb/Makefile.am: - Added gdkkeyboard-fb.c, removed gdkinput-ps2.c. - - * gdk/linux-fb/gdkcolor-fb.c: - display->fb was renamed to display->fb_fd. - - * gdk/linux-fb/gdkcursor-fb.c: - gdk_mouse_get_info -> gdk_fb_mouse_get_info - - * gdk/linux-fb/gdkinput.c: - Moved gdk_input_init here from gdkinput-ps2.c - - * gdk/linux-fb/gdkmain-fb.c: - display->fb was renamed to display->fb_fd. - Now the tty and the console is opened here instead - of in the keyboard driver. Also check GDK_VT to see what - tty to open. - Move gdk_beep () here from gdkinput-ps2.c - gdk_mouse_get_info -> gdk_fb_mouse_get_info - - * gdk/linux-fb/gdkmouse-fb.c: - Add header. - gdk_mouse_get_info -> gdk_fb_mouse_get_info - Return correct keyboard modifiers. - GDK_MOUSETYPE -> GDK_MOUSE_TYPE for consistancy - - * gdk/linux-fb/gdkprivate-fb.h: - Add tty and vt info to display. - Add orignal modeinfo storage to display - Update global functions - - * gdk/linux-fb/gdkwindow-fb.c: - Added gdk_fb_window_find_focus(). - gdk_mouse_get_info -> gdk_fb_mouse_get_info - -2000-12-07 Havoc Pennington - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_lookup_key): fix name of - function, noticed by Alex - -2000-12-06 Elliot Lee - - * configure.in: Detect freetype properly - - * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of - above. - -2000-12-06 Alexander Larsson - - * gdk/linux-fb/Makefile.am: - Add gdkmouse-fb.c - - * gdk/linux-fb/gdkmouse-fb.c: - New file. Abstracted the mouse drivers a bit. - - * gdk/linux-fb/gdkcursor-fb.c: - The cursor hide/show functions was moved here from gdkinput-ps2.c. - - * gdk/linux-fb/gdkinput-ps2.c: - Removed old mouse handling code. Moved cursor handling code - to gdkcursor-fb.c, moved gdk_fb_window_send_crossing_events() to - gdkwindow-fb.c. gdk_input_get_mouseinfo was renamed to - gdk_mouse_get_info. - - * gdk/linux-fb/gdkmain-fb.c: - Pass NULL pointers for x,y in gdk_mouse_get_info call. - - * gdk/linux-fb/gdkprivate-fb.h: - Removed public gdk_fb_find_common_ancestor, added and renamed - functions for the new mouse handling code. - - * gdk/linux-fb/gdkwindow-fb.c: - Moved gdk_fb_window_send_crossing_events here. added global - variable gdk_fb_window_containing_pointer. made - gdk_fb_find_common_ancestor static. gdk_input_get_mouseinfo was - renamed to gdk_mouse_get_info. - -2000-12-06 Alexander Larsson - - * gdk/linux-fb/gdkevents-fb.c: - Update to match latest gmain/gsource changes. - - * gdk/linux-fb/gdkinput-ps2.c: - Bogus gdk_keymap_get_entries_for_keycode implementation so that - it links. Will be implemented later. - -2000-12-03 Havoc Pennington - - * gdk/Makefile.am: add gdkkeys.[hc] - - * gdk/gdkkeys.h, gdk/gdkkeys.c: Move all the keyval stuff to these - files from gdk.h, gdk.c; add GdkKeymap type and operations on it. - - * acconfig.h, configure.in: add checks and command line options - for XKB - - * gdk/x11/gdkkeys-x11.c: Implement the above functions - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Put the keycode - and group in the key event - - * gdk/gdkevents.h (struct _GdkEventKey): Add a hardware_keycode - field with the low-level hardware key code, and a group - field with the keyboard group - - * gdk/x11/gdkprivate-x11.h: include config.h for HAVE_XKB, - and declare a couple globals used for keymap handling - - * gtk/gtkimcontextsimple.c: Implement ISO 14755 input method, - hold down Shift-Control and type a hex number to get a Unicode - character corresponding to the hex number - (gtk_im_context_simple_get_preedit_string): Fix cursor position - (return bytes not chars) - -2000-12-05 Elliot Lee - - * gdk/gdkcolor.h: Make GdkColor specify element sizes - to avoid waste on 64-bit platforms. - -Tue Dec 5 15:49:31 2000 Owen Taylor - - * INSTALL: Fix link to PNG home, remove reference - to fribidi. - - * gdk/x11/gdkevents-x11.c: Fix up for new GMain API. - - * gdk/win32/gdkevents-win32.c: Fix up for new GMain API. (Not - tested.) - - * gtk/gtkcheckmenuitem.c: Permanently turn on - always_show_toggle. - - * gtk/gtkclist.c (gtk_clist_get_pixtext): Allow mask to - be NULL. (Vladimir Klebanov, #26545) - - * gtk/gtkspinbutton.c (gtk_spin_button_insert_text): Fix - some signed/unsigned comparison problems. (#6510, - David Kaelbling) - - * gtk/gtkwidget.[ch] (gtk_widget_is_ancestor): Change - return type to boolean (Oskar Liljeblad, #18648) - -2000-12-05 Alexander Larsson - - * gdk/linux-fb/gdkmain-fb.c (gdk_fb_display_new): - Remove bogus colormap setting. - -2000-12-05 Alexander Larsson - - * gdk/linux-fb/gdkcolor-fb.c: - More complete colormap handling. Now GdkRGB work in 8 bpp modes. - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_image): - Must set colormap. - -Tue Dec 5 13:17:53 GMT 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: DND updates - -2000-12-05 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_drawable_3): - Remove old debug g_warning(). - (gdk_fb_draw_drawable): The src argument can be either a wrapper - or an implementation, just pass the implementation to draw_drawable_2. - - * gdk/linux-fb/gdkprivate-fb.h: - Added GDK_IS_DRAWABLE_IMPL_FBDATA() - - * gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_destroy): - clear and invalidate area when window is destroyed. - (send_map_events): Remove old commented out code. - -2000-12-05 Alexander Larsson - - * gdk/linux-fb/gdkpango-fb.c: - Use italic instead of oblique in font aliases. - - * gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic, - _gdk_fb_gc_calc_state): Support GDK_XOR, add g_warning for - other unsupported functions. - -2000-12-04 Havoc Pennington - - * gtk/gtkpaned.c (gtk_paned_expose): fix this to be sane - - * gtk/gtkvpaned.c (gtk_vpaned_expose): Add an expose handler - - * gtk/gtkhpaned.c (gtk_hpaned_expose): Add an expose handler - - * gtk/gtknotebook.c (gtk_notebook_draw_tab): put in a temporary - hack to avoid infinite loops (synthetic expose event) - - Owen has more appropriate fixes in a branch he'll check in later. - - * gtk/gtktextiter.c (gtk_text_iter_ends_line): handle paragraph - separator, CR, and CRLF as line ends - - * gtk/gtktextbtree.c (gtk_text_btree_insert): on insertion, break - into lines using pango_find_paragraph_boundary(); other bits of - the widget are still going to be broken if the boundary isn't '\n' - though - -2000-12-04 Alexander Larsson - - * gdk/linux-fb/gdkfont-fb.c (gdk_text_width): Divide size by 2, not - multiply. - - * gdk/linux-fb/gdkpango-fb.c: - Copied some 26.6 scaling macros from pango to clean up the rounding. - (pango_fb_font_get_glyph_info): Correct sign on x value. - - * gdk/linux-fb/gdkprivate-fb.h: - Removed unreferenced external functions. - - * modules/linux-fb/Makefile.am: Use ` instead of '. - - * modules/linux-fb/basic.c: - Remove dead code. In particular the dummy lang engine which broke all - pango layouts in GtkFB. Don't include tables-big.i anymore. - - * modules/linux-fb/tables-big.i: - Upgrade to latest version from pango. Left for reference, basic_ranges - moved to basic.c. - -2000-12-04 Havoc Pennington - - Fix bugs Alex found: - - * gtk/gtktooltips.c (gtk_tooltips_force_window): nuke connection - to "draw" - - * gtk/gtkdnd.c (gtk_drag_highlight): nuke connection to "draw" - - * gtk/gtkcolorsel.c (palette_new): nuke connection to "draw" - - * gtk/gtklistitem.c (gtk_list_item_expose): Put the old _draw() - implementation in here, apparently the expose() implementation was - dead code. - -2000-12-04 Alexander Larsson - - * gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics): - Return positive descent. - -2000-12-02 Havoc Pennington - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual - method and signal - - * gtk/gtkwidget.c (gtk_widget_draw): Now just queues a draw then - calls gdk_window_process_updates() to push the exposes through - (gtk_widget_class_init): No more draw signal, no - gtk_widget_real_draw() - - * gtk/gtkbin.c (gtk_bin_draw): remove - - * gtk/gtkbox.c (gtk_box_draw): remove - - * gtk/gtkbutton.c (gtk_button_draw): remove - - * gtk/gtkcalendar.c (gtk_calendar_draw): remove - - * gtk/gtkcheckbutton.c (gtk_check_button_draw): remove - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_draw): remove - - * gtk/gtkclist.c (gtk_clist_draw): remove - - * gtk/gtkentry.c (gtk_entry_draw): remove - - * gtk/gtkeventbox.c (gtk_event_box_draw): remove - - * gtk/gtkfixed.c (gtk_fixed_draw): remove - - * gtk/gtkframe.c (gtk_frame_draw): remove - - * gtk/gtkhandlebox.c (gtk_handle_box_draw): remove - - * gtk/gtkhpaned.c (gtk_hpaned_draw): remove - - * gtk/gtklayout.c (gtk_layout_draw): remove - - * gtk/gtklist.c (gtk_list_draw): remove - - * gtk/gtklistitem.c (gtk_list_item_draw): remove - - * gtk/gtkmenu.c (gtk_menu_draw): remove - - * gtk/gtkmenubar.c (gtk_menu_bar_draw): remove - - * gtk/gtkmenuitem.c (gtk_menu_item_draw): remove - - * gtk/gtknotebook.c (gtk_notebook_draw): remove - - * gtk/gtkoptionmenu.c (gtk_option_menu_draw): remove - - * gtk/gtkpacker.c (gtk_packer_draw): remove - - * gtk/gtkrange.c (gtk_range_draw): remove - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_draw): remove - - * gtk/gtkspinbutton.c (gtk_spin_button_draw): remove - - * gtk/gtktable.c (gtk_table_draw): remove - - * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_draw): remove - - * gtk/gtktext.c (gtk_text_draw): remove - - * gtk/gtktextview.c (gtk_text_view_draw): remove - - * gtk/gtktogglebutton.c (gtk_toggle_button_draw): remove - - * gtk/gtktoolbar.c (gtk_toolbar_draw): remove - - * gtk/gtktree.c (gtk_tree_draw): remove - - * gtk/gtktreeitem.c (gtk_tree_item_draw): remove - - * gtk/gtktreeview.c (gtk_tree_view_draw): remove - - * gtk/gtkviewport.c (gtk_viewport_draw): remove - - * gtk/gtkvpaned.c (gtk_vpaned_draw): remove - - * gtk/gtkvscale.c (gtk_vscale_draw): remove - - * gtk/gtkwindow.c (gtk_window_draw): remove - -2000-20-01 Anders Carlsson - - * gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when - a GtkToggleButton is both insensitive and active, it was being - drawn by the GtkButton draw handler which doesn't check the - state. Now it's calling gtk_toggle_button_paint instead. - -2000-12-01 Havoc Pennington - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create - dangling pointers to the appearance attributes from the - line display - - * gdk/gdkdraw.c (gdk_drawable_get_image): allow negative - width/height to mean "full width/height of drawable" - - * gtk/gtktextview.h, gtk/gtktextview.c: Implement double/triple - click to select word/line - - * gtk/gtktextiter.c (test_log_attrs): include paragraph delimiters - when getting log attrs. Get a slice, so that pixmaps and stuff - are properly handled. - - * gtk/gtktextbuffer.c (paste): Fix pasting to work properly if you - paste into the selection (replaces selection now, previously - crashed or added to selection). Reveals longstanding btree bug - - select multiple lines, middle-click on the selection, boom. This - isn't related to my changes though. - - * gtk/gtkentry.c (gtk_entry_move_forward_word): Update to reflect - PangoLogAttrs changes - (gtk_entry_move_backward_word): ditto - - * gtk/gtktextlayout.h, gtk/gtktextlayout.c: Make the iter motion - functions return bool whether the iter moved onto a - dereferenceable position. - - * gtk/gtktextview.h, gtk/gtktextview.c: Add a bunch of public - functions for motion in terms of display lines. - - * gtk/gtktextmark.c (gtk_text_mark_get_buffer): Add function to - get the buffer a mark is inside - -2000-12-01 Alexander Larsson - - * gdk/linux-fb/Makefile.am: - * modules/linux-fb/Makefile.am: - Freetype 2 final uses freetype-config - - * gdk/linux-fb/gdkpango-fb.c: - Upgrade to use Freetype 2 final. - More flexible support for font aliases, this also fixes a bug with - GtkFontSelector, as the aliases must be visible in the font/family list, - or GtkFontSelector reads uninitialized memory. - -2000-11-30 Hidetoshi Tajima - - * modules/input/gtkimcontextxim.c (setup_im): Add NULL argument to - XGetIMValues to properly terminate variable argument list, and do - NULL return check for ic_values and xim_styles. - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_reset): - Restore preedit state after XmbResetIC(). - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): - XvaCreateNestedList() should take XvaNestedList, but not - XvaNestedList*. - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_reset, - preedit_draw_callback, preedit_caret_callback): Match - "preedit-changed" signal name to "preedit_changed" to be - consistent to the spec. - - * gtk/gtkimcontextsimple.c (check_table): - Match "preedit-changed" to "preedit_changed" to be consistent - to the spec. - -Thu Nov 30 23:03:04 2000 Owen Taylor - - * gdk/x11/gdkgc-x11.c (gdk_gc_copy): Properly handle - gc->clip_region == NULL> - -2000-11-30 Tor Lillqvist - - Changes by Hans Breuer: - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints): - Dont't use negative width and height as max_hints. This fixes - Owen's recent testgtk changes for win32. - - * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get, - gdk_win32_hdc_release): These are exported and may be called with - other drawable types than our GdkDrawableImplWin32 (?). - - * gdk/gdkwindow.c: Backing store appears to work on Windows now, - so always #define USE_BACKING_STORE. - - * gtk/gtktextdisplay.c (render_layout_line): Use g_print instead - of printf for debugging output. - - * gtk/gtktextlayout.c (allocate_child_widgets): Ditto. - - * gtk/gtktextview.c (gtk_text_view_child_allocated): Ditto. - - * gtk/gtkmain.h (GTKMAIN_C_VAR): Win32 fix for dllimport - declaration. - - * gtk/gtktexttypes.h: Ditto. - - * gtk/gtklabel.c (gtk_label_set_markup_with_accel): Return a value - (GDK_VoidSymbol) also if in case of arg check failure. - - * gtk/gtkimcontextsimple.c - (gtk_im_context_simple_get_preedit_string): Don't assign cursor - position to the pointer, but to the variable it points to. - - * gtk/makefile.msc.in (DEFINES): Define GTK_VERSION. - - * gtk/gtk.def: Updates. - -2000-11-29 Elliot Lee - - * gtk/gtkmodelsimple.c: Inherits from GTK_TYPE_OBJECT, not - GTK_TYPE_TREE_MODEL. - -2000-11-29 Alexander Larsson - - * gdk/linux-fb/gdkfont-fb.c (gdk_font_from_description): - Set the size of the font from the description. - (gdk_text_width): Gross hack that calculates the width - of text by text_length * size/2. This is necessary because - GtkLabel does some ugly gtk_string_width call to calculate - an good size. - (linux-fb/gdkprivate-fb.h): Removed unused field FT_Face. - -Wed Nov 29 13:39:19 GMT 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: DND updates - -2000-11-29 Alexander Larsson - - * gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area): - If you pass width or height == 0 to gdk_window_clear_area they - should be calculated from the window size. - -2000-11-29 Alexander Larsson - - * gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is - a grab, but no grab-cursor, use the cursor from the grabbed - window. (gdk_fb_window_send_crossing_events): Send normal - enter/leave notifications if grab and owner_events == TRUE. - -2000-11-29 Alexander Larsson - - * gdk/linux-fb/gdkinput-ps2.c (send_button_event): - Do implicit button grabs, even if the window doesn't - want the event. - (gdk_fb_window_send_crossing_events): If there is a - grab, only the grabbed window gets normal enter/leave - notifications. On ungrab go from grabbed window to current. - Don't send any notification to b when propagating from c -> b. - If setting a grab on window, don't set prev_window. - (handle_mouse_input): Send enter/leave events to the window the - mouse is over, not the grabbed one. - -2000-11-28 Elliot Lee - - * gdk/gdkregion-generic.c: Zap warning. - * modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled - * gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds. - -2000-11-28 Alexander Larsson - - * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize): - The cursor should be hidden if it is part of either the - source or destination region. Not only if it is in both. - (gdk_window_set_transient_for): Silence warnings. - -2000-11-28 Alexander Larsson - - * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup): - The default mode in X is Pie Arcs, therefore that is - what Gtk+ uses. - -2000-11-28 Alexander Larsson - - * gdk/linux-fb/gdkinput-ps2.c: - Implement correct EnterNotify/LeaveNotify: - (gdk_fb_window_send_crossing_events): New function that sends - all GdkCrossingEvents from the last mouse-window to the specified - destination. - (gdk_fb_window_visibility_crossing): Removed function. - (handle_mouse_input): Use gdk_fb_window_send_crossing_events() - (send_button_event, gdk_fb_cursor_reset): Use gdk_window_at_pointer - instead of gdk_window_get_pointer() for better readability. - - * gdk/linux-fb/gdkmain-fb.c (gdk_fb_pointer_grab, - gdk_fb_pointer_ungrab): Use gdk_fb_window_send_crossing_events. - - * gdk/linux-fb/gdkprivate-fb.h: - removed gdk_fb_window_visibility_crossing, added - gdk_fb_window_send_crossing_events and gdk_fb_find_common_ancestor. - - gdk/linux-fb/gdkwindow-fb.c (gdk_fb_find_common_ancestor): - New function that finds the least common ancestor of two windows. - (gdk_window_show, gdk_window_hide): - Use gdk_fb_window_send_crossing_events. - (gdk_fb_window_move_resize): Send configure events to toplevel - windows. Use gdk_fb_window_send_crossing_events. - -2000-11-27 Havoc Pennington - - * gtk/gtkprivate.h (enum): Remove a trailing comma - -2000-11-27 Federico Mena Quintero - - * gtk/gtkspinbutton.c (gtk_spin_button_set_adjustment): Connect to - the "changed" callback of the adjustment. We need to redraw the - spin button's arrows when the adjustment's range changes. - (adjustment_changed_cb): Draw the arrows. - (gtk_spin_button_value_changed): Draw the arrows. - -2000-11-23 Alexander Larsson - - * gdk/linux-fb/gdkselection-fb.c: - Initial selection implementation. - - * gtk/gtkselection.c: - if GDK_WINDOWING_FB defined, include linux-fb/gdkfb.h and look up - requestor in gtk_selection_request. - - * gdk/linux-fb/gdkfb.h, gdk/linux-fb/gdkglobals-fb.c: - Added gdk_selection_property atom. - - * gdk/linux-fb/gdkprivate-fb.h: - Export _gdk_selection_window_destroyed. - Removed mask_off_x/y from GdkCursorPrivateFB. - Removed hbearing, added top, left to PangoFBGlyphInfo. - - * gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_destroy): - Call _gdk_selection_window_destroyed - (_gdk_windowing_window_init): Don't call gdk_cursor_new() before - the root window has been created. - (static_dx_hack, static_dy_hack, compare_draw_rects, - gdk_fb_window_move_resize): Remove unnecessary sort of rectangles - in region. They are already sorted. Instead just traverse them in - reverse if draw_direction < 0. - - * gdk/linux-fb/gdkinput-ps2.c (send_button_event): - Double-clicks must be sent after the normal button_press. - (gdk_fb_cursor_unhide): Remove usage of mask_off_x/y. Clean up. - - * gdk/linux-fb/gdkgeometry-fb.c (gdk_window_scroll): - Pass _gdk_fb_screen_gc instead of NULL. - - * gdk/linux-fb/gdkmain-fb.c (_gdk_windowing_init_check): - Initialize gdk_selection_property. - (gdk_event_make): Remove unused code. - - * gdk/linux-fb/gdkcursor-fb.c: - Make the pixmap for the cursor the same size as the mask. Also remove - the mask_off_x/y fields in GdkCursorPrivateFB and combine - _gdk_cursor_new_from_pixmap() and gdk_cursor_new_from_pixmap() - Now the whole cursor is visible. - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_drawable_3): - Fix bug where xdest+height instead of ydest+height was used - to calculate if the source and dest overlapped. This fixes the - redraw bug when the main window in testgtk was scrolled when - partially covered by a tall window. - Copy rectangles in region in order depending on draw_direction. - Also moved the draw_direction flipping of start_y and end_y into - the gc functions, as this might not be what all of them want. - (gdk_fb_draw_lines): Support dashed lines. - (gdk_fb_draw_glyphs): Clean up glyph placement. Also fix positioning - so that the text is positioned correctly (was 1 pixel high). - - gdk/linux-fb/gdkgc-fb.c: - Initialize cap_style to GTK_CAP_BUTT. This fixes a problem where - all lines were drawn a pixel to short. Also checked the default of - the rest of the values, and they're the same as X now. - - * gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_glyph_info): - Clean up pixel positioning of the glyphs. Just use bgy->top and - bgy->left. Also used PANGO_PIXEL where appropriate and added 0.5 - to all divisions to get correct rounding behaviour. - - * gdk/linux-fb/gdkrender-fb.c (gdk_fb_draw_drawable_generic, - gdk_fb_draw_drawable_memmove, gdk_fb_draw_drawable_aa_24): - Moved start_y/end_y flip into draw_drawable implementations. - Flip also x rendering when draw_direction < 0. - Remove unneccesary multiply with draw_direction. - -Wed Nov 22 14:11:19 GMT 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: - - get rid of gtk_toggle_button_toggled FUD - - start DND section - needs work - based on: - http://wolfpack.twu.net/docs/gtkdnd/ - -2000-11-22 Alexander Larsson - - * gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics): - Correct calculation of font metrics. Now GtkEntrys have sane - size. - -2000-11-22 Alexander Larsson - - * gdk/gdktypes.h: - Add new type GdkSpan - - * docs/reference/gdk/gdk-sections.txt, - docs/reference/gdk/tmpl/regions.sgml, gdk/gdkregion-generic.c, - gdk/gdkregion.h: - Implement and document gdk_region_spans_intersect_foreach. - - * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkrender-fb.c: - Add new file gdkrender-fb.c which contains all core - rendering code. - Add gdk_fb_fill_rectangle_generic (old rectangle code) and - gdk_fb_fill_rectangle_simple_16, gdk_fb_fill_rectangle_simple_32 - (optimized rectangle fillers). - - * gdk/linux-fb/gdkdrawable-fb2.c: - Move all rendering code to gdkrender-fb.c. - Change from using GdkRectangles and GdkSegments for spans to GdkSpan. - Use the new span intersection functions in gdk_fb_fill_spans. - gdk_fb_draw_rectangle() clips filled rectangles and calls - gc->fill_rectangle with the result. - gdk_fb_fill_spans() gets extra argument "sorted". - - * gdk/linux-fb/gdkevents-fb.c: - Remove unused includes and defines. - New function gdk_fb_get_time() to get correct time for events. - - * gdk/linux-fb/gdkinput-ps2.c: - Use gdk method of generating multiple-clicks (gdk_event_button_generate) - Make sure to set the time of all events. - - * gdk/linux-fb/gdkmain-fb.c: - Use gdk_fb_get_time (). - - * gdk/linux-fb/gdkprivate-fb.h: - New virtual GC calls: fill_span & fill_rectangle. - Export gdk_fb_get_time(). - gdk_fb_fill_spans() gets extra argument "sorted". - - * gdk/linux-fb/mi*.c: - Use GdkSpan instead of GdkRectangle. - Pass correct sorted to gdk_fb_fill_spans. (sorted value taken - from XFree 4 source) - -2000-11-22 - - * gtk/gtktreeview.c (gtk_tree_view_calc_size): It's amazing what - reversing the order in an if statement will do. Doing so managed - to make the treemodelsort half work. Other half will follow after - I get the insert function fully fixed. - -2000-11-21 Elliot Lee - * gtk/gtkmenushell.h: GdkEventButton->button can occupy significantly - more than 2 bits. Besides, I need to implement an evil hack. :) - -Tue Nov 21 14:17:51 GMT 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: minor corrections - -2000-11-20 Jonathan Blandford - * gtk/gtktreemodelsort.h: Add convertion functions to let you - convert to and from relative path's and iters. - - * gtk/treestoretest.c: move to having a sorted/unsorted view. Start - testing sorting functions a bit better. Currently broken -- will - fix in morning. - -2000-11-20 Havoc Pennington - - * gtk/gtkwidget.c: Documented a bunch of functions in here - (gtk_widget_realize): Warn if you try to realize - a widget with no parent that isn't a toplevel - (gtk_widget_intersect): return a gboolean - -2000-11-20 Havoc Pennington - - * gtk/gtktextview.c, gtk/gtktextlayout.c, gtk/gtktextchild.c, - gtk/testtext.c: Semi-finish widget embedding. Need guffaw - scrolling to be implemented in GDK to finish. Also, right now - we just size_allocate all children on every layout change, - which is pretty lame. Test commented out of testtext.c, - until it works better. - -2000-11-20 Alexander Larsson - - * gdk/linux-fb/gdkdrawable-fb2.c: - Removed unused arguments from gdk_fb_drawable_get_pixel(). - - * gdk/linux-fb/gdkinput-ps2.c (handle_input_ps2): - Renamed fidur specific mouse packet data in MouseDevice to - generic. Used it in ps2 mouse handling code to avoid blocking - reads. - -Sat Nov 18 18:00:17 2000 Jonathan Blandford - - * demos/gtk-demo/main.c: Changed to have the list become - non-italic when the demo window is destroyed through an external - event (like a close button). Doing so found three bugs in the - widget. - - * demos/gtk-demo/*.c (do_*): Changed to return the toplevel window. - - * gtk/gtkliststore.c (gtk_list_store_set_cell): emit "change" when - we actually set the cell. - - * gtk/gtktreestore.c (gtk_tree_store_set_cell): ditto - - * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): - free a leaked path. Thanks memprof. - -Sat Nov 18 11:58:17 2000 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix - off-by-one error when destroying allocated segments - on failure. (Elliot) - -Sat Nov 18 11:45:09 2000 Owen Taylor - - * gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix - memleaks found by Evan Martin. - -Fri Nov 17 20:14:20 2000 Owen Taylor - - * Released 1.3.2 - - * NEWS: Updates for 1.3.2 - -2000-11-17 Tor Lillqvist - - * gdk/gdkevents.h: Add comment that GdkXEvent isn't only for XEvent, - but in general for window system specific events. - - * gtk/gtk.def - * gtk/makefile.mingw.in - * gtk/makefile.msc.in: Update. - - * gtk/gtktexttypes.h: Mark variables for export/import from DLL. - -Thu Nov 16 16:11:39 2000 Owen Taylor - - * gtk/Makefile.am (EXTRA_DIST): Do not, in any circumstances, - distribute gtk.immodules. - - * gtk/Makefile.am (install-data-local): Don't install the - gtk.immodules file created for the uninstalled modules; - instead run gtk-query-immodules after install - -Wed Nov 15 21:51:31 2000 Owen Taylor - - * modules/input/Makefile.am (im_xim_la_LDFLAGS): Point - -rpath to the right install location. - - * modules/input/Makefile.am (im_inuktitut_la_LDFLAGS): Remove - -export-dynamic. - - * gtk/gtkthemes.c (gtk_theme_engine_get): Set engine->name - properly. - -2000-11-15 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_start_cursor_blink): Apply - patch from Mikael Hermansson to temporarily stop blinking while - the user is using the keyboard to type or navigate. - - Also, when blinking, stay on for longer than we stay off. Also, - return from start_cursor_blink if !cursor_visible, to save - checking that flag all over the place before we call - start_cursor_blink. - -Thu Nov 16 01:25:51 2000 Robert Brady - - * gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they - only contain a "fontset" line, which is now ignored. - - * gtk/gtkentry.c (gtk_entry_button_release): Make - double-click-to-select-word work. - -Wed Nov 15 20:16:54 2000 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): - Don't move back one char when we are actually at the end of the - paragraph. - -2000-11-15 Robert Brady - - * modules/input/iminuktitut.c (inuktitut_compose_seqs): - 'o' < 'p'. - - * gtk/gtkmain.c: s/CODSET/CODESET/, include for - bind_textdomain_codeset. - - (gtk_init_check): Make the warning about translating default:LTR - sterner. - -Wed Nov 15 18:39:40 2000 Owen Taylor - - * **/Makefile.am : remove unecessary rules for win32-specific - config-substituted targets. If you want these rules, use - --enable-maintainer-mode (called automatically by autogen.sh). - Stops a lot of unneccessary make-time warnings. - - * gtk/gtktext{layout,display}.c: Factor in total width as - well as screen when figuring alignment for word-wrap as well as - no wrap; this is necessary to handle lines that cannot be wrapped - at all. - -2000-11-15 Havoc Pennington - - * gtk/testtext.c: Implement essential color cycling feature - -2000-11-15 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): Invalidate the side windows - when we invalidate the main window. - - * gtk/testtext.c (create_view): Get rid of text_changed_callback, - GtkTextView will now invalidate the side windows for us when text - changes. - -Wed Nov 15 16:02:20 2000 Owen Taylor - - * gtk/gtktextview.c (changed_handler): Call scroll_calc_now() - unconditionally, since we may need to update the horizontal - scrollbars even if the height didn't change. - - * gtk/gtktextlayout.c (add_preedit_attrs): Always get - the extra attrs, since some of them affect size. - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): Factor in - x_offset correctly. - -2000-11-15 Havoc Pennington - - * gtk/gtktextlayout.c (set_para_values): If indent is negative, - don't move the first line out into the margin, instead move the - whole paragraph in order to make space for the first line within - the margin - -2000-11-15 Havoc Pennington - - * gtk/gtktextview.c (changed_handler): offset redraw rect by - xoffset in addition to yoffset, so horizontal scrolling doesn't - break redraws - -2000-11-15 Havoc Pennington - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel - from the cursor - (render_layout_line): fix reversed test that caused weird - underlines to get drawn - -2000-11-15 Alexander Larsson - - * gdk/linux-fb/gdkprivate-fb.h: - Fix debug macros. - -2000-11-15 Alexander Larsson - - * gdk/linux-fb/gdkprivate-fb.h: - Added virtual functions set_pixel, get_color, - fill_span and draw_drawable to the GC. - Added global _gdk_fb_screen_gc to use instead of - NULL when drawing to the screen. - Added _gdk_fb_gc_calc_state() prototype. - - * gdk/linux-fb/gdkgc-fb.c: - Call _gdk_fb_gc_calc_state() on any gc state change. - - * gdk/linux-fb/gdkglobals-fb.c: - Add _gdk_fb_screen_gc - - * gdk/linux-fb/gdkdrawable-fb2.c: - _gdk_fb_gc_calc_state() calculates best functions - for the GC state and depth. - Moved bpp specialized code to separate functions. - Added optimized 24 bpp AA draw_drawable. - - * gdk/linux-fb/gdkevents-fb.c: - Silence gcc warning. - - * gdk/linux-fb/gdkimage-fb.c: - Use _gdk_fb_screen_gc - - * gdk/linux-fb/gdkwindow-fb.c: - Init and use _gdk_fb_screen_gc - - * gdk/linux-fb/mitypes.h: - Remove unused types. - -2000-11-14 Havoc Pennington - - * gtk/gtktextlayout.c (add_cursor): use PANGO_PIXELS() to convert - to pixels - -2000-11-14 Havoc Pennington - - * gtk/testtextbuffer.c (fill_buffer): change "offset" to "rise" - - * gtk/gtktexttypes.h (GTK_TEXT_UNKNOWN_CHAR): Add macro for - unknown char, no real reason we were using a variable. - Remove gtk_text_unknown_char variable. Fix all the text widget - files accordingly. - - * gtk/gtktexttypes.c: Change "unknown character" to 0xFFFC, - since the Unicode spec seems to prefer that character for our - purposes. - -Wed Nov 15 02:18:01 2000 Robert Brady - - * gtk/gtkrc.c (gtk_rc_get_im_module_file): The return - value of g_getenv() isn't freeable, so g_strdup it. - - * modules/input/inuktitut.c: Inuktitut input method. - - * modules/input/Makefile.am: Build this. - -2000-11-14 Elliot Lee - - * gtk/Makefile.am: Install gtk.immodules, needed for operation - of gtk programs. - -Tue Nov 14 20:13:06 2000 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix - reversed > that was causing Home to go to end of previous line. - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore - modified-keypresses (leave for bindings.) - - * modules/input/Makefile.am: Remove useless -export-dynamic - from module LDFLAGS. - -2000-11-14 Havoc Pennington - - * gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel - higher. - - * gtk/gtktextdisplay.c (render_layout_line): Take rise into - account. Also, render rise, underline, background, etc. for - pixbufs as well as text. Also, draw underlines one pixel higher. - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): Add a - PangoAttribute for the rise, so it gets drawn properly. Also, - add the GtkTextAppearance attribute for pixbuf/widget segments - as well; we should go ahead and have rise, underline, background, - stipple work for those - - * gtk/gtktexttag.c: Rename "offset" property to "rise" to match - Pango - -2000-11-15 Tor Lillqvist - - * gtk/makefile.{mingw,msc}.in (gtk_OBJECTS): Add new objects. - - * gtk/gtk.def: Update. - - * gtk/gtkrc.c: Can't check for G_OS_WIN32 until glib.h has been - included. - (gtk_rc_get_im_module_file): Use run-time installation directory - on Win32. - - * gdk/win32/rc/gdk.rc: Remove. - * gdk/win32/rc/gdk.rc.in: New file. - * gdk/win32/rc/Makefile.am: New file - * gdk/win32/Makefile.am: Corresponding changes. - - * gtk/gtk.rc: Remove. - * gtk/gtk-win32.rc.in: New file. - * gtk/Makefile.am: Corresponding changes. - - * configure.in: Corresponding changes. - - * gtk/gtkcompat.h.win32: Remove, useless. A distribution already - has a built gtkcompat.h. Developers using CVS code on Win32 can - hand-edit it from gtkcompat.h.in. - - * gtk/makefile.{mingw,msc}.in: Correspondingly don't try to make - gtkcompat.h from gtkcompat.h.win32. - -2000-11-14 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_drag_motion): Fix drag-and-drop - to default to GDK_ACTION_MOVE if the drag is within a single - widget. Defaults to GDK_ACTION_COPY between widgets. - -Mon Nov 13 14:43:48 2000 Owen Taylor - - * demos/Makefile.am (test-inline-pixbufs.h): Fix srcdir != builddir - - * gtk/Makefile.am (INCLUDES): Add -I$(builddir)/gtk - - * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Handles - srcdir != builddir - - * modules/input/Makefile.am (INCLUDES): add $(top_srcdir)/gdk - - * configure.in (GTK_VERSION): Up to 1.3.2 - - * modules/input/Makefile.am (im_xim_la_SOURCES): Add - gtkimcontextxim.h - - * gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): Add - missing doc comment. - -2000-11-14 Alexander Larsson - - * modules/linux-fb/basic.c: - Use the glib iconv wrappers. - -2000-11-13 Havoc Pennington - - * demos/gtk-demo/textview.c: spiff up the demo a bit; reveals - still more bugs. - - * gtk/gtktextview.c (gtk_text_view_value_changed): don't try to - scroll the GdkWindows before realization. - -2000-11-13 Havoc Pennington - - * gtk/gtktextdisplay.c (gtk_text_render_state_update): fix bug - where GC didn't always get updated properly - - * demos/gtk-demo/textview.c (create_tags): Use subattributes - of fonts instead of setting the entire font - - * gtk/testtext.c (fill_example_buffer): Use "size" instead of - setting entire font - - * gtk/gtkdialog.c (gtk_dialog_add_button): Fix some warnings - - * gtk/gtktexttag.h, gtk/gtktexttag.c: Explode font_desc into - a bunch of individually-settable font attributes. You can still - use the "font" and "font_desc" args, they just set all the font - attributes at once. - -2000-11-13 Elliot Lee - - * gdk/gdk.h: Add a couple of missing G_GNUC_CONST's. - -Mon Nov 13 14:29:32 2000 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_path_copy): confirm path != NULL - * gtk/gtktreemodel.c (gtk_tree_path_free): ditto - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): make - work better. - -2000-11-13 Havoc Pennington - - * gtk/gtkimmodule.c (gtk_im_module_init): Free the filename of - the module file. - - * gtk/gtktexttag.c (gtk_text_attributes_copy): fix memory leak of - dest->language - - * gtk/testtext.c: Test pixels above/below/inside paragraphs - settings - - * gtk/gtktextview.c: Implement object args and setters/getters for - all the aspects of the GtkTextAttributes that are not set from - GtkWidget attributes. This is spacing, justification, margins, - etc. - - (gtk_text_view_set_arg) - (gtk_text_view_get_arg): implement get/set for editable, wrap mode - args - (gtk_text_view_class_init): Add args for justify, left_margin, - right_margin, indent, and tabs - - - * gtk/gtktextlayout.c (set_para_values): fix to display indent - attribute properly - - * gtk/gtktexttag.c: Remove left_wrapped_line_margin attribute, - replace with indent attribute - - * gtk/gtktextlayout.c (set_para_values): multiply indent by - PANGO_SCALE - - * gtk/gtktextdisplay.c (render_para): Use PangoLayoutIter, - rearranging code to do that - (gtk_text_layout_draw): Pass in the y for the whole LineDisplay, - i.e. don't subtract the top_margin first, just to keep - all margin-futzing in one place. - - * gdk/gdkpango.c (gdk_draw_layout): Use PangoLayoutIter - - * gtk/gtktextlayout.c (gtk_text_layout_get_iter_location): Remove - special case of last line, Pango now handles this itself. - (gtk_text_layout_get_iter_at_pixel): Fix incorrect clamp of the - Y coordinate - (gtk_text_layout_move_iter_to_x): port to use PangoLayoutIter - (find_display_line_above): wasn't moving the byte index as it - iterated over lines, so always returned byte 0. Also, port to use - PangoLayoutIter. - (find_display_line_below): same problem as - find_display_line_above. Also, port to use PangoLayoutIter. - -2000-11-13 Alexander Larsson - - * gdk/linux-fb/*.[ch]: - Massive reindent to gtk+ standard. My hands hurt. - - * gdk/linux-fb/gdkcolor-fb.c: - Move GdkColorPrivateFB from inherited to windowing_data - - * gdk/linux-fb/gdkcursor-fb.c: - _gdk_cursor_new_from_pixmap made static - - * gdk/linux-fb/gdkdnd-fb.c: - GdkDragContextPrivate moved to windowing_data - - * gdk/linux-fb/gdkdrawable-fb2.c: - Removed endian.h, use glib endianness macros instead - Some cleanups in the usage of GDK_DRAWABLE_FBDATA - and GDK_DRAWABLE_IMPL_FBDATA - - * gdk/linux-fb/gdkfont-fb.c: - Add empty gdk_font_load(). Needed for linking of Gtk+. - - * gdk/linux-fb/gdkimage-fb.c: - Removed endian.h, use glib endianness macros instead - Moved GdkImagePrivateFB to windowing_data - gdk_image_new_bitmap didn't always allocate enough - memory. - - * gdk/linux-fb/gdkinput-ps2.c: - Added semi-working support for MS serial mice. - - * gdk/linux-fb/gdkprivate-fb.h: - s/GdkWindowPrivate/GdkWindowObject/ - Removed GdkWindowPrivate typedef - s/GDK_DRAWABLE_P/GDK_DRAWABLE_FBDATA/ - Removed GDK_DRAWABLE_P - Move GdkColorPrivateFB from inherited to windowing_data - Moved GdkImagePrivateFB to windowing_data - - * gdk/linux-fb/gdkvisual-fb.c: - Removed some unused debug code. - - * gdk/linux-fb/gdkwindow-fb.c: - Use stock cursors instead of including X headers. - s/GdkWindowPrivate/GdkWindowObject/ - - * gdk/linux-fb/mitypes.h: - Removed unused types. - - * modules/linux-fb/basic.c: - Use the pango fribidi wrappers. - -2000-11-13 Sebastian Wilhelmi - - * gdk/linux-fb/gdkcolor-fb.c, gdk/nanox/gdkmain-nanox.c, - gdk/win32/gdkcolor-win32.c, gdk/win32/gdkwin32id.c, - gdk/x11/gdkcolor-x11.c, gdk/x11/gdkvisual-x11.c, gdk/x11/gdkxid.c, - gtk/gtkgc.c, gtk/gtkrc.c, gtk/gtktext.c: GCompareFunc -> - GEqualFunc where applicable. - - * gdk/linux-fb/gdkpango-fb.c: pango_font_description_compare -> - pango_font_description_equal as changed in pango. - - * gdk/nanox/gdkmain-nanox.c: gdk_xid_compare -> gdk_xid_equal. - - * gdk/win32/gdkcolor-win32.c: gdk_colormap_cmp -> gdk_colormap_equal. - - * gdk/win32/gdkwin32id.c: gdk_handle_compare -> gdk_handle_equal. - - * gdk/x11/gdkcolor-x11.c: gdk_colormap_cmp -> gdk_colormap_equal. - - * gdk/x11/gdkvisual-x11.c: gdk_visual_compare -> gdk_visual_equal. - - * gdk/x11/gdkxid.c: gdk_xid_compare -> gdk_xid_equal. - - * gtk/gtkgc.c: gtk_gc_key_compare -> gtk_gc_key_equal and - gtk_gc_drawable_compare -> gtk_gc_drawable_equal. - - * gtk/gtkrc.c: gtk_rc_style_compare -> gtk_rc_style_equal and - gtk_rc_styles_compare -> gtk_rc_styles_equal. - -2000-11-12 Havoc Pennington - - * demos/gtk-demo/Makefile.am (democodedir): change demo install - dir to datadir/gtk+-2.0/demo - - * demos/gtk-demo/textview.c: Text widget demo; reveals all - sorts of text widget and Pango font bugs. Urgh. - - * demos/gtk-demo/Makefile.am (demos): Add textview.c - - * demos/gtk-demo/main.c (create_tree): Add instructions at top of - tree that you should double click to see the demo. Fix - types of variables to reflect changed return values from - GtkTreeStore and GtkTreeViewColumn constructors. - - * gtk/gtktextbuffer.c (gtk_text_buffer_new): ref/sink the - newly-created buffer to prepare for GObject semantics - - * gtk/testtext.c: don't leak the buffer with GObject semantics - - * gtk/testtextbuffer.c: ditto - -2000-11-12 Havoc Pennington - - Rename this testgtk to gtk-demo to avoid confusion, and - install it so people can use it as a supplement to - the documentation. - - * demos/gtk-demo: Moved from demos/testgtk - - * demos/testgtk: Removed - - * configure.in: make Makefile in gtk-demo - - * demos/gtk-demo/Makefile.am: Install sample source to - datadir/gtk-demo (maybe there's a better place?), and - rename the binary to gtk-demo - - * demos/gtk-demo/main.c (load_file): Load installed sample - source if source isn't found in pwd. - -2000-11-09 Havoc Pennington - - * gtk/gtkentry.c (gtk_entry_class_init): Add an "invisible_char" - argument to set the char displayed when visibility == FALSE - (gtk_entry_create_layout): If !entry->visible, replace - all chars with the "invisible char" - - * gtk/testgtk.c: Test the invisible_char deal - -Mon Nov 13 02:16:33 2000 Robert Brady - - * gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we - can't get a native font in the right encoding. - -Mon Nov 13 00:09:29 2000 Robert Brady - - * configure.in: Chinese .pos have been renamed to zh_CN and zh_TW - respectively. - -Sun Nov 12 19:11:42 2000 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line): - Fix warning when moving between paragraphs. - - * gtk/gtkentry.[ch]: Change move => move_cursor, - delete => delete_from_cursor, insert => insert_at_cursor - -Sun Nov 12 22:52:51 2000 Robert Brady - - * modules/input/imviqr.c: A vietnamese VIQR-based input method. - - * modules/input/imthai-broken.c: A Thai input method for use if - Thai keys are really generating Latin1 keysyms. - - * modules/input/Makefile.am: Build these. - -Sun Nov 12 22:15:35 2000 Robert Brady - - * gtk/gtkfileselection.c, gdk/win32/gdkfont-win32.c: - g_filename_{to,from}_utf8 now takes an extra parameter. - - * gtk/gtkcalendar.c (gtk_calendar_init): Convert output of - strftime into UTF-8. - - (column_from_x, gtk_calendar_paint_day_names): Support RTL - calendars. - - (gtk_calendar_paint_day_names): Draw day names in the right - place. - -Sun Nov 12 14:10:09 2000 Owen Taylor - - * gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text): Fix - problem with using result of g_get_charset() backwards - - pointed out by Mikael Hermansson . - - * gtk/gtkwindow.c (gtk_window_compute_hints): Support - negative min_width/height and max_width/height to - mean "requisition"; this allows setting a window - to be user-resizable in only one direction easily. - - * gtk/testgtk.c (create_main_window): Remove hard-coded - usize - set a default size in the vertical direction. - -Sun Nov 12 13:33:01 2000 Owen Taylor - - * gtk/gtkrange.c: Add some missing casts. Support - 2 and 3 button clicks on the arrows to mean - "move by pages" and "jump to end". (Like gtkspinbutton) - -2000-11-12 Hans Breuer - - * gdk/win32/makefile.msc : reflect build module changes - - * gdk/win32/gdkcursor-win32.c : can't cast to impl type directly - from GdkPixmap*, cast implementation member instead. - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_drawable) : The - passed in drawable is of type GdkDrawableImplWin32, the GdkPixmap *src - maybe either GdkDrawable or GdkDrawableImpl. Corrected all casts, add - more Gdi functions return value checking. - (gdk_win32_draw_image) : use IMAGE_PRIVATE_DATA to get on the - GdkImagePrivateWin32 *. - - * gdk/win32/gdkevents-win32.c : Disable the SetCapture call to make - menus useable again. Add #pragma message to keep reminded on this issue. - (gdk_event_translate) : don't generate GDK_EXPOSE events for InputOnly - windows. This allows to enable backing store on Win32! - - * gdk/win32/gdkimage-win32.c (_gdk_win32_get_image) : the passed - in drawable is of impl type. Correct specific type checks appropriate. - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data) : check - GDK_WINDOW_DESTROYED before allocating new resources. - - * gdk/win32/gdkselection-win32.c : Handle GDK_WINDOW_DESTROYED case - - * gdk/win32/gdkwindow-win32.c : more Gdi return value checking, - (gdk_window_foreign_new) initialize parent handle. - (gdk_window_destroy_notify) add GDK_IS_WINDOW check - - * gdk/win32/gdkgeometry-win32.c (_gdk_window_move_resize_child) : - Let the GDI invalidate the window on MoveWindow call to fix scrolling - problems (e.g. main buttons in testgtk). - -Sat Nov 11 23:07:30 2000 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_key_press): Call - gtk_widget_activate for GDK_Return. - - * gtk/gtkentry.c (gtk_entry_preedit_changed_cb): Fix handling - of preedit cursor position. - -Sun Nov 5 04:24:53 2000 Owen Taylor - - * gtk/gtkcellrenderertextpixbuf.c: Make parent_class - static. - -Tue Sep 19 10:54:22 2000 Owen Taylor - - * modules/input/{gtkimcontextxim.[ch],imxim.c}: Rip - out support for multiple locales; that simple doesn't - work reliably with current Xlib - - * gtk/gtkimcontext*.[ch] gtk/gtkimmulticontext.[ch] - gtk/gtktextlayout.[ch] gtk/gtktextview.c gtk/gtkentry.c: - Add support for positioning the cursor within the preedit string. - -Mon Sep 18 23:56:32 2000 Owen Taylor - - * modules/input/{imxim.c,gtkimcontextxim.[ch]}: Start - at XIM input method module. - - * gtk/gtktextview.c: Check for bindings after passing - events to im context filter. - -Mon Sep 18 11:50:51 2000 Owen Taylor - - * gtk/gtktextlayout.c (add_preedit_attrs): Handle - empty attribute lists properly. - -Sun Sep 17 10:08:16 2000 Owen Taylor - - * gtk/queryimmodules.c (main): Return non-zero exit - status if errors were encountered querying any - modules. - - * modules/input/Makefile.am (moduledir): remove - leftover bin program target. - - * docs/make-todo: Fix typo in error message. - -Sat Sep 16 14:04:30 2000 Owen Taylor - - * configure.in: Add modules/input/Makefile - -Sat Sep 16 14:01:52 2000 Owen Taylor - - * gtk/gtk.h: include gtkmodule.h gtkoldeditable.h, - don't include gtkthemes.h. - - * gtk/testgtk.c gtk/testtext.c: Set environment variables - to point - - * gtk/Makefile.am: Add new .c and .h files, build - gtk-query-immodules and use it to create a gtk.immodules - file for use of test programs. - - * gtk/gtkpreview.c: remove extra blank line. - -Sat Sep 16 13:21:04 2000 Owen Taylor - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_add_table): - Add the ability to add extra tables beyond the default - one, and also the ability to have compose sequences - that are prefixes of other compose sequences. - - * gtk/gtkimcontextsimple.c: Export a preedit string which - consists of possible candidates for keystrokes that have - been entered but not yet committed. - - * gtk/gtkimcontext.[ch] gtk/immulticontext.[ch] - gtk/gtkimcontextsimple.[ch]: add gtk_im_context_reset() - - * gtk/gtkmulticontext.[ch] (gtk_im_multicontext_append_menuitems): - Add a function to add input-method switching menu items - to a menu. - - * gtk/gtkimmulticontext.[ch]: Properly handly set_client_window - when switching input methods. - - * gtk/gtkimcontextsimple.[ch]: Change the format of - the compose table to allow compose tables of different - lengths / sequence. - -Sat Sep 16 13:05:48 2000 Owen Taylor - - * gtk/gtkimmodule.[ch]: Support routines for loading - GtkIMContext implementations dynamically at runtime. - - * modules/input/imcyrillic-translit.c: A sample input - method (based on GtkIMContextSimple with an extra table), - which demonstrates preedit strings and the module - system for input modules - - * gtk/queryimmodules.c: Program to query the available - input modules and write the results into a file. - - * gtk/gtkrc.[ch] (gtk_rc_get_im_module_file): Add - extra config options "im_module_file" (cache file for - input method modules), and "im_module_path" - path - to look for modules when generating cache file. - - This doesn't scale. - -Sat Sep 16 13:09:06 2000 Owen Taylor - - * gtk/gtkthemes.[ch] gtk/gtkmodule.[ch]: Move most of the - generic code from gtkthemes into a new abstraction - GtkModule which has the logic for implementing - a loadable module which implements a number of - GObject types. - -Sat Sep 16 13:07:13 2000 Owen Taylor - - * gtk/gtkeditable.[ch]: Convert GtkEditable from - a class into an interface - - * gtk/gtkoldeditable.[ch]: Move the old editable - implementation into here, so legacy widgets can - still rely on the implemenation. GtkOldEditable - exports GtkEditable. Make selection handling - code use new text conversion functions (and - handle UTF-8 as a side-effect). Use GtkClipboard - for CLIPBOARD. - - * gtk/gtktext.[ch] gtk/gtkcombo.c gtk/gtkspinbutton.c: - Adopt to match above changes. - - * gtk/gtkentry.[ch]: Implement GtkEditable directly, - avoid GtkOldEditable implementation. Restructure - to reduce number of places that modify state directly. - Move to GtkBindingSet. Display the preedit string. - Queue recomputation of PangoLayout and scroll position - to improve effiency of doing complex changes naively. - Add a menu with cut/copy/paste and input method selection. - -Thu Sep 14 22:11:05 2000 Owen Taylor - - * gtk/gtktextlayout.[ch]: Add gtk_text_layout_set_preedit_string() - to set preedit string and attributes; display preedit string by - inserting string and attributes at cursor when creating the - GtkTextLineDisplay. - - * gtk/gtktextlayout.c: Move all conversions between byte - positions in PangoLayout and GtkTextIter into new functions - line_display_iter_to_index/index_to_iter that properly - handle the preedit string. - - * gtk/gtktextmark.[ch]: Restore gtk_text_mark_get_name, modify - it to return const char * (eventually will end up - as GCONST char *, most likely.) - - * gtk/gtktextview.[ch]: Handle the preedit string, call - gtk_im_context_reset() as necessary, add a menu to switch - input methods. - - * gtk/gtktextlayout.[ch]: Remove useless - gtk_text_layout_get_log_attrs() function. - -2000-11-11 Tor Lillqvist - - * gdk/gdk.def - * gtk/gtk.def: Update. - - * gdk/win32/*.c: Add last argument to g_type_register_static() - calls. - - * gdk/win32/gdkwindow-win32.c: Silence gcc -Wall. - - * gdk/win32/gdkevents-win32.c: Handle MSH_MOUSEWHEEL messages - generated by older wheel mouse drivers. Get the correct y - coordinate from WM_MOUSEWHEEL messages. - - * gdk/win32/gdkgc-win32.c (gdk_win32_cap_style_to_string, - gdk_win32_fill_style_to_string, gdk_win32_function_to_string, - gdk_win32_join_style_to_string, gdk_win32_line_style_to_string): - Debugging functions. - - * gdk/win32/gdkprivate-win32.h: Declare them. - - * gdk/win32/gdkinput-win32.h: Add declaration for - gdk_input_window_destroy(). - - * gtk/makefile.mingw.in: Pass -DGTK_VERSION. Add gtktreemodel.o. - -Fri Nov 10 19:06:41 2000 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): New - function to help handle keeping things in sync. - -Fri Nov 10 12:10:34 2000 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_model_simple_class_init): use the new - BOXED marshallers. - - * gtk/gtkliststore.c (gtk_list_store_get_column_type): Add this. - (gtk_list_store_class_init): use the new BOXED marshallers. - - * gtk/gtktreestore.c (gtk_tree_store_new_with_types): change - new_with_values to new_with_types. - (gtk_tree_store_get_column_type): add this. - (gtk_tree_store_class_init): use the new BOXED marshallers. - - * gtk/gtkmarshal.list: Added a number of BOXED marshallers to - mirror some POINTER marshallers. - -Thu Nov 9 11:23:22 2000 Jonathan Blandford - - * gtk/gtktreemodel.h (struct _GtkTreeIter): added more fields to - allow more interesting iterators. Also, made the lifecycle of - iterators more explicit. - - * gtk/gtktreemodelsort.[ch]: New model for sorting. - - * gtk/gtk-boxed.defs (GtkTreeIter, GtkTreePath): Added two boxed - types. - -2000-11-09 Alexander Larsson - - * demos/testgtk/menus.c: - Changes to make the new testgtk compile after - gtk_menu_append was removed. - - * gdk/linux-fb/gdkdrawable-fb2.c - (gdk_fb_get_depth, gdk_fb_get_visual, - gdk_drawable_impl_fb_class_init): Implement - these drawable functions. Now GtkImages work again. - - * gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Change prototype. - - * gdk/linux-fb/gdkprivate-fb.h (_gdk_fb_get_image): Change prototype. - - * gdk/linux-fb/gdkmain-fb.c (fb_modes_parse_mode, - gdk_fb_setup_mode_from_name, gdk_fb_set_mode, gdk_fb_display_new); - Parse /etc/fb.modes, use the environment variables GDK_DISPLAY_MODE, - GDK_DISPLAY_DEPTH, GDK_DISPLAY_WIDTH, GDK_DISPLAY_HEIGHT. - -2000-11-08 Havoc Pennington - - * gtk/gtktexttag.c (gtk_text_tag_class_init): Add visible and - visible_set args, don't know where these had gone, I thought they - used to be there - - * gtk/testtext.c: Add a menu item to apply invisibility tag; - now we can test the feature and see that it's totally broken. - -2000-11-08 Havoc Pennington - - Make DND copy pixbufs and tags when source and target share a - tag table. - - * gtk/gtktextview.c (gtk_text_view_drag_data_get): provide the - in-process GTK_TEXT_BUFFER_CONTENTS target - (gtk_text_view_drag_data_received): Paste from - GTK_TEXT_BUFFER_CONTENTS if we receive it. - -2000-11-08 Alexander Larsson - - * docs/Changes-2.0.txt: Add note about GtkMenuPositionFunc - API changes. - - * gtk/gtkmenu.c: Add support for scrolling menus. - Remove gtk_menu_append/prepend/insert, these have been moved to - gtkcompat.h as #defines. - - * gtk/gtkcompat.h.in: - Add compatibility #defines for gtk_menu_append/prepend/insert - - * gtk/gtkmenu.h: Add data needed for scrolling menus. - GtkMenuPositionFunc gets an extra argument push_in. - gtk_menu_append/prepend/insert removed. - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Change menu - positioning behaviour to fit to scrolling menus. - - * gtk/gtkmenuitem.c (gtk_menu_item_forall): Don't recurse - into menuitem->submeny. That is wrong, and broke torn - off submenus of torn off menus, since they were unrealized - when the first menu was unrealized. - - * gtk/gtkmenushell.[ch]: Virtualize gtk_menu_shell_insert() and - gtk_menu_shell_select_item() since these need to be overridden in - GtkMenu. - - * gtk/gtkoptionmenu.c (gtk_opttion_menu_position): Change menu - positioning behaviour to fit to scrolling menus. - (gtk_option_menu_key_press, gtk_option_menu_button_press): Select - the current item so that it is prelighted when the menu pops up. - This is a workaround to the fact that the menu doesn't get the - initial enter event (due to grabs). - - * gtk/gtkfilesel.c, gtk/gtkinputdialog.c, gtk/testgtk.c: - s/gtk_menu_append/gtk_menu_shell_append/ - - * gtk/gtknotebook.c: - s/gtk_menu_insert/gtk_menu_shell_insert/ - - * gtk/testgtk.c (create_menu, create_menus): - Create the first menu with 50 items so that menu scrolling - can be tested. - - - Patch from Jonathan Blandford - - * gtk/gtkmenuitem.[ch] (gtk_menu_item_toggle_size_request): new - system to handle size requests. First, we ask what the size of - the toggle is. Then, when allocating the size, we allocate the - toggle_size first. This way we can have multiple menu-item - classes w/o needing a seperate class for each. - - * gtk/gtkmenu.c (gtk_menu_size_request): Actually use the new system. - * gtk/gtkmenu.c (gtk_menu_size_allocate): Use the new system. - - * gtk/gtkcheckmenuitem.c - (gtk_check_menu_item_toggle_size_request): New function to handle - the toggle size-request. - -2000-11-07 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_get_iter_location): - Half-ass somewhat fix this function, so that scrolling to the - insertion point works. Pango hacking is in the future to really - fix it. - - * gtk/gtktextview.c (gtk_text_view_drag_data_get): Don't calculate - length of data, no longer used. - - * gtk/gtktextbuffer.c (gtk_text_buffer_finalize): move destroy - method contents in here, get rid of destroy method - (gtk_text_buffer_insert_range): Fix some g_return_if_fail checks - that were backward. Remove debug spew. - (cut_or_copy): Make the clipboard work with insert_range to - preserve tags and pixbufs, not just the primary selection. - -2000-11-07 Havoc Pennington - - * gtk/gtktextmark.c (gtk_text_mark_is_visible): rename - to gtk_text_mark_get_visible - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): fix - bug that was generating an invalid iterator - - * gtk/gtktextiter.c (gtk_text_iter_get_offset): move call to - ensure_char_offsets() in front of code placing the iter in an - invalid state. - - * gtk/gtktextbuffer.c (gtk_text_buffer_paste_primary): - make override_location arg const - (paste): Replace the selection if we paste into the - current selection - - * gtk/gtkselection.h: Remove "GtkSelectioData" - (struct _GtkSelectionData): move the definition here. - - * gtk/gtktextbuffer.c (gtk_text_buffer_update_primary_selection): - Export the GTK_TEXT_BUFFER_CONTENTS target for in-process copies - - * gtk/gtktextiter.c (gtk_text_iter_get_tags): New function - - * gtk/gtktextbuffer.c (gtk_text_buffer_insert_range): implement - (gtk_text_buffer_insert_range_interactive): implement - (gtk_text_buffer_get_tags): Remove, replaced by - gtk_text_iter_get_tags() - - * gtk/gtktextiter.c (gtk_text_iter_forward_search): Add a search - limit parameter, to avoid infinite linear scan. - (gtk_text_iter_backward_search): Add search limit - (gtk_text_iter_forward_find_char): Add search limit - (gtk_text_iter_backward_find_char): Add search limit - -2000-11-07 Alexander Larsson - - * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c, - gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkimage-fb.c, - gdk/linux-fb/gdkpango-fb.c, gdk/linux-fb/gdkpixmap-fb.c, - gdk/linux-fb/gdkwindow-fb.c: - use g_object_new() instead of g_type_create_instance() which - is a private function for fundamental type implementations. - - * gdk/linux-fb/gdkinput-ps2.c: - Use MEDIUMRAW instead of RAW keycodes. Remove keyboard state-table - instead just store the current modifier state. Add a (somewhat broken) - keyboard input parser for XLATE mode too, if we couldn't use MEDIUMRAW. - Rename exported function gdk_input_ps2_get_mouseinfo to - gdk_input_get_mouseinfo. - - * gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkprivate-fb.h, - gdk/linux-fb/gdkwindow-fb.c: - gdk_input_ps2_get_mouseinfo was renamed to gdk_input_get_mouseinfo. - - -2000-11-02 Havoc Pennington - - * gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and - use stock buttons. Should be 100% source compatible, appropriate - filesel fields now point to dialog->vbox and dialog->action_area. - On the bizarre side, dialog->action_area and filesel->action_area - are not the same widget. - (gtk_file_selection_init): Put some padding around the selection - entry, so it isn't touching the GtkDialog separator. - - * gtk/gtkfontsel.h, gtk/gtkfontsel.c: Derive from GtkDialog, - use stock buttons, etc. Should also be source compatible. - Set the dialog default title in _init not _new(). - - * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): - Use stock buttons; don't put a button box inside the existing - dialog button box. Don't bother with push/pop colormap anymore. - - * gtk/gtkdialog.h (GtkResponseType): Add a bunch of more - specific GTK_RESPONSE_* values. This is clearer than ACCEPT/REJECT - for message dialog, and necessary for the font selection and color - selection with help and apply buttons. - - * gtk/gtkdialog.c (gtk_dialog_add_button): Return a pointer - to the created button widget. Set GTK_CAN_DEFAULT on the button. - (gtk_dialog_init): Default to GTK_BUTTONBOX_END, put less spacing - between buttons, put less padding around the action area. - (gtk_dialog_run): Exit on unmap rather than on destroy. - This will also exit the loop if the widget is hidden. - (gtk_dialog_delete_event_handler): Use GTK_RESPONSE_DELETE_EVENT - instead of GTK_RESPONSE_NONE; since we're already adding a bunch - of GTK_RESPONSE_* stuff, this seems cleaner, and lets you - special-case delete event. - - * gtk/gtktexttagtable.c, gtk/gtktextview.c: Fix doc comment - formatting - -Sun Nov 5 05:32:39 2000 Tim Janik - - * gtk/testgtk.c (uposition_stop_configure): provide a toggle - button to temporarily disable position recording in the - "saved position" test. - -Sat Nov 4 05:37:17 2000 Tim Janik - - * gtk/gtkthemes.c: added compat code that temporarily implements - GtkThemeEnginePlugin as a GObject exporting GTypePlugin. this is - going to be revamped by owen's upcoming GtkModule patches, but - untill then people want gtk to build, right? ;) - -2000-11-04 Havoc Pennington - - * gtk/gtkenums.h: remove trailing comma from GtkDeleteType member - list - - * docs/Changes-2.0.txt: Add note about - gtk_container_get_toplevels() - - * gtk/gtktextview.h: formatting - - * gtk/gtktextview.c: don't start descriptions with "Returns", - confuses gtk-doc - -Sat Nov 4 10:12:27 2000 Owen Taylor - - * autogen.sh: When doing sanity checking on ACLOCAL_FLAGS, - look for glib-2.0.m4 not glib.m4. (Ali Abdin) - -2000-11-03 Havoc Pennington - - * gtk/gtktexttagtable.c: Docs - (gtk_text_tag_table_size): return a signed int - - * gtk/gtktexttag.c: s/tkxt/text/g; write documentation - (gtk_text_tag_event): make the event_object a GObject - - * gtk/gtktextview.c: Write API docs for all functions. - - * gtk/gtktextview.h: add GTK_TEXT_WINDOW_PRIVATE as return value - for gtk_text_view_get_window_type() called on one of the private - windows. - - * gtk/gtktextview.c: Instead of accessing text_view->buffer - directly, call get_buffer() which demand-creates a default - buffer. So gtk_text_view_new() can be used to create a view with a - default buffer in it, if you just want an empty text box users can - put data in. Useful for GUI builders also. - -2000-11-03 Pablo Saratxaga - - * gtk/gtkrc.zh_TW.*: moved gtkrc.zh_TW.Big5 to gtkrc.zh_TW.big5; - the charset encodign portion MUST be in lowercase. - * gtk/gtkrc.az: added file for Azeri language - -2000-11-03 Havoc Pennington - - Get widgets working on the btree/buffer side. Display of them - still doesn't work. - - * gtk/gtktextview.c: start implementing child widget stuff - - * gtk/gtktextiter.c (gtk_text_iter_get_child_anchor): new function - - * gtk/gtktextlayout.c: handle embedded widgets - - * gtk/gtktextdisplay.c: handle embedded widgets - - * gtk/gtktextchild.c: Implement all the child anchor goo - - * gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor): New - function - - * gtk/gtktextbtree.c: Add child anchor table to the btree struct - (insert_pixbuf_or_widget_segment): abstract out common portions of - creating a child anchor or a pixbuf segment. - (gtk_text_btree_create_child_anchor): new function - (gtk_text_btree_unregister_child_anchor): new function - - * gtk/gtkmarshal.list: added VOID:OBJECT,INT,INT for the - allocate_child signal on GtkTextLayout - - * gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): fix bogus return - values - (gtk_text_iter_get_child_anchor): new function - - * gtk/gtktextbuffer.c (gtk_text_buffer_real_changed): Add a - default handler for the changed signal, which calls - gtk_text_buffer_set_modified(), instead of just always emitting - changed then calling set_modified() manually. I guess this is - maybe more flexible. It seems logical. - -Fri Nov 3 08:58:38 2000 Tim Janik - - * gtk/gtkobject.c: _g_signal_handlers_destroy() is prefixed with '_' - now. - - * gtk/gtksignal.c: use g_signal_connect_closure_by_id() now. - -Thu Nov 2 14:10:51 2000 Owen Taylor - - * gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have - been marked static. - -2000-11-02 Havoc Pennington - - * gtk/testgtk.c (create_labels): had a test backward - - * gdk/x11/gdkgc-x11.c (gdk_gc_copy): Copy the client-side GC - fields, so the dest GC ends up with the correct clip origin, - etc. Fixes a bug where colored labels didn't redraw - properly. - -2000-11-02 Alexander Larsson - - * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c, - gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c, - gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c: - Add last argument to t_type_register_static call. - - * gdk/linux-fb/gdkdrawable-fb2.c: - Add last argument to t_type_register_static call. - export the get_image drawable virtual function. - - * gdk/linux-fb/gdkimage-fb.c: - Add last argument to t_type_register_static call. - rename gtk_image_get to _gdk_fb_get_image and - export it for use by gdkdrawable-fb2. - - * gdk/linux-fb/gdkprivate-fb.h: - export _gdk_fb_get_image. - - * gdk/linux-fb/gdkselection-fb.c: - Add new api call stubs. - - * gtk/Makefile.am: - Missing ( in linux-fb part. - - * modules/linux-fb/Makefile.am: - Must link with gdk_pixbuf or get unresolved symbol. - -2000-11-01 Havoc Pennington - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use - GTK_TYPE_TEXT_ITER and BOXED marshallers - - * gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): ditto - - * gtk/gtktexttag.c (gtk_text_tag_class_init): ditto - - * gtk/gtk-boxed.defs: add GtkTextIter - - * gtk/gtkmarshal.list: Add marshallers for text widget that - properly use OBJECT and BOXED - -2000-11-01 Havoc Pennington - - * gtk/testgtk.c (create_labels): Test set_markup_with_accel() - - * gtk/gtklabel.c (set_markup): Convert the unichar to a GDK keyval - before returning it. - -2000-11-01 Havoc Pennington - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha): - Clip the rectangle to be rendered to the drawable, since - get_from_drawable() requires a region within the drawable - -2000-11-01 Havoc Pennington - - * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4 - from coordinates. - -Wed Oct 25 20:10:57 2000 Owen Taylor - - * gdk/gdkevents.c (gdk_event_copy): Only ref the window if - it isn't NULL. - -2000-11-01 Havoc Pennington - - * gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList - on a label - (gtk_label_finalize): unref the attr list if any. - - * gtk/testgtk.c (create_get_image): close test on second click - (make_message_dialog): close dialog if it exists - - * gdk/gdkpango.c (gdk_draw_layout): Handle rise attribute - - * gdk-2.0.pc.in (Requires): Make it require gdk-pixbuf-2.0 not - gdk-pixbuf - - * gtk/gtklabel.c (gtk_label_set_markup): new function to set label - from Pango markup format - (gtk_label_set_markup_with_accel): ditto but with accelerator - parsing - - * gtk/gtkimage.c (gtk_image_expose): reformatting. - - * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Hack to - reflect current state of GDK - use gdk_drawable_get_colormap, etc. - Check GDK_IS_WINDOW() not !GDK_IS_PIXMAP() to decide whether to - call gdk_window_get_origin(). - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha): - implement GDK_PIXBUF_ALPHA_FULL - -Wed Nov 1 03:43:42 2000 Tim Janik - - * gtk/gtksignal.c (gtk_signal_compat_matched): make use of - g_signal_handlers_block_matched, g_signal_handlers_unblock_matched and - g_signal_handlers_disconnect_matched to block/unblock and disconnect - multiple handlers respectively, instead of only treating the - first handler found (bug reported by owen). - -Mon Oct 30 19:23:50 2000 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_expand_row): New function. - - * gtk/gtktreeview.c (gtk_tree_view_collapse_row): New function. - - * gtk/gtktreeview.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c - gtk/gtktreestore.h, gtk/gtktreeview.h, gtk/gtktreeviewcolumn.c, - gtk/gtktreeviewcolumn.h: Fixed inline docs. - - * docs/reference/gtk/tree_widget.sgml: Proto intro to the tree - widget. Needs writing someday. - - * docs/reference/gtk/tmpl/gtktree*sgml: Added the tree widget to - the docs. - -2000-10-30 Havoc Pennington - - * gtk/gtktextview.h, gtk/gtktextview.c: - Rename delete_at_cursor delete_from_cursor, and - move to move_cursor. - -2000-10-30 Havoc Pennington - - * gtktextbtree.c, gtktextbtree.h, gtktextbuffer.c, - gtktextbuffer.h, gtktextchild.c, gtktextchild.h, - gtktextchildprivate.h, gtktextdisplay.c, gtktextdisplay.h, - gtktextiter.c, gtktextiter.h, gtktextiterprivate.h, - gtktextlayout.c, gtktextlayout.h, gtktextmark.c, gtktextmark.h, - gtktextmarkprivate.h, gtktextsegment.c, gtktextsegment.h, - gtktexttag.c, gtktexttag.h, gtktexttagprivate.h, - gtktexttagtable.c, gtktexttagtable.h, gtktexttypes.c, - gtktexttypes.h, gtktextview.c, gtktextview.h: - - Massive reindentation and reformatting. Arg alignment and comments - still need fixing in various places. - -2000-10-30 Havoc Pennington - - * gtk/gtktextview.h, gtk/gtktextview.c: Change run action signals - to be named insert_at_cursor and delete_at_cursor so C++ can - handle them. - -2000-10-28 Tor Lillqvist - - * gtk/gtkrc.c (gtk_rc_append_default_module_path): Make sure not - to get a double directory separator in case the home directory - ends with one. This would cause trouble especially on Windows, - where the path will be confused with the syntax for an an UNC - (network share) path \\server\share\path. - (gtk_rc_add_initial_default_files): Ditto. - -Sat Oct 28 02:33:09 2000 Robert Brady - - * gtk/gtkmarshal.list: add new marshallers for GtkTextView. - - * gtk/gtktextview.c: Use correct marshallers. - -Fri Oct 27 17:56:26 2000 Jonathan Blandford - - * gtk/gtkliststore.c: Not sure how this ever worked. Fixed it to - use new iter stuff, and added all the appropriate signals et al. - - * gtk/gtktreedatalist.h: s/gtk/_gtk to further reinforce that this - code is internal to gtk only. - -2000-10-28 Tor Lillqvist - - * gtk/gtk.def - * gtk/makefile.{mingw,msc}.in: Adjust to Tim's changes. Use - glib-genmarshal etc. - -Fri Oct 27 20:15:00 2000 Tim Janik - - * gtk/Makefile.am: added dependancies for testtextbuffer which broke - parallel builds. - -Fri Oct 27 18:51:44 2000 Tim Janik - - * gtk/gtksignal.[hc]: adapt to GSignal signature changes. - -2000-10-27 Robert Brady - - * configure.in (ALL_LINGUAS): Add en@IPA (English, phonetic), - en_GB (British), ia (Interlingua). - -2000-10-26 Havoc Pennington - - * gtk/gtktextiter.c (my_strrstr): fix constness warning - - Fixed output of: - nm -g -l .libs/libgtk-x11-1.3.so | grep ' T ' | grep -v gtk_ | grep -v GTK_ - - * gtk/gtktextsegment.c (char_segment_new): rename - (_char_segment_new_from_two_strings): rename - (_toggle_segment_new): rename - - * gtk/gtkclipboard.c (ensure_clipboard_widget): make this static - (make_clipboard_widget): make it static - (text_get_func): static - (text_clear_func): static - - * gtk/gtkcolorsel.c (adjustment_changed): make this function - static - (hex_changed): make it static - (hsv_changed): make it static - (opacity_entry_changed): make it static - - * gtk/gtktextbtree.c (change_node_toggle_count): rename with _gtk - (toggle_segment_check_func): rename with _gtk - - * gtk/gtktextchild.c (_pixbuf_segment_new): rename with _gtk - (_widget_segment_new): rename - (_widget_segment_add): rename - (_widget_segment_remove): rename - (_widget_segment_ref): rename - (_widget_segment_unref): rename - - * gtk/gtktextmark.c (_mark_segment_new): Rename - _gtk_mark_segment_new - -2000-10-26 Havoc Pennington - - * gtk/gtkmarshal.list: add new marshallers used by the text widget - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): fix marshaller - types - - * gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): fix - marshaller types - - * gtk/gtktextlayout.h, gtk/gtktextlayout.c, gtk/gtktextdisplay.h, - gtk/gtktextdisplay.c: We need to preserve Tk copyrights and - license on these files. - - * gtk/gtktextiter.c (gtk_text_iter_backward_search): Make this - work. - - * gtk/gtktextbtree.c (gtk_text_btree_new): init stamps to - runtime random number different for each tree, instead of - a constant I made up. - -Thu Oct 26 07:36:16 2000 Tim Janik - - * gtk/Makefile.am: buncha cleanups, kludged build sources - dependencies with a Makefile: oldest-source-stamp dependancy - for the moment. automake is really fighting us here, with - intentionally not allowing user-defined rules or dependancies - prior to it's -include $(DEP_FILES) statement. sucks rocks! - - * gtk/Makefile.am: added gtktextlayout.h and gtktextdisplay.h - to public headers. tehy have a comment stating that they are - "semi-public" aren't included by gtk.h and if enums popup there, - they can be /*< skip >*/-ed. - - * gtk/gtktextlayout.h: - * gtk/gtktextdisplay.h: indentation fixes, comment fixes, - added LGPL... - -Wed Oct 25 20:40:25 2000 Jonathan Blandford - - * gtk/gtktreemodel.h: Got rid of GtkTreeNode, and changed it to - GtkTreeIter. Added iterators everywhere. - - * gtk/gtktreeviewcolumn.c: Changed to use the iterators. - - * gtk/gtktreeviewselection.c: Changed to use the iterators. - - * gtk/gtktreestore.c: Changed to use the iterators. - - * gtk/gtkliststore.c: Commented out the code. Will convert to - iterators tomorrow. - - * gtk/gtkmodelsimple.c: Commented out the code. Will convert to - iterators tomorrow. - - * gtk/treestoretest.c: Changed to use iterators. - - * demos/testgtk/main.c: Moved to use the new iterator system. - -Thu Oct 26 02:10:32 2000 Tim Janik - - * gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid - localization misbehaviour. - - * gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's - a useless type without copy/free. - - * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead - of GTK_TYPE_CTREE_NODE. - -Thu Oct 26 00:51:52 2000 Tim Janik - - * gtk/gtksignal.c: - (gtk_signal_emitv): use g_value_set_static_{string|boxed} where - applicable. - - * gtk/gtk-boxed.defs (GtkSelectionData): specify - gtk_selection_data_copy and gtk_selection_data_free - do GtkSelectionData work as params in signals. - -Wed Oct 25 20:47:41 2000 Tim Janik - - * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed - implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that, - couldn't they at least give it a non-standard name? - - * gtk/gtktextlayout.c: arg! yet another implementation of - gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy? - - * gtk/gtktextbuffer.c: gotcha! captured a vagabonding - gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back - home. now i know this _is_ a conspiracy. - - * gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for - ::state-changed. - - * gtk/gtkaccelgroup.c (gtk_accel_group_create_remove): - (gtk_accel_group_create_add): marshaller signature fixups. - - * gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups, - pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM. - - * gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid - anymore. - -Tue Oct 24 23:59:21 2000 Tim Janik - - * docs/reference/Makefile.am: disabled SUBDIRS for the moment, since - due to the signal system changes, it wouldn't build currently. to - be fixed soon. - - * docs/Changes-2.0.txt: GtkSignal/GSignal updates. - - * gtk/gtkwidget.c: ::direction_changed takes an enum as argument, - so it needs gtk_marshal_VOID__ENUM() instead of - gtk_marshal_NONE__UINT(). - - * gdk/gdk*.c: adapted type registration functions. - - * gtk/gtkbindings.c: - * gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is - gone. - - * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType. - - * gtk/gtkobject.c: - (gtk_object_destroy): - (gtk_object_shutdown): fixed recursion guards. basically we have to - catch the case where any of GObject.shutdown() or gtk_object_destroy() - is called during ::destroy, and avoid recursion there. - - * gtk/gtktypeutils.c: - * gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with - boxed_copy/boxed_free. this needs a more general solution based on a - publically installed code-generator utility. - - * gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED, - glib's gobject has support for that now. - define GtkSignalMarshaller in terms of GSignalCMarshaller. - -Mon Oct 23 09:36:42 2000 Tim Janik - - * gtk/gtksignal.[hc]: - * gtk/gtkmarshal.[hc]: - * gtk/Makefile.am: generate marshallers with glib-genmarshal and don't - compile gtkmarshal.c on its own anymore, just include it in gtksignal.c. - removed #include s all over the place, gtksignal.h takes - care of that. - - * *.c: marshaller name fixups. - - * gtk/gtkmarshal.list: added a comment briefing the format. - -Sun Oct 22 23:14:39 2000 Tim Janik - - * gtk/gtksignal.[hc]: nuked old implementation. we mostly have - compatibility macros here now. more specifically, most of - the API is preserved (yes, _most_, nonwithstanding the - following exceptions listed, the API is stil lHUGE ;) - things that got removed completely: - GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(), - gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(), - gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(), - gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(), - gtk_signal_remove_emission_hook(). - non-functional functions variants: - gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook(). - the GtkCallbackMarshal argument to gtk_signal_connect_full() is - not supported anymore. - (gtk_signal_compat_matched): new internal function to aid - implementation of the compatibility macros, it provides - functionality to block/unblock/disconnect handlers based - on func/data. - - * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType, - - * *.c: adaptions to new type registration API signatures. - -Fri Oct 20 15:26:33 2000 Tim Janik - - * gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge. - -2000-10-25 Robert Brady - - * gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change, - gdk_property_delete): If window == NULL, assume the root window. - (restoring the behaviour that was in 1.2). - - * gtk/testtext.c (save_buffer): Allow creation of new files when - saving. - - (fill_file_buffer): Don't die if a UTF-8 sequence is split across - calls to read(). - -2000-10-25 Tor Lillqvist - - * gdk/gdkwindow.c: Include x11/gdkx.h only when building for X11. - - * gdk/win32/gdkdrawable-win32.c - * gdk/win32/gdkimage-win32.c - * gdk/win32/gdkprivate-win32.h: Corresponding changes as in the - X11 backend. - - * gdk/win32/gdkcc-win32.c - * gdk/win32/gdkcolor-win32.c - * gdk/win32/gdkfont-win32.c - * gdk/win32/gdkinput-win32.c - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkproperty-win32.c: Silence gcc -Wall. - -2000-10-24 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_scroll_to_mark_adjusted): make - it a static function - - * gtk/gtktextbtree.c (gtk_text_btree_tag): Gee, maybe we should - redraw text when a tag is applied to it. - - * gtk/gtktexttag.c (gtk_text_tag_affects_size) - (gtk_text_tag_affects_nonsize_appearance): private functions to - see if a tag requires various kinds of redraw/layout to be queued - up. - - * gtk/gtktexttag.h (struct _GtkTextTag): Remove relief crackrock - - * gtk/testtext.c (fill_example_buffer): Put the cursor - at the start of the buffer, so search works by default - - * gtk/gtktextiter.c (lines_match): init match_start always - - * gtk/gtktextbuffer.c (gtk_text_buffer_get_iter_at_line_index): New - function, get iter at a line + a byte index - - * gtk/gtktextiter.c (gtk_text_iter_set_line_index): New function, - to set byte position within a line - (gtk_text_iter_check): remove leftover G_BREAKPOINT thing - -2000-10-23 Havoc Pennington - - * gtk/testtext.c: Re-enable the "find" dialog - - * gtk/testgtk.c: Add test for gdk_drawable_get_image - - * gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix bug where - the arguments to gdk_draw_drawable were in the wrong order - (gdk_window_paint_init_bg): This function was ignoring the - init_region, instead of clipping to it, so the entire backing - pixmap was cleared on every begin_paint() - (gdk_window_begin_paint_region): Hmm, the same list-walking bug - was in here again, the loop kept using the same GtkWindowPaint - over and over. - (gdk_window_begin_paint_region): Fix a bug where we had two - x_offset instead of x_offset and y_offset - - * gdk/gdkdraw.c (gdk_drawable_get_image): get composite drawable - before we get the image. - (gdk_draw_drawable): get the composite before we draw the drawable. - (gdk_drawable_real_get_composite_drawable): default - get_composite_drawable implementation that returns the drawable - itself - - * gdk/gdkdrawable.h (struct _GdkDrawableClass ): Add - get_composite_drawable virtual function - - * gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix a cheesy - list-walking bug - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_drawable): Add a hack to - make this work if the source drawable is a GdkDrawableImplX11 - instead of a public drawable type. This is really broken; the - problem is that GdkDrawable needs a virtual method get_xid(), but - of course that doesn't work in practice. Enter RTTI. - - Also, improve mismatched depth message. - - * gdk/gdkpixmap.c (gdk_pixmap_get_image): Implement get_image for - GdkPixmap - - * gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_class_init): - install _gdk_x11_get_image as our implementation of get_image - - * gdk/x11/gdkimage-x11.c (gdk_image_get): Rename to - _gdk_x11_get_image and export for use in gdkdrawable-x11.c - - * gdk/gdkimage.c (gdk_image_get): Make this just a wrapper around - gdk_drawable_get_image - - * gdk/gdkdraw.c (gdk_drawable_get_image): call virtual get_image - - * gdk/gdkdrawable.h (struct _GdkDrawableClass ): Virtualize - get_image - - * gtk/gtktreestore.c (gtk_tree_store_get_node): remove weird - trailing semicolon after for loop - -Mon Oct 23 12:07:57 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_style_internal): Fix problem - where font_desc for widget's context lagged widget's font_desc by - one step. - -2000-10-22 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c - * gdk/win32/gdkimage-win32.c: Remove gcc -Wall warnings. - - * gtk/makefile.mingw.in - * gtk/gtk.def: Updates. - - * gtk/testgtk.c: sleep() is called _sleep in MS's C - library. - - * gtk/gtkimcontextsimple.c: Include for bsearch(). - - * gtk/makefile.msc: Remove - - * gtk/makefile.msc.in: New file, like makefile.mingw.in. - - * gtk/Makefile.am: Add it. - - * configure.in: Generate it. - - * gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor) - * gtk/gtktextbtree.c (gtk_text_line_char_to_byte): Return - something even if not implemented, to satisfy picky MSVC. - - Patches by Hans Breuer: - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_glyphs): Call - SetBkMode() and SetTextAlign() before calling - pango_win32_render(). - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values): - Set hcliprgn to NULL after destroying it. - (gdk_gc_set_clip_rectangle): Delete hcliprgn and set to NULL. - - * gdk/win32/gdkgeometry-win32.c - (_gdk_windowing_window_queue_antiexpose): More effective - implementation. - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use drawable's - depth as default, not the visual's. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Guard - against empty title. - - * gdk/win32/gdkprivate-win32.h: Define a helper macro, - IMAGE_PRIVATE_DATA. - - * gdk/win32/gdkimage-win32.c: Use it. - -2000-10-22 Robert Brady - - * configure.in: Check for bind_textdomain_codeset - - * gtk/gtkmain.c (gtk_init_check): If bind_textdomain_codeset - present, make use of it. - - Add a translatable string "default:LTR" which, if translated - to "default:RTL", will cause the default direction to be - Right-to-Left. - - * gtk/gtkrange.h, gtk/gtkrange.c: Take into account the widget - direction if marked as flippable. - - * gtk/gtkhscale.c: Mark widget as flippable. - -2000-10-04 Havoc Pennington - - * gtk/testgtk.c (create_buttons): create some stock buttons - with the default accel group - (create_image): test some new GtkImage features - (make_message_dialog): test GtkMessageDialog - (create_modal_window): fix someone's bizzarro indentation - - * gtk/gtkwindow.h, gtk/gtkwindow.c: Implement - GTK_WIN_POS_CENTER_ON_PARENT. - Add "destroy with parent" setting, which means the window goes - away with its transient parent. - (gtk_window_get_default_accel_group): get the default accel group - for the window. - (gtk_window_set_destroy_with_parent): set/unset destroy with - parent flag - (gtk_window_read_rcfiles): invalidate icon set caches - after reloading rcfiles - - * gtk/gtkenums.h (GtkWindowPosition): add - GTK_WIN_POS_CENTER_ON_PARENT, which centers a dialog - on its parent window when the dialog is mapped for the first time. - - * gtk/gtkmessagedialog.h, gtk/gtkmessagedialog.c: Add - a simple message dialog class - - * gtk/gtkdialog.c (gtk_dialog_init): Connect delete event - handler to emit response signal, and maybe later it would - honor a hide_on_delete flag - though that isn't there yet. - Set border width on the vbox to 2, so we get some padding. - Use a button box for the action area. - (gtk_dialog_key_press): synthesize a delete event if Esc - is pressed and the GtkWidget key press handler didn't - handle the escape key. - (gtk_dialog_new_with_buttons): new function creates a dialog - with some default buttons in it. - (gtk_dialog_add_action_widget): add an activatable widget - as a button in the dialog - you can also add a non-activatable - widget by accessing the action area directly. - (gtk_dialog_add_button): add a simple button - stock ID or - label - to the action area - (gtk_dialog_response): emit response signal - (gtk_dialog_run): block waiting for the dialog, return - the response. Override normal delete_event behavior, so that - delete_event does nothing inside gtk_dialog_run(). - * gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal - emitted when an action widget is clicked or the dialog gets - delete_event - - * gtk/gtk.h: add gtkmessagedialog.h - - * gtk/Makefile.am: add gtkmessagedialog.[hc] - -2000-10-18 Havoc Pennington - - * gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug - where any number of empty lines would get skipped - - * gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the - edge. - - * gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the - warning about invalid iterators (explain more thoroughly) - (gtk_text_iter_in_region): rename gtk_text_iter_in_range - - * gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less - big - - * demos/*.c: Add error handling - - * gtk/gtktextbuffer.c: don't modify const iterators - - * gtk/gdk-pixbuf-loader.c: Add full error handling here - - * gtk/gtkimage.c (gtk_image_set_from_file): ignore errors - on file load - - * gtk/gtkiconfactory.c: Update to reflect addition of error - handling to gdk-pixbuf loaders - -Wed Oct 18 11:14:05 2000 Owen Taylor - - * configure.in demos/Makefile.am demos/testgtk/*: Start of work to - move to new modularized testgtk. - -2000-10-17 Jonathan Blandford - - * gtk/gtktreeview.c: Draw the arrows correctly. - - * gtk/gtktreemodel.c: Added user docs. - - * gtk/gtk.h: remove gtktreedatalist.h. - - * gtk/gtktreestore.c (gtk_tree_store_get_type): Get the correct - parent when generating my type. - - * gtk/gtkmarshal.list: Added four more marshallers: INT:NONE, - POINTER:NONE, POINTER:POINTER, and POINTER:POINTER,INT. - -2000-10-16 Jonathan Blandford - - * gtk/gtktreemodel.h (struct _GtkTreeModelIface): Move - GtkTreeModel from object to interface. - -2000-10-16 Havoc Pennington - - * gtk/gtktreeviewcolumn.c: #include gtklabel.h, fixing - compilation - -2000-10-16 Jonathan Blandford - - * gtk/gtktreeselection.c: Add API documentation to all public - functions. - - * gtk/gtktreeviewcolumn.c: Added API documentation to all public - functions. - -2000-10-15 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_insert_column): New function - proposed by Guy Harris . Also, added API - docs to all public functions. - - * gtk/gtktreeview.c, gtk/gtktreeview.h, gtk/gtktreestore.h, - gtk/gtktreestore.c, gtk/gtkliststore.h, gtk/gtkliststore.c, - gtk/gtkmodelsimple.c, gtk/gtkmodelsimple.h, gtk/gtktreedatalist.c, - gtk/gtktreemodel.h, gtk/gtktreeselection.c, - gtk/gtktreeselection.h: Fix GtkTreeNode *node ->GtkTreeNode node - issue. - -2000-10-14 Robert Brady - - * configure.in: Added "fa" (Persian) to ALL_LINGUAS. - -2000-10-12 Jonathan Blandford - - * gtk/gtktreedatalist.[ch] (gtk_tree_data_list_value_to_node): Added - values other then G_TYPE_STRING. - * gtk/gtktreeselection.c: Minor commenting updates. - * gtk/gtktreeview.c: Format updates. - -2000-10-09 Tor Lillqvist - - * README.win32: Update. - - * gdk/win32/gdkgeometry-win32.c (gdk_window_clip_changed): Add two - lines that had been deleted by mistake (?). - - * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Handle - also the case fg==white and bg==black (but still not randomly - coloured cursors). Thanks to Wolfgang Sourdeau. - - * gdk/win32/*.c: Silence gcc -Wall. - - * gtk/gtk.def: Add missing entry points. - - Fixes by Hans Breuer: - - * gdk/makefile.msc - * gdk/win32/makefile.msc: Update. - - * gdk/testgdk.c: If compiling with debugging (with _DEBUG defined, - some MSVC thing, presumably), cause breakpoint on failures. Add - GDK_NOR case. Call g_log_set_always_fatal. - - * gdk/win32/gdkwin32id.c (gdk_win32_handle_table_insert): Handle - should be pased by reference. - - * gdk/win32/gdkprivate-win32.h: Correct declaration accordingly. - - * gdk/win32/*.c: Correct calls to gdk_win32_handle_table_insert. - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkwindow-win32.c: Handle WM_CREATE. - - * gdk/win32/gdkgc-win32.c: Fix mixups of drawable and - implementation object. - - * gdk/win32/gdkimage-win32.c (gdk_image_get): Handle drawables, - not just windows. - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize): - Use the wrapper object. - -2000-10-06 Havoc Pennington - - * Makefile.am (SRC_SUBDIRS): contrib subdir - - * gdk/gdkpixbuf.h: Move GdkPixbufAlphaMode to gdk-pixbuf library, - so it can be used in Xlib version - - * demos/testpixbuf.c (update_timeout): error checking from 1.0 - tree - - * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_pixbuf): Sync - change from 1.0 tree that returns first frame of animation - if the loaded file is an animation. - - * contrib: add new directory to hold stuff that comes with GTK+ - but isn't really part of GTK+ (for now, gdk-pixbuf-xlib) - - * configure.in: add contrib/* - -2000-10-05 Havoc Pennington - - * demos/testpixbuf-save.c: add pixbuf save test - - * demos/Makefile.am: add testpixbuf-save.c - -2000-10-05 Jonathan Blandford - - * gtk/gtktree.h (GTK_TREE_SELECTION): Replaced with - GTK_TREE_SELECTION_OLD to prevent conflict with gtktreeselection.c - * gtk/testgtk.c: s/GTK_TREE_SELECTION/GTK_TREE_SELECTION_OLD/ - * gtk/gtktreeselection.[ch]: Replaced - "node_selected"/"node_unselected" signal with "selection_changed" - signal. - -2000-10-04 Jonathan Blandford - - * gtk/gtk{tree,cell}?*.[ch]: Checked in initial draft of the new - tree widget. - -2000-10-04 Jonathan Blandford - - * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle - drawing. - -Wed Oct 4 15:52:15 2000 Owen Taylor - - * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): - Move list pointer forwards before removing item from - list. (Crash reported by Salmaso Raffaele) - - * gdk/gdkwindow.h: Remove spurious trailing , - - * gdk/Makefile.am (LDFLAGS): You can't do interlibrary - dependencies on uninstalled libraries, sorry folks. - -2000-10-04 Havoc Pennington - - * gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h, - gtk/gtkiconfactory.c: Fix copyrights - - * demos/testpixbuf.c: add inline pixbuf test - -Mon Sep 25 15:05:17 2000 Owen Taylor - - * gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c (gdk_window_iconify): - Add gdk_window_iconify. - - * gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c - (gdk_window_set_geometry_hints): Add win_gravity - to geometry structure. - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): - Implement _NET_WM_PING. - - * gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check): - Set _NET_WM_PID on the client leader. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_name): - Handle UTF-8 better. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_title): Handle - UTF-8 better, set _NET_WM_NAME as well. Only set - icon name if it hasn't previously been explicitely - set. - -2000-10-03 Havoc Pennington - - * gtk/testtextbuffer.c: clean up trailing whitespace, - add extensive tests for tag toggle iteration. - - * gtk/gtktextiter.c (MAX_LINEAR_SCAN): decrease linear scan - distance - - * gtk/gtktextbtree.c (gtk_text_line_next_could_contain_tag): - optimize case where the tag root is on level 1 - (gtk_text_line_previous_could_contain_tag): attempt to implement - (gtk_text_line_next_could_contain_tag): Abstract out node_compare - functionality - - * gtk/gtktextiter.c (gtk_text_iter_backward_to_tag_toggle): - Implement this, though not very efficiently. - - * gtk/gtktextiterprivate.h: reformat - - * gtk/gtktextiter.c (gtk_text_iter_get_char): return 0 on the end - iterator - - * gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Fix - this to properly revalidate the iterators. - - * gtk/gtktextview.c (gtk_text_view_delete): fix control-K to work - properly at the end of the line (and therefore on empty lines) - - * gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Gee, - maybe we should return a value... - -2000-10-03 Tor Lillqvist - - * config.h.win32: Guard definition of alloca(). glib.h now handles - that. - - * gdk/gdk.def - * gtk/gtk.def: Add new entry points. - - Changes just to make GTK+ build without errors on Win32. No hope - of it working in its current state, though...: - - * gdk/win32/gdkselection-win32.c: Remove gcc -Wall warnings. Add - some functions from the X11 backend, just to make GTK+ build. - - * gdk/makefile.mingw.in - * gtk/makefile.mingw.in: Use correct gdk_pixbuf version - number. Add new object files. - - * gtk/gtkclipboard.c: Include gdkwin32.h on Win32. Use - GetMessageTime to get timestamp (where on X11 uses - gdk_x11_get_server_time()). - -2000-10-02 Havoc Pennington - - * gtk/gtktextview.c: text_window_* weren't static and should have - been. - Start work on child widgets; not yet complete, syncing to - office computer. - - * gtk/gtktextchild.h: change this to contain a public interface, - starting work on child interfaces. - * gtk/gtktextchildprivate.h: move private interfaces here - - * gtk/Makefile.am: update to reflect gtktextchildprivate.h - - * gtk/gtktextview.h, gtk/gtktextview.c, gtk/gtktextbuffer.h, - gtk/gtktextbuffer.c, gtk/gtktextiter.h, gtk/gtk/textiter.c, - gtk/gtktextmark.c: copyright notices - - * gtk/gtktextmarkprivate.h: reformat, and put _ in front of - internal functions - - * gtk/gtktextchild.c (_pixbuf_segment_new): put _ in front of - internal function - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): - Reformatting - -2000-09-30 Havoc Pennington - - * gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Handle - NULL start/end pointers - - * gtk/gtktextbuffer.c: Write some docs - (gtk_text_buffer_get_selection_bounds): Allow start/end to be - NULL, so you can just check whether there's a selection. - - * gtk/gtktextbtree.c (gtk_text_btree_remove_mark): No need to - cleanup_line or segments_changed ourselves, it gets done - in unlink_segment - - * gtk/gtktextmark.h: - s/gtk_text_mark_deleted/gtk_text_mark_get_deleted/ - - * gtk/gtktextsegment.h: Clean up some indentation and naming mess - - * gtk/gtktextmark.c: delete some more old Tk cruft - - * gtk/gtktextbuffer.c (gtk_text_buffer_delete_mark): add ref to - mark before removing it, so we can emit MARK_DELETED with a valid - pointer. - (gtk_text_buffer_mark_set): hold ref across signal emission - - * gtk/gtktextbtree.c (gtk_text_btree_remove_mark): improve - whining about attempts to delete special marks - - * gtk/gtktextbuffer.c (_gtk_text_buffer_spew): Prepend with - underscore, since it's internal. - - * gtk/gtktextbuffer.h: Remove find_string prototype, this is - now implemented in terms of iterators in gtktextiter.h - - * gtk/gtktextbuffer.c (gtk_text_buffer_set_text): - New function, destructively sets contents of buffer. Also - a convenient way to clear the buffer by setting text to "" - - * gtk/gtktextiter.c (gtk_text_iter_make_surreal): reformat - multiline string literal - - * gtk/testtext.c (text_changed_callback): Redraw line numbers if - text changes. - - * gtk/gtktextiter.c (forward_char): Return FALSE if new location - is not dereferenceable - (gtk_text_iter_forward_lines): fix return value - -2000-09-29 Havoc Pennington - - * gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation - - * gtk/gtktextview.c: Implement drag thresholding; change functions - that set border window size to have nicer name - (gtk_text_view_mark_set_handler): Fix this to have the - right signature. - - * gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes - - * gtk/testtext.c: Update with API changes, put line numbers on - both sides. - - * gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap - with this - - * gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with - pixbuf; delete a big block of #if 0 Tk code - - * gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace - insert_pixmap with insert_pixbuf - -2000-09-29 Martin Baulig - - * gdk-pixbuf.pc.in: Renamed to gdb-pixbuf-2.0.pc.in to avoid - confusion with the GdkPixbuf of the GNOME 1.x platform. - -2000-09-29 Havoc Pennington - - * gtk/gtktextview.c: Implement the side windows. - - * gtk/testtext.c: Implement simple line numbering in the - left side window; seems to make scrolling sloooow. Oops. - Also, cursor blink is for some reason causing redraws - of the line numbers. Should investigate... - -2000-09-28 Havoc Pennington - - * gtk/gtktextview.c: Set up infrastructure to deal with lots of - scrolling child windows, and draw focus rectangle properly. - - (gtk_text_view_buffer_to_window_coords): - Coordinate transformation to deal with all these freaking windows - and offsets - (gtk_text_view_window_to_buffer_coords): transform the other way - - * gtk/testtext.c (create_buffer): Update to match Pango API change - - * gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Go over the - anonymous tags - (foreach_unref): don't emit remove signal from finalize, just - set tag's parent to NULL - -2000-09-26 Havoc Pennington - - * gtk/gtkiconfactory.c (gtk_icon_set_clear): remove - Fix some warnings - -2000-09-26 Havoc Pennington - - * gtk/Makefile.am (gtk_private_h_sources): Move more text widget - headers into the private header list - - * Makefile.am (pkgconfig_DATA): install pkg-config files - - * configure.in: add pkg-config files - - * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files - - * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate - outstanding icon caches on theme change. - - * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three - important types: - - (GtkIconSource): Specification for creating a pixbuf - appropriate for a direction/state/size triplet from - a source pixbuf or filename - - (GtkIconSet): List of GtkIconSource objects that are used to - create the "same" icon (e.g. an OK button icon), and cache for - rendered icons - - (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look - up the icon set for a given stock ID. GTK maintains a stack of - GtkIconFactory to search, and applications or libraries can add - additional icon factories on top of the stack - - * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse - the set of GtkIconSource specified for a given stock ID into - a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the - RcStyle, under the specified stock ID. - - * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function - render_icon used to derive a GdkPixbuf from a GtkIconSource. - This allows people to theme how prelight, insensitive, etc. are - done. - - (gtk_style_lookup_icon_set): Look up a stock ID in the list of - icon factories for a style, and return the resulting - icon set if any. - - (gtk_style_render_icon): Render an icon using the render_icon - method in the GtkStyleClass. - - * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): - Use the style for a given widget to look up a stock ID, get the - icon set, and render an icon using the render_icon method - of the style - - * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type - (contains information about a stock item), the built-in stock item - IDs, and functions to add/lookup stock items. - - * gtk/stock-icons/*: Stock icons that come with GTK - - * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns - a button based on a GtkStockItem - (gtk_button_new_accel): Takes a uline string and accel group, and - installs the accelerator. - - * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic - image-display widget. - -2000-09-25 Havoc Pennington - - * gtk/gtktexttypes.c: Remove Latin1 conversion stuff - - * gtk/gtktextbtree.c (gtk_text_btree_node_remove_data): - Fix a bug when removing node data, we didn't properly - re-splice the linked list after removing the data. - - * gtk/gtktextview.c (gtk_text_view_key_press_event): Pass through - GDK_Tab as literal tab, Ctrl-Tab to tab to focus widget - - * gtk/gtktextbuffer.c (selection_received): fix g_convert usage - - * gtk/gtktextlayout.c (set_para_values): Set tab array - for the layout from the GtkTextTag. - - * gtk/gtktexttypes.h: delete tab and search cruft, - remove g_convert() in favor of GLib version - - * gtk/gtktexttypes.c: remove tab implementation from here, - move to Pango - - * gtk/gtktexttag.h, gtk/gtktexttag.c: Implement - tab stuff using new PangoTabArray from Pango - - * gtk/gtktexttag.c (gtk_text_attributes_fill_from_tags): Remove - unused border_width stuff - -Thu Sep 14 12:21:12 2000 Owen Taylor - - * gtk/gtktexttypes.[ch]: Remove g_convert (moved to - glib) and now useless utf_to_latin1() latin1_to_utf() - - * gtk/gtktextview.[ch]: Change ::move_insert and - ::delete_text action signals to ::move and ::delete; - create the signals with the right enumeration type, - not GTK_TYPE_ENUM so that bindings work. Add C-d, M-d, - C-v bindings, change Home, End to move to beginning/end - of line, Add C-Home C-End to move to beginning/end - of buffer. Change ::cut_text to ::cut_clipboard, etc; - combine ::scroll_text into ::move; use new GtkSelectionData - functions to simplify DND text handling. - - * gtk/gtkenums.h gtk/gtktextview.h: Move movement, - deletion enumerations here, rename enumeration values to - be consistently plural. - - * gtk/gtktextbuffer.c: Use new clipboard interfaces - for cut/copy/paste and primary selection. - - * gtk/gtktextbuffer.[ch]: Remove excess time and - 'interactive' arguments from cut/copy/paste; - rename cut to cut_clipboard, etc; remove - gtk_text_buffer_get_clipboard_contents(). - - * gtk/gtktextlayout.[ch]: Add - gtk_text_layout_move_iter_to_line_end() to move the iter to - line ends. - - * gtk/gtkselection.[ch] (gtk_selection_data_set/get_text): - Functions to set or get a UTF-8 string on the selection - data. - - * gtk/gtkclipboard.[ch]: New, simplified selection handling - interfaces. - - * gtk/gtkinvisible.c (gtk_invisible_new): Realize newly - created widgets - one of these is useless if we don't. - - * gtk/gtkselection.[ch] (gtk_selection_clear_targets): Export - a public function clear all targets registered for the - widget. - - * gtk/gtkselection.c (gtk_selection_owner_set) docs/Changes-2.0.txt: - Never call gtk_widget_realize() - that was just asking - for bizarre side-effects. - - * gtk/gtkselection.c (gtk_selection_owner_set): Call - gdk_selection_owner_set even if the widget is the - same so that we reliably update the timestamp on - the server. - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkx.h: Add a - gdk_x11_get_server_time() function. - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkprivate-x11.h - gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.h: - Add some tricky filtering on serial numbers for - selection clear events to fix up long-standard - race condition FIXME's in gtkselection.c. - - * gdk/gdkproperty.h gdk/x11/gdkselection-x11.h: Add - routines to convert from utf8 to compound text or - STRING and from a text property to UTF-8. - - * gtk/gtkmain.[ch] (gtk_get_current_event_time): Add - a convenience function gdk_get_current_event_time(). - - * gtk/gtkselection.c (gtk_selection_data_copy/free): Copy - and free selection_data->data properly - -Sat Sep 9 10:23:53 2000 Owen Taylor - - * gtk/gtkthemes.c: Remove some unecessary includes. - -2000-09-08 Jonathan Blandford - - * gtk/gtktextdisplay.c - * gtk/gtktextlayout.c - * gtk/gtktexttag.c - * gtk/gtktexttag.h - * gtk/testtext.c: Change the overstrike property to strikethrough, - to closer match pango. - -Fri Sep 8 14:28:00 2000 Owen Taylor - - * gtk/gtktextview.c: Fix up visibility so that focus, - cursor_visible and blink interact properly. Reenable cursor blink - which had been roughly disabled. Make blink and focus - properly per-view. - - * gtk/gtktextlayout.[ch] (gtk_text_layout_set_cursor_visible): - Add a flag for whether to display insertion cursor and - a function to set the flag. - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_yrange): Change - get_line_y() to get_line_yrange(), to be a bit more generally - useful. - -Thu Sep 07 20:54:33 2000 George Lebl - - * gtk/gtkmenu.c: in gtk_menu_set_submenu_navigation_region - do stop_navigating_submenu, to clear last timeout properly. - Also in gtk_menu_motion_notify move ignore_enter above - the conditional to make it always happen as suggested by Owen - -2000-09-07 Tor Lillqvist - - * gdk/win32/makefile.mingw.in: Use -Wall. Add gdkpango-win32.o - - * gdk/win32/gdkwin32.h: Add more definitions missing from the free - w32api headers. - - * gdk/win32/gdkprivate-win32.h: Add a couple of missing - declarations. - - * gdk/win32/gdkdrawable-win32.c: Remove gcc -Wall warnings. - (gdk_win32_get_colormap): A line had been deleted by mistake. - - * gdk/win32/gdkevents-win32.c: Remove lint (gcc -Wall) here, too. - (gdk_event_translate): Handle more virtual keycodes to be able to - generate GDK events for Control-comma, Control-period, etc. - - * gtk/gtk.def: Add some missing entry points. - -Thu Sep 7 11:47:02 2000 Owen Taylor - - * gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c: - Doc comment fixing. (Mostly non-matching parameter names.) - - * gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify - comments a little to avoid looking like a doc comment. - - * gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to - GTK_INPUT_ERROR. (Should the mechanism for erros in spin button - conversions be changed to GError?) - - * gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT): - Move private #defines into .c file. - - * gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize - order of argument addition, remove duplicates. - - * gtk/gtkaspectframe.h (struct _GtkAspectFrameClass): - parent class is FrameClass, not BinClass. - - * gtk/gtk.h: Add gtkinvisible, which was missing. - (It's occasionalyl useful for client apps, if seldom.) - - * gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER - #define. - -Wed Sep 6 09:53:15 2000 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Use X-space - coordinates when creating window, instead of GDK-space - coordinates. (Avoid BadValue on too large windows.) - -2000-09-05 Sebastian Wilhelmi - - * configure.in (use_mmx_asm): Remove conftest* after use along the - lines of AC_TRY_COMPILE. - - * gtk/gtkrc.c (gtk_rc_parse_file): Use g_path_get_dirname instead - of g_dirname, which is deprecated. - (gtk_rc_parse_any): Removed calls to - g_scanner_{freeze,thaw}_symbol_table, which are deprecated. - - * gtk/gtkbindings.c (binding_entry_new, binding_entry_destroy): - Removed calls to g_hash_table_{freeze,thaw}, as they are - deprecated now. - - * gtk/testtext.c (buffer_pretty_name): Use g_path_get_basename - instead of g_basename. - -2000-09-04 Elliot Lee - - * gdk/gdkpixbuf.h: Put text after #endif inside a comment to avoid - ANSI warning. - -Sun Sep 03 00:47:08 2000 George Lebl - - * gtk/gtkwidget.h: Add some documenting comments about - GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT - just as owen said on irc. - - * gtk/gtkwindow.c (gtk_window_set_default): Don't blindly - set HAS_DEFAULT. Only set it if there isn't another window - holding it (a focus window which RECEIVES_DEFAULT) and only unset - it if the widget is not the focused window with RECEIVES_DEFAULT. - This fixes weird double default bugs in dialogs which has things - call gtk_window_set_default at times. - -Fri Sep 1 22:39:07 2000 Owen Taylor - - * gtk/gtkmenu.[ch] TODO.xml: Apply patch from - Nils Barth and David Santiago to improve submenu - navigation. The patch does this by creating a triangular - region from the point where the pointer leaves the - menu to the submenu. While the pointer is in - that region and a timeout has not expired, events - that would cause the active submenu to change are - ignored. - -Fri Sep 1 15:34:46 2000 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where - moving a toplevel window immediately after sizing it would - result in it being sized back to the old size since - impl->width, impl->height aren't updated until we hear - back from the server. There is still a (longstanding) bug - here that gdk_window_get_size() will give the wrong size - until we do hear back. - -2000-08-31 Havoc Pennington - - * gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h, - gtk/gtktextlayout.c, gtk/gtktexttag.h, gtk/gtktexttag.c, - gtk/gtktexttagprivate.h, gtk/gtktextview.c: - Rename GtkTextStyleValues to GtkTextAttributes - -2000-08-31 Havoc Pennington - - * gtk/gtktextbtree.c (GtkTextBTree): cache end line, - for rapid testing whether an iterator is the end iterator - (gtk_text_btree_new): init end line cache - (gtk_text_line_is_last): use fast cached line to - see if we're the last line. - (get_last_line): use cached line here too, should - speed up some random unrelated code. - -2000-08-30 Havoc Pennington - - * gtk/gtkmarshal.list: Add marshallers for changed GtkTextBuffer - signals. - - * gtk/gtktextbuffer.h: Add "interactive" arg to insert_text and - delete_text signals. This allows the signals to be used for - implementing undo. - - * gtk/gtktextbuffer.c: Change signal handler signatures; - provide "interactive" argument when emitting insert_text or - delete_text signal. - -2000-08-30 Havoc Pennington - - * gtk/gtktextbuffer.c: Docs - -Fri Aug 25 12:16:15 2000 Owen Taylor - - * gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP - from switch statements, since Tor removed the enumeration - value. - - * gdk/x11/gdkimage-x11.c (gdk_image_get): - s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/. - -2000-08-29 Elliot Lee - * */*.h: Use G_GNUC_CONST. - -2000-08-27 Havoc Pennington - - * gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs, - minor indentation fixes, inserted some FIXME about stuff I - realized was broken while documenting it. - (gtk_text_iter_get_pixmap): allow out params to be NULL, following - GTK convention - -Tue Aug 22 12:33:24 2000 Owen Taylor - - * gtk/testgtk.c (create_styles): Fix double free of - font desc. - -Mon Aug 21 22:39:18 2000 Owen Taylor - - * gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}. - - * gtk/testgtk.c (create_styles): Add a test for modifying - the style through gtk_widget_modify_*. - - * gtk/gtkwidget.c (gtk_widget_get_modifier_style): Add - a function to get the current modifier style. - - * gtk/gtkwidget.c (gtk_widget_modify_style): Make a copy - of the passed in GtkRcStyle instead of ref'ing it. - - * gtk/gtkrc.[ch]: Add gtk_rc_style_copy(). - -2000-08-20 Tor Lillqvist - - * gdk/gdkimage.h - * gdk/win32/gdkimage-win32.c: No need any longer on Win32 for the - shared memory image+pixmap GdkImage type, or - gdk_image_bitmap_new(). They were used in the gdk_imlib port, but - I am dropping that. - - * gtk/gtkmain.h: On Win32, use a #define to map gtk_init() to - actually call gtk_init_abi_check(), passing also - sizeof(GtkWindow). Ditto for gtk_init_check(). - - * gtk/gtk.def - * gtk/gtkmain.c: (gtk_init_abi_check, gtk_init_check_abi_check): - New functions, used to check that the GTK+-using code has been - compiled using the correct compiler and switches. In particular, - with gcc one has to use the -fnative-struct switch as GTK+ is - compiled with that. - -Fri Aug 18 17:27:46 2000 Owen Taylor - - * gtk/gtkclist.c (gtk_clist_merge): Don't leave dangling - ->prev fields when merging lists. (Found simultaneously - by Pawel Salek and Jakub Jelinek) - -2000-08-12 Tor Lillqvist - - * gdk/gdk.def - * gtk/gtk.def: Add missing entries. - - * gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Use - OUT_TT_ONLY_PRECIS, try to get a TrueType font. - - * gdk/win32/gdkinput-win32.c (gdk_device_get_state): New - function. Dummy implementation at this point. - - * gtk/makefile.mingw.in: Fix typo. Add testtext and testtextbuffer - rules. Undefine GTK_COMPILATION when compiling the test programs. - - * gtk/gtkdebug.h: Mark gtk_debug_flags for export/import. - -2000-08-11 Tor Lillqvist - - * gtk/gtkfilesel.c: Add more calls to g_filename_{to,from}_utf8() - to convert back and forth from UTF-8 and the "system" (or "current - locale") charset when necessary. Indentation/spacing cleanup. - -2000-08-10 Havoc Pennington - - * Makefile.am (snapshot): Change the format of the snapshot - version to match glib - - * gdk/win32/Makefile.am (EXTRA_DIST): remove gdkinputprivate.h - from EXTRA_DIST since it doesn't seem to exist - -2000-08-10 Tor Lillqvist - - * gtk/gtkfilesel.c (open_new_dir): Use the "system codepage" - version of the directory name (not the UTF-8 one) when building - the path name to stat(). - -2000-08-03 Elliot Lee - - * gdk/gdkpango.c (gdk_draw_layout_line): Don't shape runs with a - PANGO_ATTR_SHAPE set. - -Thu Aug 3 09:17:06 2000 Owen Taylor - - * gdk/gdkrectangle.c (gdk_rectangle_intersect): Applied patch from - Peter Osterlund to simplify the code while keeping the - functionality the same. - -Wed Aug 2 14:57:38 2000 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Move - is_viewable() test further inside the function, since removing the - window from the redraw list without clearing ->update_area - was also very broken. - -2000-08-02 Tor Lillqvist - - * configure.in: Check for . - -2000-08-01 Martin Baulig - - * gtk/gtkmain.c (gtk_init_check): Use g_message() and not g_warning() - to display the message that this is a development version of GTK+. - -Mon Jul 31 18:37:36 2000 Owen Taylor - - * gtk/gtkentry.c (entry_adjust_scroll): Fix problem where computation - was depending on widget->allocation instead of the width of text_area, - which was incorrect for subclasses like GtkSpinButton. - - * gdk/gdkpango.c (gdk_draw_layout): Fix a couple of typos - with width == 1 tests that should be width == -1. - -Mon Jul 31 16:45:48 2000 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken, - (broken, Elliot, every single window blank on X) custom code with call - to gdk_window_is_viewable() which a) prevents code duplicate and - b) works. - -2000-07-31 Elliot Lee - - * gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order - to get the GDK_PARENT_ROOT() macro to work. - * gtk/gtkmarshal.list: Add NONE:STRING,POINTER - * gdk/gdkwindow.c: Don't send expose events, or invalidate pieces - of, windows that aren't shown. - * gdk/linux-fb: Redraw-when-menu-hidden solved, plus a bunch of - pointer grab stuff. - -Mon Jul 31 13:53:16 BST 2000 Tony Gale - - * docs/gtkfaq.sgml docs/gtk-faq.sgml: - s/gtk_main_iteration/g_main_iteration/ - - Did this already in change: - Mon Nov 15 17:17:51 GMT 1999 Tony Gale - don't know how it got reverted. - -2000-07-31 Stanislav Brabec - - * gdk/gdk.c: #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and - gdk_arg_no_debug_cb to fix compilation problem with --disable-debug. - - * gdk/Makefile.am: Link gdk against actually compiled gdk_pixbuf-1.3, - not gdk_pixbuf. - -2000-07-30 Pablo Saratxaga - - * configure.in,po/{sp,sr}.po: Added Serbian files - -2000-07-30 Tor Lillqvist - - * gdk/Makefile.am: Add makefile.mingw.in to EXTRA_DIST. - - * gdk/win32/gdkevents-win32.c (gdk_events_init, gdk_events_queue): - Remove the g_pipe_readable_msg stuff. Not needed with new GLib - GIOChannel implementation. - - * gdk/win32/gdkinput.c - * gdk/win32/gdkpango-win32.c: Update license name here, too. - - * gdk/win32/gdkwin32id.c (gdk_win32_handle_table_lookup): Fix - definition to match prototype. - - * gtk/makefile.mingw.in: Add libiconv CFLAGS and LIBS. - -2000-07-27 Elliot Lee - - * gtk/gdk-pixbuf-loader.[ch]: Add gdk_pixbuf_loader_new_with_type - function, to allow handling image formats that cannot be detected - by looking at content alone. - -Thu Jul 27 13:13:21 BST 2000 Tony Gale - - * docs/tutorial/*.gif *.jpg *.eps - Update these to the same look-n-feel. - Why does including images in DocBook suck so badly? - -Thu Jul 27 05:06:29 2000 Tim Janik - - * gtk/gtktable.c: applied patch from Phil Thompson - that enables space settings for - the last row/columns as well. - -Wed Jul 26 12:59:31 2000 Tim Janik - - * *.[hc]: applied patch from Andreas Persenius that - updates the license headers to the GNU Lesser General Public License, - as well as updating the copyright year to 2000. - -2000-07-26 Robert Brady - - * configure.in: Cause GETTEXT_PACKAGE to be consistent in config.h - and po/Makefile, was installing and looking for them under gtk20 - and gtk2 respectively. - -2000-07-25 Havoc Pennington - - * gtk/testtext.c: Comment out some stuff that depends on the rest - of my patches. - -2000-07-25 Havoc Pennington - - * gtk/gtkmarshal.list: Add NONE:POINTER,POINTER,INT for the text - buffer - -2000-07-25 Havoc Pennington - - * gtk/testtext.c, gtk/testtextbuffer.c: update to reflect text - widget changes. - - * gtk/gtktextview.h: To be consistent with usage of "line" - throughout the API to mean "newline-terminated thingy", change - MOVEMENT_LINE to be MOVEMENT_WRAPPED_LINE, and MOVEMENT_PARAGRAPH - to MOVEMENT_LINE. - - (GtkTextView): Add flags for default editability, and whether to - show the cursor. Add functions to get/set that. Add - - (gtk_text_view_get_iter_location): new function - - * gtk/gtktexttypes.h: Move GtkTextLine typedef from here to - gtktextlayout.h - (g_convert): Add g_convert temporarily, will go in glib in a bit - - * gtk/gtktexttagtable.h: include gtktexttag.h, and define - GtkTextTagTableForeach instead of brokenly using GHFunc. - Change gtk_text_tag_table_foreach() so it doesn't use GHFunc. - - * gtk/gtktexttagprivate.h: Remove GtkTextStyleValues from here, - moved to public header. - - * gtk/gtktexttag.h: Rename the "elide" attribute of tags to - "invisible", since "elide" was a bad name. - (gtk_text_tag_get_priority): Added - - (GtkTextStyleValues): put this in public header, along with - functions to use it. - - * gtk/gtktextmarkprivate.h: Include more headers, since we no - longer include gtktextbtree.h. - - * gtk/gtktextmark.h: Add gtk_text_mark_ref, gtk_text_mark_unref, - gtk_text_mark_deleted - - * gtk/gtktextlayout.h: Don't include the "really private" headers, - only buffer/iter. Forward declare GtkTextLIne and GtkTextLineData - to make this possible. Now we only need to install - gtktextlayout.h, not gtktextbtree.h and gtktext*private.h. - (However the Makefile.am isn't changed yet because of the - logistics of merging gtk-hp-patches piecemeal) - - * gtk/gtktextiterprivate.h: include btree header, so it compiles; - rename gtk_text_iter_get_line to gtk_text_iter_get_text_line since - gtk_text_iter_get_line is now used in the public API for a - different purpose. - - * gtk/gtktextiter.h: Clean up function names to be more - consistent. Always call char offset "offset" and byte index - "index". A "line" is always a line number. - - (gtk_text_iter_is_last): new function, more efficient than - the existing way to check - (gtk_text_iter_is_first): new function, also more efficient - - (gtk_text_iter_up_lines, gtk_text_iter_down_lines): Remove these - - (gtk_text_iter_next_char, gtk_text_iter_prev_char): Renamed from - gtk_text_iter_forward_char, etc. - - (gtk_text_iter_forward_to_tag_toggle): Renamed from - forward_find_tag_toggle, since this isn't a linear search - - (GtkTextCharPredicate): rename from GtkTextViewCharPredicate - - (gtk_text_iter_forward_search, gtk_text_iter_backward_search): - New functions, search for a buffer substring. - - * gtk/gtktextbuffer.h: Add fields to store whether a paste is - interactive and default editable (since we need to store that info - until we receive the selection data). - - Remove all the _at_char and at_line etc. versions of functions; - only have iterator versions. - - Add _interactive() versions of functions, that consider the - editability of text. (FIXME add interactive flag to the - insert/delete signals per Darin's suggestion) - - (gtk_text_buffer_get_tag_table): new function, demand-creates the - tag table if necessary - - Remove declaration of gtk_text_buffer_get_iter_from_string - - (_gtk_text_buffer_get_btree): private/internal function, added. - - - * gtk/gtktextbtree.h: Remove forward decl of GtkTextLineData. - (gtk_text_line_is_last): new function - -2000-07-25 Havoc Pennington - - * gtk/gtkprogressbar.h: Implement new sane, 5-function API for - using GtkProgressBar. See Changes-2.0.txt for details. - - * gtk/gtkprogressbar.c: Add object arguments "fraction" and - "pulse_step" which are the equivalent of - gtk_progress_bar_set_pulse_step and gtk_progress_bar_set_fraction. - Implement new API. - - * gtk/gtkprogress.h (struct _GtkProgress): Add a field - (use_text_format) to mark whether text set on the progress bar is - a format string. Deprecate entire GtkProgress interface. - - * gtk/gtkprogress.c (gtk_progress_init): init use_text_format to TRUE - (gtk_progress_build_string): make this a no-op if use_text_format - is FALSE - - * docs/Changes-2.0.txt: Describe progress bar changes. - -2000-07-25 Tor Lillqvist - - * Makefile.am: Include the build directory. - - * configure.in: Generate build/Makefile, build/win32/Makefile, - gdk/, gdk/win32/, and gtk/makefile.mingw. - - * config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf. - Add GETTEXT_PACKAGE. - - * gdk/gdk.def - * gtk/gtk.def: Updates. - - * gdk/gdkfont.h - * gdk/gdkpixmap.h: Remove temporary Win32-only functions, we don't - need them any longer. - - * gdk/gdkinput.h: Mark gdk_core_pointer for export/import. - - * gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with - PANGOWIN32_LIBS and gdk_pixbuf. - - * gdk/win32: Compiles, but no doubt doesn't work at all. - - * gdk/win32/makefile.mingw.in: Define GDK_COMPILATION. - - * gdk/win32/gdkinput.c: New file, temporarily. - - * gdk/win32/gdkinput-win32.h: New file - - * gdk/win32/gdkinputprivate.h: Remove. - - * gdk/win32/gdkpango-win32.c: New file. - - * gtk/makefile.mingw.in: New file - - * gtk/makefile.cygwin: Removed - - * gtk/Makefile.am: Update accordingly. - - * gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and - made externally visible. - - * gtk/gtkmain.c: Use it. - - * gtk/gtktextdisplay.c: No need to include pangox.h, pango.h - is enough. - - * gtk/gtktypeutils.c: Mark glib_debug_objects for import. - -2000-07-24 Elliot Lee - * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the - individual backends already. - * gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together - again. Yes, there really is a good reason for this, if you are using the gdkregion - internals, and if you're not, why do you care? - * gdk/gdkwindow.c: Fix inverted condition - * gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely). - * gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb - * gtk/gtkrange.c: Redraw trough when moving. - * gtk/gtktypeutils.c: Fix warning by adding const cast. - * modules/linux-fb/basic.c: Fix unknown glyph retrieval. - -2000-07-23 Tor Lillqvist - - * configure.in: Check for mkstemp and sigsetjmp. Output - gdk-pixbuf/makefile.mingw and gdk-pixbuf/pixops/makefile.mingw. - - More work on GDK for Win32. Still in an intermediate state. - - * gdk/makefile.cygwin - * gdk/win32/makefile.cygwin: Removed. - - * gdk/makefile.mingw.in - * gdk/win32/makefile.mingw.in: New files. - - * gdk/Makefile.am - * gdk/win32/Makefile.am: Generate and distribute them. - - * gdk/win32/gdkwindow-win32.h - * gdk/win32/gdkdrawable-win32.h - * gdk/win32/gdkpixmap-win32.h: New files. - - * gdk/win32/gdkcolor-win32.c - * gdk/win32/gdkcursor-win32.c - * gdk/win32/gdkdrawable-win32.c - * gdk/win32/gdkgc-win32.c - * gdk/win32/gdkimage-win32.c - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkwin32.h: Update data structures. Cosmetics: - Rename fields and variables called xcursor, xid, etc (these names - were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc. - -Sat Jul 22 17:41:26 2000 Owen Taylor - - * gtk/gtkentry.[ch]: Fix some problems with vertical - alignment. - - * gtk/gtkentry.c (gtk_entry_find_position): Fix - char/byte confusion. - -Sat Jul 22 11:16:05 2000 Owen Taylor - - * gtk/gtktextview.c (changed_handler): Fix bug where - redraw wasn't being done properly when height of - dirty region changed. - - * demos/Makefile.am: Remove various references to - -lgmodule - -Fri Jul 21 15:28:13 2000 Owen Taylor - - * gtk/gtktextlayout.[ch], gtk/gtktextdisplay.c: Use new - PangoAttrShape to reserve space for pixmaps, add - GSList *pixmaps to GtkTextLineDisplay, draw the pixmaps - in the display functions. - - * gtk/testgtk.c (create_layout): Set some more exotic - scrolled window options - - * gtk/gtkscrolledwindow.[ch] (gtk_scrolled_window_set_shadow_type): - Add function to set the shadow type of a window, to allow - putting a shadow around widgets such as GtkLayout or GnomeCanvas - which don't draw their own frame. - -Fri Jul 21 16:34:42 BST 2000 Tony Gale - - * docs/tutorial/package-db-tutorial.sh: New file for - packaging DocBook format tutorial - -Fri Jul 21 14:23:51 BST 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: Minor updates - - * docs/tutorial/*.jpg *.eps: Screenshots for tutorial - -2000-07-19 Tor Lillqvist - - * gtk/gtksignal.c: Fix C++ comment. - - * gtk/gtkimmulticontext.c - * gtk/gtktextbtree.c: Remove gccisms: Don't use __FUNCTION__, - don't return value from void functions. - - * gtk/gtk.def: Add gtk_rc_style_unref. - -2000-07-19 Sebastian Wilhelmi - - * gdk-pixbuf/gdk-pixbuf.h, gtk/gtkhsv.h, gtk/gtktextbtree.h, - gtk/gtktextbuffer.h, gtk/gtktextchild.h, gtk/gtktextdisplay.h, - gtk/gtktextiter.h, gtk/gtktextiterprivate.h, gtk/gtktextlayout.h, - gtk/gtktextmarkprivate.h, gtk/gtktextsegment.h, gtk/gtktexttag.h, - gtk/gtktexttagtable.h, gtk/gtktexttypes.h, gtk/gtktextview.h, - gtk/gtktypeutils.h: Include files outside of the extern "C" - block. Makes some C++ compiler happy. Reported by Denis Vakatov - . - -Wed Jul 19 14:07:57 BST 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: Yet more clean ups. - Completes first pass. Hurrah! - -Tue Jul 18 17:17:55 BST 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: More clean ups. - -Mon Jul 17 18:52:38 2000 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_text): Restore code to - paint the background of the text area which was accidentally - removed at some point. - - * gtk/gtkrc.[ch] gtk/gtkstyle.[ch] gtk/gtkthemes.[ch]: - - - Move most of the functionality from the theme vtable - into GtkRcStyleClass and GtkStyleClass. The moved - vtable functions were changed a bit in the move to - work better in their new home. - - - Get rid of the engine and engine_data fields from - GtkRcStyle and GtkStyle; instead the theme - engine derives theme-specific subclasses of GtkRcStyle - and GtkStyle - - - Add extra dlsym() found entry point to themes, - theme_create_rc_style(). - - * gtk/gtkstyle.c: Copy xthickness, ythickness fields - in gtk_style_real_copy. - - * gtk/themes.[ch]: add a function gtk_theme_engine_register_type() - to register a type associated with an engine. (The engine - won't be unloaded as there is an instance of the type.) - - -Mon Jul 17 18:19:06 BST 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: Clean ups. - -Mon Jul 17 13:59:29 BST 2000 Tony Gale - - * docs/tutorial/gtk-tut.sgml: Initial DocBook version. Lots - of cleaning up to do. - -2000-07-15 Tor Lillqvist - - * gdk/testgdk.c: New file, quick hack to test backends for - pixel-by-pixel correctness of the most simple graphic operations. - -Fri Jul 14 20:30:25 2000 Owen Taylor - - * Really release 1.3.1 - - * gtk-config-2.0.in gtk-2.0.m4: Fix up to correspond to new - include structure. - -Fri Jul 14 18:40:39 2000 Owen Taylor - - * Released 1.3.1 - -Fri Jul 14 16:21:26 2000 Owen Taylor - - * gtk/gtktextlayout.c: use FALSE for size_only most - of the time when calling gtk_text_layout_get_line_display() - to avoid causing double reshapes when a redraw follows - immediately after. - -Tue Jul 11 11:13:40 2000 Owen Taylor - - * gtk/gtkrange.c (gtk_range_default_[hv]slider_update): Invalidate - appropriate region and gdk_window_process_updates() so trough - updating doesn't lag behind the window being scrolled. - - * gdk/gdkgc.c: Make parent_class pointer static. - -Sun Jul 9 21:31:23 2000 Owen Taylor - - * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c: - include . - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Fix - cut-and-paste error in computing memory offset for 4 channels. - -Fri Jul 14 14:05:02 2000 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string): Remove - gtk_rc_append_default_pixmap_path(), since it wasn't - adding an interesting path and we don't have a meaningful - default for this value. - -Fri Jul 14 12:22:49 2000 Owen Taylor - - * configure.in Makefile.am gtk-config.m4 gtk.m4: Move - gtk-config to gtk-config-2.0 move gtk_.m4 to - gtk-2.0.m4 - - * Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am - gdk/Makefile.am demos/Makefile.am: Change - library names to libgtk-1.3.la, etc, so that we - can distinguish gtk-1.2 and gtk-2.0 on the linkline. - - * Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am - gdk/Makefile.am gdk/x11/Makfile.am - Move include files into /usr/include/gtk-2.0, - /usr/lib/gtk-2.0/include/ - - * autogen.sh acconfig.h configure.in gtk/gtkmain.c - gtk/gtkintl.h: Change package for gettext from - gtk+ to gtk20. Put hack in autogen.sh to modify - po/Makefile.in.in after gettextize to make this - possible. - - * gtk+.spec: Some updates, not tested. - - * gdk-pixbuf/Makefile.am: Move loaders into - $(libdir)/gtk-2.0/$(GTK_VERSION)/loaders. - - * gtk/Makefile.am gtk/gtkrc.c: Move RC file locations - $(sysconfdir)/gtk-2.0 ~/.gtkrc-2.0; theme subdir - to THEMENAME/gtk-2.0/. Move engine directory to - $(libdir)/gtk-2.0/$(GTK_VERSION)/engines. - -2000-07-12 Tor Lillqvist - - Win32 changes, still doesn't build though. - - * gdk/makefile.cygwin - * gdk/win32/makefile.cygwin - * gtk/makefile.cygwin: Updates. - - * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Use the same - default values for fg and bg pixel as X11 does (0 and 1), not - black and white. Use PS_ENDCAP_FLAT and PS_JOIN_MITER by default. - Use 0 for pen width by default (treated as 1 anyway later, but for - apps that might check the value in the GdkGC). - (gdk_win32_hdc_get, gdk_win32_hdc_release): New functions, public - interface to gdk_gc_predraw and _postdraw. - - * gdk/win32/gdkwin32.h - * gdk/gdk.def: Add gdk_win32_hdc_{get,release}. - - * gdk/win32/gdkcolor-win32.c (gdk_colormap_alloc1): Remove - extraneous semicolon. - - * gdk/win32/gdkdrawable-win32.c: Check also for pen_width == 0. - - * gdk/win32/gdkimage-win32.c (gdk_image_new): Use the visual's depth, - not the Win32 bitspixel value. - - * gdk/win32/gdkcc-win32.c: - * gdk/win32/gdkcolor-win32.c - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkwin32.h: Changes to make compilable, with new - GDK object structure. - -Tue Jul 11 20:59:35 2000 Tim Janik - - * docs/tutorial/gtk_tut_12.es.sgml (name): - * docs/tutorial/gtk_tut_it.sgml (name): - * docs/tutorial/gtk_tut_fr.sgml (name): - * docs/tutorial/gtk_tut.sgml (name): scratched notion of completely - outdated email adress: s/timj@psynet.net/timj@gtk.org/. - -Tue Jul 11 13:10:57 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Cleanup indenting and various - small changes. - -Tue Jul 11 08:04:58 2000 Tim Janik - - * gtk/gtktree.c (gtk_real_tree_select_child): eek, i've never seen - a bug here, never been here and never fixed anything ;( - (don't segfault if tree->root_tree is NULL, which happens prior - to widget realization, but puke instead). - -Tue Jul 11 06:38:42 2000 Tim Janik - - * gtk/gtkrc.h: add xthickness and ythickness to GtkRcStyle and - add the necessary tokens. - - * gtk/gtkrc.c (gtk_rc_style_init): properly initiality the rc style. - (gtk_rc_style_to_style): copy thicknesses. - (gtk_rc_init_style): apply thicknesses. - (gtk_rc_parse_style): parse xthickness and ythickness. - - * gdk/x11/gdkdnd-x11.c: silence compiler in switch() statements. - - * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): - (gdk_window_new): - (_gdk_windowing_window_init): - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new): - (gdk_pixmap_create_from_data): - (gdk_bitmap_create_from_data): - (gdk_pixmap_new): - * gdk/x11/gdkimage-x11.c (gdk_image_get): - (gdk_image_new): - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): - * gdk/x11/gdkdnd-x11.c (gdk_drag_context_new): - * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): - (gdk_colormap_get_system): - (gdk_colormap_new): - * gdk/gdkwindow.c (gdk_window_init): - * gtk/gtkstyle.c (gtk_style_new): - * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): - * gdk/gdkpixmap.c (gdk_pixmap_init): - * gtk/gtkrc.c (gtk_rc_style_new): - use g_object_new() instead of g_type_create_instance() which - is a private function for fundamental type implementations. - -Thu Jul 6 16:12:14 2000 Owen Taylor - - * configure.in: Add check for db2html - -Thu Jul 6 14:53:05 2000 Owen Taylor - - * gtk/gtktypeutils.c (gtk_type_init): Add a temporary - hack to set glib_debug_objects based on gtk_debug_flags. - -Thu Jul 6 14:12:13 2000 Owen Taylor - - * INSTALL.in: Update the Prerequisites section. - - * Makefile.am demos/Makefile.am docs/Makefile.am - docs/tutorial/Makefile.am gdk/x11/Makefile.am - gdk/linux-fb/Makefile.am: Dist fixes - -Thu Jul 6 12:26:03 2000 Owen Taylor - - * NEWS: 10,000 foot view of 1.3.1 changes. - -Thu Jul 6 11:54:03 2000 Owen Taylor - - * gdk/gdk.h gdk/gdktypes.h gdk/linux-fb/gdkmain-fb.c - gdk/nanox/gdkmain-nanox.c gdk/win32/gdkevents-win32.c - gdk/win32/gdkinput-win32.c gdk/win32/gdkwin32.h - gdk/x11/gdkmain-x11.c: - - Patch from George Lebl to add a GdkGrabStatus enumeration to use - as a return value of gdk_*_grab(). Previously, we just - returned the X11 values directly. - -Thu Jul 6 11:27:44 2000 Owen Taylor - - * gdk/x11/Makefile.am: Patch from George Lebl to - install all the headers in the right place. - -Tue Jul 4 13:13:01 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Add remaining sections. Completes - initial conversion to DocBook. - -2000-07-04 Tor Lillqvist - - * README.win32: Improve a bit. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle also - WM_SYSCHAR, and other changes to get handling of Alt+nnn or - Alt+0nnn on the numpad (used to enter characters by numeric code - from current DOS or ANSI codepage) working correctly, as in other - Windows apps. - - * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Use - same argument validity tests as in X11 version. - (_gdk_cursor_destroy): Use DestroyCursor, not DestroyIcon. - - * gdk/win32/gdkwin32.h: Add also WM_MOUSEWHEEL and CopyCursor - definitions in case missing from headers. - - * gdk/win32/gdkwindow-win32.c (gdk_win32_window_destroy): Also - destroy the window-specific cursor. - (RegisterGdkClass): Use the global gdk_ProgInstance instead of - calling GetModuleHandle(NULL). - (gdk_window_set_cursor): Reworked to always copy the passed cursor - with CopyCursor before setting it as the window-specific - cursor. It is OK for the caller to destroy the GdkCursor (and thus - also its Windows cursor) after calling this function. Destroy any - previous window-specific cursor. - -Mon Jul 3 17:54:49 2000 Owen Taylor - - * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): - font charset is iso8859-1, not iso-8859-1. - -Mon Jul 3 17:08:14 2000 Owen Taylor - - * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): - Use g_get_charset() instead of g_get_codeset(). - - * gtk/gtkframe.[ch] gtkframe.h gtk/gtktextmark.h: - Comment out some strdup'ing functions to keep timj - happy until we finish fighting this out. - -Mon Jul 3 14:24:16 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_draw): Ignore calls with - <= width or height. - - * gtk/gtktable.c (gtk_table_attach): Fix missed merge - from 1.2 for parent/child states. - - * gdk/gdkgc.c (gdk_gc_set_rgb_fg/bg_color): Fix a couple - of typos. - - * gdk/gdkevents.[ch]: Remove press/xtilt/ytilt fields of - event structures, replace with a generic axes field. Replace - deviceid/sourec with GdkDevice *device. - - * gdk/gdkevents.[ch] (gdk_event_get_axis): Add function - to extract particular axis use value from event. (Also - can be used for normal X/Y.) - - * gdk/gdkinput.h gdk/x11/gdkinput*: Major revision; - allow for arbitrary number of axes, namespace everything - as gdk_device_*. Replace guint32 deviceid with GdkDevice * - everywhere. - - * gdk/x11/{gdkmain-x11.c,gdkevent-x11.c,gdkinput*}: - Get rid of the gdk_input_vtable setup if favor of simply - defining the functions in gdkinput-none/gxi/xfree.c in - a similar fashion to the way that the port structure is - done. - - * gtk/gtkdnd.c: Fix fields of synthesized button press event - for new event structures. - - * gtk/gtkinputdialog.c gtk/testinput.c: Revise to match - new device interfaces. - -Sun Jul 2 18:19:50 2000 Owen Taylor - - * gtk/gtkwidget.[ch] (gtk_widget_create_pango_layout): Add a 'text' argument to - set the initial text. - - * gtk/gtkaccellabel.c gtk/gtkcalendar.c gtk/gtkclist.c - gtk/gtkentry.c gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c - gtk/gtkprogressbar.c gtk/gtkscale.c gtk/gtkvruler.c - gtk/gtkvscale.c: Adapt to new argument of create_pango_layout(). - - * gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new - pango_layout_set_font_description to simplify. - -Sun Jul 2 17:43:41 2000 Owen Taylor - - * gtk/gtkclist.c (_gtk_clist_create_cell_layout): Use new - pango_layout_set_font_description to simplify. - -Sun Jul 2 17:06:40 2000 Owen Taylor - - * gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkctree.c gtk/gtkhscale.c - gtk/gtkprogressbar.c gtk/gtkscale.c gtk/gtkvscale.c gtk/gtkaccellabel.c: Use - pango_layout_get_pixel_extents() to remove a large number of '/ PANGO_SCALE'. - - * gtk/gtk[hv]ruler.c gtk/gtklabel.c: replace some / PANGO_SCALE with - PANGO_PIXELS() macro. - -Sun Jul 2 15:24:41 2000 Owen Taylor - - * gtk/gtkwidget.[ch] (gtk_widget_get_pango_context): Add new function - that returns a PangoContext owned by the widget and updated to - match future changes in the widget. Also, make - gtk_widget_create_pango_layout() use this context. If we ever - add a ::changed signal to PangoContext, this will make things - much more convenient. - - * gtk/gtkentry.c gtk/gtklabel.c: Call pango_layout_context_changed() - in the appropriate places instead of destroying the layouts and - creating new ones. - - * gtk/gtkfontsel.[ch] gtk/gtkclist.c: Use gtk_widget_get_pango_context() - in a few strategic places. - -Sun Jul 2 14:37:58 2000 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Call - gtk_widget_size_request() on reparented child, if one. Otherwise, - queue_resize() on the child never results in it getting size-requested - at all. - - * gtk/testgtk.c (build_option_menu): Remove silly radio-menu-items - in option menus, so that (with luck) people won't copy it into - their apps in the future. - - * gtk/gtkoptionmenu.c: Connect ::size_request on the menu - to gtk_option_menu_calc_size. This isn't perfect, but should fix - a lot of problems with changing the size of the menu's menu - items after adding it to the option menu. - - * gtk/gtktexttag.c: Include gtkmain.h for gtk_get_default_language(). - - * gtk/gtkwidget.[ch]: Add a ::direction_changed that triggers when - the text direction for a widget changes. - - * gtk/gtk{entry.c,label.[ch],textview.[ch]} gtk/testgtk.c: Use - ::direction_changed to get rid of various hacks. - -Sun Jul 2 13:19:12 2000 Owen Taylor - - * docs/Changes-2.0.txt: Move Changes-1.4.txt to the appropriate - name. - -Sun Jul 2 13:06:26 2000 Owen Taylor - - * gdk/x11/gdkpixmap-x11.[ch] Changes-1.4.txt: Add a is_foreign - flag to the structure. Do not call XFreePixmap on pixmaps created - by gdk_pixmap_foreign_new(). - -Sun Jul 2 12:45:50 2000 Owen Taylor - - * gdk/gdkrgb.[ch]: Add gdk_rgb_find_color() to get a pixel - value using GdkRGB functionality given GdkColormap and GdkColor. - (name not final, waiting for inspiration.) - - * gdk/gdkgc.[ch] (gdk_gc_set_rgb_fg/bg_color): New functions to - set the foreground/background of a GC using the GC's colormap - and GdkRGB. (name not final, waiting for inspiration.) - - * gdk/gdkcompat.h gdk/gdkrgb.c (gdk_rgb_get_colormap): Rename from - gdk_rgb_get_cmap(), put #define in gdkcompat.h. - - * gtk/gtkwidget.[ch] gtkcompat.h: Make visuals for - gtk_widget_get_visual(), gtk_widget_get_default_visual, etc, - purely a function of the corresponding colormap. Make - gtk_widget_set_visual(), etc, noop macros in gtkcompat.h. - - * gdk/gdkpixmap.c gdk/x11/gdkpixmap-c11.c: Rewrite - gdk_pixbuf_*create_from_xpm_* in terms of - gdk_pixbuf_new_from_xpm_data(), move into platform independent - code. - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Take - advantage of the new draw_rgb_32_image_dithalign. - - * gdk/gdkrgb.c (gdk_draw_rgb_32_image_dithalign): Added. - - * gtk/gtkgc.c (gtk_gc_new): Set the appropriate colormap - on each created GC. - - * gdk/gdkgc.[ch]: Add gdk_gc_get/set_colormap. - - * gdk/gdkgc.[ch]: Add a colormap field to the GdkGC structure - which we initialize from the drawable when the GC is created, - if the drawable has a colormap. - - * gdk/x11/gdkgc-x11.c: include string.h for memset. - - * gdk/x11/gdkinput-x11.c: include string.h for strlen, etc. - - * gtk/gtklayout.[ch]: Remove unsed configure serial member. - -Sat Jul 1 16:28:32 2000 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): When - actually returning expose events, make sure to set - the count field properly. - - * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): Fix - accidentally reintroced bug which always cleared - the graphics_exposures value. - -Wed Jun 28 18:03:09 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Change DocBook layout slightly - -Wed Jun 28 17:49:05 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Finish Section 6. Add Section 7. - -Wed Jun 28 13:31:55 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Start of Section 6. - -Mon Jun 26 19:37:04 2000 Owen Taylor - - * configure.in: Put 1.3.1 in warning message, not 1.3.0. - - (Fixes problem with drawing childless frames. Pointed out - by and a first patch from Anders) - - * gtk/gtkframe.c (gtk_frame_compute_child_allocation): Always - compute a child_allocation, even if we don't have a child. - - * gtk/gtkaspectframe.c (gtk_aspect_frame_compute_child_allocation): - Always chain to the parent's impl, even if we don't have a child. - -Mon Jun 26 18:53:31 2000 Owen Taylor - - * gdk/gdkrgb.c: If possible, create only a single shm segment and - use multiple parts of it instead of creating a bunch of separate - segments, since the maximum number of segments per system is not - large. (This might be worth backporting to GTK+-1.2.x if we make a - new release ) - - * gdk/gdkrgb.c: Localize a bunch of variables into the GdkRgbInfo - structure in preparation for per-colormap GdkRGB. - - * gdk/x11/gdkimage-x11.c (gdk_image_new): Don't set gdk_use_xshm - to False when we get EINVAL from shmget so that the caller of - gdk_image_new can retry with a smaller segment size. - -Mon Jun 26 13:01:16 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Add Sections 4 & 5. - -Fri Jun 23 17:54:23 2000 Tim Janik - - * configure.in: make the current version number 1.3.1 (binary age 0, - interface age 0). - - * gtkfeatures.h, gtkfeatures.h.in: dejavue, get rid of these *again*, - gtkcompat.h is all we want. - - * gtk/gtktypeutils.[hc]: define most of the primitive types in terms of - GLib primitive types. fixed g_type_register_fundamental() argument - ordering. - - * gtk-config.in (lib_gtk): add -lgdk_pixbuf so third party code - compiles. - - * gdk-pixbuf-loader.[hc]: get rid of unistd.h include. - object code cleanup, comment trigraph fixes, etc... - -2000-06-23 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_set_buffer): Use anonymous mark - instead of making up a bogus name for first_para_mark - - * gtk/gtkstatusbar.h, gtk/gtkstatusbar.c: Allow - 0 as a context ID - -Thu Jun 22 17:43:51 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgml: Change filename. Add Section 3. - -2000-06-21 Havoc Pennington - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Fix bug where - we didn't check window->bg_pixmap != GDK_NO_BG. - - * gtk/gdk-pixbuf-loader.c: Change to reflect GObject-ification of - gdk-pixbuf - -Thu Jun 22 14:02:19 BST 2000 Tony Gale - - * docs/faq/gtk-faq.sgm: Move file to here. - TODO: Update Makfile.am - -Thu Jun 22 13:41:09 BST 2000 Tony Gale - - * docs/gtk-faq.sgm: Add Section 2 - -Thu Jun 22 08:43:45 BST 2000 Tony Gale - - * docs/gtk-faq.sgm: New file. Start of DocBook - version of the FAQ. - -Wed Jun 21 23:04:17 2000 Owen Taylor - - * configure.in (GDK_PIXBUF_MAJOR): Define version - numbers for GDK_PIXBUF_*, as they get substituted - into a header file. Need to consider versioning - for gdk-pixbuf more carefully later. - -2000-06-21 Raja R Harinath - - Work with srcdir != builddir. - * demos/testanimation.c: Don't include "gdk-pixbuf.h". Use - , not "gtk-pixbuf/gdk-pixbuf-loader.h". - * demos/testpixbuf.c: Likewise. - * demos/testpixbuf-scale.c: Don't include "gdk-pixbuf.h". - * demos/testpixbuf-drawable.c: Don't include "gdk-pixbuf.h". Use - . - * demos/pixbuf-demo.c: Use not "gtk.h". Don't include - "gdk-pixbuf.h". - * demos/Makefile.am (INCLUDES): Remove unneeded directories. - -Wed Jun 21 19:45:02 2000 Owen Taylor - - * TODO.xml: Change 1.4 version numbers to 2.0. - -Wed Jun 21 19:29:08 2000 Owen Taylor - - * gdk/gdkpixbuf-render.c gdk/gdkpixbuf-drawable.c: Indentation - fixups to GTK+ standard. - -Wed Jun 21 16:38:13 2000 Owen Taylor - - * gdk-pixbuf/* docs/reference/gdk-pixbuf/*: Welcome aboard, - gdk-pixbuf. - - * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): - fixups for GObject. - - * gdk/Makefile.am gdk/gdkpixbuf-render.[ch] gdk/gdkpixbuf.[ch]: Bits of - gdk-pixbuf with GDK dependencies moved into GDK. - - * gtk/Makefile.am gtk/gdk-pixbuf-loader.[ch]: Temporarily - move gdk-pixbuf-loader here until GObject has signals. - - * demos/: New directory of demos. Move demos from - gdk-pixbuf here. - - * demos/pixbuf-init.c: Small bit of code to check for - loaders in ../gdk-pixbuf/.libs/gdk-pixbuf, and if found, - set GDK_PIXBUF_MODULEDIR appropriately. - - * gdk/gdkcompat.h: Remove GDK_DRAWABLE_PIXMAP compat - define which no longer makes sense. - -2000-06-21 Havoc Pennington - - * gtk/gtkwidget.c (gtk_widget_create_pango_context): Use - gtk_get_default_language - - * gtk/gtkmain.h, gtk/gtkmain.c (gtk_get_default_language): - new function to get the default language - - * gtk/gtktexttagprivate.h, gtk/gtktexttag.c, gtktextview.c: - s/gtk_text_view_style_values/gtk_text_style_values/ - - * gtk/gtktexttag.c, gtk/gtktexttag.h, gtk/gtktexttagprivate.h: - Add a "language" field to tags. - - (gtk_text_tag_set_arg): Fix bug in setting - "bg_full_height_set" tag. - -2000-06-21 Havoc Pennington - - * gtk/gtktextiter.h: Use gunichar instead of gint when appropriate - in the interfaces - - * gtk/gtktexttypes.c: Remove UTF functions, use glib - stuff instead when possible. - - * gtk/gtktexttypes.h: Delete some unused constants - - * gtktextbtree.c, gtktextiter.c, gtktextsegment.c, gtktextview.c, - testtextbuffer.c: use glib instead of custom unicode routines - -Wed Jun 21 12:50:58 2000 Owen Taylor - - * docs/es/: Removed mistakenly added generated sgml - - * docs/{gdk.texi,gtk.texi,gdk.sgml} macros.texi texinfo.tex: - Remove outdated info files. - - * docs/gtk_tut* docs/package_tutorial.sh docs/tutorial: - Moved tutorial files into subdir - - * docs/gtkfaq.sgml docs/faq/gtkfaq.sgml: Move FAQ into - subdir. - - * docs/man/gtk_button.pod: Remove. (contents will be - integrated into gtk-reference button page.) - - * configure.in docs/Makefile.am docs/tutorial/Makefile.am - docs/faq/Makefile.am: Adjust for new organization - -2000-06-21 Christopher Blizzard - - * gdk/x11/Makefile.am (install-data-local): use $(mkinstalldirs) - not $(MKINSTALLDIRS) - -Wed Jun 21 12:24:28 2000 Owen Taylor - - * gtk/testgtk.c (create_text): Finish the job Elliot started - of removing font setting test for text widget. (Since text widget - and GdkFont are not deprecated, and cause portability problems.) - -Wed Jun 21 11:41:43 2000 Owen Taylor - - * gtk/gtkentry.c gtk/gtkimcontextsimple.c gtk/gtklabel.c - gtk/gtktexttypes.c gtk/testtext.c modules/linux-fb/basic.c: - Remove use of libunicode in favor of new GLib functions. - - * gtk/gtkcolorsel.c: Remove conditional includes for FB, win32, - nano-x, framebuffer. The X11 include is just a hack until we get - the necessary functions in gdkcolor.h, so there is no reason to - add other includes of platforms. - - * gtk/gtkwindow.c (gtk_window_compute_default_size): Revert - window bigger than the screen change. - - * gtk/testgtk.c: Revert some random changes from Elliot - that had no particular point and were causing testgtkrc - not to function correctly. - - * gdk/gdkregion-generic.h: Revert change from Elliot. Just - because GdkSegment and GdkRegionBox have the same fields, - it doesn't mean that 'typedef GdkSegment GdkRegionBox' - results in clearer code. - - * gdk/x11/gdkinput-x11.c (gdk_input_common_select_events, - gdk_input_translate_coordinates): Fix missed GdkObjectification - -2000-06-18 Elliot Lee - - * gdk/Makefile.am, gdk/*/Makefile.am: Fix conditionality to work the "right" way. - * gtk/gtk{plug,socket}.h: Missed commits from previous. - -2000-06-20 Havoc Pennington - - * modules/linux-fb/Makefile.am: Make this compile - without framebuffer enabled - - * gdk/linux-fb/Makefile.am: Add conditional to not build - framebuffer unless specified in configure - - * gdk/gdkdraw.c (gdk_draw_drawable): Fix bug where I was getting - the size of the target instead of source if -1 was passed for - width/height - - * gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): Fix - width/height confusion. - -2000-06-19 Havoc Pennington - - * gdk/x11/gdkx.h (GDK_WINDOW_XWINDOW): change this to be - GDK_DRAWABLE_XID. In the future, we probably want to make it - faster with G_DISABLE_CHECKS turned on. - -2000-06-14 Havoc Pennington - - * gdk/Makefile.am: add gdkpixmap.c - - * gdk/gdk.c: s/gdk_window_init/_gdk_windowing_window_init/ - s/gdk_image_init/_gdk_windowing_image_init - - * gdk/gdkcolor.c: make ref/unref compat wrappers for GObject - ref/unref - - * gdk/gdkcolor.h: make GdkColormap a GObject subclass - - * gdk/gdkcompat.h: remove GdkWindowType compat, since - GdkWindowType is now non-deprecated; - change gdk_window_get_type() compat to be - gdk_window_get_window_type(). - - * gdk/gdkdnd.h: make GdkDragContext a GObject. - - * gdk/gdkdraw.c, gdk/gdkdraw.h: Convert GdkDrawable to a pure - virtual GObject. Make all functions call into the vtable. - Move gdk_image_put() guts in here. Remove GdkDrawableType - and gdk_drawable_get_type(), these are now GdkWindow-specific. - draw_image, get_depth, get_size, set_colormap, get_colormap, - get_visual added to the vtable. - - * gdk/gdkgc.h, gdk/gdkgc.c: Convert GdkGC to a pure virtual - GObject. Virtualize everything. - (gdk_gc_new_with_values): remove check for destroyed window, - because now GdkWindow::create_gc will check this. - (gdk_gc_set_values): New function to set GC values, this - was already implemented but wasn't in the header - - * gdk/gdkimage.h, gdk/gdkimage.c: Convert GdkImage to a GObject. - - * gdk/gdkinternals.h: Remove _gdk_window_alloc(), remove - _gdk_window_draw_image(), remove _gdk_windowing_window_class, - remove _gdk_window_class; add _gdk_window_impl_get_type() and - _gdk_pixmap_impl_get_type(). Rename gdk_window_init to - _gdk_windowing_window_init, rename gdk_image_init to - _gdk_windowing_image_init. - - * gdk/gdkpango.c: Reflect GObject-ification of PangoContext. - (gdk_draw_layout): Remove check for destroyed window, - because all the drawable methods already check it. - - * gdk/gdkpixmap.h, gdk/gdkpixmap.c: Convert GdkPixmap to GObject. - Add gdkpixmap.c which contains implementation of GdkDrawable - virtual table (by chaining to a platform-specific implementation - object). - - * gdk/gdkprivate.h: Remove GDK_IS_WINDOW, GDK_IS_PIXMAP, - GDK_DRAWABLE_DESTROYED. Add GDK_WINDOW_DESTROYED. Replace - GDK_DRAWABLE_TYPE with GDK_WINDOW_TYPE. Remove GdkDrawablePrivate, - GdkWindowPrivate, GdkImageClass, GdkImagePrivate, GdkGCPrivate, - GdkColormapPrivate. - - * gdk/gdktypes.h: #include - - * gdk/gdkwindow.h, gdk/gdkwindow.c: Convert GdkWindow to GObject. - Move most functionality to platform-specific implementation - object. GdkWindow itself now handles the backing store, then - chains to the platform-specific implementation. - (gdk_window_get_window_type): return GdkWindowType of the window. - (gdk_window_peek_children): New routine, returns the children of - a GdkWindow - (gdk_window_get_children): Was in X11-specific code and did - XQueryTree. Changed to simply return a copy of window->children; - so it can go in cross-platform code. - - * gdk/x11/Makefile.am: fix broken MKINSTALLDIRS path - - * gdk/x11/gdkcolor-x11.c: implement X-specific parts of - GdkColormap; just changed to use the new private data instead - of casting to GdkColormapPrivate. - - * gdk/x11/gdkcursor-x11.c: added a couple typechecks to - gdk_cursor_new(). - - * gdk/x11/gdkdnd-x11.c: Change the way we access private fields - (private data member in the GObject). - (xdnd_manager_source_filter): Function had broken - error handling, fix it (use gdk_error_trap_push). - - * gdk/x11/gdkdrawable-x11.c: This file now implements - a base class for GdkWindowImplX11/GdkPixmapImplX11. This - base class is purely for the convenience of the X port, - and not part of the interface to cross-platform GDK. - - * gdk/x11/gdkevents-x11.c: Reflect various renamings. - - * gdk/x11/gdkgc-x11.c: Implement a subclass of GdkGC that's - specific to X, and returned by the create_gc virtual method - of GdkDrawableImplX11. - (gdk_x11_gc_set_dashes): Change this to take an array of gint8 - rather than gchar, this was also changed in the GdkGC vtable. - (gdk_x11_gc_values_to_xvalues): If GdkGCValues is NULL, or the - mask is 0, return immediately, instead of checking every flag. - This is faster, and keeps us from segfaulting if values is NULL - and the mask contains some nonzero flags. - - * gdk/x11/gdkgeometry-x11.c: deal with all the rearranging of - GdkWindow. - - * gdk/x11/gdkglobals-x11.c: change type of grab window, since - GdkWindowPrivate is gone. - - * gdk/x11/gdkim-x11.c: rename things that got renamed. - - * gdk/x11/gdkimage-x11.c: implement in terms of GObject, and - remove the image_put stuff that got transferred to GdkDrawable. - - * gdk/x11/gdkinput.c: renamings - - * gdk/x11/gdkmain-x11.c: #include - - * gdk/x11/gdkpixmap-x11.c: GObject conversion - - * gdk/x11/gdkprivate-x11.h: indentation fixes - - * gdk/x11/gdkproperty-x11.c: renamings - - * gdk/x11/gdkselection-x11.c: renamings - - * gdk/x11/gdkwindow-x11.c: Restructuring and renaming; this now - implements the platform-specific "impl" object. - Moved gdk_window_get_children to gdk/gdkwindow.c - - * gdk/x11/gdkx.h: Remove all the private structs and private datas - that no longer exist. Add declaration of GdkGCX11 object here. - Fix all the macros to still work. - - * gtk/gtk-boxed.defs: Remove GtkStyle, GdkColormap, GdkWindow, - GdkDragContext from the boxed types since they are now GObjects. - - * gtk/gtkstyle.h, gtk/gtkstyle.c: Converted GtkStyle to a GObject, - moved xthickness/ythickness into the instance. GtkStyleClass - functions are now in the standard vtable for GtkStyle, so you have - to create a GObject subclass to write a theme engine. - (gtk_style_copy): fixed a leaked PangoFontDescription - (gtk_style_init): renamed gtk_style_realize, so gtk_style_init - can be the standard GObject function. - - * Throughout GTK: - s/style->klass->[xy]thickness/style->[xy]thickness - s/pango_layout_unref/g_object_unref/ - - * gtk/gtkrc.h, gtk/gtkrc.c: Converted GtkRcStyle to a GObject. - - * gtk/gtksocket.c: Use gdk_window_get_user_data() instead of - accessing GDK internals. - - * gtk/gtkwidget.c: Use gdk_window_peek_children() instead of - accessing GDK internals. - -2000-06-18 Elliot Lee - - * gtk/gtkwindow.c: Don't allow creation of a window bigger than the screen. - - * gtk/gtkrange.c: Fix the mega-jumpy-with-lagged-events scrollbar - problem by calculating event position relative to the trough - rather than the slider. - * gtk/gtkdnd.c, gtk/gtkcolorsel.c: Include FB headers if appropriate. - - * gdk/gdkgc.h: Add GDK_NOR. - - * configure.in, Makefile.am: Add modules top level dir - * configure.in: Only use pangox library if building x11 target. - * gdk/gdkdnd.h: Add GDK_DRAG_PROTO_LOCAL enum for future intra-app use. - -Fri Jun 16 22:24:22 2000 Christopher Blizzard - - * gtk/gtkcolorsel.c: Change private class member to be named - private_data throughout the file. - - * gtk/gtkcolorsel.h (struct _GtkColorSelection): Change private to - private_data to avoid clashing with keyword. - -Fri Jun 16 22:24:22 2000 Christopher Blizzard - - * gdk/gdkdnd.h: Add comment to remove warning. - -Sun Jun 18 15:35:35 2000 Pablo Saratxaga - - * gtk/gtkrc.cp1251,gtk/Makefile.am: the cp1251 is also used by - Byelorussian language; changed the Makefile and file names - to reflect that. - -Mon Jun 12 16:58:40 2000 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_unmap): Call gdk_window_withdraw - rather than gdk_window_hide; this makes things work - correctly if the window is programmatically hidden while - iconified. - -Sun Jun 11 12:46:19 2000 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_set_default_icon): Fix - cut and paste typo where wrong pixmap was being - unref'ed. (Pointed out by a friend of KUSANO Takayuki.) - -Sun Jun 11 10:22:36 2000 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_bytes_per_item): - Add helper function to compute format / bytes - relationship. Use in a couple places to fix up - errors which assume 8 * format. - - * gtk/gtkselection.c (gtk_selection_request): Use 32 - rather than 8 * sizeof (GdkAtom), to work correctly - on Alpha. - -Thu Jun 8 21:54:51 2000 Christopher Blizzard - - * gtk/Makefile.am (DEPS): deps include libgtk-x11.la, not - libgtk.la - (LDADDS): include libgtk-x11.la and libgdk-x11.la, not the non-x11 - versions - - * gtk/gtklabel.c (gtk_label_get_text): Make sure that the error - checking macros return NULL since the function has a return value. - -Wed Jun 7 15:44:42 2000 Owen Taylor - - * gtk/Makefile.am (LDFLAGS): Add missing backslash that was keeping - GTK+ from building at all. - - * gdk/Makefile.am (gdk_c_sources): Fix up some indentation issues. - -Mon Jun 5 19:32:53 CEST 2000 Paolo Molaro - - * configure.in, gtk-config.in, gdk/Makefile.am, gdk/*/Makefile.am, - gtk/Makefile.am: make it possible to configure gtk for different - targets on the same platform. The library name is now - libgtk-$target-$version.so. gtk-config accepts a --target x11|nanox|linux-fb - flag. Only the x11 target compiles right now. - * gdk/gdkregion-generic.h, gdk/gdkregion-generic.c, gdk/gdkpoly-generic.h, - gdk/gdkpolyreg-generic.c: move generic region code in the main GDK dir. - * gdk/nanox/gdk*generic*: delete generic region code. - * gdk/linux-fb/gdk*generic*: delete generic region code. - * README.nanox: update information. - -Tue Jun 6 10:53:59 2000 Owen Taylor - - * gtk/gtktoolbar.c (gtk_toolbar_prepend_widget): Fix to - prepend not append. (Pointed out by Brett Hall.) - -Tue Jun 6 01:59:57 2000 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout. - -Mon Jun 5 16:00:09 2000 Owen Taylor - - * gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll - need this later, and this makes sure that the atexit for - glib gets called after that for GDK, so atexits are - properly ordered for object leak checking. - - * gdk/gdk.c (gdk_exit_func): Call gdk_windowing_exit(). - - * gdk/x11/gdkmain-x11.c (gdk_windowing_exit): Call - pango_x_shutdown_display() - - * gtk/simple.c (main): Close window on destroy. - -Mon Jun 5 11:50:02 2000 Owen Taylor - - * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need - to treat initial creation different from setting with - regards to the graphics-exposures parameter, so add a parameter - indicating whether this is initial or not. - -Mon Jun 5 13:29:31 2000 Owen Taylor - - * gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose() - to sort of work by adding an extra return_exposes arg - to gdk_event_translate() - it might be better to simply - deprecate the function altogether and force people to rewrite - without it. gdk_window_scroll() handles most of it, and where - gdk_window_scroll() doesn't work, simply redrawing more does. - - * gtk/gtkwidget.c (gtk_widget_set_default_direction): Fix up - assertion. - - * gtk-config.in: Include PANGO_CFLAGS/LIBS. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Remove a - bunch of pretty much useless /* Print debugging info */ comments - which had drifted away from the code they were commenting. - -2000-06-02 Havoc Pennington - - * gtk/testtextbuffer.c: Test program to make sure GtkTextBuffer - is in working order. - - * gtk/testtext.c: Change to reflect anonymous mark API - - * gtk/gtktextview.c: Convert from mark names to GtkTextMark*. - - * gtk/gtktexttag.h (struct _GtkTextTag): remove the affects_size - field, which was unused. - - * gtk/gtktextmarkprivate.h (GTK_IS_TEXT_MARK): add this macro, - saves some typing. - - * gtk/gtktextbuffer.c: Switch from mark names to GtkTextMark* - - * gtk/gtktextbtree.c (gtk_text_btree_new): set the not_deleteable - flag on the insertion point and selection bound - - Throughout, use GtkTextMark instead of GtkTextLineSegment, and - make mark-manipulation functions take a GtkTextMark* instead of a - mark name. - - * gtk/gtktextmarkprivate.h: Add a "not_deleteable" flag to - GtkTextMarkBody; will be used to detect attempts to delete - the permanent marks (insert and selection bound) - - * gtk/Makefile.am (noinst_PROGRAMS): add testtextbuffer - -Fri Jun 2 12:56:01 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Initialize DOUBLE_BUFFERED - flag to on. - - * gtk/gtkwidget.c (gtk_widget_draw) gtk/gtkmain.c (gtk_main_do_event): - Honor DOUBLE_BUFFRED_FLAG - - * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a - function to set the DOUBLE_BUFFERED flag. - - * gtk/gtkwidget.h: Add GTK_DOUBLE_BUFFERED flag to indicate whether - or not exposes done on the widget should be double-buffered. - - * gtk/gtkenums.h (GtkTextDirection): Reverse order of enumerations - to be what would be expected. (Fixes problem with a - g_return_if_fail() validating a TextDirection enumeration) - -Thu Jun 1 23:05:13 2000 Owen Taylor - - * gtk/gtkwidget.c: Remove all references to - offscreen flag which was no longer used. - - * gtk/gtkprivate.h (enum): Remove unused flags and compress. - - * gtk/gtkframe.c (gtk_frame_set_label_widget): Check - for non-null label_widget->parent. - - * gtk/gtkentry.c: Get rid of code to deal with PangoAttribute - which no longer was used. - - * gdk/gdkpango.c (gdk_pango_context_get_info): make static. - - * gdk/gdkpango.c (gdk_draw_layout[_line]): Add checks - for null arguments. - - * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): add - check for destroyed windows. - -Thu Jun 1 13:48:45 2000 Owen Taylor - - * gtk/gtkimmulticontext.c: Add a finalize method and unref - the slave context there. - - * gtk/gtkinvisible.[ch]: Make reference counting behavior - identical to GtkWindow. - -Thu Jun 1 01:54:11 2000 Owen Taylor - - * Makefile.am gdk/gdkpango.c: Copy the layout render function from - pangox to here, so we can write them independent of rendering - system, using GDK primitives. - - * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkwindow.c - gdk/x11/gdkdrawable-x11.c: Remove draw_layout() from the vtable, - since we have a rendering-system independent implementation in - terms of draw_glyphs(). - - * gdk/gdkpango.c gdkdrawable.h (gdk_draw_layout_line): New - function to render a single line. - - * gdk/x11/gdkpango.c: Move the guts of this file mostly - into ../gdkpango.c, which simplifies things, since we - don't have to deal with raw X gc's. - -Fri May 19 04:28:16 2000 Owen Taylor - - * gtk/gtktextlayout.[ch]: Add get_log_attrs() function to - get the logical attributes for a given GtkTextLine. - -Tue May 30 16:05:39 2000 Owen Taylor - - * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Track - g_locale_get_codeset() to g_get_codeset() change. - -Tue May 30 15:03:19 2000 Owen Taylor - - * gtk/testcalendar.c (calendar_font_selection_ok): Use font - descriptions. - - * gtk/gtkentry.c (gtk_entry_draw_text): Center text within - the entry. - - * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Start of - redoing (vastly simplifying) for Pango. Still needs quite - a bit of work. (Size selection is currently poor. List of - predefined sizes is not a good idea, since all of these - sizes won't necessarily be distinct.) - -Tue May 30 13:50:19 2000 Owen Taylor - - * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Handle - CODESET results for LANG=C. - -Mon May 29 15:49:10 2000 Owen Taylor - - * gtk/gtkrc.[ch]: Add a 'font_name' declaration to RC - which takes a stringized pango font description; - ignore the older 'font' and 'fontset' declarations. - - * gtk/gtkstyle.c gtk/gtkrc.c: Fill in the style->font - field with a GdkFont derived via gdk_font_from_description(), - for compatibility. (Should we just remove it entirely? - Probably too much compatibility breakage, but people - should be migrating to the new Pango stuff as quickly - as possible.) - -Mon May 29 15:47:41 2000 Owen Taylor - - * gtk/gtkentry.c gtk/gtkclist.c: s/pango_font_unref/g_object_unref/. - -Mon May 29 15:44:46 2000 Owen Taylor - - * gtk/gtkcalender.c: Roughly pango-ized. Really needs - redoing; there are some bugs in size allocation right - now, the semi-existant distinction between header / day - fonts was removed, but, with Pango, could actually - be made functional in a nice way. - - * gtk/testcalender: Move calender from examples into this - directory as a test program. (We really need to restrcture - testgtk into a whole directory full of tests for every - widget or functionality group, separated into multiple .c - files.) - -Mon May 29 15:19:56 2000 Owen Taylor - - * gtk/testgtk.c (file_exists): Fix stupid typo that - was keeping RC file from being loaded. - - * gtk/testgtkrc gtk/testgtkrc2: Test new pango-ized - RC file font code. - -Mon May 29 14:31:27 2000 Owen Taylor - - * gdk/gdkfont.h gdk/x11/gdkfont-x11.c (gdk_font_from_description): - Add function to load a GdkFont from a PangoFontDescription. - -2000-05-29 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_WindowProc): The local "event" - variable should be of type GdkEventPrivate. - -Fri May 26 17:16:40 2000 Owen Taylor - - * gtk/frame.[ch] gtkaspectframe.c: Make frame widgets able - to have any widget for the label, use a GtkLabel widget - to display the text. (Based partially on a patch from - Anders Carlson.) - - (Quite a bit of code reorganization - strip 90% of the - guts out of gtkaspectframe and add a single virtual - func to GtkFrameClass - compute_child_allocation.) - -Fri May 26 12:00:02 2000 Owen Taylor - - * gtk/gtkctree.c gtk/gtkclist.[ch]: Pangoized. - (Removed clist->row_center_offset field because caching - it wasn't saving time or code, added private function - _gtk_clist_create_cell_layout()). - -Wed May 24 15:59:37 2000 Owen Taylor - - * gtk/gtkaccellabel.c: Pangoized. - - * gtk/[hv]ruler.c: Pangoized - -Mon May 22 19:23:59 2000 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_init): - Use gtk_clist_set_column_auto_resize() to remove need - need for manual column width computations. - -Mon May 22 18:50:26 2000 Owen Taylor - - * gtk/gtktooltips.[ch]: Replace custom drawing with a GtkLabel, - ensuring Pango correctness, and considerably simplifying the - code. - - * gtk/gtklabel.c gtk[hv]scale.c: 1000 => PANGO_SCALE. - - * gtk/gtklabel.c (gtk_label_size_request): Fixed incorrect - getting of numbers of lines. - - * gtk/gtklabel.c (gtk_label_size_request): Set the requisition - to the actual requested width of the lable, not to the wrap - width we set. - - * gtk/gtktextchild.h: Remove extraneous include of gtk/gtk.h. - - * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextlayout.c - gtk/gtktextview.c gtk/gtktextview.[ch]: Fix up includes. - - * gtk/gtktextview.c: Fix structure inheritance. - - * gtk/gtkprogressbar.c: Pangoize. - -Mon May 22 15:47:30 2000 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_get_first_para_iter): Encapsulate - in a function. - - * gtk/gtktextlayout.c (find_display_line_above): Fixed - bug with computing line tops. - - * gtk/gtktextview.c (changed_handler): Fix < , <= confusion. - -Thu May 18 18:53:31 2000 Owen Taylor - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix up the x_offset - and y_offset coordinates to do what we need now. (The offset between - buffer and layout coordinates has been reintroduced, but is a - bit different than before.) - - * gtk/gtktextview.[ch]: No longer inherit from GtkLayout; instead - handle the adjustments ourselves, and scroll as necessary using - the new gdk_window_scroll(). - - The advantage of this is that when we are incrementally revalidating, - we are essentially rearranging things around the visible portion - of the screen. With the old setup, the visible portion of the - screen was moved around in the layout, so scrolling and redrawing - to track that caused jumping of the display. Since we now - control the scrolling ourselves, we can suppress this and - only redraw when things actually change. - -Thu May 18 18:47:25 2000 Owen Taylor - - * gtk/gtktextbtree.c (redisplay_mark): We need to invalidate - the region not just redisplay it after-all, since we store the - cursors in the LineDisplay. (Ugly interactions here between - GtkLayout and GtkTextBTree here.) - - * gtk/gtktextbtree.c (redisplay_region): Fixed reversed comparison. - -Thu May 18 18:43:21 2000 Owen Taylor - - * gdk/gdkwindow.h gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): - Added function to scroll contents of a window while keeping the - window constant. Works by XCopyArea or guffaw-scrolling depending - on the details of how the window is set up. (guffaw-scrolling - still needs to be filled in.) - -Wed May 17 22:36:53 2000 Owen Taylor - - * gtk/gtktextiter.c gtk/gtkmain.c: Add a debug key for the text widget, - move the debugging that was tied to a global variable - to that. - - * gtk/gtkmarshal.list: Add NONE:INT,INT,INT - - * gtk/gtktextbtree.[ch] gtk/gtktextlayout.c: Keep a separate - validated flag, in line data instead of setting height/width to - -1. This allows us to perform operations with partially invalid - buffer (using the old size for invalid lines) and thus to do - incremental vaidation. Keep height/width aggregates up to date - when deleting text and rebalancing the tree. - - * gtk/gtktextbtree.[ch]: Add functions validate a line - (gtk_text_btree_validate_line), and to validate up - to a number of pixels (gtk_text_btree_validate). - - * gtk/gtktextlayout.[ch]: Add an ::invalidated signal - that indicates that something is changed and a revalidation - pass is needed. Change ::need_repaint to ::changed, and - make it take old and new yranges instead of a rectangle. - - * gtk/gtktextbtree.[ch] gtk/gtktextlayout.[ch]: Move - the line_data_destroy() function from - gtk_text_btree_add_view() to a virtual function in - GtkTextLayout - - * gtk/gtktextbtree.[ch]: Remove gtk_text_btree_get_damage_range(), - since we are handling partial repaints in a different fashion - now. - - * gtk/gtktextbtree.[ch]: Only repaint the changed portion - of the selection instead of queueing a repaint on the - entire widget. - - * gtk/gtktextbuffer.[ch] gtk/gtktextbtree.[ch]: Move - get_selection_bounds() down to btree, make the function - in buffer a wrapper around the btree function. - - * gtk/gtktextlayout.[ch]: Add functions to check if the - layout is valid and to recompute either a range of pixels - aroudn a line or a certain total number of pixels. - - * gtk/gtktextlayout.[ch]: Cache a single line display; - now that we only redraw the needed portions, the hit rate - for this cache is quite high. - - * gtk/gtktextview.[ch]: Keep track of the first paragraph - on the screen so that when re-laying-out the buffer, we can - keep the same place. This requires connecting to ::value_changed - on the adjustments - - * gtk/gtktextview.[ch]: Add idle functions to revalidate - the buffer after we receive an ::invalidated signal. - -Wed May 17 22:10:47 2000 Owen Taylor - - * gtk/gtklayout.c (gtk_layout_size_allocate): Set upper - to max of allocation and layout size, not just to the - layout size. - - * gtk/gtk[hv]scrollbar.c (gtk_[hv]scrollbar_calc_slider_size): - Invalidate window so it gets redrawn properly. - - * gdk/gdkwindow.c (gdk_window_invalidate_rect): Allow rect == NULL - to mean the entire window. - - * gdk/gdkevents.h: Move definition for GDK_PRIORITY_REDRAW - into public header. - -Mon May 15 14:51:31 2000 Owen Taylor - - * gtk/gtktextmark.c (gtk_text_mark_get_name): Add function - to get the name of a mark. - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_at_y): Add a function - to find the paragraph from a y position. - -Thu May 11 12:57:20 2000 Owen Taylor - - * gtk/gtktextbtree.c (gtk_text_btree_node_invalidate_upward): Valid - nodes have width/height >= 0, not > 0. - -Tue May 9 21:29:06 2000 Owen Taylor - - * gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c (gtk_text_layout_get_line_display): - Add a size_only flag, so when we only need the size, we don't create - useless appearance attributes. - - * gtk/gtktextview.c (gtk_text_view_ensure_layout): Remove - duplicate setting of font description. - - * gtk/gtkscale.c: Use PANGO_SCALE instead of 1000 - -Wed Apr 26 01:53:23 2000 Owen Taylor - - * gtk/Makefile.am (EXTRA_DIST): Add OLD_STAMP into - EXTRA_DIST. It does not work well when the file that - everything depends on is not in the tarball. - -Wed Apr 26 00:56:14 2000 Owen Taylor - - * gtk/testgtk.c: Some hacks and fixes so that it basically - works when not sitting in the GTK+ build tree. - -2000-05-03 Havoc Pennington - - * gtk/gtktextbtree.c (gtk_text_line_next_could_contain_tag): - Properly determine the ordering of the tag root and the current - line within the tree. Previous algorithm only worked if the tag - root's immediate parent was the common root of both the current - line and the tag root. - -Wed Apr 26 00:43:00 2000 Owen Taylor - - * gtk/gtktextlayout.c (set_para_values): Fix some bugs in - alignment. - - * gtk/gtktextview.c (gtk_text_view_ensure_layout): Track - the widget text directional dynamically. - - * gtk/gtktextview.[ch]: Added functions to get and set default - wrap mode. - -Tue Apr 25 23:47:38 2000 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_get_iter_location): Fix bug - in cursor location computation. - -Tue Apr 25 23:22:59 2000 Owen Taylor - - * gtk/gtklayout.c (gtk_layout_set_size): Clamp hadjustment/ - vadjusment values properly when layout gets smaller. - - * gtk/gtktextview.c (need_repaint_handler): Areas being - passed in are far completely inaccurate, and sometimes - too small, so, for now, just queue a redraw on the - whole visible region. - -2000-04-25 Havoc Pennington - - * gtk/gtktextbtree.c (summary_destroy): new function to - destroy tag summary nodes - (gtk_text_line_next_could_contain_tag): this function was - totally broken if the line passed in wasn't below the tag - root. Fix it. - (gtk_text_btree_first_could_contain_tag): In the tag == NULL - "wildcard" case, we have to do a linear scan. Blah. - (gtk_text_btree_last_could_contain_tag): In tag == NULL case, - we have to do the linear scan - (tag_removed_cb): When a tag is removed from the tag table, - remove the GtkTextTagInfo node from the btree. - (gtk_text_btree_spew): Implement the spew function, for - our debugging pleasure. - -Tue Apr 25 19:40:18 2000 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_set_buffer): Fix - a problem with referring to the wrong buffer. - - * gtk/gtkentry.c: Fix focus-in/focus-out confusion. - - * gtk/gtkrc.c gtk/gtkstyle.c: Moving setting default - font description to gtk_style_new() - otherwise things - don't work without a .gtkrc file. - - * gtk/gtktextbuffer.c (gtk_text_buffer_new): Sink the - tags table if we create it ourself, too. - - * gdk/gdktypes.h (enum): Move GDK_RELEASE_MASK, since - it was conflicting with XKB modifiers. - - * gtk/gtktextview.[ch]: Add simple support for - GtkIMContext. - -Mon Apr 24 19:34:18 2000 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_move_cursor_visually): Fix problem - with deletion from last commit. - -Mon Apr 24 19:29:40 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_create_pango_context): Set the language - in the context from the current locale. - - * gtk/gtkentry.c (gtk_entry_size_request): Use language from the - context, not hardcoded value. - - * gtk/gtkentry.c (gtk_entry_move_cursor): Make character movement visual, - not logical. - -Sun Apr 23 23:39:18 2000 Owen Taylor - - * gtk/gtkentry.c gtk/gtktextdisplay.c: Don't handle selections as - attributes - that doesn't handle partial-glyph selection - properly. Instead use new pango_layout_line_get_x_ranges() - functionality to draw the selection. - - * gtk/gtkentry.c: Simplify code since pango_layout_line_index_to_x() - now properly handles out-of-range coordinates. - - * gtk/gtktextbuffer.c: Emit "mark_set" when the cursor is moved. - - * gtk/gtktextiter.h gtk/gtktextiterprivate.h: Make gtk_text_iter_get_line_byte() - public. - - * gtk/gtktextlayout.[ch]: Properly set the direction in the PangoContext - for paragraphs opposite to the base direction of the widget. - - * gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Fixes for alignment. - - * gtk/gtktextlayout.c: Don't split segments on marks, since that - causes Arabic words to reshape as you cursor through. - - * gtk/gtktextlayout.[ch] gtk/gtktextview.[ch]: Implement virtual - cursor position when moving vertically with the arrow keys and - scrolling with page-up/page-down. (Arrow keys save only the X, - scrolling saves both X and Y.) - - This means you can line-up / line-down or page-up / page-down - without losing your place, and also that moving vertically - with the cursor keys keeps the same X position, not the same - character count: - - * gtk/gtktextlayout.[ch] gtk/gtktextview.[ch]: Make vertical - arrow keys move by display lines, not paragraphs. - -Tue Apr 18 14:16:50 2000 Owen Taylor - - * gtk/gtklayout.c: Make sure that the bin window is at least - as big as the allocation. (Should we also make sure that the - bin window is big enough to completely cover widget->window?) - - * gtk/gtktextview.c (gtk_text_view_get_visible_rect): Add - function to get the onscreen rectangle. - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_pointer): Correctly account - for offsets in window coordinates. - -Sun Apr 16 16:13:27 2000 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_get_cursor_locations): Fix index/offset - confusion. - - * gtk/gtktextview.c (gtk_text_view_ensure_layout): Set the default direction - from the widget direction. - - * gtk/gtktexttag.c gtk/gtktexttagprivate.h (gtk_text_tag_set_arg): - Add a "direction" attribute. - - * gtk/gtktextview.c: global s/tkxt/text_view/. - - * gtk/testtext.c: Added long block of text in Arabic, to test out - the direction attributes. (Some problems with the shaping system - for arabic become obvious - like the fact the cursor splits words - into unjoined pieces.) - -Fri Apr 14 12:54:34 2000 Owen Taylor - - * gtk/gtktextdisplay.c (render_layout): Add overstrike handling. - - * gtk/gtktextlayout.c: Fix up alignment. - - * gtk/testtext.c: Add some tests for centering, wrapping. - -Fri Apr 14 09:26:22 2000 Owen Taylor - - * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c: - Add a draw_glyphs() operation to the drawable vtable and gdk_draw_glyphs(). - If we wrote GTK+-specific layout-render function this could just replace - the draw_layout() operation in the vtable. - - * gtk/gtkentry.c: Move guts of gtk_entry_get_cursor_locations to - pango_layout_get_cursor_pos() and use that function. - - * gtk/gtktextchild.[ch]: add gtk_ onto pixmap_segment_new(), since it - is a non-static symbol. - - * gtk/gtktextbtree.[ch]: Replace gtk_text_btree_find_line_data_by_y() - with gtk_text_btree_find_line_by_y() - - * gtk/gtktextdisplay.c: Rewrote for Pango - uses a custom layout - renderer that handles GtkTextAppearance attributes. - - * gtk/gtktexttag.[ch] gtk/gtktexttagprivate.h: - - - Move the values in the style that don't affect geometry into a - GtkTextAppearance structure. - - Change underline to take a PangoUnderline and "font" a string - representation of a font description - - Add a "font_desc" attribute which takes a FontDescription structure. - - * gtk/gtktextlayout.[ch]: - - - Get rid of the display-line list per each line. Instead, we - generate, on demand, a GtkTextLineDisplay structure which] - contains a PangoLayout * and other necesary information - (offsets, cursor locations) for displaying a paragraph. - - Get rid of the code to wrap lines, create display chunks, - etc. Instead, we just go through a paragraph and convert - it into the necessary inputs to a PangoLayout. - - Implement a new attribute type, GtkTextAttrAppearance. This - holds a GtkTextAppearance, and is used to pass colors, - stipple, etc, through from the layout to the display without - having to use lots and lots of individual attributes. - - Reimplement gtk_layout_get_iter_at_pixel() gtk_layout_get_iter_pos() - in terms of PangoLayout functions. - - * gtk/gtktextview.c: - - - Handle passing the necessary PangoContext to the layout - - Some fixups in painting to deal with the automatic backing store - and offsetting of GTK+-1.4 - - Add a style_set handler so that the default style reacts - properly to theme changes. - - * gtk/gtktext?*.[ch]: Random code-style fixes. - - * gtk/testtext.c: Substitute in languages that Pango handles now for Thai - -Mon Apr 10 10:33:45 2000 Owen Taylor - - * gtk/gtktext?*.[ch]: Check in Havoc's port of the Tk text widget, - in original form preparatory to Pango-ization and gdkimcontext-ization. - -Thu Apr 6 19:25:39 2000 Owen Taylor - - * gtk/gtkimcontext.c: Move default implementations to real_* vfuncs, - so that we can derive from gtkimcontext in language bindings properly. - -Thu Apr 6 16:02:52 2000 Owen Taylor - - * gtk/gtkimcontextsimple.[ch]: Use gdk_keyval_to_unicode to gdk_unicode_to_keyval. - Add a compose table including (almost) all the compose combinations - from X. This is 6k of static, shared data as opposed to 50k or so of dynamic - data in the XIM implementation. - - * gdk/gdk.h gdk/gdkkeyuni.c gdk/win32/gdkevents-win32.c (gdk_keyval_to_unicode, gdk_unicode_to_keyval): - Moved functions to convert keyvalues from and to unicode here from - the win32 port and made them public. - -Wed Apr 5 16:37:29 2000 Owen Taylor - - * gtk/gtkeditable.c (gtk_editable_insert_text): Allow new_text_length == -1. - -Wed Apr 5 16:27:45 2000 Owen Taylor - - * gtk/gtkimcontext.[ch]: Base class for new input context system - - * gtk/gtkimmulticontext.[ch]: Proxy input context that allows - the real input context implementation to be loaded from modules - and switched on the fly. - - * gtk/gtkcontextsimple.[ch]: Simple implementation of an input - context that just does direct keysymbol => unicode translation. - - * gtk/gtkentry.[ch]: Start switching editing over to using - GtkInputContext. (No handling of preedit yet.) - -Wed Apr 5 15:48:41 2000 Owen Taylor - - * gtk/gtktypeutils.h (GTK_CHECK_GET_CLASS): Fix problem with one too - many substitutions. (klass should not be subsituted.) - -Wed Apr 5 00:18:14 2000 Owen Taylor - - * configure.in: Add checks for Pango - - * configure.in docs/Makefile.am: Add test for sgml2html - and allow 'make dist' without building html, but print out - warnings in that case. (For making snapshots) - - * gdk/Makefile.am gdk/x11/Makefile.am gtk/Makefile.am: - Add Pango libraries and C flags - - * gdk/gdkdraw.c gdk/gdkdrawable.h gdkwindow.c gdk/x11/gdkdrawable-x11.c: - Add function (gdk_draw_layout) to draw a pango layout. - - * gdk/gdkpango.h gdk/x11/gdkpango-x11.c: New file with functions - for getting Pango contexts for GDK. - - * gtk/gtkeditable.c: Get rid of dead code gtk_editable_parent_set() - - * gtk/gtkentry.[ch]: Complete rewrite to use Pango, add bidirectional - editing. - - * gtk/gtkentry.c: Hack in simple Hebrew input with direct - keysym => unicode translations. More languages can be added - here, but real input-method support is needed. - - * docs/Changes-1.4.txt: Added note about entry behavior. - - * gtk/gtkenums.h gtk/gtkwidget.[ch] testgtk.c gtkprivate.h: Add functions - to set the reading direction for a widget and the global direction. - Add test which allows toggling the global direction. Two private - flags are used to store the direction. (GTK_DIRECTION_SET + GTK_DIRECTION_LTR) - - * gtk/gtkcheckbutton.c gtk/gtkframe.c gtk/gtkhbbox.c gtk/gtkhbox.c - gtk/gtkradiobutton.c gtk/gtkspinbutton.c gtk/gtktable.c - - * gtk/gtk[hv]scale.c gtk/gtkscale.[ch]: Draw numbers using Pango - - * gtk/gtklabel.[ch]: Moved to Pango and considerably rewritten. Line breaking, - underlining now handled by Pango. - - * gtk/gtkstyle.[ch] gtk/gtkrc.[ch]: Add a PangoFontDescription - to RCStyle and Style. (Having both this and the old font name and GdkFont - is temporary.) - - * gtk/gtkwidget.[ch] (gtk_widget_create_pango_{context,layout}): Added - convenience functions for creating contexts and layouts for widgets. - - * gtk/testgtk.c: Enhance label tests with multilingual labels. - -2000-05-29 Jonathan Blandford - - * gtk/gtkclist.c (gtk_clist_column_titles_active): let you set the - titles to be active, even if they aren't visible. - (gtk_clist_column_titles_passive): Ditto. - -2000-05-21 Nils Barth - - * gtkmenu.c: - * gtkmenu.h: - * gtktypeutils.h: Spelling/grammar fixes in comments. - -Tue May 23 12:25:07 CEST 2000 lupus - - * gdk/nanox/*.h: add missing header files. - -Fri May 19 11:52:59 2000 Tim Janik - - * gtk/gtkdrawingarea.c (gtk_drawing_area_send_configure): set - send_event to TRUE. - (gtk_drawing_area_size): queue a resize. - -Sun Mar 26 03:21:28 2000 Tim Janik - - * gtk/gtksignal.c (gtk_signal_handlers_destroy): when unref-ing - the handlers, also invalidate them. bug nailed down by Karl Nelson - . - -Fri May 19 06:49:23 2000 Tim Janik - - * gtk/gtkfontsel.c (gtk_font_selection_get_font_name): handle - "(nil)" foundries, patch from Grigorios Magklis. - - * gtk/gtkfontsel.c (gtk_font_selection_load_font): don't crash - on non-available fonts, based on a patch by Grigorios Magklis - . - -2000-05-18 Elliot Lee - - * gdk/x11/gdkregion-generic.c: If a region does not have any - rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT - instead of GDK_OVERLAP_RECTANGLE_IN. - -2000-05-17 Jonathan Blandford - - * gtk/gtklayout.c (gtk_layout_map): Remove references to - OFFSCREEN, as it is no longer necessary. - -Wed May 17 10:52:12 2000 Owen Taylor - - * gtk/gtkcolorsel.c: Patch from David Santiago - to change things so that the - indicator of the active palette entry is done independently, - not via the focus, since it should always be visible. - -2000-05-17 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Plug same - refcount leaks as in the X11 backend. - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Logging - cosmetics. - - * gdk/win32/gdkwindow-win32.c: Similar changes as in X11 - backend. Add _gdk_windowing_window_destroy(). - - * gtk/gtkcolorsel.c: Include correct backend-specific header. - Don't use XColor unless on X11. (No GDK_VISUAL_STATIC_COLOR - either, but these probably do exist on nanox?) - - * gtk/gtkhsv.c: Use G_PI (fresh from ) instead of M_PI - which isn't necessarily defined by . - - * gtk/gtkobject.c (gtk_object_init): Don't go up the class - ancestry past GtkObject. - - * gtk/gtktypeutils.h: Mark GTK_TYPE_IDENTIFIER for export/import - from DLL on Win32. - - * gtk/gtk.def: Update corresponding to recent changes. - - * gtk/makefile.{cygwin,msc}: Updates. - -Fri May 12 18:46:51 2000 Owen Taylor - - * docs/Changes-1.4.txt: A bit of editing. - - * gdk/gdkwindow.c (_gdk_window_clear_update_area) - * gdk/x11/gdkwindow-x11.c (gdk_window_hide): Add a function - to clear the update area for the window, and clear it - when hiding a window. - - * gdk/gdkwindow.c (gdk_window_begin_paint_region): Ignore - if window destroyed. - - * gdk/gdkwindow.c (gdk_window_end_paint): Likewise. - - * gdk/gdkwindow.c gdk/x11/gdkwindow-x11.c gdk/gdkinternals.h: Move - gdk_window_destroy() to the generic code, since there was a lot of - window-system-independent logic it in. Add a function: - - _gdk_window_destroy() - - to the internal API to destroy a window without unreferencing it. - Add a function: - - _gdk_windowing_window_destroy() - - That does the windowing-system-dependent part of destroying - the window. - -Fri May 12 11:07:41 2000 Owen Taylor - - * gtk/testgtk.c: Fix various memory leaks of pixmaps. - -Fri May 12 11:06:10 2000 Owen Taylor - - * gtk/gtkwidget.c docs/Changes-1.4.txt (gtk_widget_shape_combine_mask): - Make gtk_widget_shape_combine_mask() keep a reference count on - the pixmap since it keeps it around. - -Fri May 12 10:53:29 2000 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Fix refcount - leak. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix refcount - leak with event filters. - -Thu May 11 14:29:44 2000 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_set_internal): Remove the - signal handlers with the right data arguments. (Fixes - some warnings when a widget was repeatedly set as a drag - destination.) - - * gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd): Set data on the - window so we can avoid avoid setting the DND properties on the - toplevel window repeatedly. - -2000-05-13 Tor Lillqvist - - * gdk/win32/gdkwin32.h: Define more message types missing from - mingw headers. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On WM_DESTROY - call gdk_window_destroy_notify(). It was never called. This - probably meant that the GdkWindow was never freed. Thanks Owen for - noticing (!). - - * gdk/win32/gdkwindow-win32.c (gdk_window_internal_destroy): Mark - window as destroyed before calling DestroyWindow(). DestroyWindow() - causes a call to the window procedure (gdk_WindowProc), which - calls gdk_event_translate(), which calls - gdk_window_destroy_notify(), which gets confused unless the window - is set as destroyed. - - * gdk/win32/gdkcolor-win32.c (gdk_win32_color_to_string): Rename - this function to indicate it's win32 only. Put inside #ifdef - G_ENABLE_DEBUG. - - * gdk/win32/gdkevents-win32.c (gdk_win32_message_name): New - debugging function. (gdk_event_translate:) Add a default branch - that uses the above function to print debug messages with all - Windows messages symbolically. - - * gdk/win32/gdkprivate-win32.h: Declare it, and - gdk_win32_color_to_string, but only if G_ENABLE_DEBUG. - -Fri May 12 20:07:32 2000 Tim Janik - - * gtk/gtkcolorseldialog.c: don't include gtk/gtkintl.h in a - public header file. - -Fri May 12 17:13:32 2000 Tim Janik - - * docs/Changes-1.4.txt: documented necessary changes for 1.4 transition. - - * gtk/gtktext.c: made the adjustments no-construct args, simply - provide default adjustments. - (gtk_text_destroy): release adjustments. - - * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): made the - adjustment argument non-construct. - - * gtk/gtkprogress.c (gtk_progress_destroy): release adjustment here, - instead of in finalize. - (gtk_progress_get_text_from_value): - (gtk_progress_get_current_text): - (gtk_progress_set_value): - (gtk_progress_get_percentage_from_value): - (gtk_progress_get_current_percentage): - (gtk_progress_set_percentage): - (gtk_progress_configure): ensure an adjustment is present. - -Thu May 11 01:24:08 2000 Tim Janik - - * gtk/gtkcolorsel.[hc]: - * gtk/gtkcolorseldialog.[hc]: - * gtk/gtkhsv.[hc]: major code cleanups, destroy handlers need to chain - their parent implementation, use bit fields for boolean values, don't - create unused widgets, usage of glib types, braces go on their own - lines, function argument alignment, #include directives etc. etc. etc.. - - * gtk/Makefile.am (gtk_public_h_sources): install gtkhsv.h. - -Wed May 10 23:29:52 2000 Tim Janik - - * gtk/gtktoolbar.c (gtk_toolbar_destroy): don't unref a NULL tooltips. - - * gtk/gtkfilesel.c (gtk_file_selection_destroy): don't free a cmpl_state - of NULL. - - * gtk/gtkcombo.c (gtk_combo_item_destroy): don't keep references - to freed data. - (gtk_combo_destroy): don't keep a pointer to a destroyed window. - - * gtk/gtkmenu.c (gtk_menu_init): reset the menu's toplevel pointer - to NULL when the toplevel is getting destroyed. - (gtk_menu_set_tearoff_state): same here for the tearoff_window. - (gtk_menu_destroy): - (gtk_menu_init): store the information of whether we have to - readd the initial child ref_count during destruction in a new - GtkMenu field needs_destruction_ref_count. - - * gtk/gtkviewport.c: SHAME! ok this one is tricky, so i note it - here, those reading: learn from my mistake! ;) - in order for set_?adjustment to support a default adjustemnt if - invoked with an adjustment pointer of NULL, the code read (pseudo): - if (v->adjustment) unref (v->adjustment); - if (!adjustment) adjustment = adjustment_new (); - if (v->adjustment != adjustment) v->adjustment = ref (adjustment); - now imagine the first unref to actually free the old adjustment and - adjustment_new() creating a new adjustment from the very same memory - portion. here, the latter comparision will unintendedly fail, and - all hell breaks loose. - (gtk_viewport_set_hadjustment): - (gtk_viewport_set_vadjustment): reset viewport->?adjustment to NULL - after unreferencing it. - - * gtk/gtkcontainer.[hc]: removed toplevel registration - functions: gtk_container_register_toplevel(), - gtk_container_unregister_toplevel() and - gtk_container_get_toplevels() which had wrong semantics - anyways: it didn't reference and copy the list. - - * gtk/gtkwindow.c: we take over the container toplevel registration - bussiness now. windows are registered across multiple destructions, - untill they are finalized. the initial implicit reference count - users are holding on windows is removed with the first destruction - though. - (gtk_window_init): ref & sink and set has_user_ref_count, got - rid of gtk_container_register_toplevel() call. add window to - toplevel_list. - (gtk_window_destroy): unref the window if has_user_ref_count - is still set, got rid of call to - gtk_container_unregister_toplevel(). - (gtk_window_finalize): remove window from toplevel list. - (gtk_window_list_toplevels): new function to return a newly - created list with referenced toplevels. - (gtk_window_read_rcfiles): use gtk_window_list_toplevels(). - - * gtk/gtkhscale.c (gtk_hscale_class_init): made the GtkRange - adjustment a non-construct arg. - * gtk/gtkvscale.c (gtk_vscale_class_init): likewise. - * gtk/gtkhscrollbar.c (gtk_vscrollbar_class_init): likewise. - * gtk/gtkvscrollbar.c (gtk_vscrollbar_class_init): likewise. - - * gtk/gtkrange.c: added some realized checks. - (gtk_range_destroy): get rid of the h/v adjustments in the - destroy handler instead of finalize. remove timer. - (gtk_range_get_adjustment): demand create adjustment. - - * gtk/gtkviewport.c: made h/v adjustment non-construct args. - we simply create them on demand now and get rid of them in - the destroy handler. - (gtk_viewport_destroy): get rid of the h/v adjustments in the - destroy handler instead of finalize. - (gtk_viewport_get_hadjustment): - (gtk_viewport_get_vadjustment): - (gtk_viewport_size_allocate): demand create h/v adjustment - if required. - - * gtk/gtkwidget.c (gtk_widget_finalize): duplicate part of the - gtk_widget_real_destroy () functionality. - (gtk_widget_real_destroy): reinitialize with a new style, instead - of setting widget->style to NULL. - -Fri May 5 13:02:09 2000 Tim Janik - - * gtk/gtkcalendar.c: - * gtk/gtkbutton.c: ported _get_type() implementation over to - GType, either to preserve memchunks allocation facilities, - or because Gtk+ 1.0 GtkTypeInfo was still being used. - - * gtk/gtkobject.[hc]: derive from GObject. ported various functions - over. prepare for ::destroy to be emitted multiple times. - removed reference tracer magic. chain into GObjectClass.shutdown() - to emit ::destroy signal. - - * gtk/gtksignal.c: removed assumptions about GTK_TYPE_OBJECT being - fundamental. - - * gtk/gtkmain.c: removed gtk_object_post_arg_parsing_init() - cludge. - - * gtk/gtksocket.c: - * gtk/gtkplug.c: - * gtk/gtklayout.c: - * gtk/gtklabel.c: - * gtk/gtkargcollector.c: - * gtk/gtkarg.c: various fixups to work with GTK_TYPE_OBJECT - not being a fundamental anymore, and to work with the new - type system (nuked fundamental type varargs clutter). - - * gtk/*.c: install finalize handlers in the GObjectClass - part of the class structure. - changed direct GTK_OBJECT()->klass accesses to - GTK_*_GET_CLASS(). - changed direct object_class->type accesses to GTK_CLASS_TYPE(). - - * gtktypeutils.[hc]: use the reserved fundamental ids provided by - GType. made most of the GTK_*() type macros and Gtk* typedefs - simple wrappers around macros and types provided by GType. - most notably, a significant portion of the old API vanished: - GTK_TYPE_MAKE(), - GTK_TYPE_SEQNO(), - GTK_TYPE_FLAT_FIRST, GTK_TYPE_FLAT_LAST, - GTK_TYPE_STRUCTURED_FIRST, GTK_TYPE_STRUCTURED_LAST, - GTK_TYPE_ARGS, - GTK_TYPE_CALLBACK, - GTK_TYPE_C_CALLBACK, - GTK_TYPE_FOREIGN, - GtkTypeQuery, - gtk_type_query(), - gtk_type_set_varargs_type(), - gtk_type_get_varargs_type(), - gtk_type_check_object_cast(), - gtk_type_check_class_cast(), - gtk_type_describe_tree(), - gtk_type_describe_heritage(), - gtk_type_free(), - gtk_type_children_types(), - gtk_type_set_chunk_alloc(), - gtk_type_register_enum(), - gtk_type_register_flags(), - gtk_type_parent_class(). - replacements, where available are described in ../docs/Changes-1.4.txt. - implemented compatibility functions for the remaining API. - - * configure.in: depend on glib 1.3.1, use gobject module. - -Thu May 11 12:39:50 2000 Owen Taylor - - * TODO.xml: Various updates to current status. - -Wed May 10 20:25:04 2000 Owen Taylor - - * gtk.m4: Print out version when test succeeds. - -Wed May 10 16:38:17 2000 Owen Taylor - - * gtk/Makefile.am docs/Changes-1.4.txt gtk/gtkcolorsel.[ch] - gtk/gtkhsv.[ch]: Color selection dialog rewrite. - - (Original triangle color selector from Simon Budig - , Cleaned up and rewritten for GTK+ by - from Jonathan, Havoc, and Federico. Merge into GTK+ done by David - Santiago ) - - * gtk/gtkcolorseldialog.[ch]: Split color selection dialog - out into a separate widget. - - * gtk/testgtk.c: Add some checkbuttons for toggling palette - and opacity controls. - -Wed May 10 16:08:09 2000 Owen Taylor - - * configure.in (GTK_LIBS_EXTRA): Remove references to gobject that - snuck in prematurely. - -2000-05-07 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix typo. I - had deleted a ! operator by mistake, which caused - GDK_SELECTION_CLEAR events never to be generated, which caused - only the first copy to the clipboard from an gtkeditable to - actually cause a copy to the Windows clipboard. - -2000-05-06 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c: Enable shortcut resolution for gcc - compilation, too. Current mingw gcc distributions include the - necessary headers. Also the necessary IIDs are now in mingw - headers/libraries, and own definitions unnecessary. - - More hacking on OLE2 DND, still doesn't work though, and thus - ifdeffed out. - - * gdk/win32/gdkwindow-win32.c: Remove gdk_window_clear() from - here, too. - -Sat, 6 May 2000 13:31:34 +0200 Paolo Molaro - - * gdk/nanox/*: nano-X port work in progress. - * gdk/simple.c: simple test for Gdk. - * README.nanox: notes about the port: read this first! - * gtk/gtk{dnd,plug,selection,window}.c: minimal changes to make gtk compile - with nano-X. - -Fri May 5 11:18:47 2000 Owen Taylor - - * gdk/gdkwindow.c gdk/x11/gdkwindow-x11.c (gdk_window_clear): Move - gdk_window_clear() into common code, implement in terms of - gdk_window_clear_area(). (Fixes bug where gdk_window_clear() was - not redirected to the backing rectangle. - -Wed Apr 26 01:53:23 2000 Owen Taylor - - * gtk/Makefile.am (EXTRA_DIST): Add OLD_STAMP into - EXTRA_DIST. It does not work well when the file that - everything depends on is not in the tarball. - -Tue Apr 25 22:20:41 2000 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Fix error - with recursion where process_updates() is called from - an expose handler. (GtkTextView is highly broken in - doing this, but it should work, so it is a nice test - case.) - -Sun Apr 23 23:39:18 2000 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Gracefully - handle the case where updates are queued during processing of - updates. - -Tue Apr 18 14:16:50 2000 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): We already assume - window is on gdk_display - use that instead of segfaulting. - -Thu May 4 02:04:46 2000 Tim Janik - - * configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are - broken and require an empty arg, give it to them. - -Fri Apr 28 19:34:32 2000 Tim Janik - - * gtk/gtklabel.h: indentation fixes. - -2000-05-02 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to - draw too narrow or too low arcs, they seem to fail, at least with - some display drivers. - - * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR. - - Large changes to the Win32 backend, partially made necessary by - the changes to the backend-independent internal - structures. Attempts to implement similar backing store stuff as - on X11. The current (CVS) version of the Win32 backend is *not* as - stable as it was before the no-flicker branch was merged. A - zipfile with that version is available from - http://www.gimp.org/win32/. That should be use by "production" - code until this CVS version is usable. (But note, the Win32 - backend has never been claimed to be "production quality".) - - * README.win32: Add the above comment about versions. - - * gdk/gdkwindow.c: Don't use backing store for now on Win32. - - * gdk/gdk.def: Update. - - * gdk/gdkfont.h: Declare temporary Win32-only functions. Will - presumably be replaced by some more better mechanism as 1.4 gets - closer to release shape. - - * gdk/makefile.{cygwin,msc}: Update. - - * gdk/win32/*.c: Correct inclusions of the backend-specific and - internal headers. Change code according to changes in these. Use - gdk_drawable_*, not gdk_window_* where necessary. - - * gdk/win32/gdkdnd-win32.c: Use MISC selector for GDK_NOTE, not - our old DND. - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text): Don't try - to interpret single characters as UTF-8. Thanks to Hans Breuer. - Use correct function name in warning messages. - - * gdk/win32/gdkevents-win32.c: Use correct parameter lists for the - GSourceFuncs gdk_event_prepare and gdk_event_check. - (gdk_event_get_graphics_expose): Do implement, use - PeekMessage. Thanks to Hans Breuer. - (event_mask_string): Debugging function to print an GdkEventMask. - (gdk_pointer_grab): Use it. - - * gdk/win32/gdkfont-win32.c: The Unicode subrange that the - (old) book I used claimed was Hangul actually is CJK Unified - Ideographs Extension A. Also, Hangul Syllables were missing. - Improve logging. - - * gdk/win32/gdkgc-win32.c: Largish changes. - - * gdk/win32/gdkim-win32.c (gdk_set_locale): Use - g_win32_getlocale() from GLib, and not setlocale() to get current - locale name. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkwin32.h: Move stuff from gdkprivate-win32.h to - gdkwin32.h, similarily as in the X11 backend. - - * gdk/win32/gdkwindow-win32.c (gdk_propagate_shapes): Bugfix, - assignment was used instead of equals in if test. Thanks to Hans - Breuer. - - * gdk/win32/gdkgeometry-win32.c: New file, just a quick hack of - the X11 version. - - * gdk/win32/makefile.{cygwin,msc} - * gtk/makefile.{cygwin,msc}: Updates. Better kludge to get the - path to the Win32 headers that works also with the mingw compiler. - - * gtk/gtkstyle.c: Include . - -2000-04-26 Havoc Pennington - - * gtk/gtklabel.c (gtk_label_get_text): Add this function, - replacing the broken gtk_label_get () - -2000-04-15 Havoc Pennington - - * gdk/gdkdnd.h: clean up enum format, remove extra comma, - this keeps scanner scripts from getting confused. - - * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the - data, rather than void - -2000-04-15 Tor Lillqvist - - * gtk/gtkclist.c (gtk_clist_motion) - * gtk/gtklist.c (gtk_list_motion_notify): If we get a motion event - with is_hint FALSE, get x and y from the event. They used to be - used uninitialised. The Win32 backend never sends motion events - marked as hints. This for instance fixes the annoying file and - font selector behaviour in the Win32 version. - -2000-04-14 Tor Lillqvist - - * gtk/gtksignal.c: (Win32:) Export the gtk_private_signals and - gtk_private_n_signals variables, they are used by some software, - sigh. - - * gtk/gtkrc.c (get_gtk_sysconf_directory): (Win32:) Fetch the - installation directory from the Registry, where the installer - should have put it. - -Fri Apr 7 17:19:27 2000 Owen Taylor - - * gdk/x11/Makefile.am: Fix problem with installation directory for - gdkx.h - - * gtk/gtkmenuitem.c gtk/gtkmenushell.c: Patch from David Santiago - so that when selecting menus with the - mouse, the first item will not be selected, but when selecting - with an accelerator, or navigating left-right on a menubar with - the menus popped up, the first item will be selected. - -2000-04-05 Dan Damian - - * configure.in: Added "ro" to ALL_LINGUAS. - -Wed Apr 5 00:08:36 2000 Owen Taylor - - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Fix screwy - indentation. - - * Makefile.am (EXTRA_DIST): Fix typo. - - * gdk[/x11]/Makefile.am (INCLUDES): Add $(top_builddir)/gdk - to catch gdkconfig.h - - * gtk/gtkitemfactory.c: Added FIXME. - -2000-03-30 Jonathan Blandford - - * gtk/gtkpaned.c (gtk_paned_get_position): oops. - s/return_if_fail/return_val_if_fail/g and add a return value. - -Mon Mar 27 20:56:14 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Fix up - merge slipup. - - * gdk/gdkinput.h: Fix missing line from merge. - -Mon Mar 27 20:39:49 2000 Owen Taylor - - * gdk/gdkcolor.c cursor.c gdkdraw.c gdkfont.c: Include gdkinternals.h - instead of gdkprivate.h. - -Sun Mar 12 15:19:24 2000 Owen Taylor - - * gtk/gtkinputdialog.h (struct _GtkInputDialogClass): Fix - parent class to correctly be GtkDialogClass. - -Thu Feb 24 23:58:21 2000 Owen Taylor - - * gdk/x11/gdkgeometry-x11.c: Don't worry about clipping of - toplevel windows and their immediate children by their parents, - since the size of toplevel windows is out of our immediate - control and we don't get any real benefit from trying to track - this size for clipping. - - * gdk/gdkprivate.h (struct _GdkWindowPrivate) gdk/x11/gdkwindow-x11.c : Add a flag - for input_only windows. - - * gdk/gdkwindow.c gdk/x11/gdkgeometry-x11.c: Use the above flag - to fix some hacks and make sure that we don't try to set the - background of input only windows. - -Thu Feb 24 18:11:46 2000 Owen Taylor - - * gdk/gdkinternals.h gdk/gdkprivate.h gdk/Makefile.am: Add a header file for - the _really_ internal stuff, and leave gdkprivate.h for the fake private - stuff that we've traditionally exposed. - - * gdk/**.c: Use gdkinternals.h where appropriate. - - * gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h gdk/x11/*.c: Make gdkx.h - not include gdkprivate-x11.h, move all stuff of conceivable public - interest into gdkx.h; keep all really private stuff in - uninstalled header gdkprivate-x11.h. - - * gdk/gdkdraw.c gdk/gdkwindow.c gdk/gdkinternals: Redirect all calls to - image->image_put on windows through a new function _gdk_window_draw_image() - to allow us to do backing store for images. (Sort of ugly) - - * gdk/gdkgc.c gdk/gdkprivate.h: Cache the ts and clip origins for graphics - contexts locally so that we can offset them properly when drawing - onto backing pixmaps. - - * gdk/gdkinput.h: Reindented - - * gdk/gdkprivate.h gdk/x11/gdkwindow-x11.c: Store the background - pixmap or color for the window, so we can properly initialize - our double-buffer pixmaps, and also so that we temporarily set - a background of None while scrolling. - - * gdk/gdkregion.h: Revise region boolean operators to have an - interface that is actually convenient - switch from creating new - regions on every op, to "methods" that modify existing regions - (A = A OP B). 3 argument forms which allow dest == src, would also - be possible, but the current interfaces seem to map nicely - onto what needs to be done. (There is quite a lot of region - code in GDK now.) - - * gdk/gdkregion.h: Add constructor from rectangle and a copy - operator. - - * gdk/x11/{gdkregion-generic.[ch],gdkpolyreg-generic.c, - gdkpoly-generic.h: Copy region code from Xlib, switch it over - to 32 bit coordinates, modify it to be mostly GTK+ style - and to have interfaces that match gdkregion.h. - - * gdk/gdkwindow.c gdk/gdkprivate.h: Add facility for - double-buffered drawing. gdk_window_begin_paint_{rect,region}() - create a backing pixmap and redirect all drawing to - that backing pixmap until a matching gdk_window_end_paint(). - - * gdk/gdkwindow.[ch] gdk/gdkinternals.h gdk/x11/gdkdrawable-x11.c: - Create a special drawable class for GtkWindow's that - redirects the drawing to the backing pixmap as necessary - and then calls the real operations in _gdk_windowing_window_class. - - * gdk/gdkprivate.h gdk/gdkwindow.[ch] gdk/x11/gdkevents-x11.c: - Store invalid region for each window. Generate expose events for invalid - region in an idle. This replaces both the expose compression - and the redrawing queuing in GTK+. It is both more efficient and - simpler than either one individually and far more so then the - combination. - - * gdk/x11/gdkgeometry.c gdk/x11/gdkwindow.c gdk/x11/gdkprivate-x11.h: - Emulate 32 bit coordinates for windows with 16 bit coordinates - by offsetting drawing, guffaw scrolling techniques and - mapping/unmapping child windows as necessary. - - * gdk/gdkwindow.[ch] gdk/x11/gdkgeometry.c: Add anti-exposes, - where, when invalid regions are processed, the region is stored, - and if expose events come in that are detectably duplicate - the processed exposes (by comparison of event serial numbers), - the stored region is subtracted out of those exposes. - - * gdk/x11/gdkgeometry.c: Temporarily unset backing pixmaps of - regions newly exposed when scrolling or resizing windows. - This, combined with forcing processesing of queued invalidated - regions, gives nice flicker-free scrolling. - - * gtk/gtklayout.c gtk/gtkviewport.c: Force processing of - invalidated regions after every scroll. - - * gtk/gtklayout.c: Vastly simplify using the new 32 bit coordinate - emulation in GDK. Its, for all practical purposes just a - GtkViewport/GtkFixed hybrid now. - - * gdk/gdkdrawable-x11.c: Convert from GDK (32 bit) to X11 - (16-bit) structures as necessary instead of just casting. - - * gdk/x11/gdkgc-x11.c gdk/x11/gdkx.h: Replace XSetRegion with code - in terms of the structures from gdkregion-generic.c, using appropriate - offsets from GDK to X11 coordinates. Cache clip mask and - origin and ts origin locally and only flush to the server - when drawing, to avoid constantly setting and resetting these - values when offsetting GC's for scrolling and backing pixmaps. - - * gdk/x11/gdkinput-x11.c: Fix leak of axes structures. - - * gtk/gtkcontainer.c: Call process_all_updates at end - of resizing to reduce flicker. (Avoids having redraw - lag arbitrarily behind resize under some circumstances) - - * gtk/gtkentry.c: Remove old backing store code, and simply take - advantage of the new backing store capabilities of GDK. - - * gtk/gtkmain.c: Simple implementation of widget backing - store - simply push a paint while handling each expose. - (Should really be configurable widget for widget.) - - * gtk/gtkwidget.c: Remove all the old complicated redraw - code, and simply invalidate the GDK windows from - gdk_window_queue_clear(), etc. (Sigh, so much carefully - debugged complexity ... gone to the winds.) - - Remove all the code for suppressing expose events while - resizes are pending; this isn't needed since the invalid - areas won't be processed until after the resizes are - processed, since they are in a lower priority idle. - -Thu Feb 24 15:37:41 2000 Owen Taylor - - * gdk/gdkrectangle.c (gdk_rectangle_intersect): Set width - and height of dest rectangle for non-intersecting rectangles. - -Sun Feb 20 16:47:31 2000 Owen Taylor - - * gtk/gtkwidget.h: Make GtkAllocation just a typedef - for GdkRectangle. - -Sun Feb 20 11:27:00 2000 Owen Taylor - - * gdk/gdk{events,image,private,types,window}.h - gdk/x11/gdkinputprivate.h: Change all coordinates - from int16 to int. Also, Change width and height from - unsigned to signed to avoid all the stupid C - signedness bugs. - -Sat Feb 19 12:01:53 2000 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_drawable): - Use gdk_drawable_get_depth instead of gdk_drawable_get_visual. - Add some more detailed checking. - - * gdk/gdkdraw.c gdk/gdkdrawable.h (gdk_drawable_get_depth): - New function to retrieve the depth of a drawable. - - * gdk/gdkprivate.h (struct _GdkDrawablePrivate): Add a depth - field, reorder fields to save memory. - -Mon Dec 13 14:06:03 1999 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Draw a small portion - of the background image instead of scaling the background down to - a line. - - * gtk/gtk[hv]scrollbar.c (gtk_hscrollbar_size_allocate): Removed mysterious - which temporarily set slider to wrong size. - - * gtk/gtkaspectframe.c gtkbin.c: Remove unecessary calls to - queue_clear(). - -Wed Nov 17 18:36:05 1999 Owen Taylor - -2000-03-23 Jonathan Blandford - - * gtk/gtkpaned.c (gtk_paned_get_position): add getter. - -2000-03-17 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c: Remove the #ifndef - USE_DISPATCHMESSAGE sections, we do want to use DispatchMessage. - - * gdk/win32/gdkfont-win32.c - * gdk/win32/gdkproperty-win32.c - * gdk/win32/gdkselection-win32.c - * gdk/win32/gdkwindow-win32.c: Add const to some arguments that are - now declared such. - -Wed Mar 15 02:59:38 PST 2000 Manish Singh - - * gtk/gtkvpaned.c: removed stray gutter_size reference, a 1.2 relic - -Mon Mar 13 18:37:55 2000 Owen Taylor - - * gdk/gdkdnd.c: Fix a bunch of cases where XGetWindowProperty() - is called without trapping X errors. - -Fri Feb 25 10:48:53 2000 Owen Taylor - - * gtk/gtkrc.*: Fix problem where stray '"' characters found their - way into the fontset lists. - -Tue Feb 22 08:52:52 2000 Tim Janik - - * gtk/gtkthemes.h: add extern "C" scope. - -Mon Feb 21 20:16:42 2000 Lars Hamann - - * gtk/gtkclist.c: applied patch from Guy Harris - to make appends to the list constant. (gtk-guy-990901-0.patch) - -Mon Feb 14 22:50:10 2000 Tim Janik - - * gtk/gtktypeutils.c (gtk_type_init): use g_str_hash() and g_str_equal() - for the typename hash table. - -Mon Feb 14 15:01:23 2000 Owen Taylor - - * gtk/gtkpaned.c (gtk_paned_compute_position): Add some sanity checks - to make sure we never divide by zero. - (Problem pointed out by Michal Jaegermann ) - -Mon Feb 14 12:29:38 2000 Owen Taylor - - * gtk/gtkfontsel.c: Apply patch from - SHIRASAKI Yasuhiro to make font selector work a little - better with 2-byte fonts. (Load a fontset instead of a font for two byte fonts.) - - Also, some cleanups in atom handling. - -Sun Feb 13 08:02:21 2000 Tim Janik - - * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer, - not GtkWidget. - -Fri Feb 11 02:19:32 2000 Tim Janik - - * gtk/gtkhpaned.c (gtk_hpaned_size_allocate): - * gtk/gtkvpaned.c (gtk_vpaned_size_allocate): - * gtk/gtkpaned.c (gtk_paned_compute_position): had to squeeze some - more guint wrap-around bugs before going to bed. - -Thu Feb 10 16:16:35 2000 Tim Janik - - * gtk/gtkspinbutton.c (gtk_spin_button_size_allocate): guard against - guint wrap arounds in allocation.width. - - * gtk/gtktable.c (gtk_table_size_allocate_pass1): repeat shrinking - process untill we fit the allocation given. - -Tue Feb 8 09:38:29 2000 Tim Janik - - * gtk/gtkwidget.c: - (gtk_widget_unrealize): guard widget access with ref/unref - around signal emission. - (gtk_widget_hide): same here, but also check its destroyed - state before queueing a resize. - -Tue Feb 8 03:05:55 2000 Tim Janik - - * gtk/gtkstyle.c (gtk_style_new): use gtk_default_prelight_bg instead - of gtk_default_insensitive_bg as insensitive base color. - - * gtk/gtktext.c (gtk_text_style_set): set the background color according - to the widget's state. - (gtk_text_realize): same here. - (gtk_text_state_changed): same here. - (draw_bg_rect): compare background color against base[] from - GTK_WIDGET_STATE (text) not GTK_STATE_NORMAL. - -Mon Feb 7 04:01:55 2000 Tim Janik - - * gtk/gtkmain.c (gtk_main_do_event): ignore delete events when - grabs are active, unless a delete event is send to the toplevel - of the currently grab holding widget. - -Sun Feb 6 10:13:15 2000 Owen Taylor - - * gtk/gtkctree.c (gtk_ctree_drag_data_received): Remove - debugging g_print's. - -Fri Feb 4 15:54:54 2000 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): Don't - ever make the scrolled-window requisition ever depend on the - visibility state of the scrollbars for the AUTOMATIC policy. - This breaks the GTK+ requisition model, and causes loops. - -Fri Feb 4 15:09:12 2000 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_new): Set the charset explicitely for - the default font to avoid problems with XFree86-4.0 where the - default charset is iso10646-1, not iso8859-1. - -Thu Feb 3 14:58:48 PST 2000 Manish Singh - - * acinclude.m4 - * config.guess - * config.sub - * ltconfig - * ltmain.sh: upgrade to libtool 1.3.4 (bugfix only release) - - * gtk/Makefile.am: minor cosmetic consistency tweak - -Thu Feb 3 14:46:01 2000 Owen Taylor - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Set - the activate_time to 0, so that we handle a quick - press/release press/release properly and don't suppress - the second release. (Red Hat bug #7545) - -Wed Feb 2 22:25:17 2000 Tim Janik - - * gtk/gtkctree.c (row_delete): - (gtk_ctree_node_set_row_data_full): fixed very evil reentrancy - bugs with destruction notifier, *always* update internal - structures *before* calling user code. - -Sun Jan 30 20:10:52 2000 Lars Hamann - - A few more fixes for bug #5487, #2051, #2677. - * gtk/gtkclist.c : - (gtk_clist_button_press): Reset clist->anchor to -1 if event->type is - not GDK_BUTTON_PRESS. - (resync_selection): resync only if selection_mode is - GTK_SELECTION_EXTENDED - * gtk/gtkctree.c (resync_selection): same here - -Sun Jan 30 12:29:20 2000 Owen Taylor - - * gdk/gdk.h gtk/gtkmenu.h: Removed duplicate prototypes for - gdk_drag_get_selection() and gtk_menu_detach(). - - [ From Jeroen Ruigrok/Asmodai ] - -Sat Jan 29 10:11:56 2000 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_size_request): - page->tab_label can be NULL. - -2000-01-25 Havoc Pennington - - * gdk/gdkwindow.c (gdk_window_set_back_pixmap): parent_relative - arg is boolean - - * gdk/gdkselection.c (gdk_selection_owner_set): return boolean - - * gdk/gdkrectangle.c (gdk_rectangle_intersect): return boolean - - * gdk/gdkproperty.c (gdk_property_get): return boolean - - * gdk/gdkinput.c (gdk_input_set_mode): return boolean - - * gdk/gdkim.c (gdk_im_ready): return boolean - - * gdk/gdkgc.c (gdk_gc_set_exposures): gboolean arg - - * gdk/gdkfont.c (gdk_font_equal): return gboolean (mild - glib clash, should fix glib) - - * gdk/gdkevents.c (gdk_set_show_events): take gboolean arg - (gdk_get_show_events): return gboolean, and canonicalize - to TRUE/FALSE - - * gdk/gdkcolor.c (gdk_colormap_new): gboolean flag whether the - colormap is private - (gdk_colors_alloc): gboolean whether to be contiguous - (gdk_color_equal): return gboolean since we are a predicate - and not a qsort() (this looks semi-wrong due to glib breakage, - IMO glib should be fixed) - - * gdk/gdk.c (gdk_set_use_xshm): take gboolean arg - (gdk_get_use_xshm): return gboolean - (gdk_pointer_is_grabbed): return gboolean - - * gdk/gdk.h: Change prototypes to match all the above changes, - and re-run egtk-format-protos as required. - -Fri Jan 28 12:28:17 2000 Owen Taylor - - * gtk/gtkctree.c (resync_selection): - * gtk/gtkclist.c (resync_selection): - - Return immediately if clist->drag_pos < 0. This is a workaround - for the corrupt state that the clist gets into when a - GDK_2BUTTON_PRESS occurs. See note in gtk_clist_button_press(). - - Bug #5487, #2051, #2677; fix suggested by David Helder and T. Alexander Popiel. - - * gtk/gtknotebook.c (gtk_notebook_size_request): Fix uninitialized - variable from recent commit. - -Thu Jan 27 15:22:09 2000 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_begin): Fix stupid typo in last commit. - -Thu Jan 27 18:00:55 2000 Tim Janik - - * gtk/Makefile.am: prefix all autogenerated source that get build in - $(srcdir) with $(srcdir)/, so make doesn't assume they got generted - in builddir. since we subsequently cd into srcdir for autogeneration, - the paths have to be stripped from the target file names, thusly we - use $(@F) as target names now. - put a comment about configure.in's --disable-rebuilds option, - which can be used for non-writable source directories, for development - setups though, srcdir has to be *writable*. - -hu Jan 27 00:15:03 2000 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_begin gtk_drag_get_event_actions): - Finish the job of allowing event to be NULL. - (Fixes bug #4283, reported by Chris Blizzard) - - * gtk/gtkentry.c (entry_adjust_scroll): When calculating - things so that the cursor appears on screen, properly - take into account INNER_BORDER. - (Fixes bug #4754, reported by Antonio Campos) - -Wed Jan 26 23:12:28 2000 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_map): Don't - show the tab_label unless it itself is visible. - - gtk/gtknotebook.c (gtk_notebook_size_request): - Do a better job of making sure that the visibility - of the tab label corresponds to whether it should - be mapped or not. - -Wed Jan 26 21:17:03 2000 Owen Taylor - - * gtk/gtkoptionmenu.c (gtk_option_menu_position): - Use the requisition, not the allocation, since the - allocation has not necessarily been computed yet. - (Pointed out by Eugene Osintsev) - -Wed Jan 26 19:44:25 2000 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_new): Dont' set - style/base[GTK_STATE_INSENSITIVE] both to - gtk_default_insensitive_bg! - (Bug #2187, reported by Jonathan Blandford) - - * gtk/gtkaccelgroup.c (gtk_accelerator_valid): - Add Alt_L, Alt_R to list of invalid accelerators. - (Bug #3736, reported by Vlad Harchev) - -Wed Jan 26 19:01:56 2000 Owen Taylor - - * gtk/gtkfilesel.c (open_ref_dir): Fix several - bugs which occured after an attempt to open - invalid home directory left cmpl_state->reference_dir == NULL. - - - completion on files in home directory didn't work - - completion on an empty string caused segfault - - (Bug #3678, reported by Steve Ratcliffe) - - * gtk/gtkscale.c (gtk_scale_get_value_width): Fix - cut and paste error that was causing scales to - be incorrectly positioned. - (Bug #2956, - patch from Steve Ratcliffe ) - -2000-01-27 Shirasaki Yasuhiro - - * acinclude.m4 (AM_GTK_WITH_NLS): Add -lintl to libs - when checking for dcgettext, if we've found we needed - it for dgettext. -+ -Wed Jan 26 18:06:07 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore - queue_clear on NO_WINDOW widgets during a reparent, - since at that point the window and widget heirarchies - are out of sync. This stops crashing in some cases - (the scrolled window reparent test, for instance), and - _probably_ won't cause drawing errors. - - * gtk/testgtk.c: Make the reparenting-a-scrolled-window - test do what it was supposed to do and be robust against - window closings, etc. (Bug #2443) - -Wed Jan 26 16:56:54 2000 Owen Taylor - - * gtk/gtkentry.c: Fix return values on mouse events. - (Bug #2686, Sky ) - - * gtk/genmarshal.pl: Fix up handling of FOREIGN. - (pointed out by George Lebl) - - * gdk/gdkcolor.c (gdk_color_copy): Made const-safe. - (From Ettore Perazzoli ) - -Mon Jan 24 10:44:48 2000 Owen Taylor - - * gtk/gtkcalendar.c (gtk_calendar_main_button): Handle - clicks between rows or outside calender area correctly. - (Patch from Damon Chaplin) - - * gtk/gtkclist.c (gtk_clist_set_row_data_full): - * gtk/gtkctree.c (gtk_ctree_node_set_row_data_full): - Call destroy function when overwriting existing data. - (Pointed out by Damon Chaplin) - -Tue Jan 25 09:55:41 2000 Owen Taylor - - * gdk/gdk.c: Remove useless #include of , - which was causing problems on various systems with Xmu. - This hasn't been needed for a very long time. - (Fixes #1185 3167) - -Sun Jan 23 22:27:36 2000 Owen Taylor - - * gdk/gdki18n.h: Include when defining - gdk_isw* in terms of is* as a fallback. - (Bug #4106 - Dan Winship ) - -Sun Jan 23 22:12:36 2000 Owen Taylor - - * gtk/gtkviewport.c (gtk_viewport_size_allocate): Don't - realize the widget when it is size allocated! - (old, old bug) - - * gtk/gtkviewport.c (gtk_viewport_adjustment_value_changed): - Removed unused call to gdk_window_get_size() that - showed up when the above was fixed. - -Sat Jan 22 15:44:30 2000 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_reparent): Correctly - fix up widget->window when the widget is a - NO_WINDOW container widget. - -Sat Jan 22 12:40:48 2000 Owen Taylor - - * gdk/gdkpixmap.c (gdk_pixmap_seek_string): Rewrite - to account for the fact that feof() does _not_ - return TRUE on errors, and thus avoid infinite loops - when trying to use gdk_pixmap_create_from_xpm() - on unreadable values. - -Fri Jan 21 18:32:43 2000 Owen Taylor - - * gtk/gtkaspectframe.h (struct _GtkAspectFrame): s/gint/gboolean/. - -Fri Jan 21 16:24:08 2000 Owen Taylor - - * gdk/gdkgc.c (gdk_gc_set_dashes): Change from - gdk_gc_set_dashes to take gint8 instead of gchar to - make it clearer that it is _not_ a NULL terminated string. - - * gdk/gdk.h gdk/gdkfont.c gdk/gdkgc.c gdk/gdkselection.c - gdk/gdkwindow.c gtk/gtkprogress.[ch] gtk/gtkthemes.[ch] - gtk/gtktreeitem.[ch] gtk/gtkwidget.[ch]: Constify string - arguments. - -Thu Dec 30 04:51:05 1999 Tim Janik - - * gtk/gtkvscale.c (gtk_vscale_pos_background): - * gtk/gtkhscale.c (gtk_hscale_pos_background): when calculating the - background size relative to our allocation, guard against small - allocations, we may have not yet been size allocated. - -Thu Dec 2 10:59:14 1999 Owen Taylor - - * gdk/gdkdnd.c (xdnd_check_dest): Allow version >= 3, - not just version == 3. We implement all 3 + most of 4 - - (we don't support matching text/plain;charset=iso-8859-1 - to a dest that expects text/plain). We'll still advertise - 3 to be safe, but any client implementing version >= 3 - must interoperate with 3. - -Tue Mar 14 11:53:31 2000 Owen Taylor - - * gtk/gtktooltips.[ch] (struct _GtkTooltips): Remove foreground, - background and gc members, add a warning in gtk_tooltips_set_color() - indicating that this function is deprecated. - -Thu Mar 9 22:10:56 GMT 2000 Tony Gale - - * docs/gtkfaq.sgml: FAQ Update: - - Minor cleanups (Emmanuel, me) - - New questions: - I need to add a new signal to a GTK+ widget. Any idea? (timj) - How can I retrieve the text from a GtkMenuItem? (timj) - How do I validate/limit/filter the input to a GtkEntry? (me) - Memory does not seem to be released when I free the list - nodes I've allocated (timj) - -2000-03-07 Tor Lillqvist - - * gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes: - (gdk_win32_gdi_failed) New function for reporting errors from GDI, - for which it is no use to call GetLastError onWin9x. - (gdk_other_api_failed) New function, for general error - reporting without calling GetLastError. - (gdk_win32_api_failed) OTOH, this function always calls - GetLastError. (gdk_win32_last_error_string) Remove this function, - GLib has the equivalent now. - - * gdk/win32/gdkprivate-win32.h: Declare the above, and macros to - call them with function name, file name and line number in the - arguments. - - * gdk/win32/*.c: Use the new macros for reporting errors from GDI - functions. - - * gtk/gtk.def: Add some missing entry points. - - * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and - gtk_paned_set_gutter_size, which don't exist any longer, as void. - - Fixes by Hans Breuer: - - * gdk/makefile.msc: Update for debugging. - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake - implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or - PS_DASHDOTDOT or PS_DASH styles depending on the number of entries - in the dash_list. - - * gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in - the x11 backend. - - * gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro. - - * gtk/testgtk.c: Include config.h, guard inclusion of unistd.h. - -2000-03-04 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h (struct _GdkWindowWin32Data): Store - just pixel value of background colour. - - * gdk/win32/gdkgc-win32.c (gdk_colormap_color): New function - containing code snippet previously duplicated in a couple of - places. - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_points): Use - gdk_colormap_color. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate - GDK_SCROLL events for WM_MOUSEWHEEL messages. Don't generate - events for autorepeated Shift, Control and Alt keys. Use - gdk_colormap_color. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): If the - pointer is inside the window the cursor of which we are setting, - call SetCursor immediately. - - * gdk/win32/makefile.cygwin - * gtk/makefile.cygwin: If we don't have the build number stamp - file, use zero. - - * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and - gtk_paned_set_gutter_size as empty. - - * gtk/gtk.def: Remove gtk_paned_set_gutter_size. - -Tue Feb 29 13:10:00 GMT 2000 Tony Gale - - * gdk/gdkwindow.h gdk/x11/gxid.c gtk/gtkclist.c gtk/gtkclist.h - gtk/gtkctree.c gtk/gtkmenu.h gtk/gtkwidget.c gtk/testgtk.c - docs/styles.txt docs/refcounting.txt docs/gtkfaq.sgml - docs/gtk_tut.sgml docs/gtk.texi TODO: - - Spelling/grammar fixes from Martin Buchholz - -Sat Feb 26 11:46:25 GMT 2000 Tony Gale - - * gtk/gtkcalendar.c: Implement num_marked_dates, - and don't emit mutiple day_selected signals on - month_prev. - -2000-02-25 Jonathan Blandford - - * docs/make-todo (lineno): let title and logo be configurable so - that GNOME can use this script too. - - * TODO.xml: added logourl and a title - -Fri Feb 25 11:12:00 2000 Owen Taylor - - * TODO.xml: Added some UI items, and an explanatory - comment at the top of the file. - -Thu Feb 24 09:07:28 2000 Tim Janik - - * TODO.xml: some updates, added abunch of new entries. - a note for those fiddeling with this file, when done - with it, invoke: - $ ./docs/make-todo TODO.xml >/dev/null - and correct output errors before comitting changes. - -Wed Feb 23 22:59:50 2000 Owen Taylor - - * TODO.xml: Added XML-structured TODO file. - * docs/make-todo: python script to turn TODO.xml into - pretty XML output. - -2000-02-23 Jonathan Blandford - - * gtk/gtkstyle.c (gtk_default_draw_handle): add a 'paned' mode to - the function to let it draw the seven dots, instead of the old, - much maligned, method. - (draw_dot): New function to draw a dot. - - * gtk/gtkhpaned.c (gtk_hpaned_size_allocate): changed allocation - to draw the handle inside the border width as opposed to outside. - Use paint function instead of gdk_draw_point. - - * gtk/gtkvpaned.c (gtk_vpaned_size_allocate): changed allocation - to draw the handle inside the border width as opposed to outside. - Use paint function instead of gdk_draw_point. - - * gtk/gtkfilesel.c (gtk_file_selection_update_history_menu): - Change indenting to be more GTK like. - -Wed Feb 23 10:54:14 GMT 2000 Tony Gale - - * docs/gtk_tut.sgml: New section on GtkCalendar - * examples/calendar: Update example code - -Tue Feb 22 13:54:12 GMT 2000 Tony Gale - - * docs/gtkfaq.sgml: FAQ Update - -2000-02-19 Anders Carlsson - - * gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE - to prevent the scroll event to be propagated upwards. - -Fri Feb 18 14:37:29 2000 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove - OwnerGrabButtonMask from button entries for - GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE. - - * gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL - to the event mask (which will result in button/press release - being added to the event mask on Unix) so scrolling works - for layouts in scroll windows. - - * gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK. - - Patch from Anders Carlsson to add - a scroll event. - - * gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel - scrolling to the "Test Scrolling" part of testgtk. - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal. - - * gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched - it against GDK_SCROLL. - - * gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new - way of mouse wheel scrolling. - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise. - - * gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise. - - * gtk/gtkmain.c: Removed previous mouse wheel hack. - - * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in - gdk_event_mask_table. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Added - GdkEventScroll handler. - - * gdk/gdkevents.h: Added GdkEventScroll structure. - -Thu Feb 17 17:10:12 2000 Owen Taylor - - * gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford - and Anders Carlsson to change the Paned widgets so that they - can be dragged from anywhere along the length. Also change - the way that this is drawn to make this apparent. - - * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch - from George Lebl to check that option_menu->menu is present - before getting history. - -2000-02-14 Tor Lillqvist - - * gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments - before the assertion for non-NULL segment list. - - * gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values): - Seems that pattern brushes *must* be 8x8 pixels! At least on my - machine, but it might be display driver dependent. Sigh, so make - sure the stipple is that size. Does Windows suck or what? - - * gdk/win32/gdkdrawable-win32.c: Improve error handling in a few - places. - -2000-02-13 Havoc Pennington - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init - refcount to 1 - (gdk_cursor_new): init refcount to 1 - - * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1 - -2000-02-13 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter - so that we don't have to do unnecessary settings to the HDC. - - * gdk/win32/gdkdrawable-win32.c - * gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of - gdk_gc_predraw. - - * gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where - the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct - GDI paths, call WidenPath to get the outline of the stroken path, - and then fill the outline (with the brush that was built from the - stipple). - - * gdk/win32/gdkgc-win32.c: Factor out common code from - _gdk_win32_gc_new and gdk_win32_gc_set_values into - gdk_win32_gc_values_to_win32values. Use correct colour for - SetBkColor() (Until now the code actually used a random colour in - the call to SetBkColor()... but that didn't show up as not many - GDI APIs use the background colour. Pattern (opaque stippled) - brushes do.) - - * gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string, - gdk_win32_api_failed): New functions for error logging. - - * gdk/win32/gdkprivate-win32.h: Declare them, and define a macro - WIN32_API_FAILED to call them, passing function or file name and - line number. - - * gdk/win32/*.c: Use the WIN32_API_FAILED macro. - - * gdk/win32/gdkprivate-win32.h: Store just the pixel values from - GdkColor for foreground and background in GdkGCWin32Data. - - * gdk/makefile.cygwin: Link in the resource object separately. - - * gdk/win32/rc/gdk.rc - * gtk/gtk.rc (New file) - * gdk/win32/makefile.cygwin - * gtk/makefile.cygwin: Update build number in DLLs automatically, - as in GLib. - -Sun Feb 13 08:54:45 2000 Tim Janik - - * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/. - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): - * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy): - * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the - parameters given and cursor->ref_count. coding style fixups. - - * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer, - not GtkWidget. - - * gtk/*.h: applied patch from Mathieu Lacage to - fix up widget macros and add _GET_CLASS() variant. - - * gtk/*.c: some GtkType fixups. - -2000-02-09 Tor Lillqvist - - * gdk/win32/gdkproperty-win32.c - * gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW - were reversed. - -2000-02-04 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use - g_filename_to_utf8 to convert the font names Windows gives us from - whatever is the default codepage to UTF-8. - (gdk_font_load_internal) Use g_filename_from_utf8 for conversion - in the other direction. - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste - error in debugging output. - -2000-02-02 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width - and height parameters to gdk_window_clear_area(). Not minus one. - -Wed Feb 2 11:58:05 2000 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity - checks if the widget passed to gtk_drag_get_data() was not the - dest widget. - -2000-02-01 Tor Lillqvist - - * gtk/gtkfilesel.c: Use the g_filename_to_utf8 and - g_filename_from_utf8 functions (which were added a moment ago to - GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed - size buffers. - - gtk_file_selection_get_filename returns the filename in the C - runtime encoding. It calls g_filename_from_utf8, but copies the - returned string to a static buffer, which is returned. I think - this is better than returning the result from g_filename_from_utf8 - directly, which would mean all apps that use it would have to free - the return value. Or should this function care about this issue at - all? Maybe a new function with clearly defined semantics. - - * gtk/gtkfilesel.h: Add comment about - gtk_file_selection_get_filename returning the filename in the C - runtime's encoding. - - * README.win32 - * gdk/gdk.def - * gdk/makefile.{cygwin,msc} - * gtk/gtk.def: Updates. - - * gdk/gdkcursor-win32.c: Initialise refcount. - -2000-01-31 Yuan-Chung Cheng - - * configure.in: Added "zh_CN.GB2312" to ALL_LINGUAS. - -2000-01-30 Havoc Pennington - - * gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of - destroy - - * gdk/gdkimage.c (gdk_image_ref): image wasn't being returned - - * gdk/gdkprivate.h: declare _gdk_cursor_destroy which is then - implemented in platform-specific code - - * gdk/Makefile.am (gdk_c_sources): add gdkcursor.c - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy): rename with an - underscore in front - - * gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy): - put an underscore in front - - * gdk/gdkcursor.c: new file, implements - gdk_cursor_ref/gdk_cursor_unref - - * gdk/gdkcursor.h: Refcount GdkCursor - - * gdk/gdkcompat.h (gdk_cursor_destroy): compat - -2000-01-29 Tor Lillqvist - - * gdk/gdkwindow.h - * gdk/gdkpixmap.h: Remove prototypes for renamed functions. - -Tue Jan 25 11:43:21 2000 Owen Taylor - - * gtk/gtkinvisible.h (struct _GtkInvisible[Class]): Fix - structures to properly inherit from GtkWidget not GtkBin. - -Sun Jan 23 20:28:24 2000 Owen Taylor - - * gtk+.spec.in: Added lib/gtk+/include/* to %files - (bug #5178 - Peter Wainright) - - * gtk/Makefile.am (gtk_public_h_sources): Add gtkcompat.h - so that it will be installed. - (bug #4889 - "david d `zoo' zuhn" ) - -Fri Jan 21 16:29:28 2000 Owen Taylor - - * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument - for the GtkStyleClass vtable const. - - * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc - take a const string argument like GtkTranslateFunc. This will - require changes in use code. - -2000-01-19 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct - semantics (to mimic the X11 backend, which just calls XClearArea) - is to check for zero width (and height), and in that case use the - window's width minus x (height minus y). This fixes for instance - some redraw problems with gtkclist, which were easily noticeable - in the gtk file selection widget. - - (gdk_window_new): Don't set WS_EX_TOPMOST for dialog - windows. - -2000-01-13 Tor Lillqvist - - * configure.in - * gdk/Makefile.am - * gdk/x11/Makefile.am - * gdk/win32/Makefile.am: Small fixes, thanks to Peter Wainwright - (bug #5177). - * gdk/win32/gdkcc-win32.c: Reintroduce, to be thrown - out later. - -2000-01-09 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Ignore - WM_MOVE for iconified or invisible windows. This fixes various - problems when minimising windows. Thanks to Bernd Herd. - -2000-01-05 Tor Lillqvist - - * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the - backend's draw_lines method, not draw_points. - -2000-01-02 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from - before Owen's reorganisation: Don't have queued_events and - queued_tail statics in this file, but use gdk_queued_events and - gdk_queued_tail. This makes exposure event compression work again. - - (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't - seem to be needed? - -1999-12-30 Tor Lillqvist - - * gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include - gdkkeysyms.h to get the GDK_* keysym constants that are needed by - gdk_keyval_convert_case(). Otherwise, gdk_keyval_convert_case() - doesn't do anything. - - * gdk/gdk.def: Add gdk_xid_table_insert. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkinput-win32.c - - * gdk/win32/gdkwindow-win32.c: Remove the superfluous - extension_events field in the GdkWindowWin32Data struct. Use only - the extension_events field in GdkWindowPrivate. Previously one was - set, and the other one tested, which broke tablet - functionality. Thanks to Keishi Suenaga for pointing this out. - -1999-12-18 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c (gdk_text_size, gdk_text_extents): - When handling a single character (text length == 1), don't handle - it as if it was UTF-8. - -1999-12-11 Tor Lillqvist - - * Makefile.am: Distribute README.win32. - - * gdk/Makefile.am - * gdk/win32/Makefile.am: Distribute Win32 files. - - * gdk/makefile.msc: New file. - - * gdk/gdk.c (gdk_arg_context_parse): Fix gccism (no statement - after label). - - * gdk/gdkprivate.h: Must mark also gdk_error_warnings and - gdk_error_code as GDKVAR, as they are referred outside GDK. - - * gdk/win32/makefile.msc: Update. - - * gdk/win32/gdkfont-win32.c (check_unicode_subranges): More - tweaks. Check only if at least one of those Unicode subrange bits - we care for is set. If no code page bits are set, guess (wildly) - based on the charset. - - * gdk/win32/gdkinput-win32.c: Remove debugging leftover. - - * gdk/win32/gdkwindow-win32.c (gdk_window_new): Assure title is - non-NULL. - - * gtk/gtkdnd.c - * gtk/gtklayout.c - * gtk/gtkplug.c - * gtk/gtkselection.c - * gtk/gtksocket.c - * gtk/gtkwindow.c: Include x11/gdkx.h *or* win32/gdkwin32.c as - appropriate. There must be a cleaner way to handle this? - - * gtk/gtkrc.c: Must include windows.h on Win32. - - * gtk/testgtk.c: No need to include gdkx.h. - - * gtk/makefile.cygwin: Correct invokation of genmarshal.pl. - -1999-12-07 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c: Fix string measurement code. For now, - the rbearing is set to the same as the width, but this should be - fixed. - -1999-12-06 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c (check_unicode_subranges): New - function. If Windows doesn't tell us what Unicode subranges a font - covers, guesstimate based on the codepages it covers. This will - hopefully help those Windows versions or fonts that don't give us - any useful Unicode subrange information with GetTextCharsetInfo. - Call this function in gdk_font_load_internal. - - * gdk/win32/{gdkdnd,gdkimage,gdkpixmap,gdkprivate}-win32.c: Misc - minor changes. - -Fri Dec 3 14:09:50 1999 Owen Taylor - - * gtk/gtkoptionmenu.[ch] (gtk_option_menu_get_history): - New function, long needed. - -Wed Dec 1 22:35:43 1999 Owen Taylor - - * gdk/gdkproperty.h x11/gdkproperty.c: Change - only_if_exists argument of gdk_atom_intern to - bool. - -1999-11-25 Tor Lillqvist - - * gdk/gdkgc.c (gdk_gc_set_ts_origin, gdk_gc_set_clip_origin): - Fix two copy&paste errors. - - * gdk/makefile.cygwin: Also rebuild DLL when the static archive in - win32 has changed. - - * gdk/win32/gdkprivate-win32.h: Don't need CPINFO in the - GdkWin32SingleFont struct. - - * gdk/win32/gdkfont-win32.c: Some more debugging: Print Unicode - subranges of loaded fonts. Clear font signature first, in case - GetTextCharsetInfo fails. Pretend SYMBOL_CHARSET fonts have - ASCII+Basic Latin (i.e. 0x40--0xFF) as they are single-byte. - - * gdk/win32/gdkgc-win32.c: Improved logging. (gdk_gc_postdraw): - Unoffset clip region. - -1999-11-23 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): set - event->any.window before calling filter functions. - -Fri Nov 19 10:34:41 1999 Owen Taylor - - * gtk/gtkgamma.h: Adapt cast macros to standard. - -[ Merges from 1.2 ] - -Tue Nov 16 10:15:54 1999 Owen Taylor - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_path): - If translation does not include a '/', use entire - translation instead of crashing. - -Sun Oct 31 22:21:11 1999 Tim Janik - - * docs/gtk_tut.sgml: - s/gtk_accel_group_attach/gtk_window_add_accel_group/. - -Sat Oct 30 09:09:09 1999 Owen Taylor - - * gtk/gtkselection.c (gtk_target_list_remove): Use - g_list_remove_link, not g_list_remove. - - [ From Geert Bevin ] - -Sun Oct 24 07:41:40 1999 Tim Janik - - * gtk/gtkclist.c (real_undo_selection): commented out g_print() - statement upon unselection (how the heck did that slip in?). - -Sat Oct 23 03:03:08 1999 Tim Janik - - * gtk/gtktext.c (gtk_text_freeze): - (gtk_text_thaw): undraw/draw cursor here to avoid unnecessary scrolling - in frozen state (and aparently crashes). patch provided by Anders - Melchiorsen . - -Sat Oct 23 02:53:20 1999 Tim Janik - - * fix insensitive default/focus widget activation, - reported by Matt Goodall . - - * gtk/gtkwindow.c (gtk_window_key_press_event): - (gtk_window_activate_default): - (gtk_window_activate_focus): - return handled=FALSE for actiavtion of insensitive default - widgets. return handled=TRUE for activation of insensitive - focus widgets. don't activate in either case. - -Tue Oct 19 09:55:08 1999 Owen Taylor - - * gtk-config.in (lib_gtk): Switch order of @x_cflags@ - and $glib_cflags to match library order and in the - theory that an old version of GLib is more likely to - be in the include directory for X then vice-versa. - (Bug #2776) - -Tue Oct 19 09:46:49 1999 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE - to determine the locale for fontsets, not LC_MESSAGES; - the user may want English messages with a handling - for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR - will still be broken) (Bug #2891) - -Tue Oct 19 20:36:42 1999 Changwoo Ryu - - * gtk/gtkrc.ko: Fixed the wrong number of "*"'s. - -Tue Oct 19 12:15:13 1999 Changwoo Ryu - - * gtk/gtkrc.ko: Changed the Korean default fontset. - -Fri Oct 8 02:32:47 1999 Owen Taylor - - * gtk/gtklayout.c (gtk_layout_adjustment_changed): Fix bug - where when scrolling to the left or top double exposes - were done, causing major slowdowns. - -Thu Oct 7 18:31:55 1999 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_init): Always normalize codeset - names to lowercase and alphanumeric, before looking - them up. - - * gtk/Makefile.am: Install codeset variant gtkrc files - with normalized names. - -Thu Oct 7 22:52:42 1999 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_popup_with_data): even - popup menus when the menu is already visible, but its parent - is still hidden, (happens after tornoff window got hidden). - -Thu Oct 7 11:09:55 1999 Owen Taylor - - * gtk/Makefile.am (install-data-local): Fix - a typo where gtkrc.vi_VN.tcvn5712 wasn't getting - deleted, causing error messages on install. - -Thu Oct 7 11:03:06 1999 Owen Taylor - - * gtk/gtk[hv]paned.c (gtk_{h,v}paned_draw): Redraw - the handle as well, since we now sometimes ignore - exposes on the handle while resizing. - -Wed Oct 6 18:02:31 1999 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_append_default_pixmap_path): Fix stupid - extra g_free introduced in one of the last one or two - commits. - -Wed Oct 6 16:38:36 1999 Owen Taylor - - * gtk/Makefile.am gtk/gtkrc*: Make naming of gtkrc files - consistent, put each style that a gtkrc.* file creates - in a unique namespace, remove old files before installing. - -Wed Oct 6 14:31:16 1999 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_init): Avoid leaking memory when - gtk_rc_init is called multiple times. (Yes, people who - do that have bugs in their code.) - -Tue Oct 5 11:36:57 PDT 1999 Manish Singh - - * gtk/Makefile.am: listing gtkrc in gtkconf_DATA seems to barf. - Remove it since it's generated by the Makefile anyway - -Tue Oct 5 02:43:41 1999 Owen Taylor - - * gdk/gdkinputcommon.h (gdk_input_device_new): Free - device->info.axes for core pointer. - -Thu Sep 30 13:55:25 1999 Owen Taylor - - * gtk/testgtk.c (destroy_idle_test): Rename idle to - idle_id, to deal with obsolete, broken C libraries. - -Mon Sep 27 02:50:15 1999 Owen Taylor - - * gtk/gtkvscale.c (gtk_vscale_draw): Don't add in - allocation->x/y twice! - - * gtk/gtkhscale.c: Make usage of gtk_hscale_pos_trough() - consistent with gtk_vscale_pos_trough(). - -Sun Sep 26 19:44:34 1999 Owen Taylor - - * gtk/gtkcontainer.c (gtk_container_queue_resize): We may - be queueing a resize on a toplevel container between - the time we show it and when we map it. So, we need - to test GTK_WIDGET_VISIBLE() for toplevels, and only - use GTK_WIDGET_DRAWABLE() for child windows. - -Thu Sep 23 16:41:03 1999 Owen Taylor - - * gtk/Makefile.am (LDADDS): Add GDK_WLIBS to LDADDS - (fixes bug #2144) - -Fri Sep 24 00:51:45 1999 Tim Janik - - * gtk/gtkcontainer.c (gtk_container_queue_resize): check for - container DRAWABLE (instead of VISIBLE), so we don't queue - resizes on non-toplevel containers. - -Sun Sep 19 18:13:31 1999 Owen Taylor - - * gtk/gtkselection.[ch]: Make the data argument - const guchar *. - -Sat Sep 18 21:27:40 1999 Owen Taylor - - * gtk/gtkwindow.c: Try to behave sensibly if - the focus widget is the window itself. (Should - we allow this at all?) - -Fri Sep 17 09:57:15 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_set_sensitive): - * gtk/gtknotebook.c (gtk_notebook_set_scrollable): - * gtk/gtknotebook.c (gtk_notebook_set_show_border): - * gtk/gtkclist.c (gtk_notebook_set_show_border): make gboolean args - in prototypes and implementations consistent (Tomas Ogren). - - * gtk/gtklayout.c (gtk_layout_remove): unset GTK_IS_OFFSCREEN flag - before the widget is unparented (reported by damon). - - * gtk/gtkdnd.c: make the cursor and icon data _unsigned_ char, - since we provide unsigned data anyways. - -Thu Sep 16 21:32:01 1999 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_set_tip): Delay - the call to gtk_tooltips_layout_text() until later. - - * gtk/gtktooltips.c (gtk_tooltips_draw_tips): - Call gtk_widget_ensure_style() before using the style. - -Wed Sep 15 02:52:19 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_event): Added workaround - for old widgets that don't propagate draws to all - children. (Namely gnome-dock for gnome-libs <= 1.0.16) - -Tue Sep 14 19:22:19 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_queue_resize): don't queue the parent - for a redraw but just the widget that requested the resize. - -Tue Sep 14 18:29:47 1999 Tim Janik - - * gtk/gtkcontainer.c: added new widget level method - gtk_container_set_reallocate_redraws() and a GtkContainer flag - reallocate_redraws : 1 to reflect the setting, exported this through - the argument system as a boolean ::reallocate_redraws. - - * gtk/gtkwidget.c (gtk_widget_size_allocate): when queueing redraws - on the widget because the allocation changes, do so as well for - widget->parent if the parent has reallocate_redraws set to TRUE. - with that containers requesting reallocation redraws get automatically - redrawn if their children changed allocation (this unfortunately - affects also other children that didn't change allocation, but we - cannot work around that before 1.3). - -Tue Sep 14 18:23:01 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_idle_draw): only emit ::draw if width - _and_ height are >0 (not _or_). - - * gtk/gtktable.c (gtk_table_remove): use gtk_widget_queue_resize() - instead of gtk_container_queue_resize(), which is a core gtk internal - function (must have been on crack when i queued that). - - * gtk/gtkprivate.h: added new private flag GTK_FULLDRAW_PENDING, so - we can check more reliably if we want to discard expose events. - * gtk/gtkwidget.c: added setting/unsetting of the GTK_FULLDRAW_PENDING - flag. - - * gtk/gtkwidget.c (gtk_widget_event): don't discard synthesized exposes, - we simply trust these events. for deciding whether to discard exposes, - check GTK_FULLDRAW_PENDING instead of RESIZE_PENDING. - -Mon Sep 13 15:01:21 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore - queues of areas that are completely off screen. - - * gtk/gtkwidget.c (gtk_widget_idle_draw): Fix broken - logic for handleboxes. - - * gtk/gtkwidget.c (gtk_widget_queue_draw_data): Add santity - check on width/height. - -Mon Sep 13 02:22:47 1999 Tim Janik - - * gtk/Makefile.am: backed out Raja's recent VPATH build "improvements", - we are fine with using $@ the way we do (if we actually encounter - brokeness with $@ in VPATH builds because of additional path prefixes, - we need to use $(@F) actually). - -Mon Sep 13 01:34:53 1999 Tim Janik - - * gtk/gtksignal.c: renamed two variables, hopefully didn't introduce - short lived bugs, that would allow language bindings to do surgeries - to our guts. - -Fri Sep 10 15:22:50 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_size_allocate): Fix typo - where comparison was being done against an uninitialized - value causing intermittant results depending on - compiler flags. Also make it clearer that we aren't - ever initializing the child as 0x0 (though this will - be caught in gtk_widget_size_allocate()) - -Fri Sep 10 10:06:56 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_transient_for): Move - gtk_window_unset_transient_for() call after we do checks - involving the old transient parent. - [ From Lance Capser ] - -1999-09-07 Raja R Harinath - - * gtk/Makefile.am (gtk.defs): Go back to using `touch' to create - an empty file. - -Mon Sep 6 00:11:56 1999 Lars Hamann - - * gtk/gtkctree.c (gtk_ctree_is_ancestor): return FALSE if node has - no children. (Reported by: Chris Rogers ) - -1999-09-03 Raja R Harinath - - * gtk/Makefile.am (gen_sources): Improve VPATH builds. - `$@' is valid only in the build dir, not after we've done - `cd $srcdir'. Also use `test -f' instead of less portable - `test -e'. - -Fri Sep 3 15:59:56 1999 Owen Taylor - - * gtk/gtktext.c (correct_cache_insert): Rewrite - for simplicity, and hopefully correctness. - (Fixes bug #1322, which was a segfault when - on some insertions with the properties around - the insertion set up just wrong.) - - * gtk/gtktext.c (gtk_text_adjustment): When we receive - a "changed" signal, clamp the new value to the adjustment - bounds to avoid segfaulting if someone tries to change - the adjustment to a bogus value. (Bug #1795) - -Thu Sep 2 16:33:59 1999 Owen Taylor - - * gtk/gtkmain.c: Ignore unexpected destroy notifies - for children, for toplevel windows handle them - like delete_event. - - * gtk/gtkplug.c: Add an unrealize handler so that - we unref plug->socket_window when we are done - with it. - -Fri Sep 3 14:52:54 1999 Owen Taylor - - * gtk/gtktext.c (clear_area): Fix stupid signedness - problem that was causing background to sometimes - be misaligned. - -Fri Sep 3 12:26:33 1999 Owen Taylor - - [ Fixes pointed out by Ettore Perazzoli ] - - * gtk/gtkmenu.c (gtk_menu_position): Make - sure we never position menus with negative x, y, - since gtk_widget_set_uposition() can't handle that. - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): - Modify the positioning code a bit so that we always - put the top-left corner onscreen. (This is for - UI reasons, gtk_menu_position() now takes care of - gtk_widet_set_uposition() brokeness.) - -Fri Sep 3 03:06:30 1999 Tim Janik - - * gtk/Makefile.am: fixed up things for -jx, x > 1. - -Sun Sep 5 08:48:51 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_modify_style): Ref the - RC style that is passed in. The lack of the ref - before was a bug. If people worked around this - bug, this will introduce a slight memory leak - in their code. The code should typically look like: - - rc_style = gtk_rc_style_new (); - [...] - gtk_widget_modify_style (widget, rc_style); - gtk_rc_style_unref (rc_style); - - * gtk/gtkwidget.c (gtk_widget_modify_style): Reset - the style if it was already set. - - * gtk/gtkwidget.c (gtk_widget_set_name): Only set the - style if it was set before. - -Thu Sep 2 19:02:37 1999 Owen Taylor - - * gtk/testgtk.c (main): Add a check to see if we - are being run from the correct directory and - to quit nicely if we are not. - - * gtk/gtkrc.c (gtk_rc_slist_remove_all): Make function - static. - -Thu Sep 2 23:00:03 1999 Tim Janik - - * gtk/gtkenums.h (GtkWindowPosition): added GTK_WIN_POS_CENTER_ALWAYS. - - * gtk/gtkwindow.c: - queue resizes unconditionally (gtk_widget_queue_resize will figure - what to do if the window is not realized). - (gtk_window_move_resize): only recenter the window - for GTK_WIN_POS_CENTER_ALWAYS. - (gtk_window_compute_reposition): handle GTK_WIN_POS_CENTER_ALWAYS in - the same way as GTK_WIN_POS_CENTER. - -Thu Sep 2 22:39:27 1999 Tim Janik - - * gtk/gtkwindow.c (gtk_window_reposition): check for the last position - with (!(info->last_flags & GDK_HINT_POS)) instead of - (!info->last_flags & GDK_HINT_POS). - - * gtk/gtkwindow.c (gtk_window_move_resize): constrain new_width and - new_height unconditionally, because we use these values even if - !default_size_changed && !hints_changed. - comented the (default_size_changed || hints_changed) case with - respect to resize rejects from the window manager. - - * gtk/gtkwindow.c (gtk_window_move_resize): save info->last values - in the zvt condition hack, since this includes the window hints, set - the hints after the handling_resize case. - - * gtk/gtkwindow.c (gtk_window_show): constrain the default size that a - window is initially shown with to the geometry. - -Thu Sep 2 07:38:56 1999 Tim Janik - - * gtk/gtkwindow.c (gtk_window_move_resize): - s/size_changed/default_size_changed/g so i know what's - really going on (frying brain on smaller flame now). - -Thu Sep 2 05:47:47 1999 Tim Janik - - * gtk/gtkwindow.c (gtk_window_move_resize): queue a new resize if - we have size_changed upon handling_resize. this is a gross - workaround for the broken zvt widget and should be removed in - 1.3 again (search for FIXME). - Owen provided an accurate comment for this: - - /* We could be here for two reasons - * 1) We coincidentally got a resize while handling - * another resize. - * 2) Our computation of size_changed was completely - * screwed up, probably because one of our children - * is broken. It's probably a zvt widget. - * - * For 1), we could just go ahead and ask for the - * new size right now, but doing that for 2) - * might well be fighting the user (and can even - * trigger a loop). Since we really don't want to - * do that, we requeue a resize in hopes that - * by the time it gets handled, the child has seen - * the light and is willing to go along with the - * new size. (this happens for the zvt widget, since - * the size_allocate() above will have stored the - * requisition corresponding to the new size in the - * zvt widget) - * - * This doesn't buy us anything for 1), but it shouldn't - * hurt us too badly, since it is what would have - * happened if we had gotten the configure event before - * the new size had been set. - */ - -Wed Sep 1 20:46:11 1999 Owen Taylor - - * gtk/gtkrc.c: deal properly with the fact that RC - style lists may include rc styles more than once. - - * gtk/gtkrc.c (gtk_rc_append_pixmap_path): Removed - unused static function. - - * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Keep a - stack of directories of RC files currently being - parsed and implicitely add them to pixmap path. - - This fixes a bug where the directory would get - appended then overwritten by pixmap_path declarations. - - (bug #1462, from Peter Wainright ) - - * gtk/gtkthemes.c (gtk_theme_engine_unref): Call - theme's exit function. (Patch from Peter Wainwright, - bug #1454) - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): - Add a destroy() handler to take care of removing - group for menu item. (Fixes bug #1197) - - * gtk/gtkwidget.c (gtk_widget_size_request): Fixed thinko - in warning message. - -Wed Sep 1 21:27:42 1999 Tim Janik - - * gtk/gtkwindow.c (gtk_window_move_resize): don't require a server - roundtrip to figure window's width and height, since we know that - anyways from widget->allocation. - -Wed Sep 1 12:37:44 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Compute - the hints after we request the new size. - -Wed Sep 1 10:38:37 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_compute_hints): Removed - GTK_WIDGET_REALIZED() assertion - we can compute the - hints before we are realized. - - * gtk/gtkwindow.c (gtk_window_move_resize): Reorder - hint changing so that we have a value of hints_changed - when we decide whether to constrain the window size. - - * gtk/gtkwindow.c (gtk_window_move_resize): Spelling fix. - - * gtk/gtkwindow.c (gtk_window_constrain_size): cleanups, - change back to G_MAXINT. - -Wed Sep 1 06:54:59 1999 Tim Janik - - * gtk/gtkwindow.c (gtk_window_get_geometry_info): zero initialize - new GtkWindowGeometryInfo, so fields like GdkGeometry geometry - contain uncluttered values. - (gtk_window_compute_hints): simply assert that window is realized - and that geometry_info is valid, since we rely on this anyways. - (gtk_window_constrain_size): major cleanups to the code. - if (flags & GDK_HINT_BASE_SIZE) use geometry's base width and height - for the base size, instead of the minimums. use 32767 as max width - and height (like in gtkwindow.c) instead of G_MAXINT. - -Wed Sep 1 04:41:25 1999 Tim Janik - - * cleaned up the GtkContainer.need_resize flag handling mess, we - only need to force resize requests when we were prematurely - realized, or our widget tree was modified when we were temporarily - hidden. handling these cases directly upon showing the window (i.e. - while the GdkWindow is still unmapped) avoids the need to wait for - a configure event response and therefore makes the GUI more snappier - and avoids blank windows during the roundtrip. - - * gtk/gtkwidget.c: - (gtk_widget_hide): - (gtk_widget_show): don't queue resizes on toplevels, they know how - to deal with matters. - - * gtk/gtkcontainer.c (gtk_container_queue_resize): set the ->need_resize - flag directly for not visible resize containers and spare us unecessary - signal emissions. - - * gtk/gtkwindow.c: - (gtk_window_realize): if we need to enforce premature size allocation, - queue a container resize so we are correctly resized later on. - (gtk_window_init): - (gtk_window_size_request): - don't freak around with the ->need_resize flag, - gtk_container_queue_resize() will care about that. - (gtk_window_show): - handle initial resizing issues here, we can handle matters better in - this place, especially since we know that our GdkWindow is still - unmapped. - (gtk_window_move_resize): - don't care about ->need_resize at all. - handle size changes properly that occoured while we waited for a - configure event. - -Tue Aug 31 15:58:46 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_uposition): - * gtk/gtkwindow.[hc] (gtk_window_reposition): - Move the hint setting code from gtk_widget_set_uposition - to here; set the hints so that we respect any previously - set geometry hints. - - * gtk/gtkwindow.c (gtk_window_compute_reposition): Don't - change the window hints here or move the window here, - let that happen in gtk_window_move_resize(). - -Tue Aug 31 06:58:52 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_event): when discarding exposes due - to already queued resizes (and therefore redraws) on a widget, check - its anchestry as well. - - * gtk/gtkcontainer.c: - (gtk_container_queue_resize): clear resize widgets for resize - containers before aborting prematurely. this is especially important - for toplevels which may need imemdiate processing or their resize - handler to be queued. - (gtk_container_dequeue_resize_handler): added new internal function for - gtkwindow.c. - - * gtk/gtkwindow.c (gtk_window_move_resize): if we are resizing due to a - configure event, take possible changes in window position into account - as well. - if we request a new window size, queue up a resize handler that will - last until the configure event response arrives. - combined the ->need_resize case (initial show) with the general size - (hints) changed case and added even more comments. - if !auto_shrink, only revert to the old allocation if the new size - is smaller than the current allocation. - -Tue Aug 31 11:55:20 1999 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_arg, gtk_window_set_policy, - gtk_window_set_geometry_hints - gtk_window_set_default_size): - When hints are set, queue a resize so that the hints will - be eventually reset on the toplevel. - - * gtk/gtkwindow.c (gtk_window_show): Use - gtk_window_compute_default_size(). Clear the need_resize flag - on the initail map so that we don't unnecessarily trigger the - resize code. - - * gtk/gtkwindow.c (gtk_window_move_resize): Split apart - into separate functions. Compare the hints we are setting - with what we set last time so that we can accurately - tell when we need to reset the hints. - - * gtk/gtkwindow.c (gtk_window_compute_default_size): New - function to figure out the size from requisition - and default_size. - - * gtk/gtkwindow.c (gtk_window_constrain_size): Function - from fvwm to constrain a size to the geometry hints. - - * gtk/gtkwindow.c (gtk_window_compare_hints): New function - to compare two sets of geometry hints. - - * gtk/gtkwindow.c (gtk_window_compute_hints): Renamed - from gtk_window_set_hints(), just compute the hints, - don't set them. - - * gtk/gtkwindow.c (gtk_window_compute_reposition): Move - code from gtk_window_move_resize() to separate function, - rationalize a bit. - -Tue Aug 31 13:05:03 1999 Owen Taylor - - * gtkrc.h: Move the ref_count member out of the GtkRcStyle - structure into a new private structure. - - * gtkrc.c: Split GtkRcStyle into public/private. - In the private part, add a list of pointers to the - RcStyle lists this RcStyle participates in. - - * gtkrc.c: When a RcStyle is free, remove all - lists referencing it from the - realized_style_ht hash, and free those lists. - - * gtk/gtkrc.c (gtk_rc_clear_styles): Don't call - gtk_rc_init(), since that adds the default styles - to the list of parsed RC files again. - - * gtk/gtkrc.c: Use gtk_rc_style_find() consistently. - -Thu Aug 26 14:14:42 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_size_allocate): reactivated the sanity - checks that ensure that a widget's allocation is at least 1 in width - and height. (GNOME note: this doesn't affect old panel code anymore, - because GtkSocket will request width and height of at least 1 since - Fri Jul 23). - - * gtk/gtkwindow.c (gtk_window_realize): if the widget hasn't been - allocated yet (happens if the user realizes the window prematurely), - size request and allocate it. - (gtk_window_size_allocate): guard against guint underflows. - -Wed Aug 25 19:01:36 1999 Lars Hamann - - * gtk/Makefile.am (gtk_built_sources): reordered stamp-gtk.defs - in gtk_built_sources, so gtk.defs gets built prior to all other - sources. - -Mon Aug 23 19:11:17 1999 Tim Janik - - * gtk/Makefile.am: - invoke indent on gtkmarshal.*. - rewrote source generation rules, use COPYING as oldest source tag for - a piggyback rule to generate all sources from (don't touch it ;). - major cleanups, strip spaces on build rules for GNU Make. - - * gtk/genmarshal.pl: don't operate on hardcoded filenames but take - source and target files from commandline arguments. don't invoke indent. - -Sat Aug 21 14:07:36 1999 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_real_switch_page): queue_resize - notebook after switch to avoid drawing problems. - (Bug#856 Reported by: Theodore Roth ) - - (gtk_notebook_pages_allocate): don't map not visible tab_labels, - show them instead. - (Bug#1805 Reported by: Dave Cole ) - -Sat Aug 21 14:07:36 1999 Lars Hamann - - * gtk/gtknotebook.c (gtk_notebook_real_switch_page): queue_resize - notebook after switch to avoid drawing problems. - (Bug#856 Reported by: Theodore Roth ) - - (gtk_notebook_pages_allocate): don't map not visible tab_labels, - show them instead. - (Bug#1805 Reported by: Dave Cole ) - -Wed Aug 18 09:20:10 1999 Tim Janik - - * gtk/gtkwindow.c: - we use window->need_resize from configure_event now, to indicate that - the gtkwindow should keep its allocation (e.g. because the user resized - the window through window manager handles). resize_count is now reliably - used to figure whether we got the allocation we requested from the - window manager. - configure events get queued as resizes now, the real stuff (size - computation and allocation) now only goes on in gtk_window_move_resize(). - GtkWindow's requisition now contains its *real* requisition (like all - other widgets), *not* taking usize into account. - geometry_info->last_{width|height} is now updated from set_hints() only - so it always contains the last hints we set for the window manager. - made some event handlers return TRUE instead of FALSE. - the overall code should be much more straight forward now, and the - significant code portions are accompanied by comments now. - (gtk_window_set_hints): - removed requisition argument and made it - fetch the requisition through gtk_widget_get_child_requisition. - we also don't move the gdkwindow here anymore, gtk_window_move_resize() - does that now. - (gtk_window_show): - ensure that the widget is realized before calling - gtk_container_check_resize() (and thus gtk_window_move_resize()), also - ensure that we got properly size requested and allocated before - realization. - (gtk_window_configure_event): - ignore plain window moves, or reallocate the widget tree through the - resize queue otherwise. - (gtk_window_move_resize): - mostly rewrote this function to figure window manager hints more - reliably, coalesce window moves and resizes to reduce configure events - and do actuall size allocations. - -Tue Aug 17 07:43:04 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_event): discard expose events for widgets - that have a resize pending, because a redraw is already queued for them. - - * gtk/gtkcontainer.c: removed ugly connect_to ::size_allocate signal - hack to clear resize_widgets. - - * gtk/gtkwidget.c (gtk_widget_size_allocate): call clear_resize_widgets - for resize containers prior to size allocation. (this is also a bit - ugly, but avoids side effects for stopped emissions and is thus more - reliable). - (gtk_widget_unparent): removed disconnect call for clear_resize_widgets. - - * gtk/gtktooltips.c (gtk_tooltips_paint_window): renamed this - function from gtk_tooltips_expose, as we connect to ::expose_event - *and* ::draw now. - -1999-08-18 Federico Mena Quintero - - * gtk/gtkselection.c (gtk_target_list_ref): Added missing sanity - checks. - (gtk_target_list_unref): Likewise. - - * gtk/gtkthemes.c (gtk_theme_engine_unref): Likewise. - -Tue Aug 17 15:47:07 1999 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar): - guard against division by zero. (Fixes bug #1339) - -Tue Aug 17 10:56:49 1999 Owen Taylor - - * gtk/gtkentry.c (gtk_move_{forward,backward}_word): - Prevent the trivial leak of information of allowing - word motion when the entry is not visible. - -Tue Aug 17 10:28:52 1999 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Propagate - modality to error dialog as well as confirmation dialogs. - (Bug #1803, reported by Rosanna Wing Sze Yuen) - -Wed Aug 11 01:04:57 1999 Owen Taylor - - * gtk/gtktreeitem.c (gtk_tree_item_draw_lines): Honor - tree->view_lines. - (gtk-guy-990611-3.patch: Guy Harris ) - - * gtk/Makefile.am (install-data-local): Solaris apparently - has various troubles with ln -f; use rm first instead. - (gtk-guy-990611-2.patch: Guy Harris ) - -1999-07-30 Raja R Harinath - - * gtk/Makefile.am (stamp-m): Don't `mv' from builddir to srcdir, - use `cp' followed by `rm' (the `rm' was already there). - -July 30, 1999 Elliot Lee - - * configure.in: Fix autoconf warnings about cross compilation by - trying to provide sane defaults for AC_TRY_RUN. - * gtk/Makefile.am: If we refer to gtkmarshal.[ch] in $(srcdir), - put them into $(srcdir) when generated. Also add a dependency of - gtksignal.h on gtkmarshal.h for -j builds. - * gtk/gtk(dnd,style,gamma).c: Minor warning fixes. - -Wed Jul 28 09:29:19 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_main_iteration_do): Added missing - GDK_THREADS_{LEAVE,ENTER} pair. - (From Paul Fisher ) - -Fri Jul 23 01:00:15 1999 Tim Janik - - * gtk/gtksocket.c (gtk_socket_size_request): asure that the requested - width and height are always >0 (owen). - -Fri Jul 23 00:00:47 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_size_allocate): backed out my recent - change that assured that a widget's allocated with and height are - always >1, since this breaks *buggy* panel code. unfortunately this - back-breaks the gimp's color selector. - - * gtk/gtkdrawingarea.c (gtk_drawing_area_size_allocate): asure that our - allocation is always >0 in width and height, before sending the - configure event; this is a *gross* hack to get the gimp back to work. - - * marked both cases with TODO-1.3 - -Wed Jul 21 15:47:39 1999 Owen Taylor - - * gtk/gtktext.c: Don't display wrap indicators when - text is not editable and word wrap is on. - -Wed Jul 21 08:21:40 1999 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): special case - option menus here as they are not derived from menu shell, assure that - the option menu has a menu we can add items to. - -Tue Jul 20 23:29:48 1999 Tim Janik - - * gtk/gtknotebook.c (gtk_notebook_page_allocate): convert allocation-> - width/height to (gint) before calculations and check against < 0 to - avoid guint wraparounds. - -Sun Jul 18 00:35:49 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_size_allocate): ensure that the allocated - width and height is never zero. sanity check both dimensions against - 32767 and issue a warning if the allocation is greater than that. - -Wed Jul 7 15:03:30 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_events_pending): Unlock around call - to g_main_pending() as well. - -Wed Jul 7 14:59:01 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_main_iteration): Unlock around - call to g_main_iteration() - since that will regrab - GTK+ lock to process events. - -Thu Jul 1 15:01:55 1999 Owen Taylor - - * gtk/gtkwindow.c - - Regularize with the rest of GTK+ by making widget->requisition - not reflect the set_usize() - - Always recompute geometry hints, then check if they - changed before sending them to the X server. The - previous checks for changes would fail in a number - of circumstances. - -Thu Jul 1 11:55:59 1999 Owen Taylor - - * gtk/gtkstyle.c: Include for strcmp(). - -Wed Jun 30 19:26:36 1999 Owen Taylor - - * gtk/gtkdnd.c: - - Code cleanups - - Instantaneously update on modifier key presses - - Allow cancellation of the drag with Escape. - -Tue Jun 29 17:04:09 1999 Owen Taylor - - * gtk/testgtk.c (create_handle_box): Set the policy - to auto_shrink - otherwise the appearance is rather - strange when flipping between horizontal and vertical. - -Mon Jun 28 09:29:52 1999 Tim Janik - - * gtk/gtkwindow.c: add ::default_width and ::default_height arguments. - (gtk_window_set_default_size): don't change a value if it's < 0. - queue a resize. - -Sun Jun 27 11:00:33 1999 Tim Janik - - * gtk/gtktext.c (gtk_text_insert): don't segfault on NULL inserts. - -Mon Jun 28 12:08:25 1999 Owen Taylor - - * gtk/gtkfilesel.c (cmpl_completion_fullname): Don't - add an extra "/" when concating "/" + filename. - (From Matt Grossman ) - -Mon Jun 28 10:57:12 1999 Owen Taylor - - * gtk/gtkctree.c (draw_cell_pixmap): Reset clip mask - for fg_gc if we set it for drawing pixmap. - -Tue Jun 15 12:45:12 1999 Owen Taylor - - Fixes from Peter Wainwright - - * gtk/gtkrc.c (gtk_rc_parse_engine): If rc_style->engine is - already set, call old engine's destroy function and - unref the old engine. - -Thu Jun 10 17:59:38 1999 Tim Janik - - * gtk/gtkdrawingarea.c (gtk_drawing_area_size): queue a resize. - -Wed Jun 9 15:13:16 1999 Tim Janik - - * gtk/gtkaccelgroup.h: mark certain functions as internal. - -Wed Jun 9 13:48:28 1999 Tim Janik - - * gtk/gtkpreview.c (gtk_preview_set_expand): queue a resize if the - expand behaviour changed. - - * gtk/gtklabel.c (gtk_label_set_pattern): - (gtk_label_set_justify): - (gtk_label_set_line_wrap): - don't bother invoking queue_clear, the reallocation does - that for us, always free_words so the upcoming resize will - relayout the label's contents. - -Wed Jun 9 12:50:48 1999 Tim Janik - - * applied argument implementation patches from Elena Devdariani - . - - * gtk/gtktoolbar.c: ::orientation, ::toolbar_style, ::space_size, - ::space_style, ::relief - * gtk/gtkruler.c: ::lower, ::upper, ::position, ::max_size - * gtk/gtkpreview.c: ::expand - * gtk/gtkpaned.c: ::handle_size, ::gutter_size - * gtk/gtknotebook.c: ::homogeneous - * gtk/gtklabel.c: ::wrap - * gtk/gtklist.c: ::selection_mode - * gtk/gtkhandlebox.c: ::handle_position, ::snap_edge - * gtk/gtkcurve.c: ::curve_type, ::min_x, ::max_x, ::min_y, ::max_y - * gtk/gtkcolorsel.c: ::update_policy, ::use_opacity - * gtk/gtkclist.c: ::sort_type - * gtk/gtkcheckmenuitem.c: ::active, ::show_toggle - * gtk/gtkaspectframe.c: ::xalign, ::yalign, ::ratio, ::obey_child - -Tue Jun 1 23:38:38 1999 Owen Taylor - - * gtk/gtkstyle.c: Removed ill-thought-out part of last - comment. - -Tue Jun 1 23:30:09 1999 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_attach): Get the reference - counting right when we have to attach a new style - for a different visual. (Chi-Deok Hwang ) - - * gtk/gtkstyle.c: Documented the refcounting - peculularities of gtk_style_attach. - -1999-06-01 Tim Janik - - * gtk/gtkwindow.c (gtk_window_new): added return if fail for invalid - window types. - - * examples/packer/pack.c (main): use GTK_WINDOW_TOPLEVEL instead - of GTK_TOPLEVEL for creating the window. - -1999-06-01 Tim Janik - - * gtk/gtkmain.c (gtk_init_check): don't segfault when --gtk-module is - the last argument (reported by Per Winkvist). - -Tue May 25 13:13:12 1999 Owen Taylor - - Fixes for invisible XOR lines (Frank Loemker - ) - - * gtk/gtkclist.c (gtk_clist_realize): Always use - a non-zero pixel for GDK_XOR. - - * gtk/gtkvpaned.c gtk/gtkhpaned.c: - Use GDK_INVERT instead of GDK_XOR. - -Wed May 12 21:56:40 1999 Lars Hamann - - * gtk/gtkclist.c (adjust_adjustments): signal emit value_changed - signals if h/voffsets differ from adjustment values. - Reportet by Jerome Bolliet - -Mon May 10 04:20:41 1999 Tim Janik - - * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): propagate - ::selection-done emissions up to the topmost menu shell. - -Fri May 7 10:15:14 1999 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_set_scrollable): Unset - the user data on the window before destroying it. - - * gtk/gtknotebook.c (gtk_notebook_unrealize): Add an - unrealize handler to take care of destroying - notebook->panel properly. - (Bug #1198 - Morten Welinder ) - - * gtk/gtktext.c (expand_scratch_buffer): Fix reversal - of g_new and g_realloc to stop memory leak. (Actually, - we could just use g_realloc(), but I'm not 100% sure - that is portable). - (Bug #1196 - Morten Welinder ) - -Wed Apr 21 00:42:08 1999 Owen Taylor - - * gtk/gtkplug.h: Removed stray GtkPlugButton declaration. - - * gdk/gdkfont.c (gdk_text_measure): Fix the return value - for fontsets. - - * gtk/gtkbutton.c (gtkbutton_expose): Fix warning - with bin/button confusion. - -Thu May 6 04:53:26 1999 Tim Janik - - * gtk/testgtk.c: in the ItemFactory test, link radio items together, - and show how preselection of radio items is done. - -Sun May 2 13:31:14 1999 Tim Janik - - * gtk/gtktreeitem.c (gtk_tree_item_set_subtree): - * gtk/gtktree.c (gtk_tree_add) (gtk_tree_insert): - * gtk/gtktoolbar.c (gtk_toolbar_insert_element): - * gtk/gtkpaned.c (gtk_paned_pack2) (gtk_paned_pack1): - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add): - * gtk/gtktable.c (gtk_table_attach): - * gtk/gtklist.c (gtk_list_insert_items): - * gtk/gtkmenushell.c (gtk_menu_shell_insert): - * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): - * gtk/gtkpacker.c (gtk_packer_add_defaults) (gtk_packer_add): - * gtk/gtkbin.c (gtk_bin_add): - * gtk/gtkbox.c (gtk_box_pack_start) (gtk_box_pack_end): - * gtk/gtkfixed.c (gtk_fixed_put): - * gtk/gtklayout.c (gtk_layout_put): - general fixups to container_add logic. always realize child if - child->parent is realized, only map the child and queue a resize - if child and child->parent are both visible. - -Fri Apr 30 09:02:28 1999 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_real_unrealize): use gtk_container_forall - instead of gtk_container_foreach to walk and unrealize children, so - composite children get also unrealized. - (gtk_widget_real_show): don't call gtk_widget_map() if we don't need to. - (gtk_widget_map): assert that the widget is visible (basic constrain). - (gtk_widget_real_map): assert that the widget is realized (basic - constrain). - -Fri Apr 29 00:53:20 1999 Tim Janik - - * gtk/gtkbindings.c (gtk_pattern_spec_init): plugged a memory leak. - -Tue May 4 09:32:08 1999 Owen Taylor - - * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc - file for iso-8859-2 locales. - - * configure.in (ALL_LINGUAS): ALL_LINGUAS update. - -Tue Apr 27 16:38:32 1999 Owen Taylor - - * gtk/Makefile.am: Fix typo of static_sources for static_SOURCES. - (Pointed out by andy@rz.uni-karlsruhe.de and others). - Remove some suspicious and useless lines. - -Tue May 4 08:44:08 1999 Owen Taylor - - * gtk/gtkclist.c (gtk_clist_draw, draw_rows): Use - width,height = 0, 0 to mean - here to edge of window, - instead of -1, -1, since the former is all we support. - -Tue May 4 08:34:43 1999 Owen Taylor - - * gtk/gtkmain.c (gtk_main): Correctly free list nodes - when removing from quit_functions list. - -Tue Apr 27 14:17:16 1999 Tim Janik - - * gtk/gtkpacker.c (gtk_packer_size_request): remove unused variable. - -Tue Apr 27 18:23:35 1999 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): - When redrawing characters on non-visible entry, use appropriate - '*' character. (Bug #1130 - Jean-Marc Jacquet ) - -Tue Apr 27 01:31:40 1999 Lars Hamann - - * gtk/gtkclist.c (drag_dest_cell): compute destination cell - from drag coordinates. - (gtk_clist_drag_data_received) (gtk_clist_drag_motion): - use drag_dest_cell. - - * gtk/gtktree (drag_dest_cell) - (gtk_ctree_drag_data_received) (gtk_ctree_drag_motion): likewise. - (Bug #1129) - -Wed Apr 21 21:26:11 1999 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_init): properly initialize - translate_* fields. - (gtk_item_factory_finalize): invoke translate_notify independant from - translate_data. - (gtk_item_factory_set_translate_func): likewise. - (gtk_item_factory_destroy): only remove ifactory pointer from those - widgets that belong to us (stupid me). - -Mon Apr 19 12:05:31 1999 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_style_init): Fixed leak of - rc_style list when lookup succeeeds. - -Thu Apr 15 01:11:24 1999 Lars Hamann - - * gtk/gtkctree.c (resync_selection): - * gtk/gtkclist.c (resync_selection): fixed undo_selection bug. - * gtk/gtkclist.c (gtk_clist_button_release): fixed resync_selection - bug. - -Fri Apr 9 19:22:19 1999 Owen Taylor - - * gtk/gtkcolorsel.c gtk/gtkdnd.c gtk/gtkmenuitem.c: - Add some missing GDK_THREADS_ENTER()/LEAVE around - timeouts. (Patches from Sebastian Wilhelmi ) - -Thu Apr 8 20:10:33 1999 Tim Janik - - * gtk/gtkentry.c (gtk_entry_key_press): use gtk_widget_activate() - rather than emit_by_name. - - * gtk/gtkeditable.c (gtk_editable_insert_text): keep a reference - on the widget across multiple signal emissions. - (gtk_editable_delete_text): same here. - (gtk_editable_class_init): set widget_class->activate_signal after - editable_signals[ACTIVATE] has been created. - -Wed Apr 7 22:59:47 1999 Owen Taylor - - * gtk/gtkpaned.c (gtk_paned_set_position): Don't clamp - position here prematurely -- we might not have the - right ->min_position and ->max_position yet. - -Tue Apr 6 16:38:51 1999 Owen Taylor - - * gtk/gtkselection.c gdk/gdkselection.c: (gtk_selection_request): - Add error traps so if the other end of the connection - dies, we survive. - - * gtk/gtkselection.c (gtk_selection_notify): Clean - up properly when selection property retrieval fails. - - * gtk/gtkselection.c (gtk_selection_request): Correctly - reject SelectionRequest notifies where the handler - returns no data. - -Tue Apr 6 12:24:21 1999 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_dest_leave): Only unhighlight - when we've previously highlighted. - - * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Don't - emit two "drag_leave" signals for Motif drops. - - * gtk/gtkdnd.c (gtk_drag_source_handle_event): Send - back the correct status messages when dropping from - Motif onto a proxy window that is rejecting the - drop. - -Sat Mar 27 23:32:13 1999 Tim Janik - - * gtk/gtkarg.[hc]: added functions from GLE, gtk_arg_reset() to free - the value and reset type to GTK_TYPE_INVALID, and gtk_arg_values_equal() - to compare two argument values. added gtk_arg_to_valueloc() to set a - variable from an arg through its location (pointer). - - * gtk/gtkobject.[hc]: implemented gtk_object_get() in terms of - gtk_object_arg_get() and gtk_arg_to_valueloc(), floats are collected - as gfloat*, uchars are collected as guchar*, ints are collected as - gint*, etc... - -Mon Mar 29 17:45:47 1999 Owen Taylor - - * gtk/gtkaccelgroup.c gtk/gtkgtkbindings.c: - Include instead of . - - * gtk/gtkstyle.c: Fix double include of gtkthemes.h - (actually, a lot more duplicate includes occur if - you trace through the sequence of #include's) - gtk-jbb-990320-0: John Bley, jbb6@acpub.duke.edu - -Mon Mar 29 17:02:58 1999 Owen Taylor - - Patches from Akira Higuchi - gtk-a-higuti-990322-[0-3] - - * configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS - that was causing -DX_LOCALE not to work. - - * gtk/gtkrc.c (gtk_rc_init): - X_LOCALE will never have LC_MESSAGES defined - -Thu Mar 25 12:38:31 1999 Tim Janik - - * gtk/gtkrc.c (gtk_rc_append_default_module_path): get $HOME from - g_get_home_dir() (gtk-pmc-990123-0.patch.gz). - - * gtk/gtkwindow.c (gtk_window_key_press_event): feature keypad up/down/ - left/right as well (gtk-michael-980726-0.patch.gz). - - * gtk/gtklabel.[hc]: bunch of miscellaneous cleanups, such as s/0/NULL/ - for pointer values, use gchar instead of char. fixed uline allocation - leaks, changed the allocation pattern so we use G_ALLOC_AND_FREE mem - chunks instead of G_ALLOC_ONLY. - (gtk_label_size_request): always alter requisition as passed and leave - widget->requisition alone. - (gtk_label_set_text): allow NULL strings. - (gtk_label_new): likewise. - -Wed Mar 24 09:24:03 1999 Tim Janik - - * gtk/gtkdrawingarea.[hc]: type/macro fixups. - -Mon Mar 22 05:51:34 1999 Tim Janik - - * gtk/gtkbin.c (gtk_bin_draw): only redraw children that are visible - *and* mapped (i.e. drawable). - (gtk_bin_expose): only send exposes to drawable children. - - * gtk/gtkbox.c (gtk_box_draw): only redraw children that are drawable. - (gtk_box_expose): only send exposes to drawable children. - - * gtk/gtkhscale.c (gtk_hscale_draw): - * gtk/gtkvscale.c (gtk_vscale_draw): - hm, this is an ugly one. we first compute the size of our trough area - here (window relative) and then check intersection with the draw_area - which is parent relative because we're a NO_WINDOW widget, so we need - to offset the trough area by allocation.x and allocation.y before the - check. (this must not be done for the background area though, since - that's already computed parent relative). - -Mon Mar 22 00:41:39 1999 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_unrealize): unmap clist if neccessary, - unrealize title buttons. - -Fri Mar 19 00:00:22 1999 Lars Hamann - - * gtk/gtkclist.c (gtk_clist_column_title_passive) - (gtk_clist_column_title_active): - only connect/disconnect to GtkWidgetClass::event to block mouse events. - - * gtk/gtkclist.c (vertical_timeout) (horizontal_timeout): - zero initialize event, removed superfluous gdk_window_get_pointer call - - * gtk/gtklist.c (gtk_list_vertical_timeout) - (gtk_list_horizontal_timeout): removed superfluous - gdk_window_get_pointer call - -Wed Mar 17 09:00:00 1999 Tim Janik - - * plugging problems reported by "Bruce Mitchener, Jr." - due to a purify session. - - * gtk/gtkstyle.c: - (gtk_style_ref): - (gtk_style_unref): assert ref_count to be > 0. - - * gtk/gtkclist.c (gtk_clist_set_cell_style): { 0 } initilaize - the requisition. - (gtk_clist_set_shift): likewise. - - * gtk/gtklayout.c: introduce gtk_layout_finalize() to unref the - adjustments. - - * gtk/gtklist.c (gtk_list_horizontal_timeout): zero initialize the - event before sending it and set send_event to TRUE (which needs to - be done for *all* synthesized events). - (gtk_list_vertical_timeout): likewise. - - * gtk/gtktipsquery.c (gtk_tips_query_destroy): plug small memory - leaks. - - * gtk/gtkdrawingarea.c (gtk_drawing_area_send_configure): set send_event - to TRUE when synthesizing events. - -[ *** end of merges from 1.2 *** ] - -1999-11-21 Tor Lillqvist - - * gdk/gdkconfig.h: Remove, as this is a file generated by configure - (or copied from gdkconfig.h.win32 on Win32, sigh). - - * gdk/gdkprivate.h: Mark gdk_parent_root for export from DLL. - - * gdk/gdk.c (gdk_keyval_convert_case): Fix typo. - - * gdk/gdkgc.c (gdk_gc_alloc): Remove duplicated line. - - * gdk/gdkconfig.h.win32: New file. - - * gdk/win32/makefile.cygwin: Build just a static archive here. - - * gdk/makefile.cygwin: New file. Get the win32-specific stuff - for the DLL from the static archive built above. - - * gdk/gdk.def: Moved here from the win32 subdirectory. - - * gdk/win32/*: Adapt for the changed private struct organisation. - - * gtk/makefile.{cygwin,msc}: Get gdk library from ../gdk now. - -Sun Nov 21 16:44:35 1999 Stefan Jeske - - * gtk/gtkspinbutton.c (gtk_spin_button_button_press): Added support - for wheel mice (buttons 4 and 5). - -1999-11-18 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Also for truecolor - drawables use just the pixel field in the foreground and - background GdkColor of the GdkGC. - - gdk_gc_set_{fore,back}ground() are called in the GIMP with - GdkColors containing uninitialized (red,green,blue) fields, and - just the pixel field filled in, and furthermore in the - visual-dependent format as returned by gdk_rgb_xpixel_from_rgb(). - It thus turns out that we really don't need to have the full - GdkColor for fg and bg in GdkGCWin32Data after all. Will change - it later to have just the pixel values. - -Mon Nov 15 17:17:51 GMT 1999 Tony Gale - - * docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/ - -Sat Nov 13 22:30:29 GMT 1999 Tony Gale - - * docs/gtkfaq.sgml: threads example from Erik Mouw. - New question on GtkLabel background colors. - - * docs/gtk_tut.sgml: - - Correct the example code callback - function definitions. - - Update the gtkdial example code, from Frans van Schaik. - - Update setselection.c to current API. - - * examples/Makefile examples/*/*.c: Update to code - listed in tutorial. - -1999-11-10 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c: Fix a couple of bugs. The Unicode - subrange table (from the "Developing International Software for - WIndows 95 and Windows NT" book) was missing the Hangul syllable - block... Get the loaded font's charset correctly. - - (Note that this, and the other *-win32.c files, still really are - the old ones, the win32 subdirectory is not ready for compilation - yet after the reorg.) - -Wed Nov 10 17:26:49 GMT 1999 Tony Gale - - * gtk/gtkclist.c: Fix off-by-one bug in parameter - check. - -Wed Nov 10 12:12:03 1999 Owen Taylor - - * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState() - on results of XQueryDeviceState(). - -Mon Nov 8 16:40:43 1999 Owen Taylor - - * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since - we need to accesss only ->children. We need an accessor - for the children. - - * gtk/gtkhandlebox.c gtk/testgtk.c: Substitute G - DK_ROOT_PARENT() => NULL, in call to gtk_window_get_pointer() - to get rid of gdkx.h include. - - * gtk/gtkctree.c: Get rid of #include - and random references to 'None'. - - * gtk/gtkclist.c gtk/gtkeditable.c gtk/gtkpreview.c - Get rid of unused #include - - * gtk/gtkrc.c gtk/gtkmain.c: Get rid of #include - gdkx.h is _X_ specific stuff. GDK_WINDOWING comes from - gdkconfig.h. - -1999-11-08 Tor Lillqvist - - * gdk/win32/gdkdraw.c - * gdk/win32/gdkfont.c - * gdk/win32/gdkgc.c: Various minor cleanups and bugfixes - following yesterday's changes. (Unrelated to Owen's reorg.) - -Mon Nov 8 16:18:25 1999 Owen Taylor - - * gdk/x11/gdkinput-gxi.c: Add missing include, - fix GdkWindowPrivate => GdkDrawablePrivate. - - * gdk/x11/gdkinputprivate.h: include . - - * gdk/x11/Makefile.am (xinput_sources): Add missing - backslash to fix building with --with-xinput=none - -Mon Nov 8 14:47:04 1999 Owen Taylor - - Move all X specific code into the x11/ directory. - Aside from shuffling things around, did the following: - - * gdk/gdkprivate.h gdk/gdk.h gdk/x11/gdkmain-x11.h: Add - gdk_arg_context_* - a simple argument parsing system - in the style of popt. - - * gdk/gdkdrawable.[ch] gdk/gdkprivate.h gdk/gdkwindow.[ch] - gdk/x11/gdkprivate-x11.h: - Remove X specific stuff from GdkDrawable and GdkWindowPrivate - - add ->klass and ->klass_data fields. The klass_data - field points to an auxilliary structure that is - windowing system dependent. - - * gdk/gdkfont.c: Make most of the measurement functions - simply wrappers around gdk_text_extents(). - - * gdk/gdkfont.c gdk/gdkprivate.h gdk/x11/gdkfont-x11.c: Add a - _gdk_font_strlen() function that hides the weird - behavior in gtk+-1.[02] where a string is interpreted - differently for 8-bit and 16-bit fonts. - - * gdk/gdkevents.c: Add a new function gdk_event_button_generate() - to store common code for synthesizing double/triple - press events. - - * gdk/gdkgc.[ch]: Virtualize in the same way as gdkdrawable.h. - Make all the function that modify an existing GC - simply wrappers around gdk_gc_set_values(). - - * gdk/gdkcc.[ch]: Moved into x11/ directory in preparation - for throwing out later. - - * gdk/gdkfont.c gdk/gdkimage.c gdk/gdkcolor.c: Change GdkFontPrivate, - GdkImagePrivate and GdkColormapPrivate to have a - windowing system dependent part (GdkFontPrivateX etc.) - that "derives" from the system-independent part. - - * configure.in gdk/x11/Makefile.in gdk/x11/gdkinput*.c: - Got rid of the included-source-files for XInput in - favor of automake conditionals. (Which didn't exist - when XInput support was originally added.) - - * gdk/gdkrgb.c: Remove the visual id from the debugging - statements since that is X11 specific; print out - type/depth info instead. - - -Wed Nov 3 18:14:49 1999 Owen Taylor - - * gdk/x11/gdkfont-x11.c (gdk_font_load): Ref fonts when - loading duplicates of hashed fonts. - - * gdk/gdk.c (gdk_keysym_convert_case): rename - gdk_XConvertCase to gdk_keysym_convert_case, allow - results to be NULL in the GTK+ style. - - * gdk/gdkcompat.h: Started compatibility header - for renames. - -1999-11-07 Tor Lillqvist - - * gdk/win32/gdkprivate.h: New font private structures, related to - fontsets. - - * gdk/win32/gdkfont.c: New functions gdk_font_list_new() and - gdk_font_list_free(). On X11, will just be wrappers to - XListFonts() and XFreeFontNames(). On Win32, the code previously - in gtkfontsel.c is now here. - - New function gdk_font_xlfd_create(). On X11 will get the FONT - property of the font (for GDK_FONT_FONTs), or call - XBaseFontNameListOfFontSet (for GDK_FONT_FONTSETs), on Win32 - builds a XLFD style name from the font information in the LOGFONT - struct(s). - - New function gdk_font_xlfd_free(), which correspondingly frees the - string returned by gdk_font_xlfd_create(). - - Implement fontsets on Win32. Add a function that iterates over a - wide char string and calls a callback function for each substring - of wide chars from the same Unicode subrange (and thus probably - available in the same real font). - - Improve the XLFD emulation a bit. - - * gdk/win32/gdkim.c (gdk_nmbstowchar_ts): Small bugfix. - - * gdk/win32/gdkevents.c: Workaround for suspected bug on Win2k - Beta3, WM_IME_CHAR messages don't seem to contain the composed - multi-byte char as with the Active IMM on Win9x. Oh well, handle - WM_IME_COMPOSITION with GCS_RESULTSTR instead, use - ImmGetCompositionStringW() to get the composed Unicode chars. - - * gdk/win32/gdkgc.c - * gdk/win32/gdkdraw.c: Changes needed because of the font private - struct changes. - - * gdk/win32/gdk.def: Add the new functions. - -1999-11-04 Tor Lillqvist - - * config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to - get the Platform SDK to get . - - * gdk/win32/gdkevents.c: More event handling fixes and - simplification. Never generate motion events with is_hint true. We - used to do that on bogus grounds earlier. Windows sends - WM_MOUSEMOVE messages on button events even if the mouse hasn't - moved, ignore these. - - * gdk/win32/gdkfont.c: Load all fonts as (pretended) fontsets. - - * gdk/win32/gdkglobals.c - * gdk/win32/gdkprivate.h: Define a typedef for the pointer to - the TrackMouseEvent function, and use it. - - * gdk/win32/gdkwindow.c: Terminate widechar string with a zero - char before calling WideCharToMultiByte in order to get a string - for the window title. - - * gdk/win32/gdkdnd.c: Some more random hacking, ifdeffed out. - - * gdk/win32/gdk.def: Remove obsolete functions. - - * gdk/win32/makefile.{cygwin,msc}: Remove gdkcompat.{o,obj}. Add - /nodefaultlib and /defaultlib switches. - - * gtk/gtkrc.c: s/gwin_getlocale/g_win32_getlocale/. - -1999-10-31 Tor Lillqvist - - * gdk/gdkkeysyms.h: Add new keysyms from X11R6.4 (including - EuroSign). - - * gdk/gdktypes.h: Add note about wchar_t not necessarily being the - same type as GdkWChar, especially on Win32. - - * gdk/win32/*.c: Change gdk_root_parent to be a pointer. - - * gdk/win32/*.c: Assume all strings are UTF-8. Convert to Unicode - before passing to Windows GDI for drawing etc. Convert to the - system default codepage before passing to Windows as window - titles. - - * gdk/win32/gdkprivate.h: Add more fields to GdkWindowPrivate to - support changing input locale on the fly. - - * gdk/win32/gdkevent.c: Support input language (keyboard locale) - on-the-fly changes. Convert incoming characters from the current - codepage to Unicode (and then to a UTF-8 multi-byte string) based - on the current input language. Use keysym<->Unicode mapping tables - and functions borrowed from xterm sources. - - Support IMEs (Input Method Editors) for CJK languages. On non-CJK - editions of Win9x, use the ActiveX-based Active IMM (Input Method - Manager) if available. IMEs and the Active IMM are available under - the disguise of Chinese, Korean and Japanese support for IE and - Outlook Express from "Windows Update" for Win98. On Win2k, the CJK - support is present in all editions (as long as you install it). - - Call DispatchMessage from gdk_events_queue() (and thus - gdk_WindowProc()), instead of duplicating the code in - gdk_WindowProc(). - - Reworked the grab handling and propagation code, factored out - duplicated code snippets into separate functions. Other cleanups, - too. - - * gdk/win32/surrogate-dimm.h: Provide just the bits we need from - the header describing the Active IMM. - - * gdk/win32/gdkfont.c: Pretend to support fontsets, but so far - just do the same as for "single" fonts. - - * gdk/win32/gdk.c: Call CoInitialize() (COM initialisation) from - gdk_init_check, and CoUninitialize() from gdk_exit_func. Handle - the new keysyms from gdkkeysyms.h. - - * gtk/gtkfontsel.c (Win32): Load the font for the preview as a - fontset, so that gtkentry uses wide characters. - - * gtk/gtkrc.c (Win32): Get the locale with gwin_getlocale(). Call - GTk+'s system directory "gtk+", not "gtk". - -Sat Oct 30 13:17:18 BST 1999 Tony Gale - - * docs/gtkfaq.sgml: FAQ update - -1999-10-21 Tor Lillqvist - - * gdk/win32/gdkprivate.h: Add more font private data. - - * gdk/win32/gdkfont.c - * gdk/win32/gdkdraw.c: Revamped handling of multi-byte charset - fonts and strings. Now works much better. You still have to - have a correct font selected, though. No fontset emulation yet. - -1999-10-19 Tor Lillqvist - - * gtk/maketypes.awk: Use G_OS_WIN32. - - * gtk/gtk.def: Add some missing entry points. Also some non-public - ones, but PyGTK porter claims to need them. - - * gtk/makefile.{cygwin,msc}: Drop some unneeded headers from the - built-in type generation. - -1999-10-14 Tor Lillqvist - - * gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for - GDK_FONT_FONT fonts (which is all we have for now, we don't - emulate fontsets). The X11 version uses plain XDrawString in that - case, too. The string passed to gdk_draw_text_wc seems to be in - fact (at least, when used by gtkentry and gtktext) either in a - single-byte charset, or a DBCS. Not Unicode. - - This fixes the problem in gtkfontsel, where even if you had - selected a font with a non-Latin1 charset (windows-greek, for - instance), the preview still used Latin-1 glyphs. - - * gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't - use GetTextExtentPoint32W, use GetTextExtentPoint32A. - (gdk_font_load): Recognize the demibold etc weights, even if we - don't have the corresponding constants in the headers. - (gdk_font_hash_insert): Use same hash mechanism as in the X11 - version. Should save font resources a bit, when we don't have - multiple HFONTs for the same font. - - * gdk/win32/gdkprivate.h: Add the names field as in the X11 - version. - -1999-10-11 ERDI Gergo - - * gdk/gdk.c (gdk_beep): Modified the XBell call to use the default - X values - -1999-10-09 ERDI Gergo - - * gtk/gtktoolbar.h, gtk/gtktoolbar.c: Added horizontal icon/text - layout support (as mentioned on - http://www.jcinteractive.com/gnome-ui/software/widgets/) - -Wed Oct 6 12:46:17 PDT 1999 Manish Singh - - * gtk/fnmatch.c - * gtk/gtkfilesel.c: s/G_HAVE_CYGWIN/G_WITH_CYGWIN/ - -1999-10-05 Jesus Bravo Alvarez - - * configure.in (ALL_LINGUAS): Added Galician (gl) - -1999-10-05 Tor Lillqvist - - * gdk/win32/*.[ch]: Corresponding changes as in X11 backend. - - * gdk/win32/gdkcompat.c: New file, actually provide an - implementation for the deprecated functions. (Just temporarily.) - - * gtk/gtkfilesel.c: Fix an #ifdef syntax botch. - - * gtk/makefile.{cygwin,msc}: Update gdk_headers. - - * gdk/win32/gdk.def gtk/gtk.def: Updates. - -1999-10-05 Kjartan Maraas - - * configure.in: Added "uk" to ALL_LINGUAS. - -Mon Oct 4 11:57:11 PDT 1999 Manish Singh - - * configure.in: correct checking for BeOS check - - * gdk/gdktypes.h - * gtk/fnmatch.c - * gtk/gtkfilesel.c - * gtk/gtkitemfactory.c - * gtk/gtkmain.[ch] - * gtk/gtkrc.c: use G_OS_WIN32 and G_HAVE_CYGWIN #defines - -Mon Oct 4 16:16:53 1999 Pablo Saratxaga - - * gtk/gtkrc.{bg,iso88591[345]}: add gtkrc files for some new charset - encodings: iso-8859-13 (for Lithuanian), iso-8859-14 (used by celtic - languages), iso-8859-15 (used in Estonia) and microsoft-cp1251 (used - by Bulgarian). - -Sun Oct 3 18:13:44 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_reset_shapes_recurse): - Fix a reference to window_private->destroyed. - - * gtk/gtkplug.c (gtk_plug_realize): Fix up a direct - (ugly) setting of an internal GdkWindow member to use - a _slightly_ cleaner macro. - - * gdk/gdkprivate.h: Split GdkWindowPrivate into - GdkDrawablePrivate and GdkWindowPrivate. - Add extra macros for accessing GDK_DRAWABLE_ components. - - * *.[ch]: Massive adjustments for the above, use the - new macros in a lot of places. - -Sun Oct 3 15:16:24 1999 Owen Taylor - - * gdk/gdktypes.h: Make GdkDrawable the base type, - not GdkWindow. - -Sun Oct 3 15:08:44 1999 Owen Taylor - - * gdk/gdkdraw.c (gdk_drawable_get_data): Added new function. - -Sun Oct 3 14:26:15 1999 Owen Taylor - - * gdk/gxid* gdk/x11/gxid*: Move files into x11 subdirectory. - -Sun Oct 3 14:16:23 1999 Owen Taylor - - * gdk/gdkdrawable.h: Include gdk/gdkdrawable.h with - gdk/ prefix. (Pointed out by chak@is.tsukuba.ac.jp) - - * configure.in gdk/Makefile.am x11/: create x-specific subdirectory. - - * docs/gtk-config.1: Now autogenerated. - * docs/Changes-1.4.txt: started - -1999-10-03 Tor Lillqvist - - * gdk/gdkimage.h gdk/gdkpixmap.h: Change GDK_WINDOWING_WIN32 usage - to #ifdef also here. - - * gdk/win32/*.h gdk/win32/*.c: Make corresponding changes as those - Owen did to the X11 backend. - - * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Fix it again, don't use - ScrollWindowEx when blitting inside a window, it can't be correct - in the general case. - - * gdk/win32/gdkevents.c: Don't handle WM_SIZING, handling - WM_GETMINMAXINFO is easier. - - * gdk/win32/gdkimage.c (gdk_image_new): Create new image with - depth equal to the bitspixel value, not the visual's depth. - - * gdk/win32/gdkvisual.c (gdk_visual_init): Set the visual's depth - to 24 even if the bitspixel value is 32. - - * gdk/gdkrgb.c (gdk_rgb_select_conv): After the above change, no - need to check for depth==32 when bpp==32, depth will always be 24. - -Fri Oct 1 18:03:36 1999 Owen Taylor - - * docs/Changes-1.4.txt: Started - - * gtk/Makefile.am (gdk_headers): Include all the new headers. - - * gdk/*.h gdk/*.c: Split gdk.h into lots of itty-bitty little pieces. - - * gdk/gdkprivate.h gdk/gdkcc.c: Moved GdkColorContext private - into C file. - - * gdkinput.h gdkinputprivate.h - renamed the internal gdkinput - header to gdkinputprivate.h. - - * gdk/gdk.h gdk/gdk.c: Removed gdk_time* functions which have been - unused since before 1.2. - -1999-09-30 Tor Lillqvist - - * gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): On Win32, - expand possible hex escapes in the font family (put there by - logfont_to_xlfd if the font name isn't a legal XLFD font family, - mainly if it contains slashes). (gtk_font_selection_create_xlfd): - On Win32, add hex escapes here, too. - -Wed Sep 29 19:55:35 1999 Owen Taylor - - * */*.[ch]: Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11 - to #ifdef GDK_WINDOWING_X11. - -[ Merges from gtk-1-2 ] - -Wed Sep 8 07:13:29 1999 Tim Janik - - * configure.in: fixed "GNU Make" check to pass with new make version - 3.77.95. - -Fri Sep 3 16:04:41 1999 Tim Janik - - * gtk-config.in (--version): don't echo @GTK_VERSION@, but - @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@, so the - AM_PATH_GTK() macros don't get confused by the -pre1. - -Thu Sep 2 19:02:37 1999 Owen Taylor - - * configure.in (REBUILD): Change check for perl5 - to check explicitely for v >= 5.002. (5.001 - does not work with our scripts.) - -Wed Aug 25 15:45:46 1999 Tim Janik - - * configure.in: evaluate $PERL for the perl version check. added - --disable-rebuilds to give the user an option to completely disable - any source autogeneration rules. - -Mon Aug 23 23:16:14 1999 Tim Janik - - * configure.in: evaluate $ac_make when checking for GNU Make. - -Mon Aug 23 19:11:17 1999 Tim Janik - - * docs/Makefile.am: added generation.txt. - - * Makefile.am: require automake 1.4, build README from README.in and - INSTALL from INSTALL.in in dist-hook. - - * README.in: - * INSTALL.in: new files to autogenerate README and INSTALL from. - - * configure.in: figure whether we have GNU Make - - * docs/generation.txt: minor additions/corrections. - -Wed Aug 11 13:38:26 BST 1999 Tony Gale - - * docs/gtkfaq.sgml: FAQ Update - -July 30, 1999 Elliot Lee - - * configure.in: Fix autoconf warnings about cross compilation by - trying to provide sane defaults for AC_TRY_RUN. - -Fri Jul 16 22:20:21 PDT 1999 Manish Singh - - * ltconfig - * ltmain.sh: upgrade to libtool 1.3.3 - -Thu Jul 8 11:30:18 1999 Owen Taylor - - * INSTALL: Indicate that the --with-glib= configure - time flag is unsupported. - -Mon Jul 5 20:36:03 1999 Owen Taylor - - * docs/generation.txt: Added a file that gives - documenation about the autogeneration process for - various autogenerated files. - -Tue Jun 29 15:59:25 1999 Owen Taylor - - * configure.in (LIBS): Look for libgmodule in the - right location. - -Thu Jun 17 13:57:31 1999 Owen Taylor - - * docs/gtk_tut.sgml: Removed references to - code examples in my directory on gtk.org as - they should all be in the tutorial now. - - * docs/gtk_tut.sgml: Added sources for dial-test - and scribble-xinput programs that were previously - missing. - -Fri Jun 4 00:08:59 1999 Owen Taylor - - * TODO: Added entry about menu keyboard navigation, removed - some finished items. - -Mon May 31 00:11:24 1999 Owen Taylor - - * acinclude.m4: Standardize on func_dgettext - not func_gettext, so that the checks for dgettext - actually are paid attention to. - -Wed May 5 10:47:54 1999 Owen Taylor - - * configure.in (LIBS): Add $INTLLIBS into $LIBS - directly, rather than repeating the checks for - gettext. - - * INSTALL: Added information about gettext and - NLS support. - - * acinclude.m4 (LIBM): Check for dgettext, not - just gettext. This should hopefully fix things wrt - systems with old versions of GNU gettext installed. - -Tue Jun 29 15:59:25 1999 Owen Taylor - - * configure.in (LIBS): Look for libgmodule in the - right location. - -Thu Apr 1 16:58:10 PST 1999 Manish Singh - - * autogen.sh: add --enable-maintainer-mode - - * configure.in: set ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" - -Wed Mar 24 23:03:49 CST 1999 Shawn T. Amundson - - * docs/gtk-config.1.in: - docs/Makefile.am: - configure.in: gtk-config is now generated. - - * docs/gtk-config.1: Removed, now generated. - -Thu Sep 23 17:59:59 1999 Tim Janik - - * gdk/gdkevents.c (gdk_event_translate): grr, even if Gdk doesn't - handle CreateNotify itself, still put out a debuging message for - --gdk-debug=events. made the ReparentNotify debugging message more - verbose. - wrap xcoords translation for ConfigureEvents into an error trap, - a destroy event may already be pending, and in that case, the - actuall coordinate values are not at all critical. - -Sat Sep 18 22:24:15 1999 Owen Taylor - - * gdk/gdkcc.c: Stop leaking the color_hash all over - the place. Simplify and improve the logic. - -Fri Sep 17 09:57:15 1999 Tim Janik - - * gdk/gdk.h, gdk/gdkcolor.c: make return types (gint or gboolean) - for prototypes and function implementations consistent (reported - by Tomas Ogren). - -Tue Sep 14 18:23:01 1999 Tim Janik - - * gdk/gdkevents.c (gdk_event_translate): tell if expose events have - send_event set in debugging output. - (gdk_compress_exposures): default initialize the event so we don't - operate on bogus values (namely send_event). - -Thu Sep 2 16:33:59 1999 Owen Taylor - - * gdk/gdkwindow.c: When we receive an unexpected - destroy notify on one of our windows, don't just - warn about it, also mark our windows as destroyed. - -Sun Sep 5 08:10:53 1999 Owen Taylor - - * gdk/gdkfont.c (gdk_font_hash_insert): Add - name => font and name => fontset hashes. The - name => fontset hash is a _big_ win since we - weren't previously caching fontsets at all and loading - fontsets is expensive. The name => font hash - is less of a win, but it does save us from doing - repeated XQueryFont calls on the same font. - - * gdk/gdkprivate.h (struct _GdkFontPrivate): Add a names - list so we can remove font/fontset from hash. - -Thu Sep 2 19:02:37 1999 Owen Taylor - - * gdk/gdkproperty.c (gdk_atom_intern): Remove useless - and slightly confusing test. [ XInternAtom (,,TRUE) - will never return None ]. - -Sat Sep 4 08:39:26 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_set_geometry_hints) - gdk/gdkwindow.c (gdk_window_set_hints): - - Don't omit setting the properties if flags == 0 - - there may be an existing set of properties there - already. (Very old bug. Would it be better to - delete the property instead?) - - * gdk/gdkselection.c (gdk_selection_property_get): Fix - spelling error in comment. - -Wed Sep 1 14:05:30 1999 Owen Taylor - - * gdk/gdkimage.c (gdk_image_new): Use gdk_error_trap_push() - to avoid stomping over gdk_error_warnings. - - * gdk/gdkimage.c (gdk_image_new): compute image->bpp - as (bits_per_pixel + 7) / 8. This gives the same - result as before for multiples of 8, but actually - a "reasonable" value for 1bit or 4bit displays. - -Mon Aug 23 19:11:17 1999 Tim Janik - - * gdk/Makefile.am: minor cleanups, strip spaces on build rules for - GNU Make. - -Tue Aug 17 07:43:04 1999 Tim Janik - - * gdk/gdkevents.c (gdk_event_translate): give a debugging note when - discarding configure events. - -1999-08-18 Federico Mena Quintero - - * gdk/gdkpixmap.c (gdk_pixmap_unref): g_return_if_fail() the - refcount is greater than zero. - - * gdk/gdkwindow.c (gdk_window_unref): Likewise. - - * gdk/gdkfont.c (gdk_font_unref): Likewise. - - * gdk/gdkgc.c (gdk_gc_unref): Likewise. - - * gdk/gdkdnd.c (gdk_drag_context_unref): Likewise. - -Wed Aug 11 01:04:57 1999 Owen Taylor - - * gdk/gdkproperty.c (gdk_property_get): Fix assumption - that format 32 => sizeof(item) == 4. It really is - sizeof(long). - -Tue Jun 29 23:02:42 1999 Owen Taylor - - * gdk/gdk.c (gdk_x_error / gdk_x_io_error): Don't - core dump at all on X IO errors, only core dump - if --enable-debug for X errors. - -Thu Jun 24 17:06:23 1999 Tim Janik - - * gdk/gdkevents.c (gdk_event_translate): removed old ""Got event for - unknown window:" message. disabled ConfigureNotify discarding code, - because it led to events being processed out of order. - -Thu Jun 24 12:22:02 1999 Tim Janik - - * gdk/gdkglobals.c: preinitialize gdk_error_code to 0. - - * gdk/gdkevents.c (gdk_event_send_client_message_to_all_recurse): since - we export this function, supress error warnings and don't reset the - error code in the first half of this function. - - * gdk/gdk.c (gdk_x_error): set gdk_error_code to the actuall X error - code (instead of just -1) so gdk_error_trap_pop() reveals something - actually informative about the error that happened. - - * gdk/*.c: - don't rely on gdk_error_code being -1 if an error occoured, but just - gdk_error_code != 0. - -Thu Jun 24 11:50:07 1999 Tim Janik - - * gdk/gdkevents.c (gdk_event_apply_filters): advance the filter list - pointer *before* invoking the filter function, so we at least don't - crash if a filter is removed that is currently executed. window filters - *really* need to be made truely reentrant at some point. - -Mon Jun 14 11:10:15 1999 Tim Janik - - * gdk/gdkevents.c (gdk_event_translate): print the atom name in the - PropertyNotify debug messages. - -Wed May 5 22:51:06 1999 Owen Taylor - - Patch from Sung-Hyun Nam - - * gdk/gdkim.c: Fix cut-and-paste errors for - x/y and PreeditAttributes/StatusAttributes. - -Wed May 5 22:24:21 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Change - G_MAXINT to 2^16 to alleviate overflow problems in - various window managers. - -Wed Apr 21 00:42:08 1999 Owen Taylor - - * gdk/gdkfont.c (gdk_text_measure): Fix the return value - for fontsets. - -Wed May 5 12:42:01 1999 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_set_geometry_hints): - Initialize size_hints.x and size_hints.y because kwm - brokenly pays attention to them. - (Bug #1181 - Lars Heete ) - -Wed May 5 11:38:56 1999 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the - return value of gdk_list_visuals(). - (Bug #1193 - Morten Welinder ) - -Tue May 4 11:12:56 PDT 1999 Manish Singh - - * gdk/gdkim.c (gdk_im_real_open): cast the return value of - XSetIMValues to (void *) when comparing to NULL, to workaround - the problem of some compilers barfing since older X headers don't - have the prototype for it. - -Mon Apr 19 10:11:12 1999 Owen Taylor - - * gdk/gdkcolor.c (gdk_colormap_new): Fix memory leak - for pseudocolor where colormap->colors was double - allocated. - - * gdk/gdkcolor.c (gdk_colormap_alloc1): Store the - color value in the hash table with the pixel filled - in so when we do later hash table lookups, the color - value is correct. - -Sun May 2 15:29:45 PDT 1999 Manish Singh - - * gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before - making the call - -Tue Apr 27 11:17:35 1999 Owen Taylor - - * gdk/gdkdnd.c (xdnd_set_{targets,actions}): Fix leak - pointed out by Morten Welinder . - -Wed Apr 21 14:20:22 1999 George Lebl - - * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the - default filter from the list - -Wed Apr 21 14:20:22 1999 George Lebl - - * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the - default filter from the list - -Fri Apr 16 20:41:43 PDT 1999 Manish Singh - - * gdk/gdk.c: #include "gdkkeysyms.h" for gdk_XConvertCase #defines - - * gtk/gtkfontsel.c (gtk_font_selection_create_xlfd): use - g_strdup_printf instead of calcing the length separately - -Tue Apr 13 02:49:33 1999 Owen Taylor - - * gdk/gdkwindow.c: removed some silly #ifdef HAVE_CONFIG - that we don't do in many other places. (Fixing duplicate - #include of config.h) - - * gdk/gdkevents.c: include gdkinput.h _after_ config.h. - Otherwise, #ifndef XINPUT_NONE check in the latter - doesn't work. (Bug #546) - -Sun Apr 11 14:38:03 1999 Tim Janik - - * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): check for color - "None" case insensitive. - -Tue Apr 6 16:38:51 1999 Owen Taylor - - * gdk/gdkselection.c: - Add error traps so if the other end of the connection - dies, we survive. - -Tue Apr 6 12:24:21 1999 Owen Taylor - - * gdk/gdkdnd.c (gdk_drag_motion): Separate out the - dest_xid field into two fields - one for the window - to send in messages, one to indicate the last looked - up window for caching purposes. This is needed, so - that Leave messages get the correct window. - -Mon Apr 5 13:21:30 1999 Owen Taylor - - * gdk/gdkevents.c (gdk_event_check, gdk_event_prepare): - Fix warning created by people mucking around - with the gsource API. - - * gdk/gdkevents.c (gdk_io_invoke, gdk_input_add_full): - Change mapping between GIOCondition and GdkInputCondition - to match the way the Linux kernel does it. This should - fix problems where closed pipes were no longer signalling - GDK_INPUT_READ on systems with a native poll(). - -Mon Apr 5 17:11:57 1999 Owen Taylor - - * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): Check - explicitly for the string "None" - it is in the XPM - spec and some servers treat unknown colors in odd ways - (like asking the user!) - -Thu Apr 1 16:58:10 PST 1999 Manish Singh - - * gdk/gdkevents.c: made "->" into a "." of previous change so - it compiles - -Thu Apr 1 18:41:25 1999 Owen Taylor - - * gdk/gdkevents.c (gdk_compress_exposures): Set the - window field of the event structure before calling - user filters. - -1999-03-31 Federico Mena Quintero - - * gdk/gdk.c (gdk_init_check): Use False as the last argument to - XInternAtom() here. This is a particularly Old And Nasty(tm) bug. - -Mon Mar 29 17:31:52 1999 Owen Taylor - - * gdk/gdkim.c (gdk_mbstowcs): Free the value of the - intermediate text property - prevents major memory - leak when gdk_use_mb. - gtk-d3august-990311-0: Bj|rn Augustsson - -Mon Mar 29 17:02:58 1999 Owen Taylor - - Patches from Akira Higuchi - gtk-a-higuti-990322-[0-3] - - * gdk/gdkfont.c (gdk_text_extents_wc): Make work when - sizeof(wchar_t) != sizeof (GdkWChar) - - * configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS - that was causing -DX_LOCALE not to work. - - * gtk/gtkrc.c (gtk_rc_init): - X_LOCALE will never have LC_MESSAGES defined - - * gdk/gdk.c (gdk_init_check): - Remove --xim-preedit and --xim-status from argv properly. - - * gdk/gdkim.c (gdk_ic_real_new): Add a gdk_flush() so - that the client window is present on the X server - before we pass it to the input method. - -Tue Mar 9 10:46:49 1999 Owen Taylor - - * gdk/gdkdnd.c (motif_find_drag_window): Fix bug where - if --display is specified on the command line, than - the drag window will not be created on that display. - -Tue Mar 9 10:38:24 1999 Owen Taylor - - * gdk/gdkproperty.c (gdk_atom_intern): Fixed bug where - lookups with only_if_exists == TRUE were inserting - bogus values into the atom cache. - -Wed Mar 17 09:00:00 1999 Tim Janik - - * gdk/gdkselection.c (gdk_selection_property_get): first XFree(t), - then reset it to NULL. - - * gdk/gdkcolor.c: - (gdk_colors_free): - (gdk_colormap_free_colors): use colormap->colors[in_pixels[i]] as the - key for g_hash_table_remove() in both functions, this prevents us - from accessing possibly uninitialized portions of a GdkColor structure - where we are only interested in its pixel value. - -Tue Mar 9 01:01:28 1999 Tim Janik - - * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our - font hash table, if we have a GdkFontPrivate entry for this font - already, simply increment its reference count, provided by Olaf Dietsche - . - -1999-09-21 Tor Lillqvist - - * gdk/win32/gdk.c (gdk_exit_func): Delete the gdk_DC when exiting, - just to be sure. - - * gdk/win32/gdkvisual.c (gdk_visual_init): Remove a couple of - unused variables, leftovers from the X11 version. - - * gdk/win32/rc/*.cur: Better cursors provided by Bernd Herd. - - * gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): Only - downcase fields on X11. - -Mon Sep 20 13:17:39 1999 Pablo Saratxaga - - * configure.in,po/pt_BR.po: added Portuguese Brazilian file from - Alex Sandro Queiroz e Silva - -1999-09-17 Tor Lillqvist - - * gdk/win32/gdk.def: Add gdk_threads_mutex. - - * gtk/makefile.msc: Correct path to libintl. - - Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in - use of gint vs. int, and gint vs. gboolean in headers and - definitions. Use GtkType for the *_get_type functions. Note that - these changes preserve binary compatibility. - - * gdk/gdk.c - * gdk/win32/gdk.c - * gdk/gdk.h: Fix inconsistencies: gint vs int. - - * gtk/gtkmain.c - * gtk/gtkclist.c - * gtk/gtkmenufactory.c - * gtk/gtknotebook.c - * gtk/gtkwidget.c: Fix inconsistencies, also gint - vs. gboolean. - - * gtk/gtkcolorsel.[ch] - * gtk/gtkcombo.[ch] - * gtk/gtkdrawingarea.[ch] - * gtk/gtkgamma.[ch] - * gtk/gtkhandlebox.[ch] - * gtk/gtkhpaned.[ch] - * gtk/gtkhruler.[ch] - * gtk/gtkplug.[ch] - * gtk/gtkpreview.[ch] - * gtk/gtkruler.[ch] - * gtk/gtksocket.[ch] - * gtk/gtkstatusbar.[ch] - * gtk/gtktoolbar.[ch] - * gtk/gtkvbbox.[ch] - * gtk/gtkvpaned.[ch] - * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type - functions. - - * gtk/gtkgamma.h: Fix bug, missing () in call of - gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS. - -1999-09-14 Tor Lillqvist - - * gdk/gdkcolor.c (gdk_colormap_new) - * gdk/win32/gdkcolor.c (gdk_colormap_new): Fix memory leak: - colormap->colors was allocated twice. - - * gdk/win32/gdk.c: Remove some unused stuff. - - * gdk/win32/gdkcolor.c (gdk_colormap_sync): Initialize all of the - colormap. - - * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_type) - * gtk/gtklabel.h (gtk_label_get_type) - * gtk/gtktipsquery.c (gtk_tips_query_get_type) - * gtk/gtktypeutils.h (gtk_type_name): : Use GtkType - in a couple of places, not guint. - -Fri Sep 10 21:31:00 CEST 1999 Pablo Saratxaga - - * configure.in,po/et.po: added Estonian language file - -Wed Sep 1 14:36:12 CEST 1999 Pablo Saratxaga - - * configure.in,po/da.po: added Danish file - -Sun Aug 29 13:38:59 BST 1999 Tony Gale - - * docs/gtkfaq.sgml: Minor FAQ Update - -Sat Aug 28 14:34:37 BST 1999 Tony Gale - - * docs/gtkfaq.sgml: FAQ update - -1999-08-27 Tor Lillqvist - - Win32: Philippe Colantoni suggests a - way to get window contents continually refreshed while resizing. I - didn't like the effects myself, so it's not on by default. - - * gdk/win32/gdkprivate.h: New flag variable - gdk_event_func_from_window_proc, FALSE by default. - - * gdk/win32/gdk.c (gdk_init_check): Set above flag if the - environment variable GDK_EVENT_FUNC_FROM_WINDOW_PROC is set, or we - are passed --gdk-event-func-from-window-proc. - - * gdk/win32/gdkevents.c (gdk_WindowProc): If above flag is set, - and we have am event_func, call it instead of enqueing the event. - -1999-08-23 Tor Lillqvist - - * gdk/win32/gdkevents.c (gdk_event_translate): Fix from Simon - Kelley: Set expose_count in GdkEventExposes correctly. - - * gdk/win32/gdkwindow.c: Remove dead code (#ifdef - MULTIPLE_WINDOW_CLASSES). - - * gdk/win32/gdkdraw.c (gdk_draw_line): Workaround from Hans Breuer - for bug in NT, apparently NT *does* draw the end pixel, too, in - LineTo with a one-pixel pen, so we don't have to do it ourselves. - -1999-08-21 Tor Lillqvist - - Improvements by Hans Breuer: - - * gdk/win32/gdkwindow.c (RegisterGdkClass): New function - - * gdk/win32/gdkwindow.c (gdk_window_new): Use it. Don't set the - CS_?REDRAW flags as they cause lots of (late) redraws when "show - window contents while dragging" is turned on. Allocate at least - one unique class for every GdkWindowType. If support for single - window-specific icons is ever needed (eg. Dialog specific), every - such window should get its own class. - -1999-08-19 Tor Lillqvist - - * gdk/win32/gdkgc.c (gdk_gc_new_with_values): Fix a cut&paste - error that caused crashes. - -1999-08-17 Tor Lillqvist - - * gdk/win32/gdkdraw.c (gdk_draw_pixmap): When blitting inside one - window, use ScrollWindowEx, and call UpdateWindow. This prevents - bugs when for instance part of the window was outside the - display. Thanks to Philippe Colantoni for finding and fixing this. - -1999-08-16 Tor Lillqvist - - * gdk/win32/gdkdraw.c (gdk_draw_arc): Fix start and end radial - endpoint calculations which were totally wrong. (A little RTFMing - helps a lot ;-) - - * gtk/makefile.{cygwin,msc}: Use libintl extracted from glibc - from a separate directory, not from gettext, because of licensing - issues (we want to use the LGPL version). - - * README.win32: Mention the intl from glibc vs from gettext issue. - -1999-08-13 Tor Lillqvist - - * gdk/win32/gdkevents.c (gdk_event_translate): Fix a couple of bugs - in the key event handling: Now AltGr chars work again. Also, - now Alt-digits are passed up as well as Control-digits. - Pass keypad plus and minus as normal plus and minus. - -Wed Aug 11 13:38:26 BST 1999 Tony Gale - - * docs/gtkfaq.sgml: FAQ Update - -1999-07-25 Tor Lillqvist - - * README.win32 - * config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without - the Wintab SDK. - - * gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work - OK, but getting closer. Guard against bogus tilt data from Wacom - ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to - enable easier building without Wintab. - - * gdk/win32/gdkinput.h - * gdk/win32/gdkevents.c - * gdk/win32/gdkwindow.c: Minor changes related related to above. - - * gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11 - code. As we have just one visual on Win32, no sense to have it in a - table, and no need for the hash table. - - * gdk/win32/rc/cursor*.cur: Edit some of the cursors a bit to look - better on white background. - -1999-07-21 Tor Lillqvist - - * README.win32: Update gcc build instructions. Mention gettext is - GPL. - - * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Get correct - supported cursor size with GetSystemMetrics. - - * gdk/win32/gdkfont.c - * gtk/gtkfontsel.c: Guard against some font weight and charset - symbols being undefined (in mingw32 headers). - - * gdk/win32/makefile.cygwin - * gtk/makefile.cygwin - * gtk/gtkthemes.c: No longer need to have differently named - gcc-built DLLs when using gcc-2.95 and -fnative-struct. - -hu Jul 15 13:33:15 BST 1999 Tony Gale - - * docs/gtkfaq.sgml: Long awaited FAQ update. - -1999-07-15 Tor Lillqvist - - * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Implement - it. Obscure bit manipulation needed. - - * gdk/win32/gdkevents.c: Logging. - - * gtk/gtkthemes.c (gtk_theme_engine_get): (Win32) Use new DLL naming - style (file name include compiler name) for theme engines. - -1999-07-13 Tor Lillqvist - - * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Less logging verbiage. - - * gdk/win32/gdkevents.c: Fix long-standing bug in key - events. The key.string wasn't zero-terminated, still we strdup'ed - it in gdk_event_copy(). Synthesize crossing events for button - events before possible propagation. - - * gdk/win32/gdkwindow.c: Log gdk_window_set_title. - - * gdk/win32/makefile.cygwin - * gtk/makefile.cygwin: Use new DLL naming style for the - GCC-compiled ones. - - * gdk/win32/makefile.msc - * gtk/makefile.msc: Cosmetics mostly. - - * gtk/gtk.def: Add missing entry points. - - * gtk/gtksocket.c: Add dummy gtk_socket_get_type() for Win32. - -1999-07-09 Tor Lillqvist - - * gdk/win32/gdkdraw.c (gdk_draw_arc): Don't draw anything if width - or height is zero. Don't print a warning if Pie or Arc fails, they - always fail (?) for very narrow ellipses. - - * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Call InvalidateRgn for - the part or the destination window corresponding to source area - outside of the source drawable's boundary. - - * gdk/win32/gdkdraw.c (gdk_draw_lines, gdk_draw_polygon): Don't do - anything if less than two points. - - * gdk/win32/gdkselection.c (gdk_selection_owner_get): Always - return NULL. Gtk cut-and-paste inside a single program works - better this way. (It always gets the clipboard contents from - Windows, not from its own copy, which is cleared anyway. I can't - say I fully understand what happens... Emulating the X selection - and property stuff is a bit of a mess.) - - * gdk/win32/gdkevents.c - * gdk/win32/gdkproperty.c: A bit more verbose logging. - - * gdk/win32/gdkregion.c: Fix some memory leaks (temporary regions - that never got deleted). Revamp gdk_region_shrink. - - * gdk/win32/gdkregion.c: Fix memory leak, delete temporary regions - after use. - - * gtk/gtk.def: Add some missing entry points. - - * gtk/gtkrc.c: Strip trailing directory separator from pixmap path - component. - -1999-07-04 Tor Lillqvist - - * gdk/win32/gdkevents.c (gdk_event_translate): Handle - Control-digits specially. - -1999-07-03 Tor Lillqvist - - * gtk/makefile.{cygwin,msc}: New pthreads version. Use gettext. - -1999-06-28 Tor Lillqvist - - * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for - bitmaps, should be multiple of 4. (Thanks to Hans Breuer for - finding this.) - -1999-06-01 Jose H Mercado - - * gtk+.spec.in: Corrected some typos in files section. - -1999-06-15 Tor Lillqvist - - * README.win32: Mention using GNU gettext. - * config.h.win32: Enable NLS stuff. - * gtk/makefile.msc: Use GNU gettext. - * gdk/win32/gdkdnd.c: Minor header reorg. - * gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly - cosmetics. - * gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public. - * gtk/gtkmain.c (Win32): Use it in bindtextdomain() call. - -Wed Jun 2 11:44:25 PDT 1999 Manish Singh - - * acinclude.m4 - * config.guess - * config.status - * ltconfig - * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged) - -1999-05-30 Tor Lillqvist - - * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to - SafeAdjustWindowRectEx. Don't override all calls to - AdjustWindowRectEx by it, but use it only in two places: When - creating a new top-level window and when moving a top-level - window. - - Use screen coordinate rectangle, not client rectangle, in - gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only - when we try to place a window so that the decoration (mainly, - title bar) isn't visible. - - These changes fix the bug that showed up for instance as the - GIMP's saved top-level windows moving right and down (by an amount - equal to the window decoration) for each session. This bug showed - up also in testgtk's "Saved Position". - - gdk_window_resize also redone a bit. - -1999-05-25 Tor Lillqvist - - * gtk/testgtkrc: Add (commented out) Windows-style theme - include line. - - * gdk/win32/gdk.def,gtk/gtk.def: Add some missing entry points. - -1999-05-18 Tor Lillqvist - - * gdk/win32/makefile.{cygwin,msc}: Copy our gdkprivate.h and - gdkx.h to a gdk subdirectory, so that applications can include - these with without trouble. - - * gdk/win32/gdkimage.c (gdk_image_new_with_depth): Code simplified. - (gdk_image_destroy): Plug resource leak, some GdkImages didn't - have their bitmap destroyed. - - * gdk/win32/gdk.def: Add gdk_root_parent. - -Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson - - * configure.in - gtk-config.in - ltconfig - ltmain.sh - gtk/Makefile.am: changes to compile nicely (with xlib) - on BeOS - -Sat May 1 15:04:42 PDT 1999 Manish Singh - - * acinclude.m4 - * config.guess - * config.sub - * ltconfig - * ltmain.sh: upgrade to libtool 1.3 - -Fri Apr 30 13:38:16 1999 Lars Hamann - - * gtk/gtkclist.c: - * gtk/gtkctree.c: merges from gtk-1-2 - -1999-04-25 Tor Lillqvist - - Support added for building using a GNU toolchain on Win32, - gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1. - - * gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files. - * config.h.win32: Changes for gcc. - * gdk/gdkrectangle.c: Include gdk.h as . - * gdk/gdkcolor.c: config.h.win32 already defines strcasecmp. - * gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h. - * gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better. - Protect shl stuff unavaiilable with mingw32 headers. - * gdk/win32/gdkevents.c: Fix typo. - * gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc. - * gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?) - * gdk/win32/gdkinput.c: Use __try __except only with the MS compiler. - * gdk/win32/gdkprivate.h: Make up for some stuff missing from - the mingw32 headers. - * gdk/win32/makefile.msc: Use latest Wintab kit and glib. - * gtk/gtkfilesel.c: Include early, to get stat->_stat - definition on Win32. Test for NATIVE_WIN32, not _MSC_VER. - * gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32. - Test for NATIVE_WIN32, not _MSC_VER. - * gtk/gtkmain.c: No use warning about developer version on Win32, - there aren't any non-developer versions anyhow. - * gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER. - * gtk/makefile.msc: Use pthread from another directory. Minor other - changes. - -Wed Apr 21 14:20:22 1999 George Lebl - - * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the - default filter from the list - -Mon Mar 8 12:52:53 1999 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_grab_default): Add a warning - when gtk_widget_grab_default() is called for a widget that - is not within a GtkWindow. - -Sat Apr 10 13:52:54 BST 1999 Tony Gale - - * docs/gtk_tut.sgml, examples/clist.c: use a - scrolled window in the clist example. Minor - tutorial fixes. - -Fri Apr 2 09:19:20 BST 1999 Tony Gale - - * docs/gtk_tut.sgml: Style check from David King - - -1999-03-30 Pavel Machek - - * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code - compile with unknown value of GDK_WINDOWING - -1999-03-28 Raja R Harinath - - * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists - after the rule is fired. - (install-exec-local): Install gdkconfig.h only if the contents are - different from the currently installed gdkconfig.h. - -1999-03-26 Raja R Harinath - - * gdk/Makefile.am (configexecincludedir): Rename from - configincludedir so that gdkconfig.h will be installed - as part of `make install-exec'. - -Fri Mar 19 16:50:33 PST 1999 Manish Singh - - * acinclude.m4 - * config.guess - * config.sub - * ltconfig - * ltmain.sh: upgrade to libtool 1.2f - - * autogen.sh: libtool is not required to autogen gtk+ - - * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly - needed) - -1999-03-18 Tor Lillqvist - - * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for - declaring gdk variables exported/imported from the DLL. New image - type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and - drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and - GDK_DRAG_PROTO_OLE2. - - * gdk/gdk.h: Merge in Win32 version: Two new functions, - gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far - declared only for the Win32 version, but could be in the X11 - version as well. (Needed for a Xlib-less gdk_imlib.) - gdk_color_hash should have only one parameter. Declare - gdk_threads_mutex with GDKVAR. - - * gdk/gdkcolor.c (gdk_color_hash): A hash function should have - just one parameter. - - * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes - per pixel, not bits. - - * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv): - Fetch bpp (which means bits-per-pixel here) from another place on - Win32. Accept also depth==32 (which we might get on Win32) with - bpp==32. - - * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel, - gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc, - gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c: - Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be - in the backend-dependent directory, not in the common gdk - directory. - - * gtk/testgtk.c: Ditto. Also, don't use ../gdk path to gdk - headers. - -Wed Mar 17 05:06:49 1999 Tim Janik - - * gtk/gtkmain.c (gtk_init_check): tell people that they don't really - want to use the Gtk+ devel version (which is true, and yes - even i am - currently working with the 1.2.x branch). so everyone reading this, you - probably want to issue - cvs checkout -r glib-1-2 glib - and - cvs checkout -r gtk-1-2 gtk+ - as your next two comands. - -Wed Mar 17 02:49:32 1999 Tim Janik - - * configure.in: build gtkcompat.h from gtkcompat.h.in instead of - gtkfeatures.h from gtkfeatures.h.in, require GLib 1.3.0. - - * gtk/gtkcompat.h.in: combined gtkcompat.h and gtkfeatures.in in this - file. strongly deprecated the GTK_HAVE_* macros, we provide - GTK_CHECK_VERSION() for people that need to check for certain - Gtk+ versions. - - * gtk/gtkcompat.h: removed this from CVS. - * gtk/gtkfeatures.h.in: removed this from CVS, gtkfeatures.h was a bad - idea right from the start, it just didn't seem like that back then. - -Wed Mar 17 01:46:28 1999 Tim Janik - - * merges from gtk-1-2: - -Tue Mar 16 17:43:33 1999 Tim Janik - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the - item factory class has been created. - (gtk_item_factory_parse_rc): likewise. - - * gtk/gtkmenu.c: - keep proper references for old_active_menu_item. - (gtk_menu_reparent): unset the usize of the new parent, - so the menu can sanely be size requested and we don't get nasty screen - artefacts upon next reparentation. - (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an - enter notify. only synthesize enter notifies if the pointer really is - inside the event window. - (gtk_menu_popdown): use gtk_menu_shell_deselect(). - (gtk_menu_popup): move the background setting stuff into - gtk_menu_tearoff_bg_copy() so it can be called from other places as well. - - * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use - gtk_menu_shell_select_item() to select the new item. - (gtk_menu_shell_deselect): export this function, so gtkmenu.c can - do the right thing for deselection as well. - -Sat Mar 15 20:10:33 1999 Tim Janik - - * gtk/gtkwidget.[hc]: - (gtk_widget_accelerators_locked): return whether a widget's accelerators - are locked. - - * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or - existing accelerators if the widget's accelerators are locked. - -Sat Mar 14 19:44:05 1999 Tim Janik - - * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items. - - * gtk/gtkmenu.c: truely forward key press and key release events to - the menu widget from the toplevel or tearoff window. we can't simply - connect to that, we need to stop further processing of the events as - well. - -Sat Mar 13 13:14:17 1999 Tim Janik - - * gtk/gtkmenu.c: - (gtk_menu_key_press): pass event->keyval, event->state to - gtk_accelerator_valid, instead of event->keyval twice. - refuse to install single letter accelerators for menus that use - single letter shortcuts. - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use - gtk_menu_ensure_uline_accel_group(). - - * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group() - which will always return an uline accel group, made - gtk_menu_get_uline_accel_group() return NULL if the group isn't - yet created. - -Mon Mar 15 01:03:27 1999 Lars Hamann - - * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag. - - * gtk/gtkclist.c (gtk_clist_column_title_passive): - Leave button sensitive, trap button_press, button_release, - motion_notify, enter_notify and leave_notify events instead. - (gtk_clist_column_title_active): disconnect event handler. - (gtk_clist_drag_data_get): fixed memory leak. Reported by - Guillaume Laurent - -Wed Mar 10 23:49:55 1999 Lars Hamann - - * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few - width/height mixups. - - * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal - if needed. - -Wed Mar 10 00:11:32 1999 Tim Janik - - * gtk/testgtk.c (create_item_factory): unref the item factory after - window's destruction. - - * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference - count on the menu shell around the menu item's activation, since the - signal emission may cause menu shell destruction. - - * gtk/gtkitemfactory.c: - the previous code leaked one accel group per menu. we use - gtk_menu_get_uline_accel_group() now to fix that, and with that - also create the underline accelerator group of the menus only if - required (i.e. an underline accelerator has been specified). - (gtk_item_factory_construct): - (gtk_item_factory_create_item): removed code that would create an - extra accel group for the menu (and leak references). - (gtk_item_factory_create_item): adapted the underline accelerator - installation code to properly feature gtk_menu_get_uline_accel_group(). - - * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive - menu->accel_group, this may return NULL if the accelerator group - hasn't been set yet. - added gtk_menu_get_uline_accel_group() to retrive the underline - accelerator group of the menu, this will be created on demand - and proper care is taken about its reference count. - - * gtk/gtkitemfactory.h: - * gtk/gtkitemfactory.c: - dumped the approach of keeping a widgets by action list on the - factory since the factory<->widget destroy negotiation didn't work - and would be hard to get going at all. instead we keep a list of - GtkItemFactoryItem items on the factory (GtkItemFactoryItems are - persistant throughout a program's life time). - also, i removed the static const gchar *key_* variables, and made - them inline strings (they weren't actually used anyways). - (gtk_item_factory_add_item): update ifactory->items. - (gtk_item_factory_destroy): destroy ifactory->items (and remove - the item factory pointer from the remaining ifactory widgets). - (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem - list to find the widget. - (gtk_item_factory_get_item): new function that works around - gtk_item_factory_get_widget() limitations, this function will only - return menu items, even for entries. - -Tue Mar 9 01:01:28 1999 Tim Janik - - * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our - font hash table, if we have a GdkFontPrivate entry for this font - already, simply increment its reference count, provided by Olaf Dietsche - . - - * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix - provided by Olaf Dietsche . - -Sun Mar 7 06:13:29 1999 Tim Janik - - * gtk/gtkcontainer.c: - (gtk_container_add_with_args): - (gtk_container_addv): - (gtk_container_add): before adding a child to a conatiner, make sure - it is (default) constructed, this is neccessary because under certain - circumstances the child will get relized and mapped immediatedly, in - which case it has to be constructed already. - -Mon Mar 1 17:58:21 1999 Tim Janik - - * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal - values > 1 as TRUE also. - -1999-03-16 Tor Lillqvist - - * README.win32: New file. - - * configure.in: Check for lstat. - - * config.h.win32: Add non-definition of HAVE_LSTAT, just for - completeness. - - * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat. - - * gtk/gtk.def: Removed CRs. - - * gtk/makefile.msc: Correct include path to Win32 GDK version (in - ..\gdk\win32). - - * gdk/win32/makefile.msc: Correct upwards relative paths. - -Mon Mar 15 03:38:34 1999 George Lebl - - * gtk/gtkdnd.c: (gtk_drag_highlight) swap the - gtk_drag_highlight_expose and gtk_drag_highlight_paint since - it was connecting a void function to expose_event and the int - returning function to the draw signal - -1999-03-14 Jeff Garzik - - * configure.in: - Use correct path to libgmodule.la when ref'ing uninstalled copy - of glib. (Already in stable branch, Bug #417) - -1999-03-15 Tor Lillqvist - - Win32 merge and general portability stuff: - - * acconfig.h,configure.in: Check for . - - * gdk/win32: New directory (actually, been there for a while). - - * gtk/fnmatch.c: Include for G_DIR_SEPARATOR, WIN32 and - NATIVE_WIN32, and use these. Always case fold on Win32. No - backslashed escapes on native Win32. - - * gtk/{gtk.def,makefile.msc}: New files. - - * gtk/Makefile.am: Add above new files. - - * gtk/{gtkaccelgroup,gtkbindings}.c: Include - instead of . - - * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include - config.h. Protect inclusion of , , and - appropriately. - - * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much). - Use ABS() (from ) instead of abs(). - - * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion - of gtk (and thus glib) headers, so that WIN32 will be - defined. With MS C, include for mkdir prototype. - - * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add - some casts, needed by MS C. - - * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't - implemented). - - * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include - only on X11 platform, otherwise . Use - G_SEARCHPATH_SEPARATOR_S and g_module_build_path. - - * gtk/gtkmain.h: Mark variables for export/import on Win32. - - * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case - the event is not a hint, or its window is not the slider. Needed - on Win32, at least. - - * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use - unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and - G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use - a subdirectory of the Windows directory as gtk system - configuration directory. - - * gtk/gtkselection.c: No chunks on Win32. - - * gtk/gtksocket.c: Not implemented on Win32. - - * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path. - - * gtk/makeenums.h: Include gdkprivate.h after gdk.h. - - * gtk/maketypes.awk: Declare variables with a macro that expands to - necessary export/import magic in the case of Win32. - - * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers. - -1999-03-13 Raja R Harinath - - * configure.in (gdk_wc): Move widechar tests from `glib' to here, - since those were meant only for gdki18n.h. - * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_* - for widechar tests. - * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h. - -1999-03-13 Tor Lillqvist - - * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate - gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h. - - * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is - installed) to CFLAGS. - - * gdk/Makefile.am: Add rules for gdkconfig.h. - - * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing - APIs. - - * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via - gdkx.h anyway when compiling for X11. - (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In - general): Merge in Win32 version. - - * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32 - version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde - expansion (if we don't have HAVE_PWD_H), allow for drive - letters. UNC paths (\\server\share\...) are not handled yet. Also, - included code from Craig Setera's port to Win32 (the one that uses - X11, and the cygwin dll), even if it probably will be abandoned. - - * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if - the user entered one herself. This way one can complete *.h and - don't get matches on any .help files, for instance. - -Tue Mar 9 01:01:28 1999 Tim Janik - - * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our - font hash table, if we have a GdkFontPrivate entry for this font - already, simply increment its reference count, provided by Olaf Dietsche - . - - * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix - provided by Olaf Dietsche . - -1999-03-09 Federico Mena Quintero - - * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced - the number of calls to gdk_draw_point() (and thus to X) by - clipping the points by hand. - - * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of - the clip parameter. - (gtk_handle_box_paint): Only paint the handle if the expose area - intersects it. - -Sun Mar 7 18:46:37 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) - - * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.) - -Sun Mar 7 11:43:34 1999 ape@spacetec.no (Asbjorn Pettersen) - - * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes. - Added function gen_8_3_dll_name(gchar *name, gchar *fullname). - -Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) - - * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in - textmode (O_TEXT) for OS/2 version. - -Sun Feb 28 16:46:02 1999 Stefan Jeske - - * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to - GtkSpinButton, "input" and "output", to make the output more flexible. - The user has to provide a mapping between adjustment->value and the - output string (and vice versa, if the spin button is editable). - See testgtk for examples. - -Sat Feb 27 01:18:47 1999 Tim Janik - - * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started - new one. - - * configure.in: set gtk+ version to 1.3.0. - - * gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 deleted file mode 100644 index cb0733bc0b..0000000000 --- a/ChangeLog.pre-2-10 +++ /dev/null @@ -1,9300 +0,0 @@ -2006-08-22 Matthias Clasen - - * Branch for 2.10 - -2006-08-23 Tor Lillqvist - - * 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 - - 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 - - * 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 - - * gtk/gtktextview.c: do not scroll on copy. Bug #329604. - -2006-08-18 Matthias Clasen - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * docs/tutorial/gtk-tut.sgml: fixed buglet from #351759. - -2006-08-17 Tor Lillqvist - - * 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 - - * 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 - - * 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 - - * configure.in: - Changed to use cairo-directfb.pc bug #351519 - -2006-08-17 Kristian Rietveld - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * configure.in - Added cairo flag patch to fix directfb build from bug #351519 - -2006-08-15 Richard Hult - - * 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 - - * 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 - - * 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 - - * 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) - -2006-08-10 Michael Emmel - - * gdk/directfb/gdkdrawable-directfb.c - Remove gdk_directfb_update_region and calls - * gdk/directfb/gdkwindow-directfb.c - Code cleanup - * gdk/directfb/gdkgeometry-directfb.c - Fix scroll call to use region - -2006-08-10 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: - (gtk_recent_chooser_menu_finalize): Remove the idle - source in ::finalize... - - (idle_populate_func), - (idle_populate_clean_up): ...and reset the idle source - id at the end of the idle loop while we hold the GDK mutex - lock. (#350605, reported by Wouter Bolsterlee, patch by - Chris Wilson) - -2006-08-10 Michael Natterer - - * gdk/quartz/gdkwindow-quartz.c - (gdk_window_maximize) - (gdk_window_unmaximize) - (gdk_window_iconify) - (gdk_window_deiconify): don't try to set the state of unmapped - windows, call gdk_synthesize_window_state() instead. Also added - autorelease pools back, seems they are needed after all. - - * gdk/quartz/gdkwindow-quartz.c (show_window_internal): maximize - and iconify windows here if the state says so. - -2006-08-09 Michael Natterer - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_geometry_hints): - implement MIN_SIZE, MAX_SIZE and RESIZE_INC. - -2006-08-08 Richard Hult - - * gtk/gtkdnd-quartz.c: Implement get/set_track_motion. - -2006-08-08 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (poll_func): Whitespace cleanup. - (synthesize_crossing_events): Add comments and prevent a crash. - -2006-08-08 Michael Natterer - - * gdk/quartz/gdkwindow-quartz.c - (gdk_window_maximize) - (gdk_window_unmaximize): implement. - - (gdk_window_iconify) - (gdk_window_deiconify): remove unneeded autorelease pools. - -2006-08-08 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Just expose the minimal region - instead of the whole rect. - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_quartz_process_all_updates), (gdk_window_update_idle), - (gdk_window_impl_quartz_invalidate_maybe_recurse), - (gdk_window_impl_quartz_process_updates), - (_gdk_windowing_window_destroy): Rework the expose handling so that - it works like the X11 backend, using an idle with the right - priority instead of relying on quartz to do it. - (gdk_window_set_type_hint): Use tornoff instead of submenu as the - documentation (and Mitch) suggests. - -2006-08-08 Michael Natterer - - * gdk/quartz/gdkdrawable-quartz.c: some whitespace and indentation - cleanup. - - (gdk_quartz_draw_rectangle) - (gdk_quartz_draw_arc) - (gdk_quartz_draw_polygon) - (gdk_quartz_draw_points): for pixel-prefect drawing, stroked - coordinates need to go through pixel centers, while filled ones - need to go along pixel boundaries. Moved +0.5 adjusting to the - if(!filled) branches and added/removed some adjustments where they - were wrong. - -2006-08-07 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_points): Don't - get and release the context for each point, just once, speeds up - drawing many points a lot. - -2006-08-07 Michael Natterer - - * gtk/gtkdnd-quartz.c (gtk_drag_dest_unset): need to disconnect - from signals connected in gtk_drag_dest_set() here. - - * gtk/gtkdnd-quartz.c (gtk_drag_dest_set): call gtk_drag_dest_unset() - instead of disconnecting the old signal connections here. - -2006-08-07 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c: - (_gtk_recent_chooser_default_init): Show non existing - resources by default. - (recent_meta_data_func): Do not mark non existing - resources as insensitive. - - * gtk/gtkrecentchoosermenu.c: - (gtk_recent_chooser_menu_init): Show non existing - resources by default. - (gtk_recent_chooser_menu_create_item): Do not mark - non existing resources as insensitive. - -2006-08-06 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_finalize): Free - all XKB data. (#349997, Chris Wilson) - - * gtk/gtkstyle.c (option_menu_get_props): Only get the - indicator-size and indicator-spacing style properties - for GtkOptionMenu. (#349859, Benjamin Otte) - - * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines) - (gtk_tree_view_set_enable_tree_lines): Be more careful - when creating gcs, also emit change notification. - (gtk_tree_view_unrealize): Free the gcs here. (#349834, - Chris Wilson) - - * gtk/gtkcalendar.c (calendar_start_spinning, calendar_timer): - Use G_PRIORITY_DEFAULT_IDLE for the month/year-change timer, - so that the caller will have a chance to redraw/resize itself - between every change. (#348824, Federico Mena Quintero, patch - by Michael Meeks) - - * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): - Add a missing initialization. (#348787, Leonardo Boshell) - - * configure.in: Use $PKG_CONFIG consistently. (#348740, - Jeremy Lainé) - - * gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow - dragging a notebook tab to one of its children. (#348626, - Benjamin Otte) - (gtk_notebook_drag_motion): Don't accept drops on - arrows. (#348706, Benjamin Otte) - - * tests/testnotebookdnd.c: Test more corner cases. - -2006-08-05 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml: Remove outdated lists of - authors and maintainers. (#348538, Owen Taylor) - - * gtk/gtkentry.c: - * gtk/gtkentryprivate.h: Export gtk_entry_reset_im_context - privately. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_action_button_press): - * gtk/gtkentry.c (gtk_entry_completion_key_press): Reset the - entry's im context here. (#348478, Nguyen Thai Ngoc Duy, Christian - Persch) - - * gtk/gtktextview.c (gtk_text_view_style_set): Create new - PangoContexts and set them on the layout, to catch changes in - font options. (#348278, Behdad Esfahbod) - - * gtk/gtkstyle.c (gtk_default_draw_flat_box): Add a - missing initialization. (#349863, Benjamin Berg) - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder): - Protect against tree_view being NULL. (#348652, Patrick K. O'Brian, - Chris Wilson) - -2006-08-03 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: - (set_recent_managet), (gtk_recent_chooser_menu_populate), - (idle_populate_func), (idle_populate_clean_up), - (manager_changed_cb): Lazily populate the menu when creating - it and after the manager emits the "changed" signal; this - fixes the initial bad placing of the GtkRecentChooserMenu - widget when its set as the menu of a GtkMenuToolButton. - - (gtk_recent_chooser_menu_map), - (gtk_recent_chooser_menu_class_init): Remove the ::map method - override, since it's not needed anymore. - -2006-08-03 Michael Natterer - - * gtk/gtkrc.c (gtk_rc_parse_assignment): reset scanner config to - default values while checking if an expression(foobar) follows, - because if no expression follows the scanner's "next token" must - be usable for the caller of this function (fixes bug #349552). - -2006-08-03 Michael Natterer - - * gtk/gtkstyle.c: removed the "widget &&" part from - "widget && GTK_IS_FOO (widget)" checks. - -2006-07-13 Michael Emmel - - * gdk/directfb/gdkwindow-directfb.c - Remove unused call to GetPosition - -2006-07-31 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable): - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_begin_paint_region): Patch from Erik van - Pienbroek to implement drawing bg_pixmaps (#348145). - -2006-07-29 Richard Hult - - * gdk/quartz/gdkcolor-quartz.c (gdk_colormap_alloc_colors): Always - set success to TRUE. - (gdk_color_change): Implement. - - * gdk/quartz/GdkQuartzWindow.c - ([GdkQuartzWindow -canBecomeKeyWindow]): Add comment. - - * gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Make the - default font a bit smaller until we have made this get the system - setting. - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Enable - shadows for the right window types. - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkgc-quartz.c: - * gdk/quartz/gdkdrawable-quartz.c: - * gdk/quartz/gdkcolor-quartz.c: Expose the CGContext functions, - update callers. - - * gdk/quartz/gdkmain-quartz.c: (_gdk_windowing_init): No need to - get the current process ID, use the right constant instead. - -2006-07-28 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (gtk_recent_manager_init): Add the - timeout for polling the file; change the default polling - delta to 2000 msec. - -2006-07-27 Michael Natterer - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): cast the - return value of XGetWindowProperty() correctly so we don't return - garbage type hints. Pointed out by Tommi Komulainen, patch taken - from https://maemo.org/bugzilla/show_bug.cgi?id=724 - -2006-07-27 Matthias Clasen - - * gtk/gtksettings.c (gtk_settings_finalize): Move the - _gtk_rc_context_destroy call to the right spot. (#348096, - Chris Wilson) - -2006-07-24 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Implement - getting the double click threshold. - -2006-07-24 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Set the - window level depending on the type hint. - - * gdk/quartz/gdkevents-quartz.c (gdk_keyboard_grab, - pointer_ungrab_internal): Only break the grab if the new window is - a different one. - (gdk_event_translate): Catch the case where the entire app loses - focus and break any grabs. Only do implicit grabs when the event - mask has both press and release. - - * gdk/quartz/gdkkeys-quartz.c (translate_keysym): - * gdk/quartz/gdkselection-quartz.c: - - * gdk/quartz/GdkQuartzWindow.c - ([GdkQuartzWindow -windowDidResignKey:]): Use this to update the - focus window instead of resignMain, fixes the case where other apps - uses focus follows mouse (like the terminal can). - -2006-07-23 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.10.1 === - - * NEWS: Updates - - * gtk/gtkstyle.c (gtk_default_draw_box_gap): Draw - gaps on the left/right properly. (#348134, Benjamin Otte) - - * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges): - Fix a memory leak. (#348424, Carlos Garcia Campos) - -2006-07-21 Matthias Clasen - - * gtk/gtkrc.h: - * gtk/gtkrc.c (_gtk_rc_context_destroy): New function to - destroy an rc context. - - * gtk/gtksettings.c (gtk_settings_finalize): Destroy the rc context. - (gtk_settings_get_for_screen): Unref the settings when the screen - goes away. (#348096, Chris Wilson) - -2006-07-21 Richard Hult - - * gdk/quartz/gdkgc-quartz.c: (gdk_quartz_gc_get_values), - (gdk_quartz_gc_set_values), (_gdk_windowing_gc_copy), - (gdk_gc_get_screen): Implement. - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_back_pixmap): - Implement. - -2006-07-21 Matthias Clasen - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_get_preedit_string): - 0-terminate outbuf in all cases. (#348227, Nguyen Thái Ngoc Duy) - -2006-07-21 Michael Natterer - - Enable symbolic colors and color expressions in style - properties. Fixes bug #346751. - - * gtk/gtkrc.c (rc_parse_token_or_compound): add GtkRcStyle - parameter and replace symbolic colors by color constants. - - (gtk_rc_parse_assignment): likewise. Also support parsing of - expressions of the form identifier(compound). - - (gtk_rc_parse_style): pass the GtkRcStyle to - gtk_rc_parse_assignment(). - - (gtk_rc_parse_statement): pass NULL since we don't have a - GtkRcStyle here. - -2006-07-21 Michael Natterer - - * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): - remove accidential 2nd parameter to g_object_unref(). - -2006-07-21 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): - Don't leak the action_view. (#348120, Chris Wilson) - - * gtk/gtknotebook.c (gtk_notebook_paint): Improve drawing - of tabs while reordering. (#348115, Benjamin Otte) - - * gtk/gtkiconview.c (gtk_icon_view_destroy): Don't - leak the adjustments. (#348094, Chris Wilson) - - * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Unset - the during_reorder flag. (#348049, Sven Herzberg, patch - by Benjamin Otte) - -2006-07-20 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_destroy): Just remove the scroll - timeout here, don't access settings. (#348095, Chris Wilson) - - * gtk/gtktextlayout.c (gtk_text_layout_set_contexts): Fix - messed up refcounting. (#348090, Chris Wilson) - - * gtk/gtkicontheme.h: - * gtk/gtkicontheme.c (_gtk_icon_theme_ensure_builtin_cache): - Export this privately. - - * gtk/gtkiconfactory.c (render_fallback_image): And call it - here to initialize the builtin cache before using it. (#348063, - Diego Pettenò) - -2006-07-19 Federico Mena Quintero - - * tests/autotestfilechooser.c (test_black_box): Argh, initialize - "passed"! - (set_filename_timeout_cb): Renamed from timeout_cb(). - (test_confirm_overwrite): New function, test confirmation before - overwriting a file in SAVE mode. - -2006-07-20 Michael Natterer - - * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_finalize): - fix typo to make it compile again. - -2006-07-20 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: - (gtk_recent_chooser_menu_finalize): Correctly chain up the - finalization vfunc. (#348089, Chris Wilson) - -2006-07-20 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (generate_grab_broken_event): - Append the event to the queue instead of using gdk_event_put. - (_gdk_quartz_get_mouse_window, find_current_keyboard_window): - Handle grabs. - (get_event_mask_from_ns_event, create_focus_event) - (convert_window_coordinates_to_root, find_window_for_event) - (gdk_event_translate): Improve readability (style changes). - (gdk_flush, gdk_display_sync, gdk_display_flush) - (gdk_event_send_client_message_for_display), - (gdk_screen_broadcast_client_message): Remove FIXMEs. - (gdk_screen_get_setting): Reindent. - Also move find_child_window_by_point to gdkwindow-quartz.c. - - * gdk/quartz/gdkwindow-quartz.c: - (find_child_window_by_point_helper), - (_gdk_quartz_find_child_window_by_point): Move here from - gdkevents-quartz.c - (_gdk_windowing_window_get_pointer): Handle destroyed windows and - imlement the return value. - (_gdk_windowing_window_at_pointer): Implement. - -2006-07-19 Richard Hult - - * gtk/gtkdnd-quartz.c (register_types): Reindent. - - * gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add - autorelease pool. - -2006-07-19 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c - ([GdkQuartzWindow -windowDidResignMain:]): - * gdk/quartz/gdkevents-quartz.c (_gdk_quartz_update_focus_window): - Listen to windowDidResignMain notifications and properly update the - focus window when windows are unfocused. - -2006-07-19 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init), - (gtk_cell_renderer_text_[gs]et_property), (get_layout): add - align_set field to keep track whether the align property was - set by the user, if not we will use the alignment by looking - at the direction of the widget. (#157439) - -2006-07-19 Matthias Clasen - - * modules/printbackends/file/gtkprintbackendfile.c - (file_printer_get_settings_from_options): Check if option - is NULL before using it. (#348014, Christian Persch) - - * gdk/x11/gdkx.h (gdk_font_lookup_for_display): When looking - up a font XID, add the XID_FONT_BIT. (#348001) - -2006-07-19 Richard Hult - - * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]): - * gdk/quartz/gdkpixmap-quartz.c (gdk_pixmap_new): Remove unused - variables to fix compiler warnings. - -2006-07-19 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init) - (gdk_window_set_type_hint, gdk_window_get_type_hint): - * gdk/quartz/GdkQuartzWindow.c - ([GdkQuartzWindow -canBecomeMainWindow]) - ([GdkQuartzWindow -canBecomeKeyWindow]): Implement type hints and - use them to determine which windows should be allowed to become - main and key windows. - -2006-07-19 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (_gdk_windowing_window_get_pointer): Get the position correctly - for the root window. Fixes bug #347976, patch by Dave Vasilevsky. - -2006-07-18 Matthias Clasen - - * NEWS: Updates - - * gtk/gtkdnd.c: Make the ipc widgets GtkWindows instead - of GtkInvisibles, and put them in the same window group - as the drag source, to avoid interactions between DND - and window groups. (#347277, Michael Wu, analysis by - Owen Taylor) - -2006-07-18 John (J5) Palmieri - - * modules/printbackends/cups/gtkprintbackendcups.c: - Make bits from my last commit are conditionally compiled - only if cups 1.2 is available. - -2006-07-18 John (J5) Palmieri - - * gtk/gtkprinteroption.h: - * gtk/gtkprinteroptionwidget.c: - * modules/printbackends/cups/gtkprintbackendcups.c: - add GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD, - GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE, - GTK_PRINTER_OPTION_TYPE_PICKONE_REAL, - GTK_PRINTER_OPTION_TYPE_PICKONE_INT, - and GTK_PRINTER_OPTION_TYPE_PICKONE_STRING options to support a subset - of the new CUPS 1.2 custom options spec - -2006-07-18 Federico Mena Quintero - - Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the - location entry in Save mode preserve the stuff from - set_filename(); it was overwriting it with $cwd. - - This is the same fix for - http://bugzilla.gnome.org/show_bug.cgi?id=347066 - - * tests/autotestfilechooser.c: (test_black_box): Added black-box - test for set_filename() and set_current_name(). - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to - GClassInitFunc in the call to g_type_register_static_simple(), to - avoid a compiler warning. - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): - Added a browse_files_last_selected_name field. We'll copy the - logic from gtkfilesel.c to see when to clear the location entry. - (struct _GtkFileChooserDefault): Removed the - processing_pending_selections field. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): - Free impl->browse_files_last_selected_name. - (pending_select_paths_process): Don't use - impl->processing_pending_selections. - (update_chooser_entry): Keep track of the name that was last - selected in the file list. We use this to know when to clear the - location entry. The logic is similar to that of - gtkfilesel.c:gtk_file_selection_file_changed(). This also lets us - get rid of the processing_pending_selections flag. - (update_chooser_entry): Clear the entry if we didn't have a - selection before. - (location_switch_to_filename_entry): Do not set $cwd as the - contents of the location entry here... - (location_popup_handler): ... but do it here instead, only as the - result of the user asking to turn on the location entry. - (gtk_file_chooser_default_get_paths): If the location entry is - empty, do the fallback of seeing if it is sensible to say that - $cwd is the selected path. - (gtk_file_chooser_default_update_current_folder): Don't set the - text of the location entry; this is no longer needed with the - fixes above. - (shortcuts_activate_iter): Clear the location entry when - activating a shortcut if we are not in SAVE mode. This keeps the - contents of the location entry consistent even when switching - folders via the shortcuts. - -2006-07-18 Michael Natterer - - * gtk/gtkrange.c: remember the sensitivity of the steppers in - GtkRangeLayout, update it in gtk_range_calc_layout() and check for - changes in layout_changed(), so adjustment changes that leave the - slider position unchanged are still able to update the steppers' - sensitivity. Fixes bug #347902. - -2006-07-18 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): - oooops. - -2006-07-18 Kristian Rietveld - - Fix for #335012, reported by Matteo Nastasi. - - * gtk/gtktreeview.c (gtk_tree_view_real_start_editing): if the - requested space of the editable is smaller than the cell area, - put it up above the middle of the cell area. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): - configure the inner border to cover the cell area if the - entry requisition is smaller than the cell_area. - -2006-07-18 Kristian Rietveld - - Another fix for #164884. - - * gtk/gtktreeprivate.h: add in_grab field. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): only save press - to possibly begin a drag when there's no grab pending, - (gtk_tree_view_grab_notify): toggle in_grab field. - -2006-07-18 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_realize): use MAX - priv->width, alloc.width when allocating the bin_window, - (gtk_tree_view_bin_expose): don't overrun bin_window when drawing - the flat box. - -2006-07-17 Richard Hult - - * gtk/gtkdnd-quartz.c: (gtk_drag_begin_internal): Set an empty - NSImage if there is none, covers the cases where applications try - to set a pixmap which is not supported by the quartz backend. - -2006-07-17 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (create_key_event): - * gdk/quartz/gdkkeys-quartz.c: (_gdk_quartz_key_event_type), - (_gdk_quartz_key_is_modifier): - * gdk/quartz/gdkprivate-quartz.h: Fill in string, length and - is_modifier for key events. Map some more keys into gdk keyvals. - -2006-07-17 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Don't undo - reordering if we haven't been reordering. (#346836, Ed Catmur) - -2006-07-17 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c: Add escape to the list of special - keys, to get the escape key working. - -2006-07-17 Richard Hult - - * gdk/quartz/gdkdisplay-quartz.c (gdk_display_open): Initialize - GdkInput. - -2006-07-17 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_build_tree): check if the iter - still has children after running the test-expand-row func, - (gtk_tree_view_real_expand_row): ditto. (#302127, Billy Biggs). - -2006-07-17 Michael Natterer - - * gtk/gtkcalendar.c (calendar_timer): use 5 * gtk-timeout-repeat, - just as many other widgets. Makes the calendar arrow buttons - usable for quick month/year skipping (#142582). - -2006-07-17 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (_gdk_windowing_window_destroy_foreign): Fix comment. - (gdk_window_set_title): Surround by release pool macros. - (gdk_window_get_type_hint): Fix return value. - (gdk_window_get_frame_extents): Implement. - (gdk_window_iconify): Use the release pool macros. - (gdk_window_deiconify): Likewise. - (_gdk_windowing_get_pointer): Implement. - (gdk_window_get_deskrelative_origin, gdk_window_get_root_origin): - Implement. - - * gdk/quartz/gdkevents-quartz.c (create_crossing_event) - (create_scroll_event, convert_window_coordinates_to_root): - Set coordinates and root coordinates for crossing and scroll - events. - - * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): - Map some more cursors. - -2006-07-17 Matthias Clasen - - * gdk/gdkwindow.c (gdk_window_get_pointer): Add some more - detail to the docs. (#311399, Nikos Kouremenos) - - * gtk/gtkentrycompletion.c (gtk_entry_completion_set_match_func): - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_set_text_column): - Fix typos in the docs. - -2006-07-16 Matthias Clasen - - * gtk/gtkassistant.c: Some small documentation - fixups. (#347711, Guillaume Cottenceau) - - * gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark - the text of the location label as translatable. - - * gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in - the docs. (#347211, Kouhei Sutou) - - * configure.in: Make the test for the sync extension - more robust. (#347315, Tommi Komulainen) - -2006-07-13 Michael Emmel - - * gdk/directfb/gdkdrawable-directfb.c - Remove +1 in fill and draw rect this may be wrong. - Commented out update calls left for reference the should not be needed. - Comment out subsurface for cairo remove when proved its not needed - * gdk/directfb/gdkkeys-directfb.c - Allow multiple calls and return if initalized - * gdk/directfb/gdkmain-directfb.c - Make sure string is malloced since its freed by apps - * gdk/directfb/gdkprivate-directfb.c - Added back pointer to window for paintable impl - * gdk/directfb/gdkvisual-directfb.c - Fix for Bug 346733 make sure visual list is populated - * gdk/directfb/gdkwindow-directfb.c - Finally removed uneeded pixmap buffering now implements GdkPainter - -2006-07-11 Emmanuele Bassi - - * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers), - (gtk_recent_chooser_get_show_numbers): Check if the chooser - implementation supports the "show-number" property and use a - meaningful warning in case it doesn't; tell developers not to - use these functions. - -2006-07-10 Matthias Clasen - - * gtk/gtkaction.c: - * gtk/gtkiconview.c: - * gtk/gtkprintbackend.c: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkscrolledwindow.c: - * gtk/gtktoolbar.c: Fix some typos with inline property - docs. (#347065, John Finlay) - - * gtk/gtkfilechooserbutton.c: Fix some memory handling - issues. (#347043, Chris Wilson) - -2006-07-10 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c (scan_for_uri_cb): Do not - leak the URI returned by the model; select the row when - calling gtk_recent_chooser_set_current_uri(). (patch by - Torsten Schoenfeld) - -2006-07-10 Matthias Clasen - - * gtk/gtkpapersize.c (gtk_paper_size_is_equal): Fix a - typo in the docs. (#347041, Kouhei Sutou) - - * gtk/gtkprintcontext.c (gtk_print_context_get_height): Fix - a typo in the docs. (#347032, Kouhei Sutou) - - * gtk/gtkassistant.c (gtk_assistant_focus): Don't assume - that priv->current_page is non-NULL. (#347048, Guillaume - Cottenceau) - - * gtk/gtk.symbols: Add some missing deprecation guards. - - * gdk/directfb/gdkwindow-directfb.c: Don't confuse gtk-doc. - -2006-07-10 Richard Hult - - * gdk/quartz/gdkpixmap-quartz.c: (gdk_bitmap_create_from_data): - Account for alignment when reading xbm data. (#346721, patch - by Dave Vasilevsky) - -2006-07-09 Richard Hult - - * gdk/quartz/gdkgeometry-quartz.c: - * gdk/quartz/gdkmain-quartz.c: - * gdk/quartz/gdkpixmap-quartz.c: - * gdk/quartz/gdkwindow-quartz.c: - * gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk, - bug #346713. - -2006-07-09 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool - in all cases. - (move_resize_window_internal): Surround by alloc/release pool. - Patch from Brian Tarricone, fixes bug #347018. - -2006-07-08 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (update_label_and_image): Don't - leak an empty list. (#346970, Chris Wilson) - -2006-07-08 Behdad Esfahbod - - * gdk/gdkpango.c (layout_iter_get_line_clip_region), - (gdk_pango_layout_line_get_clip_region), - (gdk_pango_layout_get_clip_region): Fix quadratic implementation of - gdk_pango_layout_get_clip_region into a linear one. (#337910, patch - by Priit Laes) - -2006-07-07 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: Generate a grab broken event when - appropriate. Fixes bug #346603, patch from Dave Vasilevsky. - - * gdk/quartz/gdkevents-quartz.c: - * gdk/quartz/gdkkeys-quartz.c: - * gdk/quartz/gdkprivate-quartz.c: Another patch from Dave Vasilevsky, - fixes bug #346605. Makes modifier key events being sent properly. - -2006-07-07 Michael Natterer - - * gtk/gtkrc.c - * gtk/gtksettings.c: fix canonicalization of property names which - was broken after recent constant string cleanup. - -2006-07-07 Matthias Clasen - - * gtk/gtkicontheme.c: Small memory savings. - -2006-07-06 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: Get the display name - for the home directory. (#346498, Dennis Cranston, - patch by Andreas Köhler) - -2006-07-06 Behdad Esfahbod - - * configure.in: Drop required Pango version down to 1.12.0. (#346597) - -2006-07-06 John (J5) Palmieri - - * modules/printbackends/cups/gtkprintbackendcups.c: - (cups_request_printer_list_cb): Get the name of the first printer - in a class to use when requesting a PPD - (cups_request_ppd_cb, cups_request_ppd): Fix the parameters of - the "details-acquired" signal emittion - (cups_request_ppd): get the ppd name from the cups printer - - * modules/printbackends/cups/gtkprintercups.c (gtk_printer_cups_get_ppd_name): - New method for getting the name of the ppd we should request - -2006-07-06 Michael Natterer - - * gtk/gtkrc.c: added a bunch of utility functions to copy - icon_factories and color_hashes between GtkRcStyles and make sure - that newly created, duplicated and merged styles have access to - all icon_factories and color_hashes they need. Fixes bug #346668. - -2006-07-06 Matthias Clasen - - * gtk/*.c: Improve the -/_ consistency in signal and - property names, reducing the amount of near-duplicate strings. - -2006-07-05 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't - leak dash_list. (#346639, Christian Persch) - - * gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above) - (gtk_window_set_keep_below): Fix some assignments involving - booleans. (#346467, Christian Persch) - -2006-07-03 Matthias Clasen - - * gtk/gtkgamma.c: Use serialized pixbufs instead of xpms. - -2006-07-03 Runa Bhattacharjee - - * configure.in: Added Bengali India (bn_IN) to ALL_LINGUAS. - -2006-06-26 Michael Emmel - - * gdk/directfb/gdkdirectfb.h: changed ifdef to compile with api introduced - in directfb 0.9.25 - * gdk/directfb/gdkwindow-directfb.c: changed ifdef to 0.9.25 - -2006-07-03 Matthias Clasen - - * configure.in: Bump version - -2006-07-02 Matthias Clasen - - * === Released 2.10.0 === - - * gtk/gtkmenubar.c (window_key_press_handler): Treat - "" like NULL when parsing the menu-bar-accel setting. - * gtk/gtkmenu.c (gtk_menu_key_press): Here too. - (#346420, Yevgen Muntyan) - - * configure.in: Require cairo 1.2 and GLib 2.12, - set version to 2.10 - -2006-06-30 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_tab_space): Remove - redundant assignments to page, which may cause NULL - dereferences. (#346334, Dave Vasilevsky) - - * demos/gtk-demo/editable_cells.c: Portability fix. - (#346375, Thomas Klausner) - - * NEWS, README.in, INSTALL.in: Updates - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize): - Don't leak default_sort_data. (#346341, Christian Weiske) - - * gtk/Makefile.am: Make sure all win32-specific printing - sources are distributed. (#346312, Erik van Pienbroek) - - * gtk/gtkprinter.c (gtk_enumerate_printers): Always call the - destroy notify. (#346027, Christian Persch) - - * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges): - Documentation updates. - - * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings): - Don't leak the ranges. (#346237, Carolyn MacLeod) - - * gtk/gtkprintjob.[hc]: Add a PREVIEW capability to hide - the preview button. (#346113, Christian Persch) - - * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): - Hide the preview button depending on the capability. - - * gtk/gtkprintoperation-unix.c: Set the PREVIEW capability. - -2006-06-29 Bill Skaggs - - * gtk/gtkprogress.h: revert last change by Matthias -- it broke the - build of gtkprogressbar. - -2006-06-29 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the - size of the drawable for the root window when the screen size - changes. (#346102, Sven Herzberg) - -2006-06-29 Matthias Clasen - - * NEWS: Updates - - * gtk/gtkprintoperation.c: Clarify docs for the allow-async - property. (#346108, Christian Persch) - -2006-06-28 Matthias Clasen - - * gtk/gtkprinter.c: - * gtk/gtkprintunixdialog.c: - * gtk/gtkprintoperationpreview.c: - * gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context): - * gtk/gtklabel.c (gtk_label_set_line_wrap_mode): - * gtk/gtkentry.c (gtk_entry_new): - * gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label): - * gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation - additions and fixes. - - * gtk/gtkaspectframe.h: - * gtk/gtkaboutdialog.c: - * gtk/gtkcalendar.c: - * gtk/gtkinputdialog.c: - * gtk/gtk.symbols: Remove unnecessary includes. - - * gtk/gtkprogress.[hc]: - * gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION, - remove unnecessary includes. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Only select the - XKB event details we actually care about. (#346079, Ryan Lortie) - -2006-06-27 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_set_model): cancel the - expand collapse timeout when unsetting the model (Fixes #327164, - reported by Daichi Kawahata). - -2006-06-26 Michael Emmel - - * gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24 - * gdk/directfb/gdkwindow-directfb.c: ifdef depend on directfb cvs - -2006-06-26 Kristian Rietveld - - Make the insert and set functions somewhat more convenient. - (#343841, David Necas). - - * gtk/gtkliststore.c (gtk_list_store_insert_with_values): allow - a NULL iter, - (gtk_list_store_insert_with_valuesv): likewise. - - * gtk/gtktreestore.c (gtk_tree_store_insert_with_values): ditto, - (gtk_tree_store_insert_with_valuesv): likewise. - -2006-06-26 Michael Natterer - - * gtk/gtktextview.c (gtk_text_view_size_allocate): revert "keep - cursor visible when size changes" since it breaks things (#344874). - -2006-06-26 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_cell_view_menu_item_new): Avoid - a refcounting leak in the python bindings. (#344876, Phil Dumont) - -2006-06-25 Matthias Clasen - - * gtk/gtkprinter.c (gtk_enumerate_printers): Make - this work when the enumeration is stopped early. (#344074, - Felipe Heidrich) - -2006-06-24 Matthias Clasen - - * gtk/gtkcombobox.c: Update the height as well - when changing fonts. (#321393, Billy Biggs) -` -2006-06-23 Christian Rose - - * configure.in: Added "ur" to ALL_LINGUAS. - -2006-06-22 Matthias Clasen - - Fix #345663, reported by Kazuki Iwamoto - - * gtk/gtkaction.c: Include gtkiconfactory.h - - * gtk/gtkactiongroup.c: Include gtkicontheme.h - -2006-06-22 Michael Natterer - - * gtk/gtktextview.c (gtk_text_view_size_allocate): keep the cursor - visible when the size changes. Fixes bug #344874. - -2006-06-22 Matthias Clasen - - * gtk/gtkpintjob.h: Add a note about updating the registration. - * gtk/gtkprintjob.c (gtk_print_capabilites_get_type): Add missing - capabilitites. - - * modules/printbackends/cups/gtkprintbackendcups.c: Remove - an unused variable and make it compile with Cups 1.1. (#345644, - Joseph Sacco) - -2006-06-21 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.9.4 === - - * modules/printbackends/file/gtkprintbackendfile.c: - Apply a patch by Christian Persch to support PostScript and PDF - output. - - * gtk/gtkprinteroptionwidget.c (radio_changed_cb): Don't free - the value. - -2006-06-21 Matthias Clasen - - Apply a patch by John Palmieri to use buffered io using - GIOChannels, clean up error handling and support Cups 1.2 - api in the printing code. - - * acconfig.h: - * configure.in: Detect Cups 1.2 - - * gtk/gtkdebug.h: - * gtk/gtkmain.c: Add a printing debug key. - - * gtk/gtkprintbackend.[hc]: Remove the GError parameter from - gtk_print_backend_print_stream, and take a GIOChannel instead - of an fd. - - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.c: Replace the fd parameter of - _gtk_printer_create_cairo_surface by a GIOChannel. - - * gtk/gtkprintjob.[hc]: Remove the GError parameter from - gtk_print_job_send and make it return void. - - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintjob.c: Adjust callers, add some debugging support. - - * modules/printbackends/Makefile.am: Fix DIST_SUBDIRS. - - * modules/printbackends/cups/Makefile.am: - * modules/printbackends/lpr/Makefile.am: Add debug CFLAGS. - - * modules/printbackends/cups/gtkcupsutils.[hc]: - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/file/gtkprintbackendfile.c: - * modules/printbackends/lpr/gtkprintbackendfile.c: Adapt to - the GIOChannel and GError changes, add debug output - -2006-06-21 Matthias Clasen - - * gtk/gtkprinter.c (gtk_enumerate_printers): Remove an - unused variable. - - * NEWS: Updates - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix the registration - of the grid-lines property (#345456, Murray Cumming) - -2006-06-21 Kristian Rietveld - - Allocate space for the grid lines when they are enabled. - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): make sure the cell - area does not overlap with the grid lines, also draw the line for - "the next cell" in the last loop iteration, make sure the cursor falls - in between the grid lines, - (validate_row): request extra space for the grid lines. - -2006-06-21 Matthias Clasen - - * gtk/gtkprintbackend.h: - * gtk/gtkprintbackend.c (gtk_print_backend_print_stream): Add an - GError parameter. - - * modules/printbackends/file/gtkprintbackendfile.c - (gtk_print_backend_file_print_stream): - * modules/printbackends/lpr/gtkprintbackendlpr.c - (gtk_print_backend_lpr_print_stream): - * modules/printbackends/cups/gtkprintbackendcups.c - (gtk_print_backend_cups_print_stream): - * gtk/gtkprintjob.c (gtk_print_job_send): Update all callers and - implementations. - - * modules/printbackends/cups/gtkprintbackendcups.c: Remove the - GError parameter from cups_request_execute(), and various other - cleanups. - -2006-06-20 Matthias Clasen - - * gtk/gtkprintjob.c (gtk_print_job_class_init): Make - track-print-status a property. - -2006-06-20 Murray Cumming - - * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): - Correctly register the done signal - it sends an enum, not an int. - -2006-06-20 Christian Persch - - * configure.in - * gtk/Makefile.am - * modules/printbackends/Makefile.am - A modules/printbackends/file/.cvsignore - A modules/printbackends/file/Makefile.am - A modules/printbackends/file/gtkprintbackendfile.c - A modules/printbackends/file/gtkprintbackendfile.h - R modules/printbackends/pdf/*: - Rename "pdf" backend to "file" backend. Step 2 from bug #339592. - -2006-06-20 Christian Persch - - * gtk/gtkprinteroptionwidget.c: (filesave_changed_cb), - (alternative_set), (construct_widgets): Convert input to filename - encoding and construct an URI from that. - * gtk/gtkprintsettings.h: Add OUTPUT_FILE_FORMAT and OUTPUT_URI keys. - * modules/printbackends/pdf/gtkprintbackendpdf.c: Use those defines. - Step 1 from bug #339592. - -2006-06-20 Matthias Clasen - - * gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add to docs. - - Fix handling of stock items without icons in action-based - ui. (#342458, Callum McKenzie) - - * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Set - the stock id even if there is no icon for it. - - * gtk/gtkaction.c (connect_proxy): - * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only - construct a stock icon if the stock item has an icon. - -2006-06-20 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better - fix. - - * gtk/gtk.symbols: - * gtk/gtkprintsettings.h: - * gtk/gtkprintsettings.c: Remove unused print-to-file setting. - -2006-06-20 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_stop_reorder): unset the pressed - button here. - (gtk_notebook_grab_notify): stop reorder when the widget becomes - shadowed. Fixes bug #335873 - -2006-06-18 Christian Persch - - * gtk/gtkdialog.c: (gtk_dialog_class_init): Set default action area - spacing to HIG-compliant 6px. Bug #345106, follow-up from bug #163850. - -2006-06-20 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_enable_model_drag_dest): - Small doc fix. (#345176, Claudio Saavedra) - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_functions): Update - the docs. (#345194, Yevgen Muntyan) - -2006-06-19 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Don't leak - dash_list. - (gtk_tree_view_set_column_drag_info): Don't crash if the - column_drop_func says always no. (#344850, Christian Weiske) - - Make transparent tray icons work. (#320034, based on a - patch by Dan Winship) - - * gtk/gtktrayicon-x11.c (gtk_tray_icon_init): Make trayicons - app-paintable and non-double buffered. - - * gtk/gtkrc.c (_gtk_rc_init): Give tray icons a parent-relative - background in the default style. - -2006-06-19 Matthias Clasen - - * gtk/updateiconcache.c: Marks strings for translation. (#314278, - Claudio Saavedra) - - * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix): Don't - call g_str_has_prefix on a NULL strung. (#344897, Tommi Komulainen) - - * gtk/gtkfilechooserdefault.c: - Avoid a near-duplicate string and add some - translator comments. (#345320, #345321, Hendrik Richter) - -2006-06-19 Federico Mena Quintero - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder) - (gtk_file_chooser_get_current_folder_uri): Clarify the use of - these functions, to avoid the case where a chooser is in - SELECT_FOLDER mode and people mistakenly use _get_current_folder() - to get the selection: they should use _get_filename() instead. - -2006-06-19 Alexander Larsson - - * gtk/gtk.symbols: - * gtk/gtklabel.[ch]: - Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and - a wrap-mode property that lets you set the PangoWrapMode. - -2006-06-19 Matthias Clasen - - * gtk/gtk.symbols: Add new functions - - * gtk/gtkprinter.h: - * gtk/gtkprinter.c (gtk_enumerate_printers): New function - to list all printers (#344074, Felipe Heidrich) - - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.c (_gtk_printer_get_options) - - * gtk/gtkprintbackend.h: Add a capabilities argument to the - printer_get_options method and to the _gtk_printer_get_options - function - - * modules/printbackends/lpr/gtkprintbackendlpr.c - (lpr_printer_get_options): - * modules/printbackends/pdf/gtkprintbackendpdf.c - (pdf_printer_get_options): - * modules/printbackends/cups/gtkprintbackendcups.c - (cups_printer_get_options): - * gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust - callers and implementations. - - * gtk/gtkprintjob.h: Add a GENERATE_PS capability. - * gtk/gtkprintunixdialog.c (is_printer_active): And use it here. - -2006-06-18 Matthias Clasen - - * tests/testnouiprint.c (main): Don't open a display connection. - - * gtk/gtkprintbackend.c (gtk_print_backend_load_modules): Make - this work without a display connection. (339702, Alexander Larsson) - - * gtk/gtkwindow.c (gtk_window_move): Small doc addition. - (#345275, Behdad Esfahbod) - -2006-06-17 Matthias Clasen - - * modules/printbackends/pdf/gtkprintbackendpdf.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: Fix a typo: - s/Extention/Extension/. - - * gtk/gtkprintunixdialog.c: Clean up the handling of - printer-specific options. There is just one extension point on the - main tab now, and all options in the GtkPrintDialogExtension - group are put there. - - * gtk/gtkprinteroption.h: - * gtk/gtkprinteroption.c: Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE - which is semantically the same as PICKONE, but is intended to - show all options all the time. - - * gtk/gtkprinteroptionwidget.c: Implement ALTERNATIVE as radio - group. - -2006-06-16 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: Use a stock icon - for printers. - - * gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow - additional columns. - - * gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the - printer_create_cairo_surface method. - - * modules/printbackends/pdf/gtkprintbackendpdf.c: - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * gtk/gtkprinter.c (_gtk_printer_create_cairo_surface): - * gtk/gtkprinter-private.h: - * gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't - leak match data. (#345107, Christian Weiske) - - * gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict - label out of the button box. (#339456, Christian Persch) - - * gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets - when ignore_hidden is TRUE. (#344707, Christian Persch) - - * configure.in: Require cvs glib. - - * gtk/gtkprintoperation-unix.c: - (_gtk_print_operation_platform_backend_create_preview_surface): - Don't use a temporary directory for preview files, since it - is not clear who cleans it up. Instead, use g_mkstemp() directly - to create a temp pdf file, and make the preview app responsible - for cleaning it up. - - * gtk/gtkprintbackend.c: Move the registration of the - gtk-print-preview-command setting from gtkprintbackend.c to - gtkprintoperation-unix.c, to make sure it is registered before - the first use. Also, document the two settings. - - * tests/print-editor.c: Add a "Preview" menu item. - - * gtk/gtkprintoperation-unix.c (handle_print_response): When starting - a preview from the print dialog, set the action to PREVIEW. - - * gtk/gtkprintoperation.c: Cosmetic changes. - -2006-06-16 Matthias Clasens - - * gtk/gtkprintoperation-unix.c: Mark the preview filename - as translatable (#345093, Christian Persch) - -Fri Jun 16 11:49:53 2006 Tim Janik - - * fixed #337882 by applying patches from Tommi Komulainen: - - * gtk/gtkprogressbar.c: - (gtk_progress_bar_paint_activity): - (gtk_progress_bar_get_activity): Move activity bar offset and size - calculations to separate function. - (gtk_progress_bar_paint_text): Allow caller to specify offset for the - prelight part in addition to width. - (gtk_progress_bar_paint): Paint the text also in activity mode, #337882. - - * gtk/gtkprogressbar.c: (gtk_progress_bar_paint_text): Paint the - prelighted text on top of the normal rather than side by side, to - simplify painting text in activity mode. - -2006-06-16 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Include - gtkprinter-private.h (#345038, Christian Persch) - -2006-06-15 Matthias Clasen - - * modules/printbackends/pdf/gtkprintbackendpdf.c: Use the - stock floppy icon. - - * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability - when creating a print dialog. (noted by Yevgen Muntyan) - -2006-06-15 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_motion_notify): use - gdk_window_get_pointer() to get pointer coordinates, but limit its - calls to a maximum of 45 times per second for not being too - CPU/network abusive. stop drag operation if (event->state & - GDK_BUTTON1_MASK) is FALSE to prevent tabs from "adhering" to the - pointer. Fixes bug #341571 - (gtk_notebook_calculate_tabs_allocation), (gtk_notebook_button_press): - get rid of the "tab jumps to pointer" sensation when beginning a drag - by using the pointer offset in the tab when the drag begins as an - anchor. - (gtk_notebook_redraw_tabs_union): remove, it wasn't worth the little - performance gain and could draw artifacts under some circumstances. - (gtk_notebook_drag_end): do not reparent the detached tab label until - the animation has ended. - -2006-06-15 Bastien Nocera - - * configure.in: Update the Cairo requirements (#345008) - -2006-06-15 Matthias Clasen - - * gtk/gtkprintoperationpreview.c - (gtk_print_operation_preview_base_init): Fix errors in the - signal definitions. (#344891, Marko Anastasov) - -2006-06-14 Michael Emmel - - * configure.in: updated mininum dfb to 0.9.24 - * gdk/directfb/gdkdirectfb.h: added more directfb wrapper functions - * gdk/directfb/gdkdrawable-directfb.c: wrapper functions and patch from - Claudio Ciccani to use a subsurface for cairo - * gdk/directfb/gdkvisual-directfb.c: changed initalization sequence - * gdk/directfb/gdkwindow-directfb.c: corrected reparent for toplevels - * gdk/directfb/gdkdisplay-directfb.c: changed initilization sequence - to a more rational order - -2006-06-14 Federico Mena Quintero - - * perf/gtkwidgetprofiler.c (gtk_widget_profiler_profile_expose): - New function; it lets us time the expose sequence of a widget. - (create_widget): New helper function. - (map_widget): New helper function. - (profile_boot): Use create_widget() instead of doing it by hand. - (profile_map_expose): Use map_widget() instead of doing it by hand. - - * perf/main.c (main): Call gtk_widget_profiler_profile_expose() as well. - -2006-06-14 Matthias Clasen - - * gtk/gtkpagesetupunixdialog.c: Use GKeyFile for the custom - filename storage. (#344867, Christian Persch) - - * gtk/gtkselection.c: Call init_atoms before using atoms - in several functions. (#344743, John Finlay) - - * gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func): - Allow NULL to reset to default. (#344838, John Finlay) - - * gtk/gtkprintjob.h: Collect booleans into a bitfield - (#344765, Christian Persch) - -2006-06-13 Matthias Clasen - - * configure.in: Bump version - -2006-06-12 Matthias Clasen - - * === Released 2.9.3 === - - * NEWS: Updates - - * gtk/gtk.symbols: Add gtk_tree_view_grid_lines_get_type. - - * configure.in: Set interface age to 0 - -2006-06-12 Kristian Rietveld - - Introduce grid and tree lines in GtkTreeView. (#106406, - Martyn Russell). - - * gtk/gtktreeprivate.h: add new fields to GtkTreePrivate. - - * gtk/gtkenums.h: add GtkTreeViewGridLines. - - * gtk/gtktreeview.[ch] (gtk_tree_view_set_grid_lines), - (gtk_tree_view_get_grid_lines), - (gtk_tree_view_set_enable_tree_lines), - (gtk_tree_view_get_enable_tree_lines): new API, - (gtk_tree_view_class_init): new properties, - (gtk_tree_view_init), (gtk_tree_view_{get,set}_property), - (gtk_tree_view_realize), (gtk_tree_view_draw_grid_lines), - (gtk_tree_view_bin_expose): implement. - - * gtk/gtk.symbols: update. - -2006-06-12 Matthias Clasen - - * gtk/gtkprintunixdialog.c (is_printer_active): Use - gtk_printer_accepts_ps here. - - * modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init): - Mark the virtual "Print to PDF" printer as not accepting PS. - - * gtk/gtk.symbols: - * gtk/gtkprinter.h: - * gtk/gtkprinter.c: Add two new properties accepts-pdf and - accepts-ps (with getters) to allow learning supported formats. - - * gtk/gtkprintjob.h: Add a GTK_PRINT_CAPABILITY_GENERATE_PDF - capability. - - * gtk/gtkprintunixdialog.c: Use it here to hide "Print to PDF" - from the printer list. (#339592, Christian Persch) - - * gtk/gtkfilechooserdefault.c: Add support for pasting - filenames into the filechooser. (#153212, Bastian Nocera) - -2006-06-12 Kristian Rietveld - - * gtk/gtktreemodelfilter.[ch] - (gtk_tree_model_filter_convert_child_iter_to_iter), - (gtk_tree_model_filter_convert_child_path_to_path): report status - in return value instead of spewing assertions. (#335729, Yevgen - Muntyan). - -2006-06-12 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize): - Clean up user data. (#344624, Christian Weiske) - - * NEWS: Updates - - * gtk/gtkprintjob.c: - * gtk/gtkprintbackend.c: - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintunixdialog.c: Cosmetic cleanups. - -2006-06-11 Matthias Clasen - - * gtk/gtkassistant.c: Add an accessible implementation in - order to make the buttons visible to a11y tools. (pointed out - by David Malcolm, #343945) - - * gtk/gtkprintoperation-win32.c: Store scale as a percentage. - (#344560, Christian Persch) - - * gtk/gtkprogressbar.h: Add a dirty flag to GtkProgressBar.n/ - * gtk/gtkprogressbar.c: Defer updating of the offscreen - pixmap until expose. (#344543, Chris Wilson) - -2006-06-11 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c - (get_is_recent_filtered): - * gtk/gtkrecentchoosermenu.c - (get_is_recent_filtered): - Do not leak the groups string vector. (#344607, - John Finlay) - -2006-06-11 Tor Lillqvist - - * gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739, - Kazuki Iwamoto) - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n - to \r\n also when storing CF_UNICODETEXT (UTF-16) in the - Clipboard. (#344496) - -2006-06-10 Matthias Clasen - - * gtk/gtkrecentchooserwidget.c - (gtk_recent_chooser_widget_new_for_manager): - * gtk/gtkrecentchoosermenu.c - (gtk_recent_chooser_menu_new_for_manager): - Allow NULL to mean the default manager. (#344530, - John Finlay) - - * gtk/gtkprintoperation-unix.c (page_setup_data_free): - Check if rdata->page_setup is set before unreffing it. - (#344518, Christian Persch) - - * gtk/gtkprintoperation.h: Remove an extra comma. (#344528, - Elijah Newren) - - * modules/printbackends/gtkprintbackendpdf.c - (gtk_print_backend_pdf_print_stream): Use the passed in - destroy notify. (#344513, Christian Persch) - - * configure.in: Require cairo 1.1.7 - - * gtk/gtkprintoperation.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: Use - cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution. - (#344512, Elijah Newren) - - * gdk-2.0-uninstalled.pc.in: Make compiling against uninstalled - gdk work. (#344386, Masatake Yamamoto) - - * gtk/gtkprintoperation.c: Register create_custom_widget as - an object-returning signal. (#344505, Marko Anastasov, patch - by Christian Persch) - - * gtk/gtkmarshalers.list: Add the right marshaller. - - * gtk/gtk.symbols: - * gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a - flags type. (#344504, Marko Anastasov) - -2006-06-09 Benjamin Berg - - * gtk/gtkmenuitem.c: (get_offsets): Take GtkMenu::horizontal-padding - into account when placing submenus (#344290) - -2006-06-09 Michael Natterer - - * gtk/gtkrange.c: added new style properties "trough-side-details" - and "draw-trough-under-steppers" and fixed the "stepper-spacing" - style property. Fixes bugs #342339 and #342249. - - "draw-trough-under-steppers", when set to FALSE, starts trough - drawing next to the steppers instead of drawing the trough "below" - (around) the steppers. If "stepper-spacing" is set to any value - larger than zero, "draw-trough-under-steppers" is set to FALSE - automatically to avoid rendering an area that looks clickable but - isn't. - - (gtk_range_calc_layout): honor draw-trough-under-steppers. - Don't reserve stepper-spacing on sides of the range that don't - have steppers. - - (gtk_range_expose): changed drawing accordingly. Implement - "trough-side-details" which enables drawing of the upper and lower - parts of the trough with different details. This is useful for - theme engines which want to draw these parts differently. - - (coord_to_value): correctly take all rendering options into - account. stepper-spacing > 0 caused jumping and otherwise - strangely behaving ranges before. - - (other functions): changed accordingly. - -2006-06-09 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc): - Call ReleaseDC() on DCs acquired with GetDC() (for windows), and - DeleteDC() on DCs acquired with CreateCompatibleDC() (for - bitmaps). According to MSDN, this is the correct thing to do, even - if always using DeleteDC() seems to have worked fine in - practice. (#337491, Chris Wilson) - -2006-06-08 Matthias Clasen - - * tests/testprint.c: Update for api changes. - - * gtk/gtkprintoperation.c: Fix some copy-and-paste errors, - and rename the pdf-target property to export-filename. - - * gtk/gtkfilechooserdefault.c: Turn off profiling code. - - * tests/print-editor.c: Update for api changes. - - * gtk/gtk.h: Include gtkprintoperationpreview.h - - * gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): - Use g_return_val_if_fail (#344288, Kazuki Iwamoto) - - * gtk/gtkprintbackend.h: Don't include gtkprinter-private.h here. - - * gtk/gtkprintunixdialog.c: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintjob.c: - * gtk/gtkprintbackend.c: Instead include it here. - - * gtk/gtk.symbols: - * gtk/gtkprintoperation.h: - * gtk/gtkprintoperation.c: Rename pdf_target to export_filename. - -2006-06-08 Matthias Clasen - - * gtk/gtkprintoperation.h (GtkPrintOperationResult): Get - rid of GTK_PRINT_OPERATION_RESULT_PREVIEW. - - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.c: Update all users. - -2006-06-08 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): - [WM_WINDOWPOSCHANGED] Replace identical code as in - handle_configure_event() with call to that function. - [WM_SIZING] Fix implementation of aspect ratio hints. (#344244) - The hints are for the geometry of the client area, not of the - window including decorations. Improve resizing behaviour in the - presence of aspect hints, to be more in line with typical X window - managers. - -2006-06-08 Matthias Clasen - - * gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give - GtkToolButton the same treatment. - - * gtk/gtkbutton.c (gtk_button_style_set): Don't call - construct_child here, since some apps make assumptions - about the lifecycle of the constructed label. - -2006-06-08 Alexander Larsson - - * gtk/gtkprintoperation-unix.c (finish_print): - Fix up unix fallout from previous change. - -2006-06-08 Alexander Larsson - - * gtk/gtkprintoperation-win32.c: - Update windows to build with new APIs and first cut - at preview work. - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.c - Various updates needed when making the preview work on win32. - - * tests/print-editor.c: - Print, don't preview. - -2006-06-07 Matthias Clasen - - * gtk/gtkentry.c (popup_targets_received): Make Delete - menuitem insensitive if entry is not editable. (#344232, - Milosz Derezynski) - - * gtk/gtkprintoperation.c: Add some docs. - - * gtk/gtk.symbols: Add gtk_print_operation_set_allow_async. - - * gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async. - - * tests/testnotebookdnd.c: Update callers. - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook): - Add a destroy notify for the callback data. (#344209, - Murray Cumming) - -2006-06-07 Jürg Billeter - - * gtk/Makefile.am: Fix building gtkbuiltincache.h without system GTK+. - -2006-06-07 Alexander Larsson - - * gtk/gtk.symbols: - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.[ch]: - Clean up APIs: - Make async a setting instead of separate calls. - Combine settings like show_dialog, show_preview and pdf_target into - an action enum that you pass to gtk_print_dialog_run(). - - * tests/print-editor.c: - * tests/testnouiprint.c: - * tests/testprint.c: - * demos/gtk-demo/printing.c: - Update to new APIs - -2006-06-07 Bastien Nocera - - * configure.in: Update the ATK requirements (#344148) - -2006-06-07 Matthias Clasen - - * modules/printbackends/cups/gtkprintercups.c - (gtk_printer_cups_finalize): Fix a C99ism. - (#344123, Jens Ganseuer) - -2006-06-06 Behdad Esfahbod - - * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct - rounding of rect members. Improved docs. (#337603) - -2006-06-06 Matthias Clasen - - * gtk/gtkicontheme.c: Small optimization - -2006-06-05 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.9.2 === - - * configure.in: Set interface age to 0. - - * NEWS: Updates - - * gtk/gtkprintoperationpreview.c: Include gtkalias.h - - * gtk/gtk.symbols: Add some forgotten new functions. - -2006-06-04 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs): - (gtk_notebook_calc_tabs): Fix borderline cases in tab - visibility calculation. (#168105, Carlos Garnacho Parro) - - * gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right - XID from the xid table. (#341327, Sampo Savolainen, Tim Janik) - -2006-06-04 Behdad Esfahbod - - * gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838) - -2006-06-03 Richard Hult - - * gdk/quartz/Makefile.am: - * gdk/quartz/gdkspawn-quartz.c: Add spawn functions, copied from the - win32 backend. - -2006-06-02 Matthias Clasen - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation.h: - * gtk/gtkprintoperation.c: Add a show-preview property. - - * gtk/gtkprintoperation-unix.c: Implement it here. - - * gtk/gtkprintoperation-unix.c: Cleanups - -2006-06-02 Kristian Rietveld - - Rubber banding for GtkTreeView, #80127. Uses same method as - GtkIconView. - - * gtk/gtktreeview.c (gtk_tree_view_class_init), - (gtk_tree_view_init), (gtk_tree_view_get_property), - (gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding), - (gtk_tree_view_get_rubber_banding): add property, - (gtk_tree_view_button_press): start rubber banding if enabled and - press is on a non-selected node, - (gtk_tree_view_button_release): stop rubber banding, - (gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update - the rubber band, - (gtk_tree_view_bin_expose): draw rubber band if active, - (gtk_tree_view_stop_rubberband), - (gtk_tree_view_update_rubber_band_selection_range), - (gtk_tree_view_update_rubber_band_selection), - (gtk_tree_view_update_rubber_band), - (gtk_tree_view_paint_rubber_band): new functions. - - * gtk/gtktreeview.h: add new set/get function for rubber banding - property. - - * gtk/gtktreeprivate.h: add a bunch of new private fields. - -2006-06-02 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_leave_notify): revert fix of - #164884 because it's not a problem in gtk+ but in applications and - it breaks starting drags from the edge of a row. - -2006-06-02 Kristian Rietveld - - Separate sensitive/selectable properties. - - * gtk/gtktreeselection.c (tree_column_is_sensitive): remove, - (_gtk_tree_selection_row_is_selectable): remove checks to see if at - least one column is sensitive, - (gtk_tree_selection_real_select_node): remove code which enables - insensitive rows to always be unselected. - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code - that unselects a node if it just became insensitive. - - * gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function, - based on the at least one column sensitive check from - _gtk_tree_selection_row_is_selectable(), - (gtk_combo_box_list_setup): set selection function on tree selection. - -2006-06-02 Kristian Rietveld - - * gtk/gtktreemodelfilter.c - (gtk_tree_model_filter_convert_child_path_to_path): need to use - gtk_tree_model_filter_get_iter_full() since the path returned - by gtk_real_tree_model_filter_convert_child_path_to_path() includes - invisible nodes. - -2006-06-02 Matthias Clasen - - * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow - to return partial information. (#343625, Christian Persch) - - * gtk/gtkwindow.c (gtk_window_key_release_event): Chain up - to key_release, not to key_press. (#343677, Tommi Komulainen) - -2006-06-02 Alexander Larsson - - * gtk/Makefile.am: - Add gtkprintoperationpreview.[ch] - Set default preview command. Hardcoded for now. - - * gtk/gtkmarshalers.list: - Add BOOLEAN:OBJECT,OBJECT,OBJECT - - * gtk/gtkprintbackend.c: - Add preview command property. - - * gtk/gtkprintcontext.[ch]: - Make less dependent on PrintOperation for output settings - Externally set cairo_t and dpi. Resettable. - Create fontmap without metrics hinting (so that print preview - text layout doesn't depend on zoom level). - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.[ch]: - Initial work on print preview API and default implementation - using an external preview app. - - * gtk/gtkprintoperation-win32.c: - Some needed updates. Not done, needs more work. - - * gtk/gtkprintoperationpreview.[ch]: - New interface used in print preview api. - - * gtk/gtkprintunixdialog.c: - Add print preview dialog. - - * tests/print-editor.c: - Test using an custom print preview widget. - -2006-06-02 Emmanuele Bassi - - * gtk/gtkrecentmanager.c - (gtk_recent_info_get_application_info): Fix a typo (spotted by - Paolo Borelli and coverity). - -2006-06-01 Matthias Clasen - - * tests/testnotebookdnd.c: Small tweaks to test more things. - - * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add - an icon-spacing style property for the same purpose. - - * gtk/gtkbutton.c (gtk_button_class_init): Add an image-spacing - style property that allows to adjust the spacing between image - and label in button. (#320431, James Moger) - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation.c: - * gtk/gtkprintoperation-unix.c: Move the - PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync. - Also use a recursive mainloop instead of manually looping. - - * gtk/gtkprintoperation.c: Add some examples to the docs. - - * gtk/gtkprintbackend.c (gtk_print_backend_class_init): - Intern signal names. - - * gtk/gtkprintunixdialog.c: - * gtk/gtkprintoperation-unix.c: Use canonical signal names. - -2006-05-31 Matthias Clasen - - * gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some - formatting. - - * gtk/gtkprintoperation.c (print_pages_idle): Don't - treat manual_scale like a percentage, its a factor. - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Document - signals. (#302556, Stefan Kost) - -2006-05-31 Alexander Larsson - - * gtk/gtk.symbols: - * demos/gtk-demo/printing.c: - * tests/print-editor.c: - * tests/testnouiprint.c: - * tests/testprint.c: - * tests/testprintfileoperation.c: - Further updates from the GtkPrintContext functions rename. - - * modules/printbackends/cups/gtkcupsutils.c: - Always set requesting-user-name when doing cups requests. - -2006-05-31 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c: - Remove request_details_tag with g_signal_handler_disconnect, - not g_source_remove. (#343475) - -2006-05-31 Matthias Clasen - - * gtk/gtkprintcontext.h: - * gtk/gtkprintcontext.c: - * gtk/gtkprintoperation.c: - * gtk/gtkprintoperation-unix.c: Change some function names to be - longer and better. - gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context - gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap - gtk_print_context_create_context -> gtk_print_context_create_pango_context - gtk_print_context_create_layout -> gtk_print_context_create_pango_layout - Update all callers. - - * gtk/gtkpagesetupunixdialog.c: Don't run the custom page - size dialog. (#340444, Christian Persch) - - * demos/gtk-demo/main.c (main): Display comments in friendly - DodgerBlue instead of scary red. (#343444, Carol Spears) - - * gtk/gtkfontbutton.c: - * gtk/gtkcolorbutton.c: Clarify the docs of the color-set and - font-set signals. (#343438, Olexiy Avramchenko) - -2006-05-30 Matthias Clasen - - * gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal - children when emitting grab-notify. (#343425, Markku Vire) - - * gdk/gdkpixmap.c: - * gdk/gdkwindow.c: Don't use G_DEFINE_TYPE, since the instance - struct name does not match the type name. (#343453, Ed Catmur) - - * gtk/gtk.symbols: - * gtk/gtkbutton.h: - * gtk/gtkbutton.c: Add a GtkButton::image-position property - with getter and setter, to allow constructing buttons with - the image stacked on top of the label. (#342930, Johan Dahlin) - -2006-05-30 Johan Dahlin - - * gtk/gtk.symbols: - * gtk/gtkbutton.c: (gtk_button_class_init), (gtk_button_init), - (gtk_button_set_property), (gtk_button_get_property), - (gtk_button_construct_child), (gtk_button_set_image_spacing), - (gtk_button_get_image_spacing): - * gtk/gtkbutton.h: - * gtk/gtktoolbutton.c: (gtk_tool_button_class_init), - (gtk_tool_button_construct_contents), - (gtk_tool_button_set_property), (gtk_tool_button_get_property), - (_gtk_tool_button_get_button), (gtk_tool_button_set_icon_spacing), - (gtk_tool_button_get_icon_spacing): - * gtk/gtktoolbutton.h: - Add GtkButton:image-spacing and GtkToolButton::icon-spacing. - (#320431, James Moger) - -2006-05-30 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): only - check sort column id if connected to sortable model. - -2006-05-30 Behdad Esfahbod - - * gdk/gdkpango.c (draw_error_underline): Fix offset to center the - underline in requested rectangle. (Ported from pango fix.) - -2006-05-29 Michael Natterer - - * gtk/gtkdialog.h: removed forgotten declaration of - _gtk_dialog_get_response_for_widget(), the function has been made - public a long time ago. - -2006-05-29 Michael Natterer - - * gtk/gtktextview.c (gtk_text_view_target_list_notify): applied - patch from Chris Wilson which replaces a useless loop with - built-in access to free'd memory by a simple integer comparison. - Fixes bug #342894. - -2006-05-29 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): select - the current focus row if nothing is selected and ctrl is not pressed. - (Fixes #324480, Murray Cumming/Srirama Sharma). - -2006-05-28 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_focus): refactor - to work correctly in RTL mode. - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): make - cursor movement to left/right work correctly in RTL mode. - -2006-05-28 Behdad Esfahbod - - * gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect): - Note in docs that @dest can be the same as @src1 or @src2. (#343233, - Christian Persch) - -2006-05-28 Kristian Rietveld - - * gtk/gtkstyle.c (gtk_default_draw_flat_box): handle - cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected - state. - -2006-05-28 Kristian Rietveld - - * gtk/gtkenums.h: add GTK_ARROW_NONE. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_column): always - "show" the arrow if sort_column_id >= 0, only set arrow type if - this column is the column we are currently sorting on. (#331338). - -2006-05-27 Matthias Clasen - - * gtk/gtkrecentchoosermenu.c: Avoid trivial differences - in translated strings. (#343088, Clytie Siddall) - -2006-05-28 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_build_tree): emit test_expand_row - and test return value before expanding a branch. (Fixes #321523, - reported by Daniel Lindenaar). - -2006-05-28 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_insert_column): set the sizing - type of the new column to FIXED, - (gtk_tree_view_insert_column_with_attributes): likewise. (#341898, - Dan Winship). - -2006-05-27 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_remove_node): - only unref if elt->ref_count > 0, - (gtk_tree_model_filter_row_deleted): likewise. (Fixes #340839, - reported by Yevgen Muntyan). - -2006-05-27 Kristian Rietveld - - Small refactoring. (#340428, Paolo Borelli). - - * gtk/gtkliststore.c (gtk_list_store_set_valist_internal), - (gtk_list_store_insert_with_valuesv): refactor code to determine - iter compare func into gtk_list_store_get_compare_func(). - - * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal), - (gtk_tree_store_insert_with_valuesv): likewise. - -2006-05-27 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): really fix - #333284. - -2006-05-27 Kristian Rietveld - - Editable cell window placement and RTL fixes. - - * gtk/gtktreeview.c (gtk_tree_view_button_press), - (gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area), - (gtk_tree_view_create_row_drag_icon): Only add indentation to x - if !rtl, - (gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse - direction if in rtl mode. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - horizontal_separator is not part of the real background area width, - add 2 * focus_line_width to real_cell_area.x and not - real_background_area.x, fix up event coordinates check in the - PACK_END loop, also set depth to zero at the end of the PACK_END - loop, - (_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each - visible cell. - -2006-05-26 Matthias Clasen - - * gtk/stock-icons/24/gtk-orientation-landscape.png: - * gtk/stock-icons/24/gtk-orientation-portrait.png: - * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png: - * gtk/stock-icons/24/gtk-orientation-reverse-portrait.png: - Cleaned up icons by Diana Fong. - -2006-05-26 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw - for the full width of the row, not just the width we got allocated. - (Fixes #333284, reported by Benjamin Berg). - -2006-05-26 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to - page_size + height in the event dy + page_size is about to become - bigger than height. - -2006-05-25 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkstatusicon.h: - * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): - New function that can be used to e.g. position - notification bubbles wrt to the status icon. - (#341450, Christian Persch, Havoc Pennington) - -2006-05-25 Matthias Clasen - - Make GTK+ work as an untrusted X client. (#136571, - Ed Catmur) - - * gdk/x11/gdkdisplay-x11.h: - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): When - opening a display, determine if we are untrusted. - - * gdk/x11/gdkdisplay-x11.c (gdk_notify_startup_complete): - Just bail out when we are untrusted. - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Work around - a bug in the Xorg XSECURITY implementation by coercing - toplevel InputOnly windows to InputOutput. - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_get_pointer): - (_gdk_windowing_window_get_pointer): - When untrusted, call XQueryPointer on an auxiliary - window, not on the root window. - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer): - If untrusted, loop through all GDK-aware toplevels on all - screens in the hope we hit one containing the pointer; - then use that as the basis of the current XQueryPointer - child recursion. - - * gdk/x11/gdkmain-x11.c (gdk_pointer_grab): - (gdk_keyboard_grab): Ignore failed grabs when untrusted. - - * gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Only - cache our own toplevels when untrusted. - - * gdk/x11/gdkdnd-x11.c (motif_send_enter): Don't try - to do Motif DND as untrusted client. - - * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): - (gdk_x11_screen_get_window_manager_name): - (gdk_x11_screen_supports_net_wm_hint): - Bail out early if untrusted. - - * gtk/gtkcolorsel.c (grab_color_at_mouse): If getting - the color under the pointer by screenshooting the root - window fails, it tries to get the color from our own - window. - - * gtk/gtkcolorsel.c (get_screen_color): Make the - dropper_grab_widget a child of the dialog, not a - toplevel. - - * gtk/gtkinvisible.c (gtk_invisible_realize): Respect - a parent window that has been set before realizing. - - * gtk/gtkwidget.c (gtk_widget_get_parent_window): - Always return a previously set parent window. - -2006-05-24 Matthias Clasen - - * gtk/gtkfontbutton.c (gtk_font_button_clicked): - * gtk/gtkcolorbutton.c (gtk_color_button_clicked): - Fix the handling of modality by copying what - GtkFileChooserButton does. (#342754, Yevgen Muntyan) - - * gtk/gtkprintunixdialog.c (create_main_page): Make - the range entry insensitive if another range option - is selected. (#342783, Caolan McNamara) - (update_dialog_from_capabilities): Make the collate - check button insensitive unless multiple copies are - printed (#342781, Caolan McNamara) - - * gtk/gtkwidget.c: Remove style properties when a widget - class gets finalized, to make style properties work in - dynamic types. (#342513, Christian Persch) - -2006-05-24 Henrique Romano - - * gtk/gtkcellview.c: (gtk_cell_view_class_init), - (gtk_cell_view_get_property), (gtk_cell_view_set_property): - Add model property for GtkCellView, part of #172535. - -2006-05-24 Matthias Clasen - - * gtk/gtkprintoperation.h: - * gtk/gtkprintoperation-private.h: - * gtk/gtk.symbols: - * gtk/gtkprintoperation.c: Add a custom-tab-label property. - - * gtk/gtkprintoperation-unix.c (get_print_dialog): Use it - here. (#342752, Yevgen Muntyan) - -2006-05-24 Alexander Larsson - - * gtk/gtk.symbols: - * gtk/gtkprintunixdialog.[ch]: - Add gtk_print_unix_dialog_set_manual_capabilities that controls - what widgets to enable in the dialog depending on the apps - capabilities. - - * gtk/gtkprintbackend.[ch]: - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.c: - * gtk/gtkprintjob.h: - Add printer_get_capabilities to backend. - Move some fallback calls to the printbackend base class. - - * gtk/gtkprintoperation-unix.c: - Set manual capabilities - - * modules/printbackends/cups/gtkprintbackendcups.c: - Implement get_capabilities - - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: - Move some methods to baseclass. - -2006-05-23 Matthias Clasen - - * gtk/gtkprintoperation.c (print_pages): Do the begin-print - emission in the idle, so that the print dialog goes away - before begin-print. - -2006-05-23 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkprintoperation.h: - * gtk/gtkprintoperation.c: Add a boolean show-progress - property, and show a progress dialog if it is set to TRUE. - - * gtk/gtkprintoperation.c (pdf_end_run): - * gtk/gtkprintoperation-win32.c (win32_end_run): - * gtk/gtkprintoperation-unix.c (unix_end_run): - * gtk/gtkprintoperation-private.h: Add a cancelled - parameter to end_run, and call it even if the print - operation was cancelled. - -2006-05-23 Alexander Larsson - - * gtk/gtkprinteroptionwidget.c (filesave_changed_cb): - Allow absolute filenames in filename entry. - Patch from Yevgen Muntyan (#341679) - -2006-05-23 Alexander Larsson - - * gtk/gtk.symbols: - * gtk/gtkprintunixdialog.[ch]: - Add gtk_print_unix_dialog_add_custom_tab - - * gtk/gtkprintoperation-unix.c: - Implement custom widgets for unix. - Fix some warnings by including cairo-ps/pdf.h - - * gtk/gtkprintoperation-win32.c: - Mark string for translation. - -2006-05-22 Matthias Clasen - - * gtk/gtkprintoperation.c (gtk_print_operation_class_init): - Fix docs. - -2006-05-22 Alexander Larsson - - * gtk/gtkmain.c: - Make sure grab-notify is emitted on toplevels as well as - child widgets. - - * gtk/Makefile.am: - * gtk/gtkwin32embedwidget.[ch] - Add new widget used for win32 port to embed gtk+ - widgets in windows dialog. - - * gtk/gtkmarshalers.list: - Add POINTER:VOID - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation.[ch]: - Generic support for custom widgets in print dialog. - - * gtk/gtkprintoperation-win32.c: - Implement custom widget support for win32. - - * tests/print-editor.c: - Allow setting of font using custom widgets in the print dialog. - -2006-05-22 Behdad Esfahbod - - Rollback the following changes, to fix it the proper way in Pango: - - * gdk/gdkinternals.h: - * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize), - (update_fontmap_resolution), (gdk_screen_set_resolution): Add new - function _gdk_screen_get_font_map() and have one fontmap per screen, - with the correct resolution set on it. - - * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use - _gdk_screen_get_font_map() instead of setting resolution on the - PangoCairoContext. (#342529) - -2006-05-22 Emmanuele Bassi - - * gtk/gtkrecentmanager.h: - * gtk/gtkrecentmanager.c - (gtk_recent_info_get_application_info): Don't mask "time" with - the "time" argument. - -2006-05-22 Matthias Clasen - - * gdk/gdkcolor.h: gdk_color_parse returns boolean, not int. - (#342569, Masatake Yamato) - - * gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return - a value from a void function. - - * gtk/gtkprinter.c (_gtk_printer_prepare_for_print) - (_gtk_printer_get_settings_from_options) - (_gtk_printer_request_details): Don't return values from void - functions. - - * gtk/gtkrecentchooserutils.c (delegate_unselect_uri): Don't - return a value from a void function. - - * gtk/gtkfilesystem.c (gtk_file_system_cancel_operation): Don't - return a value from a void function. Also, don't put - semicolons behind G_DEFINE_TYPE. (#342543) - - * gtk/gtkwidget.c (gtk_widget_class_init): Add docs - for new style properties. (#342535, Mart Raudsepp) - - * gdk/x11/gdkscreen-x11.c: Remove _gdk_x11_screen_request_cm_notification - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Directly call - gdk_display_request_selection_notification. - - * gdk/x11/gdkdisplay-x11.c: Several cleanups. - -2006-05-21 Behdad Esfahbod - - * gdk/gdkinternals.h: - * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize), - (update_fontmap_resolution), (gdk_screen_set_resolution): Add new - function _gdk_screen_get_font_map() and have one fontmap per screen, - with the correct resolution set on it. - - * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use - _gdk_screen_get_font_map() instead of setting resolution on the - PangoCairoContext. (#342529) - -2006-05-22 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c: Make it compile again. Doesn't work - properly yet, though. There is lots of commonality between this - file and gtkfilesystemunix.c that should really be factored out. - -2006-05-19 Matthias Clasen - - * gtk/gtkpaned.c (gtk_paned_compute_position): Avoid warnings - if a child is NULL. (#342007, Patrick Monnerat) - - * gtk/gtk.symbols: - * gtk/gtkprintoperation.h: - * gtk/gtkprintoperation.c (gtk_print_operation_cancel): New function - to cancel a running print operation. - - * gtk/gtkprintoperation-private.h (struct _GtkPrintOperationPrivate): - Add a cancelled flag, use g types, use bitfields. - - * gtk/gtkprintoperation.c (print_pages): Clean up after the idle - in the synchronous case. - - * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a - boundary case in scrolling where a tab was not shown. (#168105, - Hiroyuki Ikezoe, patch by Kouhei Sutou) - -2006-05-19 Damon Chaplin - - * gtk/gtkfontsel.c (gtk_font_selection_init): use - atk_relation_add_target() to add the targets, since it sets up weak - references to avoid crashes. (#305530) - -2006-05-18 Matthias Clasen - - * gtk/gtkprintoperation.h: - * gtk/gtkprintoperation.c: Add a GtkPrintOperation:: paginate signal - that gets emitted to paginate a document in chunks. - - * gtk/gtkprintoperation-private.h: - * gtk/gtkmarshalers.list: Add necessary glue. - - * gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce - a stuck drag if shift is held. (#341734, Sebastien Bacher) - - * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display): - Always set protocol. (#342003, Tommi Komulainen) - - * gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf - if the image has the appropriate storage type. (#342096, Tommi - Komulainen) - - * configure.in: Actually require GLib 2.11 - - * gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops - end up at the right spot. (#342072, Yevgen Muntyan) - -2006-05-18 Michael Natterer - - * gtk/gtkrange.c: canonicalize the name of the "activate-slider" - style property and use GTK_PARAM_READABLE instead of - G_PARAM_READABLE. Moved one "activate_slider" variable to the - local scope its used in. - -2006-06-18 Michael Emmel - - * gdk/directfb/gdkscreen-directfb.c: - * added gdk_screen_is_composited to compile - * Bug 342091 - -2006-05-17 Alexander Larsson - - * gtk/gtkprintoperation-win32.c: - Update to changed APIs. - -2006-05-16 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.9.1 ==== - - * configure.in: Reset interface age - - * NEWS: Updates - -Tue May 16 12:36:25 2006 Søren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Move getting the - property out of the loop, and rename the variable 'max_expand'. - - * gtk/gtktoolbar.c (gtk_toolbar_class_init): Fix the decription - for the max-child-expand property. - -2006-05-16 Matthias Clasen - - * gtk/gtkprinter.c (gtk_printer_class_init): - * gtk/gtkprintjob.c (gtk_print_job_class_init): - * gtk/gtkprintoperation.c (gtk_print_operation_class_init): - Cosmetic cleanups. - - * gtk/gtkpagesetupunixdialog.c (populate_dialog): Add labels - for page orientations, also add the fourth one. (#339589) - - * gtk/stock-icons/24/gtk-orientation-reverse-portrait.png: New - icon. - - * gtk/Makefile.am: Add it here. - - * gtk/gtkstock.[hc]: Add stock items for the page orientations. - -2006-05-16 Michael Natterer - - * gtk/gtktoolbar.c: added "max-child-expand" style property which - limits the space taken by expanding tool items. Fixes bug #340722. - -2006-05-16 Kristian Rietveld - - * gtk/gtkpathbar.c (gtk_path_bar_dispose): cancel all pending handles - in the button list. (Fixes #341035, reported by William Jon McCann). - -2006-05-16 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c - (show_and_select_paths_finished_loading): put the newly selected - row(s) the in the middle of the view, - (update_current_folder_get_info_cb), - (gtk_file_chooser_default_update_current_folder): make sure reload - state is set to RELOAD_HAS_FOLDER while loading the new folder, - so _map() won't start loading the current working directory. (Fixes - #341028, reported by Michael Natterer). - -2006-05-15 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Fix - an RTL problem with toggles in expander columns. - (#341896, Roozbeh Pournader) - -Mon May 15 15:12:05 2006 Søren Sandmann - - * gtk/gtklayout.c (gtk_layout_realize), - * gtk/gtkiconview.c (gtk_icon_view_realize), - * gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of - the clip windows to NULL, since they are generally invisible and - don't have EXPOSURE set, which means they temp-unvlicker code - doesn't apply to them. - - * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset - the background of the parent window during resizing. Invalidate - the uncoered area of the parent window. Bug 341332. - -2006-05-15 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (_gdk_events_init): Remove obsolete - comment. - (poll_func): Remove assert and add a comment on how to fix properly. - (gdk_events_pending): Implement. - -2006-05-15 Matthias Clasen - - * gtk/gtkprintoperation.c: Reverse the order of - ranges when printing in reverse. (#341578) - -2006-05-15 Alexander Larsson - - * gtk/gtkprintjob.[ch]: - Added gtk_print_job_set/get_track_print_status - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation.[ch]: - Add gtk_print_operation_set_track_print_status. - - * gtk/gtkprintoperation-unix.c: - Implement track_print_status on unix - - * gtk/gtkprintoperation-win32.c: - Implement track_print_status on win32 - - * gtk/gtk.symbols: - Added symbols - - * modules/printbackends/cups/gtkprintbackendcups.c: - Implement track_print_status for cups - - * tests/print-editor.c: - Test track_print_status. - -2006-05-15 Matthias Clasen - - * gtk/gtkprintoperation.c: Do page rendering in an idle when - running asynchronous. - -2006-05-15 Alexander Larsson - - * gtk/gtk.symbols: - * gtk/gtkprintbackend.[ch]: (_gtk_print_backend_create): - Never unload print backends. - Remove gtk_print_backend_unref_at_idle. - - * modules/printbackends/cups/gtkprintbackendcups.c: - (cups_dispatch_watch_finalize): - Don't use the unref_at_idle hack since that caused - deadlocks. Instead we never unload print backends, which - is not really a big problem. - -2006-05-14 Murray Cumming - - * gtk/gtkframe.c: Restored the / at the start of the comment - block, to fix the build. - -2006-05-13 Matthias Clasen - - * gtk/*.c: - * gdk-pixbuf/*.c: - * gdk/*.c: Remove erroneous ; after G_DEFINE_TYPE - macros. (#341692, Yevgen Muntyan) - - * gtk/gtktextbtree.c: - * gtk/gtktextview.c: Move some asserts to the right - place. (#341661, #341665, Pascal Terjan) - -2006-05-12 Matthias Clasen - - * gtk/gtknotebook.c: Fix some corner cases in the size - allocation logic for tabs. (#341577, Carlos Garnacho Parro) - - * gtk/gtkprintunixdialog.c: Some fixes to capitalization of - labels. (#341558, Dennis Cranston) - - * gtk/gtknotebook.c: Handle tab_label being NULL better. - (#341455, William Jon McCann, patch by Carlos Garnacho Parro) - - * gtk/gtkruler.c: Reinstate the ruler metrics strings, since - they are used by glade, pointed out by Damon Chaplin. - -2006-05-12 Alexander Larsson - - * gtk/gtkwindow.c: - Better handling of the window group on unsetting transient-for, since - the transient parent might have changed group. - - * gtk/gtkmenu.c: - Combine the handling of transient for the attach-widget and the - window group handling by setting transient-to on popup/popdown only. - - See bug #340401 - - * gtk/gtkprintunixdialog.c: - Remove part of old fix no longer needed. - -2006-05-12 Alexander Larsson - - * gtk/gtkprintoperation.c (gtk_print_operation_set_n_pages): - Update g_object_notify to new property name. - -2006-05-12 Alexander Larsson - - * gtk/gtkrecentmanager.c: - Fix build errors. - - * gtk/gtk.symbols: - * demos/gtk-demo/printing.c: - * gtk/gtkprintoperation-win32.c: - * gtk/gtkprintoperation.[ch]: - * gtk/gtkprintsettings.[ch]: - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: - * tests/print-editor.c: - * tests/testnouiprint.c: - * tests/testprint.c: - * tests/testprintfileoperation.c: - Rename functions from nr_of_pages to n_pages, and num_copies to - n_copies to match other gtk+ names. - - * gtk/gtkmenu.c: (gtk_menu_popdown): - Only re-set window group on popdown if we set it on popup (i.e. - if there is a parent menu shell). - Fixed part of bug #340401 - - * gtk/gtkwindow.c: - Add (contruct) property "transient-for" to GtkWindow. This - is needed for the fix to bug #340401. - - * gtk/gtkprintunixdialog.c: - Use the transient-for property on construction and populate the dialog - with widgets after that. This fixes bug #340401. - More n_pages renames. - -2006-05-11 Emmanuele Bassi - - * gtk/gtkrecentmanager.h: Remove the error parameter to the - gtk_recent_manager_add() and gtk_recent_manager_add_full() - functions; remove the unneeded error codes from the error - enumeration. (#336774). - - * gtk/gtkrecentmanager.c: Make gtk_recent_manager_add() and - gtk_recent_manager_add_full() complain loudly about wrong or - missing meta-data, instead of using a GError. (#336774) - -2006-05-11 Matthias Clasen - - * demos/gtk-demo/Makefile.am (demos): Add it here. - - * demos/gtk-demo/printing.c (do_printing): Add a GtkPrintOperation demo. - -2006-05-11 Carlos Garcia Campos - - * gtk/gtkfilechooserembed.c: use I_() instead of _() when creating - response-requested signal. Fixes bug #341416 - -2006-05-11 Matthias Clasen - - * gdk/gdkkeysyms.h: Regenerated from Xorg 7.1 keysyms.h, using - gdkkeysyms-update.pl. - - * gdk/gdkkeysyms-update.pl: Script to sync gdkkeysyms.h - with Xorg. (#321896, Simos Xenitellis) - - * gdk/Makefile.am (EXTRA_DIST): Add gdkkeysyms-update.pl - - * gdk/gdkkeysyms.h: Consistently use lowercase in hex numbers. - -2006-05-10 Carlos Garnacho - - * gtk/gtknotebook.c: check that tab_label is not NULL before checking - that it's notebook's child. Closes #341247. - -Wed May 10 15:57:53 2006 Tim Janik - - * applied unified patch for configurable scroll arrow sizes from - bug #333632 and bug #325282. - - * gtk/gtkwidget.c (gtk_widget_class_init): added ::scroll-arrow-hlength - and ::scroll-arrow-vlength style properties. fixed upper limit for - ::separator-width and ::separator-height to be MAXINT. - - * gtk/gtkmenu.c: use GtkWidget::scroll-arrow-vlength to determine the - scroll arrow size, instead of using a hard coded constant. - - * gtk/gtknotebook.c: use GtkWidget::scroll-arrow-vlength and - GtkWidget::scroll-arrow-hlength to determine scroll arrow sizes. - added GtkNotebook::arrow-spacing style property to configure the - spacing between scroll arrows. - -2006-05-10 Matthias Clasen - - * gtk/gtkpagesetupunixdialog.c: Don't include langinfo.h - unconditionally. (#341217) - -2006-05-10 John (J5) Palmieri - - * modules/printbackends/cups/gtkprintbackendcups.c: - make the _CUPS_MAP_ATTR_STR macro not dup the string so we don't - leak - -2006-05-10 Francisco Javier F. Serrador - - * gtk/paper_names.c: Correct #11 Envelope typo. - -2006-05-09 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both - GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628) - -2006-05-09 Matthias Clasen - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add a :cursor-position - property. (#334412, Yevgen Muntyan) - - * gtk/gtk.symbols: - * gtk/gtkmessagedialog.[hc]: Add an image property. (#337306, Alex Graveley) - -2006-05-09 Carlos Garnacho - - * gtk/gtknotebook.c: create an independent GdkWindow to behave nicely - during reordering with tab_labels with their own window, also use - gtk_drag_set_icon_widget() for the DnD icon to avoid drawing garbage - from offscreen regions. Closes bug #335707. - (gtk_notebook_tab_space), (gtk_notebook_calculate_shown_tabs), - (gtk_notebook_calculate_tabs_allocation): new functions, - gtk_notebook_pages_allocate() functionality has been splitted into - these. - -2006-05-08 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder): - * gtk/gtktextbufferserialize.c (parse_attr_element): Fix some typos in - messages. (#341091, Tino Meinen) - - * gtk/gtkstatusicon.c: Some cleanups. - - * gtk/gtkstatusicon.c (gtk_status_icon_get_property): Silently return - NULL if the storage type of the image does not match. (#340516, Christian - Persch) - - * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Elide (_x) in the middle - of the string, too. (#323956, Abel Cheung) - - * gtk/gtkuimanager.c (update_node): Fix tooltips. (#340527, Jon-Kare Hellan) - - * configure.in: Require Pango 1.13.0 - - * gtk/gtknotebook.c: - * gtk/gtkwindow.c: - * gtk/gtkrange.c: Fix doc typos. - -2006-05-08 Francisco Javier F. Serrador - - * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_class_init): - Corrected a duplicate word. - - * gtk/gtkrecentmanager.c (gtk_recent_manager_add_full): Corrected - a typo. - -2006-05-07 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_key_press): Chain up, to - make bindings work. Noticed by Al Puzzuoli. - -2006-05-07 Matthias Clasen - - * gtk/gtkseparator.c: - * gtk/gtkscrollbar.c: - * gtk/gtkpaned.c: - * gtk/gtkoldeditable.c: - * gtk/gtkmisc.c: - * gtk/gtkitem.c: - * gtk/gtkimcontext.c: - * gtk/gtkrange.c: - * gtk/gtkscale.c: Make types abstract again. - -2006-05-06 Matthias Clasen - - * gdk/gdkwindow.c (gdk_window_get_toplevels): Fix a wrong - reference in the docs. (#340870, Ed Catmur) - -2006-05-05 Christian Persch - - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: Always register - the type with the type module, even if it had been registered - before. Fixes bug #340676. - -2006-05-05 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Use theme colors for - the page layout indicator, and do RTL flipping for - the collate indicator. - -2006-05-05 Matthias Clasen - - * configure.in: Require GLib 1.11.0 - - * configure.in: Bump version - - * === Released 2.9.0 === - - * configure.in: Require cairo 1.1.6 - - * gtk/Makefile.am: Tweaks to make distcheck work. - -2006-05-05 Alexander Larsson - - * gtk/gtkprintoperation-unix.c: - Implement per-page paper sizes. - - * gtk/gtkprintoperation.c: - Implement per-page paper sizes for pdf output. - Make gtk_print_operation_set_pdf_target() work again - - * tests/Makefile.am: - * tests/testprint.c: - * tests/testprintfileoperation.[ch]: - Add more test code for printing support. - This tests per-page paper sizes & orientation and - deriving from GtkPrintOperation. - -2006-05-04 Michael Emmel - - * gdk/directfb/gdkkeys-directfb.c: DIKI_ALTGR to compile with - directfb 0.9.25.1 - -2006-05-04 Michael Natterer - - * gtk/gtk.symbols: remove gtk_printer_set_backend so it compiles - again. - -2006-05-04 Alexander Larsson - - * gtk/gtk.symbols: - Added new symbols - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintunixdialog.c: - Destroy backends when finalizing dialogs. - Fix printer leak in selected_printer_changed. - - * gtk/gtkprintbackend.[ch]: - Convert from interface to baseclass. - Move printer hashtable here so that the baseclass can handle - the slightly complicated ownership model. - Add gtk_print_backend_destroy which runs the dispose method, - causing the ref-cycles between the backend and its printers - to be broken. - Add gtk_print_backend_unref_at_idle(). - - * gtk/gtkprinter.[ch]: - GtkPrinter objects now ref their backend so that its always - availible, since its needed for the printer object to work. - This causes a reference-cycle that is broken using - gtk_print_backend_destroy. - Add gtk_printer_compare. - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.c: - Implement !show_dialog for unix. - Make sure the print data is fully spooled before returning - from a sync run_dialog. - - - * modules/printbackends/cups/gtkcupsutils.[ch]: - Add gtk_cups_request_ipp_add_strings - - * modules/printbackends/cups/gtkprintbackendcups.c: - * modules/printbackends/cups/gtkprintercups.c: - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/pdf/gtkprintbackendpdf.c: - Convert backends to derive instead of implementing interface. - Move common code into baseclass. - CUPS: - Remove the printer polling in dispose, not finalize. - In the cups watch, remove the backend at idle instead of - immediately, since the unref can cause the module to be unloaded. - Limit the number of printer attributes requested - Get printer uri in initial printer listing so that we can use - the printer object immediately. - - * tests/Makefile.am: - * tests/testnouiprint.c: - Add testcase for !show_dialog. - -2006-05-04 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkfilesystem.c: - * gtk/gtkfilesystemunix.c: - * gtk/gtkprintbackend.h: - * gtk/gtkrecentchooserdefault.c: - * gtk/gtkrecentchooserdefault.h: - * gtk/paper_names_offsets.c: Make symbol list mstch reality. - - * gtk/Makefile.am: Fix a typo. - - * gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c - -2006-05-03 Matthias Clasen - - * NEWS: Updates - -2006-05-04 Murray Cumming - - * gtk/gtktreemodel.c: (gtk_tree_model_base_init): Changed the - language of the signals documentation slightly. Bug #340205. - -2006-05-03 Federico Mena Quintero - - Merged the federico-filename-entry branch, to fix bug #136541. - Combined ChangeLogs: - - 2006-04-17 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (pending_select_paths_process): - Oops, we *do* need to check that we are in OPEN mode before - selecting the first row in the file list. See - https://bugzilla.novell.com/show_bug.cgi?id=166906 - (gtk_file_chooser_default_get_paths): If we are in the case for - the file list, and the list has no selected rows, jump to the case - for the filename entry. This is so that - - 1. The user types a filename in the SAVE filename entry - ("foo.txt"). - - 2. He then double-clicks on a folder ("bar") in the file - list. - - will yield the expected "bar/foo.txt" selection. - - 2006-03-29 Federico Mena Quintero - - * gtk/gtkpathbar.c (gtk_path_bar_init): Reduce the inter-button - spacing to 0. - - * gtk/gtkfilechooserdefault.c (browse_widgets_create): Make the - location label bold. - - 2006-03-29 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (location_mode_set): Just change the - location_mode field if we are in SAVE/CREATE_FOLDER modes. - (gtk_file_chooser_default_get_paths): Get the path based on the - currently focused widget, or the last-focused widget. This is - what we should have been doing in the beginning, but it worked out - fine because we didn't have the possibility of a filename entry in - OPEN mode. - (gtk_file_chooser_default_should_respond): Handle the case where - the last focused widget is the location_entry. - - 2006-03-28 Federico Mena Quintero - - * gtk/gtkfilechoosersettings.[ch]: New files with a simple - framework for saving/loading settings from the file chooser in - $XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_unmap): - Save the current settings. - (settings_save): New helper function. We save the location_mode - and show_hidden flags. - (gtk_file_chooser_default_map): Load the settings. - (settings_load): New helper function. - - * gtk/gtkfilechooserentry.c - (_gtk_file_chooser_entry_set_file_part): Oops, don't modify - in_change. Our handlers are what set the file_part, so they - *must* be run when we modify the text. - - 2006-03-27 Federico Mena Quintero - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): - Removed the save_file_name_entry. We'll make this be the same as - the location_entry widget. - (struct _GtkFileChooserDefault): Leave only location_button, - location_entry_box, location_label, location_entry. We'll use a - single toggle button for the location entry, which will appear - below the path bar. - (struct _GtkFileChooserDefault): Added a - processing_pending_selections flag. - - * gtk/gtkfilechooserdefault.c (save_widgets_create): Destroy the - old location_entry if necessary, and hide the location toggle - widgets. - (update_chooser_entry): In multiple selection mode, just clear the - location_entry. - (check_save_entry): Allow running in OPEN or SELECT_FOLDER modes - if we are in LOCATION_MODE_FILENAME_ENTRY. - (gtk_file_chooser_default_should_respond): Switch to a folder if - the location_entry contains a folder name in OPEN and SAVE mode, - not just SAVE mode. If the entry doesn't contain a folder name, - but is otherwise well-formed, and we are in OPEN mode, return that - we should respond with that filename. - (gtk_file_chooser_default_initial_focus): Focus the location_entry - if appropriate. - (browse_widgets_create): Create the location_entry_box and the - location_label here. - (update_appearance): Call location_mode_set() when switching back - to OPEN/SELECT_FOLDER mode. Hide the location_button when - switching to SAVE/CREATE_FOLDER mode. - (pending_select_paths_process): Turn the - processing_pending_selections flag on and off around changes to - the current selection. Don't special-case OPEN mode anymore, - since the new flag will take care of things in - update_chooser_entry(). - (update_chooser_entry): Don't do anything if - processing_pending_selections is TRUE. This keeps the entry from - being polluted when changing folders. - (location_popup_handler): In OPEN/SELECT_FOLDER modes, toggle - between the path bar and the entry. In SAVE/CREATE_FOLDER modes, simply focus the - location_entry. - (update_from_entry): Removed. - (location_entry_create): Removed. - (open_location_cb): Removed. - (file_list_build_popup_menu): Don't add an "Open _Location" menu item. - (location_entry_set_initial_text): Don't do anything if - current_folder is NULL. - - * gtk/gtkfilechooserentry.c - (_gtk_file_chooser_entry_set_file_part): Turn in_change on and off - around the call to gtk_entry_set_text(). This makes completion - not happen when the caller has explicitly set a name. - - 2006-03-24 Federico Mena Quintero - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): - Added fields location_mode_box, location_pathbar_radio, - location_filename_radio, location_widget_box, location_label, - location_entry. The radio buttons will switch between the pathbar - and the location entry; the other boxes are for layout purposes. - (enum LocationMode): New enum. - (struct _GtkFileChooserDefault): Added a location_mode field. - - * gtk/gtkfilechooserdefault.c (browse_widgets_create): Create the - location radio buttons to switch between the pathbar and the - location entry. Pack the browse_path_bar in the new - location_widget_box instead of a generic hbox. - (location_buttons_create): New function. - (gtk_file_chooser_default_init): Initialize impl->location_mode. - (location_switch_to_path_bar): New function. - (location_switch_to_filename_entry): New function. - - * gtk/gtkfilechooserbutton.c (model_add_special): The display_name - should not be const. - -2006-05-03 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Replace the xpm collate icons - by cairo drawing that respects themes. - - * gdk/quartz/Makefile.am (libgdk_quartz_la_SOURCES): Add - missing files. (#340533, Ludovic Rousseau) - - * gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the - cairo context here. (#340522, Christian Persch) - - * gtk/gtkprintoperation-unix.c (unix_finish_send): Don't - use gtk_dialog_run for the error dialog, and improve the - dialog in other ways. (#340510, Christian Persch) - - * gtk/gtkpagesetupunixdialog.c: Beautify the custom - paper size dialog. (#339590, patch by Christian Persch) - - * gtk/gtkaccessible.c: - * gtk/gtkclipboard.c: - * gtk/gtkfilefilter.c: - * gtk/gtkimmodule.c: - * gtk/gtkmenubar.c: More G_DEFINE_TYPE conversion. - - * gtk/gtkwidget.c: Make GtkWidget abstract again. - -2006-05-02 Matthias Clasen - - * gtk/*.c: Use G_DEFINE_TYPE and g_type_register_static_simple() - where applicable, for ~5000 lines of code reduction. This also - reduces the size of the data section by ~9k. The overall library - sizes shrinks a bit less, since the text section gets a bit - larger. - -2006-05-02 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to - the return value of the _gtk_rbtree_insert* functions, since that - is the node we really want to check for visibilty. - -2006-05-02 Matthias Clasen - - * gtk/gtkprinter.[hc]: Don't use virtual as a parameter name. - (#340394, Christian Persch) - -2006-05-02 Christian Persch - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintcontext.c: - * gtk/gtkprinter.c: - * gtk/gtkprinteroptionwidget.c: - * gtk/gtkprintjob.c: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation.c: - * gtk/gtkprintunixdialog.c: Use a priv variable when accessing priv - multiple times in the same function. Bug #340288. - -2006-05-02 Michael Natterer - - * gtk/gtklabel.c (gtk_label_set_line_wrap): added note about the - inablity to do height-for-width text layout and suggest to use - gtk_widget_set_size_request() for getting a label that wraps at - some specific position. - -2006-05-02 Kristian Rietveld - - * ChangeLog.gtk-async-file-chooser: added ChangeLog entries from - the kris-async-branch. - - * Makefile.am: updated EXTRA_DIST - -2006-05-02 Alexander Larsson - - * ChangeLog.gtk-printing: - * Makefile.am (EXTRA_DIST): - Add ChangeLog.gtk-printing - -2006-05-01 Matthias Clasen - - * NEWS: Updates - -2006-05-02 Kristian Rietveld - - - * configure.in: Up ABI version to 2.10.0 (by Matthias' request). - -2006-05-01 Kristian Rietveld - - Merge of the GTK+ asynchronous file chooser branch. Please see - the kris-asynch-branch for more detailed ChangeLog entries. - - * configure.in: increase binary version to 2.9.0. - - * gtk/gtk.symbols: - * gtk/gtkfilechooser.c: - * gtk/gtkfilechooserbutton.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilechooserdialog.c: - * gtk/gtkfilechooserembed.c: - * gtk/gtkfilechooserembed.h: - * gtk/gtkfilechooserentry.c: - * gtk/gtkfilechooserentry.h: - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilesystem.c: - * gtk/gtkfilesystem.h: - * gtk/gtkfilesystemmodel.c: - * gtk/gtkfilesystemmodel.h: - * gtk/gtkfilesystemunix.c: - * gtk/gtkpathbar.c: - * gtk/gtkpathbar.h: - Merge from kris-async-branch. - -2006-05-01 Matthias Clasen - - * NEWS: Updates - -2006-04-30 Matthias Clasen - - * gtk/gtktreemodel.c (gtk_tree_model_base_init): Document - GtkTreeModel signals. - -2006-04-19 Michael Emmel - - * gdk/directfb/gdkdrawable-directfb.c: removed all subtracting one on - clipping - -2006-04-30 Kristian Rietveld - - Fix for #340200, spotted by Torsten Schoenfeld. - - * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): fix up logic - calculating the level indentation, - (gtk_tree_view_start_editing): remove code calculating the - level indentation, since _get_cell_area() takes care of this for us. - -2006-04-30 Matthias Clasen - - Fix problems with setting symbolic colors from rc files. - (#338345, Benjamin Berg) - - * gtk/gtkrc.c (gtk_rc_settings_changed, gtk_rc_font_name_changed) - (gtk_rc_color_hash_changed, gtk_rc_reparse_all_for_settings): Don't - freeze notification for settings changes while parsing; instead - manually avoid recursion, and update the color hashes. - -2006-04-30 Matthias Clasen - - * gtk/gtksettings.c (gtk_settings_class_init): Change the default - value of the gtk-color-scheme setting to "". - - * gtk/gtkprinteroption.c: - * gtk/gtkprinteroptionwidget.c: - * gtk/gtkprintunixdialog.c: Improve the print dialog layout, - mark some more strings for translation. (#340139, Christian Persch) - - * gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition - of the ::size-changed signal, and improve its documentation. - (#340112, Christian Persch) - -2006-04-29 Behdad Esfahbod - - * gtk/gtkwidget.c (gtk_widget_create_pango_layout) - (gtk_widget_get/create_pango_context): Change colormap to font map in - docs. (#340093) - -2006-04-29 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkstatusicon.h: - * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): Add a menu - position function for use with popups on status icons. (#334573, - Christian Persch) - - * gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism. (#340055, - Kazuki Iwamoto) - -2006-04-28 Matthias Clasen - - * gtk/gtkcellrenderertext.c (get_size): Use _static variants when - copying and merging short-lived Pango layouts. (#340033, Morten Welinder) - -2006-04-28 Behdad Esfahbod - - * gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in - docs. (#340063) - -2006-04-28 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_drag_begin): Don't force - the standard DND icon if the user has a custom DND source. - (#339522, Joe Wreschnig) - -2006-04-28 Michael Natterer - - * gtk/gtktextbuffer.c (create_clipboard_contents_buffer): keep a - reference to the source buffer while the clipboard contents buffer - exists, because it is needed for serializing the contents buffer. - Makes copying from the contents buffer possible even after the - resp. text view is destroyed (for example when there is a - clipboard manager running on app exit) (bug #339195). - -2006-04-27 Behdad Esfahbod - - * gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double - before dividing by PANGO_SCALE. (#334582) - -2006-04-27 Matthias Clasen - - * gtk/gtkentry.c (popup_position_func): Improve positioning - of the menu when popped up by keynav. (#334987, Christian - Persch) - - * gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case - of being called after the drag is cancelled. (#339224, - Benjamin Otte) - - * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change): - Use XFixes only if it is available. (#339839, Marko Anastasov) - -2006-04-26 Federico Mena Quintero - - * gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional - on having a GTK_RESPONSE_CANCEL button -> end the idiocy. Fixes - bug #101293. - -2006-04-26 Kristian Rietveld - - * gtk/gtktreeview.c (node_is_visible): new function, - (validate_visible_area): when a node is validated, only queue a - redraw for that node, not for the entire widget (a redraw for the - entire widget is only needed when the sizes change, and - _queue_resize() will take care of that), - (do_validate_rows): do not queue a redraw, redraws are only needed - for changes in the visible area and validate_visible_area() takes - care of that, - (gtk_tree_view_row_inserted): for fixed height mode, only queue - a resize and redraw if the node is visible, else no redraw is needed. - -2006-04-26 Kristian Rietveld - - If this new "row-ending-details" property is turned on, more - detailed "details" will be passed to the theme engine for drawing - the background, drop indicator and focus rectangle. Requirement is - that the theme engine supports these details. (#333760). - - * gtk/gtktreeview.c (gtk_tree_view_class_init): add row-ending-details - style property, - (gtk_tree_view_bin_expose): pass more detailed detail to - gtk_paint_flat_box() if the property is turned on, - (gtk_tree_view_bin_expose): likewise for the drop indicator, - (gtk_tree_view_bin_expose): likewise for the focus rectangle. - -2006-04-26 Kristian Rietveld - - New "show-expanders" and "level-indentation" properties, which can - be used for customizing the tree view. (For example to do - grouping as demonstrated in the test application). - Discussion in #80869. - - * gtk/gtktreeprivate.h: add level_indentation field. - - * gtk/gtktreeview.c (gtk_tree_view_class_init), - (gtk_tree_view_init), (gtk_tree_view_set_property), - (gtk_tree_view_get_property): add the properties to the object, - (gtk_tree_view_button_press), (do_prelight), - (gtk_tree_view_bin_expose), (validate_row), - (gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area), - (gtk_tree_view_create_row_drag_icon): take the new properties - into account, - (gtk_tree_view_start_editing): fix cell placement code. - - * tests/testgrouping.c: new test application, showing how to - implement grouping. - - * tests/Makefile.am: updated. - -2006-04-25 Matthias Clasen - - * gdk/gdk.symbols: Add gdk_screen_is_composited - - * gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add docs. - - * gtk/gtkprintoperation.c: Add docs. - -Tue Apr 25 10:25:28 2006 Søren Sandmann - - * tests/testgtk.c (create_alpha_window): Create 'composited' label. - - * tests/testgtk.c (on_composited_changed): New function, change - the label to say whether the screen is composited or not. - - * gtk/gtkwindow.c (gtk_window_on_composited_changed): When - composited status change, invalidate the window and propagate the signal;. - - * gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint - if reset_type_hint is TRUE. - - * gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of - the old hints, store a shadow copy in the public window->type_hint - bitfield, otherwise set this field to normal. Set the private - field to the type hint. - - * gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint. - - * gtk/gtkwindow.c (struct _GtkWindowPrivate): New field - "reset_type_hint" indicating whether the type hint needs to be - reset. New field type_hint containing a GdkWindowTypeHint. - - * gtk/gtkwidget.c (propagate_composited_changed): New function to - propagate changes in composited status. - (gtk_widget_class_init): Add composited_changed signal. - - * gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed. - - * gtk/gtkwidget.c (gtk_widget_is_composited): New function. - - * gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for. - - * gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether - the item belongs to a menubar. Set the type_hint appropriately - depending on the outcome. - - * gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here. - - * gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy - changed on the attach widget. - - * gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to - set the transient_for property for menus. - - * gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint. - - * gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window - transient for the toplevel. - - * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set - transient-for, for the popup window. - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for - new window types. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support - for new window types. - - * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change): - New function called whenever the compositing manager comes and goes. - - * gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function. - - * gdk/x11/gdkscreen-x11.c - (_gdk_x11_screen_request_cm_notification, make_cm_atom, - check_is_composited): New functions - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call - _gdk_x11_screen_process_owner_change when an - XFixesSelectionNotifyEvent is received. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call - _gdk_x11_screen_request_cm_notification() on all screens. - - * gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy - implementation. - - * gdk/gdkscreen.c (gdk_screen_class_init): New signal, - 'composited-changed'. - - * gdk/gdkwindow.h: Add new EWMH window types. - - * gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited) - -2006-04-25 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: - Add some more translatable PPD option names. - -2006-04-24 Matthias Clasen - - * po/POTFILES.in: - * po-properties/POTFILES.in: Updates - - * gtk/paper_names.c: Declare PaperInfo here. - - * gtk/gen-paper-names.c: Add a prefix to gettext msgids. - - * gtk/paper_names_offsets.c: Regenerated. - - * gtk/gtkpapersize.c (gtk_paper_size_get_display_name): - Use g_strip_context() to strip the prefix. - -2006-04-24 Matthias Clasen - - * gtk/gtkfontbutton.c: Small doc fixes. - - * gtk/gtkprintunixdialog.h: - * gtk/gtkpagesetupunixdialog.h: Fix includes (#338665) - - * gtk/gtkprintsettings.h (GtkPageRange): Declare in a way grokked by gtk-doc. - - * gdk/gdkregion-generic.c: Documentation fixes. - - * gdk/directfb/gdkmain-directfb.c: Make the comment not look like - a doc comment. - - * gtk/gtkprintunixdialog.c: Add docs. - - * gtk/gtkstatusicon.c (gtk_status_icon_get_visible): Typo fix. - -2006-04-24 Alexander Larsson - - * gtk/gtkprinter.c: - Don't ref the backend since the backend owns the printer. - -2006-04-24 Alexander Larsson - - * gtk/gtkpagesetupunixdialog.c (update_combo_sensitivity_from_printers): - Remove spew. - -2006-04-24 Alexander Larsson - - * gtk/gtkprintunixdialog.c (create_page_setup_page): - Even/Odd Pages -> Even/Odd Sheets - -2006-04-24 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the - gtk_print_operation_run() code and add an _async version. - - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c - (_gtk_print_operation_platform_backend_run_dialog_async) - (gtk_print_run_page_setup_dialog_async): Variants of the run functions - which don't call gtk_dialog_run(), but only show the dialog and return, - and handle the response in a signal handler. - - * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async) - (_gtk_print_operation_platform_backend_run_dialog_async): Implement these - by calling the sync versions. - - * gtk/gtkprintoperation-unix.c: Cleanups. - - * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup): - Remove redundant code. - - * gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API. - - * gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog): - Return a copy of the original page setup if the dialog was canceled. - -2006-04-24 Alexander Larsson - - * gtk/gtkprintjob.h: - Declare GtkPrintJob. - - * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings): - Change g_return_if_fail to g_return_val_if_fail. - -2006-04-24 Alexander Larsson - - * configure.in: - Check for cairo-pdf.h. - Check for cairo-ps.h on non-win32. - -2006-04-24 Matthias Clasen - - * gtk/gtkclipboard.h: - * gtk/gtkprinter.c: - * gtk/gtkprintsettings.h: - * gtk/gtkprintsettings.c: Match parameter names with the headers. - - * gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog): - Add docs. - - * gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize): - * gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type): - * gtk/gtktreeview.c (gtk_tree_view_set_search_position_func): - * gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable): - * gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new): - * gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs. - - * gtk/gtkprinter.h: Don't declare GtkPrintJob here. - * gtk/gtkprinter-private.h: Instead include gtkprintjob.h. - -2006-04-23 Matthias Clasen - - * gtk/gtkprinter-private.h: - * gtk/gtkprintbackend.h: - * gtk/gtkprinter.[hc]: - * gtk/gtkprintjob.[hc]: Use g types, add documentation, and some - stylistic fixups. - - * gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning. - - * gtk/gtkpapersize.[hc]: Use g types, add documentation. - - * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_get_settings): - Use g_return_val_if_fail in non-void functions. - - * gtk/Makefile.am: Add gtkprintutils.[hc] - - * gtk/gtkprintutils.[hc]: New files, move the unit conversion - functions here. - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintsettings.c: - * gtk/gtkpagesetup.c: - * gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm - by the copies in gtkprintutils.c. - - * gtk/gtkpagesetup.[hc]: Use g types, add documentation. - - * gtk/gtkprintsettings.c: More documentation - -2006-04-22 Tor Lillqvist - - * gtk/Makefile.am (gtk_private_h_sources): Small workaround for - weird bug in some versions of Automake at least on Windows. - -2006-04-21 Alexander Larsson - - Merge the gtk-printing branch. - For more detailed ChangeLog entries, see the ChangeLog.gtk-printing. - - * .cvsignore: - * Makefile.am: - * configure.in: - * docs/tools/widgets.c: - * gtk+-unix-print-2.0.pc.in: - * gtk/Makefile.am: - * gtk/gen-paper-names.c: - * gtk/gtk.h: - * gtk/gtk.symbols: - * gtk/gtkenums.h: - * gtk/gtkiconfactory.c: - * gtk/gtkmarshalers.list: - * gtk/gtkpagesetup.[ch]: - * gtk/gtkpagesetupunixdialog.[ch]: - * gtk/gtkpapersize.[ch]: - * gtk/gtkprint-win32.[ch]: - * gtk/gtkprintbackend.[ch]: - * gtk/gtkprintcontext.[ch]: - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.[ch]: - * gtk/gtkprinteroption.[ch]: - * gtk/gtkprinteroptionset.[ch]: - * gtk/gtkprinteroptionwidget.[ch]: - * gtk/gtkprintjob.[ch]: - * gtk/gtkprintoperation-private.h: - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintoperation-win32.c: - * gtk/gtkprintoperation.[ch]: - * gtk/gtkprintsettings.[ch]: - * gtk/gtkprintunixdialog.[ch]: - * gtk/paper_names.c: - * gtk/paper_names_offsets.c: - Platform independent printing API and implementations - for unix and windows. - - * gtk/gtkstock.h: - * gtk/stock-icons/24/gtk-orientation-landscape.png: - * gtk/stock-icons/24/gtk-orientation-portrait.png: - * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png: - Add stock icons for page orientation. - - * modules/Makefile.am: - * modules/printbackends/Makefile.am: - * modules/printbackends/cups/Makefile.am: - * modules/printbackends/cups/gtkcupsutils.[ch]: - * modules/printbackends/cups/gtkprintbackendcups.[ch]: - * modules/printbackends/cups/gtkprintercups.[ch]: - - Cups printing backend for unix. - - * modules/printbackends/lpr/Makefile.am: - * modules/printbackends/lpr/gtkprintbackendlpr.[ch]: - lpr printing backend for unix. - - * modules/printbackends/pdf/Makefile.am: - * modules/printbackends/pdf/gtkprintbackendpdf.[ch]: - print-to-pdf printing backend for unix. - - * tests/.cvsignore: - * tests/Makefile.am: - * tests/print-editor.c: - Test application for printing. - - * gdk/gdk.symbols: - * gdk/win32/gdkevents-win32.c: - * gdk/win32/gdkwin32.h: - Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the - mainloop while displaying a win32 common dialog. - - * gdk/directfb/Makefile.am: - Whitespace cleanup. - -2006-04-20 Paolo Borelli - - * gtk/gtkcombobox.c: plug small leak (#339132) - * tests/testcombo.c: ditto - -2006-04-19 Michael Emmel - - * gdk/directfb/gdkdrawable-directfb.c: fixed off by one error in - clip patch from (#330824) - -2006-04-19 Murray Cumming - - * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate: - Added has_title flag so we can remember whether a title has - been set. - (gtk_file_chooser_button_constructor): If no title has been - set then set it to the default title. This means that the - default title will be used if the dialog was instantiated with - g_object_new(), without using the gtk_file_chooser_button_new() - convenience function. This helps language bindings. - (gtk_file_chooser_button_set_property): Set has_title when - setting the title. - -2006-04-19 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9] - to GDK_KP_[0-9]. (#337562) - -2006-04-18 Matthias Clasen - - * gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than - using a fixed array of size 128. - - * gtk/gtkiconcache.c: Apply a patch by Paolo Borelli to factor - out a strip_suffix() function and save some memory. (#338307) - -2006-04-18 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_pages_allocate): removed wrong - condition check that caused tab labels not to be drawn under certain - circumstances. Bug #338734. - -2006-04-17 Kjartan Maraas - - * configure.in: Remove obsolete entry for no_NO - * po-properties/no.po: And the translation - * po/no.po: And the translation. - -2006-04-17 Matthias Clasen - - * demos/gtk-demo/colorsel.c (expose_event_callback): Small formatting - fix. - -2006-04-17 Christian Persch - - * gtk/gtkdnd.c: (gtk_drag_dest_set), (gtk_drag_dest_set_proxy): Fix - UMR in gtk_drag_dest_motion. Bug #338725. - -2006-04-17 Matthias Clasen - - * gtk/gtksettings.c (gtk_settings_class_init): - * gtk/gtkentry.c (gtk_entry_class_init): Fix typos - in property blurbs. (#338772, Clytie Siddall) - -2006-04-16 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable): Add check - for source being a window. - - * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_get_pointer): - Don't assert on window not being the root window. - -2006-04-16 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c: Remove leading cairo/ in include. - -2006-04-16 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a - possible array overrun. (Coverity) - - * gtk/gtkcalendar.c (gtk_calendar_key_press): Avoid a - possible array overrun. (Coverity) - - * gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags): - Avoid a NULL dereference. (Coverity) - -2006-04-15 Matthias Clasen - - * gtk/gtkrecentmanager.c: Make filename_warning() static, - and use caseless matching when looking for file:/. - (#336772, Morten Welinder) - -2006-04-13 Anders Carlsson - - * gdk/quartz/gdkevents-quartz.c: - (synthesize_enter_event): - (synthesize_leave_event): - (synthesize_crossing_events): - Take grabs into account. - - (find_window_for_event): - Only return grabbed window when owner_events is FALSE. - -2006-04-13 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly - to avoid a possible NULL dereference. (Coverity) - -2006-04-12 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't - allow passing NULL for x1 or x2, adjust callers. - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): - Reorganize to avoid a possible NULL pointer dereference. (Coverity) - - * gtk/gtknotebook.c (gtk_notebook_page_allocate): Reorganize - to avoid a possible NULL dereference. (Coverity) - - * gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Handle - closed displays correctly. (Coverity) - - * contrib/gdk-pixbuf-xlib/Makefile.am: - * modules/engines/pixbuf/Makefile.am - * gdk-pixbuf/Makefile.am: Build fixes for Cygwin. (#338262) - - * gdk/x11/gdkselection-x11.c (make_list): Make this work - for list == NULL. (Coverity) - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode): - Rearrange the code a bit. - - * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange): - Handle _gtk_text_line_get_data() returning NULL in all - cases. (Coverity) - - * gtk/gtkuimanager.c: Make find_menu_position and - find_toolbar_position void. (#338100) - -2006-04-12 Anders Carlsson - - * gdk/quartz/gdkkeys-quartz.c: - Handle page up and page down. - -2006-04-12 Anders Carlsson - - * gdk/quartz/gdkdrawable-quartz.c: - (_gdk_quartz_drawable_release_context): - Don't flush if we're inside a begin_paint/end_paint pair. - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_end_paint): - Free clip region here. - -2006-04-12 Matthias Clasen - - * gtk/gtkuimanager.c (start_element_handler): Don't pass - a negative value as string length to get_child_node(). (Coverity) - - * gtk/gtkicontheme.c (insert_theme): Handle dirs == NULL - gracefully. (Coverity) - - * gtk/gtknotebook.c (gtk_notebook_remove): Silently do nothing - if the widget is not a child. (Coverity) - -2006-04-11 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c (get_xkb): Return early in error - cases. (Coverity) - - * gtk/gtktextview.c (selection_motion_event_handler): Remove - some unused variables. - - * gtk/gtktreeview.c ((gtk_tree_view_search_position_func): Apply - a patch from David Trowbridge to improve the positioning of the - search popup. (#338047) - -2006-04-11 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (gtk_recent_manager_init) - (gtk_recent_manager_new): Remove the unneeded setting of the - storage file inside the constructor. (Murray Cumming) - (build_recent_items_list): Reset the dirty bit when done rebuilding - the list from the storage file. - -2006-04-11 Matthias Clasen - - * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence - compiler warnings. - - * gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't - dereference info before checking it for NULL. (Coverity) - -2006-04-11 Anders Carlsson - - * gdk/quartz/GdkQuartzView.c: - (-[GdkQuartzView drawRect:]): - * gdk/quartz/gdkdrawable-quartz.c: - (gdk_quartz_ref_cairo_surface): - (_gdk_quartz_drawable_get_context): - (_gdk_quartz_drawable_release_context): - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_finalize): - (gdk_window_impl_quartz_class_init): - (gdk_window_impl_quartz_begin_paint_region): - (gdk_window_impl_quartz_end_paint): - (gdk_window_impl_quartz_invalidate_maybe_recurse): - (gdk_window_impl_quartz_process_updates): - (gdk_window_impl_quartz_paintable_init): - (_gdk_window_impl_quartz_get_type): - * gdk/quartz/gdkwindow-quartz.h: - Have GdkWindowImplQuartz implement GdkPaintable. - -2006-04-10 Michael Natterer - - * gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize): - pasted rich text should not be affected by tags that are active at - the insertion point. Therefore, remove and remember all active - tags, and re-apply them left and right of the inserted text after - pasting. Fixes bug #337653. - -2006-04-11 Anders Carlsson - - * gdk/gdkinternals.h: - * gdk/gdkwindow.c: - (_gdk_paintable_get_type): - (gdk_window_begin_paint_region): - (gdk_window_end_paint): - (gdk_window_process_updates): - (gdk_window_invalidate_maybe_recurse): - Add new GdkPaintable interface which implementation objects can - implement in order to override gdk painting functions. - -2006-04-10 Vladimer Sichinava - - * configure.in: Added "ka" (Georgian) to ALL_LINGUAS - -2006-04-07 Hans Breuer - - * gtk/makefile.msc.in tests/makefile.msc : updated - -2006-04-06 Tor Lillqvist - - Correct the appearance of non-square icons and cursors: pad them - to square so that Windows won't stretch them. - - * gdk/win32/gdkcursor-win32.c (create_alpha_bitmap) - (create_color_bitmap): Always create square bitmaps, take only - side length as argument. - (pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal): - Corresponding changes. - -2006-04-05 Matthias Clasen - - * gtk/gtktextview.c (text_window_realize): Lower the window, to - prevent late-constructed text windows from covering child - widgets. (#336796, Yevgen Muntyan) - - * gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify) - (gtk_grab_notify_foreach): Rework the code which emits ::grab-notify - signals to ensure that we emit enough signals. Also optimize the - code to not do unnecessary tree walking. - - * gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify. - -2006-04-05 Paolo Borelli - - * gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r - and \n split across lines. Bug #337022. - * tests/testtextbuffer.c: add unit test. - -Tue Apr 4 12:25:36 2006 Søren Sandmann - - * gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to - make it build. - -2006-04-04 Matthias Clasen - - * gdk/gdkdisplay.c: - * gdk/gdkdisplaymanager.c: - * gdk/gdkdraw.c: - * gdk/gdkkeys.c: - * gdk/gdkpixmap.c: - * gdk/gdkscreen.c: - * gdk/gdkwindow.c: - * gdk/x11/gdkcolor-x11.c: - * gdk/x11/gdkdisplay-x11.c: - * gdk/x11/gdkdnd-x11.c: - * gdk/x11/gdkdrawable-x11.c: - * gdk/x11/gdkgc-x11.c: - * gdk/x11/gdkimage-x11.c: - * gdk/x11/gdkinput.c: - * gdk/x11/gdkpixmap-x11.c: - * gdk/x11/gdkscreen-x11.c: - * gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE. - - * gdk/x11/gdkcolor-x11.c: - * gdk/x11/gdkdnd-x11.c: - * gdk/x11/gdkimage-x11.c: Use instance private data. - -2006-04-03 Matthias Clasen - - * gdk/gdkrgb.c: Get rid of a duplicate copy of the visual names. - - * gtk/gtkmain.c: Make gtk_args const. - - * gtk/gtkicontheme.c (pixbuf_supports_svg): Save one static. - - * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark): - * gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark): - * gtk/gtkfilechooser.c (gtk_file_chooser_error_quark): - * gtk/gtkfilesystem.c (gtk_file_system_error_quark): - * gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point - in making the error path fast by caching quarks. - - * gtk/gtkfilesel.c (no_stat_dirs): Avoid relocation. - - * gdk/gdk.c: Here too. - - * gdk/gdkinternals.h: - * gdk/x11/gdkmain-x11.c: - * gdk/win32/gdkmain-win32.c: - * gdk/directfb/gdkdisplay-directfb.c: - * gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const. - - * gdk/win32/gdkpixmap-win32.c: Include gdkscreen.h (#337032, - Kazuki IWAMOTO) - - * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Mention - that %NULL is allowed. (#336937, Christian Neumair) - - * gtk/gtkmain.c: Get rid of an unnecessary static variable. - - * gtk/gtktextlayout.c: Fix a warning. - - * gtk/gtktextsegment.h: - * gtk/gtktextsegment.c: - * gtk/gtktextchild.c: - * gtk/gtktextbtree.c: - * gtk/gtktextmark.c: - * gtk/gtktexttypes.h: Make the segment class pointers const. - - * gtk/gtktextbufferserialize.c: Make parser struct const. - - * gtk/gtkuimanager.c: Make parser struct const. - - * gtk/gtklinkbutton.c: Make the default colors const. - - * gtk/gtkuimanager.c: Avoid relocations. - - * gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static - buffer. - - * gtk/gtktext.c (gtk_text_key_press): Avoid relocations. - - * gtk/gtkrc.c (gtk_rc_add_initial_default_files) - (gtk_rc_add_default_file): Allocate the gtk_rc_default_files array - dynamically. - -2006-04-02 Matthias Clasen - - * gtk/gtkrc.c: Avoid relocations for the array of symbol names. - - * gtk/gtkruler.c: Remove unused strings from the ruler_metrics - structs, to avoid relocations. (#336917, Stephane Chauveau) - -2006-04-02 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build - the items list after setting the storage file. - - * gtk/gtkrecentmanager.c (display_closed): Use the right string - for unsetting the default manager object from the screen. - -2006-04-01 Behdad Esfahbod - - * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784) - -2006-04-01 Behdad Esfahbod - - * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString - instead of static buffer to reduce .bss by 8kb. (#336784) - -2006-04-01 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c (draw_hline): Emulate WinXP's - drawing of menu separators - -2006-03-31 Behdad Esfahbod - - * gtk/gtkrecentmanager.c: Convert filenames to UTF-8 before printing - them out in warning messages. (#336770, Morten Welinder) - -2006-03-31 Behdad Esfahbod - - * gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update - last_stamp inside the look. (#336771, Morten Welinder) - -2006-03-31 Behdad Esfahbod - - * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property): - Add missing break. (#336769, Morten Welinder) - -2006-03-31 Behdad Esfahbod - - * gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label): - * gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL - instead of FALSE in g_return_val_if_fail in a pointer-returning - function. (#336764, Morten Welinder) - -2006-04-01 Gora Mohanty - - * configure.in: Added 'or' (Oriya) to ALL_LINGUAS. - -2006-03-31 Matthias Clasen - - * gtk/gtkrecentmanager.c (gtk_recent_info_get_age): Don't - assert that the age is positive. (#336773, Morten Welinder) - -2006-03-31 Matthias Clasen - - * gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile - parser in the error case. - - * gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon) - (icon_data_free, load_themes): - * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice - allocator for GtkIconData and UnthemedIcon structs. - -2006-03-30 Behdad Esfahbod - - * gtk/gtkcalendar.c: Fix translation comments for localizable - digit formats. (fixes bug #336650) - -2006-03-30 Matthias Clasen - - * gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc - comment format. - - * gtk/gtkrecentmanager.c (gtk_recent_manager_has_item) - (gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item) - (gtk_recent_manager_get_limit, gtk_recent_manager_add_full) - (gtk_recent_manager_get_items, gtk_recent_manager_remove_item): - - * gtk/gtkrecentfilter.c (gtk_recent_filter_add_age): - * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers) - (gtk_recent_chooser_set_sort_func): - * gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync - parameter names between .c and .h files to help gtk-doc. - - * gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword - docs to help gtk-doc. - - * docs/tools/widgets.c (get_all_widgets): Add - GtkRecentChooserDialog. - - * gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an - icon window when constructing the fallback_icon. This - fixes a crash when dragging icons between screens in - nautilus. (#325751, Hylke van der Schaaf) - -2006-03-30 Michael Emmel - - * gdk/directfb/gdkpixmap-directfb.c implement - (gdk_pixmap_foreign_new_for_screen) - -2006-03-30 Emmanuele Bassi - - Add documentation for the GtkLinkButton (#336592) - - * docs/reference/tmpl/gtklinkbutton.sgml: Add description - of the GtkLinkButton. - - * docs/reference/gtk/migrating-GtkLinkButton.sgml: Guidelines - for migrating code from GnomeHRef to the GtkLinkButton. - - * docs/reference/gtk/gtk-docs.sgml: - * docs/reference/gtk/Makefile.am: Build glue for the porting - guide. - -2006-03-29 Matthias Clasen - - * gdk/gdk.symbols: - * gdk/gdkpixmap.h: - * gdk/win32/gdkpixmap-win32.c: - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen): - New function to allow wrapping a native pixmap without - a server roundtrip. (#334954, David Baron) - - * gtk/gtk.symbols: - * gtk/gtkrecent*.c: Fix some symbol aliasing glitches. - -2006-03-29 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: Make gtkalias.h the last included file. - -2006-03-29 Emmanuele Bassi - - * gtk/gtk.symbols: Fix a typo that broke aliasing rules. - -2006-03-29 Richard Hult - - * gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom. - -2006-03-29 Emmanuele Bassi - - * docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration - guide for porting to the new GtkRecent stuff from the old EggRecent - code. - - * docs/reference/gtk/tmpl/gtkrecentchooser.sgml: - * docs/reference/gtk/tmpl/gtkrecentchooserdialog.sgml: - * docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml: - * docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml: - * docs/reference/gtk/tmpl/gtkrecentfilter.sgml: - * docs/reference/gtk/tmpl/gtkrecentmanager.sgml: Add template files - for the reference guide. - - * docs/reference/gtk/gtk-docs.sgml: - * docs/reference/gtk/gtk-sections.txt: - * docs/reference/gtk/Makefile.am: Build glue for add GtkRecent to - the reference guide. - -2006-03-29 Emmanuele Bassi - - * tests/Makefile.am: - * tests/testrecentchooser.c: Add a test suite for GtkRecentChooser. - -2006-03-29 Emmanuele Bassi - - Import GtkRecent* from libegg. - - * gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object - for managing a list of recently used resources. - - * gtk/gtkrecentchooser.[ch]: - * gtk/gtkrecentchooserdefault.[ch]: - * gtk/gtkrecentchooserdialog.[ch]: - * gtk/gtkrecentchoosermenu.[ch]: - * gtk/gtkrecentchooserprivate.h: - * gtk/gtkrecentchooserutils.[ch]: - * gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a - GTypeInterface for widgets implementing viewers for recently - used resources. - - * gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object - for GtkRecentChooser implementations. - - * gtk/gtk.h: - * gtk/gtk.symbols: - * gtk/Makefile.am: Build glue for GtkRecent*. - -2006-03-29 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Emit - page-added before switch-page. (#335691, Christian Persch) - -2006-03-29 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle - double queuing, rather than asserting that it does not - happen. (#330617) - -2006-03-28 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_set_tab_detachable): Fix - docs syntax, also commit a patch from #335707 to improve - notebook DND with window widgets. - - * gtk/gtktextview.c (gtk_text_view_start_selection_drag): - (selection_motion_event_handler): Fix drag-selection after - double-click. (#323862, Benjamin Berg) - - * gtk/gtktextview.c (get_iter_at_pointer): Factor this out - into a function and use it in move_mark_to_pointer_and_scroll, - drag_scan_timeout and selection_motion_event_handler. - (Paolo Borelli) - -2006-03-28 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_do_popup) - (gtk_text_view_grab_notify): Move the call to - gtk_text_view_end_selection_drag() from gtk_text_view_do_popup - to gtk_text_view_grab_notify, so that it works not only - for the text views own popup, but also for other ways in which - we might become grab-shadowed during a selection drag. - (#74620, Li Yuan) - -2006-03-28 Sven Herzberg - - reviewed by: Tim Janik - - * gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if - the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is - called from gtk_pixmap_finalize (bug 336254) - -2006-03-27 Anders Carlsson - - * gdk/quartz/gdkevents-quartz.c: - (select_thread_func): - (got_fd_activity): - (poll_func): - (gdk_event_translate): - Make the poll func work with real file descriptors. - We do this by creating a thread which calls poll and then - signals the main thread using a run loop source. - - * gtk/gtkclipboard-quartz.c: - (-[GtkClipboardOwner pasteboard:provideDataForType:]): - Remove debugging output - -2006-03-27 Matthias Clasen - - * gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that - the widget is viewable. (#336200, Bastian Nocera) - -2006-03-27 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need - for scrolling (more obvious than adding additional conditions to - the scroll offset calculation). Fixes bug #335912. - -2006-03-27 Anders Carlsson - - * gtk/Makefile.am: - Add -xobjective-c to cflags. - (#335956, Lllian Angel) - - * gtk/gtkdnd-quartz.c: - (gtk_drag_dest_set_track_motion): - (gtk_drag_dest_get_track_motion): - Add stubs for new functions. - (#335955, Lillian Angel) - -2006-03-27 Richard Hult - - * gdk/quartz: Add more stubs. - -2006-03-27 Michael Natterer - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property): - add missing ')'. - -2006-03-26 Matthias Clasen - - * gtk/Makefile.am: Fix a srcdir != builddir build problem. - (#335915, Yevgen Muntyan) - - * gtk/gtktextbuffer.c (gtk_text_buffer_get_property): - * gtk/gtksettings.c (gtk_settings_get_property): - * gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks. - - * gtk/gtktexttag.c (gtk_text_tag_get_property): - * gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property): - Avoid an unnecessary strdup. (#336013) - -2006-03-24 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_value_changed): Don't call - gdk_window_invalidate_rect() on unrealized widgets. (#335717, - Nicolas Setton) - -Fri Mar 24 14:53:20 2006 Tim Janik - - * gtk/gtktreemodel.h: - * gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator - functions which turned out to cause too much trouble. - -2006-03-23 Matthias Clasen - - * AUTHORS: small update - -2006-03-23 Matthias Clasen - - Support subclasses in RC files. (#142417, Todd Berman, patch - based on a patch by Benjamin Berg) - - * gtk/gtkrc.h: - * gtk/gtkrc.c: Support elements in widget_class paths - in rc files which match any classes derived from named class. - - (_gtk_rc_init): Use the new syntax in the default rc string. - - * gtk/gtkbindings.c: Support the new syntax for bindings too. - - * tests/testrc.c: Tests for widget_class path matching - -2006-03-23 Carlos Garnacho - - * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event() - is called when track_motion is TRUE to receive drag_motion and - drag_leave events properly. - -2006-03-22 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed - signal after removing the page. (#335238, Christian Persch) - -2006-03-22 Carlos Garnacho - - * gtk/gtkexpander.c: Make it to expand when hovering during DnD - -2006-03-22 Matthias Clasen - - Improved DND support for GtkNotebook (#332991, Carlos Garnacho) - - * gtk/gtk.symbols: - * gtk/gtkdnd.h: - * gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest - with getter and setter, for cases where the drag destination - is interested in drag motion events independent of targets. - - * gtk/gtksettings.c (gtk_settings_class_init): Add a setting - for the timeout used when expanding during DND. - - * gtk/gtknotebook.c: Use the track_motion flag to switch - notebook tabs when hovering over tabs during DND. - -2006-03-22 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to - draw the inter-row drop highlight. Also draw the line all the - way across, and flip it in RTL mode. (#334906, Ian McDonald) - -2006-03-22 Johan Dahlin - - * tests/testtreeview.c: Add a column that demonstrates how to use - the new spinbutton cellrenderer. - -2006-03-22 Matthias Clasen - - * tests/prop-editor.c: - * tests/testtreeview.c: Remove pointless includes of config.h, - to make it easier compilable against system GTK+. - -2006-03-22 Michael Natterer - - * gtk/gtkentry.c: renamed last-char-timeout to - password-hint-timeout and store all its data in a struct attached - as QData. - - * gtk/gtkcellrendererspin.c: fix typo in #include. - -2006-03-22 Carlos Garnacho - - * gtk/gtknotebook.c: send a GtkWidget** instead of a GtkNotebookPage* - when doing tabs DnD, this allows DnD interaction with other widgets, - added some docs for this too. - * tests/testnotebookdnd.c: add some code to test it. - -2006-03-22 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkcellrendererspin.h: - * gtk/gtkcellrendererspin.c: Add a cell renderer which - uses a spinbutton to edit the value of a cell. (#156023, - Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho) - - * gtk/gtk.h: - * gtk/Makefile.am: Glue it in. - -2006-03-21 Matthias Clasen - - * tests/testtreeview.c (drag_begin_cb): Test setting up - drag icons for tree dnd. - -2006-03-22 Michael Natterer - - * gtk/gtkentry.c: applied modified patch from maemo-gtk which - allows the most recently entered character in a hidden entry to be - shown for a configurable period of time. Fixes bug #334560. - -2006-03-22 Michael Natterer - - * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): count down - from G_MAXUINT to avoid clashes with application-added DND - targets. - - * gtk/gtktextview.c (gtk_text_view_init): set an empty - GtkTargetList on the drag_dest so it is not NULL when a derived - class' init() function is called. - - (gtk_text_view_target_list_notify): copy the text buffer's paste - targets into the view's destinstion target list (preserving - application-added DND targets), instead of replacing the view's - target list. Fixes bug #334399. - -2006-03-21 Anders Carlsson - - * gtk/Makefile.am: - Add new files. - - * gtk/gtkclipboard-quartz.c: Added. - * gtk/gtkdnd-quartz.c: Added. - * gtk/gtkquartz.c: Added. - * gtk/gtkquartz.h: Added. - Add dnd and clipboard implementations. - -2006-03-21 Michael Natterer - - * gdk/quartz/Makefile.am: removing trailing \ fixes the build. - -2006-03-21 Anders Carlsson - - * gdk/quartz/gdkgeometry-quartz.c: - (gdk_window_scroll): - Implement gdk_window_scroll. - -2006-03-21 Anders Carlsson - - * gdk/quartz/GdkQuartzWindow.c: - (drag_operation_to_drag_action): - (drag_action_to_drag_operation): - (update_context_from_dragging_info): - (-[GdkQuartzWindow draggingEntered:]): - (-[GdkQuartzWindow draggingEnded:]): - (-[GdkQuartzWindow draggingExited:]): - (-[GdkQuartzWindow draggingUpdated:]): - (-[GdkQuartzWindow performDragOperation:]): - (-[GdkQuartzWindow wantsPeriodicDraggingUpdates]): - (-[GdkQuartzWindow draggedImage:endedAt:operation:]): - * gdk/quartz/gdkdnd-quartz.c: - (gdk_drag_context_finalize): - (gdk_drag_context_init): - (gdk_drag_context_class_init): - (gdk_drag_begin): - (gdk_drag_status): - Add the GDK part of the DND implementation. - - * gdk/quartz/Makefile.am: - Add some missing headers. - - * gdk/quartz/gdkdrawable-quartz.h: - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkquartz.h: - * gdk/quartz/gdkwindow-quartz.c: - (gdk_quartz_window_get_nsview): - New function, for use by the GTK part of the DND implementation - -2006-03-21 Anders Carlsson - - * gdk/quartz/gdkdrawable-quartz.c: - (gdk_quartz_ref_cairo_surface): - (gdk_quartz_draw_rectangle): - (gdk_quartz_draw_arc): - (gdk_quartz_draw_polygon): - (gdk_quartz_draw_drawable): - (gdk_quartz_draw_segments): - (gdk_quartz_draw_lines): - (gdk_quartz_draw_pixbuf): - (gdk_quartz_draw_image): - (_gdk_quartz_drawable_get_context): - * gdk/quartz/gdkdrawable-quartz.h: - Offset coordinates by 0.5 pixels to get consistant results for both - image contexts and screen contexts. - -2006-03-21 Anders Carlsson - - * gdk/quartz/GdkQuartzWindow.c - ([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events - when the window position changes. - -2006-03-20 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_get_cursor): Remove an unused variable. - - * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave - page->tab_label dangling. - (gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION to determine - if we are being called during destruction of the notebook, rather - than maintaining that information as a passed-in parameter. - (gtk_notebook_destroy): Leave the removal of the children - to the container destroy method. (#319032, Yevgen Muntyan) - -2006-03-20 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing - GTK_IN_DESTRUCTION flag, rather than roll our own. - -2006-03-20 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c: Add a window-placement-set property - and a gtk-scrolled-window-placement setting. (#157025, Christian - Neumair) - -2006-03-20 Matthias Clasen - - * gtk/gtkmain.c (gtk_get_option_group): Make sure gettext - is initialized before using it. (#335129, Christian Persch) - -2006-03-19 Matthias Clasen - - * MAINTAINERS: Add this, at the request of the GNOME sysadmin team. - - * AUTHORS: Updates, typo fix - - * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that - @cell must be one of the renderers of the icon view, warn if - it is not, and ignore @start_editing if @cell is not set. - (#335001, Emmanuel Rodriguez) - -2006-03-16 Matthias Clasen - - * configure.in: Add a missing comma. (#334774, Peter Breitenlohner) - - * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full) - (gtk_action_group_add_toggle_actions_full) - (gtk_action_group_add_radio_actions_full): Check for a stock - icon, not a stock item, when deciding whether to use stock-id - or icon-name. (#334760, Jody Goldberg) - - * gtk/gtkimage.c (gtk_image_clear): Update the size of the image, - by swapping the implementations of gtk_image_clear and - gtk_image_reset. (#334657) - - * README.in: Add a note about GtkNotebook signals. - -2006-03-15 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_button_released) - (gtk_combo_box_list_key_press): Popdown the list before changing - the active iter, otherwise people will be surprised by the - grabs that are still in place when their ::changed handler - runs. - -2006-03-15 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Override style->realize/ - style->unrealize, so that GTK+ doesn't automatically attempt to apply - shading to the GC colors, causing a mismatch with the Win32 native - colors. Problem found by (and suggested solution by) "Cosmic Integer" - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Make expander-size - a bit closer to Microsoft's values (bug 325699, Brad Taylor) - -2006-03-14 Matthias Clasen - - * tests/testcellrenderertext.c: Add test cases for alignment. - - * gtk/gtkcellrenderertext.c: Add an alignment property, - and fix some cases where ellipsize_set was being used to - mean "we're ellipsizing" even when ellipsize was set to NONE. - (#318761, Ross Burton) - - * gtk/gtkimcontextsimple.c: Make return and release work again - to commit a hex sequence. Additionally, make escape reset the - im context when in a hex sequence. (#334423, Behdad Esfahbod) - -2006-03-13 Matthias Clasen - - Make actions work with named icons. (#323484, Jorn Baayen) - - * gtk/gtkactiongroup.c: If the stock-id field of a GtkActionEntry - does not contain a registered stock id, interpret it as an - icon name. - - * gtk/gtkaction.c: Add an icon-name property to actions and - use it for icons if a stock-id is not specified. - -2006-03-12 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_compute_configure_request): Don't - for the creation of geometry info here. (#114533) - -2006-03-11 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (draw_polygon): Use Polygon() for - outlined polygons, too. Same idea as in draw_rectangle(): Set pen - to NULL_PEN if drawing a filled polygon, set brush to HOLLOW_BRUSH - if drawing a polygon outline. (#332662) - (gdk_win32_draw_polygon): Corresponding simplification: no need to - add an extra final copy of the starting point. - -2006-03-11 Dom Lachowicz - - * modules/engines/ms-windows: Speed up the Windows theme - considerably (#163724, John Ehresman) - Be more careful about setting Pango font descriptions (#333372) - -2006-03-11 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_key_press): Allow to cancel - a drag with ESC. (#58389, Søren Sandmann) - -2006-03-10 Matthias Clasen - - * gtk/gtkrange.c: Add a style property ::activate_slider that - allows themes to draw the slider active while dragged. (#311992, - Benjamin Berg) - - * gtk/gtkcolorsel.c (gtk_color_selection_init): Fix two labels. - - * gtk-engine-check-abi.sh: Add a script to check that theme - engines don't export any extra functions. - -2006-03-10 Matthias Clasen - - * gtk/gtkcolorsel.c (gtk_color_selection_init): Avoid a mnemonic - conflict. (#163850, Dennis Cranston) - - * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Make the behaviour - of the about dialog consistent with other dialogs in gtk. If the - dialog is constructed with gtk_about_dialog_new(), the creator - is reponsible for handling the response by hiding or closing the - dialog. gtk_show_about_dialog() handles it by hiding the dialog. - (#333360, Daniel Drake) - - * README.in: Mention this change. - -2006-03-10 Matthias Clasen - - Apply a patch from Dennis Cranston to make dialogs more - consistent (#163850) - - * gtk/gtkcolorsel.c (make_label_spinbutton): Left-align labels. - - * gtk/gtkfontsel.c (gtk_font_selection_init): - * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): - * gtk/gtkcolorsel.c (gtk_color_selection_init): - * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): - * gtk/gtkinputdialog.c (gtk_input_dialog_init): Update the layout - of the dialog to follow HIG recommendations. Also update labels. - - * gtk/gtkmessagedialog.c (gtk_message_dialog_init): HIG-compatible - spacing. - (gtk_message_dialog_font_size_change): Merged into - gtk_message_dialog_style_set. - -2006-03-10 Matthias Clasen - - * gtk/gtkstyle.c: Remove g_return_if_fail() checks - from static functions. - -2006-03-10 Federico Mena Quintero - - Make Shift-P and Shift-N activate typeahead in GtkTreeView - (i.e. they are just normal capital letters). Fixes bug #334098. - - * gtk/gtktreeview.c (gtk_tree_view_add_move_binding): Add an - "add_shifted_binding" argument which determines whether we'll add - the same binding with GDK_SHIFT_MASK. - (gtk_tree_view_class_init): Use add_shifted_binding=FALSE for GDK_p - and GDK_n; use TRUE for all the rest. - -2006-03-10 Michael Natterer - - * gtk/gtkentry.[ch]: applied refactored patch from maemo-gtk that - replaces the INNER_BORDER define by an "inner-border" style - property of type GtkBorder. Additionally, add an "inner-border" - object property plus API which allows to override any theme - border, to allow pixel-perfect positioning of entries for inline - editing. Fixes bug #333922. - - * gtk/gtk.symbols: add the new public functions. - -2006-03-09 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): Replace the - popup-show and popup-hide signals with a readonly popup-shown - property. (#162531, Christian Persch) - -2006-03-09 Ross Burton - - * gtk/gtkwidget.c: - * gtk/gtkrange.c: - * gtk/gtktogglebutton.c: - Turn off prelighting when gtk-touchscreen-mode is enabled (#135666) - -Thu Mar 9 14:29:43 2006 Tim Janik - - * gtk/gtkobject.c (gtk_object_init): move the floating flag from - the GInitiallyUnowned bit to GTK_FLOATING. fixes tests/floatingcheck. - kudos to mitch for debugging this. - -2006-03-09 Matthias Clasen - - * Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST. - -2006-03-09 Tor Lillqvist - - * gtk/gtk.symbols: No gtk_tray_icon_get_type on Win32. - -2006-03-08 Carlos Garnacho - - Rename ::tab-added and ::tab-removed signals to ::page-added and - ::page-removed for not conflicting with other tab reordering - implementations. Fixes bug #333743. - - Also rename ::tab-reordered to ::page-reordered, and emit it in - gtk_notebook_reorder_child () to make it behave consistently with the - other two signals. - - * gtk/gtknotebook.c (gtk_notebook_class_init): rename signals. - (gtk_notebook_reorder_tab) - (gtk_notebook_button_release) - (gtk_notebook_remove) - (gtk_notebook_real_insert_page): emit respectively renamed signals - (gtk_notebook_reorder_child): also emit ::page-reordered here - - * tests/testnotebookdnd.c: use renamed signals - -2006-03-08 Michael Natterer - - * gdk/gdkscreen.h - * gdk/x11/gdkscreen-x11.c - * gdk/gdk.symbols: added gdk_screen_get_active_window() and - gdk_screen_get_window_stack() (patch from maemo-gtk). - Fixes bug #320881. - - * gdk/directfb/gdkscreen-directfb.c - * gdk/quartz/gdkscreen-quartz.c - * gdk/win32/gdkscreen-win32.c: added the functions as stubs. - -2006-03-08 Michael Natterer - - * tests/prop-editor.c (unichar_changed): zero-initialize the - GValue before calling g_value_init(). - -2006-03-08 Michael Natterer - - * gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the - text_area_width is always >= 0. Fixes bug #316712 (Dan Winship). - -2006-03-07 Federico Mena Quintero - - Cancel drags when the grabs get broken. Fixes bug #333056: - - * gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is - a guint, not guint32. - (gtk_drag_source_event_cb): Return gboolean, not gint. - (gtk_drag_anim_timeout): Likewise. - (gtk_drag_motion_cb): Likewise. - (gtk_drag_key_cb): Likewise. - (gtk_drag_button_release_cb): Likewise. - (gtk_drag_abort_timeout): Likewise. - (gtk_drag_begin_internal): Connect to "grab-broken-event" on the - ipc_widget. - (gtk_drag_source_info_destroy): Disconnect from the - "grab-broken-event" callback. - (gtk_drag_end): Likewise. - (gtk_drag_grab_broken_event_cb): New callback. We cancel the drag - if the grab was broken and not regrabbed by the DnD code. - -2006-03-07 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb): - Hack to let the treeview's button-press-event handler run before - ours. This lets the selection be updated before we pop up a - context menu. - -Tue Mar 7 17:16:34 2006 Tim Janik - - * configure.in: depend on glib-2.10.1. - - * gtk/gtkobject.c: fixed up messing with non-GtkObject floating flags. - this requires glib-2.10.1. - -2006-03-07 Michael Natterer - - Add infrastructure for copy/paste and DND of rich text for - GtkTextBuffer. Fixes bug #324177. - - * gtk/gtktextbufferrichtext.[ch]: new files implementing a - per-buffer registry of rich text formats. - - * gtk/gtk.h: #include gtktextbufferrichtext.h - - * gtk/gtktextbufferserialize.[ch]: new files implementing an - internal serialization format that can handle all of a text - buffer's tags and pixbufs. It's not useful for anything except - tranfer between instances of GtkTextBuffer (Anders Carlsson). - - * gtk/Makefile.am: build the new files. - - * gtk/gtkclipboard.[ch]: added convenience APIs for rich text, - just as they exist for plain text and pixbufs. - - * gtk/gtkselection.[ch]: added rich text convenience APIs here - too. Return the target list from gtk_target_list_ref(). Register - GtkTargetList as boxed type. Added - gtk_target_table_new_from_list() and gtk_target_table_free(), - which make converting between GtkTargetList and arrays of - GtkTargetEntry considerably easier. - - * gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon() - which creates a fancy rich text icon (Matthias Clasen). - - * gtk/gtktextbuffer.[ch]: use all the new stuff above and - implement copy and paste of rich text. Added APIs for getting the - target lists used for copy and paste. Added public enum - GtkTextBufferTargetInfo which contains the "info" IDs associated - with the entries of the target lists. - - * gtk/gtktextview.c: use the new rich text APIs and - GtkTextBuffer's new target list API to enable DND of rich text - chunks. - - * gtk/gtk.symbols: export all the new symbols added. - - * tests/testtext.c: added rich text testing stuff. - -2006-03-06 Matthias Clasen - - * gtk/gtktextview.c (text_window_invalidate_cursors): Take - cursor width into account when calculating the area to - be invalidated. (#333377, #323401 Steve Frécinaux) - - * gtk/gtkmain.c (post_parse_hook): Set error when returning - FALSE. (#333268, Paolo Maggi, Christian Persch) - - * gtk/gtkpixmap.c (gtk_pixmap_set): Check that the pixmap - has the right depth. (#333363, Ed Catmur) - -2006-03-05 Matthias Clasen - - * gtk/gtkiconview.c (adjust_wrap_width): Apply some - arbitrary lower limit for the guessed wrap width. (#332466, - Donald Straney) - -2006-03-05 Matthias Clasen - - Fix handling of image-only buttons. (#332985, Kalle - Vahlmann, #333555) - - * gtk/gtkbutton.c (gtk_button_construct_child): Don't - return early if there an image to show. - (show_image): Always return TRUE if there is no text. - -2006-03-04 Matthias Clasen - - * gdk/x11/gdkinput-x11 (gdk_input_translate_coordinates): - Adjust the handling of min values for the x and y axes of - extended input devices (#324562, #142536, Denis Auroux and - Robert Ögren) - - * gtk/gtkexpander.c (gtk_expander_paint_focus): Position - the focus rectangle correctly in RTL mode. (#333291, - Benjamin Berg) - -2006-03-03 Tor Lillqvist - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_commit_char) - (gtk_im_context_simple_reset): Avoid emitting superfluous - preedit_changed signals. Thanks to Matthias. (#319407) - -2006-03-03 Michael Natterer - - Applied modified patch from maemo-gtk which makes separators more - themeable. Fixes bug #332022. - - * gtk/gtkwidget.c: added style properties "wide-separators", - "separator-width" and "separator-height". - - * gtk/gtkhseparator.c - * gtk/gtkvseparator.c - * gtk/gtkmenuitem.c - * gtk/gtktoolbar.c: honor the new settings and paint separators - using gtk_paint_box() if wide-separators is true. - -2006-03-02 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Fix combobox theming - regression noted in bug 321301 - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto - -2006-03-02 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_layout) - (gtk_icon_view_row_inserted, gtk_icon_view_scroll_to_path): - Make scroll_to_path work for newly inserted items, by delaying - the scroll until layout is done. (#332923, Cory Dodt) - - * gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE, - not GTK_WIDGET_SENSITIVE. (#333133, Christian Persch) - -2006-03-02 Ross Burton - - * gtk/gtktooltips.c: - Disable tooltips if gtk-touchscreen-mode is activated (#315112). - -2006-03-01 Kristian Rietveld - - * gtk/gtktreeselection.c (row_is_selectable): rename to - _gtk_tree_selection_row_is_selectable and export internally, - (gtk_tree_selection_real_select_node): changed so it is always - possible to unselect insensitive nodes, changed the logic a bit to - be more clear. - - * gtk/gtktreeprivate.h: add _gtk_tree_selection_row_is_selectable. - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): Unselect a row if - it became insensitive. - -2006-02-27 Federico Mena Quintero - - * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Check that - the fontsel has a screen assigned before doing anything. This - will at least warn the caller of what is wrong, since we only - populate the family_list until we get a screen. Also, put the - reference docs here. Fixes bug #332756. - (gtk_font_selection_dialog_get_font_name): Document this here. - (gtk_font_selection_get_font_name): Document this here; mention - that the font names get normalized, so the result of this function - may not be the same as what you set with - gtk_font_selection_set_font_name(). - -2006-02-27 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtktrayicon-x11.c: Fix symbol lists for make check. - -2006-02-27 Michael Natterer - - * gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the - "Gtk/TouchscreenMode" XSettings property, remove trailing - whitespace. - - * gdk/x11/checksettings.c: #include and sprinkled some - newlines. - -Mon Feb 27 14:52:50 2006 Tim Janik - - * gdkevents-x11.c: - * gdksettings.c: moved and renamed the gdk_settings_names and - gdk_settings_map. - - * gdk/x11/checksettings.c: test program for the gdk_settings_map array. - - * gdk/x11/Makefile.am: run checksettings as part of make check. - -2006-02-27 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_get_cursor): Comment out some unused - code, and fix the reference point of composited drag cursors. - (#320132, Christian Neumair) - -Sun Feb 26 10:24:10 PST 2006 Michael Emmel - - *gdk/directfb/README - Updated README to remove old build instructions - -Sat Feb 25 10:35:23 PST 2006 Michael Emmel - - *gdk/directfb/gdkdisplay-directfb.c - *gdk/directfb/gdkwindow-directfb.c - Added stubs for shape window functions to fix compile problems - -2006-02-24 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Make the - column header visible, and make it be "_Places". Changed the - accessible object name to Places as well. Fixes bug #331306. - (file_pane_create): Do not create the path bar and "create folder" - button here... - (browse_widgets_create): ... but create them here instead. This - moves the path bar to be above both the hpaned, giving it the full - width of the dialog. Fixes bug #327733. - -Thu Feb 23 13:28:21 2006 Tim Janik - - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): remove unconditional - warnings about missing X locale support. Gdk properly handles this - situation anyway. - -Fri Feb 17 14:20:29 2006 Tim Janik - - * gtk/gtktreemodel.h: - * gtk/gtktextbtree.h: added G_GNUC_WARN_UNUSED_RESULT warnings for - iterator functions, to avoid invalid iterators go unnoticed, - suggested by Markku Vire . - -2006-02-23 Matthias Clasen - - * tests/Makefile.am: - * tests/testnotebookdnd.c: Add notebook DND tests. - - * gtk/gtknotebook.h: Add a reorder_tab keynav signal and an - insert_page vfunc to GtkNotebook. - - * gtk/gtk.symbols: - * gtk/gtknotebook.c: Support notebook DND. New API includes - gtk_notebook_set_window_creation_hook, - gtk_notebook_[gs]et_group_id, - gtk_notebook_[gs]et_tab_reorderable, - gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho) - -2006-02-23 Matthias Clasen - - * gtk/gtktextiter.c: Fix macro declaration - - * gtk/gtkaboutdialog.c: Remove an accidentally included function. - -2006-02-22 Matthias Clasen - - * gtk/gtktextbtree.c: - * gtk/gtktextiter.c: Minor optimizations. (#332059, Arnaud Charlet) - - * gtk/gtkradiobutton.c (gtk_radio_button_clicked): Emit notify::active - here, when changing the value of this property. (#331651) - - * gtk/gtknotebook.c: Apply a patch by Paolo Borelli to - make the tab menu keynavigatable. (#331440) - -2006-02-22 Matthias Clasen - - * gtk/gtkaboutdialog.c: Change Close buttons to GTK_RESPONSE_CANCEL - so Escape works. (#331940, Daniel Drake) - -2006-02-22 Michael Natterer - - * gtk/gtksettings.c: added boolean property gtk-touchscreen-mode, - which essentially means "there are no motion notify events", so - widgets can't use the pointer hovering them for anything. - - * gtk/gtkmenu.c: if gtk-touchscreen-mode is TRUE, scroll menus - when clicking the scroll arrows, since hovering goes undetected. - Fixes bug #323028. - - Added boolean style property "double-arrows" which always makes - both scroll arrows visible when the menu is too long. - For pushed-in popup menus, both arrows are always shown - (regardless of double-arrows), in order to fix user confusion - about the blank area. Fixes bug #129463. - -2006-02-21 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): - Make sure we always update the virtual root, also when ->priv->root - is still NULL. (Markku Vire) - -2006-02-21 Anders Carlsson - - * gdk/quartz/gdkselection-quartz.c: - (make_list): - (gdk_text_property_to_utf8_list_for_display): - Add these from the win32 backend. - -2006-02-20 Matthias Clasen - - * gtk/gtknotebook.c: Properly update internal state - when child visibility changes. (#331785, Sebastien Bacher) - - * gdk/gdkgc.c (_gdk_gc_update_context): Obtain the - background color from the gc when it is needed. (#331820) - -2006-02-19 Matthias Clasen - - * gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed - argument, and avoid setting the clip region if the gc - has not changed. - - * gdk/gdkgc.c: Update all callers. - - * gdk/gdkpango.c (get_cairo_context): Avoid updating the - context if nothing changed. - -2006-02-20 Anders Carlsson - - * gdk/quartz/gdkdisplay-quartz.c: - (gdk_display_supports_shapes): - (gdk_display_supports_input_shapes): - * gdk/quartz/gdkwindow-quartz.c: - (gdk_display_warp_pointer): - (gdk_window_input_shape_combine_mask): - (gdk_window_input_shape_combine_region): - (gdk_window_set_child_input_shapes): - (gdk_window_set_accept_focus): - (gdk_window_merge_child_input_shapes): - Add stubs for input shape functions. - -2006-02-20 Anders Carlsson - - * gdk/quartz/gdkevents-quartz.c: - (get_keyboard_modifiers_from_nsevent): - Fix typo so ctrl gets passed on to the gdk event. - - * gdk/quartz/gdkproperty-quartz.c: - (gdk_atom_name): - g_strdup the atom name. - -2006-02-20 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c (gdk_display_supports_shapes): - New function, return TRUE. - (gdk_display_supports_input_shapes): New function, return FALSE. - - * gdk/win32/gdkwindow-win32.c (do_shape_combine_region): New - function. Factor out code from gdk_window_shape_combine_mask(). - (gdk_window_shape_combine_region): Actually do something. Convert - region to a HRGN and call do_shape_combine_region(). - (gdk_window_input_shape_combine_mask) - (gdk_window_input_shape_combine_region) - (gdk_window_set_child_input_shapes) - (gdk_window_merge_child_input_shapes): New functions, dummy - implementations. - -2006-02-20 Michael Natterer - - * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): adding boolean - have_shapes and have_input_shapes members fixes the build. - -2006-02-20 Tor Lillqvist - - * gdk/win32/gdkfont-win32.c: Replace all calls to g_strcasecmp() - with g_ascii_strcasecmp(). - -2006-02-19 Matthias Clasen - - Support input shapes: (#331070) - - * gdk/gdk.symbols: - * gdk/gdkdisplay.h: - * gdk/gdkwindow.h: - * gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes) - (gdk_display_supports_input_shapes): Functions to determine - if a display supports shaped windows or input shapes. - - * gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region): - (gdk_window_input_shape_combine_mask): - (gdk_window_set_child_input_shapes): - (gdk_window_merge_child_input_shapes): Input shape versions - of the window shape API. - - * gtk/gtk.symbols: - * gtk/gtkwidget.h: - * gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask): - New function to set an input shape on a widget. - -2006-02-19 Matthias Clasen - - * gtk/gtklinkbutton.c (gtk_link_button_class_init): Fix - a cast. - -2006-02-17 Matthias Clasen - - DND keynav support: - - * gtk/gtkdnd.c (gtk_drag_update_idle): Protect against - info->last_event being NULL. - (gtk_drag_key_cb): Handle arrow keys to move the drag icon - and space or enter to drop. - -2006-02-17 Matthias Clasen - - * gdk/gdkregion-generic.c (gdk_region_union_with_rect): - Be robust and reject rectangles with negative width or - height. (#331467, Benjamin Berg) - - -2006-02-17 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): - Only update the virtual root if the child path is an ancestor - of the virtual root. (Patch from Markku Vire). - -2006-02-16 Federico Mena Quintero - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call - ::initial_focus() on the child before calling ::map() on our - parent class. This will prevent the shortcuts treeview from - highlighting its first row as a result of getting assigned focus - by gtk_dialog_map(). - -2006-02-14 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant - check. Pointed out by Bodo-Merle Sandor. - - * gtk/gtkcolorbutton.c (gtk_color_button_[un]realize): - Remove unnecessary checks. - -2006-02-12 Matthias Clasen - - * gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working - examples in the docs. (#330944, John Spray) - -2006-02-10 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix - row_spacing/column_spacing confusion. (#330732, Donald Straney) - -2006-02-10 Matthias Clasen - - * gtk/gtkstyle.c: Add some docs. (#330073, Mart Raudsepp) - - * gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected): - Guard against NULL. (#330177, Raphael Slinckx) - -2006-02-10 Murray Cumming - - * docs/reference/gtk/tmpl/gtkcomboboxentry.sgml: Mention that - the changed signal is emitted when typing - not just when - selecting from the list. Suggest use of GtkEntry::action to - etect end of typing. - gtk/gtkcombobox.c: (gtk_combo_box_class_init): changed signal - ocumentation: Mention that the GtkComboBoxEntry emits it when - he users types, not just when he selects from the list. - -2006-02-10 Murray Cumming - - * gtk/gtkfontbutton.c: - Work out the font size in floating point, and display the font - size with %g instead of %d (#317590) - -2006-02-09 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate) - : If we don't know where we went, and have - generated a leave event, set current_window to the root - window. This assures we will generate proper enter and leave - events for popup windows. (#325521) - -2006-02-08 John Ehresman - - * gdk/win32/gdkevents-win32.c (gdk_event_translate) - - * gdk/win32/gdkwindow-win32.c (show_window_internal) - (gdk_window_raise): Call SetWindowPos() instead of - SetForegroundWindow() or BringWindowToTop() if the window - shouldn't accept focus. (#327375) - -2006-02-08 John Ehresman - - * gdk/win32/gdkwindow-win32.c: Let gdk_window_set_decorations() - take precedence over anything derived from hints. Restructure - related code and logic, add some new helper functions. (#327217) - -2006-02-08 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: Don't put relevant callss - in g_assert(). (#329876, Kristian Rietveld) - -2006-02-08 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab) - (gdk_display_pointer_ungrab, gdk_keyboard_grab) - (gdk_display_keyboard_ungrab): Consistenly use assign_object() - when assigning GdkWindow pointers so that the ref counting doesn't - get off whack. - - (handle_stuff_while_moving_or_resizing): Don't use deprecated API. - - (gdk_event_translate) : When the pointer is grabbed - with owner_events FALSE, generate enter and leave events only for - the grab window. (#321054) - -2006-02-08 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path), - (gtk_tree_model_filter_unref_path): free temporary paths after - usage (patch from maemo-gtk), - (gtk_tree_model_filter_clear_cache): fix little typo in the docs - (patch from maemo-gtk). - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove - stale FIXME. - -2006-02-08 Matthias Clasen - - * gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key - as well. (#330389, Markku Vire) - -2006-02-08 Tor Lillqvist - - * gtk-zip.sh.in: Drop the timestamp from the zipfile names. - -2006-02-07 Sven Neumann - - * gdk/directfb/AUTHORS: updated mine and Dok's email address. - -2006-02-06 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_get_search_entry): fix compiler - warning. - -2006-02-05 Dom Lachowicz - - * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022 - Wrong pixel values are computed when color = 0xFF and alpha = 0xFF - -2006-02-04 Michael Emmel - Added new directfb backend located in gdk/directfb - plus patches to compile new backend - compile with --with-gdktarget=directfb - -2006-02-03 Federico Mena Quintero - - Work around https://bugs.freedesktop.org/show_bug.cgi?id=4320, - which used to be our own - http://bugzilla.gnome.org/show_bug.cgi?id=314616. If one uses a - pixmap for a pattern in Cairo, and sets the pattern to - CAIRO_EXTEND_REPEAT; and if the destination surface is also a - pixmap, Cairo does a slow copy instead of using XCopyArea(). So, - we use the same code that we used in GTK+ 2.6 (pre-cairo), by - filling the double-buffer pixmap with a tiled GC and - XFillRectangle(). - - * gdk/gdkwindow.c (BackingRectMethod): New structure with a - cairo_t and a GdkGC field. Depending on which of these fields - gets filled in, we'll use Cairo or GDK to clear the double-buffer - pixmap when painting a window. - (setup_backing_rect_method): Fill a BackingRectMethod as - appropriate, depending on the window's configuration and our - knowledge of whether Cairo is fast or slow when doing repeating - patterns. - (gdk_window_clear_backing_rect): Call - setup_backing_rect_method(). Depending on what it returns, use - Cairo to clear the double-buffer pixmap, or plain GDK. - -2006-02-03 Matthias Clasen - - * gtk/gtklabel.c (get_layout_location): Fix handling - of padding in RTL. (#329099, Hooman Mesgary) - -2006-02-02 Matthias Clasen - - * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display): - Make drops on the root window work again. (#145243, Andrew S. Dixon) - -2006-02-01 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_init): Wrap dnd signal - docs to 80 columns. - -2006-01-31 Matthias Clasen - - * autogen.sh: Touch README and INSTALL here to pacify - automake. (#329124, Kjartan Maraas, Tim Janik) - -2006-01-31 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkassistant.h: - * gtk/gtkassistant.c: Actually implement visibility handling, - and add gtk_assistant_update_buttons_state. - - * tests/testassistant.c: Test visibility handling. - -2006-01-31 Kristian Rietveld - - * gtk/gtkstyle.c (gtk_default_draw_flat_box): Add support for row - hinting for the selected state. - -2006-01-30 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Make sure the tree view is realized, since we grab the - focus to it. (#329144, Wouter Bolsterlee) - - * gtk/gtkspinbutton.h: - * gtk/gtkspinbutton.c: Add a wrapped signal. (#322933, - Carlos Garnacho Parro) - - * gtk/gtkassistant.c: More generous spacing. (#328082, - Christian Persch, patch by Carlos Garnacho) - - * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property): - Use the setter for active. (#329208, Guillaume Cottenceau) - - * docs/tools/widgets.c (get_all_widgets): Add GtkLinkButton - - * gtk/gtkassistant.c (gtk_assistant_init): Move the - last button to the left where it does not affect - the positioning of forward/back. - -2006-01-29 Matthias Clasen - - More GtkAssistant work, by Carlos Garnacho. - - * tests/testassistant.c: Additions. - - * gtk/gtkassistant.c: Handle page visibility, other - small fixes. - - * docs/tools/widgets.c: Add GtkAssistant. - -2006-01-28 Behdad Esfahbod - - * configure.in: If major.minor of required and available glib versions - are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) - - * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED. - -2006-01-28 Dom Lachowicz - - * modules/engines/ms-windows/msw-style.c: Re-sync with gtk-wimp - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto - -2006-01-28 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtklinkbutton.h: - * gtk/gtklinkbutton.c: Allow to set a global hook function - thats called whenever a link button is clicked. - - More work on GtkAssistant by Carlos Garnacho: - - * demos/gtk-demo/Makefile.am: - * demos/gtk-demo/assistant.c: Add a GtkAssistant demo. - - * gtk/gtkassistant.c: Handle focus, several small fixes to the - flow computations. - -2006-01-27 Federico Mena Quintero - - Fixes bug #328820: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up - the location dialog populated to "/". - (tree_view_keybinding_cb): Likewise. - (trap_activate_cb): Likewise. - -2006-01-25 Behdad Esfahbod - - * gtk/gtkcalendar.c (gtk_calendar_size_request): Use translated format - strings for L10n in size calculation too. - - * gtk/gtkcalendar.c (calendar_paint_week_numbers): Expand buffer to - accomodate localized digits. - -2006-01-26 Matthias Clasen - - * tests/prop-editor.c: Introspect child properties. too. - -2006-01-25 Behdad Esfahbod - - * gtk/gtkcalendar.c (calendar_paint_week_numbers, calendar_paint_day): - Use contexed translated strings calendar:week:digits|%d and - calendar:day:digits|%d to let translators choose localized digits for - week and day numbers. (bug #317171, Hamed Malek) - -2006-01-25 Behdad Esfahbod - - * gtk/gtklabel.c (get_layout_location): Use logical extents of the - layout instead of ink extents. According to Pango docs, that's what - should be used for placement. Moreover, simply use - pango_layout_get_pixel_size instead of getting the extents and - dividing ourselves. - -2006-01-25 Matthias Clasen - - * gtk/gtkentrycompletion.c: - * gtk/gtkentry.c: Be more careful when blocking signals. - - * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only - set the cursor size if it is != 0. - - * gtk/gtksettings.c (gtk_settings_class_init): Change the default value - of gtk-cursor-theme-size to 0, meaning "use default". - -2006-01-24 Kristian Rietveld - - #322591, Jonathan Blandford. - - * gtk/gtktreeview.[ch] (gtk_tree_view_get_search_entry), - (gtk_tree_view_set_search_entry), - (gtk_tree_view_get_search_position_func), - (gtk_tree_view_set_search_position_func): New functions, - and small adaptions to the tree view code to allow for setting - the entry and search position function. - - * gtk/gtktreeprivate.h: Removed GtkTreeViewSearchDialogPositionFunc - typedef, which is now in gtktreeview.h as - GtkTreeViewSearchPositionFunc. Add/update fields. - - * gtk/gtk.symbols: Add new functions. - - * tests/testtreesort.c: Add a little test for _set_search_entry(). - -2006-01-23 Matthias Clasen - - Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi) - - * gtk/gtklinkbutton.h: - * gtk/gtklinkbutton.c: New files. - - * gtk/gtk.h: - * gtk/gtk.symbols: - * gtk/Makefile.am: Glue. - - * gtk/gtkaboutdialog.c: Use GtkLinkButton. - - * gtk/gtkwidget.c: Add link-color and visited-link-color style - properties. (#113649, Leena Gunda) - - * gtk/gtkaboutdialog.c: Use the new style properties here instead - of the about dialogs own link-color property. - -2006-01-23 Kristian Rietveld - - * gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy - tree paths when emitting signals. (#325041, Matthias Clasen). - -2006-01-23 Behdad Esfahbod - - * gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL - text in ellipsized GtkLabel: use layout width if set, otherwise - fallback to ink extents width. (#322042) - -2006-01-23 Matthias Clasen - - * gtk/gtkassistant.c (compute_last_button_state): Only show the - last button if we can jump to the end. - (gtk_assistant_init): Make the spacing and button order more - HIG compliant. - - Fix drawing issues in progress bars. (#328081, Christian Persch) - - * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Always - request enough space. - (gtk_progress_bar_paint_activity) - (gtk_progress_bar_paint_continuous) - (gtk_progress_bar_paint_discrete): Clip when drawing the bar. - -2006-01-23 Michael Natterer - - * gtk/gtkcolorbutton.c: move destruction of the private GdkGC - from finalize() to unrealize(). Fixes BadMatch on display change - (bug #85715). - -2006-01-22 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Revert previous - commit after more searching in the bugzilla archives (see #309221). - -2006-01-22 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call - to gtk_tree_view_column_cell_set_cell_data, since we also set the - cell data before iterating over the columns for exposure. (Fixes - #322471, Duncan Coutts). - -2006-01-21 Matthias Clasen - - * tests/testassistant.c: Add some tests for GtkAssistant - - * tests/Makefile.am: Glue - -2006-01-20 Matthias Clasen - - * gtk/gtkassistant.c: Fix the docs to reflect the actual signal - signatures. - - * gtk/gtktextview.c (gtk_text_view_set_virtual_cursor_pos): Don't - crash if layout is NULL. (#327934, Christian Kirbach) - -2006-01-20 Dan Winship - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_class_init, - tree_view_keybinding_cb, trap_activate_cb): On "unix", pop up the - "Open Location" window on "~" as well as "/". #153213 - (location_entry_create): Fix this so autocompletion still works - correctly in that case. - -2006-01-19 Matthias Clasen - - * configure.in: Explicitly link against Xrender. - (#327538, Christophe Belle) - - * gdk/x11/gdkprivate-x11.h (XID_FONT_BIT): - * gdk/x11/gdkfont-x11.c: - * gdk/x11/gdkxid.c: Use an unused high bit in the - XID to mark fonts in the global xid hash table. - - * gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts - when iterating over the xid hash table, since calling - GDK_IS_WINDOW () on an GdkFont can cause a segfault. - (#327751, Ryan Lovett) - -2006-01-19 Matthias Clasen - - * gtk/gtkassistant.[hc]: Use a priv pointer for - cheap access to the priv struct. (#327725, Christian - Persch) - - * gtk/gtkassistant.h: Fix line endings. - -2006-01-18 Matthias Clasen - - * gtk/gtkassistant.[hc]: Add GtkAssistant, a widget to - construct multi-step wizards. (#115348, Martyn Russell, - Matthias Clasen, Carlos Garnacho Parro) - - * gtk/gtk.symbols: - * gtk/Makefile.am: - * gtk/gtk.h: Necessary glue. - -2006-01-18 Anders Carlsson - - * gdk/quartz/gdkevents-quartz.c: - (get_mm_from_pixels): - (gdk_screen_get_width_mm): - (gdk_screen_get_height_mm): - Implement these functions. - (#327228, Thomas Broyer). - -2006-01-18 Anders Carlsson - - * gdk/quartz/gdkdrawable-quartz.c: - (gdk_quartz_draw_polygon): - (gdk_quartz_draw_lines): - Implement these functions. - (#327226, Thomas Broyer) - -2006-01-18 Anders Carlsson - - * gdk/quartz/gdkkeys-quartz.c: - (maybe_update_keymap): - Support non-MacRoman keyboard layouts. - (#322585, Wolfgang Thaller) - -2006-01-18 Anders Carlsson - - * gdk/quartz/gdkmain-quartz.c: - (_gdk_windowing_init): - Make the process a foreground application. - (#322481, Wolfgang Thaller) - -2006-01-18 Matthias Clasen - - * gtk/gtkrbtree.c: - * gtk/gtktreemodel.c: Fix several g_new() calls which - were using extra indirections or pointless casts. - (#327423, Morten Welinder) - -Tue Jan 17 19:27:59 2006 Tim Janik - - * gtk/gtkprogress.c: fix adopted from maemo-gtk. - gtk_progress_create_pixmap(): clear out the newly created offscreen - pixmap, so themes making use of transparency don't draw onto garbage. - -2006-01-17 Michael Natterer - - * gtk/gtkbutton.c: remove the "child-spacing" style property again - and add "inner-border" instead. That's far more flexible and - "child-spacing" was a bad name anyway. - -2006-01-17 Michael Natterer - - * configure.in (ALL_LINGUAS): remove "ang" again until all po - files are there. - -2006-01-16 Abel Cheung - - * configure.in: Added "ang" "zh_HK" to ALL_LINGUAS. - -2006-01-16 Matthias Clasen - - * README.in: Mention new pixbuf engine features. - - * gtk/gtk.symbols: - * gtk/gtkradioaction.[hc]: Add a current-value property and a - setter for it. (#322735, Jorn Baayen) - -2006-01-16 Michael Natterer - - * gtk/gtkbutton.c: applied patch from maemo-gtk which adds a - child-spacing style property. Fixes bug #327202. - -2006-01-16 Anders Carlsson - - * gdk/quartz/gdkdisplay-quartz.c: - * gdk/quartz/gdkevents-quartz.c: - (gdk_keyboard_grab): - (gdk_display_keyboard_ungrab): - (gdk_keyboard_grab_info_libgtk_only): - (find_window_for_event): - Implement keyboard grabs. - - (_gdk_quartz_send_map_events): - * gdk/quartz/gdkmain-quartz.c: - * gdk/quartz/gdkprivate-quartz.h: - New function that synthesizes map events. - - * gdk/quartz/gdkwindow-quartz.c: - (_gdk_windowing_window_init): - The root window is always visible. - - (all_parents_shown): - (show_window_internal): - Send map events. - - (gdk_window_hide): - Ungrab keyboard and pointer - -2006-01-15 Kristian Rietveld - - Fixes #324099, Tommi Komulainen. - - * gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values), - (gtk_tree_store_insert_with_valuesv): new functions, analog to - those found in GtkListStore. - - * gtk/gtktreestore.c (gtk_tree_store_real_set_value), - (gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal), - (gtk_tree_store_sort_iter_changed): refactored. - - * gtk/gtk.symbols: updated. - - * tests/treestoretest.c: added a test for this new functionality. - -2006-01-14 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_drag_data_received): Remove - an unused variable. - - * gtk/gtkiconfactory.c (get_default_icons): Register RTL - versions of the indent and unindent icons. (#326857, - Itai Bar-Haim) - - * gtk/Makefile.am (STOCK_ICONS): And add them here. - - Fix a crash with combo boxes in RESIZE_IMMEDIATE - containers. (#326806, Sebastian Bacher) - - * gtk/gtkcombobox.c (gtk_combo_box_size_allocate) - (gtk_combo_box_size_request): Don't call - gtk_combo_box_check_appearance() from here, as that - can lead to recursion. - (gtk_combo_box_init): Instead, call it here. - -2006-01-14 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix - a typo which caused this whole thing to not function ... - -2006-01-14 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate), - (validate_visible_area): fixup adjustments and top_row if the - current dy + page_size exceeds the new tree view height. (Fixes - #316689, reported by Chris Lord). - -2006-01-13 Matthias Clasen - - * */abicheck.sh: Make this work on more platforms. - -2006-01-13 Kristian Rietveld - - * tests/testtreefocus.c (set_indicator_size), (main): add a little - test for the newly introduced indicator-size property. - -2006-01-13 Kristian Rietveld - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init): - initialize the inconsistent field in the private structure, - (gtk_cell_renderer_toggle_class_init), - (gtk_cell_renderer_toggle_{set,get}_property), - (gtk_cell_renderer_toggle_get_size): introduce a indicator-size - property. - -2006-01-13 Michael Natterer - - * gtk/gtktreeview.c (gtk_tree_view_real_expand_row) - (gtk_tree_view_real_collapse_row): don't animate the expander - arrows if gtk-enable-animations is FALSE (bug #142582). - -2006-01-12 Matthias Clasen - - * gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and - tab-curvature with style properties. (#325282, Alexander Nedotsukov) - - * gtk/gtktextview.c (gtk_text_view_commit_text) - (gtk_text_view_delete_from_cursor, gtk_text_view_backspace): - Reset the virtual cursor position. (#326003, Evert Verhellen) - - * gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs - about RGBA windows. (#326486, Benjamin Otte) - -2006-01-12 Michael Natterer - - * gdk/gdkimage.c (scratch_image_info_for_depth): connect to the - display's "closed" signal and free the cached scratch images upon - display closing (bug #85715). - -2006-01-12 Michael Natterer - - * gtk/gtkexpander.c (gtk_expander_set_expanded): skip the - animation if the gtk-enable-animations setting is FALSE - (bug #142582). - -2006-01-11 Matthias Clasen - - * gtk/gtklabel.c: Fix a C99ism (#326658, Kazuki Iwamoto) - -2006-01-11 Matthias Clasen - - * gtk/gtklabel.c: Add some notify batching, always - emit notify after setting the new value. - - * gtk/gtkmessagedialog.c: Add properties. (#311254, - Johan Dahlin) - (gtk_message_dialog_new): Remove some redundant code, pointed - out by Gustavo Carneiro. - - * gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean - up properly if the grab fails. - (finish_drag): Don't leak a reference to moveresize_window - here. - -2006-01-11 Matthias Clasen - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate - empty strings. (#326200, Christian Stimming) - -2006-01-08 Matthias Clasen - - * 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 - - 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 - - * gtk/gtkactiongroup.c (gtk_action_group_set_sensitive) - (gtk_action_group_set_visible): Add missing property change - notification. - -2006-01-06 Matthias Clasen - - * 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 - - * 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 - - * 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 - - * gtk/gtkprogressbar.c: Set minimum for activity-step property to 0 - instead of -G_MAXUINT. - -2006-01-05 Matthias Clasen - - * 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 - - * gtk/gtkbindings.c (binding_signal_new): allocate correct amount for - signal and arguments. - -2006-01-05 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_grab_focus): Don't return a value from - a void function. - -2006-01-04 Matthias Clasen - - * 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 - - * gtk/gtkbindings.c (binding_signal_new): guard against multiplying - by -1 (when n_args is 0). - -2006-01-04 Michael Natterer - - * 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 - - * 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 - - * gtk-zip.sh.in: Include also the gtk20-properties message catalogs. - -2006-01-03 Matthias Clasen - - * 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 - - * gtk/gtkentry.c (gtk_entry_delete_from_cursor): When deleting - words, delete preceding whitespace as well. (#325358, Akkana Peck) - -2006-01-02 Anders Carlsson - - * 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 - - * 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 - - * gtk/gtkaction.c: - * gtk/gtkentry.c: Connect to notify instead of multiple - detailed signals. - -2005-12-30 Matthias Clasen - - * 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 - - * 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 - - * 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 - - * gtk/gtkctree.c (row_delete): delete GtkCTreeRow as GtkCTreeRow, not - clist rows which crashes in gslice later on. - -2005-12-27 Federico Mena Quintero - - * 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 - - * 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 - - * 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 "(_)", 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 - - * gtk/gtkwindow.c: Documentation fixes. (#324815, - Ross Burton) - - * configure.in: Require GLib 2.9.2 - -2005-12-24 Matthias Clasen - - * 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 - - * gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned. - -Thu Dec 22 17:55:11 2005 Tim Janik - - * gtk/gtkobject.h: parent type fixups in structure declarations. - -Thu Dec 22 16:01:27 2005 Tim Janik - - * 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 - - * 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 - - * 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 - - * 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 - - * 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 - - * gtk/gtksettings.c (get_color_hash): Don't crash if - there is no color scheme. (#324429, Diego Gonzalez) - -2005-12-16 Matthias Clasen - - * 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 - - * gtk/gtkcontainer.c (_gtk_container_focus_sort): Skip unrealized - children when doing focus sorting. (#323995, Dan Winship) - -2005-12-14 Rodney Dawes - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): - Default to "drive-harddisk" and then fall back to gnome-dev-harddisk - (get_icon_for_mime_type): Look up the mime type icons according to the - Icon Naming Specification and then fall back to the gnome-mime- prefix - for the mime type icons - - Fixes #323655 - -2005-12-14 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon - cannot be loaded. (#323504, Kjartan Maraas) - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs - for the row-activated signal. (#324044, Davyd Madeley) - -2005-12-14 Michael Natterer - - * tests/test-images/valid_jpeg_progressive_test: new test image. - -Tue Dec 13 09:47:20 2005 Tim Janik - - * README.in: added a link to the floating reference docs in the - 2.10 release NEWS section. - -2005-12-12 Matthias Clasen - - * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_index): - Speed this function up, using the fact that visibility is - constant across segments. (#321548, Paolo Borelli) - - * gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets): - * gtk/gtktextiter.c (gtk_text_iter_backward_chars): Speed up - stepping backwards. (#320638, Larry Ewing, Paolo Borelli) - - * gtk/gtkicontheme.c (ensure_valid_themes): Only broadcast - _GTK_LOAD_ICONTHEMES if we detect a real theme change, not - upon initial theme load. (#323876, Peter Lund) - - * gtk/gtkstatusicon.c (gtk_status_icon_class_init): Register - the size-changed signal correctly. (#323848, Murray Cumming) - - * gtk/gtkmarshalers.list: Add necessary marshaller. - - * gtk/gtktextview.c (gtk_text_view_get_border_window_size): Don't - fall thru to the wrong window types. (#323843) - - Make the gtk-color-scheme setting work. - - * gtk/gtksettings.h: - * gtk/gtksettings.c (_gtk_settings_get_color_hash): Add a getter - that takes care of initializing the color hash if it is not - already there. - - * gtk/gtkrc.c (gtk_rc_color_scheme_changed, gtk_rc_context_get): - And use it here. - -2005-12-10 Matthias Clasen - - * gdk/gdk.c (gdk_parse_args): Warn if parsing fails, - not if it succeeds. - -2005-12-09 Matthias Clasen - - * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't - leak list[0]. (#323629, Markku Vire) - - * gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer - when freeing the RequestData. (#323577) - -2005-12-07 Matthias Clasen - - * demos/gtk-demo/iconview_edit.c (set_cell_color): Don't - leak text. - - * gtk/gtktoolbutton.c (clone_image_menu_size): Fix a - variable name clash. (#323475, Ross Burton) - -2005-12-07 Ross Burton - - * docs/reference/gtk/tmpl/gtkenums.sgml: - * gtk/gtktoolbutton.c: - If the toolbar mode is ICONS and there is no icon set then show - the label, and vice versa (#322019) - -2005-12-07 Matthias Clasen - - * gtk/gtktoolbutton.c (clone_image_menu_size): Fix a - variable name clash. (#323475, Ross Burton) - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Use the correct - window when synthesizing the key event. (#323077, - Sadrul Habib Chowdhury) - - (gtk_tree_view_search_key_press_event): Also listen for - GDK_ISO_Left_Tab. (#323077, Sadrul Habib Chowdhury) - - * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler): - Only scroll if we have focus. (#316310, Paolo Borelli) - - * gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism, - spotted by Crispin Flowerday. - -2005-12-06 Behdad Esfahbod - - * gtk/gtksettings.c (settings_update_font_options): Turn metrics - hinting on (part of #307196) - -2005-12-06 Matthias Clasen - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't - commit from reset, it upstets GtkTextView. - - * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Be more - careful when turning blinking on and off. - (gtk_text_view_focus_out_event): Make the cursor really invisible - when the focus goes away. (#323087, Sadrul Habib Chowdhury) - (cursor_blinks): Check the gtk-cursor-blink setting first. - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Fix refcounting - issues with new_event and its window. - - * gtk/gtkmenu.c (gtk_menu_attach_to_widget): Accept NULL - as a detach func. (#323386, Jorn Baayen) - - * gtk/gtkcalendar.c: Avoid conflict with win32 headers in - the libdate routines. (#323045, Kazuki Iwamoto) - - * gdk/gdk.c (gdk_parse_args): - * gtk/gtkmain.c (gtk_parse_args): Don't ignore errors - from g_option_context_parse(). - -Tue Dec 6 11:37:59 2005 Tim Janik - - * gdk/gdkevents.c (gdk_event_new): fix missing hash table - initialization. - -Tue Dec 6 10:32:17 2005 Tim Janik - - * gtk/gtkstatusbar.c: ported memchunk uses to g_slice, so the code - compiles again. - -2005-12-05 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state & - modifiers", not "event->state && modifiers". Patch by Sadrul - Habib Chowdhury . Fixes bug #323073. - -2005-12-05 Matthias Clasen - - * gtk/gtkwidget.c: - * gtk/gtkuimanager.c: - * gtk/gtktreedatalist.c: - * gtk/gtktext.c: - * gtk/gtkmain.c: - * gtk/gtkitemfactory.c: - * gtk/gtkseparator.[hc]: - * gtk/gtkclist.[hc]: - * gtk/gtkctree.c: - * gtk/gtkgc.c: Use g_slice instead of mem chunks. - -2005-12-05 Michael Natterer - - * gdk/x11/gdkevents-x11.c: map the new GtkSettings properties - "timeout-initial", "timeout-repeat", "color-scheme" and - "enable-animations" to X settings. - -2005-12-05 Matthias Clasen - - * gdk/gdkevents.c: - * gdk/gdkcolor.c: Use g_slice instead of mem chunks. - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event - after sending it to the search entry. (#323209, Crispin Flowerday) - - * README.in: Add a note about GTK_FLOATING. - - * gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating. - -2005-12-02 Matthias Clasen - - * gtk/gtktoolbutton.c (clone_image_menu_size): Don't leak - a pixbuf. (#323024, Paolo Borelli) - -2005-12-02 Matthias Clasen - - * gtk/gtkfilesystemunix.c (get_icon_for_mime_type): Don't crash - if mime_type is NULL. (#322998, Sadrul Habib Chowdhury) - -2005-12-02 Michael Natterer - - * gtk/gtkmenu.c: applied modified patch from maemo-gtk which - adds a "horizontal-padding" style property. Fixes bug #323036. - -2005-12-01 Michael Natterer - - Merged modified patch from maemo-gtk that allows to disable - toolbar animations. Addresses bug #142582. - - * gtk/gtksettings.c: added boolean property "gtk-enable-animations". - (patch from Christian Neumair) - - * gtk/gtktoolbar.c: don't animate toolbar changes if the settings - property is FALSE. Replaced the individual "notify::foo" - connections to GtkSettings by a single "notify" callback and - dispatch internally. - -2005-12-01 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_class_init): removed redundant - assignment of widget_class->motion_notify_event - -2005-11-29 Matthias Clasen - - * gtk/gtktoggleaction.c (gtk_toggle_action_class_init): Add - an active property. (#322673, Jorn Baayen) - - Properly handle model changes in GtkTreeSelection: (#322569, - Milosz Derezynski) - - * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): - Get a reference to the model, and stop the iteration if the model - of the treeview is changed on the way. - - * gtk/gtktreeprivate.h: - * gtk/gtktreeselection.c (_gtk_tree_selection_emit_changed): New - private function to emit the GtkTreeSelection::changed signal. - - * gtk/gtktreeview.c (gtk_tree_view_set_model): Call - _gtk_tree_selection_emit_changed() when the model changes. - -2005-11-28 Federico Mena Quintero - - Fixes the critical warnings from bug #317999, thus fixing the bug - completely: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_paths): In SELECT_FOLDER mode, - use _gtk_file_chooser_get_current_folder_path() instead of fetching the - impl->current_folder directly. The latter may be null if we are - in RELOAD_NONE state. - -2005-11-28 Federico Mena Quintero - - Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com): - - * gtk/gtkfilechooserdefault.c (up_folder_handler): Don't add the - current_folder to the pending select paths here; the path bar will - give it to us now. - (path_bar_clicked): Add the child_path to the pending select paths - here. - (show_and_select_paths): Don't filter out folders. - (show_and_select_paths): Don't take separate arguments for - only_one_path and multiple paths. - - * tests/autotestfilechooser.c (test_folder_switch_and_filters): - New test about preserving the filters when we change folders. - -2005-11-28 Matthias Clasen - - * gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent - -20 to come out as 20- in RTL locales. (#322571, Tze'ela Hebron) - - * gtk/gtkaction.c (gtk_action_sync_button_stock_id) - (connect_proxy): Buttons use the label property for stock ids. (#322565, - Milosz Derezynski) - - * gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly - handle the cell list and indices into it. (#321856) - -2005-11-28 Matthias Clasen - - * gtk/gtktooltips.c (gtk_tooltips_timeout): Set timer_tag to 0 when - the timeout is done. (#322291, Jean-Yves Lefort) - -2005-11-28 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_key_press_event_cb): Make - F2 work for renaming bookmarks. (#320822, Jaap A. Haitsma, patch - by Paolo Borelli) - -2005-11-28 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint): - Implement the conditional use of FlashWindowEx() properly for MSVC - compilations. The code was confusingly assuming that if compiled - with a "new" compiler, it will only be run on "new" Windows - versions. We want it to run on "old" versions, too, even if - compiled with a "new" compiler. There are two orthogonal issues: - whether the compiler defines the necessary API in its headers, and - whether it is present at run-time. (#318077) - - * gtk/gtkcalendar.c (gtk_calendar_init): Use GetLocaleInfo() on - Windows to get the localized weekday and month names. strftime() - in the Microsoft C library returns strings in the default codepage - for the locale of the process, not the system codepage. Thus - g_locale_to_utf8() isn't useable on the return value from - strftime(). (#322603) - -2005-11-27 Matthias Clasen - - * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): - Fix an example. (#322493, Elie De Brauwer) - - Fix two memory handling problems in GtkTreeView: (#322350, - Søren Sandmann) - - * gtk/gtktreeview.c (gtk_tree_view_destroy) - (gtk_tree_view_set_model): Remove all references to nodes in - the old model. - (gtk_tree_view_real_collapse_row): Unmark expanded_collapsed_node - before removing the children. - - * gtk/gtkcolorbutton.c (gtk_color_button_init): Don't leak a - PangoLayout here. (#322505, Paolo Borelli) - -2005-11-27 Tor Lillqvist - - Once again rework Win32 window decoration code. Doesn't break - #104514. The dialogs in gtk-demo now have the same decorations and - behaviour as on X11. Tried to fix #322516 but it seems very hard - to make the trivial sample program there behave as expected. OTOH, - simply moving the gtk_window_decorate() call in the #322516 sample - program after the call to gtk_widget_show() helps... - - * gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to - the correct semantics. Each call to gdk_window_set_decorations() - which calls this function is supposed to affect all decorations. - - (decorate_based_on_hints): New function, looks at both geometry - hints and type hint and sets window decorations based on - that. Consolidate code from gdk_window_set_geometry_hints() and - gdk_window_set_type_hint() here. - - (gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call - decorate_based_on_hints(). - -2005-11-25 Dom Lachowicz - - * modules/engines/ms-windows/*.[ch]: Merge with gtk-wimp's CVS. - Includes improved menu icon spacing, [+]/[-] expander drawing, - status-bar gippie drawing, and notebook tab drawing. - -2005-11-24 Michael Natterer - - * gtk/gtktoolbar.h (struct _GtkToolbar): changed two private guint - that used to hold signal handler IDs to two guint of padding. - - * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): added them as - gulong here. - - (gtk_toolbar_screen_changed): changed accordingly. - -Wed Nov 23 18:55:47 2005 Tim Janik - - * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it - in terms of the GObject floating/sink API. - - * gtk/gtkaboutdialog.c: - * gtk/gtkaction.c: - * gtk/gtkcellview.c: - * gtk/gtkclist.c: - * gtk/gtkcolorsel.c: - * gtk/gtkcombobox.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkiconview.c: - * gtk/gtkinvisible.c: - * gtk/gtkitemfactory.c: - * gtk/gtklayout.c: - * gtk/gtkmenu.c: - * gtk/gtkmenutoolbutton.c: - * gtk/gtknotebook.c: - * gtk/gtkprogress.c: - * gtk/gtkrange.c: - * gtk/gtkspinbutton.c: - * gtk/gtkstatusicon.c: - * gtk/gtktext.c: - * gtk/gtktextview.c: - * gtk/gtktoolbar.c: - * gtk/gtktoolbutton.c: - * gtk/gtktoolitem.c: - * gtk/gtktreeitem.c: - * gtk/gtktreeview.c: - * gtk/gtktreeviewcolumn.c: - * gtk/gtkuimanager.c: - * gtk/gtkviewport.c: - * gtk/gtkwidget.c: - * gtk/gtkwindow.c: - ported to use GObject's g_object_ref_sink(). - - * gtk/gtkcolorsel.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkaboutdialog.c: - fixed compiler warnings. - -2005-11-23 Matthias Clasen - - * gtk/gtksettings.c (gtk_settings_class_init): Add some docs - about gtk-color-scheme. - -2005-11-23 Behdad Esfahbod - - * configure.in (enable_explicit_deps): Fix typo when checking - libtool config deplibs_check_method. Moreover, enable explicit - deps if we get anything other than pass_all from libtool. (part of - #318750) - -2005-11-23 Matthias Clasen - - * gtk/updateiconcache.c (write_csource): Don't create a big - string, since Visual C++ doesn't like strings longer than 64k. - (#322238, Kazuki IWAMOTO - - * gtk/gtkentry.c: Include gtkimcontextsimple.h (#322235, - Kazuki IWAMOTO) - -2005-11-23 Michael Natterer - - * gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel - windows on other screens (correctly remove all temporary - references). - -2005-11-23 Michael Natterer - - Added symbolic themable colors. Patch is a merged version of - proposals from Matthias and maemo-gtk. Fixes bug #114355. - - * configure.in: require glib >= 2.9.1 for refcountable hashtables. - - * gtk/gtksettings.c: added property "color-scheme" which is a - string defining colors like "foreground:black\nbackground:grey". - Automatically provide a name->GdkColor hash table mapping for the - color scheme. - - * gtk/gtkrc.[ch]: added list of color hashes that works like the - list of icon factories. Append the color scheme hash from - GtkSettings if it exists. Extended gtkrc syntax to allow defining - and referencing of logical colors. Also allow to modulate colors - in gtkrc by using arbitrary expressions of mix(), shade(), - lighter() and darker(). Added internal function - _gtk_rc_style_get_color_hashes(). - - * gtk/gtkstyle.[ch]: keep a private list of color hashes around. - Get the list from _gtk_rc_style_get_color_hashes(). Export - internal function _gtk_style_shade() (used by above color - expressions). Added public API gtk_style_lookup_color() which - looks up a logical color by name. - - * gtk/gtk.symbols: add gtk_style_lookup_color - - * tests/testgtkrc: use symbolic colors for making - the scrollbars red. - -2005-11-22 Michael Natterer - - Made button-press timeouts which work like key repeat timeouts - configurable. Addresses bug #142582: - - * gtk/gtksettings.c: added properties "gtk-timeout-initial" and - "gtk-timeout-repeat" which defalt to 200/20 (ms). - - Use the values from GtkSettings instead of hardcoding them - (the repeat value is either taken as-is for fast repeat or - multiplied by 5 for slow repeat). Changed all places to use these - two standard initial/repeat timings: - - * gtk/gtkcalendar.c (unchanged 200/20) - * gtk/gtknotebook.c (unchanged 200/100) - * gtk/gtkpathbar.c (changed from 300/150 to 200/100) - * gtk/gtkrange.c (changed from 250/100 to 200/100) - * gtk/gtkspinbutton.c (unchanged 200/20) - -2005-11-21 Anders Carlsson - - * configure.in: - * gtk/Makefile.am: - * gdk/Makefile.am: - * gdk/quartz/*: - Add quartz backend. - - * docs/tools/Makefile.am: - Only build docshooter when the X11 backend is used. - - * gtk/gtkplug-stub.c: - Include gtkplug.h here. - - * gtk/gtksocket-stub.c: - Include gtksocket.h here. - -2005-11-21 Matthias Clasen - - * gtk/gtkinputdialog.c: Convert GtkInputDialog to - g_type_class_add_private. - - * gtk/gtksocket.c: Convert GtkSocket to g_type_class_add_private. - - * gtk/gtkmenu.c: Convert GtkMenu to g_type_class_add_private. - - * gtk/gtk.symbols: - * gtk/gtkcombobox.[hc]: Add a tearoff-title property, - with getter and setter. (#316482, Olexiy Avramchenko) - - * tests/testcombo.c (main): Test gtk_combo_box_set_title - - * gtk/gtkpathbar.c: Merge remaining fixes from the 2.8 branch, - pointed out by Michael Natterer. - - Fix for bug #321542, Benedikt Meurer: - - * gtk/gtkcombobox.c (gtk_combo_box_set_active_internal): - Emit notify::active. - - (gtk_combo_box_child_show, gtk_combo_box_child_hide): Use - g_signal_emit, not g_signal_emit_by_name. - -2005-11-18 Matthias Clasen - - Fix crashes in connection with pathbar scrolling (#321560, - Bogdan Nicula) - - * gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons): - Stop scrolling when desensitising slider buttons. - (gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press): - And use it here. - - * gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate - scrolling_down flag. - -2005-11-18 Matthias Clasen - - * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism. - (#321777, Jens Granseuer) - - * gtk/gtkaction.c (disconnect_proxy): Disconnect the - sync callback for the visibility property. (#321761, - Philip Langdale) - - Turn off input methods in invisible entries, since - they are confusing. (#317002, James Su) - - * gtk/gtkentry.c (gtk_entry_set_visibility): Toggle input - methods if visibility changes. - (popup_targets_received): Don't show the input method - menu if the entry is invisible. - -2005-11-17 Matthias Clasen - - * README.in: Add a note about range arrow sensitivity. - - * perf/treeview.c: const correctness fixes - found by Arjan van de Ven and gcc. - -2005-11-16 Michael Natterer - - * gtk/gtkimage.c (animation_timeout): call - gtk_window_process_updates() so the animation keeps running even - if the main loop is busy with sources that eat a lot of cpu with - high priority. Fixes bug #321444. - - (gtk_image_new_from_animation): document the fact that the - animation will stop running if the main loop is busy with sources - that have priorities higher than G_PRIORITY_DEFAULT. - - * tests/testimage.c: added test case that shows an animation even - though a cpu-eating idle function is running. - -2005-11-16 Michael Natterer - - * gdk/x11/gdkevents-x11.c (_gdk_events_uninit): new internal - function which destroys the display's event source. Also removes - the source from the global display_sources list and unrefs it. - - * gdk/x11/gdkprivate-x11.h: declare the function. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): call it - instead of half-destroying the source here. - -2005-11-15 Matthias Clasen - - * gtk/gtktreestore.c (gtk_tree_store_move): Fix a memory - leak. (#321032, Peter Zelezny) - -2005-11-15 Michael Natterer - - * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): destroy - display->xid_ht as late as possible (right before XCloseDisplay) - because it still needs to be around when the display's screens are - finalized. (#85715) - -2005-11-14 Matthias Clasen - - * gtk/gtkselection.c (gtk_selection_data_set_uris): Don't - leak result. (#321441, Tommi Komulainen) - -2005-11-14 Matthias Clasen - - * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): - Don't crash if there is no builtin icon. - -2005-11-14 Michael Natterer - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_set_property): - removed redundant calls to g_object_notify(). - -2005-11-13 Matthias Clasen - - * gdk/gdkcolor.c (gdk_color_parse): Documentation - improvements. (#321338) - - * gtk/gtktextiter.c (gtk_text_iter_forward_search): Make - limit an inclusive boundary. (#321299) - -2005-11-12 Michael Natterer - - * gtk/Makefile.am: fixed icon rules so gtkbuiltincache.h is only - rebuilt if needed. - -2005-11-12 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Bug #313627. Make win32 - theme's handling of toolbars, handleboxes, and menubars more in-line - with Microsoft's IE style. - * modules/engines/ms-windows/*.c: Indentation cleanups - -2005-11-12 Matthias Clasen - - Make builtin icons work in gtk_window_set_icon_name() - (#321046, Maxim Udushlivy) - - * gtk/gtkicontheme.c (insert_theme): Always insert the default - theme. - (ensure_valid_themes): Call _gtk_icon_theme_ensure_builtin_cache() - from here. - (theme_lookup_icon, find_builtin_icon): ...and not from here. - (gtk_icon_theme_lookup_icon): Remove an unncessary assert. - (gtk_icon_theme_get_icon_sizes): Also check builtin icons. - -2005-11-12 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide - dotfiles, no such convention on Win32. Just hide files with the - hidden attribute. (#314627) - -2005-11-11 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Do not - check whether the path is a folder. It is useful to bookmark - files as well (e.g. todo.txt), and this will also help - performance. - (shortcuts_add_bookmark_from_path): Likewise. - (shortcuts_activate_iter): Change folders or select files, as - appropriate. - -2005-11-11 Federico Mena Quintero - - * tests/autotestfilechooser.c (main): Use - g_log_set_default_handler() instead of explicitly setting a - handler for each domain. - - * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Only get - the base path of the volume if it is mounted. - -2005-11-11 Michael Natterer - - Added per-stepper API for GtkRange's stepper sensitivity as - discussed in bug #321056: - - * gtk/gtkenums.h: added GtkSensitivityType which can be - { AUTO, ON, OFF }. - - * gtk/gtkrange.[ch]: added properties "lower-stepper-sensitivity" - and "upper-stepper-sensitivity" and public getters/setters for - them. Changed stepper drawing to honor the new properties. - - * gtk/gtk.symbols: added the new symbols. - -2005-11-10 Matthias Clasen - - * gtk/gtkcombobox.c: Add show-popup and hide-popup signals and - emit them when the popup is shown or hidden. (#162531, Tommi - Komulainen) - - * tests/testcombo.c: Add an example of popuplating a combobox - on click. - - * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column): Another - erroneous semicolon. - - * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): Remove an erroneous - semicolon. - - Don't corrupt odd keymaps (#316638, Kean Johnston) - - * gdk/x11/gdkkeys-x11.c (set_symbol): Auxiliary function to - handle frobbing keymaps with odd numbers of syms/code. - - * gdk/x11/gdkkeys-x11.c (update_keymaps): Use set_symbol() to - frob the keymap. - - Improve navigation to parent folders. (#318444, Andrei Yurkevich) - - * gtk/gtkpathbar.[hc]: Add a child_path argument to - the path_clicked signal. - * gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the - child_path, if it is provided. - * gtk/marshalers.list (path_bar_clicked): Add the necessary - glue. - - * gtk/gtkmenu.c: Fix some compiler warnings. (#321141, - Kjartan Maraas) - - * gtk/gtk.symbols: - * gtk/gtktreeview.h: - * gtk/gtktreeview.c: Implement a getter for headers-clickable. - (#163851, Richard Hult) - -2005-11-10 Michael Natterer - - Applied patch from maemo-gtk that addresses many issues wrt - display migration and display closing (bug #85715). - - * gdk/gdkdisplay.c (gdk_display_dispose): don't just set the - default display to NULL when it's closed. Instead set the most - recently opened display as new default (if one exists). - - * gdk/gdkpango.c (on_renderer_display_closed): fixed signature - of this callback. - - * gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still - exist before unrefing them. - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen - is closed, allow destruction of the root window. - - * gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to - dispose(), free stuff that was leaked before. - - * gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if - the xsettings_client still exists before destroying it. - - * gdk/x11/gdkkeys-x11.c: added finalization and free the allocated - X resources. - - * gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new - dispose() implementation. - - * gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to - dispose() and check if it still exists before unrefing it. Set - their pointers to NULL/None *after* upchaining in dispose(), - because X11 implementations of members of the parent class still - need them for their own destruction. - - * gdk/x11/gdkvisual-x11.c: removed finalize() implementation which - was g_error()ing when finalizing a visual. - - * gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use - get_clipboard_widget() because it would create the widget if it - doesn't exist. Use g_object_get_data() directly instead. - - * gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature - of this callback. - -2005-11-10 Simos Xenitellis - - * configure.in: Added Tatar (tt) to ALL_LINGUAS. - -Wed Nov 9 16:29:42 2005 Tim Janik - - * gtk/gtkrange.c: patch from maemo-gtk that changes GtkRange - to render its arrows insensitive when the adjustment is in - its min or max position. this makes range arrow behaviour - consistent with spin button behaviour. (#321056) - -2005-11-09 Tor Lillqvist - - * gdk/gdkinternals.h - * gdk/gdk.c (gdk_debug_keys[]): Add new GDK_DEBUG_DRAW flag to - the GdkDebugFlag enum. - - * gdk/win32/gdkdrawable-win32.c: Use DRAW to trigger GDK_NOTEs in - this file instead of MISC. Now asking for MISC will give mainly - window manipulation debugging output with the Win32 backend. - -2005-11-09 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c: Remove unnecessary includes. - - (_gdk_win32_get_adjusted_client_rect): Remove this two-line - function which was used only in one place. - - (get_outer_rect): Use _gdk_win32_adjust_client_rect(). - - (gdk_window_set_geometry_hints): If we have identical minimum and - maximum size hints, remove the resize and maximize - decorations/functions. (#104514) - - If we have a maximum size hint, remove the maximize - decoration/function but ensure the resize decoration/function is - available. Otherwise ensure both resize and maximize - decorations/functions are there. - - (set_or_clear_style_bits): Factored out common code from - gdk_window_set_decorations() and gdk_window_set_functions(). - - Hack the window style setting once more: Only touch the window - style bits corresponding to the GdkWMDecoration or GdkWMFunction - parameter bitmasks. Hopefully this finally is the correct thing to - do. We used to clear all other bits than those that were being - set, or set all other bits than those that were being cleared. - - Take into account that adding or removing decorations leaves the - window's outer size unchanged, i.e., the client area's size and - position change. This is apparently not what we want, so change - also the window's (outer) position and size appropriately so that - the client area's position and size stay constant. - - gtk-demo's color selector dialog is now non-resizable like on X11 - (I tested with metacity in GNOME). Torn off menus are shrinkable - vertically but have a maximum size, and are not maximizable or - minimizable, like on X11. - - (gdk_window_set_decorations, gdk_window_set_functions): Let - set_or_clear_decorations() do most of the job. - - * gdk/win32/gdkprivate-win32.h: Remove declaration of - _gdk_win32_get_adjusted_client_rect(). - -2005-11-09 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32) - * gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_init, - gdk_window_get_type_hint, gdk_window_get_type_hint): Store the - type hint. Implement gdk_window_get_type_hint() by just returning - the hint stored. - -2005-11-09 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints): - Remove code that has been permanently ifdeffed out for two years. - -2005-11-08 Matthias Clasen - - * gdk/gdkgc.c (gdk_gc_finalize): Unref tile and stipple when - finalizing a gc. (#320789, Nickolay V. Shmyrev) - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore - icons if they would make the request large enough to cause - Xlib to loose the connection. (#320909, Claudio Saavedra) - -2005-11-08 Michael Natterer - - * gdk/gdk.symbols - * gdk/gdkwindow.h - * gdk/x11/gdkwindow-x11.c: added gdk_window_get_type_hint() (patch - extracted from maemo-gtk). Fixes bug #320872. - -2005-11-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_reorder): Don't - looks the bookmark label when reordering. (#320720, Jeremy Cook) - - * gtk/gtkpathbar.[hc]: Set focus-on-click to FALSE for all buttons. - Don't grab focus when a slider button is pressed, instead, use - a bit in the pathbar struct to determine whether to scroll up - or down. (#314486, Carlos Garnacho) - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): - Don't popup the completions if the focus has already been - moved somewhere else. (#319914, Christian Persch) - - * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): - Raise the drag_window after reconfiguring the - toolbar. (#320803, Christian Persch) - - * gtk/gtk.symbols: - * gtk/gtkfilechooserbutton.h: - * gtk/gtkfilechooserbutton.c: Add a focus-on-click property - with setter and getter. (#318945, Christian Persch) - -Mon Nov 7 16:15:16 2005 Tim Janik - - * configure.in: fixed missing $X_CFLAGS setup in case x11.pc is present. - -2005-11-07 Matthias Clasen - - * configure.in: Adjust to the stock icon changes. - -2005-11-07 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_normal): - Correct the calculation of maskstride. (#320152, Peter Zelezny) - -2005-11-06 Michael Natterer - - * gtk/Makefile.am (icons): fixed rule to actually create the - symlinks, erroring out if anything goes wrong. - -2005-11-06 Tor Lillqvist - - * gtk/updateiconcache.c (build_cache): Can't rename a file if the - target exists on Win32. First rename the target temporarily, then - if the renaming of the source to target fails, restore the - original name for the target. - - * gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache. - -2005-11-06 Tor Lillqvist - - (pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap, - like pixbuf_to_hbitmaps_normal(). - (_gdk_win32_pixbuf_to_hicon_supports_alpha): Check - G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x by - setting the G_WIN32_PRETEND_WIN9X environment variable. - -2005-11-06 Tor Lillqvist - - Make icon masks work on Win98 (#320152, Peter Zelezny) - - * gdk/win32/gdkcursor-win32.c (create_color_bitmap): Take also a - parameter for the depth of the bitmap, so that this function can - be used to create 1-bit bitmaps, too. - (pixbuf_to_hbitmaps_normal): Create an 1-bit bitmap for the mask, - and initialize it properly. - -2005-11-04 Matthias Clasen - - Store builtin stock icons in an icon cache, instead of - populating a hash table with pixbufs at startup, to save both - memory and startup time. - - * gtk/stock-icons/*: Reorganize the icons in a directory structure - suitable for gtk-update-icon-cache, and rename them to match the - stock ids. - - * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and - add _gtk_icon_cache_has_icon_in_directory(). - - * gtk/updateiconcache.c: Support a --source argument - to store the contents of the icon cache in a C header. - - * gtk/gtkbuiltincache.h: Generated private header which contains - the icon cache for the builtin icons. - - * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin - icons, and use that in addition to the hash table whenever - builtin icons are searched. - - * gtk/gtkiconfactory.c: Add GTK_ICON_SOURCE_STATIC_ICON_NAME and - use it for static stock ids. - (get_default_icons): Don't add the builtin - icons to the icon theme, just register the stock ids. - (render_fallback_image): Take the fallback image out of the - builtin icon cache. - - * gtk/Makefile.am: Remove stock-icons from SUBDIRS and add - the necessary machinery to rebuild gtkbuiltincache.h. - -2005-11-04 Michael Natterer - - * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch - from maemo-gtk that changes the mtime check for rc files from - '>' to '!=', otherwise theme changes go unnoticed when turning - back the clock (Tommi Komulainen). - -2005-11-04 Tor Lillqvist - - * gtk/gtkstatusicon.c (gtk_status_icon_set_tooltip): Plug memory - leak on Win32. - -2005-11-03 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c: As there is only one GdkDisplay in - the Win32 backend, check that GdkDisplay* parameters are equal to - _gdk_display instead of using the unnecessarily general - GDK_IS_DISPLAY(). - - (pixbuf_to_hbitmaps_alpha_winxp): Rename the variables for the - color bitmap to have "color" in their name, for similarity with - pixbuf_to_hbitmaps_normal(). Create a color bitmap for the mask, - too, instead of creating a b&w bitmap with CreateBitmap(). Set up - the mask bitmap's contents, ones for those pixels in the color - bitmap where the alpha is zero, zero for other pixels. We used to - use an uninitialized mask bitmap! This meant that icons and - cursors created presumably worked more or less by accident. - Totally blank icons with zero alpha everywhere (as used by - gtktrayicon.c) definitely did not work as expected. - - * gtk/Makefile.am: Include gtkstatusicon.c on all platforms. - - * gtk/gtkstatusicon.c: Implement for Win32. Use code from - gtktrayicon-win32.c as applicable. (gtktrayicon-win32.c is not - necessary and can be removed from CVS. It has never been mentioned - in gtk/Makefile.am.) No tray icon widget, GtkImage or GtkTooltips - are used on Win32. One label widget is used (but never shown) as - gtk_widget_render_icon() needs a widget. - - Ifdefs used as necessary in several places. It might be cleaner to - split out the backend-specific parts to separate files, or at - least collect them into separate blocks in the file. - - (wndproc): New function. Window procedure to monitor mouse events - in the system tray icon. Call gtk_status_icon_button_press() as - needed. - (create_tray_observer): New function. Creates a hidden window that - only serves as a tray icon message observer. - - * tests/teststatusicon.c (icon_activated): Position the dialog - with GTK_WIN_POS_CENTER. - (do_quit): New function, hide and unref the GtkStatusIcon, and - call gtk_main_quit(). - (popup_menu): Add a Quit menu item that calls do_quit(). - -2005-11-02 Tor Lillqvist - - * gdk/win32/gdkcolor-win32.c - * gdk/win32/gdkscreen-win32.c - * gdk/win32/gdkwindow-win32.c: Whitespace consistency - fixes. Remove superfluous test for GdkWindow* parameters being - non-NULL. Testing GDK_IS_WINDOW() is enough. As there is only one - GdkScreen and one GdkDisplay in the Win32 backend, use those - variables instead of the getter functions. For GdkDisplay* and - GdkScreen* parameters, check that they are equal to the - corresponding singleton variables instead of the more general - GDK_IS_DISPLAY() or GDK_IS_SCREEN(). - -2005-11-02 Matthias Clasen - - * gtk/gtktextview.c: Remove some g_return_if_fail() from - static functions, replace some others by g_assert(). - - * gtk/gtktextview.c (selection_motion_event_handler) - (gtk_text_view_start_selection_drag): Keep track of the original - selection boundaries during a drag selection, in order to correctly - decide when to extend or shrink the selection. (#320167, - reported by Arvind S N, patch by Paolo Borelli) - - * gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets): - * gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace - manual offset calculations by g_utf8_offset_to_pointer(). - (#320360, Paolo Borelli) - -Tue Nov 1 16:18:24 2005 Tim Janik - - * gtk/gtkrbtree.[hc]: get rid of GAllocator usage, allocate and free - nodes via the g_slice_*() API. - _gtk_rbtree_new(): fixed wrong node allocation via g_new(). - -2005-11-01 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more - pre-interned GdkAtoms and pre-registered clipboard formats. Sort - their declarations, definitions and assignments into a more - logical and consistent order. - - * gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the - CF_ prefix for the predefined clipboard format names. Put quotes - around registered format names to distinguish them. - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): Return - immediately with a warning if the property type is STRING, TEXT, - COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we - should never pretend to handle on Win32. Handle only UTF8_STRING - here, other formats with delayed rendering. Use \uc1 instead of - \uc0 when generating Rich Text Format for easier testability on - XP, where WordPad misinterprets \uc0 encoded characters. Add more - GDK_NOTE debugging output for Clipboard operations. - - * gdk/win32/gdkselection-win32.c: Debugging printout improvements. - (gdk_selection_convert): Don't pretent to handle STRING, just - UTF8_STRING. Streamline error handling, don't unnecessarily have a - GError which then isn't used for anything anyway if it gets set. - (gdk_win32_selection_add_targets): Skip also STRING, TEXT, - COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING. - - * config.h.win32.in: Sync with what configure produces. - - * configure.in: Don't look for X_PACKAGES unless building for - x11. (#313986, John Ehresman) - -2005-10-28 Erdal Ronahi - - * configure.in: Added ku (Kurdish) to ALL_LINGUAS - Wondered why there was no ku there before?? - -2005-10-28 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup - window to the toplevels window group. (#319912, Christian Persch) - -2005-10-28 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix - stupid thinko. - -2005-10-28 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default - drag cursors. (#319200, Federico Mena Quintero) - - * gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): Handle - Shift-G to go to the previous match, like firefox. (#320061, Christian - Neumair) - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a - C99ism. (#320000, Kazuki Iwamoto) - - * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little - stars. (#319985, Bastien Nocera) - - * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return - FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson) - -2005-10-26 Michael Natterer - - Fix bug #319974: - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): - make sure that setting any of pixbuf/stock-id/icon-name resets the - others because they are mutually exclusive, and that unsetting any - of them only resets the pixbuf and nothing else. Also added - some missing g_object_notify(). - - (gtk_cell_renderer_pixbuf_get_property): simplified calls to - g_value_set_object(). - - (gtk_cell_renderer_pixbuf_create_stock_pixbuf) - (gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added - g_object_notify ("pixbuf"). - -2005-10-27 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Be more - careful about initializing cell_area. (#319382, Tommi - Komulainen) - - * gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat - Ctrl-PageUp/PageDown. (#318670, Christian Neumair) - - * demos/gtk-demo/clipboard.c (paste_received): Only set the - text if it is not NULL. (#319930, Thomas Klausner) - - * gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the - loader before trying to get the pixbuf. (#319930, Thomas Klausner) - -2005-10-26 Matthias Clasen - - * gtk/gtkfilesystem.c (gtk_file_system_module_load): - * gtk/gtkthemes.c (gtk_theme_engine_load): - * gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY - when dlopening modules. (#319557, Laszlo Peter) - -2005-10-26 Matthias Clasen - - * gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text - segments when determining text direction. (#319065, Tommi Komulainen) - - * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't crash - on duplicate destroy. (#318953, Gustavo Carneiro) - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog): - Point out that destroy-with-parent is a bad idea for the dialog - passed to this function. (#318943, Christian Persch) - - * */Makefile.am: use $(GLIB_MKENUMS) instead of - glib-mkenums. (#318582, Damien Carbery) - - * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Clarify - docs. (#317682, Christian Neumair) - - * gdk/x11/gdkdnd-x11.c: Remove an extra const which doesn't - seem to affect the placement of the data in the readonly - section, and causes problems with some compilers. (#317844) - -2005-10-25 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - Fix some issues with background drawing in RTL. (#318781, - Eric Cazeaux) - - * tests/Makefile.am: - * tests/testentrycompletion.c: Apply a patch by Christian - Persch to add property editors. - - * gtk/gtkstatusicon.c: Emit activate on single-click, - not on double-click, change proposed by Milosz Derezynski. - -2005-10-25 Kristian Rietveld - - Fixes #311955, reported by Markku Vire; and a lot more. - - * gtk/gtktreemodelfilter.c: Made this thing work correctly. - Levels can now have invisible nodes cached, functions have been - rewritten/refactored to take this into account; also the logic in - some functions has been corrected. - - Each referenced node now references all visible children or a single - invisible child, in order to be able to monitor all changes in the - child model required for correct operation. - - When a virtual root is set, all nodes on the virtual root level are - referenced. - - At last, a bunch of random bug fixes and comment updates. - -2005-10-25 Matthias Clasen - - * gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some - more docs. (#319722, Paolo Borelli) - - * gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the - initialization of screen_x11->xft_rgba more explicit. (#319627, - Bogdan Nicula) - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Fix whitespace - in a blurb. (#319499, Francisco Javier F. Serrador) - -2005-10-24 Matthias Clasen - - Add settings to hide the input method and Unicode control character - submenus in the context menus of GtkEntry and GtkTextView. - - * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings. - - * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here. - - * gtk/gtktextview.c (popup_targets_received): - * gtk/gtkentry.c (popup_targets_received): Use the settings here. - -2005-10-24 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting - row-has-child-toggled when the level is not in the cache does not - make sense. (This bug probably crept in during the early stages - of GtkTreeModelSort when there wasn't a correct row-has-child-toggled - implementation yet), - (gtk_tree_model_sort_real_unref_node): only get the child iter - when we will actually also use it. - -2005-10-22 Michael Natterer - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the - widget being realized, in addition to being visible, to avoid - running into precondition check in gtk_tree_view_get_cell_area(). - (approved by Kris). - -2005-10-22 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c (setup_msw_rc_style): - Experimentally, scrollbar steppers can shrink to 8 pixels on - Win32. Reflect that in the theme. - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally, - there is a 1-pixel border between a scrollbar and its child - in ScrolledWindows on Win32. Reflect that in the theme. - -2005-10-20 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD - for the selection window. (#318806, Alex Larsson) - -2005-10-18 Federico Mena Quintero - - Fixes bug #317999: - - * tests/autotestfilechooser.c - (test_button_folder_states_for_action): Test that we have either - $cwd or the explicitly-set folder. - (test_reload_sequence): Likewise. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_current_folder): If our reload_state - is RELOAD_EMPTY, return a GtkFilePath corresponding to $cwd. - -2005-10-14 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c: Remove the clipboard viewer code. - It didn't really do anything useful, and was just confusing and - incomplete. Comments claimed we don't do delayed rendering, but in - fact we do, for images. (The delayed rendering code has other - problems, though, see #168173.) The clipboard viewer code was - probably even buggy (the WM_CHANGECBCHAIN handled didn't propagate - the message when necessary). It was just test code, it said so in - a comment. Add something similar back later if necessary. - - (_win32_on_clipboard_change, - _gdk_win32_register_clipboard_notification): Remove. - - (gdk_display_supports_selection_notification, - gdk_display_request_selection_notification): Always just return - FALSE. We didn't generate any GDK_OWNER_CHANGE events anywhere. - -2005-10-13 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat - Alt-Enter specially. It does not have any special meaning and - should be passed on to the application. (#318378, Tim Evans) - -2005-10-13 Tor Lillqvist - - Set visual depth to 24 for 32 bits-per-pixel devices on - Win32. This allows gdk_drawable_real_draw_pixbuf() to use the - optimized composite_0888() function rather than the slower image - dithering functions to draw pixbufs (#313993, John Ehresman) - - * gdk/win32/gdkimage-win32.c (_gdk_win32_new_image): Use - _gdk_windowing_get_bits_for_depth() to initialize - GdkImage::bits_per_pixel. - (_gdk_windowing_get_bits_for_depth): Return 32 bits for depth 24. - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use - _gdk_windowing_get_bits_for_depth() to initialize - BITMAPINFOHEADER::biBitCount. - - * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Set - GdkVisual::depth to 24 even if GetDeviceCaps(BITSPIXEL) returns - 32. - -2005-10-12 Stefan Kost - - * demos/gtk-demo/appwindow.c: (about_cb): - use PACKAGE_VERSION,bump year (#318654) - -2005-10-11 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off - toggle here with the matching on toggle if it immediately follows. - This is a common case, and handling it here prevents quadratic blowup - in cleanup_line() below. (#317125) - - * gtk/gtktextsegment.h: - * gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass - the character counts into this function instead of computing them - again. - -2005-10-10 Tommi Komulainen - - * gtk/gtkfilechooser.h (GtkFileChooserError): Add ALREADY_EXISTS error - code. - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_add_shortcut_folder): Return an error code - when the shortcut already exists in the sidebar. (#147521) - -2005-10-09 Matthias Clasen - - * tests/testcombo.c: Demonstrate how to use custom widgets in - a GtkComboBox. - -2005-10-07 Federico Mena Quintero - - Fixes bug #317999: - - * tests/autotestfilechooser.c (test_reload_sequence): Ensure that - the the result of gtk_file_chooser_get_folder() is NULL or - non-NULL at the right times. Log the tests. - (test_button_folder_states): New test for the initial states of - the current folder in GtkFileChooserButton. - (main): Test that the number of warnings/errors/critical errors is - zero. - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder): - Clarify the documentation on when this can return NULL. - (gtk_file_chooser_get_current_folder_uri): Likewise. - - * gtk/gtkfilechooserbutton.c (struct - _GtkFileChooserButtonPrivate): Added a folder_has_been_set flag; - we use it to keep track of whether a folder has been set. - (gtk_file_chooser_button_map): Implement. If no folder has been - loaded before, we at least try to load $cwd here. - (gtk_file_chooser_button_constructor): If the construct-time - dialog already has a folder set, turn on our folder_has_been_set - flag. - (dialog_current_folder_changed_cb): Turn on our - folder_has_been_set flag. - -2005-10-07 Michael Natterer - - * gtk/gtkfilechooserdefault.c: remove some explicit #defines of - PROFILE_FILE_CHOOSER because they break compilation after the - removal of . - -2005-10-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Properly fix the unistd.h include - by moving it out of the profiling ifdef. - - * gtk/gtkfilechooserdefault.c: Remove a redundant (and - unconditional) include of unistd.h (#318211, Kazuki Iwamoto) - - * gtk/gtktexttag.c (gtk_text_attributes_ref): Use - g_return_val_if_fail(), not g_return_if_fail(). (#318412, - Kazuki Iwamoto) - -2005-10-06 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtktextbuffer.h: - * gtk/gtktextbuffer.c: Add a readonly has-selection property - with a getter. (#318161, Paolo Borelli) - -2005-10-05 Matthias Clasen - - * README.in: Start collecting release notes for 2.10. - - * gtk/gtkrc.c (gtk_rc_clear_realized_style): Readd the memory - leak fix, since the assertion failures were traced to - an xchat bug. (#314696) - - * gtk/gtkstyle.c (gtk_style_detach): - (gtk_style_attach): Documentation improvements. - (gtk_style_detach): Assert that the attach_count is > 0. - -2005-10-04 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Take a - shortcut position, not a ShortcutsIndex, to make the function more - generic. - (home_folder_handler): Pass the resolved index to - switch_to_shortcut(), rather than just SHORTCUTS_HOME. - (desktop_folder_handler): Likewise for SHORTCUTS_DESKTOP. - (gtk_file_chooser_default_class_init): Add a "quick-bookmark" - binding signal, and bind it to Alt-1, Alt-2. ..., Alt-0. These - make the respective key switch to the first, second, ..., tenth - bookmark. - (quick_bookmark_handler): Implement. - -2005-10-04 Federico Mena Quintero - - * gtk/gtkpathbar.c (get_dir_name): Don't special-case Home and - Desktop; just use their real names on the file system for the - user-visible names. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_class_init): Add a "desktop-folder" - binding signal, and bind it to M-d by default. - (desktop_folder_handler): Implement the default handler. - (home_folder_handler): Use a helper function. - (switch_to_shortcut): New helper function. - (shortcuts_append_home): Don't special-case the name of "Home"; - just use the folder name. - -2005-10-04 Tor Lillqvist - - * gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without - HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann) - -2005-10-04 Matthias Clasen - - * gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change - from yesterday, since it leads to assertion failures. (#317879, - Sebastian Bacher) - -2005-10-03 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_init): Call - calendar_compute_days() after setting priv->week_start. - -2005-10-03 Matthias Clasen - - * gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when - removing it from the hash table. (#314696, Benjamin Berg) - -2005-10-01 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case - BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause - is that the the desktop isn't visible because the session has been - switched, the screen is locked, or a terminal server session - disconnected, so no error message necessary. (#137796) - - It is of course remotely possible that BitBlt() failing with - ERROR_INVALID_HANDLE might also be caused by some other - problem. We could strive for perfection and track whether the - desktop is visible by using WTSRegisterSessionNotification() and - handling WM_WTSESSION_CHANGE. I think that's overdoing it just for - this issue, though. If we would track desktop visibility, we - should then avoid even trying to update the display at all while - the desktop isn't visible. - -2005-09-30 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_init): Another attempt - to correct the calculations for the first week day. We may - just have to remove this code if too many locales turn out - to have broken data. - - * gtk/gtkimage.c (gtk_image_expose): Don't leak pixbuf in - some cases. (#317611, Tommi Komulainen) - - * gtk/gtksocket-x11.c (_gtk_socket_windowing_size_request): - Prevent overflow when storing size hints in an unsigned - short variable. Tracked down by Ray Strode and Søren Sandmann. - -2005-09-29 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_set_image): Check arguments. (#317491, - Paolo Borelli) - - * gtk/gtkpaned.c (gtk_paned_grab_notify): Stop drags when being - grab shadowed. (#317332) - -2005-09-29 Tor Lillqvist - - * gtk-zip.sh.in: DLLs are always in bin nowadays, no need to test. - -2005-09-28 Federico Mena Quintero - - * tests/autotestfilechooser.c (test_reload_sequence): Oops, return - if the unmap test fails. - (test_reload_sequence): Use gtk_widget_show_now() instead of - gtk_widget_show() for the dialog. - Thanks to Tim Janik for noticing these. - -2005-09-28 Federico Mena Quintero - - * tests/testcellrenderertext.c: New file with a set of tests for - GtkCellRendererText. The idea is to run a text renderer through - most of its interesting property values to see that it works - correctly. - - * tests/Makefile.am: Added testcellrenderertext. - - * gtk/gtkfilechooserdefault.c (load_set_model): Mark the - entry/exit of this function for profiling. - (gtk_file_chooser_default_style_set): Mark the start/end of the - calls to the parent class and the the signal emission for profiling. - -2005-09-29 Tor Lillqvist - - * gtk/gtkmain.c (_gtk_get_localedir): The locale directory is - passed to bindtextdomain() which isn't UTF-8-aware, so convert to - system codepage using g_win32_locale_filename_from_utf8(). - (#317457, Kazuki Iwamoto) - -2005-09-28 Matthias Clasen - - * gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms - here. (#317039, Paolo Borelli) - - * gtk/gtktexttag.h: - * gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes - to make this function work as boxed copy function. (#317455, - Gustavo Carneiro) - - * gtk/gtkclipboard.c (request_image_received_func): Don't unref - NULL. (#316828, Tor Lillqvist) - -2005-09-28 Tor Lillqvist - - * modules/input/imime.c: Include . (#317444, Kazuki - Iwamoto) - -2005-09-27 Federico Mena Quintero - - Don't reload the current folder unnecessarily on ::map(). - - * gtk/gtkfilechooserprivate.h (ReloadState): New enum to represent - the reloading state. - (struct _GtkFileChooserDefault): Added a "reload_state" field. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): - Initialize impl->reload_state. - (gtk_file_chooser_default_map): Check the impl->reload_state; load - a default folder if no folder has been set, or reload the current - one only if we had been unmapped first. - (gtk_file_chooser_default_update_current_folder): Set the - reload_state to RELOAD_HAS_FOLDER. - (gtk_file_chooser_default_unmap): Implement, and set the - reload_state to RELOAD_WAS_UNMAPPED. - (shortcuts_model_create): Don't call shortcuts_add_bookmarks() - here; they'll get (re)loaded on ::map() anyway. - - * gtk/gtkfilechooserwidget.c - (gtk_file_chooser_widget_constructor): Don't set a default folder here. - - * tests/autotestfilechooser.c (test_action_widgets): Don't take in - a dialog; build it ourselves. - (test_reload): New test to ensure that we don't load the default - folder more than once, and that we reload it when - unmapping/remapping. - (get_impl_from_dialog): New utility function. - (test_widgets_for_current_action): Use get_impl_from_dialog(). - -2005-09-27 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_constructor): Mark the entry/exit of - this function for profiling. - (check_icon_theme): Likewise. - (change_icon_theme): Likewise. - (settings_notify_cb): Likewise. - (gtk_file_chooser_default_screen_changed): Likewise. - (update_chooser_entry): If the selection is empty, clear the file - name entry only if we are in CREATE_FOLDER mode. In SAVE mode, - nothing will be selected when the user starts typeahead in the - treeview, and we don't want to clear the file name entry in that - case --- the user could be typing-ahead to look for a folder name. - Fixes bug #308332, patch by Jürg Billeter. - -2005-09-27 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Pop below the entry if there's more free space below the entry - than above. (#316948, Tommi Komulainen) - -2005-09-26 Federico Mena Quintero - - Do not create the save mode-specific widgets in the open modes, so - that we don't carry their baggage around. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_constructor): Don't create the - save_widgets here. - (save_widgets_create): Set the impl->save_widgets directly here, - instead of passing the widgets back to the caller. Also, pack - them into the impl's box. - (update_appearance): Create or destroy the save widgets as - appropriate. Set the action of the save_file_name_entry here. - (shortcuts_add_current_folder): Set the active item in the - save_folder_combo only if it exists. - (gtk_file_chooser_default_set_property): Don't set the action of - the save_file_name_entry here. - (gtk_file_chooser_default_update_current_folder): Set the base - folder of the save_file_name_entry only if the entry exists. - (shortcuts_drag_data_received_cb): Cast the selection_data->data - to (const char *) since that's what shortcuts_drop_uris() expects. - (file_list_drag_data_received_cb): Likewise, for - g_uri_list_extract_uris(). - -2005-09-26 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_shape_combine_mask): Set - the shaped flag here, too. (#316871) - (gdk_window_shape_combine_region): Currently unimplemented, so - don't do anything to the shaped flag here. - -2005-09-26 Matthias Clasen - - Fix #316871, reported by Dan Winship: - - * gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag. - - * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask) - (gdk_window_shape_combine_region): Set it here. - - * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't - remove the child area for shaped windows. - -2005-09-23 Matthias Clasen - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize): - Don't leak expander pixbufs. (#316946, Tommi Komulainen) - -2005-09-22 Michael Natterer - - Renamed GtkCellRendererKeys to GtkCellRendererAccel to be - consistent with GTK+ terminology: - - * gtk/gtkcellrendererkeys.[ch] - * tests/testkeys.c: removed... - - * gtk/gtkcellrendereraccel.[ch] - * tests/testaccel.c: ...and added. - - * gtk/Makefile.am - * gtk/gtk.h - * gtk/gtk.symbols - * tests/Makefile.am: changed accordingly. - -2005-09-22 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation - for the grab-broken-event signal, noticed by Damon Chaplin. - -2005-09-21 Tor Lillqvist - - * gdk/win32/gdkselection-win32.c (gdk_selection_convert, - gdk_text_property_to_text_list_for_display, - gdk_text_property_to_utf8_list_for_display, - gdk_win32_selection_add_targets, - _gdk_win32_selection_convert_to_dib): Free return value from - gdk_atom_name(). - (gdk_text_property_to_text_list_for_display): Drop GError variable - that isn't actually used after being set. - -2005-09-20 Johan Dahlin - - * gtk/gtkentry.c (gtk_entry_set_completion): Mention NULL in - documentation. - -2005-09-20 Tor Lillqvist - - * gdk/win32/gdkselection-win32.c - (gdk_selection_owner_get_for_display): Do return the correct owner - for CLIPBOARD (i.e., the owner of the Windows Clipboard, if it is - a window GDK knows about). The reason to return NULL seems to have - gone when in the fix for bug #163702 the artificial - GDK_SELECTION_CLEAR event generation was removed from - gdk_selection_send_notify_for_display(). Fixes bug #316552. - -2005-09-20 Matthias Clasen - - Avoid unnecessary XkbGetState() calls and XkbStateNotify - events. (#151555, Søren Sandmann) - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Use - XkbSelectEventDetails() to select XkbStateNotify events - for only the state we care about. - - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkkeys-x11.c (_gdk_keymap_state_changed): Pass - the event into the function and update the keymap state from - the state information contained in the event. Adjust all callers. - -2005-09-19 Matthias Clasen - - * gtk/gtkiconview.c: Use g_list_nth_data() instead of g_list_nth()->data - in multiple places to avoid segfaults if the index is out of range. - (#316422, Guillaume Cottenceau) - (gtk_icon_view_set_drag_dest_item): - (gtk_icon_view_scroll_to_path): Fix a typo in the docs. (#316419, - #316424, Guillaume Cottenceau) - -2005-09-18 Hans Breuer - - * gtk/gtktrayicon-win32.c : now handling events by hard-coded - g_signal_emit_by_name() - will break when gtkstatusicon.c changes. - -2005-09-18 Hans Breuer - - * gdk/gdk.symbols gdk/win32/gdkwin32.h gdk/win32/gdkcursorwin32.c : export - _gdk_win32_pixbuf_to_hicon() as gdk_win32_pixbuf_to_hicon_libgtk_only() - * gtk/gtktrayicon-win32.c : a lot of debug spew but it has started to show - the icon and is blinking with teststatusicon. More to come ... - -2005-09-18 Hans Breuer - - * gtk/makefile.msc.in : fix typo for GTK_VER; define HAVE_CONFIG_H - cause gtkprogressbar.c has #include conditionally; less - noise from generated gtk.def - * gtk/stock-icons/makefile.msc gdk/makefile.msc tests/makefile.msc : updated - - * gtk/gtktrayicon-win32.c : dummy implmentation to make gtk compile. - For me it works as well as the *NIX implemenation, that is not at all. - - * gdk/win32/gdkproperty-win32.c : implement gdk_atom_intern_static_string() - - * gdk/win32/gdkwindow-win32.c(gdk_window_set_urgency_hint) : only use - only use (WINVER >= 0x0500) when available from the SDK. Otherwise fall - back to true dynamic linking of FlashWindowEx. Makes gtk+ work on NT4.0 - again - if compiled properly. - - * tests/teststatusicon.c : don't use GNOME icons for testing, but icons - already coming with Gtk+. Makes it compile on win32. - -2005-09-18 Guilherme de S. Pastore - - * README.cvs-commits: fixed some tiny typos - -2005-09-16 Tor Lillqvist - - * modules/engines/ms-windows/msw_style.c (draw_extension, - draw_box_gap): Check whether the widget actually is a GtkNotebook - before treating it as such. Drop some unneeded local variables, - use parameter with same information instead. (#316412) - -2005-09-15 Federico Mena Quintero - - * tests/autotestfilechooser.c: Start a set of automated tests for - the file chooser. The only test in there right now doesn't pass - yet. It specifies the intended behavior of the first optimization - of a series which I'll do on the file chooser (see - http://primates.ximian.com/~federico/news-2005-09.html#14 for the - details of this optimization). - - * tests/Makefile.am: Added autotestfilechooser.c. - - * gtk/gtkfilechooserprivate.h (struct - _GtkFileChooserDialogPrivate): Move all the file chooser's private - structures to here, so that they can be accessed by - tests/autotestfilechooser.c: _GtkFileChooserDialogPrivate, - _GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault. - - * gtk/gtkfilechooserdialog.c: See above. - - * gtk/gtkfilechooserwidget.c: See above. - - * gtk/gtkfilechooserdefault.c: See above. - -Thu Sep 15 15:27:55 2005 Tim Janik - - * gtk/gtkwindow.c: - gtk_window_map_event(): new function to work around lost unmap requests. - fixes bug #316180. - -2005-09-14 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add - an easy-to-find profiling marker when starting to create a file - chooser. - (browse_files_model_finished_loading_cb): Likewise, for when the - chooser is finished loading. - -2005-09-14 Tristan Van Berkom - - * gtk/gtkcolorbutton.c: Check "color" argument in - gtk_color_button_set_color () - -2005-09-14 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_get_type): - * gtk/gtkbutton.c (gtk_button_get_type): - * gtk/gtkwindow.c (gtk_window_group_get_type): No point in - using a mem chunk for window groups, buttons, labels. - - * gtk/updateiconcache.c (foreach_remove_func): Fix - a use-after-free bug. (#316256, Alexander Nedotsukov) - -2005-09-13 Matthias Clasen - - * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas) - - * gdk/*.c: Various cleanups. (#315359, Kjartan Maraas) - -2005-09-13 Matthias Clasen - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): - Let GDK_Return pass through in some more cases. - - * gtk/gtkentry.c (gtk_entry_key_press): Reset the im context before - activating the entry. - - * gtk/gtkiconview.c (gtk_icon_view_class_init): - (gtk_icon_view_get_dest_item_at_pos): Fix typos in the - docs. (#316008, #316027, #316121, Guillaume Cottenceau) - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs. - (#316001, Guillaume Cottenceau) - - * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste - mistake in the docs. (#315993, Guillaume Cottenceau) - - * tests/testentrycompletion.c (create_simple_completion_model): Add - some strings containing multibyte characters. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): - Fix prefix insertion for multibyte characters. (#316095, - Tommi Komulainen) - - * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): - * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): Silently - return NULL if the widget is not realized. (#316023, - Guillaume Cottenceau) - -2005-09-11 Matthias Clasen - - * gdk/gdk.symbols: - * gdk/gdkproperty.h: - * gdk/x11/gdkproperty-x11.c (gdk_atom_intern_static_string): - New function to avoid pointless strdups when creating atoms - from static strings. - - * gdk/x11/*.c: - * gtk/*.c: Use gdk_atom_intern_static_string() where - appropriate. - -2005-09-09 Matthias Clasen - - * gtk/gtkcellrendererkeys.h: - * gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying - and editing accelerators, a port of EggCellRendererKeys . - - * gtk/gtk.symbols: - * gtk/gtk.h: - * gtk/Makefile.am: Add the keys cell renderer. - - * tests/Makefile.am: - * tests/testkeys.c: Test GtkCellRendererKeys - -2005-09-09 Matthias Clasen - - Make it possible to determine if a key event is for a - modifier key: - - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): - New function to determine if a keycode is mapped to a modifier. - (get_xkb): Get the modmap. - - * gdk/x11/gdkevents-x11.c (translate_key_event): Set the - is_modifier bit by calling _gdk_keymap_key_is_modifier(). - - * gdk/gdkevents.h (struct _GdkEventKey): Add an is_modifier - bit. - -2005-09-09 Matthias Clasen - - * gdk/gdkpixbuf-drawable.c (convert_real_slow): Remove an - unused variable, noticed by Kjartan Maraas. - -2005-09-09 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): - Make drag reordering work properly for columns other than the - first. (#315054, Dan Winship) - - * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle - invalid fontnames better. (#136926, Michael R. Walton) - - Stop cursor blinking in non-editable regions of a text view. - (#311508, Torbjörn Andersson) - - * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): - (cursor_blinks): Take editability into account when deciding - whether the cursor blinks. - (gtk_text_view_button_release_event): - (gtk_text_view_move_cursor_internal): Update cursor blinking here. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): - Use connect_after to connect to the focus_out event. This - ensures that the entry has already stopped blinking by the time - we emit the edited signal. (#315229, Thomas Leonard) - - * tests/testgtk.c: Use GDK_MOD1_MASK, not GDK_ALT_MASK. - - * gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set - unsigned ints to -1. (#315481, Kjartan Maraas) - - * gtk/gtkcalendar.c (gtk_calendar_init): first_weekday is relative - to week_1stday, not to Sunday. Gotta love the ISO 14652 guys... - (#314473, Stanislav Brabec) - -2005-09-09 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Document - memory handling. (#314975, Torsten Schoenfeld) - - * gtk/gtkiconview.c (gtk_icon_view_class_init): - * gtk/gtkfilesel.c (gtk_file_selection_class_init): - * gtk/gtkcombobox.c (gtk_combo_box_class_init): - * gtk/gtklabel.c (gtk_label_class_init): - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - Stylistic improvements and clarifications for some blurbs. - (#315520, Clytie Siddall) - -2005-09-09 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the - display name. There is only one GdkDisplay on Win32, and - constructing the display name isn't entirely trivial, so cacheing - is probably worth it. For instance GIMP calls this function a lot. - (gdk_display_open): Call gdk_display_get_name() to prime the - cached name. - (gdk_display_get_n_screens, gdk_display_get_screen, - gdk_display_get_default_screen): Verify parameter correctness like - the X11 backend does. - - * gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name): - Return a freshly allocated string, as the API specifies. Fixes a - heap corruption problem that caused random errors and crashes in - GIMP, for instance. - -2005-09-07 Matthias Clasen - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): - Make C-u commit and restart hex input if we are already in a - hex sequence. - -2005-09-06 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c (update_modmap): Make the modmap reflexive. - (_gdk_keymap_add_virtual_modifiers): Don't add both Alt and Meta - if they are mapped to the same modifier. - - * gtk/Makefile.am: Rename gtkstatusicon-x11.c and gtktrayicon.c - to gtkstatusicon.c and gtktrayicon-x11.c - - * gtk/gtkaccelgroup.c: Include Super, Hyper and Meta in the - default accel mod mask. - - * gtk/gtkaccelgroup.c (gtk_accelerator_parse): - * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): - Don't use GDK_ALT_MASK. - - * gdk/gdktypes.h: No need to introduce GDK_ALT_MASK - -2005-09-06 Matthias Clasen - - Add support for extra virtual modifiers: (#85780, Owen Taylor) - - * tests/testgtk.c (create_key_lookup): Add tests for extra virtual - modifiers. - - * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Try to match both against - Mod2 - Mod5 and against Super, Hyper, Meta. - - * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): - * gtk/gtkaccelgroup.c (gtk_accelerator_parse) - (gtk_accelerator_name): Support Super, Hyper Meta and Mod2 - Mod5. - - * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a - modmap to maintain the information which X modifiers map to - virtual modifiers. - (get_xkb): Set up the modmap from the XKB tables. - (update_keymaps): Set up the modmap from the information returned - by XGetModifierMapping in the non-XKB case. - - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New - function to set the virtual modifiers in the state. - - * gdk/x11/gdkevents-x11.c (translate_key_event): Call - _gdk_keymap_add_virtual_modifiers here. - - * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super, - Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias - for GDK_MOD1_MASK. - -2005-09-05 Matthias Clasen - - * gtk/gtkaction.c (connect_proxy): Set the label of a button - if it has no child. (#315253, John Finlay) - -2005-09-02 Matthias Clasen - - * gtkimcontextsimple.h: Add a modifiers_dropped bit - -2005-09-02 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_destroy): Disconnect idle handlers - on destroy to avoid problems when they are called on a destroyed - widget. (#315135, John Cupitt) - - * gtk/gtkentry.c (gtk_entry_class_init): - * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings - for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes) - - * gtk/gtkimcontextsimple.c: Rework the Unicode hex input - code. Now we only steal a single key combination, Ctrl-Shift-U, - instead of sixteen. - A hex Unicode sequence must be started with Ctrl-Shift-U, followed - by a sequence of hex digits entered with Ctrl-Shift still held. - Releasing one of the modifiers or pressing space while the modifiers - are still held commits the character. It is possible to erase - digits using backspace. - As an extension to the above, we also allow to start the sequence - with Ctrl-Shift-U, then release the modifiers before typing any - digits, and enter the digits without modifiers. - (#82011, Owen Taylor) - -2005-09-02 Matthias Clasen - - * gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed, - we still need to deliver the destroy event. (#314980, Chris Lahey) - - * gtk/gtktextview.c (gtk_text_view_key_press_event): Reset - im context before committing \n or \t. - -2005-09-02 Alexander Larsson - - * gtk/gtkfilechooserdefault.c: (shortcuts_add_volumes), - (shortcuts_activate_volume): - Handle base_path being null in the rest of the cases (#310270) - -2005-09-02 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of - cursor position also in root window coordinates. Prune out - superfluous WM_MOUSEMOVE events even earlier, based on root window - coordinates. Windows sends WM_MOUSEMOVE messages after a new - window has ben mapped below the cursor even if the mouse doesn't - move. We used to generate GDK_MOTION_NOTIFY in these cases. This - confused at least gtk_menu_motion_notify(). (#314995) - - * gtk/gtkintl.h: No need to include config.h here. It caused - warnings about GTK_LOCALEDIR being redefined on Win32 when - compiling files where gtkintl.h is included after gtkprivate.h - (which #undefines and re-#defines GTK_LOCALEDIR on Win32). - - * gtk/gtkplug.c: Include config.h. - -2005-09-01 Matthias Clasen - - * gtk/gtkfilesystemunix.c: Pass statbufs down to - xdg_mime_get_mime_type_for_file() where possible, to avoid - useless re-stating. - - * gtk/gtkaction.c (gtk_action_get_accel_closure): Fix doc - typo. (#314921, Guillaume Cottenceau) - - * gdk/*.c: Intern some more strings. - * gtk/gtkintl.h: - * gtk/*.c: Define an I_() macro and use it instead of the - bulky g_intern_static_string(). - -2005-08-31 Matthias Clasen - - * gtk/gtkbindings.c (binding_signal_new): Intern the signal name - instead of copying it. - - * gtk/gtktypeutils.c (gtk_identifier_get_type): Some more string interning. - - * gtk/*.c: Also intern static strings passed to - g_object_set_data(). - - * gdk/Makefile.am: - * gtk/Makefile.am: Intern type names in code generated by - glib-mkenums, too. - - * gtk/*.c: - * gdk/x11/*.c: - * gdk/*.c: Intern type names before registering the type to avoid - unnecessary copies. - - * configure.in: Require GLib 2.9.0 - -2005-08-31 Matthias Clasen - - * gtk/gtktoolbar.c: Undeprecate gtk_toolbar_set_icon_size(), - and add icon-size and icon-size-set properties. (#314172) - - * gtk/gtkwindow.c (gtk_window_set_transient_for): Inherit window - groups across transient parents. (#312918, Christian Persch) - - * gtk/gtktreemodel.c: Some documentation fixes. (#314882, - Guillaume Cottenceau) - - * gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions): - Fix a typo in the docs. (#314878, Guillaume Cottenceau) - -2005-08-30 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to - make C-/ select all and C-\ unselect all. (#309301, - Kathy Fernandez) - - * gtk/gtkimcontextsimple.c: Change the compose sequence for - soft hyphen to be multi_key-minus-minus-space, and add - compose sequences multi_key-minus-minus-period and - multi_key-minus-minus-minus for en dash and em dash. - (#172653, Christian Lohmaier) - - * gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused - code. (#313946, Christian Persch) - - * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another - fix for the default value of the "ui" property. - -2005-08-30 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkselection.h: - * gtk/gtkselection.c: Add functions which look for text, image - or uri targets in an array of atoms. (#314089, Mark Wielaard) - - * gtk/gtk.symbols: - * gtk/gtkselection.h: - * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): - Add a function to check wether targets include uri. - (#314092, Mark Wielaard) - - * gtk/gtk.symbols: - * gtk/gtkwindow.h: - * gtk/gtkwindow.c: Add a deletable property with getter - and setter, to control the close button in the window - frame. (#59718, Havoc Pennington) - -2005-08-29 Matthias Clasen - - * gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives - to the arrow keys for menu navigation. (#162825, Carl Worth) - - * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes - - * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos. - - * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): - * gtk/gtkimage.c (gtk_image_new_from_stock): Don't - refer to nonexisting stock ids. - - * gtk/gtktextview.c (popup_targets_received): - * gtk/gtkentry.c (popup_targets_received): Construct - the "Select All" menuitem from stock. - - * gtk/stock-icons/stock_select_all_{16,24}.png: - * gtk/stock-icons/Makefile.am: - * gtk/gtkiconfactory.c: - * gtk/gtkstock.h: - * gtk/gtkstock.c: Add a "Select All" stock item. (#78545, - Calum Benson) - - * gtk/gtktrayicon.c: Add a pointer to the spec. - - * gtk/gtkstatusicon-x11.c: Add docs. - - * gtk/gtkstatusicon.h: Fix a typo. - - Add a cross-platform "tray icon" API, by - porting EggStatusIcon/EggTrayIcon (#105101) - - * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which - displays an icon in a notification area. - - * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for - X11, using GtkTrayIcon. - - * gtk/gtktrayicon.h: - * gtk/gtktrayicon.c: An implementation of the freedesktop.org - system tray specification, not public API. - - * gtk/gtk.symbols: Add new exported functions. - - * gtk/gtk.h: Include gtkstatusicon.h. - - * gtk/Makefile.am: Add new files. - - * tests/Makefile.am: - * tests/teststatusicon.c: Test for GtkStatusIcon. - -2005-08-29 Christopher Aillon - - * gtk/gtkstock.c: Add builtin GtkStockItems for GTK_STOCK_CONNECT - and GTK_STOCK_DISCONNECT - -2005-08-29 Matthias Clasen - - * gtk/gtksocket-x11.c (_gtk_socket_windowing_embed_notify): - Use XFixesChangeSaveSet if available. (#314682) - - * gtk/gtkmenu.c (gtk_menu_grab_notify): Only cancel if the menu - was active. (#314298, Christian Persch, analysis by Mark McLoughlin) - -2005-08-29 Matthias Clasen - - * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an - accidentally leftover duplicate pixbuf creation. (#314700, - Kjartan Maraas) - - * gtk/gtksettings.c (settings_update_cursor_theme): Don't - leak the cursor theme name. (#314693, Kjartan Maraas) - - * gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free - state.children in all cases. (#313862, Kjartan Maraas) - -2005-08-28 Matthias Clasen - - * po/POTFILES.in, po-properties/POTFILES.in: - Add gdk/gdkscreen.c - -2005-08-27 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default - value of the ui property. (#314532, Yong Wang) - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn - when G_MAXLONG is passed as length. - -2005-08-26 Matthias Clasen - - * gtk/updateiconcache.c: Add a separate --ignore-theme-index option - to avoid overloading --force. (JP Rosevaar) - -2005-08-26 Matthias Clasen - - * configure.in: Bump version to 2.9.0 - - * gdk/gdk.symbols: - * gdk/gdkscreen.h: - * gdk/gdkscreen.c: Make the GdkScreen font options api - public, and add properties GdkScreen::font-options and - GdkScreen::resolution. (#314004) - - * gdk/gdkpango.c: - * gtk/gtksettings.c: - * gtk/gtkwidget.c: Adjust all callers. - - * gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h. - * gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h. - * gdk/gdkscreen.c: Include gdkintl.h. - - * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized - variable warning, pointed out by Colin Walters. (#314585) - -2005-08-26 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging - printouts. - (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519) - -2005-08-26 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation - of week_start. (#314473, JP Rosevaar) - -2005-08-25 Thomas Fitzsimmons - - * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK - lock. (#314533, Thomas Fitzsimmons) - -2005-08-25 Matthias Clasen - - * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle - NULL gracefully. (#314523, Ed Catmur) - -2005-08-25 Owen Taylor - - * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): - Handle theme == NULL. - -2005-08-25 Matthias Clasen - - * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget - y offset into account when positioning the popup. (#314470, - Christian Persch) - -2005-08-25 Owen Taylor - - * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init - as instance_init, not base_init! (#314452, Fix from Frederic - Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1. - rather than 1 for a negative flag value. - -2005-08-24 Owen Taylor - - * gdk/gdkpango.c (draw_error_underline): Add a note about - cut-and-paste between here and Pango. - -2005-08-24 Matthias Clasen - - * === Released 2.8.2 === - - * gtk/gtkclipboard.c (request_image_received_func): Use the correct - callback for image/gif, and also try image/bmp. (#314086, Mark - Wielaard) - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): - Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev. (#314382, - Sebastien Bacher) - - * NEWS: Updates - - * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font - and cursor settings get propagated down to the screen initially. - Pointed out by Frederic Crozat. - - * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client - message if the screen is NULL. Noticed by Kjartan Maraas. - -2005-08-24 Matthias Clasen - - * Bump version - - * === Released 2.8.1 === - - * NEWS: Updates - -2005-08-24 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect - against lazy filterers which return values other than TRUE or - FALSE from their visible func. (#314335) - -2005-08-23 Owen Taylor - - Fix for #314004, reported by Michael Reinsch: - - * gdk/gdk.symbols: - * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only() - Add gdk_screen_get/set_resolution_libgtk_only() - - * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set - the options for the screen on the newly created context. - - * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: - Move font options and dpi code from gtkwidget.c to gtksettings.c, set - the font options on the screen. - - * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get - the font options from the screen and set them on the context. - -2005-08-23 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't - bother inserting new rows in a level with a zero refcount and - immediately free the level. (Fixes #312350, reported by Markku Vire). - -2005-08-23 Matthias Clasen - - * gtk/updateiconcache.c: Complain when there is no index.theme file - in the specified directory, unless --force is used. Also add an - --index-only option to create caches without image data. - - * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a - C99ism. (#314262, Robert Jeff Mitchell) - -2005-08-22 Manish Singh - - * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload. - - * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles. - -2005-08-22 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_client_event): - * gtk/gtkicontheme.c (ensure_valid_themes) - (_gtk_icon_theme_check_reload): Implement a clientmessage based - scheme for makeing sure that all GTK+ applications notice if an - icon theme has been updated. This should prevent multiple versions - of an icon theme cache to be mapped in memory at the same time, - which can cause excessive memory consumption. (#313156, Chris - Lahey) - -2005-08-22 Matthias Clasen - - * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note - regarding icon theme changes. - - * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning - pixbufs which are backed by the mmapped memory of an icon cache, - increase the refcount of the icon cache, so that the memory is not - munmapped away underneath the pixbuf upon icon theme changes. - (#314170, Kjartan Maraas) - - * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order - to link against Xext. (#314062) - - * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer - overruns. (#314081, Hans Breuer) - -2005-08-20 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the - returned layout must not be modified. - -Sat Aug 20 16:12:14 2005 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_model): clear - scroll_to_path if the model changes. - - * gtk/gtkiconview.c: (gtk_icon_view_destroy), - (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor), - (gtk_icon_view_scroll_to_path): Handle scrolling to a path before - we're realized, #312798 - (gtk_icon_view_set_model): clear scroll_to_path if the model - changes. - -2005-08-20 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_adjustment_changed) - (gtk_range_adjustment_value_changed): Don't queue a draw - if the layout has not changed. (#313991, Benjamin Berg) - -2005-08-19 Matthias Clasen - - * gtk/gtktreeitem.c: Remove duplicate lines. (#313344, - Benoit Carpentier) - - * modules/engines/ms-windows/msw_style.c (setup_system_styles): - Fix a typo. - - * gtk/gtkfilechooserbutton.c (change_icon_theme) - (model_add_special, model_add_special, model_add_volumes): - Handle pixbuf being NULL without warnings. Also, don't - leak pixbuf references when the icon theme is changed. - - * gtk/gtkmain.c (gtk_get_event_widget): Don't access - the user data on destroyed windows, since at best - it can be a stale pointer. (#313953, Robin Green) - -2005-08-19 Matthias Clasen - - * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun. - (#313900, Sebastien Bacher) - - * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return - FALSE if the tree is empty. (#313891, Guillaume Cottenceau) - - * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) - (xdnd_read_actions, get_client_window_at_coords_recurse): - Free data returned from XGetWindowProperty. - - * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) - Free data returned from XGetWindowProperty. (313867, Kjartan - Maraas) - - * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free - children in all cases. (#313862, Kjartan Maraas) - - * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs - in the per-directory hash, even if they come from the icon cache. - We tried to avoid that before, but as a result leaked icon data - structs. (#313852, Kjartan Maraas) - -2005-08-18 Matthias Clasen - - * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect - signal handlers on destroy, not on finalize. (#313759, Brett Atoms) - -2005-08-15 Owen Taylor - - * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config - files for x11/xext. (Jonas Bonn) - -2005-08-15 Tor Lillqvist - - * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout - inside GTK_NOTE. - -2005-08-15 Owen Taylor - - * configure.in: Fix have_base_pc / have_base_x_pc typo. - - * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes. - (#313417, James Andrewartha) - - * configure.in: Add fontconfig to X_PACKAGES, since we use it for - FcNameConstant(). (More of #313417) - -2005-08-15 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for - modal dialogs, make sure to inherit the window group from - the parent, since we don't inherit window groups across - transient parents currently. (#312918, Christian Persch) - - * gtk/gtkmessagedialog.c (gtk_message_dialog_new): - * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. - - * gtk/gtkiconview.c (gtk_icon_view_select_path) - (gtk_icon_view_scroll_to_path): Handle paths of depth 0 - gracefully. (#312796, Jonathan Blandford) - - * tests/testtoolbar.c: Add some more tests for menu placement. - - * gtk/gtkmenutoolbutton.c (menu_position_func): - * gtk/gtktoolbar.c (menu_position_func): Improve positioning - of toolbutton menus and of the overflow menu. (#312937, - #153870, Christian Persch, Paolo Borelli) - -2005-08-15 Tor Lillqvist - - * gtk/updateiconcache.c: Use g_path_get_dirname() instead of - the nonportable and dirname(). - -2005-08-15 Matthias Clasen - - * gtk/gtksizegroup.c: Use object data to mark widgets and - groups as visited, so that we avoid constant extra list - traversals. Also allocate quarks in class_init. (#311618, - Michael Natterer) - - * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the - download location for the hicolor icon theme. (#313475, Olexiy - Avramchenko) - - * gtk/gtkicontheme.c: Remove debug spew. - -2005-08-15 Owen Taylor - - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): - * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): - * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): - Handle pixmap == NULL when checking for a colormap. - (Allin Cottrell). - -2005-08-14 Matthias Clasen - - * gtk/updateiconcache.c: Store only one copy of the pixel data - for symlinked icons. To achieve this, maintain a hashtable - mapping pathnames to pixel data, and share the pixel data for - all symlinks resolving to the same pathname. When writing out - the image data, write out the pixel data only the first time - it is met, and store the offset pointing to the first copy - for use in all later cases. - This reduces the size of the Bluecurve icon cache from 40 - to 13MB. (#312972) - diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 deleted file mode 100644 index f1801b26a9..0000000000 --- a/ChangeLog.pre-2-12 +++ /dev/null @@ -1,8912 +0,0 @@ -2007-11-19 Matthias Clasen - - * gtk/gtktreestore.c: Fix the GtkBuildable implementation - to allow setting column types. (#496795, James Stephenson) - -2007-11-19 Matthias Clasen - - * gtk/gtkmain.[hc]: Make gtk_check_version() return const. - (#496734, Nicolas Joseph) - -2007-11-19 Matthias Clasen - - * gtk/gtkaboutdialog.c: Correct docs for program-name property. - (#496689, Thomas Wood) - -2007-11-17 Paolo Borelli - - * gtk/gtktextbuffer.c: - * gtk/gtktextlayout.c: - * gtk/gtktextview.c: - Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164. - -2007-11-15 Yevgen Muntyan - - * gtk/gtktextbtree.h: - * gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert() - and _gtk_text_btree_get_selection_bound() (#497102). - * gtk/gtktextbuffer.c (gtk_text_buffer_get_insert), - (gtk_text_buffer_get_selection_bound): use them here instead of - hash table lookup. - -2007-11-15 Yevgen Muntyan - - * gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned - tags array by tags priority (#497102). - * gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes): - * gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here. - -2007-11-15 Yevgen Muntyan - - * gtk/gtktextlayout.c: (gtk_text_layout_get_line_display), - (get_style): do not call _gtk_text_btree_get_iter_at_line() and - _gtk_text_btree_get_tags() for every segment, instead call them - once and then collect the tags while iterating over the segments. - (get_tags_array_at_iter), (tags_array_toggle_tag): new functions - for tags array handling. - -2007-11-14 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_popup): remove recently added - gdk_flush() again, it's not needed after all. - -2007-11-14 Michael Natterer - - * tests/testbbox.c - * tests/testframe.c: use g_object_ref/unref instead of deprecated - functions. - -2007-11-14 Michael Natterer - - * gtk/gtkstyle.c (gtk_default_draw_focus): cast pointers to fix - warnings about signdness. - -2007-11-12 Sven Herzberg - - Reviewed by Richard: - - * gdk/quartz/gdkquartz.h: include with angle - brackets and not with quotation marks - -2007-11-12 Alexander Larsson - - * gdk/x11/gdkselection-x11.c: - Avoid loading the ISO8859-1 iconv module. - We're already doing all the required work anyway. - This saves 4kb private dirty memory per gtk+ process - -2007-11-11 Yevgen Muntyan - - * gtk/gtktextview.c: Moved gtk_text_view_update_im_spot_location() - calls into an idle, fixes #494776. - GtkTextViewPrivate:im_spot_idle, do_update_im_spot_location(), - queue_update_im_spot_location(), flush_update_im_spot_location(): new - field and functions to queue the call; - (changed_handler): call queue_update_im_spot_location() instead of - gtk_text_view_update_im_spot_location(); - (gtk_text_view_key_press_event): flush the idle here. - -2007-11-10 Ryan Lortie - - * gtk/gtkbuilder.c: Convert delayed_properties hashtable to linked - list. Fixes #495769. - -2007-11-10 Matthias Clasen - - * tests/buildertest.c: Parse a file given on the cmdline. - - * gtk/gtkbuilderparser.c (_gtk_builder_parser_parse_buffer): - Leak less in error paths. - -2007-11-10 Matthias Clasen - - * gtk/gtkbuilder.c (gtk_builder_add_from_file): Don't - leak buffer if an error occurs. - -2007-11-09 Matthias Clasen - - * gtk/gtkbuilderparser.c: More robustness improvements - for the parser. - - * gtk/gtkbuilderparser.c (parse_signal): Handle misplaced - signal elements without asserting. - - * gtk/gtkbuilderparser.c (parse_property): Handle misplaced - property elements without asserting. - -2007-11-09 Kristian Rietveld - - * gdk/gdkwindow.c (gdk_window_process_all_updates): guard for - windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported - by Sebastien Bacher). - -2007-11-09 Matthias Clasen - - * gtk/gtkmain.c: - * gtk/gtkstatusicon.c: Trivial coding style fixes. - -2007-11-08 Matthias Clasen - - * gtk/gtkbuilder.c: don't leak 'filename' field memory when loading - more than one file into the same GtkBuilder instance. Noticed by - Ryan Lortie. - -2007-11-08 Michael Natterer - - * gtk/gtkbuildable.h: include instead of - -2007-11-07 Ryan Lortie - - * gtk/gtkbuilderprivate.h: Add GString 'text' to the property info - structure. Used to accumulate property text across multiple 'text' - calls. - - * gtk/gtkbuilderparser.c: Instead of translating/copying text on each - 'text' call while in accumulate the text until the end and - do it all in one go. This fixes handling of inside - properties as well as cases. - -2007-11-06 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_popup): call gdk_flush() after showing - the menu so we can definitely grab on it. Grab failure found by - Xan Lopez. - -2007-11-06 Michael Natterer - - * gtk/gtkwidget.c (gtk_widget_keynav_failed): fixed docs. - -2007-11-04 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Make shift - tab work with unicode layouts (e.g. all Leopard layouts), fixes - bug #493404. - -2007-11-03 Richard Hult - - * gtk/gtkclipboard-quartz.c: (clipboard_owner_destroyed), - (gtk_clipboard_set_contents), (clipboard_unset): Fix bug #486369, - by passing the selection info along when pasting. - -2007-11-03 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: - * gdk/quartz/GdkQuartzWindow.h: Make the grab breaking on window - move work on Leopard (as well as Tiger) by ignoring which mouse - button is pressed. - -2007-11-03 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): - Calculate the frame rect correctly when resizing toplevels, fixes - bug #492209. - -2007-11-01 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: - * gdk/quartz/GdkQuartzWindow.h: - * gdk/quartz/gdkdnd-quartz.c: - * gdk/quartz/gdkquartz.h: - * gtk/gtkdnd-quartz.c: Redo the fix for bug #492117, by adding a - getter for the private drag context info so we don't need to - expose so much in the public quartz header file. - -2007-11-01 Richard Hult - - * gdk/quartz/GdkQuartzWindow.h: Fix build, bug #492117. - -2007-10-31 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: - * gdk/quartz/GdkQuartzWindow.h: - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_begin_resize_drag), - (gdk_window_begin_move_drag): Implement manual resize and move. - -2007-10-31 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_process_updates): Setup autorelease pool, - plugs occasional leak on leopard. - -2007-10-31 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Fix build warning (trackingRect should be - 0, not nil). - -2007-10-30 Emmanuele Bassi - - * gtk/gtkbuilder.c (gtk_builder_finalize): Chain up to the - parent's finalize virtual function. - -2007-10-28 Owen Taylor - - * gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Allow - the ::delete-range handler to delete text after the text it was - explicitly asked to delete without confusing us as to whether - we're currently on an editable or not-editable segment. - (#491207) - -2007-10-26 Cody Russell - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: - Disable beeps when backspacing in textviews by default on - Win32 systems. (#490624, Daniel Atallah) - -2007-10-26 Owen Taylor - - * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): - Pay attention to tags that turn invisibility off as well - as tags that turn invsibility on. (#488051, Mathias Hasselmann) - -2007-10-24 Johan Dahlin - - * gtk/gtkbuilder.c: Improve gtk_builder_get_type_from_name() - documentation. (#461222, Murray Cumming) - -2007-10-24 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (update_toplevel_order): Use an - autorelease pool. - -2007-10-24 Johan Dahlin - - * gtk/gtk-builder-convert - (GtkBuilderConverter._convert_dialog_response): - Give up instead of raising an error if we can't find - the parent dialog when converting response ids. - (#479463, Priyank) - -2007-10-24 Johan Dahlin - - * gtk/gtkbuilder.c: (_gtk_builder_construct), - (_gtk_builder_add_signals): - * gtk/gtkbuilderparser.c: (end_element): - * gtk/gtkbuilderprivate.h: - * tests/buildertest.c: (test_connect_signals): - - Parse signals after tags and add tests. - (#468793, Benjamin Otte) - -2007-10-24 Johan Dahlin - - * gtk/gtkbuilderparser.c (end_element): Allow empty property nodes - so we can set empty strings. (#486420, Xavier Claessens) - -2007-10-23 Richard Hult - - * gtk/gtkquartz.c: - (_gtk_quartz_get_selection_data_from_pasteboard): Handle - NSFilenamesPboardType in addition to NSURLPboardType to support - dnd with multiple files from Finder, based on patch from Paul - Davis (bug #467490). - -2007-10-23 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_raise, gdk_window_lower, gdk_window_new, - _gdk_windowing_window_destroy): Maintain a list for the stacking - order of windows. Implement lower and raise for child windows. The - list for toplevels is created on demand, and cleared when a window - gets or resigns main status and when new windows are created. - (find_child_window_helper): Use the sorted list to go through - windows from top to bottom. Take any titlebar in consideration for - toplevels, to stop events from sometimes punching through (bugs - #473813 and #489370). - -2007-10-22 Johan Dahlin - - * gtk/gtkbuilder.c: Use gtk_ascii_tolower/toupper instead of the C - library variants. (#488918, Sertaç Ö. Yıldız) - -2007-10-19 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add a block - around the WM_ACTIVATE case to avoid declaring variables in the - middle of a block. (#488017) - -2007-10-18 Cody Russell - - * modules/engines/ms-windows/msw_style.c: Draw focus rect for - buttons with relief set to GTK_RELIEF_NONE. (#487954) - -2007-10-17 Cody Russell - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkwindow-win32.[ch]: Force non-modal transient dialogs - to iconify with their parents on Win32. Maintain a list of transient - children, and whenever a window is hidden or restored we now do the - same thing to all connected transient windows above and below the - current window in the chain. See comment under WM_ACTIVATE for the - reasons why. (#164537, #371036, #405178) - -2007-10-17 Owen Taylor - - * gtk/Makefile.am (libgtk_win32_2_0_la_LDFLAGS): Move -Wl,-luuid - to LDFLAGS to make libtool happy. - -2007-10-17 Tor Lillqvist - - * gtk/Makefile.am (libgtk_win32_2_0_la_LIBADD): Use -Wl,-luuid - instead of -luuid to work around libtool lossage. - -2007-10-17 Matthias Clasen - - * configure.in: Bump version - -2007-10-16 Matthias Clasen - - * === Released 2.12.1 === - - * NEWS: Updates - - * gtk/gtkvolumebutton.c (gtk_volume_button_new): Update - the docs. (#477280, Christian Persch) - -2007-10-16 Matthias Clasen - - * gtk/gtkentrycompletion.c: Update the docs for the - ::text-column property. (#352643, Josselin Mouette) - -2007-10-16 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_drop_finished): Avoid a critical - warning. (#456676, Campbell Barton) - -2007-10-16 Matthias Clasen - - * gkt/gtkiconsize.c: Be more careful when handling - (GtkIconSize)-1. (#456137, Harry Lu, Chris Wang, et al) - -2007-10-16 Matthias Clasen - - * gtk/gtktextiter.c (gtk_text_iter_forward_line): Improve - the docs. (#486155, Owen Taylor) - -2007-10-16 Matthias Clasen - - * tests/testxinerama.c: Change testcase to not update - screen information on configure-event, since it hides - information for all available screens but add a button - to query current monitor instead (#485437, Frederic Crozat) - -2007-10-16 Matthias Clasen - - * gtk/gtkprinteroptionwidget.c (update_widgets): Actually use - the utf-8 version of the filename. (#485301, Takao Fujiwara) - -2007-10-16 Matthias Clasen - - * NEWS: Updates - -2007-10-15 Loïc Minier - - * gtk/gtkmain.c: (gtk_init): Fix "cannot open display" error message - when display is set by the DISPLAY env var. (#486636, Mike Hommey) - -2007-10-13 Johan Dahlin - - * gtk/gtk-builder-convert - (GtkBuilderConverter._add_action_from_menuitem): signal_name instead - of signal. (#486360, Xavier Claessens) - -2007-10-12 Matthias Clasen - - * gtk/updateiconcache.c: Avoid double-free problems by not - freeing data that may be cached elsewhere. - -2007-10-10 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (gtk_recent_info_get_icon): Document - that you need to unref the returned GdkPixbuf. (#484132, - Christian Persch) - - (build_recent_info): Use g_slist_prepend() when building - the applications list. - -2007-10-10 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Convert - the format to the current locale before passing it to - strtime(). Fixes corrupt dates with non-UTF8 encodings on - OpenSolaris. (#465380, Takao Fujiwara) - -2007-10-10 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix the - time_t typecasting on OpenSolaris. (#465380, Takao Fujiwara) - -2007-10-09 Matthias Clasen - - * configure.in: Make the previous change work - -2007-10-09 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): make - sure the new cursor node is visible when we are done. (Fixes #472965, - Carlos Garnacho). - -2007-10-09 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): we should - only "don't move the cursor, but just select the current node" if the - cursor node is actually selectable. (Fixes #483730, reported by - Geoff Bache). - -2007-10-08 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Implement, - patch from Paul Davis. - -2007-10-08 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): - Ignore if there are no changes, fixes bug #467269. Patch from - Jonathan Dempsey. - -2007-10-08 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): - Patch from Paul Davis to implement this in terms of scrollRect, - fixes bug #478377. - -2007-10-08 Cody Russell - * modules/engines/ms-windows/msw_style.c: - (draw_tab): Fix memory leak, and fix two instances where - a GtkRequisition and a GtkBorder were being freed with - g_free() rather than gtk_requisition_free() and - gtk_border_free(). (#484730, Daniel Atallah) - -2007-10-08 Cody Russell - * docs/reference/gdk/tmpl/event_structs.sgml: - Fix a typo in GdkEventGrabBroken where it said - "@grab_window id NULL" and should say - "@grab_window is NULL". (#484650, Chris Lord) - -2007-10-08 Kristian Rietveld - - * gtk/gtkfilesystemmodel.c (got_root_folder_cb), - (get_children_get_folder_cb): don't "corrupt" all iterators by - reversing the list after adding the items. Reversing the list isn't - needed anyway as the order of the items in the model does not matter. - (Fixes #327243, comment 10). - -2007-10-08 Kristian Rietveld - - Fix #482841, patch by Karl Tomlinson. - - * gtk/gtktooltip.c (gtk_tooltip_display_closed): use g_object_set_data - instead of g_object_set ... - (_gtk_tooltip_toggle_keyboard_mode), - (_gtk_tooltip_handle_event): connect to GdkDisplay::closed after - creating tooltip. - -2007-10-07 Matthias Clasen - - * configure.in: Don't hardcode use of echo -n. (#484008) - -2007-10-07 Matthias Clasen - - * modules/input/gtkimcontextxim.c: Clean up issues around - with life cycle handling. (#483223, Karl Tomlinson) - -2007-10-05 Murray Cumming - - * gtk/gtkprintoperation.c: (print_pages_idle): - Revert the change on 2007-04-29 ("Also check - the default handler when deciding whether to emit the - paginate signal. (#345345, Yevgen Muntyan)"). - This stopped printing from working in gtkmm, and is apparently - not appropriate anyway. Bug #482089. - -2007-10-05 Hiroyuki Ikezoe - - * gtk/gtkdnd.c: Use g_object_ref() instead of gtk_widget_ref(). - (#483563) - -2007-10-04 Emmanuele Bassi - - * gtk/gtkrecentaction.c: - (gtk_recent_action_set_sort_func), (set_current_filter): Iterate - on the proxies we hold when we change the sorting function and - the filter. - - (gtk_recent_action_connect_proxy), - (gtk_recent_action_create_menu): Set the GtkRecentChooser:filter - property when we create/connect a proxy chooser. Thanks to - Jonh Wendell for pointing this bug out on gtk-list. - - (gtk_recent_chooser_set_property): Bail out without iterating - over the proxies when there's no need to. - -2007-10-04 Matthias Clasen - - * tests/testvolumebutton.c: Add a second volume button. - - * gtk/gtkscalebutton.c: Doh, don't release grabs we don't hold. - (#478371, reported by Bill Nottingham) - -2007-10-04 Loïc Minier - - * gtk/gtkfilechooserdefault.c: (list_mtime_data_func): Fix warnings - and display of modified date / time in filechooser for some locales as - it was missing a locale to UTF-8 conversion. Fixes #482504. - -2007-10-03 Xan Lopez - - * gtk/gtknotebook.c: remove duplicated declaration of - gtk_notebook_create_window. Patch by Hiroyuki Ikezoe (#482837) - -2007-10-02 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_move), - (gdk_window_resize): Don't do anything while in fullscreen mode. - (gdk_window_set_decorations): Update the size of the window after - showing/hiding the title bar so the size of the content area - doesn't change. - (gdk_window_get_decorations): NSBorderlessWindowMask is 0, so - don't try to check it as a bit being set. - (gdk_window_fullscreen), (gdk_window_unfullscreen): Implement. - -2007-10-02 Federico Mena Quintero - - Fix http://bugzilla.gnome.org/show_bug.cgi?id=455284 - In the file - chooser, Ctrl-L should switch to the location entry. If we are - already on the location entry, turn it off. Based on a patch by - Jaap A. Haitsma and an idea by Wouter - Bolsterlee. - - * gtk/gtkfilechooserdefault.c (location_button_toggled_cb): Call - location_mode_set() directly instead of using toggle_location_mode(). - (toggle_location_mode): Removed. - (location_toggle_popup_handler): If the file entry is not visible, - show it. If it is visible, turn it off only if it is focused. - Otherwise, switch to the entry. - -2007-10-01 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): - fix up if-condition to only set the true arrow type if - show_sort_indicator is TRUE. (#448343, reported by Emil Nowak). - -2007-09-25 Emmanuele Bassi - - Fixes for bug #480123. - - * gtk/gtksearchenginesimple.c: - (gtk_search_engine_simple_dispose), (search_thread_done_idle): Cancel - the file tree walking thread when disposing the search engine - implementation. - - * gtk/gtkfilechooserdefault.c (search_stop_searching): Forcibly - stop the search engine implementation when stopping the search, - instead of just unreffing the object. - -2007-09-24 Kristian Rietveld - - * gtk/gtktooltips.c (gtk_tooltips_set_tip): add extra NULL check - for tooltipsdata to avoid code fiddling with active_tips_data - from crashing. (Fixes #460194, Peter Wright, Matthijs De Smedt). - -2007-09-24 Matthias Clasen - - * modules/printbackends/file/gtkprintbackendfile.c: Correct a comment. - -2007-09-24 Tor Lillqvist - - * gtk/gtkprintoperation-win32.c (pageDlgProc): Set the - GtkWin32EmbedWidget we create here as modal. Fixes #389358. - -2007-09-21 Manish Singh - - * gtk/gtkstyle.c (option_menu_get_props) - * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): use - gtk_requisition_free() instead of g_free() for freeing - requisitions. - -2007-09-21 Matthias Clasen - - * gtk/gtkprintoperation.c (print_pages_idle): Some more - fixed to prevent segfaults with missing or nonsensical ranges. - -2007-09-21 Jean Brefort - - * gtk/gtkprintoperation.c: (print_pages_idle): abort printing - when the range is NULL. (#478803) - -2007-09-21 Michael Natterer - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal) - (gtk_text_view_move_viewport): merged patch from maemo-gtk which - handles failed keynav correctly also when the cursor is invisible. - (Tommi Komulainen) - -2007-09-21 Matthias Clasen - - * gtk/gtktoolbar.c: Remove trailing commas from enumerations. - -2007-09-20 Cody Russell - - * modules/engines/ms-windows/msw_style.c: Override draw_layout - method in GtkStyle in order to adjust by 2 pixels any labels - that are in GtkNotebook tabs using XP theme, so that they appear - correctly centered. (#478637) - -2007-09-18 Emmanuele Bassi - - * gtk/gtksearchenginetracker.c: Search libtrackerclient.so.0 - as libtracker changed the shared library name. (#478173, - Michael Kuhn) - -2007-09-17 Hans Breuer - - * gtk/makefile.msc.in : updated msvc build - * gtk/gtkbuilderparser.c : fixed gccism - stack allocated variable - size array - - * gtk/gtkselection.c(547) : error C4033: 'gtk_target_list_find' - must return a value - - * test/makefile.msc : added some more tests - * tests/autotestfilesystem.c : HAVE_UNISTD_H, _rmdir - -2007-09-17 Amitakhya Phukan - - * configure.in: Added as to ALL_LINGUAS. - -2007-09-15 Michael Natterer - - * gtk/gtkselection.c (gtk_target_list_find): don't simply crash if - any of the pointer args are NULL. Instead, g_return_if_fail() on - "list != NULL" and allow to pass NULL as return location for "info". - -2007-09-14 Emmanuele Bassi - - * gtk/gtkrecentaction.c: - * gtk/gtkrecentchoosermenu.c: Remove the warning for the - "select-multiple" property getter. (#476686, Christian Persch) - -2007-09-14 Michael Natterer - - * gtk/gtkmenubar.c (remove_from_window): no need to get the list - of menubars twice. - - Some minor stylistic and indentation fixes. - -2007-09-13 Matthias Clasen - - * gtk/gtkiconcache.c: Turn off icon cache validation unless - icon theme debugging is turned on. (#476342, Federico Mena Quintero) - -2007-09-13 Matthias Clasen - - * configure.in: Bump version to 2.12.1 - - * === Released 2.12.0 === - -2007-09-14 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_get_property): the tooltip-column - property getter needs to set an integer, not a boolean. (#476689, - spotted and patch by Christian Persch). - -2007-09-14 Kristian Rietveld - - * gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property): - implement getter for keycode property. (#476665, patch by - Christian Persch). - -2007-09-13 Matthias Clasen - - * gtk/gtkscalebutton.c: Use the right value type when setting - the value. (#476688, Christian Persch) - - * configure.in: Bump version to 2.12.0 - - * NEWS: Updates - -2007-09-13 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_set_toooltip_cell): if cell - is set, always pass in path to gtk_tree_view_get_cell_area() whether - it is NULL or set. Added explanatory comment and added this - side case to the API documentation. - -2007-09-12 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (render_recent_icon): Use the - "document-open-recent" icon for the the Recently Used shortcut - in the file chooser. (#306445) - - * gtk/Makefile.am: - * gtk/stock-icons/16/document-open-recent.png: - * gtk/stock-icons/16/document-open-recent.svg: - * gtk/stock-icons/24/document-open-recent.png: - * gtk/stock-icons/24/document-open-recent.svg: Add the - "document-open-recent" icon to the builtin theme we provide - as a fallback. - -2007-09-12 Kristian Rietveld - - Fixes #426246. - - * gdk/gdk.symbols: - * gdk/gdkwindow.[ch] - (gdk_window_freeze_toplevel_updates_libgtk_only), - (gdk_window_thaw_toplevel_updates_libgtk_only): new functions - to freeze a toplevel window and all its descendants. To be made - public in 2.14, - (gdk_window_schedule_update): return if toplevel is frozen, - (gdk_window_process_all_updates): defer processing updates if toplevel - is frozen. - - * gtk/gtkwindow.c (gtk_window_configure_event): directly size - allocate for override redirect windows, freeze toplevel and - descendants otherwise and wait until resizing is done. - -2007-09-11 Michael Natterer - - * gtk/gtkfilechooserbutton.c: remove useless member "has_title" - from the private struct and simply set the default title in - constructor() whenever we create a dialog or the supplied one has - no title. Also accept RESPONSE_ACCEPT *and* RESPONSE_OK as - affirmative responses and document that accordingly. Fixes bug - #436576. Fixed all compiler warnings in the file. - -2007-09-11 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_button_release): Make sure - menu_shell->button gets reset to 0 when we bail out early here - instead of chaining up, so it is in a consistent state for the - next press/release in GtkMenuShell. Fixes bug #449371. - -2007-09-10 Kjartan Maraas - - * gtk/gtkentry.c: Fix some typos. Closes bug #475400. - -2007-09-10 Behdad Esfahbod - - * gdk/x11/gdkgeometry-x11.c (gdk_window_queue), - (_gdk_window_process_expose): Fix serial number comparison regression - introduced recently. (#474897) - -2007-09-10 Matthias Clasen - - * NEWS: Updates - -2007-09-10 Richard Hult - - * gtk/gtksearchenginesimple.h: Build fix, correct a typo in the - G_BEGIN_DECLS fix below. - -2007-09-10 Matthias Clasen - - * gtk/gtksearchenginesimple.h: Replace a duplicate G_END_DECLS by - G_BEGIN_DECLS. (#475439, Nigel Tao) - -2007-09-10 Kristian Rietveld - - * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_construct_contents): - when creating a new box, be sure to transfer a possible tooltip from - the old to the new box. (Fixes #458283, reported by Christian Persch). - -2007-09-10 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_key_press): only start - typeahead search if tree_view has focus (and not one of the column - buttons). - -2007-09-09 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove - update_idle here. Might fix #383003. - -2007-09-09 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a - bounding box test that will avoid getting the individual cell - boxes if they haven't been calculated yet. (#404541) - -2007-09-09 Matthias Clasen - - * gtk/gtkaction.c: - * gtk/gtkradioaction.c: - * gtk/gtkrecentaction.c: - * gtk/gtktoggleaction.c: Update the documentation to mark - the optional constructors parameters. The GtkAction::name - property is required, instead, as it is used by GtkUIManager - to find the action object from the XML. (#450032, Murray Cumming, - patch by Emmanuele Bassi) - -2007-09-09 Matthias Clasen - - * modules/printbackends/lpr/gtkprintbackendlpr.c: - * modules/printbackends/cups/gtkcupsutils.c: - * modules/printbackends/cups/gtkprintbackendcups.c: Include - config.h first. (#467719) - -2007-09-09 Matthias Clasen - - * gtk/gtklinkbutton.c: - * gtk/gtkrecentfilter.c: - * gtk/gtkprinteroptionwidget.c: Remove trailing commas from - enumerations, since some compilers don't like them. (#467717) - -2007-09-09 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Don't - assume that a path of depth 0 has no indices. (#467324, Szilard - Pfeiffer) - -2007-09-09 18:22:28 Tim Janik - - * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid - list node accesses, spotted by Benjamin Berg, bug #475158. - -2007-09-09 Kristian Rietveld - - Reverted r16699: - - 2006-10-30 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right - keybindings to collapse/expand rows instead of moving the focus - cursor. (#105895, Brian Bober and others). - -2007-09-09 Matthias Clasen - - * NEWS: Updates - - * README.in: Add a note about bug 463773. - -2007-09-08 Matthias Clasen - - * gtk/gtkstyle.c (draw_insertion_cursor): Revert the clamping - of cursor coordinates, since it causes really ugly drawing - artifacts with horizontal scrolling. (#471215, Yevgen Muntyan) - -2007-09-08 Matthias Clasen - - * gtk/gtkentrycompletion.c: - * gtk/gtkentry.c: Apply a number of patches by Xan Lopez - to improve the interaction between actions and inline - selection. (#471132) - -2007-09-07 Matthias Clasen - - * gtk/gtktoolbar.c: Use g_slice for ToolbarContent. - (#474696, Christian Persch) - -2007-09-07 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Add an internal child name for - the notebook, so that GtkBuilder can be used to add custom tabs. - (#472951, Christian Persch) - -2007-09-07 Matthias Clasen - - * gtk/updateiconcache.c (get_image_meta_data_size): Don't - use image->attach_points where image->n_attach_points was meant. - Pointed out by Albert Chin. - -2007-09-07 Wouter Bolsterlee - - * modules/printbackends/cups/gtkcupsutils.c: - (_post_send): Fix typo that broke the build. - -2007-09-07 Matthias Clasen - - * configure.in: Check for the cups function httpGetAuthString(). - - * modules/printbackends/cups/gtkcupsutils.c: Use httpGetAuthString() - if available. (#467414, Claudio Saavedra) - -2007-09-07 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init), - (gtk_combo_box_cell_layout_get_cells): implement missing get_cells - method. (Spotted by Paolo Borelli). - -2007-09-06 Matthias Clasen - - * configure.in: Check for cups.h. (#459732, Guillaume Cottenceau) - -2007-09-06 Matthias Clasen - - * gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow - dest to be NULL. (#464528, Xan Lopez) - -2007-09-06 Matthias Clasen - - * gtk/gtkmisc.c (gtk_misc_set_alignment, gtk_misc_set_padding): - Actually emit change notification here. (#474282, Thomas Rydzynski) - -2007-09-06 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize - error to NULL before calling g_set_error(). Should fix #473954, - reported by Sebastien Bacher. - -2007-09-06 13:37:28 Tim Janik - - * gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code - that forced range repaints upon every motion event, because these tend - to stall other repaints on busy CPUs. - added a timer to still force repaints every once in a while (roughly - 5Hz atm) to avoid leaving the user without feedback on the range. - fixes bug #460534. - -2007-09-06 Michael Natterer - - * demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g - -2007-09-06 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy): - Patch from William Pitcock: Ungrab windows if necessary when they - are destroyed, fixes bug #473441. - -Wed Sep 5 14:15:17 2007 Tim Janik - - * gtk/gtknotebook.c (gtk_notebook_class_init): fix wrong default value - in ::tab-expand param spec constructor. - -2007-09-04 Fernando Herrera - - * gtk/gtkbuilder.c: (gtk_builder_finalize), - (gtk_builder_add_from_file): copy filename to builder->priv instead of - holding a reference to it. Bug #472643 - -2007-09-04 Michael Natterer - - * gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE(). - -2007-09-04 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove - empty properties, since we do not know the default GParamSpec values. - #472981 (Carlos Garnacho) - - * gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr): - Do not iterate recursively over all child nodes. - (GtkBuilderConverter._default_widget_converter): Use a more efficient - way of iterating over all property nodes - #472974 (Carlos Garnacho) - -2007-09-03 Emmanuele Bassi - - * gtk/gtkrecentmanager.c - (gtk_recent_manager_poll_timeout): Remove the stat() time barrier, - as it seems to cause bug #463907 (thanks to Sebastien Bacher). - -2007-08-31 Richard Hult - - * configure.in: Revert the previous change as it broke the build - (missing po file in po-properties). - -2007-08-31 Pramod Raghavendra - - * configure.in: Added kn to ALL_LINGUAS - -2007-08-30 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations, - gdk_window_get_decorations): Implement those. Based on patch from - Stefan Gehn, bug #459459. - -2007-08-30 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_keep_above, - gdk_window_set_keep_below): Patch from Stefan Gehn to implement - those, bug #459667. - -2007-08-30 Richard Hult - - * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image): - Patch from Stefan Gehn to implement copying from a pixmap, bug - #348493. - -2007-08-29 Kristian Rietveld - - * gtk/gtksettings.c: lower the default timeout values for - gtk-tooltip-timeout and gtk-tooltip-browse-timeout. (#451202, - Richard Hult). - -Thu Aug 23 15:32:09 2007 Tim Janik - - * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix - X serial handling to cope with wraparounds and maintain referential - integrity when removing list nodes. based on a patch by Hui Wang, - fixes #461648. - -2007-08-27 Stefan Kost - - * gtk/gtkwindow.c: Update menu accelerators, when adding/removing - AccelGroups dynamically. (#469374) - -2007-08-27 Cody Russell - - * modules/engines/ms-windows/msw_style.c: Correct draw_box() - function to check detail for "notebook". This fixes a problem - where notebooks without visible headers were not styling - correctly. (#470033, Daniel Atallah and Cody Russell) - -2007-08-23 Cody Russell - - * gtk/gtkwindow.c (gtk_window_group_remove_window: Use the - correct type check on `window'. We now check GTK_IS_WINDOW - rather than GTK_IS_WIDGET. (#461483, Josselin Mouette) - -2007-08-23 Cody Russell - - * Makefile.am: Fix make dist failure by changing - README.cvs-commits to README.commits. (#469395, Frederic Peters) - -2007-08-23 Cody Russell - - * HACKING: Change references to README.cvs-commits so they say - README.commits. - -2007-08-23 Jan Arne Petersen - - * gtk/gtkbuilderparser.c: (text): Duplicate the string returned by - d[n]gettext before it is potentially freed. (#461945) - -2007-08-23 Emmanuele Bassi - - * gtkfilechooserdefault.c: - (search_hit_get_info_cb), (recent_item_get_info_cb): Check if - we are still holding the model before updating it; removes a - set of critical warnings when switching to the browse mode from - a loading search or recent files list. - - (recent_clear_model), (recent_sort_model), - (recent_idle_cleanup): When in recent files mode, set the - model for the files list view when we have completed the loading - of the recently used files list. This makes switching between - modes fast again and reduces the amount of redraws needed - to display the list. (#469214) - -2007-08-22 Emmanuele Bassi - - * configure.in: Remove oc (Occitane) from LINGUAS and unbreak - the build. - -2007-08-22 Kristian Rietveld - - Do not allow the cursor to go to a separator row. Fixes #441219, - modified patch by Carlos Garnacho. - - * gtk/gtktreeview.c (row_is_separator): new inline function - for calling the row-separator-func, made all of gtktreeview.c use - this function instead of calling the func themselves, - (gtk_tree_view_button_press): treat a click on a separator like - a click on empty space, - (gtk_tree_view_update_rubber_band_selection_rage): skip - non-selectable rows, - (search_first_focusable_path), - (gtk_tree_view_focus_to_cursor), - (gtk_tree_view_move_cursor_up_down), - (gtk_tree_view_move_cursor_page_up_down), - (gtk_tree_view_move_cursor_start_end): skip separators, - (gtk_tree_view_real_set_cursor): do not allow setting the cursor - on a separator. - -2007-08-22 Tristan Van Berkom - - * gtk/gtkframe.c: Corrected the published default value of - GtkFrame::label-xalign (bug 460272). - -2007-08-21 Kristian Rietveld - - * gtk/gtktooltip.c (gtk_tooltip_init), - (gtk_tooltip_window_style_set): update alignment padding after - theme changes. (Fixes #467003, patch by Benjamin Berg). - -2007-08-21 Kristian Rietveld - - * gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set - hide_tooltip to TRUE if we are handling a leave notify event. (Fixes - #468245, reported by Dennis Jacobfeuerborn). - -2007-08-21 Michael Natterer - - * gtk/gtkpaned.c (gtk_paned_class_init): applied patch from Mikael - Hallendal which documents GtkPaned's keybinding signals (#467117). - -2007-08-21 Kristian Rietveld - - Fix #457642, reported by Christian Persch. - - * gtk/gtktooltip.c: added debugging output which can be compiled - in with a #define, annotated all coordinate translations in the - source code, - (find_widget_under_pointer): remove the "no-window correction"; - always convert the coordinates from window relative to allocation - relative; after recursing through a container, translate the - coordinates from container allocation relative to child widget - allocation relative; - (find_topmost_widget_from_event): now we get allocation relative - coordinates here we do not have to distinguish no-window and window - widgets. - -2007-08-18 Cody Russell - - * gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping - for capital U with macron. (#468055, Aaron Crane) - -2007-08-17 Cody Russell - - * Renamed README.cvs-commits to README.commits - -2007-08-17 Cody Russell - - * HACKING - * README.cvs-commits: Updated documentation about SVN, and - updated dependency information. (#447883, Yesudeep Mangalapilly) - -Fri Aug 17 11:36:29 2007 Tim Janik - - * gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs. - -2007-08-16 Cody Russell - - * gdk/win32/cursor.bdf: Committing changes to the source - bdf font file that I forgot to commit yesterday for #458088. - -2007-08-15 Cody Russell - - * gdk/win32/xcursors.h: Modified the sb_h_double_arrow and - sb_v_double_arrow mouse cursors to match the ones that Windows - uses for split container controls. This allows our paned - widgets to be more easily identified as paned widgets on - Windows, since we don't have any prelighting on the draggable - pane part. (#458088) - -2007-08-15 Cody Russell - - * gtk/gtkcontainer.c: Another documentation fix that I forgot to - commit yesterday. (#459340, Guillaume Cottenceau) - -2007-08-14 Cody Russell - - * gtk/gtkwidget.c - * gtk/gtkscrolledwindow.c - * gtk/gtklabel.c: Correct documentation that refers to the - deprecated gtk_widget_set_usize() API. Refer instead to - gtk_widget_set_size_request(). (#459340, Guillaume Cottenceau) - -2007-08-14 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make - sure we fail keynav if the only item in the list is already selected. - (Fixes #465039, reported by Fernando Herrera). - -2007-08-09 Sven Neumann - - * modules/printbackends/file/gtkprintbackendfile.c: change the - file extension when the file format is changed in the Print dialog - (#356630). - -2007-08-09 Stefan Kost - - * docs/reference/gtk/tmpl/gtkruler.sgml: - * gtk/gtkruler.c: - Move documentation of gtk_ruler_set_range() to source and fix nonsense. - -2007-08-08 Mikael Hallendal - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): - Document the new signals popup, popdown and move-active. - -2007-08-07 Matthias Clasen - - * MAINTAINERS: Follow new format regulations. - -2007-08-07 Johan Dahlin - - * gtk/gtkbuilderparser.c (text): - * gtk/gtkcelllayout.c (attributes_text_element): - * gtk/gtkliststore.c (list_store_text): - Do not assume that text is null-terminated as pointed out by - Christopher Fergeau - - * gtk/gtkbuilderparser.c (text): Use g_strdup on the translated - string instead of g_strndup() + the length of the untranslated - string. (#461945, Claude Paroz) - -2007-08-07 Kristian Rietveld - - * gtk/gtktooltips.c (gtk_tooltips_init), - (gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy - tip_window and tip_label, so old applications with code accessing - those fields won't crash. - -2007-08-07 Kristian Rietveld - - * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips - in touchscreen mode. - -2007-07-31 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry): - Implement, fixes bug #405868. Based on patch from metz81@web.de. - -2007-07-31 Xan Lopez - - * gtk/gtkentry.c (gtk_entry_completion_key_press): reset the - completion prefix on Enter too, plug potential leak. - Follow-up to #458298 - -2007-07-31 Matthias Clasen - - * gtk/gtktooltip.c (gtk_tooltip_init): Make the label - wrap, for compatibility with the old tooltips code. This - fixes absurdly long tooltips in the color selector. - -2007-07-30 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix - documentation. (#461225, Murray Cumming). - -2007-07-29 Emmanuele Bassi - - * gtk/gtkrecentchooser.c: Add documentation for properties - and fix the deprecation marker for the show-numbers - accessor functions (Murray Cumming). - - * gtk/gtkrecentchooser.h: Add deprecation guards around - gtk_recent_chooser_set_show_numbers() and - gtk_recent_chooser_get_show_numbers(), as promised during - last development cycle. - -2007-07-27 Attilio Fiandrotti - - * gdk/directfb/gdkcursor-directfb.c: Attempts to load - stock X cursors no longer results in annoying error - messages under DirectFB - -2007-07-27 Michael Natterer - - Fix check/radio indicator drawing mess (bug #452225): - - * gtk/gtkstyle.c (gtk_default_draw_check): really decrease the - indicator size by one to ensure odd size (don't say -= -1). - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - removed -1 adjustment from calls to gtk_paint_option(). Theme - engines now get the actually configured size passed, not one pixel - less. - - * gtk/gtkcellrenderertoggle.c - * gtk/gtkcheckmenuitem.c: changed default indicator size from 12 - to 13 so all widgets which draw check/option indicators have the - same default size now (and render the same size after above - changes). - - * README.in: mention above changes in the release notes. - -2007-07-27 Wouter Bolsterlee - - * Makefile.am: Include ChangeLog.pre-2-10 in tarballs as - well (seems to be forgotten). - -2007-07-25 Matthias Clasen - - * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call - gtk_tooltip_hide_tooltip() even if the tooltip is not - visible yet. This fixes annoying dangling tooltips - on systray icons. - -2007-07-24 Matthias Clasen - - * gtk/gtkiconcachevalidator.c: Silence the validator. - -2007-07-24 Matthias Clasen - - * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip - handler. (#458280, Christian Persch) - -2007-07-24 Matthias Clasen - - * gtk/gtkcolorsel.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintunixdialog.c: Port to use new tooltips API. - (#451397, Jan Arne Petersen) - -2007-07-24 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes. - -2007-07-24 Matthias Clasen - - * gtk/gtkmenubar.c (window_key_press_handler): - * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code - to make sense, and don't leak an empty accel. (#459515, Owen Taylor) - -2007-07-23 Matthias Clasen - - * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against - recursion via gtk_container_remove(). (#459561, Christian Persch) - (gtk_tooltip_window_hide): Simplify. - - * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom() - -2007-07-23 Christian Persch - - * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete - code. Bug #459566. - -2007-07-23 Matthias Clasen - - * gtk/gtktreeview.c: - * gtk/gtkiconview.c: - * gtk/gtkscalebutton.c: Fix some doc formatting errors. - (#459313, Gian Mario Tagliaretti) - -2007-07-23 Matthias Clasen - - * configure.in: Dectect if cups allows access to the http_t - authstring field. - - * modules/printbackends/cups/gtkcupsutils.c: Rely on the - HAVE_HTTP_AUTHSTRING define done by configure. - -2007-07-23 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default - implementation widget to the new tooltips API, and make it look - like the GtkFileChooser widget in recent files mode (move the - full path from the widget to a tooltip on the row) to improve - consistency. - - * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget - to the new tooltips API. - - * tests/testrecentchooser.c: - * tests/testrecentchoosermenu.c: Exercise the tooltips code paths. - -2007-07-22 Ross Burton - - * gtk/gtkscrolledwindow.c: - Correctly redraw when gtk-scrolled-window-placement is changed - after the widget is realised (#458102) - -2007-07-22 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c: Some documentation fixes. - -2007-07-21 Matthias Clasen - - * gtk/gtktooltips.[hc]: Rename the tips_data_list field - back. (#447214) - -2007-07-21 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.6 === - -2007-07-20 Matthias Clasen - - * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up - under the cursor. This fixes tooltip-induced flickering - in the tasklist in a bottom panel. - -2007-07-20 Matthias Clasen - - * gtk/gtkpathbar.c (make_directory_button): Don't leak - a label. (#455901, Christian Persch, Vincent Geddes) - -2007-07-20 Matthias Clasen - - Apply a patch by Emmanuele Bassi to limit the number - of shown recent files. (#439715) - - * gtk/gtksettings.c: Add a setting for the number - of recent files to display by default. - - * gtk/gtkrecentchooserdefault.c: - * gtk/gtkfilechooserdefault.c: Respect the limit. - - * gtk/gtkrecentmanager.c: Remove the poll timeout in - dispose, and do not stat more often than every 5 seconds. - - * gtk/gtkrecentchooserutils.c: - * gtk/gtkrecentchoosermenu.c: Cleanups - - * tests/testrecentchoosermenu.c: Test limits. - -2007-07-20 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele - Bassi to add tooltips to the file lists in recent files and - search modes. - -2007-07-20 Ryan Lortie - - * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the - semantics of this call, when mixed with the new - gdk_window_set_composited(), will change in the future. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage - events that belong to us. - -2007-07-19 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle - keypresses better when there is no completion. (#458298, - Christian Persch, patch by Xan Lopez) - - * gtk/gtkentrycompletion.c - (gtk_entry_completion_insert_completion_text): Small cleanup. - -2007-07-19 Matthias Clasen - - * gtk/gtksettings.c (apply_queued_setting): Merge color - scheme before sending notification. - -2007-07-19 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): - Only connect/disconnect signals when necessary, emit - change notification. - -2007-07-19 Kristian Rietveld - - * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle - no-window and regular widgets seperately. - - * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should - be zero. - -2007-07-19 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkiconview.h: - * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context): - (gtk_icon_view_[sg]et_tooltip_column: Add more convenience - API parallel to the treeview convenience API. - -2007-07-19 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_compat_move_focus): - Initialized GValues before unsetting them. (#457720) - -2007-07-19 Kristian Rietveld - - * gtk/gtk.symbols: - * gtk/gtktreeprivate.h: - * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context), - (gtk_tree_view_[sg]et_tooltip_column): add more convenience API. - - * tests/testtooltip.c (query_tooltip_tree_view_cb): use - gtk_tree_view_get_tooltip_context(). - - * demos/gtk-demo/demo.ui: add a tooltip column to the list store, - set tooltip-column on the tree view. - -2007-07-18 Richard Hult - - * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref - the cursor in the cached case. - -2007-07-18 Matthias Clasen - - * gtk/gtktreeview.c: Correct some mistakes in the - documentation of the test-expand/collapse-row signals. - (#457774, Olivier Andrieu) - -2007-07-18 Matthias Clasen - - * gtk/gtkicontheme.c: Small cleanups - -2007-07-17 Kristian Rietveld - - * gtk/gtktooltip.c (find_widget_under_pointer): only do the - coordinate check if tmp is not NULL. - -2007-07-16 Kristian Rietveld - - * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check - if the pointer is really over the returned widget, since the - coordinate check may not always be hit in find_widget_under_pointer(). - -2007-07-16 Matthias Clasen - - Fix some issues with some combinations of inline-selection - and inline-completion. (#457384, Christian Persch) - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store - the completion_prefix here, and be careful when using - completion_prefix, because it may be NULL. - * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): - Free completion_prefix here. - * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): - (gtk_entry_completion_insert_completion_text): Store the - completion_prefix here. - -2007-07-16 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb): - Plug a memleak. (#455721, Christian Persch) - -2007-07-16 Matthias Clasen - - * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau - to improve the signal docs. (#456258) - -2007-07-16 Matthias Clasen - - * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document - a lot of GtkWidget signals. (#172424) - -2007-07-16 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkiconview.h: - * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item): - (gtk_icon_view_set_tooltip_cell): Convenience functions to - position tooltips on icon view items or cells. - -2007-07-14 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (_gdk_quartz_events_update_cursor): Plug leak. - -2007-07-13 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move - from here... - * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor): - ...to here. - (_gdk_windowing_window_destroy): Update the mouse window if the - destroyed window is an ancestor of the current one, not only if - they are the same. - (gdk_window_hide): Update the mouse window here too. - -2007-07-13 Richard Hult - - * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc), - (gdk_colors_free): Add stubs. - -2007-07-13 Matthias Clasen - - * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid - gratitious use of g_strdup_printf(). - - * gtk/gtkrecentchooserdefault.c: - * gtk/gtkrecentchoosermenu.c: Mark some strings for - translation. (#439480, Murray Cumming) - -2007-07-13 Kristian Rietveld - - #408327, improve tooltip positioning. - - * gtk/gtk.symbols: updated. - - * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out - positioning code in here, - (gtk_tooltip_set_tip_area): new function to set the tooltip - area, - (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip - once the pointer leaves the tip area. - - * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row), - (gtk_tree_view_set_tooltip_cell): convenience functions to set - tip area for row/column/cell. - - * tests/testtooltips.c (query_tooltip_tree_view_cb): use - gtk_tree_view_set_tooltip_row. - -2007-07-12 Cody Russell - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32 - so that when a transient child window is closed (particularly when - there are 3 or more levels of transient windows), the correct window - receives focus rather than a seemingly random window. (#112404) - -2007-07-12 Attilio Fiandrotti - - * gdk/directfb/gdkevents-directfb.c: - * gdk/directfb/gdkwindow-directfb.c: - * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing, - patch provided by Simon Lanzmich - -Thu Jul 12 18:03:02 2007 Tim Janik - - * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example. - -2007-07-12 Matthias Clasen - - * gtk/gtktextivew.c: - * gtk/gtkclipboard.c: Add documentation. - -2007-07-11 Matthias Clasen - - * gtk/gtkcelleditable.c: - * gtk/gtkcellrenderer.c: - * gtk/gtkcellrenderercombo.c: - * gtk/gtkcellrenderertext.c: Add more documentation. - -2007-07-11 Matthias Clasen - - * gtk/gtktreeview.c: - * gtk/gtktoolitem.[hc]: Make parameter naming consistent. - -2007-07-11 Matthias Clasen - - * gtk/gtkrange.c: - * gtk/gtkbindings.c: - * gtk/gtkscalebutton.c: Small doc fixes. - -2007-07-11 Matthias Clasen - - * gtk/gtkplug.c: - * gtk/gtksocket.c: Move docs inline, and add some missing - docs. - -2007-07-11 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be - changed when converting widget <=> bin_window coordinates, not - when bin_window <=> tree_window. - -2007-07-11 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkiconview.[hc] - (gtk_icon_view_convert_widget_to_bin_window_coords): New - function to convert widget coords to what is expected by - the at_pos functions. (#455984) - -2007-07-11 Matthias Clasen - - * gtk/gtkwiget.c: Don't include gtktooltips.h, it is - not needed anymore. - -2007-07-11 Christian Persch - - * gtk/gtkaction.c: (gtk_action_buildable_set_name), - (gtk_action_finalize), (gtk_action_set_property), - (gtk_action_get_property): - * gtk/gtkactiongroup.c: (gtk_action_group_init), - (gtk_action_group_add_action), - (gtk_action_group_add_action_with_accel), - (gtk_action_group_remove_action): Intern the action's name. Saves two - string duplicates of it per action; bug #455645. - -2007-07-10 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new), - (show_window_internal), (gdk_window_show), (gdk_window_hide): Add - hack to workaround the broken tracking rect implementation in - quartz, that doesn't seem to produce events if the window shows up - under the mouse. - -2007-07-10 Kristian Rietveld - - * gtk/gtk.symbols: - * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add - getter/setter pair, slight addition to has-tooltip property - documentation, - (gtk_widget_real_set_has_tooltip): renamed internal function. - -2007-07-10 Christian Persch - - * gtk/gtkaction.c: (gtk_action_sync_tooltip), - (gtk_action_set_tooltip): - * gtk/gtkuimanager.c: (update_node): Remove work-around for the old - tooltips code, and just set the action tooltip immediately on the - proxy widget. Bug #455482. - -2007-07-10 Kristian Rietveld - - * gtk/gtktooltip.c (find_widget_under_pointer), - (child_location_foreach): use gtk_container_forall, instead of - gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes - bug reported by Christian Persch). - -2007-07-10 Kristian Rietveld - - * gtk/gtktooltip.c (child_location_foreach): ignore invisible - (!drawable) widgets. (Fixes bug reported by Paolo Borelli). - -2007-07-10 Matthias Clasen - - * README.in: Make sure all deprecations are mentioned. - -2007-07-10 Matthias Clasen - - * gtk/gtkrecentmanager.c: Fix some doc formatting - -2007-07-10 Matthias Clasen - - * gtk/gtk-builder-convert: Fix a typo - -2007-07-10 Matthias Clasen - - * NEWS: Updates - -2007-07-09 Matthias Clasen - - * gtklabel.[ch]: Use a bit of the GtkLabel structure to - remember that a pattern has been set. - (gtk_label_set_pattern_internal): Don't do anything if - a specific pattern has been set. - (gtk_label_set_pattern): set the new bit to TRUE when - setting a pattern, and recalculate everything if the - pattern is unset. Fix gtk_label_set_pattern() not working - anymore. (#452861, Vincent Untz) - -2007-07-09 Claude Paroz - - * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz. - See bug #451164. - -2007-07-09 Matthias Clasen - - * gtk/gtkvolumebutton.c: Remove deprecated tooltips, - use new tooltips API. (#449311, Jan Arne Petersen) - -2007-07-09 Matthias Clasen - - * gtk/gtkselection.c (normalize_to_crlf): Don't ignore - the passed-in len parameter. (#430049, Yevgen Muntyan) - -2007-07-09 Matthias Clasen - - * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the - handling of broken situations. (#427899, Francesco Montorsi) - -2007-07-09 Matthias Clasen - - * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size - requisition so the viewport does not add the border thickness - if it has GTK_SHADOW_NONE selected. (#361781, Miguel Gomez) - -2007-07-09 Matthias Clasen - - * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query): - Fix a typo in the docs. (#453930, Guillaume Cottenceau) - -2007-07-09 Kristian Rietveld - - Replace non-deprecated API using old tooltips API, deprecate - old tooltips API for real. (#451575). - - * gtk/gtk.symbols: updated. - - * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call - _gtk_tooltips_toggle_keyboard_mode() anymore. - - * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip): - deprecated, - (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements. - - * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use - new API, - (gtk_tool_item_set_tooltip): deprecated, - (gtk_tool_item_set_tooltip_{text,markup): replacements. - (GtkToolItemClass:set_tooltip): deprecated. - - * gtk/gtktooltips.[ch]: strip out all unused parts, made - gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(), - deprecate all of gtk_tooltips_*. - - * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return - TRUE, - (GtkToolbar:tooltips): deprecated, renamed. - - * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to - set the tooltip text. - - * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now, - will be removed GtkFileChooserDefault has been converted. - -2007-07-09 Matthias Clasen - - * gtk/gtktreeview.c - (gtk_tree_view_convert_bin_window_to_widget_coords: - Fix a typo in the docs. (#453673, Guillaume Cottenceau) - -2007-07-09 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit - ::changed when removing the active row. (#452056, Paul Pogonyshev) - -2007-07-09 Matthias Clasen - - * gtk/gtksearchenginesimple.c: Address some thread-safety - issues. (#452598) - -2007-07-09 Matthias Clasen - - * modules/printbackends/*/Makefile.am: Fix build problems - on Cygwin. (#448604) - -2007-07-09 Jaap Haitsma - - * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use - gtk_widget_set_tooltip_text instead - -2007-07-09 Johan Dahlin - - * gtk/gtktooltip.c: - * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public. - -2007-07-09 Johan Dahlin,,, - - * demos/gtk-demo/demo.ui: - * gtk/gtk-builder-convert: - * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init), - (gtk_action_group_buildable_add_child), - (accelerator_start_element), - (gtk_action_group_buildable_custom_tag_start), - (gtk_action_group_buildable_custom_tag_end): - * gtk/gtkuimanager.c: (child_hierarchy_changed_cb), - (gtk_ui_manager_buildable_construct_child): - * tests/buildertest.c: (test_uimanager_simple): - - Add actiongroup/action accelerator support for builder. #454654 - -2007-07-08 Matthias Clasen - - * gtk/gtkbuilderparser.c (pgettext): Support old-style - message contexts, too. - -2007-07-08 Johan Dahlin - - * gtk/gtk-builder-convert: Improve the way properties - are copied over from a menuitem to an action. - -2007-07-08 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert - GtkMenus which are not part of a GtkMenuBar. Also move over activate signals - when converting a GtkMenuItem subclass to an action. - (#454830, Bastien Nocera) - - * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time - attribute in tag - -2007-07-07 Matthias Clasen - - * gtk/gtkbuilderprivate.h: - * gtk/gtkbuilderparser.c: Support context and comments - for properties. - -2007-07-07 Matthias Clasen - - * gtk/gtkwidget.c: Fix some typos, and a memory management bug. - -2007-07-08 Johan Dahlin - - * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): - Parse but don't do anything yet. - * gtk/gtk-builder-convert (GtkBuilderConverter._parse): - Do not strip atk/accessibility tags - * tests/buildertest.c (test_widget): - Test this - -Sun Jul 8 01:33:45 2007 Tim Janik - - * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703. - -2007-07-07 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) - ([GdkQuartzWindow -windowDidBecomeMain:]): - * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main) - (_gdk_quartz_window_did_become_main, gdk_window_hide) - (_gdk_windowing_window_destroy): Keep a stack of main windows and - select the most recent one when hiding/closing the current one. - -2007-07-07 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): - Convert GtkTextView::text properties - (GtkBuilderConverter): Refactor; Optimize widget lookups by not - traversing the whole tree. - Use a common api to create sizegroups, actiongroups and uimanagers - to avoid name conflicts. - Output newly created objects sorted by id before the old roots under - - (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty - tags - (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems - and do not set name and action on separators - (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id - on the action if the menuitem had a stock or label property set - -2007-07-06 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkwindow-quartz.c: - * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient - windows, by (un)setting the parent before and after miniaturizing. - -2007-07-06 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add - stub. - -2007-07-06 Johan Dahlin - - * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing - semi-colon in the doc string, spotted by Johannes Sasonko - -2007-07-05 Matthias Clasen - - * gtk/gtkbuilder.c: Support pixbuf properties by specifying - a filename as the property value. (#447966) - -Wed Jul 4 12:20:23 2007 Tim Janik - - * gdk/gdkevents.c (gdk_event_request_motions): added usage example - to gdk_event_request_motions() docs. - -2007-07-04 Tor Lillqvist - - * gtk/gtkstatusicon.c: On Win32 call - gtk_status_icon_button_press() in an idle callback and not - directly from the window procedure to avoid "g_main_loop_run(): - called recursively from within a source's check() or prepare() - member, iteration not possible" warnings. - -2007-07-04 Chris Wilson - - * gtk/gtkrecentchoosermenu.c (idle_populate_func), - (idle_populate_clean_up), (gtk_recent_chooser_menu_populate): - Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after - free in the source destroy notify. (#453033) - -2007-07-04 Johan Dahlin - - * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child): - pack children from the start instead of the end, this should - probably be made configurable at some point. - - * gtk/gtk-builder-convert: - Add support for converting GtkComboBox items, also make sure - that we support more than one GtkAdjustment in a file - -2007-07-03 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: Keep track of button state and - include it in key events. Needed for gimp's selection tools and - fixes bug #453411. - -2007-07-03 Matthias Clasen - - * gtk/gtkbuilder.c: Fix some typos in docs. (#452278, - Adam Schreiber) - -2007-07-03 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (create_key_event): Include - modifier state in key release events. Fixes bug #453413. - -2007-07-03 Matthias Clasen - - * gtk/gtkcelllayout.c (attributes_text_element): Report - errors about integer parsing back up. (#452988) - - * tests/buildertest.c: Add an extra check. - -2007-07-03 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave - priv->image dangling when use-stock is set to FALSE. (#437281, - Jochen Baier) - -2007-07-03 Tor Lillqvist - - * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS, - i.e. clear it if enable_explicit_deps isn't on. If we build with - --with-included-loaders and --enable-explicit-deps=no we don't - want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file. - -2007-07-03 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts): - Implement. Just return FALSE for now. What should this function - actually do? Does keyboards layouts being "in use" mean that such - layouts can be switched to on the fly using some extra-GTK+ - mechanism? If so we need to actually check that. - -2007-07-03 Tristan Van Berkom - - * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL - (bug 452425) - -2007-07-03 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a - --root option. Filter empty properties. Convert GtkAdjustments. - - * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior - of gtk_dialog_add_action_widget closer, to make clicking on the buttons - actually work. - -2007-07-02 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.5 === - - * tests/autotestkeywords.cc: Make platform includes - conditional. - - * gtk/Makefile.am: File list fixes - - * NEWS: Updates - -2007-07-02 Kristian Rietveld - - * gtk/gtk.symbols: - * gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new - function to check whether a rubber banding operation is currently - active. (#393579, Christian Neumair). - -2007-07-02 Matthias Clasen - - * NEWS: Updates - -2007-07-02 Jan Arne Petersen - - * gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add - parentheses to fix the operator order in the icon selection. - -2007-07-01 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter): - Convert to getopt, improved documentation, change - the script to require two arguments - -2007-06-30 Richard Hult - - Continue the event handling cleanup: - - * gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events): - Don't do anything if the old and new windows are the same, - simplifies the callers. - (find_mouse_window_for_ns_event): Always return a window (root - instead of NULL). Remove unneccessary check for the current mouse - window being NULL, that was a workaround for a now fixed - bug. Convert to root coordinates if we don't find a window. - (synthesize_crossing_events_for_ns_event): Simplify and add - comment. - -2007-06-30 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (synthesize_crossing_events_for_ns_event): Simplify (get the - origin directly from the window). - -2007-06-30 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (create_crossing_event), - (synthesize_crossing_events), (find_mouse_window_for_ns_event), - (synthesize_crossing_events_for_ns_event): No need to special case - the root window now that it has the right size. - -2007-06-30 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - * gdk/quartz/gdkevents-quartz.c: Improve comments in those - files. Add a debugging helper to print out information about a - window. - -2007-06-30 Johan Dahlin - - * gtk/gtkbuilder.c: - * gtk/gtkbuilder.h: - * gtk/gtkbuilderparser.c: - * gtk/gtkbuilderprivate.h: - * gtk/gtkwidget.c: - * tests/buildertest.c: - - Improve error handling for enum/flags, rename the converter functions - to be consistent. Add tests. Fixes #452465 - -2007-06-30 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make - this work properly for the root window. - -2007-06-30 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating: - - No need to override setFrame. - - Use our own size instead of the bounds from the view as it's not - always updated before the tracking rect. - - Only reset the tracking rect if the new window is nil). - - * gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content - view when the window size changes. - -2007-06-30 Matthias Clasen - - * gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean): - Use g_ascii_strdown() instead of a rolling our own. - -2007-06-30 Johan Dahlin - - * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object), - (parse_child): - * tests/buildertest.c: (test_types): - Move type-func to instead of , add a test to - make sure that it works as desired, #452463 - - * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): - * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean), - (parse_property), (parse_signal): - * gtk/gtkbuilderprivate.h: - * tests/buildertest.c: (test_value_from_string): - Make boolean string parsing consistent, #452464 - -2007-06-30 Matthias Clasen - - * gtk/gtkbuilder.c: - * gtk/gtkbuildable.c: Documentation updates. - -2007-06-29 Matthias Clasen - - * gdk/gdk.symbols: - * gdk/gdkkeys.h: - * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New - function to determine if keyboard layouts for both LTR and LTR - languages are in use. Refactor the direction caching code to - make this information available. (#353805, Behnam Esfahbod) - -2007-06-29 Matthias Clasen - - * modules/printbackend/cups/gtkcupsutils.c (_post_check): - (_get_check): Enable SSL support. (#451070, Vince Busam) - -2007-06-29 Johan Dahlin - - * gtk/gtkbuilder.c: (gtk_builder_finalize), - (gtk_builder_get_parameters), (_gtk_builder_construct): - * tests/buildertest.c: - - Improve reference counting, #447967 - -2007-06-29 Ryan Lortie - - * tests/testgtk.c (create_composited_window): Connect the "destroy" - signal so that the 'window' pointer is set back to NULL (like for the - other examples). - - * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't - destroy the Damage here. By finalize() XDestroyWindow has already - been called (and took the Damage with it). - - Bug #452046. - -2007-06-29 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape - markup entities in the name and URI before displaying them. - -2007-06-29 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not - cache the icon pixbufs but rely on the GtkIconTheme not to - hit the disk cache too much (should tentatively fix #426987). - -2007-06-28 Mathias Hasselmann - - * modules/engines/ms-windows/msw_style.c: Draw no bevel - when "GtkToolbar::shadow-type" is "none" (#450469). - -2007-06-28 Johan Dahlin - - * gtk/gtk-builder-convert (_indent): Prettify the output by - running it through xmllint --format if xmllint is available - which also requires the subprocess module only available - in python 2.4 or later - -2007-06-28 Christian Persch - - * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init), - (gtk_volume_button_init), (gtk_volume_button_dispose), - (gtk_volume_button_update_tooltip): Make the volume button use range - 0.0 to 1.0 by default, and fix tooltips code to cope with different ranges. - Bug #451866. - -2007-06-28 Yevgen Muntyan - - * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location): - do right thing in one-character lines and at paragraph end (#448313). - - * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x() - (pango #448342). - -2007-06-27 Johan Dahlin - - * gtk/gtkbuilderparser.c (parse_property): Use - the attribute name in the error message instead of - the value. - - * demos/gtk-demo/demo.ui: Set name of Help menu - to HelpMenu - - * gtk/gtkbuilder.c (apply_delayed_properties): - Print out the name of the right object in the warning - (#451314, Philip Withnall) - - * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove - glade-interface doctype if found. - (GtkBuilderConverter._convert): - Make sure that we can convert Gazpacho files too. - -2007-06-27 Cody Russell - - * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button): - Fixed, very hackishly, a one pixel error that occurs using the - XP theme engine only on the left-most tab, if it is active, when - the notebook is bottom-oriented. (#392283) - -2007-06-27 Johan Dahlin - - * tests/buildertest.c: (test_value_from_string): - Check the code and domain of GErrors instead of the string values - - * gtk/gtkbuilder.c: (gtk_builder_get_parameters), - (gtk_builder_value_from_string), - (gtk_builder_value_from_string_type): - * gtk/gtkbuilder.h: - * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property), - (attributes_text_element): - * gtk/gtkliststore.c: (list_store_text): - * tests/buildertest.c: (test_value_from_string): - - Add GtkBuilder and GError arguments to gtk_builder_value_from_string - and gtk_builder_value_from_string_type. (#451428) - -2007-06-27 Xan Lopez - - * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): - * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate): - - Do not add border_width to the first button initial - coordinate, since it's already taken into account in - the allocation value. (#451484) - -2007-06-27 Michael Natterer - - Merged from maemo-gtk: - - * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the - scroll arrows' state, make sure we don't overwrite the insensitive - state that might have been set by the first scroll step hitting - the top/bottom border of the menu. - -Wed Jun 27 13:27:21 2007 Tim Janik - - * gtk/gtkradiobutton.[hc]: applied patch to improve variable names, - by Olivier Delhomme, #451527. - -Wed Jun 27 11:57:41 2007 Tim Janik - - * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed - push_in description. - -2007-06-27 Johan Dahlin - - * gtk/gtkbuilderparser.c: Plug leaks in error code paths - -2007-06-26 Johan Dahlin - - * tests/buildertest.c (test_object_properties): - Add a test to check object properties - - * gtk/gtkbuilder.h (enum): - * gtk/gtkbuilderparser.c (end_element): - * tests/buildertest.c (test_parser): - Set an error if we encounter properties without values set - (#451303, Philip Withnall) - (test_object_properties): Add a test - - * demos/gtk-demo/builder.c (do_builder): Connect the - destroy signal in the example instead of the ui file. - Also set the screen and title of the window. - (#451345, Thomas Rydzynski) - -2007-06-26 Richard Hult - - * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a - bunch of small bugs when parsing property values - (boolean/int/uint/long/ulong/float/double). Bug #451353. - - * tests/buildertest.c: Add tests for the above. - -2007-06-26 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix - a typo in the previous commit. - - (shortcuts_append_desktop): Remove unused variable and - hush the compiler warning. - -2007-06-26 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show - the time of last change in the file chooser, for files - modified today or yesterday. (#324543) - - * configure.in: Check for localtime_r(). - -2007-06-26 Cody Russell - - * modules/engines/ms-windows/xp_theme.[ch] - * modules/engines/ms-windows/msw_style.c: Add support for - drawing checkboxes with inconsistent states. (Tor, #164809) - -2007-06-26 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode - the output in utf-8 as suggested by Bogdan Nicula - -2007-06-22 Mathias Hasselmann - - * configure.in, tests/Makefile.am, tests/autotestkeywords.cc, - tests/dummy-headers/*: Extend the C++ keyword test - to include internal GDK headers (#449016). - -2007-06-26 Mathias Hasselmann - - * ChangeLog, configure.in, tests/Makefile.am, - tests/autotestkeywords.cc: Create test for finding - C++ keywords in public header files (#449016). - -2007-06-26 Kristian Rietveld - - * gtk/gtktooltips.h: remove the deprecation macros for now to fix - the build and give us a chance to fix widgets which use GtkTooltips - in their API. - -2007-06-26 Kristian Rietveld - - * gtk/gtk.symbols: - * gtk/gtktooltips.[ch]: - * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips. - -2007-06-25 Johan Dahlin - - * gtk/gtk-builder-convert: Add a script to convert libglade files - to something gtkbuilder can parse. - Fixes #447995 - -2007-06-25 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal - menu events while the keyboard is grabbed. - -2007-06-25 Richard Hult - - * gdk/quartz/Makefile.am: - * gdk/quartz/xcursors.h: - * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the - ones that OS X doesn't provide. Fixes bug #327912. - -2007-06-25 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (build_recent_info): building a GtkRecentInfo can never fail. - - (gtk_recent_manager_get_items): Clamp the list while building - it so we don't need to traverse it more than once. (#446532, - Philip Withnall) - -2007-06-25 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my - attempted overly simple fix for #445284, as it causes a - regression. (For instance, in GIMP the tool cursor gets used also - for the right-click menu in image windows.) A more complex fix is - needed to more completely emulate X11 behaviour. - -2007-06-24 Kristian Rietveld - - * Makefile.am: fix little mistake in my last commit ... - -2007-06-24 Kristian Rietveld - - * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries - the Spotlight database on MacOS X (only available in 10.4 and - higher). - - * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating - quartz search engine if we are on OS X. - - * Makefile.am: added use_quartz_sources section with new file. - -2007-06-22 Emmanuele Bassi - - * gtk/gtksearchenginebeagle.c: - * gtk/gtksearchenginesimple.c: - * gtk/gtksearchenginetracker.c: Remove the MIME type calls and - queries from the search engine implementations, since we use our - own GtkFileSystem to filter out basing on MIME types and we cannot - query MIME types anyway. The GtkQuery private object still has - MIME type, as well as location, support for future expansion. - -Fri Jun 22 12:13:39 2007 Tim Janik - - * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez - to eliminate gap in painted frame for yaling=0.0 or yalign=1.0. - - * tests/testframe.c: added test application from Xan Lopez to - test xalign/yalign interactions with xthickness/ythickness. - -Fri Jun 22 00:34:34 2007 Tim Janik - - * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied - patch from Mark Tiefenbruck to add missing return_if_fail, #449862. - -2007-06-21 Matthias Clasen - - * gtk/gtktoolbar.c: Remove debug spew. (#449492, Christian Persch) - -2007-06-21 Matthias Clasen - - * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant - enter-leave compression code. (#449167, patch by Tim Janik) - -2007-06-19 Johan Dahlin - - * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo - in a comment - -2007-06-20 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): - * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or - update the tracking rect in the window, move it to the view where - it belongs. - - * gdk/quartz/GdkQuartzView.c (updateTrackingRect) - (viewDidMoveToWindow, viewWillMoveToWindow) - (setFrame, setBounds): Create and update the tracking rect here. - -2007-06-19 Mathias Hasselmann - - * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the - top of this file to make C++ compilers happy. - -2007-06-19 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.4 === - - * NEWS: Updates - -2007-06-19 Sven Neumann - - * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup(). - -2007-06-19 Sven Neumann - - * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private. - Keep the tooltips in a hash table instead of a linked list. - Improves performance when using large amounts of tooltips (#447214). - - * README.in: document the GtkTooltips changes. - -2007-06-19 Johan Dahlin - - * gtk/*: Rename buildable methods to not clash with widget - methods. (#448928, Torsten Schoenfeld) - -2007-06-19 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for - the timed poll of the storage file, since we are using multiple - seconds intervals and we don't actually care about millisecond - precision. - - (threads_dispatch), (threads_free), (gtk_recent_manager_init), - (gtk_recent_manager_set_filename): Roll our own version of - gdk_threads_add_timeout() using g_timeout_add_seconds_full() - while holding the GDK main lock. - - * configure.in: Bump up the required GLib version, in order - to use g_timeout_add_seconds_full(). - -2007-06-19 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: Use a static variable to hold the - singleton and remove the code that binds a recent manager to - a GdkScreen. - - (gtk_recent_manager_set_screen): Make it a NOOP. - (gtk_recent_manager_get_for_screen): Proxy for - gtk_recent_manager_get_default(). - - * gtk/gtk.symbols: - * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen() - and gtk_recent_manager_get_for_screen(). - - * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager - singleton (if any) when reaching main loop depth of 0. - - * gtk/gtkrecentchooserdefault.c: - (gtk_recent_chooser_default_dispose): Disconnect the changed - signal only if we have a manager and we are connected to it. - - (set_recent_manager): Ditto. - - * README.in: Document the deprecations. - -2007-06-18 Matthias Clasen - - * gtk/gtkcellrendererspin.c: Fix some issues with refcounting - of the adjustment. (#448544, Carlos Garnacho) - -2007-06-18 Gustavo J. A. M. Carneiro - - reviewed by: Matthias Clasen - - * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure - invalidate notifiers. (#448484) - -2007-06-17 Matthias Clasen - - * README.in: Updates - - * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type. - It was already documented as such. (#412357, Vincent Geddes) - -2007-06-17 Matthias Clasen - - * gtk/gtkcontainer.c: Fix a doc typo. - -2007-06-17 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward - Mac OS menu shortcut events to the right menu. - -2007-06-17 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) - (synthesize_crossing_events_for_ns_event) - (find_window_for_ns_event): More refactoring of the event - handling: Extract synthesizing of crossing events from - find_window_for_ns_event so that it doesn't have any side effects, - and call the new function from gdk_event_translate instead. - -2007-06-16 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event), - (gdk_event_translate): Remove pointless logging for unhandled events. - Activate the application on non-left clicks, since that is only done - for left clicks and we depend on it to get events routed properly for - context menus and other popup windows. - -2006-09-22 Dennis Cranston - - * gtk/gtkfilechooserbutton.c: (change_icon_theme), - (model_add_bookmarks), (model_update_current_folder): - * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons), - (shortcuts_insert_path): Use the remote folder icon when - appropriate. - - Follow up to #354887 - -2007-06-17 Christian Persch - - * gtk/Makefile.am: Pass the print settings to the preview programme. - Bug #403717, patch by Carlos Garcia Campos. - -2007-06-17 Xan Lopez - - * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to - GdkWindow. Patch by Tilman Sauerbeck from #63820. - -2007-06-17 Daniel Elstner - - * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress): - Change input method behavior to act on key presses instead of - key releases, matching normal text input behavior. This change - alleviates the need to take special action for control keys not - handled by the input module itself. - -2007-06-17 Behdad Esfahbod - - * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450, - Sebastien Bacher, Alex "weej" Jones) - -2007-06-16 Yevgen Muntyan - - * gtk/gtktextdisplay.c (render_para): fixed couple of drawing - problems with block cursor (#448321). - -2007-06-16 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore - events and break any grabs while the window is being dragged. - -2007-06-16 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for): - Defer setting the parent until the window is shown, otherwise it - gets unconditionally shown here. - -2007-06-16 Johan Dahlin - - * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext - (#448299, Jan Arne Petersen) - -2007-06-16 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event): - Move the checks for no window or a non-GDK window from here... - (gdk_event_translate): ...to here. Reorder the code so that we - detect the cases where we need to break grabs before bailing - out. - -2007-06-16 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) - (break_all_grabs): Break out into a separate function. - -2007-06-16 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used - to detect if the window is currently being moved with the mouse. - -2007-06-16 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for): - Don't set parent/child relationship for tooltip windows since that - moves the parent window to the front, due to the tooltip having a - high window level. - -2007-06-16 Christian Persch - - * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name), - (gtk_builder_get_type_from_name): - * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter - name. Bug #448193. - -2007-06-15 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.3 === - -2007-06-15 Johan Dahlin - - * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject. - -2007-06-15 Matthias Clasen - - * gtk/gtkbuildable.c: - * gtk/gtkbuilder.c: Documentation fixes - - * gtk/gtktreeview.c: Fix up cross-references in docs. - - * gtk/Makefile.am: Don't install gtkbuilderprivate.h - - * gtk/gtk.h: Include gtkbuilder.h - - * NEWS: Updates - -2007-06-15 Johan Dahlin - - * gtk/gtkbuilder.c (gtk_builder_add_from_file): - (gtk_builder_value_from_string_type): - Use gsize instead of unsigned and gulong instead of long, - fixes complation on OSX, fixes #447987 - -2007-06-15 Matthias Clasen - - * gtk/gtkmenushell.[ch]: add move_selected signal to allow - overriding the default internal behaviour. (#446833, Ryan Lortie) - -2007-06-15 Mathias Hasselmann - - * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text. - -2007-06-15 Mathias Hasselmann - - * gtk/gtkwidget.c: Improving handling of tooltip-text property. - * tests/testtooltips.c: Also check result of tooltip getters. - -2007-06-15 Mathias Hasselmann - - * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols, - gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce - convenience property "GtkWidget:tooltip-text" taking care of escaping - it for unwanted markup entities. Add functions to set tooltip text: - gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(), - gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup(). - - * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text() - to set the tooltip text without using markup. - - Patches from Emmanuele Bassi (#447643). - -2007-06-15 Johan Dahlin - - reviewed by: Matthias Clasen - - * demos/gtk-demo/Makefile.am: - * demos/gtk-demo/builder.c: (quit_activate), (about_activate), - (do_builder): - * demos/gtk-demo/demo.ui: - * docs/reference/gtk/gtk-docs.sgml: - * docs/reference/gtk/gtk-sections.txt: - * docs/reference/gtk/gtk.types: - * docs/reference/gtk/tmpl/gtkbuildable.sgml: - * docs/reference/gtk/tmpl/gtkbuilder.sgml: - * gtk/Makefile.am: - * gtk/gtk.h: - * gtk/gtk.symbols: - * gtk/gtkaction.c: (gtk_action_buildable_init), - (gtk_action_buildable_set_name), (gtk_action_buildable_get_name): - * gtk/gtkactiongroup.c: (gtk_action_group_get_type), - (gtk_action_group_buildable_init), - (gtk_action_group_buildable_add), - (gtk_action_group_buildable_set_name), - (gtk_action_group_buildable_get_name): - * gtk/gtkbuildable.c: (gtk_buildable_get_type), - (gtk_buildable_set_name), (gtk_buildable_get_name), - (gtk_buildable_add), (gtk_buildable_set_property), - (gtk_buildable_parser_finished), (gtk_buildable_construct_child), - (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end), - (gtk_buildable_custom_finished), - (gtk_buildable_get_internal_child): - * gtk/gtkbuildable.h: - * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init), - (gtk_builder_finalize), (gtk_builder_set_property), - (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily), - (gtk_builder_real_get_type_from_name), - (gtk_builder_get_parameters), (gtk_builder_get_internal_child), - (_gtk_builder_construct), (_gtk_builder_add), - (apply_delayed_properties), (_gtk_builder_finish), - (gtk_builder_new), (gtk_builder_add_from_file), - (gtk_builder_add_from_string), (gtk_builder_get_object), - (object_add_to_list), (gtk_builder_get_objects), - (gtk_builder_set_translation_domain), - (gtk_builder_get_translation_domain), - (gtk_builder_connect_signals_default), - (gtk_builder_connect_signals), (gtk_builder_connect_signals_full), - (gtk_builder_value_from_string), - (gtk_builder_value_from_string_type), - (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string), - (gtk_builder_get_type_from_name), (gtk_builder_error_quark): - * gtk/gtkbuilder.h: - * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop), - (error_missing_attribute), (error_invalid_attribute), - (error_invalid_tag), (builder_construct), (parse_object), - (free_object_info), (_get_type_by_symbol), (parse_child), - (free_child_info), (parse_property), (free_property_info), - (parse_signal), (_free_signal_info), (parse_interface), - (create_subparser), (free_subparser), (subparser_start), - (subparser_end), (parse_custom), (start_element), (end_element), - (text), (_gtk_builder_parser_parse_buffer): - * gtk/gtkbuilderprivate.h: - * gtk/gtkcelllayout.c: (attributes_start_element), - (attributes_text_element), - (_gtk_cell_layout_buildable_custom_tag_start), - (_gtk_cell_layout_buildable_custom_tag_end), - (_gtk_cell_layout_buildable_add): - * gtk/gtkcelllayout.h: - * gtk/gtkcellview.c: (gtk_cell_view_buildable_init), - (gtk_cell_view_buildable_custom_tag_start), - (gtk_cell_view_buildable_custom_tag_end): - * gtk/gtkcolorseldialog.c: - (gtk_color_selection_dialog_buildable_interface_init), - (gtk_color_selection_dialog_buildable_get_internal_child): - * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init), - (gtk_combo_box_buildable_custom_tag_start), - (gtk_combo_box_buildable_custom_tag_end): - * gtk/gtkcomboboxentry.c: - (gtk_combo_box_entry_buildable_interface_init), - (gtk_combo_box_entry_buildable_get_internal_child): - * gtk/gtkcontainer.c: (gtk_container_get_type), - (gtk_container_buildable_init), (gtk_container_buildable_add), - (gtk_container_buildable_set_child_property), - (attributes_start_element), (attributes_text_element), - (gtk_container_buildable_custom_tag_start), - (gtk_container_buildable_custom_tag_end): - * gtk/gtkdebug.h: - * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init), - (gtk_dialog_buildable_get_internal_child), - (attributes_start_element), (attributes_text_element), - (gtk_dialog_buildable_custom_tag_start), - (gtk_dialog_buildable_custom_finished): - * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init): - * gtk/gtkexpander.c: (gtk_expander_buildable_add), - (gtk_expander_buildable_init): - * gtk/gtkfontsel.c: - (gtk_font_selection_dialog_buildable_interface_init), - (gtk_font_selection_dialog_buildable_get_internal_child): - * gtk/gtkframe.c: (gtk_frame_buildable_init), - (gtk_frame_buildable_add): - * gtk/gtkiconview.c: (gtk_icon_view_buildable_init), - (gtk_icon_view_buildable_custom_tag_start), - (gtk_icon_view_buildable_custom_tag_end): - * gtk/gtkliststore.c: (gtk_list_store_buildable_init), - (list_store_start_element), (list_store_end_element), - (list_store_text), (gtk_list_store_buildable_custom_tag_start), - (gtk_list_store_buildable_custom_tag_end): - * gtk/gtkmain.c: - * gtk/gtknotebook.c: (gtk_notebook_buildable_init), - (gtk_notebook_buildable_add): - * gtk/gtksizegroup.c: (gtk_size_group_buildable_init), - (size_group_start_element), - (gtk_size_group_buildable_custom_tag_start), - (gtk_size_group_buildable_custom_finished): - * gtk/gtktreestore.c: (gtk_tree_store_buildable_init), - (tree_model_start_element), - (gtk_tree_store_buildable_custom_tag_start), - (gtk_tree_store_buildable_custom_finished): - * gtk/gtktreeview.c: (gtk_tree_view_buildable_init), - (gtk_tree_view_buildable_add): - * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init): - * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init), - (gtk_ui_manager_buildable_add), - (gtk_ui_manager_buildable_construct_child), - (gtk_ui_manager_buildable_custom_tag_start), - (gtk_ui_manager_buildable_custom_tag_end): - * gtk/gtkwidget.c: (gtk_widget_get_type), - (gtk_widget_buildable_interface_init), - (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name), - (gtk_widget_buildable_set_property), - (gtk_widget_buildable_parser_finshed), (accel_group_start_element), - (gtk_widget_buildable_custom_tag_start), - (gtk_widget_buildable_custom_finshed): - * gtk/gtkwindow.c: (gtk_window_buildable_interface_init), - (gtk_window_buildable_set_property), - (gtk_window_buildable_parser_finished): - * tests/Makefile.am: - * tests/buildertest.c: (builder_new_from_string), (test_parser), - (signal_normal), (signal_after), (signal_object), - (signal_object_after), (signal_first), (signal_second), - (signal_extra), (signal_extra2), (test_connect_signals), - (test_uimanager_simple), (test_domain), (test_translation), - (test_sizegroup), (test_list_store), (test_tree_store), - (test_types), (test_spin_button), (test_notebook), - (test_construct_only_property), (test_children), - (test_child_properties), (test_treeview_column), (test_icon_view), - (test_combo_box), (test_combo_box_entry), (test_cell_view), - (test_dialog), (test_accelerators), (test_widget), (main): - - Add GtkBuilder, fixes #172535 - -2007-06-15 Hans Breuer - - * gtk/makefile.msc.in tests/makefile.msc : updated - * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW - to match the WNDCLASSEXW. - True dynamic linking of SetLayeredWindowAttributes - * tests/testprint.c tests/testnouiprint.c : use G_PI - -2007-06-14 Johan Dahlin - - * gtk/gtk.symbols: Add missing symbol - gtk_text_layout_set_overwrite_mode - -2007-06-14 Behdad Esfahbod - - * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler - warning. (#447586, Kazuki IWAMOTO) - -2007-06-14 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use - g_win32_get_windows_version() instead of _winver so that this - compiles on Cygwin, too. Not that I know if it makes sense to - build GTK+ with the Win32 backend for Cygwin, but some people want - to. - -2007-06-13 Matthias Clasen - - * NEWS: Updates - - * NEWS, README.in: Move the combobox note to the README, - where it seems more appropriate. - -2007-06-13 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs. - (#447396, Masatake YAMATO) - -2007-06-14 Carlos Garnacho - - * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from - the menu widget hierarchy when ::appears-as-list is TRUE. (#435471) - * NEWS: add a note about repercussions of this change to RC files. - -2007-06-13 Behdad Esfahbod - - * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to - get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier) - -2007-06-13 Michael Natterer - - * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix - gtk_menu_item_set_submenu() to accept NULL submenus and deprecate - gtk_menu_item_remove_submenu() because we have a properly working - setter now (bug #447065). - - * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu(). - - * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of - gtk_menu_item_remove_submenu(). - -2007-06-13 Cody Russell - - * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE - (#435840, Xan Lopez) - -2007-06-13 Kristian Rietveld - - * gtk/gtk.symbols - * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to - gtk_file_system_create to make it public and bring trunk back - in sync with gtk-2-10. - - * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated. - -2007-06-13 Michael Natterer - - * gtk/gtklabel.c (gtk_label_set_label): added calls to - g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't - return the old text when called from a "notify::label" callback. - -2007-06-13 Kristian Rietveld - - Audit of GtkTreeView coordinate system usage. (#142494). - - * gtk/gtktreeview.[ch]: general documentation updates, - (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos): - update coordinate translations, - (gtk_tree_view_tree_to_widget_coords), - (gtk_tree_view_widget_to_tree_coords): Deprecated, - (gtk_tree_view_convert_.*_coords): 6 new functions for doing - transformations between coordinate systems. - - * gtk/gtk.symbols: updated. - - * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase - with new gtk_tree_view_convert_widget_to_bin_window_coords(). - - * docs/reference/gtk/Makefile.am - * docs/reference/gtk/images/tree-view-coordinates.png: add new image. - - * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the - different coordinate systems. - -2007-06-13 Kristian Rietveld - - * gtk/gtkcellrendererprogress.c - (gtk_cell_renderer_progress_class_init), - (gtk_cell_renderer_progress_init), - (gtk_cell_renderer_progress_[gs]et_property), - (gtk_cell_renderer_progress_render): Add orientation property and some - slight refactoring here and there. (Fixes #344836, reported by - Benjamin Montgomery). - -2007-06-12 Matthias Clasen - - * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS - - * configure.in: Remove linux-fb parts. - -2007-06-12 Michael Natterer - - * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR - instead of PANGO_BREAK_WORD so the text cell doesn't overflow the - wrap-width if there is no whitespace found to break at. - Fixes bug #446107. - -2007-06-12 Kristian Rietveld - - Fix #410815, reported by Lucas Rocha. - - * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable - wrap-width with the first icon, if it exists, - (adjust_wrap_width): try to use icon_view->priv->item_width - if available, - (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here, - which caused changes in wrap-width during the layouting process and - resulted in layouting artefacts, - (update_text_cell): don't set the wrap-width property, this should - be handled by adjust_wrap_width. - -2007-06-12 Behdad Esfahbod - - * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs. - (#446138, Björn Lindqvist) - -2007-06-12 Yevgen Muntyan - - * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite), - (gtk_entry_draw_cursor): - * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc), - (_gtk_widget_get_cursor_color): - * gtk/gtkstyle.h: - * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run), - (gtk_text_renderer_draw_shape), (text_renderer_set_state), - (render_para): - * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode), - (gtk_text_layout_invalidate_cache), (get_block_cursor), - (add_cursor), (gtk_text_layout_get_line_display), - (_gtk_text_layout_get_block_cursor): - * gtk/gtktextlayout.h: - * gtk/gtktextutil.c (layout_get_char_width), - (_gtk_text_util_get_block_cursor_location): - * gtk/gtktextutil.h: - * gtk/gtktextview.c (gtk_text_view_set_editable), - (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite), - (gtk_text_view_ensure_layout), (text_window_invalidate_cursors): - Implement block-cursor for overwrite mode. (#80378) - -2007-06-11 Matthias Clasen - - * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad - Esfahbod) - -2007-06-11 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendfile.c: - * modules/printbackends/cups/gtkprintbackendcups.c: Fix some - locking issues. (#420249, Christian Persch) - -2007-06-11 Matthias Clasen - - * configure.in: When debugging is turned on, use error-checking - mutexes. - -2007-06-11 Emmanuele Bassi - - * gtk/gtknotebook.h: Fix declaration of the create_window() - vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto) - -2007-06-11 Matthias Clasen - - * tests/testiconview.c: Use icons of varying size. - -2007-06-10 Matthias Clasen - - * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting - with lowercase letters for style property assignments, since - GType accepts these too, and gtkmm uses such class names. (#343012, - Murray Cumming, Johannes Schmid) - -2007-06-10 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment. - Store cursor_hadjustment as object data rather than in the private - struct. - -2007-06-10 Matthias Clasen - - * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup - being NULL. (#445691, Christopher Taylor) - -2007-06-10 Emmanuele Bassi - - * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE - and XOPEN_SOURCE, in order to make the simple search engine backend - build on really ancient GNU libc. (#444097) - -2007-06-10 Michael Natterer - - * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix - angles by flipping the coordinate system back to its original y - direction. The implementation is still broken for ellipses, will - have to simulate them using bezier curves. - -2007-06-10 Cody Russell - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): - Don't revert the mouse cursor to the built-in one when - the user holds the mouse button down. (#445284, Tor Lillqvist) - -2007-06-10 Emmanuele Bassi - - * gtk/gtkscalebutton.[ch]: Fix some coding style bits. - - (gtk_scale_button_dispose), (gtk_scale_button_class_init), - (gtk_scale_button_init): Use the GObject private data API instead - of allocating the private structure ourselves. - - (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free - the icons string vector inside ::finalize and not in ::dispose. - - (gtk_scale_button_update_icon): Use g_strv_length() instead - of an empty for loop. - -2007-06-09 Matthias Clasen - - * gtk/gtkwidget.c: - * gtk/gtkscrolledwindow.c: Update docs - * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref} - - * gtk/gtkbox.c: Move docs inline. - - * gtk/gtkrange.c: - * gtk/gtkscale.c: Doc formatting improvements. - -2007-06-09 Matthias Clasen - - * gtk/gtkscalebutton.c: Add an icons property, make - gtk_scale_button_new() a convenience function. (#445855, - Murray Cumming) - -2007-06-09 Matthias Clasen - - * gtk/gtkhscale.c (gtk_hscale_new): - * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make - it more obvious that this is a convenience function. - -2007-06-09 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values - from nl_langinfo() more correctly. - -2007-06-09 Carlos Garnacho - - * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else - branch too. (#445539) - -2007-06-08 Benjamin Berg - - * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint): - Fix shadow painting if the scrollbars-within-bevel style property is - set and border_width is nozero. (#445054) - -2007-06-08 Matthias Clasen - - Make it possible for theme engines to support symbolic - colors. (#426192, Andrea Cimitan, patch by Olivier Samyn) - - * gtk/gtk.symbols: - * gtk/gtkrc.h: - * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function - - * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes - to new style before parsing engine section. - -2007-06-08 Michael Natterer - - * gdk/quartz/gdkdrawable-quartz.c: add utility function - gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for - GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines. - - (gdk_quartz_draw_segments) - (gdk_quartz_draw_lines): use it here. - -2007-06-07 Michael Natterer - - * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set - some values to the defaults used by X11. - - (gdk_quartz_gc_set_values): really set cap_style when - GDK_GC_CAP_STYLE is in the mask, not line_style. - -2007-06-07 Michael Natterer - - * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context): - use the same code for GDK_XOR as for GDK_INVERT. Xor with an - arbitrary color is impossible to implement with quartz. - -2007-06-07 Matthias Clasen - - * gtk/gtksettings.c: Fix a typo in the docs. - -2007-06-07 Christian Neumair - - * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008. - -2007-06-07 Matthias Clasen - - * gtk/gtktreeview.c: Documentation additions. - - * gtk/gtknotebook.c: Add a doc comment. - -2007-06-06 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (model_add_special): - * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): - * gtk/gtkfilesystemunix.c (get_icon_name_for_directory): - * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): - Use g_get_user_special_dir() to obtain the path for the - DESKTOP directory. - -2007-06-06 Matthias Clasen - - * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png - to the list of stock icons. (#444786) - -2007-06-06 Kristian Rietveld - - * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init), - (gtk_cell_renderer_progress_class_init), - (gtk_cell_renderer_progress_[gs]et_property), - (gtk_cell_renderer_progress_render): add text-[xy]align properties - for aligning the text label of the progress bar. (#334576, - suggestion from Steven Sheehy). - -2007-06-06 Yevgen Muntyan - - * gtk/gtkwidget.c: - * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585). - - * gtkrc.c: - * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and - _gtk_rc_style_unset_rc_property(). - - * gtk/gtk.symbols: added gtk_widget_modify_cursor. - - * tests/testtext.c (do_cursor_visible_changed): - * tests/testgtk.c (create_styles): test it. - -2007-06-06 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event) - (find_window_for_ns_event): Rework how we get the event window: - don't get the window from the NSEvent, always use the mouse window - instead. Fix mouse window tracking by only using MouseExited for - non-gdk windows, and to always use the NSEvent window to get the - right gdk window in MouseEntered. Add comments to the code. Fixes bug - #350460. - -2007-06-06 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates): - Don't do anything if the two windows are the same. - (find_window_for_ns_event): Translate coordinates to be relative - the grab window when appropriate. - -2007-06-06 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c: - (get_file_info_finished), (shortcuts_insert_path), - (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor - out the search shortcut, the recently used shortcut and the separator - from the shortcut selection combo. (#444734) - - (recent_idle_load): Remove the idle source that lazily loads the - recently used files, if the GtkRecentManager returns an empty - list. (#443913) - -2007-06-06 Ross Burton - - * gdk/x11/gdkspawn-x11.c: - Set DISPLAY in the child process using g_setenv() instead of - constructing a new envp, which lets callers use child setup - functions which call putenv (#442617). - -2007-06-06 Johan Dahlin - - reviewed by: Matthias Clasen - - * gtk/gtkassistant.c (gtk_assistant_update_buttons_state): - Check if the wizard is empty before trying to access the first page. - (#444310, Johan Dahlin) - -2007-06-06 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.2 === - - * NEWS: Updates - -2007-06-06 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use - GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here. - -2007-06-06 Kristian Rietveld - - * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new - function. (#342471, Lorenzo Gil Sanchez). - - * gtk/gtk.symbols: updated. - -2007-06-06 Kristian Rietveld - - * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused - call to gtk_widget_size_request(). (Reported by Carlos - Garnacho). - -2007-06-06 Kristian Rietveld - - * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if - last_window is not a GdkWindow anymore. (Fixes #434021, several - reporters). - -2007-06-06 Matthias Clasen - - * gdk/Makefile.am: Remove leftover reference to medialib_h_sources. - -2007-06-06 Brian Cameron - - * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header - file gets included with the distribution, as needed. Fixes bug - #442888. Reviewed by Matthias Clasen. - -2007-06-06 Richard Hult - - * gdk/quartz/gdkevents-quartz.c - (_gdk_quartz_events_update_mouse_window): Ignore if the old and new - windows are the same. - -2007-06-06 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the - auto expand timeout if it exists. - -2007-06-06 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events): - Update comment to be more clear and print a warning if we try to - create a crossing event without knowing what the current mouse - window is, to help track down focus bugs. - - * gdk/quartz/gdkevents-quartz.c - (_gdk_quartz_events_update_focus_window): Fix indentation. - -2007-06-06 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key - window. - -2007-06-06 Tor Lillqvist - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix - embarrassing crash. (#444457, Torsten Schoenfeld) - -2007-06-05 Yevgen Muntyan - - * demos/gtk-demo/textview.c (insert_text): Drop the phrase - saying invisible text doesn't work (#444236). - -2007-06-05 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that - window_private is not NULL before using it. (#444351, David Ronis) - -2007-06-05 Jakub Steiner - - * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet. - gtk-find is used for search, rather than find within a document - (file dialog). - -2007-06-05 Kristian Rietveld - - Fix #399071, suggestion from Benoit Dejean. - - * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new - function, factored out code iterating (columns, values) vectors from - gtk_list_store_new_with_valuesv to here, - (gtk_list_store_set_valuesv): new public function to set list store - values using (columns, values) vectors, - (gtk_list_store_new_with_valuesv): call new _set_vector_internal - instead. - - * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal), - (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv): - likewise. - - * gtk/gtk.symbols: updated. - -2007-06-04 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (show_window_internal): Don't try to make temp windows key - windows, fixes problem introduced below. - -2007-06-04 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: - * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of - gdk_window_set_accept_focus and gdk_window_set_focus_on_map. - -2007-06-04 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise), - (gdk_window_lower): Implement. - -2007-06-04 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - * gdk/quartz/gdkwindow-quartz.h: Implement - gdk_window_set_transient_for. - -2007-06-04 Cody Russell - - * gtk/gtklinkbutton.h - * gtk/gtkaboutdialog.h: Change function argument "link" - to "link_" to fix warnings for applications compiling - with -Wshadow. (#379213) - -2007-06-04 Cody Russell - - * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check - if down_button is NULL. This happens when the pathbar button - for the current directory is too large to fit in the - space, e.g. on Windows for directories named something like - "My Documents and Settings". (#389603) - -2007-06-04 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.1 === - - * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs. - - * NEWS: - * README.in: Updates - -2007-06-04 Michael Natterer - - Move "move-focus" signals from several widgets to GtkWidget to - enable more flexible costomization of keyboard navigation via - bindings. Fixes bug #414947. - - * gtk/gtkwidget.c: add "move-focus" binding signal, default to - calling the toplevel GtkWindow's "move-focus" vfunc. - - * gtk/gtktextview.[ch] - * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat - code that makes sure that both emitting the signal on the widget - and overriding the virtual functions keeps working as before. - - * gtk/gtktoolbar.c: remove "move-focus" signal here too and use - GtkWidget's signal. This change slightly changes keyboard - navigation in toolbars. I'll fix the behavior if somebody can - explain me if and how exactly the new behavior is broken. - -2007-06-04 Matthias Clasen - - * gtk/gtkmarshalers.list: - * gtk/gtknotebook.[hc]: Add a create-window signal that allows - to override the global create-window-hook on a per-notebook - basis. The default handler falls back to the global hook. - (#386935, Christian Hammond) - -2007-06-04 Emmanuele Bassi - - * gtk/gtkradiobutton.[ch]: - * gtk/gtk.symbols: - * tests/testgtk.c: Revert previous commit; the API is not yet - finalized - see bug #166995. - -2007-06-04 Emmanuele Bassi - - * gtk/gtkradiobutton.h: - * gtk/gtkradiobutton.c: - * gtk/gtk.symbols: Add gtk_radio_button_set_value(), - gtk_radio_button_get_current_value() and gtk_radio_button_get_value(). - Use these functions to set and get an arbitrary integer associated to - a GtkRadioButton in a group, like the value associated to a - GtkRadioAction. - - * tests/testgtk.c: - (create_radio_buttons), (radio_toggled_cb): Exercise the new API. - -2007-06-03 Torsten Schoenfeld - - * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL - to avoid accessing uninitialized memory when - gtk_icon_theme_choose_icon() is called with an empty names list. - -2007-06-03 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key - modifier state. - -2007-06-03 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit - better: - (gdk_display_pointer_is_grabbed): Do what the docs say and don't - consider implicit grabs here. - (gdk_pointer_grab): Overriding a grab by the same app should always be - succesful. - (gdk_event_translate): Implicit grabs should not be owner events. - -2007-06-03 Matthias Clasen - - * NEWS: Updates - -2007-06-03 Matthias Clasen - - * docs/tools/widgets.c: Add a volume button - -2007-06-03 Matthias Clasen - - * gtk/gtkradiobutton.c: - * gtk/gtkradiomenuitem.c: Fix doc typos. - -2007-06-03 Matthias Clasen - - * configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò) - -2007-06-03 Xan Lopez - - * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page - and remove g_return_if checks in private functions. (#443247) - -2007-06-01 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (get_converted_window_coordinates), (create_crossing_event): Fix the - coordinates in crossing events so they are relative to the right - window. - -2007-06-01 Richard Hult - - * gdk/quartz/gdkevents-quartz.[ch]: Make function naming - consistent for the various functions that retrieve data from an - event. - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused - _gdk_quartz_window_find_child_by_point() function. - -2007-06-01 Matthias Clasen - - Add support for composited child windows. (#412882, Ryan Lortie) - - * gdk/gdk.symbols: - * gdk/gdkdisplay.h: - * gdk/gdkinternals.h: - * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and - gdk_window_set_composited(). - - * gdk/x11/gdkevents-x11.c: - * gdk/x11/gdkdisplay-x11.[hc]: - * gdk/x11/gdkwindow-x11.[hc]: X11 implementation. - - * gdk/win32/gdkdisplay-win32.c: - * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration. - - * gdk/quartz/gdkdisplay-quartz.c: - * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation. - - * gdk/directfb/gdkdisplay-directfb.c: - * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation. - - * tests/testgtk.c: Add a "composited window" test. - -2007-06-01 Michael Natterer - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch - submenu opening direction for overlapping reasons if there is even - less space on the other side (bug #441863, Tommi Komulainen). - -2007-06-01 Michael Natterer - - * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883 - to not obfuscate the code. - -2007-06-01 Yevgen Muntyan - - Avoid recreating pangolayouts in GtkTextView on cursor movement - (#435405, Behdad Esfahbod). - - * gtk/gtktextlayout.c: - * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(), - and functions gtk_text_layout_invalidate_cursors() and - gtk_text_layout_cursors_changed(), to use when invalidation is due - to moved marks or changed selection. - - * gtk/gtktextbtree.c: - * gtk/gtktextbtree.h: use what's appropriate when invalidating layout. - - * gtk/gtk.symbols: add new functions. - - * README.in: added a note about changed GtkTextLayout API. - -2007-06-01 Alp Toker - - * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos. - -2007-05-31 Yevgen Muntyan - - * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from - widget style to draw cursor instead of hardcoded black and grey - (#79585, comment #30). - -2007-06-01 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using - pango_extents_to_pixels to avoid rounding errors. (Fixes #430218, - Shlomi Israel). - -2007-05-31 Mathias Hasselmann - - * tests/autotestfilechooser.c: Reactivate the other file-chooser - tests. Forgot that before commiting revision 17994. - -2007-05-31 Mathias Hasselmann - - * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset - the internal response_requested flag, once the response triggered by - file_chooser_widget_response_requested has been processed (#347883). - -2007-05-30 Richard Hult - - * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this - function, bug #438440. - -2007-05-30 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the - multi-monitor offset from x and y before setting up the rectangle - for ClipCursor(). Fixes #442326. - -2007-05-30 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize - if the size changed. (#418047, Alex Graveley) - -2007-05-30 Simos Xenitellis - - * gdk/gdkkeysyms-update.pl: Updated script to new upstream - location of keysymdef.h (#442183) - -2007-05-30 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return - after setting the file chooser entry with the current selection. - -2007-05-30 Matthias Clasen - - * gtk/gtkiconcachevalidator.c: Correct the handling - of display names. (#441767, Marcin Bachry) - -2007-05-30 Xan Lopez - - * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup. - Fixes #442172. - -2007-05-28 Cody Russell - - * gdk/win32/xcursors.h: Fix initialization of last item. (#440511) - -2007-05-28 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor) - (get_ancestor_coordinates_from_child): Break out code that was - repeated into separate functions and call them instead. - (find_window_for_mouse_nsevent): Break out this from - find_window_for_nsevent to make the code clearer. - (find_window_for_nsevent): Use the above and fix the returned - coordinates in the process so that they are always relative the - found window, both for the normal case and during grabs. Still - needs fixing for the case where we get nsevents for a window other - than than grab window during grabs. - -2007-05-28 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo, - we need both press and release in the mask to trigger implicit - grabs. - -2007-05-28 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset - all the grab state, to help debugging. - (gdk_event_translate): Use pointer_ungrab_internal instead of - duplicating the code here. - -2007-05-28 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper) - (_gdk_quartz_window_find_child): Refactored version of - _gdk_quartz_window_find_child_by_point, that doesn't return any - coordinates as the users of this function already have the - coordinates and need to translate them differently. - (_gdk_windowing_window_get_pointer): Fixup coordinate translation. - (_gdk_windowing_window_at_pointer): Likewise. - -2007-05-28 Richard Hult - - * gdk/quartz/gdkevents-quartz.c - (find_window_interested_in_event_mask): Don't traverse beyond the - toplevel of the passed in window. - -2007-05-28 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set - a size for the root window. - -2007-05-28 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: Add comments about what various - coordinates are relative to. - -2007-05-28 Carlos Garnacho - - * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse): - Add back variable declaration removed in r17958. - -2007-05-28 Carlos Garcia Campos - - * gtk/gtkprinter.[ch]: Add new capability - GTK_PRINT_CAPABILITY_NUMBER_UP. - * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: - * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities): - * modules/printbackends/file/gtkprintbackendfile.c: - (file_printer_get_options), (file_printer_get_settings_from_options): - * modules/printbackends/cups/gtkprintbackendcups.c: - (cups_printer_get_capabilities): Add a new print capability to specify - whether print dialog will offer printing multiple pages per sheet. (#398414) - -2007-05-28 Matthias Clasen - - * gtk/gtktoolbar.h: Actually undeprecate - gtk_toolbar_[un]set_icon_size. (#314172. Yevgen Muntyan) - -2007-05-28 Matthias Clasen - - * gtk/gtkwidget.c: Document some more signals - - * gtk/gtktextview.c: Improve docs - -2007-05-27 Tor Lillqvist - - * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was - supposed to be -luser32, but he "l" was missing. But nobody has - noticed, so presumably unnecessary. - -2007-05-26 Matthias Clasen - - * gtk/gtkprintoperationpreview.c: Improve docs - -2007-05-26 Matthias Clasen - - * gtk/gtkentry.c: Move docs inline. - -2007-05-26 Matthias Clasen - - * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments - that cause problems when building the docs. - -2007-05-26 Matthias Clasen - - * gdk/x11/gdkdisplay-x11.c: Update docs - * gdk/gdk.c: Update docs - * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments. - * gdk/x11/gdkwindow-x11.c: Fix doc formatting - -2007-05-26 Matthias Clasen - - * gtk/gtktooltip.c: - * gtk/gtkstatusicon.c: - * gtk/gtkscalebutton.c: - * gtk/gtkrecentaction.c: - * gtk/gtkrange.c: - * gtk/gtkprinter.c: - * gtk/gtkprintsettings.c: - * gtk/gtkpapersize.c: - * gtk/gtkpagesetup.c: - * gtk/gtknotebook.c: - * gtk/gtkentrycompletion.c: Document new api - -2007-05-26 Richard Hult - - * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the - build working. - -2007-05-26 Matthias Clasen - - * configure.in: Require gtk-doc 1.6, for signal and property links. - * gtk/gtkbox.c: - * gtk/gtkbutton.c: - * gtk/gtkcontainer.c: - * gtk/gtkdialog.c: - * gtk/gtkentry.c: - * gtk/gtkimage.c: - * gtk/gtklabel.c: - * gtk/gtkmisc.c: - * gtk/gtksettings.c: - * gtk/gtkwidget.c: Documentation improvements, link signals - and properties where it makes sense. - -2007-05-25 Matthias Clasen - - * gtk/gtktextmark.c: - * gtk/gtktextbuffer.c: Formatting fixes. - -2007-05-25 Matthias Clasen - - Allow to separate GtkTextMark creation from buffer insertion. - (#132818, Gustavo Giráldez, patch by Yevgen Muntyan) - - * gtk/gtktextmarkprivate.h: - * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to - create a GtkTextMark. - - * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New - function to add an existing mark to a buffer. - - * gtk/gtktextbtree.c: Allow adding existing marks. - - * gtk/gtk.symbols: Add new functions. - - * tests/testtextbuffer.c: Add some tests for new mark - functionality. - -2007-05-25 Xan Lopez - - * gtk/gtkaction.c: (gtk_action_set_short_label): - Use private->data->short_label to update the proxies. (#440780) - -2007-05-25 Richard Hult - - * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image): - Implement copying from a window, part of bug #348493. - -2007-05-25 Matthias Clasen - - * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a - refence on the print operation until gtk_print_job_send() - is done. (#440040, Chris Vine) - -2007-05-25 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child): - Don't crash and don't leak. (#439565, Pedro Villavicencio) - -2007-05-25 Matthias Clasen - - * gtk/gtkiconfactory.c: Improve a warning - * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always - set the error when returning NULL. (#440982, Carlos Garcia - Campos) - -2007-05-25 Michael Natterer - - Merge fix from maemo-gtk: - - * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus - also if the menu item we're entering is already selected. Also, it - makes no sense to forward the event to the parent menu shell if we - are entering a menu item of *this* menu shell. - -2007-05-24 Matthias Clasen - - * gtk/stock-icons/*: Make sure all svg icons are added - as pngs. - -2007-05-24 Matthias Clasen - - * modules/input/Makefile.am: Fix broken DESTDIR support - -2007-05-24 Michael Natterer - - * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from - Bogdan Nicula which fixes a crash on GdkWindows which have no - GtkWidget as user_data (bug #440890). - -2007-05-24 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.11.0 === - - * NEWS: Updates - -2007-05-23 Matthias Clasen - - * gtk/gtk.symbols: - * gdk/x11/xsettings-common.h: - * gdk/gdk.symbols: Add some missing symbols. - - * gtk/paper_names_offsets.c: - * gtk/gen-paper-names.c: Make variables static. - - * gtk/gtktooltip.[hc]: - * gtk/gtkvolumebutton.c: - * gtk/gtkscalebutton.c: Fix up symbol aliasing. - -2007-05-23 Yevgen Muntyan - - * gtk/gtkprintunixdialog.c: missing #include . - - * gtk/gtkhandlebox.c (gtk_handle_box_paint): - * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers): - * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id): - * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): - * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request): - * gtk/gtkpreview.c (gtk_preview_finalize): - * gtk/gtknotebook.c (gtk_notebook_set_group_id): - * tests/testnotebookdnd.c (window_creation_function): - * tests/testiconview.c (do_popup_menu): - Fixed some compiler warnings (#440689). - -2007-05-23 Kristian Rietveld - - * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates - from the window they were received on to the event widget's window; - correct for no-window widgets after that, bail out on failure. This - makes the coordinates given by GtkWidget::query-tooltip truly relative - to widget->window. (#435188). - - * gtk/gtkwidget.c (gtk_widget_class_init): update docs for - GtkWidget::query-tooltip. - -2007-05-22 Behdad Esfahbod - - * gtk/gtkprintcontext.c (gtk_print_context_finalize), - (_gtk_print_context_new), (_gtk_print_context_get_fontmap), - (gtk_print_context_set_cairo_context), - (gtk_print_context_get_pango_fontmap), - (gtk_print_context_create_pango_context): - Don't create new pango fontmaps. Use the default pangocairo - fontmap and set resolution on PangoContext instead. (#417707) - -2007-05-21 Richard Hult - - * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the - resolution. - - * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros. - -2007-05-21 Michael Natterer - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change. - -Mon May 21 13:58:32 2007 Tim Janik - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check. - -2007-05-21 Tor Lillqvist - - * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with - multiple monitors. - -2007-05-20 Attilio Fiandrotti - - * gdk/directfb/gdkwindow-directfb.c: - * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version - required to enable gdk_directfb_create_child_window. - (Closes: #437379) - -2007-05-20 Bastien Nocera - - * gtk/Makefile.am: - * gtk/gtk.h: - * gtk/gtk.symbols: - * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget, - a button that pops up a scale when clicked (Closes: #415775) - * tests/Makefile.am: - * tests/testvolumebutton.c: Add a test program for the - volume button - -2007-05-19 Bastien Nocera - - reviewed by: Matthias Clasen - - * gtk/Makefile.am: - * gtk/gtk.h: - * gtk/gtk.symbols: - * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget, - a button that pops up a scale when pressed - -2007-05-19 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id - in favour of new functions gtk_notebook_[gs]et_group, which - takes a pointer as group identifier and makes it easier to - avoid group id collisions. (#386930, Christian Hammond) - - * tests/testnotebookdnd.c: Use new grouping api. - -2007-05-18 Matthias Clasen - - * gtk/gtkactiongroup.c: Warn and refuse to add actions with - duplicate names. (#150877, Tommi Komulainen, patch by Kalle - Vahlman) - -2007-05-18 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment() - to allow automatic scrolling in response to cursor movements - in the entry. (#438651, Nate Nielsen) - -2007-05-18 Matthias Clasen - - * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding - signal, and bind F7 to it. (#380048, Tim Miao) - -2007-05-18 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkicontheme.h: - * gtk/gtkicontheme.c: Add a function to look up an icon from - a list of icon names. (#396901, Luca Ferretti) - -2007-05-18 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c: - (gtk_recent_chooser_default_dispose): Reset the state on dispose. - - (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY - is a valid state, if the main loop never had the chance to - properly spin at least once. (#438671) - -2007-05-18 Emmanuele Bassi - - * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark - string for translation. (#439437) - -2007-05-18 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix - doc typo. (#438100, Vincent Untz) - -2007-05-18 Michael J. Chudobiak - - * INSTALL.in: - * README.in: - * configure.in: Bump libtiff requirement to 3.6.0, by requiring - presence of TIFFReadRGBAImageOriented. - - * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf): - Preserve pixbuf options when generating a new scaled pixbuf. - - * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load), - (gdk_pixbuf__jpeg_image_load_increment): Read the exif - orientation tag and associate it with the "orientation" pixbuf - option. Renders libexif unnecessary in some applications. - - * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag, - compensate for the partial rotations performed by libtiff, - and generate an "orientation" option for the pixbuf. - -2007-05-18 Carlos Garnacho - - * gtk/gtkexpander.c: remove c++ style comment. - -2007-05-18 Carlos Garnacho - - Make combobox menu popdown keybindable (#433593) - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding - signal and keybindings. - (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal - handler. - (gtk_combo_box_menu_key_press): - (gtk_combo_box_list_key_press): forward the event to the combobox if - it wasn't handled by the menu. - -2007-05-18 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion) - (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run - their DnD handlers if the target doesn't match with anything the - notebook manages. (#350665, Joakim Lundborg). - -2007-05-18 Carlos Garnacho - - Refactor GtkFileChooserDialog sizing. - - * gtkfilechooserembed.[ch] (delegate_get_resizable_hints) - (_gtk_file_chooser_embed_get_resizable_hints): - s/resizable_hints/resizable/, return just one boolean value to - determine whether the filechooser should be resizable or not. - - * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove - variables related to the GtkFileChooserEmbed get_default_size() and - get_resizable() implementations. - (struct GtkFileChooserDefault): Move default size management here. - - * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate): - Added, store currently allocated size to calculate default size later. - (gtk_file_chooser_default_get_resizable_hints): - s/resizable_hints/resizable/. - (gtk_file_chooser_default_set_property): Reload settings if the file - chooser action changes, this way the save expander state will be known - before mapping the window, avoiding wrong window positioning and - flickering. (#424299, #424309) - (find_good_size_from_style): Only get size from style if it wasn't set - previously. - (gtk_file_chooser_default_get_default_size): return default size based - on stored default size and preview/extra widget sizes. - - * gtkfilechooserdialog.c (file_chooser_widget_update_hints) - (file_chooser_widget_realized_size_changed) - (file_chooser_widget_unrealized_size_changed): simplified to - (file_chooser_widget_size_changed): set window size and resizability - based on the GtkFileChooserEmbed interface implementation. (Bug - #420285, Tomeu Vizoso) - (gtk_file_chooser_dialog_map): force a dialog size change, so it's - clamped for sure to the 75% of the screen size. - -2007-05-18 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset - the brand new current page if there was none set previously. Fixes - #425138 (Reported by Michail Crayson). Some code simplifications. - (gtk_notebook_draw_arrow): code style fix. - -2007-05-16 Matthias Clasen - - * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root - buttons. Keep the focus from vanishing when Up or Down arrows - become insensitive or invisible. (#357005, Patrick Wade) - -2007-05-16 Brian Cameron - - * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c, - gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c, - gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch], - gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that - hardware acceleration via mediaLib is enabled if mediaLib is - detected via configure. Enhancement request #344813. I was given - permission to commit in the bug report by Matthias Clasen. - * gdk/medialib.[ch]: New files added for mediaLib support. - * docs/reference/gdk-pixbuf/tmpl/scaling.sgml, - docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for - mediaLib support. - -2007-05-15 Torsten Schoenfeld - - * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and - priv->free_platform_data to prevent gtk_print_operation_finalize() - from freeing the cairo surface a second time. - -2007-05-14 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove - dangling semicolon, fixes the segfault ebassi was seeing earlier today - ;) - -2007-05-14 Tristan Van Berkom - - * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() - were deprecated in favour of gtk_about_dialog_get/set_program_name(), - the GtkAboutDialog now uses the "program-name" property instead of - the conflicting "name" property (fixes bug 345822). - -2007-05-14 Emmanuele Bassi - - * configure.in: Add check for GNU extensions to ftw()/nftw(). - - * gtk/gtksearchenginesimple.c: Fix compilation on systems with - only POSIX-compliant ftw(). (#435797, based on a patch by - Richard Hult) - -2007-05-14 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c: - Convert the GtkTreeIter inside the sorting functions for the - search and recent modes. This doesn't yet fix the segfault when - clicking the 'Name' column in recent mode, though. - -2007-05-14 Behdad Esfahbod - - * modules/input/gtkimcontextthai.c - (gtk_im_context_thai_filter_keypress): - Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan) - -2007-05-14 Matthias Clasen - - * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel - as 2.12 addition. (#438131, Mart Raudsepp) - -2007-05-14 Matthias Clasen - - * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix - size requisition for wide vertical separators. (#438113, - Benjamin Berg) - -2007-05-13 Emmanuele Bassi - - * gtk/gtksearchenginesimple.c: Include and use nftw() and - all the symbols defined in conditionally. - -2007-05-13 Cody Russell - - * gdk/win32/gdkevents-win32.c: Only do the configure event context - iteration under WM_WINDOWPOSCHANGED instead of inside - handle_configure_event(). This fixes a bug that prevented window - contents from being redrawn after gtk_window_resize(). (#436721) - -2007-05-12 Behdad Esfahbod - - * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path - generation. (#437879, Eddie C. Dost) - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserdefault.c: Support drag and drop for - adding shortcuts of folders when in search or recent files - mode. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilechooserdefault.c: Follow the sorting order of - the GtkTreeView displaying the files list. - - (shortcuts_get_index), (shortcuts_insert_separator), - (shortcuts_model_create), (shortcuts_combo_filter_func): Remove - the separator between the Search and the Recently Used shortcuts. - - (list_select_func), (list_icon_data_func), (list_name_data_func), - (list_mtime_data_func): Update the sensitivity of the row - depending on the GtkFileChooserAction used. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilechooserdefault.c: Update the contents of the - files list when changing the filter of the GtkFileChooserDefault - widget. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserdefault.c: Update the add bookmark button - sensitivity when in search or recent files mode, and allow - adding a bookmark for a folder. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add - a mnemonic to the label, de-boldify the label's text and assign - focus to the search entry when switching to the search mode. - - (list_name_data_func): Split the text in both search and recent - files mode: on the first line use the short name and on the - second line use the full path. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilechooserdefault.c: Add support for showing the - recently used files list as a special shortcut item. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and - indentation style consistency. - - (list_row_activated): If the search hit is a folder, follow it - when activating the row, and switch back to browse mode. - - (search_clear_model), (search_start_query), - (search_entry_activate_cb), (search_setup_widgets): Remember - the last query when switching between modes. - -2007-05-11 Emmanuele Bassi - - GtkFileChooser search fixes and recent files support. (#435342) - - * gtk/gtkfilechooserdefault.c: - (_gtk_file_chooser_default_class_init): Add key binding for - the Search shortcut; default to MOD1+S. - - (search_shortcut_handler): Handle the key binding. - - (search_hit_get_info_cb), (search_add_hit), (search_clear_model), - (search_setup_model): Retrieve informations on the search hits - when adding them to the model. - - (list_icon_data_func): Show the search hit icon. - -2007-05-11 Michael Natterer - - * gtk/gtktextview.c (selection_motion_event_handler): call - gdk_event_request_motions(event) so selecting works with - XInput devices too. Spotted by Tommi Komulainen. - -2007-05-11 Emmanuele Bassi - - * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back - to GtkSearchEngineSimple only if gthread has already been - initialiased; otherwise, disable search support in the file - chooser widget. (#435847) - -2007-05-10 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old - image before overwriting priv->image. (#437281, Jochen Baier) - -2007-05-10 Matthias Clasen - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child): - Correct a confusing warning. (#437284, Björn Lindqvist) - -2007-05-10 Matthias Clasen - - * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into - the backend if the region is empty. (#437081, Sven Neumann) - -2007-05-10 Matthias Clasen - - * gtk/gtksearchenginesimple.c (search_visit_func); - Assume Posix nftw behaviour. - -2007-05-09 Dom Lachowicz - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't - expand/collapse with Right/Left cursor keys on Windows - (#436269, Daniel Atallah) - -2007-05-09 Cody Russell - - * gtk/gtkmenu.c: - (get_arrows_border): New function to calculate the border sizes needed - for the scroll arrows. - (get_arrows_visible_area): New function to calculate the arrows visible - area. - (get_arrows_sensitive_area): New function to calculate the arrows - sensitive area. - (gtk_menu_paint): Refactored code to calculate the border sizes needed - for the scroll arrows into get_arrows_border and the code to calculate - the visible area into get_arrows_visible_area. - (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations - to get_arrows_sensitive_area. - (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by, - gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible, - get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update - callers. (From #436533, Tommi Komulainen) - -2007-05-09 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_key_press), - (gtk_tree_view_key_release): - * gtk/gtkiconview.c (gtk_icon_view_class_init), - (gtk_icon_view_key_press), - (gtk_icon_view_key_release): Disable key bindings during rubber - banding, make pressing Esc stop rubber banding. (#405027). - -2007-05-09 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries - with MIME type "x-directory/normal", instead of GTK_STOCK_FILE. - -2007-05-05 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c: - (gdk_quartz_drawable_get_context), - (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301. - Turns out the lockFocus logic was flawed, now we only lock/unlock - when called outside a real expose event and never flush manually. - -2007-05-03 Behdad Esfahbod - - * gtk/gtklabel.c (gtk_label_ensure_layout): - * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work, - using pango_layout_set_justify() that works now. (#435675) - -2007-05-03 Emmanuele Bassi - - * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove - spurious g_free() call. - -Thu May 3 16:27:34 2007 Tim Janik - - * tests/testgtk.c (create_handle_box): made handle box test non-modal, - so other test can interact with handle boxes. - -2007-05-02 Emmanuele Bassi - - Add search file support in the GtkFileChooser. Original patch - by Federico Mena Quintero; patch updated by Matthias Clasen. - See bug #344785. - - * gtk/gtksearchengine.[ch]: Private search engine abstraction - object. - - * gtk/gtksearchenginebeagle.[ch]: Private search engine - implementation using libbeagle (via g_module_open()). - - * gtk/gtksearchenginesimple.[ch]: Private search engine - implementation using file tree walking. - - * gtk/gtksearchenginetracker.[ch]: Private earch engine - implementation using libtracker (via g_module_open()). - - * gtk/gtkquery.[ch]: Private query object for the search - engines. - - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to - query a search engine backend using GtkQuery; create a new - operating mode, OPERATION_MODE_SEARCH, and call the common - operating mode OPERATION_MODE_BROWSE; add support for virtual - shortcuts inside the shortcuts model and create a new "Search" - virtual shortcut. - - * gtk/Makefile.am: Update the build with the new files - -2007-05-02 Armin Burgmeier - - * gtk/gtkcombobox.c: Destroy the menu in dispose instead of - finalize, because the menu might unparent itself from its parent and - cause a signal emission on a finalized object. (#430746) - -2007-05-02 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs - rendered upside down for non-XP theme (#435053, Daniel Atallah) - -Wed May 2 11:35:45 2007 Tim Janik - - * docs/faq/gtkfaq.sgml: removed, since this file is long outdated - and fully replaced by docs/faq/gtk-faq.sgml. - -2007-05-02 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band - if it's active. - -2007-05-01 Matthias Clasen - - * gtk/gtkiconcachevalidator.c: Don't be too strict when checking - icon flags. (#435062) - -2007-05-01 Matthias Clasen - - * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy - pngs. - -2007-05-01 Matthias Clasen - - * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do): - Don't ignore the fact that gtk_file_system_get_parent() - may return NULL. (#424042, Jan Martinek) - -2007-05-01 Dan Winship - - * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the - leader_window's WM_CLIENT_LEADER points to itself. #435028 - -2007-05-02 Christian Persch - - * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use - GSlice for gtk_tree_iter_copy. Bug #434863. - -2007-05-02 Christian Persch - - * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only - GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug - #434861. - -2007-05-02 Christian Persch - - * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info), - (gtk_paper_size_new), (gtk_paper_size_new_custom), - (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate - GtkPaperSize. Bug #434862. - -2007-05-02 Christian Persch - - * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id), - (gtk_statusbar_expose_event): No need to allocate a guint; just stuff - the ID into the pointer directly. Bug #434865. - -2007-05-01 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData), - (update_current_folder_get_info_cb): add a new struct field to clear - the file entry after the current folder has been updated. - - (gtk_file_chooser_default_update_current_folder), - (change_folder_and_display_error): Add a new function parameter to - trigger file entry clearing. - - (edited_idle_create_folder_cb), - (file_list_drag_data_received_get_info_cb), - (gtk_file_chooser_default_map), - (gtk_file_chooser_default_set_current_folder), - (switch_to_selected_folder), (save_entry_get_info_cb), - (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume), - (shortcuts_activate_get_info_cb), (list_row_activated), - (path_bar_clicked): use new function parameter appropriately. - - (gtk_file_chooser_default_should_respond): trigger file entry clearing - after the directory is updated instead of clearing it before, this way - we avoid reloading the completion model with the soon to be old folder, - causing a warning and a glitch in the folder where completion happens. - (#379414, Carlos Garnacho) - -2007-05-01 Matthias Clasen - - * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator. - - * gtk/updateiconcache.c: Validate the generated cache before - moving it in place. Also add a --validate option to validate - an existing icon cache. - - * gtk/gtkiconcache.c: Validate icon caches before using them. - - * gtk/Makefile.am: Integrate it. - -2007-05-01 Michael Emmel - - * gdk/directfb/gdkdisplay-directfb.c: - Added stub gdk_notify_startup_complete_with_id to compile - * gdk/directfb/gdkwindow-directfb.c: - Added gdk_window_set_opacity - * gdk/directfb/gdkkeys-directfb.c: - Fix menu key handling crash Bug #413328 - -2007-05-01 Christian Persch - - * gtk/gtkprinter.h: - * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to - the new location. Bug #390437. - -2007-04-30 Matthias Clasen - - * gtk/gtksettings.c (settings_update_color_scheme): - Make sure we always have a color_hash. (#423916, Jens Granseuer) - -2007-04-30 Christian Persch - - * docs/reference/gtk/gtk-sections.txt: - * gtk/gtk.symbols: - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.c: (gtk_printer_get_capabilities), - (gtk_print_capabilities_get_type): - * gtk/gtkprinter.h: - * gtk/gtkprintjob.c: - * gtk/gtkprintjob.h: - * gtk/gtkprintunixdialog.c: (selected_printer_changed): - Make gtk_printer_get_capabilities public, and move the - GtkPrintCapabilities definition to gtkprinter.h. Bug #390437. - -2007-04-30 Matthias Clasen - - * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget - must not set the background of its window. (#433972, - Guilherme Polo) - -2007-04-30 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity): - Implement. - -2007-04-30 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Get all - the printer attributes when getting the list of printers, - not via separate requests. (#387889, Krishan Purahoo) - -2007-04-30 Matthias Clasen - - Some more compiler warning fixes. - - * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited): - Fix NULL/FALSE confusion. - -2007-04-30 Matthias Clasen - - Fix some compiler warnings. (#433642, Kjartan Maraas) - - * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info): - (gtk_file_system_win32_create_folder): - * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion. - - * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass - the right type to uri_func. - - * gtk/gtktext.c (gtk_text_key_press): - * gtk/gtkstatusicon.c (gtk_status_icon_get_property): - * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts. - - * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): - (gtk_tray_icon_delete): - * gtk/gtkprintunixdialog.c (create_main_page): - * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables. - - * gtk/gtkliststore.c: Adapt callbacks to GSequence types. - -2007-04-30 Cody Russell - - * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(), - but now we're calling it from _gdk_windowing_window_clear_area() - instead of from the WM_ERASEBKGND event. Also fixes the area - that is cleared so that it is not an extra row and column too - large. (Neil Roberts, #415681) - -2007-04-30 Matthias Clasen - - * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308) - -2007-04-30 Michael Natterer - - * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the - submenu explicitely only in touchscreen mode since otherwise - selecting the item already pops up the submenu. Restores the - drag-selection timeout (spotted by Søren Sandmann, #128968). - -2007-04-30 Michael Natterer - - * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins() - to gtk_paper_size_get_paper_sizes(). - -2007-04-30 Tor Lillqvist - - * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes): - _gtk_load_custom_papers() exists only on Unix. - -2007-04-30 Tor Lillqvist - - Add functionality to set overall opacity of a top-level - window. (#405316) - - * gdk/gdk.symbols: Add gdk_window_set_opacity. - - * gdk/x11/gdkwindow-x11.c - * gdk/win32/gdkwindow-win32.c: Implement - gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY - property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA). - - * gdk/gdkwindow.h: Declare gdk_window_set_opacity(). - - * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document - that this is not implemented in the Windows backend. Add reference - to gdk_window_set_opacity(). - - * gtk/gtk.symbols: Add gtk_window_set_opacity and - gtk_window_get_opacity. - - * gtk/gtkwindow.c (struct _GtkWindowPrivate) - (gtk_window_class_init): Add opacity property, a double in the - range [0, 1]. - (gtk_window_set_opacity, gtk_window_get_opacity): Implement. - (gtk_window_realize): If opacity is set, call - gdk_window_set_opacity(). - - * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and - gtk_window_get_opacity(). - -2007-04-30 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins() - to gtk_paper_size_get_paper_sizes() and optionally include - custom paper sizes. - - * gtk/gtkpagesetupunixdialog.c: Internally export a function - to load custom paper sizes. - - * modules/printbackends/file/gtkprintbackendfile.c: Implement - printer_list_papers, returning all paper sizes. (#434329, - Christian Persch) - -2007-04-30 Matthias Clasen - - * gtk/gtkprintoperation.c: Translate the default job - name, and don't utf8-validate the job name in the - setter. (#421993, Morten Welinder) - -2007-04-30 Matthias Clasen - - * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use - g_unlink. (#421990, Morten Welinder) - -2007-04-29 Matthias Clasen - - Fix some issues with reference handling in the printing - code. (#429902, Mathias Hasselmann) - - * gtk/gtkprintoperation.c (gtk_print_operation_finalize): - Unref the print context, if we have one. - (gtk_print_operation_done): Add a default ::done handler - that unrefs the print context. - (preview_ready): Take a reference on the print operation - preview here. - (print_pages_idle): ...not here, - (preview_print_idle_done): ...and release it here. - - * tests/print-editor.c (preview_cb): Take a reference - on the print operation here. - -2007-04-29 Matthias Clasen - - * gtk/gtkprintoperation.c (print_pages_idle): Don't get - stuck in a recursive mainloop if a synchronous preview - is cancelled. - -2007-04-29 Matthias Clasen - - Make the emission of ::end-print and ::done consistent - for previews. (#347567, Yevgen Muntyan) - - * gtk/gtkprintoperation.c (preview_iface_end_preview): Set - the finished status here. - (preview_end_run): ...and not here. - (print_pages_idle_done): Emit ::done for a cancelled preview. - (print_pages_idle): If a preview has been cancelled, don't - emit ::ready, but emit ::end-print. - - * tests/print-editor.c: Use ::end-print to undo allocations - from ::begin-print. - -2007-04-29 Matthias Clasen - - * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes - in the PWG "custom" namespace as custom. Add a link to - the spec in the docs. (#426416, Andreas Guelzow) - -2007-04-29 Matthias Clasen - - * gtk/gtkprintoperation.c (gtk_print_operation_run): Document - that a print operation can be run only once, and add a - corresponding g_return_if_fail(). (#379399, Masao Mutoh) - -2007-04-29 Dan Winship - - * gdk/x11/gdkdisplay-x11.c - (gdk_x11_display_broadcast_startup_message): New method to - marshall and send a Startup Notification message. (from #415070) - (gdk_notify_startup_complete_with_id): Use that - -2007-04-29 Mattthias Clasen - - * gtk/gtkprintoperation-unix.c - (_gtk_print_operation_platform_backend_launch_preview): - Don't leak a file descriptor, and don't make the error - dialog modal. (#421985, Morten Welinder, Christian Persch) - -2007-04-29 Xan Lopez - - * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706, - Diego Escalante Urrelo). - - I'm fixing gtk-faq.sgml as it seems this is the file - we actually use... - -2007-04-29 Matthias Clasen - - * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): - Only strip parentheses of the form (_x). (#434261, - Brian Wellington) - -2007-04-29 Matthias Clasen - - * gtk/gtkprintoperation-unix.c - (_gtk_print_operation_platform_backend_launch_preview): - Support passing a print settings file to the preview - command. (#403717, Christian Persch) - - * gtk/gtksettings.c: Document %s in the - gtk-print-preview-command setting. - -2007-04-29 Matthias Clasen - - * gtk/gtkprintoperation.c (print_pages_idle): Also check - the default handler when deciding whether to emit the - paginate signal. (#345345, Yevgen Muntyan) - -2007-04-29 Matthias Clasen - - * gtk/gtkprintoperation.h: Add a new error code - - * gtk/gtk.symbols: - * gtk/gtkpagesetup.[hc]: - * gtk/gtkpapersize.[hc]: - * gtk/gtkprintsettings.[hc]: Add functions to serialize - and deserialize page setups and print settings to files - and key files. (#344515, Christian Persch) - - * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions. - - * tests/print-editor.c: Use the new functions to persist - page setup and print settings. - -2007-04-29 Matthias Clasen - - * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize): - Free the custom paper list. (#403267, Felix Riemann) - -2007-04-29 Matthias Clasen - - * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a - small memory leak. (#403251, Felix Riemann) - -2007-04-29 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Fix a - typo. String change ! (#406160, Stephane Raimbault) - -2007-04-29 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkpapersize.[hc]: Add a function to list the - builtin paper sizes. (#382355, Christian Persch) - -2007-04-29 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and - gtk_printer_request_details() public. - - * gtk/gtkpagesetupunixdialog.c: - * gtk/gtkprintunixdialog.c: Update callers. (#389203, - Christian Persch) - -2007-04-28 Matthias Clasen - - * configure.in: Add --enable-test-print-backend, defaulting - to no. - - * modules/printbackends/Makefile.am: Make building the test - print backend conditional. - -2007-04-28 Matthias Clasen - - * modules/printbackends/lpr/*: - * modules/printbackends/cups/*: Correct some copyright lines. - - * configure.in: - * modules/printbackends/Makefile.am: - * modules/printbackends/test/*: Add a test print backend. - (#409089, John Palmieri) - -2007-04-28 Matthias Clasen - - * gtk/gtktexttag.[hc]: Add a way to specify accumulative - margins. (#344499, Nate Nielsen) - -2007-04-28 Matthias Clasen - - * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets - of the input-only window if we also have a visible window. - (#405089) - -2007-04-28 Matthias Clasen - - * gtk/gtkliststore.c (gtk_list_store_set_valist_internal): - * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal): - Recognize negative column indices as invalid. (#415260, - Chris Wilson) - -2007-04-28 Ronald Bultje - - * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func), - (poll_func): fix two more potential races that could happen when - an application is polling in the mainloop and a separate thread - tries to wake it up using g_idle_add(). Fixes #425271 comment 5. - -2007-04-28 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_grab_focus): - (gtk_entry_real_insert_text): Only call g_object_get() - when necessary. (#373137, Morten Welinder, patch by Xan Lopez) - -2007-04-28 Matthias Clasen - - * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add - a note about being embedded. (#340107, Christian Persch) - -2007-04-28 Matthias Clasen - - * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to - restrict drags within an application/widget. (#163141, - Jorn Baayen) - -2007-04-28 Matthias Clasen - - * docs/tools/Makefile.am: - * gtk/Makefile.am: Make make clean clean. (#410160, Tommi - Komulainen) - -2007-04-28 Matthias Clasen - - * gdk/win32/bdfcursor.c (compose_cursors_from_fonts): - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): - * gtk/gtkfilesystemmodel.c (got_root_folder_cb): - (get_children_folder_cb): Plug memory leaks caused by wrong - use of g_slist_remove_link(). (#405515, Nicolas Peninguy) - -2007-04-28 Matthias Clasen - - * demos/gtk-demo/printing.c: Fix the headers in the print - demo. (#423722, Yevgen Muntyan) - -2007-04-28 Xan Lopez - - * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): - Use strstr instead of g_strstr with -1 for length. - -2007-04-28 Xan Lopez - - * gtk/gtkentry.c: - * gtk/gtkentrycompletion.c: - * gtk/gtkentrycompletion.h: - * gtk/gtkentryprivate.h: - - Remember the user input that triggered the completion, add - API to the retrieve it and reset the entry contents to it - if the user cancels the tentative completion during - the inline-selection. - -2007-04-27 Matthias Clasen - - * gdk/x11/gdkgeometry-x11.c: Factor out window movement - functions. (#63820, Tilman Sauerbeck) - -2007-04-27 Matthias Clasen - - * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos(). - (#63820, Tilman Sauerbeck) - -2007-04-27 Matthias Clasen - - * gdk/x11/gdkgeometry-x11.c: Factor out window mapping - and unmapping functions. (#63820, Tilman Sauerbeck) - -2007-04-27 Matthias Clasen - - * gdk/x11/gdkgeometry-x11.c: Make list handling code - easier to read. (#63820, Tilman Sauerbeck) - -2007-04-27 Matthias Clasen - - * gtkassistant.c: - * gtkiconfactory.c: - * gtkiconview.c: - * gtkpapersize.c: - * gtkrecentmanager.c: - * gtktextiter.c: Internalize some strings, pointed out - by Damon Chaplin. - -2007-04-27 Xan Lopez - - Support inline-selection in entries (#318459) - - * gtk/gtkentry.c: - * gtk/gtkentrycompletion.c: - * gtk/gtkentrycompletion.h: - * gtk/gtkentryprivate.h: - - When enabled cursor-match is emited when the cursor is on - a possible completion on the list. The default implementation - will replace the contents on the entry with the contents of - the text column in the completion model. - - Review and improvements by Matthias Clasen. - -2007-04-27 Michael Natterer - - Merged heavily modified patch from maemo-gtk which enables opening - and closing submenus on click, and introduces some usability - changes when gtk-touchscreen-mode is enabled (bug #128968): - - * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean - "activated_submenu" to indicate that the current mouse operation - (click or drag) has opened a submenu. - - (gtk_menu_shell_button_press): pop up submenus without delay - and record the fact in "activated_submenu". - - (gtk_menu_shell_button_release): if a submenu was explicitely - opened, or not opened by this release's button_press, or enough - time has passed since timeout-opening it, close the submenu here. - - (gtk_menu_shell_enter_notify): when entering a menu item with - any mouse button pressed, open its submenu. - - (gtk_real_menu_shell_move_current): in touchsreen mode, close the - submenu when moving the focus away from it via keyboard-navigation. - - * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added - parameter "gboolean with_delay" so GtkMenuShell can control this - for the different scenarios of submenu showing. - - (_gtk_menu_item_popdown_submenu): new function. also needed by - GtkMenuShell for closing submenus on click. - - Renamed internal function gtk_menu_item_select_timeout() to - gtk_menu_item_popup_timeout(). - - (gtk_menu_item_real_popup_submenu): new utility function which - does the actual popup and records the exact time of the popup when - the menu was timeout-opened (using g_get_current_time()). - - (gtk_real_menu_item_select): don't add the popup timeout when in - touchscreen mode. - - * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the - first item of every opened menu. - -2007-04-26 Matthias Clasen - - * gtk/gtkfilechooserentry.c: Append a '/' to directory names - in the completion popup. (#431323, Maarten Maathuis) - -2007-04-26 Matthias Clasen - - * demo/gtk-demo/combobox.c: Add a simple validation demo. - * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary - children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev) - -2007-04-26 Tor Lillqvist - - * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes) - (gtk_input_dialog_fill_keys): Remove old child of scrolled window - before adding a new one when switching what input device is being - handled. (#399425) - -2007-04-26 Matthias Clasen - - * modules/printbackends/lpr/gtkprintbackendlpr.c - (gtk_print_backend_lpr_init): Mark the printer list as done. - (#428665, Bogdan Gheorghe) - -2007-04-26 Matthias Clasen - - * Makefile.am: - * gtk/Makefile.am: Don't install UNIX-printing headers and - support files on non-UNIX platforms. (#425655, Vincent Geddes) - -2007-04-26 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept - unnamed separators. (#369112, Christian Persch) - -2007-04-26 Matthias Clasen - - * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access - invalid memory. (#429732, Armin Burgmeier) - -2007-04-26 Cody Russell - - * gdk/win32/xcursors.h: - * gdk/win32/gdkcursor-win32.c: - - Use Win32 native cursors instead of the ones built into GTK - where it makes sense. (#128852, Tim Evans) - -2007-04-25 Cody Russell - - * gdk/gdkwindow.h: - * gtk/gtkwidget.c: - * gtk/gtkhandlebox.c: - * gdk/directfb/gdkwindow-directfb.c: - * gdk/linux-fb/gdkwindow-fb.c: - * gdk/quartz/gdkwindow-quartz.c: - * gdk/win32/gdkwindow-win32.c: - * gdk/x11/gdkwindow-x11.c: - Added window type hint and implement drop shadows on Win32 - for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz) - -2007-04-25 Jakub Steiner - - * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of - gtk-close as per discussion in bug #431740. - -2007-04-25 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background - of the header window again. (#431067, Benjamin Berg) - -2007-04-25 Matthias Clasen - - * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to - NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf() - depends on it. - - * tests/testicontheme.c: Report builtin icons. - -2007-04-25 Matthias Clasen - - * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't - crash if end_run is not set. (#424168, Matthias Hasselmann) - -2007-04-25 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of - scroll buttons (we were setting the state to ACTIVE but - immediately overwriting it with NORMAL or PRELIGHT). Also got rid - of many separate calls to gdk_window_invalidate_rect() by - remembering the old button state and only invalidating the area if - the state has changed (addresses parts of bug #433242, Tommi - Komulainen). - - (gtk_menu_scroll_to): change the arrow states only if changing - from or to INSENSITIVE state, so we don't overwrite the ACTIVE - state set by above function. - -2007-04-25 Michael Natterer - - * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the - build. Dunno if the fix is right, but I think it is. - -2007-04-25 Kristian Rietveld - - * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): - cleanup/refactor some leftover code. - -2007-04-24 Matthias Clasen - - * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse - half-open ranges like -2 or 3-, and be a bit more liberal - about whitespace. - (dialog_set_page_ranges): Support half-open ranges. - - * gtk/gtkprintoperation.c (print_pages_idle): Substitute the - number of pages in half-open ranges. - (preview_iface_is_selected): Support half-open ranges here, too. - -2007-04-24 Chris Wilson - - * gtk/gtkicontheme.c (scan_directory): Ensure the - icon_theme->all_icons and dir->icons hash tables use the same string - as their keys. (#418531) - -2007-04-23 Cody Russell - * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on - left-most tab when notebooks are top-oriented. Also general cleanup of - notebook tab related code. (Lieven van der Heide, Cody Russell) - -2007-04-23 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Reduce - the amount of debug spew if we are not debugging. - -2007-04-23 Michael Natterer - - * tests/Makefile.am (testtooltips_SOURCES): fix typo: - testtoooltips_SOURCES -> testtooltips_SOURCES. - -2007-04-19 Cody Russell - - * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering - for Windows Vista. (#392015, Hiroyuki Yamamoto) - -2007-04-19 Dominic Lachowicz - - * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in - non-WinXP rendering paths. From Daniel Atallah (#403470) - -2007-04-19 Matthias Clasen - - * gtk/gtkicontheme.h: - * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK - icon lookup flag and implement it. (#396901, Luca Ferreti) - -2007-04-18 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_quartz_process_updates_internal), - (gdk_window_quartz_process_all_updates), - (gdk_window_impl_quartz_process_updates): Refactor the process - updates functions to share code between them. Also fixes bug - #427660 by not updating larger regions than necessary. - -2007-04-18 Matthias Clasen - - * gdk/gdkregion-generic.h (GROWREGION): Handle the case - of nRects == 0 correctly. - -2007-04-18 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix - a leak by not increasing the refcount of the GtkRecentInfo - object when returning it (thanks to Matthias Clasen). - -2007-04-16 Alexander Larsson - - * gtk/gtkprintoperation.c (gtk_print_operation_run): - Make async print preview work by actually starting - the print process in that case (#424168) - -2007-04-14 Yevgen Muntyan - - * gtk/gtkselection.c (selection_get_text_plain): fixed - wrong g_convert_with_fallback() call which caused - gtk_selection_data_get_text() return invalid UTF-8 for - non-ASCII text in text/plain selection (#382824). - -2007-04-12 Jakub Steiner - - * gtk/stock-icons/*: update the stock icons to follow the Tango - style guidelines - -2007-04-11 Chris Wilson - - * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids): - * gtk/gtkstock.c (gtk_stock_list_ids): - Switch over to use glib's new g_hash_table_get_keys() rather - than our own static implementation. - - * gtk/gtkiconfactory.h: Update to return a GList. - - * configure.in: Bump required version to 2.13.1 - -2007-04-11 Ronald S. Bultje - - * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread - setup and shutdown function by mutexes and read the wakeup - pipe unconditionally and unblocking. This should make the main - loop always be woken up when using g_idle_add() from another - thread in the Quartz backend (#425271). - -2007-04-10 Matthias Clasen - - * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc - to return a Bool to indicate success. Update callers and - implementors. Based on a patch by Owen Taylor. - - * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't - leak a reference to gdkwin. - -2007-04-07 Xan Lopez - - * gtk/gtknotebook.c (gtk_notebook_class_init): - s/arrow-size/arrow-spacing in the arrow-spacing - style property docs. - -2007-04-06 Richard Hult - - * gdk/quartz/: Clean up namespaces to make the code more - maintainable. - - * gdk/quartz/gdkdrawable-quartz.c: - * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled - images, by setting the pattern phase for the CG pattern. - -2007-04-04 Kristian Rietveld - - * gtk/gtktooltip.c (tooltip_browse_mode_expired), - (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout), - (gtk_tooltip_start_delay): use new gdk_threads API. - -2007-04-03 Behdad Esfahbod - - * gtk/gtksettings.c (settings_update_font_options): Don't set - metrics-hinting font option. Rely on the default value which is - on for all raster cairo surfaces. (#425985) - -2007-04-03 Loïc Minier - - * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to - non-xinerama mode when XineramaQueryScreens returns NULL; patch from - Simon McVittie; #425786. - -2007-04-02 Michael Natterer - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove - artifact from the time when type checking casts warned on NULL, - some whitespace cleanup. - -2007-04-01 Cody Russell - - * modules/engines/ms-windows/msw_style.c: Fix rendering of - notebook tabs when they are bottom-oriented. Fixes #399253. - -2007-03-31 Elijah Newren - - * gdk/x11/gdkwindow-x11.c (setup_toplevel_window, - gdk_x11_window_set_user_time): - Patch from Matthias to add support for the - _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213. - - WARNING: This patch will make metacity <= 2.18.0 freeze on - workspace switch. This is due to a weird problem that should only - affect window managers using gdk in-process for decoration drawing - and which make an unsafe assumption relating to doing so (i.e. it - should only affect metacity). Upgrade your version of metacity if - you hit this bug. - -2007-03-29 Michael Natterer - - Don't close menus on clicks on their border area (bug #423761). - (modified patch from maemo-gtk). - - * gtk/gtkmenu.c (gtk_menu_button_press) - (gtk_menu_button_release): bail out early if the click was on the - menu's border (not on any item and not outside the window). - - (pointer_in_menu_window): new utility function which checks if - passed root coords are inside the menu_shell or one of its - parent shells. - -2007-03-29 Michael Natterer - - * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving - gtk_widget_get_settings() into the g_object_get() call. Some small - indentation fixes. - -2007-03-28 Matthias Clasen - - * modules/printbackends/cups/gtkcupsutils.[hc]: - * modules/printbackends/cups/gtkprintbackendcups.c: Apply - a patch by John Palmieri to make the cups print backend support - raw printers. - -2007-03-28 Kristian Rietveld - - * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref - tooltip_window, since this is handled by set_qdata_full() already. - (#412001, Torsten Schoenfeld). - -2007-03-27 Tor Lillqvist - - * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: - -2007-03-26 Christian Persch - - * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064. - -2007-03-24 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - calculate the depth with the corrected real_cell_area and don't - subtract horizontal_separator/2. - -2007-03-24 Andreas Nilsson - - * gtk-yes.png - * gtk-no: More Tango love. - -2007-03-23 Jakub Steiner - - * gtk-dialog-authentication.svg - * gtk-dialog-error.svg - * gtk-dialog-info.svg - * gtk-dialog-question.svg - * gtk-dialog-warning.svg: Start with a Tango face-lift. - -2007-03-23 Rodney Dawes - - * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627) - -2007-03-23 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to - toggle whether to show hidden files. (#344657, - Wouter Bolsterlee, Priit Laes, et al) - -2007-03-23 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to - toggle the visibility of the location entry. (#383354, - John Pye, patch by Carlos Garnacho) - -2007-03-22 Matthias Clasen - - * gtk/gtksettings.c (merge_color_scheme): Freeze property - notification. - * gtk/gtksettings.c (_gtk_settings_handle_event): Handle - the gtk-color-scheme xsetting being unset. - - * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle - recursion locally. - -2007-03-21 Matthias Clasen - - * gtk/gtkprintoperation-unix.c: Remove leftover debug spew. - -2007-03-21 Rodney Dawes - - * gtk/gtk.symbols: - * gtk/gtkicontheme.[ch]: - * docs/reference/gtk/gtk-sections.txt: - * tests/testicontheme.c: - Add a new API call gtk_icon_theme_list_contexts so that one can - choose icons from a theme by context (#420719) - -2007-03-21 Ross Burton - - * gtk/gtktexttag.c: - Document the ::event signal (#420703). - -2007-03-20 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c: - * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area(). - - * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add - focus_to_cell parameter, rework to handle clamping columns which - are bigger than the available page size better, - (gtk_tree_view_key_press): remove code handling moving the focus - to other column headers, - (gtk_tree_view_header_focus): add clamp_column_visible parameter, - fix RTL support, don't wrap around when moving focus to other - column headers, call gtk_tree_view_clamp_column_visible() instead - of duplicating code, - (gtk_tree_view_focus): only clamp the column visible when we are - explicitly moving to another column header (fixes #399555, Charles - Kerr), - (gtk_tree_view_move_cursor_left_right): update call to - gtk_tree_view_clamp_column_visible(). - -2007-03-19 Matthias Clasen - - * demos/gtk-demo/appwindow.c: Explicitly set the title on the - about dialog. - -2007-03-18 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix): - Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev) - -2007-03-18 Matthias Clasen - - * modules/input/gtkimcontextmultipress.[hc]: - * modules/input/im-multipress.conf: - * modules/input/immultipress.c: - * modules/input/README.multipress: Add the multipress input - method. (#417446, Johannes Schmid, Murray Cumming) - - * modules/input/Makefile.am: Glue - -2007-03-17 Chris Wilson - - * gdk/x11/gdkvisual-x11.c (_gdk_visual_init): - Initialise nxvisuals to 0 in order to handle XGetVisualInfo() - failures gracefully. (#419171) - -2007-03-17 Emmanuele Bassi - - * gtk/gtkrecentaction.c (recent_chooser_set_property), - (gtk_recent_action_set_property): Remove useless inlined - function and propagate the properties to the GtkRecentChooser - objects we create, instead of all the proxies. - - (set_current_filter): Remove 'inline' marker. - -2007-03-16 Emmanuele Bassi - - Apply changes suggested by Michael Natterer. (#338843) - - * gtk/gtkaction.h: - * gtk/gtkaction.c: Rename get_submenu() to create_menu(); - rename gtk_action_get_submenu() to gtk_action_create_menu(). - - * gtk/gtkrecentaction.c: Update for GtkAction change. - - * gtk/gtkuimanager.c (update_node): Update for GtkAction change; - also, use the menu from the GtkAction for both menuitem and - toolitem nodes. - -2007-03-16 Xan Lopez - - * gtk/gtkwidget.c: Fix documentation error in - gtk_widget_set_redraw_on_allocate. - -2007-03-16 Matthias Clasen - - * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to - make the selected printer visible. (#418403, Nickolay V. Shmyrev, - patch by Christian Persch) - -2007-03-15 Federico Mena Quintero - - Merged from gtk-2-10: - - * gtk/gtkfilechooserdefault.c (find_good_size_from_style): - PANGO_PIXELS() gives us device units, which are *points* in - pangocairo's parlance, but we want actual pixels. So, get the - screen's resolution to compute the actual number of pixels. - Fixes bug #418585. - -2007-03-15 Emmanuele Bassi - - * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove - unused GError; do not allocate GtkRecentData and use a variable - on the stack. (#418673, Morten Welinder) - -2007-03-15 Emmanuele Bassi - - * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc: - actions providing a menu item or a menu tool button with already - a submenu should return the GtkMenu widget. - - * gtk/gtkuimanager.c (update_node): If an action provides its - own submenu, use it instead of adding an empty one - - * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action - implementing the GtkRecentChooser interface for displaying the - list of recently used files into menus and toolbars generated - using GtkUIManager. (#338843) - - * gtk/Makefile.am: - * gtk/gtk.h: - * gtk/gtk.symbols: Add GtkRecentAction API to the build. - - * tests/testactions.c: Exercise the GtkRecentAction API. - -2007-03-15 Chris Wilson - - * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes), - (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes() - from recursion, which can happen for example if the app tries to - reload an icon from within a theme-changed handler. (#418531) - -2007-03-15 Richard Hult - - * gdk/quartz/gdkmain-quartz.c: Add stubs for - gdk_notify_startup_complete_with_id and gdk_window_set_startup_id - here too. - -2007-03-15 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten - Welinder) - -2007-03-15 Tor Lillqvist - - * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and - gdk_window_set_startup_id. - - * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above. - -2007-03-15 Emmanuele Bassi - - * gtk/gtkrecentchooserprivate.h: - * gtk/gtkrecentchooserutils.c: Move filtering of the recent - files list into the shared implementation; do the filtering - before the sorting, so that we always clamp on the desired - size. (#418219) - - * gtk/gtkrecentchoosermenu.c: Remove the filtering of the - list, as it's already been done. - - * gtk/gtkrecentchooserdefault.c: Ditto; also remove the - GtkTreeModelFilter: just reload the view if the sorting and - filtering properties change. - - * gtk/testrecentchoosermenu.c: Exercise the limit property. - -2007-03-14 Michael Natterer - - Make gtk_widget_set_extension_events() work on already realized - widgets (bug #379550, Tommi Komulainen) - - * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be - called multiple times without leaking and work correctly when - already realized (don't rely on a configure event following). - - * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new - internal function which walks the GdkWindow tree and sets the - extension events on all windows that belong to the widget. - - (gtk_widget_realize) - (gtk_widget_set_extension_events): use the new function. - -2007-03-14 Emmanuele Bassi - - Various clean ups in the GtkRecent code. (see #338843) - - * gtk/gtkrecentchooserdefault.c: - * gtk/gtkrecentchoosermenu.c: - * gtk/gtkrecentchooserprivate.h: - * gtk/gtkrecentchooserutils.c: Move the recent chooser function - for getting the sorted and clamped list of recent files from the - manager outside the implementations. - - * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate - the list when the sorting order changes. - - (gtk_recent_chooser_default_dispose), - (gtk_recent_chooser_default_finalize): Move object unref and - source removal from finalize to dispose. - - * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the - prerequisite for the GtkRecentChooser interface implementations, - from GtkObject to GObject. - - (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of - G_PARAM_* - -2007-03-13 Emmanuele Bassi - - Apply patch by Vytautas Liuolia for changing the startup - notification id on a window in the X11 backend. (#347375) - - * gdk/gdk.h: - * gdk/gdkx.h: - * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id() - and gdk_x11_display_get_startup_notification_id(). - - * gdk/gdkwindow.h: - * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id(). - - * gtk/gtkwindow.h: - * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to - change the startup notification id. - - (gtk_window_class_init), (gtk_window_init), - (gtk_window_set_property): Add write-only "startup-id" property - to GtkWindow. - - (gtk_window_realize): Set the startup notification id - on a GtkWindow if it's valid. - - (gtk_window_map): If we have another valid startup notification - id then finish the notification process. - -2007-03-13 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_real_insert_page): - Fix tabbed browsing in epiphany. (#413664, Christian Persch) - -2007-03-12 Matthias Clasen - - * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify - docs. (#345844, Torsten Schoenfeld) - - * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter): - * gdk/gdkwindow.c (gdk_window_add_filter): Add - cross-references. (#351252, Vincent Untz) - - * gtk/gtkprintoperation.c: Fix an oversight in an - example. (#381083, Ian Puleston) - - * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484) - -2007-03-12 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set - the background of the panel window on style changes. (#402144, - Benjamin Berg) - -2007-03-12 Matthias Clasen - - * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove - an obsolete comment. (#402169, Xan Lopez) - -2007-03-12 Matthias Clasen - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property): - Don't copy PangoLanguage. (#340031, Morten Welinder) - -2007-03-12 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb): - Handle the row reference path being NULL. (#410565, Joe Markus - Clarke, patch by Chris Wilson) - -2007-03-11 Matthias Clasen - - * tests/testiconview.c: Handle Menu key presses without - crash. (#385637, Christian Persch) - -2007-03-11 Matthias Clasen - - * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): - Don't crash if active_tips_data is NULL. (#382904, Li Yuan) - -2007-03-11 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark - to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez) - -2007-03-12 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (check_save_entry): immediately - bail out if current_folder is NULL. (#350988, lots of reporters, - modified patch by Jan Darmochwal). - -2007-03-10 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only - hide the search dialog and send focus events if the search dialog - is currently visible. - -2007-03-10 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c: - (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime. - (gdk_quartz_drawable_get_context): Update for the new quartz cairo - surface API (#410442). Don't lock focus unless called outside of an - expose event. - (gdk_quartz_drawable_release_context): Only flush the CG context and - unlock focus if called outside of expose. - (_gdk_quartz_drawable_finish): New function, used to free the cached - cairo surface. - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_begin_paint_region): A few small style changes. - (_gdk_window_impl_quartz_get_type): No need to make the type info - static. - (gdk_window_quartz_process_all_updates): Move the autorelease pool - allocation and freeing outside the loop. - (_gdk_windowing_window_destroy): Finish the drawable. - (move_resize_window_internal): Small cleanup and remove comment. - - * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable. - -2007-03-10 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix - a build warning. - -2007-03-10 Richard Hult - - * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak. - -2007-03-10 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check. - -2007-03-10 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set - the font name here, leave that to themes, fixes #387508. - -2007-03-10 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node), - (gtk_tree_model_sort_real_unref_node): when (un)reffing an - element, also (un)ref its parent elements. (Fixes #364946, - reported by many, testcase by Andreas Koehler). - -2007-03-10 Matthias Clasen - - * gtk/gtkprintoperation-unix.c: Initialize the do_preview - field of PrintResponseData. (#396703, Christian Persch) - - * tests/print-editor.c: Plug some leaks. - -2007-03-09 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_end_selection_drag): - Get rid of the unused event argument. Update all callers. - - * gtk/gtktextview.c (gtk_text_view_focus_out): Call - gtk_text_view_end_selection_drag. (#351671, Boyd Timothy) - -2007-03-09 Matthias Clasen - - * modules/input/gtkimcontextxim.c - (gtk_im_context_xim_filter_keypress): Don't commit - modifier-adorned characters. (#331369, #335796, Lin Ma - and others) - -2007-03-09 Matthias Clasen - - * Everywhere: Remove unnecessary NULL checks before - g_free(). (#369666, Morten Welinder, Djihed Afifi) - - * configure.in: Check for ftw.h - -2007-03-09 Matthias Clasen - - * gtk/gtkfilesystemwin32.c (get_icon_path): Remove - C99isms. (#416525, Kazuki Iwamoto) - -2007-03-09 Tor Lillqvist - - * README.win32: Update. - -2007-03-08 Matthias Clasen - - * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks - to an idle to avoid deadlock with xcb-ified libX11. (#413032, - Sebastian Dröge) - -2007-03-08 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_real_insert_page): - Set child visibility to FALSE here; it will be turned - back on in switch_page. (#413664, Carlos Garnacho) - -2007-03-08 Mathias Hasselmann - - * modules/engines/ms-windows/msw_style.c: Use proper border style - when drawing shadow of scrolled windows on Windows XP (#168326) - * modules/engines/ms-windows/xp_theme.c: Explicitly set size of - element_part_map array to ensure it always is large enough. - -2007-03-08 Mathias Hasselmann - - * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type - property of GtkEntry accordingly, unify size-allocation of toggle - button (#411123, patch from Mathias Hasselmann). - * gtk/gtkentry.c: Add shadow-type property. Query style properties - on style changes only (#411123, patch from Mathias Hasselmann). - * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box - hack as GtkComboBox emits drawing requests now (#411123, patch - from Mathias Hasselmann). - -2007-03-08 Mathias Hasselmann - - * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows - by implementing a scrollbars-within-bevel style property. (#168326) - -2007-03-08 Mathias Hasselmann - - * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are - stored in the current theme with the name - "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell - icons as reported by SHGetFileInfoW. (#412221) - -2007-03-07 Matthias Clasen - - * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the - focus around the arrow if there is no label widget. - (#124045, Cody Russell) - -2007-03-07 Matthias Clasen - - * gtk/gtkcombo.c: (gtk_combo_init): - * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget), - (gtk_combo_box_menu_setup): - Set names on the popup widgets to make them themable. (#414975, - Benjamin Berg) - -2007-03-07 Michael Natterer - - * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions - instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove - empty finalize() implementation, some cosmetic cleanup - (bug #415645). - -2007-03-06 Chris Wilson - - * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init), - (do_theme_change), (gtk_icon_theme_set_custom_theme), - (load_themes): - Be careful not to trigger a style reset before we have loaded - the icon theme. (#414875). - -2007-03-06 Tor Lillqvist - - * gdk/Makefile.am - * gtk/Makefile.am: Further fixes for building on Win32 outside - srcdir. (#413492, Mathias Hasselmann) - -2007-03-04 Ihar Hrachyshka - - * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be - fixed. - -2007-03-04 Claudio Saavedra - - * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently - breaking the build. - -2007-03-04 Ihar Hrachyshka - - * configure.in: Added be@latin to ALL_LINGUAS - -2007-03-03 Guillaume Savaton - - * configure.in: Added Esperanto (eo) to ALL_LINGUAS - -2007-03-01 Matthias Clasen - - * gtk/gtksettings.c: Always store gtk-color-scheme - values from all sources in the ColorSchemeData struct - and ignore the property_value for gtk-color-scheme. - This fixes #412596, reported by Thomas Wood. - -2007-02-28 Matthias Clasen - - * gtk/gtksettings.c: Make color scheme update properly - when changing themes. (#402131, Benjamin Berg) - -2007-02-28 Matthias Clasen - - * gtk/gtkrc.c: Don't leak references to the color-hash - gotten from GtkSettings. (#409357, Benjamin Berg) - -2007-02-28 Tristan Van Berkom - - * gtk/gtkradiobutton.c: Fixed a warning from - g_object_set (radiobutton, "group", NULL, NULL). - -2007-02-26 Matthias Clasen - - Apply a patch by Carlos Garnacho to fix several problems - with filechooser size handling (#325477, #151169, 143213, - #153785) - - * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly. - (browse_widgets_create): Don't force the paned position to 200. - (find_good_size_from_style): Take the size of the extra widget - into account. - - * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints): - Accept a minimal width parameter. Update all callers. - -2007-02-26 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Change the label to "Pages per side", - which is more accurate, suggested by Tim Waugh. String change! - -2007-02-26 Matthias Clasen - - * gtk/gtkprinteroptionwidget.c: Make the folder selection for - print-to-file work. Reported by Ian Collier. - -2007-02-26 Chris Wilson - - Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash - - * gtk/gtkicontheme.c: (scan_directory): - Reorder the replacement of the shared base_name key, so that we - avoid dereferencing the string in the icon_theme->all_icon - hash table after freeing it from the dir->icons hash table. - -2007-02-26 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add - comment clarifying that "icon name" here is not related to the - freedesktop.org icon naming stuff. - -2007-02-23 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for - progress bar on windows classic. Match from Mathias Hasselmann. - -2007-02-19 Tor Lillqvist - - * gdk/win32/gdkinput.c - (gdk_device_finalize, gdk_device_class_init): Remove. - (gdk_device_get_type): Drop class init function. The X11 version - doesn't have one either. - (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display. - (gdk_display_list_devices): Check that the argument is - _gdk_display. - - * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate): - Cleanup: remove unused fields. - * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function - names in a few debugging printouts. - -2007-02-18 Matthias Clasen - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually): - Ignore invisible text when going to end of the previous line. - (#382565) - -2007-02-18 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_quartz_process_all_updates), - (_gdk_windowing_window_destroy): Setup release pools to plug two leaks, - patch from Erik van Pienbroek, fixes bug #396649. - -2007-02-18 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: Add stub for - gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes - bug #405870. - - * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings. - -2007-02-18 Richard Hult - - * gdk/quartz/GdkQuartzView.h: - * gdk/quartz/GdkQuartzWindow.h: - * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h. - * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use - userSpaceScaleFactor for 10.3. Those changes bring us closer to working - on panther, patch from Mathias Hasselmann. - - * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings. - -2007-02-16 Behdad Esfahbod - - * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS - instead of division. (#334617) - -2007-02-16 Kristian Rietveld - - * gtk/gtktreeprivate.h: add cursor_offset field. - - * gtk/gtktreeview.c (gtk_tree_view_init), - (gtk_tree_view_move_cursor_page_up_down): fix off by one error - in page up/down handling by memorizing the offset into the cursor - row. (Fixes #399809, reported by Bruce Bowler). - -2007-02-16 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send - a focus-in event to the tree view after hiding the search dialog. - (#356515, Rich Burridge, Peter Parente). - -2007-02-16 Kristian Rietveld - - * tests/testtooltips.c (query_tooltip_text_view_cb): also handle - keyboard tooltips. (#408325, Matthias Clasen). - -2007-02-16 Xan Lopez - - * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic - in expose event handler. Reviewed by Matthias Clasen, #406112 - -2007-02-16 Matthias Clasen - - * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan - Maraas) - -2007-02-15 Matthias Clasen - - * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more - careful when checking for ButtonRelease events that end implicit - grabs. (#386618, Christof Krüger) - -2007-02-15 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines - even if there are no views. (#408018, Albert Huang) - -2007-02-15 Cody Russell - - * gdk/win32/gdkevents-win32.c: Make sure we get enough main context - iterations while we're resizing so that the window contents are resized - more smoothly (#389765). - - * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents - are resized (#310522). - -2007-02-15 Matthias Clasen - - * gtk/updateiconcache.c: Handle symlinked .icon files - intelligently; also avoid storing duplicate strings. - -2007-02-15 Michael Natterer - - * gtk/gtkmenushell.c: remove two antique function typedefs that - are probably obsolete for ages. - -2007-02-14 Stefan Kost - - reviewed by: Matthias Clasen - - * configure.in: determine installation prefixes of dependent libs to - crossreference docs (#407146). - -2007-02-14 Kristian Rietveld - - * gtk/gtktooltip.c (child_location_foreach): check return value - of gtk_widget_translate_coordinates() so we cannot end up - using uninitialized x, y values. (#407863, patch from Carlos - Garnacho). - -2007-02-14 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button): - use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window - position instead of a hardcoded value. (Taken from maemo-gtk). - -2007-02-14 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the - state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from - maemo-gtk. - -2007-02-13 Kristian Rietveld - - * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any - pending tooltip timeout. (Fixes #406110, Carlos Garnacho). - -2007-02-10 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: Fix the english of the comment; - remove some type checking; use better variable naming for the - internal menu item markers. - -2007-02-09 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: Add support for both prepending - and appending custom menu items. - - (gtk_recent_chooser_menu_constructor): Add a placeholder menu - item for the empty menu case, and for giving us a starting - point for the recent items populating process. - - (gtk_recent_chooser_menu_insert_item), - (gtk_recent_chooser_menu_dispose_items): Insert an item at - the position following the placeholder (and find that position - if needed). - - (idle_populate_func), (idle_populate_clean_up): Show the - placeholder menu item, instead of creating one each time. - - (gtk_recent_chooser_menu_populate): Kill some indirections - and hide the placeholder before populating the menu. - - (set_recent_manager): Remember to remove the idle population - source if the manager changes. - - * tests/testrecentchoosermenu.c: Test the appending and - prepending of the menu items to the recent chooser menu - widget. - -2007-02-08 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count - of the displayed items to build the menu items mnemonic instead - of the overall item count. (#377164) - - (idle_populate_clean_up): Append a menu item if all the items - got filtered in the idle populate function. (#405696) - - * tests/Makefile.am: - * tests/testrecentchoosermenu.c: Add a test for the - GtkRecentChooserMenu widget. - -Thu Feb 8 13:07:08 2007 Tim Janik - - * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to - GtkButtonBox (bug #336159). - - * gtk/gtkenums.h: - * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c: - support GTK_BUTTONBOX_CENTER. - - * tests/testbbox.c: new button box test, which allows testing of - the various button box properties. - - * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test. - -2007-02-07 Cody Russell - - * gdk/gdk.symbols: Add gdk_event_request_motions - -Wed Feb 7 19:03:28 2007 Tim Janik - - * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request - condition which was wrongly ported with my last commit. - -Tue Feb 6 15:53:59 2007 Tim Janik - - * gtk/gtktextview.c (gtk_text_view_motion_event): - * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify): - * gtk/gtkaboutdialog.c (credits_motion_notify_event): - * gtk/gtkhruler.c (gtk_hruler_motion_notify): - * gtk/gtkvruler.c (gtk_vruler_motion_notify): - * gtk/gtkentry.c (gtk_entry_motion_notify): - * gtk/gtktooltip.c (_gtk_tooltip_handle_event): - * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions() - for new motion events after receiving motion hints. - - * gdk/gdkevents.[hc]: added gdk_event_request_motions(). - -2007-02-06 Kristian Rietveld - - * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): - remove unused get of has_tooltip. - - * tests/testtooltips.c (query_tooltip_tree_view_cb): use the - portable g_snprintf instead of snprintf. - -2007-02-06 Michael Natterer - - * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up. - - (gtk_tooltip_show_tooltip): move variables and code to local - scope. Fixes warnings about maybe uninitialized variables. - -2007-02-06 Kristian Rietveld - - New tooltips API. - - * gtk/Makefile.am - * gtk/gtk.h - * gtk/gtk.symbols: build system foo. - - * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler - hook for appropriate events. - - * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT. - - * gtk/gtkrc.c: add style for gtk-tooltip. - - * gtk/gtksettings.c (gtk_settings_class_init): make the - different tooltip timeouts configurable. - - * gtk/gtkwidget.[ch]: add new properties, signals, make sure - tooltips are hidden on unmap, destroy, update window event - mask on realize, hook into focus change and show help - handlers. - - * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ... - - * gtk/gtktooltip.[ch]: new files. - - * tests/Makefile.am - * tests/testtooltips.c: add test application. - -2007-02-05 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused - by prematurely releasing a DC. By Hiroyuki Yamamoto - * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking - pixbufs when drawing rotated tabs. By Daniel Atallah - -2007-02-05 Michael Natterer - - * gtk/gtksettings.c: add new boolean settings gtk-enable-accels - and gtk-enable-mnemonics which enable/disable accelerators and - mnemonics (bug #72375, based on a patch from Tommi Komulainen). - - * gtk/gtkwindow.c (gtk_window_activate_key) - * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them - if the resp. setting is FALSE. - - * gtk/gtkaccellabel.c (gtk_accel_label_refetch) - * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display - them if the setting is FALSE. - - * gtk/gtklabel.c: added signal connection to the screen's settings - object and traverse all widgets on the screen when the setting - changes. It's slightly ugly to also update GtkAccelLabels here, - but less ugly than connecting and traversing all widgets twice. - -2007-02-05 Michael Natterer - - * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed - values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within - ansi C enum value limits. Fixes bug #46757. - -2007-02-03 Soren Sandmann - - * gtk/gtksequence.[ch]: Remove these files since GSequence has - been moved into GLib. - - * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence. - - * configure.in: Require glib-2.13.0 - -2007-02-04 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on - mingw with w32api >= 3.8, which has it in wingdi.h. (#403896) - -2007-02-02 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused - style_get of vertical-separator. (#403165, Chris Wilson). - -2007-02-02 Christian Persch - - * gtk/gtkfilechoosersettings.c: (get_config_filename), - (ensure_settings_read), (_gtk_file_chooser_settings_init), - (_gtk_file_chooser_settings_set_show_hidden), - (_gtk_file_chooser_settings_set_expand_folders), - (_gtk_file_chooser_settings_save): Use a simple key file instead of a - markup file. Bug #399592. - -2007-02-02 Mariano Suárez-Alvarez - - * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init): - be a little more helpful with the docs on GtkCellRendererText:alignment. - Bug #403409. - -2007-02-01 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to - gtk_paint_box() calls. - -2007-02-01 Michael Natterer - - * gtk/gtkmenu.c (gtk_menu_button_press) - (gtk_menu_button_release) - (gtk_menu_button_scroll): remove redundant and confusing - if (GTK_IS_MENU (widget)) checks because "widget" is always a - GtkMenu here. - -Thu Feb 1 12:22:06 2007 Tim Janik - - * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference - that gtkcombobox keeps on priv->popup_widget if it's a tree view. - -2007-01-31 Christian Persch - - * gtk/gtkaboutdialog.c: (update_credits_button_visibility), - (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters), - (gtk_about_dialog_set_artists), - (gtk_about_dialog_set_translator_credits): Hide the Credits button iff - there are no credits to show. Bug #402806. - -2007-01-31 Tor Lillqvist - - * gdk/win32/gdkinput-win32.c (print_cursor): New debugging - function. - (_gdk_input_wintab_init_check): Call it when debugging output is - requested. - (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom - tablets. The Wacom driver reports duplicated cursors with - physid==0. Fix verified by Robert Ögren. - -2007-01-30 Felix Riemann - - * modules/printbackends/file/gtkprintbackendfile.c: - (file_printer_get_options): Fix leaked string. Fixes bug #402565. - -2007-01-30 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): - (gdk_x11_window_set_user_time): Be more careful about toplevel - possibly being NULL. (#402453, Sebastian Bacher) - -Tue Jan 30 12:09:56 2007 Tim Janik - - * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse - class_n_properties and leave an uninitialized value array behind. - -2007-01-29 Michael Natterer - - * gtk/gtkmenuitem.c (gtk_menu_item_select) - (gtk_menu_item_deselect): queue a draw on the parent_menu_item of - this menu item's menu, to enable themeing menu items depending on - whether something is selected in their submenu (patch taken from - maemo-gtk). - -2007-01-28 Matthias Clasen - - * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility() - that was mistakenly "cleaned up" a while ago. Also - revert a problematic change to the screen_changed - handler. (#401598, Søren Sandmann) - -2007-01-28 Matthias Clasen - - * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a - problem with large y thickness. (#136592, Xan Lopez) - -2007-01-28 Matthias Clasen - - * gtk/gtkaction.c (gtk_action_new): Use canonical - property names. - -2007-01-27 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_draw_arrow): - (gtk_notebook_draw_focus): Avoid some unnecessary - gtk_widget_get_style() calls. - -2007-01-27 Matthias Clasen - - * gtk/gtktoolbar.c: - * gtk/gtktoolitem.c: - * gtk/gtktoolbutton.c: Rearrange things so that setting - multiple properties causes not more than a single - reconstruction of the contents. - - * gtk/gtkaction.c (connect_proxy): Set all tool button - properties in one go. - -2007-01-27 Matthias Clasen - - * gtk/gtkstatusicon.c: - * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not - take up space on the panel if it is invisible. (340110, Christian - Persch) - - * tests/teststatusicon.c: - * tests/Makefile.am: Updates - -2007-01-27 Matthias Clasen - - * gtk/gtkfilesel.h: - * gtk/gtkrc.h: - * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref - and the old file selector. (#348256) - -2007-01-26 Matthias Clasen - - * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander) - -2007-01-26 Matthias Clasen - - * gtk/updateiconcache.c: Check the mtime of all directories, - not just the toplevel, if ftw() is available. (#331671, Behdad - Esfahbod) - - * configure.in: Check for ftw.h. - -2007-01-26 Michael Natterer - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): - destroy the XIM only if it exists. While the code does look safe - in general, there can be corner cases where the "reconnecting" - boolean being FALSE does not correspond to the XIM being - allocated (fixes #329450, fix taken from maemo-gtk). - -Fri Jan 26 13:07:07 2007 Tim Janik - - * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to - window bounds (fix from Maemo Gtk). - -2007-01-26 Michael Natterer - - * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix): - only block/unblock completion->priv->insert_text_id if it is - actually connected. While this can't happen the way GtkEntry - itself uses the completion, it's still public API and should not - blindly call functions that will spit warnings (fix taken from - maemo-gtk). - -2007-01-25 Matthias Clasen - - * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting - the paintable iface. - -2007-01-24 Michael Natterer - - * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling - of PRELIGHT state for the reasons given in bug #135666. Widget - states are sometimes abused or otherwise used wrongly for historic - reasons, causing this part of the patch to break e.g. menu items. - -2007-01-24 Roozbeh Pournader - - * README: Remove mention of no-longer-existing PATCH - keyword in bugzilla. (#396899) - -2007-01-23 Carlos Garcia Campos - - * gtk/gtkpagesetup.c - (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak. - Fixes bug #399907. - -2007-01-22 Chris Wilson - - Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach - - * gtk/gtkstyle.h: - Cause gcc to issue a warning if the style returned from - gtk_style_attach is not used. Failure to update - widget->style causes some very difficult to reproduce bugs, - eg Bug 353498 – crash in Terminal: changing icon theme. - -2007-01-19 Michael Emmel - - * gdk/directfb/gdkevents-directfb.c: added fixes for window - crossing events frm Attilio Fiandrotti - -2007-01-19 Matthias Clasen - - * gtk/gtkcalendar.c: Fix build breakage. - -2007-01-19 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window), - (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out - add_scroll_timeout(). (taken from maemo-gtk). - -2007-01-18 Matthias Clasen - - * gtk/gtkcalendar.c: Fix problems with the initial - focus in GtkCalendar. (#397783, Vincent Untz) - -2007-01-19 Robert Ögren - - Fix for bug #143460 - missed tablet clicks on Windows - - * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): - Request absolute reporting of tablet button state, and cut down - the packet queue size a bit. - (_gdk_input_other_event): Change button state handling - accordingly. Also drop the no longer necessary code that detects - missed clicks/releases for button 1. The switch to absolute button - state should prevent missed events for all buttons. Additionally, - swap button 2 and 3. - (_gdk_input_grab_pointer): Don't reset button_state, that will only - cause a new press event as soon as the next tablet packet arrives. - -2007-01-19 Tor Lillqvist - - Build Wintab support always on Windows. Don't require the Wintab - SDK. - - * configure.in: Drop the --with-wintab option. Drop the - HAVE_WINTAB feature test macro and Automake variable. - - * acconfig.h - * config.h.win32.in: Drop HAVE_WINTAB. - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkinput.c - * gdk/win32/gdkinput-win32.h - * gdk/win32/gdkinput-win32.c - * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks - unconditional. - - * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try - to load wintab32.dll dynamically here. If it is found look up the - handful Wintab functions we use. - (rest of file): Use these function pointers instead of calling the - functions from wntab32x.lib. The code in wntab32x.lib did the same - thing anyway: tried to load wintab32.dll, and looked up the - addresses of the actual functions from it. - - * gdk/Makefile.am - * gdk/win32/Makefile.am: Drop the libwntab32x hacks. - - * gdk/win32/wintab.h - * gdk/win32/pktdef.h: New files. Copied from the Wintab - SDK. Copyright blurb says: "The text and information contained in - this file may be freely used, copied, or distributed without - compensation or licensing restrictions." - - * README.win32: Update a bit. Remove the text about the Wintab - SDK. - -2007-01-18 Tor Lillqvist - - * gdk-pixbuf/Makefile.am - * gdk/Makefile.am - * gdk/win32/Makefile.am - * gtk/Makefile.am: Fixes for building outside srcdir on - Win32. (#336819, #340013) Drop distributing the handmade .la - libtool wrapper for the wntab32x library. It's too much trouble - making it work when building outside srcdir. Just link to the - library direcly using -Wl,win32/libwntab32x.a. - -2007-01-18 Michael Natterer - - * gtk/gtkcheckbutton.c - * gtk/gtkdnd.c - * gtk/gtkentry.c - * gtk/gtkmenu.c - * gtk/gtktreeview.c - * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo() - functions. Based on a patch from maemo-gtk (bug #398023). - -2007-01-17 Tor Lillqvist - - * gtk-zip.sh.in: Include also the COPYING file. - -2007-01-17 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Don't use - httpGetFd() when building against cups 1.1 - -2007-01-17 Tor Lillqvist - - Proper fix for #396175: - - * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do - include gtkprivate.h. On Win32 we do want to use the redefinition - of GTK_LOCALEDIR as a call to the function _gtk_get_localedir(). - - * gtk/gtkimmodule.c: Instead, correct the prefix also on - simple_context_info.domain_dirname. Do the prefix corrections - always on Win32, not just when GTK_LIBDIR is defined. i.e., until - now they were done only in the autoconfiscated gcc builds. Hans - needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also - in MSVC builds now. - (correct_localedir_prefix): New function, like - correct_libdir_prefix(), but for GTK_LOCALEDIR, in case - GTK_LOCALEDIR is not a descendant of GTK_LIBDIR. - (gtk_im_module_initialize): Thus call correct_localedir_prefix() - on the domain_dirname instead of correct_libdir_prefix(). - (_gtk_im_module_list): Call correct_localedir_prefix() on - simple_context_info.domain_dirname. - -2007-01-16 Matthias Clasen - - * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the - grab changes. (#396470, Benjamin Berg) - -2007-01-15 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label - if they grow too much. (#357303) - -2007-01-14 Matthias Clasen - - * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching - non-scalable dir, keep going and look for a closer match. - (#395830, Luca Ferretti) - -2007-01-14 Christian Persch - - * gtk/gtkclipboard.c: (gtk_clipboard_set_text), - (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and - gtk_target_table_free instead of duplicating the code. Bug #396493. - -2007-01-13 Matthias Clasen - - * gtk/gtkuimanager.c: Don't crash if menu or toolbar - positions can't be found. (#396161, Hans Breuer) - -2007-01-13 Matthias Clasen - - * gtk/gtkselection.c (_gtk_selection_request): Plug - memory leaks. (#396160, Carlos Garcia Campos) - -2007-01-13 Matthias Clasen - - * configure.in: Link libgtk against Xfixes. (#396074, - Tommi Komulainen) - -2007-01-13 Matthias Clasen - - * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid - a compiler warning. (#395045, Chris Wilson) - -2007-01-13 Hans Breuer - - * gtk/gtkprintoperation-win32.c : take the custom tab label from - gtk_print_operation_set_custom_tab_label() into account (bug #390746). - - * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid - differing definitions of GTK_LOCALEDIR (bug #396175). - - * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is - not available everywhere - - * gtk/makefile.msc.in : updated - -2007-01-12 Michael Natterer - - * gtk/gtkentry.c (gtk_entry_button_press): don't add - entry->scroll_offset to entry->drag_start_y. Fixes the entry - starting drags after ridiculously small mouse movements. - -2007-01-11 Richard Hult - - * demos/gtk-demo/main.c: (load_file): Close the file after it's - loaded (bug #395316). - -2007-01-11 Kjartan Maraas - - * gtk/gtkfilesystemunix.c: (expand_tilde): - Make a single tilde go to $HOME in the location entry. - Patch from Yevgen Muntyan. Closes the gtk+ part of - bug #334168. - -2007-01-10 Behdad Esfahbod - - * gdk/gdkpango.c (gdk_draw_layout_with_colors): - * gtk/gtklabel.c (gtk_label_size_request): - Use pango_matrix_transform_rectangle(). (#340141) - - * configure.in: Bump pango requirement to 1.15.3. - -2007-01-10 Kristian Rietveld - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init): - refactor to initialize indicator_size to TOGGLE_WIDTH instead - of the hardcoded value of 12. - -2007-01-09 Matthias Clasen - - * configure.in: Fix the directfb cairo test. (#394855, - Josselin Mouette) - -2007-01-09 Behdad Esfahbod - - * configure.in: Fix comment for --with-included-loaders. That option - affects builds with module loading enabled too. - -2006-01-08 Peter Teichman - - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilechoosersettings.c: - * gtk/gtkfilechoosersettings.h: - Save the expanded state of the folder browser with the file - chooser settings. Resolves the expander portions of (#153828, - Lemmit Kaplinski) - -2007-01-08 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item): - Don't leak the icon pixbuf after setting it to the image menu - item. Found by Paolo Borelli. - -2007-01-08 Matthias Clasen - - * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't - corrupt memory when faced with paths with ridiculously - large indices. Found by the GTKVTS test suite. - -2007-01-08 Matthias Clasen - - * gtk/gtkmodules.c (_gtk_modules_init): Set - default_display_opened before loading modules. (#393102, - Brian Cameron) - -2007-01-07 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_set_border_window_size): - Call text_window_realize() with the correct parameters. - (#393813, Yevgen Muntyan) - -2007-01-07 Matthias Clasen - - * gtk/gtkstatusbar.c: Move docs inline, and expand them - a bit. - -2007-01-06 Matthias Clasen - - * gtk/gtklabel.c: Make line wrapping work with width-chars - and max-width-chars, and simplify the storage of wrap-width. - (#322580, Itai Bar-Haim) - -2007-01-06 Tor Lillqvist - - * gdk/win32/cursor.bdf: New file. Downloaded from - freedesktop.org's webcvs. Slighly edited cursors "crosshair", - "diamond_cross", "draft_large", "gobbler" and "target" to fix - #392504. It is possible that the same end result could have been - achieved by tweaking bdfcursor.c instead. - - * gdk/win32/bdfcursor.c: Add optional debugging output. - - * gdk/win32/xcursors.h: Regenerated. - -2007-01-05 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align - menu labels. (#393255, Michail Crayson) - -2007-01-05 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree - == NULL. (Fixes #392685, reported by Yevgen Muntyan). - -2007-01-05 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to - invalidate nodes if the tree view is not realized. (#363147, - Carlos Garnacho, Miguel Cabrera). - -2007-01-05 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into - account when drawing the background. (#393166, Benjamin Berg) - -2007-01-05 Behdad Esfahbod - - * gtk/gtklabel.c (get_layout_location): Fix broken width computation, - again. - -2007-01-05 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_size_request): take into account - both scroll arrows when calculating size request in GTK_POS_LEFT or - GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch) - -2007-01-05 Michael Natterer - - * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to - the right function (fix taken from maemo-gtk). - -2007-01-05 Behdad Esfahbod - - * gdk/gdkprivate.h: - * gdk/gdkpango.c (gdk_draw_layout_line_with_colors), - (gdk_draw_layout_with_colors): - * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed): - Avoid overflow when converting coordinates to Pango units. (#332266, - Jody Goldberg) - -2007-01-04 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor - after realization of the popup window, so clamp node doesn't fail. - (#346616, Tommi Komulainen, patch by Kristian Rietveld). - -2007-01-04 Behdad Esfahbod - - * gtk/gtklabel.c (get_layout_location): Fix uninitialized width - variable. - -2007-01-04 Matthias Clasen - - * gtk/Makefile.am: - * gdk-pixbuf/Makefile.am: - * configure.in: - * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes. - (#392646, Yevgen Muntyan) - -2007-01-04 Matthias Clasen - - * demos/gtk-demo/textscroll.c: - * gtk/gtkhandlebox.c: - * gtk/gtkcolorsel.c: Fix some compiler warnings. - -2007-01-03 Matthias Clasen - - * gtk/gtktextview.c: Rework the beep-on-uninserted-text - by calling the input method regardless of editability, - and beeping from the commit/preedit-changed handlers. - (#390514, Yevgen Muntyan) - -2007-01-03 Matthias Clasen - - Fix #332604, reported by Joe Wreschnig, patch - by Jan Arne Petersen and Behdad Esfahbod. - - * gtk/gtklabel.c (gtk_label_size_allocate): Only - set the width of the layout when necessary. - (get_layout_location): Use pango_layout_get_pixel_extents() - instead of pango_layout_get_width(). - -2007-01-03 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c - (available_choices): Don't leak conflicts. - - * gtk/gtkprintoperation.c (gtk_print_operation_finalize): - Don't leak the status string. - -2007-01-03 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (update_chooser_entry): - Exit early if we can't get file info - this happens - if the iter points to the row where we are editing - the name for a newly created folder. (#392191, Michael - Partridge, patch by Kristian Rietveld) - -2007-01-03 Matthias Clasen - - * gtk/*.c: - * gdk/x11/*.c: Apply a patch by Chris Wilson to - avoid spurious valgrind warnings from XSendEvent() - calls. (#392532) - - * modules/printbackends/cups/gtkprintbackendcups.c: Close - the http connection after getting the PPD. - - * gtk/gtkprinteroptionwidget.c (filesave_changed_cb): - Fix memory leaks. - -2007-01-03 Matthias Clasen - - * gtk/gtkassistant.c (remove_page): If the current page - is removed, always pick a different one. (#392457, - Colin Watson) - -2007-01-03 Matthias Clasen - - * modules/printbackend/cups/*.c: Coding style cleanups. - -2007-01-03 Matthias Clasen - - * configure.in: Export SED to make sourcing of - libtool work. Tighten up the directfb pkgconfig check. - -2007-01-03 Michael Natterer - - * gtk/gtkstyle.c (option_menu_get_props) - * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use - gtk_border_free when freeing borders. - -2007-01-03 Matthias Clasen - - * gtk/gtkentry.c (get_text_area_size): Work when the - entry is not realized. (#392315, Yevgen Muntyan) - - * gtk/gtkentry.c (gtk_entry_queue_draw): Use - GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson) - - * gtk/gtkentry.c (cursor_blinks): Don't get settings - unnecessarily. (#392227) - -2007-01-02 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_move_resize): Only process - updates on the window at hand, not on all windows, to - avoid violating resize/redraw ordering constraints. - (#362406, Owen Taylor) - -2007-01-03 Kristian Rietveld - - * gtk/gtkcellrendererprogress.c - (gtk_cell_renderer_progress_class_init): fix docs. - -2007-01-02 Matthias Clasen - - * gtk/updateiconcache.c: Include locale.h - -2007-01-02 Matthias Clasen - - * gtk/updateiconcache.c (main): Call setlocale(). - - * gtk/gtkfilesel.c: - * gtk/gtkfilesystemunix.c: - * gtk/gtkfilesystemwin32.c: - * gtk/gtkfilechoosersettings.c: - * gtk/updateiconcache.c: Consistently use folder instead of - directory in translated messages. (#344584, Javier F. Serrador) - -2007-01-02 Matthias Clasen - - Try to fix #315732, reported by Luke Hutchinson: - - * gdk/x11/xsettings-client.[hc]: - * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow - will guarantee that it can be looked up in the xid hash later. - Also, use the nesting server grab function during the xsettings - client initialization. Finally, make xsettings client not - eat DestroyNotifys so that GDK can do its regular cleanup. - -2007-01-02 Michael Natterer - - * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep - when a keybinding didn't change adjustment->value. - -2007-01-02 Matthias Clasen - - * gtk/gtktextbuffer.c (gtk_text_view_key_press_event): - Try harder not to beep on events which are not meant to - insert stuff in the buffer. (#390514, Yevgen Muntyan) - -2007-01-02 Matthias Clasen - - * gtk/gtktextbufferrichtext.c: Small documentation fixes. - -2007-01-02 Matthias Clasen - - * gtk/gtkentry.c (get_text_area_size): Center in the frame. - (#304482, Rob Staudinger, patch by Richard Stellingwerff) - -2007-01-02 Michael Emmel - - * gdkwindow-directfb.c: fixed leak of dfb resource on destroy - -2007-01-01 Matthias Clasen - - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c: Only handle key bindings - for scrolling if the scrollbars are visible. - (#340135, Christian Persch) - -2007-01-01 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_scroll_hpages): - Don't segfault on horizontal scrolling. - -2007-01-01 Matthias Clasen - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c: Only handle key bindings for - tab reordering if the tabs are shown and reorderable. - (#390468, Yevgen Muntyan) - - * gtk/gtkmarshalers.list: Add required marshaler - -2007-01-01 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_class_list_child_properties): - Mention in the docs that the return value is - NULL-terminated. (#383373, Christian Neumair) - -2007-01-01 Matthias Clasen - - * gtk/gtkicontheme.c (load_themes): Waste less time - with non-directories. (#391725, Chris Wilson) - -2007-01-01 Matthias Clasen - - * gtk/gtkcellrendererprogress.c: Implement activity mode - for GtkCellRendererProgress. (#377851, Brad Taylor) - -2007-01-01 Matthias Clasen - - Fix some IPP compliance issues. (#391523, Albrecht Dress) - - * modules/printbackends/cups/gtkcupsutils.c - (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not - IPP_TAG_OPERATION. - * modules/printbackends/cups/gtkprintbackendcups.c - (gtk_print_backend_cups_print_stream): Don't add the - requesting-user-name attribute a second time. - -2007-01-01 Matthias Clasen - - * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462) - -2006-12-31 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the - right object when disconnecting from the GtkRecentManager::changed - signal; save us a few indirections using a variable. - -2006-12-31 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: Move the signal and idle - disconnections into the dispose function, as well as the - object unrefs; reset every handler id and the - pointers. (suggested by Paolo Borelli, #390873) - -2006-12-31 Matthias Clasen - - * gtk/gtkprintoperation-win32.c: Include windows.h (#391229, - Kazuki Iwamoto) - -2006-12-30 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_destroy): Remove the - scroll timeout. (#390872, Yevgen Muntyan) - -2006-12-30 Matthias Clasen - - * gtk/gtkprintoperation-unix.c: - * gtk/gtkprintbackend.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtksettings.c: Move a few settings to gtksettings.c - to make sure they show up in the docs. (#365364, Christian - Persch) - -2006-12-30 Matthias Clasen - - * gtk/gtkassistant.c: Redraw assistant on reallocate - to avoid rendering glitches. (#343956, Christian - Persch, Carlos Garnacho) - -2006-12-30 Matthias Clasen - - * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall) - -2006-12-30 Matthias Clasen - - * gtk/gtkaction.c: Improve the docs of the "label" - property. (#341730, Kristof Vansant) - -2006-12-30 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_compute_configure_request_size): - Correctly handle min size. (#320465, Philipp Langdale) - -2006-12-30 Matthias Clasen - - * gtk/prop-editor.c: Implement editing of flags. - -2006-12-30 Matthias Clasen - - * gtk/gtkentry.c: - * gtk/gtklabel.c: - * gtk/gtkpaned.c: - * gtk/gtkstatusbar.c: - * gtk/gtktextview.c: Don't install cursors on insensitive - widgets. (#358864, Jan Schampera) - -2006-12-29 Matthias Clasen - - * gtk/gtkrecentmanager.h: - * gtk/gtkprintoperation.c: Fix doc typos. (#370909, - Shiino Yuki) - - * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423, - Christian Persch) - - * gtk/gtkentry.c (blink_cb): - * gtk/gtktextview.c (blink_cb): Don't die in an assertion - if focus went missing. Just warn, clean up and continue. - (#374378) - -2006-12-29 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that - originally received the event is a notebook page. (#315440, reported - by Mateusz Stefek) - -2006-12-29 Matthias Clasen - - * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613, - Paolo Borelli) - -2006-12-29 Matthias Clasen - - * tests/prop-editor.c: Display children of containers - and cell renderers of cell layouts. - - * gtk/gtk.symbols: - * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells): - New function to get the cell renderers of a cell layout. - - * gtk/gtktreeviewcolumn.c: - * gtk/gtkcellview.c: - * gtk/gtkiconview.c: Implement get_cells. - -2006-12-28 Matthias Clasen - - * gtk/gtkiconview.c: Use word wrapping by default, and - center multiline labels. (#318763, Ross Burton) - - * gtk/gtkcellrenderertext.c (get_layout): Remove a special - case for single-line layouts. - -2006-12-28 Matthias Clasen - - * gtk/gtkarrow.c: Fix a typo in the docs. (#390423, - David Lodge) - - * gtk/gtkuimanager.c (update_node): Only use the results - of find_menu/toolbar_position() if they succeed. May fix - bug #388041. - -2006-12-28 Matthias Clasen - - * gdk/gdk.c: Fix some formatting errors in docs. - -2006-12-28 Tor Lillqvist - - * gtk/gtkstatusicon.c (gtk_status_icon_finalize) - (gtk_status_icon_update_image): Don't leak HICONs on - Win32. (#364868, Hiroyuki Yamamoto) - -2006-12-28 Carlos Garnacho - - Make GtkNotebook able to drop detached tabs anywhere. Bug #360225. - - * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal. - * gtk/gtkmarshalers.list: add new marshaler definition. - * gtk/gtkenums.h: add GtkDragResult enum. - - * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND - operation wasn't successful. - (_gtk_drag_source_handle_event) (gtk_drag_drop) - (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb) - (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb) - (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell - gtk_drag_drop_finished() the operation result. - - * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function. - (gtk_notebook_drag_data_get): do not call window creation hook here. - (gtk_notebook_init): do not set "application/x-rootwindow-drop" - target, instead connect to "drag-failed". - (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL. - -2006-12-28 Mikael Hallendal - - * gdk/quartz/gdkevents-quartz.c: Factored out the event loop - integration into gdkeventloop-quartz.c. - - * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c - - * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop - integration. - -2006-12-27 Matthias Clasen - - * modules/printbackends/lpr/gtkprintbackendlpr.c - (gtk_print_backend_lpr_print_stream): Close the io channel - on unref. (#390159, Joe Markus Clarke) - -2006-12-27 Matthias Clasen - - * gdk/gdk.h: Remove redundant declarations (#390097, - Christian Persch) - -2006-12-27 Kristian Rietveld - - Support inverting arrows via XSetting. (#377979, Yevgen Muntyan). - - * gtk/gtksettings.c (gtk_settings_class_init): add new setting - gtk-alternative-sort-arrows. - - * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add - new setting. - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new - gtk-alternative-sort-arrows setting to true. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): - invert direction if gtk-alternative-sort-arrows is TRUE. - -2006-12-27 Tor Lillqvist - - * gtk/gtk.symbols: Add gtk_status_icon_get_screen and - gtk_status_icon_set_screen. - - * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu() - on Windows. Keep track of where the last button click on the - taskbar icon took place, and return that. Obviously not correct if - no button has ever been clicked on the icon, or if the geometry of - the taskbar has changed since. But for most use cases where a menu - is going to be displayed as a direct result of a button click on - the status icon, works fine. (#377349) - - Implement getting the orientation property on Windows. - - (gtk_status_icon_embedded_changed) - (gtk_status_icon_orientation_changed): Ifdefify these functions - that are used only on X11. - -2006-12-27 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix - typo. (#390035, Kazuki Iwamoto) - -2006-12-27 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL. - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): - (gtk_combo_box_unset_model): Handle repeated unsetting - of models without warnings. (#367529, Robert Ancell) - -2006-12-27 Matthias Clasen - - * modules/printbackends/cups/gtkcupsutils.c: - * modules/printbackends/cups/gtkprintbackendcups.c: Use - getters for http fields where available. (#364866, - Björn Lindqvist) - -2006-12-27 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail. - (#362614, Xan Lopez) - -2006-12-27 Matthias Clasen - - * gtk/gtkuimanager.c (update_node): If a required action - is missing, don't recurse over the children. (#349119, - Chris Moller) - -2006-12-27 Matthias Clasen - - Fix a few problems with nested menus in comboboxes - (#386694, Yevgen Muntyan) - - * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always - connect the activate callback. - (gtk_combo_box_menu_item_activate): Do nothing if called on - an item with a submenu. - (gtk_combo_box_menu_row_deleted): Remove a submenu when it - is empty. - -2006-12-26 Mariano Suárez-Alvarez - - * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the - filechooser button. Bug 353196. - -2006-12-26 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing - the search dialog timeout never to be refreshed. (#389581, - Andrzej Szombierski). - -2006-12-26 Kristian Rietveld - - Lots of scrolling fixes. Made scrolling work properly in not fully - validated tree views; fixed a bunch of corner cases. - - * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past - upper - page_size, we know it is located at the end so the test for - dy + height has been dropped. - In the same case if area_below < 0, we know this is the last node - in the tree view so area_above is page_size - height of this row. - (validate_visible_area): got rid of subtracting new_height - - old_height from area_{below,above}, it didn't make any sense at - all and the full height of the row should be subtracted instead. - (validate_visible_area): when scrolling to a given path, set the - top row directly together with the dy offset, then sync that top_row - to the dy. - (gtk_tree_view_set_top_row): new function to directly set a top_row. - (gtk_tree_view_dy_to_top_row): refactored to use - gtk_tree_view_set_top_row(). - (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done. - (gtk_tree_view_adjustment_changed): only update our dy and - top_row if the adjustment's dy actually changed. - -2006-12-26 Christian Persch - - * gtk/gtknotebook.c: (gtk_notebook_real_insert_page): - Return the correct value from gtk_notebook_insert_page if the - page-added handler reorders the tabs. Bug #345094. - -2006-12-26 Carlos Garnacho - - Fix small regressions in GtkNotebook tab detaching. Bug #378852. - - * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs - scrolling when hovering with a detached tab. - (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the - focus tab has changed during a tab DND operation. - (gtk_notebook_drag_end): ensure that the dropped tab gets focused. - (gtk_notebook_paint): do not take cur_page as a reference to paint the - box if it's detached. - (gtk_notebook_calculate_tabs_allocation): focus_tab may be different - to the detached tab if we hover the arrows during a tabs detaching - operation, do not allocate it unconditionally in 0,0. - -2006-12-26 Carlos Garnacho - - Expose improvements for GtkNotebook. Bug #383435 - - * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab - labels. - (gtk_notebook_draw_focus): do not repaint the whole focused tab again. - (gtk_notebook_draw_tab): do not send handmade expose events to tab - labels. - -2006-12-26 Matthias Clasen - - * gtk/gtkfilesystemunix.c (execute_callbacks): Return - FALSE. (#389623, Carlos Garnacho Parro) - - * gtk/gtkrange.c (stop_scrolling): Avoid spurious - redraws. - -2006-12-25 Christian Persch - - * gtk/gtkplug.c: (gtk_plug_construct_for_display), - (gtk_plug_unrealize): Notify the "embedded" property also on - normal construction and when destroying the socket window. - Bug #388738. - -2006-12-25 Christian Persch - - * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init), - (gtk_about_dialog_init), (display_credits_dialog), - (display_license_dialog): - * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init), - (gtk_file_chooser_dialog_init), - (gtk_file_chooser_dialog_constructor), - (gtk_file_chooser_dialog_unmap): - * gtk/gtkrecentchooserdefault.c: - (_gtk_recent_chooser_default_init): - * gtk/gtkrecentchooserdialog.c: - (gtk_recent_chooser_dialog_class_init), - (gtk_recent_chooser_dialog_init), - (gtk_recent_chooser_dialog_constructor), - (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly - instead of using style-set handlers. Fix the filechooser's spacing - between content and action area to 12px. Bug #372447. - -2006-12-25 Christian Persch - - * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): - Don't assume statusbar->label is the statusbar's frame's child when - shrinking the size allocation when the grip is shown. Bug #372452. - -2006-12-25 Christian Persch - - * gtk/gtkpagesetupunixdialog.c: (printer_status_cb), - (add_custom_paper): Fix mem leaks. Bug #389194. - -2006-12-24 Matthias Clasen - - * gtk/gtktextutil.c: Remove debug output. - - * gtk/gtktextview.c: Improve the DND scrolling - behaviour. (#92387, Carlos Garnacho Parro) - - * gtk/gtkaccellabel.c: Improve translators comments. - (#389298, Christian Persch) - -2006-12-24 Bastien Nocera - - * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive) - (#389183) - -2006-12-24 Christian Persch - - * docs/reference/gtk/gtk-sections.txt: - * gtk/gtk.symbols: - * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer): - * gtk/gtkprinter-private.h: - * gtk/gtkprinter.c: (gtk_printer_list_papers): - * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587. - -2006-12-24 Carlos Garcia Campos - - * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option - when is selected in page setup dialog. Fixes bug #365047. - -2006-12-24 Behdad Esfahbod - - * gtk/gtkentry.c (_gtk_entry_effective_inner_border): - Use gtk_border_free when freeing border. - -2006-12-24 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_button_press): When - shift-clicking, keep the larger part of the selection - selected. (#353709, Benjamin Otte) - - * gtk/gtkbutton.c (gtk_button_get_props): Use - gtk_border_free when freeing borders. - - * gtk/gtkbutton.c (gtk_button_grab_notify): Be more - careful when faking a button release. (#323146, - Travis Abbott) - - * gtk/gtkhandlebox.c (draw_textured_frame): Draw the - handle with the right orientation, depending on the - position of the handlebox. (#159764, Benjamin Berg) - -2006-12-24 Behdad Esfahbod - - * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for - GtkBorder (#383557). - -2006-12-24 Behdad Esfahbod - - Bug 340141 – Update to Pango 1.16 API - - * gdk/gdkpango.c (layout_iter_get_line_clip_region), - (gdk_pango_layout_line_get_clip_region): - * gtk/gtkcalendar.c (gtk_calendar_size_request): - * gtk/gtkentry.c (gtk_entry_get_pixel_ranges), - (get_layout_position), (gtk_entry_find_position), - (gtk_entry_adjust_scroll): - * gtk/gtkiconview.c (get_pango_text_offsets): - * gtk/gtklabel.c (get_cursor_direction): - * gtk/gtkstyle.c (get_insensitive_layout): - * gtk/gtktextdisplay.c (render_para): - * gtk/gtktextlayout.c (allocate_child_widgets), - (find_display_line_below), (find_display_line_above), - (gtk_text_layout_move_iter_to_previous_line), - (gtk_text_layout_move_iter_to_next_line), - (gtk_text_layout_move_iter_to_line_end), - (gtk_text_layout_iter_starts_line), - (gtk_text_layout_move_iter_to_x): - * gtk/gtktextutil.c (limit_layout_lines): - Use the _readonly version of pango_layout_iter_get_line(), - pango_layout_iter_get_run(), pango_layout_get_line(), and - pango_layout_get_lines(). - - * gtk/gtkmain.c (gtk_get_default_language): Use - pango_get_default_language(). - -2006-12-24 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_set_text): Emit changed - and notify:text only once. The same fix was applied - for replacing the selection via DND or copy-and-paste. - (#64998, Damon Chaplin, Sven Herzberg) - -2006-12-23 Matthias Clasen - - * gtk/gtkimmulticontext.c: Be careful to not override - GTK+ translations with the translations of the input - method. (#317080, Tor Lillqvist) - - * modules/input/imcedilla.c: Use standard macros - for translation domain and locale dir. - - * gtk/gtkimcontextsimple.c: Allow composing l with - stroke. (#349638, Daniel Lublin) - - * gtk/gen-paper-names.c: Fix a thinko in the suffix - calculation. (#382369, Christian Persch) - - * gtk/paper_names_offsets.c: Regenerated. - -2006-12-22 Matthias Clasen - - * modules/engines/pixbuf/pixbuf.h: - * modules/engines/pixbuf/pixbuf-rc-style.h: - * modules/engines/pixbuf/pixbuf-style.h: Move - G_GNUC_INTERNAL before function declarations. (#352276, - Damien Carbery) - -2006-12-22 Matthias Clasen - - * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris - Wilson) - -2006-12-22 Matthias Clasen - - * *.c: Replace a lot of idle and timeout calls by - the new gdk_threads api. - - * gdk/gdk.symbols: - * gdk/gdk.h: - * gdk/gdk.c: Add functions to allow threadsafe handling - of idles and timeouts wrt. to the GDK lock. (#321886, - Chris Wilson) - -2006-12-22 Matthias Clasen - - * gdk/gdkpango.c: Use pango_cairo_show_error_underline. - (#340141, Behdad Esfahbod) - - * configure.in: Check for getc_unlocked. - - * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is - unavailable. (#381499) - - * tests/teststatusicon.c: Fix a typo - -2006-12-22 Matthias Clasen - - Make it possible to track the embeddedness of - statusicon (#387215, Martyn Russell, patch by Christian - Persch) - - * gtk/gtkstatusicon.c: Add orientation and embedded properties. - * gtk/gtkplug.c: - * gtk/gtkplug-x11.c: Add an embedded property. - * tests/teststatusicon.c: Test the new properties. - - * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't - leak draw_border. (#387170, Kjartan Maraas) - -2006-12-21 Matthias Clasen - - * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()): - Typo fix. (#388123, Murray Cumming) - - * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): - Generate double-click events. (#380421, Tommi Komulainen) - - * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event): - (_gdk_input_enter_event): Correct return_if_fail checks. - (#379803, Tommi Komulainen) - - * gdk/gdkdisplay.c: Improve the docs of some functions operating - on the default display. (##353438, Mariano Suárez-Alvarez) - -2006-12-21 Matthew Barnes - - * docs/reference/gdk/gdk-sections.txt: - * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for - converting a GdkColor to a string (#373856). - - * configure.in: Bump pango requirement to 1.15.2. - -2006-12-20 Matthias Clasen - - * gdk/keynames.txt: Mark arrow keys as translatable. (#369506, - Bastian Nocera) - - * gdk/keyname-table.h: Regenerated - - * gtk/gtktextbuffer.c: Add signal documentation. (#317064, - Søren Wedel Nielsen) - - * gtk/gtktextview.c (gtk_text_view_start_selection_drag): - Silently return if a drag is already in progress, rather - than asserting. (#335622, Li Yuan, testcase by Erwann Chenede) - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog): - Allow any GtkDialog that implements GtkFileChooser as - dialog. (#335473, Tommi Komulainen) - -2006-12-20 Mikael Hallendal - - * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute - change in the quartz backend. - -2006-12-20 Mikael Hallendal - - * gtk/Makefile.am: Added gtkstatusicon-quartz.c - * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the - status icon. - * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874. - -2006-12-19 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Add a tooltip explaining the - format of page ranges, and improve the page sequence icon - for the case of n_copies == 1. - -2006-12-19 Mikael Hallendal - - * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage - routine so that it can be used from libgtk as well (needed for - upcoming GtkStatusIcon support in the Quartz port). - * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are - created from GDK, this is not true for the status icon. - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkquartz.h: Added - gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to - the status icon code. - -2006-12-16 Tristan Van Berkom - - * gtk/gtkmessagedialog.c: Added return_if_fail (image) to - gtk_message_dialog_set_image () - - * gtk/gtkscrolledwindow.c: Fixed a bug in set_property() - (setting "window-placement-set" could result in a crash because - of boolean/enum mixup) - -2006-12-15 Federico Mena Quintero - - Merged from gtk-2-10: - - * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for - the case where the new title is the same as the old title, to - preserve the behavior from GTK+ 2.8 (NULL and "" titles are not - equivalent). Handle the case where title == priv->title. This - was found by the LSB compatibility tests: - https://bugzilla.novell.com/show_bug.cgi?id=223882 - -2006-12-15 Dom Lachowicz - - * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode - more closely resemble its Win32 counterpart. Bug #340204. - -2006-12-14 Carlos Garnacho - - * gtk/gtkcalendar.c: draw arrows pointing to the right correctly - placed inside their GdkWindow. Bug #385672. - -2006-12-14 Christian Persch - - * gtk/gtkiconview.c: Fix docs typo. Bug #385642. - -2006-12-13 Dom Lachowicz - - * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks - drawn with extra line below tab in MS-Windows theme. Patch by - Cody Russell - -2006-12-13 Matthias Clasen - - * gtk/Makefile.am: Add --unlink-tempfile to the evince call - for print preview. (#370041, Ghee Teo) - -2006-12-11 Matthias Clasen - - * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more - careful when overdrawing antialiased text. (#352435, Alex Jones, - patch by Benjamin Otte) - - * gtk/gtksettings.c: Change the way in which color scheme information - is merged to correctly handle vanishing colors. (#374420, - Benjamin Berg, patch by Callum McKenzie) - Also allow to separate entries in color schemes by ';' - instead of newline. - -2006-12-10 Matthias Clasen - - * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): - Properly pass multi-value options to cups. (#355350, Jürg Billeter) - -2006-12-10 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): - cancel editing (ie. don't accept changes) when the entry loses - focus. (Fixes #164494, reported by Chris Rouch). - -2006-12-10 Matthias Clasen - - * configure.in: Correct a misapplied patch. - -2006-12-10 Tor Lillqvist - - * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and - gtk-query-immodules-2.0.exe in the runtime zipfile instead of - developer zipfile. Users might add pixbuf loaders or immodules - even if they are not interested in developing gtk+-using software. - -2006-12-10 Matthias Clasen - - * configure.in: Check for crt_extern.h and _NSGetEnviron. - * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where - environ is not available. (#384168, Min Sik Kim) - -2006-12-07 Paolo Maggi - - Fixes bug #383407 - - * gtk/gtkentry.c (gtk_entry_set_text): check for - completion->priv->changed_id > 0 before calling - g_signal_handler_[un]block. - (gtk_entry_completion_key_press): does not block/unblock the "changed" - signal before calling gtk_entry_set_text. - -2006-12-07 Carlos Garnacho - - * gtk/gtkcellrendererprogress (compute_dimensions): do not use - xthickness/ythickness, they aren't used any longer for drawing. - -2006-12-07 Matthias Clasen - - * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator - underlines by giving labels a small draw-border. - -2006-12-06 Kristian Rietveld - - * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render): - draw progress bar through theme engine instead of using our own - custom cairo drawing code (#377244, patch from Carlos Garnacho). - -2006-12-06 Matthias Clasen - - * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): - Update the sensitivity of the collate checkbutton more frequently, - proposed by Tim Waugh. - -2006-12-04 Matthias Clasen - - * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role - since we no longer set window titles. - -2006-12-04 Christian Persch - - * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size), - (gtk_page_setup_set_paper_size): Don't leak the old page size when - setting a new one. Bug #382314. - -2006-12-03 Michael Natterer - - * gtk/gtktextview.c: remove FIXME #include that is no longer needed. - -2006-12-03 Kristian Rietveld - - Make sure [xy]_offset are always being initialized, fix pixbuf - renderer padding. (#108235, Sven Neumann). - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size), - (gtk_cell_renderer_pixbuf_render): add padding in _render instead - of _get_size. - - * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size): - always initialize [xy]_offset. - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto. - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size): - ditto. - -2006-12-03 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): when not using an - explicit alignment, use the full area of the row (not just dy) - to determine how to implicitly align it. (Fixes #363191, reported - by Federico Mena Quintero). - -2006-12-02 Matthias Clasen - - * gtk/gtkicontheme.c (insert_theme): Properly clean up - if an icon theme index file has no directories. (#381236) - -2006-12-02 Dom Lachowicz - - * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks - not with PositionType.Top drawn incorrectly. Patch by Cody Russell - -2006-11-28 Behdad Esfahbod - - Remove the broken Thai input method and add a functional Thai and Lao - input method by Theppitak Karoonboonyanan. (#81031) - - * modules/input/imthai.c: - * modules/input/gtkimcontextthai.c: - * modules/input/gtkimcontextthai.h: - * modules/input/thai-charprop.c: - * modules/input/thai-charprop.h: - Added. - - * modules/input/imthai-broken.c: - Removed. - - * modules/input/Makefile.am: - Updated. - -2006-11-27 Christian Persch - - * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793. - -Mon Nov 27 12:27:06 2006 Tim Janik - - * gtk/gtktextview.c: applied patch by Colin Leroy for - Control+GDK_KP_Left to move one word to the left, #356255. - -2006-11-26 Benjamin Berg - - * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL - widget. (#379503) - -2006-11-25 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Make - print dialog work when 'BrowseShortNames Off' is specified - in cups configuration. Patch by Tim Waugh. - -2006-11-24 Michael Natterer - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we - can't go up/down, consult gtk_widget_keynav_failed() and leave the - widget if it returns FALSE (bug #322640). - -2006-11-23 Behdad Esfahbod - - * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller) - -2006-11-22 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (get_uri_shortname_for_display): g_filename_from_uri() might - fail; catch the failure and fall back to the non-local URI - case. (#363437) - -2006-11-19 Mark McLoughlin - - Fixes bug #376502 - multi-screen support for GtkStatusIcon - - * gtk/gtkstatusicon.[ch]: - (gtk_status_icon_set_screen), - (gtk_status_icon_get_screen): add multi-screen API. Allows - an app to display an icon on a non-default screen - (gtk_status_icon_class_init), - (gtk_status_icon_set_property), - (gtk_status_icon_get_property): add a "screen" property - - * tests/teststatusicon.c: update to test on multiple screens - -2006-11-17 Matthias Clasen - - Fix problems with drag cancellation. (#376535, Michael Natterer) - - * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal - handlers before emitting drag-end. - (gtk_drag_end): Disconnect signal handlers before removing - the grab. - -2006-11-16 Mariano Suárez-Alvarez - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - add gtk-doc blurb on GtkCellRendererText::edited (#376094) - -2006-11-16 Michael Natterer - - * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use - gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only - and gtk-keynav-wrap-around and wrap around, beep or continue outside - the group manually (bug #322640). - -2006-11-16 Michael Natterer - - Add new infrastructure for notifications of failed keyboard - navigation and navigation with restricted set of keys. - - The patch handles configurable beeping, navigating the GUI with - cursor keys only (as in phone environments), and configurable - wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742 - and #309291. - - * gtk/gtksettings.c: added properties gtk-keynav-cursor-only, - gtk-keynav-wrap-around and gtk-error-bell. - - * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public - API to emit it. Added New function gtk_widget_error_bell() which - looks at the gtk-error-bell setting and calls gdk_window_beep() - accordingly. - - * gtk/gtk.symbols: add the new widget symbols. - - * gtk/gtkcellrendereraccel.c - * gtk/gtkimcontextsimple.c - * gtk/gtkmenu.c - * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the - gtk-error-bell setting instead of calling gdk_display_beep() - unconditionally. - - * gtk/gtkcombobox.c - * gtk/gtkentry.c - * gtk/gtkiconview.c - * gtk/gtklabel.c - * gtk/gtkmenushell.c - * gtk/gtkspinbutton.c - * gtk/gtktextview.c - * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav. - - * gtk/gtkentry.c - * gtk/gtklabel.c - * gtk/gtkrange.c - * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed - cursor navigation and leave the widget if it returns FALSE. - - * gtk/gtkmenushell.c - * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around - is TRUE. - - * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide - whether to to wrap-around, and don't select active items on cursor - navigation if gtk-keynav-cursor-only is TRUE. Should look at - gtk-keynav-wrap-around too, will look into that. - -2006-11-16 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_info_get_uri_display): Return the URI - of the GtkRecentInfo object (upgraded to UTF-8 if - needed) in case of non-local file. (#351945) - -2006-11-16 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: - (gtk_recent_chooser_menu_add_tip): Apply the tip only - if we have a displayable name for the item. (#365031, - patch by padraig.obriain(at)sun.com) - -2006-11-16 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: Provide a fast path returning - NULL when the limit is set to 0. - - * gtk/gtkrecentchooserdefault.c: - * gtk/gtkrecentchoosermenu.c: Add the same fast path - inside the RecentChooser implementation; add a check - in the list clamping code. (#373466 and duplicates) - -2006-11-15 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): - Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos) - -2006-11-15 Michael Natterer - - * gtk/gtkrange.[ch]: added properties "fill-level", - "show-fill-level" and "restrict-to-fill-level" and getters/setters - for them. The "fill level" is an additional marker on the range's - trough than can be e.g. used to indicate the amount of - pre-buffering in a range showing the play position of streamed - media. See the embedded API docs for details. Made GtkRangeLayout - a GTypeInstance private struct and removed finalize() - implementation. Fixes bug #349808 - - * gtk/gtk.symbols: added the new symbols. - -2006-11-14 Behdad Esfahbod - - * configure.in: Make libtool magic robust. (#352795) - -2006-11-13 Paolo Borelli - - * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory - leak (#370395) - -2006-11-09 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable - don't move cursor case for SELECTION_NONE. (#371756, John Ellis). - -2006-11-09 Carlos Garnacho - - * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion. - -2006-11-08 Carlos Garnacho - - * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll - timeout running if the slider buttons are hidden. (#372527) - -2006-11-08 Christian Persch - - * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make - the "Location" label bold. Bug #372449. - -2006-11-07 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make - non-focused tabs xthickness/ythickness thinner. (#353962) - -2006-11-07 Paolo Borelli - - * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory - corruption (#357050). - -2006-11-06 Alexander Larsson - - * gtk/gtkdnd.c: (gtk_drag_begin_internal), - (gtk_drag_source_info_destroy), (gtk_drag_end), - (gtk_drag_grab_notify_cb): - Cancel drag when the grab is shadowed. (#122688) - -2006-11-01 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_class_init), - (gtk_combo_box_size_request): add arrow-size property to control - the minimum size of the arrow, have the arrow scale up with the - font by default. (#357950). - -2006-10-30 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't - forget to queue a draw for the new cursor node. (Fixes #366548, - reported by Sven Herzberg). - -2006-10-30 Michael Natterer - - * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key - only if we actually cancel a drag. Fixes bug #58389. - -2006-10-30 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right - keybindings to collapse/expand rows instead of moving the focus - cursor. (#105895, Brian Bober and others). - -2006-10-29 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against - child removal in row-expanded callback. (#366782, John Ellis). - -2006-10-29 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling - of the small icon of the window class. (#152620, Kazuki Iwamoto) - -2006-10-29 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c - (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors, - for instance the built-in GDK ones. - -2006-10-27 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0 - case to not overwrite the variables in the lower scope (which are - used later on ...), get the path correctly and bail out when there - isn't a node above us. (#359231). - -2006-10-26 Christian Persch - - * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261). - -2006-10-25 Johan Dahlin - - * gtk/gtk.symbols: Add missing symbols to so make check can pass - -2006-10-23 Dom Lachowicz - - * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember - to free GDI Pen resources, introduced by bug 340201.(#364514) - -2006-10-18 Kristian Rietveld - - * tests/testcombo.c (main): connect to notify::popup-shown instead of - popup-show (the latter does not exist). - -2006-10-15 Paolo Borelli - - * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak. - Fixes bug #362439. - -2006-10-12 Michael Natterer - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below - (committed the wrong patch). - -2006-10-12 Michael Natterer - - * gtk/gtkcombobox.c: added "move-active" and "popup" signals and - bindings to trigger them. Removed gtk_combo_box_key_press(), it's - obsolete now. Fixes bug #358293. - -2006-10-11 Michael Emmel - - * gdkpixmap-directfb.c: add missing RGB24 case (#361176) - -2006-10-11 Tor Lillqvist - - * configure.in: Enable having some gdk-pixbuf loaders built-in - even if loading the others dynamically. Define Automake - conditional INCLUDE_FOO for each loader as TRUE if that loader is - built-in. See also gdk-pixbuf/ChangeLog. - -Wed Oct 11 14:31:30 2006 Tim Janik - - * docs/reference/gtk/gtk-sections.txt: - * gtk/gtkbindings.c: document gtk_binding_entry_skip(). - -2006-10-11 Tor Lillqvist - - * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static - variable. - -2006-10-11 Tor Lillqvist - - Merge from 2.10 branch: - - * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if - environment variable LC_ALL or LANG is set, set the Win32 thread - locale to the corresponding locale. Then call the C library - setlocale() to set the C library locale accordingly. The - inconsistency mentioned below is gone. (#339756) Do some special - casing for Serbia and Montenegro. Handle the Latin and Cyrillic - scripts for Azeri, Uzbek and Serbian. - (enum_locale_proc): Helper function for the above functionality. - - * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check - if the environment variables are set here, as they have already - been taken into account and the Win32 thread locale has been - set. - -Tue Oct 10 16:38:23 2006 Tim Janik - - * gtk/tmpl/gtkbindings.sgml: - * gtk/gtkbindings.c: applied patch from Michael Natterer to move to - inline docs. applied wording fixes suggested by Martyn Russell. - -2006-10-09 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): - Update the docs to state which out parameters may be NULL. - (#360870, Attilio Fiandrotti) - -2006-10-08 Matthias Clasen - - * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix - a typo. (#359542, Ghee Teo) - -2006-10-08 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only - reorder tabs if the focus is in the tab. (#350342, Carlos - Garnacho Parro) - -2006-10-08 Michael Emmel - - * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) - -2006-10-08 Kristian Rietveld - - * gtk/gtktreeview.[ch] (gtk_tree_view_set_property), - (gtk_tree_view_set_show_expanders), - (gtk_tree_view_get_show_expanders): add getter/setter for - show-expanders property, queue a redraw when this property - is toggled (#351167, Martin Ejdestig), - (gtk_tree_view_set_level_indentation), - (gtk_tree_view_get_level_indentation): also add getter/setter - and docs for level-indentation property. - -2006-10-08 Matthias Clasen - - * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't - leak a list. (#360350, Benjamin Berg) - - * Apply a cleanup patch by Kjartan Maraas (#341812) - -2006-10-07 Tor Lillqvist - - * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread - locale's first day of week setting on Win32. (#339752, Bogdan - Nicula) Don't do this if one of the environment variables that - affect gettext is set, though. In that case use the week start day - from the corresponding message catalog. - - Unfortunately the same logic isn't possible in the weekday and - month name lookup; there even if you have set one of the - aforementioned environment variables, you still get the weekday - and month names from the Win32 thread locale. Yes, this is - inconsistent. - - Use only wide-character API in the Win32 code in this file, too. - -2006-10-06 Matthias Clasen - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple): - Fix the docs. (#360112) - - * gtk/gtkcellview.c: Don't set the background of the - window in a no-window widget. (#359581, Xan Lopez) - - -2006-10-05 Behdad Esfahbod - - * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the - test correctly. (#359845) - -2006-10-05 Michael Natterer - - * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets - rid of a key binding (in fact, it only lets it appear unbound). - - * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added - "guint marks_unbound : 1" - - (gtk_binding_entry_skip): new API which marks the entry as unbound. - - Changed code so it returns FALSE when "marks_unbound == TRUE" is - encountered while activating bindings, effectively letting the - binding appear unbound (regardless of still existing bindings in - lower binding priority levels). Fixes bug #358329. - - (gtk_binding_entry_add) - (gtk_binding_entry_clear) - (gtk_binding_entry_add_signall) - (gtk_binding_parse_binding): deprected these functions. - - (_gtk_binding_parse_binding) - (_gtk_binding_entry_add_signall): new internal API. - - * gtk/gtk.symbols: changed accordingly. - -2006-10-03 Matthias Clasen - - Fix interaction of GtkEntryCompletion with input - methods. (#354495, Diego Escalante Urrelo) - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset - the im context if we actually handle the key event. - - * gtk/gtkentrycompletion.c: Also propagate key release events - to the entry. - -2006-10-03 Matthias Clasen - - * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex): - Fix a typo. (#359052, Ghee Teo) - - * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to - reduce relocations. (#359053) - -2006-10-03 Matthias Clasen - - * modules/printbackends/cups/gtkcupsutils.c: - * modules/printbackends/cups/gtkprintbackendcups.c: Complete - the fix for bug 357280. - -2006-10-02 Behdad Esfahbod - - * gdk-pixbuf/Makefile.am: - * gdk/Makefile.am: - * gtk/Makefile.am: - Include pltcheck.sh in EXTRA_DIST. - -2006-10-02 Behdad Esfahbod - - * gdk/x11/gdkevents-x11.c: Move all includes before including - gdkalias.h. - -2006-10-02 Behdad Esfahbod - - * gtk/Makefile.am: Fix typo in file name. (#358931) - -2006-10-02 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): - Only use the group name field if cups is new enough. (#357280) - - * gtk/gtksizegroup.c: Make sure that the quarks are - initialized before using them. (#353736) - - * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to - replace existing links. (#354849, James Evans) - -2006-10-01 Matthias Clasen - - * gtk/gtkexpander.c (gtk_expander_realize) - (gtk_expander_size_allocate): Make the event_window large - enough to cover the full height of the label_widget. (#358351, - Scott Horowitz) - -2006-10-01 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c. - -2006-09-30 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (update_combo_box): Protect - against base_path being NULL. (#358405, many reporters) - -2006-09-29 Matthias Clasen - - * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain - to avoid a deadlock. - -2006-09-27 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level), - (gtk_tree_model_filter_ref_node), - (gtk_tree_model_filter_real_unref_node): bring zero ref count loops - in sync with each other and the sort model. - -2006-09-27 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init), - (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted), - (gtk_tree_model_filter_new): unref the virtual root path once that - node (or one if its ancestors) is deleted, set virtual_root_deleted - so we only unref it once. - -2006-09-27 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed), - (gtk_tree_model_sort_sort_level): ref count nodes the proper way, - (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node), - (gtk_tree_model_sort_free_level): bring zero ref count loops in - sync, - (gtk_tree_model_sort_free_level): free child levels before - decreasing the zero ref count of the current level, - (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count - is > 0. - -2006-09-25 Matthias Clasen - - * demos/gtk-demo/*.c: - * gtk/gtkeventbox.c: - * gtk/gtkprintoperation.c: Fix typos. String change. - -2006-09-25 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view - has already been realized; scroll to background area instead of - cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen). - -2006-09-25 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt - to create the GCs if the widget is realized. (Fixes #357578). - -2006-09-25 Matthias Clasen - - * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak - the list of children (#357454, Paolo Borelli) - -2006-09-25 Michael Natterer - - * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free - display->input_windows with g_free(), not g_object_unref() - (#357566, Tommi Komulainen). - -2006-09-24 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), - (gtk_cell_renderer_text_[sg]et_property): actually add align-set - property to the API (left-over patch from #157439). - -2006-09-24 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw - the indicator if the column has a sort column id (and the model is - sortable) or if the user explicitly requested the indicator - to be shown. (Fixes #352738, Chris Vine). - -2006-09-23 Tor Lillqvist - - * gtk/Makefile.am: Use EXEEXT. - -2006-09-22 Michael Natterer - - * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories - and color hashes. Fixes bug #357132. - -2006-09-22 Matthias Clasen - - Make remote bookmarks work better (#354887) - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): - (shortcuts_insert_path): - * gtk/gtkfilechooserbutton.c (change_icon_theme): - (model_add_bookmarks): - (model_update_current_folder): - (update_label_and_image): - If the bookmark points to a remote file, don't call get_info(), - since that may a) take a long time and b) pop up an auth dialog. - Instead, just use a folder icon and create a display name - from the uri. - - * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): - New function to create a suitable display name for a remote - uri. This should really be done in GtkFileSystem. - -2006-09-21 Michael Natterer - - Implement lots of value setters for GdkGC, based on a heavily - modified patch from Thomas Broyer (bug #328853): - - * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors - on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel() - which simply returns RGBA values from a GdkColor's pixel value. - See gdk_quartz_update_context_from_gc() below. - - * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots - of members for the newly suppored GC values. Added enum - GdkQuartzContextValuesMask which is used for setting up the - CGContext for filling and/or stroking. - - * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values) - (gdk_quartz_gc_set_values) - (_gdk_windowing_gc_copy): support a lot more GC values. - - (gdk_quartz_update_context_from_gc): added - GdkQuartzContextValuesMask parameter and set filling/stroking - parameters accordingly. This function also gained full control - over the FG and BG colors (they can't be set separately any more). - - The stipple mask part of the patch doesn't work but seems to take - the right approach and doesn't make things worse, so I applied it. - - Did *not* apply the clipping part of the patch since I don't - understand it (I don't understand the version in CVS either, but - it at least works :-) - - * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to - gdk_quartz_update_context_from_gc() and removed separate color - setting calls. Some minor fixes. - - * gdk/quartz/gdkwindow-quartz.c - (gdk_window_impl_quartz_begin_paint_region): set the CGContext's - fill color manually. We don't have/need a GC here. - -2006-09-21 Michael Natterer - - * gdk/quartz/gdkwindow-quartz.c - (gdk_window_impl_quartz_begin_paint_region): fix cast: it's - drawable_impl->wrapper that is the GdkWindow, not the - drawable_impl itself. - -2006-09-20 Behnam Esfahbod - - * gdk/x11/gdkkeys-x11.c: - (get_direction): just check the first shift-level of keyboard - layout for RTL and LTR keysyms() (compliment to #116626) - -Wed Sep 20 16:59:38 2006 Tim Janik - - * gtk/gtkviewport.c: always update the bin_window position and size - in size_allocate, even if we don't have a visible child. this fixes - expose artefacts as described in #313508. - - * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we - have no visible child explicit. - -2006-09-19 Ryan Lortie - - * docs/reference/gdk/gdk-sections.txt: - * gdk/gdk.symbols: - * gdk/gdkpango.h: - * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor. - (gdk_pango_layout_get_clip_region): Remove an unused variable. - (gdk_pango_attr_embossed_new): Fix documentation. - -Tue Sep 19 17:00:04 2006 Tim Janik - - * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to - control the arrow/border ratio within the allocation. - - * tests/testgtk.c: added a GtkArrow to handle box test. - - * tests/testgtkrc: test ::arrow-scaling property. - -2006-09-19 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): - Display an error when we come to the root. - -2006-09-16 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: Use bookmark labels in - the combobox. - - * gtk/gtkfilechooserbutton.c: Don't add remote volumes and - bookmarks to the model in local-only mode, to avoid - authentication dialogs pop up for invisible bookmarks, and - to fix issues with separators not being hidden when - they should. (#354887, Dennis Cranston) - -2006-09-16 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the - treeview use in list mode. (#355732, Richard Hult) - - * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send - change notification for the right property. (#355308, - Torsten Schoenfeld) - -2006-09-15 Michael Natterer - - * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column - header navigation/resizing/reordering to be more readable and lose - one level of nesting. - -2006-09-15 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly - return after handling column button focus; we disable wrap around - with this (which actually happened via a really weird code path). - (Michael Natterer) - -2006-09-15 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing - code RTL aware, also break from the loops after we have seen the - focussed column button (Michael Natterer). - -Thu Sep 14 12:28:51 2006 Tim Janik - - * tests/testrichtext.c (main): intialize random number generator state - upon program start, to enable truely random testing. - -2006-09-13 Michael Emmel - - * gdk/directfb/gdkcolor-directfb.c small clean ups include order - * gdk/directfb/gdkwindow-directfb.c fixed beep compile error - * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED - GDK_DISABLE_DEPRECATED to allow compile per Behdad - * gdk/quartz/Makefile.am same change as directfb Makefile - * gtk/Makefile.am fixed typo that cause socket stubs not to compile - -2006-09-13 Matthias Clasen - - * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible - for the grab widget, to make the color picker work with window - groups. - -2006-09-12 Hong Jen Yee - - signed off by: Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains - a large number of improvements to the Microsoft Windows theme engine - which are fully described in the bug report. - -Mon Sep 11 14:22:39 2006 Tim Janik - - * tests/testgtk.c: fixed compiler warnings. - -2006-09-10 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (model_add_special): Request - the display name too, otherwise "Desktop" does not appear - in the file chooser button. - -2006-09-10 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as - 0x0500 in gdkprivate-win32.h instead of doing it in two source - files. (#355212, Mike Edenfield) - - * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz - GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope. - -2006-09-10 Matthias Clasen - - * Commit a patch by Behdad to fix typos, omissions and other - errors in the symbol aliasing, and add checks for local PLT - entries. (#354687, Behdad Esfahbod) - - * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew - the flush timeout. (#354043, Nelson Benitez) - - * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): - Improve wording. String change! (#355126, David Lodge) - - * gtk/updateiconcache.c: Improve wording. String change! (#355128, - David Lodge) - - * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134, - David Lodge) - -2006-09-09 Matthias Clasen - - * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks. - (#353916, Chris Wilson) - - * gtk/gtksettings.c (_gtk_settings_reset_rc_values): - Don't leak the to_reset list. (#353914, Chris Wilson) - - * gtk/gtkwidget.c: Add docs for the parent-set signal. - (#353772, Mariano Suárez-Alvarez) - -2006-09-08 Matthias Clasen - - * gtk/gtktextbuffer.c (remove_all_selection_clipboards): - Don't clear clipboards here, since we are called from finalize - and can't emit signals. - - * configure.in: Set version to 2.11.0 - -2006-09-06 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case - shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806. - -2006-09-04 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): - if setting the given folder failed, try setting the parent folder - until we succeed; display an error box at the end. - -2006-09-04 Kristian Rietveld - - * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the - operations spawned by buttons here, - (set_button_image_get_info_cb): bail out if button is NULL, but - do free button_data, - (button_data_free): only free the data if non NULL (since this - function can be called multiple times for the same data), cancel - handle if pending but don't free button_data in this case (will - happen in the callback). - -2006-09-04 Michael Natterer - - * gtk/gtkrc.c (rc_parse_token_or_compound) - (gtk_rc_parse_assignment): serialize floating point values using - locale-independent functions. (#346751, Frederic Crozat) - -2006-09-04 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and - window handling (PeekMessage, PostMessage, SendMessage, - DispatchMessage, DefWindowProc, RegisterClassEx, - CreateWindowEx). (#321597) - -2006-09-03 Kristian Rietveld - - * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb), - (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond): - change file_exists_and_is_not_folder checks to get the file info - for the path directly instead of querying the current file folder - of the save entry. - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add - new field. - - * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle), - (test_reload_sequence), (test_button_folder_states_for_action): wait - for idle after setting a folder to ensure the async operations to load - the folder are finished, - (test_confirm_overwrite), (test_confirm_overwrite_for_path): - factor out test_confirm_overwrite code so we can add tests for more - paths more easily. - -2006-09-03 Richard Hult - - * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if - exposure isn't in the event mask, plug a leak, and check that the - window isn't destroyed. - (isOpaque): Check that the window isn't destroyed, fixes bug - #353028. - -2006-09-03 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo. - (#354035, Mariano Suárez-Alvarez) - - * gtk/gtkmain.c (post_parse_hook): - * gdk/gdk.c (gdk_init): Handle display_name being NULL. - (#354004, Chris Wilson) - -2006-09-03 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No - GDK_WINDOW_DISPLAY in the Win32 backend. - - * gtk/gtkfilesystemwin32.c: Copy what Kris did to - gtkfilesystemunix.c - -2006-09-02 Kristian Rietveld - - First part of file chooser fixes. - - * gtk/gtkfilechooserbutton.c (model_add_special): also set the - handle in the model for the desktopdir case. - - * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free - volume in case we retrieved it but don't pass it on to insert_path, - (shortcuts_model_create): change the column type for the handles - to pointer instead of GObject so our handle ref counting is not - disturbed, - (show_and_select_paths_finished_loading): don't forget to unref - the dialog. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init), - (gtk_file_system_unix_init), (gtk_file_system_unix_dispose): - remove pending execute_callbacks_idle during dispose, also - execute all callbacks waiting to be run in the next idle, - (queue_*callback), (execute_callbacks_idle): refactor to maintain - a list of callbacks to call per file system instead of globally, - guard the file system during callback invocation, - (gtk_file_system_unix_get_folder): only add load folder idle if - none has been added yet. - -2006-09-01 Matthias Clasen - - * gtk/gtkentry.c: Don't unnecessarily reset the im context - when deleting the selection. (#353803, Alex Larsson) - -2006-09-01 Abel Cheung - - * configure.in: Added 'ang' 'dz' to ALL_LINGUAS. - -2006-08-31 Matthias Clasen - - Stop cursor blinking after a configurable timeout. - (#353670, #352442, Arjan van de Ven, Manu Cornet) - - * gtk/gtksettings.c (gtk_settings_class_init): Add a - gtk-cursor-blink-timeout setting, which specifies the number - of seconds that the cursor should blink after a user interaction. - The default value is G_MAXINT to preserve the current behaviour. - - * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout - seconds. - - * gtk/gtkentry.c (gtk_entry_completion_key_press) - (gtk_entry_button_press, gtk_entry_focus_in): Reset the - blink timer. - - * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout - seconds. - - * gtk/gtktextview.c (gtk_text_view_key_press_event) - (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): - Reset the blink timer. - -2006-08-31 Matthias Clasen - - * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify - explicit format capabilities. (#346505, Christian Persch) - - * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. - -2006-08-31 Michael Natterer - - * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build. - -2006-08-30 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build. - -2006-08-30 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB - for beeping if we are using XKB. - -2006-08-29 Matthias Clasen - - * gdk/gdkwindow.h: - * gdk/gdk.symbols: - * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): - * gdk/win32/gdkwindow-win32.c (gdk_window_beep): - * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): - * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function - to beep on a window. For X11, implement this with - XkbBell. (#353455, Mariano Suárez-Alvarez) - -2006-08-29 Tor Lillqvist - - Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x - since 2.6 or 2.8. It's pointless to keep the Win9x code in here as - it isn't being maintained anyway. If somebody is interested, it - can always be found in older GTK+ versions, and in CVS. - - * configure.in - * acconfig.h - * gdk/Makefile.am - * gdk/win32/Makefile.am - * gdk/win32/libie55uid.la - * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure - switch and associated stuff. Active IMM and the header - was used for IM support on NT4 and Win9x. Win2k and later have IM - support built-in. - - * gdk/win32/gdkcursor-win32.c - * gdk/win32/gdkdnd-win32.c - * gdk/win32/gdkdrawable-win32.c - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkgc-win32.c - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkkeys-win32.c - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkproperty-win32.c - * gdk/win32/gdkselection-win32.c - * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED() - and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x) - branches, and any variables or static functions used only by the - Win9x branches. - - * gdk/win32/gdkprivate-win32.h: Remove backup definitions for - constants that aren't missing from current mingw and MSVC6 - headers. - - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed() - function. On NT-based Windows GetLastError() returns error codes - also for failed GDI calls, so we can use _gdk_win32_api_failed() - always. - -2006-08-29 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c - (gtk_recent_chooser_menu_set_current_uri): Break when an item - is found and activated. (#353449, based on a patch by Jan Arne - Petersen) - -Fri Jul 14 16:13:37 2006 Tim Janik - - * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style - properties which make all hardcoded padding and spacing values - configurable. properly swap ::text-xalign treatment for RTL widgets. - - * gtk/gtkprogress.c: fixed style property blurbs. made alignment - proeprty more consistent with GtkMisc alignment blurbs. mention - RTL treatment for text-xalign. - -Tue Aug 29 11:57:40 2006 Tim Janik - - * tests/testgtk.c: allow (most) windows to be resizable. - added ellipsization settings to progress bars. - -2006-08-28 Matthias Clasen - - * modules/printbackend/cups/gtkprintbackendcups.c: Use a - resonable timeout of 3 seconds when polling for printer - list updates, instead of 300000 seconds... - -2006-08-28 Michael Natterer - - * gtk/gtktextbufferserialize.c (serialize_text): don't write out - for tags that have already been closed by the logic - which turns overlapping spans into XML-able trees. Fixes broken - XML when there are overlapping tags in the buffer. Also free two - leaked GLists and did some cleanup. - - * tests/Makefile.am - * tests/testrichtext.c: new test which creates randomly tagged - GtkTextBuffers and serializes/deserializes them. - -2006-08-26 Matthias Clasen - - * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): - Don't leak pixbufs. (#352264, Ross Burton) - - * gtk/gtklinkbutton.c (set_link_underline): Don't leak - PangoAttributes. (#352391, Paolo Borelli) - -2006-08-25 Matthias Clasen - - * demos/gtk-demo/Makefile.am: - * demos/gtk-demo/textscroll.c: Add an example of automatic - scrolling, thanks to Yevgen Muntyan. (#351206) - - * gtk/gtkmodules.c (find_module): Use local binding when - loading modules. (#351868) - -2006-08-24 Michael Natterer - - * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return - the hostname instead of NULL. - -2006-08-23 Matthias Clasen - - * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about - names and values in comboboxes, and clean up some - coding style issues. - -2006-08-23 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path): - Revert unintended translatable string addition. Use same string - in GError as in gtkfilesystemunix.c. - - * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare): - Fix logic at the end of strings. - - * gtk/gtkfilesystemwin32.c: Maintain a hash table of live - handles and check that we have no outstanding handles at - finalization time. (Copying what Matthias did for - gtkfilesystemunix.c) - -2006-08-23 Matthias Clasen - - * gtk/gtkfilesystemunix.c: Maintain a hash table - of live handles and check that we have no outstanding - handles at finalization time. (Copying what - Federico did for gtkfilesystemgnomevfs.c) - -2007-08-22 Matthias Clasen - - * Branch for 2.10 - diff --git a/ChangeLog.pre-2-14 b/ChangeLog.pre-2-14 deleted file mode 100644 index fe6ee42098..0000000000 --- a/ChangeLog.pre-2-14 +++ /dev/null @@ -1,9588 +0,0 @@ -2008-09-17 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.14.2 === - - * NEWS: Updates - -2008-09-17 Matthias Clasen - - Bug 346903 – gtk_enumerate_printers needs events to complete - - * gtk/gtkprintbackend.h: - * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property. - - * modules/printbackends/cups/gtkcupsutils.h: - * modules/printbackends/cups/gtkcupsutils.c: Turn the connection - test into a tristate available/unavailable/in progress. - - * modules/printbackends/cups/gtkprintbackendcups.c: Use a single - connection test instance for getting the default printer and for - getting the printer list. Set the GtkPrintBackend::status property - according to the result of the connection test. Use the printer-type - attribute to find the default printer, if cups supports it. - - * gtk/gtkprinter.c: When enumerating printers, give up when - the backend status is 'unavailable'. - - * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer - when it is the default and nothing else has been selected yet. - - Patch by Marek Kasik. - -2008-09-17 Christian Persch - - Bug 552668 – format not a string literal and no format arguments in - gtkimmodule - - * gtk/gtkimmodule.c: (gtk_im_module_load): Use %s with g_warning here. - -2008-09-17 Christian Persch - - Bug 552667 – gtkimage containing gicon leaks memory - - * gtk/gtkimage.c: (ensure_pixbuf_for_gicon): Fix critical warnings - when looking up the icon fails. Plug a mem leak. - -2008-09-17 Matthias Clasen - - Bug 329593 – Entering characters on a line very cpu intensive and - slow - - * gtk/gtknotebook.c (gtk_notebook_page_allocate): Return a boolean - that indicates whether the tab allocation has changed. - (gtk_notebook_pages_allocate): Only redraw the tabs if their - allocation has changed. - (gtk_notebook_calculate_tabs_allocations): Remove unused return value. - Patch by Owen Taylor - -2008-09-17 Matthias Clasen - - Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style - property - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Take actions into account when finding the available space for - matches. Patch by Ross Burton - -2008-09-17 Matthias Clasen - - Bug 552500 – GtkPrintSettings API doc not precise enough - - * gtk/gtkprintsettings.c: Documentation improvements. Suggested - by Guillaume Cottenceau - -2008-09-17 Matthias Clasen - - Bug 552107 – Small libtool fixes - - * configure.in: Regenerate libtool early, quote $deplibs_check_method. - Patch by Patryk Zawadzki - -2008-09-17 Matthias Clasen - - Bug 551722 – gtk_widget_set_scroll_adjustments() should check the - signal signature - - * gtk/gtkwidget.c (gtk_widget_set_scroll_adjustments): Check the - signature of the signal. Patch by Christian Persch - -2008-09-16 Michael Natterer - - * gtk/gtkwidget.c (_gtk_widget_set,get_pointer_window): don't - access widget->window if the widget is not realized. - -2008-09-16 Matthias Clasen - - Bug 551987 – GtkPaned redrawing problem - - * gtk/gtkpaned.c: Remove excess invalidations. Patch by Owen Taylor - -2008-09-16 Matthias Clasen - - Bug 551987 – GtkPaned redrawing problem - - * gtk/gtkhpaned.c: - * gtk/gtkvpaned.c: Queue invalidations when the handle is moved - due to child changes. Patch by Owen Taylor - -2008-09-16 Matthias Clasen - - Bug 552001 – gtkimcontextsimple.c: variable is declared at middle of - block - - * gtk/gtkimcontextsimple.c: Fix a C99ism, pointed out by Kazuki - Iwamoto. - -2008-09-13 Tor Lillqvist - - * gtk/gtkmain.c: Don't use the deprectated - g_win32_get_package_installation_directory() and - g_win32_get_package_installation_subdirectory() functions. Use - g_win32_get_package_installation_directory_of_module() - instead. Also, don't use the deprecated silly - G_WIN32_DLLMAIN_FOR_DLL_NAME() macro, but an explicit minimal - DllMain() that just saves the DLL handle. - -2008-09-13 Cosimo Cecchi - - Bug 552153 – GtkModules loading with XSettings doesn't work if the - GTK_MODULES env var isn't set. - - * gtk/gtkmain.c: (do_post_parse_initialization): - * gtk/gtkmodules.c: (_gtk_modules_init): - Call _gtk_modules_init () even if gtk_modules_string is NULL, so - that GtkModules specified with XSettings could be loaded. - -2008-09-11 Cosimo Cecchi - - Bug 536542 – gtk_list_store_set() documentation doesn't say whether - values are copied. - - * gtk/gtkliststore.c: - * gtk/gtktreestore.c: - Explicitly mention in the docs that gtk_[list,tree]_store_set copies - or keep a reference of the values. - -2008-09-11 Marek Kasik - - Bug 551378 - Print dialog: should try UDS when fetching PPD for - localhost - - * modules/printbackends/cups/gtkprintbackendcups.c: Add ability - to get PPD file from CUPS through Unix domain socket - -2008-09-11 Christian Dywan - - Bug 551567 – DND mark broken - - * gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly - Patch by Yevgen Muntyan. - -2008-09-10 Björn Lindqvist - - Bug 551699 – gtk_scrolled_window_destroy() is broken - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_destroy, - gtk_scrolled_window_finalize): Check that the [hv]scrollbar - attributes are not-NULL before destroying and unparenting them. - -2008-09-10 Simos Xenitellis - - Bug 550676 – Memory leak, update keyboard layout data structure - - * gtk/gtkimcontextsimple.c (check_normalize_nfc): Added - function that checks if unicode sequence can be normalised (NFC) - to single character. Fixed memory leaks. - (check_algorithmically): Moved code to check_normalize_nfc, - updated switch statement for dead keys. - (gtk_im_context_simple_filter_keypress): Changed order; first - check_algorithmically() is attempted, then check_compact_table(). - - * gtk/gtkimcontextsimpleseqs.c: Updated compose sequence table - gtk_compose_seqs_compac[]. - - * gtk/compose-parse.py: Updated compose table generation script, - matches output to gtk/gtkimcontextsimpleseqs.c. - -Wed Sep 10 06:18:25 2008 Søren Sandmann - - * gdk/x11/gdkscreen-x11.c (init_multihead): Don't use - XRRGetScreenResources() as there are performance issues with - it. Instead rely on the fact that the RandR information is - propagated through Xinerama as well. - -2008-09-09 Marek Kasik - - Bug 551386 – gtk_printer_set_is_default() always sets TRUE - - * gtk/gtkprinter.c: sets the is_default parameter to the value - given by caller - -2008-09-08 Cosimo Cecchi - - Bug 551325 - Reference to wrong parameter in gtk_editable_insert_text - - * gtk/gtkeditable.c: Fix a reference to an invalid parameter in the - docs. - -2008-09-08 Paolo Borelli - - * gtk/gtkfilechooserentry.c (install_start_autocompletion_idle): - use gdk_threads_add_idle so that the handler acquires the lock - since it calls gtk functions. - -2008-09-08 Tor Lillqvist - - * configure.in (debug_default): Correct help string for - --disable-gdiplus. - -2008-09-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Actually use mime types, not content - types, for mimetype-based filtering, so it may work on win32. - -2008-09-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (search_selected_foreach_get_file_cb): - Ref the files, to make gtk_file_chooser_get_files() behave as - documented. - - * gtk/gtkfilechooserdefault.c (search_clear_model): Don't leak - the content of the search model. - - * gtk/gtkfilechooserdefault.c (search_hit_get_info_cb): Don't leak - the content here, either. - -2008-09-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (search_add_hit): Don't unref the - GFile we just put into the search_model. This adds a new memory - leak... - -2008-09-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Plug - a memory leak. - -2008-09-06 Matthias Clasen - - Bug 550062 – Small update in gdk/gdkkeysyms.h - - * gdk/gdkkeysyms.h: Add dead_perspomeni and fix dead_dasia. - Patch by Simos Xenitellis - -2008-09-06 Matthias Clasen - - Bug 550989 – gdk_display_put_event() should call - g_main_context_wakeup() - - * gdk/gdkdisplay.c (gdk_display_put_event): Wake up the main loop - after queueing the event. Patch by Owen Taylor - -2008-09-07 Yair Hershkovitz - - Bug 319849 - gtkcalendar look in RTL locales - - * gtk/gtkcalendar.c (calendar_realize_week_numbers), - (gtk_calendar_realize): added missing RTL code to handle week numbers - from gtk_calendar_size_alloc. - -2008-09-06 Sven Herzberg - - Bug 551063 – deprecated marking without a link to what new code should - use - - * gdk/gdkevents.c: added inline documentation for gdk_input_add() and - gdk_input_add_full(); added replacement hints into the deprecation - message - -2008-09-05 Michael Natterer - - * gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb): - stop the emission of the signal also when we bail out early - because we don't accept drops from ourselves. Keeps the code from - running into a warning in gtktreeview.c. - -2008-09-05 Tor Lillqvist - - * gtk-zip.sh.in: Fetch manpages from share/man where they get - installed. Don't include pointless entries for directories in the - zip files. Add etc/gtk-2.0/im-multipress.conf. - -2008-09-04 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.14.1 === - -2008-09-04 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.14.0 === - -2008-09-04 Matthias Clasen - - * gtk/gtkenums.h: Add nicks for the GtkNumberUpLayout values. - - * gtk/gtkprintunixdialog.c: - * gtk/gtkprintsettings.c: Simplify the handling of GtkNumberUpLayout - values. Followup on #535158, proposed by Christian Persch. - -2008-09-04 Matthias Clasen - - * INSTALL.in: Update required versions - -2008-09-04 Michael Natterer - - * gtk/gtkhandlebox.c: events return gboolean not gint. - Change misnamed gtk_handle_box_button_changed() to - gtk_handle_box_button_press(). Reindent static prototypes. - -2008-09-04 Michael Natterer - - * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): when extending - the draw rectangle by the "draw-border" style property, subtract - "left" from "x" and "top" from "y", not the other way around. - -2008-09-03 Matthias Clasen - - * gdk/gdkwindow.c: - * gtk/gtkbindings.c: - * gtk/gtkcolorseldialog.c: More doc fixes - - * gtk/gtktestutils.c: Fix a typo in the docs. - -2008-09-03 Matthias Clasen - - * NEWS: Updates - - * configure.in: Bump version to 2.14.0 - -2008-09-03 Matthias Clasen - - * gtk/gtkcolorsel.c: Set page_size to 0 for the spinbuttons - in the color selector. - - * README.in: Add a note about the GtkAdjustment clamping change - -2008-09-03 Matthias Clasen - - Bug 550528 - IconView DND interface does not work if only used as - source - - * gtk/gtkiconview.c: Make source-only DND work. - Found by Alex Simon - -2008-09-03 Matthias Clasen - - * gtk/gtk.symbols: Add some missing symbols - -2008-09-03 Matthias Clasen - - * gtk/gtkprintsettings.c: Fix order of includes to avoid unwanted - PLT entries. - -2008-09-03 Michael Natterer - - * gtk/gtkmenu.c - * gtk/gtkmenuitem.c: remove unused macro cruft. Also remove some - unneeded includes. - -2008-09-03 Michael Natterer - - * gtk/gtkarrow.c: expose-event returns gboolean not gint, - reindented static prototypes and did some minor cleanups. - -2008-09-03 Michael Natterer - - * gtk/gtkmenu.c: some more trivial cosmetic fixes. - -2008-09-03 Christian Dywan - - Bug 547449 – Entry/ Combo popup misplaced after resize - - * gtk/gtkcombobox.c (gtk_combo_box_menu_position), - (gtk_combo_box_size_allocate): reposition the combo popup when the - allocation changes - * gtk/gtkentry.c (gtk_entry_size_allocate): reposition the - completion popup when the allocation changes - -2008-09-03 Michael Natterer - - * gtk/gtkmenu.c (get_arrows_visible_area): proper function header - formatting. - -2008-09-02 Michael Natterer - - * gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return - gboolean instead of gint. Reindent static prototypes. - -2008-09-02 Michael Natterer - - * gtk/gtkwidget.c (gtk_widget_get_allocation): removed this - function because there is massive disagreement about how to - implement it. Needs some general discussion in the next - development cycle about how our C api should evolve. - - * gtk/gtk.symbols: changed accordingly. - -2008-09-01 Wouter Bolsterlee - - * gtk/gtkselection.c: - Update documentation for gtk_selection_data_get_data to - match the changes introduced in -r21232 (the length - parameter was removed). - -2008-08-30 Matthew Barnes - - Bug 549943 – gtk_tool_shell_get_relief_style() always returns - GTK_RELIEF_NONE - - * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return - the correct relief style. - -2008-08-29 Björn Lindqvist - - Bug 437791 – Animation is played at the wrong speed - - * gdk-pixbuf/io-gif.c (gif_get_lzw): Better 100 ms timeout for - broken GIFs with 0 frame timeout. - -2008-08-29 Christian Dywan - - Bug 549810 – Memory leaks in printing code - - * gtk/gtkprintjob.c (gtk_print_job_set_property): - * modules/printbackends/file/gtkprintbackendfile.c - (output_file_from_settings): - * modules/printbackends/test/gtkprintbackendtest.c - (output_test_from_settings): free some temporary strings. - Patch by Yevgen Muntyan. - -2008-08-29 Michael Natterer - - * gtk/gtkwidget.h: move the gtk_widget_get_parent() and - gtk_widget_get_parent_window() prototypes together with their - respective setters. - - * gtk/gtkwidget.c: move gtk_widget_get_parent_window() together - with its setter. - -2008-08-29 Michael Natterer - - * gtk/gtkscrolledwindow.c: events return gboolean not gint, - reindent prototypes. - -2008-08-29 Michael Natterer - - * configure.in: remove -DPANGO_DISABLE_SINGLE_INCLUDES from - CPPFLAGS, I committed that accidentially. - -2008-08-29 Michael Natterer - - * gtk/gtkpaned.c: minor indentation / coding style fixes. - -2008-08-29 Matthias Clasen - - Bug 549262 – GtkScrolledWindow should not accept focus unless - GTK_CAN_FOCUS is set - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): only grab the - focus, if GTK_WIDGET_CAN_FOCUS() returns TRUE. Patch by Sven - Herzberg - -2008-08-29 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into - gtk_selection_data_get_data and gtk_selection_data_get_length. - Proposed by Owen Taylor. - -2008-08-28 Christian Dywan - - Bug 549734 – gtk_selection_data_get_data prototype is wrong - - * gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the - 'length' argument of gtk_selection_data_get_data a 'gint', that's - what it should be. - -2008-08-27 Cody Russell - - * gdk/win32/gdkevents-win32.c: - * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if - the window's state has GDK_WINDOW_STATE_MAXIMIZED set before - calling ShowWindow (), and show using SW_SHOWMAXIMIZED or - SW_RESTORE accordingly. This fixes an issue where maximized - windows that are iconified do not restore back to maximized - when you click the taskbar. (#528975) - -2008-08-27 Matthias Clasen - - * gtk/gtkprintoperation.c: Documentation fixes. - -2008-08-27 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c: - * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent - implementations to avoid #548993. Patch by Ed Catmur. - -2008-08-27 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Don't capitalize - "per" in "Pages per Sheet". - -2008-08-26 Matthias Clasen - - Bug 549354 – Crash trying to open a file on a remote folder - - * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle - the fact that parent may be NULL without crashing. - -2008-08-25 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Replace - a long timeout with a second-granularity timeout. - -2008-08-25 Matthias Clasen - - * gtk/gtkprintunixdialog.c: - * modules/printbackends/cups/gtkprintbackendcups.c: Add translator - hints to many strings. - -2008-08-25 Gian Mario Tagliaretti - - Bug 549236 – missing Since 2.14 in gtk_file_chooser_get_file - - * gtk/gtkmountoperation.c: - * gtk/gtkfontsel.c: - * gtk/gtkfilechooser.c: Fix the docs, missing Since 2.14. - -2008-08-21 Matthias Clasen - - * gtk/gtksettings.c: When reconstructing the color hash, try - harder to avoid unnecessary notification, since this can lead - to infinite reloading of rc files in some situations. - -2008-08-21 Cody Russell - - * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks - to see if the window is modally blocked. This doesn't get us anything, - and it confuses the search window in GtkTreeView (and potentially other - utility windows in other apps). (#520165) - -2008-08-21 Michael Natterer - - * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix. - -2008-08-21 Marek Kasik - - Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page - email - - * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges - -2008-08-21 Marek Kasik - - * ChangeLog: changelog update for previous commit - -2008-08-21 Marek Kasik - - Bug 535158 – can't rearrange the order of multi pages per side - - * gtk/gtkprinter.c - * gtk/gtkprinter.h - * gtk/gtkprintunixdialog.c - * gtk/gtkprintsettings.c - * gtk/gtkprintsettings.h - * gtk/gtkenums.h - * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to - specify layout of pages per sheet in number-up mode - -Wed Aug 20 18:16:29 2008 Søren Sandmann - - * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the - monitors changed signal when the screen size changes. - -2008-08-20 Torsten Schoenfeld - - Bug 548346 – gtk_color_selection_dialog_get_color_selection always - returns NULL - - * gtk/gtkcolorseldialog.c - (gtk_color_selection_dialog_get_color_selection): Use the correct - macro to test the validity of the passed-in dialog. - -2008-08-05 Milan Crha - - * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with - arrows even on non-focusable notebook. (#528091) - -2008-08-19 Federico Mena Quintero - - http://bugzilla.gnome.org/show_bug.cgi?id=543308 - The file - chooser in "compact" mode uses the same size as in "open" mode. - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Don't - force the default size here. Let GtkFileChooserDefault be solely - in charge of default sizing. - (set_default_size): Removed obsolete code. - - * gtk/gtkfilechooserdefault.c (emit_default_size_changed): New - helper function, to avoid dupliated code. Only emits the signal - if the widget is mapped, because that is when we actually know the - size we'll want. - (update_preview_widget_visibility): Use emit_default_size_changed() - (update_appearance): Likewise. - (gtk_file_chooser_default_style_set): Likewise. - (gtk_file_chooser_default_screen_changed): Likewise. - (gtk_file_chooser_default_map): Likewise. - (find_good_size_from_style): Unconditionally compute a good - default size for the "OPEN" modes; don't store it in internal fields. - (gtk_file_chooser_default_get_default_size): Only compute the - font-based size if we are in one of the "OPEN" modes or in - expanded mode. - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): - Removed default_width/default_height; we don't store these - anymore. This will make recycled file choosers (like in the GIMP) - not "remember" their size across invocations. However, this - prepares the way for actually remembering the user's size globally - in the settings file. - -2008-08-19 Björn Lindqvist - - Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate - - * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some - code duplication, no need for separate loops for GTK_PACK_START - and GTK_PACK_END. - -2008-08-19 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._parse): - Remove the requres-version tag as well - -2008-08-18 Matthias Clasen - - * configure.in: Bump version - - * ==== Released 2.13.7 === - -2008-08-19 Mathias Hasselmann - - Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars - - * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year" - property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days() - multiplies the year property with 365 and returns the result as - glong. Therefore ceil(log(365, 2)) = 9 bits must be available, - not just 8 bits. - -2008-08-18 Björn Lindqvist - - Bug 541315 – Segfault when selecting a GtkMenuItem with submenu - and no parent - - * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure - that the menu item has a parent before popping it up. - -2008-08-18 Johan Dahlin - - Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView - - * gtk/gtk-builder-convert: Rename the text property to buffer. - -2008-08-16 Matthias Clasen - - * gtk/gtksizegroup.c: Use g_quark_from_static_string() where possible. - -2008-08-16 Matthias Clasen - - * NEWS: Updates - -2008-08-16 Torsten Schoenfeld - - * gdk/gdkwindow.c: Fix small issues in the documentation of - gdk_window_remove_redirection and gdk_window_redirect_to_drawable. - -2008-08-15 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): Some - aftermath of the fix of bug #543868. Clip and flip to the source, - not the destination. Don't save/restore the gstate, it's already - done when getting/releasing the context. - -2008-08-15 Richard Hult - - * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available): - Add another missing symbol. - -2008-08-15 Behdad Esfahbod - - Bug 547680 – fontconfig monitoring can crash apps - - * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache - before recreating fontconfig config. - -2008-08-15 Sven Herzberg - - Use the g_test_*() API for this test - reviewed by: Richard Hult - - * gdk/tests/check-gdk-cairo.c: use the g_test_*() API to permit adding - new tests - -2008-08-15 Sven Herzberg - - Prepare for using the g_test_*() API - reviewed by: Richard Hult - - * gdk/tests/check-gdk-cairo.c: use assertions instead of returning an - error code - -2008-08-15 Claudio Saavedra - - Bug 547944 – Self-reference in gtk_page_setup_load_file's docs - - * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file() - documentation. Pointed out by Torsten Schoenfeld. - -2008-08-15 Matthias Clasen - - Bug 547655 – gio_can_sniff configure test can fail if not installed - with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set - - * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS. - -2008-08-15 Christian Dywan - - Bug 547846 – gtktestutils functions lack Since: tags - - * gtk/gtktestutils.c: Add missing Since tags - -2008-08-15 Christian Dywan - - Bug 547775 – Documentation of gtk-button-images is not correct - - * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation - of "gtk-button-images" setting - -2008-08-13 Matthias Clasen - - Bug 547673 – Accessors for GtkFileSelection.font_entry and - font_style_entry - - * gtk/gtk.symbols: - * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not - actually part of the font selection dialog in standard builds. - Pointed out by Torsten Schoenfeld - -2008-08-13 Matthias Clasen - - Bug 547516 – Add comments for translators in gtkprintbackendcups.c - - * modules/printbackends/cups/gtkprintbackendcups.c: Add translator - hints. Patch by Leonardo Ferreira Fontenelle - -2008-08-13 Michael Natterer - - * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE - and BOOL. - - * gtk/gtkdialog.c - * gtk/gtkentrycompletion.c - * gtk/gtkmenuitem.c - * gtk/gtkoldeditable.c - * gtk/gtkrange.c - * gtk/gtktreeview.c - * gtk/gtkwidget.c: changed accordingly. - -2008-08-13 Erwann Chenede - - - Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama - doesn't compile on Solaris - - * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile - when HAVE_SOLARIS_XINERAMA is defined. - -2008-08-13 Michael Natterer - - * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of - g_dgettext() to fix warning about discarded qualifier. - -2008-08-12 Paolo Borelli - - * gtk/gtkclipboard.c (gtk_clipboard_store): - use canonical signal name. - -2008-08-12 Paolo Borelli - - Bug 526234 - make shift+ctrl+del delete till the end of line - - * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace - keyboard shortcuts to delete to the end/start of the current line. - -2008-08-12 Michael Natterer - - * gtk/gtklinkbutton.c (set_link_color): bail out if there is no - label to set the color on. - - (gtk_link_button_add): call set_link_color() so the label gets - the right color no matter how the link button is created. - -2008-08-12 Michael Natterer - - * gtk/gtkassistant.c: remove unused variable and fix formatting of - some function headers. - -2008-08-12 Michael Natterer - - * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the - global CFLAGS. - - * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h - visible for GDK_PIXBUF_COMPILATION. - - * contrib/gdk-pixbuf-xlib/Makefile.am - * demos/Makefile.am - * demos/gtk-demo/Makefile.am - * gdk-pixbuf/pixops/Makefile.am - * gdk/Makefile.am - * gdk/x11/Makefile.am - * gtk/Makefile.am - * gtk/tests/Makefile.am - * gtk/theme-bits/Makefile.am - * modules/engines/ms-windows/Makefile.am - * modules/engines/pixbuf/Makefile.am - * modules/input/Makefile.am - * perf/Makefile.am - * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here. - -2008-08-12 Michael Natterer - - * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use - g_return_val_if_fail() now that the function has a return value. - -2008-08-12 Sven Neumann - - * gtk/gtkaccellabel.c - * gtk/gtkaction.c - * gtk/gtkclist.c - * gtk/gtkcolorbutton.c - * gtk/gtkctree.c - * gtk/gtkdialog.c - * gtk/gtkdnd-quartz.c - * gtk/gtkdnd.c - * gtk/gtkentry.c - * gtk/gtkfilechooserdefault.c - * gtk/gtkfilesel.c - * gtk/gtkgamma.c - * gtk/gtkiconview.c - * gtk/gtkkeyhash.c - * gtk/gtklabel.c - * gtk/gtkmenu.c - * gtk/gtkmenubar.c - * gtk/gtkpaned.c - * gtk/gtkrecentchooserdialog.c - * gtk/gtkrecentchooserutils.c - * gtk/gtkselection.c - * gtk/gtksizegroup.c - * gtk/gtktextbtree.c - * gtk/gtktextbuffer.c - * gtk/gtktextview.c - * gtk/gtktoolbar.c - * gtk/gtktreemodel.c - * gtk/gtkuimanager.c - * gtk/gtkwindow-decorate.c - * gtk/gtkwindow.c: use canonical signal names in some more places - that I missed earlier. Also changed this in the documentation and - comments. - -2008-08-12 Sven Neumann - - * gtk/gtknotebook.c - * gtk/gtkradiotoolbutton.c: property nick and blurb should be - marked with P_(), not _(). - -2008-08-12 Michael Natterer - - * examples/gtkdial/gtkdial.c - * gdk/gdkapplaunchcontext.c - * gdk/gdkpango.c - * gtk/gtkcellrendererpixbuf.c - * gtk/gtkcellrenderertext.c - * gtk/gtkcellview.c - * gtk/gtkcombobox.c - * gtk/gtkfontsel.c - * gtk/gtkinvisible.c - * gtk/gtkliststore.c - * gtk/gtktexttag.c - * gtk/gtktexttagtable.c: remove dereferencing from some function - pointers i missed before. - -2008-08-12 Michael Natterer - - * gtk/gtkaccellabel.c - * gtk/gtkcalendar.c - * gtk/gtkclist.c - * gtk/gtkentry.c - * gtk/gtkeventbox.c - * gtk/gtkfilechooserbutton.c - * gtk/gtkfilechooserdefault.c - * gtk/gtkhandlebox.c - * gtk/gtkhsv.c - * gtk/gtkiconview.c - * gtk/gtkimage.c - * gtk/gtklayout.c - * gtk/gtklistitem.c - * gtk/gtkmenuitem.c - * gtk/gtkmessagedialog.c - * gtk/gtknotebook.c - * gtk/gtkpaned.c - * gtk/gtkpathbar.c - * gtk/gtkplug.c - * gtk/gtkprintunixdialog.c - * gtk/gtkrange.c - * gtk/gtkrecentchooserdefault.c - * gtk/gtkruler.c - * gtk/gtksocket.c - * gtk/gtktext.c - * gtk/gtktextview.c - * gtk/gtktoolbar.c - * gtk/gtktreeitem.c - * gtk/gtktreeview.c - * gtk/gtkviewport.c - * gtk/gtkwin32embedwidget.c: chain up unconditionally in - realize(), unrealize(), map(), unmap(), style_set(), - key_press_event() and size_request() - -2008-08-12 Michael Natterer - - * gtk/gtkwidget.c: change names of default implementations of - our own signals to consistently contain "real": - - gtk_widget_style_set -> gtk_widget_real_style_set - gtk_widget_direction_changed -> gtk_widget_real_direction_changed - -2008-08-12 Michael Natterer - - * gtk/*.c: consistently chain up using - GTK_FOO_CLASS(parent_class)->bar(instance) instead of - (*GTK_FOO_CLASS(parent_class))->bar(instance). - -2008-08-12 Matthias Clasen - - Bug 546730 – gtk_status_icon_get_gicon() should use a return instead - of an ouput parameter - - * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to - return the GIcon directly. - Complaint by Murray Cumming - -2008-08-11 Michael Natterer - - Bug 546754 – 2.13.6 update create rendering issue in the evolution - composer - - * gtk/gtkadjustment.c: instead of CLAMP(), use - - value = MIN (value, upper - page_size); - value = MAX (value, lower); - - so we don't end up below lower if upper - page_size is smaller - than lower. - -2008-08-11 Matthias Clasen - - Bug 546616 – CUPS print backend uses 1.2 API without guards - - * modules/printbackends/cups/gtkcupsutils.[hc]: Make use - of cups 1.2 api dependent on the HAVE_CUPS_1_2 define. - Patch by Sven Herzberg and Richard Hult - -2008-08-11 Michael Natterer - - Bug 547270 – Make GtkHSV public - - * gtk/Makefile.am - * gtk/gtk.h: install gtkhsv.h as public header (its symbols were - always public anyway). - - * gtk/gtkhsv.h: add single-include guards, add class struct padding, - seal the instance member, cleanup. - - * gtk/gtkhsv.c: center the widget in its allocation, - add "Since: 2.14", cleanup. - -2008-08-11 Torsten Schoenfeld - - * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc - to correctly state 2.14, not 2.16. - -2008-08-11 Sven Neumann - - * demos/gtk-demo/changedisplay.c - * demos/gtk-demo/clipboard.c - * demos/gtk-demo/drawingarea.c - * demos/gtk-demo/iconview.c - * demos/gtk-demo/images.c - * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos. - -2008-08-11 Matthias Clasen - - Bug 547211 – Duplicated mnemonic - - * gtk/gtkmountoperation.c: Change mnemonics around in - the password dialog to avoid a conflict. - Reported by Gil Forcada - -2008-08-11 Sven Neumann - - * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names. - -2008-08-11 Sven Neumann - - * examples/*: updated the (quite outdated) examples to use - canonical signal names as well. Removed some unneeded casts and - trailing whitespace while I was on it... - -2008-08-11 Sven Neumann - - * modules/input/gtkimcontextime.c - * modules/input/gtkimcontextmultipress.c - * modules/input/gtkimcontextxim.c: use canonical signal names. - -2008-08-11 Sven Neumann - - * gtk/gtkdnd-quartz.c - * gtk/gtkdnd.c - * gtk/gtkentry.c - * gtk/gtkfilesel.c - * gtk/gtkimcontextsimple.c - * gtk/gtkimmulticontext.c - * gtk/gtkoptionmenu.c - * gtk/gtkplug.c - * gtk/gtkrecentchooserdefault.c - * gtk/gtkscrolledwindow.c - * gtk/gtksocket-x11.c: use canonical signal names in some more - places that I missed earlier. - -2008-08-11 Sven Neumann - - * gtk/gtkaccelgroup.c - * gtk/gtkactiongroup.c - * gtk/gtkcalendar.c - * gtk/gtkcelleditable.c - * gtk/gtkclipboard-quartz.c - * gtk/gtkclipboard.c - * gtk/gtkcolorbutton.c - * gtk/gtkcolorsel.c - * gtk/gtkcontainer.c - * gtk/gtkcurve.c: use canonical signal names. - -2008-08-11 Sven Neumann - - * gtk/gtkentry.c - * gtk/gtkentrycompletion.c - * gtk/gtkhandlebox.c - * gtk/gtkiconview.c - * gtk/gtkimcontext.c - * gtk/gtkinputdialog.c - * gtk/gtktreeview.c: use canonical signal names. - -2008-08-11 Sven Neumann - - * gtk/gtklabel.c - * gtk/gtklayout.c - * gtk/gtklist.c - * gtk/gtklistitem.c: use canonical signal names. - -2008-08-11 Sven Neumann - - * gtk/gtkmenu.c - * gtk/gtkmenuitem.c - * gtk/gtkmenushell.c - * gtk/gtknotebook.c - * gtk/gtkoldeditable.c - * gtk/gtkpaned.c: use canonical signal names. - -2008-08-11 Michael Natterer - - * demos/gtk-demo/textscroll.c (create_text_view): don't use the - deprecated gtk_box_pack_start_defaults(). - -2008-08-11 Sven Neumann - - * gtk/gtkaboutdialog.c - * gtk/gtkcellrendereraccel.c - * gtk/gtkcellrenderercombo.c - * gtk/gtkcellrendererspin.c - * gtk/gtkcellrenderertext.c - * gtk/gtkclipboard.c - * gtk/gtkcolorsel.c - * gtk/gtkcombo.c - * gtk/gtkcombobox.c - * gtk/gtkdnd-quartz.c - * gtk/gtkdnd.c - * gtk/gtkentry.c - * gtk/gtkentrycompletion.c - * gtk/gtkfilechooserbutton.c - * gtk/gtkfilechooserdefault.c - * gtk/gtkfilechooserentry.c - * gtk/gtkfontsel.c - * gtk/gtkinputdialog.c - * gtk/gtkmenutoolbutton.c - * gtk/gtkpathbar.c - * gtk/gtktooltip.c: use canonical signal names in g_signal_connect(). - -2008-08-11 Sven Neumann - - * gdk/gdkkeys.c - * gdk/gdkscreen.c - * gdk/gdkdisplaymanager.c: use canonical signal names. - -2008-08-10 Richard Hult - - * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris), - (gtk_clipboard_request_uris): Implement missing functions. - -2008-08-09 Sven Herzberg - - Bug 544863 – gtkquartz.h not included in released 2.13.5 package - - * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST - -2008-08-08 Cody Russell - - Bug 547027 – menus are broken - - * gtk/gtkmenushell.c - * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing - mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions - in menus caused by bug #56070. - -2008-08-09 Sven Herzberg - - Get the gdk+cairo test to pass distcheck, too - - * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can - pick up the one created at build time - * gdk/tests/check-gdk-cairo.c (main): delete the output files after a - successful test run - -2008-08-08 Sven Neumann - - * gtk/gtkscale.c - * gtk/gtkscrolledwindow.c - * gtk/gtksocket.c - * gtk/gtkspinbutton.c - * gtk/gtkstatusbar.c - * gtk/gtkstatusicon.c: use canonical signal names. - -2008-08-08 Sven Neumann - - * gtk/gtktext.c - * gtk/gtktextbuffer.c - * gtk/gtktextlayout.c - * gtk/gtktexttagtable.c - * gtk/gtktextview.c - * gtk/gtktipsquery.c - * gtk/gtktoolbar.c - * gtk/gtktoolitem.c - * gtk/gtktreeitem.c - * gtk/gtktreemodelfilter.c - * gtk/gtktreemodelsort.c - * gtk/gtktreeviewcolumn.c: use canonical signal names. - -2008-08-08 Sven Neumann - - * gtk/gtktree.c - * gtk/gtktreemodel.c - * gtk/gtktreesortable.c - * gtk/gtktreeview.c - * gtk/gtkuimanager.c - * gtk/gtkviewport.c: use canonical signal names. - -2008-08-08 Sven Neumann - - * gtk/gtkwidget.c: - * gtk/gtkwindow.c: use canonical signal names. - -2008-08-08 Sven Neumann - - * gtk/gtkadjustment.c - * gtk/gtkclist.c - * gtk/gtkcolorsel.c - * gtk/gtkiconview.c - * gtk/gtklayout.c - * gtk/gtkprogress.c - * gtk/gtkrange.c - * gtk/gtkspinbutton.c - * gtk/gtktext.c - * gtk/gtktextview.c - * gtk/gtktreeview.c - * gtk/gtkviewport.c: use the canonical signal name "value-changed" - instead of "value_changed". - -2008-08-08 Tor Lillqvist - - * gtk/gtk.symbols - * gtk/makegtkalias.pl - * gtk/gtkaccelmap.c - * gtk/gtkfilechooser.c - * gtk/gtkfilesel.c - * gtk/gtkiconfactory.c - * gtk/gtkicontheme.c - * gtk/gtkimage.c - * gtk/gtkrc.c - * gtk/gtkuimanager.c - * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility - functions on Win64. - -2008-08-07 Matthias Clasen - - * configure.in: Its g_content_type_from_mime_type, not - g_content_type_for_mime_type. Noticed by Roger Brown - -2008-08-07 16:19:16 Tim Janik - - * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a - combination of g_warning+exit to avoid misleading the user. - -2008-08-07 Michael Natterer - - * gtk/gtkactiongroup.c - * gtk/gtkcellrendererspin.c - * gtk/gtkfilechooserbutton.c - * gtk/gtktoolitem.c: chain up unconditionally in finalize(). - -2008-08-07 Michael Natterer - - * gtk/gtkclist.c - * gtk/gtkcontainer.c - * gtk/gtkfilechooserbutton.c - * gtk/gtkgamma.c - * gtk/gtkmenutoolbutton.c - * gtk/gtkoptionmenu.c - * gtk/gtkradiobutton.c - * gtk/gtkradiomenuitem.c - * gtk/gtktipsquery.c - * gtk/gtktree.c - * gtk/gtktreeview.c: chain up unconditionally in destroy(). - - * gtk/gtkhandlebox.c: remove empty destroy() implementation. - -2008-08-07 Michael Natterer - - Bug 546756 – gnome-panel crashed with SIGSEGV in - g_type_check_instance_cast() - - * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation - and remove the image now that it's an internal child and isn't - destroyed by gtk_container_destroy() any longer. Thanks to tml for - helping bisecting this down. - -2008-08-07 Sven Neumann - - Bug 546771 - Add writable property "visited" to GtkLinkButton - - * gtk/gtk.symbols - * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a - read-write property with getters and setters. Also move the nick - and blurb of the "uri" property to the proper translation domain. - -2008-08-07 Michael Natterer - - * gtk/gtkicontheme.c (apply_emblems): move variables to local - scopes, fix indentation and silence bogus warning about using - uninitialized variables. - -2008-08-07 Richard Hult - - Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func() - - * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare), - (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes - deadlock and missing events. - -2008-08-07 Richard Hult - - * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name) - (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm): - Implement those, fixes loading python bindings. - -2008-08-07 Emmanuele Bassi - - Bug 545031 – list of recently used files is created world-readable - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_real_changed): Set the recently-used.xbel - file to 0600. (Guido Berhoerster) - -2008-08-06 Michael Natterer - - * modules/printbackends/cups/gtkcupsutils.c - (gtk_cups_connection_test_free): remove return value, this - function returns void. - -2008-08-06 Michael Natterer - - * gtk/gtkcombobox.c - * gtk/gtkiconview.c - * gtk/gtkrange.c - * gtk/gtkscrolledwindow.c - * gtk/gtktreeview.c: remove CLAMPing from values passed to - gtk_adjustment_set_value() since it does it right now. - -2008-08-05 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.13.6 === - - * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now, - since it breaks make distcheck. - -2008-08-05 Michael Natterer - - * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out - early if priv->button is NULL to avoid zillions of warnings when - destroying combo boxes that were working fine before the - button sensitivity patch. - -2008-08-05 Michael Natterer - - Bug 544858 – Seal GtkAdjustment - - * gtk/gtk.symbols - * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct - members. - - Add accessors for all properties and additionally a new function - gtk_adjustment_configure() which sets all properties at - once. Patch by Christian Dywan and myself. - -2008-08-05 Michael Natterer - - * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value - to [lower...upper-page_size] instead of only [lower...upper]. - - * README: add note about this change. - - While this fix is correct and should have been there forever, it - has the potential to break some corner cases, however these cases - would set page_size to a value != 0 which suggests they want it - honored. - -2008-08-05 Michael Natterer - - * tests/testiconview.c: don't use the deprecated - gtk_box_pack_start_defaults(). - -2008-08-04 Matthias Clasen - - Bug 545982 – missing braces cause bogus warnings when using GtkBuilder - - * gtk/gtkcelllayout.c: - * gtk/gtkdialog.c: - * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable - implementations. Patch by Antti Kaijanmäki - -2008-08-05 Tor Lillqvist - - * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to - avoid warning on Win64. - -2008-08-05 Tor Lillqvist - - * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to - gintptr instead of long when calculating hash, so we get all of - the pointer bits on Win64 where long is 32 bits. - -2008-08-05 Tor Lillqvist - - * gtk/gtkprintoperation-win32.c: Don't need to declare - IPrintDialogCallback with mingw64 either. It seems to be provided - with the newer versions of the headers included with mingw64. - -2008-08-05 Tor Lillqvist - - Bug 544684 - Win64 issue, window handles are assumed to be 32-bit - - * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such - as the GdkNativeWindow parameter to - gtk_window_remove_embedded_xid(). Debugging printout format fixes. - - * gtk/gtkwin32embed.h - * gtk/gtkwin32embed.c: Change the types of wparam and lparam - parameters to actually be WPARAM and LPARAM. - - * gtk/gtkplug-win32.c: Adapt accordingly. - -2008-08-04 Matthias Clasen - - * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really - a word, use 'audible' instead. - -2008-08-05 Tor Lillqvist - - * gtk/updateiconcache.c (write_bucket): Enclose ?: expression - with parens so cast covers all of it. - -2008-08-04 Matthias Clasen - - Bug 382291 – Automatically dim the combobox when the model is empty - - * gtk/gtk.symbols: - * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity - property with getter and setter to control the sensitity of - empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg, - Christian Dywan and others. - - * README.in: Add a note about automatic combobox sensitivity. - -2008-08-04 Matthias Clasen - - * gtk/tests/Makefile.am: Skip crossingevents test when - running make check, since it doesn't work on a naked - X server. - -2008-08-05 Tor Lillqvist - - Bug 544684 - Win64 issue, window handles are assumed to be 32-bit - - * gdk/gdkdnd.h - * gdk/gdkdnd.c - * gdk/win32/gdkdnd-win32.c - * gdk/x11/gdkdnd-x11.c: Change return value and type of window id - from guint32 to GdkNativeWindow for - gdk_drag_get_protocol_for_display() and - gdk_drag_get_protocol(). This is not an API break on existing - platforms, as GdkNativeWindow has been guint32 for them - already. - - * gdk/gdkselection.h - * gdk/gdkselection.c - * gdk/win32/gdkselection-win32.c - * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id - parameter of gdk_selection_send_notify_for_display() and - gdk_selection_send_notify(). - - * gdk/win32/gdkcursor-win32.c - * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice - versa to avoid gcc 4.4 signedness warnings. - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkproperty-win32.c - * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer - casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom - values in debugging output using the %p format. - - * gdk/win32/gdkkeys-win32.c - * gdk/win32/gdkfont-win32.c - * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings. - - * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of - SetWindowLong(). - - * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a - HANDLE on Win64. - - * gtk/gtkwindow.h - * gtk/gtkwindow.c: Change the type of the xid parameter of the - internal gtk_window_remove_embedded_xid() and - gtk_window_add_embedded_xid() functions from guint to - GdkNativeWindow. - - * gtk/gtkwindow.c (send_client_message_to_embedded_windows): - Instead of GPOINTER_TO_UINT(), just cast the gpointer to - GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on - Win64. - -2008-08-05 Tor Lillqvist - - * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long, - before doing bit tests on them. - -2008-08-05 Tor Lillqvist - - * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit - Windows, too. It just makes more sense, as a HWND *is* a kind of - pointer. - - * gdk/gdkconfig.h.win32: Ditto here. - -2008-08-04 Björn Lindqvist - - Bug 534979 – GtkImageMenuItem is a bin but has two children. - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not - include the image widget when iterating over non-internal - children. Patch by rainwoodman. - -2008-08-04 Matthias Clasen - - * NEWS: Updates - -2008-08-04 Matthias Clasen - - * configure.in: Bump glib dependency to 2.17.6 - -2008-08-04 Michael Natterer - - * gtk/gtkclist.c - * gtk/gtkctree.c - * gtk/gtkpixmap.c - * gtk/gtkpreview.c: get rid of using deprecated GDK APIs. - - * gtk/gtktext.c: ditto, apart from the text cruft APIs. - -2008-08-04 Michael Natterer - - * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if - "gdkrgb" is in the debug flags. - - * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag - here, this function is deprecated and the debug flag didn't work - when using GDK properly. - -2008-08-04 Matthias Clasen - - * gtk/gtkicontheme.c: Update to handle GEmblem. - -2008-08-04 Michael Natterer - - * tests/prop-editor.c: undeprecate (apart from still using - GtkOptionMenu). - -2008-08-04 Michael Natterer - - * gtk/gtkseparatortoolitem.c - * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED. - - * gtk/gtkcalendar.c (calendar_set_display_option): use - gtk_calendar_set_display_options() instead of the deprecated - gtk_calendar_display_options(). - -2008-08-04 Carlos Garnacho - - * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning. - -2008-08-04 Carlos Garnacho - - * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background - to be the GtkNotebook background color. This is a workaround to - prevent black pixels in rounded tabs when reordering. Improves - #368234. - -2008-08-04 Carlos Garnacho - - * gtk/gtk.symbols: - * gtk/gtkfilechooserbutton.[ch]: - * gtk/gtkfilechooserdefault.[ch]: - * gtk/gtkfilechooserdialog.[ch]: - * gtk/gtkfilechooserwidget.[ch]: Deprecate - gtk_file_chooser_*_new_with_backend(), since GIO is already used - directly. Fixes #545976. - -2008-08-04 Carlos Garnacho - - * gtk/gtk.symbols: - * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes - #545978. - * gtk/gtkfilechooserbutton.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilechooserutils.c: Update to use public GFile API. - -2008-08-04 Michael Natterer - - * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again. - - Fix pltcheck.sh by restricting the visibility of deprecated - symbols to the places where they are actually used: - - * gtk/gtkclist.c - * gtk/gtkctree.c - * gtk/gtklistitem.c - * gtk/gtklist.c - * gtk/gtkprogressbar.c - * gtk/gtkpixmap.c - * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define - __GTK_FOO_C__ on top instead of before including gtkaliasdef.c. - - * gtk/gtkclist.h - * gtk/gtkctree.h - * gtk/gtklistitem.h - * gtk/gtklist.h - * gtk/gtkpixmap.h - * gtk/gtkprogress.h: make the headers visible if the respective - __GTK_FOO_C__ are defined. - -2008-08-04 Michael Natterer - - * gtk/gtkclist.c - * gtk/gtklist.c - * gtk/gtkoldeditable.c - * gtk/gtkpixmap.c - * gtk/gtktipsquery.c - * gtk/gtktree.c - * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API. - -2008-08-04 Michael Natterer - - * gtk/gtkclist.[ch] - * gtk/gtkctree.[ch] - * gtk/gtkitemfactory.[ch] - * gtk/gtkobject.[ch] - * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g - -2008-08-04 Sven Neumann - - * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link - color when the "visited" state is changed. - -2008-08-04 Michael Natterer - - * gtk/gtkwindow.c: move the code of the deprecated - gtk_window_set_policy() to a new private function - gtk_window_set_policy_internal() and call it from - gtk_window_set_policy(). - - (gtk_window_set_resizable): use the new internal function in order - to avoid our own deprecated public API. - -2008-08-04 Michael Natterer - - * gtk/gtkbindings.c: move the code of the deprecated - gtk_binding_entry_clear() to a new private function - gtk_binding_entry_clear_internal() and call it from - gtk_binding_entry_clear(). - - (_gtk_binding_entry_add_signall) - (gtk_binding_parse_bind): use the new internal function in order - to avoid our own deprecated public API. - -2008-08-04 Michael Natterer - - * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font): - avoid our own deprecated public API and use - gtk_font_selection_get_font_internal() instead of - gtk_font_selection_get_font(). - - (gtk_font_selection_get_font) - (gtk_font_selection_dialog_get_font): Add missing - "Deprecated: 2.0" to the api doc comments. - -2008-08-04 Michael Natterer - - * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES. - -2008-08-04 Tor Lillqvist - - * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on - Windows. AC_SUBST it. - - * gdk/Makefile.am - * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe. - -2008-08-04 Tor Lillqvist - - Bug 544684 - Win64 issue, window handles are assumed to be 32-bit - - * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER. - - * gdk/gdkconfig.h.win32: Ditto here. - -2008-08-04 Tor Lillqvist - - * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code: - s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ . - -2008-08-04 Tor Lillqvist - - * configure.in: Don't bother with the test "if gio can sniff png" - if $gio_can_sniff has been already set. Preset it to "no" for - Win32. This helps cross-compilation from 32-bit Windows to 64-bit, - or from Unix to Windows in general. No idea how this should be - handled for cross-compilation in general. - -2008-08-04 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c: Don't bother looking up - EnumDisplayMonitors and GetMonitorInfoA dynamically, they are - present in NT-based Windows since Windows 2000. - (enum_monitor): For some reason the MONITORINFOEX struct in - mingw-win64 is different than the proper one as in MSDN and 32-bit - mingw, so just copy the proper definition here. - -2008-08-03 Björn Lindqvist - - Bug 540379 – gtk_tree_view_enable_model_drag_dest and - gtk_tree_view_enable_model_drag_source unsets reorderable property - - * gtk/gtktreeview.c: Improve docstrings regarding reorderable - property. - -2008-08-03 Matthias Clasen - - * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon. - -2008-08-03 Matthias Clasen - - Bug 546128 – Weirz string - - * gtk/gtksettings.c: Add a translator hint. - Requested by Ignacio Casal Quinteiro - -2008-08-02 Tor Lillqvist - - Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings - - * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug - potential leak. Thanks to Morten Welinder. - -2008-08-02 Tor Lillqvist - - * gtk/gtkprint-win32.c - * gtk/gtkprint-win32.h - * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch - below. - -2008-08-02 Tor Lillqvist - - Bug 339699 - implement gtk_print_operation_set_show_dialog for - Windows - - * gtk/gtkprint-win32.c - * gtk/gtkprint-win32.h - * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com. - -2008-08-02 Matthias Clasen - - Bug 544302 – GtkStatusIcon should support GIcon - - * gtk/gtk.symbols: - * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon. - Patch by Christian Dywan - -2008-08-02 Matthias Clasen - - Bug 429427 – Add "arrow-spacing" style property to GtkRange - - * gtk/gtkrange.c: Add an arrow-spacing style property. - Patch by Carlos Garnacho and Christian Dywan - -2008-08-02 Matthias Clasen - - Bug 429411 – add style properties to set minimum progressbar - width/height - - * gtk/gtkprogressbar.c: Add style properties for minimum size. - Patch by Carlos Garnacho and Christian Dywan - -2008-08-02 Matthias Clasen - - Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels - documentation - - * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve - the docs. - -2008-08-02 Matthias Clasen - - Bug 523950 – GtkTreeModelFilter's visible function may get an empty - row - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func): - Explain and show how iterators pointing to empty rows should be - handled in the visible function. Patch by Björn Lindqvist - -2008-08-02 Matthias Clasen - - Bug 539733 – No way to control treeview separator height - - * gtk/gtktreeview.c: Respect the wide-separators and - separator-height style properties when drawing separators. - Patch by Christian Dywan - -2008-08-02 Matthias Clasen - - Bug 65818 – rename gtk_window_set_default() and add getter for it - - * gtk/gtk.symbols: - * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to - gtk_window_get_default_widget. Patch by Christian Dywan - -2008-08-02 Matthias Clasen - - Bug 344383 – use po/LINGUAS - - * po/LINGUAS: New file, to make translators happy. - * configure.in: Use po/LINGUAS - * po/Makefile.in.in: Add po/LINGUAS to DISTFILES - Patch by Claude Paroz - -2008-08-02 Matthias Clasen - - * gdk/gdkapplaunchcontext.c: Improve the docs - -2008-08-01 Claudio Saavedra - - Bug 545931 – small documentation typos - - * gtk/gtkcomboboxentry.c: Fix some typos in the documentation. - -2008-08-01 Hans Breuer - - * gdk/makefile.msc : build gdkwindowimpl - - * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the - start of a block - - * tests/makefile.msc : update - -2008-07-31 Cody Russell - - Bug 56070 – Can't click button after setting it sensitive. - - * gtk/gtkwidget.[ch] - * gtk/gtkwindow.c - * gtk/gtkmain.c - * gtk/gtkbutton.c - * gtk/gtkprivate.h - * gdk/gdkevents.h: Synthesize crossing events events where necessary. - - * gtk/tests/crossingevents.c: Add unit tests for crossing events. - - Big thanks to Ed Catmur, Matthias Clasen, and everyone else who - has worked on and helped out with this. - -2008-07-31 Matthias Clasen - - Bug 424207 – printing hangs on unreachable cups server - - * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a - non-blocking test for reachability of the cups server. - - * modules/printbackends/cups/gtkprintbackendcups.c: Don't block - while trying to get the default printer. Patch by Marek Kasik. - -2008-07-31 Matthias Clasen - - * modules/input/gtkimcontextmultipress.c: Use a second-granularity - timer for automatic commit. - - * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity - timer for the store timeout. - -2008-07-31 Matthias Clasen - - * gdk/gdk.[hc]: - * gdk/gdk.symbols: Complete the set of thread-safe timeout function - with second-granularity versions. Patch by Marek Kasik. - -2008-07-30 Tor Lillqvist - - * gtk/gtkprintoperation-win32.c: Fix problems in handling custom - paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in - tenths of a millimeter, and the RECT passed to CreateEnhMetaFile() - is in hundredths of a millimeter. Patch by Sven Neumann. - -2008-07-28 Matthias Clasen - - * gtk/gtktreemodel.c: Small doc improvements. - -2008-07-28 Matthias Clasen - - * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon - - * gtk/gtkicontheme.c: Support rendering GEmblemedIcons. - -2008-07-27 Sven Herzberg - - Bug 544863 – gtkquartz.h not included in released 2.13.5 package - - * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST - -2008-07-25 Murray Cumming - - * gtk/gtkstatusicon.c (gtk_status_icon_class_init): - Documented the activate and popup-menu signals as being for use - by applications and language bindings, though they are G_SIGNAL_ACTION, - as stated in bug #361561. - -2008-07-24 Sebastien Bacher - - * modules/printbackends/cups/gtkprintbackendcups.c: - (cups_printer_get_options): don't try free gettext() values, - fix a printing dialog crasher (bug 544390) - -2008-07-24 Cody Russell - - Bug 544510 – SetTimer callback signatures has the wrong type - - * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and - sync_timer_proc() to use UINT_PTR for the 'id' parameter - instead of 'id'. Patch by Richard Hult. - -2008-07-23 Matthias Clasen - - Bug 543915 – "Sole completion" translation issue - - * gtk/gtkfilechooserentry.c: Add translator hints to a - bunch of strings. Requested by Andre Klapper - -2008-07-23 Matthias Clasen - - Bug 544265 – GDK assumes XFIXES extension - - * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme): - Only call XFixes functions if the server has the extension. - Reported by Ian Turner. - -2008-07-22 Matthias Clasen - - * configure.in: Compare two content types, not content type - and mime type. - -2008-07-22 Sven Herzberg - - Fix svn:ignore and the include condition - - * gdk/tests/check-gdk-cairo.c: ifndef => ifdef - -2008-07-22 Tor Lillqvist - - * configure.in: Workaround for what apparently is a bug in MSYS: - returning -1 from main() is misinterpreted as exit status 0, so - make sure we return 0 or 1. (The net effect of the bug was that no - image loading worked on Windows.) - -2008-07-22 Sven Herzberg - - Add a test for my fixes from July 20th. - - * configure.in: create gdk/tests/Makefile - * gdk/Makefile.am: include the tests subfolder - * gdk/tests/Makefile.am: create and run my test - * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote - (passes at least for x11 and quartz backends) - -2008-07-22 Frederic Crozat - - * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2 - if driver is detected as randr12_compat (ie X driver - is not RandR 1.2 compliant). Fixes multihead with - such drivers. Bug #543317. - -2008-07-21 Matthias Clasen - - * configure.in: Default to linking against Xinerama again, - so that we can fallback to Xinerama when broken X drivers - make Xrandr useless. Sigh. - -2008-07-21 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.13.5 === - -2008-07-21 Matthias Clasen - - * gtk/gtktestutils.c: - * gtk/gtkscalebutton.c: - * gtk/gtkmessagedialog.c: - * gtk/gtkmenu.c: - * gtk/gtkcontainer.c: - * gtk/gtkcolorseldialog.c: - * gtk/gtkaccelgroup.c: - * gtk/gtkentry.c: - * gtk/gtkfontsel.c: Fix some doc problems. - -2008-07-21 Michael Natterer - - * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of - the deprecated gtk_box_pack_start_defaults(). - - * gtk/gtkbindings.c (gtk_binding_entry_add_signal) - (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall() - instead of the deprecated gtk_binding_entry_add_signall(). - -2008-07-21 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (recent_app_info_new), (recent_app_info_free): Use GSlice to - allocate the application data for recently used resources; - do not call time() to initialize the timestamp, as it will - be overwritten anyway later. (#535223, Michael Meeks) - -2008-07-21 Kristian Rietveld - - Bug 543989 - Crash in gtk_tree_view_size_allocate_columns - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check - for width_changed != NULL. (Patch by Josselin Mouette). - -2008-07-21 Michael Natterer - - Bug 442042 – GtkScaleButton is too limited - - * tests/testvolumebutton.c: forgot to commit code that tests - toggling the button's orientation. Also fixes the file's coding - style. - -2008-07-21 Cody Russell - - Bug 153567 – Repaint glitches in widgets - - * gdk/win32/gdkevents-win32.c: Set a sync timer when - we receive WM_SYNCPAINT, and RedrawWindow() once - the timer expires. - -2008-07-21 Michael Natterer - - * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler - g_signal_override_class_handler() instead of - g_signal_override_class_closure(). - - * gtk/gtktextview.c (gtk_text_view_class_init): ditto. - - (gtk_text_view_compat_move_focus): chain up using - g_signal_chain_from_overridden_handler() instead of the generic - g_signal_chain_from_overridden() which needs manual fiddling with - millions of GValues. - -2008-07-21 Michael Natterer - - * gtk/gtkuimanager.c: remove redundant include. - -2008-07-21 Michael Natterer - - * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new(). - - * gtk/gtkfilechooserdefault.c - * gtk/gtkmenu.c - * gtk/gtkmenushell.c - * gtk/gtkscalebutton.c - * gtk/gtktextview.c - * gtk/gtktoolbar.c - * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add - some missing I_() to the signal names. - -2008-07-21 Michael Natterer - - * gtk/gtkspinbutton.c: remove g_return_if_fail() from private - functions and virtual function implementations. Some minor - cleanups. - -2008-07-20 Andre Klapper - - Bug 543915 - translation issues - - * modules/printbackends/cups/gtkprintbackendcups.c: - Add translator comments for several strings. - -2008-07-20 Sven Herzberg - - reviewed by: Richard Hult - - Fixes #543868: GdkPixmap is upside down on quartz - - * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the - coordinate space from GTK+ orientation to CoreGraphics orientation - before calling CoreGraphics code - * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the - coordinate space flipping (we always get it right, now) - * gdk/quartz/gdkpixmap-quartz.c - (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when - creating the CGContextRef - -2008-07-20 Sven Herzberg - - reviewed by: Richard Hult - - Extracted the CGContextRef creation into a virtual function of - GdkDrawableImplQuartz; implement get_context() for GdkPixmap and - GdkWindow - - * gdk/quartz/gdkdrawable-quartz.c - (gdk_quartz_drawable_get_context): dropped the different - implementations; forward to the virtual function now - * gdk/quartz/gdkdrawable-quartz.h: added the virtual function - * gdk/quartz/gdkpixmap-quartz.c - (gdk_pixmap_impl_quartz_get_context), - (gdk_pixmap_impl_quartz_class_init): implemented get_context() - * gdk/quartz/gdkwindow-quartz.c - (gdk_window_impl_quartz_get_context), - (gdk_window_impl_quartz_class_init): implemented get_context() - -2007-08-19 Matthias Clasen - - * NEWS: Updates - -2007-08-18 Matthias Clasen - - Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called - inside "apply" signal handler - - * gtk/gtkassistant.c: Don't emit signals with extra parameters. - Patch by Antti Kaijanmäki - -2007-08-18 Matthias Clasen - - Bug 543217 – GTK application crashed with directfb backend - - * gdk/directfb/gdkvisual-directfb.c: Avoid a crash in - _gdk_visual_init(). Patch by Huimin He. - -2008-07-18 Federico Mena Quintero - - * gtk/updateiconcache.c (build_cache): If the resulting cache file - would be empty, erase the old cache file as well as the temporary file. - -2008-07-18 Federico Mena Quintero - - * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't - do funny casts to avoid compiler warnings. - - * demos/gtk-demo/textview.c (easter_egg_callback): Likewise. - - * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise. - - * gtk/gtkmodules.c (load_module): Likewise. - - * gtk/gtkselection.c (gtk_selection_convert): Likewise. - - * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise. - - * gtk/queryimmodules.c (query_module): Likewise. - - * tests/testgtk.c (create_gridded_geometry, create_key_lookup) - (find_widget_at_pointer): Likewise. - -2008-07-08 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten - hunk of the previous commit. - -2008-07-18 Sven Herzberg - - Make aliasfilecheck.sh pass for the quartz backend, too. - - * gtk/Makefile.am: don't include gtkquartz.h in the list of c files - -2008-07-17 Runa Bhattacharjee - - * configure.in: Added Pashto (ps) to ALL_LINGUAS - -2008-07-15 Paolo Borelli - - Bug 447998 - GtkBuilder does not support building parts of the xml tree - - * gtk/gtkbuilder.c: - * gtk/gtkbuilder.h: - * gtk/gtkbuilderprivate.h: - * gtk/gtkbuilderparser.c: - * gtk/gtk.symbols: - Add two new functions that allow cherry picking and construct - objects from a ui description file or string. - - * gtk/tests/builder.c: tests for the above. - -2008-07-15 Paolo Borelli - - * gtk/tests/builder.c: fix up broken test (cellview has no "clicked" - signal) case and plug a couple of leaks. - -2008-07-15 Matthias Clasen - - Bug 543244 – crashes when renaming a bookmark - - * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't - free a GFile. Reported by Sebastien Bacher - -2008-07-15 Matthias Clasen - - Bug 339591 – Detect list of availible cover pages - - Patch by Marek Kasik: - * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of - available cover pages and the default front and back cover pages - from the cups server. - -2008-07-15 Matthias Clasen - - Bug 384940 – handle rejecting jobs and authentication meaningfully - - Patch by Marek Kasik, icons by Mike Langlie: - * gtk/gtk.symbols: - * gtk/gtkprintbackend.h: - * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties - and getters/setters. - - * gtk/gtkstock.h: - * gtk/gtkiconfactory.c: - * gtk/Makefile.am: - * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon. - - * modules/printbackends/cups/gtkprintbackendcups.c: - * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting - printers. - -2008-07-15 Matthias Clasen - - * configure.in: Add a test to see if GIO can sniff image data, - this should make gdk-pixbuf use its own sniffing again, on OS X. - -2008-07-15 Xavier Claessens - - Bug 542523 – GtkTextTag should handle setting properties to NULL - - * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when - setting it to NULL instead of displaying a warning. - -2008-07-15 Matthias Clasen - - Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed - - * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu): - Call shortcuts_check_popup_sensitivity() every time the - menu is popped up. Problem reported by Hong Jen Yee - -2008-07-15 Matthias Clasen - - Bug 488766 – GtkFileChooserButton doesn't clear icon after - gtk_file_chooser_unselect_all - - * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset - the image when the label is set to "(None)". Reported by - Neil Roberts - - * tests/testfilechooserbutton.c: Add an "Unselect all" button. - -2008-07-15 Matthias Clasen - - Bug 507394 – mem leak from gtk_selection_add_targets - - * gtk/gtkoldeditable.c: Free target lists in finalize. - Reported by Christian Persch - -2008-07-14 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class. - -2008-07-14 Matthias Clasen - - * gtk/gtklabel.c: Trivial doc fix. - -2008-07-14 Matthias Clasen - - Bug 542853 – jasper test fails due to incomplete library arguments - - * configure.in: Add -ljpeg when checking for jasper. - Reported by Mike Calmus - -2008-07-14 Matthias Clasen - - * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek - Kasik. - -2008-07-11 Kristian Rietveld - - Bug 316087 - Resizing columns is chaotic - - * gtk/gtktreeprivate.h: add new member fields. - - * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post - validation flag, - (gtk_tree_view_size_allocate_columns): rework the size allocation - mechanism to only recalculate the expand values if the width of the - widget, content or the column configuration has changed, - (gtk_tree_view_size_allocate): move call to size_allocate_columns() - to before the adjustment updates so the proper width is used after - we updated it, - (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column): - use the column width minus the expand value for the resized width, - (gtk_tree_view_move_column_after): update call to - gtk_tree_view_size_allocate_columns(). - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use - resized width to FALSE. - - * tests/Makefile.am: - * tests/testtreecolumnsizing.c: new interactive test program - for testing column resizing with different column configurations. - -2008-07-11 Simos Xenitellis - - * gtk/compose-parse.py: - * gtk/gtkimcontextsimple.c: - Fixed typo for the name of Markus Kuhn, issue mentioned - in bug #321896 (comment 61). - -2008-07-11 Simos Xenitellis - - Bug 334418 – Support easy input of ellipsis - - * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences - that listed the wrong codepoint. Reported by Wouter Bolsterlee. - -2008-07-03 Murray Cumming - - * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and - tooltip-markup properties: Interpret an empty string as a NULL - string because an empty tooltip is silly. This will help - language bindings that do not bother to have the two types of - empty/null strings. - Bug #541399. - -2008-07-10 Matthias Clasen - - Bug 542234 – iconview a11y implementation segfaults - - * gtk/gtkiconview.c: Fix a segfault in the a11y code. - Patch by Li Yuan. - -2008-07-08 Christian Neumair - - * gtk/gtkuimanager.c (update_node): - Skip update of accelerator child node if it has no associated action. - Fixes #541950. - -2008-07-07 Cody Russell - - Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack - - * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the - existing modal hint value before setting it. - -2008-07-07 Cody Russell - - Bug 540994 – [Win32] Some windows don't appear at the top when created - - * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal. - - I actually already committed this one by accident, probably when I committed - #541305, but just wanted to document it here in the ChangeLog. - -2008-07-07 Johan Dahlin - - * gtk/tests/builder.c (test_cell_view): - Add a test case for 528845. - -2008-07-07 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c - (gdk_window_foreign_new_for_display): Need to initialise - private->impl here, too. - -2008-07-07 Michael Natterer - - * gtk/gtkfilesystem.c: include the two needed headers instead of - . - -2008-07-06 Matthias Clasen - - Bug 528845 – segv from GtkBuilder on attempting under - GtkCellView - - * gtk/gtkcellview.c: Don't blindly chain up in the buildable - implementation. Reported by Kevin Ryde. - -2008-07-06 Matthias Clasen - - Bug 469068 – clarify gdk_cairo_create() - - * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo - contexts cannot be cached for handling expose events. - Proposed by Behdad Esfahbod. - -2008-07-06 Matthias Clasen - - Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups - - * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention - that the tooltip is set as markup. Proposed by Czirkos Zoltan. - -2008-07-06 Matthias Clasen - - Bug 510225 – gtk_widget_get_composite_name retval should be freed - - * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the - docs. Pointed out by Wolfgang Oertl - -2008-07-06 Matthias Clasen - - Bug 531129 – gtk_style_copy() does not include a return value or - description - - * gtk/gtkstyle.c: Document gtk_style_copy. - -2008-07-06 Matthias Clasen - - Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ - Bug 513580 – Broken link in GTK+ FAQ - - * docs/faq/gtk-faq.sgml: Remove or update some outdated links. - -2008-07-07 Christian Dywan - - * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove - erroneously added g_return_if_fail (bug #541811). - -2008-07-06 Matthias Clasen - - Bug 343663 – source-buffer highlighting highlights "char" in - gtk_text_iter_forward_char - - * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit. - -2008-07-06 Matthias Clasen - - Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes - - * gtk/gtksettings.c: Improve the documentation of the - gtk-icon-sizes setting. Proposed by Tommi Komulainen. - -2008-07-06 Matthias Clasen - - Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with - invalid dates - - * gtk/gtkcalendar.c (gtk_calendar_query_tooltip): - Check that the cursor is over a valid date before retrieving - its details. Patch by Chris Wilson - -2008-07-06 Matthias Clasen - - Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible - - * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix - 64-bit brokenness. Reported by Christian Hammond. - -2008-07-06 Matthias Clasen - - Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not - contain :// - - * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file): - Be more robust. Reported by Jelte van der Hoek - -2008-07-06 Matthias Clasen - - Bug 540917 – deprecate pack_start_defaults() - - * gtk/gtk.symbols: - * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults. - Proposed by Owen Taylor - -2008-07-05 Matthias Clasen - - * configure.in: Bump version - -2008-07-05 Matthias Clasen - - * === Released 2.13.4 === - -2008-07-05 Michael Natterer - - * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the - deprecated section because it isn't deprecated. - -2008-07-05 Michael Natterer - - * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up - other include weirdness in this file. - -2008-07-05 Matthias Clasen - - * NEWS: Updates - -2008-07-04 Matthias Clasen - - * gtk/gtkiconview.c: - * gtk/gtkfontsel.c: - * gtk/gtkscalebutton.c: Small doc fixes. - -2008-07-04 Matthias Clasen - - * gdk/gdkevents.c: - * gdk/x11/gdktestutils-x11.c: Small doc fixes - -2008-07-04 Matthias Clasen - - * gtk/tests/defaultvalue.c: Omit some more untestable properties. - - * gtk/gtkmenu.c: Fix the initial value of the monitor property. - - * gtk/gtkentry.c: Fix the property getter for text-length property. - - * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property. - -2008-07-04 Matthias Clasen - - * gtk/gtkmenu.c: Debork the attach-widget property. - -2008-07-04 Michael Natterer - - Fix make check: - - * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES - again :-( - - * gtk/gtkclist.c - * gtk/gtkcombo.c - * gtk/gtkctree.c - * gtk/gtklist.c - * gtk/gtklistitem.c - * gtk/gtknotebook.c - * gtk/gtkobject.c - * gtk/gtkoldeditable.c - * gtk/gtkpixmap.c - * gtk/gtktext.c - * gtk/gtktipsquery.c - * gtk/gtktree.c - * gtk/gtktreeitem.c: don't #define it again before including - gtkalias.h after it has been #undef'ed before. - -2008-07-04 Michael Natterer - - * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset - to FALSE instead of 0. - -2008-07-04 Michael Natterer - - Allocate with GSlice: - - * gtk/gtkassistant.c: GtkAssistantPage - * gtk/gtkcellview.c: GtkCellViewCellInfo - * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo - * gtk/gtkfilefilter.c: FilterRule - * gtk/gtknotebook.c: GtkNotebookPage - -2008-07-04 Michael Natterer - - * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice. - -2008-07-04 Michael Natterer - - * gtk/gtkprintoperation.c (print_pages): change "error_dialog" - variable to GtkWidget fo fix two warnings. - -2008-07-04 Michael Natterer - - Bug 539944 – Add GtkScaleButton API so struct fields can be marked - as private - - * gtk/gtk.symbols - * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button() - and _get_minus_button(). Patch by Christian Dywan. - -2008-07-04 Matthias Clasen - - * gtk/gtkscalebutton.c: - * gdk/gdk.symbols: - * gdk/gdkwindowimpl.c: Fix make check. - -2008-07-03 Matthias Clasen - - Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar - constructed using GtkUIManager - - * gtk/gtkmenuitem.c: Fall back to the default positioning when - the menuitem is not realized. Patch by Björn Lindqvist. - -2008-07-03 Matthias Clasen - - Bug 540612 – mem leak in filechooser - - * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak. - Patch by Christian Persch. - -2008-07-04 Tor Lillqvist - - Bug 540861 - invalid UTF-8 in input device name - - * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in - Unicode, and convert to UTF-8 for the GdkDevice's name field. - -2008-07-03 Matthias Clasen - - Bug 538863 – Fixes assertion on entering empty folder - - * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't - select the first row if the folder is empty. - Patch by Olle Bergkvist. - -2008-07-03 Matthias Clasen - - Bug 540915 – GtkBuilder sets properties in reverse order - - * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order - in which they are specified in the xml file. - -2008-07-03 Matthias Clasen - - Bug 539944 – Add GtkScaleButton API so struct fields can be marked as - private - - * gtk/gtk.symbols: - * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an - accessor for the popup. Patch by Christian Dywan - -2008-07-03 Matthias Clasen - - Bug 535498 – Printing demo broken - - * demos/gtk-demo/printing.c: Use monospace as font name, - not mono. Also use the right advance when moving from line to line. - Patch by Yevgen Muntyan. - -2008-07-03 Matthias Clasen - - Bug 538547 – Update doc-shooter in gtk documentation - - * docs/tools/Makefile.am: - * docs/tools/folder.png: - * docs/tools/gnome.png: New images - - * docs/tools/widgets.c: Use the new images. - Patch by Baptiste Mille-Mathias. - -2008-07-03 Michael Natterer - - * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the - names of binding signal implementations. - -2008-07-03 Li Yuan - - * gail-uninstalled.pc.in: - Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in. - -2008-07-03 Cody Russell - - Bug 540529 – Remove all GIMP references - - * gtk+-2.0.pc.in: - * gdk-2.0.pc.in: - * gtk+-unix-print-2.0.pc.in: - * gtk+-2.0-uninstalled.pc.in: - * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say - GTK+ Graphical UI Library in the pkg-config files. - -2008-07-02 Cody Russell - - Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring - - * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling - works again. - - * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks. - * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time - warnings. - -2008-07-02 Cody Russell - - Bug 541249 – [Win32] Fix some internal static methods - - * gdk/gdkwindow-win32.c: Make the interface implementation methods - static. - -2008-07-02 Michael Natterer - - Bug 537591 – Don't hardcode minimum width of menuitems - - * gtk/gtkmenuitem.c: applied patch from Christian Dywan which - introduces a "width-chars" style property which replaces the - hardcoded minimum width of menuitems with submenu. Patch - extracted from Maemo-GTK+. - -2008-07-02 Michael Natterer - - * gtk/gtkfilechooserdefault.c: remove some of the million includes. - -2008-07-02 Kristian Rietveld - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): - Since s/2.16/2.14/ for the new gicon property. - -2008-07-02 Kristian Rietveld - - Bug 455268 - Add gtk-enable-tooltips GtkSetting - - * gtk/gtk.symbols: - * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated. - - * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting. - - * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly - introduced XSetting into account. - - * demos/gtk-demo/appwindow.c: don't use the now deprecated - gtk_toolbar_set_tooltips(). - -2008-07-02 Cody Russell - - Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff - - * gdk/win32/gdkprivate-win32.h: - * gdk/win32/gdkgeometry-win32.c: - * gdk/win32/gdkevents-win32.c: - * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to - the newly refactored GdkWindow code. - -2008-07-01 Cody Russell - - Bug 539164 – Windows' System Menu blocks main loop - - * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between - receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the - GLib mainloop from there. - -2008-07-01 Richard Hult - - Some aftermath from the window impl cleanups: - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_merge_child_input_shapes): Rename and export again. - (gdk_window_quartz_get_offsets): Make static. - -2008-07-01 Michael Natterer - - * gtk/gtkscalebutton.h: forgot to commit the header, fixed now. - -2008-07-01 Matthias Clasen - - 539790 – [PATCH] Please add three new settings to GtkSettings - - * gdk/x11/gdksettings.c: - * gtk/gtksettings.c: Add event sound settings. - Patch by Lennart Poettering. - -2008-07-01 Matthias Clasen - - Bug 434535 – printoperation's create_surface doesn't check temp file - creation for success - - Patch by Marek Kasik: - - * gtk/gtkprintoperation-unix.c - (_gtk_print_operation_platform_backend_create_preview_surface): - Handle failure to create temp file by returning NULL. - - * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler): - Return FALSE if surface creation fails. - - (print_pages): If the preiew signal is not handled, show an - error dialog. - -2008-07-01 Michael Natterer - - Bug 442042 – GtkScaleButton is too limited - - * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal - property that can be changed at any time after widget - creation. Add public API for it. - - * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation. - -2008-06-30 Michael Natterer - - Some unrelated cleanups found while reviewing - the offscreen window patch: - - * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection - functions, fix some function header indentation, update - documentation of redirect_to_drawable(). - - * gdk/x11/gdkwindow-x11.c - * gdk/x11/gdkpixmap-x11.c: fix function header - formatting/indentation. - - * gtk/gtkwidget.c: use I_() on "damage_event". - -2008-06-30 Michael Natterer - - * gdk/gdkinternals.h: remove duplicate declaration of - _gdk_window_new(). - -2008-06-30 Michael Natterer - - * gdk/Makefile.am: reorder source lists alphabetically. - -2008-06-30 Matthias Clasen - - Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow - - * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing. - Patch by Owen Taylor - -2008-06-29 Behdad Esfahbod - - Bug 530255 – GtkAboutDialog cuts off comments label - Followup patch from Jan Arne Petersen - - * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout. - -2008-06-28 Michael Natterer - - * gtk/gtkselection.h: properly indent the newly added - GtkSelectionData accessors. Some newlines can't hurt either. - -2008-06-27 Mikael Hallendal - - * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row. - -2008-06-27 Mikael Hallendal - - * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end): - Factored out gtk_box_pack from gtk_box_pack_start and use it from both - pack_start and pack_end in order to reduce the code duplication. - -2008-06-27 Michael Natterer - - Bug 442042 – GtkScaleButton is too limited - - * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name - "gtk-scalebutton-popup-window" on the popup window so it is - properly themeable. - -2008-06-27 Kristian Rietveld - - * gdk/quartz/gdkgeometry-quartz.c: - * gdk/quartz/gdkwindow-quartz.c: - * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl - interface. - -2008-06-27 Carlos Garnacho - - * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential - critical warnings. Bug #539470. - -2008-06-27 Emmanuele Bassi - - Abstract some GdkWindow API into an interface that the backends - must implement. (based on a patch by Alex Larsson) - - * gdk/Makefile.am: Add gdkwindowimpl.[ch] - - * gdk/gdk.symbols: Move symbols around. - - * gdk/gdkinternals.h: - * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require - from the backends to a GInterface that the backends should implement - instead. - - * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a - wrapper call around the GdkWindowImpl interface vtable. - - * gdk/x11/gdkevents-x11.c: - * gdk/x11/gdkgeometry-x11.c: - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkwindow-x11.c: - * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement - the GdkWindowImpl interface. - -2008-06-27 Martyn Russell - - Bug 540318 - Invalid URL - - * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location - in the warning produced here. - -2008-06-27 Michael Natterer - - Bug 442042 – GtkScaleButton is too limited - - * gtk/gtkscalebutton.c: add "orientation" property. Make sure the - stuff that is part of the public API continues to be created in - init() to stay compatible. Move creating of the popup scale to - constructor(). Add an internal HScale class. Changed popup - positioning for horizontal scales accordingly. - -2008-06-26 Michael Natterer - - * gtk/gtkscalebutton.c - * gtk/gtkvolumebutton.c: remove redundant init() and class_init() - prototypes, remove redundant includes, remove a little trailing - whitespace. - -2008-06-26 Richard Hult - - * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents): - * gtk/gtkquartz.c: - (_gtk_quartz_get_selection_data_from_pasteboard), - (_gtk_quartz_set_selection_data_for_pasteboard): Patch from - Christian Dywan to clean up selection data setting. - -2008-06-26 Richard Hult - - * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use - deprecated function gtk_widget_ref, replace with g_object_ref. - -2008-06-26 Michael Natterer - - * gtk/gtkfilesystem.c: #include "config.h" - -2008-06-26 Carlos Garnacho - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_current_folder): current_folder can be - NULL here, do not try to reference it (Bug #540235) - (gtk_file_chooser_default_get_files): Deal better with - gtk_file_chooser_default_get_current_folder() being able to return - NULL. - -2008-06-26 Michael Natterer - - * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems): - allocate the GtkTextUtilCallbackInfo structs with GSlice. - -2008-06-25 Michael Natterer - - * gtk/gtktypeutils.h: there is no reason to include - in the middle of the file, move it to top, - replacing the include. Also move the remaining few - non-deprecated things to the top and move some deprecated things - around to clean up the mess with too many deprecated sections even - more. - -2008-06-24 Michael Natterer - - * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally - (also for GTK_COMPILATION). Move some deprecated typedefs around - to reduce the mess with zillions of deprecated sections. - - * gtk/gtkmain.c (do_post_parse_initialization): replace the call - to gtk_type_init() by g_type_init() and gtk_object_get_type() even - though the latter is probably completely pointless. - -2008-06-24 Michael Natterer - - * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how - the dialog's vbox was added (bug #539732). - -2008-06-24 Carlos Garnacho - - * gtk/gtkdialog.[ch]: Remove container implementation, which isn't - thought for handling non-direct children. Fixes #539732. - (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it - doesn't provide enough control to API users (removing, reordering...), - this is better handled through: - (gtk_dialog_get_content_area): New function which just returns - dialog->vbox. - * gtk/gtk.symbols: Modify accordingly. - * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend - using gtk_dialog_get_[action|content]_area() instead of accessing - dialog struct members directly. - -2008-06-24 Michael Natterer - - * gtk/gtkassistant.h - * gtk/gtkcellrenderer.h - * gtk/gtkfilechooserentry.h - * gtk/gtkprivate.h - * gtk/gtktooltip.h - * gtk/gtktreeview.h - * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h - if there is any other widget included, they all have to include - their respective parent classes (the is-a relation works for - includes too). - -2008-06-24 Michael Natterer - - * gtk/gtktextutil.h: remove includes from this internal header. - - * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h. - -2008-06-23 Michael Natterer - - * gtk/gtkinvisible.h: formatting. - -2008-06-23 Michael Natterer - - * gtk/gtkaction.h - * gtk/gtkbuildable.h - * gtk/gtkbuilderprivate.h - * gtk/gtkcelllayout.h - * gtk/gtkentrycompletion.h - * gtk/gtkfilechoosersettings.h - * gtk/gtkfilesystem.h - * gtk/gtkfilesystemmodel.h - * gtk/gtkicontheme.h - * gtk/gtklinkbutton.h - * gtk/gtkpagesetup.h - * gtk/gtkpapersize.h - * gtk/gtkprintcontext.h - * gtk/gtkprintoperation.h - * gtk/gtkprintoperationpreview.h - * gtk/gtkprintsettings.h - * gtk/gtkrecentchooserprivate.h - * gtk/gtkrecentmanager.h - * gtk/gtksearchengine.h - * gtk/gtktexttag.h - * gtk/gtktreeselection.h - * gtk/gtktreeviewcolumn.h - * gtk/gtkuimanager.h: remove redundant inclusion of and - . There is no point in relying on them being pulled - in by other headers in some places and placing them explicitly in - other places, so choose the "as little includes as possible" - approach and get rid of them. - -2008-06-23 Kristian Rietveld - - * gdk/gdkenumtypes.h.template: - * gdk-pixbuf/gdk-pixbuf-enum-types.h.template: - * gtk/gtktypebuiltins.h.template: - * perf/typebuiltins.h.template: do not hard code the prefix of the - enum, use @ENUMPREFIX@ instead (you need an up to date glib for this). - -2008-06-23 Michael Natterer - - * gtk/gtkmountoperation.h - * gtk/gtktestutils.h - * gtk/gtkshow.[ch]: remove as many includes as possible from these - new files. They can't be included individually, so nothing can break. - -2008-06-22 Michael Natterer - - * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when - registering the "modifier-mask" property. - -2008-06-21 Johan Dahlin - - * *.[ch]: Include "config.h" instead of - Command used: - find -name \*.[ch]|xargs perl -p -i -e 's/^#include /#include "config.h"/g' - Rubberstamped by Mitch and Tim - -2008-06-21 Carlos Garnacho - - Bug 539466 – GtkMenuShell API/ABI break in trunk. - - * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had - different name and packing width. - -2008-06-21 Johan Dahlin - - * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid - a compiler warning. - -2008-06-21 Michael Natterer - - * gdk/gdkapplaunchcontext.h: remove redundant include, fix - indentation, replace header by a GDK copyright header (don't say - "The Gnome Library"), remove trailing whitespace. - -2008-06-21 Hans Breuer - - * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible - types - from 'struct _cairo *' to 'struct _cairo_surface *' by - passing the surface to cairo_surface_show_page(), not the context - * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018: - '<' : signed/unsigned mismatch by using guint for the loop - - * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is - an uint, gtk_menu_get_active() returns the widget pointer. Convert - the latter to the former by calculating the index in menu::children - Also fix some occurences of g_return_if_fail() where - g_return_val_if_fail() was meant - -2008-06-21 Björn Lindqvist - - Bug 539363 – Segfault when creating GtkPlugs - - * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in - property names. "socket window" => "socket-window" - -2008-06-20 Jody Goldberg - - * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) : - Fix life cycle to avoid crash. [#536966] - -2008-06-20 Hans Breuer - - * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return - a value of the appropriate type with g_return_val_if_fail - - * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well - - * gtk/gtkfilesystem.c : don't add the "File System" on win32 - - * tests/makefile.msc : remove broken autotestfile(system|chooser) - from build - -2008-06-20 Johan Dahlin - - * gtk/gtkbutton.c: Document a style property - - * gtk/gtkeditable.c: Document and use - instead of _ in signal names. - - * gtk/gtkbutton.c: - * gtk/gtkcolorsel.c: - * gtk/gtkentry.c: - * gtk/gtkitemfactory.c: - * gtk/gtknotebook.c: - Fix up deprecated markup syntax. Add version numbers and - a message on the remaning ones. - -2008-06-20 Mikael Hallendal - - * tests/testthreads.c: Use g_signal_connect instead of - gtk_signal_connect. - - * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal. - While the code is not built, people may still look at it. - -2008-06-20 Kjartan Maraas - - reviewed by: - - * gtk/gtkbuilder.h: - * gtk/gtkliststore.h: - * gtk/gtkobject.h: - * gtk/gtktextchild.h: - * gtk/gtktreemodelfilter.h: - * gtk/gtktreemodelsort.h: - * gtk/gtktreestore.h: - #include not - -2008-06-20 Martyn Russell - - * gtk/gtkaccelgroup.c: Fix warnings from calling - g_object_notify() on a GtkAccelGroup without casting to a - GObject. - -2008-06-20 Johan Dahlin - - * gtk/gtkcolorsel.c: Modernize and order things as most - other objects. Defines at the top, class init before init - before gobject methods before object method before widget - methods. No changes to the logic done. - -2008-06-20 Martyn Russell - - * gtk/gtkaccelgroup.c: Don't call g_object_notify() with - properties that don't exist. Also, make sure we notify for - the "is-locked" property. - -2008-06-20 Johan Dahlin - - * gtk/gtklayout.c (enum): Remove left-over unused property enum. - -2008-06-20 Johan Dahlin - - * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon. - - * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes - - * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the - allocation to avoid compiler warnings - -2008-06-20 Michael Natterer - - * gtk/gtkaccellabel.h - * gtk/gtkactiongroup.h - * gtk/gtkalignment.h - * gtk/gtkarrow.h - * gtk/gtkaspectframe.h - * gtk/gtkbin.h - * gtk/gtkhandlebox.h - * gtk/gtkprogressbar.h - * gtk/gtkrange.h - * gtk/gtkscale.h - * gtk/gtkscalebutton.h - * gtk/gtkselection.h: fix some formatting and spacing uglyness - that got merged from the GSEAL branch. - -2008-06-20 Johan Dahlin - - * gtk/gtk.symbols: - * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image): - * gtk/gtkmessagedialog.h: - Add missing accessor for sealed field GtkMessageDialog->image. - -2008-06-20 Michael Natterer - - * gtk/gtkprinter.h: the GSEAL branch added two includes for no - reason. - -2008-06-20 Johan Dahlin - - * gtk/gtkaccelgroup.c: - * gtk/gtkcolorseldialog.c: - * gtk/gtkcontainer.c: - * gtk/gtkdialog.c: - * gtk/gtkentry.c (gtk_entry_class_init): - * gtk/gtkfontsel.c: - * gtk/gtkhandlebox.c: - * gtk/gtklayout.c: - * gtk/gtkmenu.c (gtk_menu_class_init): - * gtk/gtkmenuitem.c (gtk_menu_item_class_init): - * gtk/gtkplug.c (gtk_plug_class_init): - * gtk/gtkselection.c: - * gtk/gtksocket.c: - * gtk/gtktreeselection.c: - * gtk/gtkwidget.c (gtk_widget_class_init): - * gtk/gtkwindow.c: - Add missing Since: gtk-doc markup for newly added GSEAL API. - Change all Since: GSEAL-branch to Since: 2.14. - -2008-06-20 Michael Natterer - - * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in - the code merged from the GSEAL branch. - -2008-06-20 Michael Natterer - - * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return - value from GtkHButtonBox to GtkWidget. - -2008-06-20 Michael Natterer - - * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting - of sealed fields. - -2008-06-20 Michael Natterer - - * gtk/gtkwindow.[ch] - * gtk/gtk.symbols: rename gtk_window_group_get_windows() to - gtk_window_group_list_windows(). - -2008-06-20 12:35:20 +0200 Tim Janik - - * Fixed wrongly resolved merge conflicts. - -2008-06-19 19:01:41 +0200 Carlos Garnacho - - Add gtk_window_group_get_windows(). - - * gtk/gtk.symbols: - * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function. - -2008-06-19 18:39:47 +0200 Carlos Garnacho - - Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end() - - * gtk/gtkdialog.c: Add missing documentation for new fucntions. - -2008-06-19 18:38:35 +0200 Carlos Garnacho - - Document gtk_container_get_focus_child(). - - * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child(). - -2008-06-19 13:50:06 +0200 Christian Dywan - - Add gtk_plug_get_socket_window - -2008-06-19 13:11:52 +0200 Christian Dywan - - Remove superflous gtkselection accessors and merge _get_data - -2008-06-13 15:56:51 +0200 Christian Dywan - - Implement gtk_selection_get_display, style fixes - -2008-06-13 15:45:00 +0200 Christian Dywan - - Fix indentation of a comment. - -2008-06-13 15:10:08 +0200 Christian Dywan - - Change docs and signature of gtk_widget_get_allocation - -2008-06-13 14:22:17 +0200 Christian Dywan - - Remove unneeded GtkColorSelectionDialog accessors - -2008-06-13 12:57:54 +0200 Christian Dywan - - Fix documentaion of gtk_menu_item_get_accel_path - -2008-06-11 13:49:34 +0200 Christian Dywan - - Fix gtk_widget_get_allocation - -2008-06-07 15:37:18 +0200 Carlos Garnacho - - Switch to "guint GSEAL (foo) : width;" when packing fields in guints. - - * gtk/gtkbox.h: - * gtk/gtkbutton.h: - * gtk/gtkcellrenderer.h: - * gtk/gtkcellrenderertext.h: - * gtk/gtkcheckmenuitem.h: - * gtk/gtkcontainer.h: - * gtk/gtkentry.h: - * gtk/gtkhandlebox.h: - * gtk/gtkimcontextsimple.h: - * gtk/gtklabel.h: - * gtk/gtkliststore.h: - * gtk/gtkmenu.h: - * gtk/gtkmenuitem.h: - * gtk/gtkmenushell.h: - * gtk/gtknotebook.h: - * gtk/gtkpaned.h: - * gtk/gtkplug.h: - * gtk/gtkprintjob.h: - * gtk/gtkprogressbar.h: - * gtk/gtkrange.h: - * gtk/gtkscale.h: - * gtk/gtkscrolledwindow.h: - * gtk/gtksizegroup.h: - * gtk/gtksocket.h: - * gtk/gtkspinbutton.h: - * gtk/gtkstatusbar.h: - * gtk/gtktable.h: - * gtk/gtktearoffmenuitem.h: - * gtk/gtktextbuffer.h: - * gtk/gtktextview.h: - * gtk/gtktogglebutton.h: - * gtk/gtktoolbar.h: - * gtk/gtktreestore.h: - * gtk/gtktreeviewcolumn.h: - * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints. - -2008-06-06 19:02:17 +0200 Christian Dywan - - Seal GtkWidget - -2008-06-06 17:58:21 +0200 Christian Dywan - - Seal GtkSelectionData - -2008-06-06 17:57:23 +0200 Christian Dywan - - Fix GtkDialog, don't add vbox via gtk_container_add. - -2008-06-06 13:39:34 +0200 Kristian Rietveld - - Make GtkCellRenderer::editing read-only. (Catched by Matthias) - -2008-06-03 09:11:50 +0200 Kristian Rietveld - - Seal GtkTextView. - -2008-05-30 16:48:12 +0100 Martyn Russell - - Seal GtkFontSelection & GtkFontSelectionDialog - -2008-05-29 10:35:29 +0200 Kristian Rietveld - - Seal GtkTearoffMenuItem. - - (the torn_off field is for internal state keeping, you can retrieve - the value from the parent menu's tearoff_state). - -2008-05-27 18:34:12 +0200 Christian Dywan - - Seal GtkObject - -2008-05-27 18:17:44 +0200 Christian Dywan - - Seal GtkRange - -2008-05-27 15:10:02 +0200 Christian Dywan - - Seal GtkPlug - -2008-05-27 14:17:45 +0200 Christian Dywan - - Seal GtkMenuItem - -2008-05-27 14:04:31 +0200 Christian Dywan - - Seal GtkMenuShell - -2008-05-27 12:40:08 +0200 Christian Dywan - - Seal GtkInputDialog - -2008-05-27 12:39:49 +0200 Christian Dywan - - Seal GtkIMMultiContext - -2008-05-27 12:39:17 +0200 Christian Dywan - - Seal GtkIMContextSimple - -2008-05-27 12:14:53 +0200 Christian Dywan - - Seal GtkImage - -2008-05-27 11:14:21 +0200 Christian Dywan - - Seal GtkSocket - -2008-05-27 10:54:20 +0200 Christian Dywan - - Fix the build by including gdkconfig.h in gtkprinter.h. - -2008-05-27 10:38:02 +0200 Christian Dywan - - Seal GtkGammaCurve - -2008-05-27 10:20:56 +0200 Christian Dywan - - Seal GtkHandleBox - -2008-05-26 17:58:19 +0200 Kristian Rietveld - - Seal GtkInvisible. - -2008-05-26 17:54:56 +0200 Kristian Rietveld - - Seal GtkPrintJob. - -2008-05-26 17:48:23 +0200 Kristian Rietveld - - Seal GtkTextBuffer. - -2008-05-26 17:39:38 +0200 Kristian Rietveld - - Seal GtkSpinButton. - -2008-05-26 17:31:06 +0200 Kristian Rietveld - - Seal GtkTable. - -2008-05-26 17:27:22 +0200 Kristian Rietveld - - Seal GtkRuler. - -2008-05-26 17:07:43 +0200 Kristian Rietveld - - Seal GtkStatusBar. - -2008-05-26 17:07:37 +0200 Kristian Rietveld - - Seal GtkTextMark. - -2008-05-26 16:39:27 +0200 Kristian Rietveld - - Seal GtkTextTagTable. - -2008-05-26 16:34:13 +0200 Kristian Rietveld - - Seal GtkViewPort. - -2008-05-26 17:08:19 +0200 Christian Dywan - - Seal GtkSettings.h - -2008-05-26 16:40:05 +0200 Christian Dywan - - Seal GtkMenu - -2008-05-26 16:37:54 +0200 Christian Dywan - - Seal GtkLayout - -2008-05-26 14:09:32 +0200 Kristian Rietveld - - Seal priv pointer in GtkToggleToolButton. - -2008-05-26 14:04:51 +0200 Kristian Rietveld - - Seal priv pointer in GtkUIManager. - -2008-05-26 14:01:32 +0200 Kristian Rietveld - - Seal priv pointer in GtkToolItem. - -2008-05-26 14:01:12 +0200 Kristian Rietveld - - Seal priv pointer in GtkToolButton. - -2008-05-26 14:00:24 +0200 Kristian Rietveld - - Seal priv pointer in GtkToggleAction. - -2008-05-26 13:58:01 +0200 Kristian Rietveld - - Seal priv pointer in GtkStatusIcon. - -2008-05-26 13:57:33 +0200 Kristian Rietveld - - Seal priv pointer in GtkSeparatorToolItem. - -2008-05-26 13:56:33 +0200 Kristian Rietveld - - Seal priv pointer in GtkScaleButton. - -2008-05-26 13:55:57 +0200 Kristian Rietveld - - Seal priv pointer in GtkRecentManager. - -2008-05-26 13:55:25 +0200 Kristian Rietveld - - Seal priv pointer in GtkRecentChooserWidget. - -2008-05-26 13:54:39 +0200 Kristian Rietveld - - Seal priv pointer in GtkRecentChooserMenu. - -2008-05-26 13:54:15 +0200 Kristian Rietveld - - Seal priv pointer in GtkRecentChooserDialog. - -2008-05-26 13:52:40 +0200 Kristian Rietveld - - Seal priv pointer in GtkRecentAction. - -2008-05-26 13:51:47 +0200 Kristian Rietveld - - Seal priv pointer in GtkRadioAction. - -2008-05-26 13:50:49 +0200 Kristian Rietveld - - Seal priv pointer in GtkPrintUnixDialog. - -2008-05-26 13:50:08 +0200 Kristian Rietveld - - Seal priv pointer in GtkPrintOperation. - -2008-05-26 13:49:41 +0200 Kristian Rietveld - - Seal priv pointer in GtkPrinter. - -2008-05-26 13:48:49 +0200 Kristian Rietveld - - Seal priv pointer in GtkPageSetupUnixDialog. - -2008-05-26 13:47:39 +0200 Kristian Rietveld - - Seal priv pointer in GtkMenuToolButton. - -2008-05-26 13:47:29 +0200 Kristian Rietveld - - Add gdkconfig.h include to GtkBuilder for GSEAL macro. - -2008-05-26 13:23:45 +0200 Kristian Rietveld - - Seal priv pointer in GtkLinkButton. - -2008-05-26 13:22:25 +0200 Kristian Rietveld - - Seal priv pointer in GtkIconView. - -2008-05-26 13:22:04 +0200 Kristian Rietveld - - Seal priv pointer in GtkIconTheme. - -2008-05-26 13:13:49 +0200 Kristian Rietveld - - Seal child_allocation field in GtkFrame. - -2008-05-26 13:10:17 +0200 Kristian Rietveld - - Sealed priv pointer in GtkFontButton. - -2008-05-26 13:07:14 +0200 Kristian Rietveld - - Seal priv pointer in GtkFileChooserButton. - -2008-05-26 13:06:43 +0200 Kristian Rietveld - - Seal priv pointer in GtkExpander. - -2008-05-26 13:03:24 +0200 Kristian Rietveld - - Sealed remaining (private) fields in GtkContainer. - -2008-05-26 13:02:26 +0200 Kristian Rietveld - - Seal priv pointer in GtkComboBoxEntry. - -2008-05-26 13:01:40 +0200 Kristian Rietveld - - Seal priv pointer in GtkComboBox. - -2008-05-26 13:00:59 +0200 Kristian Rietveld - - Seal private_data pointer in GtkColorSel. - -2008-05-26 12:57:50 +0200 Kristian Rietveld - - Seal 3 remaining fields in GtkButton. - -2008-05-26 12:55:24 +0200 Kristian Rietveld - - Seal priv pointer in GtkBuilder. - -2008-05-26 12:52:44 +0200 Kristian Rietveld - - Seal center_allocation field in GtkAspectFrame. - -2008-05-26 12:48:18 +0200 Kristian Rietveld - - Seal priv pointer in GtkAction. - -2008-05-26 12:46:11 +0200 Kristian Rietveld - - Seal priv pointer in GtkAboutDialog. - -2008-05-26 12:41:46 +0200 Kristian Rietveld - - Seal GtkSizeGroup. - -2008-05-26 12:39:54 +0200 Kristian Rietveld - - Seal GtkPaned. - -2008-05-26 11:59:35 +0200 Kristian Rietveld - - Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties. - -2008-05-26 11:52:20 +0200 Kristian Rietveld - - Add new GtkColorSelectionDialog accessors to gtk.symbols. - -2008-05-26 11:41:47 +0200 Kristian Rietveld - - gtklabel.h: include bit-size of fields inside GSEAL parens. - -2008-05-26 11:40:07 +0200 Kristian Rietveld - - gtktoolbar.h: include bit-size of fields inside GSEAL parens. - -2008-05-26 11:39:35 +0200 Kristian Rietveld - - gtkentry.h: include bit-size of fields inside GSEAL parens. - -2008-05-26 11:34:14 +0200 Kristian Rietveld - - Add new accessors for GtkEntry to gtk.symbols. - -2008-05-26 11:23:56 +0200 Kristian Rietveld - - Also seal GtkWindowGroup in gtkwindow.h - -2008-05-26 10:48:48 +0200 Kristian Rietveld - - Fix the build by including gdkconfig.h in gtktextchild.h. - -2008-05-23 18:48:56 +0200 Christian Dywan - - Seal GtkLabel - -2008-05-23 18:28:39 +0200 Christian Dywan - - Seal GtkToolbar - -2008-05-23 18:28:07 +0200 Christian Dywan - - Seal GtkColorSelectionDialog - -2008-05-23 18:03:44 +0200 Carlos Garnacho - - Seal GtkTextChildAnchor. - - * gtk/gtktextchild.h: Sealed private member. - -2008-05-23 17:42:01 +0200 Carlos Garnacho - - Seal GtkWindow. - - * gtk/gtkwindow.h: Seal all fields. - -2008-05-23 17:40:09 +0200 Carlos Garnacho - - Add gtk_window_get_default() - - * gtk/gtkwindow.[ch]: Add gtk_window_get_default(). - * gtk/gtk.symbols: same here. - -2008-05-09 15:41:57 +0100 Martyn Russell - - Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim - -2008-05-02 16:31:40 +0200 Martyn Russell - - Seal GtkEntry - -2008-05-02 16:30:09 +0200 Martyn Russell - - Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration - -2008-04-27 18:49:50 +0200 Kristian Rietveld - - Seal GtkToggleButton. - - * gtk/gtktogglebutton.h: Seal all member fields. - -2008-04-27 18:41:46 +0200 Kristian Rietveld - - Seal GtkTreeViewColumn. - - * gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is - still troublesome. We are probably going to need an accessor for this and - deprecated it immediately in GTK+ 3.0. Accessors for requested_width and - resized_width can be useful, but I really consider them to be private and - of not much use to applications. - -2008-04-27 18:23:23 +0200 Kristian Rietveld - - Seal GtkRadioMenuItem. - - * gtk/gtkradiomenuitem.h: Seal member field. - -2008-04-27 18:21:29 +0200 Kristian Rietveld - - Seal GtkRadioButton. - - * gtk/gtkradiobutton.h: seal member field. - -2008-04-27 18:11:41 +0200 Kristian Rietveld - - Seal GtkTreeSelection. - - * gtk/gtktreeselection.h: Seal all member fields. - -2008-04-27 18:09:46 +0200 Kristian Rietveld - - Add gtk_tree_selection_get_select_function(). - - * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new - function. - * gtk/gtk.symbols: add new function. - -2008-04-27 16:05:02 +0200 Kristian Rietveld - - Seal GtkScrolledWindow. - - * gtk/gtkscrolledwindow.h: Seal all object member fields. - -2008-04-27 15:56:33 +0200 Kristian Rietveld - - Seal GtkCellRenderer. - - * gtk/gtkcellrenderer.h: seal all member fields. All member fields are - already accessible via GObject properties. - -2008-04-27 15:56:01 +0200 Kristian Rietveld - - Add "editing" GObject property to GtkCellRenderer. - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init), - (gtk_cell_renderer_get_property), - (gtk_cell_renderer_set_property): add the property and hook - it up. - -2008-04-27 15:42:08 +0200 Kristian Rietveld - - Seal GtkCellRendererText. - - * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already - marked as private). - -2008-04-27 15:40:47 +0200 Kristian Rietveld - - Seal GtkCellRendererCombo. - - * gtk/gtkcellrenderercombo.h: seal all member fields. The members fields - that were not marked as private are already accessible via GObject properties. - -2008-04-27 15:39:41 +0200 Kristian Rietveld - - Seal GtkCellRendererAccel. - - * gtk/gtkcellrendereraccel.h: seal all member fields that were already - marked as private. - -2008-04-18 16:55:44 +0200 Kristian Rietveld - - Seal GtkTreeView - - * gtk/gtktreeview.h: seal private pointer. - -2008-04-18 16:52:54 +0200 Kristian Rietveld - - Seal GtkTreeModelFilter - - * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private - pointer. - -2008-04-18 16:50:55 +0200 Kristian Rietveld - - Seal GtkTreeModelSort - - * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal - all public member fields. - -2008-04-18 16:42:28 +0200 Kristian Rietveld - - Seal GtkTreeStore - - * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal - public member fields. - -2008-04-18 16:37:43 +0200 Kristian Rietveld - - Seal GtkListStore - - * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal - public member fields. - -2008-04-18 18:26:31 +0200 Carlos Garnacho - - * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor. - -2008-04-18 18:25:22 +0200 Carlos Garnacho - - * gtk/gtkcontainer.h: seal members. - -2008-04-11 17:28:54 +0200 Carlos Garnacho - - * gtk/gtkmisc.h: seal members. - -2008-04-11 17:28:05 +0200 Carlos Garnacho - - *gtk/gtkfixed.h: seal members. - -2008-04-11 16:04:23 +0200 Michael Natterer - - * gtk/gtkcellrendererpixbuf.h: seal all members. - -2008-04-11 16:01:19 +0200 Michael Natterer - - * gtk/gtkcellrendererprogress.h: seal private member. - -2008-04-11 15:43:22 +0200 Michael Natterer - - * gtk/gtkcellrenderertoggle.h: seal all members. - -2008-04-04 18:50:05 +0200 Carlos Garnacho - - * gtk/gtkfilechooserwidget.h: Seal the private member. - -2008-04-04 18:46:47 +0200 Carlos Garnacho - - gtk/gtkfilechooserdialog.h: seal the private member. - -2008-04-04 18:42:17 +0200 Carlos Garnacho - - * gtk/gtkentrycompletion.h: Seal private member. - -2008-04-04 18:36:35 +0200 Carlos Garnacho - - * gtk/gtkcellview.h: Seal the private member. - -2008-04-04 18:28:00 +0200 Carlos Garnacho - - * gtk/gtkcolorbutton.h: seal private member. - -2008-04-04 18:27:26 +0200 Carlos Garnacho - - * gtk/gtkcheckmenuitem.h: seal public struct members. - -2008-04-04 18:25:25 +0200 Carlos Garnacho - - * gtk/gtkcalendar.h: seal public struct members. - -2008-04-04 18:24:15 +0200 Carlos Garnacho - - * gtk/gtkdialog.h: Also seal variables marked as private. - -2008-04-04 17:35:48 +0200 Michael Natterer - - * gtk/gtkimagemenuitem.h: seal private member. - -2008-04-04 17:28:56 +0200 Michael Natterer - - * gtk/gtkiconfactory.h: seal private member. - -2008-03-28 16:56:53 +0000 Martyn Russell - - Seal GtkActionGroup - - * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public - member and clean up .c file to reflect this. - -2008-03-28 15:00:09 +0100 Sven Herzberg - - Seal GtkAccelLabel - - gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields - -2008-03-28 16:38:00 +0100 Michael Natterer - - * gtk/gtkdrawingarea.h: seal instance struct member. - -2008-03-28 16:23:32 +0100 Christian Dywan - - Seal GtkScaleButton public fields - - * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL(). - -2008-03-28 16:07:50 +0100 Christian Dywan - - Seal GtkScale public fields - - * gtk/gtkscale.h: Deprecate direct access through GSEAL(). - -2008-03-14 20:45:34 +0100 Christian Dywan - - Seal GtkProgressBar public fields - - -2008-03-14 20:32:12 +0100 Christian Dywan - - Seal GtkFrame public vars - -2008-03-14 18:57:35 +0100 Carlos Garnacho - - Deprecate direct access to public variables in GtkButton. - - * gtk/gtkbutton.h: Deprecate direct access through GSEAL(). - -2008-03-14 18:56:23 +0100 Carlos Garnacho - - Deprecate direct access to public variables in GtkButtonBox. - - * gtk/gtkbbox.h: Deprecate direct access through GSEAL(). - -2008-03-14 18:54:35 +0100 Carlos Garnacho - - Deprecate direct access to public variables in GtkBox. - - * gtk/gtkbox.h: Deprecate direct access through GSEAL(). - -2008-03-09 11:50:41 +0100 Carlos Garnacho - - Seal GtkMessageDialog public vars - -2008-03-09 11:38:00 +0100 Carlos Garnacho - - Seal GtkDialog public vars - -2008-03-09 11:32:05 +0100 Carlos Garnacho - - Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove - -2008-03-09 11:31:46 +0100 Carlos Garnacho - - Seal GtkAssistant public fields - -2008-03-09 11:31:30 +0100 Carlos Garnacho - - Seal GtkNotebook public fields - -2008-03-07 20:29:47 +0100 Mikael Hallendal - - Deprecate direct access to child in GtkBin. - - * gtk/gtkbin.h: Deprecate direct access to child by GSEAL. - -2008-03-07 18:25:59 +0000 Martyn Russell - - Sealed GtkAccelGroup and added - - * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count, - modifier_mask, acceleratables, n_accels and priv_accels. Added seal - macro for public struct members which should be private. - -2008-03-07 18:54:22 +0100 Mikael Hallendal - - Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame. - - * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL. - -2008-03-07 18:48:29 +0100 Mikael Hallendal - - Deprecate arrow_type and shadow_type direct access in GtkArrow. - - * gtk/gtkarrow.h: Deprecate public object fields by GSEAL. - -2008-03-07 18:35:12 +0100 Mikael Hallendal - - Added GSEAL to GtkAlignment. - - * gtk/gtkalignment.h: Seal the object data with GSEAL. - -2008-03-07 15:24:27 +0100 Tim Janik - - Introduce GSEAL() macro. - - * configure.in: define GSEAL() when generating gdkconfig.h - -2008-06-20 Michael Natterer - - Bug 538395 – gtk_combo_box_append_text() on non-compliant model - segfaults - - * gtk/gtkcombobox.c (gtk_combo_box_append_text) - (gtk_combo_box_insert_text) - (gtk_combo_box_prepend_text) - (gtk_combo_box_remove_text) - (gtk_combo_box_real_get_active_text): apply patch from Christian - Dywan which adds the needed g_return_if_fail() to prevent the - crashes. - -2008-06-20 Cody Russell - - * gdk/directfb/gdkwindow-directfb.c: - - Rename gdk_window_new -> _gdk_window_new and - gdk_window_reparent -> _gdk_window_reparent to fix - the build. (#539095, Sebastien Bacher) - -2008-06-19 Johan Dahlin - - * gtk/gtkmenuitem.c: remove an unused variable and cast - accel_path to gchar, just like in gtkmenu.c - -2008-06-19 Matthias Clasen - - * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO - for this. - -2008-06-19 Johan Dahlin - - * gtk/gtkprintbackend.c: Fix a typo in a comment - - * gtk/gtkhsv.c (paint_ring, paint_triangle): - Cast buf to unsigned char to avoid two compiler - warnings. - - * gtk/gtkclist.c: - * gtk/gtkstyle.c (gtk_style_finalize): - Do not ignore the return value of g_slist_remove. - gtkstyle.c changes rubberstamped by Owen. - -2008-06-19 Johan Dahlin - - * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines), - (gtk_tree_view_set_enable_tree_lines): - gdk_gc_set_dashes expects a list of gint8, not guint8. - -2008-06-19 Johan Dahlin - - * gtk/gtkmenu.c (gtk_menu_set_accel_path): - Remove an unused variable and cast to gchar to avoid a compiler - warning. - -2008-06-19 Christian Persch - - * docs/reference/gtk/gtk-sections.txt: - * gtk/gtk.symbols: - * gtk/gtkclipboard.c: - * gtk/gtkclipboard.h: Add clipboard convenience functions for URI - targets. Bug #537639. - -2008-06-19 Christian Persch - - * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of - hardcoded target tables. Bug #516092. - -2008-06-19 Christian Persch - - * gdk-pixbuf/gdk-pixbuf-io.c: - * gdk-pixbuf/gdk-pixdata.c: - * gdk-pixbuf/io-ani.c: - * gdk-pixbuf/io-bmp.c: - * gdk-pixbuf/io-gdip-utils.c: - * gdk-pixbuf/io-gif.c: - * gdk-pixbuf/io-icns.c: - * gdk-pixbuf/io-ico.c: - * gdk-pixbuf/io-jasper.c: - * gdk-pixbuf/io-jpeg.c: - * gdk-pixbuf/io-pcx.c: - * gdk-pixbuf/io-png.c: - * gdk-pixbuf/io-pnm.c: - * gdk-pixbuf/io-ras.c: - * gdk-pixbuf/io-tga.c: - * gdk-pixbuf/io-tiff.c: - * gdk-pixbuf/io-wbmp.c: - * gdk-pixbuf/io-xbm.c: - * gdk-pixbuf/io-xpm.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilesystemmodel.c: - * gtk/gtkiconfactory.c: - * gtk/gtkicontheme.c: - * gtk/gtkmain.c: - * gtk/gtkpagesetup.c: - * gtk/gtkpapersize.c: - * gtk/gtkprintoperation-win32.c: - * gtk/gtktextbufferserialize.c: - * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640. - - * configure.in: Update glib requirement to 2.17.3. - -2008-06-19 Johan Dahlin - - * demos/testpixbuf.c (new_testrgb_window): - * gtk/gtkctree.c (gtk_ctree_new_with_titles): - * gtk/gtkitemfactory.c (gtk_item_factory_construct), - (gtk_item_factory_create_item): - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state) - * gtk/gtkprogressbar.c (gtk_progress_bar_new), - (gtk_progress_bar_new_with_adjustment): - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new): - * gtk/gtktext.c (gtk_text_new): - * gtk/gtkviewport.c (gtk_viewport_new): - * tests/simple.c (main): - * tests/testgtk.c (create_statusbar), (create_get_image), - (create_saved_position), (create_tooltips), (create_cursors), - (create_display_screen), (create_progress_bar), (create_idle_test): - * tests/testmultidisplay.c (make_selection_dialog), (main): - * tests/testmultiscreen.c (main): - * tests/testrgb.c (new_testrgb_window): - Use g_object_new instead of gtk_widget_new - -2008-06-19 Johan Dahlin - - * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype. - - * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove - an unused variable. - - * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint, - to avoid a gcc warning. - -2008-06-18 Olle Bergkvist - - http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change - the filename in the name entry in CREATE_FOLDER mode when changing - folders, so that you can enter a new subfolder name, double-click on a - folder to change to it, and close the dialog. - - * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change - the filename in the entry in CREATE_FOLDER mode, either. - -2008-06-18 Olle Bergkvist - - http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file - chooser clears the filename entry in SAVE/CREATE_FOLDER modes when - it shouldn't. - - * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't - clear the entry for CREATE_FOLDER either; this needs the same - behavior as SAVE mode. - (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER - modes. - -2008-06-18 Matthias Clasen - - * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon): - * gtk/gtkfilechooserbutton.c (change_icon_theme): - (model_add_bookmarks): - (model_update_current_folder): - * gtk/gtkfilechooserdefault.c (shortcuts_insert_file): - (shortcuts_reload_icons): Use standard icon names. - -2008-06-18 Matthias Clasen - - * gtk/Makefile.am: Add some more aliases for standard - icon names to the builtin icon theme: drive-harddisk, - folder, folder-remote, text-x-generic. - -2008-06-18 Michael Natterer - - * gtk/gtkcalendar.c: set the maximum of the "year" property to - G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal - calculations which in turn caused writing beyond the boundaries of - the calendar->day_month[] and day[] arrays which in turn caused a - SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;) - -2008-06-18 Michael Natterer - - * tests/Makefile.am - * tests/autotestfilechooser.c - * tests/buildertest.c - * tests/defaultvaluetest.c - * tests/floatingtest.c - * tests/objecttests.c - * tests/pixbuf-init.c - * tests/textbuffertest.c: remove unit tests here... - - * gtk/tests/Makefile.am - * gtk/tests/builder.c - * gtk/tests/defaultvalue.c - * gtk/tests/filechooser.c - * gtk/tests/floating.c - * gtk/tests/object.c - * gtk/tests/pixbuf-init.c - * gtk/tests/textbuffer.c: ...and add them here. - -2008-06-18 Michael Natterer - - * gdk/gdk.h: deprecate GdkDestroyNotify. - - * gdk/gdkevents.c - * gdk/gdktypes.h - * gdk/x11/gdkevents-x11.c - * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g. - -2008-06-18 Michael Natterer - - * gtk/gtktypeutils.h: deprecate GtkDestroyNotify. - - * gtk/gtkactiongroup.[ch] - * gtk/gtkcombobox.[ch] - * gtk/gtkcontainer.[ch] - * gtk/gtkliststore.[ch] - * gtk/gtkmain.[ch] - * gtk/gtkmenu.c - * gtk/gtkstock.[ch] - * gtk/gtktreedatalist.[ch] - * gtk/gtktreemodelfilter.[ch] - * gtk/gtktreemodelsort.[ch] - * gtk/gtktreeprivate.h - * gtk/gtktreeselection.[ch] - * gtk/gtktreesortable.[ch] - * gtk/gtktreestore.[ch] - * gtk/gtktreeview.[ch] - * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g. - -2008-06-18 Michael Natterer - - * tests/testgtk.c: some more undeprecation. - -2008-06-18 Michael Natterer - - * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and - GTK_SIGNAL_FUNC(). - - (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/ - -2008-06-18 Michael Natterer - - * gtk/gtktypeutils.[ch]: deprecate gtk_type_class(). - - * gtk/gtk.symbols: changed accordingly. - - * gtk/gtksettings.c (gtk_settings_install_property) - (gtk_settings_install_property_parser): get rid of using - gtk_type_class() by keeping a static reference to GtkSettingsClass - around in both functions and passing that pointer on to - settings_install_property_parser(). - - * tests/testgtk.c: use g_type_class_ref()/unref() instead of - gtk_type_class(). - - * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including - gtktypeutils.h. - -2008-06-17 Johan Dahlin - - * gtk/gtkstyle.c: Add deprecated version - and change the deprecation markup used by ref/unref - -2008-06-17 Johan Dahlin - - * gtk/gtkwidget.c: - Add deprecated versions and fixup markup. - -2008-06-17 Johan Dahlin - - * gtk/gtkaboutdialog.c: - * gtk/gtkbutton.c (gtk_button_class_init): - Don't markup deprecated in italics. - -2008-06-18 Carlos Garnacho - - * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use - GtkFileChooserError instead. (#538378, patch by Matthias Clasen) - -2008-06-17 Michael Natterer - - * examples/gtkdial/gtkdial.[ch]: undeprecate. - -2008-06-17 Michael Natterer - - * gtk/gtkobject.c: remove bogus extern declaration of non-existing - function gtk_object_init_type(). - -2008-06-17 Michael Natterer - - * gtk/gtkbindings.c (gtk_binding_entry_add_signal): - * gtk/gtktoolbutton.c (gtk_tool_button_get_type): - * examples/gtkdial/gtkdial.h (gtk_dial_get_type): - s/GtkType/GType/ - -2008-06-17 Tor Lillqvist - - * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED - #undef/#define dance here, too, because - gtk_notebook_set_group_id() is deprecated but used here before it - is defined, and gcc complains about conflicting type from the - implicit int declaration when it sees the actual void definition. - - * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_* - GtkType macros. - -2008-06-17 Michael Natterer - - * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED. - - * gtk/gtkclist.c - * gtk/gtkcombo.c - * gtk/gtkctree.c - * gtk/gtklist.c - * gtk/gtklistitem.c - * gtk/gtkoldeditable.c - * gtk/gtkpixmap.c - * gtk/gtktext.c - * gtk/gtktipsquery.c - * gtk/gtktree.c - * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and - actually use deprecated symbols (not just types or macros), - #define it again before #include "gtkalias.h" so the symbols match - and the beast links. - -2008-06-17 Paolo Borelli - - * gtk/tests/recentmanager.c: more tests for GtkRecentManager. - -2008-06-17 Michael Natterer - - * modules/input/gtkimcontextmultipress.h - * modules/input/gtkimcontextthai.h - * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK - type checking macros. - -2008-06-17 Michael Natterer - - * gtk/gtktypeutils.h: really move the GtkType typedef to an - undeprecated section. - -2008-06-17 Michael Natterer - - * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST, - GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE. - Move the GtkType typedef to an undeprecated section. - -2008-06-17 Michael Natterer - - * gtk/gtkprogress.h: use G_TYPE macros for type checking instead - of GTK_CHECK ones because it's the parent class of an undeprecated - class and the GTK_CHECK stuff will soon be deprecated. - -2008-06-17 Michael Natterer - - * gtk/gtkfilesel.c - * gtk/gtkinputdialog.c - * gtk/gtkmenutoolbutton.c - * gtk/gtkoptionmenu.c - * gtk/gtktoolitem.c - * gtk/gtktooltips.c: add or move around - #undef GTK_DISABLE_DEPRECATED so it's possible to build without - deprecated stuff again (with the minor glitch that it doesn't - link ;) but at least it's a tool to keep the code clean). - -2008-06-17 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_remove_item): Fix dumb typo in the previous - commit. - -2008-06-17 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_remove_item), - (gtk_recent_manager_move_item): Increase the consistency of the - errors returned by GtkRecentManager. (Paolo Borelli) - -2008-06-17 Paolo Borelli - - * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager. - -2008-06-17 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_remove_item): Consistently use the same - error when removing a URI from an empty GtkRecentManager. - -2008-06-17 Michael Natterer - - * gtk/gtkfilechooserdefault.c: remove static integer variables - which hold the number of members in GtkTargetEntry arrays and use - G_N_ELEMENTS() directly instead. - -2008-06-17 Michael Natterer - - * gtk/gtk.symbols: move some deprecated symbols into - #ifndef GTK_DISABLE_DEPRECATED. - -2008-06-17 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c: - (gtk_file_chooser_default_init), - (gtk_file_chooser_default_constructor), - (gtk_file_chooser_default_screen_changed), - (recent_start_loading): Remove the GtkRecentManager screen - dance, as it has been deprecated since 2.12. Now we get the - GtkRecentManager singleton whewn we create the FileChooserDefault - instance. (Michael Natterer) - -2008-06-17 Michael Natterer - - * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's - toplevel to GtkWindow when passing to gtk_window_set_type_hint(). - -2008-06-17 Michael Natterer - - * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up - includes a bit. - - * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled - in via deprecated headers. - -2008-06-16 Matthias Clasen - - Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress - - * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect - against XKB being stupid. Reported by Pedro Villavicencio. - -2008-06-17 Michael Natterer - - * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref() - and unref() instead of the deprecated gtk_widget_ref() and unref(). - -2008-06-16 Michael Natterer - - * gtk/gtkentry.c: removed function drag_begin_cb(), which was in - svn since 2.8 but was never used. - -2008-06-16 Michael Natterer - - * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use - gtk_binding_entry_clear() instead of gtk_binding_entry_add() - (the former is deprecated and #defined to gtk_binding_entry_clear) - -2008-06-16 Michael Natterer - - * gtk/gtkprintoperation-unix.c: don't include the deprecated (and - unused) "gtkmarshal.h". - -2008-06-16 Behdad Esfahbod - - Bug 538182 – pango_cairo_context_update_layout is not noop after - gtk_widget_create_pango_layout - - * gtk/gtksettings.c (settings_update_font_options): Make sure all - font option fields are set to non-DEFAULT values. - -2008-06-16 Michael Natterer - - * gtk/gtkfontsel.c - * gtk/gtkrc.c - * gtk/gtkstyle.c - * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated - gtk_rc_style_unref(). - -2008-06-16 Michael Natterer - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): use - _gtk_marshal_BOOLEAN__VOID instead of the deprecated - gtk_marshal_BOOLEAN__VOID. - -2008-06-16 Michael Natterer - - * gtk/gtkcellrendereraccel.h - * gtk/gtkiconview.h - * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK - macros for type checking. - - (gtk_object_get_type): change prototype to return GType instead of - GtkType. - -2008-06-16 Matthias Clasen - - * gtk/Makefile.am: Make folder, user-home and user-desktop links - to gtk-directory in the builtin icon theme, so that we can - use these icon names without risk of ending up without an icon. - -2008-06-16 Tor Lillqvist - - Bug 538362 - Get Win32 icons back in the file chooser - - * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a - reference to an icon resource in a DLL or .EXE in the same format - as the DefaultIcon strings in the Registry. In that case, extract - the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This - code has to be in sync with the corresponding code in - glib/gio/gcontenttype.c. - -2008-06-16 Matthias Clasen - - * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton - to the builtin icon theme, to avoid showing broken images when - there is no icon theme around. The new icons are thanks to - Lapo Calamandrei. - -2008-06-16 Michael Natterer - - * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the - GtkFileChooserDefault struct. - - * gtk/gtkfilechooserdefault.c: don't allocate and free the - GtkTooltips. - -2008-06-16 Carlos Garnacho - - Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon - anymore - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): - Allow again setting any of the properties to render an image back to - NULL. - -2008-06-15 Matthias Clasen - - * gtk/gtkimage.c: When pixel-size is specified, use - GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons. - -2008-06-15 Carlos Garnacho - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full - path here as expected, not just the basename. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_update_current_folder): Ensure that we keep - a reference to file, since it can be destroyed when switching back to - browse mode. - - * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home - and desktop directories are dealt by the filechooser as normal files, - not volumes, so the icon for these is handled directly by GIO. - (_gtk_file_system_volume_render_icon): Update caller. - -2008-06-15 Matthias Clasen - - * gtk/gtkcellrendererpixbuf.c: Add a gicon property. - -2008-06-14 Cody Russell - - * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets): - - Initialize hwnd to NULL. This fixes OpenClipboard() failure and, - according to MSDN docs, associates the open clipboard with the - current task. (#378158, reported by Andreas Köhler) - -2008-06-13 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.13.3 === - -2008-06-13 Matthias Clasen - - * gtk/gtkaccelgroup.c: Add some docs - - * gdk/gdkwindow.c: Fix doc typos - -2008-06-13 Matthias Clasen - - * gtk/gtkfilesystem.c: Avoid PLT entries by including - gtkalias.h - -2008-06-13 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilechooserentry.c: - * gtk/gtkfilesystem.c: - * gtk/gtkfilesystem.h: - * gtk/gtkfilesystemmodel.c: - * gtk/gtkpathbar.c: Really make GtkFileSystem private - by _-prefixing all functions. - -2008-06-13 Matthias Clasen - - * docs/RELEASE-HOWTO: Updates - * INSTALL.in: Bump version - -2008-06-13 Matthias Clasen - - * NEWS: Updates - -2008-06-13 Michael Natterer - - * gtk/gtkcellrendereraccel.h - * gtk/gtkfilechooser.h - * gtk/gtkfilechooserdialog.h - * gtk/gtkfilechooserwidget.h - * gtk/gtkmenutoolbutton.h - * gtk/gtkpagesetup.h - * gtk/gtkpapersize.h - * gtk/gtkprintcontext.h - * gtk/gtkprintoperation.h - * gtk/gtkprintoperationpreview.h - * gtk/gtkprintsettings.h - * gtk/gtkradiotoolbutton.h - * gtk/gtkrecentchooser.h - * gtk/gtkrecentchooserdialog.h - * gtk/gtkrecentchoosermenu.h - * gtk/gtkrecentchooserwidget.h - * gtk/gtkseparatortoolitem.h - * gtk/gtkshow.h - * gtk/gtktoggletoolbutton.h - * gtk/gtktoolbar.h - * gtk/gtktoolbutton.h - * gtk/gtktooltip.h: #include instead of - "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers. - -2008-06-13 Michael Natterer - - * gtk/gtktexttagtable.h: remove double inclusion of - . - -2008-06-13 Michael Natterer - - * gtk/gtkaction.c (gtk_action_set_short_label): change type of - local "image" variable from GtkImage to GtkWidget to fix warning. - -2008-06-13 Michael Natterer - - * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's - toplevel to GtkWindow when passing to gtk_window_set_type_hint(). - -2008-06-13 Michael Natterer - - * gtk/gtkuimanager.c (start_element_handler): silently skip - unknown attributes instead of bailing out with an error in order - to be compatible with possible future attribute names. - - This is related to the discussion in bug #516425 but actually - needed for any kind of XML format extension. - -2008-05-23 Hans Breuer - - * gtk/gtkprintoperation.c : check surface status after ceating a pdf. - Avoids crashing when the target can not be written, bug #537685 - - * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId - - * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and - it was not needed here anyway. - -2008-06-13 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation. - Patch by Jan Arne Peterson - -2008-06-12 Matthias Clasen - - Bug 537985 – gtk_init_with_args() doesn't open a display after - gtk_parse_args() - - * gtk/gtkmain.c (gtk_init_with_args): Open the default display - even when gtk_parse_args() has already been called. - Patch by Mathias Hasselmann - -2008-06-12 Matthias Clasen - - Bug 524222 – GtkToolbar with mix of buttons with and without - icons looks "bad" - - * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): - Improve appearance of "both vertical" mode toolbuttons. - Patch by Peter Johanson - -2008-06-12 Matthias Clasen - - Bug 519092 – Add accessibility support to GtkVolumeButton - - * gtk/gtkvolumebutton.c: Set accessibility descriptions. - Patch by Jonh Wendell - -2008-06-12 Matthias Clasen - - Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a - GtkAction has problems - Patch by Peter Johanson - - * gtk/gtkaction.c (connect_proxy): Set the image of a button - proxy to the "icon-name" property. - - (gtk_action_set_short_label): If the "image" property is set - on the button proxy, also tries to set the "label" property on - the GtkButton. - -2008-06-12 Michael Natterer - - * gtk/gtkmain.c - * gtk/gtktrayicon-x11.c: don't #include , it's pulled - in via "gtkintl.h" from . - -2008-06-12 Matthias Clasen - - RH bug 248245 and 449379: cups client printing from gnome - applications fail - - * modules/printbackends/cups/gtkprintbackendcups.c: Really fix - printer URI construction. Patch by Marek Kasik - -2008-06-12 Michael Natterer - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - limit the number of displayed items by the actual screen height - instead of some arbitrary value (Bug #408154, Xan Lopez and - Christian Dywan). - -2008-06-11 Behdad Esfahbod - - Bug 503071 – Application direction changes to right to left even if - theres no translation - - * configure.in: Bump glib requirement. - - * gtk/gtkaccellabel.c - (_gtk_accel_label_class_get_accelerator_label): - * gtk/gtkactiongroup.c (dgettext_swapped): - * gtk/gtkbuilder.c (gtk_builder_class_init): - * gtk/gtkbuilderparser.c (_dpgettext), - (_gtk_builder_parser_translate): - * gtk/gtkfilechooserdefault.c (list_size_data_func): - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - * gtk/gtkintl.h: - * gtk/gtkmain.c (setlocale_initialization), - (do_pre_parse_initialization), (gettext_initialization): - * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped): - Use g_dgettext() and g_dngettext(). - -2008-06-11 Matthias Clasen - - * docs/RELEASE-HOWTO: Updates - -2008-06-11 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't - support Win9x anyway, we can use ProcessIdToSessionId() - unconditionally. - -2008-06-11 Michael Natterer - - * gtk/gtkfilechooserbutton.c: fix local prototype of - _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*). - -2008-06-10 Matthias Clasen - - Bug 536765 – GtkComboBox should set COMBO type hint for its menu - - * gtk/gtkoptionmenu.c: - * gtk/gtkcombobox.c: Set the window type hint on popups. - Patch by Danny Baumann - -2008-06-10 Matthias Clasen - - * gtk/gtkfilesystem.c (get_icon_for_special_directory): - (gtk_file_system_volume_render_icon): Add standard icon names, - and also fall back to builtin gtk stock icons. - -2008-06-10 Christian Persch - - * gtk/gtktreeview.c: (destroy_info), (set_destination_row), - (gtk_tree_view_maybe_begin_dragging_row), - (gtk_tree_view_set_reorderable), - (gtk_tree_view_enable_model_drag_source), - (gtk_tree_view_enable_model_drag_dest), - (gtk_tree_view_unset_rows_drag_source), - (gtk_tree_view_unset_rows_drag_dest): Make - gtk_tree_view_enable_model_drag_[source|dest] compatible with - gtk_drag_[source|dest]_add_*_targets. Bug #506853. - -2008-06-10 Christian Persch - - * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column), - (dest_row_free), (set_dest_row), (ensure_info), - (gtk_tree_view_remove), (gtk_tree_view_put), - (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from - bug #506853. - -2008-06-10 Paolo Borelli - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) - use g_file_new_for_uri. - -2008-06-10 Paolo Borelli - - * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not - leak the GIcon. - -2008-06-10 Carlos Garnacho - - * configure.in: - * gtk/Makefile.am: - * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug - #520874, comment #8. It's no longer used directly by GTK+. - -2008-06-10 Carlos Garnacho - - Bug 520874 - Should use gio directly. - - * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly - provides helper functions for asynchronous calls, folder abstraction - and uniform handling of volumes/drives/mounts. - - * gtk/gtkfilesystemwin32.[ch]: - * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required. - - * gtk/gtkfilechooser.c: - * gtk/gtkfilechooserbutton.c: - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilechooserentry.[ch]: - * gtk/gtkfilechooserprivate.h: - * gtk/gtkfilechooserutils.c: - * gtk/gtkfilesystemmodel.[ch]: - * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API. - Do not load filesystem implementation modules. - - * gtk/Makefile.am: - * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed - anymore, nor the unix/win32 implementations. - - * README.in: Add blurb about these changes. - -2008-06-09 Kristian Rietveld - - Bug 526987 - GtkCellRendererCombo should allow model to be NULL - - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init), - (gtk_cell_renderer_combo_set_property), - (gtk_cell_renderer_combo_editing_done), - (gtk_cell_renderer_combo_start_editing): introduce private class - struct, allow model to be set to NULL. - -2008-06-08 Björn Lindqvist - - Bug 131920 – gtkNotebook sends incorrect switch_page value - - * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page - signal send correct page index when page index 0 is active and - removed. (#131920, Samuel Fogh) - -2008-06-08 Kristian Rietveld - - Bug 536730 - memory corruption in gtktreeview - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first - remove the expand/collapse timeout and node, then free the rbtree. - -2008-06-08 Kristian Rietveld - - Bug 488119 - critical warnings from gtk_tree_view_get_visible_range - - * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to - find path if we found valid nodes, return FALSE otherwise. (Patch - from Matthias Clasen). - -2008-06-08 Matthias Clasen - - * gtk/gtkrecentmanager.c: - * gtk/gtkrecentfilter.c: - * gtk/gtkfilefilter.c: Replace uses of xdgmime with - g_content_type. - -2008-06-08 Christian Persch - - Bug 535608 – do not string-copy accel paths in the menu code - - * gtk/gtkaccelgroup.c: - * gtk/gtkaccelmap.c: - * gtk/gtkaction.c: - * gtk/gtkmenu.c: - * gtk/gtkmenuitem.c: - * gtk/gtkwidget.c: Don't store the accel path as a string in - gtkmenu/gtkmenuitem. The accel path will be interned anyway, so - keeping a string copy around is just a waste of memory. - Improve the documentation to mention this. - -2008-06-07 Tor Lillqvist - - Bug 536990 - updateiconcache.c: 'close ()' is redundant - - * gtk/updateiconcache.c (build_cache): Drop redundant close() - calls. fclose() on a fdopen()ed stream closes the underlying file - descriptor. - -2008-06-06 Matthias Clasen - - Bug 536757 – regression: openoffice.org menus are placed at wrong - position since 2.12.10 - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): - Return the right coordinates. - -2008-06-06 Behdad Esfahbod - - Bug 536185 – monitor font configuration - - * configure.in: - * gdk/x11/gdksettings.c: - * gtk/gtksettings.c (gtk_settings_class_init), - (gtk_settings_notify), (settings_update_fontconfig): - Monitor xsettings key Fontconfig/Timestamp and upon change, - reread fontconfig configuration, clear Pango's caches, and - redraw all widgets. - -2008-06-06 Ross Burton - - * gtk/gtkwindow.c: - Fix trivial typo in documentation. - -2008-06-06 Tor Lillqvist - - * config.h.win32.in: Slight update to match what configure - produces. - -2008-06-05 Johan Dahlin - - * gtk/gtkbuilder.h (enum): Add the new version mismatch error - constant to the end of the list, to avoid breaking the stable ABI - -2008-06-05 Michael Natterer - - * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS. - -2008-06-05 Li Yuan - - * gail-uninstalled.pc.in: - Bug #536430. Patch from Damien Carbery . - Correct paths to gail headers and libraries in gail-uninstalled.pc.in. - -2008-06-03 Matthias Clasen - - * docs/RELEASE-HOWTO: Update a bit - -2008-06-03 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.13.2 === - -2008-06-03 Federico Mena Quintero - - * gtk/gtkfilechooserentry.c (install_completion_feedback_timer): - If the user presses Tab while the completion feedback window is - active, then we'll assert. Remove the assertion and just re-set - the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225 - -2008-06-03 Colin Walters - - Bug 535303 – add _get_implementation to GtkStatusIcon - - * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New - function to retrieve internal X11 window ID, useful for libnotify. - * gtk/gtkstatusicon.h: Prototype it. - * docs/reference/gtk/gtk-sections.txt: Add to docs. - * gtk/gtk.symbols: Export it. - -2008-06-03 Tor Lillqvist - - * gtk/updateiconcache.c (build_cache): Use g_open(). - -2008-06-03 Michael Natterer - - * gtk/gtkclist.h - * gtk/gtkctree.h: revert includes to how they have been before the - GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact - that you can't include from two headers where one is a - parent class of the other and expect them both to be includable - individually. - -2008-06-03 Michael Natterer - - * gtk/gtkprinteroptionset.h: remove newline at beginning of file. - -2008-06-02 Matthias Clasen - - Bug 536092 – GtkEntryCompletion's popup window should set type hint - - * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set - a type hint on the popup window to help compiz. - Patch by Vaclav Slavik. - -2008-06-02 Claudio Saavedra - - Bug 535862 – gtk_action_create_icon can't create icons from the - icon themes - - * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in - the default factories as it's supposed. - -2008-06-02 Yevgen Muntyan - - Bug 535497 – Print preview doesn't work. - - * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open - instead of launching Preview.app directly. - -2008-06-02 Michael Natterer - - * gtk/gtksignal.h: put back #include , it's not - in . Fixes stuff that uses deprecated cruft. - (bug #536126). - -2008-05-31 Emmanuele Bassi - - Bug 535830 – wrong content type adding an item - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_add_item_query_info): Use the correct API - for retrieving the fast MIME type of a URI. (Carlos Garcia - Campos) - -2008-05-31 Kristian Rietveld - - Bug 530146 - Setting non-string tooltip with - gtk_tree_view_set_tooltip_column() segfaults - - * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use - gtk_tree_model_get_value() and explicitly transform the value to a - string before setting it as tooltip. - -2008-05-30 Tor Lillqvist - - * modules/engines/ms-windows/msw_style.h - * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h. - -2008-05-30 Michael Natterer - - * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to - GDestroyNotify when using it in g_object_set_data_full(). - -2008-05-30 Michael Natterer - - * gdk/gdkapplaunchcontext.h - * gdk/gdktestutils.h - * gtk/gtkmountoperation.h - * gtk/gtkshow.h - * gtk/gtktestutils.h - * gtk/gtktoolshell.h: no need to allow disabling single includes - conditionally in these new files. Simply forbid including them - individually from the beginning. - -2008-05-30 Tor Lillqvist - - Bug 533108 - leak of GDI region in function 'handle_wm_paint' - - * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel - Atallah. - -2008-05-29 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.13.1 === - - * NEWS: Updates - -2008-05-29 Matthias Clasen - - * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags - -2008-05-29 Matthias Clasen - - * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS. - -2008-05-29 Tor Lillqvist - - Bug 535526 - updateiconcache.c: using open/close without prototype - - * gtk/updateiconcache.c: Include if _MSC_VER. Also, use - g_utime() when available instead of utime() for UTF-8 pathname - support on Windows. - -2008-05-29 Jan Arne Petersen - - Bug 56355 – GtkLabel - Not all changes propagate correctly - - * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label), - (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline), - (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline): - Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add - notifications of mnemonic-keyval changes. - -2008-05-27 Matthias Clasen - - Bug 522084 – GIcon support for GtkIconTheme & GtkImage - - * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups. - * gtk/gtkimage.[hc]: Allow setting an image from a GIcon. - * gtk/gtk.symbols: Additions - * tests/testimage.c: Add a GIcon test - -2008-05-29 Michael Natterer - - * gtk/Makefile.am - * gtk/gtkunixprint.h: add a single-include header for the unix - print stuff. - - * gtk/gtkpagesetupunixdialog.h - * gtk/gtkprinter.h - * gtk/gtkprintjob.h - * gtk/gtkprintunixdialog.h: add single-include guards that #error - out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these - files is included individually. - - * gtk/gtkprintbackend.h - * gtk/gtkprinter-private.h - * modules/printbackends/cups/gtkprintbackendcups.c - * modules/printbackends/cups/gtkprintercups.h - * modules/printbackends/lpr/gtkprintbackendlpr.c - * tests/buildertest.c - * tests/defaultvaluetest.c - * docs/tools/widgets.c: include instead of - individual files. - -2008-05-28 Michael Natterer - - * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and - excess newlines and sprinkled some newlines where needed. Zero - code or formatting changes included. - -2008-05-28 Michael Natterer - - * gtk/gtkprinter.h: fix formatting of details_acquired() signal. - -2008-05-28 Michael Natterer - - * gtk/gtkcolorbutton.h: fix comment: the widget is called - GtkColorButton, not GtkColorSelectButton. Remove trailing - whitespace and excess newlines. - -2008-05-28 Michael Natterer - - * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES, - GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES - to CPPFLAGS so it's impossible to commit code that would break - apps which use DISABLE_INCLUDE defines. - -2008-05-28 Michael Natterer - - * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other - headers. - - * gtk/gtktypebuiltins.h.template - * gtk/gtkversion.h.in - * gtk/gtk*.h: add single-include guards that #error out if - GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is - included individually. - - * gtk/gtkprintbackend.h - * gtk/gtkprinter-private.h - * gtk/gtktextlayout.h - * gtk/gtktexttagprivate.h - * gtk/gtktexttypes.h - * gtk/gtktreedatalist.h: include instead of individual - headers in these private or semi-private headers. - - * gtk/gtkimmodule.h: also here because it's not in gtk.h. - - * gtk/gtkpagesetupunixdialog.h - * gtk/gtkprinter.h - * gtk/gtkprintjob.h - * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. - - * gtk/gtkclist.h - * gtk/gtkcombo.h - * gtk/gtkctree.h - * gtk/gtkfilesel.h - * gtk/gtkitemfactory.h - * gtk/gtklist.h - * gtk/gtklistitem.h - * gtk/gtkoldeditable.h - * gtk/gtkoptionmenu.h - * gtk/gtkpixmap.h - * gtk/gtkpreview.h - * gtk/gtksignal.h - * gtk/gtktipsquery.h: whenever possible, include only - instead of individual headers in these deprecated headers. They - don't get included at all when GTK_DISABLE_DEPRECATED is defined, - so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED - and include them individually, which should continue to work. - - * gtk/gtkclist.c: include "gtkctree.h" because of the change - above. - -2008-05-28 Kristian Rietveld - - Bug 449625 - crash in gtk_tree_view_real_move_cursor at - gtktreeview.c:9641 - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): - cursor_offset *must* be larger than background height of the cursor - node, not just equal otherwise there is no guarantee there is a next - node. - -2008-05-28 Michael Natterer - - * gtk/gtktestutils.c: don't include . - -2008-05-28 Michael Natterer - - * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other - headers. - - * gdk/gdkenumtypes.h.template - * gdk/gdk*.h: add single-include guards that #error out if - GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is - included individually. Also removed some redundant includes and - did some tiny trailing whitespace removal that's not worth to - commit separately. - - * gdk/gdkprivate.h: include instead of individual - files. - - * gdk/win32/gdkwin32.h - * gdk/x11/gdkx.h: only include and remove all - other includes. - -2008-05-28 Kristian Rietveld - - Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the - current widget again. - - * gtk/gtktooltip.c (gtk_tooltip_set_custom), - (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a - custom_was_reset field to check if the custom widget is set again in - the query-tooltip callback; if not, we set it to NULL. Based on a - patch by Xavier Claessens, insightful comments from Jean-Yves Lefort - and Christian Persch. - -2008-05-28 Michael Natterer - - * modules/printbackends/cups/gtkcupsutils.c - * modules/printbackends/cups/gtkprintbackendcups.c - * modules/printbackends/file/gtkprintbackendfile.c - * modules/printbackends/lpr/gtkprintbackendlpr.c: include - instead of individual files. - -2008-05-28 Michael Natterer - - * demos/testpixbuf.c: include instead of - individual files. - -2008-05-28 Kristian Rietveld - - Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL. - - * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail - ->priv->tree != NULL. Suggestion from Stefan Kost. - -2008-05-28 Kristian Rietveld - - Bug 324282 - add selected signal to cell renderer combo. - - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init), - (gtk_cell_renderer_combo_changed), - (gtk_cell_renderer_combo_start_editing): add a new "changed" signal - that will be emitted as soon as the combo box emitted changed and has - an active iterator. (Modified patch based on work by James - Pelletier). - - * gtk/gtkmarshalers.list: add marshaler. - -2008-05-28 Kristian Rietveld - - Refactor expand/collapse timeout handling (amendment to bug 511217). - - * gtk/gtktreeview.c (add_expand_collapse_timeout), - (remove_expand_collapse_timeout): new functions, the remove function - also clears expanded_collapsed_node, - (cancel_arrow_animation): moved to be next to the add/remove timeout - functions, - (gtk_tree_view_unrealize), - (gtk_tree_view_row_deleted), - (gtk_tree_view_set_model), - (cancel_arrow_animation), - (gtk_tree_view_real_expand_row), - (gtk_tree_view_real_collapse_row): use the new add/remove functions. - -2008-05-28 Kristian Rietveld - - Amendment of bug 485218 - Strange warning encountered. - - * gtk/gtktreemodelsort.[ch] - (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean - indication whether or not the conversion had succeeded. - -2008-05-27 Matthias Clasen - - Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output - - * modules/printbackends/cups/gtkprintbackendcups.c - (cups_printer_create_cairo_surface): Fall back to PostScript level 2 - if the printer does not support level 3. Patch by Marek Kašík. - -2008-05-27 Matthias Clasen - - Bug 404571 - Scroll arrow backgrounds should be painted with different - detail - - * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" - as detail when drawing scroll arrow backgrounds. Proposed by - Tommi Komulainen. - -2008-05-27 Matthias Clasen - - Bug 511217 - potential memory corruption after refreshing a tree_view - - * gtk/gtktreeview.c (cancel_arrow_animation): Reset - expanded_collapsed_node when canceling the animation. - Patch by Nicholas Setton. - -2008-05-28 Michael Natterer - - * modules/input/gtkimcontextime.h - * modules/input/gtkimcontextmultipress.h - * modules/input/gtkimcontextthai.h - * modules/input/gtkimcontextxim.h: include instead of - individual files. - - * modules/input/gtkimcontextime.c - * modules/input/gtkimcontextmultipress.c - * modules/input/gtkimcontextxim.c - * modules/input/imam-et.c - * modules/input/imcedilla.c - * modules/input/imcyrillic-translit.c - * modules/input/iminuktitut.c - * modules/input/imipa.c - * modules/input/imti-er.c - * modules/input/imti-et.c - * modules/input/imviqr.c: ditto. Some minor cleanups like moving - "gtk/gtkintl.h" to the end of includes. - -2008-05-28 Michael Natterer - - * modules/engines/pixbuf/pixbuf-style.h - * modules/engines/pixbuf/pixbuf-rc-style.h: include - instead of individual files. - -2008-05-27 Matthias Clasen - - Bug 485218 - Strange warning encountered - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): - (gtk_tree_model_sort_convert_child_iter_to_iter): - (gtk_tree_model_sort_build_level): Better warnings. Patch - by Kristian Rietveld. - -2008-05-27 Matthias Clasen - - Bug 351910 - Search column setting lost - - * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify - the docs. Patch by Matt Barnes. - -2008-05-27 Matthias Clasen - - Bug 477278 - avoid unnecessary pointer subtraction - - * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer - subtraction that sparse complains about. Patch by Christian - Persch. - -2008-05-27 Matthias Clasen - - Bug 106574 - Inconsistent increment behavior for gtkspinbutton - - * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change): - Commit the entry text before doing an increment. Patch by - Björn Lindqvist. - -2008-05-27 Federico Mena Quintero - - http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow - drag and drop from the file list into itself, as it doesn't make - sense (it would just change the current folder). - - * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use - GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into - itself. - -2008-05-27 Michael Natterer - - * gtk/gtksignal.h: move deprecated guards around everything, - including includes and include guards (just as in all other - deprecated files). - -2008-05-27 Tor Lillqvist - - * gtk/updateiconcache.c (build_cache): Use simpler mode for open() - on Windows. (No S_I?GRP and S_I?OTH bits are defined in - on Windows, and the mode used in open() doesn't - matter much as there are no rwxrwxrwx bits on Windows anyway.) - Open file in binary mode. Passing "b" to fdopen() later isn't - enough. - -2008-05-27 10:33:41 Tim Janik - - * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against - invalid or invisible widgets. - -2008-05-27 Matthias Clasen - - Bug 531008 – Crash in gtkprintunixdialog.c - - * gtk/gtkprintunixdialog.c: Disconnect signal handlers when - the dialog closes. Patch by Yevgen Muntyan. - -2008-05-27 Matthias Clasen - - RH bug 248245: cups client printing from gnome applications fail - - * modules/printbackends/cups/gtkprintbackendcups.c - (gtk_print_backend_cups_print_stream): Specify the right server. - -2008-05-27 Carlos Garnacho - - * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable - rubberbanding when "select-multiple" is TRUE. Bug #446068. - -2008-05-27 Carlos Garnacho - - * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable - correctly dialog buttons sensitivity when the anonymous option is - enabled by default. Bug #531865. - -2008-05-27 Carlos Garnacho - - * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set - password dialog modal and transient for the parent window also if it - was specified in the constructor. Bug #531864. - -2008-05-26 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try - setting the default font, might need to tweak this. - -2008-05-26 Michael Natterer - - * examples/gtkdial/gtkdial.h - * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS. - -2008-05-26 Michael Natterer - - * gtk/gtkimmodule.h: fix indentation. - -2008-05-26 Michael Natterer - - * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h" - - * gtk/gtkshow.c: remove inclusion of single files from gdk/ - - Removed trailing whitespace in both files. - -2008-05-26 Richard Hult - - 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 - - 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 - - * gtk/gtkwidget.c: Some doc formatting fixes. - -2008-05-26 Matthias Clasen - - 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 - - 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 - - * gtk/gtkshow.[hc]: Formatting fixes - - * gtk/gtkmountoperation.c: Add docs - -2008-05-25 Cody Russell - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard): - Slight coding style cleanup. - -2008-05-25 Tristan Van Berkom - - * 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 - - * 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 - - * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE - to the drag actions to allow trash (#137717). - -2008-05-25 Josselin Mouette - - 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 - - * 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 - - * 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 - - * 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 - - * gtk/gtkfilechooserdefault.c: - (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED - errors (#532262). - -2008-05-25 Björn Lindqvist - - * 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 - - 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 - - * 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 - - Bug 520989 – icon factory buildable too strict - - * gtk/gtkiconfactory.c (icon_source_start_element): Make filename - an optional attribute. - -2008-05-24 Matthias Clasen - - Bug 387972 – gtkassistant drawing problem - - * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make - GtkAssistant work better in glade. - -2008-05-24 Jan Arne Petersen - - * 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 - - * 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 - - * 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 - - * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match - pango_color_parse, do not reference XParseColor forms (#434991). - -2008-05-24 James Sharpe - - * 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 - - * **/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 for - setlocale(LC_ALL, ...) - -2008-05-23 Tor Lillqvist - - * 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 - - * 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 - - * 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 instead of single - files. Remove some redundant includes. - -2008-05-22 Hiroyuki Ikezoe - - * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of - GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED). - -2008-05-21 Richard Hult - - * 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 - - * 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 - - * 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 - - * 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 - - * gtk/gtkalignment.c - * gtk/gtkarrow.c - * gtk/gtkbbox.c - * gtk/gtkcalendar.c - * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values. - -2008-05-20 Matthias Clasen - - RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size - was chosen - - Patch by Marek Kasik. - - * gtk/gtk.symbols: - * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size. - - * gtk/gtkprintbackend.[hc]: Add fallback implementation. - - * modules/printbackends/file/gtkprintbackendfile.c: - * modules/printbackends/cups/gtkprintbackendcups.c: Implement - get_default_page_size. - - * gtk/gtkpagesetupunixdialog.c: When selecting a different printer, - select its default paper size. - - * gtk/gtkprintunixdialog.c: If no explicit page setup has been set, - use the printer default. - - * gtk/gtkprintoperation-unix.c: Don't create an empty page setup - if we don't have a default page setup. - -2008-05-20 Gian Mario Tagliaretti - - * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param - can accept NULL for none. Fixes bug #533920. - -2008-05-20 Björn Lindqvist - - * gtk/gtkspinbutton.c: (gtk_spin_button_snap, - gtk_spin_button_update): Remove two chunks of duplicated - code (#533733). - -2008-05-20 14:27:34 Tim Janik - - * 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 - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide), - (gdk_window_fullscreen), (gdk_window_unfullscreen): Use - SetSystemUIMode instead of hiding and showing the menubar. - -2008-05-19 Federico Mena Quintero - - http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog - can't be resized until you expand the "Browse for other folders" - section. - - * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface): - Removed the "get_resizable" method. - (_gtk_file_chooser_embed_get_resizable): Removed. - - * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery. - - * gtk/gtkfilechooserdefault.c: Likewise. - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_default_size_changed): Act as if the dialog - were always resizable. - -2008-05-19 Michael Natterer - - * gtk/gtkcellrenderer.c - * gtk/gtkcellrendererpixbuf.c - * gtk/gtkcellrenderertoggle.c - * gtk/gtkimagemenuitem.c - * gtk/gtkmenutoolbutton.c - * gtk/gtkoptionmenu.c - * gtk/gtkstatusbar.c - * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP. - -2008-05-17 Yair Hershkovitz - - * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to - g_disable_setlocale(). - -2008-05-17 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_invalidate_maybe_recurse): - (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead - of g_idle_add. Add a temporary check if the window is already in - the updates list, since update_area currently doesn't always match - the backend's state, see bug #530801. - -2008-05-13 Tor Lillqvist - - Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32 - - * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set - the "packet rate" of devices to zero instead of 50. This is - reported to help significantly with Wacom tablet behaviour in GIMP - and Inkscape. Patch from Thomas Bleeker. - -2008-05-12 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - * gdk/quartz/gdkquartz.h: Remove special casing of menu key events - as it's no longer necessary; instead the added quartz API to get - the nsevent from an event should be used. Also move the global - filter up so it's done before the check for window-less events. - -2008-05-12 Tor Lillqvist - - Bug 532558 - Cannot build dll when using separate builddir - - * gdk/Makefile.am - * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko - Lindqvist. - -2008-05-12 Yair Hershkovitz - - * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init (); - -2008-05-12 Tor Lillqvist - - Bug 532059 - Leak in win32 clipboard manipulation - - * gdk/win32/gdkselection-win32.c - (gdk_win32_selection_add_targets): Plug memory leak. Patch by - Daniel Atallah. - -2008-05-11 Yair Hershkovitz - - * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do - gettext_initialization only once. - - * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it - duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext - with the extended functionality that was in the removed dpgettext(). - - * gtk/gtkaccellabelc: - * gtk/gtkstock.c: - * gtk/gtkimmulticontext.c: - * gtk/gtkactiongroup.c: - * gtk/gtkintl.h: use glib i18n api. - -2008-05-08 Richard Hult - - * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the - currently invalidated region. Fixes bug #532048, patch by Yevgen - Muntyan. - -2008-05-08 Richard Hult - - * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake - fd's revents, not the first one. Fixes bug #531056, spotted by - Yevgen Muntyan. - -2008-05-07 Tor Lillqvist - - * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages - to the dev zipfile. - -2008-05-05 Matthias Clasen - - Apply a patch by Marek Kasik to display - more printer status information in the print dialog. - - * modules/printbackends/cups/gtkprintbackendcups.c: Translate - printer-state-reasons into suitable messages and icons. - - * gtk/stock-icons/16/gtk-print-error.{svg,png}: - * gtk/stock-icons/16/gtk-print-report.{svg,png}: - * gtk/stock-icons/16/gtk-print-warning.{svg,png}: - * gtk/Makefile.am: - * gtk/gtkiconfactory.c: - * gtk/gtkstock.h: New stock icons to display printer state. - -2008-05-07 Michael Natterer - - * gdk/gdkinternals.h - * gdk/gdkevents.c - * gdk/directfb/gdkevents-directfb.c - * gdk/quartz/gdkevents-quartz.c - * gdk/win32/gdkevents-win32.c - * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy): - order parameters src,dest and make src const. - -2008-05-06 Richard Hult - - * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free): - * gdk/gdkinternals.h: Add private backend data to events, and - handle it when copying/freeing events. Currently only needed in - the quartz backend. - - * gdk/directfb/gdkevents-directfb.c: - * gdk/quartz/gdkevents-quartz.c: - * gdk/win32/gdkevents-win32.c: - * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy) - (_gdk_windowing_event_data_free): Add stubs for X11, win32 and - directfb. Implement for quartz. Part of fixing bug #473822. - -2008-05-05 Richard Hult - - * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize - framework if there is one. - -2008-05-05 Michael Natterer - - * gtk/gtkcellrenderercombo.h - * gtk/gtkcellrendererspin.h - * gtk/gtkfilechooserbutton.h: style cleanups for the sake of - consistency. - - * gtk/gtkfilechooserdialog.h - * gtk/gtkfilechooserwidget.h - * gtk/gtkscalebutton.h: reorder instance and class structs to be - in canonical order. - -2008-05-04 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if - gdk_unicode_to_keyval() worked before using the result. Makes - function keys work, bug #530156. Also add F16 to the function key - map. - -2008-05-04 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray - semicolon after if statement. Fixes bug #530963, patch from Yevgen - Muntyan. - -2008-05-02 Michael Natterer - - * gtk/gtk.h: add 15 files that were missing (they all got included - indirectly by including gtk.h, so should have been here in the - first place). - -2008-05-02 Michael Natterer - - * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20". - -2008-05-01 Richard Hult - - * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard): - Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan. - -2008-05-01 Matthias Clasen - - * modules/imput/imthai.c: Register the right translation domain. - -2008-04-30 Matthias Clasen - - Bug 529386 – Printing options hidden by blacklisted option - - * modules/printbackend/cups/gtkprintbackendcups.c - (cups_printer_get_options): Fix the blacklist handling. - Patch by Marek Kašík. - -2008-04-30 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose - area. - -2008-04-30 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send - nsevents with the gdk lock held, fixes deadlock when doing manual - window resizing with threading enabled. - -2008-04-30 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (get_keyboard_modifiers_from_ns_event), (create_key_event): Map - Alt to Alt and Cmd to Meta. This is not only more logical but also - makes it easier to have Mac-like behavior. - -2008-04-25 Björn Lindqvist - - * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when - painting the flat box instead of recalculating it. (#437493, - Ricardo Cruz) - -2008-04-25 Michael Emmel - - Bug 529841 – incorrect position in directfb - - * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x - -2008-04-25 Johan Dahlin - - * gtk/gtkwidget.h: include instead of - -2008-04-25 Michael Natterer - - * gtk/gtkprintcontext.h: include instead of - . - - * gtk/gtkiconfactory.c - * gtk/gtkimmodule.c - * gtk/gtkmain.c - * gtk/gtkmodules.c - * gtk/queryimmodules.c: remove inclusion of single files from - pango, none of them was actually needed. - - * modules/input/gtkimcontextime.c: include instead of - . - -2008-04-25 Michael Natterer - - * gdk/gdkfont.h: include instead of - . - -2008-04-25 Michael Natterer - - * gtk/gtkmountoperation.h: include instead of - . - -2008-04-21 Michael Natterer - - * gtk/gtkselection.c: add tons of g_return_if_fail() instead of - crashing when NULL pointers get passed. - -2008-04-18 Michael Natterer - - * gtk/gtkenums.h: move a few '{' to their own lines so all enums - here have the same style. - -2008-04-18 Michael Natterer - - * gtk/gtkicontheme.h - * gtk/gtkrecentmanager.h: include instead of - . - - * gtk/gtkbuilderparser.c - * gtk/gtklinkbutton.c - * gtk/gtkpreview.c - * gtk/gtkrecentchooserdefault.c - * gtk/gtkrecentchoosermenu.c - * modules/input/gtkimcontextthai.c: remove inclusion of single - files from gdk, none of the includes was actually needed. - -2008-04-18 Michael Natterer - - * gdk/gdk.h: reorder one include so they are all alphabetical. - -2008-04-18 Michael Natterer - - * modules/printbackends/cups/gtkprintercups.[ch] - (gtk_printer_cups_get_ppd_name): change return value and local - variable to const gchar* to fix warning about discarding const - qualifier. - -2008-04-18 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_set_filename): Keep the default storage - file in $HOME, as we don't have a migration code in place yet. - -2008-04-18 Michael Natterer - - * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age): - g_strfreev() the uris returned by g_bookmark_file_get_uris(). - -2008-04-17 Michael Natterer - - * gtk/gtkiconfactory.c (get_default_icons): register the - GTK_STOCK_PAGE_SETUP icon. - -2008-04-17 Michael Natterer - - * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to - g_return_if_fail(tooltips != NULL); - -2008-04-16 Tristan Van Berkom - - * gtk/gtkwindow.c: Chain up in buildable_finish() - - * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle - cases where g_path_get_dirname() returns "." - - * docs/reference/gtk/tmpl/gtklabel.sgml, - docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation - for the tags on GtkLabel - -2008-04-15 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_real_changed): Fix last commit, and - complete the gtk-recent-files-max-age semantics: if the - property is set to 0 then purge the list. - -2008-04-15 Emmanuele Bassi - - Bug 488507 – boundless growth of .recently-used.xbel file - slows down applications - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_init), - (gtk_recent_manager_real_changed), - (gtk_recent_manager_set_filename), - (gtk_recent_manager_clamp_to_age): Clamp the recently - used resources list by the age of its items, using - the newly added GtkSettings property. - - * gtk/gtksettings.c (gtk_settings_class_init): Add the - gtk-recent-files-max-age property, controlling the - maximum age of the items in the recently used resources - list. - -2008-04-15 Emmanuele Bassi - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_add_item_query_info), - (gtk_recent_manager_add_item): Emit the ::changed signal - at the end of the asynchronous MIME type query. - -2008-04-15 Emmanuele Bassi - - Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel - every 5 seconds - - * gtk/gtkrecentmanager.c: Use GFileMonitor to check for - changes in the recently used resources storage file, and - drop the timeout-based poll. - - * ChangeLog: Fix attribution of the patch of the previous - commit. - -2008-04-15 Emmanuele Bassi - - Bug 506062 – gtk_recent_manager_add_item does not detect mime - type on Windows - - * configure.in: Depend on gio-2.0 - - * gtk/gtkrecentmanager.c: - (gtk_recent_manager_add_item_query_info_cb), - (gtk_recent_manager_add_item): Use GIO to (asynchronously) - query the MIME type of the passed URI (based on a patch by - Armin Burgmeier) - -2008-04-11 Carlos Garnacho - - * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current - page to visited page list instead of next current page. (#527466, - patch by Marcus Brinkmann) - -2008-04-11 Tristan Van Berkom - - * gtk/gtklabel.c: Added / - custom tags to parse pango attributes into labels (#527486). - - * tests/buildertest.c: Added tests for GtkLabel custom - tag parsing. - -2008-04-10 Carlos Garnacho - - * gtk/gtknotebook.c (hide_drag_window): Do not call - gtk_widget_set_parent_window(), using widget->window instead of NULL - to unset is the wrong thing, and gtk_widget_unparent() will already - take care of this (#467698, patch by Sébastien Granjoux) - -2008-04-08 Tor Lillqvist - - * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark - these functions with G_MODULE_EXPORT. - -2008-04-08 Tomas Bzatek - - * gtk/gtkfilesystem.c: (gtk_file_info_render_icon), - (gtk_file_system_volume_render_icon): - Fix fallback icon rendering size - -2008-04-08 Michael Natterer - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a - touchscreen-mode keynav corner case: when navigating to the parent - menu, make sure we don't close two menus at the same time in case - the deepest open menu has no selectable items. - -2008-04-06 Tristan Van Berkom - - * gtk/gtkwidget.c: Clarified a g_warning message regarding - parsing accelerators from builder files. - -2008-04-03 Cody Russell - - * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle - of the block. (#526021, reported by Kazuki IWAMOTO) - -2008-04-03 Tor Lillqvist - - Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very - strange behavior - - * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add - workaround for a specific kind of screwed up locale setting. - -2008-04-02 Matthias Clasen - - * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign - colormaps. Found by Daniel Berrange. - -2008-04-02 Björn Lindqvist - - * tests/autotestfilechooser.c: Cover - GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current - name. (#346058, Joe Halliwell) - -2008-04-02 Federico Mena Quintero - - Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file - chooser incorrectly substitutes and expands a ~ when you type it - in the filename entry. - - * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty - basenames result in a slash-terminated pathname. - gtk_file_system_unix_parse() is correct, but it was splitting - "/home/username" into path="/home" and file_part="username", which - is not what the caller wants when the entry has just "~" or - "~username". - -2008-04-02 Tor Lillqvist - - * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c - and gtksearchenginetracker.c on Windows. - - * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER - on Windows. - -2008-04-01 Cody Russell - - * configure.in: Bump required Cairo to 1.5.2. - - * gtk/gtkprintoperation-win32.c: Add support for using the new - cairo_win32_printing_surface for printing. Also fixed to use - cairo_surface_show_page(). (#488833 and #521178) - -2008-03-31 Cody Russell - - * demos/gtk-demo/printing.c (draw_page): Move down each line in - units of text_height rather than in units of data->font_size. - (totally awesome catch by Dom Lachowicz) - -2008-03-28 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate), - (_gdk_quartz_events_trigger_crossing_events): Defer the generated - event to the mainloop and don't generate one at all if the - toplevel didn't change. Use the actual window and not the toplevel - as event window. These changes make the generated crossing events - match the X11 behavior and fixes issues with e.g. tooltips, - comboboxes and menus. - - * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if - the view has no window, it will be updated as soon as it's put - inside a window. - - * gdk/quartz/gdkwindow-quartz.c: - (_gdk_quartz_window_debug_highlight): Make it possible to track - multiple windows with debug highlighting. - (show_window_internal): Remove workaround for tooltips and popups - that is no longer needed with the above changes. - -2008-03-26 Federico Mena Quintero - - * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New - helper function; factored out from the functions that commit the - current suggested autocompletion and that refresh the entry's paths. - (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh(). - (_gtk_file_chooser_entry_get_file_part): Likewise. - (_gtk_file_chooser_entry_get_current_folder): Likewise. This - makes the entry have the correct paths when *not* using any form - of completion (and makes the file chooser work when clicking the - OK button). - -2008-03-25 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (_gdk_quartz_events_trigger_crossing_events): Bail out early if we - can't find a matching window. - - * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a - comment, and only trigger an event for non-temp windows, fixes - problems for tooltips caused by the workarounds for the - problematic tracking rect API. - -2008-03-25 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_quartz_process_all_updates): Plug a leak and add a - check that we have a toplevel before accessing it. - -2008-03-24 Tor Lillqvist - - Bug 524151 - Dragging of 0-byte files results in an empty filename - on Windows XP and above - - * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file - being empty first. For some reason ISHellLink and IPersistFile - succeeds in interpreting empty files as shortcuts, claiming the - target of the shortcut is an empty path. - - Change the function to take the wide character file name that the - caller already has anyway, to avoid a superfluous conversion from - UTF-8 to UTF-16. - -2008-03-23 Björn Lindqvist - - * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard - against NULL pointer. (#467051, Gian Mario Tagliaretti) - -2008-03-23 Cody Russell - - * gdk/win32/gdkevents-win32.c (show_window_recurse): - Check window state for GDK_WINDOW_STATE_ICONIFIED before doing - ShowWindow (SW_RESTORE). This fixes a problem where tearing off - menus from a maximized window would force the window to restore - its size. (#518846) - -2008-03-23 Johan Dahlin - - * gtk/gtk-builder-convert: - Properly convert GtkImageMenuItems which use stock labels but don't - have any children. - (#523932, Brian Pepple) - -2008-03-22 Matthew Barnes - - * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells): - New function implements GtkCellLayoutClass::get_cells. (#523787) - -2008-03-22 Tor Lillqvist - - Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c - - * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong - GDK_THREADS_LEAVE() call. Approved by mclasen. - -2008-03-22 Björn Lindqvist - - * gtk/gtkexpander.c (gtk_expander_get_label): - gtk_label_get_label() should be used instead of - gtk_label_get_text(). (#353088, Xan Lopez) - -2008-03-21 Tor Lillqvist - - Import the GDI+ gdk-pixbuf loaders for Windows by Dominic - Lachowicz and Alberto Ruiz into the GTK+ tree, from the - gdip-pixbuf-loader module. - - * configure.in: Add switch --disable-gdiplus-loaders that disables - building of the GDI+ loaders. - - When including loaders in the gdk-pixbuf library, and building - GDI+ loaders, either build in all the GDI+ loaders or none of - them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to - signal building them in. - - Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate - whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to - indicate whether they should be built-in. - - For the rest of the changes, see gdk-pixbuf/ChangeLog. - -2008-03-20 Tor Lillqvist - - * gtk/Makefile.am: Revert accidental change that went in as part - of the commit on 2008-03-18. Do use grep -o. Unbreaks build on - Darwin. On Windows one has to use a newer GNU grep that has -o, - for instance the one from gnuwin32, instead of the oldish one in - MSYS that doesn't have -o. - -2008-03-20 Tor Lillqvist - - * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't - pass NULL for %s to g_message(). - (main): Drop unnecessary call to gtk_widget_destroy(). - -2008-03-20 Tor Lillqvist - - Bug 314084 - GTK+ dialogs should not be placed partially offscreen - - * gtk/gtkwindow.c (clamp): New function. Clamps a window position - in one dimension, or centered in case it doesn't fit. - (clamp_window_to_rectangle): Simplify. Call clamp() for x and y - dimensions. - -2008-03-18 Tor Lillqvist - - Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code - - * modules/input/im*.c: Modify the MODULE_ENTRY macro so the - G_MODULE_ENTRY decoration can be put in a more correct place. - -2008-03-18 Sven Neumann - - * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set - alternative button order on the password dialog. - -2008-03-18 Tor Lillqvist - - Bug 99192 - Add --with-include-input-modules - - * configure.in: Add --with-included-immodules switch. Handled in a - similar way as the --with-included-loaders switch. For each input - method module foo: Collect the list of input modules to be built - into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of - -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE. - Define Automake conditionals INCLUDE_IM_FOO. - - * modules/input/Makefile.am: For modules to be included in libgtk, - build a static library. - - * modules/input/im*.c: Use MODULE_ENTRY macros much like in - gdk-pixbuf to get unique names for the functions called by libgtk - in the included case. Use G_MODULE_EXPORT in the non-included case - so that we don't unnecessarily export unneeded random global - symbols on Windows. - - * gtk/Makefile.am: Build the included modules and link them into libgtk. - - * gtk/gtkimmodule.c: Handle the built-in modules. Remove - copy/paste leftover mentions of "themes" in comments. - -2008-03-18 Tor Lillqvist - - * tests/Makefile.am: Build testmountoperation only on Unix for now. - -2008-03-17 Christian Kellner - - Implement GtkMountOperation, a subclass of GMountOperation - to be used with gio wherever there is the need to ask the - user for credentials or questions while mounting a volume. - This is bug #522245 - - * gtk/gtkmountoperation.c: - * gtk/gtkmountoperation.h: - Implement GtkMountOperation. - - * gtk/gtk.h: Add gtkmountoperation.h - * gtk/Makefile.am: Add gtkmountoperation.[hc] - * gtk/gtk.symbols: Add symbols of GtkMountOperation. - * tests/testmountoperation.c: Test program for it. - * tests/Makefile.am: Add testmountoperation. - -2008-03-17 Emmanuele Bassi - - * gtk/gtkcontainer.c: Properly document - gtk_container_set_focus_child(). (#521739, Andrew Cowie) - -2008-03-16 Alberto Ruiz - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive - style names for the ComboBox thickness style - -2008-03-16 Alberto Ruiz - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: - * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow) - (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more - intelligent separation for the xp theming engine and the classic - theme while drawing the GtkComboBox button. combobox_draw_arrow - is not used anymore, commented. The style has been updated to fix - border/thickness glitches in the combobox according to the fixes - commited regarding bug #521442. (bug #461805) - -2008-03-16 Alberto Ruiz - - * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is - now aware of both the combobox and frame (if has-frame is set) - thickness and border. (bug #521442) - -2008-03-15 Andre Klapper - - * configure.in: Added "si" to ALL_LINGUAS. - -2008-03-15 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): - Set window type hint on the search popup. (#522279, Danny Baumann) - -2008-03-15 Matthias Clasen - - * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as - appropriate. (#521934, Huang Peng) - -2008-03-14 Michael Natterer - - * gdk/gdkspawn.h - * gtk/gtkbuilderprivate.h - * gtk/gtkfilechoosersettings.c - * gtk/gtksearchenginesimple.c - * gtk/tests/liststore.c - * gtk/tests/treestore.c: remove single-file includes of GLib - headers or replace them by where needed. - -2008-03-14 Michael Natterer - - * gtk/gtkadjustment.c: coding style cleanup. - - (gtk_adjustment_set_property): no need to call g_object_notify() - on the set properties. - - Implement GObject::dispatch_properties_changed() and make sure we - emit "changed" when anything but the "value" property changes. - -2008-03-14 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c: Drop the support for the - MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and - Win95. Thanks to mitch for noticing this obsolete code. - -2008-03-14 Cody Russell - - * examples/scribble-xinput/scribble-xinput.c: Changed - 'void int main()' to 'int main()'. (#522211, Liqing Huang) - -2008-03-14 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_quartz_process_all_updates): Patch from Paul Davis, - only flush the toplevel once per update. - -2008-03-13 Federico Mena Quintero - - * gtk/gtkfilechooserentry.c (create_completion_feedback_window): - Set the mouse cursor of the feedback window to invisible, so that - we respect GtkEntry's invisible cursor while typing. - -2008-03-13 Federico Mena Quintero - - * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put - the feedback window at entry_height/2 pixels to the right of the - cursor, for a cheap "M-width / 2" spacing. - -2008-03-13 Sven Neumann - - * gtk/gtkfilechooserdefault.c - * gtk/gtkprintunixdialog.c: set alternative button order for - overwrite confirmation dialogs (bug #522191). - -2008-03-13 Sven Neumann - - * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog) - (overwrite_confirmation_dialog): added some line-breaks for - readability. - -2008-03-12 Federico Mena Quintero - - Rework the way completion works in GtkFileChooserEntry. Fixes - http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - - Tab completion should work even if the cursor is not at the end of - the entry. - - * gtk/gtkfilechooserentry.c: Change the strategy by which we do - completion. - - We distinguish between two cases: - - - autocompletion - happens only in the Open modes by - inserting and selecting the common prefix as you type. - - - explicit completion - happens when you hit Tab. - - When some type of completion needs to happen, the entry first - parses its input and sees if it needs to initiate a folder load. - Completion will not happen until the folder finishes loading. - - If the folder is already completely loaded, then completion is - performed immediately. Otherwise, the entry queues a pending - completion and starts loading the new folder (or waits until the - current folder is completely loaded). - - Tab completion is allowed to happen even if the cursor is not at - the end of the entry. - - There is a new feedback mechanism for explicit completion, so that - you will get an Emacs-like tip whenever there are ambiguities in - completion, no matches, etc. (This needs to be polished so that - we support RTL entries and all the fancy Pango layout in GtkEntry). - - The only remaining thing to fix is the popup suggestion window. - Unfortunately, GtkEntryCompletion does not let us do what we want, - and will need further changes. - -2008-03-12 Tor Lillqvist - - Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash - - * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check - for the TaskbarCreated message in the window procedure for the - dummy "tray observer" window we create. When we get a - TaskbarCreated message, iterate over the status icons and re-add - them to the task bar, and update them by calling - gtk_status_icon_update_image(). - - Move some ifdefs around to avoid unused functions. - -2008-03-12 Tor Lillqvist - - * config.h.win32.in: Update to match what configure produces. - -2008-03-12 Jens Granseuer - - * modules/printbackends/cups/gtkprintbackendcups.c: - (cups_printer_prepare_for_print): Don't define variables in the - middle of a block. (#522067) - -2008-03-12 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Add an overwrite confirmation - dialog for print-to-file. (#474302, Marek Kašík) - -2008-03-12 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash - (#469210, Wouter Bolsterlee) - -2008-03-12 Matthias Clasen - - * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak - paper_size here. (#488820, Morten Welinder) - -2008-03-12 Michael Natterer - - * acconfig.h: remove this deprecated file. - - * configure.in: added comments to all instances of AC_DEFINE() so - config.h can be completely generated from configure.in. - -2008-03-12 Michael Natterer - - * modules/printbackends/cups/gtkprintbackendcups.c: include - for g_fopen(). - -2008-03-11 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: Use - g_ascii_formatd when formatting custom paper sizes, since - cups doesn't handle , as decimal separator. (#521548) - -2008-03-11 Tor Lillqvist - - Bug 469868 - Filenames with colon ":" are not saved correctly - - * gtk/gtkfilechooserentry.c (insert_text_callback) - (delete_text_callback) [Win32]: New functions to make sure that - colons used otherwise than as a separator after a drive letter, or - characters that are always illegal in file names, are rejected on - input. This means that the GTK+ file chooser can't be used to - input full names of alternate data streams, but oh well. There are - still more checks that could be done on the file names, see the - bug report. But this will do for now. - (_gtk_file_chooser_entry_init) [Win32]: Connect above functions. - -2008-03-11 Jordi Mallach - - * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan). - -2008-03-11 Michael Natterer - - * gdk/linux-fb/*: removed linux-fb backend files. - - * acconfig.h - * config.h.win32.in - * docs/README.linux-fb - * gtk/Makefile.am: remove remaining traces of linux-fb. - - * gtk/gtkwindow-decorate.c: same here. There is some code that - calls into linux-fb to set window move/resize callbacks. I put it - in #if 0 as a reminder because we did use decorated windows with - the DirectFB backend and it did work, so I don't really know why - this code is needed or how it could work with DirectFB back then. - The file does actually compile now if DECORATE_WINDOWS is defined, - but I didn't test with DirectFB to check if it does anything. - -2008-03-11 Alberto Ruiz - - * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): - Take thickness into account in the size allocation of the child widgets in - list mode. - Fixes #521442 - -2008-03-11 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent. - -2008-03-10 Tor Lillqvist - - * tests/teststatusicon.c (do_exit, popup_menu): Add the - possibility to test what happens if the process just calls exit() - without any orderly cleanup of GTK+. - -2008-03-10 Tor Lillqvist - - * gtk/gtktrayicon-win32.c: Remove from SVN, finally. - -2008-03-10 Tor Lillqvist - - Bug 520286 - Non-deletable window has no minimize / maximize buttons - - * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string): - New debugging output function that decodes a set of WS_* bits. - - * gdk/win32/gdkprivate-win32.h: Declare it. - - * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry): - New function that enables or disables one menu entry in the system - menu of a top-level window. (The corresponding decoration will - then also be enabled or disabled (grayed).) - - (update_style_bits): Do as the comment says and don't try to - update the window style based on the GdkWMFunctions set for the - window. - - (update_system_menu): New function that enables or disables the - system menu entries based on a window's stored set of - GdkWMFunctions. - - (gdk_window_set_functions): Call update_system_menu() instead of - update_style_bits(). - -2008-03-10 Emmanuele Bassi - - * README.in: Reword the 2.14 release notes entry about the - deprecation of the gtkitemfactory.h header, and fix typos - and grammar. - -2008-03-08 Alberto Ruiz - - * modules/engines/ms-windows/msw_style.c (draw_shadow): - Do not draw frame if parent if combobox. - (draw_box): - Uses scrollbar width system metrics for combobox button. - Fixes #461805 for XP theme engine. - -2008-03-07 Johan Dahlin - - * gtk/gtkbuilder.c: - * gtk/gtkbuilderparser.c: - * gtk/gtkbuilderprivate.h: - * gtk/gtkiconfactory.c: - * tests/buildertest.c: - - Treat enums like enums and not values - - Avoid invalid free, in case of more than two sources - - Add better error messages - - Add much improved tests - (#520979, Christian Persch) - -2008-03-07 Carlos Garnacho - - * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end): - Fix build. - -2008-03-06 Federico Mena Quintero - - Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 - - GtkFileChooserDialog should set a default response button if the - app doesn't set it. Based on a patch by Chris Wang . - - * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New - function, refactor from where there was duplicated code. - (gtk_file_chooser_dialog_map): Look at the buttons in our - action_area. If the response ID for a button is one of the stock - ones, make it the default response button. - -2008-03-06 Johan Dahlin - - * docs/reference/gtk/tmpl/gtkiconfactory.sgml: - * gtk/gtkbuilder.c: - * gtk/gtkbuilderprivate.h: - * gtk/gtkiconfactory.c: - * tests/buildertest.c: - Implement GtkBuildable on GtkIconFactory, to make - it possible to register custom stock icons. - Fixes #517066 - -2008-03-06 Johan Dahlin - - Make gtk-doc happy: - - * gtk/gtkstyle.c: npoints->n_points. - * gtk/gtktestutils.h: widget->spinner - * gtk/gtktestutils.c: argc->argcp, argv->argvp - -2008-03-06 William Lachance - - * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" - string localizable (as it should be). - -2008-03-06 William Lachance - - * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of - the time for today's date. It's redudant. (see bug #410517). - -2008-03-06 Xan Lopez - - * gtk/gtkfixed.c: fix typo in documentation. - -2008-03-06 Johan Dahlin - - * gtk/gtkitemfactory.h: - * gtk/gtktypeutils.h: - Move GtkTranslateFunc to gtktypeutils.h so we can completely - deprecate gtkitemfactory.h. - - * gtk/gtkactiongroup.h: - * gtk/gtkstock.h: - Do not include gtkitemfactory.h directly, instead include gtktypeutils.h - - * README.in: - Add a note describing this slight incompatible change - -2008-03-06 Johan Dahlin - - * gtk/gtkpreview.h: Avoid double-deprecation. - -2008-03-06 Michael Natterer - - * gtk/gtk.h - * gtk/Makefile.am: move the remaining deprecated widgets to the - separate sections and replaced spaces by tabs in Makefile.am - -2008-03-05 Johan Dahlin - - * configure.in: Add --disable-cups option. - (#513826, Alberto Ruiz) - - * gtk/gtk.h: - * gtk/Makefile.am: - Separate broken and deprecated sources and headers into different sections - - * tests/buildertest.c (test_list_store): Restore accidentally broken test. - -2008-03-05 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): - short-circuit in case an empty root level would be build (and thus - directly destroyed) if no virtual root has been set. - -2008-03-04 Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c: - Honor cups user default options from ~/.cups/lpoptions - (#469210, Stijn Hoop) - -2008-03-04 Michael Natterer - - * gtk/gtkcellview.c - * gtk/gtkcolorbutton.c - * gtk/gtkentrycompletion.c - * gtk/gtkfontbutton.c - * gtk/gtkiconview.c - * gtk/gtkobject.c - * gtk/gtkpaned.c - * gtk/gtkpreview.c: don't include "gtksignal.h". - - * gtk/gtkfilefilter.c - * gtk/gtkrecentchoosermenu.c - * gtk/gtkrecentfilter.c - * gtk/gtktext.c: don't include "gtkobject.h". - -2008-03-04 Simos Xenitellis - - Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896 - - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0 - - * gdk/gdkkeysyms.h: Updated file from upstream (using script from - same directory). - - * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New - file, contains compose sequences that used to exist in - gtk/gtkimcontextsimple.c - - * gtk/compose-parse.py: Script to generate compose - sequences from upstream (Xorg). - - * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, - check_algorithmically): New functions. First two search in - gtk_compose_seqs_compact[] for matching compose sequence, third - tries NFC normalisation on incoming compose sequence. - (gtk_im_context_simple_filter_keypress): - Adds searching with check_compact_table(), check_algorithmically(). - -2008-03-03 Carlos Garnacho - - Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the - scrollwheel work in GtkPathBar. - - * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window. - - * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create - an input-only window, event_window, which we'll use to capture - scroll events. - (gtk_path_bar_map): Show the event_window under the rest of the - windows, so it will be a catch-all for unhandled events. - -2008-03-03 Sven Neumann - - * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a - typo in the documentation of the GtkFileChooserButtons::file-set - signal (see bug #353196). - -2008-03-03 Tor Lillqvist - - * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog - location. - -2008-03-02 Johan Dahlin - - * gtk/gtkiconview.c (gtk_icon_view_paint_item): - Remove left-over focus_pad variable. - (#490892, Claudio Saavedra) - - * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order - (#518166, Matt Kraai) - -2008-03-02 Johan Dahlin - - * docs/tutorial/gtk-tut.sgml: Add a missing space - (#517954, Matt Kraai) - -2008-03-03 Tor Lillqvist - - * modules/engines/ms-windows/msw_style.c (draw_box): Check that - the widget is a GtkButton before casting. - -2008-03-02 Johan Dahlin - - * configure.in: Compare using = instead of ==, which is portable. - (#490787, Thomas Klausner) - -2008-03-02 Johan Dahlin - - * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later, - fixes non-C++ build. - (#496032, Nelson Benitez) - -2008-02-29 Johan Dahlin - - * demos/gtk-demo/demo.ui: - * gtk/gtkbuilderparser.c: - * gtk/gtkbuilderprivate.h: - * gtk/gtkliststore.c: - * tests/buildertest.c: - Add translatable/context and comment attributes on - tags under a GtkListStore. Refactor parts of the - translation api and make it available inside gtk+ itself. - Update tests and example. - Fixes a part of #518642 - -2008-02-29 Johan Dahlin - - * gtk/gtkbuilder.c: - Add missing g_return_val_if_fail checks for public API. - - * gtk/gtkbuilderparser.c: - * gtk/gtkbuilderprivate.h: - Do not use g_error for a few more errors, instead set - the GError sent in through add_from_file/add_from_string. - * tests/buildertest.c: - Add a couple of new parsing tests. - (#519199, Pavel Syomin) - -2008-02-29 Federico Mena Quintero - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When - refreshing an existing folder (i.e. when we are about to reload - its file list), turn off the folder's is_finished_loading flag. - Otherwise callers which do ::is_finished_loading() followed by - ::list_children() will get nothing. - -2008-02-29 Cody Russell - - * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to - say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai) - -2008-02-28 Matthias Clasen - - * gtk/gtkcalendar.h: Remove trailing comma from enum to - make the compiler happy. (#517295, Sylvain Pasche) - -2008-02-27 Michael Natterer - - * gtk/gtkmenushell.c - * gtk/gtktable.c - * gtk/gtktext.c - * gtk/gtktipsquery.c - * gtk/gtktoolbar.c - * gtk/gtktreeitem.c - * gtk/gtktreeview.c - * gtk/gtkviewport.c - * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from - private functions and virtual function implementations. - -2008-02-27 Richard Hult - - * gdk/quartz/GdkQuartzView.c: - * gdk/quartz/GdkQuartzView.h: - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): - Fix performance regression for borderless transparent windows - with shadow. - -2008-02-27 Emmanuele Bassi - - * tests/testgtk.c: Revert back to r19454. - -2008-02-27 Sven Neumann - - * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the - Quartz backend, use a native Mac OS X application for the print - preview (bug #518624). - -2008-02-26 Michael Natterer - - * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free() - the members of info->tag_stack since they are a) gobjects and b) - not even owned by us, ugh... Fixes crash when deserializing fails. - -2008-02-26 Sven Neumann - - * docs/tools/shooter.c (find_toplevel_window) - * docs/tools/widgets.c (find_toplevel_window): fixed signedness of - argument passed to XQueryTree(). - -2008-02-25 Matthias Clasen - - * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and - don't use beagle_query_add_hit_type. - -2008-02-25 Richard Hult - - * gdk/quartz/gdkevents-quartz.c - (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger. - -2008-02-24 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being - shown without gdk's control when clicking the dock icon. - -2008-02-24 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func): - Use the subtype field for the custom event that is used to wake up - the mainloop so we can have other custom event types. - - * gdk/quartz/gdkevents-quartz.c: - (_gdk_quartz_events_trigger_crossing_events): - * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create - crossing events after showing a window if necessary, to work - around problems with the tracking rect API. - -2008-02-22 Dominic Lachowicz - - * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives - wrong results on win32 because it doesn't set the printing units, - which affect the transformation of the cairo context - (#347125, Erik van Pienbroek) - -2008-02-22 Tor Lillqvist - - * tests/pixbuf-init.c: Add file missing from SVN, from the tarball. - -2008-02-22 Dominic Lachowicz - - * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly - acceptable for a module to only support the save_to_callback() - method if it marks itself as WRITABLE - -2008-02-16 Matthias Clasen - - * configure.in: Bump version - -2008-02-16 Matthias Clasen - - * === Released 2.13.0 === - - * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke. - -2008-02-21 Tor Lillqvist - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must - pass the format string to strftime in the C library's locale's - charset, not the system's. Correspondingly, the return value from - strftime() is in the C library's locale's charset. (#509885) - -2008-02-20 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set - the right window level and shadow after recreating the window. - - * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if - necessary after drawing (bug #517338). - -2008-02-20 Marc-Andre Lureau - - * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing - call to g_type_class_unref in case of error. (#517563) - -2008-02-18 Sven Neumann - - * gtk/Makefile.am (STOCK_ICONS) - * gtk/stock-icons/16/gtk-page-setup.png - * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons - taken from GNOME icon theme. - - * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410. - -2008-02-18 Runa Bhattacharjee - - * configure.in: Added Kannada (kn) to ALL_LINGUAS - -2008-02-17 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): - When converting a stock item based on the label, remove the label property. - -2008-02-17 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the - position after showing the window since the window manager might - not place it where we requested in the first places. - -2008-02-17 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (show_window_internal), - (_gdk_quartz_window_detach_from_parent), - (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear - the toplevel ordering list in all places where the order is - potentially changed. Fixes mouse focus issues for windows with - a transient parent set. - -2008-02-17 Richard Hult - - * gdk/quartz/gdkevents-quartz.c - (_gdk_quartz_events_update_mouse_window): Highlight the mouse - window when event debugging is enabled. - -2008-02-16 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state - to the scroll event (bug #516757, Paul Davis). - -2008-02-16 Matthias Clasen - - * NEWS: Updates - -2008-02-16 Matthias Clasen - - * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480, - Teppo Turtiainen) - -2008-02-15 Matthias Clasen - - * gdk/Makefile.am: Don't install private headers. (#463510) - - * gdk/gdkinternal.h: Include gdkmedialib.h here, not in - the installed header gdkprivate.h. - -2008-02-15 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent - a crash with hidden, reorderable tabs. (#513230, - Mike Massonnet, patch by Carlos Garnacho) - -2008-02-15 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group): - Warn on duplicate action group names. (#501746, Christian - Persch) - -2008-02-15 Matthias Clasen - - * gtk/Makefile.am: - * modules/other/gail/tests/Makefile.am: - * modules/other/gail/libgail-util/Makefile.am: - * modules/other/gail/Makefile.am: Fix builddir!=srcdir - builds. (#516254, Yevgen Muntyan) - -2008-02-15 Matthias Clasen - - * gtk/gtkentry.c: - * gtk/gtkfilesel.c: - * gtk/gtklabel.c: - * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets - instead of hardcoded target tables. (#516092, Christian Persch) - -2008-02-15 Matthias Clasen - - * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't - add the same target atom twice. (#516087, Christian Persch) - -2008-02-15 Matthias Clasen - - * tests/testfilechooser.c: Add a --backend option. - (#516073, Christian Persch) - -2008-02-16 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a - gdkwindow. - -2008-02-15 Matthias Clasen - - * configure.in: Go back to 2.13.0 as version for now, - as there was no consensus to do the jump. - - * many other places: Update Since: tags. - -2008-02-15 Matthias Clasen - - * gtk/gtk.symbols: Add gtk_tool_shell_get_type - - * gtk/gtktestutils.c: Don't generate unnecessary PLT entries - -2008-02-15 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame - instead of bounds when resizing windows. - -2008-02-15 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c: - * gdk/x11/gdkcolor-x11.c: - * gdk/gdkpolyreg-generic.c: Fix a small doc issues. - -2008-02-15 Matthias Clasen - - * gdk/x11/gdktestutils-x11.c: - * gdk/x11/gdkscreen-x11.c: Documentation fixes. - -2008-02-15 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't - leak Registry key handles. (#516578) - -2008-02-14 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using - makeKeyWindow unfortunately doesn't work in all cases, we must use - makeKeyAndOrderFront. - -2008-02-14 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry), - (gdk_window_hide), (gdk_window_fullscreen), - (gdk_window_unfullscreen): Make sure we leave fullscreen mode if - the window is hidden. - -2008-02-14 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when - resizing to be consistent and to avoid introducing an internal - transform in the view. - -2008-02-14 Richard Hult - - * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style - fix. - -2008-02-14 Johan Dahlin - - * gdk/gdktestutils.h - * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS - -2008-02-13 Richard Hult - - * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents): - Remove unused variables. - (gtk_clipboard_set_contents), - (gtk_clipboard_get_owner), (clipboard_unset), - (gtk_clipboard_request_targets): Notify the previous clipboard - owner when the owner changes. Fixes bug #493406. - -2008-02-13 Richard Hult - - * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix - the return value (return number of colors that failed), and handle - RGBA colormap. - (gdk_colormap_free_colors): Fix typo in comment. - -2008-02-13 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only - queue a redraw if the rubber banding has actually been active. - -2008-02-12 Matthias Clasen - - * gtk/gtkpapersize.c: - * gtk/gtkprintoperation.c: - * gtk/gtkvolumebutton.c: - * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed - out by Behdad Esfahbod. - -2008-02-12 Federico Mena Quintero - - Merged from gtk-2-12: - - Don't focus the file list when shortcuts get activated. This - removes a lot of ambiguity in when the file selection should - change, and makes the overall code flow simpler. - - This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 - - file/save dialog clears the filename entry when changing - directories. - - Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 - - focus should not go to the file list when a shortcut is activated. - - * gtk/gtkfilechooserdefault.c - (shortcuts_activate_volume_mount_cb): Don't focus the file list - (shortcuts_activate_get_info_cb): Likewise. - - * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus - the file list (this was the last place where we would focus the - file list explicitly). If you are in the location entry, for - example, you don't want Alt-Home to take you to the file list; you - just want the current folder to change. Thanks to Olle Bergkvist - for pointing this out in - http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51. - (focus_browse_tree_view_if_possible): Removed. - -2008-02-12 Matthias Clasen - - Skip exensions when selecting filenames in the save-as dialog. - (#362516, Carlos Garnacho) - - * gtk/gtkfilechooserentry.h: - * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename): - New function to skip the extension part when selecting a filename. - (_gtk_file_chooser_entry_set_base_folder): Use it here. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus): - ...and here. - -2008-02-12 Matthias Clasen - - * gtk/gtkiconview.c: Fix state change reporting for - accessibility. (#499835, Rich Burridge, patch by LiYan Zhang) - -2008-02-12 Emmanuele Bassi - - * gtk/gtkrecentchooser.c: - (gtk_recent_chooser_class_init): Set the default value of the - :show-not-found property to TRUE, as every implementation sets - it to TRUE already. - - * gtk/gtkrecentchooserdefault.c: - (_gtk_recent_chooser_default_init): Sync show_tips to the - default value of the :show-tips property. - -2008-02-12 Matthias Clasen - - * gtk/gtkclipboard-quartz.c: - * gtkquartz.c: - * gtkselection.c: Use GSlice for GtkSelectionData. (#515060, - Christian Persch) - -2008-02-12 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row), - (gtk_tree_view_real_toggle_cursor_row): guard against people - deleting the row in question in the selection-changed callback. - (#514621, Andreas Koehler). - -2008-02-12 Matthias Clasen - - * gtk/*.c: Unify the handling of various "Enter" keysyms - all over the place. (#515047, Christian Persch) - -2008-02-12 Matthias Clasen - - * gtk/gtkfilesystemmodel.c: - * gtk/gtkprinter.c: - * gtk/gtkwidget.c: Use g_value_set_static_string() where - appropriate. (#515042, Christian Persch) - -2008-02-12 Matthias Clasen - - * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch) - -2008-02-12 Matthias Clasen - - * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch) - -2008-02-12 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get): - (recent_model_sort_drag_data_get): - (search_model_sort_drag_data_get): - * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): - * gtk/gtkpathbar.c (button_drag_data_get_cb): - Use gtk_selection_data_set_uris() instead of doing it - by hand. (#514890, Christian Persch) - -2008-02-12 Michael Natterer - - * gtk/gtkstatusicon.c: #include "gtkmain.h" for - gtk_get_current_event_time(). - -2008-02-12 Michael Natterer - - * gtk/gtkwindow.c (gtk_window_activate_key): simply use - gtk_window_get_key_hash() to get the hash instead of manually - fiddling with quarks and gtk_window_keys_changed(). Also add - g_return_if_fail() to this public function. - -2008-02-11 Matthias Clasen - - Support keynav in status icons. (#473786, Li Yuan) - - * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable. - - * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused. - -2008-02-11 Kristian Rietveld - - * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder) - * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak - wrt. link deletion from list; contination of fix for #503569. - -2008-02-11 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: - (gtk_recent_chooser_menu_constructor): Set no-show-all flag - on the placeholder menu item. - - * tests/testrecentchoosermenu.c: - (create_recent_chooser_menu): Use gtk_widget_show_all() to test - whether the placeholder menu item gets shown. - -2008-02-10 Cody Russell - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri): - Check the return value of _gtk_file_chooser_get_file_system () for - NULL before passing it to gtk_file_system_path_to_uri (). - (#515667, Francesco Montorsi) - -2008-02-10 Philip Withnall - - * gtk/gtkbuilder.c: Improve the documentation for - gtk_builder_connect_signals. (#514471) - -2008-02-10 Matthias Clasen - - * gtk/gtkrecentaction.c: Propagate local-only. (#511987, - Jonh Wendell) - -2008-02-08 Cody Russell - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start): - Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO) - -2008-02-08 Richard Hult - - * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the - delta from the NSEvent for now, generating multiple scroll events - results in a lot of events getting queued up and things get really - slow. - -2008-02-08 Sven Herzberg - - Adjust the code to match the documentation, examples, "common sense" - and existing applications. - - * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account - that a GtkMenu for a element doesn't have to have a GtkAction - assigned - -2008-02-07 Cody Russell - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle - of a block that were causing compile problems on old - compilers. (#515053, reported by Kazuki IWAMOTO) - -2008-02-07 Michael Natterer - - * gtk/gtkcellview.c - * gtk/gtklabel.c - * gtk/gtklayout.c - * gtk/gtklist.c - * gtk/gtkmenu.c - * gtk/gtkmenushell.c - * gtk/gtkmisc.c - * gtk/gtkoptionmenu.c - * gtk/gtkplug.c - * gtk/gtkpreview.c - * gtk/gtkprogress.c - * gtk/gtkradiomenuitem.c - * gtk/gtkscale.c - * gtk/gtkscrolledwindow.c - * gtk/gtksocket.c: remove g_return_if_fail() from private - functions and virtual function implementations. - -2008-02-07 Michael Natterer - - * gtk/gtkaction.c - * gtk/gtkassistant.c - * gtk/gtkbin.c - * gtk/gtkbox.c - * gtk/gtkcalendar.c - * gtk/gtkcellrenderercombo.c - * gtk/gtkcombobox.c - * gtk/gtkcombo.c - * gtk/gtkdrawingarea.c - * gtk/gtkentrycompletion.c - * gtk/gtkfixed.h - * gtk/gtkgamma.c - * gtk/gtkhpaned.c - * gtk/gtkiconview.c - * gtk/gtkitem.c - * gtk/gtkitemfactory.c: remove g_return_if_fail() from private - functions and virtual function implementations. - -2008-02-07 Christian Persch - - * gdk/gdkpixbuf-render.c: - (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an - alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap; - otherwise there will be random pixel values in the semi-transparent - area of the pixbuf within the mask. Bug #487865. - -2008-02-06 Cody Russell - - * gdk/win32/gdkevents-win32.c: Check if the window is a temp window, - otherwise things get wonky when you click on a menu. This fixes - a regression caused in #505928. Thanks to Tor for spotting this - one! (#514789) - -2008-02-06 Michael Natterer - - * gtk/gtkcontainer.c - * gtk/gtkexpander.c - * gtk/gtkframe.c - * gtk/gtklabel.c - * gtk/gtkmain.c - * gtk/gtkmenu.c - * gtk/gtkmenuitem.c - * gtk/gtkmenushell.c - * gtk/gtknotebook.c - * gtk/gtkseparatortoolitem.c - * gtk/gtksocket.c - * gtk/gtktextlayout.c - * gtk/gtktoggletoolbutton.c - * gtk/gtktoolbutton.c - * gtk/gtktoolitem.c - * gtk/gtktree.c - * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply - "GTK_IS_FOO (foo)". - -2008-02-05 Matthias Clasen - - * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges): - Allow to store half-open ranges. - -2008-02-05 Cody Russell - - * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk - down the stack until we get to a window that is mapped. - Otherwise hiding a window will cause all windows in the app - to be blocked. (#514643) - -2008-02-05 Matthias Clasen - - * gtk/updateiconcache.c: Ignore images in the toplevel theme - directory, avoiding one source of invalid caches that has been - spotted in the wild. - -2008-02-05 Matthias Clasen - - * gtk/updateiconcache.c: Fix the previous commit to compile. - -2008-02-05 Matthias Clasen - - * gtk/updateiconcache.c: Install a printerr handler that - prepends the program name, since gtk-update-icon-cache output - often appears in the middle of other output, e.g. rpm update logs. - -2008-02-05 Cody Russell - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkwindow-win32.c - * gdk/win32/gdkwindow-win32.h - * gdk/win32/gdkwin32.h: - Modal window rework. (#455627 and #511111) - -2008-02-04 Michael Natterer - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute): - g_return_if_fail() if the cell is not part of the combo instead of - crashing in the next line. - -2008-02-01 Cody Russell - - * modules/engines/ms-windows/xp_theme.[ch] - * modules/engines/ms-windows/xp_theme_defs.h - * modules/engines/ms-windows/msw_rc_style.c - * modules/engines/ms-windows/msw_theme_main.c - * modules/engines/ms-windows/msw_style.c: Re-indented and generally - attempted to stylize more like the rest of the gtk+ stack's code. - -2008-02-01 Michael Natterer - - * tests/testgtk.c: initialize GdkColor structs to fix warning - about uninitialized "pixel" member. - - * tests/testactions.c: connect the toolbar_style() callback so it - does something useful and doesn't warn about being defined but not - used. - -2008-01-31 Cody Russell - - * gdk/win32/gdkevents-win32.c: - Refactored some of the window hiding/showing code from - WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this - under WM_ACTIVATE was causing the application to go into - a weird state when the user right-clicked on the taskbar - entry of a window that was minimized. (#505928) - -2008-01-31 Cody Russell - - * gtk/gtkpaned.c (gtk_paned_set_position): - Change queue_resize() to queue_draw(), and add a check for - child2 != NULL in case someone calls this before there is - a child packed in there. (#144269 again) - -2008-01-31 Sven Neumann - - * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image): - applied patch from Denis Oliver Kropp . - -2008-01-31 Sven Neumann - - * gdk/directfb/gdkdisplay-directfb.c - * gdk/directfb/gdkdrawable-directfb.c - * gdk/directfb/gdkprivate-directfb.h - * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis - Oliver Kropp . Fixes remaining warnings. - -2008-01-31 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus - issues with undecorated windows. Revert the change done on - 2008-01-25 and fix it by using the view's bounds instead. The - bounds will always be up to date when setting up the tracking - rect, so this should be more robust. - -2008-01-30 Sven Neumann - - * gdk/directfb/gdkdrawable-directfb.c - * gdk/directfb/gdkwindow-directfb.c - * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis - Oliver Kropp . Adds debug messages using - DirectFB's debugging system - -2008-01-30 Sven Neumann - - * gdk/directfb/gdkdirectfb.h - * gdk/directfb/gdkdisplay-directfb.c - * gdk/directfb/gdkdrawable-directfb.c - * gdk/directfb/gdkim-directfb.c - * gdk/directfb/gdkimage-directfb.c - * gdk/directfb/gdkinput-directfb.c - * gdk/directfb/gdkmain-directfb.c - * gdk/directfb/gdkpixmap-directfb.c - * gdk/directfb/gdktestutils-directfb.c - * gdk/directfb/gdkvisual-directfb.c - * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis - Oliver Kropp . Fixes various warnings, some - errors and has some cleanups. - -2008-01-30 Michael Natterer - - * gtk/gtkbuilderparser.c (parse_custom): use the right type for - "subparser_data" and remove the (gpointer*) cast. Fixes bogus - aliasing warning. - - * gtk/updateiconcache.c (add_string): cast const gchar* to - gpointer when inserting in a GHashTable. - - * tests/testcalendar.c (calendar_detail_cb): remove const from - return value since it's a newly allocated string. - - (calendar_update_details): free the detail. - -2008-01-29 Johan Dahlin - - * demos/gtk-demo/builder.c: (quit_activate), (about_activate), - (do_builder): - * demos/gtk-demo/demo.ui: - Move the about dialog to the glade file, add accessible tags - examples to the markup file. - -2008-01-28 Paolo Borelli - - * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango - layout, fixes #512375. - -2008-01-28 Michael Natterer - - * gtk/gtktextchild.c - * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC... - -2008-01-28 Michael Natterer - - * demos/gtk-demo/builder.c (about_activate): use - gtk_about_dialog_set_program_name() instead of the deprecated - set_name(). - -2008-01-28 Michael Natterer - - * gtk/gtktextchild.c - * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which - is deprecated now). - -2008-01-26 Johan Dahlin - - * tests/Makefile.am: - * tests/textbuffertest.c: - Rename textbuffer test and port it to the new test framework - -2008-01-25 Johan Dahlin - - * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed - unsetting of GTK_MODULES. - - * gtk/gtk-builder-convert - (GtkBuilderConverter._convert_adjustment): Handle the case where - there is no child text node. - (GtkBuilderConverter): Allow xml comments in most places. - -2008-01-25 Johan Dahlin - - * gtk/gtk-builder-convert - (GtkBuilderConverter._convert_combobox_items): Remove the items - even if there are no items set. - (GtkBuilderConverter._add_action_from_menuitem): Convert toggled - signals and tooltips for all menu items subclasses and - GtkImageMenuItem:label. - Makes it possible to fully convert and run Jokosher.glade. - -2008-01-25 Johan Dahlin - - * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init), - (gtk_widget_buildable_get_internal_child), (free_action), - (free_relation), (gtk_widget_buildable_parser_finished), - (accessibility_start_element), - (gtk_widget_buildable_custom_tag_start), - (gtk_widget_buildable_custom_finished): - Implement accessible support, fixes #454653. - - * gtk/gtk-builder-convert: - Add support for migrating old glade files - - * tests/buildertest.c: (test_widget), (test_file): - Add accessible tests and imprve the test_file function to display - toplevels and run dialogs. - -2008-01-25 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it - didn't change, fixes focus event issues for undecorated windows. - -2008-01-25 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing - const and remove unused variables). - -2008-01-25 Michael Natterer - - * gtk/gtkbutton.h - * gtk/gtkcellrenderer.h - * gtk/gtkimcontext.h - * gtk/gtkstyle.h - * gtk/gtktoolbar.h - * gtk/gtktooltip.h - * gtk/gtktreeprivate.h - * gtk/gtktreeviewcolumn.h - * gtk/gtkwidget.h: add const to constant structs which are passed - into GTK+. Also add some forgotten const for const strings. - Fixes bug #511554. - - * gtk/gtkbutton.c - * gtk/gtkcellrenderer.c - * gtk/gtkimcontext.c - * gtk/gtkstyle.c - * gtk/gtktoolbar.c - * gtk/gtktooltip.c - * gtk/gtktreeview.c - * gtk/gtktreeviewcolumn.c - * gtk/gtkwidget.c: changed accordingly. - -2008-01-25 Sven Herzberg - - Reviewed by Johan Dahlin. - - * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if - this is called with something that's not a GtkUIManager - -2008-01-24 Johan Dahlin - - * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): - Chain up to parent, so widgets can have internal children. - -2008-01-22 Mathias Hasselmann - - Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki - IWAMOTO). - - * gdk/gdk.symbols: Add gdk_app_launch_context_get_type(). - -2008-01-22 Mathias Hasselmann - - Use pango_layout_set_height() for calendar details (#506049). - - * configure.in: Require 1.19.3 for pango_layout_set_height(). - * gtk/gtkcalendar.c: Use pango_layout_set_height() for details. - -2008-01-18 Johan Dahlin - - * gtk/gtk-builder-convert (get_property_node): New method - (GtkBuilderConverter._create_object): Conditionally take a node as - a property value, so don't lose translate/context attributes if they - are set. - (GtkBuilderConverter._add_action_from_menuitem): Send in Node as - property values instead of strings. - (#509153, Erik van Pienbroek) - -2008-01-16 Mathias Hasselmann - - Change GtkCalendarDetailFunc to return newly allocated string. (#339540) - - * gtk/gtkcalendar.c: Release the memory returned by the detail_func. - * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc. - * tests/testcalendar.c: Duplicate calendar details before returning. - -2008-01-16 Christian Persch - - * gtk/gtkwidget.c: Store the event mask and extension event mode - directly in the gobject data pointer, instead of in an allocated - gint. Bug #506604. - -2008-01-16 Michael Natterer - - * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because - gdk-pixbuf now uses gio functions. - -2008-01-16 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit - the notify::model signal. (#509819, David Zeuthen) - -2008-01-15 Michael Natterer - - * gdk/gdkdisplay.h - * gdk/gdkdrawable.h - * gdk/gdkevents.h - * gdk/gdkpango.h - * gdk/gdkregion.h - * gdk/gdkrgb.h - * gdk/gdkwindow.h: made more struct pointer and array parameters - const. GDK should now be constified as far as possible without - breaking source compatibility. Includes some minor cleanup like - indentation and s/nfoo/n_foo/ (bug #508544). - - * gdk/gdkdisplay.c - * gdk/gdkdraw.c - * gdk/gdkevents.c - * gdk/gdkpango.c - * gdk/gdkregion-generic.c - * gdk/gdkrgb.c - * gdk/directfb/gdkdisplay-directfb.c - * gdk/directfb/gdkwindow-directfb.c - * gdk/quartz/gdkdisplay-quartz.c - * gdk/quartz/gdkwindow-quartz.c - * gdk/win32/gdkdisplay-win32.c - * gdk/win32/gdkwindow-win32.c - * gdk/x11/gdkdisplay-x11.c - * gdk/x11/gdkwindow-x11.c: changed accordingly. - -2008-01-14 Michael Natterer - - * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix - const warning. - - (gtk_rc_parse_any): change variables to const and introduce - another local variable to fix const warnings. - -2008-01-14 Michael Natterer - - * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value - of gdk_screen_get_font_options() to gpointer to get rid of const - warning. - -2008-01-14 Michael Natterer - - * tests/testdnd.c (source_drag_data_get): fix another call to - gtk_selection_data_set(). - -2008-01-14 Michael Natterer - - * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix - signedness warning. - -2008-01-14 Michael Natterer - - * gtk/gtkiconcache.c (find_image_offset): remove unused variable. - -2008-01-14 Michael Natterer - - * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast - "uris" to guchar* when passing it to gtk_selection_data_set(). - -2008-01-14 Michael Natterer - - * gdk/gdk.h - * gdk/gdkcairo.h - * gdk/gdkcolor.h - * gdk/gdkgc.h - * gdk/gdkinternals.h - * gdk/gdkregion.h - * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor* - parameters const (bug #508544). - - * gdk/gdkcairo.c - * gdk/gdkgc.c - * gdk/gdkwindow.c - * gdk/gdkrectangle.c - * gdk/gdkpolyreg-generic.c - * gdk/gdkregion-generic.c - * gdk/directfb/gdkcolor-directfb.c - * gdk/directfb/gdkgc-directfb.c - * gdk/directfb/gdkgeometry-directfb.c - * gdk/directfb/gdkwindow-directfb.c - * gdk/quartz/gdkcolor-quartz.c - * gdk/quartz/gdkgc-quartz.c - * gdk/quartz/gdkgeometry-quartz.c - * gdk/quartz/gdkwindow-quartz.c - * gdk/win32/gdkcolor-win32.c - * gdk/win32/gdkgc-win32.c - * gdk/win32/gdkgeometry-win32.c - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkwindow-win32.c - * gdk/x11/gdkcolor-x11.c - * gdk/x11/gdkgc-x11.c - * gdk/x11/gdkgeometry-x11.c - * gdk/x11/gdkmain-x11.c - * gdk/x11/gdkprivate-x11.h - * gdk/x11/gdkwindow-x11.c: changed accordingly. - - * gdk/gdkpolyreg-generic.c: uncruftify to have proper function - headers. - -2008-01-14 Mathias Hasselmann - - Explain name choice for gtk_tool_item_toolbar_reconfigured. - - * gtk/gtktoolitem.c: Add comment expaining name choice for - gtk_tool_item_toolbar_reconfigured. - -2008-01-14 Mathias Hasselmann - - Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell - implementations to notify its children, when some aspect of their - configuration changed (#509042). - - * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured. - * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h: - Rename _gtk_tool_item_toolbar_reconfigured. - -2008-01-12 Mathias Hasselmann - - Include from gtk.h. - - * gtk/gtk.h: Add gtktoolshell.h - -2008-01-12 Mathias Hasselmann - - Print angle brackets arround e-mail addresses in the about dialog - (#409520, Mariano Suárez-Alvarez). - - * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page(). - -2008-01-11 13:28:02 Tim Janik - - * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils - special casing so test widgets are always queues for destruction - during teardown. - - * gtk/tests/testing.c: removed bits left-over from testing without - gtestutils.h. - -2008-01-10 Tor Lillqvist - - * modules/other/gail/libgail-util/Makefile.am - * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and - gdktargetlib. - -2008-01-10 Tor Lillqvist - - * tests/Makefile.am: Build defaultvaluetest only on Unix as it - uses gtkprintunixdialog API. - -2008-01-10 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkscreen-win32.c - * gdk/win32/gdkwindow-win32.c: Implement - gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm() - and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki - Iwamoto. (#505753) - -2008-01-10 Cody Russell - - * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for), - Properly ref/unref windows and parents. (#506769) - -2008-01-10 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (show_window_internal), - (gdk_window_hide), (move_resize_window_internal): Move the - tracking rect workaround from here... - - * gdk/quartz/GdkQuartzWindow.c: - * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window - movements during showing/hiding operations. Fixes bug #508516. - -2008-01-10 Michael Natterer - - * gdk/directfb/gdkscreen-directfb.c - (gdk_screen_get_monitor_width_mm) - (gdk_screen_get_monitor_height_mm) - (gdk_screen_get_monitor_plug_name): add these functions to make - it build again. - -2008-01-10 Emmanuele Bassi - - * gtk/gtkrecentchoosermenu.c: - (idle_populate_func), (idle_populate_clean_up): Fix possible - recursion by resetting the idle source id. (#507605, William - Pitcock) - -2008-01-10 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow), - (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to - avoid valgrind warnings. (#507751, patch from Christian Persch). - -2008-01-10 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix - a leak of the path (#504611, patch from Sadrul Habib Chowdhury). - -2008-01-10 Kristian Rietveld - - Fix #477175, reported by Juri Pakaste. - - * gtk/gtktreeprivate.h: - * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set - tree_view->priv->dy here directly, just calculate the new value - and set it on the adjustment, - (gtk_tree_view_adjustment_changed): add guards to not call - gtk_tree_view_dy_to_top_row() if we are currently in - gtk_tree_view_top_row_to_dy(), - (gtk_tree_view_put): fix coordinate annotation: these are bin_window - coordinates, not tree coordinates, - (gtk_tree_view_real_start_editing): add cast. - - * gtk/tests/treeview-scrolling.c: add an assertion for checking the - position of the editable in the "create new row and start editing" - tests. - -2008-01-09 Michael Natterer - - * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused - variable. - - * gtk/gtkcombobox.c (gtk_combo_box_detacher) - * gtk/gtkicontheme.c (theme_list_contexts) - (gtk_icon_theme_lookup_icon) - * gtk/gtkimcontextsimple.c (beep_window) - * gtk/gtklinkbutton.c (set_link_color) - * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to - fix warnings. - - * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused - variable and add const to another to fix a warning. - -2008-01-07 Matthias Clasen - - * gtk/gtkassistant.c (remove_page): Be more robust when removing - the current page. (#499951, Andreas Sandberg) - -2008-01-06 Johan Dahlin - - * gtk/gtkspinbutton.c: Declare value in the example code for - GtkSpinButton::output, as pointed out by Anders Carlsson. - -2008-01-06 Christian Persch - - * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned, - and remove an obsolete event box. Bug #506760. - -2008-01-06 Johan Dahlin - - * tests/buildertest.c (test_domain): - Update, GtkBuilder::translation-domain is no longer set - - * gtk/gtkbuilderparser.c (parse_interface): - Allow domains to be overridden in 's if a translation-domain - is set in the builder. - (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain - of the builder, make the domain set in the apply only to strings - in that interface. - (#496831, Ryan Lortie) - - * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines - to g_warning calls. - - * gtk/gtktreestore.c (tree_model_end_element): - Remove an unused variable - -2008-01-06 Matthias Clasen - - * gtk/gtkspinbutton.c: Document the ::output signal and - add an example. (#507566, example by Owen Taylor) - -2008-01-06 Johan Dahlin - - * gtk/gtkcellrenderercombo.c: - (gtk_cell_renderer_combo_get_property), - (gtk_cell_renderer_combo_set_property): - * gtk/gtkcombobox.c: (gtk_combo_box_set_property): - * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property): - * gtk/gtknotebook.c: (gtk_notebook_set_property): - * gtk/gtkspinbutton.c: (gtk_spin_button_set_property): - * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property), - (gtk_text_buffer_get_property): - * gtk/gtktextview.c: (gtk_text_view_set_property): - * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property): - * gtk/gtktoolbutton.c: (gtk_tool_button_set_property), - (gtk_tool_button_get_property): - * gtk/gtktoolitem.c: (gtk_tool_item_set_property), - (gtk_tool_item_get_property): - * gtk/gtktreeview.c: (gtk_tree_view_set_property): - * gtk/gtkwidget.c: (gtk_widget_set_property): - * gtk/gtkwindow.c: (gtk_window_set_property): - Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. - Fixes #507585 - -2008-01-06 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): - Make sure that --root works for toplevel widgets. - (#491847, Phil Lello) - -2008-01-05 Johan Dahlin - - * modules/other/gail/tests/Makefile.am: Include Makefile.decl, - to make sure that make test-report works properly - -2008-01-05 Christian Persch - - * tests/defaultvaluetest.c: Fix mem leak, and don't pass - GType as integer through gpointer. Bug #507395. - -2008-01-04 Mathias Hasselmann - - Avoid some compiler warnings (#507000). - - * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign - for value argument of _gtk_builder_flags_from_string. - * gtk/gtkwidget.c: Don't alias the child pointer passed - to gdk_window_get_user_data. - -2008-01-04 Michael Natterer - - * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget - to set the time in the returned GdkTimeCoords. - -2008-01-03 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the - correct comparison function (kudos to Christian Persch and - Claudio Saavedra for spotting this) - - * gtk/gtkrecentchooserutils.c: - (sort_recent_items_mru), - (sort_recent_items_lru): Ditto as above. - -2008-01-03 Johan Dahlin - - * tests/defaultvaluetest.c: Make it pass again. - -2008-01-02 Johan Dahlin - - * tests/defaultvaluetest.c (test_type): Ignore a few more tests to - make it pass on Ubuntu. - (main): Use gtk_test_list_all_types () instead of providing our - own list. - And it no longer passes. - -2007-12-30 Johannes Schmid - - * gtk/gtknotebook.c: (gtk_notebook_stop_reorder): - Also reorder menu when reordering tabs by drag & drop - (Bug #506474) - - * tests/testnotebookdnd.c: (create_notebook_with_notebooks): - Add a menu to one of the notebooks to have a test-case for - the change mentioned above. - -2007-12-31 Philip Van Hoof - - * gtk/gtktreemodel.c: Using GSlice for GtkTreePath - -2007-12-31 Christian Persch - - * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property): - Plug a mem leak. Bug #506107. - -2007-12-28 Matthias Clasen - - * gtk/gtkiconfactory.c (render_fallback_image): Adjust to - icon cache api change. (#506135, Kazuki Iwamoto) - -2007-12-28 Mathias Hasselmann - - Consider "wide-separators" and "separator-height" style properties: - The separator is drawn using gtk_paint_box instead of cairo, when - "wide-separators" is set. Also do not highlight details for previous - or next month, if their day matches the selected day. (#339540) - - * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height" - in gtk_calendar_size_request and calendar_paint_day - * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors - for selected detail separators in GtkCalendar. - -2007-12-28 Mathias Hasselmann - - Remove max_detail_height field from GtkCalendarPrivate. (#339540) - - * gtk/gtkcalendar.c: Drop max_detail_height field, and use - a local variable instead in gtk_calendar_size_request. - -2007-12-28 Matthias Clasen - - * tests/defaultvaluetest.c: Add enough exclusions to make the - test succeed. - -2007-12-28 Christian Persch - - * modules/other/gail/Makefile.am: - * modules/other/gail/tests/*: - * configure.in: Merge tests from standalone gail. Bug #504568. - -2007-12-28 Matthias Clasen - - * gtk/gtkclipboard.c: Make the finalizer work when display is - not set. - -2007-12-28 Mathias Hasselmann - - Draw bottom shadow of GtkCalender headings. (#506113) - - * gtk/gtkcalendar.c: Set proper initial height for priv->header_win. - -2007-12-28 Matthias Clasen - - * gtk/gtkcalendar.c: Document the initial values of year/month/day - properties. - -2007-12-28 Christian Persch - - * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug - a mem leak. Bug #506096. - -2007-12-28 Matthias Clasen - - * gtk/gtktable.c: - * gtk/gtktreeview.c: - * gtk/gtkprintoperation.c: - * gtk/gtkprogressbar.c: - * gtk/gtkmessagedialog.c: - * gtk/gtknotebook.c: - * gtk/gtkprinter.c: - * gtk/gtkfilesel.c: - * gtk/gtklabel.c: - * gtk/gtklinkbutton.c: - * gtk/gtkmenu.c: More default property value corrections. - -2007-12-28 Matthias Clasen - - * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref - accel_group unless it is set. - -2007-12-28 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL. - -2007-12-28 Matthias Clasen - - * gtk/gtkhandlebox.c: Fix the default values of shadow and - shadow-type properties. - - * gtk/gtkfontsel.c: Fix the default values of several properties. - - * gtk/gtkfilesel.c: Fix the default value of the show-fileops - property. - - * gtk/gtkcurve.c: Fix the default value of the curve-type property. - - * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always - property. - -2007-12-28 Johan Dahlin - - * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished) - (gtk_dialog_buildable_custom_tag_start): Chain up. - This makes it possible to have accelerators tags on GtkDialog - subclasses. - -2007-12-28 Mathias Hasselmann - - Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details - are shown within the widget, or just as tooltip. (#339540) - - * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property - aka. GTK_CALENDAR_SHOW_DETAILS, and use it. - * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding - in flags vbox. - -2007-12-28 Mathias Hasselmann - - Try more decent appearance of calendar details separator. (#339540) - - * gtk/gtkcalendar.c: Use different colors for drawing the separator, - and make it short by one pixel on each side. - -2007-12-28 Mathias Hasselmann - - Apply trivial code-style changes from attachement 101101. (#339540) - - * tests/testcalendar.c: Some updates to current GTK+ code-style. - -2007-12-28 Mathias Hasselmann - - Restructure testcalendar for testing calendar details. (#339540) - - * tests/testcalendar.c: Push code arround for testing calendar details. - -2007-12-28 Mathias Hasselmann - - Implement GtkTooltip API for calendar details. (#339540) - - * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up. - Remember detail overflows in calendar_paint_day to show the tooltip - only when neccessary. - -2007-12-28 Mathias Hasselmann - - Without setting "detail-width-chars" and "detail-height-rows" - properties not only the widget has to be redrawn on certain - conditions, but also its size must be recalculated. (#339540) - - * gtk/gtkcalendar.c: Add calendar_queue_refresh and call - that function instead of gtk_widget_queue_draw. - -2007-12-28 Mathias Hasselmann - - Consider details for size-request and expose-event. (#339540) - - * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and - is_color_attribute functions. Change gtk_calendar_size_request - and calendar_paint_day to consider and show calender details. - -2007-12-28 Matthias Clasen - - * gtk/gtkcombobox.c: Introduce local priv variables to - reduce ->-> - -2007-12-27 Matthias Clasen - - * gtk/gtkcombobox.c: Correct the default value for the - tearoff-title property. - - * gtk/gtkcellrenderertext.c: Fix the default value for the - wrap-mode and font-scale properties. - - * gtk/gtkaspectratio.c: Fix the default value for the ratio - property. - -2007-12-27 Matthias Clasen - - * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect... - defines. (#505708, MINAMI Hirokazu) - -2007-12-27 Christian Persch - - * Makefile.am: Install gail.pc. Bug #505859. - -2007-12-27 Mathias Hasselmann - - Add infrastructure for GtkCalendar details. (#339540) - - * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols: - Add "detail-width-chars" and "detail-height-rows" properties, - and gtk_calendar_set_detail_func function. - -2007-12-27 Xan Lopez - - * gtk/gtk.symbols: - * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): - - Add gtk_border_new to avoid memory allocator confusions when using - GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042) - -2007-12-27 Christian Persch - - * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from - bug #504886 not to read unitialised memory. - -2007-12-26 Xan Lopez - - * gtk/gtkstatusbar.c (has_extra_children): take into account the - modification of the internal frame contents to decide if we have - extra children. (#415677) - -2007-12-22 Christian Persch - - * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556. - -2007-12-25 Christian Persch - - * modules/other/gail/gailwindow.c: (gail_window_initialize): - Initialise |widget|. Fixes a buglet introduced by the commit from bug - #505226. - -2007-12-25 Christian Persch - - * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268. - -2007-12-25 Christian Persch - - * modules/other/gail/*.[ch]: Remove relocations from the atk - factories. Remove unused gail_foo_new() functions. Fix object - instantiation to be derivation safe by moving initialisation code - from the removed gail_foo_new() functions to the - AtkObjectClass::initialize implementation. Bug #505226. - -2007-12-24 Matthias Clasen - - * modules/other/gail/gailentry.c: - * modules/other/gail/gailimage.c: - * modules/other/gail/gailtextview.c: Remove non-multihead-safe - uses of clipboards and settings. (#504722, Christian Persch) - -2007-12-24 Matthias Clasen - - * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411, - Kazuki IWAMOTO) - -2007-12-24 Matthias Clasen - - * gtk/gtkcombobox.c: When popping up a menu from a treeview cell, - use the time and button information from the event. (#504901, - Peter Bloomfield) - -2007-12-23 Cody Russell - - * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that - the window is mapped before setting SW_RESTORE or SW_MINIMIZE. - Fixes a regression caused by #164537 patch where transient - windows that are hidden get shown (incorrectly) when their - parents are minimized. (#504984) - -2007-12-22 Christian Persch - - * modules/other/gail/gailcell.c: - * modules/other/gail/gailcontainercell.c: - * modules/other/gail/gailexpander.c: - * modules/other/gail/gailtextcell.c: - * modules/other/gail/gailtextview.c: - * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701. - -2007-12-22 Christian Persch - - * modules/other/gail/*.c: Include config.h. Bug #504720. - -2007-12-22 Christian Persch - - * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of - handwritten get_type functions. Bug #504661. - -2007-12-23 Xan Lopez - - * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument - to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**). - - Patch by Sadrul Habib Chowdhury (#504804) - -2007-12-22 Christian Persch - - * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug - #504645, patch by Li Yuan. - -2007-12-22 Christian Persch - - * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886. - -2007-12-22 Christian Persch - - * modules/other/gail/gail.c: - * modules/other/gail/gailbutton.c: - * modules/other/gail/gailcell.c: - * modules/other/gail/gailcombo.c: - * modules/other/gail/gailcombo.h: - * modules/other/gail/gailcombobox.c: - * modules/other/gail/gailentry.c: - * modules/other/gail/gailexpander.c: - * modules/other/gail/gailmenuitem.c: - * modules/other/gail/gailnotebook.c: - * modules/other/gail/gailnotebookpage.c: - * modules/other/gail/gailnotebookpage.h: - * modules/other/gail/gailoptionmenu.c: - * modules/other/gail/gailrange.c: - * modules/other/gail/gailtextview.c: - * modules/other/gail/gailtreeview.c: - * modules/other/gail/gailtreeview.h: - * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle. - Bug #504571. - -2007-12-22 Matthias Clasen - - * modules/other/gail/gailclist.c: Chain up the finalizer (#504570, - Christian Persch) - -2007-12-21 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy): - Plug leak of destroyed subviews, fixes bug #504753. - -2007-12-20 Johan Dahlin - - * tests/Makefile.am (TEST_PROGS): - * tests/defaultvaluetest.c: Add a test for default values, - based on program by Christan Perch - -2007-12-20 Johan Dahlin - - * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): - Refactor to avoid some duplication. - Convert toplevel GtkMenu's top popups and not menubars in the ui manager. - Fixes #504749, Yuri Pimenov - -2007-12-20 Kristian Rietveld - - * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes - the build work again on systems without xrandr 1.2. - -2007-12-20 Christian Persch - - * configure.in: - * modules/other/gail/libgail-util/Makefile.am: - Keep the same libtool version as the standalone libgail-util had. - Bug #504643. - -2007-12-20 15:30:09 Tim Janik - - * Makefile.decl: generate HTML reports for test-report perf-report full-report. - -2007-12-20 Alexander Larsson - - * gdk/x11/gdkapplaunchcontext-x11.c: - Update for gio API changes - -2007-12-20 Richard Hult - - * gdk/quartz/GdkQuartzWindow.c: - * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by - processing events after changing the size. - -2007-12-20 Richard Hult - - * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder): - Add stub for quartz to fix build. - -2007-12-20 Christian Persch - - * modules/other/gail/Makefile.am: - * modules/other/gail/gailimage.c: (gail_image_class_init), - (gail_image_init), (elide_underscores), (gail_image_get_name), - (atk_image_interface_init), (gail_image_finalize): - * modules/other/gail/gailimage.h: - R modules/other/gail/gailintl.h: - * po/POTFILES.skip: Use the stock item's label as the name of the - accessible in gailimage.c. Bug #504246. - -2007-12-19 Mathias Hasselmann - - Avoid some compiler warnings and remove obsolete code. (#339540) - - * gtk/gtkcalendar.c: Change week and year variable in - calendar_paint_week_numbers from gint to guint. Remove obsolete "#if - 0" block from calendar_paint_day: The feature in question is handled - few lines above. Cast data returned by gtk_selection_data_get_text() - to (gchar*) in gtk_calendar_drag_data_received. - -2007-12-19 17:05:31 Tim Janik - - * modules/other/Makefile.am: include Makefile.decl to unbreak test rules. - -2007-12-19 Johan Dahlin - - * tests/buildertest.c (test_object_properties): - Add another call to gtk_builder_add_string after using - delayed properties, as reported in #504393 but already - fixed in #495769. - -2007-12-18 Christian Persch - - * configure.in: - * docs/reference/Makefile.am: - * docs/reference/libgail-util/*: - * gail-uninstalled.pc.in: - * gail.pc.in: - * modules/Makefile.am: - * modules/other/Makefile.am: - * modules/other/gail/*: - * modules/other/gail/libgail-util/*: - * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488. - -2007-12-17 Matthias Clasen - - * gtk/gtksettings.c: Add a gtk-im-module GTK setting - * gdk/win32/gdkproperty-win32.c: - * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting. - - * gtk/gtkimmodule.[hc]: - * gtk/gtkimmulticontext.[hc]: When determining the default context, - look at the gtk-im-module setting, and listen for changes to the - setting. (#502446, Akira Tagoh) - -2007-12-17 Kristian Rietveld - - * gtk/gtktooltip.c (gtk_tooltip_finalize), - (gtk_tooltip_set_last_window): use a weak pointer to set last_window - to NULL as soon as it's destroyed. (#496546, patch from - Benjamin Berg). - -2007-12-17 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): - always determine what arrow to show if show_sort_indicator is true. - (#352738, Chris Vine). - -2007-12-16 Mathias Hasselmann - - Prevent assertion failure in gtk_paned_find_neighbours. (#503824, - Sébastien Granjoux) - - * gtk/gtkpaned.c: Call gtk_container_forall instead of - gtk_container_foreach in get_child_panes. - -2007-12-15 Xan Lopez - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder): - - Plug leak: When reordering the info in the list the old node is - removed but not freed. (#503569) - -2007-12-15 Sebastian Dröge - - * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display): - Use u32 instead of __u32 and u8 instead of __u8 as the other types - are deprecated since DirectFB 1.0.0. If compiling with an older - version define the new type name to the old types. Fixes bug #503190. - -2007-12-14 Ray Strode - - * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...) - instead of g_signal_connect_after (..., "realize", ...) as an - alternative to gtk_widget_realize () (bug 503537). - -2007-12-14 Michael Natterer - - * gdk/gdkinternals.h - * gdk/gdkapplaunchcontext.h: #include instead of - individual files. - - * gdk/gdkapplaunchcontext.c - * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the - header already includes everything now. - -2007-12-14 Mathias Hasselmann - - Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as - next stable release shall be 2.16, not 2.14 - even if disagree. - - * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/ - -2007-12-14 Mathias Hasselmann - - Change GtkToolItem to retrieve its properties from GtkToolShell - interface, instead of relying on being child of a GtkToolbar. - (#5034079) - - * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml, - docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols. - * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline. - * gtk/gtktoolbar.c: Implement GtkToolShellIface. - * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu. - * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar. - Take section docs from template file and update them for GtkToolShell. - * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h. - * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface. - -2007-12-14 Mathias Hasselmann - - Extract loading of GtkPageSetup and GtkPrintSettings from their - *_new_*() functions and move that code into separate - *_load_*() functions (#475565). - - * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h: - Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file, - gtk_print_settings_load_file and gtk_print_settings_load_key_file. - Change the matching *_new_*() functions to use those functions. - -2007-12-14 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name(). - -2007-12-14 Kristian Rietveld - - * gtk/tests/liststore.c: - * gtk/tests/treestore.c: added tests for insertion functions. - -Thu Dec 13 13:14:50 2007 Søren Sandmann - - * Add RandR 1.2 support - - - New monitors_changed signal - New API to get width/height of - monitors, and the name of the plug - -2007-12-13 Kristian Rietveld - - * gtk/tests/liststore.c: - * gtk/tests/treestore.c: test the move and swap functions on a - store with only one node. - -2007-12-13 Kristian Rietveld - - * gtk/gtktestutils.c (gtk_test_init): add a call to - g_test_bug_base(). - - * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to - appriopriate tests. - -2007-12-13 Kristian Rietveld - - * gtk/tests/liststore.c: - * gtk/tests/treestore.c: start composing tests for the list and tree - store. - - * gtk/tests/treeview-scrolling.c: added automated tests for - GtkTreeView's scrolling "subsystem". - - * gtk/tests/Makefile.am: updated; added new test programs. - -2007-12-13 Mathias Hasselmann - - Make the code compile again after the GdkAppLaunchContext changes. - - * configure.in: Add gio-2.0 to GDK_PACKAGES. - * gdk/gdkinternals.h: Include . - -2007-12-12 Matthias Clasen - - * gdk/gdkapplaunchcontext.c: Add docs - -2007-12-12 Matthias Clasen - - * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext - in gdk, providing startup notification. (#503203) - - * gdk/x11/gdkapplaunchcontext-x11.c: - * gdk/win32/gdkapplaunchcontext-win32.c: - * gdk/quartz/gdkapplaunchcontext-quartz.c: - * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific - parts. All but X11 are just empty stubs for now. - - * gdk/gdk.symbols: - * gdk/gdkinternals.h: - * gdk/Makefile.am: - * gdk/x11/Makefile.am: - * gdk/win32/Makefile.am: - * gdk/quartz/Makefile.am: - * gdk/directfb/Makefile.am: Necessary glue. - -2007-12-12 Mathias Hasselmann - - * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs. - -2007-12-11 Attilio Fiandrotti - - * gdk/directfb/gdktestutils-directfb.c: - * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani - which adds testing functions to the DirectFB backend. - -2007-12-11 Attilio Fiandrotti - - * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio - Ciccani which fixes the mixing of gdk and cairo rendering. - -2007-12-11 Mathias Hasselmann - - * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults - on "drag-motion" handlers. Clearify documentation for - gtk_drag_dest_set. - -2007-12-11 15:44:01 Tim Janik - - * buildertest.c: made unnecessarily exported symbols static. - switched g_return_if_fail() statements in tests to assertions. - special cased currently failing Widget/accesibility test to - run only for g_test_thorough(), so it doesn't break make check. - some coding style fixes. - - * Makefile.am: added buildertest to TEST_PROGS. - -2007-12-11 Stefan Kost - - * docs/tutorial/gtk-tut.sgml: - Use gtk_widget_get_parent_window() instead of widget->parent->window. - -2007-12-10 Richard Hult - - * gdk/quartz/Makefile.am: - * gdk/quartz/gdkquartz.h: - * gdk/quartz/gdkwindow-quartz.c: Install backend specific - header (bug #405915). Also add a getter for the toplevel nswindow. - -2007-12-10 Richard Hult - - * gdk/quartz/gdkdrawable-quartz.c: - (gdk_quartz_drawable_get_context), - (gdk_quartz_drawable_release_context): - * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare), - (gdk_event_check), (gdk_event_dispatch), (poll_func): - * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools - used for each drawing context and in prepare, dispatch and poll - with one that exists across each main loop iteration. Fixes leaks - on leopard and protects against future leaks introduce when the - underlying system changes again (bug #492977). - -2007-12-10 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): - Fix the check for no changes to position and size. - -2007-12-10 Richard Hult - - * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero - sized areas at (0, 0), patch from Paul Davis. - -2007-12-10 Richard Hult - - * gdk/quartz/gdkprivate-quartz.h: - * gdk/quartz/gdkeventloop-quartz.c: - (_gdk_quartz_event_loop_get_pending), - (_gdk_quartz_event_loop_check_pending), - (_gdk_quartz_event_loop_release_event), (gdk_event_prepare), - (gdk_event_check), (gdk_event_dispatch): - * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending) - (_gdk_events_queue): Fix a bug where we could end up trying to - handle the same event more than once. Based on patch from Paul - Davis. - -2007-12-10 Tor Lillqvist - - * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev - package. (#502850) - -2007-12-10 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix - to avoid further fallout from the fix for bug 388321. - -2007-12-09 09:56:06 Attilio Fiandrotti - - * gdk/directfb/gdkgc-directfb.c: - * gdk/directfb/gdkdrawable-directfb.c: - * gdk/directfb/gdkdirectfb.h: - * gdk/directfb/gdkwindow-directfb.c: - * gdk/directfb/gdkprivate-directfb.h: Committed several patches - (window_flip_group, no_background_pixmap_fix, opt_temp_region2, - blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc, - opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp - which are expected to improve the performance of the DirectFB backend. - Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled. - -2007-12-07 Matthias Clasen - - * gtk/gtkcontainer.c: Correct the documentation of child - property getter arguments. (#501992, David Brigada) - -2007-12-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't - leak pixbufs. (#502250, Yevgen Muntyan) - -2007-12-07 Yevgen Muntyan - - * gtk/gtkprintunixdialog.c: - * gtk/gtkpagesetupunixdialog.c: added alternative button order in - Print and Page Setup dialogs (#502202). - -2007-12-07 13:16:33 Tim Janik - - * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need - Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out - of XVFB_START, since it's the GTESTER invokation that needs this. - -2007-12-06 Tommi Komulainen - - * gdk-pixbuf/gdk-pixbuf.symbols: - * gdk/gdk.symbols: - * gdk/gtk.symbols: Remove trailing whitespace that can trigger false - positives in abicheck.sh - -2007-12-06 18:45:06 Attilio Fiandrotti - - * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix - GDK events generations in the DirectFB backend. - -2007-12-06 13:55:06 Tim Janik - - * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded - set of likely unused display ids, because MacOS has no seq(1) command. - -2007-12-06 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (synthesize_crossing_events_for_ns_event): Fix warning when - switching spaces in leopard. - -2007-12-06 13:38:36 Tim Janik - - * tests/floatingtest.c: ported to new testing framework. - - * tests/Makefile.am: run floatingtest as testing framework test. - -2007-12-06 10:44:52 Tim Janik - - * tests/autotestfilechooser.c: majorly speed up execution by reducing - timeouts and converting main loop sleeps to pending/iterate loops with - very low priority async handlers. eliminate output for non-verbose - tests. assert successfull subtests in all test functions. use testing - framework in main(). - - * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's - executed inside Xvfb upon make check. - -2007-12-06 08:23:38 Tim Janik - - * tests/objecttests.c: use string comparisons for string property - values and get rid of referencing symbols in array initialization. - -2007-12-05 18:59:59 Tim Janik - - * gtk+/Makefile.decl: run tests in current dir after setting up the - logging directory, so their results get properly merged into the - resulting test log. - - * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for - tests to loop over registered Gdk/Gtk+ types. - - * gtk+/tests/objecttests.c: new test program, implements automated - property tests. several properties are blacklisted because they - seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose - can be used to test blacklisted properties and see which proprty failed. - -2007-12-04 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): - Fully initialize the root window, fixes bug #501583. - -2007-12-04 Matthias Clasen - - * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not - crash epiphany. - -2007-12-03 Richard Hult - - * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard): - Don't crash when dragging from a source that doesn't support uri - lists (bug #499868, Paul Davis). - -2007-12-03 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_begin_paint_region): Don't crash when a - parent relative bg pixmap is set, and no parent has a bg - pixmap. Fixes bug #500804. - -2007-12-03 Matthias Clasen - - Two optimizations for icon cache lookups. - - * gtk/gtkiconcache.[hc]: - * gtk/gtkicontheme.c: Remember the directory index for - subdirectories, instead of running over the directory list - again and again. - - * gtk/gtkiconcache.c (find_image_offset): Remember the last - chain and try it first; this helps with the the usage patterns - in gtkicontheme.c, where the same icon is queried for a lot - of subdirectories. - -2007-12-03 15:18:17 Tim Janik - - * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type - functions from header files. this should be portable across linux and - Mac OS, unlike the previpous sed expression. - -2007-12-1 Cody Russell - - * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]: - On Windows, queue a redraw of child2 whenever we set - the pane handle position. This is unfortunately kind - of hacky, but solves the visual artifacts that were - occuring on at least certain types of child widgets - (e.g., text views and tree views) that are inside - horizontal or vertical panes. (#144269) - -2007-11-30 Matthias Clasen - - * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert) - -2007-11-29 Matthias Clasen - - * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover - debug spew. - -2007-11-29 Matthias Clasen - - * gtk/Makefile.am: Fix ordering of subdirs. - -2007-11-28 Tor Lillqvist - - A proper build of GNU libintl is supposed to export the variable - _nl_msg_cat_cntr. configure looks for that variable in order to - recognize GNU gettext. If it sees that it is indeed GNU gettext - that is used, it decides to install message catalogs in - share/locale, otherwise in lib/locale. Until now on Windows I have - built GTK+ against a build of GNU gettext that did not export - _nl_msg_cat_cntr. But this will change, so we can't assume message - catalogs are always in lib/locale. - - * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle - GTK_LOCALEDIR being either in "lib" or "share". Move the function - before the inclusion of gtkprivate.h so that it sees the original - GTK_LOCALEDIR. - - * gtk-zip.sh.in: Check whether the message catalogs are in - share/locale or lib/locale. - - * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so - that the code in _gtk_get_localedir() will find the slashes. - -2007-11-28 Tor Lillqvist - - * gtk/Makefile.am: Improve portability. The -o option is present - only in newish GNU egreps. Use one more sed in the pipeline - instead. - -2007-11-28 Tor Lillqvist - - Fix #375893, patch by Ben Hague: - - * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper - around GetLogicalDrives() that takes also the viewable drive - restrictions in the Registry (which are usually the result of an - Active Directory Group Policy) into account. - - (check_volumes, gtk_file_system_win32_list_volumes) Call - get_viewable_logical_drives() instead of GetLogicalDrives(). - -2007-11-27 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_move_resize): Zero some - variables to silence valgrind. (#495124, Morten Welinder) - -2006-11-26 Ryan Lortie - - * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating - that the construct_child function is responsible for returning a - reference. - * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for - objects from constructors - * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add - g_object_ref() to this construction function (it's the only - implementer in GTK) - - Fixes #496645. - -2006-11-26 Ryan Lortie - - * gtkbuilder.c: remove concept of root objects and just refcount - all objects in the builder. Fixes #496651. - -2007-11-26 Ryan Lortie - - * tests/buildertest.c (test_window): fix invalid free - -2007-11-26 Josselin Mouette - - reviewed by: Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths), - (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb), - (shortcuts_list_create), (gtk_file_chooser_default_should_respond): - Make the shortcuts activate with a single click. (#148828) - Fix a few things affected by the change: - - Set selection mode to GTK_SELECTION_SINGLE to allow a case - where no shortcut is selected. - - Don't activate a shortcut in the response callback. - - Filter out duplicate entries in volumes and bookmarks to - avoid the selection to change when reordering them with DnD. - -2007-11-26 Matthias Clasen - - * gtk/gtkmain.c: - * gtk/gtknotebook.c: - * gtk/gtkplugprivate.h: - * gtk/gtksocket.c: - * gtk/gtksocketprivate.h: - * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc. - -2007-11-26 Matthias Clasen - - * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config. - (#495574, Richard Hult) - -2007-11-26 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Change some labels to be clearer. - String change ! (#376361, Sven Neumann) - -2007-11-26 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on - destroy. - (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten - Welinder) - -2007-11-26 Matthias Clasen - - * gtk/gtkassistant.c: Improve alternative button - ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho) - -2007-11-26 Matthias Clasen - - * gtk/gtkcalendar.c: Fix a theming problem with colors - in GtkCalendar. (#499703, Michael Hofmann) - -2007-11-26 Matthias Clasen - - * configure.in: Bump glib requirement to 2.15.0 (for g_test_init) - -2007-11-26 Matthias Clasen - - Use templates for glib-mkenums calls instead of - complicated commandlines in Makefiles. (#429910) - - * gdk-pixbuf/Makefile.am: - * gdk/Makefile.am: - * gtk/Makefile.am: - * perf/Makefile.am: Use templates for glib-mkenums - - * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template: - * gdk/gdkenumtypes.[ch].template: - * gtk/gtktypebuiltings.[ch].template: - * perf/typebuiltins.[ch].template: The templates - -2007-11-26 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: - * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since - some compilers choke on that. (#467722) - -2007-11-26 Matthias Clasen - - * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note - about hook setup. (#425004, Emmanuele Bassi) - -2007-11-26 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the - monitor the window currently is on, not always the primary - monitor. (#463865, Tim Evans) - -2007-11-26 Tor Lillqvist - - * gdk/win32/gdktestutils-win32.c: New file, dummy implementations. - - * gdk/win32/Makefile.am: Add it. - -2007-11-26 Tor Lillqvist - - * configure.in: Don't add jasper to all_loaders if no libjasper. - -2007-11-25 Bastien Nocera - - * configure.in: Add detection for libjasper, used by the - gdk-pixbuf JPEG2000 loader - -2007-11-25 Matthias Clasen - - * configure.in: Require gtk-doc 1.8 - - * */*.c: Use gtk-doc abbreviations for examples in docs. - -2007-11-25 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a - typo. (#498922) - -2007-11-25 Matthias Clasen - - * gtk/gtkdialog.c: Move signal and property documentation inline, - fix a problem with the ::response signal docs. (#499133, Josselin - Mouette) - -2007-11-22 15:48:26 Tim Janik - - * Makefile.decl: initialize automake variables EXTRA_DIST and - TEST_PROGS for unconditional appending via += in other makefiles. - define recursive test targets: test, test-report, perf-report, - full-report, as described here: - http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html - the test targets will execute Gtk+ test programs within an Xvfb session. - - * gtk/gtktestutils.c: call g_test_init() from gtk_test_init(). - - * gtk/tests/testing.c: use g_test_add_func() to register tests and use - g_test_run() to run the tests to integrate with the testing framework. - - * gtk/tests/Makefile.am: removed exemplary testing rules. - - * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am: - * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am: - * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am: - * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am: - * docs/reference/Makefile.am, docs/tools/Makefile.am: - * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am: - * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am: - * demos/gtk-demo/Makefile.am, demos/Makefile.am: - * modules/input/Makefile.am, modules/printbackends/file/Makefile.am: - * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am: - * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am: - * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: - * modules/engines/ms-windows/Theme/Makefile.am: - * modules/engines/ms-windows/Makefile.am: - * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am: - * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am: - * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am: - * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am: - * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am: - * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am: - include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. - -2007-11-22 Matthias Clasen - - * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem. - (#485662, patch by Herbert Valerio Riedel) - -2007-11-22 Matthias Clasen - - * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur) - -2007-11-21 Richard Hult - - * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add - stubs for the testing functions to fix the build. - -2007-11-21 Behdad Esfahbod - - * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue. - (#467711, The Written Word) - -2007-11-21 Ross Burton - - * gdk/x11/gdksettings.c: - Add xsetting for gtk-scrolled-window-placement (#458103). - -2007-11-21 Behdad Esfahbod - - * gtk/gtkmenuitem.c (gtk_menu_item_class_init), - (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable. - (#469239, Michael Natterer) - -2007-11-21 Behdad Esfahbod - - * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add - Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for - gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively. - (#436536, Tommi Komulainen) - -2007-11-21 Matthias Clasen - - * gtk/gtktoolbar.c: Fix the default value of the toolbar-style - property. (#489782, Jan Janech) - -2007-11-20 Matthias Clasen - - * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many - frames. (#107398, Owen Taylor, Miguel Gomez) - -Tue Nov 20 15:19:42 2007 +0100 Tim Janik - - Moved Gdk test functions from Gtk+ to Gdk test utils. - - * gdk/Makefile.am: added gdktestutils.h to public includes. - - * gdk/gdk.h: added gdktestutils.h to public includes. - - * gdk/gdk.symbols: added gdk_test_simulate_button, - gdk_test_simulate_key, gdk_test_render_sync. - - * gdk/gdktestutils.h: new file, added prototypes for - gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync. - - * gdk/x11/Makefile.am: build gdktestutils-x11.c. - - * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button, - gdk_test_simulate_key, gdk_test_render_sync. - - * gtk/gtktestutils.c: - * gtk/gtktestutils.h: - * gtk/gtk.symbols: removed gtk_test_simulate_button - gtk_test_simulate_key, gtk_test_xserver_render_sync. - - * gtk/tests/testing.c: call gdk_test_render_sync. - -Thu Nov 15 13:11:39 2007 +0100 Tim Janik - - Added unit tests for Gtk+ testing utilities. - - * gtk/tests/testing.c: added a sample test program that tests Gtk+ test - utility functions. some g_test_* related portions are disabled and need - to be enabled once Gtk+ depends on a new glib with the GLib testing - framework integrated. - - * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ - tests. added exemplary test rules to run tests inside Xvfb. this - needs to depend on gtester for full fledged testing. - - * gtk/Makefile.am: build gtk+/gtk/tests, define - -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch - e.g. gtk_text_get_type(). - - * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile. - -Thu Nov 15 11:55:34 2007 +0100 Tim Janik - - Added Gtk+ testing utilities. - - * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility - functions. for the most part, the functions herein involve - navigating and interacting with dialog elements programatically, - to automate user interaction tests of dialogs and widgets. - - * gtk/gtk.h: include gtk/gtktestutils.h as public API. - - * gtk/gtk.symbols: added gtk_test_* symbols. - - * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into - the build. generate gtktypefuncs.c which contains a list of all - _get_type functions in Gtk+ and Gdk. - -2007-11-20 Bastien Nocera - - * configure.in: add support for conditional icns gdk-pixbuf loader - (Closes: #395738) - -2007-11-19 10:31:26 Tim Janik - - * configure.in: updated version number to 2.15.0 for development. - -2007-11-19 10:27:39 Tim Janik - - === Branch for 2.12 === - diff --git a/ChangeLog.pre-2-16 b/ChangeLog.pre-2-16 deleted file mode 100644 index 2d6465afec..0000000000 --- a/ChangeLog.pre-2-16 +++ /dev/null @@ -1,3959 +0,0 @@ -=== ChangeLog discontinued === - - With the move to git, GTK+ is switching from a ChangeLog file - to relying on commit messages to provide change history. Please - see README.commits for guidance on the expected message format. - -2009-03-29 Christian Persch - - Bug 577224 – crash when setting new icon after setting icon in - gtkstatusicon - - * gtk/gtkstatusicon.c: (gtk_status_icon_reset_image_data), - (gtk_status_icon_set_from_gicon): Retain a reference when setting - from a GIcon, and use g_object_unref on GIcon, not g_free. - -2009-03-27 Behdad Esfahbod - - Bug 437533 – Implement draw_shape PangoRenderer method - - * gdk/gdkpango.c (gdk_pango_renderer_draw_shape), - (gdk_pango_renderer_class_init): Implement draw_shape - - * demos/gtk-demo/rotated_text.c (fancy_shape_renderer), - (create_fancy_attr_list_for_layout), (rotated_text_expose_event), - (do_rotated_text): - 1) Port to pangocairo - 2) Also show a rotated label - 3) Install a custom shape renderer on both. The second one goes - through gdkpango and hence tests the patch above. It's working. - -2009-03-26 Stef Walter - - * gtk/gtkfilechooserentry.c - (char_after_cursor_is_directory_separator) - (gtk_file_chooser_entry_do_insert_text) - (gtk_file_chooser_entry_focus) - (commit_completion_and_refresh) - (refresh_current_folder_and_file_part) (autocomplete): - * gtk/gtkspinbutton.c (gtk_spin_button_insert_text): - * modules/other/gail/gailentry.c (gail_entry_real_initialize) - (text_setup) (gail_entry_get_run_attributes) - (gail_entry_get_character_extents) - (gail_entry_get_offset_at_point): Use gtk_entry_xxx functions - rather than using GtkEntry structure directly. - See bug #576801 - -2009-03-25 Christian Dywan - - * gtk/gtkselection.c: Typo correction, s/hilding/holding - -2009-03-25 Sven Neumann - - * gdk/directfb/gdkwindow-directfb.c - (gdk_window_directfb_process_all_updates): compile fix for build - with DIRECT_ENABLE_DEBUG. - -2009-03-24 Matthias Clasen - - Bug 576306 – gdkscreen.c: get_nearest_monitor too simple, gives wrong - result, mispositioning tooltips - - * gdk/gdkscreen.c (get_nearest_monitor): Make this function work. - Problem reported by Dave Gilbert. - -2009-03-23 Hiroyuki Ikezoe - - Bug 576254 - requires attribute "id" - - * docs/reference/gtk/tmpl/gtkdialog.sgml: Add id attribute to - GtkBuilder UI sample. - -2009-03-21 Cody Russell - - Bug 538840 – [Win32] GTK menu theming could be improved - - * modules/engines/ms-windows/xp_theme.c - * modules/engines/ms-windows/msw_style.c: Use newer - menu styling API. This makes gtk+ look much better on - Windows Vista. - -2009-03-19 Claudio Saavedra - - Bug 574283 – unused assignment and dead code in - gtk_widget_set_tooltip_window() - - * gtk/gtkwidget.c: (gtk_widget_set_tooltip_window): Remove - an unused assignment and clean up, improving checks. - -2009-03-18 Michael Natterer - - * gtk/gtkscalebutton.c: add static function - gtk_scale_button_set_orientation_private() and use it instead of - the public but deprecated gtk_scale_button_set_orientation(). - -2009-03-17 Tor Lillqvist - - Bug 575700 - Crash when moving a GtkWindow - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix - embarrassing crasher bug introduced on 2009-03-11. A variable was - assigned a value only inside a GDK_NOTE but still used outside - that. - -2009-03-17 Tor Lillqvist - - * gtk/gtkprintoperation-win32.c: Newer mingw-w64 uses an - underscore-prefixed identification macro. - -2009-03-13 Matthias Clasen - - * README.in: Late release notes for 2.16 - -2009-03-13 Matthias Clasen - - * configure.in: Bump version - -2009-03-13 Matthias Clasen - - * === Released 2.16.0 === - -2009-03-13 Matthias Clasen - - * NEWS: Updates - - * configure.in: Bump version to 2.16.0 - -2009-03-11 Matthias Clasen - - Bug 572455 – GtkEntry window layed out wrong if the widget has focus - - * gtk/gtkentry.c: Fix problems with window positioning. Reported - by Benjamin Berg. - -2009-03-11 Tor Lillqvist - - Bug 573067 - Intra-app dnd of text behavior on Windows is wrong - - * gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion): - The default action should be move, not copy. Tweak how the - GdkDragAction fields in GdkDragContexts are changed. Seems to help - the problem. - - Add more debugging printout for --gdk-debug=dnd to many functions. - - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkprivate-win32.h: (_gdk_win32_drag_protocol_to_string) - (_gdk_win32_drag_action_to_string): New functions for use in - debugging printouts. - -2009-03-11 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c: Use G_DEFINE_TYPE. Some debugging - printout changes. Hacking on the OLE2_DND code, which still - doesn't work, though, and is not normally compiled. - -2009-03-11 Tor Lillqvist - - Bug 570896 - gdkevents-win32.c(2947) : error C4053: one void - operand for '?:' - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix - compilation error with MSVC. While at it add clarifying comments - and fix a typo in the debugging output. - -2009-03-11 Tor Lillqvist - - Bug 574794 - Can not resize shaped windows on Windows - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling - WM_WINDOWPOSCHANGED, don't do anything if the position and size - hasn't changed. I am not exactly sure I understand why this helps - this particular bug. - -2009-03-10 Matthias Clasen - - Bug 574561 – gtk_style_get "shadows" g_object_get - - * gtk/gtk.symbols: - * gtk/gtkstyle.[hc]: Rename gtk_style_get_property to - gtk_style_get_style_property to avoid problems for language - bindings. Pointed out by Torsten Schoenfeld. - -2009-03-10 Matthias Clasen - - Bug 574622 – GtkEntry: Should we wrap icon-press and icon-release - signals? - - * gtk/gtkentry.c: ::icon-press and ::icon-release are not - action signals. Pointed out by Murray Cumming - -2009-03-04 Michael Hasselmann - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed): - Fixed regression reported in bug #574059. (search button not available in - some cases.) The old implementation relied on bug #572478. - -2009-03-10 Alexander Larsson - - * gtk/gtkmountoperation.c: - (gtk_mount_operation_ask_password): - Clear all optionally created widget pointer in priv. Initially - priv is cleared so thats ok, but on a second call we may have - leftovers from previous calls which is problematic if for instance - we asked for the user the first time and not the second, then we - will access the old priv->username_entry. - -2009-03-06 Michael Natterer - - * gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call - gtk_orientable_set_orientation() because that calls g_object_set() - again -> infinite recursion. Call gtk_scale_button_set_orientation() - instead. - -2009-03-02 Matthias Clasen - - * configure.in: Bump version - -2009-03-02 Matthias Clasen - - * === Released 2.15.5 === - -2009-03-02 Matthias Clasen - - * NEWS: Updates - -2009-03-02 Matthias Clasen - - Bug 546285 – Allow GtkEntry to draw progress - - * gtk/gtkentry.c: Improve the drawing of progress in entries, - using fg/bg[SELECTED]. Add a progress-border style property. - Draw progress behind icons too. - * gtk/gtkrc.c: Add defaults for fg/bg[SELECTED] in entries. - Patch by Benjamin Berg. - -2009-03-02 Matthias Clasen - - Bug 573688 – Don't steal update region in gtk_text_view_paint() - - * gtk/gtktextview.c (gtk_text_view_paint): If additional areas got - invalidated, don't try to add them to the paint region: in an expose - handler, we cannot paint outside the area that was passed in, since - drawing will be clipped. So stealing the update region from the - window causes lost draws. - Patch by Owen Taylor - -2009-03-02 Alexander Larsson - - Bug 573087 – gdkwindow.c: {x,y}_offset used uninitialized - - * gdk/gdkwindow.c (gdk_window_clear_backing_rect_redirect): - Don't use uninitialized vars. - Fix offsets for redirected pixmap, draw to pixmap not window. - -2009-03-02 Theppitak Karoonboonyanan - - Bug 457086 - numpad does not work when the Thai-Lao input method is - used - - * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count - character-generating keypads as context-lost keys. (patch recommitted - after approval) - -2009-03-01 Matthias Clasen - - * gdk/gdkkeysyms.h: Fix the sorting of GDK_KP_Equal. - -2009-03-01 Matthias Clasen - - Bug 552619 – File Chooser no longer automatically enters newly created - directories - - * gtk/gtkfilechooserdefault.c (edited_idle_cb): Switch to the newly - created folder on success. - -2009-03-01 Matthias Clasen - - Bug 573515 – po-properties/ special Makefile.in.in handling causes - failure to build - - * configure.in: Generate po-properties/POTFILES at configure time. - Patch by Loïc Minier - -2009-03-01 Matthias Clasen - - * demos/gtk-demo/appwindow.c: Set the program-name property - of the about dialog. - - * docs/tools/widgets.c: Add GtkAboutDialog - -2009-02-28 Matthias Clasen - - Bug 572273 – No replacement documented for gtk_action_connect_proxy() - - * gtk/gtkaction.c: Make gtk-doc pick up deprecation notes. - Insisted on by Andre Klapper. - -2009-02-28 Matthias Clasen - - Bug 573287 – Warning on startup - - * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Disconnect - all tray icon signals. Noticed by Bastien Nocera - -2009-02-28 Matthias Clasen - - Bug 573211 – Setting screen for popup windows - - * gtk/gtkentrycompletion.c: - * gtk/gtknotebook.c: Keep popups on the right screen. - Pointed out by Morten Welinder - -2009-02-28 Matthias Clasen - - Bug 573113 – Can't build tests due to testfilechooserbutton.c... - - * tests/testfilechooserbutton.c: Don't use deprecated API. - Reported by Tobias Mueller - -2009-02-28 Matthias Clasen - - Bug 573069 – Gdk-CRITICAL warnings with Gtk 2.14 when dragging - GtkNotebook tabs - - * gtk/gtkwidget.c (_gtk_widget_synthesize_crossing): Be a little - more careful when navigating up the parent chain. - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Reset the - pointer window thats stored on the screen when it is destroyed. - -2009-02-27 Matthias Clasen - - Bug 572996 – crash in Home Folder: Trying to open the sidebar - - * gtk/gtkpaned.c (get_child_panes): Handle widget being NULL. - Pointed out by Wouter Bolsterlee. - -2009-02-27 Matthias Clasen - - Bug 572972 – GtkRecentChooserDefault: memory leak in - copy_activated_cb() - - * gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak - a GtkRecentInfo. Found by Tommi Rantala - -2009-02-27 Matthias Clasen - - Bug 572968 – GtkIconView: image_description setter function strdups - wrong string - - * gtk/gtkiconview.c - (gtk_icon_view_item_accessible_image_set_image_description): Copy - the right string. Pointed out by Tommi Rantala - -2009-02-27 David Zeuthen - - Bug 573416 – GtkMountOperation fixes for ask_password() - - * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): - Split the message from GMountOperation into primary/secondary like - we also do in gtk_mount_operation_ask_question() - -2009-02-27 Michael Natterer - - Bug 573383 – Setting a textview's buffer to NULL doesn't do a - complete job - - * gtk/gtktextview.c (gtk_text_view_set_buffer): always set - text_view->layout's buffer, also if it's NULL. - -2009-02-25 Tristan Van Berkom - - Bug 572904 – GtkRadioAction broken in trunk - - * gtk/gtkradioaction.c: When setting non active state always - notify the action's active state (this prevents toggle type proxies - used with radio actions from deactivating when pressed a second time). - -2009-02-25 Xan Lopez - - Bug 495320 - GtkRange does not use gdk_event_request_motions - - * gtk/gtkrange.c: - (gtk_range_motion_notify): Use gdk_event_request_motions to - request more motion events, as suggested in the docs for widgets - using motion hints. - -2009-02-24 Matthias Clasen - - * gdk/x11/gdkevents-x11.c: - * gdk/x11/gdkscreen-x11.[hc]: Another attempt at getting Xrandr - screen size changes right. Actually handle XRRScreenChangeNotify - events, and ignore root ConfigureNotify events if we are using - Xrandr. Only emit size-changed signals if the screen size changed, - and only emit monitor-changed signals if the monitors changed. - -2009-02-23 Matthias Clasen - - Bug 565199 – Ellipsize text in Places list - - * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Never scroll - the places horizontally. Instead, ellipsize the text. - -2009-02-19 Michael Hasselmann - - * gtk/gtkcombobox.c (gtk_combo_box_set_active_internal): - Added a check to not emit a "changed" signal when an already invalid - selection was set to invalid. - -2009-02-22 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to - gtk_activatable_sync_action_properties, since the previous name - was deemed too generic. Update all implementations. - -2009-02-19 Ray Strode - - * gdk/x11/gdkscreen-x11.c - (monitor_compare_function), (init_randr13): - After using randr to get a list of monitors, - sort the list such that the biggest output - of "cloned" outputs comes first in the list. - This helps apps that don't generally handle - overlapping outputs to work better in randr - clone mode. - -2009-02-19 Sven Neumann - - * gdk/directfb/gdkwindow-directfb.c - (gdk_directfb_window_move_resize): looks like being called with - negative width and height should be interpreted as a move. Fixes - scrolling and makes popups work to some extent. - - (_gdk_directfb_move_resize_child): formatting. - -2009-02-19 Sven Neumann - - * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move the - call to _gdk_windowing_window_init() up a little. Fixes a crash - when running on pseudo-color visuals. Thanks to Masse Nicolas for - pointing this out. - -2009-02-19 Sven Neumann - - * gdk/directfb/gdkwindow-directfb.c - (gdk_window_foreign_new_for_display, gdk_directfb_window_new): - initialize private->impl. Thanks to Masse Nicolas for pointing - this out. - -2009-02-19 Matthias Clasen - - Bug 572387 – gdm crashes after gtk 2.15.4 upgrade - - * gdk/x11/gdkscreen-x11.c (init_xrandr13): If X is broken and returns - no monitors, fall back to other multihead init methods, so that we - at least get one monitor set up. - -2009-02-19 Michael Natterer - - * gtk/gtkmountoperation.c: sort functions so their order is more - "standard", some cosmetic cleanup (not changing any code). - -2009-02-19 Michael Natterer - - * tests/testgtk.c: add some orientation flipping code to the - "flipping" test. - -2009-02-19 Michael Natterer - - * gtk/gtkscalebutton.c: make the orientation flipping much simpler - by using the GtkOrientable features of the involved widgets: - - (gtk_scale_button_init): create the frame, box and scale here, - they never need to be recreated because they implement GtkOrientable. - - (gtk_scale_button_constructor): remove their construction here. - - (gtk_scale_button_set_orientation): don't destroy and re-create - anything. Instead, simply set the orientation of the above created - widgets and fiddle a bit with the "plus" and "minus" buttons' - packing and the scale's "inverted" state. - - Remove separate internal GtkScaleButtonHScale and - GtkScaleButtonVScale subclasses and simply have a - GtkScaleButtonScale directly inherited from GtkScale. - -2009-02-19 Theppitak Karoonboonyanan - - * modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the - unapproved patch for bug 457086. - -2009-02-18 Matthias Clasen - - * gdk/x11/gdkscreen-x11.c (init_randr13): Ignore disconnected outputs, - and fill in name and physical dimensions. - -2009-02-18 Sven Neumann - - Bug 533456 – Memory leak when window is destroyed - - * gdk/directfb/gdkdirectfb.h - * gdk/directfb/gdkprivate-directfb.h - * gdk/directfb/gdkcursor-directfb.c - * gdk/directfb/gdkevents-directfb.c - * gdk/directfb/gdkwindow-directfb.c: removed all #ifdef checks for - DIRECTFB_MAJOR_VERSION >= 1 and compile that code unconditionally. - as we depend on DirectFB >= 1.0.0 now. Fixes a potential build - issue that would lead to a memory leak as described in bug #533456. - -2009-02-18 Sven Neumann - - Bug 513422 – Unknown meaning of translatable messages - - * gdk/directfb/gdkdisplay-directfb.c: removed broken and commented - code and the translatable messages that belonged to it. - -2009-02-18 Sven Neumann - - Bug 560671 – the client_message API doesn't work in DirectFB - - * gdk/directfb/gdkevents-directfb.c: applied a slightly cleaned up - patch from Steve Lhomme that adds this functionality using - DirectFB's DFBUserEvent. - -2009-02-18 Sven Neumann - - Bug 543710 – Dead keys do not work anymore with DirectFB - - * gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key): - applied patch from Josselin Mouette that removes special handling - of dead keys as that is done by DirectFB for a long time already. - -2009-02-18 Sven Neumann - - * configure.in: depend on DirectFB >= 1.0.0. There's no point in - using an earlier development version. - -2009-02-18 Sven Neumann - - Bug 554407 – directfb backend does not implement GdkWindowImpl - - * gdk/directfb/gdkgeometry-directfb.c - * gdk/directfb/gdkprivate-directfb.h - * gdk/directfb/gdkwindow-directfb.c: fix the build of the DirectFB - backend and resurrect basic functionality. Based on a patch from - the Ubuntu bug-tracker and work by Masse Nicolas. - -2009-02-18 Theppitak Karoonboonyanan - - Bug 457086 - numpad does not work when the Thai-Lao input method is - used - - * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count - character-generating keypads as context-lost keys. - -2009-02-17 Matthias Clasen - - * configure.in: Bump version - -2009-02-17 Matthias Clasen - - * === Released 2.15.4 === - - * gdk/tests/Makefile.am: Disable check-gdk-cairo for now. - -2009-02-17 Andre Klapper - - * demos/gtk-demo/main.c: - Fix deprecated glib call. - -2009-02-17 Matthias Clasen - - * NEWS: Updates - -2009-02-16 Matthias Clasen - - Bug 572040 – GtkAssistant does not expose page titles - - * gtk/gtkassistant.c (gtk_assistant_accessible_ref_child): Set - the object name to the page title. Proposed by Eitan Isaacson - -2009-02-16 Matthias Clasen - - Bug 572041 – Focus should change when advancing forward in GtkAssistant - - * gtk/gtkassistant.c (set_current_page): Set focus when the current - page changes. Pointed out by Eitan Isaacson - -2009-02-16 Matthias Clasen - - * configure.in: Require GLib 2.19.7 for GMountOperation::aborted. - - * gtk/gtkmountoperation.c: Implement GMountOperation::aborted. - -2009-02-16 Sven Neumann - - * gdk/gdk.symbols - * gdk/directfb/gdkkeys-directfb.c: implement - gdk_keymap_get_caps_lock_state(). No "state-changed" signal yet. - -2009-02-16 Tor Lillqvist - - Bug 571873 - Compile error with gdk/win32/gdkselection-win32.c - - * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Cast - gpointer to char * before pointer arithmetic to avoid compilation - error with MSVC. - - (_gdk_selection_property_delete): Remove unused variable. - -2009-02-13 Matthias Clasen - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Don't forget to - register randr events. Found by Søren Sandmann - -2009-02-13 Matthias Clasen - - * configure.in: Check for Xrandr 1.3 - - * gdk/x11/gdkdisplay-x11.[ch]: Rename have_randr12 to have_randr13 - and set if if we have randr 1.3 - - * gdk/x11/gdkscreen-x11.c: Go back to using randr for monitor - information, if we have XRRGetScreenResourcesCurrent. -: -2009-02-12 Cody Russell - - Bug 571576 – gdk_pixbuf_save_to_stream() broken - - * gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that - it does not always return FALSE (even when it succeeds), and also so - that it does not set error to NULL when something goes wrong. - -2009-02-12 Marek Kasik - - Bug 568571 – Asian am/pm format on cups print backend's time parsing - - * modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm - format into formats recognized by CUPS backend - -2009-02-11 Matthias Clasen - - Bug 570824 – [a11y] TreeView is not keyboard (re)focusable after - selecting a cell in a non-sortable column - - * gtk/gtktreeview.c (gtk_tree_view_header_focus): Don't grab - focus to a header button if it is not focusable. Problem reported - by Joanmarie Diggs - -2009-02-11 Matthias Clasen - - Bug 508545 – No way to identify terminal classes from documentation - - * gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition - into the header to make it possible to derive from GtkVoumeButton. - Reported by Chris Lord. - -2009-02-11 Matthias Clasen - - Bug 571196 – gtk_binding_entry_add_signall deprecated without - alternative - * gtk/gtk.symbols: - * gtk/gtkbindings.[hc]: Undeprecate gtk_binding_entry_add_signall - since its replacement is a varargs function. Complaint by - Torsten Schoenfeld. - -2009-02-11 Matthias Clasen - - Bug 571249 – Icons are not drawn properly when initial widget - state is insensitive - - * gtk/gtkentry.c (gtk_entry_ensure_pixbuf): Render icons - in normal state, regardless of the entrys state. Reported by - Enrico Tröger. - -2009-02-11 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: Don't emit the file-set signal - if the file chooser dialog is canceled. But emit it if a file - is received via DND. - -2009-02-11 Matthias Clasen - - Bug 353196 – Add a file-set signal to GtkFileChooserButton - - * gtk/gtkfilechooserbutton.c: Remove GTK_SIGNAL_ACTION - from the file-set signal, that wasn't supposed to have it. - -2009-02-10 Takao Fujiwara - - Bug 571015 – libprintbackend-cups has unlocalized strings - - * modules/printbackends/cups/gtkprintbackendcups.c: - Added a translator comment with the request of translators. - -2009-02-09 Richard Hughes - - * docs/reference/gtk/migrating-GtkEntry-icons.sgml: - Fix the enumerated name in the migration document. - -2009-02-09 Cody Russell - - * gdk/win32/gdkwin32.h: Add potentially missing #defines for - XBUTTON1, etc. Fixes the build that was broken in r21746. - -2009-02-09 Takao Fujiwara - - Bug 571015 – libprintbackend-cups has unlocalized strings - - Reviewed by Matthias Clasen - - * modules/printbackends/cups/gtkprintbackendcups.c (handle_option): - Add translatable strings from ppd files. - -2009-02-06 Matthias Clasen - - Make the new GtkAction code work with PolicyKit-gnome's use of actions. - - * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block - the action. - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset): - * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset): - * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset): - Work with non-toggle actions without complaining. - - * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating - the icon-name should not remove the label. - - * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also - update the image when the icon name is set to NULL. - -2009-02-06 Matthew Barnes - - * gtk/gtklabel.c (gtk_label_set_label): Accept a NULL string. - -2009-02-03 Matthias Clasen - - Bug 538439 – tooltip may appear in upper left corner instead of - over widget - - * gtk/gtktooltip.c (gtk_tooltip_trigger_query): Set the root - coordinates in the event correctly. Patch by Kristian Rietveld. - -2009-02-02 Matthias Clasen - - * configure.in: Bump version - -2009-02-02 Matthias Clasen - - * === Released 2.15.3 === - - * NEWS: Updates - -2009-02-01 Behdad Esfahbod - - * gtk/gtksettings.c (gtk_settings_class_init): Change the - "gtk-fontconfig-timestamp" property from int to uint. Doesn't affect - anything in practice, except that it overflows years later... - -2009-02-01 Behdad Esfahbod - - Bug 569635 – fontchooser should reload list of families/styles on - theme change - - * gtk/gtkfontsel.c (gtk_font_selection_class_init), - (gtk_font_selection_init), (gtk_font_selection_finalize), - (gtk_font_selection_ref_family), (gtk_font_selection_ref_face), - (gtk_font_selection_reload_fonts), - (gtk_font_selection_screen_changed), - (gtk_font_selection_style_set), - (gtk_font_selection_scroll_to_selection), - (gtk_font_selection_scroll_on_map), - (gtk_font_selection_select_font), - (gtk_font_selection_show_available_fonts), - (gtk_font_selection_show_available_styles), - (gtk_font_selection_select_style), - (gtk_font_selection_select_font_desc), - (gtk_font_selection_set_font_name): - Reload Pango families and faces in style_set. Installing/uninstalling - fonts shows up immediately in an open font chooser now. - -2009-01-31 Matthias Clasen - - Bug 162726 – Multiple Latin layouts in XKB break keyboard shortcuts - - * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Change the handling of - fuzzy matches: As long there are any exact matches, only exact - matches are returned. If there are no exact matches, fuzzy matches - will be returned, as long as they are not shadowing a possible exact - match. This means that fuzzy matches won't be considered if their - keyval is present in the current group. Problem reported by - many people, patch by Simos Xenitellis. - -2009-01-31 Matthias Clasen - - * NEWS: Updates - -2009-01-30 Fridrich Strba - - * configure.in: Allow linking in static jasper gdk-pixbuf loader. - (reviewed by Tor Lillqvist) - -2009-01-30 Matthias Clasen - - * gtk/gtktextview.c (preedit_changed_handler): Be more careful - with the beeps, since preedit-changed is occasionally emitted - without actual input. Pointed out by Tor Lillqvist. - -2009-01-30 Matthias Clasen - - Bug 569918 – 64bit portability issue in gtkrecentchooser.c - - * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance): - Avoid a compiler warning. Patch by Magnus Boman. - -2009-01-30 Matthias Clasen - - Bug 359288 – Toolbar items are not shown after hiding - - * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue - at least one resize. This fixes a problem with toolitems remaining - invisible when they shouldn't that was reported by Christian Weiske. - -2009-01-30 Matthias Clasen - - * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item): - Always show images. - -2009-01-29 Tor Lillqvist - - Bug 559408 - Transparency lost when images are copied between GTK+ - and the clipboard on Windows - - The code in gdkselection-win32.c is simplified quite a lot. When - an image is stored on the clipboard from GTK+, only the "PNG" and - CF_DIB formats are advertised. PNG is our preferred format because - it can losslessly represent any image that gdk-pixbuf can handle, - even with alpha, unambiguously. CF_DIB is also advertised because - of its ubiquitous support in Windows software. - - Delayed rendering is used as before, so for other data than text - nothing is actually stored on the clipboard until some app asks - for it. - - It's pointless to advertise images formats like "image/png" or - "image/x-MS-bmp" that no other Windows application is going to - look for anyway. Likewise it's pointless to store text under - formats like "text/plain" or "UTF8_STRING". Just store - CF_UNICODETEXT. CF_TEXT will be available as a synthesized format - anyways. - - Office 2007 offers and asks for images in PNG format using the - registered clipboard format name "PNG", so we do likewise. If the - "PNG" format is available that is preferred when copying to GTK+ - from the clipboard. - - Unfortunately Word 2007 still uses CF_DIB without handling - alpha. But PowerPoint 2007 uses PNG if available and handles alpha - correctly. Both Word and Powerpoint offer PNG with alpha nicely. - - Firefox and IE7 offer images that contain alpha as 32-bit version - 3 BI_RGB DIBs with the undocumented "extra" bytes actually being - alpha. Also, alpha is premultiplied into the RGB bytes, presumably - because that is how AlphaBlend() wants such DIBs. That is also - taken care of. At least for Firefox it easy to be sure that a - CF_DIB on the clipboard is from Firefox. - - Also some general stylistic cleanup, comment improvements, and - improvements of debugging printout especially in the clipboard - handling. Those are not detailled below. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkgmain-win32.c: Move some globals that were used - only in gdkselection-win32.c to be local to that file. - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): Don't - bother checking if text to be placed on the clipboard consists of - only ASCII. - - * gdk/win32/gdkselection-win32.c: Add static variables for a list - of GdkPixbuf-supported formats, well-known registered clipboard - formats for images, and for GdkAtoms for well-known image and text - formats. - - (_gdk_win32_selection_init): Initialize above static variables. - - (selection_property_store) (gdk_selection_property_get) - (_gdk_selection_property_delete): Don't use a FIFO of GdkSelProps - for a window after all, it breaks testtext. See bug #163844. - - (gdk_selection_convert): When converting to the TARGETS format, - i.e. when the caller wants to know what clipboard formats are - available, if PNG is available we report just that and skip - CF_DIB, JPEG and GIF even if advertised. - - If CF_UNICODETEXT is available, report only UTF8_STRING. - - When converting to the UTF8_STRING format, i.e. when the caller - wants text from the clipboard, try just CF_UNICODETEXT. There is - no point in trying CF_TEXT as Windows will synthesize - CF_UNICODETEXT from CF_TEXT anyway, if some app has stored just - CF_TEXT. - - When converting to the image/bmp format, i.e. when the caller - wants an CF_DIB image from the clipboard, we check if the DIB is a - version 3 32-bit BI_RGB one that is likely to actually contain - alpha in the "extra" bytes. Such a DIB is likely to have - premultiplied alpha even, at least in the case of Firefox 3 and - IE7. We then edit the DIB in-place into a version 5 one in - BI_BITFIELDS format and undo the alpha premultiplication. - - In any case, prepend a BMP file header before letting go of the - data which will be fed to the gdk-pixbuf bmp loader by upper - levels. - - (gdk_win32_selection_add_targets): If some kind of pixmap image - format is being added, actually advertise just PNG and - CF_DIB. Note that alpha won't be stored on the clipboard through - CF_DIB. This is because gdk-pixbuf's bmp loader doesn't save - alpha. Furthermore, few if any non-GTK+ Windows apps seem to - understand a version 5 DIB with proper alpha anyway. - - (_gdk_win32_selection_convert_to_dib): Simplified muchly. - -2009-01-29 Tor Lillqvist - - Bug 145058 - Inputting "^^" requires four keystrokes on Win32, - differs from platform default behaviour - - * gtk/gtkimcontextsimple.c - (check_win32_special_case_after_compact_match): New - function. Called from check_compact_table() after a table-based - match has committed a character. In case there was two identical - dead accents in the input, another copy of the spacing accent that - was already committed is committed. This fixes #145058. - - (check_win32_special_cases): New function. Called first from - gtk_im_context_simple_filter_keypress(). This fixes another - problem: a dead accent followed by a space should commit the - corresponding spacing accent. The compose tables from X commit - another character in two cases and we want to override that on - Windows. - - Add GTK_NOTE (MISC) debugging output to this code. - -2009-01-29 Claudio Saavedra - - Bug 569435 – make maintainer-clean removes non-generated sources - - * gdk/Makefile.am: Do not remove gdkprivate.h and gdkwindowimpl.h - during make maintainer-clean, as these files are not generated. - -2009-01-28 Philip Withnall - - * gtk/gtktreeview.c: Small documentation fix. - -2009-01-27 Matthias Clasen - - * gtk/gtkentry.c: Use the get_text_area_size vfunc to make - alignment and icons in spin buttons work correctly. - -2009-01-27 Matthias Clasen - - Bug 569336 – change in gtkbutton klass is causing crash when - activating menu item - - * gtk/gtktogglebutton.c: Don't chain the clicked handler - up unconditionally. - -2009-01-27 Matthias Clasen - - * configure.in: Bump version - -2009-01-27 Matthias Clasen - - * === Released 2.15.2 === - - * NEWS: Updates - -2009-01-26 Matthias Clasen - - Bug 322932 – Always show icons on panel menus - - * gtk/gtk.symbols: - * gtk/gtkimagemenuitem.[hc]: Add a property to override the - show-menu-images setting for individual menuitems. Patch by - William Jon McCann. - -2009-01-26 Matthias Clasen - - * gtk/gtkbutton.c: Activate the action in a regular clicked - handler instead of the default handler, to make it work with - derived classes which don't chain up their clicked handler. - -2009-01-26 Matthias Clasen - - Bug 569104 – Toggle menu entries showed as check menu entries - in nautilus - - * gtk/gtkactivatable.c (gtk_activatable_do_set_related_action): - Block the previous action when calling reset() to prevent - accidental activation of the previous action. - - * gtk/gtkaction.c (gtk_action_activate): Don't compare booleans. - - * gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove - extraneous braces. - -2009-01-26 Bastien Nocera - - Bug 569240 - Crasher when using markers - - * gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying - a GtkRange with markers - -2009-01-26 Richard Hult - - Bug 566628 – gdk_display_close always asserts on win32 and quartz - - * gdk/quartz/gdkdisplay-quartz.c - (_gdk_windowing_set_default_display): Copy fix for bug #566628 - from the win32 backend: Allow also a NULL parameter in the - g_assert(). - -2009-01-25 Matthias Clasen - - * gtk/gtktoolitem.[hc]: Export the function to create a proxy - menuitem from the action for use in subclasses. - - * gtk/gtktoolbutton.c: - * gtk/gtktoggletoolbutton.c: Use it here. - - * gtk/gtkrecentchoosermenu.c: Avoid temporary empty state that - can lead to a recent action proxy menu being erroneously hidden. - -2009-01-25 Matthias Clasen - - * gtk/gtkradioaction.c: Set draw-as-radio to TRUE. - -2009-01-24 Matthias Clasen - - Revert changes for bug 567124. Instead of trying to avoid - setting up the im context before the widget is realized, just - reset it when the client window is set. - - * gtk/gtkimmulticontext.c: Reset the slave when a client window - is set. - - * gtk/gtkimmodule.c - * gtk/gtktextview.c: Revert changes for bug 567124. - -2009-01-25 Claudio Saavedra - - * gtk/gtktreeview.c: Use gtk-doc syntax to refer to properties in - the docstrings. - -2009-01-25 Claudio Saavedra - - * gtk/gtkiconview.c: More docstrings improvements - regarding reorderable property. - -2009-01-24 Claudio Saavedra - - Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs - wrt. reorderable property - - * gtk/gtkiconview.c: Improve docstrings regarding reorderable - property. Based on a patch by Björn Lindqvist. - -2009-01-24 Matthias Clasen - - * gtk/gtktoolbutton.c (gtk_tool_button_activatable_reset): - Fall back from stock ids to icon names like the old code - did. Patch by Tristan van Berkom. - -2009-01-24 Matthias Clasen - - * tests/testactions.c: Add a testcase for toolitems using - icon names. - -2009-01-24 Matthias Clasen - - * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme): - Don't update blank cursors. - -2009-01-24 Claudio Saavedra - - * gtk/gtktreeview.c: (gtk_tree_view_class_init): Slightly - improve ::search-column property description. - -2009-01-23 Matthias Clasen - - * configure.in: Bump version - -2009-01-23 Matthias Clasen - - * === Released 2.15.1 === - -2009-01-23 Matthias Clasen - - * gtk/gtkactivatable.c: Make the section docs produce some valid - xml. - -2009-01-23 Matthias Clasen - - * gtk/gtkactivatable.c: Fix the section docs so gtk-doc finds them. - -2009-01-23 Matthias Clasen - - * gtk/gtkrecentchooser.c: - * gtk/gtkuimanager.c: Fix issues found by pltcheck - -2009-01-23 Matthias Clasen - - * NEWS: Updates - -2009-01-23 Matthias Clasen - - Bug 560228 – Add "action-controller" property to GtkWidgetClass - - Rework the way actions and proxies interact, to make the - interaction less ad hoc, more extensible, and better suited - for support in GUI builders like glade. - - To be used as a proxy, a widget must now implement the - GtkActivatable interface, and GtkActivatable implementations - are responsible for syncing their appearance with the action - and for activating the action. - - All the widgets that are commonly used as proxies implement - GtkActivatable now. - - Patch by Tristan van Berkom. - - * gtk/gtkactivatable.[hc]: The GtkActivatable interface. - - * gtk/gtkbutton.c: - * gtk/gtktogglebutton.c: - * gtk/gtktoolitem.c: - * gtk/gtktoolbutton.c: - * gtk/gtktoggletoolbutton.c: - * gtk/gtkmenuitem.c: - * gtk/gtkcheckmenuitem.c: - * gtk/gtkimagemenuitem.c: - * gtk/gtkradiomenuitem.c: - * gtk/gtkrecentchooserprivate.h: - * gtk/gtkrecentchooser.c: - * gtk/gtkrecentchooserdefault.c: - * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable. - * gtk/gtkaction.[hc]: Move appearance synchronization to - GtkActivatable implementations. - - * gtk/gtkradioaction.c: - * gtk/gtkrecentaction.c: - * gtk/gtktoggleaction.c: - * gtk/gtkactiongroup.c: Adapt. - - * gtk/gtk.h: Include gtkactivatable.h - * gtk/gtk.symbols: Add new functions - -2009-01-23 Matthias Clasen - - Bug 567124 – proposal to delay doing something related to - immodule until widgets realized - - Delay setting up immodules until the widget is realized. - Patch by Akira Tagoh - - * gtk/gtktextview.c: Don't set up im stuff if the widget - is not realized. - - * gtk/gtkimmodule.c: Assert that we have a window. - -2009-01-23 Matthias Clasen - - Skip Desktop if it equals the home folder - Patch by Christian Dywan - - * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Skip - Desktop if it equals the home folder. - -2009-01-23 Matthias Clasen - - Bug 536965 – GtkPlug: crash on theme change - - Keep GtkPlug in sync with the global list of toplevels. - Patch by Federico Mena Quintero - - * gtk/gtkwindow.h: - * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal - function used when a GtkPlug parents/unparents itself by an - in-process GtkSocket. This keeps the plug's GTK_TOPLEVEL flag in - sync with the global toplevel_list. - - * gtk/gtkplug.c (gtk_plug_set_is_child): Call - _gtk_window_set_is_toplevel() to keep the toplevel list updated, - instead of just setting/unsetting the GTK_TOPLEVEL flag. - -2009-01-23 Matthias Clasen - - Bug 568744 – Spellfixes in GtkTreeView's documentation - - * gtk/gtktreeview.c: Fix typos in the docs. - -2009-01-23 Matthias Clasen - - Bug 567761 – Spellfixes in GTK+ documentation - - * gdk/x11/gdkselection-x11.c: - * gtk/gtktestutils.c: Fix typos in the docs. - -2009-01-23 Matthias Clasen - - Bug 567021 – gtkimage accessors docs - - * gtk/gtkimage.c: Improve docs by mentioning allowed NULL values. - Patch by Christian Persch - -2009-01-23 Matthias Clasen - - Bug 566535 – gtk_widget_get_snapshot does not work if double buffered - is disabled - - * gtk/gtkwidget.c (gtk_widget_get_snapshot): Use a different approach - to snapshotting that is in line with what is done in the client-side - windows branch, and that works for widgets regardless if they are - double-buffered or not. Patch by Alex Larsson. - - * gdk/gdkwindow.c (_gdk_window_calculate_full_clip_region): Clip - to the parent. - -2009-01-22 Federico Mena Quintero - - * gtk/gtkfilechooserentry.c (autocomplete): Relax the assertion; - just do nothing if the folder is not loaded or if the cursor position - is not at the end of the text. A very slow-to-load folder can get - us into the latter state if the user starts typing first. - -2008-01-22 Matthias Clasen - - * gtk/gtkaction.c: Revert the last change, since it breaks - epiphany. - -2009-01-22 Federico Mena Quintero - - Fix the computation of "complete but unique" in - GtkFileChooserEntry. Fix the case where "/" was not appended to a - unique directory name during explicit Tab completion. - - * gtk/gtkfilechooserentry.c (maybe_append_separator_to_file): - Return whether anything was appended as well as the new string - itself. - (find_common_prefix): Oops, only turn on - is_complete_not_unique_ret if we had a unique match! - (append_common_prefix): If we appended a directory separator, we - *did* expand the common prefix, so we are not in the "nothing - inserted" case. - -2009-01-22 Federico Mena Quintero - - Return an error code when refreshing the entry from the user's - input. We use this in the completion code to know when completion - can't happen due to (for example) having a non-local URI in a file - chooser that is local_only=TRUE. - - Also, we start maintaining an invariant that - chooser_entry->current_folder_file != NULL implies that: - - * what the user entered is valid - - * we are loading that folder (chooser_entry->load_folder_cancellable != NULL) - - * or we are done loading that folder, or we have a handle - to it at least (chooser_entry->current_folder != NULL) - - The invariant also says that all of the above are NULL (and - chooser_entry->current_folder_file == NULL) implies that the user - typed something invalid. This makes - _gtk_file_chooser_entry_get_current_folder() not able to return - an invalid folder. - - * gtk/gtkfilechooserentry.c (RefreshStatus): New enum. - (refresh_current_folder_and_file_part): Return a RefreshStatus. - We filter out incomplete hostnames here (typing - "sftp://incompl[tab]" will error out), as well as completely - unparsable input. - (start_explicit_completion): Process the result from refresh...(). - Here we present the actual feedback about only being able to - display local folders for local_only=TRUE. - (commit_completion_and_refresh): Don't do anything with the result - of refresh...(), since this function doesn't get called during - completion-related interaction. - (start_autocompletion): Process the result from refresh...(). We - only do completion in the REFRESH_OK case. For the error cases, - we don't do anything, as this is autocompletion and must not - result in non-asked-for errors popping up. - (discard_loading_and_current_folder_file): Factor out function to - cancel the cancellable and discard the current_folder_file, - i.e. to reset the invariant to the "nothing valid is loaded" case. - (gtk_file_chooser_entry_dispose): Use - discard_loading_and_current_folder_file(). - (reload_current_folder): Likewise. - (refresh_current_folder_and_file_part): Likewise, and ensure that - the error cases result in the invariant being held. - (start_loading_current_folder): Check if the folder to be loaded - is non-native for the local_only=TRUE case; if so, return an error - as we are configured to load only local folders. - (reload_current_folder): Pass on errors from - start_loading_current_folder(). Tighten the preconditions, as we - are sure that we can only receive non-NULL folder-files to load. - (refresh_current_folder_and_file_part): Pass on errors from - reload_current_folder(). At the very end, assert the invariant - described above. - -2009-01-22 Matthew Barnes - - Bug 568334 – Constructor properties for GtkAction - - * gtk/gtkaction.c (gtk_action_class_init): Make all properties - G_PARAM_CONSTRUCT except "action-group". - -2009-01-22 Michael Natterer - - * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): g_return_if_fail() - on icon_name != NULL so we get a warning instead of a crash here. - -2009-01-21 Matthias Clasen - - * NEWS: Updates - -2009-01-21 Matthias Clasen - - * gtk/gtkentry.c: Don't show windows that may not exist - -2009-01-21 Matthias Clasen - - * gtk/gtklabel.c: Implement select-by-words for selectable labels. - -2009-01-21 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c: Rename static local functions and - variables to not have any unnecessary _ or _gdk_win32 prefix. - - * gdk/win32/gdkcursor-win32.c (hcursor_from_type): Implement - creating a GDK_BLANK_CURSOR. - -2009-01-21 Matthias Clasen - - * gtk/gtkentry.c: Change the Caps Lock warning to the more - neutral "Caps Lock is on". Requested by Wouter Bolsterlee - -2009-01-21 Matthias Clasen - - Bug 568552 – gtk_combo + gtk entry in invisible mode takes 100% cpu - - * gtk/gtkentry.c: Fix an expose loop caused by raising windows out - of an expose handler. Also, don't show the 'Caps Lock' warning for - activated input methods, since that makes it permanently shown - for some locales. It should not be that necessary, now that we - do show preedit text even in password entries. Pointed out by - Frederic Crozat. - (start_loading_current_folder): Check if the folder to be loaded - is non-native for the local_only=TRUE case; if so, return an error - as we are configured to load only local folders. - (reload_current_folder): Pass on errors from - start_loading_current_folder(). Tighten the preconditions, as we - are sure that we can only receive non-NULL folder-files to load. - (refresh_current_folder_and_file_part): Pass on errors from - reload_current_folder(). At the very end, assert the invariant - described above. - (start_explicit_completion): Add comments for translators, to - explain the purpose of the various feedback messages used during - completion. - -2009-01-21 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (save_widgets_create): Set - local_only on the location entry when we create it... - (set_local_only): ... and set it here only if the location entry - exists. - -2009-01-21 Marek Kasik - - Bug 561801 - "scheduled printing" doesn't function as expected - - * gtk/gtkprintunixdialog: Add tooltip. - * modules/printbackends/cups/gtkprintbackendcups.c: Add conversion - from local time to utc time for scheduled printing. - -2009-01-20 Federico Mena Quintero - - http://bugzilla.gnome.org/show_bug.cgi?id=545980 - - GtkFileChooserEntry should handle URIs - - * gtk/gtkfilesystem.c (_gtk_file_system_parse): Detect URI schemes - and parse the full URI. - (has_uri_scheme): New function, stolen from the old - gtkfilesystemgnomevfs.c. - - Patch by Carlos Garnacho : - - * gtk/gtkfilechooserentry.c (discard_current_folder): New - function, factored out for when we need to get rid of the - current_folder. - (gtk_file_chooser_entry_dispose): Use discard_current_folder(). - (finished_loading_cb): Fix prototype. - (load_directory_get_folder_callback): Discard the completion - store, as well as clearing the completion feedback, if we find an - error while loading the folder. Also, use - discard_current_folder(). - (reload_current_folder): Use discard_current_folder(). - - Patch by Carlos Garnacho - add a local_only - property to GtkFileChooserEntry: - - * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Add a - local_only field. - (_gtk_file_chooser_entry_init): Default to local_only being true. - (start_explicit_completion): Don't allow completion of non-native - files if local_only is turned on. - (start_loading_current_folder): Don't start loading non-native - folders if local_only is turned on. - (_gtk_file_chooser_entry_set_local_only): New function. - (_gtk_file_chooser_entry_get_local_only): New function. - - * gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_set_local_only, - _gtk_file_chooser_entry_get_local_only): New prototypes. - - * gtk/gtkfilechooserdefault.c (set_local_only): Set the local_only - property on the entry. - - Fix completion so it doesn't pop up for every character in a URI - hostname: - - * gtk/gtkfilechooser.h (GtkFileChooserError): Add a - GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME. - - * gtk/gtkfilesystem.c (_gtk_file_system_parse): Return an - "incomplete hostname" error if the user has not typed a full - hostname yet in an URI. - - * gtk/gtkfilechooserentry.c (append_common_prefix): If we get an - incomplete hostname, just don't pop up an error, since that is a - transient state and the user doesn't need to be notified about it. - (refresh_current_folder_and_file_part): Don't revert to showing - the base folder if we have an incomplete hostname. - (reload_current_folder): Handle the passed folder being NULL, even - if we must force a reload. Also, reload the folder if we didn't - have a cancellable for it (i.e. we hadn't started to load it - before). - -2009-01-20 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkaction.[hc]: Add setters and getters for GtkAction - properties, in preparation for bug 560228. - -2009-01-21 Christian Dywan - - Bug 567413 – GtkComboBoxEntry doesn't emit "changed" signal - on entry editing - - * gtk/gtkcombobox.c (gtk_combo_box_set_active): Return only if index - is set. Patch by Carl-Anton Ingmarsson. - -2009-01-20 Torsten Schoenfeld - - * gtk/gtkstyle.c: Add a "Since: 2.16" tag to gtk_style_get. - -2009-01-20 Matthias Clasen - - Bug 565656 – Add marks to scales - - * gtk/gtkrange.[hc]: Add internal api to define 'stop values' - that have a little resistance when dragging the slider over it. - - * gtk/gtk.symbols: - * gtk/gtkscale.[hc] (gtk_scale_add_mark): New function to add - a 'mark' to a scale, which will draws a tick, plus optionally - some text, and makes the value a stop value. - (gtk_scale_clear_values): Removes all marks. - - * tests/testscale.c: Test for marks on scales - * tests/Makefile.am: Integrate it - -2009-01-19 Matthias Clasen - - * gtk/gtkentry.c: - * gtk/gtkfilechooserentry.c: - * gtk/gtktextview.c: Replace several implementation of - blank cursor setting by GDK_BLANK_CURSOR. - -2009-01-19 Matthias Clasen - - * gdk/gdkcursor.c: - * gdk/gdkwindow.c: Update docs on how to create blank cursors. - -2009-01-19 Matthias Clasen - - Cache cursors to avoid libXcursor theme lookup overhead. - Patch by David Alan Gilbert. - - * gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type. - - * gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors. - - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a - display if finalized. - -2009-01-18 Matthias Clasen - - Bug 568263 – gtk can't recognize the wrong X Selection TARGETS' - type "TARGETS" by java applications - - * gtk/gtkselection.c (gtk_selection_data_get_targets): Accept - a type of TARGETS instead of ATOM, too. Based on a patch by - Peng Wu. - -2009-01-18 Matthias Clasen - - Bug 568233 – Wrong statement about GtkEntry's "activate" signal - - * gtk/gtkentry.c: - * gtk/gtklabel.c: - * gtk/gtktextview.c: Correct some copy-and-paste mistakes in - keybinding signal docs. Pointed out by Pascal Terjan. - -2009-01-18 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkentry.[hc]: Add properties and getters for icon tooltips. - -2009-01-18 Matthias Clasen - - Bug 563280 – stock items & translation context - - * gtk/gtkstock.c: Solve the msgctxt problem a bit more - elegantly, and add some hints about this to the docs of - gtk_stock_set_translate_func. Proposed by Christian Persch - -2009-01-18 Matthias Clasen - - Bug 568196 – Please change context of Forward stock label - - * gtk/gtkstock.c: Reinstate separate translation contexts for - navigation and media labels (these were lost in the transition - to msgctxt. Pointed out by Gabor Kelemen. - -2009-01-18 Matthias Clasen - - Bug 567887 – gtk_entry_get_storage_type() should be - gtk_entry_get_icon_storage_type() - - * gtk/gtk.symbols: - * gtk/gtkentry.[hc]: Use the last chance to get the api right, - and rename things for consistency, requested by Murray Cumming. - In detail, - gtk_entry_get_stock -> gtk_entry_get_icon_stock - gtk_entry_get_pixbuf -> gtk_entry_get_icon_pixbuf - gtk_entry_get_gicon -> gtk_entry_get_icon_gicon - gtk_entry_get_storage_type -> gtk_entry_get_icon_storage_type - ::prelight -> ::icon-prelight - ::pixbuf-primary -> ::primary-icon-pixbuf - ::stock-primary -> ::primary-icon-stock - ::icon-name-primary -> ::primary-icon-name - ::gicon-primary-> ::primary-icon-gicon - ::storage-type-primary -> ::primary-icon-storage-type - ::activatable->primary -> ::primary-icon-activatable - ::sensitive-primary -> ::primary-icon-sensitive - (and similar for secondary properties) - -2009-01-18 Matthias Clasen - - Bug 567655 – gtk_status_icon_set_tooltip_text and - gtk_status_icon_set_tooltip_markup should use gchar* - - * gtk/gtkstatusicon.h: Use "const gchar*" in new tooltip api. - Pointed out by Torsten Schoenfeld. - -2009-01-18 Matthias Clasen - - * demos/gtk-demo/search_entry.c: End the search if the window - is closed. - - * demos/gtk-demo/search_entry.c: - * demos/gtk-demo/entry_completion.c: Group the entry examples - under "Entry". - -2009-01-18 Christian Dywan - - Remove a redundant include from gtktoolbar.c - - * gtk/gtktoolbar.c: Remove second inclusion of gtktoolbar.h. - Patch by Enrico Tröger. - -2009-01-16 Cody Russell - - Bug 567944 – [Win32] Sorted treeview columns can be unreadable - - * modules/engines/ms-windows/msw_style.c: Draw selected treeview - cells according to treeview focus, but ignore whether it is in - a sorted column or not. Otherwise the intersection of a selected - row and a sorted column looks very strange if the treeview does - not have focus. - -2009-01-16 Daniel Elstner - - * modules/input/gtkimcontextmultipress.[ch]: Remove the namespace - prefix from functions defined locally only. Clean up the code and - change indentation to match the GTK+ coding style. - (_GtkImContextMultipress::key_sequences): Replace array of pointers - by GHashTable. Adapt the implementation accordingly. - (passthrough_enabled_for_window): Remove. The passthrough hack is - no longer necessary thanks to the recently introduced "im-module" - property of GtkEntry and GtkTextView. - (load_config): Rework to implement an improved configuration file - format. Just fetch all keys of the group instead of expecting the - keys to be named a certain way. This also allows interpreting the - config key itself as the GDK key name to bind the character sequence - to, thereby making it independent of the sequence itself. - - * modules/input/im-multipress.conf: New example configuration using - the new syntax. The example sequences are now bound to the numeric - keypad and imitate the behavior of a standard mobile phone. - -2009-01-15 Murray Cumming - - * gtk/gtkimcontext.c: documentation description: Mention the various - properties and the environment variable, with links to their - documentation. - * gtk/gtksettings.c: - * gtk/gtktextview.c: Make the im-module property documentation more - expansive. - -2009-01-15 Diego Escalante Urrelo - - Bug 562701 – GtkEntryCompletion popup sizes its rows wrong - when they span for more than one line. - - Don't assume actions and results have equal height, this causes - negative size requisitions when results are more than one - line tall. - - * gtk/gtkentrycompletion.c: change the formula used to calculate - the size of the completion popup. - -2009-01-14 Federico Mena Quintero - - Remember the file chooser's geometry across invocations. - - * gtk/gtkfilechoosersettings.h (struct _GtkFileChooserSettings): - New fields geometry_x, geometry_y, geometry_width, geometry_height. - (_gtk_file_chooser_settings_get_geometry): New prototype. - (_gtk_file_chooser_settings_set_geometry): New prototype. - - * gtk/gtkfilechoosersettings.c (GEOMETRY_X_KEY, GEOMETRY_Y_KEY, - GEOMETRY_WIDTH_KEY, GEOMETRY_HEIGTH_KEY): New key names. - (ensure_settings_read): Read the geometry keys. - (_gtk_file_chooser_settings_save): Save the geometry keys. - (_gtk_file_chooser_settings_init): Initialize the geometry keys to - "don't have this value". - (_gtk_file_chooser_settings_get_geometry): New public function. - (_gtk_file_chooser_settings_set_geometry): New public function. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_map): - Don't change the default size in ::map() so we don't flicker... - (gtk_file_chooser_default_realize): ... so do it in ::realize() - instead, when the window is not yet visible. This avoids a - dialog-that-resizes when you first pop up the file chooser. - (emit_default_size_changed): Just emit the signal; don't check for - the widget's state so we can be emitted during the initial - ::realize() when we are not mapped yet. - (update_preview_widget_visibility): Only emit default_size_changed - if the widget is not mapped, to avoid resizing the dialog while it - is visible. - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_default_size_changed): Simply resize the - dialog to the default size without any fancy clamping. Also, - leave in place ifdef-ed out code to restore the file chooser's - position in addition to its size. The code to restore the - position doesn't quite work yet, but we'll leave it in as a - reference. - - * gtk/gtkfilechooserdefault.c (save_dialog_geometry): New function. - (settings_save): Save the dialog's geometry. - (gtk_file_chooser_default_get_default_size): Load the geometry - from the settings. If it was already saved, return that instead - of computing an ad-hoc size. - -2009-01-13 Matthias Clasen - - Bug 450716 – New API to change global IM - - Requested by Daniel Elstner. - - * gtk/gtk.symbols: - * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_set_context_id): - New function to set the context id on a GtkIMMulticontext. - - * gtk/gtkentry.c: - * gtk/gtktextview.c: Add a ::im-module property that can be - set to override the global setting for the im module to be used. - -2009-01-13 Christian Dywan - - Bug 566532 – GtkScaleButton implementation of GtkOrientable - - * gtk/gtk.symbols: - * gtk/gtkscalebutton.c (gtk_scale_button_class_init), - (gtk_scale_button_set_property): - * gtk/gtkscalebutton.h: Deprecate gtk_scale_button_get_orientation - in favour of implementing GtkOrientable. Patch by Bruce Cowan. - -2009-01-13 Tor Lillqvist - - Bug 164002 - query scripts don't work uninstalled on windows - - * gtk/gtkmain.c (_gtk_get_libdir): If the gtk DLL is in a ".libs" - folder, assume we are running uninstalled, and use the - configure-time GTK_LIBDIR. - -2009-01-12 Matthias Clasen - - * NEWS: Refer to tray icon spec, instead of a random email. - -2009-01-12 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_set_icon_name): Don't cause lots - of X traffic when the icon name doesn't actually change. Some - apps like to reset their window icon frequently, without actually - changing the icon name... - -2009-01-12 Paolo Borelli - - Bug 492794 – Pasting external text at end of view yields wrong - scrolling to mark - - * gtk/gtktextbuffer.[ch]: - * gtk/gtktextview.c: - Add a "paste-done" signal and use it to propelry scroll the - view at the end of the pasted text in the case of an async - paste. Patch by Ignacio Casal Quintero based on a patch by - Yevgen Muntyan. - -2009-01-12 Tor Lillqvist - - * gdk/gdk.c (gdk_arg_debug_cb) (gdk_arg_no_debug_cb): A - GOptionArgFunc should return gboolean and take also a GError - pointer parameter, so make these two functions do that. Return - FALSE (and set the GError) if the parsing of the debug string - failed completely. Note that g_parse_debug_string() doesn't really - have any way to return parsing status, and accepts partially - incorrect strings, though. - -2009-01-12 Claudio Saavedra - - Bug 567468 – no check for trailing != NULL in - gtk_text_layout_get_iter_at_position() - - * gtk/gtktextlayout.c: (gtk_text_layout_get_iter_at_position): - Check for trailing to be non-NULL. - * gtk/gtktextview.c: (gtk_text_view_get_iter_at_position): document - that trailing may be NULL. - -2009-01-11 Tor Lillqvist - - Bug 523554 - Copy from GIMP to Word broken - - * gdk/win32/gdkselection-win32.c - (_gdk_win32_selection_convert_to_dib): The DIB stored in the - Windows Clipboard was for some unknown reason truncated by one - byte. Don't do that. - -2009-01-11 Matthias Clasen - - Bug 567024 – gtktoolbutton doesn't create right proxy menu item - image with GIcon - - * gtk/gtktoolbutton.c: Properly create a menu proxy from a GIcon. - Patch by Christian Persch - - * tests/testtoolbar.c: Add an example with a GIcon - -2009-01-09 Christian Dywan - - Fail in gdk_window_new if _gdk_window_new failed - - * gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail - in case _gdk_window_new is NULL. Approved by Tim Janik - -2009-01-08 Matthias Clasen - - Bug 566733 – Add GIcon to GtkAction, GtkToolButton - - * gtk/gtkaction.c: Add a ::gicon property to GtkAction and set the - icon from it if specified. The stock icon is preferred if a stock id - is given. Based on a patch by A. Walton - -2009-01-04 Matthias Clasen - - * gtk/stock-icons/{16,24}/gtk-caps-lock-warning.png: New icons - * gtk/gtkstock.h: Add GTK_STOCK_CAPS_LOCK_WARNING. - * gtk/gtkiconfactory.c (get_default_icons): Register the stock icon. - * gtk/gtkentry.c (show_capslock_feedback): Use the new stock icon. - -2009-01-05 Tor Lillqvist - - Bug 566628 - gdk_display_close always asserts on win32 - - * gdk/win32/gdkdisplay-win32.c - (_gdk_windowing_set_default_display): Allow also a NULL parameter - in the g_assert(). Still don't actually do anything in this - function, though. - -2009-01-04 Matthias Clasen - - Bug 566568 – gtk_tree_model_get_value docs typo - - * gtk/gtktreemodel.c (gtk_tree_model_get_value): Fix a typo - in the docs, pointed out by Christian Persch. - -2009-01-04 Matthias Clasen - - Bug 566391 – gtk_about_dialog_set_url_hook should activate - pre-existing website links - - * gtk/gtkaboutdialog.c: Make setting website, website-label and - url hook work independent of their order. Reported by Steven - Sheehy. - -2009-01-03 Matthias Clasen - - * gdk/x11/gdkscreen-x11.h: - * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): Recheck - _NET_SUPPORTING_WM_CHECK every now and then to avoid getting - stuck on the id of a former wmcheck window that got reused by - another client (see RH bug 471927) - -2009-01-03 Matthias Clasen - - * gtk/gtktreesortable.c: Improve the docs - - * gtk/gtktreemodelsort.c: Don't assert when using the "unsorted" - sort column id. - -2009-01-02 Matthias Clasen - - Bug 565998 – configure script doesn't check for cairo-xlib.pc - - * configure.in: Check for cairo-xlib when looking for - gdk dependencies. Requested by Alberto Ruiz - -2009-01-02 Matthias Clasen - - Bug 566334 – compile failure for gtk+ on Mac OS X - - * gtk/gtkstatusicon.c: Fix the build on OS X. - Reported by Bart Cortooms. - -2009-01-02 Matthias Clasen - - Bug 566083 – Icon pixmap hardcoded during DnD - - * gtk/gtkwidget.c: - * gtk/gtkentry.c: Add docs about using ::drag-begin for setting - a custom drag icon. Reported by Xan Lopez - -2009-01-01 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.15.0 === - -2009-01-01 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_set_icon_sensitive): Fix default - value - - * gtk/tests/builder.c: Clean up asserts, make domain - test work with current GtkBuilder behaviour. - - * Makefile.decl: Start Xvfb with -ac -noreset to try - and get the gui tests working. - -2009-01-01 Matthias Clasen - - * gtk/gtk.symbols: Add a few forgotten symbols - * gtk/gtkprintoperation.c: - * gtk/gtktrayicon-x11.c: Make some functions static - -2008-12-31 Matthias Clasen - - * NEWS: Updates - -2008-12-31 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkruler.[hc]: Some more - -2008-12-31 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkpaned.[hc]: - * gtk/gtkscale.[hc]: - * gtk/gtkscrollbar.[hc]: - * gtk/gtkseparator.[hc]: Keep these all abstract for now. - -2008-12-30 Matthias Clasen - - * gtk/gtkentry.c: Rename the icon signals to ::icon-press and - ::icon-release to avoid clashes with the existing SexyIconEntry - signals. Also annotate the GdkEvent parameters as static-scope. - - * tests/testentryicons.c: Adapt - * demos/gtk-demo/search-entry.c: Adapt - -2008-12-30 Matthias Clasen - - Bug 565846 – "va_end(args);" should be added into gtk_tree_store_new - - * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing - va_end() call. Pointed out by Jiwon Lee. - -2008-12-30 Matthias Clasen - - * gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size, - replace get_icon_allocation by get_icon_allocations, don't - pass allocation to place_windows; other stylistic changes to - the icon-related code. - -2008-12-30 Matthias Clasen - - * gtk/gtkentry.c: Avoid size allocation loops. - -2008-12-30 Matthias Clasen - - * gtk/gtkentry.c: Fix errors in property definitions and - get_property implementation. - -2008-12-30 Matthias Clasen - - * gtk/gtkentry.c: Redo the Caps Lock warning using an icon. - -2008-12-30 Matthias Clasen - - Bug 558694 – Paned window splitter keynav broken - - * gtk/gtkpaned.c (get_child_panes): Don't add unrealized - widgets. - -2008-12-30 Matthias Clasen - - * gtk/gtkstyle.c: - * gtk/gtkmenutooltbutton.c: - * gtk/gtkprintoperationpreview.c: Doc additions - -2008-12-29 Matthias Clasen - - * gtk/gtkiconview.c: - * gtk/gtklabel.c: - * gtk/gtkentry.c: - * gtk/gtktextview.c: - * gtk/gtkeditable.c: - * gtk/gtktextbuffer.c: Doc additions. - -2008-12-29 Tor Lillqvist - - * gtk/gtk.symbols: Add missing symbols from gtkentry.c. - -2008-12-28 Matthias Clasen - - * gtk/gtkwindow.c: - * gtk/gtkstyle.c: Doc additions - -2008-12-28 Matthias Clasen - - * gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new. - -2008-12-28 Matthias Clasen - - * gtk/gtkwidget.c: Document gtk_mnemonic_activate. - -2008-12-28 Matthias Clasen - - * gtk/gtktextlayout.c: Un-doc-commentize non-public api - -2008-12-28 Matthias Clasen - - * gtk/gtkprogress.h: Fix a typo - -2008-12-28 Matthias Clasen - - * gtk/gtkhsv.c: - * gtk/gtkentry.c: Doc fixes - -2008-12-28 Matthias Clasen - - * gtk/gtkwidget.c: - * gtk/gtktextutil.c: Un-doc-commentize non-exported functions - to make gtk-doc happy. - -2008-12-28 Matthias Clasen - - * gtk/gtkscale.c: - * gtk/gtkimagemenuitem.c: Doc fixes - -2008-12-28 Matthias Clasen - - * gtk/gtkeditable.h: Match parameter names to make gtk-doc happy. - -2008-12-28 Matthias Clasen - - * tk/gtkfontsel.c: Merge docs inline. - -2008-12-28 Matthias Clasen - - * gtk/gtkprintsettings.c: - * gtk/gtkbindings.c: - * gtk/gtkstyle.c: Doc fixes - -2008-12-28 Matthias Clasen - - * gtk/gtkscrolledwindow.c: - * gtk/gtkscale.c: Merge docs inline. - -2008-12-28 Ryan Lortie - - small fix for "Paned Window Widgets" example - - * docs/tutorial/gtk-tut.sgml: use gtk_container_add rather than - add_with_viewport for putting a GtkTreeView into a ScrolledWindow - - Spotted by Benjamin Herrenschmidt - -2008-12-28 Matthias Clasen - - * gtk/gtkimmodule.c: - * gtk/gtkseparatortoolitem.c: Doc fixes - - * gtk/gtkfontsel.c: - * gtk/gtkeditable.c: Merge docs inline. - -2008-12-28 Matthias Clasen - - * gtk/gtkhsv.c: - * gtk/gtkwidget.c: - * gtk/gtkaccelgroup.c: Documentation fixes - - * gtk/gtkstatusicon.c: - * gtk/gtkentry.c: - * gtk/gtkeditable.[hc]: Make parameter names match to make gtk-doc - happy. - -2008-12-27 Matthias Clasen - - * gtk/gtkentry.c: Expand the docs some more. - -2008-12-26 Matthias Clasen - - * gtk/gtkentry.c: Don't emit ::icon-pressed on nonactivatable - icons. Fix up docs to match actual api. - - * tests/testentryicons.c: Reshuffle tests a bit. Add a DND test. - -2008-12-26 Matthias Clasen - - * gtk/gtkentry.c: Fix interaction between icons and widget sensitivity. - Also fix a few typos. - - * tests/testentryicons.c: Add property editors. - * tests/Makefile.am: Glue - -2008-12-26 Matthias Clasen - - * gtk/gtkentry.c: Allow builtin icons when loading themed icons, - and don't leak a GtkIconInfo. - -2008-12-26 Matthias Clasen - - * gtk/gtkentry.c: Emit ::icon-pressed regardless which button was - pressed. Also make it explicit in the signal signature that the - position parameter is a GtkEntryIconPosition. - -2008-12-26 Matthias Clasen - - * gtk/gtkentry.c: Emit property notification for the text-length - property. - -2008-12-26 Matthias Clasen - - * demos/gtk-demo/search_entry.c: Add a demo for new entry features. - * demos/gtk-demo/Makefile.am: Glue - -2008-12-25 Matthias Clasen - - * gdk/gdkapplaunchcontext.c: - * gdk/gdkkeys.c: - * gdk/x11/gdkdnd-x11.c: - * gdk/x11/gdkkeyx-x11.c: - * gdk/x11/gdktestutils-x11.c: Typo fixes and other small - doc improvements. - -2008-12-23 Li Yuan - - * gtk/gtkiconview.c: (gtk_icon_view_accessible_model_row_changed): - Bug #549251. No need to set name if there is no a11y item object. - -2008-12-21 Yair Hershkovitz - - Bug 565203: RTL locales: icons are misplaced when horizontal - gtkiconview is contained in a gtkscrolledwindow. - - * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): - Fix horizontal icon positions when in RTL locale. - -2008-12-19 Matthias Clasen - - * NEWS: Update - -2008-12-19 Matthias Clasen - - Bug 564881 – gtkstatusicon.c: 'event' bug again - - * gtk/gtkstatusicon.c (button_callback): Fix the build. - Patch by Christian Dywan. - -2008-12-19 Cody Russell - - Bug 85292 – add an icon to gtkentry - - * gtk/gtkmarshalers.list: Add VOID:INT,BOXED - * tests/testentryicons.c: Initial icon entry test - * tests/Makefile.am: Add testentryicons - * gtk/gtkentry.[ch]: Add API for setting primary/secondary icons - and other features related to them. - -2008-12-19 Marek Kasik - - Bug 339318 - Allow page rendering to (optionally) happen in a thread - - * gtk/gtk.symbols: API change - * doc/reference/gtk/gtk-sections.txt: API change - * gtk/gtkprintoperation-private.h - * gtk/gtkprintoperation.h - * gtk/gtkprintoperation.c: Adds 2 new functions - gtk_print_operation_set_defer_drawing() - - Sets up the GtkPrintOperation to wait for calling of - gtk_print_operation_draw_page_finish() from application. It can - be used for drawing page in another thread. - This function must be called in the callback of "draw-page" - signal. - gtk_print_operation_draw_page_finish() - - Signalize that drawing of particular page is complete. - It is called after completion of page drawing (e.g. drawing - in another thread). - If gtk_print_operation_set_defer_drawing() was called before, - then this function has to be called by application. In another - case it is called by the library itself. - -2008-12-15 Matthias Clasen - - * gtk/gtkprintunixdialog.c: Don't export emit_ok_response - -2008-12-15 Tomas Bzatek - - * gtk/gtkfilechooserdefault.c: (list_row_activated): - * gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory): - Mask G_FILE_TYPE_SHORTCUT as a directory (#561494) - -2008-12-13 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): - Mount the enclosing volume if the folder we're switching to is not - mounted. Patch by Tomas Bzatek, based on work by Carlos Garnacho - -2008-12-13 Matthias Clasen - - Bug 561494 – FileChooser network browsing and authentication support - - * gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory): - Privately export this method. It classifies directories and mountables - the same. - - * gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop - G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible - mounts. - - * gtk/gtkfilesystemmodel.c: - * gtk/gtkfilechooserbutton.c: - * gtk/gtkfilechooserentry.c: - * gtk/gtkfilechooserdefault.c: Use the new function instead of - direct checks for G_FILE_TYPE_DIRECTORY throughout. - -2008-12-13 Matthias Clasen - - Bug 562579 – Remove error dialog when directory does not exist - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): - Don't show an error dialog when changing to a non-existing folder, - since this is ususally just an annoyance. - -2008-12-13 Matthias Clasen - - Bug 556233 – local-only causes G_IS_FILE warning - - * gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning - in tests. Patch by Christian Dywan - -2008-12-13 Matthias Clasen - - Bug 563158 – CellRendererProgress pulsing and progressing rows can - not be used together - - * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse): - Don't try to keep state in a cell renderer between two paint - calls. It doesn't work. Patch by Kristian Mueller - -2008-12-13 Matthias Clasen - - Bug 555560 – gtk_combo_box_set_active fails with no model - - * gtk/gtkcombobox.c: Allow out-of-order setting of model and active. - Patch by Christian Dywan - -2008-12-13 Matthias Clasen - - Bug 558306 – Cannot build gdk (gtk+ 2.14.4) on Solaris 8 - - * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button): - Remove a C99ism. Pointed out by Eric Lamarque - -2008-12-13 Matthias Clasen - - Bug 549251 – GTK icon view accessible issue. - - * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed): - Handle separate append/set for rows. Patch by Li Yuan - -2008-12-13 Matthias Clasen - - Bug 556839 – Crash when opening a link - - * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the - image too. Patch by Carlos Garcia Campos - -2008-12-13 Matthias Clasen - - Bug 563751 – xatom cache is prefilled too late - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the - XAtom cache earlier. Patch by Christian Persch - -2008-12-13 Matthias Clasen - - Bug 564212 – gtk_icon_view_accessible_model_rows_reordered explain - new_order in the wrong way - - * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered): - Use the new order correctly. Patch by Li Yuan - -2008-12-13 Matthias Clasen - - Bug 563835 – Typo in gtk_widget_has_screen() docs - - * gdk/directfb/gdkwindow-directfb.c: - * gdk/gdkwindow.c: - * gdk/x11/gdkwindow-x11.c: - * gtk/gtkmenushell.c: - * gtk/gtkwidget.c: - * gtk/tests/builder.c: - * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments. - Pointed out by Wouter Bolsterlee - -2008-12-12 Matthias Clasen - - Bug 564066 – Crash in gtk_rc_parse_default_files - - * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called - early. Bug report by Andrés G. Aragoneses - -2008-12-12 Matthias Clasen - - * gtk/gtkmountoperation.c: Set an empty title on password dialogs. - Pointed out by Máirín Duffy. - -2008-12-11 Sven Herzberg - - Document the "set-scroll-adjustments" signal - - Reviewed by Kristian Rietveld. - - * gtk/gtkiconview.c, - * gtk/gtklayout.c, - * gtk/gtktextview.c, - * gtk/gtktreeview.c, - * gtk/gtkviewport.c: added proper documentation for the signal - -2008-12-11 Daniel Elstner - - Bug 563994 – Input method module interface not documented - - * gtk/gtkimcontext.h: Add public/private markers. - * gtk/gtkimcontext.c: Add section documentation which explains how - to add a new input method module to GTK+. Document the signals and - virtual functions of GtkIMContextClass. - * gtk/gtkimmodule.c: Document struct GtkIMContextInfo. - * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and - GtkIMContextInfo to section GtkIMContext. - * docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove - gtkimmodule.h from the list in order to pick up GtkIMContextInfo. - * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from - repository since all the hand-edited content has been migrated to - source file comments. - -2008-12-10 Matthias Clasen - - Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated - -- but what should be used instead? - - * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation. - -2008-12-10 Daniel Elstner - - Maintenance of Multipress input method by Openismus GmbH: - - * modules/input/gtkimcontextmultipress.[ch]: Clean up the code - a bit to follow the GTK+ coding style more closely. Fix the code - to emit "preedit-start" and "preedit-end", too, rather than only - "preedit-changed". - (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros - gtk_im_context_multipress*. Shouldn't break API or ABI as it's - only used internally. - * modules/input/immultipress.c: More cleanup, - * modules/input/README.multipress: ditto. - -2008-12-09 Michael Natterer - - * gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED. - -2008-12-09 Michael Natterer - - * gtk/gtkcontainer.c (struct PackingPropertiesData): add missing - semicolon. - - * gtk/gtkcontainer.c (attributes_text_element): "value" is a - gchar*, not const gchar*. - -2008-12-07 Matthias Clasen - - Bug 546378 – GtkAssistant page title is not translatable - - * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain() - useful for subparsers. - - * gtk/gtkcontainer.c: Make the child property parser support - translatable child properties. Patch by Antti Kaijanmäki - -2008-12-07 Matthias Clasen - - Bug 554274 – Add default hook for GtkLinkButton - - * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has - been set. Patch by Emmanuele Bassi - -2008-12-07 Matthias Clasen - - Bug 559325 – documentation for gdk_display_get_window_at_pointer() -: is wrong - - * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct - the documentation. Patch by Paul Davis - -2008-12-07 Matthias Clasen - - Bug 563285 – test print backend does not compile - - * modules/printbackends/test/gtkprintbackendtest.c: Clean up - includes. - -2008-12-07 Behdad Esfahbod - - Bug 563547 – Update gdkx11 atom precache table - - * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache. - -2008-12-05 Michael Natterer - - Bug 546285 – Allow GtkEntry to draw progress - - * gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which - allows to set the entry's progress_fraction, its progress_pulse_step - and to let the entry's progress pulse. - - * gtk/gtk.symbols: updated. - - * tests/testgtk.c: add progress demo code to the "Entry" window. - -2008-12-04 Johan Dahlin - - * gtk/gtkstatusicon.c: - Add missing space in gtk-doc deprecated syntax - -2008-12-03 Simos Xenitellis - - Bug 557420 – Some compose sequences don't work anymore (or only in - a specific order) - - * gtk/gtkimcontextsimple.c: Update of table size, keysym boundary, - to match the gtkimcontextsimpleseqs.h table. - * gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose - sequences that went missing due to table update with upstream. - * gtk/compose-parse.py: Updated to include gtk-compose-lookaside.txt - * gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that - are not found in the X.Org Compose file. - -2008-12-03 Sven Herzberg - - Bug 562998 – GtkFontButton documentation improvements - - * gtk/gtkfontbutton.c: mention the way the font string should be used. - Patch by Sven Herzberg and Nelson Benitez - -2008-12-03 Marek Kasik - - Bug 559914 – eog doesn't apply paper setup. - - * gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width - and height in points. - -2008-12-02 Carlos Garcia Campos - - Bug 562878 – password save incorrectly set in gtkmountoperation - - * gtk/gtkmountoperation.c (remember_button_toggled), - (gtk_mount_operation_ask_password): Remember the password save - flags only when the radio button becomes active. Set also the - default state of the radio buttons depending on the current value - of password save flags. - -2008-12-01 Matthias Clasen - - Bug 555334 – connected server feature - - * gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts. - Patch by David Zeuthen. - -2008-12-01 Matthias Clasen - - * gtk/gtkentry.c: Revert an accidental change that sneaked - in with the last commit. - -2008-12-01 Paul Bolle - - Bug 562817 – GtkDialog: typo - - * gtk/gtkdialog.c: Fix typo - -2008-11-29 Matthias Clasen - - Bug 554453 – "typeahead find" widget of GtkTreeView appears on - wrong monitor in a multi-head environment - - * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): - Make sure the typeahead window follows screen changes of the - treeview. Noticed by Rainer Stransky - -2008-11-30 Christian Dywan - - Bug 559622 – GdkDevice test segfaults - - * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): - * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose): - Free and reset device in dispose. Patch by Michael Natterer and myself. - -2008-11-30 Christian Dywan - - Bug 554076 – eventually release g_new-ed supported_atoms - - * gdk/x11/gdkevents-x11.c (cleanup_atoms), - (gdk_x11_screen_supports_net_wm_hint): Set cleanup callback. - Patch by Caolan McNamara. - -2008-11-30 Christian Dywan - - Bug 539263 – Deprecate gdk_window_get_toplevels - - * gdk/gdkwindow.c: - * gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels - -2008-11-29 Federico Mena Quintero - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are - enabled, flip them around for the right-to-left case. Fixes - https://bugzilla.novell.com/show_bug.cgi?id=447004. Patch by - Ricardo Cruz - -2008-11-29 Christian Persch - - * gtk/gtkselection.c: Typo fix. - -2008-11-29 Matthias Clasen - - * gtk/gtkselection.c: - * gtk/gtkentry.c: - * gtk/gtkdnd.c: - * gtk/gtkcolorsel.c: - * gtk/gtkbindings.c: Improve deprecation annotations. - -2008-11-26 Christian Dywan - - Bug 561504 – testgtk should load rc file from sub folder - - * tests/testgtk.c (main): - Make testgtk look in subfolder and warn if not found - -2008-11-25 Johan Dahlin - - Bug 559947 – Unchecked dependency on python>=2.4 - - * gtk/gtk-builder-convert: - Avoid using sorted() which is only present in python 2. - -2008-11-24 Tristan Van Berkom - - * gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations - fall short of border width and padding. - -2008-11-22 Paul Bolle - - Bug 561335 - Fix typos in GtkToolItem documentation - - * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation - -2008-11-21 Matthias Clasen - - * configure.in: Bump gtk-doc dependency to 1.11 for - nicer index-generation. - -2008-11-21 Matthias Clasen - - * gtk/gtkmountoperation.[hc]: Declare structs in a way that - gtk-doc understands. - -2008-11-17 Christian Dywan - - Bug 377699 – realizing gtk.Progress() causes SEGV - - * gtk/gtkprogress.c: Define GtkProgress as an abstract type - -2008-11-13 Christian Dywan - - Bug 560602 – Wrong GtkMenuItem default value (test fails) - - * gtk/gtkmenuitem.c (gtk_menu_item_class_init): - Correct default "label" value to "" - -2008-11-12 Christian Dywan - - Bug 560139 – GtkEntry doesn't paint with the right state - - * gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame), - (gtk_entry_expose): Reflect the right state if state-hint is set - -2008-11-12 Christian Dywan - - Bug 559619 – invisible-char default cannot be tested - - * gtk/tests/defaultvalue.c (test_type): - Skip invisible-char when testing - -2008-11-12 Richard Hult - - * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement, - patch from Paul Davis. - -2008-11-12 Christian Dywan - - Bug 525550 – GTK+ 2.13.0 GtkCurve test fails - - * gtk/tests/object.c (list_ignore_properties), - (object_test_property), (main): Ignore GtkCurve when testing - -2008-11-12 Richard Hult - - Bug 550942 – [patch] Rework of gdkeventloop-quartz.c - - * gdk/gdk.c: - * gdk/gdkinternals.h: Add eventloop debug facility. - * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz - mainloop integration, patch from Owen Taylor. See bug #550942 for - the details. - -2008-11-12 Richard Hult - - Bug 558586 – handling of keyboard under darwin (quartz) - - * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the - new API when building on 64-bit, since there are still old non-xml - layouts used out there we don't want to break them. (For 64-bit - those layouts doesn't work so we don't have a choice there.) - -2008-11-11 Matthias Clasen - - * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers. - -2008-11-11 Michael Natterer - - Bug 553765 – Add orientation API to GtkRange - - * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add - evil code that makes sure that the stepper_detail and slider_detail - set in GtkRangeClass continue to work with the hacked subclasses - below. - - * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale - and add gtk_scale_new() and gtk_scale_new_with_range() which take - a GtkOrientation argument. Set slider_detail to "Xscale" so above - evil code works. - - * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a - GtkOrientation argument. Set stepper_detail to "Xscrollbar" so - above evil code works. - - * gtk/gtkhscale.c - * gtk/gtkvscale.c - * gtk/gtkhscrollbar.c - * gtk/gtkvscrollbar.c: remove all code except the constructor and - call gtk_orientable_set_orientation() in init(). - - * gtk/gtk.symbols: changed accordingly. - -2008-11-11 Michael Natterer - - * gtk/gtktoolbar.h: move deprecated functions together, move - setters and getters together, some indentation cleanup. - -2008-11-11 Michael Natterer - - * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface - and deprecate gtk_toolbar_get,set_orientation(). - - * gtk/gtk.symbols: changed accordingly. - -2008-11-10 Marek Kasik - - Bug 560135 - Print when the user double clicks a printer - - * gtk/gtkprintunixdialog.c: add handling of double click to - GtkPrintUnixDialog. - -2008-11-07 Michael Natterer - - * gtk/gtkpaned.c: argh, actually call the newly added private - gtk_paned_calc_position() instead of the deprecated public - version. - -2008-11-07 Michael Natterer - - Bug 553586 – Add orientation API to GtkPaned - - * gtk/gtkpaned.[ch]: implement the GtkOrientable interface - and swallow all code from GtkHPaned and GtkVPaned. Add - gtk_paned_new() which takes a GtkOrientation argument. Deprecate - gtk_paned_compute_position() for good (also for GTK_COMPILATION). - - * gtk/gtkhpaned.[ch] - * gtk/gtkvpaned.[ch]: remove all code except the constructor and - call gtk_orientable_set_orientation() in init(). - - * gtk/gtk.symbols: add gtk_box_new(). - -2008-11-07 Johan Dahlin - - * gtk/gtkcontainer.c (gtk_container_buildable_add_child): - Check for child->parent instead of GTK_WIDGET_TOPLEVEL. - -2008-11-07 Michael Natterer - - * gtk/gtkscrollbar.c: remove bogus newlines in the middle of - function calls, fix broken indentation and remove trailing - whitespace. - -2008-11-06 Tristan Van Berkom - - * gtk/gtkmenuitem.c: Made buildable and added support for adding - children of type "submenu" - - * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to - add GtkAccelGroups to the window. - - * gtk/gtkcontainer.c: Added builder contextual warnings in - buildable_add_child() - - * gtk/tests/builder.c: Added tests for buildable menus (test that - accelerators are properly connected on stock items, test the menu - hierarchy, test permission to add alien/custom menuitem children). - - * docs/reference/gtk/tmpl/gtkbuilder.sgml - * docs/reference/gtk/tmpl/gtkwindow.sgml - * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for - buildable submenus and accel groups. - -2008-11-06 Tristan Van Berkom - - * gtk/gtkmenuitem.[ch]: added new apis - gtk_menu_item_[set/get]_label() and - gtk_menu_item_[set/get]_use_underline() with "label" and - "use-underline" properties, constructors cleaned up to use - g_object_new(). GtkMenuItemClass take new vfuncs - ->get/set_label(). - - * gtk/gtkcheckmenuitem.c: constructors cleaned up to use - g_object_new(). - - * gtk/gtkimagemenuitem.[ch]: added new apis - gtk_image_menu_item_[get/set]_use_stock() and - gtk_image_menu_item_set_accel_group() with "use-stock" and - write-only "accel-group" properties. constructors cleaned up to - use g_object_new(). - -2008-11-06 Tristan Van Berkom - - * gtk/gtkbuilder.h: Fixed a crasher in - GTK_BUILDER_WARN_INVALID_CHILD_TYPE() - -2008-11-06 Tristan Van Berkom - - * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes - on top of any markup or mnemonic attributes (bug 558409). - - * README: Updated and added release notes for 2.16 - -2008-11-06 Richard Hult - - Bug 558586 – handling of keyboard under darwin (quartz) - - * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from - Arnaud Charlet to replace use of deprecated keyboard layout API - with the new TIS API available in 10.5. The old code is still used - when building for 10.4. - -2008-11-05 Richard Hult - - * gdk/quartz/gdkevents-quartz.c: - (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert - (at least for now) the alt/cmd switching since it breaks the - "alt-gr" functionality of alt which makes it impossible to input - lots of characters. - -2008-11-05 Christian Dywan - - Bug 559404 – gtk_editable_insert_text counts length in bytes - - * gtk/gtkeditable.c: - Document new_text_length as the number of bytes - -2008-11-05 Richard Hult - - * gdk/quartz/gdkwindow-quartz.c: - (gdk_window_impl_quartz_begin_paint_region): Set the fill color - outside the loop. - -2008-11-05 Richard Hult - - * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip), - (gtk_status_icon_get_tooltip_markup): Fix build for win32 and - quartz. - -2008-11-04 Tor Lillqvist - - Bug 557212 - Problem with which window gains focus and is visible - - * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app): - Only do the restacking for the active window of the - application. Seems to fix the problem. - - (gdk_event_translate): Only call ensure_stacking_on_activate_app() - when the application is being activated, not deactivated. - -2008-11-03 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkstatusicon.[hc]: Add new tooltip api. - -2008-11-03 Christian Persch - - Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem - - * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with - GtkIconView. - -2008-11-02 Matthias Clasen - - Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure - - * gtk/gtkstatusicon.c: Fix the build. - -2008-11-02 Matthias Clasen - - * gtk/gtkimagemenuitem.c: Make it possible to overrule the - gtk-menu-images setting. - - * gtk/gtkaction.c (connect_proxy): Show the image before adding - it to the image menu item. - -2008-11-01 Tor Lillqvist - - Bug 558278 - Crash when calling a callback set by - gdk_add_client_message_filter() - - * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from - apply_filters() so that it is clear that this function is for - GdkEventFilters only. - - (print_event): Print more information for GDK_CLIENT_EVENT events. - - (gdk_event_translate): When handling client filters, don't use - apply_event_filters(). Use similar code as in the X11 backend, - although not exactly, as the parameter list and return value - semantics of gdk_event_translate() is different. - - * tests/testclientmessage.c: New interactive test program to - verify client message functionality. - - * tests/Makefile.am: Add it. - -2008-11-01 Matthias Clasen - - Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events, - middle click, rich tooltips - - * gtk/gtkstatusicon.[hc]: Add support for button press/release and - scroll events. Patch by Ed Catmur - -2008-11-01 Matthias Clasen - - Bug 322934 – Replace menu's proxy icons with empty space hiding icons - - * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding - regardless of imagees or checks being in the menu. Also add - padding on the right edge. - Proposal by Luca Ferretti, patch by Jon McCann - -2008-11-01 Matthias Clasen - - Bug 412134 – Add API to query style properties from the style - - * gtk/gtk.symbols: - * gtk/gtkstyle.[hc]: Add getters for style properties to - avoid the need for ugly workarounds with dummy widget instances. - Patch by Mariano Suárez-Alvarez - -2008-10-31 Christian Dywan - - Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate? - - * gtk/gtk.symbols: - * gtk/gtkfontsel.c: - * gtk/gtkfontsel.h: - Deprecate gtk_font_selection_dialog_get_apply_button - -2008-10-31 Matthias Clasen - - Bug 558323 – glitches when popping up combos in treeviews - - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property): - Don't set the model property on the combo box, since that leads - to loops. - -2008-10-31 Christian Dywan - - Bug 347230 – testicontheme shortcomings - - * tests/testicontheme.c (main): - Use theme for "display" and quit on window closing - -2008-10-30 Matthias Clasen - - Bug 558522 – scroll arrow painted insensitive even though there - are pages beyond the edge - - * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw - arrows. Pointed out by Christian Persch - -2008-10-30 Michael Natterer - - * gtk/gtkcellrenderertext.h - * gtk/gtkentry.[ch] - * gtk/gtkimcontext.h - * gtk/gtklabel.c - * gtk/gtkstyle.h: is pulled in by , - remove its inclusion here. - -2008-10-30 Michael Natterer - - * gtk/*.h: no need to include in headers which - somehow include gtkobject.h or another header which includes it. - -2008-10-30 Marek Kasik - - Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing - - * gtk/gtk.symbols - * gtk/gtkprintsettings.c - * gtk/gtkprintsettings.h - * docs/reference/gtk/gtk-sections.txt - * modules/printbackends/file/gtkprintbackendfile.c - * modules/printbackends/test/gtkprintbackendtest.c - * modules/printbackends/cups/gtkprintbackendcups.c - * modules/printbackends/lpr/gtkprintbackendlpr.c: - Added lpi (lines per inch) setting to GtkPrintSettings and support - for anamorphic dpi. Surface fallback resolution is set to 2*lpi. - -2008-10-30 Michael Natterer - - * gtk/*.h: no need to include in any widget header, - it's included via gtkwidget.h anyway. - -2008-10-30 Sven Neumann - - * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant - conditional. - -2008-10-30 Christian Dywan - - Bug 557316 – GtkLinkButton should consider user-defined tooltip - - * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb): - Only override the tooltip if not previously set - -2008-10-29 Christian Dywan - - Bug 557762 – Misleading error message in GDK DirectFB - - * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): - Correctly say GetInputDevice instead of GetDisplayLayer - -2008-10-29 Christian Dywan - - Bug 558397 – gtk_widget_error_bell undefined without a screen - - * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings - instance and return silently if unset - -2008-10-28 Michael Natterer - - * gdk/keyname-table.h: fix small typo. - -2008-10-27 Richard Hult - - Bug 557894 – Wrong return value for - gdk_pointer_grab_info_libgtk_only() - - * gdk/quartz/gdkevents-quartz.c: - (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a - pointer grab. Patch by Owen Taylor. - -2008-10-26 Matthias Clasen - - * gtk/gtktoolshell.c: - * gtk/gtktoolitem.c: Remove markup from short descriptions. - -2008-10-26 Matthias Clasen - - * gdk/keyname-table.h: - * gtk/gen-paper-names.c: - * gtk/paper_names_offsets.c: - * gtk/gtkpapersize.c: - * gtk/gtkaccellabel.c: - * gtk/gtkprintoperation.c: - * gtk/gtkstock.c: More conversion to C_(). - -2008-10-26 Matthias Clasen - - * gtk/gtkaccellabel.c: - * gtk/gtkcalendar.c: - * gtk/gtkcellrendereraccel.c: - * gtk/gtkcellrendererprogress.c: - * gtk/gtkimmulticontext.c: - * gtk/gtkrecentchoosermenu.c: - * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change! - -2008-10-26 Christian Persch - - Bug 557065 – gtkcellrendererpixbuf spams console over and over with - 'could not load image' warnings - - * gtk/gtkcellrendererpixbuf.c: - (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy - g_warning. - -2008-10-26 Philip Withnall - - Bug 530454 – Clarify page_nr when printing - - * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out - that page_nr is 0-based in the documentation. - -2008-10-25 Matthias Clasen - - Bug 557315 – stale clipboard target cache - - * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached - targets. Pointed out by Evan Stade - -2008-10-24 Tristan Van Berkom - - * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in - the docs for GtkWidget::query-tooltip. - -2008-10-24 Matthias Clasen - - * gtk/gtkmountoperation.c: The "screen" property ought to have - type GdkScreen, not GtkWindow. Found by Cosimo Cecchi - -2008-10-24 Matthias Clasen - - Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching - allocation and deallocation - - * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't - free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki - -2008-10-24 Matthias Clasen - - Bug 556835 – gtkentry.c: variable is declared at middle of block - - * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed - out by Kazuki Iwamoto - -2008-10-24 Matthias Clasen - - Bug 557524 – "va_end(args);" should be added into - gtk_text_buffer_insert_with_tags_by_name( ) - - * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name): - Don't forget to call va_end. Pointed out by Boram Park - -2008-10-23 Alexander Larsson - - Bug 528320 - Incorrect icons displayed for files with custom - mimetype icons - - * gtk/gtkfilesystem.c: - (_gtk_file_info_render_icon): - Fall back on default file icon if there was no icon or it - was not found in the theme. This goes with the corresponding - change in glib to not add the fallback icon, but is useful - in other cases too. - -2008-10-22 Behdad Esfahbod - - Bug 555920 – gtkentry.c passes wrong enum to - pango_layout_set_alignment() - - * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout - adjustment. - -2008-10-22 Matthias Clasen - - * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen - size actually changed. - -2008-10-21 Michael Natterer - - * gdk/gdkdraw.c - * gdk/gdkimage.c - * gdk/gdkscreen.c - * gdk/gdkwindow.c: replace assertions for obj != NULL by - GDK_IS_OBJ(), remove redundant != NULL checks when there is - already a type check, add some g_return_if_fail() that were - missing entirely, fix some broken indentation and spacing. - -2008-10-21 Tor Lillqvist - - Bug 557266 - Window Management Problem - - Also reported in mail to gtk-list, and of course it has been well - known in general that window state management is messy and buggy - in various ways in gdk/win32. - - * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct - handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set - the WS_EX_TOPMOST extended style bit using SetWindowLong(). We - must call SetWindowPos() on the window using HWND_TOPMOST - instead. The description for WS_EX_TOPMOST in the documentation - for CreateWindowEx() even implies that if you read it carefully. - -2008-10-21 Michael Natterer - - * gdk/gdkapplaunchcontext.c: reorder functions to be in standard - order, add prototypes and namespace to static functions, add - g_return_if_fail()s which were missing all over the place. - -2008-10-20 Christian Persch - - Bug 557059 – crash when compositing emblems with icon - - * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it - with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped - from icon cache or builtins). - -2008-10-20 Murray Cumming - - * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), - gtk_icon_view_set_tooltip_item(): - * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), - gtk_icon_view_set_tooltip_cell(): - Documentation: Mention the simple set_tooltip_column() - alternative. - -2008-10-18 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On - WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging - output without setting it first. - -2008-10-18 Tor Lillqvist - - Bug 556578 - GIMP windows stay on top of other windows - - * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize) - (ensure_stacking_on_window_pos_changing) - (ensure_stacking_on_activate_app): Ignore unmapped windows in the - loops where we look for the lowest "transient-type" window. - - (gdk_event_translate): Don't call - ensure_stacking_on_window_pos_changing() or - ensure_stacking_on_activate_app() for unmapped windows. - -2008-10-16 Marek Kasik - - Bug 556527 - The current page property is not passed to - GtkPrintUnixDialog - - * gtk/gtkprintoperation-unix.c: pass current-page property - to GtkPrintUnixDialog - -2008-10-15 Michael Natterer - - * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo - in the type name so the macro becomes usable. - -2008-10-14 Christian Dywan - - 556150 – gtk 'object' property test fixing - - * gtk/tests/object.c (list_ignore_properties): - Remove some recently fixed properties from the exception list - -2008-10-13 Matthias Clasen - - Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup - - * gtk/gtkcellrendererpixbuf - (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash - if a GIcon is not present in the current theme. Patch by - Alex Larsson. - -2008-10-13 Matthias Clasen - - Bug 552318 – menubar mnemonics consumed even when - gtk-enable-mnemonics=false - - * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic - entries block accelerator activation when gtk-enable-mnemonics is - FALSE. Problem reported by Andreas Moog. - -2008-10-13 Cody Russell - - * test/testfilechooser.c: Fix option parsing so that -a and - --action work correctly. - -2008-10-13 Christian Persch - - Bug 555386 – format not a string literal and no format arguments - - * gtk/gtkiconfactory.c - * gtk/gtkprintbackend.c - * gtk/gtkprintoperation.c - * gtk/gtkthemes.c - * gtk/tests/builder.c - * modules/other/gail/gailtextview.c - * tests/testmerge.c: Use printf safely. - -2008-10-13 Christian Persch - - Bug 555724 – gtkcellrendereraccel not initialised correctly - - * gtk/gtkcellrendereraccel.c: Initialise the cell text. - -2008-10-12 Simos Xenitellis - - Bug 555625 – Updated gtk_compose_seqs_compact table - (gtkimcontextsimpleseqs.h) - - * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table. - In this update we removed a further set of compose sequences that - are otherwise covered by check_algorithmically(). - - * gtk/gtkimcontextsimple.c: Updated table value that shows how many - distinct first values exist in the compose sequences. - Change from 22 to 20. - -2008-10-11 Matthias Clasen - - * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size - part of the previous change, since it doesn't work correctly without - extra complication, and using custom icon sizes doesn't make too - much sense in a desktop-wide setting. - -2008-10-11 Matthias Clasen - - Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size - - * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and - GtkSettings::gtk-toolbar-icon-size into int properties, to - allow the use of app-registered icon sizes. - -2008-10-11 Christian Dywan - - Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window - - * gtk/gtkwidget.c (gtk_widget_real_grab_focus): - Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL - -2008-10-10 Behdad Esfahbod - - Bug 551355 – [PATCH] Make glib build with libtool 2.2 - - * autogen.sh: Accept libtool 2.2. We are moving towards having - it working. - -2008-10-10 Richard Hult - - * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state) - Add empty stub to fix linking. - -2008-10-10 Simos Xenitellis - - Bug 555000 – Wrong treatment on non-spacing marks dead keys in - GtkIMContextSimple - - * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that - it only checks if input is a deadkey keysym. - -2008-10-09 Christian Dywan - - Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window - - * gtk/gtkwidget.c (gtk_widget_real_grab_focus): - Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL - -2008-10-09 Christian Dywan - - Bug 555573 – gtk_font_selection_set_font_name - shouldn't require a screen - - * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): - Don't warn if there is no screen, just return FALSE - -2008-10-09 Christian Dywan - - Bug 555523 – gtk_scale_button_set_adjustment should accept NULL - - * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment): - Create a new adjustment if NULL is passed, like other widgets - -2008-10-09 Christian Dywan - - Bug 555578 – GtkTable propertiy maxima are wrong - - * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize): - Always use 65535 instead of G_MAXUINT since that is - the actually supported maximum number of columns and rows - -2008-10-09 Richard Hult - - Bug 550342 – Splash screens have a caption - - * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new), - (gdk_window_set_decorations): Patch from Marianne Gagnon to make - splash windows borderless. - -2008-10-09 Michael Natterer - - Bug 516425 – Optionally display accelerators in popups - - * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value - GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but - shows the actions' accelerators. - - * gtk/gtkuimanager.c: honor the new enum value for programmatically - created UIs, and support in the XML - for the same purpose. - -2008-10-09 Simos Xenitellis - - Bug 554192 – double press on the "circumflex" dead key - (standard french 105 keyboard) no longer produces the "^" character - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): - Changed the order, put check_compact_table() first, then - check_algorithmically(). - -2008-10-08 Christian Persch - - Bug 554702 – gtkfilesystem leaks GError - - * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError. - -2008-10-08 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): - Don't forget to reset reload_state when current_folder is already - correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992 - -2008-10-08 Christian Dywan - - Bug 555270 – Allow unsetting a MessageDialog's image - - * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property), - Remove a superfluous cast to GtkWidget* - (gtk_message_dialog_set_image): Accept NULL for the image - and unset the image in that case. - -2008-10-08 Christian Dywan - - Bug 436533 – Allow more space efficient scroll arrows placement - - * gtk/gtkenums.h: Add GtkArrowPlacement - * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border), - (get_arrows_visible_area), (get_double_arrows), - (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement - to allow scrolling arrows to be placed at the start, end or both - Patch by Tommi Komulainen and myself - -2008-10-08 Christian Dywan - - Bug 555387 – Changing the sensitivity of a statusbar - mistakenly requires a display - - * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor - of the resize grip if there is a grip window. - -2008-10-06 Matthias Clasen - - * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized - memory warnings from valgrind. - -2008-10-07 11:03:30 Tim Janik - - * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new() - as private function until we settle on the exact semantics. - renamed _gtk_box_set_old_defaults() as suggested by Mitch. - -2008-10-07 Michael Natterer - - * gtk/gtkbox.c: reindent static prototypes. - -2008-10-07 Michael Natterer - - Bug 553573 – Add orientation API to GtkBox - - * gtk/gtkbox.[hh]: implement the GtkOrientable interface and - swallow all code from GtkHBox and GtkVBox. Add gtk_box_new() - which takes a GtkOrientation argument. Also move the newly - added "spacing_set" boolean from struct GtkBox to the new - private struct. - - * gtk/gtkhbox.[ch] - * gtk/gtkvbox.[ch]: remove all code except the constructor and - call gtk_orientable_set_orientation() in init(). - - * gtk/gtk.symbols: add gtk_box_new(). - -2008-10-06 Björn Lindqvist - - Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView - - * gtk/gtkcellview.c (gtk_cell_view_get_model): Add - gtk_cell_view_get_model. - -2008-10-06 Matthias Clasen - - * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip - on the range entry itself, too. - -2008-10-04 Tor Lillqvist - - Bug 132501 - Make utility window translate to tool window in win32 - - Implement the utility window type hint. Such windows are kept on - top of other windows of the same process. Makes GIMP's toolbox and - dock windows behave more like in GNOME under metacity. Apply the - same logic also to windows marked with the dialog window type - hint, and windows that are transient for some other window. I'll - call such windows "transient-type" below. - - * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused - variables. - - (ensure_stacking_on_unminimize) - (ensure_stacking_on_window_pos_changing) - (ensure_stacking_on_activate_app): New functions to implement the - desired stacking order. Make sure that a window that is not - transient-type stays below any transient-type windows of the - application. When activating a non-transient-type window make sure - it rises as high as possible while still staying below the lowest - transient-type window. - - (gdk_event_translate): Call above functions on - WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when - unminimizing. Improve debugging printout. - - * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations): - Handle utility windows like toolbar windows. - - (gdk_window_new_internal) (update_style_bits): Give utility - windows the WS_EX_TOOLWINDOW extended style. - - (gdk_window_set_title): If debugging "misc" or "events", make the - handle of top-level windows show up in their title bars. Very - useful when looking at debugging output. - - (gdk_window_set_transient_for) (gdk_window_set_keep_above) - (gdk_window_set_keep_below) (gdk_window_set_modal_hint) - (gdk_window_set_skip_taskbar_hint) - (gdk_window_set_skip_pager_hint): Add and improve debugging - printout. - - (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE(). - -2008-10-04 Tor Lillqvist - - * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string) - (_gdk_win32_window_pos_bits_to_string): New debugging printout - functions. Decode the WS_EX_* and SWP_* bits. - - * gdk/win32/gdkprivate-win32.h: Declare them. Define - GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either - "misc" or "events". - -2008-10-03 Matthias Clasen - - * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some - debug output. - -2008-10-02 Matthias Clasen - - Bug 96431 – Can't cut and paste / DND within invisible entry - - * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible - entry. Proposed by Owen Taylor - -2008-10-02 Matthias Clasen - - Bug 530575 – GtkEntry with invisible chars has a confused cursor in - overwrite mode - - * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text - in the layout when positioning the cursor, not the actual text - content of the entry. This makes a different when using overwrite - mode in an invisible entry. - Problem noticed by Jonathan Blandford - - * gtk/gtktextutil.c: Fix a typo in a comment - -2008-10-02 Christian Persch - - Bug 554704 – gtkfilesystemmodel does too much work - - * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a - simple NULL check. - -2008-10-02 Christian Persch - - Bug 554701 – filechooser spams console with useless warnings - - * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply - cancelled. - -2008-10-02 Christian Persch - - Bug 554698 – mem leak in filechooser - - * gtk/gtkfilechooserdefault.c: Plug a mem leak. - -2008-10-02 Christian Persch - - Bug 554696 – invalid free function used - - * gtk/gtkfilesystemmodel.c: Use the right free func. - -2008-10-02 Christian Persch - - Bug 554691 – mem leak in filechooser - - * gtk/gtkfilesystemmodel.c: Plug a mem leak. - -2008-10-02 Christian Persch - - Bug 554690 – mem leak in filechooser - - * gtk/gtkfilechooserdefault.c: Plug a mem leak. - -2008-10-02 Michael Natterer - - Bug 553585 – Add orientation API to GtkRuler - - * gtk/gtkruler.[ch]: implement the GtkOrientable interface and - swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new() - which takes a GtkOrientation argument. - - * gtk/gtkhruler.c - * gtk/gtkvruler.c: remove all code except the constructor and - call gtk_orientable_set_orientation() in init(). - - * gtk/gtk.symbols: add gtk_ruler_new(). - -2008-10-01 Torsten Schoenfeld - - * docs/reference/gtk/gtk-sections.txt: - * gtk/gtk.symbols: - * gtk/gtkselection.c: - * gtk/gtkselection.h: Add gtk_selection_data_get_selection to - retrieve the sealed struct field GtkSelectionData.selection. - -2008-10-01 Tor Lillqvist - - * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it - confuses newest mingw headers. - -2008-10-01 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state): - Implement trivially on Windows. Not sure if something more complex - is actually needed, more specifically whether the function needs - to differentiate between "Caps Lock" and "Shift Lock" semantics? - -2008-10-01 Simos Xenitellis - - Bug 554506 – combining diacritics broken, became deadkeys - - * gtk/gtkimcontextsimple.c: added check if keysym is greater - than 0x1000000, in this case it is not a dead key. - -2008-09-30 Michael Natterer - - Bug 553582 – Add orientation API to GtkSeparator - - * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and - swallow all code from GtkHSeparator and GtkVSeparator. Add - gtk_separator_new() which takes a GtkOrientation argument. - - * gtk/gtkhseparator.c - * gtk/gtkvseparator.c: remove all code except the constructor and - call gtk_orientable_set_orientation() in init(). - - * gtk/gtk.symbols: add gtk_separator_new(). - -2008-09-30 Marek Kasik - - Bug 344522 – support non-local destination files (GtkPrint): - - * gtk/gtkprintunixdialog.c - * gtk/gtkprinteroptionwidget.c: Process URI instead of filename. - * modules/printbackends/file/gtkprintbackendfile.c: Add ability - to save files on non-local filesystems. - -2008-09-30 Michael Natterer - - * gtk/gtk.symbols: forgot the G_GNUC_CONST of - gtk_orientable_get_type(). - -2008-09-30 Michael Natterer - - Bug 541009 – Get rid of separate subclasses for horizontal and - vertical orientation: - - * gtk/Makefile.am - * gtk/gtk.symbols - * gtk/gtk.h - * gtk/gtkorientable.[ch]: add new interface GtkOrientable which - will be implemented by everything that can switch orientation. - -2008-09-30 Christian Dywan - - Fix a typo in the tutorial. - - * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'. - -2008-09-29 Matthias Clasen - - Bug 553086 – hard to see current immodule - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - Display the actually selected context in the system menuitem. - Complaint by Akira Tagoh. - -2008-09-29 Matthias Clasen - - Bug 530568 – Entries with visibility=FALSE should warn for caps-lock - on - - * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for - password entries. The warning is also triggered if an input method - is active. The warning can be turned off using the - GtkEntry::caps-lock-warning property. - Proposed by Owen Taylor - -2008-09-29 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): - Add a getter for the the sealed context_id field. - -2008-09-29 Matthias Clasen - - Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. - - * gdk/gdk.symbols: - * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and - a gdk_keymap_get_caps_lock_state function. - - * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit - state-changed when caps lock lockedness changes. - - * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status - changes in the XkbSelectEventDetails call. - -2008-09-29 Kristian Rietveld - - Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion - over widget - - * gtk/gtkwidget.c (gtk_widget_set_property): after updating - tooltip text or markup, call gtk_widget_trigger_tooltip_query() - so that existing visible tooltips are updated. - -2008-09-29 Matthias Clasen - - Bug 371908 – Password Entry broken - Bug 317002 – Disable input method completely in GtkEntry when it's - in invisible mode. - - * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave - properly when invisible. - - * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if - invisible. - - * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input - methods when making the entry invisible. - -2008-09-29 Emmanuele Bassi - - * gdk/x11/gdkinput.c: - (gdk_device_class_init), (gdk_device_finalize): Correctly chain - up the finalize implementation. - -2008-09-29 Richard Hult - - Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c - - * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents): - Patch from Jon A. Cruz to initialize the allocated selection data. - -2008-09-27 Matthias Clasen - - Bug 339367 – Incorrect spotlocation - - * modules/input/gtkimcontextxim.c: Correct the spot location - for on-the-spot style. - -2008-09-27 Denis Washington - - * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation - is used, like GtkTreeView. (Bug #553575) - -2008-09-26 Matthias Clasen - - Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real - transparency - - * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL - property described in - http://lists.freedesktop.org/archives/xdg/2008-September/009919.html - If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the - parent-relative-background hack is skipped and we draw with a real - transparent background. - - * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the - parent-relative background is now set when realizing the tray - icon. - - Patch by Owen Taylor - -2008-09-26 Matthias Clasen - - Bug 552956 – Should check composite extension version - - * gdk/x11/gdkdisplay-x11.c: Check that the version of the - composite extension is at least 0.4. - Patch by Owen Taylor - -2008-09-26 Matthias Clasen - - Bug 553803 – eventually call XCloseDevice on XOpenDevice results - - * gdk/x11/gdkinput.c: Add a finalize function for device objects, - and call XCloseDevice there. - - * gdk/x11/gdkinput-x11.c: - * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to - the finalize function. - Patch by Caolan McNamara - -2008-09-26 Matthias Clasen - - Bug 553578 - tabs are not drawn correctly - - * gtk/gtknotebook.c: Track the visibility state of notebook tabs - between allocations so that we know to redraw the tab labels if - tabs are hidden and shown without changing position. - Reported by Marek Kašík, patch by Owen Taylor. - -2008-09-26 Matthias Clasen - - Bug 553133 – GtkFileChooser won't ask to mount a volume - Bug 553211 – GtkFileChooserButton unsets filter after first use - - * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use - a GtkMountOperation when mounting, so that we get a password - dialog when required. - - * gtk/gtkfilechooserdefault.c (show_and_select_files): Also - get the content-type, since it is used later on. - Pointed out by Davyd Madeley. - -2008-09-26 Cody Russell - - Bug 553917 – Typo in gdkwindow-win32.c - - * gdk/win32/gdkwindow-win32.c: Fixed a typo in - update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL. - - Reported by Richard Hult - -2008-09-25 Marek Kasik - - Bug 553241 – double freed pointer in lpr_write cause firefox3 crash - - * modules/printbackends/lpr/gtkprintbackendlpr.c: - The redundant freeing of memory was removed. - - Patch by Chris Wang - -2008-09-25 Michael Natterer - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): - don't unref the file system backend, the newly added - unset_file_system_backend() already does this (bug #553135). - -2008-09-24 Michael Natterer - - * gtk/gtkeventbox.c: events return gboolean not gint, reindented - static prototypes. - -2008-09-24 Johan Dahlin - - Bug 553385 – gtk-builder-convert creates untranslated combobox models - - * gtk/gtk-builder-convert: Set the translatable property on - col tags for converted combos. - -2008-09-24 Tor Lillqvist - - * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig, - share/aclocal and share/gtk-doc instead of trying to list - individual files or subdirectories. We had missed gail.pc, for - instance. - -2008-09-24 Christian Dywan - - Bug 538782 – Make GtkMenu's arrow size themable - - * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint): - Implement "arrow-scaling" style property in GtkMenu. - -2008-09-24 Christian Dywan - - Bug 408244 – add GtkDialog::content-area-spacing - - * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing), - (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set): - * gtk/gtkbox.h: - * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings): - Implement "content-area-spacing" style property in GtkDialog - and internal helper _gtk_box_get_spacing_set in GtkBox. - Patch by Tim Janik, Sven Herzberg and myself. - -2008-09-24 Christian Dywan - - Bug 541391 – Unfocussable Treeview swallows focus - - * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus), - (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly - -2008-09-24 Denis Washington - - * gtk/gtkiconview.c: draw focus as a rectangle around the - complete item, not just the text. (Bug #38254) - -2008-09-23 Michael Natterer - - * gtk/gtkobject.c - * gtk/gtksignal.[ch]: s/GtkType/GType/ and - s/GtkSignalMarshaller/GSignalCMarshaller/. - -2008-09-23 Michael Natterer - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused - variable and fix indentation. - -2008-09-23 Michael Natterer - - * gtk/gtkclist.h - * gtk/gtkctree.h - * gtk/gtklist.h - * gtk/gtklistitem.h - * gtk/gtkobject.h - * gtk/gtkoldeditable.h - * gtk/gtkpixmap.h - * gtk/gtkpreview.h - * gtk/gtktext.h - * gtk/gtktipsquery.h - * gtk/gtktree.h - * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also - in all deprecated headers. - -2008-09-22 Matthias Clasen - - Bug 553135 – eog crash: assertion failed. Gtk error: - shortcuts_remove_rows: code should not be reached - - * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem - signals when we are destroyed, in order to avoid nasty surprises. - Patch by Claudio Saavedra - -2008-09-22 Emmanuele Bassi - - Bug 552789 – Show size column in the search and recently used - files modes - - * gtk/gtkfilechooserdefault.c: Display the file size column - when in OPERATION_MODE_SEARCH. This removes a stat() call - and simplifies the code a little bit by changing the query - for file informations for each search engine hit. - -2008-09-22 Michael Natterer - - * gtk/gtksignal.[ch] - * gtk/gtkclist.c - * gtk/gtklist.c - * gtk/gtkmain.c - * gtk/gtktext.c - * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of - GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code. - -2008-09-22 Frederic Crozat - - * gtk/gtkfilesystem.c: use the correct gi18n header. - Fixes bug #553000. - -2008-09-22 Michael Natterer - - * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated - append(), prepend() and insert() functions and recommend to use - gtk_toolbar_insert() instead. Use GCallback instead of - GtkSignalFunc even in deprecated API. - -2008-09-20 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't - leak a GFile. - -2008-09-19 Owen Taylor - - Small cleanups to debug messages for GtkPlug/GtkSocket - - * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug" - * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug - messages. - -2008-09-19 Carlos Garnacho - - Bug 83935 – GtkEntry's default invisible char should be U+25CF - - * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a - more suitable invisible char than '*' based on the used font. - (gtk_entry_class_init) (gtk_entry_set_property) - (gtk_entry_get_property): Add a "invisible-char-set" property. - (gtk_entry_unset_invisible_char): New function, needed now that the - default invisible char isn't fixed. - * gtk/gtkentry.h: - * gtk/gtk.symbols: - * docs/reference/gtk/gtk-sections.txt: Add the new function. - -2008-09-19 Christian Persch - - Bug 552837 – mem leak in gtkimmulticontext - - * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem - leak. - -2008-09-18 Emmanuele Bassi - - * gtk/gtkfilechooserdefault.c (settings_save): Save the size column - visibility state with the rest of the FileChooser settings. - -2008-09-18 Emmanuele Bassi - - Bug 325095 – show a 'size' column - - * gtk/gtkfilechooserdefault.c: - * gtk/gtkfilechooserprivate.h: Add a context menu item controlling - the visibility of the file size column. This works only for the - browse mode, and the column is not visible by default. - - * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the - settings file. - -2008-09-18 Dominic Lachowicz - - * modules/engines/ms-windows/*: Revert most of previous patch, as - it didn't work as expected; Some work toward #531086 - the new - GtkTooltip widget doesn't theme properly on win32. Now, at least - the background color seems okay - -2008-09-18 Dominic Lachowicz - - * modules/engines/ms-windows/*: MS Windows style should use - pango_win32_font_description_from_logfont; Allows us to rip out a - lot of potentially buggy code, and also get the font specification - from the XP theme (#434987) - -2008-09-18 Matthias Clasen - - * configure.in: updated version number to 2.15.0 for development. - - * ChangeLog.pre-2-14: rotate ChangeLog - -=== Branch for 2.14 === diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 deleted file mode 100644 index 21722077d1..0000000000 --- a/ChangeLog.pre-2-2 +++ /dev/null @@ -1,7358 +0,0 @@ -Fri Dec 20 15:23:26 2002 Owen Taylor - - * === Released 2.2.0 === - - * configure.in: Version 2.2.0, interface age 0, binary age 200. - - * README.in: Update the release notes. - - * INSTALL.in: Mention that Pango-1.0 can be used with GTK+-2.2. - - * NEWS: Update. - -2002-12-20 Sven Neumann - - * examples/gtkdial/gtkdial.c: use G_PI instead of M_PI. - -Thu Dec 19 11:42:00 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call - the filters on the window where the event is received, - not on the window the event is "about". (#101512, - Bolian Yin.) - -Thu Dec 19 03:58:36 2002 Kristian Rietveld - - * tests/testtreeflow.c: the rand variable should be static to - avoid conflicts with rand(). (#100844, reported by Soeren Sandmann, - fix pointed out by Matthias Clasen). - -Thu Dec 19 03:56:23 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we - started editing, we handled this key signal, so return TRUE. - (#100532, reported by Soeren Sandmann). - -2002-12-18 Matthias Clasen - - * gtk/gtkwidget.c: Add docs. - -Wed Dec 18 12:05:33 2002 Owen Taylor - - * NEWS: Various name fixes. - -Mon Dec 16 22:38:11 2002 Owen Taylor - - * === Released 2.1.5 === - - * configure.in: GTK+-2.1.5, interface age 2, binary age 105. - - * NEWS: Updated. - - * gtk/Makefile.am (gtk_c_sources): Remove reference to fnmatch.h - -Mon Dec 16 22:12:01 2002 Owen Taylor - - * configure.in: Don't use AC_CHECK_LIB() when - checking for FreeType, Pango, Atk since that get - the ordering wrong. Instead, set LIBS ourself - and call AC_TRY_LINK_FUNC(). (#98406) - -Mon Dec 16 21:39:28 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_enter_text): Call - gtk_entry_set_position_internal() that takes a - new "reset_IM" parameter, so that we avoid the - problem where committing text would reset the - input method. (#74381, Kang Jeong-Hee) - -2002-12-17 Matthias Clasen - - * gtk/gtkcontainer.c: Fix a few doc comments. - -2002-12-17 Tor Lillqvist - - * gdk/win32/gdkglobals-win32.c: Minor cosmetics. - - Implement two missing functions (#101369) - - * gdk/win32/gdkevents-win32.c - (gdk_display_add_client_message_filter): Implement by calling - gdk_add_client_message_filter(), no separate displays on Windows, - at least not yet. - - * gdk/win32/gdkgc-win32.c (gdk_gc_get_screen): Implement by - returning the only screen so far, _gdk_screen. - - * gdk/gdk.def: Add here, too. - -Mon Dec 16 16:18:15 2002 Owen Taylor - - * gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid - of incorrect calls to g_value_init(). (#100669, Johan - Dahlin, James Henstridge) - -Mon Dec 16 17:20:02 2002 Soeren Sandmann - - * gtk/gtkaccellabel.c: Implement Owen's susggestion from - #80764. Fixes #101314. - -Sun Dec 15 18:47:30 2002 Owen Taylor - - Some fixes for modal hint setting based on a patch - from Arvind Samptur (#100416) - - * gtk/gtkdialog.c (gtk_dialog_run): Call gtk_window_set_modal - before showing the window for efficiency. - - * gtk/gtkwindow.c (gtk_window_realize): Ignore the EWMH - constraint that the transient-for hint must always be - set on windows with the modal hint and just always set - the modal hint. - - * gtk/gtkwindow.c (gtk_window_set_modal): Update the - modal hint on the GdkWindow when the window is realized. - -Sun Dec 15 18:39:09 2002 Owen Taylor - - * configure.in: Hard-code GTK_BINARY_VERSION=2.2.0 for - now; should stay the same until we branch for 2.3. (#100598) - -Sun Dec 15 18:14:16 2002 Owen Taylor - - * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item): - Pass TRUE for search_sensitive - prevents a problem - where after hitting Alt-F to bring up the File menu, - the mnemonics for the items in the menu might not - be usable. (#89336) - -Sat Dec 14 22:18:45 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): - Fix a bug with checking the private flag on the wrong - window; improve the answer on failure a bit; push - an error trap around the X operations. (#100933) - -Sat Dec 14 22:03:21 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c (status_window_hide): Don't - call status_window_set_text() if the status window doesn't - already exist. (#100933, reported by Anand Subra) - - * modules/input/gtkimcontextxim.c (status_window_show): - Don't bother creating the status window here, wait for - the set_text(). (Fixes a warning) - -2002-12-15 Matthias Clasen - - * gtk/gtkcalendar.c: - * gtk/gtkfilesel.c: - * gtk/gtkfontsel.c: - * gtk/gtkhruler.c: - * gtk/gtkinputdialog.c: - * gtk/gtkprogress.c: - * gtk/gtktreemodel.c: - * gtk/gtkvruler.c: - * gtk/queryimmodules.c: - * gtk/theme-bits/decompose-bits.c: - * gdk-pixbuf/gdk-pixbuf-csource.c: - * gdk-pixbuf/make-inline-pixbuf.c: - * gdk-pixbuf/queryloaders.c: - * gdk/gdkkeynames.c: - * gdk/gdkrgb.c: - * gdk/linux-fb/gdkfbmanager.c: - * gdk/win32/gdkevents-win32.c: - * gdk/win32/gdkmain-win32.c: - * gdk/win32/gdkproperty-win32.c: - * gdk/x11/gdkmain-x11.c: Use g_printf instead of system - printf. (#99327) - - * gtk/gtkcontainer.c (gtk_container_class_install_child_property): - (gtk_container_child_get_valist): - (gtk_container_child_get_property): - (gtk_container_child_set_valist): - (gtk_container_child_set_property): - (gtk_container_add_with_properties): - (gtk_container_child_set): - (gtk_container_child_get): Add docs. - - * gtk/gtkwindow.c (gtk_window_activate_default): - (gtk_window_activate_focus): Add docs. - -2002-12-14 Matthias Clasen - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Made - Xinerama-aware. (#85711) - -Sat Dec 14 14:19:16 2002 Owen Taylor - - * gtk/gtkmenu.c: Add a new binding signal, "move_scroll", - and use it to hook up Home/End/Page_Up/Page_Down keybindings. - (#80484, Narayana Pattipati, Marius Andreiana) - - * gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some - bugs in the computation of when an item is visible. (#99545) - - * gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c: - Move here, export privately. - - * gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export - privately. - - * gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't - select the item if it is already selected. - -Sat Dec 14 01:51:05 2002 Chema Celorio - - * gtk/gtkdialog.c (gtk_dialog_add_buttons_valist): minor coding - style fix. - -Sat Dec 14 01:22:05 2002 Soeren Sandmann - - * gtk/gtkaccellabel.[ch] (gtk_accel_label_refetch): Don't - recalculate the acceleration label in an idle handler. - -Sat Dec 14 01:00:12 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_position): Handle the case - where the pointer isn't on the same screen as the widget - by centering the menu on the widget's screen. (#94563) - -Fri Dec 13 23:58:06 2002 Owen Taylor - - * gdk/gdkscreen.c (gdk_screen_get_monitor_at_point) - * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): - Provide a useful fallback on failure - return a monitor - close to the point or window. (#79991) - - * gtk/gtkmenu.c (gtk_menu_position): Remove a now - unneeded check for failure of - gdk_screen_get_monitor_at_point() - -Fri Dec 13 23:10:21 2002 Owen Taylor - - * gtk/gtkclist.c: Fix a problem with the focus row - ending up off the list when rows were deleted - (#94812, Christian Reis, Jon Nelson). - -Fri Dec 13 22:55:27 2002 Owen Taylor - - * gtk/gtkmenu.c (menu_change_screen): If the screen - for the menu changes while the menu is torn off, move - the tearoff along with it. (#85669) - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): When - reattaching, get rid of the get rid of the tearoff window. - -Fri Dec 13 21:35:12 2002 Owen Taylor - - * gtk/gtkhandlebox.c (gtk_handle_box_motion): Handle - the case where the pointer is moved between screens - during a handle box drag by resetting the original - location. (#94562) - - * gtk/gtkinputdialog.c (gtk_input_dialog_get_private): - Fix a leftover variable name from cut-and-paste. - -Fri Dec 13 18:57:20 2002 Owen Taylor - - * gtk/gtkdialog.c: Change the Escape key binding to only close - if the dialog contains a cancel button. (Patch from - James Willcox, #74221) - -Fri Dec 13 18:22:21 2002 Owen Taylor - - * gtk/gtkfilesel.c (compare_cmpl_dir): Use - g_utf8_collate_key() to sort in human-friendly order. - (#94473, Gregory Merchan) - -Fri Dec 13 17:45:40 2002 Owen Taylor - - * gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c: - System fnmatch wasn't going to be UTF-8 clean, neither - was our version. Redo our fnmatch.c to be UTF-8, add - test cases, fix all sorts of bugs inherited - from the antique GNU fnmatch code. Change interface - to get rid of fnmatch.h constants. Fixes basic - non-workingness of filesel with non-ASCII filenames. - (#78758, Kang Jeong-Hee) - - * gtk/fnmatch.h: No longer needed. - -Fri Dec 13 12:15:09 2002 Owen Taylor - - * gtk/gtkfilesel.c (find_parent_dir_fullname): If - getting the parent of the directory name, make - an attempt to change back to the original directory. - -Thu Dec 12 20:07:25 2002 Owen Taylor - - * gtk/gtkfilesel.c (cmpl_completion_fullname): Const - warning fix. - -Thu Dec 12 19:51:45 2002 Owen Taylor - - * gtk/gtkfilesel.c (open_new_dir): Include "." - and ".." in the list of entries; they are needed for - correct handling of ., ..; were lost - with the GDir conversion. (Francisco Bustamante, - #89972) - - * gtk/gtkfilesel.c (open_new_dir): If we hit - EOF unexpectedly, that's OK... a file was just - deleted while we were reading the directory. - -Thu Dec 12 18:02:34 2002 Owen Taylor - - * gtk/gtkmain.c (gtk_main_do_event): Intercept events - of type GDK_SETTING before we check to see if there - was an event widget or not. (#97451, Simon Wong, - Bastien Nocera) - -Thu Dec 12 17:58:41 2002 Owen Taylor - - * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245) - -Thu Dec 12 17:01:38 2002 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive - widgets. (#84061) - -Thu Dec 12 15:08:01 2002 Owen Taylor - - * acinclude.m4: Remove unneeded bits of AM_GTK_GNU_TEXT - macros. - -Thu Dec 12 18:25:17 2002 Soeren Sandmann - - * gtk/gtktextview.c (gtk_text_view_button_press_event): - return TRUE when button 3 is pressed, fixes #78324. - -Thu Dec 12 10:12:39 2002 Owen Taylor - - * gtk/gtktextview.c: Turn off DEBUG_VALIDATION_AND_SCROLLING - that got turned on in an accidental commit. - -Wed Dec 11 18:30:05 2002 Owen Taylor - - * === Released GTK+-2.1.4 === - - * NEWS: Updated. - - * modules/input/Makefile.am (INCLUDES): Remove GTK_LOCALEDIR - from here as well. (Manish Singh) - -2002-12-11 Tor Lillqvist - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new, - gdk_bitmap_create_from_data, gdk_pixmap_create_from_data) - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): - Functions now take a GdkDrawable instead of GdkWindow parameter, - like in X11 and linux-fb backends (#100780) - - * gdk/win32/gdkwindow-win32.c (get_default_title): Do use - g_get_application_name() (I now have a fresh enough GLib). - -Wed Dec 11 14:04:23 2002 Owen Taylor - - * configure.in: version 2.1.4, interface age 1. - - * configure.in: Require GLib-2.1.4, so we will catch - the need for the new AM_GLIB_DEFINE_LOCALEDIR() in - an obvious way. - - * configure.in gtk/Makefile.am: Use AM_GLIB_DEFINE_LOCALEDIR() - -Tue Dec 10 15:46:01 PST 2002 Manish Singh - - * gdk/x11/gdkwindow-x11.c (set_initial_hints): - gdk_x11_get_xatom_by_name_for_display takes a GdkDisplay *, - not an XDisplay * (obvious typo fix for the previous commit) - -2002-12-11 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (set_initial_hints): Delete EWMH - properties if no private->state flags are set. (#66754) - -2002-12-10 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_find_style_property): - * gtk/gtkcontainer.c (gtk_container_class_find_child_property): - Doc typo fixes. - - * gtk/tree_plus.xpm: - * gtk/tree_plus.xbm: - * gtk/tree_minus.xpm: - * gtk/tree_minus.xbm: - * gtk/line-wrap.xbm: - * gtk/line-arrow.xbm: - * gtk/gtktextview.c: - * gtk/gtktextutil.c: - * gtk/gtkstyle.c: - * gtk/gtkstock.c: - * gtk/gtksizegroup.c: - * gtk/gtkselection.c: - * gtk/gtkoptionmenu.c: - * gtk/gtklist.c: - * gtk/gtkfilesel.c: - * gtk/gtkentry.c: - * gtk/gtkcolorsel.c: - * gtk/gtkclist.c: - * gtk/gtkclipboard.c: - * gtk/gtkbutton.c: Data constness fixes. (#75754) - -Tue Dec 10 14:37:41 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate) - gdk/x11/gdkwindow-x11.h: Separate out tracking of the X server - focus window from tracking our idea of what the focus window is, - because the PointerRoot code needs to know the real pointer - window. (Mostly accidentally committed a bit earlier.) - -Tue Dec 10 12:57:00 2002 Owen Taylor - - * gtk/gtkclist.c (adjust_adjustments): Fix typo with - hadjustment/vadjustment introduce prior to 2.0.0. - (#84621, Charles Kerr) - -Tue Dec 10 12:40:30 2002 Soeren Sandmann - - * gtk/gtkmenuitem.c, gtk/gtkstyle.c, gtk/gtkrc.c: new default - color scheme based on the GNOME stock icon palette. (#80691, - Tuomas Kuosmanen, Garrett LeSage, Owen Taylor) - - * gtk/gtknotebook.c (gtk_notebook_real_remove): take a new - parameter, "destroying", and don't emit the switch-page signals - when it is true (fix #64832, reported by Jarred Keuch) - - * gtk/gtklabel.c (gtk_label_set_property): remove unused - variable. - -Tue Dec 10 02:14:12 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in - the range [0, upper], which can be bigger than [0, page_size]. - (Fixed #99778, reported and testcase provided by Carlos Garnacho - Parro). - -Mon Dec 9 19:49:03 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Remove - a couple of places if (widget->window), this function - will only ever be called on a realized window. - (#80225) - -Tue Dec 10 01:58:43 2002 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): implement a working - use_align = FALSE implementation (also mentioned in #91335, reported - by Juri Pakaste). - - * gtk/gtktreeview.c (validate_visible_area): only free the - scroll_to_path if we are done with validating (fixes #93584, reported - and testcase provided by Erik Simonsen). - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - set the GTK_CELL_RENDERER_FOCUSED flag where appropriate. (fixes - #75745, reported by Richard Hult). - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_position): - initialize cellinfo to NULL to silence the compiler. - -Mon Dec 9 19:31:59 2002 Owen Taylor - - * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove - unused draw_spin_entry_shadow(). (#80229) - -Mon Dec 9 18:50:31 2002 Owen Taylor - - * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): - Remove selection for DeviceButtonRelease, we no longer need - it now that gxi is gone. (#32617, reported by Garry - Osgood) - -Tue Dec 10 00:49:35 2002 Kristian Rietveld - - * gdk/gdkpixmap.h (gdk_pixmap_new), (gdk_bitmap_create_from_data), - (gdk_pixmap_create_from_xpm), (gdk_pixmap_colormap_create_from_xpm), - (gdk_pixmap_create_from_xpm_d), - (gdk_pixmap_colormap_create_from_xpm_d): update to allow a - GdkDrawable instead of a GdkWindow. - - * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpm), - (gdk_pixmap_create_from_xpm), (gdk_pixmap_colormap_create_from_xpm_d), - (gdk_pixmap_create_from_xpm_d): update to allow a GdkDrawable - instead of a GdkWindow. - - * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new), - (gdk_bitmap_create_from_data), (gdk_pixmap_create_from_data): update - to allow a GdkDrawable instead of a GdkWindow. - - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new), - (gdk_bitmap_create_from_data), (gdk_pixmap_create_from_data): likewise - -Mon Dec 9 17:31:06 2002 Owen Taylor - - * gtk/gtkiconfactory.c (icon_size_lookup_intern): Remove - unnecessary leftover check that was causing a UMR. - (#100768, Kjartan Maraas) - -Mon Dec 9 19:11:22 2002 Artis Trops - - * configure.in: Added Latvian (lv) to ALL_LINGUAS. - -Mon Dec 9 10:44:59 2002 Owen Taylor - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): - Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, - #100023) - -Sun Dec 8 21:43:31 2002 Owen Taylor - - * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of - for (i=0; i - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc1): Fix - a lost refcount in the case where we get a duplicate - back from the X server. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_writeable): - Set success[] for all colors when allocation of colors - cells via XAllocColorCells succeeds. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): - Don't match against colors cells allocated writeable. - -Sun Dec 8 21:22:46 2002 Owen Taylor - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): - When allocating non-writeable colors, fill in the flags - field of the XColor, and insert the returned color into - our color hash. (#100023, Naofumi Yasufuku) - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_free_colors): - Fix a typo (my fault) that slipped in in the last patch. - -Sun Dec 8 20:32:23 2002 Owen Taylor - - More fixes for GdkColormapX11 (#100023, Naofumi Yasufuku) - - * gdk/x11/gdkcolor-x11.c (gdk_colors_free) - (gdk_colormap_free_colors): Don't call XFreeColors() for - private colorsmaps. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_writeable, - gdk_colormap_colors_private, gdk_colormap_alloc_colors_shared): - Fix return values to return number remaining not number - allocated. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_shared, - gdk_colormap_alloc_colors_private): Clean up some a stray - initializations. - -Sun Dec 8 20:19:22 2002 Owen Taylor - - Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku) - - * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_foreign_new): - Fix typo that caused us to always return the system - colormap. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_new): When allocating - a private colormap and copying the system palette - to prevent flashing, handle colormap->size greater than - system_colormap->size. - - * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xdisplay): - Get rid of the last remains of private->xdisplay - in favor of using private->screen. - -2002-12-09 Tor Lillqvist - - Merge from stable: - - * gdk/win32/gdkdrawable-win32.c (generic_draw): Don't leak - stipple_gc. More checks for errors. Use correct ternary ROP when - blitting the foreground into the tile pixmap onto those pixels - where the stipple is set. (I didn't notice that I had used the - wrong one, as it didn't matter on Win2k, where DIB sections - apparently are zeroed upon creation. But on Win98 they have random - initial contents. Thanks to Hans Breuer for reporting this.) - (gdk_win32_draw_rectangle, gdk_win32_draw_arc, - gdk_win32_draw_polygon): Don't pass the LINE_ATTRIBUTES bits to - generic_draw() if drawing a filled figure. - - * gdk/win32/gdkmain-win32.c (_gdk_win32_print_dc): Minor cosmetics. - (_gdk_win32_gcvalues_mask_to_string): Initialize buffer as empty. - (_gdk_win32_window_state_to_string): New debugging output helper - function. - - * gdk/win32/gdkevents-win32.c: Minor debugging output changes. - (gdk_event_translate): Ignore the WM_SHOWWINDOW/SW_OTHERUNZOOM or - SW_OTHERZOOM messages. Do not generate a GDK_UNMAP event for - WM_SIZE/SIZE_MINIMIZED messages, they do not really corrspond to - unmapping on X11. Set window state correctly for all three of - SIZE_{MINIMIZED,MAXIMIZED,RESTORED}. A maximized and then iconified - ("minimized" in Windows terminology) window still has the - "maximized" property, i.e. when deiconified, it will reappear as - maximized. (#10557) - - * gdk/win32/gdkprivate-win32.h: Declare new function. - (WIN32_API_FAILED, WIN32_GDI_FAILED, OTHER_API_FAILED): Don't use - __PRETTY_FUNCTION__ if __GNUC__ >= 3, to avoid warning message. - - * gdk/win32/gdkwindow-win32.c (show_window_internal): Handle more - situations. Add parameter to tell whether deiconifying. Code - reorg: Return early when appropriate instead of using nested if - statements. If just deiconifying without raising, restore active - window. (#10557) - - (gdk_window_hide, gdk_window_withdraw, gdk_window_iconify, - gdk_window_deiconify, gdk_window_maximize, gdk_window_unmaximize, - gdk_window_focus): Use _gdk_win32_window_state_to_string() in - debugging output. - - (gdk_window_iconify): Restore active window after calling - ShowWindow(). Otherwise the "next" window gets activated. - - (gdk_window_stick, gdk_window_unstick): Don't output any warnings. - - (gdk_window_set_transient_for): Rewrite. Just call SetWindowLong() - with GWL_HWNDPARENT, which despite its name sets the *owner* - window, which should be exactly what we want. The PSDK - documentation is said to be misleading. testgtk's modal window - test now works much better. (#50586) - -Sun Dec 8 18:28:51 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_modify_fg/bg/base/text/font): - Remove left-over NULL checks that were preventing the - NULL to "unmodify" feature from actually working. - (#100702, Jon-Kare Hellan) - -2002-12-08 Matthias Clasen - - * gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color): - (gtk_color_selection_set_previous_alpha): Reset priv->changing - before returning. (#100443) - -Sat Dec 7 14:45:50 GMT 2002 Tony Gale - - * docs/tutorial/gtk-tut.sgml: minor fixes - - * examples/pixmap: don't use deprecated function - -Fri Dec 6 19:00:59 2002 Owen Taylor - - * demos/gtk-demo/testview.c tests/testgtk.c - tests/testtext.c tests/testtextbuffer.c: Use - octal escapes rather than literal UTF-8. - -Fri Dec 6 17:50:57 2002 Owen Taylor - - * gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect - masks in PACKED_COLOR definition. (#99795, - John Finlay) - -Fri Dec 6 17:46:42 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_window_size_request): Use - the correct screen for getting the height. - (Fix from Stephen Browne, #96777) - -Thu Dec 5 16:01:14 2002 Eric Warmenhoven - - * gdk/{linux-fb,win32}/Makefile.am: Fix gdkenumtypes.h hack - -2002-12-06 Matthias Clasen - - * gdk/gdkcolor.c: - * gdk/gdkfont.c: Add some Deprecation info. - -Wed Dec 4 19:41:14 2002 Eric Warmenhoven - - * gdk/linux-fb/gdkglobals-fb.c gdk/linux-fb/gdkkeyboard-fb.c - gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkprivate-fb.h - gdk/linux-fb/gdkrender-fb.c: More proper vt switch handling - -Wed Dec 4 14:31:46 2002 Owen Taylor - - * gdk/x11/gdkdnd-x11.c: Always look up and create the - Motif drag window as a child of the root window of screen 0 - rather than the default screen. (#100362, Erwann Chenede) - - * gdk/x11/gdkdnd-x11.c (motif_read_initiator_info): - Return FALSE, not GDK_FILTER_REMOVE on failure; this - isn't a filter function. - - * gdk/x11/gdkselection-x11.c gtk/gtkselection.c: Add - some g_return_if_fail() to catch selection == None more - gracefully than an X error. - -2002-12-04 Christian Neumair - - * gtk/gtkcellrendertoggle.c: Fixed typo in property - description. - -Wed Dec 4 12:44:50 2002 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_selection_changed): Add - back the monitoring of the selection when the combo - isn't popped down; apparently people depended upon - the side-effect where gtk_combo_set_popdown_strings() - would wipe out the contents of the list when browse-mode - autoselected the first item in the list. (#100347) - -Tue Dec 3 17:47:24 2002 Owen Taylor - - * gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong - sign for queued translation. (Found by Chris Blizzard, - #100274) - -2002-12-03 Matthias Clasen - - Moveresize emulation for all edges. (#52833) - - * gdk/x11/gdkwindow-x11.c (update_pos): Support all edges. - (calculate_unmoving_origin): New function which calculates the - ICCCM reference point for the window depending on the gravity. - (emulate_resize_drag): use calculate_unmoving_origin(). - (emulate_move_drag): use calculate_unmoving_origin(). - - RTL flipping for statusbars. (#96832) - - * gtk/gtkstatusbar.c (get_grip_edge): New function returning the - appropriate grip edge for a statusbar. - (get_grip_rect): Do the right thing in RTL mode. - (gtk_statusbar_button_press): Initiate a resize drag on the - appropriate edge. - (gtk_statusbar_expose_event): Paint the resize grip for the - appropriate edge. - -2002-12-03 Anders Carlsson - - * gtk/gtkstyle.c: Fix doc comment. - -Mon Dec 2 20:36:28 2002 Owen Taylor - - * === Released GTK+-2.1.3 === - - * configure.in: Version 2.1.3, interface ago 0. - - * NEWS: Update - -2002-12-02 Murray Cumming - - * gtk/gtktreemodel.h: Declare gtk_tree_row_reference_get_type(). It is - already used by a macro in the same header. - -2002-11-28 Matthias Clasen - - * gdk/gdkdisplay.c: - * gdk/gdkdisplaymanager.c: - * gdk/gdk.c: - * gdk/gdkdraw.c: - * gdk/gdkevents.c: - * gdk/gdkrgb.c: - * gdk/gdkscreen.c: - * gdk/gdkwindow.c: - * gdk/x11/gdkcolor-x11.c: - * gdk/x11/gdkcursor-x11.c: - * gdk/x11/gdkdisplay-x11.c: - * gdk/x11/gdkdnd-x11.c: - * gdk/x11/gdkevents-x11.c: - * gdk/x11/gdkfont-x11.c: - * gdk/x11/gdkgc-x11.c: - * gdk/x11/gdkinput.c: - * gdk/x11/gdkkeys-x11.c: - * gdk/x11/gdkpango-x11.c: - * gdk/x11/gdkpixmap-x11.c: - * gdk/x11/gdkproperty-x11.c: - * gdk/x11/gdkscreen-x11.c: - * gdk/x11/gdkselection-x11.c: - * gdk/x11/gdkvisual-x11.c: - * gdk/x11/gdkwindow-x11.c: - * gdk/x11/gdkxid.c: - * gtk/gtkclipboard.c: - * gtk/gtkcolorsel.c: - * gtk/gtkiconfactory.c: - * gtk/gtkinvisible.c: - * gtk/gtkliststore.c: - * gtk/gtkmenu.c: - * gtk/gtkmenushell.c: - * gtk/gtknotebook.c: - * gtk/gtkplug.c: - * gtk/gtkselection.c: - * gtk/gtksettings.c: - * gtk/gtktreemodel.c: - * gtk/gtktreemodelsort.c: - * gtk/gtktreeselection.c: - * gtk/gtktreestore.c: - * gtk/gtktreeview.c: - * gtk/gtktreeviewcolumn.c: - * gtk/gtkwidget.c: - * gtk/gtkwindow.c: Document 2.2 API additions. I'm not - going to list all individual functions here; if you want to see - the list, grep for "Since: 2.2". - -Tue Nov 26 13:07:56 2002 HideToshi Tajima - - * modules/input/gtkimcontextxim.c - (gtk_im_context_xim_filter_keypress): - Fix #99593: Fix a memory leak when XmbLookupString returns - XBufferOverflow - -2002-11-26 Daniel Elstner - - * gtk/gtktoolbar.c (elide_underscores): Fix nasty typo (#99653): - strlen (original + 1) -> strlen (original) + 1 - -Tue Nov 26 22:26:04 2002 Kristian Rietveld - - * gtk/gtk{tree,list}store.c (gtk_{tree,list}_store_real_set_value): - add a gtk_list_store_sort_iter_changed line for some special - case ... (#96647 (issue 1), testcases from Soeren Sandmann and - Daniel Elstner). - -Tue Nov 26 22:18:06 2002 Kristian Rietveld - - Inconsistent state for toggle renderers, requested by Paolo Bacchilega - in #88130. - - * gtk/gtktreeprivate.h: move GtkCellRendererInfo here. - - * gtk/gtkcellrenderer.c: moved GtkCellRendererInfo away, - fix some indentation issues. - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init), - (gtk_cell_renderer_toggle_set_property), - (gtk_cell_renderer_toggle_get_property), - (gtk_cell_renderer_toggle_render): add an inconsistent property. - - * gtk/gtkstyle.c (gtk_default_draw_check), - (gtk_default_draw_option): support drawing inconsistent - options/checks for cells. - -Tue Nov 26 22:14:14 2002 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done), - (gtk_cell_renderer_text_start_editing): add a focus_out_id to avoid - calling _editing_done twice (which has nasty side-effects). (#96647, - (issue 2) testcase from Soeren Sandmann). - -Tue Nov 26 22:12:21 2002 Kristian Rietveld - - #82739, patch from Padraig O'Briain. - - * gtk/gtktreeviewcolumn.[ch]: add - gtk_tree_view_column_cell_get_position() - -Tue Nov 26 22:06:29 2002 Kristian Rietveld - - Yes, this chunk breaks ABI compatibility. Owen knows about it and - agreed with it. It doesn't break ABI that bad though, things will - still work. Please keep it silent :P. - - This patch fixes some keynav issues reported by Narayana Pattipati - in #81633. (Also mentioned in #92037 (Sun tracking bug)). - - * gtk/gtkmarshalers.list: add two silly marshalers - - * gtk/gtktreeview.[ch] (gtk_tree_view_real_select_all), - (gtk_tree_view_real_unselect_all), - (gtk_tree_view_real_select_cursor_row), - (gtk_tree_view_real_toggle_cursor_row), - (gtk_tree_view_real_expand_collapse_cursor_row), - (gtk_tree_view_real_start_interactive_search): change the return - type from void to gboolean, update prototypes, functions, signals and - entries in GtkTreeViewClass, - (gtk_tree_view_class_init): add select_cursor_row binding for - enter key, - (gtk_tree_view_key_press): only navigate the header button if the - header is also visible ... - -Tue Nov 26 22:05:48 2002 Kristian Rietveld - - API bit of #75745, reported by Richard Hult. - - * gtk/gtkcellrenderer.h (GtkCellRendererState): add - GTK_CELL_RENDERER_FOCUSED, rest of this bug fix will follow later. - -Tue Nov 26 18:28:58 GMT 2002 Tony Gale - - * docs/tutorial/package-db-tutorial.sh: - (see #71679) create split package files - -Tue Nov 26 01:55:47 2002 Soeren Sandmann - - * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): don't offset - one pixel when calculating the x position of the text. - -Tue Nov 26 00:40:53 2002 Soeren Sandmann - - * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): draw text - twice, once with the prelight state and clipped to the progress - bar, and once with the normal state and clipped to the visible - part of the trough. Also fix a spelling error pointed out by - Matthias Clasen. - -Mon Nov 25 17:44:09 2002 Owen Taylor - - Fixes from #98358, Havoc Pennington. - - * gdk/{x11,win32,linux-fb}/gdkcolor-*.c (gdk_colormap_finalize): - Free the private structure. - - * gdk/x11,win32,linxu-fb}/gdkscreen-*.c (gdk_screen_set_default_colormap): - gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): - Keep a ref to the default colormap. - - * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): Unref - the default colormap. - - * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_set_colormap): - Handle the CMAP == NULL case even when the window is - destroyed. - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): - Add a missing ref for the system colormap. - -Mon Nov 25 17:10:54 2002 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_set_property_value): - Fix missing adjustments for new type of - gtk_settings_set_property_value_internal(). (#99436, - Iain Holmes.) - - * gtk/gtksettings.c (apply_queued_setting): Set the - source _after_ we call g_object_set_property, or otherwise - we get the APPLICATION source from our setter - implemenatation. - -2002-11-25 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (print_event_state, - print_window_state, print_event): Enclose in #ifdef - G_ENABLE_DEBUG, as they use functions only available with - G_ENABLE_DEBUG, and are called only when G_ENABLE_DEBUG. (#99494, - Arnaud Charlet) - -Mon Nov 25 16:58:27 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c: Use _NET_WM_WINDOW_TYPE_SPLASH, - not TYPE_SPLASHSCREEN. (#99482, Gregory Merchan) - -2002-11-25 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml: Fix the ftp download url. - -Mon Nov 25 19:10:54 2002 Soeren Sandmann - - * gtk/gtkprogressbar.c: Style improvements that I forgot about - in last commit. - -Mon Nov 25 18:56:55 2002 Soeren Sandmann - - * gtk/gtkprogressbar.c (gtk_progress_bar_paint): Break this - function into simpler functions: - gtk_progress_bar_paint_text(), gtk_progress_bar_paint_discrete(), - gtk_progress_bar_paint_continous(), - gtk_progress_bar_paint_activity(). - -Mon Nov 25 12:34:44 2002 Owen Taylor - - * gtk/gtkdialog.c (gtk_dialog_set_default_response): - Remove code to grab the focus here, it is no longer - needed since we focus a widget on map, and can cause - harm. (#99048, Daniel Elstner) - -2002-11-24 Tor Lillqvist - - Merge from stable: - - Implement tiles and stipples for all drawing methids (except the - deprecated draw_text() and draw_text_wc()). - - * gdk/win32/gdkdrawable-win32.c: Remove the already ifdeffed-out - code that didn't use generic_draw(). - - (generic_draw): When drawing into the mask (for tiled/stippled - fill styles), copy the line attributes from the actual GC. Also - ask for text drawing setup if needed. Use differently set up HDCs - in the normal and tiled/stippled cases. - - (draw_lines, gdk_win32_draw_lines, draw_polygon, - gdk_win32_draw_polygon, draw_segments, gdk_win32_draw_segments, - draw_arc, gdk_win32_draw_arc): Use generic_draw(), thus - implementing tiled and stippled fill styles for lines, polygons, - segments, and args. - - (gdk_win32_draw_points): Use Rectangle() instead of - SetPixel(). Rectangle() uses the function (raster op) set for the - HDC, SetPixel() doesn't. - - (widen_bounds): New function, refactoring. - - * gdk/win32/gdkgc-win32.c: Remove ifdeffed-out code. - - (predraw_set_foreground, gdk_win32_hdc_get): Some code moved - around. Call SetROP2() only if necessary. Call SetTextColor() only - if GDK_GC_FOREGROUND flag present. Don't handle - GDK_OPAQUE_STIPPLED here, has been superseded by the code in - generic_draw(). Always create a solid brush. - - Remove background color handling from here. The background color - of a GdkGC is supposed to affect only GDK_OPAQUE_STIPPLED fill - style, which it is already handled in generic_draw(), and - GDK_LINE_DOUBLE_DASH lines, which aren't implemented properly - anyway. Calling SetBkColor() is unnecessary as we always use - TRANSPARENT text output. - - (gdk_win32_hdc_get, gdk_win32_hdc_release): Add doc comments, as - these are public functions. - - * gdk/win32/gdkevents-win32.c (synthesize_expose_events): Don't - synthesize expose events for GDK_INPUT_ONLY windows. - (gdk_event_translate): On WM_SIZE, call - gdk_synthesize_window_state() if window was iconified, restored or - maximized. (#98983, Arnaud Charlet) - - * gtk+/gdk/win32/gdkwindow-win32.c - (gdk_window_get_frame_extents): Fix typo in setting y. (#98983, - Arnaud Charlet) - -2002-11-23 Matthias Clasen - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): - Remove period from title of example in docs. - -2002-11-21 15:43:54 2002 Dan Mills - - * configure.in: replace gtk-doc version check with an all-sh - version that works better, - also up the required gtk-doc version to 0.10 (#99216). - -2002-11-21 Matthias Clasen - - * configure.in: Generate docs/reference/*/version.xml. - - * gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about - reflexive ancestry. (#99085, Frederic Lespez) - - * docs/tutorial/gtk-tut.sgml: - * examples/calendar/calendar.c: Numerous fixes to the calendar - example. (#97956, Owen Taylor) - - * gtk/gtktreeview.c (gtk_tree_view_set_cursor): Fix doc - comment typos. (#97432, Vitaly Tishkov) - - * gtk/gtktreemodel.c (gtk_tree_model_iter_nth_child): Fix doc - comment typos. (#98158, Vitaly Tishkov) - - * gtk/gtkmenu.c (gtk_menu_set_screen): Fix doc comment - typos. (#98480, Vitaly Tishkov) - -Wed Nov 20 23:13:19 2002 Kristian Rietveld - - * docs/RELEASE-HOWTO: small tweaks. - -Wed Nov 20 19:29:50 2002 Kristian Rietveld - - * gtk/gtkrbtree.c (gtk_rbtree_reorder_sort_func): return a value - in the range of [-1, 1] instead [0, 1], - (gtk_rbtree_reorder_invert_func): ditto, - This makes treeview reordering working on platforms as FreeBSD and - solaris, thanks go to Heiner Eichmann for finding this out and - sending in a patch (#98251). - -Wed Nov 20 19:27:07 2002 Kristian Rietveld - - * gtk/gtktreestore.c (node_free): only free the data list if - node->data is not NULL, - (gtk_tree_store_remove): free the data list from the node if - needed. (#94728, pointed out by Peter Bloomfield). - -Wed Nov 20 19:23:13 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_remove_column): stop editing - and set the edited_column to NULL if edited_column is set. - (#91288, modified patch from Josh Parsons). - -Wed Nov 20 19:20:34 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do a full - redraw if vadjustment->value is bigger than tree_view->priv->height, - (gtk_tree_view_row_deleted): free the row ref if it isn't valid - anymore. (#83726, reported by Robert Kinsella). - -Tue Nov 19 17:05:51 2002 Manish Singh - - * gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the - top of gtktypebuiltins.c. - - * gtk/gtkclist.c - * gtk/gtkcombo.c - * gtk/gtkctree.c - * gtk/gtklist.c - * gtk/gtklistitem.c - * gtk/gtkoldeditable.c - * gtk/gtkpixmap.c - * gtk/gtkpreview.c - * gtk/gtksignal.c - * gtk/gtktext.c - * gtk/gtktipsquery.c - * gtk/gtktree.c - * gtk/gtktreeitem.c - * gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets - and compat code. - - * gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation - to set_color_internal, and use that. The deprecated function now - merely wraps it. - - * gtk/gtkfontsel.c: same as above, except with - gtk_font_selection_get_font. - - * gtk/gtknotebook.c: same as above, except with - gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border, - hborder,vborder}. - - * gtk/gtkprogressbar.c: same as above, except with - gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step, - activity_blocks}. - - * gtk/gtkstyle.c: same as above, except with gtk_style_get_font. - - * gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize. - - * gtk/gtkitemfactory.h: declare compatibility functions for deprecated - GtkMenuFactory stuff if GTK_COMPILATION, since they are used - internally by the compat code. - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove - use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop - now). - - * gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*. - - * gtk/gtkobject.c: replaced various deprecated functions. In set and - get_property, use g_object_{set,get}_data with "user_data" instead - of gtk_object_{set,get}_user_data. - - * gtk/gtkprogress.h: API declared if GTK_COMPILATION - - * gtk/gtkprogress.c: port get_type to GObject API. - - * gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init, - if GTK_COMPILATION. - - * gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of - gtk_widget_queue_draw instead of the other way around. - - * tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED - - * tests/testgtk.c - * tests/testselection.c - * tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of - deprecated stuff. - -Tue Nov 19 17:01:40 2002 Manish Singh - - * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range): - initialize anchor_path to NULL. - - * examples/buttonbox/buttonbox.c: remove useless static qualifier. - -2002-11-19 Matthias Clasen - - * tests/testgtk.c (do_bench): - (do_real_bench): - (bench_iteration): Add a dummy widget and pass it as first - argument to the various create functions when in --bench mode, - since these call gtk_widget_get_screen () on their first argument. - -Mon Nov 18 17:15:07 2002 Manish Singh - - * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use - gdk_drawable_get_size instead of gdk_window_get_size. Fixes - #98957. - -Tue Nov 19 00:45:34 2002 Kristian Rietveld - - * docs/RELEASE-HOWTO: new file describing the release process. - - * docs/Makefile.am: added RELEASE-HOWTO to EXTRA_DIST. - -Mon Nov 18 18:15:56 2002 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_get_property): Clean up - a bit of duplicated code. - -Mon Nov 18 20:42:27 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_expand_to_path): modify and - free tmp instead of path ... (patch from #97927). - -Mon Nov 18 20:31:20 2002 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): - only _set_text if celltext->text is not NULL. (#97815, reported - and testcase provided by Vitaly Tishkov). - -Mon Nov 18 20:28:28 2002 Kristian Rietveld - - * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range): - also update the anchor_path, makes behaviour consistent with the - other selection modification functions. (#96801, reported and - testcase provided by Vitaly Tishkov). - -Mon Nov 18 20:17:56 2002 Kristian Rietveld - - Hrm, this fixes up lots of mistakes in my swap/move code ... Some - of these mistakes where pointed out by Vitaly Tishkov in bugs - #97403, #97404, #97412, #97618. - - * gtktreestore.[ch]: gtk_tree_store_move is now private, use - gtk_tree_store_move_{before,after} instead now. Lots of fixes - (more like a rewrite :) in the _move and _swap functions. - - * gtkliststore.[ch]: likewise. - -2002-11-18 Abigail Brady - - * gtk/gtkimmodule.c: (_gtk_im_module_list): Sort the list of Input - Modules by name, keeping Default at top. - -Sun Nov 17 13:45:08 2002 Manish Singh - - * gdk/Makefile.am: add -DGDK_DISABLE_DEPRECATED - - * gdk/gdk.c (gdk_exit): remove obsolete comment - - * gdk/gdk.h: declare gdk_input_add_full if GTK_COMPILATION for - gtk_input_add_full - - * gdk/gdkcolor.c (gdk_color_white, gdk_color_black): use - gdk_colormap_alloc_color instead of gdk_color_alloc - - * gdk/gdkcolor.h: declare gdk_colormap_change if GDK_COMPILATION for - gdk_colors_store. Also, gdk_colors_{alloc,free} for - gdk_rgb_try_colormap - - * gdk/gdkdrawable.h: declare gdk_draw_string if GTK_COMPILATION for - gtk_default_draw_string. Also, gdk_draw_text and gdk_draw_text_wc - if GDK_COMPILATION for the respective gdk_window_ and gdk_pixmap_ - functions. - - * gdk/gdkfont.c: #undef GDK_DISABLE_DEPRECATED, completely compat - code here - - * gdk/gdkfont.h: allow the GdkFont structure and a few gdk_font_ - functions for compat code in GDK_COMPILATION and GTK_COMPILATION. - - * gdk/gdkrgb.c (gdk_rgb_cmap_fail, gdk_rgb_try_colormap): use - gdk_colormap_free_colors instead of gdk_colors_free. - - * gdk/gdkrgb.c (gdk_draw_rgb_image_core): no need to set fg/bg - for own_gc, unused. - - * gdk/gdkwindow.h: declare gdk_window_get_deskrelative_origin if - GTK_COMPILATION for gtk_handle_box_button_changed. - - * gdk/x11/Makefile.am: add -DGDK_DISABLE_DEPRECATED, renmae - -DINSIDE_GDK_X11 to -DGDK_COMPILATION - - * gdk/x11/gdkcolor-x11.c: remove duplicate doc string for - gdk_colormap_alloc_colors. - - * gdk/x11/gdkfont-x11.c: #undef GDK_DISABLE_DEPRECATED, completely - compat code here - - * gdk/x11/gdkx.h: use GDK_COMPILATION instead of INSIDE_GDK_X11, - allow a few gdk_x11_font_ functions if GDK_COMPILATION for compat - code - - * gtk/Makefile.am: add -DGDK_DISABLE_DEPRECATED - - * gtk/gtkclist.c - * gtk/gtkctree.c - * gtk/gtkpixmap.c - * gtk/gtkpreview.c - * gtk/gtktext.c: #undef GDK_DISABLE_DEPRECATED, deprecated widget - - * gtk/gtkhandlebox.c (gtk_handle_box_motion): use - gdk_window_set_geometry_hints instead of gdk_window_set_hints. - - * gtk/gtkmain.c (gtk_exit): call exit directly - - * gtktipsquery.c (gtk_tips_query_real_start_query) - * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): remove some - deprecated GDK usage. - -Sun Nov 17 10:49:28 2002 Jonathan Blandford - - * gtk/gtksettings.c (gtk_settings_get_property): remove bogus - gvalue initialization/freeing. - -2002-11-16 Tor Lillqvist - - * gdk/gdk.def: Add missing entries, needed by gtk. - - * gdk/win32/gdkcolor-win32.c (gdk_screen_get_system_colormap): - Remove g_return_val_if_fail call. This function is called from - gdk_display_open() with the _gdk_screen it just created, but when - gdk_screen_get_default() still returns NULL. - - * gdk/win32/gdkdisplay-win32.c - * gdk/win32/gdkscreen-win32.c: Make more like the linux-fb - versions. For instance, don't call - gdk_display_manager_set_default_display() from gdk_display_open(). - - * gdk/win32/gdkglobals-win32.c: Move _gdk_display, _gdk_screen and - _gdk_parent_root here. - - * gdk/win32/gdkinput.c (gdk_display_list_devices): New function. - - * gdk/win32/gdkmain-win32.c (gdk_get_display): New function. - - * gdk/win32/gdkvisual-win32.c (gdk_screen_get_system_visual): - Don't require that the screen parameter is non-NULL. It can be, - and the linux-fb version doesn't check either. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint, - gdk_window_set_skip_pager_hint, gdk_window_fullscreen, - gdk_window_unfullscreen): Implement as no-ops. - - * gtk/gtk.def: Remove obsolete entries. - -Fri Nov 15 19:12:56 2002 Jonathan Blandford - - * gtk/gtksettings.c: Allow g_object_set to work with GtkSettings. - -2002-11-15 Tor Lillqvist - - * gdk/gdk.def: Reflect recent renamings and removals of functions. - - Merge from stable: - - Start implementing all fill styles (i.e. tiled, stippled, and - opaque stippled in addition to the plain solid style) in the Win32 - backend in an elegant and generic way. For now only did the - draw_rectangle() and draw_glyphs() methods. The rest will - follow. Previously some of the drawing methods implemented opaque - stippling, but not tiles or non-opaque stippling. - - Seems to work fine, now the check marks show up in check buttons, - the stippled background and stippled text in gtk-demo's Text - Widget look as they should, and GtkText's line wrap arrow shows - correctly instead of an ugly rectangle. - - The implementation does do a lot of pixmap handling and blitting - back and forth, especially on Win9x. But performance is hopefully - not an issue. I don't think many applications do a lot of tiled or - stippled drawing. - - * gdk/win32/gdkprivate-win32.h: Define a new macro, GDI_CALL, that - calls a GDI function and prints a warning if it failed. Also - API_CALL for non-GDI calls. Cleans all the the if (!BlaBla()) - WIN32_GDI_FAILED ("BlaBla") snippets, these can now be written - GDI_CALL (BlaBla, ()). Declare new functions. - - * gdk/win32/gdkdrawable-win32.c: Use GDI_CALL macro in lots of places. - - (generic_draw): New function that handles all the blitting - necessary to implement tiles and stipples. A function that - actually draws stuff is passed as a parameter to - generic_draw(). If the fill style is solid, it is called - directly, to draw on the destination drawable. Otherwise it is - called to draw on a temporary mask bitmap, which then is used in - blitting operations. The tiles and/or stipples are rendered into - another temporary pixmap. If MaskBlt() is available (on NT/2k/XP), - it is used, otherwise a sequence of BitBlt() is used to do the - final composition onto the destination drawable. - - (draw_tiles_lowlevel, draw_tiles): Some renaming and code - reorg. Use BitBlt() to blit each tile, not gdk_draw_drawable(). - - (rop2_to_rop3): New function, does binary->ternary rop mapping. - - (blit_from_pixmap, blit_inside_window, blit_from_window): Use - rop2_to_rop3(). Previously used SRCCOPY always... - - (draw_rectangle, gdk_win32_draw_rectangle, draw_glyphs, - gdk_win32_draw_glyphs): Split functionality into two functions, - with generic_draw() doing its magic inbetween. - - * gdk/win32/gdkevents-win32.c: Remove the TrackMouseEvent code, it - was ifdeffed out and wouldn't have done anything even if - enabled. Remove the GDK_EVENT_FUNC_FROM_WINDOW_PROC code, didn't - have any effect any more anyway after all the changes GTK+ has - gone through in the last years. Remove some #if 0 code. - - * gdk/win32/gdkgc-win32.c (gdk_gc_copy): Set the copy's hdc field - to NULL in case a GC is copied while it has a Windows DC active. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c: Remove gdk_event_func_from_window_proc. - - * gdk/win32/gdkmain-win32.c: Remove -event-func-from-window-proc - option. If there is a PRETEND_WIN9X envvar, set windows_version as - if on Win9x. - - * gdk/win32/gdkpixmap-win32.c (_gdk_win32_pixmap_new, - gdk_pixmap_new): Combine these two, _gdk_win32_pixmap_new() wasn't - used or exported. Make a bit more like the X11 version. Hopefully - I didn't break the fragile palettized display ("pseudocolor") - code. - - * gdk/win32/gdkgc-win32.c: Various debugging output improvements. - - (predraw_set_foreground): Check whether - tile/stipple origins are valid when calling SetBrushOrgEx(). - - (gdk_win32_hdc_get): Ifdef out code that tries to handle the - stipple by converting it into a region, and combining the clip - region with that. A stipple shouldn't work like that, it should - replicate in x and y directions. Stipples are now handled by - generic_draw() in gdkdrawable-win32.c. - - * gdk/win32/gdkmain-win32.c: (gdk_win32_gcvalues_mask_to_string, - gdk_win32_rop2_to_string): New debugging functions. - - (gdk_win32_print_dc): Print also DC's rop2 and text color. - -Thu Nov 14 14:58:21 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_name): - Fix display/window typo. (#98511, Soeren Sandmann) - -Fri Nov 8 18:04:16 2002 Owen Taylor - - * gdk/{linux-fb,win32,11}/Makefile.am: Try a different - hack to force gdkenumtypes.h to be updated before - building the subdir, last hack caused contents - to be rebuilt on every make. - -Wed Nov 13 21:45:36 2002 Manish Singh - - * gtk/gtkhsv.c: get rid of deprecated gdk_rgb_gc_set_foreground - usage in favor of gdk_gc_set_rgb_fg_color. - -Thu Nov 14 00:33:26 2002 Owen Taylor - - * gtk/gtkmenu.c (attach_widget_screen_changed): Monitor - the screen of the attach widget continually, rather than only - setting the screen only on popup (#85710) - - * gtk/gtkmenu.c (gtk_menu_set_screen): Allow %NULL to - go back to getting the screen from the attach widget. - -Wed Nov 13 17:03:19 2002 Owen Taylor - - * gtk/gtkcombo.c: Change so that updates of selection - don't take effect immediately, but only when popdown - is closed with a button release within the combo - or Return/Enter. - - * gtk/gtkcombo.c: Support Alt-Down to pop down the - combo, Alt-Up to pop it back up, Space to immediately - select current item. - - * gtk/gtkcombo.c (gtk_combo_entry_key_press): Don't - move the focus when we get to the ends of the list - entries. - - * gtk/gtkcombo.c: Fix handling of state in ad-hoc - keybinding handling to be a bit more reasonable. - - * gtk/gtkcombo.c (gtk_combo_popup_list): Clear - last_focus_child when no item is selected so we - don't start focusing from some random place. - - * gtk/gtkcombo.c (gtk_combo_init): Make - gtk_combo_set_use_arrows_always, enable_arrows_always - properties have no effect, they were an awful idea. - Always behave as if enable_arrows_always is true. - - * gtk/gtknotebook.c: Fix a warning. - -Wed Nov 13 13:50:25 2002 Eric Warmenhoven - - * gdk/linux-fb/gdkinput.c: add gdk_display_get_devices to fix - compilation - -Wed Nov 13 15:52:53 2002 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_activate): Fix warning. - - * gtk/gtkcombo.c: Fix code that was meant to delay - grabbing events on the list until we had an enter-notify. - (#54353, reported by Mike Fulbright, others) - -2002-11-13 Matthias Clasen - - * gtk/theme-bits/decompose-bits.c (do_part): Add a const here. - - * gtk/gtkcolorsel.c: - * gtk/gtkimcontextsimple.c: - * gtk/gtkstyle.c: Mark constant data as const to give the compiler - a chance to put it in a readonly section. (#75754) - -Wed Nov 13 10:53:37 2002 HideToshi Tajima - - * modules/input/gtkimcontextxim.c: - Fix #90661: add im_info->im switch at the top of setup_im() and - get_ic_real(). - Fix #97674: make sure only one status window for the focused - input context should be shown. - -Wed Nov 13 11:55:25 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_button_press): - When clicking on a non-active tab, focus the first - widget in the tab, not the tab itself. (#98322) - - * gtk/gtknotebook.c (gtk_notebook_focus_changed): - Eliminate synchronous drawing, just call redraw_tabs. - - * gtk/gtknotebook.c (gtk_notebook_init): Don't set - the RECEIVES_DEFAULT flag, we no longer do anything - with Return/Enter key. - -Tue Nov 12 17:10:10 2002 Owen Taylor - - * gtk/gtkcombo.c: Fix up grabs to be robust; grab - the keyboard as well as the pointer so we won't - leave the window behind if the user switches desktops - with a keyboard combination. (Based on a patch - from Matthias Clasen, #82525) - -Wed Nov 13 14:01:44 2002 Soeren Sandmann - - * gtk/gtkstyle.c: - - - comment out check_inconsistent_aa_bits[]. - - - use fg/bg with a generated aa color to draw check and option - marks in menu items. - - - use text/base to draw check and option buttons, except when - state is ACTIVE, in which case we use fg/bg with a generated - aa color. - - * tests/testgtk.c (menu_items): Add three check items. - -2002-11-12 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/*.c: Rename all global variables and functions to - start with underscore. - - Merge from stable: - - More work on the Win32 backend. The cause of some scrolling - problems was that SetWindowPos() and ScrollWindowEx() don't blit - those parts of the window they think are invalid. As we didn't - keep Windows's update region in synch with GDK's, Windows thought - those areas that in fact had been updated were invalid. Calling - ValidateRgn() in _gdk_windowing_window_queue_antiexpose() seems to - be an elegant and efficient solution, removing from Windows's - update region those areas we are about to repaint proactively. - - In some cases garbage leftover values were used for the clip - origin in GdkGCWin32. This showed up as odd blank areas around the - pixmaps included in the Text Widget in gtk-demo. - - Having the clip region either as a GdkRegion or a HRGN in - GdkGCWin32 was unnecessary, it's better to just use a HRGN. - - The translation and antiexpose queue handling in - gdkgeometry-win32.c seems unnecessary (and not implementable in - the same way as on X11 anyway, no serial numbers) on Windows, - ifdeffed out. - - Don't (try to) do guffaw scrolling as there is no static window - gravity on Windows. Guffaw scrolling would be unnecessary anyway, - as there is the ScrollWindow() API. This improves the behaviour of - the Text Widget demo in gtk-demo a lot. But I have no idea how the - lack of static win gravity should be handled in other places where - the X11 code uses it. Especially _gdk_window_move_resize_child(). - - There is still some problem in expose handling. By moving an - obscuring window back and forth over testgtk's main window, for - instance, every now and then you typically get narrow vertical or - horizontal strips of pixels that haven't been properly redrawn - after being exposed. A fencepost error somewhere? - - Otherwise, all of testgtk and gtk-demo except "big windows" now - seem to work pretty well. (Well, that is in the stable branch, I - haven't really tested HEAD. Only checked that gdk/win32 compiles.) - - Bug #79720 should be fixed now. - - * gdk/win32/gdkcolor-win32.c (gdk_win32_color_to_string, - gdk_win32_print_paletteentries, gdk_win32_print_system_palette, - gdk_win32_print_hpalette) - * gdk/win32/gdkdrawable-win32.c (gdk_win32_drawable_description) - * gdk/win32/gdkevents-win32.c (gdk_win32_message_name): - Move all debugging helper functions to gdkmain-win32.c. - - * gdk/win32/gdkdrawable-win32.c (_gdk_win32_draw_tiles): - Rewrite. Make static. Must take tile origin parameters, too. - - (gdk_win32_draw_rectangle): Pass the tile/stipple origin to - _gdk_win32_draw_tiles(). Remove #if 0 code. - - (blit_inside_window): Don't call ScrollDC(), that didn't work at - all like I thought. A simple call to BitBlt() is enough. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate) Remove unused - latin_locale_loaded variable. - - (_gdk_win32_get_next_tick): New function. Used to make sure - timestamps of events are always increasing, both in events - generated from the window procedure and in events gotten via - PeekMessage(). Not sure whether this is actually useful, but it - seemed as a good idea. - - (real_window_procedure): Don't use a local GdkEventPrivate - variable. Don't attempt any compression of configure or expose - events here, handled elsewhere. - - (erase_background): Accumulate window offsets when traversing up - the parent chain for GDK_PARENT_RELATIVE_BG, in order to get - correct alignment of background pixmaps. Don't fill with - BLACK_BRUSH if GDK_NO_BG. - - (gdk_event_get_graphics_expose): A bit more verbose debugging output. - - (gdk_event_translate): Use _gdk_win32_get_next_tick(). In the - WM_PAINT handler, don't check for empty update rect. When we get a - WM_PAINT, the update region isn't empty. And if it for some - strange reason is, that will be handled later anyway. Call - GetUpdateRgn() before calling BeginPaint() and EndPaint() (which - empty the update region). - - * gdk/win32/gdkdnd-win32.c - * gdk/win32/gdkinput-win32.c: - Use _gdk_win32_get_next_tick(). - - * gdk/win32/gdkfont-win32.c: Use %p to print HFONTs. - - (gdk_text_size): Remove, unused. - - * gdk/win32/gdkgc-win32.c: Set clip origins to zero - when appropriate. - - (gdk_gc_copy): Increase refcount on colormap if present. - - (gdk_win32_hdc_get): Handle just hcliprgn. If we have a stipple, - combine it with clip region after selecting into the DC. - - (_gdk_win32_bitmap_to_hrgn): Rename from _gdk_win32_bitmap_to_region. - - (_gdk_win3_gdkregion_to_hrgn): New function, code snippet - extracted from gdk_win32_hdc_get(). - - * gdk/win32/gdkgeometry-win32.c: Ifdef out the translate_queue - handling. - - (gdk_window_copy_area_scroll): Increase clipRect to avoid - ScrollWindowEx() not scrolling pixels it thinks are invalid. - Scroll also children with the ScrollWindowEx() call. No need to - call gdk_window_move() on the children. - - (gdk_window_scroll): Don't do guffaw scrolling. - - (gdk_window_compute_position): Fix typo, used win32_y where x was - intended. - - (gdk_window_premove, gdk_window_postmove, - gdk_window_clip_changed): Add debugging output. - - (_gdk_windowing_window_queue_antiexpose): Just call ValidateRgn() - on the region. - - (_gdk_window_process_expose): No use for the serial number - parameter now. Instead of a rectangle, take a region parameter, as - Windows gives us one in WM_PAINT. - - * gdk/win32/gdkmain-win32.c (_gdk_win32_lbstyle_to_string, - _gdk_win32_pstype_to_string, _gdk_win32_psstyle_to_string, - _gdk_win32_psendcap_to_string, _gdk_win32_psjoin_to_string, - _gdk_win32_rect_to_string, _gdk_win32_gdkrectangle_to_string, - _gdk_win32_gdkregion_to_string): New debugging functions. - - (static_printf): Helper function for the above. sprintfs into a - static circular buffer, return value should be used "soon". - - * gdk/win32/gdkwindow-win32.c (gdk_propagate_shapes): Plug memory - leak, free list after use. - - (gdk_window_gravity_works): Remove, we know that there is no such - thing on Windows. - - (gdk_window_set_static_bit_gravity, - gdk_window_set_static_win_gravity): Ditto, remove, they didn't do - anything anyway. - - (_gdk_windowing_window_init, gdk_window_foreign_new): Call - _gdk_window_init_position() like in the X11 backend. - - (gdk_window_reparent): Don't call the now nonexistent - gdk_window_set_static_win_gravity(). No idea what should be done - instead. - - (gdk_window_get_geometry): The returned x and y should be relative - to parent. Used to be always zero.. - - (gdk_window_set_static_gravities): Return FALSE if trying to set - static gravity. - - * gdk/win32/gdkprivate-win32.h: Drop the clip_region field from - GdkGCWin32. Only use the HRGN hcliprgn. Declare new - functions. - - * gdk/win32/*.c: Use new debugging functions. - - * gdk/win32/rc/gdk.rc.in: Update copyright year. - -Tue Nov 12 16:51:04 2002 Owen Taylor - - * gtk/gtkinputdialog.c: Make multihead aware (#80283) - -Tue Nov 12 15:13:58 2002 Owen Taylor - - * gtk/gtkwidget.c gtk/gtkwindow.[ch]: Add - _gtk_window_unset_focus_and_default(), use to clear - the focus and default out of parts of the widget - heirarchy that we are hiding. - - * gtk/gtkwidget.c (gtk_widget_propagate_screen_changed_recurse): - Fix typo that was resulting in missed screen-change - notifies. - - * gtk/gtkwindow.c (do_focus_change): Allow for - widget->window == NULL. - - * gtk/gtklabel.c (gtk_label_screen_changed): Clear the - layout here not in hierarchy changed to handle the case - where the toplevel was moved between screens. - -Tue Nov 12 14:20:53 2002 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_enter_notify): Do not return when - menu_shell->ignore_enter is TRUE. - -2002-11-10 Matthias Clasen - - * gtk/gtkstatusbar.c (gtk_statusbar_button_press): Don't start - a drag on double click. (#98189) - -2002-11-10 Matthias Clasen - - * tests/testgtk.c (grippy_button_press): Also test moving. - -Sun Nov 10 22:55:39 2002 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_enter_notify): Don't return after - calling gtk_menu_handle_scrolling() when - !menu_shell->ignore_enter. - -Sun Nov 10 21:29:03 2002 Soeren Sandmann - - * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): - * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator) - - Make sure check and option marks are drawn insensitive when the - widgets are insensitive. - - (#92548, patch from Tim Evans) - -Sun Nov 10 21:25:04 2002 Soeren Sandmann - - * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8 - to restore binary compatibility. - -2002-11-10 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a - typo which broke moveresize emulation. - -Sat Nov 9 14:42:53 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_button_*): Block - button presses/releases over the scroll arrows - to avoid popping down the menu. (#73444, Ettore Perazzoli) - - * gtk/gtkmenu.c (gtk_menu_enter_notify): Obey the - ignore_enter flag for scrolling as well. - - * gtk/gtkmenu.c (gtk_menu_stop_scrolling): Clear - the upper_arrow_prelight, lower_arrow_prelight - flags. - - * gtk/gtkmenu.c: Tweak the scroll speeds, - timeouts, and fast-scroll area to make things - zippier. (#73445, Ettore Perazzoli) - -2002-11-09 Anders Carlsson - - * gtk/gtkwidget.c (gtk_widget_class_init): Use the correct - struct offset for the screen_changed signal. - -Fri Nov 8 19:07:39 2002 Owen Taylor - - * demos/Makefile.am (test-inline-pixbufs.h): Depend - on gdk-pixbuf.loaders as well as gdk-pixbuf.csource. - (#97096, Jeff Waugh) - -2002-11-09 Matthias Clasen - - * tests/testgtk.c (create_resize_grips): Draw grips in all edges. - - * gdk/x11/gdkfont-x11.c (gdk_text_extents_wc): - (gdk_text_extents): - * gdk/gdkfont.c (gdk_string_extents): Reformulate doc comments to - work around gtk-doc limitations. - -Fri Nov 8 18:04:16 2002 Owen Taylor - - * gdk/{linux-fb,win32,11}/Makefile.am: Add in a awful - hack to force gdkenumtypes.h to be updated before - building the subdir. (#86587) - -Fri Nov 8 17:49:54 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_check_screen): Access - window->screen through a function so we can provide - an informative warning window window->screen is NULL. - (#85703) - -2002-11-08 Matthias Clasen - - * gtk/gtkcheckmenuitem.c - (gtk_real_check_menu_item_draw_indicator): RTL flipping for check - menu items. - - * tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to - avoid an unused static function. (#97965) - - * gtk/gtktextiter.c (backward_line_leaving_caches_unmodified): - * gtk/gtkstyle.c (radio_aa_bits): - (draw_spin_entry_shadow): #if-0-out unused static functions and - variables. (#97965) - - * gtk/gtktextview.c (text_window_get_allocation): - * gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size): - (gtk_color_selection_get_palette_color): - (gtk_color_selection_unset_palette_color): Remove unused static - functions. (#97965) - - * gtk/gtkcolorsel.c - (gtk_color_selection_set_change_palette_with_screen_hook): Fix doc - comment. - -Fri Nov 8 17:08:54 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Use - g_get_application_name() instead of g_get_prgname() - as the default window title when set. - - * gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.[ch]:x - Set g_get_application_name() as the title for the - leader window the first time we create a window - pointing to it. - - * tests/testgtk.c (main): Call g_set_application_name(); - - * configure.in (GDK_PIXBUF_VERSION): Require GLib-2.1.3 - -2002-11-08 Matthias Clasen - - * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL - submenu indicators. - - * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL - optionmenus by flipping the indicator_spacing. - -Fri Nov 8 21:15:25 2002 Soeren Sandmann - - * tests/Makefile.am: add testmenus.c, a program to test menus when - items are dynamically added and removed. - -Fri Nov 8 20:14:52 2002 Soeren Sandmann - - * docs/reference/gdk/tmpl/dnd.sgml - docs/reference/gdk/tmpl/drawing.sgml - docs/reference/gdk/tmpl/gdk-unused.sgml - docs/reference/gdk/tmpl/gdkdisplay.sgml - docs/reference/gdk/tmpl/general.sgml - docs/reference/gdk/tmpl/input_devices.sgml - docs/reference/gdk/tmpl/selections.sgml - docs/reference/gtk/tmpl/gtkcellrenderer.sgml - docs/reference/gtk/tmpl/gtkcurve.sgml - docs/reference/gtk/tmpl/gtkdnd.sgml - docs/reference/gtk/tmpl/gtkitemfactory.sgml - docs/reference/gtk/tmpl/gtkmenu.sgml - docs/reference/gtk/tmpl/gtkoldeditable.sgml - docs/reference/gtk/tmpl/gtkoptionmenu.sgml - docs/reference/gtk/tmpl/gtkpreview.sgml - docs/reference/gtk/tmpl/gtkselection.sgml - docs/reference/gtk/tmpl/gtksocket.sgml - docs/reference/gtk/tmpl/gtkstyle.sgml - docs/reference/gtk/tmpl/gtktextbuffer.sgml - docs/reference/gtk/tmpl/gtktreemodel.sgml - docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c - gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h - gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c - gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h - gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h - gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h - gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h - gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h - gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h - gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c - gtk/gtktreemodel.h gtk/gtkwidget.h - - Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow - without warnings. (#91680) - -Thu Nov 7 16:13:41 2002 Eric Warmenhoven - - * gdk/linux-fb/gdkscreen-fb.c: fix compilation - - * gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown - -Thu Nov 7 18:50:38 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note - that get_pango_context() is not "until death does us - part", but "until the screen changes". - - * gtk/gtkwidget.c (gtk_widget_create_pango_context): Add - a MULTIHEAD warning. - - * gtk/gtkwidget.c (do_screen_change): Clear pango context - for widget if set. - -Thu Nov 7 18:09:42 2002 Owen Taylor - - * gtk/gtkfilesel.c (open_new_dir): Escape invalid - filename before printing it out, since it isn't - a valid UTF-8 string. (#94676) - -Thu Nov 7 17:18:06 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): - Don't try to use render if we can't get a picture for - the drawable. (Fixes #97220, reported by - Jamie Zawinski) - - * gtk/gtkimage.c: Force requisition calculation - when we get a expose prior to size_request(). - (#91711, reported by Sven Neumann, debugging - help from Matthias Clasen, Soeren Sandmann) - -Thu Nov 7 16:45:54 2002 Owen Taylor - - * gdk/x11/gdkx.h: Fix misplaced display_grab()/display_ungrab(); - they shouldn't have been deprecated. - -2002-11-07 Matthias Clasen - - * gdk/gdk.c (gdk_display_open_default_libgtk_only): Use - g_return_val_if_fail in this non-void function. - (gdk_init_check): Remove unused variable. - -Thu Nov 7 15:42:12 2002 Owen Taylor - - * gtk/gtkfontsel.c (gtk_font_selection_get_font_description): - If called when fontsel->face is NULL, just return - "Sans 10". (#82745, Vitaly Tishkov) - -Thu Nov 7 15:29:43 2002 Owen Taylor - - * gtk/gtkimcontextsimple.c (check_hex): Use '_' - not '-' in signal name to be consistent with - what we do elsewhere (#97151, TOKUNAGA Hiroyuki) - -Thu Nov 7 14:51:31 2002 Owen Taylor - - * tests/testcalendar.c (calendar_date_to_string): - Use g_date_strftime(), fixing #74745. (Alper Ersoy) - -2002-11-07 Anders Carlsson - - * gtk/gtkhpaned.c: (gtk_hpaned_size_allocate): - * gtk/gtkvpaned.c: (gtk_vpaned_size_allocate): - Check for NULL children, #97913. - -Thu Nov 7 14:24:45 2002 Owen Taylor - - * gtk/gtkhandlebox.c: Add a snap_edge_set property to - deal with the fact that we have an unset state for - the snap_edge property. (Reported by Matthias Clasen - #97505) - -Thu Nov 7 12:53:08 2002 Owen Taylor - - * gtk/gtkwidget.[ch] gtk/gtkwindow.c gtk/gtkinvisible.c: - Add ::screen-changed signal. - - * gtk/gtkfontsel.c gtk/gtktoolbar.c: Use ::screen-changed - signal to simplify logic. - -2002-11-07 Anders Carlsson - - * tests/testgtk.c (create_resize_grips): Add resize grips test. - -Sun Nov 3 21:26:20 2002 Kristian Rietveld - - Bah, and of course I broke something ... - - * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix - up the mess I caused with my commit of Oct 23 fixing #50263, things - should be fine now. - -Sun Nov 3 13:03:29 2002 Owen Taylor - - * gtk/gtkfilesel.c configure.in: Remove check for - winsock.h since it might show up on Linux+Wine. - Instead just conditionalize of G_OS_WIN32. - (#97396, Gaute Lindkvist) - -Sun Nov 3 01:39:20 2002 Kristian Rietveld - - * gtk/gtktreemodel.c (release_row_references): took out the useless - check for refs->list (#97353, reported by Morten Welinder). - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): - check if width isn't zero instead of calc_width ... - -Sat Nov 2 23:48:52 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove - the second ref command on the child_model, we only have to ref it - once here. (#96851, reported by Jorn Baayen). - -2002-11-02 Matthias Clasen - - * gtk/gtkhandlebox.c (effective_handle_position): - (gtk_handle_box_size_request): - (gtk_handle_box_size_allocate): - (gtk_handle_box_draw_ghost): - (gtk_handle_box_paint): - (gtk_handle_box_button_changed): - (gtk_handle_box_motion): - Flip handleboxes for RTL locales. (#96629) - -Sat Nov 2 13:47:09 2002 Owen Taylor - - * === Released 2.1.2 === - - * NEWS: Update. - -Sat Nov 2 00:22:33 2002 Owen Taylor - - Add startup notification hooks - mostly based on patch - by Havoc Pennington in #96772. - - * gdk/gdk.h gdk/x11/gdkdisplay-x11.c - gdk/{win32,linux-fb}/gdkmain-*.c: (gdk_notify_startup_complete): - new function that indicates an application has finished starting - up. - - * gdk/x11/gdkmain-x11.c gdk/x11/gdkdisplay-x11.c - (_gdk_windowing_set_default_display): store value of - DESKTOP_STARTUP_ID on the default screen, and clear it from the - environment. - - * gdk/x11/gdkdisplay-x11.c: - Set _NET_STARTUP_ID hint on display's group leader window. - - * gtk/gtkwindow.c (gtk_window_set_auto_startup_notification): - function to toggle whether we automatically broadcast that we've - started up, after mapping the first toplevel window. - (gtk_window_map): call gdk_screen_notify_startup_complete() by - default, unless enabled by above. - - * gtk/gtkmain.c gtk/gtkcombo.c gtk/gtktoolbar.c: - Couple of warning fixes. - -Fri Nov 1 21:03:59 2002 Owen Taylor - - * gtk/gtkfilesel.c: Add a mnemonic to the "selection" - label. (More of #74267) - - * configure.in: Version 2.1.2 - - * NEWS: Updates. - -2002-11-02 Matthias Clasen - - * gtk/stock-icons/stock_jump_to_rtl_16.png, - * gtk/stock-icons/stock_jump_to_rtl_24.png: Mirrored variants - of stock_jump_to. - - * gtk/stock-icons/Makefile.am: - * gtk/gtkiconfactory.c (get_default_icons): Flip GTK_STOCK_FIRST, - GTK_STOCK_LAST and GTK_STOCK_JUMP_TO for RTL locales. (#96633) - - * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): - Flip accel labels for RTL locales. (#96637) - - * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_allocate): - * gtk/gtkmenuitem.c (gtk_menu_item_init): - (gtk_menu_item_size_request): - (gtk_menu_item_size_allocate): - (gtk_menu_item_paint): - (gtk_menu_item_select_timeout): - (gtk_menu_item_position_menu): Flip all kinds of menu items for - RTL locales. (#96637) - - * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Support resize - grips for all edges. (#52833) - - * gtk/gtkstyle.c (gtk_default_draw_box): - * gtk/gtkoptionmenu.c (gtk_option_menu_size_allocate): - (gtk_option_menu_paint): Flip option menus for RTL - locales. (#96631) - - * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Flip menubars - for RTL locales. (#96627) - - * gtk/gtkprogressbar.c (gtk_progress_bar_act_mode_enter): - (gtk_progress_bar_paint): Flip progress bars for RTL - locales. (#96634) - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Flip toolbars - for RTL locales. (#96626) - -2002-11-01 Matthias Clasen - - * gdk/x11/gdkim-x11.c: - * gdk/gdkfont.c: - * gdk/x11/gdkfont-x11.c: - * gdk/gdkdraw.c: Some docs moved inline. - -Thu Oct 31 17:41:12 2002 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_update_screen): Fix - from Nam SungHyun for crashes when tooltips->active_tips_data - is NULL. - -Thu Oct 31 12:40:39 2002 Owen Taylor - - * gdk/gdk.[ch] gdk/gdkglobals.c gdk/gdkinternals.h - gdk/{x11,win32,linux-fb}/gdkscreen-{x11,win32,linux-fb}.c: - Add a --screen option for setting the default screen. - (Based on a patch from Balamurali Viswanathan, #81145) - - * gdk/gdk.c gdkdisplay.h gtk/gtkmain.c: Add - gdk_display_open_default_libgtk_only(), so gtk_init_check() - and gdk_init_check() can share the same behavior w.r.t. - --screen. - - * gdk/gdk.[ch]: Make gdk_get_display_arg_name() G_CONST_RETURN. - - * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): - Suppress a spurious warning. - - * tests/testgtkrc: Remove someleft-over commented out - includes that could be confusing. - -2002-10-31 Padraig O'Briain - - * gtk/gtktoolbar.c (gtk_toolbar_insert_stock): Move g_free() - call to before return. - -2002-10-29 Matthias Clasen - - * tests/testgtkrc: Adjust for current gtk-engines. - - * gdk/x11/gdkcolor-x11.c (gdk_colors_free): Use the same parameter - names in header, docs and implementation. - - * gdk/gdkcolor.c (gdk_colors_store): Doc comment fix. - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Fix - example in doc comment. - - * gtk/gtkiconfactory.c (gtk_icon_size_lookup_for_settings): - * gtk/gtkfilesel.c (gtk_file_selection_get_selections): Doc - comment fixes. (#97136, #97125, Vitaly Tishkov) - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): - * gtk/gtkwindow.c (gtk_window_set_default_icon_from_file): Doc - comment fixes. (#95829, #96818, Vitaly Tishkov) - -Tue Oct 29 20:39:16 2002 Soeren Sandmann - - * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT back to 50, - and create stay-up regions by flipping a fourth quadrant triangle - as appropriate. - -2002-10-28 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_decorations, - gdk_window_set_functions): Don't call GetWindowLong for - GWL_EXSTYLE, the extended window style wasn't used or - changed. After setting the window style with SetWindowLong, call - SetWindowPos with the SWP_FRAMECHANGED flag for the window to - actually be updated, as Platform SDK docs say one should. (#95812, - huzheng) - -2002-10-28 Dmitry G. Mastrukov - - * configure.in: Added Belorusian (be) to ALL_LINGUAS. - -Sun Oct 27 15:58:30 2002 Kristian Rietveld - - This fixes a scrolling bug. Shouldn't cause problems, but you - never know ... (#81627, testcase by Timo Sirainen). - - * gtk/gtktreeview.c (validate_visible_area): add a temporary - implemention for non use_align, always update dy and ->top_row - if we scroll here, - (gtk_tree_view_clamp_node_visible): reimplement using - _scroll_to_cell (#73895). - -Sun Oct 27 11:41:37 GMT 2002 Tony Gale - - * docs/tutorial/gtk-tut.sgml: - minor cleanups, remove refs to gtk_menu_append - - *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append - -Fri Oct 25 23:36:30 2002 Soeren Sandmann - - * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5. - -Fri Oct 25 17:56:24 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): - Always switch to the page with the focused tab - label. (#82108, Matt Wilson.) - -Fri Oct 25 17:46:18 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_button_press): - Don't handle button 2/3 on the tabs. (#82118, - Matt Wilson.) - -Fri Oct 25 17:32:44 2002 Owen Taylor - - * gtk/gtktoolbar.c: Don't insert mnemonics for stock - items (#72918, reported by Mikael Hallendal) - -Fri Oct 25 14:51:34 2002 Owen Taylor - - * gtk/gtkfilesel.c: Fix sensitivity of file operation - buttons and buttons inside fileop dialogs to update - properly based on the contents of the entries. - (#74267, based on part of a patch from Muktha - Narayan) - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): - Warn if loading image fails. - - * tests/testgtk.c: Fix data for "apple" inline pixbuf - to be valid. - -Fri Oct 25 18:17:39 2002 Soeren Sandmann - - * gtk/gtkpaned.[ch]: New GtkPaned keyboard navigation. (Shift-)F8 - now cycles the available handles instead of toggling focus on and - off. Fixes #87160, reported by Calum Benson. - -2002-10-25 Matthias Clasen - - * gdk/x11/gdkcursor-x11.c: Fix doc comment. - - * gdk/gdkdnd.c: Add missing includes. - -2002-10-24 Matthias Clasen - - * gdk/gdkdnd.c: - * gdk/x11/gdkdnd-x11.c: - * gdk/x11/gdkcursor-x11.c: - * gdk/gdkcolor.c: - * gdk/x11/gdkcolor-x11.c: Some docs moved inline. - -2002-10-23 Matthias Clasen - - * gdk/linux-fb/gdkselection-fb.c (gdk_utf8_to_string_target): - (gdk_utf8_to_compound_text_for_display): - (gdk_text_property_to_utf8_list_for_display): - * gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_entries_for_keyval): - (gdk_keymap_get_entries_for_keycode): - (gdk_keymap_lookup_key): - (gdk_keymap_translate_keyboard_state): - * gdk/win32/gdkselection-win32.c (gdk_text_property_to_utf8_list_for_display): - (gdk_utf8_to_string_target): - (gdk_utf8_to_compound_text_for_display): - * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_entries_for_keyval): - (gdk_keymap_get_entries_for_keycode): - (gdk_keymap_lookup_key): - (gdk_keymap_translate_keyboard_state): - * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): - * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): - * gdk/win32/gdkevents-win32.c (gdk_keyboard_grab_info_libgtk_only): - Remove doc comments for non-backend-specific functions from win32 - and linux-fb backends. These functions should be documented in the - x11 backend. - -Wed Oct 23 17:06:02 2002 Kristian Rietveld - - * gtk/gtktreemodel.c: s/NULL/0/ on the g_signal_emit lines to - fix up yesterdays commit (reported by Morten Welinder). - -Tue Oct 22 20:02:22 2002 Owen Taylor - - * gtk/gtkcombo.c: When popping up the list without - any selected items, hack the focus on the list to - avoid triggering a bug in GtkList when clicking - on focused-but-not-selected items (#86700, - Zimler Attila, Matthias Clasen) and to keep - GtkWindow from selecting the first item. - - * tests/testgtk.c (create_list): Make the initial - setting of the selection mode correspond to the option - menu. - -Wed Oct 23 01:03:43 2002 Kristian Rietveld - - Another feature to create truly ugly TreeViews!: style properties - for the even/odd colors used for row hinting. (#71595, reported - by Owen Taylor). - - * gtk/gtktreeview.c (gtk_tree_view_class_init): add even_row_color - and odd_row_color style properties. - - * gtk/gtkstyle.c (get_darkened_gc): support darken_count == 0 case, - (gtk_default_draw_flat_box): rework cell coloring code to support - user-provided even/odd row colors. - -Wed Oct 23 01:01:52 2002 Kristian Rietveld - - Cache signal IDs to speed up signal emission. This is a good speedup - because GtkTreeModel emits a big number of signals. - - * gtk/gtktreemodel.c (gtk_tree_model_base_init): save IDs returned - by g_signal_new, - (gtk_tree_model_row_changed): use g_signal_emit instead of - g_signal_emit_by_name, - (gtk_tree_model_row_inserted): ditto, - (gtk_tree_model_row_has_child_toggled): ditto, - (gtk_tree_model_row_deleted): ditto, - (gtk_tree_model_rows_reordered): ditto. - -Wed Oct 23 00:56:15 2002 Kristian Rietveld - - * gtk/gtktreeselection.c (model_changed): new function, - (gtk_tree_selection_selected_foreach): monitor changes in the model, - bail out if the model has been changed from the foreach func. - (#50263, reported by Havoc Pennington). - - * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): - free anchor if applicable (#94868, reported and testcase provided by - Daniel Elstner). - -2002-10-23 Matthias Clasen - - * gtk/gtkinvisible.c (gtk_invisible_get_screen): - * gtk/gtkcolorsel.c - (gtk_color_selection_set_change_palette_with_screen_hook): Fix doc comments. - - * gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display): - (gdk_utf8_to_compound_text_for_display): Fix doc comments - why - do these overwrite the ones from gdk/x11/*.c ?! - - * gdk/gdkdisplaymanager.c - (gdk_display_manager_get_default_display): - Documentation fix. - - * gdk/gdkevents.c (gdk_event_new): - * gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen): - * gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name): - * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab): - (gdk_x11_display_ungrab): Add documentation. - - * gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay): - (gdk_x11_image_get_ximage): - * gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay): - (gdk_x11_gc_get_xgc): - * gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay): - (gdk_x11_font_get_xfont): - * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay): - (gdk_x11_drawable_get_xid): - * gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay): - (gdk_x11_cursor_get_xcursor): - * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap): - (gdk_x11_colormap_get_xdisplay): - * gdk/x11/gdkxid.c (gdk_xid_table_lookup): - * gdk/x11/gdkvisual-x11.c (gdkx_visual_get): - (gdk_x11_visual_get_xvisual): - * gdk/x11/gdkmain-x11.c (gdk_x11_grab_server): - (gdk_x11_ungrab_server): - (gdk_x11_get_default_root_xwindow): - (gdk_x11_get_default_xdisplay): - Some docs moved inline. - -Tue Oct 22 16:37:12 2002 Owen Taylor - - * gtk/gtktooltips.c: Multihead safety fixes, handle - displays being closed. (#81651, based on patch - from Erwann Chenede) - - * gtk/gtktoolbar.c (gtk_toolbar_init): Fix typo - from the last commit. - -Tue Oct 22 15:55:08 2002 Owen Taylor - - * gtk/gtktoolbar.c: Fix handling of getting the - default style/icon size from the correct - GtkSettings. (#82184, reported by Vitaly Tishkov, - help from Soeren Sandmann) - -Tue Oct 22 15:32:31 2002 Owen Taylor - - * gtk/gtkwindow.c: Actively monitor the screen of the - parent. (#80281) - - * gtk/gtkentry.c: Fix missing prototype from the - last commit. - -Tue Oct 22 15:46:09 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_unrealize): Reset the - layout, since it holds a reference to the font on - a particular screen. - -Tue Oct 22 15:13:59 2002 Owen Taylor - - * gtk/gtkimmulticontext.c: Include config.h - (#96441, Morten Welinder) - -Tue Oct 22 15:03:41 2002 Owen Taylor - - * gtk/fnmatch.h: When compiling our on fnmatch.c, - #define fnmatch _gtk_fnmatch (#92890, Jacob Berkman) - -Fri Oct 18 16:47:02 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (translate_key_event): Produce - C-m, not C-j for return. Handle Escape. - -2002-10-22 Matthias Clasen - - * gtk/gtkstatusbar.c (gtk_statusbar_get_type): - (gtk_statusbar_class_init): It is called GtkStatusbar, not - GtkStatusBar. This was changed accidentally during deprecation - cleanup and caused links in the API docs to break. (#96390) - -Mon Oct 21 14:04:39 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_get_public_chars): Return - "" for entry->invisible_char == 0, otherwise N copies - of entry->invisible_char. (#95486, Vitaly Tishkov) - - * gtk/gtkentry.c: Fix a bunch of places where entry->text - instead of layout->text was being used for computation - of offsets/indices in the layout. Using layout->text - is necessary because when the entry is invisible, it - doesn't correspond to entry->text. - -Sun Oct 20 23:58:03 2002 Soeren Sandmann - - * gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c, - gtkmenushell.h, gtkmenushell.h - - - make the delay before submenus appear below menu bars a - GtkSetting - - make the delay before submenus pops up a GtkSetting - - make the stay up triangle slightly larger - - don't pop up the first submenu immediately. - - make the default delay for submenus 225 ms, and 0 for menubars. - - make the default delay before popping down inside the stay-up - triangle 1000 ms - - Fixes #74950 - -Sun Oct 20 14:58:02 2002 Owen Taylor - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): - Add a scrollbar_spacing style property (#81396, based - on a patch from Anders Carlsson) - -2002-10-19 Jeremy Katz - - * configure.in: make configure checks for Xrandr and Xinerama - extensions less noisy (#95858) - -Fri Oct 18 16:47:02 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (translate_key_event): Handle - Return and KP_Enter. - -Fri Oct 18 15:38:50 2002 Owen Taylor - - * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): - Reset use_text_format to %TRUE for a %NULL text string. - (#94157, once again). - -Thu Oct 17 17:17:05 2002 Owen Taylor - - * gtk/gtkcheckbutton.c (gtk_check_button_size_request): - Fix use of uninitialized variable. - -Thu Oct 17 14:38:37 2002 Owen Taylor - - * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): - Align the baseline of the accelerator label with the - first baseline of the main label of the menu item. (#76953) - -Wed Oct 16 18:25:24 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (translate_key_event): - Use gdk_keymap_translate_keyboard_state() rather than - XLookupString() to get the keysymbol, since XLookupString - can confuse the input method handling. (#93575) - - * gdk/x11/gdkkeys-x11.c: Rewrite the handling of - key translation for the non-XKB case to properly - handle Shift_Lock, Caps_Lock, Num_Lock according - to the Xlib spec. (#67066) - -2002-10-17 Havoc Pennington - - * gtk/gtkwindow.c (gtk_window_compute_configure_request): fix - compiler warnings - -Thu Oct 17 22:37:57 2002 Soeren Sandmann - - * gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make - it compile - -2002-10-16 Havoc Pennington - - * gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add - g_return_if_fail for monitor number <= 0 - - * gtk/gtkmenu.c (gtk_menu_position): handle case where pointer - is outside the screen. - - * gtk/gtkwindow.c (get_monitor_center): factor out - the code to position a window in center - (gtk_window_compute_configure_request): use here - (gtk_window_constrain_position): use here, the - code here wasn't multihead-aware - - * gdk/x11/gdkevents-x11.c (get_real_window): function to - return the window the event describes, rather than the window - that received the event. - (gdk_event_translate): use result of that function for - filling in GdkEvent::window, which only matters for - MapNotify/UnmapNotify and ConfigureNotify, in practice. - - Unbreaks various things using SubstructureNotifyMask. - -Thu Oct 17 16:13:28 2002 Owen Taylor - - * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make - the widgets work reasonably when they don't have - children -- draw the focus around the indicator, - and position the indicator symmetrically. - (#74830, Dave Camp) - - * tests/testgtk.c: Add no-child portions to check and radio - button tests. - -Thu Oct 17 22:09:05 2002 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_scroll_to): Take arrows into - account when clamping the offset. Fixes #95758. - -Wed Oct 16 15:19:44 2002 Owen Taylor - - * gdk/x11/gdkkeys-x11.c: Fix from Phil Blundell for - compiling without Xkb. (#95909) - -Wed Oct 16 14:32:43 2002 Owen Taylor - - * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c - gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c - gdk/win32/gdkdrawable-win32.c gdk/linux-fb/gdkdrawable-fb2.c - gdk/linux-fb/gdkprivate-fb.h: - Make 'filled' arguments for draw_arc/polygon/rectangle - gboolean not gint. (#94976) - -Wed Oct 16 17:11:46 2002 Soeren Sandmann - - * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Make - tear-off menuitems obey the "selected_shadow_type" style property. - -Tue Oct 15 17:25:47 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c (get_im): Don't use - connect_swapped() when the function being connected - has a non-swapped signature. - -Tue Oct 15 09:54:54 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c (get_im): Initialize - info->ics to NULL. (Hidetoshi Tajima.) - - * modules/input/gtkimcontextxim.c (status_window_get): - Call set_resizable on the window, not on the structure. - -Mon Oct 14 19:17:34 2002 Owen Taylor - - * === Released 2.1.1 === - -Mon Oct 14 18:50:59 2002 Owen Taylor - - * configure.in: Version 2.1.1, interface age 0, binary age 101. - - * NEWS: Updates - -Tue Oct 15 00:53:14 2002 Kristian Rietveld - - Behaviour change, apply changes if the entry of the editable gets - a focus out event (#82405). - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): - new function, - (gtk_cell_renderer_text_start_editing): stop editing and apply - changes on focus-out. - -Tue Oct 15 00:47:35 2002 Kristian Rietveld - - Fixes an *evil* GtkTreeModelSort bug, #93629. - - * gtk/gtktreemodel.c (release_row_references): return if the - refs->list is NULL. - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we - are swapping two rows (re-insertion on row_changed), also *emit* - a rows_reordered signal. oops. - -Tue Oct 15 00:45:03 2002 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_remove_silently): free - the actual link after the node has been removed (#92014). - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize): - free the cell_list and the child if the exists (#92014). - -Tue Oct 15 00:40:25 2002 Kristian Rietveld - - Don't accept drops if the model has been sorted, #93758) - - * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return - FALSE if the list has been sorted. - - * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check - if drag_dest is a TreeStore, return FALSE if the tree has been - sorted. - -Tue Oct 15 00:33:59 2002 Kristian Rietveld - - Compiler warning fixage, (#85858, #85859, #85860, #85872) - - * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render): - s/guint/GtkCellRendererState/. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): - ditto. - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render), - (gtk_cell_renderer_toggle_activate): ditto. - - * gtk/gtkliststore.c (gtk_list_store_get_flags): a - s/guint/GtkTreeModelFlags/ on the return type. - -Mon Oct 14 15:10:34 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c: - - Make GtkXIMInfo structures per-screen (they were - a mix between per-display and per-context before) - - Make signal connections info->settings one-per-info - - Handle a GdkDisplay being closed, by destroying - all XIC, calling XCloseIM on the XIM. (#87482) - -Sun Oct 13 16:55:49 2002 Manish Singh - - * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup - - * gtk/Makefile.am: Added disable deprecation flags - - * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up - -Sun Oct 13 16:20:41 2002 Manish Singh - - * tests/pixbuf-randomly-modified.c tests/prop-editor.c - tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c - tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c - tests/testselection.c tests/testsocket.c tests/testsocket_common.c - tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c - tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c - tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c - tests/treestoretest.c: Deprecation cleanup - - * tests/Makefile.am: Added disable deprecation flags - -Sun Oct 13 13:43:16 2002 Manish Singh - - * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch] - gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c - modules/input/imam-et.c modules/input/imcyrillic-translit.c - modules/input/imhangul.c modules/input/iminuktitut.c - modules/input/imipa.c modules/input/imthai-broken.c - modules/input/imti-er.c modules/input/imti-et.c - modules/input/imviqr.c: Deprecation cleanup - - * modules/input/Makefile.am: Added disable deprecation flags - -Sun Oct 13 12:29:15 2002 Manish Singh - - * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch] - gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]: - Deprecation cleanup - - * gtk/gtkcolorseldialog.c: make window not resizable (lost - accidently in the previous cleanup) - -Sun Oct 13 20:20:51 2002 Soeren Sandmann - - * gtk/gtktooltips.c (gtk_tooltips_force_window): Make tooltip - window not resizable. Fixes #95675. - -Sun Oct 13 18:50:14 2002 Soeren Sandmann - - * gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c, - gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml, - gtktreemodel.sgml,gtktable.sgml, gtktable.c: - - Documentation fixes. - - #85719, #90759, #95169, Owen Taylor; - #89221, Yao Zhang, Matthias Clasen; - #95592, Joost Faassen; - #92637, Vitaly Tishkov; - #94616, Ben Martin; - #94772, sbaillie@bigpond.net.au; - -Sun Oct 13 17:41:53 2002 Soeren Sandmann - - * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Don't invalidate - a widget if it or one of its ancestors isn't mapped. - -Sun Oct 13 17:21:15 2002 Soeren Sandmann - - * tests/testgtk.c (window_controls), tests/testgtk.c - (create_tooltips): remove references to non-existing properties - GtkWindow::allow_shrink and GtkWidget::width - -Sat Oct 12 15:44:29 2002 Manish Singh - - * gtk/gtkitemfactory.c: use GTK_IS_RADIO_MENU_ITEM instead - of comparing the type directly. This handles possible subclasses - too. (Recommended by Tim Janik) - -Fri Oct 11 15:56:20 2002 Manish Singh - - * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch] - gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch] - gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch] - gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation - cleanup - -2002-10-11 Matthias Clasen - - * examples/gtkdial/gtkdial.c (gtk_dial_destroy): - * docs/tutorial/gtk-tut.sgml: Prevent segfault from double destroy. - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Typo fix. - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): - Clarify the docs. - - * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): Mention - gtk_menu_set_accel_group in the docs. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_pager_hint): - * gdk/gdkdisplay.c (gdk_display_set_pointer_hooks): Fix - doc comments. - - * gtk/gtkiconfactory.c (gtk_icon_size_lookup_for_settings): - * gtk/gtknotebook.c (gtk_notebook_get_n_pages): - * gtk/gtkwindow.c (gtk_window_set_icon_from_file): - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_focus_cell): Fix - doc comments. - - * gtk/gtktreestore.c: - * gtk/gtktreestore.h: Consistently name first parameter - tree_store, and make header and implementation agree on parameter - names to silence gtk-doc. - - * gtk/gtkenums.h (enum): Comment typo fix. - -Thu Oct 10 15:13:48 2002 Manish Singh - - * gtk/gtkimcontext.[ch] gtk/gtkimcontextsimple.[ch] gtk/gtkimmodule.c - gtk/gtkimmulticontext.[ch] gtk/gtktreestore.[ch]: Deprecation - cleanup - -Thu Oct 10 14:58:47 2002 Manish Singh - - * gtk/gtkaccelgroup.c gtk/gtkarrow.[ch] gtk/gtkeventbox.[ch] - gtk/gtkiconfactory.c gtk/gtkinvisible.[ch] gtk/gtktextchild.c: - Deprecation cleanup - -Thu Oct 10 14:41:05 2002 Manish Singh - - * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c - gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch] - gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]: - Deprecation cleanup - -Thu Oct 10 14:35:31 2002 Owen Taylor - - * gtk/gtkscrolledwindow.[ch]: Privately export - _gtk_scrolled_window_get_scrollbar_spacing(). - - * gtk/gtkcombo.c: Properly account from scrollbar - spacing when computing the size of the popup window. - (#84955, Marco Pesenti Gritti) - -Wed Oct 9 17:40:13 2002 Manish Singh - - * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c - gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch] - gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup - -Wed Oct 9 16:52:53 2002 Manish Singh - - * gtk/gtkclipboard.[ch] gtk/gtkeditable.[ch] gtk/gtkgc.c - gtk/gtkoptionmenu.[ch] gtk/gtkselection.c gtk/gtksizegroup.[ch]: - Deprecation cleanup - -Wed Oct 9 15:23:48 2002 Manish Singh - - * gtk/gtkadjustment.[ch] gtk/gtkalignment.[ch] gtk/gtkentry.[ch] - gtk/gtkhsv.[ch] gtk/gtktooltips.[ch]: Deprecation cleanup - -Wed Oct 9 15:07:08 2002 Manish Singh - - * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch] - gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]: - Deprecation cleanup - -Wed Oct 9 17:06:21 2002 Owen Taylor - - * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback): - Add GO_FORWARD and GO_BACK with both left and right - arrows depending on the direction. (#92211, - Kenneth Christiansen) - - * tests/testgtk.c (create_flipping): Add forward/back button - pairs in default, RTL, LTR configurations. - -2002-10-09 Stanislav Brabec - - * gtk/gtkimcontextsimple.c: Added support for hungarian characters - (addition to bug #93421). Only via dead keys, because compose key - combinations in X are erratic. - -Tue Oct 8 17:34:26 2002 Manish Singh - - * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c - gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch] - gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup - -Tue Oct 8 15:25:53 2002 Manish Singh - - * gtk/gtkhpaned.[ch] gtk/gtkpaned.[ch] gtk/gtkprogress.[ch] - gtk/gtkprogressbar.[ch] gtk/gtkvpaned.[ch]: Deprecation cleanup - -Tue Oct 8 14:49:56 2002 Manish Singh - - * gtk/gtktreemodel.h: restore gtkobject.h #include so we don't - break backwards compat. - -Tue Oct 8 09:41:43 2002 Owen Taylor - - * Patch from Takuro Ashie to fix updating of open_ims - list. (#95150) - -Mon Oct 7 19:44:45 2002 Owen Taylor - - * gdk/x11/gdkkeys-x11.c (_gdk_keymap_keys_changed): Move - out of HAVE_XKB. (#95129, Phil Blundell) - -Mon Oct 7 19:14:24 2002 Eric Warmenhoven - - * gdk/linux-fb/gdkwindow-fb.c: fix compilation - - * gdk/linux-fb/gdkmain-fb.c: better display mode setting - -Mon Oct 7 18:50:46 2002 Owen Taylor - - * gtk/gtkcolorsel.c (gtk_color_selection_finalize): - Free the private data. (#84903, Matthias Clasen) - -Mon Oct 7 18:21:39 2002 Owen Taylor - - * gtk/gtk[hv]paned.c gtk/gtkpaned.c: Allow the slider - to be set all the way to the edge, and if that happens, - use gtk_widget_set_child_visible() to hide the - appropriate child. (#72784, request from Darin Adler) - -Mon Oct 7 16:28:11 2002 Owen Taylor - - * gtk/gtkcolorsel.c (palette_drag_begin): Use - a pixbuf to set the drag icon, combine code - to create drag icons (Fixes #80092, #80093) - - * gtk/gtkcolorsel.c (get_screen_color): Don't warn - on failure to grab keyboard/mouse. (#80085) - - * gtk/gtkcolorsel.c (palette_press): Return FALSE, - so DND initiation is possible. - - * gtk/gtkcolorsel.c (palette_release): Set the color - from the palette on release, not press. - - * gtk/gtkcolorsel.c (gtk_color_selection_show_all): - Override to simple call show(). (#74173) - - * tests/testgtk.c (create_color_selection): Use - gtk_widget_show_all() - -Mon Oct 7 15:48:44 2002 Owen Taylor - - * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add - gdk_drag_find_window_for_screen(), so that we can - interpret x_root / y_root relative to the correct screen. - - * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c - gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file. - Move gdk_drag_find_window(), gdk_drag_get_protocol() here. - - * gtk/gtkdnd.c: Handle drags between screens; use - a fallback icon for icons set as windows/pixmaps, - move the drag icon between displays for icons set as - pixbufs. - - * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite - loop from last change. - -Mon Oct 7 15:10:00 2002 Owen Taylor - - * gdk/gdkdisplay.[ch] gdk/gdkinternals.h - gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c - gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c: - - - Replace GdkPointerHooks with a multihead-safe - GdkDisplayPointerHooks, leave GdkPointerHooks - around for singlehead. - - Add gdk_display_get_pointer() to get the pointer - location with the screen it is on. - - * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]: - Change gdk_screen_get_window_at_pointer() to - gdk_display_get_window_at_pointer(). - - * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c - tests/testgtk.c: Use gdk_display_get_window_at_pointer(), - not gdk_screen_get_window_at_pointer(). - - * gtk/gtkcolorsel.c: Fix grabbing color to be multihead - safe. - - * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL). - since it is useful for writing code that doesn't - know the dcurrent state but needs a clean colormap. - - * gtk/gtkrc.c: When loading the settings for a particular - screen, only reset toplevels on that screen. - - * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE - that should have been #ifndef GTK_MULTIHEAD_SAFE. - -Mon Oct 7 11:59:33 2002 Manish Singh - - * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c - gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch] - gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch] - gtk/gtktreestore.[ch]: Deprecation cleanup - -Mon Oct 7 14:51:21 2002 Owen Taylor - - * gdk/x11/gdkx.h: Fix some prototypes that had - () instead of (void). - -Mon Oct 7 12:40:39 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Clean - up the handling of clearing transient state - settings, fixing bug #95026, reported by Jami - Pekannen. - -Mon Oct 7 11:45:17 2002 Owen Taylor - - * gdk/x11/gdkkeys-x11.c (update_keymaps): If Mode_switch - is used for a known modifier like Mod1, assume it won't - be used to switch group. (#94841, problem reported by - Szekeres Istvan) - -Mon Oct 7 16:07:52 2002 Bill Haneman - - * gdk/x11/gdkimage-x11.c gdk/linux-fb/gdkimage-x11.c - gdk/win32/gdkimage-x11.c: (gdk_image_get_pixel): - (gdk_image_put_pixel): Fixed sense of bounds checks. - -Sun Oct 6 21:23:29 2002 Manish Singh - - * gtk/gtkcontainer.[ch] gtk/gtkbox.[ch] gtk/gtkhbox.[ch] - gtk/gtkvbox.[ch]: Deprecation cleanup - -Sun Oct 6 18:32:11 2002 Manish Singh - - * gtk/gtkcelleditable.c gtk/gtkcellrenderer.[ch] - gtk/gtkcellrendererpixbuf.[ch] gtk/gtkcellrenderertext.[ch] - gtk/gtkcellrenderertoggle.[ch]: Deprecation cleanup - -Sat Oct 5 16:11:22 2002 Manish Singh - - * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch] - gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: Deprecation cleanup - -Sat Oct 5 18:30:50 2002 Owen Taylor - - * gtk/stock-icons/Makefile.am (pixbuf_csource): Use - $(top_builddir) instead of here-undefined $$topdir. - (Problem reported by Jacob Berkman) - -Sat Oct 5 18:25:11 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_draw_tab): Fix - &expose_event vs expose_event problem (#94898, - reported by Jon-Kare Hellan) - -Sat Oct 5 16:47:03 2002 Soeren Sandmann - - * docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c, - gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c, - gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c - - Documentation fixes: - - #75170, Dan Winship; - #73220, Havoc Pennington; - #70742, Boris Shingarov; - #72007, Alexey A. Malyshev - -Fri Oct 4 18:40:50 2002 Manish Singh - - * gtk/gtkcheckmenuitem.[ch] gtk/gtkimagemenuitem.[ch] gtk/gtkmenu.[ch] - gtk/gtkmenubar.[ch] gtk/gtkmenuitem.[ch] gtk/gtkmenushell.[ch] - gtk/gtkradiomenuitem.[ch]: Deprecation cleanup - -Fri Oct 4 16:48:27 2002 Manish Singh - - * gtkaspectframe.[ch] gtkbin.[ch] gtkframe.[ch] gtkhruler.[ch] - gtkruler.[ch] gtkvruler.[ch]: Deprecation cleanup - -Fri Oct 4 15:47:06 2002 Manish Singh - - * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch] - gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup - -Fri Oct 4 15:05:19 2002 HideToshi Tajima - - * modules/input/gtkimcontextxim.c (get_ic_real): Fix memory - intilization error caused by my previous checkin. - #94908 a patch from famao@momonga-linux.org (Motonobu Ichimura) - -Fri Oct 4 17:13:03 2002 Owen Taylor - - * gtk/gtkdnd.c: Improve checks on public entry points, - including, among other things checking whether drag - contexts passed in are source or dest. (Fixes - #76762, Alexey A. Malyshev) - - * tests/testtext.c tests/testgtk.c tests/testdnd.c: - Fix uninstalled operation for new pixbuf changes. - - * gtk/stock-icons/Makefile.am (pixbuf_csource): - Fix makefile for uninstalled operation. - -Fri Oct 4 21:21:47 2002 Soeren Sandmann - - * gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused - codepath. - - * gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call - gtk_widget_queue_draw() instead of gtk_widget_draw(). - -Fri Oct 4 14:49:04 2002 Owen Taylor - - Patch from Shivram U - - * gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to - (max_keycode - min_keycode) + 1 from (max_keycode - min_keycode). - (update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through - less than or equal to max_keycode. (#79184) - -2002-10-04 jacob berkman - - * gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C - -Fri Oct 4 12:05:27 2002 Owen Taylor - - * demos/Makefile.am (pixbuf_csource): Fix envars - for uninstalled operation of gdk-pixbuf - - * demos/Makefile.am (test-inline-pixbufs.h): Remove - output on failure. - -Fri Oct 4 12:00:10 2002 Owen Taylor - - * gdk/gdkscreen.c (gdk_screen_class_init): Get the - name right. - - * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_class_init): - Fix function that should have been static. - -Fri Oct 4 11:43:47 2002 Owen Taylor - - * configure.in: Add a check for the Xrandr extension. - - * gdk/gdkscreen.[ch]: Add a size-changed signal. - - * gdk/x11/gdkscreen-x11.[ch]: Patch from Keith packard - to hook up ConfigureNotify events on the root window - to the ::size-changed signal. (#94560) - - * gtk/gtkimcontextsimple.c: Warning fixes - -Fri Oct 4 00:57:53 2002 Manish Singh - - * gtk/gtkhscrollbar.[ch] gtk/gtkhseparator.[ch] gtk/gtkrange.[ch] - gtk/gtkscrollbar.[ch] gtk/gtkseparator.[ch] gtk/gtkseparatormenuitem.h - gtk/gtkvscrollbar.[ch] gtk/gtkvseparator.[ch]: Deprecation cleanup - -Thu Oct 3 22:38:12 2002 Manish Singh - - * gdk-pixbuf/queryloaders.c: make it legal C - -Thu Oct 3 16:40:18 2002 Eric Warmenhoven - - * gdk/gdkevents.c, gdk/linux-fb/gdkwindow-fb.c, - gtk/gtkwindow-decorate.c: implement maximize for linux-fb - - * gdk/linux-fb/gdkkeyboard-fb.c: implement raw keyboard mode - - * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkdnd-fb.c, - gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkselection-fb.c, - gdk/linux-fb/miarc.c, gdk/linux-fb/mifpolycon.c, - gdk/linux-fb/miwideline.c, gdk/linux-fb/mizerclip.c, - gdk/linux-fb/mizerline.c: small cleanups - -Thu Oct 3 19:00:55 2002 Owen Taylor - - * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): - Fix error in computing length and a memory leak. - (Fixes #94072, reported by Hema Seetharamaiah) - - * gtk/gtkmenu.c (gtk_menu_motion_notify): Fix &event - used instead of event. - -2002-10-04 Matthias Clasen - - * demos/gtk-demo/main.c (main): - * demos/pixbuf-init.c (pixbuf_init): Adjust to gdk-pixbuf changes. - -Thu Oct 3 23:53:43 2002 Kristian Rietveld - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_destroy): get - XDisplay from window instead of display, as display has not been - defined here (fixes the build). - -Thu Oct 3 17:09:23 2002 Owen Taylor - - * gdk/x11/{gdkdrawable-x11.[ch],gdkpixmap-x11.c, - gdkwindow-x11.c}: Restore the pre-Xft2 code to - render text directly via RENDER, conditionalized - with !HAVE_XFT2 so that we'll build again on Xft1 - systems. (#90181) - -Thu Oct 3 14:13:33 2002 Owen Taylor - - * gdk/gdkevents.c (gdk_event_new): Add a 'type' - parameter, make public. - - * gdk/gdkevents.c (gdk_event_copy): Copy the screen. - - * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c - gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c: - _gdk_event_new() => gdk_event_new(). - - * gdk/win32/gdkevents-win32.c (real_window_procedure): - Fix event_private->screen breakage that results from evil - encapsulation breakage here. - - * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c - gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c - gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c - gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c - gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c - gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c - tests/testgtk.c: Remove most usage of stack-allocated - GdkEvent structures. - - * gtk/gtktreeview.c: Use a cut-and-paste of the full - send_focus_event() from gtkwindow.c that does the necessary - notification of the ::has-focus property and setting of - the HAS_FOCUS flag.x - - * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing - an extraneous use of a GdkEvent. - -Wed Oct 2 17:46:53 2002 Owen Taylor - - * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c - gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf - as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual - function to draw_pixbuf. (#60582) - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]): - Note that these functions are obsolete in the docs. - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): - Remove all the sanity checks now we make it clear - that it is obsolete name for gdk_draw_pixbuf(). - - * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c - gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c - tests/testrgb.c: Use gdk_draw_pixbuf() everywhere. - - * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix - some warnings. - - * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed - bit from last gdk_event_get_screen() change. - - * gdk/gdkevents.c: Couple of small fixes. - -Wed Oct 2 17:36:42 2002 Owen Taylor - - * gdk/gdkevents.[ch] gdk/x11/gdkevents-x11.c: Add - gdk_screen_set_screen()/_get_screen() which (by evil - hacks) work for for heap allocated events and - fall back gracefully for stack allocated events. - -Wed Oct 2 08:47:31 2002 Owen Taylor - - * gtk/gtksettings.[ch]: Privately export: - _gtk_settings_set_property_value_from_rc() - _gtk_settings_reset_rc_values() so that we can reset - settings set from RC files when reloading RC files. - (#94610) - - * gtk/gtkrc.c: Hook up RC file setting resetting. - -Tue Oct 1 12:53:44 2002 Manish Singh - - * gtk/gtkwindow-decorate.c gtk/gtkwindow.[ch]: Deprecation cleanup - -2002-10-01 jacob berkman - - * gtk/gtkinvisible.c: - * gtk/gtkclipboard.c: declare parent_class static - -2002-10-01 Stanislav Brabec - - * gtk/gtkimcontextsimple.c: Fixed alphabetical order (bug #93421). - -2002-10-01 Padraig O'Briain - - * gtk/gtkmenu.c: Add gtk_menu_focus() so we do not waste time - trying to focus a menu item. (bug #91258) - -2002-09-30 Tor Lillqvist - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize): - Set image->windowing_data to NULL, unref the image. (Late merge - from stable.) - -Mon Sep 30 15:45:49 2002 Owen Taylor - - * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): - Make the reference to the mnemonic widget weak. - (#93334, Murray Cumming) - -Mon Sep 30 15:38:53 2002 Owen Taylor - - * gdk/gdkwindow.h: Remove a duplicate definition - of gdk_set_sm_client_id(). - -Mon Sep 30 15:31:57 2002 Owen Taylor - - * gdk/gdkdisplay.c gdk/x11/gdkdisplay-x11.c - gdk/gdkinternals.h: Set the client ID on all - displays. (#85713) - - * gdk/gdkdisplay.h gkd/gdkinternals.h - gdk/{linux-fb,win32,x11}/gdkmain-{fb,win32,x11}.c - Privatize gdk_display_set_sm_client_id(). - -Mon Sep 30 14:46:49 2002 Owen Taylor - - * gtk/gtkbindings.c (gtk_binding_set_new): Initialize - ->parsed field. (#94536, patch from Sebastian Ritau. Maybe - fixes #87411?) - -Mon Sep 30 14:28:58 2002 Owen Taylor - - * gtk/gtkwindow.[ch]: Add gtk_window_set_icon_from_file(), - gtk_window_set_default_icon_from_file() convenience - functions (#75178, suggestion from Havoc Pennington) - -2002-09-30 Daniel Elstner - - * gtk/gtktextbuffer.c: Add construct-only property "tag_table" - and make use of it in gtk_text_buffer_new(). (#70227) - -2002-09-30 Stanislav Brabec - - * gtk/gtkimcontextsimple.c: Completed ISO-8859-2 characters - support (#93421), fixed cacute, umacron, completed dead_key+space - convention. - -Sun Sep 29 23:52:28 2002 Owen Taylor - - * ===== Released 2.1.0 ====== - - * NEWS: Updated - -Sun Sep 29 20:20:26 2002 Owen Taylor - - * gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable - tooltips for menu items with submenus .. they still - don't really work properly. (Missed merge from - stable) - -Sun Sep 29 20:15:59 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Clear - initial_pos_set even if it only causes a move, not - a resize as well. (Missed merge from stable, - may fix #89562) - -Sun Sep 29 14:22:47 2002 Manish Singh - - * contrib/gdk-pixbuf-xlib/Makefile.am demos/Makefile.am - demos/gtk-demo/Makefile.am: add deprecation compile flags - - * demos/testanimation.c demos/testpixbuf-save.c demos/testpixbuf.c - demos/gtk-demo/*.c gdk-pixbuf/gdk-pixbuf-animation.c - gdk-pixbuf/gdk-pixbuf.c: minor cleanups, getting rid of - unnecessary casts - -Sun Sep 29 13:11:13 2002 Manish Singh - - * gtk/gtktypeutils.h: use #defines instead of enum for - GtkFundamentalType compat, to prevent 64-bit vs. 32-bit - confusion (#90400) - -2002-09-29 Tor Lillqvist - - * configure.in: Instead of forcing -fnative-struct into CFLAGS - when using gcc for Win32, check for gcc version 3.x which uses - -mms-bitfields instead. Also check if either of these switches is - actually available at all, and warn if not. Thanks to Soren - Andersen for the inspiration. (#93965) - -2002-09-01 Soeren Sandmann - - * gtk/gtkimcontext.c, gtk/gtktreeviewcolumn.c: - - Minor documentation fixes. - (#80021, Yao Zhang; #75567, #75279, Vitaly Tishkov) - -2002-09-28 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make - drawing to the root window work. (#89492) - -Fri Sep 27 18:14:00 2002 Owen Taylor - - (#91249, Thomas Leonard) - - * gtk/gtkselection.c (gtk_selection_convert): Initialize - idle time to 0. - - * gtk/gtkselection.c: Up idle timeout to 5 minutes - from 5 seconds. - -Fri Sep 27 17:40:47 2002 Owen Taylor - - * modules/input/Makefile.am: Patch from J. Ali Harlow - to avoid generating gtk.immodules when cross-compiling. - (#87774) - -Fri Sep 27 14:30:34 2002 Eric Warmenhoven - - * gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c - gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and - gdk_keyval_from_name to new gdkkeynames.c, share implementation for - linux-fb and win32 (#94123) - - * gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c - gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add - -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile - flags - - * gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't - initialize - - * gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes - - * gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions - -Fri Sep 27 17:23:31 2002 Owen Taylor - - * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings. - (#85863, David L. Cooper II) - -Fri Sep 27 16:23:49 2002 Owen Taylor - - * gtk/gtklabel.c : Replaced instances where strlen (label->label) is - used to get a byte code with strlen (label->text) as label->text - contains the actual display text, while label->label contains - markup / mnemonics. (#92683, Patch from Shivram U - , with some additions.) - - * gtk/gtklabel.c (gtk_label_set_uline_text_internal): - Fix a leftover, now incorrect comment. - -Fri Sep 27 16:15:11 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_get_event_window_position): - Handle the case where the first page isn't visible. - (#81600, bug tracked down by Chema Celorio) - -Fri Sep 27 15:57:15 2002 Owen Taylor - - * gtk/gtkstock.c (builtin_items): Change accelerator - from C_ut to Cu_t. (#82747, Paolo Maggi) - -Fri Sep 27 15:27:45 2002 Owen Taylor - - * gtk/gtkimage.c (gtk_image_unrealize): Reset the - animation iter on unrealize as well as unmap. - (#94336) - - * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't - turn a value of "" into NULL. (#94157, Vitaly Tishkov) - -Wed Sep 25 18:23:50 2002 HideToshi Tajima - - * modules/input/gtkimcontextxim.c: - - use gtk_settings_get_for_screen () instead of - gtk_settings_get_default () for multihead - - connect property-notify signal handlers to respond runtime - changes of status_style and preedit_style in the settings - - Some indentation and code cleanup (#59076 - 2nd check-in) - -2002-09-24 Havoc Pennington - - * gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate - typedef - - * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor - FULLSCREEN state - - * tests/testgtk.c (get_state_controls): add - fullscreen/unfullscreen test - - * gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable - - * gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused - variable - - * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused - variable - - * gdk/x11/gdkscreen-x11.c - (_gdk_x11_screen_window_manager_changed): emit - window_manager_changed signal - - * gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add - window_manager_changed signal - - * gdk/x11/gdkevents-x11.c - (gdk_x11_screen_get_window_manager_name): new function - - * gtk/gtkwindow.c (gtk_window_class_init): add type_hint, - skip_taskbar_hint, skip_pager_hint properties - (gtk_window_set_skip_taskbar_hint): - (gtk_window_get_skip_taskbar_hint): - (gtk_window_set_skip_pager_hint): - (gtk_window_get_skip_pager_hint): - (gtk_window_fullscreen): - (gtk_window_unfullscreen): new functions - - * gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state - - * gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint - values - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint): - (gdk_window_set_skip_pager_hint): - (gdk_window_fullscreen): - (gdk_window_unfullscreen): new functions - (set_initial_hints): set fullscreen here if appropriate - -Wed Sep 25 10:51:24 2002 Owen Taylor - - * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c: - Add gdk_screen_make_display_name(), which returns a - display name that can be used to open a display with the - screen as the default (Based on patch from Mark McLoughlin, - #86013) - -Wed Sep 25 08:50:40 2002 Owen Taylor - - Patch from Eric Warmenhoven, #94123 - - * gdk/gdkmouse-fb.c: Add scrolling support for - imps2 mice. - - * gdk/linux-fb/gdkimage-fb.c: Fix compilation error - in last gdkimage-fb.c commit. - -Wed Sep 25 00:16:53 2002 Manish Singh - - * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED - and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags - - * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c - gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c - gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c - gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c - gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c - gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c - gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c - gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c - gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing - gdk_foo_{ref,unref} to g_object equivalents. - -Tue Sep 24 23:54:20 2002 Manish Singh - - * gtk/gtkfilesel.c: check if last_selected is valid before doing - a strcmp on it, which may happen if selections happen programmatically - instead of through the UI (#86566) - -Tue Sep 24 23:33:48 2002 Manish Singh - - * gtk/gtkfilesel.c: preserve ordering from gtk_tree_selection_foreach - when returning filenames for gtk_file_selection_get_selections - (#86567) - - * gtk/gtkclipboard.c: GtkClipboard struct should have a GObject - in it, not a GObjectClass - -Tue Sep 24 18:18:36 2002 Owen Taylor - - * gtk/gtkclipboard.[ch]: Make a GObject (#75970, James - Henstridge) - -Tue Sep 24 19:45:55 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap): - Look up the visual as well as the colormap, since calling - gdk_drawable_get_visual() causes infinite recursion. - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): - Set the colormap for the root window. - -Tue Sep 24 15:35:42 2002 HideToshi Tajima - - disable/enable preedit/status in GtkIMContextXIM (#59076) - - * gtk/gtkenums.h (enum): added preedit/status styles for gtk+ - input method - * modules/input/gtkimcontextxim.c - * gdk/x11/gdkevents-x11.c: add gtk-im-preedit-style and - gtk-im-status-style to GtkSettings. - * po/POTFILES.in: added modules/input/gtkimcontextxim.c - - With the other patch for gnome-control-center, - the preedit and status styles of GTK+ input method are - configurable with associated gconf schemas keys: - "/desktop/gnome/interface/gtk-im-preedit-style" - "/desktop/gnome/interface/gtk-im-status-style" - - Both are set to "callback" by default, and platform's - packging can have different default by changing - libgnome's desktop_gnome_interface.schemas. - -2002-09-25 Matthias Clasen - - * gdk/x11/gdkvisual-x11.c (gdkx_visual_get): Replace leftover - gdkx_visual_get_for_screen () by gdk_x11_screen_lookup_visual(). - - * gtk/gtkaccelgroup.h: Add a missing ; to make things compile. - - * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap): - Replace leftover gdk_colormap_lookup () by - gdk_x11_colormap_foreign_new () to make the linker happy. - -Tue Sep 24 17:49:52 2002 Owen Taylor - - * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find): - Add a GtkAccelGroupFindFunc to clean up the - prototype. (#76670, Vitaly Tishkov) - - * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename - gdkx_visual_get_for_screen() to - gdk_x11_screen_lookup_visual(). (#85702) - -2002-09-25 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): - WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in - order to be able to handle it normally in the application. Set - ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this - way we can generate GDK events also for Alt-Fn keys, for instance. - -2002-09-24 Matthias Clasen - - * gdk/x11/gdkx.h: Add a missing ; to make things compile. - -Tue Sep 24 16:40:14 2002 Owen Taylor - - Make icon sizes configurable (#70648, slightly based - on a patch from Bill Haneman, Brian Cameron) - - * gtk/gtkiconfactory.[ch]: Add - gtk_icon_size_lookup_for_settings(). - - * gtk/gtksettings.c: Add gtk-icon-sizes XSETTING - - * gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings. - - * gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings() - - * gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles() - to force all the widgets to recompute their appearance. - - * gdk/x11/gdkevents-x11.c: Add gtk-icon-sizes XSETTING - -Tue Sep 24 16:24:22 2002 Owen Taylor - - * gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c - * gdk/linux-fb/gdkimage-fb.c (gdk_image_put/get_pixel): - Add bounds-checking g_return_if_fail(). (Olexiy Avramchenko) - -Tue Sep 24 16:04:44 2002 Owen Taylor - - * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c - gdkwindow-x11.c: Delete unused private gdk_visual_lookup(), - make gdk_colormap_lookup() private gdkcolor-x11.c. - make gdk_window_add_colormap_windows private to gdkwindow-x11.c - (#85674) - - * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c - gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(), - GDK_ENABLE_BROKEN gdkx_colormap_get(), make the - colormap hash per-screen. (#85697) - - * gdk/x11/gdkxid.c (gdk_xid_table_lookup_for_display): - Remove a bit of unecessary code. - -Thu Aug 8 16:58:22 2002 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_real_change_value): - Remove the check for editable. (Reported by Brent Fox) - -Tue Sep 24 06:17:37 2002 Owen Taylor - - * gtk/gtkeventbox.c (gtk_event_box_paint): Honor - GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.) - -Tue Sep 24 05:26:31 2002 Owen Taylor - - * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c - gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c: - Change the window parameter for - gdk_event_send_client_message[_for_display] from guint32 - to GdkNativeWindow. (#79979) - -Tue Sep 24 05:16:25 2002 Owen Taylor - - * gtk+.spec.in: Fix up a bit to look for the loaders - in the right place. (#93011, Dennis Dementiev) - -Tue Sep 24 05:12:14 2002 Owen Taylor - - * gtk/gtkimcontextsimple.c: Fixes to GtkIMContextSimple - compose table for us-intl keyboards (Red Hat bugzilla - #70995, Alexandre Oliva) - -Tue Sep 24 04:50:28 2002 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_activate): - Chain up so that entry->activates_default is honored. - (#93865, Pieter Penninckx) - -2002-09-23 Jacob Berkman - - * gtk/gtkprogress.c (DEFAULT_FORMAT): cpp macros aren't ``;'' - terminated - -Mon Sep 23 19:49:11 2002 Owen Taylor - - * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c: - Privatize gtk_selection_request, gtk_selection_incr_event - gtk_selection_notify, gtk_selection_property_notify. - Add doc note about future deprecation of gtk_selection_clear() - which. (#85683) - - * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear): - Chain up, rather than calling gtk_selection_clear(). - -Mon Sep 23 18:53:35 2002 Owen Taylor - - * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): - Restore back to the default format instead of an - empty format. (#82626, Tim Janik) - - * gtk/gtkprogress.c (gtk_progress_set_format_string): - Make NULL restore back to the default format. - -Mon Sep 23 18:45:46 2002 Owen Taylor - - * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): - Allow accel_path == NULL. (#84241, James Henstridge.) - -Mon Sep 23 18:01:52 2002 Owen Taylor - - * gtk/gtknotebook.[ch]: Add gtk_notebook_get_n_pages - (#73229, Havoc Pennington) - - * gtk/gtknotebook.c (gtk_notebook_get_nth_page): Handle - -1 to mean the last page, as we do elsewhere. (#73229) - -Mon Sep 23 17:50:23 2002 Owen Taylor - - * gtk/gtkmenushell.[ch] gtk/gtkentry.c gtk/gtkmenubar.c - gtk/gtkmenuitem.c gtk/gtktextview.c: Make - gtk_menu_shell_select_first() public. (#70373) - -Mon Sep 23 16:48:46 2002 Owen Taylor - - * gdk/gdkkeys.[ch] gdk/x11/gdkkeys-x11.c gdk/x11/gdkevents-x11.c: - Add a keys_changed signal emitted when the keymap changes. - (#72148) - - * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): - Hook up code to handle keymap changes, change to keep - a linked list of keymap entries so that we can reinsert - them in the same order on a keymap change. - -Mon Sep 23 14:58:04 2002 Owen Taylor - - * gtk/gtkhandlebox.h gtk/gtktextbtree.[ch]: - Use 'signed int' not 'gint' for signed bitfields. - (#93020, Vitaly Tishkov) - - * gtk/gtktextlayout.h gtk/gtktextbtree.[ch]: - Fix some 'gint' bitfields that should have been - unsigned. - -Mon Sep 23 12:24:14 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c (status_window_get): - Fix incorrect usage of gdk_get_default_root_window ()). - (#92767) - -Mon Sep 23 12:12:48 2002 Owen Taylor - - * gtk/gtkspinbutton.c: Patch from Joshua N Pritikin to - fix problem where signal connection wasn't removed - from adjustment on finalize. (#93962) - -Sun Sep 22 18:22:37 2002 Owen Taylor - - * gdk/linux-fb/{gdkinput.c,gdkkeyboard-fb.c,gdk/linux-fb/gdkmain-fb.c, - gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c}: - Patch from Eric Warmenhoven to with miscellaneous linux-fb - fixes, including a fix for a crash in - gdk_keymap_get_entries_for_keycode (#87420) - -2002-09-22 Matthias Clasen - - * gdk/gdkdraw.c (gdk_drawable_get_type): - * gdk/gdkgc.c (gdk_gc_get_type): - * gtk/gtkmenushell.c (gtk_menu_shell_get_type): - * gtk/gtkimcontext.c (gtk_im_context_get_type): - * gtk/gtkprogress.c (gtk_progress_get_type): - * gtk/gtkoldeditable.c (gtk_old_editable_get_type): - * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type): - * gtk/gtkwidget.c (gtk_widget_get_type): - * gtk/gtkseparator.c (gtk_separator_get_type): - * gtk/gtkscrollbar.c (gtk_scrollbar_get_type): - * gtk/gtkscale.c (gtk_scale_get_type): - * gtk/gtkrange.c (gtk_range_get_type): - * gtk/gtkpaned.c (gtk_paned_get_type): - * gtk/gtkmisc.c (gtk_misc_get_type): - * gtk/gtkitem.c (gtk_item_get_type): - * gtk/gtkcontainer.c (gtk_container_get_type): - * gtk/gtkbbox.c (gtk_button_box_get_type): - * gtk/gtkbox.c (gtk_box_get_type): - * gtk/gtkbin.c (gtk_bin_get_type): - * gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as - G_TYPE_FLAG_ABSTRACT. (#72383) - -2002-09-21 Tor Lillqvist - - * gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11 - backend. The old version mishandled consecutive newlines. - - * tests/testgtkrc: Remove obsolete mention of gtk-engines and - Pixmap theme engine on Win32. - -Fri Sep 20 18:01:26 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_unrealize): Set the IM - context client window to NULL, not to the window that - is about to be destroyed. (#88231) - -Fri Sep 20 16:56:54 2002 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): - Return TRUE if force_load was specified. (#93738, - Vitaly Tishkov.) - -2002-09-20 Tor Lillqvist - - * gtk/gtkmain.c (gtk_get_default_language): On Win32, look - explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, use - g_win32_getlocale(). The setlocale() in msvcrt.dll would return a - locale name in the form Swedish_Finland for sv_FI. - - * gdk/gdkfont.h: Delete leftover declarations of the obsolete - Win32-only functions gdk_font_full_name_get() and - gdk_font_full_name_free(). - - * gdk/gdk.def: Delete from here, too. - - * gdk/win32/gdkfont-win32.c (logfont_to_xlfd, - gdk_font_full_name_get, gdk_font_full_name_free): Delete - implementation, and helper functions. - - (pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc, - gdk_font_list_new, gdk_font_list_free): Delete unused functions. - - (gdk_text_width, gdk_text_width_wc) Instead of code duplication, - let gdk_text_extents() and gdk_text_extents_wc() do the job. - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values): - Don't use the above removed functions in debugging output. - - * gdk/win32/gdkdisplay-win32.c - * gdk/win32/gdkmain-win32.c - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkselection-win32.c - * gdk/win32/gdkinput-win32.h - * gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in - a couple of places. - -Thu Sep 19 16:39:29 2002 Owen Taylor - - * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix - usage of compat GTK_TYPE_ macros without including - gtkobject.h. - - * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing - to avoid having extra settings-notify events sent - when not needed. - -2002-09-17 Matthias Clasen - - * gtk/stock-icons/stock_color_picker_25.png: - * gtk/stock-icons/Makefile.am (VARIABLES1): - * gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER): - * gtk/gtkiconfactory.c (get_default_icons): - * gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color - picker icon. (#89880) - -2002-09-14 Sven Neumann - - * gdk/gdkpixbuf-drawable.c: fixed my latest change. - -2002-09-13 Sven Neumann - - * gdk/gdkpixbuf-drawable.c: use the most significant bits of the - GdkColor components (#89703). - -2002-09-12 Tor Lillqvist - - * gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Use correct - function name in warning messages. - - Merge from gtk-2-0: - - * gdk/win32/gdkdrawable-win32.c - * gdk/win32/gdkevents-win32.c: Some spacing and indentation cleanup. - - * gdk/win32/gdkdrawable-win32.c (render_line_horizontal, - render_line_vertical): Return TRUE. - - * gdk/win32/gdkevents-win32.c (_gdk_events_init): Search if the - system has some input locale identifier that uses a Latin - keyboard. This is needed to be able to get the virtual-key code - for the latin characters corresponding to ASCII control - characters. If no such keyboard is present, try to load one - then. Will this upset users with no wish to ever use a Latin-based - keyboard layout? - - (vk_from_char): Convert all ASCII control chars to the - corresponding uppercase char before calling VkKeyScanEx(). Idea by - Florent Duguet. Makes Control-C work again. To make it hopefully - work like I think it should on non-Latin keyboards, too, use - latin_locale when looking for the corresponding keycode. - - * gdk/win32/gdkgeometry-win32.c: Add GDK_NOTE debugging output - to some functions, related to moving and resizing and expose - and antiexpose queue processing. Use %p to output HWNDs. - - * gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out - debugging output to new function. - - Fix for #81831 by Tim Evans: - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't call - _gdk_event_button_generate() here, it would append the double- or - triple-click events too early, before the single-click event. - - (real_window_procedure): If we got a single-click event, call - _gdk_event_button_generate() to perhaps append the double- or - triple-click event after that. - - Tentative fix for #79720 based on code by Florent Duguet: - - * gdk/win32/gdkgeometry-win32 (gdk_window_queue_append): New - static function. Checks length of translate_queue, calls - _gdk_window_process_expose() if length is >= 128. Then appends - to translate_queue. - (gdk_window_queue_translation,_gdk_windowing_window_queue_antiexpose): - Call gdk_window_queue_append(). - - Merge from gtk-1-3-win32-production and gtk-2-0: - - * gdk/win32/gdkevents-win32.c (propagate): Check for parent being - NULL before trying to propagate to it, and return FALSE in that - case. (If parent is NULL, we are handling gdk_parent_root, and - probably should have noticed that and bailed out earlier. But - better late than never.) - - * gdk/win32/gdkinput-win32.c (gdk_input_init): Use - GetSystemMetrics (SM_C[XY]SCREEN) instead of - gdk_screen_{width,height}(). - - * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Don't - use return value from GlobalSize() as length of string when - calling MultiByteToWideChar(). Pass -1 instead (zero-terminated - string). Thanks to Iwasa Kazmi. - -Wed Sep 11 15:48:38 2002 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make - GtkTreeRowReference a boxed type. - - * gtk/gtkliststore.c (gtk_list_store_finalize): free the root - list. - - * gtk/gtktreestore.c (gtk_tree_store_finalize): free the root - nodes. - -Wed Sep 11 12:33:34 2002 Soeren Sandmann - - * gtk/gtkstyle.c: Draw radio buttons more symmetric. Draw shadow - out bevels slightly different. Fix drawing of top right corner of - etched in shadows. - -Tue Sep 10 09:47:52 2002 HideToshi Tajima - - * modules/input/gtkimcontextxim.c - (get_im): modify a warning when XSetLocaleModifiers() fails, and - add a warning when XOpenIM() fails - (gtk_im_context_xim_filter_keypress): use XLookupString when xic - is not available. (#90661) - (gtk_im_context_xim_get_ic, gtk_im_with_preedit, - gtk_im_without_preeedit): filter key release events only when - input methods ask for (#81759) - -Tue Sep 10 11:11:09 2002 Owen Taylor - - * gdk/linux-fb/*: Patch from Eric Warmenhoven to - get linux-fb compiling with multihead changes. - -Tue Sep 10 09:29:00 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Take - focus mode into account when tracking FocusIn/Out events, - so we don't get confused by focus changes while a - keyboard grab is in effect. (Probably fixes #90563) - -Mon Sep 9 16:16:25 2002 Shivram U - - * gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter - is also a part of the selection, then we are in the selection. - (#92768) - -2002-09-08 Tor Lillqvist - - * configure.in: Add AM_CONDITIONAL calls also in the non-x11 - branch. Otherwise we get "conditional \"$1\" was never defined. - Usually this means the macro was only invoked conditionally." - errors when running configure if using automake 1.6a. Yeah, I know - that autogen.sh says to use automake 1.4, but on Win32 I more or - less have to use the bleeding edge. I think. - -Sat Sep 7 21:24:55 2002 Soeren Sandmann - - * gtk/gtktoolbar.c (get_button_relief): call - gtk_widget_ensure_style() before reading "button_relief". Fixes - (#92741). - -2002-09-06 Matthias Clasen - - * configure.in: Add ani to all_loaders. - -Fri Sep 6 15:59:54 2002 Owen Taylor - - * gdk/gdkdisplay.h: Remove unused prototype for - gdk_set_default_display - (=> gdk_display_manager_set_default_display) - (#90616, Matthias Clasen) - -Fri Sep 6 15:35:01 2002 Owen Taylor - - * gdk/gdkgc.c (gdk_gc_new_with_values): Only set - gc->colormap if it isn't already set. (Alex Larsson, - #90632) - -Fri Sep 6 12:41:16 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c: Pass the actual input - keycode to XIM, rather than the result of backconverting - the keysym. Fixes the <> input problem! (#74922) - - * gtk/gtkimmodule.c: Fix bug where GTK_IM_MODULE environment - variable couldn't be used to force the input method to - the default input method. - -2002-09-05 jacob berkman - - * configure.in: fix non-solaris xinerama checks (bug #89732) - - * autogen.sh: get automake-1.4 changes from -2-0 branch - -2002-09-05 Tor Lillqvist - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino, - actually do check each char, not just the first one, when looping - through the text looking to insert CR in front of each LF. Bug - noticed and fix provided by Florent Duguet. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_transient_for): - Use HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent - Duguet. - -2002-09-04 Matthias Clasen - - * demos/testanimation.c (do_image): - (do_nonprogressive): Quit on destroy. - - * demos/testpixbuf.c (main): test load-at-size. - (expose_func): draw transparent pixbufs against a checkerboard - pattern. (#91829) - -2002-09-01 Soeren Sandmann - - * docs/reference/gtk/tmpl/gtkdialog.sgml - docs/reference/gtk/tmpl/gtkhbbox.sgml - docs/reference/gtk/tmpl/gtkvbbox.sgml - docs/reference/gtk/tmpl/gtktogglebutton.sgml - docs/reference/gtk/tmpl/gtktreeselection.sgml - gtk/gtktextbuffer.c - gtk/gtktogglebutton.c - gtk/gtktreesortable.c - - Minor documentation fixes: - - #79107, #82854, #76398, Vitaly Tishkov; - #88627, Brian Tarricone; - #81046, Owen Taylor - -2002-08-31 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (_gdk_events_init): On Cygwin, open - /dev/windows instead of using the magic G_WIN32_MSG_HANDLE fd that - is implemented (in GLib) only on native Win32. (#91683, Masahiro - Sakai) - - * gtk/gtkfilesel.c: Include - - * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH - (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and - MSVC, but not there in Cygwin) (#91681, Masahiro Sakai). - -Mon Aug 26 12:21:16 BST 2002 Tony Gale - - * docs/tutorial/package-db-tutorial.sh: cleanups - - * docs/tutorial/gtk-tut.sgml: new content for the - ItemFactory section. Originally from Robert Cleaver Ancell. - -2002-08-25 Tor Lillqvist - - * gtk/gtkfilesel.c: Don't include on Cygwin (#91654, - Masahiro Sakai). - - * gtk/gtkmain.c: Compile gtk_init_abi_check and - gtk_init_check_abi_check when on G_PLATFORM_WIN32, not just on - G_OS_WIN32, to match gtkmain.h (#91649, Masahiro Sakai). - (check_sizeof_GtkWindow, check_sizeof_GtkBox): Mention the - -mms-bitfields swicth in addition to -fnative-struct. - -Sun Aug 25 11:58:27 BST 2002 Tony Gale - - * docs/tutorial/package-db-tutorial.sh: - update packaging script for current tutorial - - * docs/tutorial/images/*.eps: New Files - EPS versions of the tutorial images - -2002-08-25 Tor Lillqvist - - * gtk/gtkmain.h: Include gtkbox.h and gtkwindow.h on Win32, as the - defines for struct packing checks use sizeof() on stuff from - these. (#84211, Andreas Holzmann) - - * gtk/Makefile.am (libgtk_win32_2_0_la_DEPENDENCIES): Add - gtk_win32res_lo. (#87101, J. Ali Harlow) - - * gdk/gdkevents.c - * gdk/gdkinternals.h - * gdk/x11/gdkevents-x11.c - * gdk/win32/gdkevents-win32.c: Move the GdkEventPrivate and - GdkEventFlags definitions from gdkevents.c to - gdkinternals.h. Remove the duplicated definitions in - gdkevents-x11.c and gdkevents-win32.c. (#89771) - -2002-08-24 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the - system handle Alt-Space, too. Thanks to Tim Evans (#91477). - -Sat Aug 24 12:46:37 BST 2002 Tony Gale - - * docs/tutorial/gtk-tut.sgml, examples/*: - update g_connect_signal usage - - * docs/faq/gtk-faq.html: spelling/grammar fixes - -2002-08-21 Tor Lillqvist - - * gdk/Makefile.am: Move GDK_DEP_LIBS from LDFLAGS to each of the - libgdk_*_LIBADD, to fix problems when cross-compiling, as - suggested by J. Ali Harlow in #87103. - -2002-08-19 Padraig O'Briain - - * gtk/gtkentry.c (gtk_entry_real_delete_text): Use - gtk_entry_set_positions() to update current_pos and selection_bound - so notifications are emitted (#90548) - -2002-08-16 jacob berkman - - * gtk/gtkdialog.h (struct _GtkDialog): switch vbox and action_area - back to the order that 2.0 has - -Thu Aug 15 22:46:02 BST 2002 Tony Gale - - * docs/tutorial/gtk-tut.sgml, examples/menu/menu.c: - minor menu example comment fix - (feeling my way back in after a long absence) - -Wed Aug 14 08:07:53 2002 HideToshi Tajima - - * gtk/gtkselection.c (gtk_selection_init): initialize - gtk_selection_atoms only once at the 1st call. - * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): - set length of selection data from number of read bytes (#90595) - -2002-08-14 Padraig O'Briain - - * gtk/gtktextview.c (gtk_text_view_focus): Move focus to - children, if they exist, after GtkTextView is focused. (#63844) - -2002-08-12 Matthias Clasen - - * gdk/gdkdisplaymanager.c: - * gdk/gdkdisplay.c (gdk_pointer_ungrab): Fix doc comments. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_get_screen): - * gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Make parameter - names match those in the header file, to silence gtk-doc. - -Sat Aug 10 22:18:05 2002 Owen Taylor - - * gdk/gdkpixbuf-render.c - (gdk_pixbuf_render_pixmap_and_mask[_for_colormap]): Mention - in the docs that @pixmap_return and @mask_return can - be %NULL. - -2002-08-10 Soren Sandmann - - * docs/reference/gtk/tree_widget.sgml, - docs/reference/gtk/tmpl/gtkdialog.sgml, - docs/reference/gtk/tmpl/gtkentry.sgml, - docs/reference/gtk/tmpl/gtkfilesel.sgml, - docs/reference/gtk/tmpl/gtkfontsel.sgml, - docs/reference/gtk/tmpl/gtkfontseldlg.sgml, - docs/reference/gtk/tmpl/gtktreemodel.sgml, - docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c, - gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c, - gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c, - gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c, - gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c, - gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c, - gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c, - gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c, - gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c, - gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c, - gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c, - gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c, - gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c, - gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h, - gtk/gtkwindow.c: - - Minor documentation fixes - - (#89254, patch from Brett Nash; - #85809, patch from daten@dnetc.org; - #76391, patch from Ross Burton; - #74559, Manuel Clos; - #73569, #72005, Alexey A. Malyshev; - #70061, patch from Dennis Bj"orklund; - #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov; - #78932, Vitaly Tishkov, patch from Ross Burton; - #73306) - -2002-08-10 Matthias Clasen - - * gdk/gdkrgb.c (gdk_rgb_try_colormap): - (gdk_rgb_create_info): - (gdk_rgb_select_conv): - (gdk_draw_gray_image): - (gdk_rgb_cmap_get_info): Changes to support depth 8 StaticColor - visuals. (#81631) - (gdk_rgb_cmap_free): Don't loop forever. - -Fri Aug 9 08:04:47 2002 Owen Taylor - - * gdk/gdkdisplay.h (struct _GdkDisplayClass): Fix - weird usage of 'class' for GdkDisplay * argumnent name. - (#9031, Laszlo Peter) - -Thu Aug 8 23:26:05 2002 Owen Taylor - - * gdk/x11/gdkmain-x11.c gdk/x11/gdkscreen-x11.c: Remove - explicit calls to pango_x/xft_shutdown_display() since - Pango now does it by itself on XCloseDisplay(). - -Thu Aug 8 21:53:16 2002 Owen Taylor - - * configure.in: Consistently order pangoxft / pangox - in pkg-config calls in hopes of reducing problems - (Eric Mader.) - -2002-08-07 Matthias Clasen - - * gtk/gtkmain.c (gtk_init): Fix doc comment. - - * gtk/gtktreemodel.c (gtk_tree_path_new_from_indices): Make the - doc comment gtk-doc-grokkable. - -2002-08-06 jacob berkman - - * configure.in: link gdk-pixbuf-xlib against x libs (bug #83442) - -Mon Aug 5 17:20:45 2002 Owen Taylor - - * gtk/gtklabel.c: Patch from Soeren Sandmann - to improve GtkLabel behavior when it gets - a too small allocation. (Always display the - initial portion.) (#71742) - -Mon Aug 5 17:01:30 2002 Owen Taylor - - * gdk/Makefile.am (LDFLAGS): When overriding LDFLAGS, - include @LDFLAGS@, otherwise LDFLAGS the users passes - to configure don't get used. (#89946, Noah Levitt, - Albert Chin) - - * gdk/linux-fb/Makefile.am: Remove LDFLAGS setting. - -Mon Aug 5 15:25:40 2002 Owen Taylor - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap): - Fix problem with wrong depth being used. (#89941, Jacob - Berkman.) Remove an unneeded 'screen' variable. - -Mon Aug 5 15:04:59 2002 Owen Taylor - - More fixes for warnings reported by David L. Cooper II - - * gtk/gtkaccelmap.c (accel_map_parse_accel_path): Use - GdkModifierType for accel_mods. (#85856) - - * gdk/gdkdisplay.h (struct _GdkDisplay): Make button_number - signed, since we use -1 as an 'unset' value. (#85854) - - * gdk/x11/xsettings-client.c (parse_settings): Suppress - a warning (#85853) - - * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Fix - accidental trailing ';'. (#85846) - -Mon Aug 5 14:50:13 2002 Owen Taylor - - * gtk/gtkitemfactory.h: Add a note that yes, we do know - what () means and we can't change it. - - Fixes for warnings reported by David L. Cooper II - - * tests/testtext.c: Warning fixes. Fix order of arguments - to gtk_message_dialog_new(). (#85891) - - * gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect - use GTK_STATE_INSENSITIVE for a shadow type. (Not clear - what the drawing intent was, but it's ENABLE_BROKEN - anyways.) (#85880) - - * gtk/gtktexttypes.c: Use character literals - instead of direct constants to avoid warning. (#85878) - - * gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c: - Fix some signed/unsigned problems (#85876) - - * gtk/gtksignal.c (gtk_signal_newv): Add an explicit - cast from GtkSignalRunType to GSignalFlags. (#85875) - - * gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix - use of guint instead of GdkModifierType (#85871) - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - Fix signed/unsigned problem (#85870) - - * gtk/gtkimcontext.c (gtk_im_context_class_init): Get - rid of GtkType/Signal*. (Fixes #85869 as a side effect) - - * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some - signed/unsigned warnings (#85865) - -2002-08-04 Matthias Clasen - - * gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility - across 2.x.y. - -Fri Aug 2 18:00:46 2002 Owen Taylor - - * gtk/gtkmenu.c: Fix menus resizing dynamically while - they are popped up or torn off. (#78949) - -Fri Aug 2 16:38:34 2002 Owen Taylor - - * gdk/gdkregion-generic.c: Comprehensively add - g_return_[val]if_fail() statements. (#89491, Robin Lu) - -Fri Aug 2 16:24:32 2002 Owen Taylor - - * gdk/x11/gdkmain-x11.c: Remove references to - gdk_initialized (#81060, Jacob Berkman) - - * gdk/gdk.c (gdk_exit): Remove gdk_exit_func(). - -Fri Aug 2 15:56:47 2002 Owen Taylor - - * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): Fix - args to pango_x_shutdown_display(). - - * gdk/linux-fb/gdkinput.c gdk/linux-fb/gdkinputprivate.h - gdk/win32/gdkinput-win32.[ch] gdk/win32/gdkinput.c - gdk/win32/gdkwindow-win32.c gdk/x11/gdkinput-x11.c - gdk/x11/gdkinput-xfree.c gdk/x11/gdkinput.c - gdk/x11/gdkinputprivate.h gdk/x11/gdkwindow-x11.c: Move - a bunch of functions gdk_input => _gdk_input. Clean - up some header file cruft. (#79971) - -Fri Aug 2 12:21:41 2002 Owen Taylor - - * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): - Call pango_x[ft]_shutdown_display(). - -2002-08-02 jacob berkman - - * gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare - screen_x11 variable to fix build w/ xinerama - -Fri Aug 2 00:43:15 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c - gdk/x11/gdkpango-x11.c gdk/x11/gdkpixmap-x11.c - gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c: - Switch back to using XftDraw so that we take - advantage of the draw-to-non-RENDER capabilities - of Xft2. - - * demos/gtk-demo/changedisplay.c (query_for_toplevel): - Fix the case where the user clicks on the "click on - a window popup". - -Thu Aug 1 19:09:39 2002 Owen Taylor - - * demos/gtk-demo/changedisplay.c: New demo for - window migration between different displays and screens. - - * gtk/gtkrc.c gtkstyle.[ch]: Add - _gtk_style_init_for_settings(), so that gtkrc.c - can initialize the styles it creates for the - right display. - - * gdk/gdkdisplaymanager.c (gdk_screen_get_default) - * gtk/gtksettings.c (gtk_settings_get_default) - * gtk/gtkstyle.c (gtk_style_init): Handle absence of - a default screen. - - * gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display): - Handle display == NULL.x - - * gdk/gdkdisplay.c (gdk_display_dispose): Free the - event queue. - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c: - Remove the event source when closing a display. - - * gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose() - isn't convenient enough by itself. - - * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): - Create foreign windows for watch windows if there isn't - an existing window, instead of installing a global filter. - - * gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h - gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): - Clean up the xsettings_client when we are done with - it. - - * gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove - excess call to _gdk_x11_events_init_screen() - -2002-08-01 Sven Neumann - - Merge from stable: - - * gdk/gdkrgb.c: trivial changes to some debug code so it compiles - with VERBOSE being defined. - -Thu Aug 1 11:26:03 2002 Owen Taylor - - * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h: - Start implementing display/screen closing scheme; keep a - flag for whether displays and screens are closed, - call g_object_run_dispose(). Remove public gdk_screen_close(). - - * gdk/x11/gdkdisplay-x11.c gdk/x11/gdkscreen-x11.c: Add - dispose() methods; move appropriate parts of the finalize - there. - - * gdk/x11/gdkcolor-x11.c gdk/x11/gdkimage-x11.c - gdk/x11/gdkmain-x11.c gdk/x11/gdkpango-x11.c - gdk/x11/gdkpixmap-x11.c gdk/x11/gdkproperty-x11.c - gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.c: - Start of making everything correctly ignore operations - when a display has been closed. - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations): - Handle decorations == NULL. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_remove): - Remove unnecessary hash table creation. - - * gdk/x11/gdkinput.c gdk/x11/gdkinput-x11.c gdk/win32/gdkinput.c - Fix up gdk_device_get_history - handle events, n_events == NULL, - etc. - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): - Handle failure better. - - * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): - Handle failure better, handle data == NULL, move docs - here, remove an excess round trip by asking for - all selection data at once. - - * gdk/gdkselection.c gdk/win32/{x11,win32}/gdkselection-{x11,win32}.c - gdk/{x11,win32}/gdkmain-{x11,win32}.c gdk/gdkdisplay.c: Move - gdk_text_property_to_text_list(), gdk_string_to_compound_text(), - gdk_display_set_sm_client_id() to display-independent part of GDK. - - * gdk/Makefile.am (gdk_c_sources): Sort gdkdisplay/screen.[ch] - into the right place. - -2002-07-31 jacob berkman - - * gtk/queryimmodules.c (print_escaped): escape_string() only takes - one arg - -Wed Jul 31 12:50:51 2002 Owen Taylor - - * gtk/queryimmodules.c: Avoid using g_strescape(), - since it mangles UTF-8, (#89479, Yao Zhang.) - -Tue Jul 30 19:09:46 2002 Owen Taylor - - * gtk/gtkrange.c (gtk_range_scroll_event): Handle - inverted ranges correctly (#85436, fix from - Norihiro UMEDA) - -Tue Jul 30 16:36:53 2002 Owen Taylor - - * tests/testgtk.c: Fix bug in the selection mode option - menus which were setting the wrong values. - (#85763, Manuel Op de Coul) - -Tue Jul 30 15:39:06 2002 Owen Taylor - - * demos/Makefile.am: Honor GDK_PIXBUF_CSOURCE from - configure.in when cross-compiling. (#87099, - J. Ali Harlow) - -Mon Jul 29 16:42:30 2002 Owen Taylor - - * gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding): - Unset gtk-im-surrounding-info object data again. - (Fix from Yao Zhang, #86811) - -Fri Jul 26 17:59:06 2002 Owen Taylor - - * configure.in: Replace uses of grep \(A\|B\) ... with - egrep (A|B). (#84872, Arnaud Charlet) - -Fri Jul 26 22:53:37 2002 Kristian Rietveld - - API additions: _move, _reorder and _swap for stores, path - constructor. - - * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function. - - * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private), - gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move. - - * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private), - gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move. - -Fri Jul 26 22:32:57 2002 Kristian Rietveld - - Merge from stable: - - * gtk/gtktreestore.c (node_free): return FALSE, - (gtk_tree_store_finalize): use g_node_traverse instead of - g_node_children_foreach, so the whole tree will be freed (#88854, - patch from Emmanuel Briot). - -Fri Jul 26 22:32:24 2002 Kristian Rietveld - - Merge from stable: - - * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks, - (#84426, patch from Matthias Clasen). - -Fri Jul 26 22:31:25 2002 Kristian Rietveld - - Merge from stable: - - * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children - check shouldn't be in g_return_return_val_if_fail (pointed out by - Josh Green, #88997), - (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model - for each column when we unset the model (part of #82484), - (gtk_tree_view_get_cell_area): return if we ran out of tree or - if we got an invalid path (#82376). - - * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model. - - * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model - which disconnects the sort_column_changed_signal (part of #82484). - - * gtk/gtkliststore.c (gtk_list_store_insert): append row if the - given postion is off the end of the tree (#85813). - - * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use - 2-space indent, commit changes if up/down keys has been pressed, - this overrides the focus key foo so the user won't be surprised - (#84665). - -Fri Jul 26 16:34:34 2002 Shivram U - - * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable), - (gdk_pixbuf_get_from_image), (rgbconvert), (convert_real_slow): - Check if depth of the source is not equal to the depth of the colormap - passed. (#75597) - -2002-07-25 Matthias Clasen - - * gdk/gdkrgb.c (gdk_rgb_select_conv): Use gdk_rgb_convert_4, - not gdk_rgb_convert_8 for depth 4, bpp 8, PseudoColor visuals. - (#88697) - -Thu Jul 25 14:14:46 2002 Owen Taylor - - * gtk/gtkmenushell.c: When a menubar is up, use F10 to cycle - menubars, not Control-Tab (#87159, Calum Benson. Patch from - Padraig O'Briain.) - - * gtk/gtkmenubar.c: When cycling menu bars, cancel - after the last instead of wrapping around. - -Thu Jul 25 11:57:57 2002 Owen Taylor - - [ Patch from Padraig O'Briain, #87904 ] - - * gtk/gtkwidget.c (gtk_widget_class_init): Cleanup - - use G_SIGNAL_RUN_LAST not GTK_RUN_LAST when using - g_signal new. - - * gtk/gtktogglebutton.c (gtk_toggle_button_mnemonic_activate): - Always focus the widget, even when we are activating - as well. - -2002-07-24 Havoc Pennington - - * gtk/gtktextview.c: Apply patch from Gustavo - Giraldez for bug #78513 - -Wed Jul 24 16:43:49 2002 Owen Taylor - - * gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use - GTK_RC_FILES, since it causes problems with what KDE (etc.) - does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987) - -2002-07-16 Federico Mena Quintero - - * gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case. - Fixes #79463. - -2002-07-16 Sven Neumann - - * gdk/gdk.c - * gdk/gdkinternals.h - * gdk/win32/gdkmain-win32.c - * gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in - _gdk_windowing_init() so that the backend has a chance to process - the command-line arguments (GTK+-DirectFB needs this). - -2002-07-10 jacob berkman - - * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the - menu item so old apps work properly - -Wed Jul 10 14:27:14 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c gtk/gtkcolorsel.c - gtk/gtkdialog.c gtk/gtktextbtree.c: Fix some cases - where signal connection IDs where being assigned to - guint rather than gulong. (part of #87281, Shivram U) - -Fri Jul 5 20:18:23 2002 Owen Taylor - - * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c - gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter - to _gtk_menu_item_select_first() to allow us to choose - whether we want to select the first item predictably - or to select the first sensitive item. Fixes problem - with insensitive menu items and keynav. (#85796, - reported by Bill Haneman and others.) - -Fri Jul 5 02:50:24 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning. - (gtk_tree_view_search_iter): fix warning, #85884 - - * gtk/gtktreestore.c (gtk_tree_store_get_flags): change return - value to GtkTreeModelFlags to fix compiler warning, #85883 - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change - return value to GtkTreeModelFlags to fix compiler warning, #85882 - - * gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler - warning, #85881 - -Fri Jul 5 12:51:39 2002 Kristian Rietveld - - Merge from HEAD. - - * gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after - sorting. - -2002-07-02 Padraig O'Briain - - * gtk/gtksocket.c (gtk_socket_hierarchy_changed): - Use hyphen instead of underscore in signal names in calls to - g_signal_connect_swapped (Fixes bug #86339) - -Tue Jul 2 00:33:26 2002 Jonathan Blandford - - * gtk/gtktreeview.c (validate_visible_area): only validate the - visible area if we've ever been requisitioned. - -Mon Jul 1 17:04:09 2002 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_real_set_value): sync up - white space/variable names to match tree_store equiv. - - * gtk/gtktreestore.c (gtk_tree_store_real_set_value): sort if we - set the value. - -Mon Jul 01 17:19:00 2002 Bill Haneman - - * contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c - (xlib_window_is_viewable): - Fixed failure of assertion when drawable is root window. - -Thu Jun 20 19:41:09 2002 Owen Taylor - - * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/*.c gtk/*.c - tests/*.c: Renames: - - gdk_get_default_display => gdk_display_get_default - gdk_get_default_screen => gdk_screen_get_default - gdk_open_display => gdk_display_open - -Thu Jun 20 16:49:00 2002 Owen Taylor - - * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c - gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c - gdk/win32/gdkdisplay-win32.c: Add a singleton object that - we can use to get notification when displays - appear / disappear or the default display changes. - - gdk_set_default_display() => gdk_display_manager_set_default_display() - gdk_list_displays() => gdk_display_manager_list_displays(). - (#85696) - - * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler - generation. - - * gdk/gdkintl.h: Add this. - - * gtk/gtkmain.c: Add gtk_parse_args() that initializes - GTK+ without opening a display. - - * gtk/gtkmain.c: Set things up so if a module - exports gtk_module_init() and gtk_module_display_init(), - then we treat it as multihead aware, otherwise, - we only initialize it after the default display is set. - -Thu Jun 20 15:53:21 2002 Owen Taylor - - Patch from Erwann Chenede. - - * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkprivate-x11.h: - Introduce a yes/no/unknown GdkTristate, use it - in a couple of places. (#79962) - - * gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.h: Make - gravity_works per-display. (#79963) - -Thu Jun 20 15:36:40 2002 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_owner_set): Get - the owner from the display if !NULL. Otherwise, warn for - multihead. (#85680) - -Thu Jun 20 15:17:14 2002 Owen Taylor - - * gtk/gtkstyle.[ch]: Get rid of gtk_style_get_font_for_display(), - make gtk_style_get_font() warn for multihead if called - on an unattached style. (#80277) - - * gtk/gtktext.c: Remove use of gtk_style_get_font_for_display(); - this makes gtktext not multihead safe, but it doesn't matter; - it's ENABLE_BROKEN anyways. - - * gtk/gtkmain.c gtk/gtkdebug.h: Add GTK_NOTE(MULTIHEAD,[]) - -Thu Jun 20 14:51:30 2002 Owen Taylor - - * gtk/gtksettings.c (gtk_settings_notify): Only - change the double click time if the screen for - the notification is screen 0 of the display. - (#77978) - - * gdk/gdkevents.c (gdk_display_set_double_click_time): Fix - half-done rename. - -Thu Jun 20 12:16:00 2002 Owen Taylor - - * gtk/gtkinvisible.c (gtk_invisible_set_screen): Add - notification for screen property. (#80280) - -Wed Jun 19 19:30:45 2002 Owen Taylor - - * gtk/gtkrc.c: Keep a global list of strings and - RC files to reparse, make gtk_rc_parse_string(), - gtk_rc_parse() add to the list, and parse the - string or file in _all_ contexts. - - * gtk/gtkrc.c (gtk_rc_reparse_all): Reparse all - contexts, not just the default context. - -Tue Jun 18 19:38:08 2002 Owen Taylor - - * gdk/x11/gdkinput.c (_gdk_init_input_core): Set the - display. - - * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix - missing check for mv_resize == NULL. - -Tue Jun 18 19:30:25 2002 Owen Taylor - - * gtk/gtktreeview.c: Typo fix. - -Tue Jun 18 19:11:51 2002 Owen Taylor - - * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h - gdk/gdkinternals.h gdk/win32/gdkevents-win32.c - gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c - gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h: - Make the core pointer object per-display. (#85698) - - * gtk/gtkdnd.c gtk/gtktreeview.c: Adapt to above change. - -2002-06-18 Yanko Kaneti - - * configure.in: (ALL_LINGUAS) Added Bulgarian (bg). - -Tue Jun 18 14:41:48 2002 Owen Taylor - - * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c - gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace - gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). - (#85671) - - * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c - gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c - gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c - gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c: - Adapt to above change. - -Tue Jun 18 12:04:10 2002 Owen Taylor - - * gdk/gdk.c (gdk_init_check): Change handling - of gdk_intialized(), so that gdk_parse_args(), - gdk_init_check() sequence works. - -Tue Jun 18 11:46:33 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add - a gboolean create argument, so we don't create the - structure unless we actually emulate move-resize - drags. - -Sat Jun 15 23:53:03 2002 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_set_filename): - Actually use the UTF-8 filename, so we actually - fix #77948. - - * tests/testgtk.c: Remember the directory as a - test of gtk_file_selection_set_filename(). - -Sat Jun 15 23:05:19 2002 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_set_filename): - Fix backwards asssertion. (#85434) - -Sat Jun 15 16:10:00 2002 James M. Cape - - * gtk/gtktexttag.c (gtk_text_tag_set_property): - Notify about "background-full-height-set", not - "bg_full_height_set". (#83336) - -Fri Jun 14 15:41:50 2002 Jonathan Blandford - - * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes - didn't remove itself correctly. Thanks to Dave Camp for the fix. - -Fri Jun 14 15:09:11 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_set_adjustments): - disconnect_by_func instead of disconnect_by_data. Someone else - could use the same data as us. - - * gtk/gtktreeview.c (do_validate_rows): update the adjustment - immediately after we update the size. Fixes some scroll_to bugs. - (validate_visible_area): ditto - -Fri Jun 14 10:31:59 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): - Ignore state change events for windows that aren't - our toplevels. (#84482, Thomas Leonard) - -Fri Jun 14 10:00:29 2002 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_update_idle): Add - missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). - (Report of non-thread-safety from Nicholas Allen) - - * gtk/gtkmain.c (rewrite_events_translate): Fix sign - problem with coordinate translation. (Fix from - Robin Lu, #85229) - -Thu Jun 13 19:41:56 2002 Owen Taylor - - * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c - gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c - gtk/gtkwidget.c: Fix type names for GtkIconSet, - GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter, - GtkTextAttributes, GtkTreePath, GtkTreeIter, - GtkRequisition, which were all registered as GtkType*. - (#84634, James Henstridge; patch from Jonathan Blandford.) - -Thu Jun 13 18:48:14 2002 Owen Taylor - - * gdk/x11/gdkcolor-x11.c: Make work - gdk_colormap_sync() work for DirectColor visuals - as well. Fill in the ->colors array in - gdk_screen_get_system_colormap () for DirectColor visuals. - (#81954, Based on a patch from shivaram.upadhyayula@wipro.com) - -Thu Jun 13 17:50:36 2002 Owen Taylor - - * gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete - CUA cut/copy/paste bindings. (#79078) - - * gtk/gtktextview.c gtk/gtkentry.c: Make BackSpace - a synonym for for Backspace. (#80302, Jeff Waugh) - -Thu Jun 13 15:02:49 2002 Owen Taylor - - * gdk/x11/gdkdnd-x11.c: Ignore all client events that - were sent to a window that we don't know about or - to a foreign window. (#81543, Young-Ho, Cha) - -Thu Jun 13 12:24:09 2002 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_set_filename): - Fix so that the encoding of the filename is handled - properly in the case of non-UTF-8 filesystems; - document the encoding. (#77948, Sebastian Ritau) - - * gtk/gtkfilesel.c (filenames_drag_get): Remove - debug printf. Fix UTF-8 / filename encoding - confusion. - -2002-06-13 Christian Rose - - * Makefile.am (EXTRA_DIST): Remove po/README.tools, po/desk.pl - and po/update.pl. - -Thu Jun 13 12:01:36 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return - a positive status unless there is a text target in - the drag. (#83386, Thomas Leonard.) - -Thu Jun 13 11:36:37 2002 Owen Taylor - - * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save - the initial grab time, use that when changing the - pointer. (#83052, help from Dave Camp tracking it down.) - -Thu Jun 13 16:42:40 2002 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, - not just the leafs (pointed out by Josh Parsons) - -2002-06-12 Havoc Pennington - - * configure.in: check that pango has Xft2 support, instead of - checking whether Xft2 exists. - -Wed Jun 12 17:46:53 2002 Owen Taylor - - * gtk/gtkentry.c (blink_cb): Add an informative - g_warning() when the entry has lost a focus-out-event. - (#78305, Michel Selten) - -Wed Jun 12 17:31:15 2002 Owen Taylor - - * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item): - Check to see if the menu item is selectable before - setting menu_shell->active_menu_item. This hopefully - will keep gail from getting confused. - (#84115, Remus Draica) - -Wed Jun 12 17:13:13 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_move_resize): Fix bug - where if CENTER_ON_PARENT was set, but there was - no parent, GDK_HINT_POS would be set, resulting - in a dialog at 0,0. (#83479, Havoc Pennington) - -Wed Jun 12 16:34:13 2002 Owen Taylor - - * gtk/gtkmenubar.c: When fetching the menubars for - the window for F10 handling, only add viewable menu - bars. (Apparently, people sometimes put menu bars - in notebook pages!) (Tim Janik, #82627) - -Wed Jun 12 16:21:38 2002 Owen Taylor - - * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate): - Clamp size of child to at least 1x1. (#82431, - Boris Shingarov.) - -Wed Jun 12 15:43:38 2002 Owen Taylor - - * gtk/gtkspinbutton.c (gtk_spin_button_snap): Handle - 0 increment, to fix division-by-zero problem. - (#82816, George Lebl.) - -Wed Jun 12 15:38:01 2002 Owen Taylor - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - Fix memory leak. (Patch from Matthias Clasen, #84926) - - * gtk/gtkrange.c (gtk_range_init): Initialize - mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage) - -Wed Jun 12 15:08:37 2002 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow - NULL for widget path or class path as documented. - (#83150, Sergey Kuzminov) - -Wed Jun 12 15:02:30 2002 Owen Taylor - - * gtk/gtktextutil.c: Fix ZWJ => ZWN typo. - (#83092, Tino Meinen) - -Wed Jun 12 14:41:43 2002 Owen Taylor - - * configure.in: Fix some problems with case statements - for checking for omitted deps. (#84202, Jacob Berkman.) - - * configure.in: Remove USE_X11R6_XIM checks since we - no longer use them. - -Wed Jun 12 14:18:45 2002 Owen Taylor - - * gtk/gtkimcontextsimple.c: Add compose sequences - of dead_acute + c/C => C WITH CEDDILLA. - (Nano Golveia, #83492) - -2002-06-10 Hans Breuer - - * gdk/makefile.msc : added gdkdisplay and gdkscreen - - * gdk/win32/gdkdisplay-win32.c (gdk_open_display) : - need to gdk_screen_set_default_colormap(). Also un-static - some exported gdk_display_*() functions - - * gdk/win32/gdkdrawable-win32.c : added "gdkscreen.h" - - * gdk/win32/gdkscreen-win32.c : implement - gdk_screen_get_number, fixed typo, added rewuired headers - - [merge from 2.0.x branch, should we really manifest - GtkPlug as being an X11 only thing this way? See #58541] - * gtk/gtkwindow.c (gtk_window_show): Conditionalize - GTK_IS_PLUG() check on GDK_WINDOWING_X11. (Problem - reported by Sven Neumann) - -2002-06-10 Tor Lillqvist - - [ merge from stable ] - - * gdk/win32/gdkmain-win32.c (gdk_screen_get_width_mm, - gdk_screen_get_height_mm): Use the "logical dpi" to calculate - (pseudo) physical sizes. Similar to the use of "logical dpi" in - Pango as suggested by Joaquin Cuenca Abela. - - Two fixes by Florent Duguet: - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Correct - semantics for setting cursor to NULL (should use cursor of parent - window). - - * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Plug memory - leak. - -2002-06-10 Naba Kumar - - * configure.in: Added hi in ALL_LINGUAS - -2002-06-09 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_btree_unref): Don't leak - child_anchor_table. (#84425) - - * gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't leak - one_display_cache. (#84424) - -Fri Jun 7 23:11:42 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): Fix sizing - bug. - - * docs/reference/gtk/tmpl/gtkbutton.sgml: Remove ^M's. - -2002-06-07 Matthias Clasen - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_clear_attributes_by_info): New function, - split off from gtk_tree_view_column_clear_attributes. - (gtk_tree_view_column_clear_attributes): - (gtk_tree_view_column_finalize): Call the new function, avoid - recalculating the info from the renderer. (#84413) - - * gtk/gtktextview.c (text_view_child_new_anchored): Initialize - vc->type in order to avoid a later UMR. (#84415) - -2002-06-07 Mark McLoughlin - - * gtk/gtkwindow.c: (gtk_window_compute_configure_request): use - the RootWindow of this screen for gdk_window_get_pointer. - -2002-06-06 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Set - hardware_keycode for KeyRelease events. (#84305) - -Thu May 23 15:44:30 2002 Owen Taylor - - * gtk/gtktextview.c (changed_handler): Don't redraw - when the area is completely above the visible area. - -Fri May 17 17:27:21 2002 Owen Taylor - - * gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus" - property indicating whether a widget is the focus - widget within the toplevel. - - * gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus" - properties to indicate (separately) the idea of - being the part of the toplevel with the input focus - and being the active widget. (Needed for full XEMBED - compliance.) - - * gtk/gtkplug.c gtk/gtksocket.c: Update to work - in terms of is_active/has_toplevel_focus, and thus - handle the active/focused XEMBED distinction - correctly. - - * gtk/gtkplug.c (gtk_plug_realize): Remove - FOCUS_CHANGE_MASK, since we don't need it. - -Fri May 17 18:07:34 2002 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_add_window): Send - XEMBED_EMBEDDED_NOTIFY. - - * gtk/gtksocket.c: Assume windows without _XEMBED_INFO - property want to be mapped, for better - current-Qt compatibility. - -Thu Jun 6 17:27:01 2002 Kristian Rietveld - - * gtk/gtkrbtree.c (_gtk_rbtree_reorder): don't leak the GArray - (figured out by Matthias Clasen, fixes #82026). - -Wed Jun 5 18:34:47 2002 Owen Taylor - - Changes multihead reorganizing code for win32 support, - mostly from a patch by Hans Breuer. - - * gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c - gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c - gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c - gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c - gdk/gdkscreen.c gdk/x11/gdkmain-x11.c - gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c - gdk/x11/gdkpango-x11.c gdk/gdkselection.c - gdk/x11/gdkselection-x11.c gdk/gdkwindow.c - gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c: - Move port-independent singlehead wrapper functions into - port-independent part of GDK. (#80009) - - * gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c - gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c - gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c - gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c - gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c: - Turn singlehead functions into "multihead" functions that ignore - their GdkDisplay or GdkScreen arguments. - - * gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c - gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h: - Misc multihead-compatibility changes. - - * gtk/gtk.def gdk/gdk.def: Update for multihead functions. - - * gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c - gdk/x11/gdkvisual-x11.c: Remove the screen fields - from the public parts of the colormap/visual structures, add accessors - instead. - - * gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c - gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c - gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c - gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen - for colormaps, visuals; move the fields into the private - structures for the x11 backend. - - * gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch] - gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c: - Remove virtualization of screen and display functions. - (#79990, patch from Erwann Chenede) - - * gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c - gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}: - New files containing stub implementations of Display, - Screen functions. - - * gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch] - gdk/x11/gdkx.h: Clean up function exports and what - headers they are in. (#79954) - - * gdk/x11/gdkx.h: Fix macro that was referring to a non-existant - screen->screen_num. (In the patch for #79972, Erwann Chenede) - - * gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h - gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer() - to use window hooks. (#79972, patch partly from Erwann Chenede) - - * gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix - some warnings. - -Wed Jun 5 23:29:41 2002 Kristian Rietveld - - Related bugs: #76252, #76396, #80866. - - * gtk/gtktreeselection.[ch]: added - gtk_tree_selection_get_selected_rows(), - added gtk_tree_selection_count_selected_rows(), - renamed gtk_tree_selection_real_select_range() to - gtk_tree_selection_real_modify_range(), and added mode parameter, - added gtk_tree_selection_unselect_range(). - -Tue Jun 4 17:39:34 2002 Owen Taylor - - * configure.in: If we have xft .pc file, use that - when checking for Xft/Xrender. (Still need to separate - out HAVE_XFT, HAVE_RENDER) - - * configure.in: Make sure Xft cflags come before X cflags. - -Tue Jun 4 21:13:57 2002 Kristian Rietveld - - * gtk/gtktreeview.[ch]: added gtk_tree_view_expand_to_path. - -Tue Jun 4 19:24:41 2002 Kristian Rietveld - - Discussed in #76249. - - * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean, - added gtk_list_store_iter_is_valid. - - * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean, - added gtk_tree_store_iter_is_valid. - - * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore - and treestore sources, added gtk_tree_model_sort_iter_is_valid. - -Tue Jun 4 19:18:20 2002 Kristian Rietveld - - * gtk/gtktreemodel.[ch]: add gtk_tree_model_get_string_from_iter - (#74667). - -2002-06-04 Daniel Elstner - - [ merge from stable ] - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - Really fix #83796: Revert jrb's last patch, and move the second - if-clause into the fist one's else-branch. This is also what - the other cell renderers do. - -2002-06-03 Federico Mena Quintero - - * gdk/gdkpixbuf-drawable.c (rgb565msb): Fix the MSB -> MSB case. - Fixes #79190. - -Sat Jun 1 10:43:28 2002 Jonathan Blandford - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - add missing flag, #83796 - -2002-05-30 Michael Meeks - - * gtk/gtkmenu.c (gtk_menu_popup): destroy the transfer - window if the grab fails so we don't get events on this - window after the menu is finalized with a duff GtkWidget - pointer: #82366 - -Mon May 28 13:28:10 Shivram U - - * gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner - got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process, - and so return NULL. - -2002-05-24 Michael Meeks - - * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. - -Thu May 30 07:59:38 2002 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_style_set): add - gtk_menu_style_set(). fixes #79345 - -2002-05-29 Dave Camp - - * gtk/gtkdnd.c (gtk_drag_end): Disconnect from keypress events. - -2002-05-28 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_move): Markup fixes - - * gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes. - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs - for Docbook XML. - -2002-05-27 Daniel Elstner - - [ merge from stable ] - - Fixes for #83190 - - * gtk/gtktreedatalist.h (_GtkTreeDataList::data): Add missing - fields to anonymous union: glong, gulong, gint64 and guint64. - This is an internal header file, so it should not affect ABI - or API compatibility. - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value): - Implement missing support for glong, gulong, gint64 and guint64 - fundamental types. Use data.v_uint instead of data.v_int for - G_TYPE_FLAGS, as GValue does. - (_gtk_tree_data_list_value_to_node): ditto - (_gtk_tree_data_list_node_copy): Add case labels for missing - fundamental types, and reorder them to match the other functions. - (gtk_tree_data_list_compare_func): Implement comparison for - glong, gulong, gint64 and guint64. Use g_value_get_enum() - for G_TYPE_ENUM and g_value_get_flags() for G_TYPE_FLAGS, rather - than accessing them as gint/guint. The G_VALUE_HOLDS() check - probably won't like this. - -2002-05-24 Dave Camp - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): - Built an iter directly instead of using - gtk_tree_model_sort_elt_get_path(), since that returns a path for - the child model. - -2002-05-24 Dave Camp - - * gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len - rather than level->array->len > indices[i] in the bounds check. - -2002-05-23 Tor Lillqvist - - * gtk-zip.sh.in: Use correct path to the loaders and immodules - directories (GTK_BINARY_VERSION, not GTK_VERSION). - -Wed May 22 16:12:38 2002 Owen Taylor - - * configure.in: Require autoconf-2.52 explicitely, - since otherwise Debian will process it with 2.13 (ugh!). - -Wed May 22 12:29:20 2002 Jonathan Blandford - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): remove - GTK_RESIZE_QUEUE setting. - -Tue May 21 16:46:15 2002 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c (gdk_internal_connection_watch): - Fix missing dereference. (HideToshi Tajima) - -Mon May 20 15:02:21 2002 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c: Patch from HideToshi Tajima - to handle Xlib internal connections. (#76681) - -Mon May 20 12:59:14 2002 Owen Taylor - - * gtk/gtktooltips.c: Set the private LEAVE_PENDING - flag to fix problem where with menu items with - submenus, tooltips were getting stuck. (Effectively - disables tooltips for menu items with submenus.) - (Bug #75961, Soeren Sandmann) - - * tests/testgtk.c: Set a tooltip on a menu item - with a submenu. - -Mon May 20 11:47:59 2002 Owen Taylor - - * gtk/gtkplug.c: Undo an accidental revert of - fixes of May 16. (Caught by Padraig O'Briain) - - * gtk/gtkctree.c (cell_size_request): Fix bug where - size request for text cells was being overwritten. - (#82264, Graham Swallow.) - -2002-05-18 Matthias Clasen - - * configure.in: Check for endianness. Sorry about REBUILD_PNGS... - -Fri May 17 16:05:34 2002 Owen Taylor - - * configure.in (REBUILD_PNGS): Re-add REBUILD_PNGS - definition that got accidentally removed. - -Fri May 17 14:40:24 2002 Owen Taylor - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): - Protect against reentrancy problems by emitting - ::preedit_changed at the end, fixing input context - leak. (Yao Zhang) - - * modules/input/gtkimcontextxim.c (status_window_free): - Patch from Federico Mena Quintero to fix problem where - references to IMContextXIM were kept around after - module was unloaded. (#77008) - - * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize - proxy window. - -Fri May 17 13:56:23 2002 Owen Taylor - - * gtk/gtkplug.c (gtk_plug_filter_func): Fix a missing - unref in the local/passive case. (#82067, Michael - Meeks) - - * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Fix - reference leak on the plug window. - - * tests/testsocket.c (add_child): Fix memory leak. - - * gtk/gtkdnd.c (gtk_drag_dest_site_destroy): Unref - the proxy window. - -Thu May 16 19:49:24 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_configure_event): Only - optimize out the full configure handling if we got - a gratuitous configure event(configure_request_count == 0) - and the size didn't change. - - * gtk/gtkwindow.c (gtk_window_move_resize): Use - g_message(), not g_print() for debug spew.b - - * gtk/gtkwindow.c (gtk_window_real_set_focus): Ref - the old and new focus widgets for the scope of - the function. - - * gtk/gtksocket.c gtkplug.c: Remove various #if 0'd - bits of old code. - - Thu May 16 18:47:29 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_show): Disable the - focus-some-widget code for GtkPlug descendants. - - * gtk/gtkplug.c (gtk_plug_focus_event): Eat - focus-in/out events since they can be generated - by keyboard grabs, but are spurious for an embeddded - widget. (#79196, Padraig O'Briain) - - * gtk/gtksocket.c (gtk_socket_size_request): Only - pay attention to the minimum size hints, and changes - to that ... ignore the default size. - - * gtk/gtksocket.c (gtk_socket_send_configure_event): - Pass in root-window relative coordinates as per - the ICCCM. - - * gtk/gtksocket.c (gtk_socket_size_allocate): Send - as many synthetic configures as necessary to make - up for ConfigureRequest events we got. (#78799, - Dave Camp.) - -Thu May 16 23:59:56 2002 Kristian Rietveld - - Merged from gtk-2-0. - - * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): set the prev - of the next node correctly, so we don't corrupt the list and cause - bad things. (fixes #71374) - -Thu May 16 17:29:08 2002 Jonathan Blandford - - * gtk/gtkrbtree.c (_gtk_rbtree_remove): include missing #ifdef G_ENABLE_DEBUG - -Thu May 16 15:44:15 2002 Owen Taylor - - * demos/gtk-demo/editable_cells.c (cell_edited): Fix - typo in earlier patch. - -Tue May 7 15:50:51 2002 Owen Taylor - - * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): - Don't filter control-shift+[non-hex]. - (#80252, reported by Nalin Dahyabhai) - -Thu May 16 14:51:14 2002 Owen Taylor - - Fixes for #78258 - - * gtk/gtkrbtree.c demos/gtk-demo/editable-cells.c: - Fix some 64-bit warning problems. (Patch from Matthias - Clasen.) - - * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew_helper): Surround - a bunch of debug code with G_ENABLE_DEBUG. - - * configure.in demos/gtk-demo/main.c: Replace - #ifndef G_OS_WIN32 with proper #ifdef HAVE_FLOCKFILE. - -Thu May 16 12:56:38 2002 Owen Taylor - - * gtk/gtkrange.c (gtk_range_calc_layout): Fix a missed - check for division by zero. (#77820, Gareth Pearce) - -Thu May 16 12:50:13 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb): - gdk_event_put() copies the event and setting name, - so we don't have to strdup() it here. (Fix from - Michael Meeks, #81953) - -2002-05-16 Ettore Perazzoli - - * gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or - up, and some of the widget area is empty, don't fill it in with - GTK_SHADOW_IN rectangles that make it looks strange. Fixes - #72695. - -Wed May 15 18:15:45 2002 Owen Taylor - - * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Don't - call gdk_pointer_grab() to change the cursor if we've - already ungrabbed on button release / escape. - (#80420, Dave Camp) - -Wed May 15 17:12:50 2002 Owen Taylor - - * gtk/gtktooltips.c: Special case menu items to - pop down on motion. (#75961) - - * tests/testgtk.c (create_item_factory): Add tooltips - to the File menu. - - * gtk/gtkentry.c (update_im_cursor_location): Fix - cursor locations passed to the IM context. - (#80027, Yao Zhang) - -Wed May 15 16:52:57 2002 Owen Taylor - - * gtk/gtkfontsel.c: Update from contents of size entry - on focus out. (#76493, Lauris Kaplinski) - - * gtk/gtkclipboard.c (selection_get_cb): Fix backwads - info/time arguments. (#80226) - -Wed May 15 11:13:19 2002 Owen Taylor - - * configure.in gtk/stock-icons/Makefile.am: If not - building libpng, don't rebuild gtkstockpixbufs.h - (#81819, Bill Janssen) - -2002-05-15 jacob berkman - - * demos/gtk-demo/Makefile.am (demos.h): just run perl on the - geninclude script manually - -Tue May 14 19:53:15 2002 Owen Taylor - - * demos/gtk-demo/geninclude.pl.in configure.in: - Subsitute in @PERL@ instead of hardcoded - /usr/bin/perl. (#78355, Gareth Pearce. Fix based - on patch from Matthias Clasen) - - * gdk/Makefile.am: Patch from Daniel Elstner to use glib-mkenums - instead of makeenums.pl. - - * gdk/{x11,linux-fb,win32}/Makefile.am: Hack to - get gdkenumtypes.h built first. - -Tue May 14 18:41:58 2002 Owen Taylor - - * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): - Remove the result file on error. (#79929, David - Highley) - - * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu): - If the menu is currently active, cancel it before - setting the new menu. (#79162, Jonathan Blandford.) - -Tue May 14 18:13:10 2002 Owen Taylor - - * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix - prepending at the start of the list. (#56349, - Thomas Leonard.) - - * gtk/gtksignal.h (gtk_signal_disconnect_by_func): Add - explicit casts to GSignalMatchType for C++ compatibility. - (#77601) - -Tue May 14 18:02:37 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_realize): Fix - frame_right/frame_top screwup. (Detlef Reichl, - #78111) - - * gtk/Makefile.am (install-data-local): Use - $(INSTALL_DATA) not $(INSTALL) when installing - theme files. (#77094, Ben Liblit) - -Tue May 14 17:30:57 2002 Owen Taylor - - * gtk/gtkctree.c gtk/gtkclist.c: Fix format of - selection data to be 8 rather than GTK_TYPE_POINTER. - (#79751, James Henstridge) - - * gtk/gtkmenu.c (gtk_menu_key_press): Call - gtk_accelerator_valid() with cleaned up - accel_key/accel_mods, not the raw values from - the event. (#80513, Havoc Pennington.) - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Remove - some dead code that set the tearoff window not - resizable and removed decorations. (#80235) - -Tue May 14 16:44:09 2002 Owen Taylor - - * gtk/gtklabel.c (gtk_label_ensure_layout): Set - the width of the layout to the actual wrap width - (our requisition) not the width we set when calculating - the width. This results in the lines being justified - within the correct area. (#79157, Anders Carlsson) - - * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected - registered parameter types of "accel_activate" and - "accel_changed" signals. (Patch from Murray Cumming, #78798) - - * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch - binary-version and type to correspond to the - current ordering in _gtk_get_module_path. - (#78746, Sergey Kuzminov) - - * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs - pointing to the GTK_PATH documentation. - - * gtk/Makefile.am (uninstall-local): Delete - key themes as well. (#81286, Kristian Rietveld.) - -Tue May 14 15:40:49 2002 Owen Taylor - - * gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap): - Add a sanity g_return_if_fail() check for the depths - for the window and pixmap. (#79191, Shivaram Upadhyayula) - -Tue May 14 15:09:33 2002 Owen Taylor - - * gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define - for XkbKeySymEntry to make up for OSF broken - XKB extension. (#77819, Gareth Pearce) - - * gtk/gtklayout.c: Clamp the upper values in response - to ::size-allocate if necessary. (#81290, Christophe Saout) - - * gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle - combo being destroyed before idle fires. - (#81396, Timo Sirainen) - -Tue May 14 11:21:19 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): - Discard configure events from SubstructureNotify. - (#81760, Rich Burridge) - - * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not - strcmp(). - - * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp - width of child allocation to >= 1. (Fixes warnings from - #77639, Martin Schulze) - -2002-05-14 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_class_install_child_property): - (gtk_container_class_find_child_property): - (gtk_container_class_list_child_properties): - * gtk/gtkwidget.c (gtk_widget_class_find_style_property): - (gtk_widget_class_list_style_properties): Change parameter names - to match the header file and the documentation. - -2002-05-13 Vitaly Tishkov - - * gtk/gtkfilesel.c - * gtk/gtkplug.c - * gtk/gtkwidget.c - * gtk/gtkwindow.c - a few typos in docs were fixed - -2002-05-10 Daniel Elstner - - [ merge from stable ] - - * gtk/gtktreemodel.c: #define INITIALIZE_TREE_ITER(), - which zeroes out all GtkTreeIter fields. (#81380) - (gtk_tree_model_get_iter): Use it. - (gtk_tree_model_iter_children): ditto - (gtk_tree_model_iter_nth_child): ditto - (gtk_tree_model_iter_parent): ditto - -2002-05-08 Michael Natterer - - * configure.in: fixed yesterdays fix for cross compiling: simply - check the variable "cross_compiling" which gets set by autoconf. - -Wed May 8 16:14:49 2002 Soeren Sandmann - - * gtk/gtktreeview.c - (gtk_tree_view_init): set_redraw_on_allocate (FALSE); - (gtk_tree_view_size_allocate): invalidate last column if width - changed. - (gtk_tree_view_bin_expose): skip over cells that aren't in - event->region - -Tue May 7 18:36:03 2002 Owen Taylor - - * gdk/x11/xsettings-client.c (xsettings_client_process_event): - Check for selection_atom, not property name atom. - -2002-05-07 Michael Natterer - - * configure.in: added a new conditional CROSS_COMPILING which - indicates ($build != $host). If it is set, look for - gdk-pixbuf-csource in PATH. Error out if it was not found. - - * gtk/stock-icons/Makefile.am: use the gdk-pixbuf-csource found at - configure time if CROSS_COMPILING is set, use the one which was - just built otherwise. - -2002-05-07 Anders Carlsson - - * gdk/x11/xsettings-client.c (xsettings_client_process_event): - Only process manager events with the correct atom. - -2002-05-07 Matthias Clasen - - Fix for #79248: - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): - (gdk_window_set_events): Always select for property notify for - maintaining window state. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Only propagate - property notifys if they were selected by gdk_window_set_events. - -Mon May 6 23:48:14 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_map_expanded_rows_helper): call - func on current node before the child nodes. - -Mon May 6 23:17:42 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow): - unset user_data before destroying the window. (fixes #80065). - -Mon May 6 12:17:14 2002 Owen Taylor - - * configure.in: Fix versioning to avoid changing the - soname! - - [ merge from stable ] - - * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641) - - * m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when - compiling "what went wrong" test case. (#79329) - - * m4macros/gtk-2.0.m4: Remove reference to editing - pkg-config script. (From Jim Gettys) - -02-05-05 Matthias Clasen - - * configure.in: Bump version to 2.1.0, binary, interface age 0. - - * gtk/gtkcontainer.c (gtk_container_class_list_child_properties): - (gtk_container_class_find_child_property): Document. - - * gtk/gtkwidget.c: - * gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties - and gtk_widget_class_find_child_property. (#80652) - -Sun May 5 15:56:50 2002 Owen Taylor - - * configure.in: Fix problem with == in test argument. - (#80732, Hidetoshi Tajima) - -Sun May 5 16:42:32 2002 Kristian Rietveld - - The "big treeview focus patch". Fixes several issues and adds some - goodies. Related bugs: #73676, #73734, #78660. - - * gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell - - * gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell - if applicable, - (gtk_tree_view_bin_expose): set_cell_data before iterating columns, - add support for row-spanning focus rectangles, - (gtk_tree_view_has_special_cell): new function, - (gtk_tree_view_move_cursor_left_right): add support for multiple - focusable cells in one column, - (gtk_tree_view_set_cursor): call _set_cursor_on_cell now, - (gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended - with focus_cell parameter, - (gtk_tree_view_search_iter): removed unused column variable, - (gtk_tree_view_start_editing): add neighbor size code to allow - for multiple editable cells in one column. - - * gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add - in_editing_mode field, - (gtk_tree_view_column_get_edited_cell): new function, removed - _get_editable_cell, - (_gtk_tree_view_column_get_cell_at_pos): new function, - (gtk_tree_view_column_pack_end): s/g_new/g_new0/ ..., - (gtk_tree_view_column_cell_process_action): loads of changes to get - it right and to allow for multiple special cells, etc, - (gtk_tree_view_column_cell_first): new function, - (gtk_tree_view_column_cell_last): ditto, - (gtk_tree_view_column_cell_next): ditto, - (gtk_tree_view_column_cell_prev): ditto, - (gtk_tree_view_column_cell_focus): add left and right parameters, - allow for multiple special cells, - (gtk_tree_view_column_cell_is_visible): add assertion, - (gtk_tree_view_column_focus_cell): new function, - (gtk_tree_view_column_stop_editing): unset in_editing_mode flag, - (_gtk_tree_view_column_get_neighbor_sizes): iterate through cells - correctly - - * gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell - - * gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add - _gtk_tree_view_column_get_cell_at_pos, add new parameters to - _gtk_tree_view_column_cell_focus. - - * tests/testtreeedit.c: add some cells in order to test new code. - -Sun May 5 02:22:59 2002 Soeren Sandmann - - * tests/test-images/*: image files for testing pixbuf loaders - * tests/pixbuf-*.c: the old test-loaders.c split into four - different programs - * tests/Makefile.am: add new pixbuf tests - -2002-05-03 Erwann Chenede - - - * gdk/x11/gdkvisual-x11.c: - * gdk/x11/gdkwindow-x11.c: - * gdk/x11/gdkdisplay-x11.[hc] (gdk_open_display) : - Rationalized the screen initialization process, - changed the GdkDisplayX11 screen list to an array. - - * gdk/x11/gdkscreen-x11.[hc] (_gdk_x11_screen_new) : - Moved the xinerama init functions to gdkdisplay-x11.c to - this file, create a single function to fully initialize - a GdkScreen. #79981 - -2002-05-03 Erwann Chenede - - - * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): - changed the order of the arguments. #80278 - -2002-05-02 Matthias Clasen - - * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. - - * gdk/x11/gdkdisplay-x11.c (gdk_open_display): - * gdk/x11/gdkkeys-x11.c (gdk_keymap_get_default): - * gdk/x11/gdkfont-x11.c (gdk_fontset_load_for_display): - * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): - * gdk/x11/gdkfont-x11.c (gdk_font_load_for_display): - * gdk/x11/gdkscreen-x11.c (gdk_x11_screen_get_xscreen): - * gdk/x11/gdkscreen-x11.c (gdk_x11_screen_get_screen_number): - * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): - * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): Document. - - * gtk/gtknotebook.c (gtk_notebook_set_show_border): Typo fix. - - * gtk/gtkwidget.c (gtk_widget_class_init): Correct the - composite_child blurb. - - * gtk/gtknotebook.c (gtk_notebook_set_show_border): Clarify docs. (#73093) - -2002-05-02 Erwann Chenede - - - * gdk/gdkscreen.c (gdk_screen_get_monitor_at_point): - * gdk/gdkscreen.h : - * gdk/x11/gdkscreen-x11.c : - make gdk_screen_get_monitor_at_point cross platform instead - of backend dependant. #80480 - * tests/testxinerama.c (main): - changed the warning message. - -2002-05-02 Erwann Chenede - - - * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window): - removed unneeded ref. #79977 - * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen): - * gdk/x11/gdkdisplay-x11.c (check_*_xinerama): - removed gdk_screen_use_virtual_screen function and - use_virtual_screen member variable from GdkScreenX11. #79957 - -2002-05-02 Matthias Clasen - - * gtk/gtktable.c (gtk_table_class_init): - * gtk/gtknotebook.c (gtk_notebook_class_init): - * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for - child properties. (#57143) - -2002-05-01 Erwann Chenede - - - * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): - * x11/gdkpixmap-x11.c: - removed that function as gdk_drawable_get_screen - does the job. #79964 - -2002-05-01 Erwann Chenede - - - * gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window): - remove virtualization and made it cross platform. #79961 - * gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama): - fixed initialization bugs. - * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry): - * tests/testxinerama.c: - * gtk/gtkwindow.c (gtk_window_compute_configure_request): - * gtk/gtkmenu.c (gtk_menu_position): - take a GdkRectangle argument instead of returning - a GdkRectangle * and propagated the changes. #79974 - -2002-05-01 Anders Carlsson - - * gdk/x11/gdkevents-x11.c - (gdk_x11_screen_supports_net_wm_hint): Use the same - key when setting and getting NetWmSupportedAtoms. - -Tue Apr 30 18:42:25 2002 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_set_screen): Make it - work, even if the window is already realized or - mapped. - - * tests/testgtk.c: Erwann's multihead changes, slightly - dumbed down. (Removed logic for pulling windows onto - the current screen, people can click twice on the demo - to destroy and create again.) - - * tests/prop-editor.c: Set the screen on the property - editor if the edited object is a widget. - -2002-05-01 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_class_install_child_property): - Improve a warning. - - * gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken - and redundant doc comment. - -2002-04-30 Matthias Clasen - - * gtk/gtkprogress.c (gtk_progress_class_init): - * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): - * gtk/gtktexttag.c (gtk_text_tag_class_init): - * gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs, - incorporating stuff from the doc templates. - - * gtk/gtkplug.c (gtk_plug_construct): Fix docs. - -Tue Apr 30 15:59:53 2002 Owen Taylor - - * tests/testmultiscreen.c: Multi-screen test case - form multihead branch with a few cleanups. (Get rid - of use of g_object_connect()) - - * tests/testmultidisplay.c: Multi-display test case - from multihead branch with a few improvements. - (Allow the other display name to be passed on - the command line, use a GtkDialog to get more attractive - spacing.) - -Tue Apr 30 14:23:43 2002 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c (gdk_open_display): fix - problem with finalizing non-initialized fully display - when failing to open display. - - * tests/testxinerama.c: Xinerama test case from - multihead branch, with some cleanups. (Start even - if there is only one monitor, for one.) - -Tue Apr 30 14:15:14 2002 Owen Taylor - - * gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes. - -2002-04-30 Erwann Chenede - - - * gdk/x11/gdkimage-x11.c : rationalized multihead code - in _gdk_x11_copy_to_image. fixes #80256 and ungrab problems. - -2002-04-30 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_real_free_line_data): use - gtk_text_layout_invalidate_cache instead of cut-and-paste - (gtk_text_layout_real_invalidate): always invalidate cache, even - if the line has no stored line data. #78573 - - * gtk/gtktextview.c (gtk_text_view_get_iter_location): add call to - gtk_text_view_ensure_layout, #77388 - (gtk_text_view_get_iter_at_location): ditto - (gtk_text_view_get_line_yrange): ditto - (gtk_text_view_get_line_at_y): ditto - -2002-04-30 Havoc Pennington - - * gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): assign - something to "prev" so that removing tag info succeeds. - Part of #77301 - - * gtk/gtktextbtree.c (_gtk_text_btree_unref): reorder so that it - unrefs the tag table first, so that the btree is in a consistent - state when we're removing tags from it. - -Tue Apr 30 12:28:27 2002 Owen Taylor - - * gdk/gdkdisplay.c gdk/gdkpango.c gdk/gdkpixmap.c - gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c - gdk/x11/gdkpixmap-x11.c gdk/x11/gdkx.h: Doc fixes. - -Tue Apr 30 11:37:09 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c: Make multihead-safe; - use a different IM context per display. - - * configure.in acconfig.h: Add Xinerama checks from - multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA. - - * gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA. - -2002-04-29 Alex Larsson - - * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): - Use tmp also if foreground is set. - -Mon Apr 29 18:28:00 2002 Owen Taylor - - Integrate Erwann Chenede's multihead changes for the gtk/ directory. - - * gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(), - make internals multihead aware. - - * gtk/gtkcolorsel.[ch]: Add - gtk_color_selection_set_change_palette_with_screen_hook () [ugh!] - make up for non-multihead safety of - gtk_color_selection_set_change_palette_hook() - - * gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add - gtk_{invisible,menu,window}_set_screen(); add "screen" properties - for GtkWindow and GtkMenu. - - * gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(), - gtk_plug_new_for_display(). Multihead fixes. - - * gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(), - make internals multihead aware. - - * gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get - rid of now-useless gtk_settings_constructor(). - - * gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix - check/radio button indicators bitmap handling to be multihead - safe. - - * gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(), - gtk_widget_get_display(), gtk_widget_get_clipboard(), - gtk_widget_get_root_window(). - - * gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c - gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c - gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c - gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c - gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c - gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c - gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c - gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c: - misc mechanical multihead-safety fixes. - - * gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for - the dropper, look up the color palette only at realization time, - other multihead fixes. - - * gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when - unrealizing. - - * gtk/gtkentry.c: Only claim ownership of the primary selection - when realized, misc multihead fixes. - - * gtk/gtkfontsel.c: Only fill in fonts when attached to a screen, - fix gtk_font_selection_get_font() for multihead. - - * gtk/gtkgc.c: make the depth => drawable hash per-screen. - - * gtk/gtkinvisible.c: Add a constructor that realizes the - widget, so we get a realized widget with g_object_new() as - well gtk_invisible_new() as before. - - * gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap - variables. - - * gtk/gtktextdisplay.c: Add warnings if stipple bitmaps - are used on the wrong screen. - - * gtk/gtktoolbar.c: Make handling of GtkSettings-based layout - read properties and connect to settings when the screen is changed, - rather than on init/finalize. - - * gtk/gtkwindow.c: Fix icon handing to be multihead safe ... - default icon pixmaps/mask are only shared between windows on the - same screen. Misc multihead fixes. - -Sat Apr 27 13:49:53 2002 Owen Taylor - - * gtk/gtkclipboard.c (gtk_clipboard_get_for_display): - Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE. - -2002-04-29 Alex Larsson - - * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get): - Fix silly bug, noticed by Sven Neumann. - -Sun Apr 28 22:43:55 2002 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix - so that you can set a new sort func. - -2002-04-27 Anders Carlsson - - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display): - Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since - we pass in a GdkDisplay * in the macro. - -2002-04-26 Anders Carlsson - - * gdk/gdkdisplay.c: (gdk_set_default_display): - Call _gdk_windowing_set_default_display. - - * gdk/gdkinternals.h: - * gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display): - New function that sets gdk_display to the default display. - Fixes #79965 - -Fri Apr 26 21:58:16 2002 Kristian Rietveld - - * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): if the - deleted node was "below" this path, then do not unref all nodes - between the deleted parent and the node this rowref is pointing too - (see added comment in gtk_tree_row_ref_deleted_callback), - (fixes #77977) - -2002-04-26 Sven Neumann - - * tests/testtreecolumns.c - * tests/testtreeview.c: quit the main loop when the window is - destroyed. Removed compiler warnings about wrong format in printf(). - -Fri Apr 26 21:46:42 2002 Kristian Rietveld - - This commit fixes binary compatibility, which I broke with my - recent cell renderer commits :/. - - * gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer - - * gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the - cell_background field and use this as object data. This way we keep - the field private and dont break ABI. - - * gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and - stock_detail from _GtkCellRendererPixbuf - - * gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo - with above mentioned fields. And update everything. - -Fri Apr 26 21:42:02 2002 Kristian Rietveld - - * gdk/x11/gdkdrawable-x11.h: include X11/Xlib.h, fixes the build - -Fri Apr 26 10:34:15 2002 Owen Taylor - - * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): Add - missing gdkscreen/display-x11.h files. - -Thu Apr 25 16:51:40 2002 Owen Taylor - - Start of integration of Erwann Chenede's multihead work - from the gtk-multihead branch. - - * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] - gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch] - New classes representing a set of screens with attached - input devices and a single contiguous area, respectively. - - * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c: - gdk/x11/gdkprivate-x11.h: Make the initialization interface - simple _gdk_windowing_init() and do the rest in - gdk_open_display() calls. - - * gdk/gdk.[ch]: Add gdk_parse_args() which can be used - to do the display-independent part of initialization - instead of gdk_init_[check]. - - * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h - gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h: - Add multihead variants (_for_display(), for_screen()) of functions - getting information specific to a particular screen screen or - display. - - * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions - like gdk_rgb_get_colormap() that used to get/list global - objects. - - * gdk/x11/gdkx.h: Add functions for converting GdkScreen - and GdkDisplay into the X equivalents. - - * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords() - not in the headers and unused. - - * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}: - Remove gxid support ... has not been tested for a long time... - "xfree" support is more portable to non XFree86. - - * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be - used to turn off functions that are inherently non-multihead - safe. - - * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions - are used in non-multihead-safe ways. - - * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK - multihead safe. - -Thu Apr 25 23:49:01 2002 Kristian Rietveld - - Fixes #74206. - - * gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell), - (_gtk_tree_view_column_get_editable_cell): remove a space which made - the code look ugly - (_gtk_tree_view_column_count_special_cells): new function, - (gtk_tree_view_column_cell_process_action): if there's only one - activatable cell, the whole column will activate that renderer. - -Thu Apr 25 23:36:55 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search - dialog not scroll horizontally (prolly fixes #74806). - -2002-04-25 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible - division by zero. (#77820) - -Thu Apr 25 20:24:37 2002 Soeren Sandmann - - * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's - requisition.height, not allocation.height, as width of submenu - indicator. (#75948) - -Thu Apr 25 00:26:34 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func): - resort if we're already in 'unsorted' state, and update the docs - -2002-04-24 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc - comment markers on freeform comments. - -Wed Apr 24 17:34:16 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_stop_editing): temporarily set - ->priv->edited_column to NULL. Pleas read the comment in this - function for an explanation (fixes #79632). - -2002-04-23 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords): - (gtk_text_view_window_to_buffer_coords): Improve docs. (#62359) - -Tue Apr 23 18:35:34 2002 Kristian Rietveld - - This commit adds a cell_background property for cell renderers. With - this property you can make your TreeView look incredibly ugly. - - * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and - cell_background_set properties, - (set_cell_bg_color): new function, - (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property): - support for new properties, - (gtk_cell_renderer_render): render a background when set. - - * gtk/gtkcellrenderer.h: add cell_background_set and cell_background - fields. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - when rendering, pass in just the background_area of the cell and not - the background_area of the entire column. - -2002-04-22 Anders Carlsson - - * gtk/gtkentry.c (gtk_entry_drag_data_get): Use - gtk_entry_get_public_chars. - Fixes #79532 (Reported by Ovidiu Gheorghioiu). - -Mon Apr 22 19:24:29 2002 Kristian Rietveld - - This commit adds stock icon functionality to GtkCellRendererPixbuf - which is totally cool. - - * gtk/gtkcellrendererpixbuf.h: add some fields - - * gtk/gtkcellrendererpixbuf.c: add finalize method, add some - properties, add some stock icon rendering code. - - * demos/gtk-demo/stock_browser.c: modified to use the stock - icon stuff in the cellrendererpixbuf instead of its own stock icon - rendering code. - -2002-04-21 Alexander Larsson - - * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): - Save x and y in window_private. - - * gtk/gtkplug.c (_gtk_plug_add_to_socket): - Move plug window outside the visible area to avoid flashing until - the first size_allocate. - -2002-04-21 Matthias Clasen - - * gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose - description of match_start and match_end return values. (#57929) - - * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): - * gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc - comment markers on freeform comments. - - * gtk/gtktreemodelsort.c - (gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404) - -Sat Apr 20 21:15:11 2002 Soeren Sandmann - - * gtk/gtkmenuitem.c: add "selected_shadow_type" style property - -Sat Apr 20 12:07:14 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_modify_color_component): Accept - NULL for color to mean "unmodify" - - * gtk/gtkwidget.c (gtk_widget_modify_font): Accept NULL for - font_desc to mean "unmodify". - -Sat Apr 20 16:49:26 2002 Kristian Rietveld - - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new): replace GDK_IS_WINDOW - with GDK_IS_DRAWABLE in the assert, only check GDK_WINDOW_DESTROYED - if window is a GdkWindow, - (gdk_bitmap_create_from_data): ditto, - (gdk_pixmap_create_from_data): ditto - -Fri Apr 19 23:38:16 2002 Kristian Rietveld - - Fixes #50310. - - * gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize - - * gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize, - and add a small note about that function, - (gtk_tree_view_button_press): check for double click and - "not having an autosize" column before autosizing the column, - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width): - call _gtk_tree_view_column_autosize to update autosized column width - (gtk_tree_view_column_set_max_width): ditto - -2002-04-20 Matthias Clasen - - * TODO, TODO.xml, README.nanox, docs/Changes-1.2.txt, - docs/Changes-2.0.txt, docs/gtk-config.txt, docs/debugging.txt, - gdk/TODO: Remove some files whose content is either obsolete or - has been moved elsewhere. - - * Makefile.am, gtk+.spec.in, docs/Makefile.am: Remove references - to these files. - -Fri Apr 19 21:31:04 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): cancel editing - if tree_view->priv->edited_column != NULL (fixes #76066) - -Fri Apr 19 21:06:39 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): subtract - TREE_VIEW_HEADER_HEIGHT from allocation->height to get the real - size for the tree (fixes #72729), - (gtk_tree_view_real_start_editing): correct cell_area->y for - scrolling due to gtk_tree_view_real_set_cursor (fixes #75687) - -Fri Apr 19 16:30:09 2002 Kristian Rietveld - - * gtk/gtktreeprivate.h, gtk/gtktreeview.c: rename - last_single_clicked{,_2} to last_button_press{,_2}, as the latter - is a more sane name. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): use ->priv->anchor - instead of ->priv->cursor, check for the anchor at another place, as - you can go in edit mode without having an anchor. - -2002-04-18 Matthias Clasen - - * gtk/gtkitemfactory.c: - * gtk/gtkiconfactory.c: - * gtk/gtkwidget.c: - * gtk/gtkstyle.c: - * gtk/gtkrc.c: - * gtk/gtktreeviewcolumn.c: - * gtk/gtkdialog.c: - * gtk/gtktreemodel.c: s///g throughout the - documentation to bring the produced Docbook closer to XML. - -2002-04-18 Tor Lillqvist - - * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) - * gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo, - thanks to David Sterba for noticing. - - * gtk/gtkmain.h - * gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In - GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on - Win32 whether compiled with -fnative-struct or not. Unfortunately - this wan't noticed until now. So, from now on, check some other - struct, too, for which the use of -fnative-struct still - matters. GtkBox is one such. - -Thu Apr 18 00:23:31 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c - (gtk_tree_model_sort_convert_path_to_child_path): so this function - was completely broken. Fix it and improve readability. - -2002-04-17 Anders Carlsson - - * tests/testtreeedit.c (button_press_event): Add a small - test case. - -Wed Apr 17 00:21:36 2002 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_insert_before): fix docs - -Tue Apr 16 17:28:21 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): check - ->priv->cursor and ->priv->anchor rowrefs before removing - node->children from the rbtree. Also check the - ->priv->last_single_clicked and ->priv->last_single_clicked_2 rowrefs - (I think I really need to rename those two someday). - -Tue Apr 16 07:53:49 2002 Tim Janik - - * gtk/gtkmenu.c (gtk_menu_key_press): don't install/change accelerators - from locked accel groups. - - * gtk/gtkwidget.c (_gtk_widget_get_accel_path): export whether the - accel path is from a locked accel group. - -Mon Apr 15 15:41:56 2002 Jonathan Blandford - - * gtk/gtkcontainer.c (gtk_container_focus): include internal - children when doing focus. - (gtk_container_get_all_children): new static function to include - internal children when making a list of them. - -Sun Apr 14 16:56:59 2002 Kristian Rietveld - - * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and - _gtk_tree_view_column_get_neighbor_sizes - - * gtk/gtktreeviewcolumn.c (struct _GtkTreeViewColumnCellInfo): add - real_width field, - (_gtk_tree_view_column_get_editable_cell): implement, - (gtk_tree_view_column_cell_process_action): fill info->real_width - (_gtk_tree_view_column_get_neighbor_sizes): implement - - * gtk/gtktreeview.c (gtk_tree_view_button_press): make the "editable - widget" show up with the same size as the actual cell, so it doesnt - cover the complete column if there are any other cells in that column. - -2002-04-14 Abigail Brady - - * gtk/gtkfilesel.c: Fix typo in message. - -2002-04-13 Havoc Pennington - - * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): create - the target pixbuf AFTER filling in width/height, so that - passing in -1 for width/height will work. - -Sat Apr 13 22:49:45 2002 Kristian Rietveld - - Fixes #75510 - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): make this - function work correctly and more sane - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): remove - node->children from rbtree before emitting GtkTreeSelection::changed - -Sat Apr 13 17:15:12 2002 Kristian Rietveld - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init): dont set - the mode to GTK_CELL_RENDERER_MODE_EDITABLE by default, - (gtk_cell_renderer_text_class_init): for some reason our default for - editable was TRUE, of course this is FALSE. - (gtk_cell_renderer_text_set_property): update mode when editable - has been changed. - -2002-04-12 jacob berkman - - * gdk/x11/xsettings-client.c (fetch_card8): fix cut-n-paste bug - which breaks big-endian machines (fixes #73585) - -2002-04-12 Havoc Pennington - - * gtk/gtknotebook.c (gtk_notebook_real_remove): relocate the - remove_weak_pointer to just before we free the page, to be sure - it doesn't get re-added. #75282 - -Fri Apr 12 18:32:46 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): add - clamp_node argument - (toplevel): update usages of gtk_tree_view_real_set_cursor, - (gtk_tree_view_focus_to_cursor): don't let - gtk_tree_view_real_set_cursor clamp the node, so you won't get - unexpected scrolling - -2002-04-11 Michael Meeks - - * gtk/gtklabel.c - (gtk_label_parse_uline, gtk_label_set_text), - (gtk_label_set_text_with_mnemonic): add freeze / thaws - to stop deluge of 'notify' signals. - -Sat Apr 6 06:57:00 2002 Owen Taylor - - * gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export - private _gtk_menu_shell_activate() to encapsulate - cut-and-paste code. - - * gtk/gtkmenubar.c: Select the first item on the menu bar - for F10 rather than acting as if the user pressed F - to select the file manager. - -Tue Apr 9 19:01:28 2002 Owen Taylor - - Fix problems with HandleBox and focusing - #78232 - - * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Handle - GtkHandleBox / GnomeDock style window heirarchy / widget - heirarchy disconnects. :-(. - - * gtk/gtkcontainer.c: Handle failures from - gtk_widget_translate_coordinates (Focusing is not right, but at - least it doesn't go into infinite loops.) - -Tue Apr 9 18:34:58 2002 Owen Taylor - - * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always - set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy, - even if we aren't currently in a resize container... we need - this to properly handle size changes to widgets that are - being moved from one heirarchy to another. (#78226) - -Tue Apr 9 21:41:24 2002 Kristian Rietveld - - Fixes #78110 - - * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): - add override_browse_mode argument and implement, - (gtk_tree_selection_unselect_path): always unselect the path, - (toplevel): update uses of _gtk_tree_selection_internal_select_node - - * gtk/gtktreeview.c: update uses of - _gtk_tree_selection_internal_select_node - - * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node): - update prototype - -Tue Apr 9 21:39:44 2002 Kristian Rietveld - - Fixes #77862 - - * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell): - new function - - * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event - on first click when cell isn't editable - -Tue Apr 9 21:37:31 2002 Kristian Rietveld - - * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some - types which were missing and useful to use (fixes #77870) - -2002-04-09 Anders Carlsson - - * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. - -2002-04-08 Manish Singh - - * tests/testgtk.c: really revert testgtk.c - -Mon Apr 8 20:28:54 2002 Kristian Rietveld - - * gtk/gtktreeselection.c (gtk_tree_selection_select_path), - (gtk_tree_selection_unselect_path), - (gtk_tree_selection_path_is_selected): check the return value of - _gtk_tree_view_find_node and return if it's TRUE. This makes those - functions work somewhat saner on non-expanded trees. - -Fri Apr 5 18:28:56 2002 Kristian Rietveld - - * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free - anchor row reference after unselecting the selection (fixes #76272) - -Fri Apr 5 18:27:48 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return - when we don't have to open all children (fixes #75736) - -Fri Apr 5 18:24:24 2002 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref - cellrenderer after clearing the attributes of the renderer (fixes - #75592) - -Fri Apr 5 05:55:14 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement. - (gtk_tree_view_move_cursor_up_down): check for focus - (gtk_tree_view_move_cursor_page_up_down): ditto - (gtk_tree_view_move_cursor_left_right): ditto - (gtk_tree_view_move_cursor_start_end): ditto - (gtk_tree_view_real_select_all): ditto - (gtk_tree_view_real_unselect_all): ditto - (gtk_tree_view_real_select_cursor_row): ditto - (gtk_tree_view_real_toggle_cursor_row): ditto - (gtk_tree_view_real_expand_collapse_cursor_row): ditto - (gtk_tree_view_real_select_cursor_parent): ditto - (gtk_tree_view_real_start_interactive_search): ditto - - * gtk/gtktreeviewcolumn.c: grab focus - -2002-04-05 Alex Larsson - - * gdk/linux-fb/gdkkeyboard-fb.c (write_string): - Fix undefined variable typo. - Patch from Simon Floery - -Fri Apr 5 01:06:15 2002 Tim Janik - - * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault - upon NULL return from gdk_utf8_to_string_target(). - - * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix - return value comment to mention NULL returns upon EMFILE. - -Thu Apr 4 22:35:42 2002 Soeren Sandmann - - * tests/testgtk.c (menu_items): revert accidentally commited - change to testgtk.c - -Thu Apr 4 22:28:08 2002 Soeren Sandmann - - * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu - titles being clipped (#75948) - -2002-04-04 Tor Lillqvist - - * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature. - - (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per - pixel) static visuals (fixes #858). - - (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix - same bugs in both functions: Odd start coordinate (partial byte) - was not handled correctly. Also a partial final byte was not - handled correctly. - - (gdk_rgb_do_colormaps): Use G_N_ELEMENTS. - (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2 - colorcube only for depths 3 and 4. For static color, use it for - depths 3..7 like before. (Depth 5..7 pseudocolor probably never - occurs on X11. It doesn't normally occur on Win32 either, but - there is experimental code in gdkvisual-win32.c to let the user - restrict the size of palette used.) - (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag - is set. - (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6 - and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel - static color. - -Tue Apr 2 11:10:13 2002 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the - sort_func correctly, 77030 - -Tue Apr 2 13:44:27 2002 Tim Janik - - * configure.in: update version to 2.0.2, binary age 2, interface - age 2. - - * NEWS: updates for 2.0.2. - -Mon Apr 1 22:20:24 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add - check for y > tree_view->priv->height (fixes #76974) - -Mon Apr 1 22:19:39 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get - the stamp changes right this time - -Mon Apr 1 22:13:24 2002 Kristian Rietveld - - * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only - disconnect the ref callbacks when model == proxy (Thanks go to - Manuel Clos Crespo for the remote debugging) - -Sat Mar 30 15:19:24 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c: revert the latest stamp increment changes, - as it broke stuff for trees - -Fri Mar 29 18:15:12 2002 Owen Taylor - - * ===== Released 2.0.1 ====== - -Fri Mar 29 18:09:18 2002 Owen Taylor - - * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call - gdk_keyval_to_lower() on the key passed in, since we - lowercase all other key vals passed in, so querying - keyvals will otherwise fail if the caller used - an uppercase accelerators (#76899, Vitaly Tishkov) - -Fri Mar 29 17:41:21 2002 Owen Taylor - - * gtk/gtkmain.c (load_modules): Fix screwup in handling - of module path that was resulting in freed memory being - accessed when both GTK_MODULES and a theme were set. - (#76902, Johan Dahlin) - -Fri Mar 29 17:57:36 2002 Owen Taylor - - * gtk/gtkiconfactory.c (get_default_icons): Fix wrong - stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov) - -2002-03-29 Hans Breuer - - * gtk/gtkmain.h : fix typo in gtk_init_check macro, which - caused crashes if argc != 0 - - * gtk/stock-icons/makefile.msc : added new icons - -Fri Mar 29 20:17:35 2002 Kristian Rietveld - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): - remove call to gtk_tree_model_sort_increment_stamp - (gtk_tree_model_sort_sort_level): always increment the stamp - -Fri Mar 29 00:19:41 2002 Owen Taylor - - * NEWS: Updates - - * configure.in: Version 2.0.1, binary, interface age 1. - - * configure.in (GDK_PIXBUF_VERSION): Up required versions - of dependencies. - - * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am: - Add stock_add/remove_16. - -Thu Mar 28 18:38:30 2002 Owen Taylor - - * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): - Don't show the window unless the widget is mapped. - (#76742, Dennis Björklund, Soeren Sandmann) - -2002-03-29 Hans Breuer - - Fixed dashed line issues (#74441) to an IMO reasonable extend. - That is: use PS_USERSTYLE on WinNT (the next GDI limit appears - to be with lines width > 50); Render horizontal and vertical - dashed lines on Win9x 'by hand'. Dotted selection rectangles - and Dia look nice ... - - * gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and - num_pen_dashes to _GdkGCWin32 - * gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove - the guesses from dashes to windoze line styles. - (predraw_set_forground) : always ExtCreatePen (PS_SOLID) on - Win9x, which does not support PS_USERSTYLE. - * gdk/win32/gdkdrawable-win32.c : new functions render_line_ - . Use them if not running on NT in - gdk_win32_draw_ () - - * gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL - for keyval == 0 to avoid to have zeros in all menu entries - without accelerator. - -2002-03-29 Jakub Steiner - - * gtk/stock-icons/stock_add_24.png: - * gtk/stock-icons/stock_add_16.png: - * gtk/stock-icons/stock_remove_24.png: - * gtk/stock-icons/stock_remove_16.png: use a simple '+' and '-', - works better. the old box was too clumsy - -Thu Mar 28 21:11:04 2002 Tim Janik - - * gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file - names, alert the user with g_message() instead of g_warning() and - put out the actual conversion error. - -2002-03-28 Dave Camp - - * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install - the handler if the widget isn't realized. - -2002-03-28 Jakub Steiner - - * gtk/stock-icons/stock_font*: - * gtk/stock-icons/stock_align*: - * gtk/stock-icons/stock_text*: better solution to the dark theme - problem. Also looks more pretty IMHO - -2002-03-27 Matthias Clasen - - * configure.in: Try to find libpng via pkg-config first, - since libpng-1.2.2 will come with a .pc file. - -Wed Mar 27 11:10:39 2002 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_real_remove): Set - page->last_focus_child to NULL as well as removing the - weak reference, to deal with reentrancy in set_focus_child(). - (#76634, Dennis Björklund) - -2002-03-27 Murray Cumming - - * gtk/gtktreeview.c: Corrected registered return type of - "move-cursor" signal. Had to add a marshaller to - gtk/gtkmarshalers.list. - -Tue Mar 26 14:46:50 2002 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_popup): Shuffle the ordering around - some more (position before realizing) fixing problems with - arrows popping up at the wrong time (#73386), hopefully not - introducing other problems. (Reported by Ettore Perrazoli, others) - -2002-03-26 Dave Camp - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path - after calling gtk_tree_view_row_activated() rather than before. - -2002-03-25 Sven Neumann - - * gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's - font_description before assigning a new one. - (gtk_rc_parse_stock): always unref the created icon_set. #76289 - -2002-03-25 Mark McLoughlin - - * gtk/gtkbindings.c: (gtk_binding_entry_add_signal), - kill code duplicated in gtk_binding_entry_add_signall. - -Sun Mar 24 10:32:38 2002 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653 - - * gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix - a warning - - * gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab - when we emit row_activated so that listeners of this signal can - grab the mouse, #75629 - -2002-03-23 Havoc Pennington - - * gtk/gtktextlayout.c (gtk_text_layout_real_invalidate): - invalidate the line containing start, even if the [start,end) - range is empty (just invalidate [start,end], essentially). - Partially fixes #72374 - -2002-03-23 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in - progress, patch from db@zigo.dhs.org, #74620 - -2002-03-23 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend - selection for pageup/pagedown and ctrl+pageup/pagedown if - shift is held. more of #53934 - -2002-03-23 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect - layout handlers earlier in the function, to avoid possible - reentrancy screwups - (gtk_text_view_invalidate): Don't install idle handlers if - layout == NULL, otherwise we get problems during finalization - since clearing the buffer invalidates and puts the idle handlers - back after we destroy the layout. #74660 - (gtk_text_view_ensure_layout): Install the validation handlers - right after creating the layout. - - * gtk/gtktexttagtable.c (foreach_unref): call - _gtk_text_buffer_notify_will_remove_tag(), #75126 - -2002-03-22 Havoc Pennington - - * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory - text to the error message about missing charsets, and use - g_printerr() not g_warning() since this is typically not a - programming error (we do not export any API to ask whether - a font set will have missing charsets so apps realistically can't - do anything other than try the gdk_fontset_load()) - - * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE - if the text view isn't editable and the user presses Return, - so default buttons and such can be activated, #74937 - - * gtk/gtktextbuffer.c (paste_from_buffer): don't insert - if the insertion point is not editable and the paste - is interactive, #74125 - - * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0 - debug spew - - * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous - cut/copied data right before replacing it, when we know we are - going to replace it. Fixes #74049 - -2002-03-22 Richard Hult - - * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x - value was assigned to both x and y. - -Fri Mar 22 11:29:11 2002 Owen Taylor - - Partial fix for problem where keypad keys acted - as shift-arrows in an entry rather than arrows (#74327) - - * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup - results by number of modifiers in the entry. Fixes - problem where if a key matched both modified and unmodified - key bindings ... e.g., the distinguishing key binding - was consumed, then it was random which was used. - - * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns): - Catch the case where there are multiple entries from the - same bindingset (with different modifiers), and use only - the first entry, which, with the change in _gtk_key_hash_lookup() - will be the preferred value. - -Fri Mar 22 10:56:19 2002 Owen Taylor - - * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory - leak. (#74400, Morten Welinder.) - - * gtk/gtkaccelmap.c: Properly handle short returns from - write() calls. (Handling EINTR isn't enough... that only - handles the case where you were interrupted before you - wrote a single byte.) - - * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c: - Robustify against short returns from write() calls. - -Fri Mar 22 10:12:10 2002 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_paint): Change - G_BREAKPOINT() to g_assert_not_reached (). - (#75865, Ashok Venkiteswaran) - -2002-03-22 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear - all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441, - but that is just the special case of one-pixel wide one-pixel - on-off dotted lines. To fully implement generic X11 style dashed - lines a major rewrite would be needed. - -2002-03-21 Matthias Clasen - - * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo - fix. (Vitaly Tishkov, #75726) - -Thu Mar 21 10:04:05 2002 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove - some left over debugging code with a G_BREAKPOINT() - in it. - -Wed Mar 20 19:33:31 2002 Owen Taylor - - * gtk/gtkcalendar.c (gtk_calendar_main_button): When - changing months when the user clicks on a prev-month - or next-month day, focus and select the new day. - Ignore double clicks on prev-month, next-month days. - (Based on suggestions from Andras Salamon, #74173) - - * gtk/gtkcalendar.c: Implement the focused/unfocused - selected color change. - -2002-03-20 Alex Larsson - - Patches from Carlo E. Prelz - Now gtkfb at least compiles and mostly works. The keyboard - stuff needs more loving. - - * gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval, - xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode): - At least set the out parameters for these calls. - - * gdk/linux-fb/gdkmain-fb.c: - (gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only): - Implement new functions. - -Wed Mar 20 19:00:03 2002 Owen Taylor - - * gtk/gtkentry.c (gtk_entry_set_text): Short-circuit - the text to the exact same thing, so we don't - unexpectedly change the selection or cursor position. - (#74290, John Ellis.) - -Thu Mar 21 00:05:14 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_get_background_area), - (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593) - -Wed Mar 20 17:11:51 2002 Owen Taylor - - * gtk/gtkrc.c: Patch from Richard Hestilow to fix - gtk-font-name changes for widgets that get the actual - default style. (#73709) - -Wed Mar 20 22:59:23 2002 Kristian Rietveld - - * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height() - - * gtk/gtktreeprivate.h: add fixed_height_check field - - * gtk/gtktreeview.c (gtk_tree_view_init): initialize - scroll_sync_timer and fixed_height_check - (do_validate_rows): add fixed_height_check. If all validated rows - in the first cycle have the same height, then we set that height for - the entire tree. This is some sort of 'fake' optimization, but helps - a lot for the common case. We keep validating the entire tree in - the background though. - (gtk_tree_view_set_model): reset fixed_height_check - -Wed Mar 20 16:36:08 2002 Owen Taylor - - * gtk/*.c: Patch from Erwann Chenede, #73900 fixing - a lot of warnings with Forte CC, mostly implicit - casts between void * and function pointers. - - * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's - state field is not a GdkModifierType. (Also #73900) - -Wed Mar 20 12:35:22 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_grab_default): Remove - leftover notification of has-default. (#75508, Jacob - Berkman.) - -Wed Mar 20 12:27:07 2002 Owen Taylor - - * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow - arrow keys as accelerators, as long as some modifier - is pressed. (#75495) - - * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix - incorrect example in the docs. - -Wed Mar 20 12:06:30 2002 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_child_visible): - Fix segfault when widget->parent is NULL. - (#75615, Alexey A. Malyshev) - -Wed Mar 20 11:32:07 2002 Owen Taylor - - * gtk/gtkentry.c: Improve test to prevent infinite - loop. (#74952, Thomas Leonard) - - * gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus): - Fix warning when toplevel menu shell isn't a menu - bar. (Thomas Leonard, #75602) - -Wed Mar 20 11:00:59 2002 Owen Taylor - - * configure.in: Use $PKG_CONFIG, not pkg-config. - (LEE Sau Dan, #75572) - -Wed Mar 20 10:55:56 2002 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment - of time in scroll events. (Sven Neumann, #75574) - -2002-03-20 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use - gdk_window_get_toplevel(), as it is the top-level windows that are - registered for DND. - - * gdk/win32/gdkwin32.h: Don't include gdkinternals.h. - -2002-03-19 jacob berkman - - * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when - gtk_combo_func() returns NULL (bug #75464) - -2002-03-18 jacob berkman - - * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the - correct min/max values for the ratio property (fixes #75331) - -Mon Mar 18 11:55:03 2002 Owen Taylor - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): - Patch from Yao Zhang fixing reference count leak. - - * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable), - not if (!entry->editable). - -Mon Mar 18 11:09:17 2002 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect): - Fix backwards conditional. (#75019, Dan Winship.) - -Sun Mar 17 01:11:16 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_request): use - do_validate_rows instead of validate_rows_handler (fix by - Mike Pieper, #74126) - -Sat Mar 16 23:54:56 2002 Kristian Rietveld - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just - return when we have an input_only window (fix by Owen Taylor) - - * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add - scroll_sync_timer - - * gtk/gtktreeview.c (install_scroll_sync_handler): new function, - (scroll_sync_handler): ditto, - (gtk_tree_view_unrealize): take scroll_sync_timer into account - (gtk_tree_view_row_deleted): install scroll_sync_timer instead of - calling top_row_to_dy/dy_to_top_row directly - -- this greatly speeds up clearing the model (#73199) - - * gtk/gtktreemodelsort.c - (gtk_tree_model_sort_convert_path_to_child_path): fix up this function, - for some reason I really screwed it up (fixes #74663) - -2002-03-16 Sven Neumann - - * configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS) - (GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0 - so that the libs work correctly in a threaded environment. - -Fri Mar 15 12:51:42 2002 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_new_with_attributes): add example to docs, - as people are seeming to have trouble with this function. - -2002-03-15 Tor Lillqvist - - * configure.in: Set MATH_LIB to empty also on Win32. - -Fri Mar 15 15:37:01 2002 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (convert_to_format): - Fix byte shift arithmetic for big-endian. (Tracked - down with help from Tuomas Kuosmanen) - -Fri Mar 15 11:28:41 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func): - make args const, 74159 - (gtk_tree_view_insert_column_with_attributes): ditto - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_cell_process_action): remov unused variables. - -Fri Mar 15 13:31:51 2002 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active - submenu". - -2002-03-15 Padraig O'Briain - - * gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower - upper case variants if there is only a single keysym per keycode and - the key symbol has upper and lower case variants (#74512) - -Thu Mar 14 17:09:52 2002 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather - improbable reentrancy problem if a window is destroyed - while updates are being processed on another window. (Noticed - by Michael Meeks, #74708) - -2002-03-14 Vitaly Tishkov - - * gtk/gtktreemodelsort.c - typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed - - -Thu Mar 14 11:17:18 2002 Owen Taylor - - * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When - removing keys from the key hash, reinsert the right list - back into the hash. (Dave Camp, #74571) - -Wed Mar 13 17:17:40 2002 Owen Taylor - - * gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED - macro that was defined in terms of the now-gone GTK_CONNECTED - flag. (Seth Burgess, #74028) - -Wed Mar 13 17:11:10 2002 Owen Taylor - - * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset - the acceleratable_groups qdata because qdata isn't removed - on ->dispose but rather on ->finalize. (#74569, found - by Matt Wilson.) - -Tue Mar 12 23:14:23 2002 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix - cut-n-paste bug. - -Sat Mar 9 18:23:25 2002 Richard Hestilow - - * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL - filenames. - -Tue Mar 12 10:50:09 2002 Owen Taylor - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): - Fix incorrect return value, filter out returns of 0x7f for - the delete key. (#74179, Kang Jeong-He) - -Mon Mar 11 23:42:11 2002 Jonathan Blandford - - * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken - foreach function. - -2002-03-11 Matthias Clasen - - * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document - gtk_{menu_item,widget}_set_accel_path() as the recommended API. - (#69244) - -2002-03-11 James Henstridge - - * configure.in: set CCAS and CCASFLAGS to get automake 1.6 - compatibility without breaking things for people using 1.4. - -Sun Mar 10 21:04:30 2002 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the - right behavior. - -Mon Mar 11 01:25:14 2002 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with - cursor path and not with the selected iter in the 'decide to edit' - check - diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 deleted file mode 100644 index e7b2c9518c..0000000000 --- a/ChangeLog.pre-2-4 +++ /dev/null @@ -1,11857 +0,0 @@ -Tue Mar 16 13:29:58 2004 Owen Taylor - - * === Released 2.4.0 === - - * configure.in: Version 2.4.0, interface age 0; - require glib-2.4.0, pango-1.4.0. - - * configure.in: Change gtk_binary_version to 2.4.0; - there are some compatibility issues with older theme engines. - - * NEWS: Updates - - * README.in: Updates - -Tue Mar 16 13:54:07 2004 Jonathan Blandford - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Block the - ::changed handler during the ::match-selected when done by - keyboard. - -Tue Mar 16 00:56:11 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press): - Block the ::changed handler during the emission of ::match-selected. - Partial fix for #137226. - - * gtk/gtkfilechooserentry.c: Remove the no longer needed - no_pop_down flag. - -Tue Mar 16 00:20:51 2004 Matthias Clasen - - * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new_with_backend): - Fix a typo in the docs. - -2004-03-15 Tor Lillqvist - - * README.win32: Updates. - -2004-03-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (update_appearance): Only hide the - "create folder" button in OPEN mode; all the others should show it - it. - (get_paths_foreach): Handle the editable row. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder): - Force a re-get of the folder so that the new directory gets added - to its hash table of file info. - -2004-03-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (update_from_entry): In the Save - modes, set the Name entry of the file chooser if we get a - nonexistent filename from the file entry. Fixes #135911. - (gtk_file_chooser_default_set_current_name): Oops, this should - also work if we are in CREATE_FOLDER mode. - - * gtk/gtkfilesystem.c (gtk_file_path_real_copy): Use - gtk_file_path_copy(). - - * gtk/gtkfilechooserentry.c (check_completion_callback): Free the - path that we got from the model. - (completion_match_func): Use DISPLAY_NAME_COLUMN rather than a - hard-coded constant. - -Mon Mar 15 13:50:14 2004 Owen Taylor - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): - Don't leak the temporary font description. (Nils O. Selåsdal) - -Mon Mar 15 12:51:17 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (location_popup_handler): Only show - the title string in OPEN/SELECT_FOLDER mode as it's open-specific. - Put a blank title for SAVE/CREATE_FOLDER; we are in string freeze, - so we'll fix it for 2.4.1 as #137272. - - * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): calculate - space_available correctly for RTL mode. w/o this, you can't - scroll down again. Fixes #137021. - -2004-03-15 Federico Mena Quintero - - * gtk/gtkpathbar.c (gtk_path_bar_scroll_up): Queue a resize. - (gtk_path_bar_scroll_down): Likewise. - -Mon Mar 15 11:40:43 2004 Owen Taylor - - * gtk/gtkfilechooserentry.c: Store the position of the - file part and use that in check_completion_callback() - and match_selected_callback() to figure out where - to operate on the text, rather than recomputing the - information. - -Mon Mar 15 10:35:19 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): set - changing_folders to be true so we don't trigger a callback when we - remove the selection - (shortcuts_add_bookmarks): ditto - -Mon Mar 15 10:47:18 2004 Owen Taylor - - * gtk/gtkfilechooserentry.c: s/seperator/separator/. - -Mon Mar 15 09:54:36 2004 Owen Taylor - - * gtk/gtklabel.c (gtk_label_focus): Check for - Control-Tab or Control-Shift-Tab, not any Control-key - as a current event ... handles the case where a dialog - is triggered from a control accelerator better. - -Mon Mar 15 08:48:48 2004 Jonathan Blandford - - * gtk/gtkfilechooserentry.c (match_selected_callback): implement - correctly. - (completion_match_func): Allow surpressing popdowns. - (maybe_append_seperator_to_path): New function to add a separator - item to a display_name. Bad hack. - (check_completion_callback): Implement select-ahead as an idle. - (add_completion_idle): new function to handle select-ahead - (gtk_file_chooser_entry_do_insert_text): starf the select-ahead - idle. - (gtk_file_chooser_entry_focus): Override tab for completion. - (gtk_file_chooser_entry_activate): commit select_ahead when - activated. - - * gtk/gtkfilechooserdefault.c (location_popup_handler): grab the - appropriate widget for the mode. - -2004-03-15 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (gdk_gc_copy): Don't just copy the whole - GdkGCWin32 with a single assignment, that overwrites GObject's - private data (for instance ref_count). (#137012, John Ehresman) - -2004-03-15 Mark McLoughlin - - * gtk/gtkfilechooserdefault.c: remove the unused "lowest_folder" - GtkFileChooserDefault member. Leftover from my original patch - for bug #136987. - -Mon Mar 15 01:50:28 2004 Jonathan Blandford - - * gtkfilechooserentry.c: Rewritten to use the GtkEntryCompletion - API more correctly. Now pops down the dropdown well. - - * gtkfilesystem.c (gtk_file_path_get_type): New boxed type for the - FilePath. - - * test/testfilechooser.c: disable preview widget temporarily. - It's not representative of a good preview widget. - -2004-03-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_find_current_folder): - Renamed from shortcuts_unselect_all(); now selects the row that - corresponds to the current folder, if any. Fixes #135916. - - * gtk/gtkpathbar.h: Added prototypes for _gtk_path_bar_up() and - _gtk_path_bar_down(). - -2004-03-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c: Surround the - drag-outside-to-remove-bookmarks code with "#if 0" blocks; it's - too unstable right now. - -Sun Mar 14 23:36:15 2004 Owen Taylor - - * gtk/gtkfilechooserdefault.c: Implement local_only by - filtering the shortcuts and bookmarks list by - gtk_file_system_path_to_filename (file_system, path) != NULL. - (#132894) - - * gtk/gtkfilesystem.c (gtk_file_system_path_is_local): Add - a convenience function, may by interesting to push to the - file system vtable later for performance. - -2004-03-14 Federico Mena Quintero - - * gtk/gtkfilesystem.c (gtk_file_folder_get_info): Allow the path - to be NULL, so that people can ask for information about a - parent-less file system root (e.g. get_info (get_folder ("/"), NULL)). - - * gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info): Allow - the condition describe above. - - * gtk/gtkfilechooserdefault.c (get_file_info): Allow getting - information of root paths. - - * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Handle root paths correctly. - -Sun Mar 14 22:32:36 2004 Owen Taylor - - * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Mention - GtkTreeViewSearchEqualFunc return value oddity here as well. - - * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): On failure - to get a string to compare to, return TRUE (no match), not - FALSE (match). Handle %NULL string values gracefully. - Remove unused variable. (#135962, Mark McLoughlin) - -2004-03-14 Morten Welinder - - * gtk/gtkfilesystemunix.c: Kill some debug g_prints. - -Sun Mar 14 21:03:15 2004 Owen Taylor - - * gtk/gtkpathbar.[ch]: Add _gtk_path_bar_up()/ - _gtk_path_bar_down(). - - * gtk/gtkfilechooserdefault.c: Use _gtk_path_bar_up()/ - _gtk_path_bar_down() as bindings for Alt-Up - and new Alt-Down. (Partly based on a patch by - Mark McLoughlin, #136987) - -2004-03-14 Federico Mena Quintero - - Fixes #136185, patch by Morten Welinder, with some changes. - - * gtk/gtkfilechooserdefault.c (check_is_folder): New helper function. - (shortcuts_insert_path): Check the path first with check_is_folder(). - (gtk_file_chooser_default_set_current_folder): Likewise. - (gtk_file_chooser_default_add_shortcut_folder): Likewise. - (browse_widgets_create): Unref the size group. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): - Handle the case where the file exists but it is not a directory. - (IconType): Add value for ICON_UNDECIDED. - (struct stat_info_entry): New structure to hold a file's struct - stat, its MIME type and its icon type. - (struct _GtkFileFolderUnix): Added a hash of struct - stat_info_entry, and flags to remember which info types we've read - so far. - (get_icon_type): Use a helper function for the icons-from-stat - types. - (gtk_file_system_unix_render_icon): Use the cached file info. - (gtk_file_folder_unix_get_info): Put the info in the cache. - (gtk_file_system_unix_get_folder): Create the cache of file info - structures. - - * gtk/gtkfilesystem.c (gtk_file_info_set_display_name): Handle the - case where display_name is the same as the existing - info->display_name. - -Sun Mar 14 19:26:48 2004 Owen Taylor - - #136672, reported by Christian Persch; fixes based - on a patch by Soeren Sandmann. - - * gtk/gtkmenu.c: Change the handling of mixed gridded - and non-gridded menu items; the old method was causing - major performance problems even with the "avoid relayout - on destruction" hack put in recently. - - Now we first lay out the gridded items and then put the - non-gridded items into empty rows / after the gridded items. - Layout is done in a central menu_shell_ensure_layout(). Also - avoid emitting property notifications when we initially - insert or attach items. - - * gtk/gtkmenushell.[ch] gtk/gtkmenu.c: Stop setting the - unused menu_shell->menu_flag, and document it as unused - in the header. - - * tests/testactions.c: Add a test of creating/removing - lots of items. - - * test/testgtk.c: Add some more cruft to the menu test. - -Mon Mar 15 02:36:07 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): Add - some signal docs. - -Sun Mar 14 15:38:39 2004 Jonathan Blandford - - * gtk/gtkentrycompletion.c (gtk_entry_completion_visible_func): - always use the match_func, even if text_column is set. - -2004-03-14 Morten Welinder - - * gtk/gtkfilesystemunix.c (get_parent_dir): Don't turn "/" into - "". - (gtk_file_system_unix_get_folder): Use the same value for lookup - as for insertion. Make sure we have a directory. - - * gtk/gtkfilechooserdefault.c (error_dialog): Don't crash on NULL - path; don't crash on NULL error. - -2004-03-14 Hans Breuer - - gtk/gtkcombobox.c : prototype cell_view_sync_cells() before - first usage - - gtk/makefile.msc.in : updated 'gtk_public_h_sources' - - tests/makefile.msc : added testspinbutton - -Sun Mar 14 01:01:18 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Align - this function with gtk_tree_view_column_set_cell_data(); - call the cell data func after setting the attributes. - -Sun Mar 14 01:00:08 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_expose): One more try; - make sure not to call gtk_cell_view_set_cell_data() when - displayed_row is NULL. - -Sat Mar 13 18:13:13 2004 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): When not - wrapping, do the offset of the line for justification ourselves. - (#120256, Felipe Heidrich) - -Sun Mar 14 00:03:18 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_expose): Support the - model-less use of GtkCellView shown in testcombo.c. - -2004-03-13 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c: Don't undefine HAVE_MONITOR_INFO - when compiling with gcc. Mingw's headers do have the required - definitions. - - * gdk/win32/gdkdrawable-win32.c (draw_polygon): When drawing - filled polygons, don't draw the outline, similarily as - draw_rectangle(). Apparently GTK and GIMP don't use - gdk_draw_polygon() much (or always draw the outline, too), as this - has gone undetected for so long. Thanks to Bruce Hochstetler. - -Sat Mar 13 15:19:17 2004 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_destroy): Remove - the window from the toplevel_list here rather in destroy. - While this is theoretically speaking wrong, it fits - in better with the current reality that destroyed - widgets are not reusable. (#126808, Michael Natterer) - -Sat Mar 13 21:47:47 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything - beyond clearing to the background if there is no active row. - (#137066, reported by Owen Taylor) - -Sat Mar 13 21:37:44 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the - list when an item is selected via the keyboard. - -2004-03-13 Anders Carlsson - - * gtk/gtkfilesystemunix.c: (remove_trailing_slash), - (gtk_file_system_unix_get_folder), - (gtk_file_system_unix_create_folder), (get_parent_dir), - (gtk_file_system_unix_get_parent), (gtk_file_folder_unix_get_info): - Remove trailing slashes in path names. - -Sat Mar 13 12:17:16 2004 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Make - this a total no-op when the new or old parent is - destroyed. (#134230, patch from Soeren Sandmann) - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): - For foreign windows in our heirarchy, call - _gdk_windowing_window_destroy_foreign (window) and skip - all the normal destruction logic. - - * gdk/x11/gdkwindow-x11.c gdk/win32/gdkwindow-win32.c: - Move code to request destruction of a foreign window - code into a separate _gdk_windowing_window_destroy_foreign(). - - * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): - Call GDK_WINDOW_DISPLAY() on the wrapper not on the - impl. (Also from Soeren's patch) - -Sat Mar 13 10:49:46 2004 Owen Taylor - - * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): For - GTK_IS_PLUG toplevels, call gdk_window_get_origin() - not gtk_window_get_position, as a hackround for not - having accurate notification of window position for - embedded windows. (#136112, Dan Winship) - -Sat Mar 13 10:34:03 2004 Owen Taylor - - * gtk/gtktextview.c gtk/gtktextbuffer.c: Revert last change; - it causes problems for pastes from other applications; see - comments in bugzilla for #81880. - -Sat Mar 13 02:55:51 2004 Matthias Clasen - - Fix middle button pasting in the TextView (#81880, reported - by Evert Verhellen, patch by Paolo Borelli): - - * gtk/gtktextview.c (gtk_text_view_button_press_event): Retrieve - the insert mark and move the cursor to it making sure of also - scroll the window if needed. - - * gtk/gtktextbuffer.c (pre_paste_prep): Move the insert mark - to the insertion point. - -Sat Mar 13 01:38:55 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_remove): Add a remove - implemenatation which restores the cell_view when the custom - child is removed. (#136555, Owen Taylor) - -Sat Mar 13 00:07:51 2004 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear): - Keep the cell_list in a consistent state while iterating over it, - since clear_attributes() also iterates over it. (another instance - of #136585, Morten Welinder) - -Fri Mar 12 17:20:15 2004 Owen Taylor - - * gtk/gtkarrow.c (gtk_arrow_expose): Swap GTK_ARROW_LEFT - and GTK_ARROW_RIGHT for GTK_TEXT_DIR_LTR. (#129159, - Semion Chichelnitsky) - - * gtk/gtkpathbar.c gtk/gtktoolbar.c: Remove no-longer-needed - gtk_toolbar_direction-changed handlers and explicit - flipping of GtkArrow widgets. - -Fri Mar 12 23:37:15 2004 Soeren Sandmann - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_default_realized_size_changed): Clamp the - new size to the screen. - -Fri Mar 12 15:06:44 2004 Owen Taylor - - * gtk/gtkexpander.c (gtk_expander_realize): Create the - event_window at the right size using the same logic as - in size_allocate. (#136994, Niklas Knuttson) - -2004-03-12 Federico Mena Quintero - - * gtk/gtkwindow.c (gtk_window_activate_focus): Don't ignore the - return value of gtk_widget_activate(). - (gtk_window_activate_default): Likewise. Fixes #137008. - - * gtk/gtkfilechooserdialog.c (response_cb): Act on positive - response IDs we recognize, rather than bailing out on cancellation - ones. Fixes #136237; patch by Olivier Andrieu - . - (file_chooser_widget_file_activated): If the dialog doesn't have a - default widget, try to find a suitable response widget on our own. - People should *really* be using gtk_dialog_set_default_response(), - but this is to help lazy programmers. - - * gtk/gtkdialog.c (_gtk_dialog_get_response_for_widget): New - internal function. - (get_response_data): Add a "create" argument so that we don't - unconditionally create the response data. - -2004-03-12 Morten Welinder - - * tests/Makefile.am: Add new testspinbutton.c - -2004-03-11 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_drag_set_delete_cursor): - Put the trash icon on the right for LTR locales, or on the left - for RTL. - (shortcuts_drag_motion_cb): Cancel the idle handler here as well. - (shortcuts_drag_leave_cb): Test whether the idle is present. - (shortcuts_drag_data_received_cb): Ahem, don't assert here. - -Thu Mar 11 17:51:10 2004 Owen Taylor - - * modules/input/gtkimcontextxim.c (preedit_done_callback): - Clear preedit string and emit preedit_changed as needed - on AIX. (#130617, Philip K Warren) - -2004-03-11 Morten Welinder - - * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak. - -Thu Mar 11 16:28:15 2004 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent - type. (#136919, Tim Mooney) - -Thu Mar 11 16:18:51 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert - earlier change to insert_path so that we test that the directory - exists. - - * gtk/gtkfilechooserdialog.c - (gtk_file_chooser_dialog_constructor): move focus. - -Thu Mar 11 22:12:14 2004 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use the same - logic as GtkEntry when calculating border width. (#116368, reported - by Morten Welinder) - -Thu Mar 11 15:59:05 2004 Owen Taylor - - * tests/testgtk.c (create_spins): Use gtk_entry_set_width_chars() - rather than gtk_widget_set_size_request(). - -2004-03-11 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (remove_settings_signal): New - function, copied from gtkpathbar.c. - (gtk_file_chooser_default_dispose): Use remove_settings_signal() - rather than our own code. - (gtk_file_chooser_default_screen_changed): Use - remove_settings_signal(); this should handle per-screen settings - correctly. - -Thu Mar 11 14:07:18 2004 Owen Taylor - - * gtk/gtklabel.c (gtk_label_focus): Fix a missing return - value. - -Thu Mar 11 13:58:24 2004 Owen Taylor - - * gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the - put-labels-into-the-standard-focus-chain patches - from bug #59707. - - * gtk/gtklabel.c (gtk_label_focus): Only put the - label in the tab chain when the control key is pressed. - -2004-03-11 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (error_message_with_parent): Use a - single OK button, not a Close button, as per the HIG. - - * gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Likewise. - -2004-03-11 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_drag_motion_cb): Oops, - initialize "action" before jumping. Fixes #136900. - -2004-03-11 Mark McLoughlin - - * gtk/gtksettings.c: (apply_queued_setting): don't overwrite - application properties. Fixes bug #136802. - -2004-03-11 Dov Grobgeld - - * gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added - call to gtk_text_layout_update_cursor_line() to solve in - problem of switching keyboard direction at widget creation: - bug #136680 - -Thu Mar 11 10:28:30 2004 Owen Taylor - - * gtk/gtkfilechooserembed.c (delegate_initial_focus): Remove - stray 'return' statement. (#136855, David L. Cooper II) - -2004-03-11 Mark McLoughlin - - * gtk/gtkstyle.c: (gtk_default_draw_expander): Use the PRELIGHT - fg color for drawing the expander when prelit. Fixes problem - with the HighContrast theme: bug #136789. - -2004-03-11 Federico Mena Quintero - - Fix #135912 and #135913. - - * gtk/gtkfilechooserdefault.c - (shortcuts_filter_model_row_draggable): Implement. - (shortcuts_model_filter_new): New function, create a - ShortcutsModelFilterClass derived from GtkTreeModelFilter, so that - we can implement our own DnD interface methods. - (shortcuts_model_create): Use shortcuts_model_filter_new(). - (shortcuts_list_create): Enable the shortcuts list as a drag - source. - (file_list_source_targets): Renamed from shortcuts_targets. - (shortcuts_list_create): Change the options for - gtk_drag_dest_set(). Connect to more drag signals so that we can - implement drops by hand. - (shortcuts_drag_data_delete_cb): New handler; just stop the emission. - (shortcuts_drag_motion_cb): New handler; validate the drop. - (shortcuts_drag_leave_cb): New handler; unset the drag_dest_row. - (shortcuts_drag_drop_cb): New handler; just stop the emission and - remove the idle handler for the drag cursor. - (shortcuts_add_bookmark_from_path): Add a position argument, - return a boolean success code. - (shortcuts_drag_data_received_cb): Handle two cases: 1) Insert - the bookmarks at the proper position, rather than always appending - them to the list; 2) alternatively, reorder the bookmarks. - (struct _GtkFileChooserDefault): New field shortcuts_drag_outside. - (shortcuts_drag_motion_cb): Turn off impl->shortcuts_drag_outside. - (shortcuts_drag_leave_cb): Turn on impl->shortcuts_drag_outside in - an idle handler. - (shortcuts_drag_end_cb): New handler; remove the selected bookmark. - -Thu Mar 11 01:08:25 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (location_entry_create): up the - width of the entry a tad. - - * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use - gtk_entry_completion_selection_changed. Also, unref the - completion as we were leaking a reference to it. - -2004-03-10 Federico Mena Quintero - - * gtk/gtkstyle.c (draw_dot): Remove spurious semicolon. Thanks to - Kjartan Maraas for pointing it out. - -Wed Mar 10 23:40:15 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Set the - background on the action view cell renderer here, not in init, so - that a) we catch style changes, and b) we get the real style, not - the default one. Partial fix for #127648, reported by Dave Bordoley. - -2004-03-10 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (build_key_event_state): Set also - the pointer button bits. (#136636, Dave Neary) - - * gdk/win32/gdkwindow-win32.c (show_window_internal): Show - transparent (input only) windows using SetWindowPos(). (#132331, - John Ehresman) - - (gdk_window_set_type_hint): For splash screens, remove the resize - handles, menu, and minimize/maximize/close buttons. (#132896) - -Wed Mar 10 22:30:23 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Keep the - cell_list in a consistent state while iterating over it, since - clear_attributes() also iterates over it. (#136585, Morten Welinder) - -2004-03-10 Mark McLoughlin - - * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate - the expose to the label. The expose handler for GtkContainer - already does that. Fixes bug #136719. Reported by Dennis - Cranston, exact cause nailed down by Owen. - -2004-03-10 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an - untranslatable "%x" for dates, rather than a custom format. Fixes - #136357. - -2004-03-10 Morten Welinder - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_add_shortcut_folder): Test validity of - path here. - (shortcuts_insert_path): Don't check here. - (get_file_info): Barf if name-only fails. - - * tests/testfilechooser.c (main): Add support for --multiple. - -Wed Mar 10 02:41:05 2004 Jonathan Blandford - - * gtk/gtkpathbar.c: (gtk_path_bar_init), (gtk_path_bar_class_init), - (remove_settings_signal), (gtk_path_bar_dispose), - (gtk_path_bar_style_set), (gtk_path_bar_screen_changed), - (gtk_path_bar_scroll_up), (reload_icons), (change_icon_theme), - (settings_notify_cb), (gtk_path_bar_check_icon_theme), - (get_button_image), (gtk_path_bar_update_button_appearance), - (make_directory_button), (gtk_path_bar_check_parent_path): Support - changes in icon themes. - - * gtk/gtkpathbar.h: add two elements - - * tests/testfilechooser.c: (main): use gnome-vfs method again to - get more testing. - -Wed Mar 10 01:17:40 2004 Jonathan Blandford - - * gtk/gtkpathbar.c: added 'Desktop' to the list of volumes. We - don't have any more untranlated strings in the dialog. - -Wed Mar 10 00:24:24 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of - the pathname for UTF-8 safety. - -Wed Mar 10 00:10:47 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always - check to see if the shortcuts exists. We don't want to put - invalid dirs in the shortcuts pane. - -Tue Mar 9 16:40:34 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): - remove unneeded shortuts_swin; - -Wed Mar 10 01:49:27 2004 Matthias Clasen - - Fix #136614 in a better way: - - * gtk/gtkoptionmenu.c (gtk_option_menu_init): Undo the last change. - * gtk/gtkbutton.c (struct _GtkButtonPrivate): Add a flag, align_set. - * gtk/gtkbutton.c (gtk_button_init): Initialize align_set to 0. - * gtk/gtkbutton.c (maybe_set_alignment): Rework to only set the - alignment if priv->align_set is set. - * gtk/gtkbutton.c (gtk_button_set_alignment): Set align_set to 1. - -Wed Mar 10 01:21:05 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place - grid mode popups left aligned, not right aligned. - -Tue Mar 9 23:09:46 2004 Matthias Clasen - - * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering - the label that is reparented from the menuitem. (#136614, Dennis - Cranston) - -Tue Mar 9 16:19:09 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the - information about a button in a struct instead of ugly - g_object_set_data. - (gtk_path_bar_size_request): Use ButtonData. - (gtk_path_bar_update_slider_buttons): ditto - (gtk_path_bar_size_allocate): ditto - (gtk_path_bar_remove): ditto - (gtk_path_bar_forall): ditto - (gtk_path_bar_scroll_down): ditto - (gtk_path_bar_clear_buttons): ditto - (button_clicked_cb): ditto. Also, add an ignore_changes variable - (button_data_free): destroy ButtonData - (update_button_appearance): Use ButtonData - (make_directory_button): ditto - (gtk_path_bar_check_parent_path): ditto - (_gtk_path_bar_set_path): ditto - -2004-03-09 Federico Mena Quintero - - Fix #136533. - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): New - function. - (check_icon_theme): New helper function, installs a handler for - changes in the icon theme. - (gtk_file_chooser_default_style_set): Use check_icon_theme(). - (gtk_file_chooser_default_screen_changed): Use check_icon_theme(). - (gtk_file_chooser_default_dispose): Disconnect from GtkSettings. - (change_icon_theme): New function, updates impl->icon_size and - reloads the icons. - (struct _GtkFileChooserDefault): New field settings_signal_id. - (struct _GtkFileChooserDefault): New field icon_size. - (shortcuts_insert_path): Use impl->icon_size. - (list_icon_data_func): Likewise. - -2004-03-09 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned - parent_path being NULL. Fixes #136662. - -2004-03-09 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb): - Stop the emission so that GtkTreeView's handler won't try to poke - the filter model. Fixes #136127. - -Tue Mar 9 13:49:14 2004 Owen Taylor - - * gtk/gtkstyle.c (gtk_paint_polygon): Fix - g_return_if_fail() that was checking draw_shadow. - (#136669, Morten Welinder) - -Tue Mar 9 09:57:25 2004 Owen Taylor - - * === Released 2.3.6 === - - * configure.in: Version 2.3.6, interface age 0. - - * NEWS: Updates - -Tue Mar 9 11:01:45 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct - icon. Reported by Michael Natterer . - -2004-03-09 Morten Welinder - - * tests/testfilechooser.c (main): Destroy widgets to reveal leaks. - -Tue Mar 9 02:11:50 2004 Soeren Sandmann - - * gtk/gtkmenu.c Fix bug 136446. [Marco Pesenti Gritti] - (struct _GtkMenuPrivate): Add boolean destroying - (gtk_menu_destroy): Set priv->destroying - (gtk_menu_remove): don't update the table information when the - menu is being destroyed. - - * gtk/gtkmenu.c (gtk_menu_set_monitor): Formatting fix - - * gtk/gtktoolbar.[ch]: Some formatting fixes - -Tue Mar 9 01:25:10 2004 Matthias Clasen - - * gtk/gtkframe.c (gtk_frame_paint): Fix a typo. - -2004-03-08 Federico Mena Quintero - - Fixes #136080. - - * gtk/gtkfilesystemunix.c: Only lstat() if stat() failed due to - ENOENT. - (filename_get_info): Likewise. - -2004-03-08 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_initial_focus): Use - gtk_tree_view_set_cursor(). - -2004-03-08 Federico Mena Quintero - - Patch "1a" from #136185, by Morten Welinder. - - * gtk/gtkfilechooserdefault.c (get_file_info): Take in an argument - that says whether the caller just wants the display name. - (shortcuts_insert_path): We only want the name in the call to - get_file_info(). - - * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't request more - info than needed from the file_folder. - -2004-03-08 Federico Mena Quintero - - Fixes #136105. - - * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface): - Added an ::initial_focus() method. - - * gtk/gtkfilechooserembed.c - (_gtk_file_chooser_embed_delegate_iface_init): Set the - initial_focus method. - (delegate_initial_focus): Implement. - (_gtk_file_chooser_embed_initial_focus): New function. - - * gtk/gtkfilechooserdialog.c - (gtk_file_chooser_dialog_constructor): Call - _gtk_file_chooser_embed_initial_focus(). - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): - Install the ::initial_focus() handler. - (gtk_file_chooser_default_initial_focus): Implement. - -2004-03-08 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (update_from_entry): Return a - boolean success code. - (location_popup_handler): Refocus the file chooser if appropriate. - Fixes #135905. - (save_widgets_create): Don't set the text of the save_folder_label - here. - (update_appearance): Set the text here as appropriate for the save - mode. Also fixes #136387. - (update_appearance): Don't show the Create Folder button in - SELECT_FOLDER mode. - (update_appearance): Show the extra widget in all Save modes - correctly. - -Mon Mar 8 11:57:27 2004 Owen Taylor - - * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't - call g_signal_handler_disonnect() if priv->model is - NULL. (#136551, Damon Chaplin) - - * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted): - Back out code to set the active item when the first - item is added to the model; this causes problems for - GtkComboBoxText. (#136535) - - * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy) - * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): - * gtk/gtkcombobox.c (gtk_combo_box_list_setup): - * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): - Remove calls to gtk_combo_box_unset_model. - - * gtk/gtkcombobox.c (gtk_combo_box_check_appearance): - Clean up handling of wrap->width > 0. - - * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't - switch list/menu mode here. - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): Protect - against the same model being set back. - - * gtk/gtkcombobox.c (gtk_combo_box_relayout): Call - gtk_combo_box_menu_fill() rather than duplicating - a large chunk of code. - -2004-03-08 Anders Carlsson - - * gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags): - If max_depth is 0 then we have a list. - -2004-03-08 Morten Welinder - - * gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave - widget unchanged. Explicitly verify final directory. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder, - get_icon_type, filename_get_info): Protect errno. - -2004-03-08 Marco Pesenti Gritti - - * gtk/gtkentry.c: (gtk_entry_completion_key_press): - - When an action is selected stop the event to be propagated - otherwise the activate signal is emitted too. (Bug #133394) - -Mon Mar 8 04:50:12 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (create_path_bar): new function to - consolidate creating the path_bar. - (gtk_file_chooser_default_set_current_folder): no longer need to - pass in the filesystem. - - * gtk/gtkpathbar.h: Removed unused set_pixbuf functions in favor - of just setting the filesystem. - - * gtk/gtkpathbar.c (gtk_path_bar_finalize): Free root path and - home_dir. - (get_button_image): Add images to path_bar. - (update_button_appearance): use images - (make_directory_button): Clasify buttons based upon location. - (_gtk_path_bar_set_path): no longer need a file-system. Also, add - rerooting, #135845, #135914 - - * tests/testfilechooser.c: Fix reused error handling. - -2004-03-08 Anders Carlsson - - * gtk/gtkfilesystemunix.c: (get_icon_for_directory), - (gtk_file_system_unix_render_icon): - Use better icons for home and desktop. - -2004-03-08 Anders Carlsson - - * gtk/gtkfilechooserentry.c: - (_gtk_file_chooser_entry_set_base_folder): - Set the base folder path in the entry. - -2004-03-08 Christian Neumair - - * tests/testentrycompletion.c: Fix typo. - -2004-03-08 Tor Lillqvist - - * README.win32: Update. - - * gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted. - - * tests/testfilechooser.c: Correct localtime_r() emulation on - Win32. Remove a couple of unnecessary Win32-only includes. - -Mon Mar 8 01:06:17 2004 Matthias Clasen - - * tests/testentrycompletion.c: Test dynamic addition/removal. - -Sun Mar 7 22:38:49 2004 Matthias Clasen - - * gtk/gtkframe.c (gtk_frame_paint): Use ythickness, not - xthickness in the calculation of vertical dimensions. - -Sun Mar 7 17:38:03 2004 Jonathan Blandford - - * gtk/gtkbutton.c (gtk_button_class_init): actually use - gtk_button_add. - - * gtk/gtkfilechooserdefault.c (error_building_filename_dialog): - use the uri, not the path, #136317 - (renderer_edited_cb): ditto - (shortcuts_add_bookmark_from_path): ditto - (remove_bookmark_button_clicked_cb): ditto - (gtk_file_chooser_default_remove_shortcut): ditto - (update_from_entry): ditto - (up_folder_handler): ditto - -Sun Mar 7 16:07:08 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): set - redraw_on_allocate, #135902. - - * gtk/gtkfilesystemmodel.c (model_refilter_recurse): Patch from - Damon Chaplin to set a node to be visible before emitting the - inserted signal, #135555. - -Sun Mar 7 22:24:28 2004 Matthias Clasen - - * gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the - height calculation. - -Sun Mar 7 14:34:04 2004 Jonathan Blandford - - Fixes #121500. - - * gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate - from unselecting rows when pressed in multiple-selection mode. - -2004-03-07 Hans Breuer - - * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting) : - some more settings from system, also reflect some name changes - done a while ago in the x11 backend - - * gdk/win32/makefile.msc : build gdkspawn-win32.c - - * gtk/gtkdnd.c : gtk_drag_source_[gs]et_target_list, added "Since: 2.4" - - * gtk/makefile.msc.in : build gtkpathbar, link shell32.lib - - * tests/makefile.msc : some more tests get build - -Sun Mar 7 03:03:57 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_paths): if action is - SELECT_FOLDER, then return the currentd folder if none is - selected. - (gtk_file_chooser_default_should_respond): Allow 'Ok' to be hit if - no directory is selected in SELECT_FOLDER mode. - -Sat Mar 6 23:31:18 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): - remove unneeded elements. - (tree_selection_changed): removed - (tree_name_data_func): removed - (gtk_file_chooser_default_finalize): don't unref dir model - (create_folder_tree): removed - (get_selection): no longer need to abstract away the selection - function. - (create_file_list): We now create a tree for all actions. - (file_pane_create): Make one tree. - (update_appearance) We really change the mode only, now. - -Sun Mar 7 02:38:00 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_size_request): Do a - size_request on the button and cell_view_frame, otherwise - their style will still be the default here in the initial - size_request. (#136301, Mark McLoughlin) - -2004-03-06 Gustavo J. A. M. Carneiro - - * gtk/gtktoolbar.c (internal_insert_element): Check return value - of gtk_stock_lookup; if stock lookup fails, just use stock_id as - label, instead of crashing. Fixes #136202. - -2004-03-05 Federico Mena Quintero - - * gdk/linux-fb/gdkglobals-fb.c: Make the very first - include. - * gdk/linux-fb/gdkwindow-fb.c: Likewise. - * gdk/linux-fb/gdkinput.c: Likewise. - -2004-03-05 Federico Mena Quintero - - Fixes #136082 and #135265, patch by Morten Welinder. - - * configure.in: Use AC_SYS_LARGEFILE. - - * */*.c: #include - -2004-03-05 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_select_path): No need to have a - temporary error variable. - -2004-03-05 Tor Lillqvist - - * configure.in: Move check for native Win32 (mingw) a bit - earlier. If Win32, disable static builds (as in GLib). Remove - unnecessary AC_LIBTOOL_WIN32_DLL. - - * gdk/gdk.def: Add missing entries, thanks to J. Ali Harlow. - - * gdk/win32/gdkcursor-win32.c (color_is_white): const-correctness. - - (gdk_cursor_new_from_pixbuf): Copy of the non-Xcursor X11 - implementation. - - (gdk_display_supports_cursor_alpha, - gdk_display_supports_cursor_color): Dummy implementations. - - (gdk_display_get_default_cursor_size, - gdk_display_get_maximal_cursor_size): Implement. - - * gdk/win32/gdkdisplay-win32.c (gdk_display_get_default_group): - Dummy implementation. - - * gdk/win32/gdkevents-win32.c (gdk_net_wm_supports): Dummy - implementation. - - * gdk/win32/gdkfont-win32.c (gdk_font_get_display): Implement. - - * gdk/win32/gdkinput-win32.c (gdk_input_motion_events): Remove, - not in API. - - * gdk/win32/gdkwindow-win32.c (gdk_window_get_group): Dummy - implementation. - -Fri Mar 5 18:00:36 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): scroll - to the new path. - - * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update the - allocation when scrolling instead of cancelling editing. - -Fri Mar 5 23:52:34 2004 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): - Improve the docs. (#127727, Murray Cumming) - -Fri Mar 5 23:37:16 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): Clarify the - doc comment. (#118602) - -Fri Mar 5 22:37:15 2004 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_construct_child): Don't let - the priv->image pointer dangle. (#136259, Padraig O'Briain) - -2004-03-05 Federico Mena Quintero - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add - gboolean return values and GError arguments to - ::set_current_folder() and ::select_path(). - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder): - Return a boolean value for success/failure. - (gtk_file_chooser_set_current_folder_uri): Likewise. - (gtk_file_chooser_select_filename): Likewise. - (gtk_file_chooser_select_uri): Likewise. - (gtk_file_chooser_set_filename): Likewise. - (gtk_file_chooser_set_uri): Likewise. - (_gtk_file_chooser_set_current_folder_path): Likewise, plus take - in a GError. - (_gtk_file_chooser_select_path): Likewise. - - * gtk/gtkfilechooserutils.c (delegate_set_current_folder): - Likewise. - (delegate_select_path): Likewise. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_select_path): Likewise. - (gtk_file_chooser_default_set_current_folder): Likewise; this also - fixes #136024. - (error_changing_folder_dialog): New helper function. - (change_folder_and_display_error): New helper function. - (switch_to_selected_folder): Use change_folder_and_display_error(). - (tree_selection_changed): Likewise. - (shortcuts_activate_volume): Likewise. - (shortcuts_activate_item): Likewise. - (list_row_activated): Likewise. - (path_bar_clicked): Likewise. - (update_from_entry): Likewise. - (up_folder_handler): Likewise. - (home_folder_handler): Get the home path from the shortcuts model, - and use change_folder_and_display_error(). - - * tests/testfilechooser.c (set_current_folder): New helper - function; pops up a simple error dialog if necessary. - (set_filename): Likewise. - (set_folder_nonexistent_cb): Use set_current_folder(). - (set_folder_existing_nonexistent_cb): Likewise. - (set_filename_nonexistent_cb): Use set_filename(). - (set_filename_existing_nonexistent_cb): Likewise. - -Fri Mar 5 11:17:35 2004 Owen Taylor - - * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): - Improve the docs (reported by Vitaly Tishkov, - #74362) Add some comments to the code about the - row reference handling that are hopefully not entirely - wrong. - -2004-03-05 Michael Natterer - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all): - s/object/widget/. Makes it compile again. - -Fri Mar 5 03:37:14 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all): - chain to the extra_widget. - -Fri Mar 5 02:53:41 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): - Patch from Damon Chaplin to free models when we're finalized, - #134053 - -2004-03-05 Alexander Larsson - - * gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path): - Document the fact that there might not be a volume for all - paths. - - * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): - Don't assume there is a volume for all paths. - -Fri Mar 5 01:45:04 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (shortcuts_append_paths): insert in - the correct place instead of naïvely appending. - (shortcuts_add_volumes): refilter the model - (shortcuts_add_bookmarks): refilter the model - (gtk_file_chooser_default_add_shortcut_folder): refilter the model - -2004-03-04 Federico Mena Quintero - - * gtk/gtkfilechooserdialog.c (response_cb): New handler. Ask the - GtkFileChooser widget if it wants to do something special rather - than letting us terminate the dialog. - (gtk_file_chooser_dialog_init): Connect to "response"; see the - comment in the sources to see why we don't override the method in - class_init. - - * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface): - Added a ::should_respond() method. - - * gtk/gtkfilechooserembed.c - (_gtk_file_chooser_embed_delegate_iface_init): Add a delegate for ::should_respond(). - (delegate_should_respond): New delegate. - (_gtk_file_chooser_embed_should_respond): New function. - - * gtk/gtkfilechooserdefault.c (set_list_model, create_file_list): - Use dashes in signal names rather than underscores. - (gtk_file_chooser_default_init): Hook up our ::should_respond() implementation. - (gtk_file_chooser_default_should_respond): Implement. go into a - folder rather than responding if we are in File mode and the - selected file is a folder. - (get_selection): New helper function. - (add_bookmark_button_clicked_cb): Use get_selection(). - (bookmarks_check_add_sensitivity): Likewise. - (gtk_file_chooser_default_get_paths): Likewise. - (check_save_entry): New helper function. - (gtk_file_chooser_default_get_paths): Use check_save_entry(). - (selection_check): Renamed from selection_is_folders(). Now - checks whether the selection is empty, all files, all folders. - (bookmarks_check_add_sensitivity): Use selection_check(). - -Fri Mar 5 00:05:59 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_setup): - * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Connect to - key_press_event and handle Alt-Down/Alt-Up to show or hide the - list popup. Also handle Down/Up/PageDown/PageUp/Home/End and - make them change the active item without popping up the list. - These keybindings are inherited from GtkCombo. - -Thu Mar 4 23:15:58 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_position): Initially - select the active item when using optionmenu-like positioning. - -Thu Mar 4 16:54:30 2004 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Don't - open/close the file, just check for existence - with g_file_test(). This is considerably cheaper, - and lack-of-permissions for pixmap dirs is - pathological. - -Wed Mar 3 17:53:21 2004 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_class_init): Overide - show_all/hide_all to be gtk_widget_show/gtk_widget_hide, - since we don't want to propagate to the in-process - plug, if any. (#122949, Michael Meeks) - -Thu Mar 4 15:20:55 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (update_appearance): show the 'New - Folder' button in SAVE mode again. - -Thu Mar 4 21:53:46 2004 Matthias Clasen - - * gtk/gtkiconfactory.c (copy_cache): Increment the reference - count of the style when copying the cached icon. (#135890, Crispin - Flowerday) - -Thu Mar 4 21:45:43 2004 Matthias Clasen - - * gtk/gtkcombobox.c: In list mode, set the background color - of the cell view to the base color of the style, instead of - hardwiring white. (#136158) - -Thu Mar 4 01:32:19 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (gtk_path_bar_set_path): Modified patch from - muppet to keep child directories around if we - change to a child. - - * gtk/gtkpathbar.c (_gtk_path_bar_set_home_icon): Start of - icon-setting functions. Not used yet. - (_gtk_path_bar_set_root_icon): Ditto. - -Thu Mar 4 00:31:54 2004 Matthias Clasen - - * gtk/gtktextview.c (extend_selection): - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow - to select the last word in the buffer. (#135487, Paolo Borelli) - -Wed Mar 3 23:54:31 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c: Doc update. - -Wed Mar 3 17:30:18 2004 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_mnemonic_activate): Check - whether widgets are viewable, not just if they are - mapped. (#122912, reported by Tim Evans) - -Wed Mar 3 23:28:48 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_active): Move the actual - implementation into a new gtk_combo_box_set_active_internal() - function, which doesn't do the short-circuiting. - * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Use - set_active_internal() here, since the active item may change here, - although the index is unchanged. - -Wed Mar 3 23:26:49 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_position): Reintroduce the - traditional option menu placement of the popup for regular combo - boxes. Grids and editable combo boxes use the combo-like placement - below the entry. (#136021) - * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): - * gtk/gtkcombobox.c (gtk_combo_box_popup): Call gtk_menu_set_active() - before popping up the menu, to make the placement work. - -Wed Mar 3 17:20:15 2004 Owen Taylor - - * gtk/gtkmain.c (gtk_propagate_event): Special case - scroll events so that they propagate up the widget - heirarchy when received on insensitive widgets. - (#101102, reported by Geoff Reedy) - -Wed Mar 3 16:47:10 2004 Owen Taylor - - #109594, reported by Olivier Ripoll - - * gtk/gtkentry.c (gtk_entry_size_request): Use max of - width and digit width for gtk_entry_set_width_chars, - and round up. - - * gtk/gtkcolorsel.c (gtk_color_selection_init): Set the - width of the entry to 7 chars. - -Wed Mar 3 16:00:10 2004 Owen Taylor - - * configure.in: Strip out the "export-dynamic" libtool - option from library link lines. (#124687, James Henstridge) - -Wed Mar 3 16:06:03 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): - Don't activate the combo if we're in the midst of changing - folders. - -2004-03-03 Mark McLoughlin - - * tests/testsocket_common.c: (print_hello): don't try and store - pointers in ints. Fixes 64-bit build. - -2004-03-03 Federico Mena Quintero - - * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Simplify by - not using a temporary variable, and clarify the documentation. - Fixes #136008. - -2004-03-03 Mark McLoughlin - - * gtk/gtkexpander.c: - (gtk_expander_enter_notify), (gtk_expander_leave_notify), - (gtk_expander_set_label_widget): Set the label widget's - state to prelight if we're prelit. Fixes bug #136078. - -2004-03-03 Murray Cumming - - * gtk/gtkradiobutton.h, radiomenuitem.h: Corrected the group_changed - signal vfunc declaration, adding the first parameter, which is the - widget emitting the signal. - -2004-03-03 Morten Welinder - - * tests/testfilechooser.c (update_preview_cb): Plug leak. - -Tue Mar 2 23:39:55 2004 Jonathan Blandford - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_default_realized_size_changed): Split - function into realized and unrealized variants, and consolidate - the handling fo size-changing and default changing. - - * gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init): - remove resizable-hints-changed, as it just complicated things. - - * gtk/gtkfilechooserdefault.c (update_appearance): Don't emit - resizable-hints-changed. - -2004-03-03 Tor Lillqvist - - * gtk/gtk.def: Add a missing entry. (#135982, J. Ali Harlow) - - * NEWS: Correct spelling of my name in one place. - -2004-03-02 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_current_folder): Handle errors in - setting the path bar's path. Fixes #136000, based on a patch by - Morten Welinder. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark): - Don't free our own propagated error. - - * gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the - parent_path upon error. Fixes #136006, patch by Morten Welinder. - (gtk_path_bar_set_path): Unref the file_folder upon error. - (gtk_path_bar_set_path): Return a boolean success code. - -Wed Mar 3 00:28:59 2004 Matthias Clasen - - * tests/testcombochange.c: Add an animation mode, to test - how the combobox behaves if the model changes while it is popped - up. - -Tue Mar 2 17:06:05 2004 Owen Taylor - - * === Released 2.3.5 === - - * NEWS: Updates - - * configure.in: Version 2.3.5, interface age 0. - Require glib-2.3.5, pango-1.3.5. - -Tue Mar 2 23:08:12 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Avoid - popping up the completions across the edge of the monitor. - Part of #135561. - -Tue Mar 2 16:47:40 2004 Owen Taylor - - * tests/testfilechooser.c (set_filename_existing_nonexistent_cb): - Move the /nonexistant stuff out of the main window, - keep the main window somewhat normal looking. - -Tue Mar 2 16:18:43 2004 Owen Taylor - - * gtk/gtktreestore.c (gtk_tree_store_reorder) - * gtk/gtkliststore.c (gtk_list_store_reorder): Fix - up the interpretation of new_order to match what - it means elsewhere, document the meaning of new_order. - - * gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered): - Fix interpretation of new_order. - - * tests/testcombochange.c (on_reorder): Fix interpretation - of new_order. - - * tests/testcombochange.c (on_reorder): Fix hitting - "reorder" with an empty list. - -Tue Mar 2 21:23:30 2004 Soeren Sandmann - - Patch from Frederic Crozat, test code from Jean-Philippe - Chancelier. Fixes bug #120479. - - * gtk/gtkcombo.c (gtk_combo_popup_list): Make sure popup belongs - to the right window group. - - * gtk/gtkmenu.c (gtk_menu_popup): Same - - * tests/testsocket.c (main): Pack the plugs into an hbox instead - of a vbox. - - * tests/testsocket_common.c: Add a GtkMenuBar, a GtkCombo and a - GtkComboBox to the children. - -Tue Mar 2 14:38:23 2004 Owen Taylor - - * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted): - If the model was empty before, select the first inserted - item. - - * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): - Fix up the logic for the new row to select. - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): - Rename "appearance" property to "appears-as-list". - - * tests/testcombochange.c tests/Makefile.am: Test case - for combos and dynamically changing models. - -Tue Mar 2 15:19:52 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_resizable_hints): set the default - value, spotted by Morten Welinder. - -Tue Mar 2 15:03:15 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_resizable_hints): get the logic - correct. This will fix sizing on save dialogs. - - (save_widgets_create): set_mnemonic_widget. - -2004-03-02 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_current_folder): Don't update the - save folder combo if we are already switching folders; based on a - patch by Jonathan Blandford. - - * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): - Handle failure to insert the path. Based on a patch by Morten - Welinder attached to bug #135380. - - * tests/testfilechooser.c (extra_widget_create): Add a bunch of - buttons to test various things. - -Tue Mar 2 20:59:23 2004 Matthias Clasen - - * tests/Makefile.am: Add testentrycompletion. - - * tests/testentrycompletion.c: New file to test some of the - more exotic GtkEntryCompletion features. - -Tue Mar 2 14:38:10 2004 Jonathan Blandford - - * tests/testfilechooser.c (main): improve tests a little. - -Tue Mar 2 11:45:50 2004 Owen Taylor - - * gtk/gtkcombobox.c: Always connect to the changed - signals on the model, update the active item as - appropriate when rows are inserted/deleted/reordered, - re-layout the menu on ::rows-reordered. - - * gtk/gtkcellview.c (gtk_cell_view_set_displayed_row): - Allow %NULL for path to unset and leave no current - path. - -Tue Mar 2 19:54:53 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_position): Position - the popup above the sample if there is not enough room below. - Part of #135543. - -Tue Mar 2 19:53:36 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make the - frame for the list mode etched in, to give the popup a slightly - less flat appearance. - -Tue Mar 2 17:55:31 2004 Matthias Clasen - - * gtk/gtk.def: Add gtk_combo_box_entry_new_text(). - -2004-03-02 Morten Welinder - - * tests/testfilechooser.c (size_prepared_cb): Don't scale images - that are small enough to fit. Avoid using incompatibly typed data - pointer. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_resizable_hints): Test the - resize_horizontally pointer, not the deferenced pointer. - -2004-03-01 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New - flag shortcuts_current_folder_is_volume. - (shortcuts_add_current_folder): Set - impl->shortcuts_current_folder_is_volume as appropriate. - (remove_current_folder_cb): Handle the flag. - (shortcuts_activate_item): Likewise. - (shortcuts_update_current_folder): Handle the - impl->shortcuts_current_folder_active flag; only add the folder if - it doesn't already exist in the list. - (shortcuts_model_create): Don't insert the current folder - separator here. - (shortcuts_add_current_folder): Insert the separator here. - (shortcut_find_position): Renamed from shortcut_exists(); now - returns an index. - (shortcuts_add_current_folder): Set the active item in the combo. - -2004-03-01 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep, - use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse. - -2004-03-01 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't - unref an old model; there isn't one. This was a leftover from - when we recreated the model on every change. - (save_widgets_create): Create the save folder combo. - (shortcuts_model_create): Don't set the model on the tree view - here. - (gtk_file_chooser_default_constructor): Create the shortcuts model - here, before the rest of the widgets. - (shortcuts_list_create): Don't call shortcuts_model_create() here; - just set the model on the tree. - (save_folder_combo_create): New function, provided by Jonathan - Blandford. - (update_appearance): Set the sensitivity of the folder combo. - (shortcuts_activate_iter): New helper function; code moved from - shortcuts_row_activated_cb(). - (shortcuts_activate_item): New helper function. - (shortcuts_row_activated_cb): Use shortcuts_activate_iter(). - (ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to - SHORTCUTS_BOOKMARKS_SEPARATOR. - (struct _GtkFileChooserDefault): New field shortcuts_current_folder_active. - (shortcuts_insert_separator): Add a position argument. - (shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR - and SHORTCUTS_CURRENT_FOLDER positions. - (shortcut_exists): Ignore the current folder row. - (struct _GtkFileChooserDefault): New field shortcuts_filter_model. - (shortcuts_model_create): Create a filter model for the shortcuts list. - (shortcuts_list_create): Set the model to the shortcuts_filter_model. - (remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model. - (bookmarks_check_remove_sensitivity): Likewise. - (shortcuts_row_activated_cb): Likewise. - (gtk_file_chooser_default_set_current_folder): New function. - (gtk_file_chooser_default_set_current_folder): Update the current - folder row in the shortcuts list. - - * gtk/gtkfilechooserwidget.c - (gtk_file_chooser_widget_constructor): Cast correctly for - _gtk_file_chooser_embed_set_delegate(). - -Mon Mar 1 19:30:25 2004 Owen Taylor - - * gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list(). - (#127499, based on patch from Michael Natterer) - - * tests/testgtk.c: Fix bidi strings to display correctly - with new auto-bidi. - -Tue Mar 2 01:34:40 2004 Matthias Clasen - - * gtk/gtksettings.c: Remove the include of Xft.h, which is already - dragged in via pangoxft.h. (#135496, David Hawthorne) - -Mon Mar 1 23:52:15 2004 Tim Janik - - * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed - callers. - - * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose - the key event propagation mechanism used for focus widgets. - (gtk_window_key_release_event): use the same key event propagation logic - as gtk_window_key_press_event(). - -2004-03-01 Simon Budig - - * gdk/x11/gdkinput-x11.c: X11 R6.4 specifies 15 events - for the XInput extension. We want to see them all. - We now get Proximity Out events again. Fixes bug #135320. - -Tue Mar 2 00:47:21 2004 Matthias Clasen - - * gtk/gtkimmodule.c (match_locale): Use case-insensitive - comparison. Fixes XIM module loading on AIX. (#131277) - -Mon Mar 1 23:59:18 2004 Matthias Clasen - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): - Make it work correctly when the child model is cleared - completely. (#121633) - -2004-03-01 Michael Natterer - - * gtk/gtkfilechooserwidget.h: removed accidentially committed char - which broke the build. - -Mon Mar 1 16:51:21 2004 Jonathan Blandford - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_default_size_changed): only store the size if - we can resize in that direction. - -Mon Mar 1 16:32:52 2004 Jonathan Blandford - - * gtk/gtkfilechooserwidget.c - (gtk_file_chooser_widget_new_with_backend): new function. Long - name. - -2004-03-01 Morten Welinder - - * gtk/gtkfilesystemunix.c (filename_get_info): Only stat when - needed. - - * gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify - semantics and check for errors. - - * gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors. - - * gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if - display_name is NULL. - -Mon Mar 1 14:16:52 2004 Owen Taylor - - Based on patch by Alex Larsson - - * gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend - GtkSetting to set the backend if the app doesn't specify one. - - * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: - Add Gtk/FileChooserBackend. - -Mon Mar 1 20:32:06 2004 Tim Janik - - * autogen.sh: - - exit with $? instead of 1 in case of failure - - exit with $? if ./configure failed - (that's so autogen.sh && make lines work) - - removed --enable-gtk-doc option - - added $AUTOGEN_CONFIGURE_ARGS - -2004-03-01 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for - filter_info.uri correctly. Fixes #135379, pointed out by Damon - Chaplin. - (shortcuts_get_index): Compute the bookmarks index correctly. - Fixes #135714, pointed out by Damon Chaplin. - (gtk_file_chooser_default_list_shortcut_folders): Handle the case - with no shortcuts, and don't run off the end of the list if there - are no bookmarks and their separator. Fixes #135572, patch by - Damon Chaplin. - -Mon Mar 1 12:23:06 2004 Owen Taylor - - * gtk/gtklabel.c: Handle dynamically resolved bidi direction - when drawing the cursor. (#118541) - - * gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir; - - * gtk/gtkentry.c (draw_insertion_cursor): Fix up - some confusion in parameter ordering. - -Mon Mar 1 12:05:54 2004 Jonathan Blandford - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_resizable_hints_changed): Handle - shrinking/growing. - -2004-03-01 Michael Natterer - - * gtk/gtktextbtree.c: removed underscores from calls to - gtk_text_btree_resolve_bidi(). - -Mon Mar 1 10:41:27 2004 Owen Taylor - - Patch from Dov Grobgeld to implement auto-bidi-direction - for GtkTextView (#118543) - - * gtk/gtktextbtree.[ch]: Resolve bidi base direction - for each line by propagating backwards/forwards as - necessary. - - * gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the - bidi base direction for the ;ine with the cursor from - the keyboard direction. Add gtk_text_layout_set_keyboard_direction(). - -Mon Mar 1 10:31:11 2004 Owen Taylor - - * gtk/gtkentry.[ch]: Implement auto-bidi-direction, - based on a patch from Dov Grobgeld. (#118540) - -Sun Feb 29 22:01:49 2004 Owen Taylor - - * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment() - to allow right-aligned entries and a "xalign" - property. (#59799, patch from Egon Andersen and - Steffen Gutmann) - - * gtk/gtkmisc.c (gtk_misc_class_init): Use improved - xalign property description here too. - - * tests/testtext.c: UNDERLINE_ERROR test addition - from Nicolas Settons' patch. - -Sun Feb 29 20:34:06 2004 Owen Taylor - - * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export - gtk_window_activate_key() (Request from Tim Janik) - -Mon Mar 1 01:00:11 2004 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_drag_data_received): - Make DND operations within a buffer move the dragged - text instead of copying it; also make DND operations - a single user action for undo purposes. (#135191, - #93139, reported by Tommi Komulainen, patch by Paolo Borelli - and Paolo Maggi) - -Mon Mar 1 00:51:11 2004 Matthias Clasen - - * NEWS: News for 2.3.5. - -Sun Feb 29 23:25:35 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_completion_key_press): - Fix the Shift-Tab support to go backwards. - -Sun Feb 29 16:40:40 2004 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_class_init): Fix - capitalization to match other style properties. - -Sun Feb 29 16:38:53 2004 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_class_init): Fix a - typo in property string. - -Sun Feb 29 16:35:23 2004 Owen Taylor - - * gdk/gdkpango.c gtk/gtktextdisplay.c: Implement - PANGO_UNDERLINE_ERROR (Based on a patch by - Nicolas Setton, #114237) - - * gtk/gtktextview.c: Add a error-underline-color style - property. - -Sun Feb 29 19:04:33 2004 Soeren Sandmann - - * gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal - function returning a good step value for the mouse wheel. For - scrollbars, base the step on page_size^(2/3), for other ranges, - use 2 * step_increment. - - * gtk/gtkrange.c (gtk_range_scroll_event): Use it here ... - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): - ... and here. - - * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning. - -Sun Feb 29 01:51:27 2004 Jonathan Blandford - - * gtk/gtkfilechooserembed.c - (_gtk_file_chooser_embed_get_default_size): Add g_return_if_fail() - (_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail() - - * gtk/gtkfilechooserdialog.c - (file_chooser_widget_default_size_changed): Get the correct - initial size for the dialog. Also, don't bother with - gtk_window_set_default_size(). It's not really meaningful. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_default_size): Get the correct - spacing for the preview_widget - (update_preview_widget_visibility): Clear widget field after we - destroy it. - -2004-02-29 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_property): Handle - GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL. - (gtk_file_chooser_default_get_property): Likewise. - (struct _GtkFileChooserDefault): Added fields for preview_label, - use_preview_label, preview_display_name, preview_box. Removed - preview_frame. - (set_preview_widget): Reorder the widget in relation to the label. - (update_preview_widget_visibility): Create or destroy the preview - label. - (check_preview_change): Update impl->preview_display_name and the - label. - (find_good_size_from_style): Use the preview_box. - (gtk_file_chooser_default_finalize): Free - impl->preview_display_name. - (gtk_file_chooser_default_init): Initialize - impl->use_preview_label. - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a - "use-preview-label" property. - (gtk_file_chooser_set_use_preview_label): New function. This sets - whether one wants the file chooser to display a stock label with - the previewed filename. Apps that do really fancy previews can - turn this off and draw the name themselves. - (gtk_file_chooser_get_use_preview_label): New function. - (gtk_file_chooser_get_preview_widget_active): Documentation fix. - - * gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a - GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value. - - * gtk/gtkfilechooserutils.c - (_gtk_file_chooser_install_properties): Override the - "use-preview-label" property. - -Sun Feb 29 04:43:29 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and - Shift-Tab work when the completion popup is shown. - -2004-02-28 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for - the title of the filename column. - (create_file_list): Likewise. - -Sun Feb 29 03:31:42 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Fix Page_Up - and Page_Down in the completion popup to move page-wise if we're - scrolling. - -2004-02-28 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (set_cell_text_bold_if_folder): - Removed. - (list_name_data_func): Don't call the function above. - (list_mtime_data_func): Likewise. - -Sun Feb 29 02:34:35 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_position): New - function which calculates position and size for the popup in - list mode. Currently it only pushes the popup horizontally - into the screen. - -Sun Feb 29 01:10:09 2004 Matthias Clasen - - * gtk/gtkcombobox.c: Implement the previous fix in a better way, - small cleanups. - -2004-02-28 Hans Breuer - - * gtk/gtkfilesystemwin32.c : applied patch from - J. Ali Harlow , fixes bug #135641 - -Sat Feb 28 23:30:36 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_popup): Actually resize the - popup window before popping up. (#135651) - -Sat Feb 28 23:29:35 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): - * gtk/gtkcombobox.c (gtk_combo_box_init): Override the default - handler for style_set in class_init instead of connecting to - the signal in init. (noticed by Yosh). - -Sat Feb 28 14:48:35 2004 Owen Taylor - - * demos/gtk-demo/main.c (read_line): #ifdef HAVE_FLOCKFILE, - not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali Harlow) - -2004-02-28 Hans Breuer - - * gtk/gtkfilesystemwin32.c : adapt to add -> insert_bookmark - change. Also merged some crossplatform code from - gtkfilesystemunix.c - * gtk/gtk.def : updated externals - - * gtk/makefile.msc.in : added gtkfilechooserembed.obj - -2004-02-28 Hans Breuer - - * gdk/win32/gdkdnd-win32.c : set current_dest_drag to NULL - when destroying, fixes bug #120007. Also removed the mirrored - ref counting for deprecated gdk_drag_context_() - cause it wasn't reliable anymore anyway. - - * gdk/win32/gdkdisplay-win32.c : fix typo, which should - have broken the win32 build for everyone not using msvc - - * gdk/win32/gdkevents-win32.c : WM_GETMINAMXINFO ensure not to - return negative values for ptMaxTrackSize, it caused snapping - windows to their minimum size - -Sat Feb 28 01:39:01 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support - switching back to non-gridded mode. (#135169) - -Fri Feb 27 22:29:46 2004 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4". - -Fri Feb 27 18:52:19 2004 Jonathan Blandford - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_style_set): - Whoops. Didn't mean to commit the size change. - -Fri Feb 27 18:46:27 2004 Jonathan Blandford - - * gtk/gtkfilechooserembed.h: New private interface to help - negotiate the default size of the widget. Still a bit buggy, but - better than the old behavior. - - * gtk/gtkfilechooserdefault.c: Implement the embed interface. - - * gtk/gtkfilechooserwidget.c: Proxy the embed interface. - - * gtk/gtkfilechooserdialog.c: Use the embed interface. - -2004-02-27 Federico Mena Quintero - - * gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a - "position" argument. - - * gtk/gtkfilesystem.h (GtkFileSystemError): Added value for - GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS. - (struct _GtkFileSystemIface): Added a "position" argument to the - ::insert_bookmark() method. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark): - Updated; renamed from gtk_file_system_unix_add_bookmark(). Return - an error if the path already exists in the bookmarks list. - (gtk_file_system_unix_remove_bookmark): Return an error if the - path does not exist in the bookmarks list. - - * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path): - For now, use gtk_file_system_insert_bookmark() with -1 for the - position. DnD will come next. - -Fri Feb 27 21:42:28 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_relayout): - * gtk/gtkcombobox.c (gtk_combo_box_style_set): Simplify, only - create a new setup if appearance actually changed. - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear): - * gtk/gtkcombobox.c (gtk_combo_box_get_cell_info): Make - these more robust. (#127623, Damon Chaplin) - -Fri Feb 27 15:06:00 2004 Jonathan Blandford - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove - folder-mode property. - - * gtk/gtkfilechooserutils.c - (_gtk_file_chooser_install_properties): remove FOLDER_MODE property. - -Thu Feb 26 17:38:40 2004 Manish Singh - - * gtk/gtkcombobox.c: Add function declaration for - gtk_combo_box_list_remove_grabs(). - -Fri Feb 27 02:33:21 2004 Matthias Clasen - - * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as - cursor move, but not Home and End. - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down - jump to the ends of the list, not Home and End - since we're not - scrolling yet, a "page" is always the complete list. (#127430, Marco - Pesenti Gritti) - -Fri Feb 27 00:39:11 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): - * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let - the priv pointers dangle. (#127623, Damon Chaplin) - -Thu Feb 26 17:31:34 2004 Manish Singh - - * gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/ - -Thu Feb 26 19:53:32 2004 Owen Taylor - - * gdk/x11/xsettings-common.h (xsettings_client_process_event): - Add xsettings_client_set_grab_func, - Add xsettings_client_set_ungrab_func to the list of renames. - -Thu Feb 26 19:48:39 2004 Owen Taylor - - * gdk/x11/xsettings-client.c (read_settings): Fix memory leak - in case of mismatched property type. - -Thu Feb 26 18:25:57 2004 Jonathan Blandford - - * gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder - modes to the enum. - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove. - (gtk_file_chooser_get_folder_mode): Remove - -Thu Feb 26 17:29:04 2004 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Return - GDK_FILTER_CONTINUE for unhandled message types. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Allow - multiple filters for the same event type with the standard - "GDK_FILTER_CONTINUE == pretend I wasn't here" semantics. - - * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter): - Append to the filter list not prepend, since order now matters. - - * gdk/win32/gdkevents-win32.c (gdk_add_client_message_filter): - Append to the filter list not prepend, since order now matters. - -Thu Feb 26 23:39:07 2004 Matthias Clasen - - Fixes for #135333, analysed by Damon Chaplin: - - * gtk/gtkcombobox.c (gtk_combo_box_list_button_pressed): Don't - grab here. - * gtk/gtkcombobox.c (gtk_combo_box_popup): Do the grabs here, - so that we don't forget to grab when the menu is popped via - keynav. - * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Don't - ungrab here. - * gtk/gtkcombobox.c (gtk_combo_box_popdown): Do the ungrabs here. - -Thu Feb 26 23:26:00 2004 Soeren Sandmann - - * gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize - cursors for resize grips. (Bug #129621) - - * gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation - fix - patch by Torsten Schoenfeld. - - * gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request - space between the items. (Bug #110775) - - * gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding - inside menu items that are inside a menu bar. (Bug #110775) - - * configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_, - not GDK_PACKAGES, to prevent applications from getting linked to - it (Bug #119804) - - * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical - ipadding inside the item. (Bug #61843) - -Thu Feb 26 22:56:40 2004 Matthias Clasen - - * gtk/gtkwidget.c: Replace gtk_widget_get_mnemonic_widgets() - by list_mnemonic_widgets() in doc comments as well. - -Thu Feb 26 16:36:38 2004 Owen Taylor - - Fixes from Torsten Schoenfeld. - - * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): - Fix name in doc comment. - - * gtk/gtkwidget.h: gtk_widget_list_mnemonic_labels(), - not get_mnemonic_labels. - -Thu Feb 26 22:20:44 2004 Matthias Clasen - - * gtk/gtkcomboboxentry.h: - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New - convenience API to construct simple text combos, implemented by - Damon Chaplin. - - * tests/testcombo.c: Use gtk_combo_box_entry_new_text. - -Thu Feb 26 22:19:29 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_new_text): Improve the docs. - -Thu Feb 26 15:43:43 2004 Owen Taylor - - * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality - in a simplified form as gtk_draw_insertion_cursor(). - (#99031, request from Alex Larsson) - - * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c: - Adapt to new gtk_draw_insertion_cursor(). - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init) - gtk/gtkstyle.c (gtk_style_class_init): Add some missed - Since: 2.4. - - * gtk/gtkiconfactory.c (icon_size_settings_changed) - gtk/gtkicontheme.c (do_theme_change) - gtk/gtkrc.c (_gtk_rc_context_get_default_font_name) - * gtk/gtksettings.c (gtk_settings_notify): - _gtk_rc_reset_styles => gtk_rc_reset_styles. - -Thu Feb 26 21:52:58 2004 Matthias Clasen - - Fixes for #127804 and #134722, Damon Chaplin: - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start): - Ref and sink the cell renderers here. - - * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the cell - renderers here, and free attributes and func_data. - -Thu Feb 26 21:41:38 2004 Matthias Clasen - - * gtk/gtkrc.c (gtk_rc_reset_styles): Mark as 2.4 API addition. - -Thu Feb 26 14:47:22 2004 Dom Lachowicz - - * gtk/gtk.def: Export gtk_rc_reset_styles() - -Thu Feb 26 14:47:22 2004 Owen Taylor - - * gtk/gtkrc.[ch]: Export gtk_rc_reset_styles(). - (Request from Dom Lachowicz, #123769) - -Wed Feb 25 19:11:31 2004 Owen Taylor - - * gtk/gtkradiobutton.[ch] gtk/gtkradiomenuitem.[ch]: Add a - ::group-changed signal emitted when the radio button/menu item - is moved from one group of radio buttons to another. - (#79563, based partially on a patch from Padraig O'Briain) - -Thu Feb 26 13:23:47 2004 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (set_text_property): Use the right - free() function. (#135511, George Bronnikov) - -2004-02-26 Federico Mena Quintero - - * configure.in: Added a comment to inform translators that they - must add .po files to both po/ and po-properties/ when they add - new languages to ALL_LINGUAS. - -Wed Feb 25 15:36:50 2004 Owen Taylor - - * gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text_for_display): - Call g_convert(), not g_convert() with fallback, since Emacs is - happier if we reject the COMPOUND_TEXT request and it can - then ask for UTF-8. (#114527) - - * gtk/gtkselection.c (gtk_selection_data_set_text): When - TEXT is requested, if COMPOUND_TEXT fails, fall back to STRING. - -Wed Feb 25 22:35:00 2004 Tomasz Kłoczko - - * cinfigure.in: After changes in G_DEFINE_TYPE minimal required glib - vesion for build gtk+ is now 2.3.3. - -Wed Feb 25 16:00:40 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (update_appearance): move the - expander code. - -2004-02-25 Danilo Šegan - - * configure.in (ALL_LINGUAS): po-properties/sr@ije.po added, so - adding back sr@ije. - -2004-02-25 Federico Mena Quintero - - * configure.in (ALL_LINGUAS): Remove sr@ije until po-properties/ - is fixed for it. - -Wed Feb 25 12:44:49 2004 Owen Taylor - - * gtk/gtkstyle.[ch]: Make realize and unrealize signals. (#73310) - -Wed Feb 25 12:21:32 2004 Owen Taylor - - * gtk/gtkwidget.[ch] gtk/gtklabel.c: Patch from - Padraig O'Briain to add gtk_widget_add/remove_mnemonic_label, - gtk_widget_get_mnemonic_labels(). (#103456) - -2004-02-25 Danilo Šegan - - * configure.in: Added sr@ije to ALL_LINGUAS. - -Wed Feb 25 09:46:34 2004 Owen Taylor - - * gtk/gtkstyle.c (gtk_style_finalize): Free - style->icon_factories (#130128) - -Wed Feb 25 03:52:58 2004 Jonathan Blandford - - * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around - internal buttons. - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): - rename some widgets to make it clear where they are packed. - (update_appearance): New function to handle all the 'logic' of - layout in one place. We aren't trying to keep all our properties - in sync. - (gtk_file_chooser_default_set_property): use update_appearance() - -2004-02-24 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed - from create_shortcuts_model(). - (struct _GtkFileChooserDefault): Renamed the shortcuts_tree field - to shortcuts_list. - (shortcuts_list_create): Renamed from shortcuts_tree_create(). - (create_file_list): Enable the tree view as a model drag source. - (create_folder_tree): Likewise. - - * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_get_type): - Register the drag source interface. - (drag_source_iface_init): New function. - (drag_source_row_draggable): New function. - (drag_source_drag_data_get): New function. - -Tue Feb 24 19:12:07 2004 Owen Taylor - - * === Released 2.3.4 === - - * configure.in: Bump version to 2.3.4, fix broken - gtk_binary_age value by copying the GLib logic - to automatically set it to the right values. - -Wed Feb 25 00:13:24 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): - * gtk/gtkcombobox.c (gtk_combo_box_list_row_changed): - Don't resize priv->cell_view if it is NULL. (#127804, - Damon Chaplin) - -Wed Feb 25 00:06:50 2004 Matthias Clasen - - * gtk/gtkcombobox.c: Add a comment about the different - modi of this widget. Get rid of priv->hbox, and some other - cleanups. Make sure that gtk_combo_box_unset_model() is - always called before setting up a different mode. - -Tue Feb 24 17:51:49 2004 Owen Taylor - - * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Convert - underscores in keyval names to spaces. (#131480) - -Tue Feb 24 17:35:59 2004 Owen Taylor - - * m4macros/gtk-2.0.m4: Add some quotes around ***. (#130073, - Uwe Zeisberger) - -Tue Feb 24 14:45:03 2004 Owen Taylor - - * === Released 2.3.3 === - - * configure.in: Version 2.3.3, interface age 0. - - * NEWS: Finish updates for 2.3.3. - -2004-02-24 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a plain - GtkEntry for the filename, not a GtkFileChooserEntry. - (update_chooser_entry): Use gtk_entry_set_text() rather than - _gtk_file_chooser_entry_set_file_part(). - (gtk_file_chooser_default_set_current_name): Likewise. - (gtk_file_chooser_default_set_current_folder): Don't set the base - folder of the entry, and don't call update_chooser_entry(). - (gtk_file_chooser_default_get_paths): Use the plain entry. - (save_widgets_create): Store the "Save in Folder" label in the - impl structure. - (expander_activate_cb): Set the sensitivity of the label and - combo. - (save_widgets_create): Connect to "notify::expanded" rather than - "activate" on the expander. - (expander_changed_cb): Renamed from expander_activate_cb(). Flip - the conditions again... - -Tue Feb 24 14:43:07 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): only draw the sort - column as different if there are 3 or more visible columns. - -2004-02-24 Anders Carlsson - - * gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator): - Fix compilation (#135278, Padraig O'Briain). - -2004-02-24 Anders Carlsson - - * gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop): - Translate the desktop label. - - (shortcuts_get_index), (shortcuts_add_bookmarks), - (shortcuts_insert_separator), (create_shortcuts_model): - Don't show the bookmark separator if there are no bookmarks. - -Tue Feb 24 01:41:30 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the - dialog look like the nautilus dialog. - (expander_activate_cb): get the order correct. - -2004-02-23 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (list_selection_changed): Call - bookmarks_check_add_sensitivity(). - (shortcut_exists): New helper function; moved the testing code - over from bookmarks_check_add_sensitivity(). - (bookmarks_check_add_sensitivity): Check the contents of the - selection in the file/folder list. Use shortcut_exists(). - (shortcuts_add_bookmark_from_path): Don't insert the bookmark if - the path is already in the shortcuts list. - (add_bookmark_button_clicked_cb): Add the bookmarks from the list - selection or from the current folder, as appropriate. - -Mon Feb 23 21:09:06 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (shortcuts_pane_create): Add - mnemonics. Sorry translators. - -Tue Feb 24 02:24:58 2004 Matthias Clasen - - * NEWS: Additions. This should be complete for the main ChangeLog - now, still need to sift through gdk-pixbuf, docs, and translations. - -Mon Feb 23 19:57:45 2004 Jonathan Blandford - - * gtk/gtkcellrendererseptext.c (gtk_cell_renderer_sep_get_size): - Add a get_size implementation so that we are no longer the same - height as text. - -2004-02-24 Anders Carlsson - - * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path), - (shortcuts_remove_rows), (shortcuts_append_bookmarks), - (create_shortcuts_model), (shortcuts_tree_create), - (gtk_file_chooser_default_remove_shortcut_folder): - Improve bookmark list rendering by controlling the visibility - of the pixbuf cell so that it will be invisible for the separator - row, also use a list store instead of a tree store for the model - so we won't get unnecessary space for an expander. - -Tue Feb 24 01:08:27 2004 Matthias Clasen - - * gtk/gtkcombobox.c: Add a destroy implementation in order to - set priv->cell_view to NULL before finalize stumbles over the - dangling pointer. This big array of pointers into the widget - tree in GtkComboBoxPrivate is really fragile and should be - cleaned up. - -Mon Feb 23 17:52:43 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (main_paned_create): use a size - group when allocating space for the buttons at the bottom just in - case. Also, move the filter to below the file list. - -Mon Feb 23 16:52:12 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_class_init): Seth was confused by - keybindings. They should be Alt, not Ctl. Also, A-Home should go - home, not up. - -Mon Feb 23 15:23:23 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (gtk_path_bar_set_path): Display the root a bit - more cleanly. - - * gtk/gtkpathbar.h (struct _GtkPathBarClass): fix the signal. - -2004-02-23 Federico Mena Quintero - - Rework the user interface of the file chooser, as per - Seth Nickell's design. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_class_init): Add binding signals and bindings: - "location-popup" - C-l - "up-folder" - C-Up - "home-folder" - C-Home - (up_folder_handler): New function; moved the code from up_button_clicked(). - (up_button_clicked_cb): Call up_folder_handler(). - (home_folder_handler): New function. - (location_popup_handler): New function. - (struct _GtkFileChooserDefault): Add an hpaned field. - (gtk_file_chooser_default_set_current_name): Check that we are in - Save mode. - (save_widgets_create): New function, create the widgets specific - to Save mode. - (main_paned_create): New function, create the hpaned's widgets here. - (gtk_file_chooser_default_constructor): Create the open and save - widgets, and show only one set. - (gtk_file_chooser_default_set_property): Show/hide the save widgets. - (gtk_file_chooser_default_get_paths): Only pay attention to the - entry in Save mode. - (update_chooser_entry): Update the entry only in Save mode. - (entry_activate): Removed. - -Mon Feb 23 11:20:34 2004 Owen Taylor - - * configure.in: Remove the configure.in check for fontconfig - entirely; it's not needed, since PangoXft implies that sufficiently - new fontconfig is present. - -Mon Feb 23 02:26:53 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (gtk_path_bar_finalize): - for (i = 0; i < 10; i++) - g_print ("I will compile before committing.\n"); - -Mon Feb 23 02:08:42 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (file_pane_create): Use the - GtkPathBar by default now. - - * gtk/gtkpathbar.c (gtk_path_bar_set_path): Correctly set the - current path from the path. - (gtk_path_bar_class_init): new signal - (button_clicked_cb): emit the signal when we're selected. - (gtk_path_bar_clear_buttons): Fix a crasher when we weren't - clearing thr first_scrolled_button. - -Mon Feb 23 02:26:15 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Fix the - allocation for the toggle button so that it actually shows up - in LTR list mode. - - * gtk/gtkcombobox.c (gtk_combo_box_set_column_span_column): - * gtk/gtkcombobox.c (gtk_combo_box_set_row_span_column): - * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Add - notification, and avoid excessive relayouting. - -Mon Feb 23 00:38:21 2004 Matthias Clasen - - Fix bug 134982, reported by Morten Welinder: - - * gtk/gtkpathbar.c (gtk_path_bar_destroy): - * gtk/gtktooltips.c (gtk_tooltips_destroy): - * gtk/gtkinvisible.c (gtk_invisible_destroy): Chain up to the - parent's ::destroy handler. - - * gdk/gdkdisplay.c (gdk_display_dispose): Chain up to the - parent's ::dispose handler. - -Sat Feb 21 19:09:55 2004 Manish Singh - - * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE - stuff with an #ifdef, so we still build with most fontconfig versions. - -Sun Feb 22 03:03:29 2004 Matthias Clasen - - * gtk/gtkaction.c: (gtk_action_finalize): - * gtk/gtkclipboard.c: (gtk_clipboard_finalize): - * gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init), - (gtk_entry_completion_finalize): - * gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize): - * gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init), - (gtk_file_system_model_finalize): - * gtk/gtkicontheme.c: (gtk_icon_theme_class_init), - (gtk_icon_theme_finalize): - * gtk/gtktextchild.c: (gtk_text_child_anchor_finalize): - * gtk/gtkuimanager.c: (gtk_ui_manager_class_init), - (gtk_ui_manager_finalize): - * modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize): - Add chains to the parent's ::finalize() handler (#134901, Morten Welinder, - patch by Jan Arne Petersen) - -Sun Feb 22 02:10:34 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func): - Don't crash if item is NULL. (#131542, Dan Damian) - -Sun Feb 22 02:04:03 2004 Matthias Clasen - - * configure.in: Add a check for a new enough fontconfig, since - we picked up a direct dependency on it with the Xft settings. - -Sun Feb 22 00:23:40 2004 Matthias Clasen - - Bug 112647 (Bill Haneman, patch by Narayana Pattipati): - - * gtk/gtkcheckmenuitem.c: Introduce a new style property - indicator_size and use it instead of the hardcoded value. - - * gtk/gtkmenu.c (gtk_menu_size_request): Make sure each menu - item gets enough vertical space for the label and the indicator. - -Sat Feb 21 20:20:11 2004 Soeren Sandmann - - * gtk/gtksettings.c (gtk_settings_class_init): Use P_ instead of - _ for the new Xft settings. - -Sat Feb 21 20:09:53 2004 Soeren Sandmann - - Bug 130790 (Federico Mena Quintero, Owen Taylor) - - * gdk/x11/gdkevents-x11.c: Add Xft XSETTINGS - - * gtk/gtksettings.c: Add new GtkSettings corresponding to the Xft - XSETTINGS - -Sat Feb 21 19:18:26 2004 Soeren Sandmann - - Bug 132502 - - * gtk/gtkmenu.c (gtk_menu_motion_notify): Make sure we pop down - if we enter a non-selectable menu item. - - * gtk/gtkmenu.c (gtk_menu_leave_notify): Don't pop a submenu - when the user has left the item. - -Sat Feb 21 17:57:35 2004 Soeren Sandmann - - * gtk/docs: Commit auto-generated changes - -Fri Feb 20 18:20:22 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c: conditional compile for GtkPathBar - - * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Clean up - allocation code. Works fully in RTL languages, I think. - (gtk_path_bar_scroll_up): Scroll up. - (gtk_path_bar_scroll_down): Scroll down. - -2004-02-20 Christian Rose - - * configure.in: Added "en_CA" to ALL_LINGUAS. - -2004-02-20 Michael Meeks - - * gtk/gtktoolitem.c (gtk_tool_item_property_notify): impl. - (gtk_tool_item_class_init): hook it up. - (gtk_tool_item_set_proxy_menu_item): synchronize sensitivity. - - * gtk/gtktoolbutton.c (gtk_tool_button_property_notify): - chain to parent, fix strcmp bug. - - * tests/testtoolbar.c (main): re-arrange widgets to allow - more overflowing toolbar goodness. - -2004-02-20 Alexander Larsson - - * gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop): - Desktop directory is not translated. - (set_tree_model): - There might not be volumes for all paths. - * gtk/gtkfilechooserwidget.c: - (gtk_file_chooser_widget_constructor): - Use gtk_file_chooser_set_current_folder to set cwd. - -Thu Feb 19 19:58:53 2004 Jonathan Blandford - - * gtk/gtkpathbar.[ch]: New widget to handle the path in the - fileselector implementation. Not hooked up to anything yet. - - * gtk/Makefile.am: support the path bar. - -Fri Feb 20 00:21:38 2004 Matthias Clasen - - * gtk/gtkstyle.c (gtk_default_draw_handle): - (gtk_default_draw_box): Make the paned handles gray when the the - widget is_focus() but not HAS_FOCUS(). (#122751, Soeren Sandmann) - -Thu Feb 19 23:41:06 2004 Matthias Clasen - - Fixes for #82099: - - * gdk/x11/gdkevents-x11.c: Introduce new XSettings "Gtk/ButtonImages" - and "Gtk/MenuImages" and map them to "gtk-button-images" and - "gtk-menu-images". - - * gtk/gtkimagemenuitem.c: Add a boolean setting "gtk-menu-images" and - use it to set the visibility of the embedded image. - - * gtk/gtkbutton.c: Add a boolean setting "gtk-button-images" and use - it to set the visibility of an embedded image. - -Thu Feb 19 21:26:10 2004 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): - Give each radio action its own value. (#134889, Paolo Borelli) - -2004-02-19 Federico Mena Quintero - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_finalize): - Chain to the parent's ::finalize() handler. Fixes #134885; caught - by Jan Arne Petersen. - -2004-02-19 Mark McLoughlin - - Make the entire expander widget width prelight as suggested - by Seth in bug #134263. - - * gtk/gtkexpander.c: - (gtk_expander_paint_prelight): impl. - (gtk_expander_paint): use it. - (gtk_expander_redraw_expander): don't only redraw the - arrow when prelit. - -2004-02-19 Alexander Larsson - - * gtk/gtkfilechooser.c: (gtk_file_chooser_class_init): - * gtk/gtkfilechooserutils.c: - * gtk/gtkfilechooserutils.h: - * gtk/gtkfilechooserwidget.c: - Remove old file-system property. - Add new file-system-backend string property - - * gtk/gtkfilechooserdefault.[ch]: - Handle the file-system-backend property - - * gtk/gtkfilechooserdialog.[ch]: - (gtk_file_chooser_dialog_new_with_backend): - Remove old file-system property. - Add new file-system-backend string property - Add new function gtk_file_chooser_dialog_new_with_backend - - * gtk/gtkfilesystem.c: - * gtk/gtkfilesystem.h: - Add filesystem module support. - -2004-02-18 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_tree_create): Renamed - from create_shortcuts_tree(). - (shortcuts_pane_create): New function. - (button_new): Renamed from toolbar_button_new(). - (shortcuts_pane_create): New function, create the whole shortcuts - pane here. - (current_folder_create): Renamed from toolbar_create(). Don't - create the bookmarks buttons here. - (file_pane_create): New function. - (gtk_file_chooser_default_constructor): Use the new helper - functions, and don't use an extra vbox as GtkFileChooserDefault is - already a vbox. - -Thu Feb 19 01:39:30 2004 Matthias Clasen - - * gtk/gtkuimanager.h: - * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Add - default handlers for all signals; for consistency and for the - benefit of language bindings which still rely on header parsing - to find the signals. (#134269, Jeroen Zwartepoorte) - -Thu Feb 19 00:45:02 2004 Matthias Clasen - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): - Improve the efficiency here by prepending on the list and reverting - it after the loop. (#134435, Christian Biere) - -Thu Feb 19 00:32:21 2004 Matthias Clasen - - * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Avoid errors when - removing the plug from the socket. (#128546, Christopher Blizzard) - -Thu Feb 19 00:09:35 2004 Matthias Clasen - - * gtk/gtkradiomenuitem.h: - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_from_widget): - (gtk_radio_menu_item_new_with_label_from_widget): - (gtk_radio_menu_item_new_with_mnemonic_from_widget): New - convenience functions analogous to similar API on GtkRadioButton. - (#51700, Vitaly Tishkov, patch by Soeren Sandmann) - -Wed Feb 18 17:53:27 2004 Soeren Sandmann - - * gdk/gdkwindow.c (gdk_window_get_bg_gc): Use a scratch GC in the - case where the background is a solid color. - (gdk_window_clear_backing_rect): Reset the clip region after use. - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Go - back to using a scratch GC. Pointed out by Owen Taylor - - * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Only use a - scratch GC if the passed-in one is NULL - -Wed Feb 18 14:27:08 2004 Soeren Sandmann - - * gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip - region back to NULL on cached GC (rest of #134728) - -Wed Feb 18 13:28:57 2004 Soeren Sandmann - - Fix bug reported by Nam SungHyun (#134728) - - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): - Don't use a cached GC here since the function needs to modify the - foreground color. - - * gdk/gdkwindow.c (gdk_window_end_paint): Reset clip region back - to NULL on the cached GC. - -2004-02-17 Federico Mena Quintero - - * gtk/gtkfilechooserdialog.c - (gtk_file_chooser_dialog_style_set): Use HIG-compliant spacings. - This sucks a lot. - -Wed Feb 18 02:03:47 2004 Matthias Clasen - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Document some - peculiarities of the ::delete_range signal. (#132135, Grant Gayed) - -Wed Feb 18 01:44:59 2004 Soeren Sandmann - - GC caching, bug #125645 (based on patch by Brian Cameron) - - * gdk/gdkscreen.h (struct _GdkScreen): Add GC cache - * gdk/gdkscreen.c (gdk_screen_dispose): New function. Unref the - cached GC's here. - * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): New function to - get a scratch gc. - * gdk/gdkinternals.h: Declare the function here - - * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Use - _gdk_drawable_get_scratch_gc() instead of creating a new GC. - * gdk/x11/gdkgeometry-x11.c (gdk_window_copy_area_scroll): same - * gdk/x11/gdkdrawable-x11.c (draw_with_images): same - * gdk/gdkwindow.c (gdk_window_get_composite_drawable): same - * gdk/gdkwindow.c (gdk_window_end_paint): same - * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): same - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): same - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap): same - -Tue Feb 17 23:28:33 2004 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_init): ...and don't forget to initalize - priv->columns to 1. - -Tue Feb 17 23:11:21 2004 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_do_remove): Make sure that we keep - priv->columns >= 1 even for empty menus, since we divide by it - somewhere else. (#133428, Vincent Noel) - -Tue Feb 17 23:02:58 2004 Soeren Sandmann - - Fix for #119722, reported by Olexiy Avramchenko, patch by Owen - Taylor. - - * gdk/x11/gdkprivate-x11.h (struct _GdkGCX11): Add a depth field - - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Keep track of the GC's - depth. - - * gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_fg_xft_color): First query - the colormap, if no colormap, special case depth 1, - - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Use - _gdk_gc_x11_get_fg_xft_color() to get the foreground color. - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xft_draw): - Special-case bitmaps without a colormap. - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Use inherited - draw_pixbuf() implementation in the bitmap case. - -2004-02-17 Mark McLoughlin - - * modules/input/Makefile.am: only reference input method - modules we've actually built. Fixes re-build failure with - stale hangul module lying aroung. Bug #134518. - -Mon Feb 16 19:13:21 2004 Owen Taylor - - * gdk/gdkdraw.c: Revert last commit, please don't commit patches - without approval, this isn't the right way to do it. - -2004-02-16 DindinX - - * gdk/gdkdraw.c (gdk_draw_segments): don't try to draw more than 32767 - segments at a time, since XDrawSegments cannot handle more than this. - - fixes bug #122026. - -Mon Feb 16 18:26:39 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_set_child_property): Call - gtk_tool_item_set_expand(), not gtk_tool_item_set_homogeneous() - in the CHILD_PROP_EXPAND branch. (#134543, Damon Chaplin) - -Mon Feb 16 00:04:46 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_*): - Split declaration and assignment of combo_box. - - * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Remove a - pointless cast - -Sun Feb 15 22:08:53 2004 Matthias Clasen - - * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add - deprecation note pointing people to GtkComboBox. - -Sun Feb 15 02:49:45 2004 Matthias Clasen - - * gtk/gtktreednd.c: - * gtk/gtktreeview.c: Document the tree DND API. - - * gtk/gtktreeview.c (gtk_tree_view_unset_rows_drag_source): - Call gtk_drag_source_unset(). - -Sun Feb 15 00:49:59 2004 Matthias Clasen - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): - Make stock_size an uint property, to allow custom icon - sizes. Also clarify the blurb. (#130047, Erik Grinaker) - -Sat Feb 14 11:05:26 2004 Manish Singh - - * configure.in: Remove unnecessary STRIP_* definitions, and GNU - make check. - -2004-02-13 Federico Mena Quintero - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark): - Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist - the very first time you try to save one. - -2004-02-13 Federico Mena Quintero - - Fix #129020. - - * gtk/gtkfilechooserdialog.c - (set_default_size): New function, sets a reasonable default size - for the window. - (gtk_file_chooser_dialog_realize): New function, call - set_default_size(). - (gtk_file_chooser_dialog_style_set): Likewise. - (gtk_file_chooser_dialog_screen_changed): Likewise. - - * tests/testfilechooser.c (main): Don't set a default size for the - dialog. - -Sat Feb 14 00:05:18 2004 Matthias Clasen - - * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): - Use do instead of while. (#134031, Morten Welinder); - -Sat Feb 14 00:00:52 2004 Matthias Clasen - - * configure.in: Suppress xsltproc and xmlcatalog checks - if enable_man=no. (#134162, Julio M. Merino Vidal) - -Fri Feb 13 23:54:48 2004 Matthias Clasen - - * configure.in: Remove checks for sgml2html. It was once - used for building the linuxdoc version of the tutorial. - Nowadays, we use db2html. (#134164, Julio M. Merino Vidal) - -Fri Feb 13 08:17:43 2004 Owen Taylor - - Fix various compilation problems (#134312, David - Hawthorne) - - * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Use - g_return_if_fail(), not g_return_val_if_fail(). - - * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): - * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Use - g_return_if_reached(), not g_return_val_if_reached(). - - * gtk/gtkvscale.c (gtk_vscale_expose): Fix the types - of some parameters. - - * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Remove - extra 'scale' parameter. - -Thu Feb 12 21:58:20 2004 Owen Taylor - - Various reentrancy fixes for widgets being destroyed - out of focus-out-event. (#128821, Grant Gayed) - - * gtk/gtkwindow.c (_gtk_window_unset_focus_and_default): - Ref window and widget over callbacks. - - * gtk/gtkwidget.c (gtk_widget_hide) - gtk/gtkwidget.c (gtk_widget_set_child_visible): - Ref the widget before calling _gtk_window_unset_focus_and_default(), - since that can call user callbacks. - - * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows): - Do nothing if the widget isn't realized. - -Fri Feb 13 01:31:44 2004 Matthias Clasen - - * gtk/gtkbutton.c (_gtk_button_paint): Don't draw bevels around - active, RELIEF_NONE buttons that aren't depressed. This improves - the appearance of buttons in notebook tabs. (#109213, reported - by Benjamin Otte, patch by Rodney Dawes) - -Fri Feb 13 01:06:08 2004 Matthias Clasen - - * demos/gtk-demo/main.c (read_line): Protect getc_unlocked() by - HAVE_FLOCKFILE in all cases. (#134205, Julio M. Merino Vidal) - -Fri Feb 13 00:54:59 2004 Matthias Clasen - - Fix for #104811, Padraig O'Briain: - - * gtk/gtkscale.h: - * gtk/gtkscale.c (_gtk_scale_clear_layout): - * gtk/gtkscale.c (gtk_scale_get_layout_offsets): - * gtk/gtkscale.c (gtk_scale_get_layout): New functions to determine the - text and its position from a GtkScale, to make it more accessible. - * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): - * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): Implementations of the - new GtkScale vfunc. - -Thu Feb 12 17:59:52 2004 Owen Taylor - - * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): - Remove an extraneous + 1 (#134015, Torsten Schoenfeld) - -Thu Feb 12 23:55:08 2004 Matthias Clasen - - * gtk/gtktooltips.h: - * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): New - function to improve the accessibility of tooltips. (#114851, - Padraig O'Briain) - -Thu Feb 12 23:16:04 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_popup): - * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make these public and - add docs. (#132847) - -Thu Feb 12 11:05:16 2004 Manish Singh - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using - gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE. - - * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in - gdk_property_get call instead of 0. - - * docs/reference/gdk/tmpl/properties.sgml: Document the above - as GDK_NONE instead of simply 0. - -Thu Feb 12 15:46:26 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area - correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). - -Thu Feb 12 02:22:02 2004 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): - Correct the docs. - -Thu Feb 12 01:17:01 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call - gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work - for automatic DND. (#133485, Tommi Komulainen) - -Thu Feb 12 00:37:00 2004 Matthias Clasen - - * gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading - debug output. - -2004-02-11 Federico Mena Quintero - - * gtk/gtkmessagedialog.c (gtk_message_dialog_map): New ::map() - handler. If no widget has the focus, try to give it to the - default widget. If there is no default widget, give it to the - first button. Fixes the cause for which #59707 was reopened. - -2004-02-11 Federico Mena Quintero - - Fixes #134051. - - * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. - (icon_info_new): Don't initialize the ref_count field. - -2004-02-11 Federico Mena Quintero - - * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift - the array correctly. Fixes #134055, patch by Tosten Schoenfeld - . - -Wed Feb 11 02:23:39 2004 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle - focus [hv]adjustment correctly when the focus is located deeper - down in the hierarchy. (#133489) - -Wed Feb 11 02:06:38 2004 Matthias Clasen - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Remove - arbitrary low upper limits on the xpad, ypad, width and height - properties. (#129696, John Ellis) - -Wed Feb 11 01:24:20 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): - Ugh. Don't try to free ints, even if they're stored in pointers. - (#133997, Morten Welinder) - -2004-02-10 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): - Free the filters. Fixes #133547, patch by Morten Welinder - . - -Tue Feb 10 12:02:14 2004 Owen Taylor - - * gdk/x11/xsettings-client.c (read_settings): Avoid - triggering an X error when the client->manager_window - is None...makes logs look cleaner. - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle - GDK_NONE to mean AnyPropertyType as documented. (Reported - by Yu Shao) - - * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window, - gdk_x11_screen_get_window_manager_name): Fix error trap - we've been leaking since 2002... (#129538) - -2004-02-10 Federico Mena Quintero - - Fixes the entry-related part of #133852. - - * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change - the file part of the entry if the selected item is a folder. - -2004-02-10 Federico Mena Quintero - - Fixes #133995, patch by Morten Welinder . - - * tests/prop-editor.c (create_prop_editor): Free the title. - (object_changed): Free the children list. - -Tue Feb 10 01:58:55 2004 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment): - * gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document - these functions. - -2004-02-09 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (set_list_model): Request - GTK_FILE_INFO_ALL from the file system model, so that arbitrary - filtering will work. Perhaps we should have a way of aggregating - info types to the model as filters get installed. - -Mon Feb 9 22:22:19 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): - Ugh. Don't try to free ints, even if they're stored in pointers. - -2004-02-09 Federico Mena Quintero - - Fix #132256. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_get_paths): Read the contents of the - filename entry in both OPEN and SAVE mode. In multiple-selection - mode, add this to the selection from the file/folder list. - (struct get_paths_closure): Add a path_from_entry field. - (get_paths_foreach): Only add the iterated path if it is not the - same as the path from the entry. - -2004-02-09 Federico Mena Quintero - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): If - the folder is already open, add the requested info types to it. - -Sun Feb 8 01:28:02 2004 Manish Singh - - * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate - type casts for the gtk_window_set_screen() call. - -Sun Feb 8 01:44:06 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups - come up on the same screen as the combo box. (#133544, - Morten Welinder) - -Fri Feb 6 23:40:24 2004 Jonathan Blandford - - * gtk/gtkfilechooserdefault.c (create_file_list): clean up the - packing of the file selector. - -Sat Feb 7 01:21:09 2004 Matthias Clasen - - * gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function - calls in array initializers, as some compilers seem to hate this. - (#133216, Jonas Jonsson) - -Sat Feb 7 00:06:44 2004 Matthias Clasen - - * gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap, - by on-demand instantiating a singleton object with a "changed" - signal. - - * gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller - for GtkAccelMap::changed. - -Fri Feb 6 23:08:29 2004 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_btree_check): - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): - * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): - Actually free the lists. Pointed out by Morten Welinder. - -Fri Feb 6 22:38:54 2004 Matthias Clasen - - * gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character - positions in UTF-8 strings correctly. (#133315, Theppitak - Karoonboonyanan) - -2004-02-06 Morten Welinder - - * gtk/gtktoolbar.c (show_menu): Cleanup using - gtk_menu_attach_to_widget. Also fixes leak, see #133411. - -2004-02-06 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free the - list. Fixes #133546. - -2004-02-06 Federico Mena Quintero - - Fix #132327. - - * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add a - folder_hash field to keep a list of live folder objects. - (gtk_file_system_unix_init): Create the folder_hash. - (gtk_file_system_unix_finalize): Destroy the folder_hash. - (gtk_file_system_unix_get_folder): Ref and return an existing - folder if we have it around, otherwise return a new folder object. - (struct _GtkFileFolderUnix): Add a field for the parent file system. - (gtk_file_folder_unix_finalize): Remove the folder from the file - system's hash table. - (gtk_file_system_unix_create_folder): Emit "files-added" on the - newly-created folder's parent. Fixes #132327. - -Fri Feb 6 00:51:57 2004 Matthias Clasen - - * gtk/gtkstock.c (builtin_items): Change the labels of the - ZOOM_100 and ZOOM_FIT stock items to "_Normal Size" and - "Best _Fit", to be HIG compliant. (#124080, Mariano - Suárez-Alvarez) - -Fri Feb 6 00:45:16 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_finalize): Add a finalize - function to plug a few memory leaks. (#133544, Morten Welinder) - -Fri Feb 6 00:15:38 2004 Matthias Clasen - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_mnemonic_activate): - Support mnemonic_activate here as well. - - * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Focus - the button, not the tree_view. - -Thu Feb 5 23:48:19 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this - function, to make mnemonic_activate work for combo boxes. - (#133443, Paolo Borelli) - -Thu Feb 5 22:05:52 2004 Matthias Clasen - - * gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result - to FALSE. (#133539, Morten Welinder) - -Thu Feb 5 21:36:43 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): Fix the logic - of the depth one check. (#133488, Christian Persch) - -Thu Feb 5 01:50:19 2004 Matthias Clasen - - * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Fix - the drawing of tearoff menu items which don't come first in their - menu. (#33311) - -Thu Feb 5 00:59:08 2004 Matthias Clasen - - * gtk/gtkcombo.c (gtk_combo_entry_key_press): Use - g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan) - -2004-02-04 Federico Mena Quintero - - Fix #59707. - - * gtk/gtklabel.c (gtk_label_focus): Removed, so we don't ignore - the focus chain. - (gtk_label_button_press): Fix prototype. - (gtk_label_button_release): Likewise. - (gtk_label_motion): Likewise. - - * tests/testgtk.c (create_message_dialog): For the dialog with - only GTK_BUTTONS_CLOSE, make GTK_RESPONSE_CLOSE the default. - -2004-02-04 Morten Welinder - - * gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes - bug 133411, apart from the leak.) - -Tue Feb 3 13:39:27 2004 Manish Singh - - * gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last - in g_object_new, since it depends on lower and upper being set. - -2004-02-03 Federico Mena Quintero - - * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the - window not resizable. Fixes #114032. - -2004-02-03 Federico Mena Quintero - - * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add - documentation for the use_separator style property. - -2004-02-03 Federico Mena Quintero - - Fix #68938. - - * gtk/gtkdialog.c (GtkDialogPrivate): New private structure for - GtkDialog; right now it only contains an ignore_separator field. - (gtk_dialog_class_init): Register the private structure. - (gtk_dialog_init): Initialize the priv->ignore_separator field. - (_gtk_dialog_set_ignore_separator): New private function. - (gtk_dialog_set_has_separator): Ignore the setting if appropriate. - - * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a - use_separator style property. - (gtk_message_dialog_style_set): Change the dialog's separator - based on the style property. - (gtk_message_dialog_init): Set the dialog box to ignore the - separator setting. - -Tue Feb 3 02:35:09 2004 Matthias Clasen - - * gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32 and - also dist gtkfilesystemwin32.[hc]. - -Tue Feb 3 02:04:44 2004 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels - in rtl mode. (#129071, chinen@jp.ibm.com) - -Tue Feb 3 02:01:25 2004 Matthias Clasen - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the - meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl - mode. (#107528) - -Tue Feb 3 01:38:06 2004 Matthias Clasen - - Clip narrow columns in rtl-oriented tree views (#128089, - chinen@jp.ibm.com): - - * gtk/gtkstyle.c (gtk_default_draw_option): - * gtk/gtkstyle.c (gtk_default_draw_check): Clip to the - given area. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - Use the right clip area when calling gtk_cell_renderer_render(). - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus): - Use the right clip area when calling gtk_paint_focus(). - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): - Use the right clip area when calling gtk_paint_toggle() or - gtk_paint_check(). - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): - Clip to the expose_area when drawing the background rectangle. - -Tue Feb 3 00:14:36 2004 Soeren Sandmann - - * gdk/x11/gdkgeometry-x11.c (queue_item_free, gdk_window_queue): - Use a weak reference instead of ref()/unref(). (#60857, reported - by Joshua N Pritikin) - - * gdk/gdkimage.c (scratch_image_info_for_depth): Formatting fix. - -Tue Feb 3 00:15:17 2004 Matthias Clasen - - * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add - init_hadjust_value and prev_width. - * gtk/gtktreeview.c (gtk_tree_view_init): Initialize - them here. - * gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here. - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them - here to properly handle the initial position of rtl-oriented - tree views. (#127581, chinen@jp.ibm.com) - -2004-01-20 Federico Mena Quintero - - Fix #130846, reported by R. McFarland . - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when - we handle an event in the colums, and FALSE at the end if the - event is not handled at all. - -Mon Feb 2 23:41:48 2004 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): - Don't access the level after removing the node, since that may - kill the level. (#132615, Crispin Flowerday) - -2004-02-02 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor - in all cases. If no grab cursor specified, use the grabbing - window's cursor. If the grabbing window has no cursor, use the - default arrow cursor. (#118025) - -Mon Feb 2 22:05:36 2004 Matthias Clasen - - * gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The - latest in menu separation technology. - -Mon Feb 2 19:04:17 2004 Soeren Sandmann - - * gdk/x11/gdkwindow-x11.c: Assume gravity works. (Anything else - we have to take our chances with). - - (Bug 97510) - -Mon Feb 2 18:45:28 2004 Soeren Sandmann - - Fix bug 110224. - - * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): - Remove unused variable 'result' - - * gdk/x11/xsettings-client.[ch]: Add new set_grab/ungrab_func() functions. - - * gdk/x11/gdkevents-x11.c (_gdk_x11_events_init_screen): Use them - here. - -Mon Feb 2 14:32:32 2004 Pablo Saratxaga - - * configure.in po/uz*.po: changed default for Uzbek; now just "uz" - is in cyrillic and "uz@Latn" for latin; "uz@Cyrl" has been removed - -Sun Feb 1 16:34:07 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start - sliding when using the new API. - -Sun Feb 1 16:03:39 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure - item_area is positioned correctly. Fix #133070, reported by Jeroen - Zwartepoorte. - -Sat Jan 31 23:13:43 2004 Matthias Clasen - - * gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't - crash when finalizing an unused GtkTextChildAnchor. (#132260, - muppet) - -Sat Jan 31 22:41:57 2004 Matthias Clasen - - * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct - the documentation for new_order. (#124790, Tim-Philipp Müller) - -Sat Jan 31 22:38:07 2004 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): - Reset use_resized_width when setting fixed_width. (#108612, - Felipe Heidrich) - -Sat Jan 31 16:27:44 2004 Matthias Clasen - - * gtk/gtkmain.c (gtk_key_snooper_remove): Don't leak the - GtkKeySnooperData. (#132038, R. McFarland) - -2004-01-30 Federico Mena Quintero - - Fixes #132975. - - * gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL, - not FALSE. - (gtk_file_system_volume_render_icon): Likewise. - - * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path): - Likewise. - - * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0, - not FALSE. - - * gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not - FALSE. - - * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0, - not FALSE. - (gtk_text_iter_get_bytes_in_line): Likewise. - - * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size): - Likewise. - - * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not - 0. - -2004-01-30 Not Zed - - Fixes #132929. - - * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout - handler when we clear the timeout id. - -2004-01-30 Federico Mena Quintero - - Fix #129872, based on a patch by Jan Arne Petersen - - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_list_bookmarks): - Implement. - (gtk_file_system_unix_add_bookmark): Implement. - (gtk_file_system_unix_remove_bookmark): Implement. - -2004-01-29 Federico Mena Quintero - - Fixes #132693. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_parent): Don't - use filename_from_path(). Also, check that the filename is - absolute. - (gtk_file_system_unix_get_folder): Likewise. - (gtk_file_system_unix_create_folder): Likewise. - (gtk_file_system_unix_make_path): Likewise. - (gtk_file_system_unix_parse): Likewise. - (gtk_file_folder_unix_get_info): Likewise. - (filename_from_path): Removed. - -2004-01-30 Federico Mena Quintero - - * gtk/gtkcalendar.c (arrow_action): Remove C++ comment; reported - by Damien Carbery . Fixes #132956. - -Fri Jan 30 11:37:37 2004 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c: Revert changes from - #113476 and go back to using XftDrawSetClip, because - XftDrawSetClipRectangles is buggy in XFree86-4.3. - -Thu Jan 29 18:08:06 2004 Owen Taylor - - * gtk/gtktextlayout.c (line_display_iter_to_index) - * gtk/gtktextlayout.c (line_display_index_to_iter): Only - adjust the preedit position for lines that include the - preedit string. (#132353, Yao Zhang). How the heck - did this work as well as it did?!?! - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): - Reverse change to change of XNFilterEvents event mask from - #110493 -- it's documented and in the Xlib code an - unsigned long. - - * modules/input/gtkimcontextxim.c (preedit_start_callback): - Return -1 rather than void to indicate no length limit. - (#129548) - -Fri Jan 30 00:45:46 2004 Matthias Clasen - - * gtk/gtkadjustment.c: Add properties to GtkAdjustment. - (#64601, Murray Cumming) - -Fri Jan 30 00:13:46 2004 Matthias Clasen - - * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL - for strings to clear the list. (#105386, Marco Pesenti Gritti) - -2004-01-28 Richard Hult - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): - Free font_desc. Fixes #132805. - -2004-01-29 Federico Mena Quintero - - * gtk/gtkiconfactory.c (render_icon_name_pixbuf): Free the GError. - Patch provided by Christian Persch - Fixes #132574. - -Thu Jan 29 11:00:18 2004 Owen Taylor - - * gtk/gtkselection.c (gtk_selection_default_handler): - nul-terminate the target atoms. (#132656, Christian Persch) - -Thu Jan 29 00:59:03 2004 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): - Don't leak path if we bail out early. (#132505, Christian Persch) - -Thu Jan 29 00:48:47 2004 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_add_toggle_actions_full): - * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Do - reference counting on the user_data that is shared between - multiple signal handlers, to avoid calling the destroy notify - multiple times. (#132447, Adam Hooper) - -2004-01-28 Hans Breuer - - * gtk/stock-icons/stock_network_(16|24).png : new GTK_STOCK_NETWORK ... - gtk/gtkstock.[hc] : ... define ... - gtk/gtkiconfactory.c : ... register ... - gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : ... compile ... - * gtk/gtkfilesystemwin32.c : ... and use. Also adapt to recent - IFace changes. - - * gtk/gtk.def : added a bunch of new exported symbols - - * tests/testfilechooser.c (no_backup_files_filter) : don't crash - on filter_info->display_name being NULL - - * tests/testgtk.c : make testgtk --bench=all work again - -Wed Jan 28 21:40:47 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_action_data_func): - Don't leak string. (#132482, Christian Persch) - -Tue Jan 27 18:45:47 2004 Manish Singh - - * m4macros/gtk-2.0.m4: quote AC_DEFUN macro names so automake - 1.8 won't whine at us. - -2004-01-28 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (synthesize_leave_event, - synthesize_enter_event): Don' generate enter or leave events if - the pointer is grabbed with owner_events off, and the grab event - mask doesn't ask for them. (#129242) - - (gdk_event_translate): Ditto for focus change events. - -2004-01-27 Federico Mena Quintero - - Fix #132314. - - * gtk/gtkfilesystem.h: Removed the #ifdef-ed out, old icon API. - - * gtk/gtkfilesystem.c: Likewise. - - * gtk/gtkfilesystemunix.c (filename_get_info): Removed the old - icon-type code. - (gtk_file_system_unix_render_icon): Moved the icon-rendering code - from GtkFileInfo to here. - (gtk_file_system_unix_volume_render_icon): Implement. - -2004-01-28 Changwoo Ryu - - * modules/input/imhangul-defs.h: - * modules/input/imhangul.c: - * modules/input/Makefile.am: Remove broken hangul input module. - -Tue Jan 27 01:56:46 2004 Soeren Sandmann - - * gtk/gtktoolbar.c: Remove obsolete comment. - - * gtk/gtktoolbar.c (DEFAULT_SPACE_SIZE, SPACE_LINE_START, - SPACE_LINE_END): Make separators wider and taller, so they are - easier to pick up when editing the toolbar. - - * gtk/gtktoolbar.c (slide_idle_handler): Add a comment, simplify - a bit, - - * gtk/gtktoolbar.c (rect_within): Formatting fix - - * gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make - sliding feel more responsive by only restarting sliding when the - placeholder actually changes its goal allocation. - -Tue Jan 27 02:00:37 2004 Matthias Clasen - - * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): Avoid a - compiler warning. (#122725, Kjartan Maraas) - -Tue Jan 27 01:46:54 2004 Matthias Clasen - - Make menus work better on Xinerama (#126150): - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Calculate the - monitor_num on the screen of the menu, not of the attach widget. - - * gtk/gtkmenu.c (menu_change_screen): Forget the stored monitor_num. - (gtk_menu_window_size_request): Remember the monitor_num. - -2004-01-26 Federico Mena Quintero - - Fix #105497; constify uses of GdkColor. - - * gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify. - (gdk_gc_set_rgb_bg_color): Constify. - (gdk_gc_set_foreground): Constify. - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify. - * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify. - * gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify. - - * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify. - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify. - * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify. - * gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify. - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify. - - * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify. - (gdk_draw_layout_with_colors): Constify. - - * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify. - (gdk_pixmap_colormap_create_from_xpm): Constify. - (gdk_pixmap_create_from_xpm): Constify. - (gdk_pixmap_colormap_create_from_xpm_d): Constify. - (gdk_pixmap_create_from_xpm_d): Constify. - - * gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify. - - * gtk/gtkclist.c (gtk_clist_set_foreground): Constify. - (gtk_clist_set_background): Constify. - - * gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify. - (gtk_color_button_set_color): Constify. - - * gtk/gtkcolorsel.c (gtk_color_selection_set_current_color): - Constify and add a check for color != NULL. - (gtk_color_selection_get_current_color): Add a check for color != NULL. - (gtk_color_selection_set_previous_color): Constify and add a check - for color != NULL. - (gtk_color_selection_get_previous_color): Add a check for color != NULL. - - * gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify. - (gtk_ctree_node_set_background): Constify. - - * gtk/gtktext.c (gtk_text_insert): Constify. - (insert_text_property): Constify. - (text_properties_equal): Constify. - (new_text_property): Constify. - - * gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify. - (gtk_widget_modify_fg): Constify. - (gtk_widget_modify_bg): Constify. - (gtk_widget_modify_text): Constify. - (gtk_widget_modify_base): Constify. - -2004-01-26 Christian Rose - - * configure.in: Added "mi" to ALL_LINGUAS. - -2004-01-25 Tor Lillqvist - - * gdk/win32/gdkproperty-win32.c (gdk_property_delete): If the - WM_TRANSIENT_FOR property is being deleted, set the owner of the - window to the root window (i.e., effectively unset it). (#132411) - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkmain-win32.c: Declare, define and initialize - _wm_transient_for, a GdkAtom for WM_TRANSIENT_FOR. - - * acconfig.h: Remove HAVE_WINSOCK_H, not used any longer. - -Sun Jan 25 15:14:46 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision - to map/unmap items on whether they are actually allocated outside - the toolbar, not on whether that will eventually happen. Improves - animation in the presence of overflown items. - - * gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a - queue_resize() to so that the items will get their new goal - values and the idle handler will not immediately return FALSE. - - * gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and - make sure that a placeholder becoming invisible doesn't cause a - return TRUE. - - * gtk/gtktoolbar.c (get_item_size): Don't special case - placeholders here. - -Sat Jan 24 23:17:27 2004 Soeren Sandmann - - * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only - try to pack icon if there actually is one. - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure - OVERFLOWN items get an allocation even when they are - unmapped. This ensures they will slide in properly. - - * gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE - when there are overflown items that need to slide in. Also add - comments and make formatting more readable. - -Sat Jan 24 17:38:48 2004 Soeren Sandmann - - * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_class_init): - Add a write-only property ::group to be consistent with - GtkRadioAction and GtkRadioButton. (#132159, Patch from Olivier - Andrieu) - -Fri Jan 23 23:46:12 2004 Matthias Clasen - - * gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the - font description. (#132168) - -2004-01-23 Federico Mena Quintero - - Fix #132247. - - * gtk/gtkfilechooserdefault.c (set_select_multiple): Handle folder - mode. - (set_select_multiple): Optionally notify about changes to the - select-multiple property. - (list_selection_changed): Change the condition for the editable row to - test for save mode; this is more clear than testing for not being - in multiple selection mode. - (gtk_file_chooser_default_get_paths): Get impl->action directly - rather than calling gtk_file_chooser_get_action(). - (entry_activate): Likewise. - (set_select_multiple): Annotate about #133255. - (update_chooser_entry): Likewise. - (check_preview_change): Likewise. - (tree_selection_changed): Likewise. - -Fri Jan 23 14:56:18 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): Don't crash - when there are no columns, or all columns are hidden, #131402 - -Fri Jan 23 16:58:28 2004 Soeren Sandmann - - * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): Changing to 200 was a - mistake. Change back to 225. - -Thu Jan 22 18:46:05 2004 Owen Taylor - - * === Released 2.3.2 === - -Thu Jan 22 18:45:26 2004 Owen Taylor - - * gtk/gtkicontheme.c: Patch from Christian Neumair - to make warning string more translator friendly. - - * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch] - gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc - happy. - - * configure.in: Require GLib-2.3.2, version 2.3.2, - interface age 0, binary age 302. - - * NEWS: Organized, added some names. - -Thu Jan 22 16:59:36 2004 Jonathan Blandford - - * gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix. - -2004-01-22 Federico Mena Quintero - - * gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for - GtkWidget::popup_menu. - -Thu Jan 22 21:45:24 2004 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_remove): Remove the attach - info after calling gtk_menu_do_remove(), since that function - uses the attach info. Doh! - - * gtk/gtkmenu.c (gtk_menu_do_remove): Don't check priv->columns - for being 1 directly after setting it to 0. - -Thu Jan 22 21:38:52 2004 Soeren Sandmann - - * NEWS: Updates - -2004-01-22 Alexander Larsson - - * gdk/x11/gdkwindow-x11.c (WINDOW_IS_TOPLEVEL): - Fix typo - -2004-01-21 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): - Free the path fields. - - * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): Free - the root_path, reported by - (gtk_file_system_model_finalize): Unref the file system. - - * gtk/gtkfilefilter.c (filter_rule_free): default: - g_assert_not_reached(). - (gtk_file_filter_finalize): Free the filter->name, reported by - - (gtk_file_filter_finalize): Free the rules list. - -Wed Jan 21 18:10:40 2004 Jonathan Blandford - - * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the - color button when an alpha is set. - (gtk_color_button_set_alpha): redraw the color button when an - alpha is set. - -Wed Jan 21 23:27:14 2004 Matthias Clasen - - Fix #131869: - - * gtk/gtkaction.c (_gtk_action_emit_activate): Hold - a reference to the group while emitting the signals. - - * gtk/gtkactiongroup.c (gtk_action_group_init): Use a - destroy notify which does not only unref, but also resets - the action_group property of the action. - -2004-01-20 Federico Mena Quintero - - * NEWS: Added details about GtkFileChooser changes. - -2004-01-20 Federico Mena Quintero - - Fix #99425, add accessor functions for GtkPaned's children. - - * gtk/gtkpaned.c (gtk_paned_get_child1): New function. - (gtk_paned_get_child2): New function. - -Tue Jan 20 23:49:52 2004 Matthias Clasen - - * NEWS: Start of 2.3.2 section. - -Tue Jan 20 22:11:31 2004 Matthias Clasen - - Fixes for #130370, based on a patch by Michael Meeks: - - * gtk/gtkmenu.c (gtk_menu_do_remove): New auxiliary function to - adjust cell positions and recalculate row and column counts after - removing an item. - - * gtk/gtkmenu.c (gtk_menu_remove): Call gtk_menu_do_remove. - - * gtk/gtkmenu.c (gtk_menu_do_insert): Don't leave empty rows when - appending items. - - * gtk/gtkmenu.c (gtk_menu_attach): Don't call gtk_menu_shell_append, - to avoid an unintended recursion. - -2004-01-19 Federico Mena Quintero - - Fix #131418. - - * gtk/gtkfilechooserdefault.c (set_select_multiple): New helper - function. - (gtk_file_chooser_default_set_property): Use - set_select_multiple(). Also, re-set this mode to single if the - file chooser is set to Save mode. - (entry_activate): Handle the case where the entry is completely - empty *and* its current folder does exist. Also, there is need to - test for select_multiple here now that we ensure that it won't - happen during Save mode. - -Sun Jan 18 15:25:39 2004 Soeren Sandmann - - * gtk/gtktoolbar.[ch]: Add _gtk_toolbar_paint_space_line(), - _gtk_toolbar_get_default_space_size (); - - * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose, - get_space_size): Use them here. - -Sun Jan 18 13:16:34 2004 Soeren Sandmann - - * tests/testgtk.c (create_toolbar): Set a small size request and - make the window resizable, to test mapping/unmapping of buttons. - - * gtk/gtktoolbar.c (gtk_toolbar_remove_content, - gtk_toolbar_insert_tool_item): remove these functions. - - * gtk/gtktoolbar.c (gtk_toolbar_show_all, - toolbar_content_show_all, gtk_toolbar_hide_all, - toolbar_content_hide_all): New functions. - - Ignore show_all/hide_all for buttons created in compatibility mode. - - * gtk/gtktoolbar.c (internal_insert_element, gtk_toolbar_show_all, - gtk_toolbar_hide_all): Make sure buttons are ignored by - gtk_toolbar_show_all() and gtk_toolbar_hide_all(). - - * gtk/gtktoolbar.c: s/regular_widget/compatibility/g - - * gtk/gtktoolbar.c (struct _ToolbarContent): Allocate - GtkToolbarChild inline. Get rid of GtkToolbarChildSpace. - - * gtk/gtktoolbar.c (toolbar_content_expose): Fix bug where widget - could become NULL. - - * gtk/gtktoolbar.c (gtk_toolbar_add): Append new tool items - instead of prepending them. - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Use the same - 'elapsed' for all items. - - * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Turn booleans - into bitfields. - - * gtk/gtktoolbar.c: Many formatting fixes - -Sun Jan 18 01:51:12 2004 Matthias Clasen - - * configure.in: Add the necessary magic to create - po-properties/Makefile. - -Sat Jan 17 23:05:52 2004 Matthias Clasen - - The second part of the fix for #114351 (see also - gdk-pixbuf/ChangeLog and po/ChangeLog): - - * Makefile.am (SUBDIRS): Add po-properties. - - * configure.in (AC_CONFIG_FILES): Add po-properties/Makefile.in - - * gdk/gdkintl.h (P_): - * gtk/gtkintl.h (P_): Use translation domain gtk20-properties. - - * gtk/gtkmain.c (gtk_parse_args): Call bindtextdomain and - bind_textdomain_codeset for gtk20-properties as well. - -Sat Jan 17 22:00:07 2004 Soeren Sandmann - - * gtk/gtktoolbar.c: - - Fix rest of #128678: Implement all the toolbar_content() - methods for the old API case. - -Sat Jan 17 16:53:08 2004 Soeren Sandmann - - * gtk/gtktoolbar.c: - - Phase 1 of fixing #128678: Only access ToolbarContent through a - set of new functions: - - toolbar_content_expose, toolbar_content_visible, - toolbar_content_size_request, toolbar_content_is_homogeneous, - toolbar_content_get_child_requisition, - toolbar_content_is_placeholder, toolbar_content_disappearing, - toolbar_content_get_state, toolbar_content_child_visible, - toolbar_content_get_goal_allocation, - toolbar_content_get_allocation, - toolbar_content_set_start_allocation, - toolbar_content_get_start_allocation, toolbar_content_get_expand, - toolbar_content_set_goal_allocation, - toolbar_content_set_child_visible, toolbar_content_size_allocate, - toolbar_content_set_state, toolbar_content_get_widget, - toolbar_content_set_disappearing, - toolbar_content_set_size_request, - toolbar_content_toolbar_reconfigured, - toolbar_content_retrieve_menu_item, - toolbar_content_new_tool_item, toolbar_content_destroy, - toolbar_content_is_separator - - Also fix #127092. - -Sat Jan 17 12:55:13 2004 Soeren Sandmann - - * gtk/gtktoolitem.c (gtk_tool_item_finalize): don't leak the menu - item ID. - -Sat Jan 17 12:37:46 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the - overflow menu. - - * gtk/gtktoolbar.h (struct _GtkToolbar): Make some fields public. - [#127726] - -2004-01-16 Federico Mena Quintero - - * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModel): Added a - has_editable field. - (_gtk_file_system_model_add_editable): New function. - (_gtk_file_system_model_remove_editable): New function. - (gtk_file_system_model_get_value): Return appropriate values for - the temporary editable row. - (_gtk_file_system_model_get_info): Handle the editable row. - (_gtk_file_system_model_get_path): Likewise. - - * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): - Removed an unused variable. - (toolbar_button_new): Optionally show the button. - (up_button_clicked_cb): Renamed from up_button_cb(), fixed prototype. - (toolbar_create): Add a "New Folder" button for Save mode. - (error_building_filename_dialog): New helper function. - (gtk_file_chooser_default_get_paths): Use error_building_filename_dialog(). - (create_file_list): Connect to the "edited" signal of the text - cell renderer. Store the name column and text renderer in the - impl structure. - (renderer_edited_cb): New callback. - (gtk_file_chooser_default_set_property): Show/hide the "New - folder" button when the save action changes. - (COMPARE_DIRECTORIES): Allow the info values to be NULL. - (COMPARE_DIRECTORIES): Duh, use the list_model, not the - tree_model. - (get_list_file_info): Likewise! - (list_icon_data_func): Handle the path being NULL. - (new_folder_button_clicked): New callback. - (list_name_data_func): If we are on the editable row, set the text - to "Type name of new folder". - (list_selection_changed): Handle the editable row. - (list_mtime_data_func): Likewise. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Return - NULL, not FALSE. - (gtk_file_system_unix_create_folder): Test the result of mkdir() correctly. - -Fri Jan 16 23:59:01 2004 Matthias Clasen - - The first part of the fix for #114351 (see also - gdk-pixbuf/ChangeLog and po/ChangeLog): - - * gtk/gtkintl.h: - * gdk/gdkintl.h: Define P_() for property blurbs and nicks. - - * gdk/gdkdisplaymanager.c: - * modules/input/gtkimcontextxim.c: - * gtk/*.c: Mark property blurbs and nicks with P_(). - -2004-01-16 Federico Mena Quintero - - Fix #130969. - - * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): Added an - editing_canceled signal. - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Create the - "editing-canceled" signal. - (gtk_cell_renderer_editing_canceled): New function. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done): - Call gtk_cell_renderer_editing_canceled(). - -2004-01-16 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_property): Do not allow setting - select_multiple when in Save mode. - (set_list_model): No need to nullify the list_model and - sort_model. - (gtk_file_chooser_default_get_paths): Handle folder mode as well. - (get_paths_foreach): Likewise. - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Clarify - documentation about folder mode. - (gtk_file_chooser_get_uri): Likewise. - -2004-01-16 Federico Mena Quintero - - * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): New - get_volume_for_path() method. - (struct _GtkFileSystemIface): Finally removed the list_roots() and - get_root_info() methods, and the "roots-changed" signal. - - * gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path): New - function. - (gtk_file_system_list_roots): Removed. - (gtk_file_system_get_root_info): Removed. - - * gtk/gtkfilesystemunix.c - (gtk_file_system_unix_get_volume_for_path): Implement. - (get_root_volume): New helper function. - (gtk_file_system_unix_list_volumes): Use get_root_volume(). - (gtk_file_system_unix_list_roots): Removed. - (gtk_file_system_unix_get_root_info): Removed. - - * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Don't - accept a NULL root_path. - (struct _GtkFileSystemModel): Add a field to remember the - root_path. - (_gtk_file_system_model_new): Store the root_path in the model - structure. - (find_and_ref_path): Stop going up the hierarchy at the root_path - of the model. Also, don't return prematurely when walking up the - hierarchy. - - * gtk/gtkfilechooserdefault.c (create_file_list): Sigh, restore - the rules_hint. - (struct _GtkFileChooserDefault): Added a current_volume_path field. - (set_tree_model): New function; create the folder tree model here. - (create_folder_tree): Don't create the model here. - (set_list_model): Set the show_hidden flag on the list model. - -Fri Jan 16 00:04:43 2004 Matthias Clasen - - * gtk/gtknotebook.h: - * gtk/gtknotebook.c (gtk_notebook_append_page): - * gtk/gtknotebook.c (gtk_notebook_append_page_menu): - * gtk/gtknotebook.c (gtk_notebook_prepend_page): - * gtk/gtknotebook.c (gtk_notebook_prepend_page_menu): - * gtk/gtknotebook.c (gtk_notebook_insert_page): - * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Return the - index of the newly inserted page. (#130986, Olexiy Avramchenko) - -Thu Jan 15 23:17:14 2004 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Inserting - a 'newly-allocated' to hint that the list should be freed after - use. - -Wed Jan 14 18:01:52 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_button_press): move grab_focus - to after handling the button presses in the TreeView to avoid - getting multiple selection_changes() - -Wed Jan 14 21:16:20 2004 Matthias Clasen - - * gtk/gtkimcontext.c: Documentation fix. (#131335, Theppitak - Karoonboonyanan) - -Wed Jan 14 21:00:49 2004 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): - Don't leak name and stock_id. (#131358, Morten Welinder) - -Wed Jan 14 13:07:30 GMT 2004 Tony Gale - - * docs/faq/gtk-faq.sgml: Updates to Section 5 - -Wed Jan 14 02:34:57 2004 Matthias Clasen - - * gtk/gtkradioaction.c: Add a writable group property to align - with the GtkRadioButton API. (#129166, Olivier Andrieu) - -Tue Jan 13 14:48:27 GMT 2004 Tony Gale - - * docs/faq/gtk-faq.sgml: Update info on using autoconf - -Mon Jan 12 23:40:34 2004 Matthias Clasen - - * tests/testmerge.c: Adjust to the new connect_proxy signals. - - * gtk/gtkuimanager.c - * gtk/gtkactiongroup.c - * gtk/gtkaction.c: Move the connect_proxy and disconnect_proxy signals - from GtkAction to GtkActionGroup and proxy it on GtkUIManager. This - removes the confusion between the disconnect_/connect_proxy signals - and the (unrelated) virtual functions of the same name and aligns - the setup with the pre_/post_activate signals. - -2004-01-12 Jody Goldberg - - * gtk/gtkaction.c (connect_proxy) : only connect activate for menus - with no submenus otherwise it looks like we activate every time a - submenu opens. - -2004-01-12 Jody Goldberg - - * gtk/gtkuimanager.c: Remove accidentially committed debug spew. - -Sun Jan 11 01:55:07 2004 Matthias Clasen - - * gtk/gtkaccelmap.c: Remove accidentally committed notification stuff. - (gtk_accel_map_lock_path): - (gtk_accel_map_unlock_path): Path locking can now be nested, a missing - entry is silently created during lock_path(), and treated as an error - during unlock_path(). These changes have been requested by Tim Janik. - -2004-01-10 Jody Goldberg - - * gtk/gtkuimanager.c (d) : Add a debug macro to quiet the spew. - s/merge_signals/ui_manager_signals/ for readability. - (gtk_ui_manager_class_init) : add pre_activate and post_activate - signals. - (cb_proxy_pre_activate) : new. - (cb_proxy_post_activate) : new. - (gtk_ui_manager_insert_action_group) : connect the proxies for - GtkActionGroup::pre/post_activate - (gtk_ui_manager_remove_action_group) : disconnect them. - - * gtk/gtkactiongroup.c (gtk_action_group_class_init) : add - 'sensitive', and 'visible' properties. Also add pre_activate and - post_activate signals to help deal with activations at a higher - level (eg GtkUIManager) - (gtk_action_group_init) : init sensitive and visible - (gtk_action_group_set_property) : add sensitive and visible - (gtk_action_group_get_property) : add sensitive and visible - (gtk_action_group_get_sensitive) : new. - (gtk_action_group_get_visible) : new. - (cb_set_action_sensitivity) : new with minor optimization that only - signals sensitivity changes if the action could possibly change. - (cb_set_action_visiblility) : ditto. - (gtk_action_group_set_sensitive) : new. walk the actions directly - rather than using notify::sensitive because that is simpler, easier - to read, and more efficient. - (gtk_action_group_set_visible) : ditto. - (gtk_action_group_add_action) : Each action can only be in 1 group, - set GtkAction::action_group. - (gtk_action_group_remove_action) : clear it. - (gtk_action_group_add_toggle_actions_full) : warning suppression. - (gtk_action_group_add_radio_actions_full) : warning suppression. - (_gtk_action_group_emit_pre_activate) : new protected routine for use - by GtkAction. - (_gtk_action_group_emit_post_activate) : ditto. - - * gtk/gtkaction.c (gtk_action_class_init) : add 'action_group' property. - (gtk_action_init) : initialize it. - (gtk_action_get_property) : get. - (gtk_action_set_property) : set it via - (gtk_action_set_action_group) : new function. - (gtk_action_sync_sensitivity) : new routine to sync proxy sensitivity - with the logical sensitivity (action & group) rather than the simple - action::sensitivity. - (gtk_action_sync_visible) : use gtk_action_is_visible to handle - logical visibility (action & group) rather than the simple - action::visible. Use widget show/hide directly. - (connect_proxy) : handle the custom sensitivity handler. - Make the TOOL_BUTTON signals more general and support TOOL_ITEM - directly, with special cases for TOOL_BUTTON. Still not especially - good it might be useful to handle label/use_underline by parmspec - lookup. Those are likely to be implemented by custom types, and are - assumed to exist in GtkToolItem. - (disconnect_proxy) : disconnect the new sensitivity handler. - (_gtk_action_emit_activate) : add pre/post signals. - (gtk_action_activate) : use logical sensitivity. - (gtk_action_is_sensitive) : logical sensitivity. - (gtk_action_get_sensitive) : actual sensitivity. - (closure_accel_activate) : use logical sensitivity. - -Fri Jan 9 22:23:45 2004 Matthias Clasen - - * gtk/gtkuimanager.c: Introduce a new parser state for - accelerator elements to avoid misparsing files containing - such elements. (#131035, Morten Welinder) - -Fri Jan 9 11:58:47 2004 Manish Singh - - * gdk-pixbuf/gdk-pixbuf-io.c: #include for unlink() - -Fri Jan 9 15:28:21 GMT 2004 Tony Gale - - * docs/faq/gtk-faq.sgml: update GtkEntry filter code example - -Fri Jan 9 00:34:57 2004 Matthias Clasen - - * gtk/gtkuimanager.h: - * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): New function to - obtain a list of toplevel widgets constructed by the ui manager. - - * gtk/gtkuimanager.h (GtkUIManagerItemType): Change to flags, so that - the values can be combined for gtk_ui_manager_get_toplevels(). - - * tests/testmerge.c: Add a "Dump toplevels" button to test - gtk_ui_manager_get_toplevels(). - -Wed Jan 7 23:20:06 2004 Matthias Clasen - - * demos/gtk-demo/Makefile.am (demos): Add entry_completion.c - - * demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion - by Anders Carlsson (#130464). - -Wed Jan 7 23:07:28 2004 Matthias Clasen - - * gtk/gtkmain.h: - * gtk/gtkmain.c (gtk_events_pending): Change the return value from - gint to gboolean. (#130718, reported by Johannes Weißl) - -Wed Jan 7 23:03:32 2004 Matthias Clasen - - * gtk/gtkactiongroup.h: - * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): - Remove the redundant name and stock_id parameters, adjust all callers. - -Wed Jan 7 22:20:20 2004 Matthias Clasen - - * gtk/gtkaction.h: - * gtk/gtkaction.c (gtk_action_new): - * gtk/gtktoggleaction.h: - * gtk/gtktoggleaction.c (gtk_toggle_action_new): - * gtk/gtkradioaction.h: - * gtk/gtkradioaction.c (gtk_radio_action_new): Add creation - functions for actions. - - * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): - (gtk_action_group_add_toggle_actions_full): - (gtk_action_group_add_radio_actions_full): and use the - new functions here. (#125322, Patch by Jeff Frank) - -Wed Jan 7 21:42:49 2004 Matthias Clasen - - * gtk/gtkaccelmap.c (gtk_accel_map_lock_path): Fix grammar of - docs. - -2004-01-07 Jan Arne Petersen - - * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path), - (shortcuts_append_home), (shortcuts_append_desktop), - (shortcuts_append_paths), (shortcuts_add_volumes), - (shortcuts_append_bookmarks), (create_shortcuts_model), - (gtk_file_chooser_default_add_shortcut_folder): add REMOVABLE column - to the shortcuts_model. - - (remove_bookmark_button_clicked_cb), - (bookmarks_check_remove_sensitivity): use REMOVABLE column to check if - bookmarks can be removed. Fixes #129873 - -Wed Jan 7 02:50:55 2004 Matthias Clasen - - * demos/testpixbuf-save.c: Make s, S, Control-S, p, P, Control-P, - i, I, Control-I test gdk_pixbuf_save(), gdk_pixbuf_save_to_buffer() - and gdk_pixbuf_save_to_callback() with jpeg, png and ico formats, - respectively. Tests #82203. - -2004-01-06 Federico Mena Quintero - - * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use - 0777 as the mode for mkdir() and let the umask do the right - thing. Fixes #121819. - - * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root() - can return NULL; handle this. Fixes #129565. - -2004-01-06 Alexander Winston - - * gtk/gtkfilesel.c: (gtk_file_selection_delete_file): Removed space - that proceeded the end-of-sentence punctuation. Fixes: #130353. - -2004-01-06 Jody Goldberg - - * gtk/gtktoolitem.c (gtk_tool_item_set_property) : Call - gtk_tool_item_set_visible_vertical for PROP_VISIBLE_VERTICAL. - -2004-01-05 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Oops, - call shortcuts_add_bookmarks() here. - (remove_bookmark_button_clicked_cb): Ahem, fetch the selected - iter. - (shortcuts_append_paths): Don't display error dialogs here. - (create_file_list): Remove the @#$% rules hint. - -2004-01-05 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (toolbar_button_new): New helper - function. - (toolbar_create): Do not use a toolbar widget, just an hbox - instead. Add the bookmarks buttons and the current folder label - here. - (create_filename_entry_and_filter_combo): Create the filter combo - here. - (filter_create): Don't show the filter combo initially. - (up_button_cb): Renamed from toolbar_up_cb(). - (create_shortcuts_buttons): Removed. - -2004-01-05 Murray Cumming - - * gdk/gdkimage.h: Added documentation to the struct, as - suggested by Owen Taylor. - -2004-01-05 Jody Goldberg - - * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent - I would have prefered outdent, but compatibility seems more - important. - * gtk/gtkstock.c (builtin_items) : ditto. - * gtk/gtkstock.h : ditto. - * gtk/stock-icons/Makefile.am : ditto. - * gtk/stock-icons/stock_text_indent_16.png : - * gtk/stock-icons/stock_text_indent_24.png : - * gtk/stock-icons/stock_text_unindent_16.png : - * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme - -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. (#130349, 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(). - -2003-12-18 Jody Goldberg - - * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test - to ensure that the base hicolor theme is installed. Silently - failing to produce icons that apps assume exist in the theme seems - like a bad idea. - -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 - RTL flipping for GtkAlignment. (#127585) - -Sat Dec 6 01:13:09 2003 Matthias Clasen - - * gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the - popup window when in RTL mode. (#127578) - -Fri Dec 5 15:30:16 2003 Manish Singh - - * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from - Ross McFarland , initialize *count_p to 0 - before doing anything to prevent garbage returns. - -Sat Dec 6 00:23:46 2003 Matthias Clasen - - * gtk/gtkviewport.c: Implement RTL flipping for - GtkViewport: Adjust the "gravity" when resizing - This is a bit flickery in RTL mode. (#107526) - -Sat Dec 6 00:22:14 2003 Matthias Clasen - - * gtk/gtkscrolledwindow.c: Implement RTL flipping for - GtkScrolledWindow: the vertical scrollbar shows up on the left - side in RTL mode. (#107526) - -Fri Dec 5 01:58:33 2003 Matthias Clasen - - * gtk/gtknotebook.c: Implement RTL flipping for GtkNotebook: - tabs displayed at the top/bottom are rearranged, and tabs on - the left/right are displayed at the opposite edge. (#96630) - -2003-12-04 Mark McLoughlin - - * gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow - gtk_label_set_attributes() take NULL. See bug #128517. - -2003-12-03 Federico Mena Quintero - - * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed - the in_change flag. - (completion_idle_callback): Use a temporary list store and re-set - it on the completion rather than modifying the old one. We are - re-reading the folder anyway, and this gets rid of non-atomicity - problems. - -2003-12-01 Federico Mena Quintero - - Decouple impl->current_folder from the selection in the folder - tree. This is so that going to /home/federico/.foo (e.g. from a - bookmark) will work even if show_hidden == FALSE. The folder tree - needs to be fixed in this case to show such folders explicitly. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_current_folder): When changing - folders, do the entry and list model work here, instead of - tree_selection_changed(). - (struct _GtkFileChooserDefault): Added a changing_folder flag - again, dum de dum. - (tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path(). - -Tue Dec 2 01:01:54 2003 Matthias Clasen - - * gtk/gtkiconfactory.h: Remove duplicate declaration of - gtk_icon_source_set_icon_name(). (#Jeff Franks, #128269) - -2003-12-01 Federico Mena Quintero - - Patch from Hans-Petter Jansson to align the - bookmarks buttons with the location entry. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the - bookmarks buttons and the location entry. - -2003-12-01 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the - shortcuts tree as a drag destination. - (shortcuts_drag_data_received_cb): New callback. - (get_file_info): Also fetch information on whether the file is a folder. - (add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog(). - (error_could_not_add_bookmark_dialog): New function. - (shortcuts_add_bookmark_from_path): New helper function. - (add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path(). - (shortcuts_row_activated): We no longer need the changing_folder flag. - (struct _GtkFileChooserDefault): Likewise. - -Sun Nov 30 17:31:32 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are - disappearing placeholders that are still visible. - - * gtk/gtktoolbar.c: formatting fixes - - * gtk/gtktoolbar.c (struct _ToolbarContent): new bit: - disappearing, for placeholders that are going to disappear. - - * gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders - -Sat Nov 29 00:55:28 2003 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_new_column_width): - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button): - Patch from to handle RTL support for column - resizers, #127874 - -Fri Nov 28 00:26:24 2003 Matthias Clasen - - * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): - Don't use freed memory. (#127698, Taavi Talvik) - -Fri Nov 28 00:09:10 2003 Matthias Clasen - - * gtk/gtkfilechooserentry.c: Remove debug g_print()s. - -Thu Nov 27 22:17:50 2003 Matthias Clasen - - * gtk/gtkuimanager.c: Remove debug define. - -Thu Nov 27 16:19:03 2003 Tim Janik - - * gtk/gtkmenu.c: allow accel activation depending on sensitivity - and the attach widget. - - * gtk/gtkmenuitem.c: allow accel activation depending on visibility, - sensitivity and the parent menu. - - * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which - checks whether accelerators may activate a widget. the default handler - demands the widget be sensitive and visible+viewable. - - * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate(). - -Tue Nov 25 00:10:05 2003 Matthias Clasen - - * gtk/gtkuimanager.c (update_node): Don't show accelerators in - popup menus. (#127227) - -Mon Nov 24 13:47:39 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: start 2.x Section 4 updates - -Mon Nov 24 04:05:15 2003 Soeren Sandmann - - * gtk/gtkradiotoolbutton.[ch] - (gtk_radio_tool_button_new_from_widget): Make this function take a - GtkRadioToolButton instead of a GtkWidget. (#127729, Murray - Cumming) - -Mon Nov 24 02:34:00 2003 Soeren Sandmann - - * gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd - -Mon Nov 24 02:19:33 2003 Soeren Sandmann - - * gtk/gtktoolbar.c: remove variable - n_overflowed_menu_items_when_dnd_started - -Mon Nov 24 01:47:10 2003 Soeren Sandmann - - Rework sliding algorithm. - - No more weird jumping when items are dragged off and added to - the toolbar, - - More natural item movement - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This - function is now responsible for calculating intermediate positions - during item sliding. It is also responsible for starting sliding - if items disappear. Also turn off expanding when there is an - overflow menu. - (gtk_toolbar_begin_sliding, stop_sliding): New functions. - (slide_idle_handler): New function. All the sliding is now done by - gtk_toolbar_size_allocate(), so the idle handler now just checks - if there is more sliding to be done. - (compute_intermediate_allocation, position): new functions - calculating intermediate steps in the slide animations. The new - animation algorithm uses a constant speed instead of a constant - must-be-finished-within time. - (struct _ToolbarContent): use - GtkAllocation goal_allocation; and - GtkAllocation start_allocation; instead of - gint start/goal_width; - - * gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in - documentation - -Sun Nov 23 22:26:25 2003 Matthias Clasen - - * gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip - positioning Xinerama-aware. (#127332) - -Fri Nov 21 01:57:21 2003 Matthias Clasen - - * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor - boundaries visible in fake Xinerama mode. - -Thu Nov 20 15:41:56 2003 Manish Singh - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET() - for the gtk_widget_hide() call. - -Thu Nov 20 14:51:41 2003 Jonathan Blandford - - * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch - from David Hampton to fix sorting on booleans. - -Thu Nov 20 15:48:03 2003 Soeren Sandmann - - * gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus() - instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported - by Frederic Crozat). - -Thu Nov 20 13:10:29 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Update Section 3 to 2.x - -2003-11-19 Federico Mena Quintero - - Fixes to problems reported by Iain Holmes: - - * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not - throw up an error dialog if the desktop doesn't exist. - (error_message): Handle the case where there is no real toplevel - - yet. - (list_model_filter_func): Always let folders pass through (patch - by Dave Malcolm). - -Wed Nov 19 23:19:23 2003 Kristian Rietveld - - * gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function - to a somewhat more logical place, - (gtk_combo_box_remove_text): New function (#125262, Owen Taylor). - -Wed Nov 19 22:15:01 2003 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_completion_timeout): always resize - the popup when it is visible, popdown when there are less chars - than the minimum key length in the entry, - (gtk_entry_completion_changed): popdown when the entry is empty. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the - size request of the vscrollbar to (-1, 0), to get a nicely sized - completion treeview (Fixes #126573, reported by Piers Cornwell), - (_gtk_entry_completion_resize_popup): show/hide the action_view - based on items. - -2003-11-19 Federico Mena Quintero - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn - off the dialog's separator (thanks to Iain Holmes). - -Wed Nov 19 18:15:00 2003 Soeren Sandmann - - * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225 - * gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width - on items that have a submenu. (#120104). - -Wed Nov 19 18:11:08 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (struct _ToolbarContent): Add a new - "ItemState" field indicating the overflowed-ness etc. of the item. - (gtk_toolbar_size_allocate): update the field here. - -2003-11-19 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding - to the alignment. Use the HIG-specified spacing between the - filter label and the combo. - (create_filename_entry): Use HIG-specified spacing between the - location label and the entry. - (gtk_file_chooser_default_constructor): Don't use vertical padding - around the filename entry. - -2003-11-19 Federico Mena Quintero - - * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a - render_icon virtual method. - - * gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon): - Implement as a stub for now. - - * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use - gtk_file_system_render_icon(). - (list_icon_data_func): Likewise. - (toolbar_create): Set the toolbar style to icons only. - - * gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri): - Fix doc comments. - -Wed Nov 19 02:18:37 2003 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call - gtk_widget_hide(menu) when reattaching the menu. (#126057) - -Wed Nov 19 00:06:04 2003 Kristian Rietveld - - * gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed): - only unselect all items if the treeview has focus. (Fixes bug - reported by Marco Pesenti Gritti). - -Tue Nov 18 22:26:30 2003 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_completion_key_press): the total - number of actions is "matches + actions - 1". (Fixes #126572). - -Tue Nov 18 21:05:05 2003 Christian Persch - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix - mem leaks (#119435). - -Tue Nov 18 20:51:38 2003 Kristian Rietveld - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't - try to fetch the child back, since we do know that it is already - gone by now (#126493, Marco Pesenti Gritti). - -Tue Nov 18 19:47:59 2003 Kristian Rietveld - - Fixes based on comments from Owen Taylor, #125264. - - * gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused - variable, - (gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue - a resize, - (gtk_cell_view_get_size_of_row): new function, - (gtk_cell_view_set_value), (gtk_cell_view_set_valuesv), - (gtk_cell_view_set_values), (gtk_cell_view_set_model), - (gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row): - s/cellview/cell_view/ in the function definitions, so they match - with the header file. - - * gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize - flag again (:, and use gtk_cell_view_get_size_of_row instead of - the measurer, remove _set_size_request call, - (gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row - instead of the measurer, - (gtk_combo_box_style_set): queue a resize, - (gtk_combo_box_size_request): update of _remeasure call, - (gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start), - (gtk_combo_box_cell_layout_pack_end), - (gtk_combo_box_cell_layout_clear), - (gtk_combo_box_set_model): get rid of the measurer, - (gtk_combo_box_cell_layout_add_attribute), - (gtk_combo_box_cell_layout_set_cell_data_func), - (gtk_combo_box_cell_layout_clear_attributes): ditto and queue a - resize instead of calling _remeasure. - -Mon Nov 17 16:25:04 2003 Manish Singh - - * gdk-pixbuf/Makefile.am - * modules/input/Makefile.am: Use install-data-hook for - gdk-pixbuf.loaders and gtk.immodules install generation targets. - Fixes #112806. - - * gtk/gtkexpander.h: Apply missing declarations from #124449. - -Tue Nov 18 00:12:55 2003 Matthias Clasen - - Fix for #119555, Peter Zelezny: - - * gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image. - * gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public - by removing the _ prefix. - * gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c, - gdk/gdkwindow.c: Adjust all callers. - -Mon Nov 17 23:36:02 2003 Matthias Clasen - - * gtk/gtkaction.c (gtk_action_activate): Only activate if - the action is sensitive. (#127187, Christian Persch) - -Mon Nov 17 23:23:49 2003 Matthias Clasen - - * gtk/gtkcombobox.c: Add mouse wheel support. (#126517) - -Mon Nov 17 22:56:09 2003 Kristian Rietveld - - * gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup. - - * gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not - mapped, else resize_popup. - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup), - (_gtk_entry_completion_popup): moved all popup resizing code to - _gtk_entry_completion_resize_popup, and show the window when there - are more than zero items in the completion list again (sigh). - -2003-11-17 Mark McLoughlin - - Patch from Jaiserca to add a - "use_markup" property. See bug #124449. - - * gtk/gtkexpander.c: - (gtk_expander_class_init), - (gtk_expander_init), (gtk_expander_set_property), - (gtk_expander_get_property), (gtk_expander_set_label), - (gtk_expander_set_use_markup), (gtk_expander_get_use_markup): - Add a "use_markup" property and use it when creating the - child label. - -Mon Nov 17 12:58:32 2003 Kristian Rietveld - - Temporary size requisition fix. Will fix it for real tonight. - - * gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag, - (gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine - a good width for the child, - (gtk_combo_box_cell_layout_add_attribute), - (gtk_combo_box_set_cell_data_func), - (gtk_combo_box_cell_layout_clear_attributes): update. - -Mon Nov 17 00:11:21 2003 Kristian Rietveld - - Fixes #124373, Murray Cumming. - - * gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property - is no longer construct only, - (gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal), - (gtk_combo_box_menu_fill): new functions, - (gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy), - (gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup), - (gtk_combo_box_list_destroy): updated, - (gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed - functions, - (gtk_combo_box_set_model): is now public, updated, - (gtk_combo_box_get_model): small update. - - * gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the - text_column property is no longer construct only, - (gtk_combo_box_entry_set_text_column): now public, - (gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model): - new/changed functions. - - * tests/testcombo.c: updated. - -Sun Nov 16 22:50:58 2003 Matthias Clasen - - Reinstate fixes for (#124212, Marco Pesenti Gritti): - - * gtk/gtkuimanager.c (update_smart_separators): Don't spit - warnings for popups. - (_gtk_menu_is_empty): Return FALSE for non-menus. - -Sun Nov 16 21:48:40 2003 Kristian Rietveld - - * gtk/gtkcellview.c (gtk_cell_view_finalize): just call - gtk_cell_view_cell_layout_clear instead of trying to free the - structure ourselves here. (#125726, Morten Welinder). - -Sun Nov 16 00:35:29 2003 Matthias Clasen - - * gtk/gtkfilechooser.[hc]: - * gtk/gtkentrycompletion.h: Fix parameter name mismatches which - confuse gtk-doc. - -2003-11-15 Hans Breuer - - * gdk/makefile.msc gdk/gdk.def - gtk/gtk.def gtk/makefile.msc.in : updated - * tests/makefile.msc : added all the new tests - - * gtk/gtkfilefilter.c(finalize) : initialize filter - from object not from itself - - * gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc] - modified as less as posible to have aworking implementation - on win32. There maybe the desire to merge the unchanged pats into - a common base class. - Also implemented a simple glib based bookmark handling, which - is currently missing in gtkfilesystemunix.[hc] but can be copied - over there. - * gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h - - * gdk/win32/gdkwindow-win32.c : implement - gdk_window_set_keep_above() and gdk_window_set_keep_below() - - * tests/testmerge.c : don't include unistd.h unconditionally, - #define STDOUT_FILENO if it isn't defined - - * tests/testfilechooser.c : make it compile on win32 - -2003-11-15 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is - maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman) - -Thu Nov 13 12:55:29 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Update the rest of Section 2 - -Thu Nov 13 01:46:32 2003 Matthias Clasen - - * gtk/gtkicontheme.c (gtk_icon_theme_init): Use - GTK_DATADIR/{icons,pixmaps} instead of - GTK_DATA_PREFIX/{icons,pixmaps}. (#123365, Marco Pesenti Gritti) - -Wed Nov 12 21:40:10 2003 Matthias Clasen - - Changes to improve menu positioning on Xinerama (#108328, #126150): - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event - window of the menuitem to determine the monitor. This fixes some - - * gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field - to store the monitor on which the menu is to be positioned. - - * gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number - in the GtkMenuPrivate struct and fetch the monitor geometry after - calling the position_func, in case it has been changed. - - * gtk/gtkmenu.c (gtk_menu_set_monitor): New function - to be used in GtkMenuPositionFunc implementations for setting - the monitor_num field in GtkMenuPrivate. - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call - gtk_menu_set_monitor. - -Wed Nov 12 21:00:10 2003 Matthias Clasen - - * gtk/gtkinputdialog.c (gtk_input_dialog_init): Clarify the - label for the empty list. String change. (#95446, Tomas Ögren) - -Wed Nov 12 20:57:50 2003 Matthias Clasen - - * gtk/gtkicontheme.h (enum GtkIconLookupFlags): Correct - the definition of the values. (#123361, Marco Pesenti Gritti) - -Wed Nov 12 20:54:02 2003 Matthias Clasen - - * gdk/gdkkeyuni.c: Map KP_Separator to ','. - (#122941, Egmont Koblinger) - -2003-11-12 Padraig O'Briain - - *gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for - opacity entry widget. Change tooltip for opacity widgets. (#126426) - -2003-11-12 Padraig O'Briain - - * gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position - affect window menu position when popped from keyboard. (#102660) - -Wed Nov 12 01:29:32 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we - are using the old API, make all items "is_important". That way - BOTH_HORIZ will continue to show both icon and label in old API - mode. - -Mon Nov 10 00:40:41 2003 Matthias Clasen - - * gtk/gtkeventbox.c (gtk_event_box_set_above_child): - Remember the new value in all cases. (#126276, Damon Chaplin) - -Sat Nov 8 23:06:02 2003 Matthias Clasen - - * demos/gtk-demo/main.c (row_activated_cb): Call the do_ - functions with the toplevel as argument. - - * demos/gtk-demo/geninclude.pl.in: Change the signature - of GDoDemoFunc to take a widget argument - - * demos/gtk-demo/ui_manager.c (do_ui_manager): - * demos/gtk-demo/tree_store.c (do_tree_store): - * demos/gtk-demo/textview.c (do_textview): - * demos/gtk-demo/stock_browser.c (do_stock_browser): - * demos/gtk-demo/sizegroup.c (do_sizegroup): - * demos/gtk-demo/pixbufs.c (do_pixbufs): - * demos/gtk-demo/panes.c (do_panes): - * demos/gtk-demo/menus.c (do_menus): - * demos/gtk-demo/list_store.c (do_list_store): - * demos/gtk-demo/images.c (do_images): - * demos/gtk-demo/hypertext.c (do_hypertext): - * demos/gtk-demo/editable_cells.c (do_editable_cells): - * demos/gtk-demo/drawingarea.c (do_drawingarea): - * demos/gtk-demo/dialog.c (do_dialog): - * demos/gtk-demo/colorsel.c (do_colorsel): - * demos/gtk-demo/changedisplay.c (do_changedisplay): - * demos/gtk-demo/button_box.c (do_button_box): - * demos/gtk-demo/appwindow.c (do_appwindow): Take a widget - as argument, and make new windows or dialogs appear on the - same screen. (#80388) - -Sat Nov 8 21:59:30 2003 Matthias Clasen - - * gtk/gtkeventbox.c (gtk_event_box_class_init): Let - visible-window default to TRUE, as documented and - implemented. (#126270 Damon Chaplin) - -Sat Nov 8 01:50:17 2003 Matthias Clasen - - * gtk/gtkicontheme.c: - * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): - * gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as - 2.4 additions. - -2003-11-07 Federico Mena Quintero - - Changing GtkFileChooserEntry to use GtkEntryCompletion. - - * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create - a GtkListStore for the completion list. Create a - GtkEntryCompletion and attach it to the chooser entry. - (gtk_file_chooser_entry_finalize): Unref the completion store. - (completion_match_func): New callback for the GtkEntryCompletion. - (completion_idle_callback): Fill the completion store with filenames. - -Fri Nov 7 22:55:49 2003 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_set_role): - * gtk/gtkwindow.c (gtk_window_set_title): - * gtk/gtkwidget.c (gtk_widget_set_name): - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title): - * gtk/gtkbutton.c (gtk_button_set_label): Make string setters - safe for self-assignment. (#122745, Soeren Sandmann) - -Thu Nov 6 20:41:40 2003 Matthias Clasen - - * gtk/gtkstyle.c (gtk_style_attach): Fix doc comment. - (#126369, Olexiy Avramchenko) - -Thu Nov 6 00:21:41 2003 Matthias Clasen - - * gtk/gtkcolorbutton.c (gtk_color_button_init): - * gtk/gtkfontbutton.c (gtk_font_button_init): Improve the - consistency of titles. (#126193, Damon Chaplin) - -Wed Nov 5 22:49:36 2003 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off - menus to be transient for the toplevel they were torn off from. - (gtk_menu_get_toplevel): Auxiliary function to find the - toplevel of a menu. (#54775, Jon-Kare Hellan) - -Wed Nov 5 21:07:58 2003 Matthias Clasen - - * gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties - min-position and max-position. (#58431, Padraig O'Briain) - -Wed Nov 5 21:02:26 2003 Matthias Clasen - - * gtk/gtkcolorsel.c (update_color): - (make_label_spinbutton): - (adjustment_changed): Change the ranges for Saturation and - Value to be 0-100 instead of 0-255, since these axes of HSV - are usually expressed in percent. (#121519, Gregory Merchan) - -Wed Nov 5 08:51:48 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: More 2.x updates - -Tue Nov 4 15:00:33 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: More 2.x updates, fix - pkg-config command error, update copyright. - -2003-11-03 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as - well. Use a helper function. - (shortcuts_append_home): Display an error box if necessary. - (shortcuts_append_desktop): Likewise. - (add_bookmark_button_clicked_cb): Likewise. - (gtk_file_chooser_default_select_path): Likewise. - (entry_activate): Likewise. - (shortcuts_append_paths): New helper function. - (shortcuts_append_file_system_roots): Use - shortcuts_append_paths(). - (shortcuts_append_bookmarks): Likewise. - -Mon Nov 3 23:12:41 2003 Matthias Clasen - - * gtk/gtkuimanager.c (_gtk_menu_is_empty): Return TRUE if - menu is NULL. - (update_smart_separators): Remove some unneeded ifs. - -Mon Nov 3 22:45:58 2003 Matthias Clasen - - * gtk/gtkwindow-decorate.h: Add G_BEGIN_DECLS/G_END_DECLS to make - these usable in C++. Forgot this file in my Oct 11 commit. - -2003-11-03 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock - icon to the "Add bookmark" button. - - * gtk/gtkfilesystemunix.c: Mark missing strings for translation. - * gtk/gtkfilesystemmodel.c: Likewise. - * gtk/gtkfilechooser.c: Likewise. - * gtk/gtkfilechooserdefault.c: Likewise. - -Mon Nov 3 20:56:28 2003 Matthias Clasen - - * gdk/gdk.c: - * gdk/gdkinternals.h: - * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a - GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2 - Xinerama mode when no actual Xinerama setup is found. - -2003-11-03 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_select_folder): Removed. - (create_shortcuts_tree): Don't call the above. - (bookmarks_changed_cb): Likewise. - (tree_selection_changed): Unselect everything from the shortcuts - list. This is the behavior that Mac OS has. - (toolbar_add_item): Return the item. - (toolbar_create): Store the up_button in the impl structure. - (toolbar_check_sensitivity): New function to set the sensitivity - of the "Up" button in the toolbar. - (tree_selection_changed): Call toolbar_check_sensitivity(). - -2003-11-02 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Do - not set a border width for the toplevel container. - (toolbar_create): New function; create a simple toolbar for the - file chooser. - (gtk_file_chooser_default_constructor): Use a spacing of 12 for - the table, as per the HIG. - (gtk_file_chooser_default_init): Likewise, for the default - implementation's vbox. - - * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Added docs to - note that NULL is a valid return value for the parent path. - -Sat Nov 1 14:59:27 2003 Owen Taylor - - * gtk/gtkfilechooserdefault.c (shortcuts_row_activated): - Change on activation, not selection change (temporary - workaround for #125955, needed for keynav, likely - the right UI anyways.) - - * gtk/gtkfilechooserdefault.c (shortcuts_select_func): - Don't allow the separator node to be selected. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor): - Set the focus chain so that the entry gets focused first. - (Not really right after initial focusing, maybe we - should just have a gtk_file_chooser_focus_entry() that - we call from gtk_file_chooser_dialog on creation.) - -Sat Nov 1 12:41:04 2003 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_unfullscreen): Fix a - residual call to gtk_window_get_private(). - -Sat Nov 1 09:10:13 2003 Owen Taylor - - * gtk/gtkwindow.[ch]: Move above_initially, below_initially - into GtkWindowPrivate structure, fixing ABI breakage - on Win32. (Hans Breuer). Switch GtkWindowPrivate over - to instance-private-data. - -Fri Oct 31 02:43:34 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (get_item_requisition): delete this function - (toolbar_item_is_homogeneous): cache max_homogeneous_pixels - instead of re-calculating for each item. - (gtk_toolbar_size_allocate): Update comments - -Thu Oct 30 22:04:31 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_forall): Only include - placeholders when include_internals is TRUE. - -Thu Oct 30 17:57:53 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (logical_to_physical): Make it work even when - item 0 is a placeholder. (#125826) - * tests/testtoolbar.c: add an assertion that - gtk_toolbar_get_nth_item (0) != NULL - -Thu Oct 30 17:40:26 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (logical_to_physical): Make it work for - logical == 0.(#125826) - -Thu Oct 30 16:20:58 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (logical_to_physical): Make sure we actually - return the index of a real item. - (get_nth_item) assert that the returned items is not a - placeholder. (#125826, Marco Pesenti Gritti). - -2003-10-29 Federico Mena Quintero - - * gtk/gtkcellrendererseptext.c - (gtk_cell_renderer_sep_text_render): Only paint a separator if the - text is NULL, rather than also doing it if it is an empty string. - -Wed Oct 29 15:40:26 2003 Owen Taylor - - * gtk/gtkmessagedialog.c (gtk_message_dialog_new/ - gtk_message_dialog_new_with_format): Allow NULL - for message_format, as described in the docs and - as worked previously. (#125759, Richard Hult) - - * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): - 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. - -Wed Oct 29 15:01:32 2003 Owen Taylor - - * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move - the call to gdk_error_trap_pop() to the right place, - fixing a problem where we'd pop() too many times - when bailing out. (#123302, Thomas Leonard) - -Wed Oct 29 12:50:02 2003 Owen Taylor - - * gtk/gtkfilechooserutils.c (delegate_set_current_folder): - Fix infinite recursion. (#125679, Christian Persch) - -Wed Oct 29 13:29:15 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: further 2.x updates: - mirrors,compiling,g_main_context_iteration - -Wed Oct 29 02:54:35 2003 Soeren Sandmann - - * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this - function; remove gtk_toolbar_highlight_drop_location() and - gtk_toolbar_unhighlight_drop_location(). - - Also fix bug where the number of overflowed items were miscounted. - -Tue Oct 28 12:20:16 2003 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_has_toplevel_focus): Remove - some accidentally committed duplicate code. - -Tue Oct 28 17:06:17 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Update info on compiling GTK+ - -Tue Oct 28 10:34:24 2003 Owen Taylor - - * gtk/gtkwindow.[ch] (gtk_window_is_active, - gtk_has_toplevel_focus): Add getters corresponding to - the is_active and has_toplevel_focus properties. - (#122531) - -2003-10-28 Mark McLoughlin - - * gtk/gtkexpander.c: - (gtk_expander_class_init): hook up the destroy handler. - (gtk_expander_destroy), (gtk_expander_unrealize): - remove the expand/collapse timeout on destroy instead - of unrealize to avoid leaving the expander in a inconsistent - state when unrealizing during animation. - (gtk_expander_start_animation): remove realized check. - (gtk_expander_set_expanded): if the widget isn't realized, - expand immediately. - -Tue Oct 28 09:44:16 2003 Owen Taylor - - * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently - do nothing when recipient is NULL, as described in the - doc comment. (#123107, Thomas Leonard) - -Tue Oct 28 09:21:29 2003 Owen Taylor - - * gtk/gtkmain.c (gtk_check_version): Move docs inline, - rewrite docs, mention memory management for the return - value. (Partly addresses #125549, Michael Natterer) - -2003-10-28 Padraig O'Briain - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter): - Change index to filter_index to fix compilation error. - - * gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string. - -Mon Oct 27 15:47:58 2003 Manish Singh - - * gdk/x11/gdkscreen-x11.c: #include if - we have RandR support, for XRRUpdateConfiguration declaration. - - * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch - declaration. - - * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make - length a gsize variable, since that's what g_file_get_contents() - expects. - -Mon Oct 27 12:18:49 2003 Owen Taylor - - * NEWS: Fix attribution for above/below EWMH work. - -Sat Oct 25 23:30:13 2003 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_class_init): Add "name" - as a construct-only property. (#125475, Murray Cumming) - -Thu Oct 23 21:55:10 2003 Soeren Sandmann - - Fix bug 116297 and 125472 - - * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make - this function take an index and a GtkToolItem. - - * tests/testtoolbar.c (main): Make "Show Arrow" default to - true. Make one of the separators !draw and expand. - Update for new highlight_drop_location() API. - - * gtk/gtktoolitem.[ch]: Remove "pack_end" property - - * gtk/gtktoolbar.h: Formatting fixes. - - * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow - separator tool items to expand. - (logical_to_physical, physical_to_logical): Fix off-by-one errors - (Fix #125472, Marco Pesenti Gritti) - - * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. - (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also - return FALSE, not TRUE. - (gtk_separator_too_item_{set|get}_property, - (gtk_separator_tool_item_{set|get}_draw): new functions - -Fri Oct 24 16:54:04 2003 Owen Taylor - - * === Released 2.3.0 === - - * configure.in: Remove a stray comma. - - * README.in: Fix a few notes about Xft 1 and pango-1.0. - - * NEWS: Finish updates for 2.3.0. - - * po/Makefile.in.in: Update to latest GLib version. - -Fri Oct 24 20:31:35 2003 Kristian Rietveld - - * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch], - gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch], - gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it - under GPL licensing instead of LGPL...). (Fixes #125381, Soeren - Sandmann). - -Fri Oct 24 20:22:40 2003 Kristian Rietveld - - * gtk/gtktreemodelfilter.h: add padding to the class structure. - -2003-10-23 Federico Mena Quintero - - * gtk/gtkfilechooser.c (gtk_file_chooser_get_preview_uri): Fixed docs. - (gtk_file_chooser_remove_filter): Likewise. - (gtk_file_chooser_select_all): Added docs. - (gtk_file_chooser_unselect_all): Likewise. - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): Added docs. - - * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): Added docs. - -Thu Oct 23 23:22:15 2003 Matthias Clasen - - * gtk/gtkfilefilter.c: - * gtk/gtkfilechooser.c: Add "Since: 2.4" to all API doc comments. - -Thu Oct 23 22:33:47 2003 Matthias Clasen - - * gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup. - -Thu Oct 23 21:49:05 2003 Matthias Clasen - - * NEWS: Remove a few duplicates, group the menu changes. - -Thu Oct 23 21:12:50 2003 Kristian Rietveld - - * NEWS: Updates for 2.3.0; changed header to match the style we used - for 2.1.0. - -Thu Oct 23 20:47:44 2003 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually - assign the new leader. (#125168, Mariano Suarez-Alvarez) - -Thu Oct 23 20:21:16 2003 Kristian Rietveld - - * gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c, - gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c, - gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes. - -Thu Oct 23 15:13:56 2003 Soeren Sandmann - - * NEWS: Partial update for 2.3.0. - -Thu Oct 23 01:09:04 2003 Owen Taylor - - * gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to - GtkComboBox. - -Wed Oct 22 23:20:04 2003 Owen Taylor - - * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch] - gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]: - gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: - Basic framework for the new file selector widget. - - * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch] - gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]: - Initial implementation of the GtkFileChooser user interface. - - * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation - for Unix files. - - * configure.in gtk/Makefile.am gtk/xdgmime: Build code - for freedesktop.org MIME system on Unix. - - * tests/testfilechooser.c: Test program for GtkFileChooser - - * tests/prop-editor.c: Add support for properties on interfaces. - -Tue Oct 21 16:12:51 2003 Owen Taylor - - * demos/gtk-demo/menus.c (do_menus): Fix some unused - variables. - - * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused - variable warning. - -Thu Oct 23 00:04:50 2003 Matthias Clasen - - * NEWS: Partial update for 2.3.0. - -Tue Oct 21 22:07:12 2003 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set - ctrl_pressed and shift_pressed according to the current event - state (if there is one). (Fixes #125063, reported by Sebastien Bacher). - -Mon Oct 20 23:24:27 2003 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_key_press): remove the completion - timeout when the user pressed on Enter/ESC. Fixes the bug where the - completion popup popped up after the user pressed on Enter (which is - just weird). Reported by the Epiphany people (all of them). - -Mon Oct 20 20:27:22 2003 Soeren Sandmann - - Add support for OS X like sliding of toolbar items during drag and - drop, (#110919, Dave Bordoley) - - Make dnd highlighting the responsibility of the - application. (Fixes #116298, Owen Taylor) - - * gtk/gtktoolbar.h: Add prototypes for new API. - - * gtk/gtktoolbar.c - (physical_to_logical, logical_to_physical): new functions - converting between "position including placeholders" and "position - excluding placeholders". - (gtk_toolbar_class_init): remove drag_leave and drag_motion - handlers - (struct _ToolbarContent): new struct containing information - related to toolbar items. - (gtk_toolbar_highlight_drop_location): new public function - (gtk_toolbar_unhighlight_drop_location): new public function - - * tests/testtoolbar.c - (toolbar_drag_motion, toolbar_drag_leave): new functions - (main): connect to dnd signals. Make the "New" item expand to - make drag and drop more exciting. - -Wed Oct 15 22:39:23 2003 Kristian Rietveld - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's - _set_active, not _set_active_item. - -Wed Oct 15 22:31:09 2003 Kristian Rietveld - - * gtk/gtkcombobox.h: add padding to the class structure. - * gtk/gtkcomboboxentry.h: ditto. - * gtk/gtkentrycompletion.h: ditto. - -Wed Oct 15 22:04:59 2003 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_get_active), - (gtk_combo_box_set_active): mention in the docs that -1 is a valid - value and what it means. - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active - item to -1 (default), - (gtk_combo_box_entry_active_changed): do nothing when the index is - < 0. - -Tue Oct 14 16:10:21 2003 Jonathan Blandford - - * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function - to set the active row by iter. - - * gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function - to get the active row by iter. - -2003-10-13 Federico Mena Quintero - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do - operations on windows if the tree view is not mapped. - (gtk_tree_view_button_press): Compare equal types of pointers, not - GtkWidget* vs. GtkTreeView*. - -Mon Oct 13 21:01:43 2003 Kristian Rietveld - - * gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove - the reset of first_sel_changed, as after the first popup the treeview - will always have a row selected and will thus not focus_to_cursor. - - * gtk/gtkentry.c (keyval_is_cursor_move): new function to determine - whether the keyval should move the completion selection cursor (used - to avoid ending up with extreme cluttered code), also added - all KP_ equivalents of the keys here, - (gtk_entry_completion_key_press): Keynav tweaks based on comments - from Dave Bordoley and Marco Pesenti Gritti; add the -1 state - as possible current selection, implement Home/End keys, modified - the down key to stop cycling. Maybe page up/down should be implemented - at some later time. - -Mon Oct 13 20:58:07 2003 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work - as documented when pixmap or mask is NULL. (#124081) - -Mon Oct 13 20:21:38 2003 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_set_text): I overlooked a return when - I was adding the signal block/unblock code. Oops. (Noticed by - Marco Pesenti Gritti). - -Mon Oct 13 20:21:55 2003 Kristian Rietveld - - * demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again, - (set_interp_type), (main): port over from option menu to GtkComboBox. - -Mon Oct 13 19:41:55 2003 Kristian Rietveld - - * tests/testmenus.c: Still uses option menus, so turn off - GTK_DISABLE_DEPRECATED. - -Sun Oct 12 01:10:29 2003 Matthias Clasen - - * gtk/gtkalignment.[hc]: - * gtk/gtkcombobox.[hc]: - * gtk/gtkcomboboxentry.[hc]: - * gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros - from header to implementation. - -Sun Oct 12 00:18:02 2003 Matthias Clasen - - * tests/testtreeview.c: - * demos/testpixbuf-scale.c: - * tests/prop-editor.c: These files still use option menus, - so turn off GTK_DISABLE_DEPRECATED to fix the build. - -Sat Oct 11 23:14:36 2003 Matthias Clasen - - * gtk/gtkactiongroup.h: - * gtk/gtkaction.h: - * gtk/gtkradioaction.h: - * gtk/gtkradiotoolbutton.h: - * gtk/gtkseparatortoolitem.h: - * gtk/gtktoggleaction.h: - * gtk/gtktoolitem.h: - * gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make - these usable in C++. (#124351, Murray Cumming) - -Sat Oct 11 19:09:05 2003 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_set_text): Check if completion is - non-NULL before accessing it. Oops. - -Sat Oct 11 15:47:03 2003 Kristian Rietveld - - * gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action), - (gtk_entry_completion_insert_action_text), - (gtk_entry_completion_insert_action_markup): the gchar* parameters - should be const (pointed out by both Marco Pesenti Gritti and - Murray Cumming (#124356). - -Sat Oct 11 15:37:19 2003 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom - child list mode, allocate the height allocation->height to the - button instead of the height requested by the button. (Tiny - size allocation screwup noticed by Macro Pesenti Gritti). - -Sat Oct 11 15:23:27 2003 Kristian Rietveld - - Fixes based on comments from Marco Pesenti Gritti. - - * gtk/gtkentry.c (gtk_entry_set_text): block the completion changed - signal handler, avoids the completion popup to popup when text is - set programmatically in most cases (we actually have to handle this - in the _editable functions as well, but that will break popping up - when the user actually typed something :), - (gtk_entry_completion_key_press): when handling enter, bail out - when nothing has been selected, - (gtk_entry_completion_changed): don't popdown when the entry content - changed. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_init), - (gtk_entry_completion_selected_changed): unselect_all on the - first selected changed signal. Avoids having a default row selected, - (_gtk_entry_completion_popup): don't select the first row by default. - - * gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a - first_sel_changed field. - -Fri Oct 10 23:02:58 2003 Matthias Clasen - - * demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager - in the intro (again). - -Fri Oct 10 22:50:05 2003 Matthias Clasen - - Fixes for (#124212, Marco Pesenti Gritti): - - * gtk/gtkuimanager.c (update_smart_separators): Don't spit - warnings for popups. - (_gtk_menu_is_empty): Return FALSE for non-menus. - -Fri Oct 10 19:10:12 2003 Kristian Rietveld - - * gtk/gtkcombo.h: Deprecate. - * gtk/gtkoptionmenu.h: Ditto. - - * gtk/gtkcombobox.c (gtk_combo_box_size_request), - (gtk_combo_box_size_allocate): Rework, things behave better now. Still - needs some work on requesting enough size when taking the items in - the list into account. - - * gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable - deprecated" guards. - * gtk/gtkinputdialog.c: ditto. - * gtk/gtkitemfactory.c: ditto. - * gtk/gtkoptionmenu.c: ditto. - - * demos/gtk-demo/menus.c: remove the option menu. - * demos/gtk-demo/sizegroup.c: replace the option menus with - GtkComboBox. - * demos/gtk-demo/textview.c: ditto. - (A general GtkComboBox demo will be added later on). - -Wed Oct 8 00:06:17 2003 Matthias Clasen - - * demos/gtk-demo/ui_manager.c (activate_radio_action): New - callback to propertly report radio actions. - - * demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here. - -Tue Oct 7 23:23:05 2003 Matthias Clasen - - * gtk/gtkplug.c (xembed_set_info): Put the supported protocol - version in in the right field of the _XEMBED_INFO property. - (#123885, Denis Mikhalkin) - -Mon Oct 6 14:18:47 2003 Jonathan Blandford - - * gtk/gtkexpander.c (gtk_expander_animation_timeout): only show - the child if we have one. - - (gtk_expander_button_release): use - gtk_widget_activate instead. - -Mon Oct 6 21:05:46 2003 Matthias Clasen - - * gtk/gtktable.c (gtk_table_class_init): Start the blurb for - "right_attach" with a capital. (#123945, Christian Rose) - -Sun Oct 5 23:59:03 2003 Matthias Clasen - - * tests/testsocket.c (child_read_watch): Remove an - extraneous unref. (#122336, Frederic Crozat) - -Sun Oct 5 22:38:22 2003 Matthias Clasen - - * gtk/gtkeventbox.c (gtk_event_box_class_init): Trim - whitespace in "visible-window" blurb. (#123910, Christian Rose) - -Sun Oct 5 00:53:15 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_list_children_in_focus_order): - focus arrow before pack_end items (#123851, Matthias Clasen) - -Fri Oct 3 20:50:48 2003 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model - on ->priv->cell_view if ->priv->cell_view is non-NULL. - - * gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer - field to GtkComboBoxEntryPrivate, - (gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init), - (gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property), - (gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add - a construct-only "text_column" property and reorder code to use it - and support inheriting this widget. - -Thu Oct 2 23:28:02 2003 Kristian Rietveld - - * gtk/gtkcombobox.c: Added API doc comments. - - * gtk/gtkcomboboxentry.c: Ditto. - -2003-10-02 Matthias Clasen - - * gtk/gtktoggleaction.c: Documentation tweaks. - -Wed Oct 1 22:43:40 2003 Kristian Rietveld - - * gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop - packing/attribute/cell data functions from the header, - (gtk_cell_view_set_cell_data): added support for cell data funcs. - - * gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop - packing/attribute/cell data functions from the header, implemented - cell data func support. - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated - for the move to GtkCellLayout. - - * tests/testcombo.c (create_combo_box_grid_demo), (main): ditto. - -2003-10-01 Matthias Clasen - - * gtk/gtkaction.c (gtk_action_class_init): - (gtk_action_[gs]et_property): Introduce a separate - "hide_if_empty" property for empty menu handling. - (_gtk_action_sync_menu_visible): ...and use it here. - - * tests/testmerge.c (main): ...and here. - - * gtk/gtktoolitem.c (gtk_tool_item_class_init): Fix signal doc - comments to pacify gtk-doc. - - * gtk/gtkmain.c: Doc formatting tweaks. - - * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo. - - * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio): - Use the same parameter names as in .c file, to pacify gtk-doc. - - * gtk/gtktoggletoolbutton.[hc]: - * gtk/gtktoolbutton.[hc]: - * gtk/gtktoolitem.[hc]: - * gtk/gtktoolbar.[hc]: - * gtk/gtkcolorbutton.[hc]: - * gtk/gtkfontbutton.[hc]: - * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the - source, not in the header. - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio): - Document these as 2.4 API additions. - -Tue Sep 30 23:42:56 2003 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_set_completion), - (gtk_entry_get_completion): Add API doc comments. - - * gtk/gtkentrycompletion.c: Fix #includes and add API doc comments. - -Tue Sep 30 23:12:34 2003 Kristian Rietveld - - * gtk/gtktreemodelfilter.c: Add "Since: 2.4" to all API doc comments. - -Tue Sep 30 22:59:58 2003 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c: Some API doc comment fixes. - - * gtk/gtkcellayout.c: Fix #include and oooooh API doc comments! - -2003-09-30 Matthias Clasen - - * tests/merge-*.ui: - * tests/testmerge.c: Test handling of empty menus. - - * gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine - whether a menu is empty. Used in gtkaction.c. - (update_smart_separators): Also update the visibility of empty menus. - (update_node): When creating a new menu proxy, insert an "Empty" menu - item which only gets shown if the menu is empty. - - * gtk/gtkaction.c (gtk_action_class_init): Document the meaning of - "is_important" for menu proxies. - (_gtk_action_sync_menu_visible): New function to sync the visibility - of menu proxies. Used in gtkuimanager.c. - (gtk_action_sync_visible): New function to sync the visibility of - proxies. - -Tue Sep 30 21:43:34 2003 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): set - popup_in_progress to TRUE, - (gtk_combo_box_menu_show): and back to FALSE here; the menu now - won't disappear on the first button release. (Reported by Matthias - Clasen). - -Tue Sep 30 21:08:43 2003 Kristian Rietveld - - * gtk/gtkcombobox.c (gtk_combo_box_init): actually show the child. - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): ditto. (#123543, - Marco Pesenti Gritti). - -2003-09-30 Murray Cumming - - * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable* - instead of a GdkWindow*, because that what it is given. The - documentation was already correct. This should cause no API/ABI - breakage with C compilers. - * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c, - gtkcellrenderertogger.c: Updated the declarations of the render vfunc - implementation accordingly. - -2003-09-30 Matthias Clasen - - * gdk/gdkkeys.c (gdk_keymap_class_init): Document the - "direction-changed" and "keys-changed" signals. - - * gdk/gdkscreen.c (gdk_screen_class_init): Document the - "size-changed" signal. - - * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): - Document the "display-opened" signal. - - * gdk/gdkdisplay.c (gdk_display_close): Doc tweak. - (gdk_display_class_init): Document the "closed" signal. - -Sat Sep 27 16:02:40 2003 Soeren Sandmann - - * gtk/gtktextview.[ch]: rename property tab_moves_focus to - accepts_tab. (#122709 again). - -2003-09-27 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_new): - * gtk/gtkitemfactory.c (gtk_item_factory_new): Document - the fact that the newly created object does not come with - a floating reference. (#103068, patch by Frederic Lespez) - - * gtk/gtkitemfactory.h: Deprecate GtkItemFactory in favor - of GtkUIManager. Just leave GtkTranslateFunc undeprecated, - since GtkActionGroup uses it. - - * tests/testtext.c: Turn off GTK_DISABLE_DEPRECATED, since - this test uses the soon-to-be-deprecated GtkItemFactory. - - * demos/gtk-demo/Makefile.am (demos): Add ui_manager.c, - remove item_factory.c - - * demos/gtk-demo/ui_manager.c: Duplicate of item_factory.c - using GtkUIManager instead of GtkItemFactory. - - * tests/testmerge.c: Demonstrate the use of the - connect-proxy signal. - - * gtk/gtkaction.c (connect_proxy): Add connect-proxy and - disconnect-proxy signals to do small customizations - like displaying tooltips in the statusbar without - custom actions. (#122894, Philip Langdale) - - * gtk/gtkuimanager.c (update_node): Don't leak tooltip. - -Fri Sep 26 23:49:44 2003 Kristian Rietveld - - Landing the new ComboBox. Note that only gtkcombobox.h and - gtkcomboboxentry.h are public. - - * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch], - gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files. - - * gtk/Makefile.am, gtk/gtk.h: adding the new files. - - * tests/testcombo.c: and a new test. - - * tests/Makefile.am: adding the new test. - -2003-09-25 Tor Lillqvist - - * demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows. - -2003-09-21 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (handle_wm_paint): New - function. Code split out from gdk_event_translate(). Needed - because gdk_event_get_graphics_expose() couldn't do anything - sensible otherwise. (Not that I think graphics exposes work anyway - in gdk/win32, but at least now the code could work.) - - (gdk_event_get_graphics_expose): Call handle_wm_paint() instead of - gdk_event_translate(), which couldn't have worked as it doesn't - take any pre-allocated GdkEvent parameter any longer. - - (gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let - GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman) - -2003-09-24 Matthias Clasen - - * demos/gtk-demo/appwindow.c (do_appwindow): Demonstrate tooltips - on toolitems. - - * gtk/gtkaction.c (connect_proxy): Sync tooltips on toolitems. - - * gtk/gtkuimanager.c (update_node): Don't complain about missing - actions on popups. Re-set "tooltip" property on toolitems after - adding them to parent to trigger proxy update. - -2003-09-22 Matthias Clasen - - * tests/testmerge.c (main): Initially activate the JUSTIFY_RIGHT - group member to test the fix for #122904. - - * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): - Add the action to the group before activating it, otherwise we - may end up with multiple active group members. (#122904, Marco - Pesenti Gritti) - -2003-09-21 Matthias Clasen - - Changes to make cross-process merging feasible: - - * gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the - merged UI definition. Remove the "changed" signal, since its role - is now filled by "notify::ui". Instead add a "actions-changed" signal - which gets emitted when the set of actions changes. - - * gtk/gtktoggleactionprivate.h: - * gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio): - Add a "draw_as_radio" property to toggle actions so that they can be - used as proxies for radio actions much like the "draw_as_radio" - property on check menu items enables them to operate as proxies for - radio actions. - - Prevent the "show_all" trap for action-based menus (see - http://mail.gnome.org/archives/gtk-devel-list/2003-September/ - msg00260.html): - - * gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail() - calls from static functions. - - * gtk/gtkuimanager.c (update_node): - * gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed - widgets whose visibility is externally controlled. - - * gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean - "no_show_all" property with setter and getter. When TRUE, it keeps - gtk_widget_{hide,show}_all() from modifying the visibility of the - widget and its children. - -Sun Sep 21 23:13:37 2003 Soeren Sandmann - - * gtk/gtktextview.[ch]: Add new "tab moves focus" property (#122709) - -2003-09-20 Tor Lillqvist - - * gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid - including editor backup files. List files we want explicitly. - - * gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just - calls setlocale (LC_CTYPE, NULL). On Windows, looks for the - LC_ALL, LC_CTYPE and LANG environment variables, than calls - g_win32_getlocale(). - - (gtk_get_default_language): Code snippet moved to above function, - call it. - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave) - * gtk/gtkrc.c (gtk_rc_context_parse_file): Call - _gtk_get_lc_ctype() instead of setlocale(). - -Fri Sep 19 18:15:31 2003 Soeren Sandmann - - * gtk/gtkpaned.c, gtk/gtkhpaned.c: implement RTL flipping - (#96632) - -Fri Sep 19 13:24:54 2003 Soeren Sandmann - - * gtk/gtktreeview.c (gtk_tree_view_get_cursor): Improve - documentation. (#117306, Steve Chaplin) - -2003-09-19 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms - present on the US-International keyboard. For clarity, order - keysyms in case statement according to numeric value. - - (gdk_keymap_translate_keyboard_state): Handle Caps Lock - correctly. (#120176, Ken Rastatter and Owen Taylor) - -2003-09-18 Matthias Clasen - - * gtk/gtkaction.c (gtk_action_finalize): Call g_closure_unref() to - unref a closure, not g_object_unref(). (#122637, Marco Pesenti Gritti) - - Install accelerators on actions, not on proxies, support - accelerator-only actions: - - * gtk/gtkmenu.c (get_accel_path): New function to get the accel path - and its lock status either via _gtk_widget_get_accel_path() or by - looking at the accel_path stored in the menu item itself and determining - its lock status by peeking into the contained accel label. This was - already (accidentally) committed a week ago. - - * gtk/gtkaction.h (gtk_action_set_accel_group): - (gtk_action_[dis]connect_accelerator): New functions. - - * gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group, - accel_closure and accel_count. We must have a reference to the - accel_group, since we need it in connect_proxy. The count is necessary - to ensure that the accelerator isn't removed before the last proxy - requesting it has been unmerged. - (connect_proxy): Connect the accelerator to the - action now, only set the accel_path on the menuitem. - (remove_proxy): Disconnect the accelerator from the action, not from - the menuitem. - (gtk_action_set_accel_group): Set the accel group. - (gtk_action_[dis]connect_accelerator): Count the number of times - this functions have been called and install/remove the accelerator if - the count leaves/reaches zero. - - * gtk/gtkuimanager.h (GtkUIManagerItemType): Add - GTK_UI_MANAGER_ACCELERATOR. - - * gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR. - (start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from - elements. - (gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when - type is GTK_UI_MANAGER_ACCELERATOR. - (update_node): Set the accel group on actions before creating their - proxies. Don't set the accel group on created menus. For - NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator. - (print_node): Also emit elements. - - * tests/testmerge.c (dump_accels): Add a "Dump Accels" button. - - * gtk/gtkuimanager.c (update_node): Robustness improvements. - -2003-09-17 Matthias Clasen - - * gtk/gtkuimanager.c (text_handler): Report unexpected character - data as error from the GMarkup parser, otherwise things like - gtk_ui_manager_add_ui_from_string (ui, "Hi there!", -1, &error) - pass unexpectedly. - -Wed Sep 17 02:38:53 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_class_init): revert accidentally - committed redraw_on_allocate change. - -Tue Sep 16 10:42:00 2003 Eric Warmenhoven - - * gdk/linux-fb/gdkwindow-fb.c: Add gdk_window_set_keep_{above,below} - stubs to fix compilation - - * gdk/linux-fb/gdkrender-fb.c: Add gdk_shadow_fb_stop_updates stub for - when shadowfb is disabled. Patch from pjm@cctechnol.com (#120847). - - * gdk/linux-fb/gdkmouse-fb.c: Add GDK_MOUSE_DEVICE environment - variable. Patch from Marc Welz (#121347). - -2003-09-16 Matthias Clasen - - * gtk/gtkaction.h: Apply egtk-format-protos. - -2003-09-15 Matthias Clasen - - * gtk/gtkuimanager.c: Doc tweaks. - - Smart separators; see - http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00133.html: - - * gtk/gtkuimanager.c (update_smart_separators): New function which - implements "smart" separators by iterating once over the entries of a - menu, hiding and showing separators as necessary. - (update_node): Mark separators used as fences of placeholders as - hidden. Explicitly added separators are marked as smart. Call - update_smart_separators after updating a menu or toolbar node. - Connect update_smart_separators to "notify::visible" signal on menu - and tool items. - - * tests/merge-[12].ui: Test smart separators. - - Changes to allow setting action state before connecting signal; see - the thread starting at - http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00140.html: - - * gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions): - (gtk_action_group_add_radio_actions_full): Add value parameter to allow - setting the currently selected group member before connecting signals. - (GtkToggleActionEntry): Separate struct for constructing toggle actions, - including a boolean to initialize the action state before connecting - signals. - (gtk_action_group_add_toggle_actions): - (gtk_action_group_add_toggle_actions_full): New functions to construct - toggle actions from an array of GtkToggleActionEntries. - - * demos/gtk-demo/appwindow.c: - * tests/testactions.c: - * tests/testmerge.c: Adjust to new action group API. - -Sun Sep 14 16:59:52 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_init): Name the arrow - "gtk-toolbar-arrow" so themes can special-case it. - -Sun Sep 14 16:07:49 2003 Soeren Sandmann - - * gtk/Makefile.am (gtk_c_sources): sort the list of files. - -Sun Sep 14 15:49:00 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (toolbar_item_is_homogeneous): Unref the - PangoFontMetrics. Patch from Steve Chaplin (#122257). - -2003-09-14 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (show_window_internal): Remove - special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows, - the usefulness of which was already in doubt. Removing it fixes - bugs #118575 and #121851. - -Fri Sep 12 16:32:53 2003 Jonathan Blandford - - Merge from stable. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): only save the - pressed button (used to determine if we want to initiate a drag later - on) if the current grab widget is either NULL or tree_view (Reported - by Jeroen Zwartepoorte). - -2003-09-12 Matthias Clasen - - * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text) - (gdk_draw_text_wc): Add deprecation notes. (#121955, Martin Pool) - -2003-09-11 Matthias Clasen - - * gdk/gdkpango.c: Doc tweaks. - - * tests/testgtk.c: Add table menu tests. - - * gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the - GtkMenuPrivate struct itself. Pointed out by valgrind. - - * gtk/gtkuimanager.c (gtk_ui_manager_finalize): Clean up - properly. (#121998) - -Wed Sep 10 22:25:04 2003 Kristian Rietveld - - The table menu patch! Turns GtkMenu into a table, so you can attach - menu items in numerous new ways! Be creative! - - Contains some bug fixes and RTL adaptions from Matthias Clasen. - - * gtk/gtkmenu.c [toplevel]: introduce ATTACH_INFO_KEY, extend - GtkMenuPrivate, introduce AttachInfo, add child properties enum, - (gtk_menu_free_private), (gtk_menu_get_private): we have to free - the heights array in the private struct, - (gtk_menu_class_init): reorder code a bit, install child properties, - (get_attach_info), (get_child_attach): new utility functions, - (gtk_menu_set_child_property), (gtk_menu_get_child_property): introduce - child properties, for the attach info, - (gtk_menu_remove): remove AttachInfo from menu item, - (gtk_menu_real_insert): implemented algorithm to automagically place - inserted menu items at the correct place in the table, - (gtk_menu_size_request), (gtk_menu_size_allocate), - (compute_child_offset): reworked/rewritten to support table menus, - (gtk_menu_attach): new function, - (find_child_containing), (gtk_menu_move_current): new functions to - get table menu keynav right. - - * gtk/gtkmenu.h: add gtk_menu_attach() prototype. - -2003-09-10 Matthias Clasen - - * gtk/gtksocket.c (gtk_socket_filter_func): Only remove - PropertyNotify events from the stream if they have been handled, - in order to enable extending the plug<->socket communication via - properties. - -Wed Sep 10 01:06:44 2003 Kristian Rietveld - - Big TreeView DnD fixage, makes drops on empty models work, makes - TreeStore DnD work and gets rid of gtk-tree-model-drop-append. - Related bugs #95362 and #113314. I don't want to touch this code - ever again. - - * gtk/gtktreeprivate.h (GtkTreePrivate): add empty_view_drop field. - - * gtk/gtktreednd.c (gtk_tree_get_row_drag_data): add check - for selection_data->length. - - * gtk/gtktreeview.c (struct DestRow), (dest_row_free), - (set_dest_row), (get_dest_row): we don't store just the row ref - anymore, but a struct with the row ref and additional info, - (set_destination_row): handle drops on empty space and some - style fixes, - (get_logical_dest_row): also return path_down_mode/drop_append_mode - flags, handle dropping childs on their new parents, rewrite - drop append handling into something saner, - (gtk_tree_view_drag_motion): show a "drop possible arrow" on empty - spaces, - (gtk_tree_view_drag_drop): updates for updated backend, - (gtk_tree_view_drag_data_received): updates for updated backend, - path down mode (treestore DnD) handling, - (gtk_tree_view_set_drag_dest_row): set empty_view_drop flag, - when we are trying to drop a row on an empty model, - (gtk_tree_view_get_drag_dest_row): handle empty_view_drop flag. - - * gtk/gtkliststore.c (gtk_list_store_drag_data_received), - (gtk_list_store_row_drop_possible): style and drop-append fixes. - - * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): ditto. - -2003-09-08 Alexander Larsson - - * gtk/gtkeventbox.[hc]: - Implement gtk_event_box_get/set_input_only() - - * tests/testgtk.c: - Tests for the new input only event boxes - -Mon Sep 8 21:44:20 2003 Kristian Rietveld - - Fixes from David Hampton via gtk-devel-list. - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_elt_get_path): fix - the call to gtk_tree_model_filter_add_root, - (gtk_tree_model_filter_row_changed): bail out if c_path is not above - the virtual root, allow building levels on the second try to convert - the child path to a filter path, - (gtk_tree_model_filter_convert_iter_to_child_iter): pass the virtual - root when calling gtk_tree_model_filter_elt_get_path. - -2003-09-07 Matthias Clasen - - * gtk/gtkuimanager.c (update_node): Fix a C99ism. (#121640, - Josh Beam) - - Fixes for accelerator handling during (un)merging: - - * gtk/gtkuimanager.c (update_node): Move setting info-action - after the switch, since the old action is needed in some cases. - In cases of proxy type mismatch, disconnect the old proxy from - the old action. - - * gtk/gtkaction.c (remove_proxy): Renamed from - gtk_action_remove_proxy(). Move unsetting of the accelerator - here from disconnect_proxy() in order to catch all cases of - removing a proxy. - (gtk_action_disconnect_proxy): Fix logic in g_return_if_fail() - to fail if proxy isn't a proxy of action. - -2003-09-07 Pablo Saratxaga - - * configure.in: Added Uzbek latin (uz) and cyrillic (uz@Cyrl) to - ALL_LINGUAS - -2003-09-07 Matthias Clasen - - * gtk/gtkaction.c (disconnect_proxy): Make disconnect work - for toolitems. - -2003-09-06 Matthias Clasen - - * gtk/gtkaction.c (gtk_action_connect_proxy): Disconnect from - prev_action, not from action. (Fix by David Hampton) - -Fri Sep 5 14:15:10 2003 Owen Taylor - - * Back out locale-dependent interpretation of - KP_Decimal, the official XFree86 interpretation - is that KP_Decimal => . KP_Separator => , - always, independent of locale. - (#105161, Frederic Crozat, - http://bugs.xfree86.org/show_bug.cgi?id=534) - -2003-09-04 Matthias Clasen - - * tests/testmerge.c: Test buttons and toggle buttons as proxies. - - * gtk/gtktoggleaction.c (connect_proxy): - (gtk_toggle_action_real_toggled): Support toggle buttons as proxies. Note - that a "draw_as_radio" property is needed for check buttons similar to - check menu items, in order to fully support button proxies for radio actions. - - * gtk/gtkaction.c (connect_proxy): Allow buttons as proxies. - - * tests/testmerge.c (toggle_dynamic): Test gtk_ui_manager_add_ui(). - - * gtk/gtkuimanager.h: Add GtkUIManagerItemType enum which is needed for the - 'type' argument of gtk_ui_manager_add_ui(). - - * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui): Add 'type' and 'top' arguments - to make this function as powerful as the XML methods of adding UI. (#120647) - -Thu Sep 4 19:11:23 2003 Kristian Rietveld - - Merge from stable. - - * docs/RELEASE-HOWTO: updates. - -2003-09-04 Matthias Clasen - - * tests/merge-2.ui: Use "position" instead of "pos". - - * gtk/gtkuimanager.c (start_element_handler): No need - to be terse: Change the name of the "pos" attribute - to "position". - -2003-09-04 Matthias Clasen - - * gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and - GtkUIManagerNode to shorten the names and to make the - GTK_UI_MANAGER_ names available for a public enum. - - * gtk/gtkactiongroup.c: - * gtk/gtkuimanager.c: Various doc tweaks. - - * gtk/gtkuimanager.c (start_element_handler): - (end_element_handler): Improve error reporting. - -Wed Sep 3 23:18:17 2003 Kristian Rietveld - - Merge from stable. - - * gtk/gtkmenu.c (gtk_menu_real_move_scroll): for the END case, - use end_position - page_size instead of G_MAXINT, since - gtk_menu_scroll_to doesn't CLAMP anymore internally. (Fixes #121237, - reported by Havoc Pennington). - -Wed Sep 3 21:58:03 2003 Kristian Rietveld - - Merge from stable. - - * gtk/gtkiconfactory.c (cached_icon_free): if icon->style != NULL, - unref it. (Fixes memleak, patch from Kjartan Maraas). - -Wed Sep 3 21:38:26 2003 Kristian Rietveld - - * gdk/Makefile.am, gdk/linux-fb/gdkfbmanager.c, gdk/x11/gdkcolor-x11.c, - gdk-pixbuf/io-gif.c, gtk/Makefile.am, gtk/gtkcalendar.c, - gtk/gtkclist.c, gtk/gtkctree.c, gtk/gtkdnd.c, gtk/gtkentry.c, - gtk/gtkhandlebox.c, gtk/gtkitemfactory.c, gtk/gtkmenu.c, - gtk/gtknotebook.c, gtk/gtkrange.c, gtk/gtkrc.h, gtk/gtktree.c, - gtk/gtktypeutils.h: big patch from Kjartan Maraas - to fix numerous typos. - -Wed Sep 3 17:38:01 BST 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Correct compile line for threads example. - -2003-09-02 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c (gdk_display_open): Don't call - CloseHandle() on the HMODULE returned from GetModuleHandle(). - Didn't cause any harm, but didn't do anything useful either. When - running a GTK+ program under MS's debugger, the CloseHandle() call - would cause a "first-chance exception" in ntdll.dll to show up. - (The exception is caught appropriately if you let it proceed, but - it confuses the person using the debugger). Thanks to Bruce - Hochstetler for noticing. - -Tue Sep 2 21:01:19 2003 Kristian Rietveld - - Merge from stable. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change - to only select when button 1 is pressed introduced in the fix of - bug #120187. - -2003-09-02 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_new): Doc addition. - - * gtk/gtkuimanager.c: Shorten the names of some static - functions. - - Support adding and removing merge nodes dynamically (#120647, - Anders Carlsson): - - * gtk/gtkuimanager.[ch] (gtk_ui_manager_new_merge_id): Renamed - gtk_ui_manager_next_merge_id to gtk_ui_manager_new_merge_id - and made it public. - (gtk_ui_manager_add_ui): New function to add UI elements - without juggling XML fragments, currently restricted to menuitems, - toolitems and separators. Actions still come from registered - action groups. - -Mon Sep 1 19:39:14 2003 Soeren Sandmann - - * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the - background pixmap was being offset twice, once by the ts_origin in - gdk_window_get_bg_gc(), and once by gdk_draw_rectangle(). - -2003-09-01 Matthias Clasen - - * gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make - this public again, since it's occasionally useful. (#121128, - Marco Pesenti Gritti) - - * gtk/gtkaction.c: Add an "is_important" property and propagate - it to toolitem proxies. (#121058, Marco Pesenti Gritti) - -Mon Sep 1 00:32:30 2003 Soeren Sandmann - - * tests/testtoolbar.c (main): connect to "delete_event" so the - application will actually quit when you close the window - -2003-09-01 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_get_widget) - (gtk_ui_manager_get_action): g_return_if_fail() if - path is NULL. - (gtk_ui_manager_get_node): Avoid a segfault if path is empty. - (gtk_ui_manager_finalize): Remove the idle on finalize. (#121125, - Marco Pesenti Gritti) - -2003-08-31 Matthias Clasen - - * gtk/gtktoolitem.c: Fix some typos in docs. - - * gtk/gtkuimanager.[ch] (gtk_ui_manager_get_action): New function, - replaces gtk_ui_manager_activate(). (#120658) - - * tests/testmerge.c: Use gtk_ui_manager_get_action() instead of - gtk_ui_manager_activate(). - - * gtk/gtkaction.c: - * gtk/gtkactiongroup.c: Some doc tweaks. - - * gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It - wasn't emitted anyway. Some doc tweaks. - -2003-08-30 Matthias Clasen - - * tests/testmerge.c (add_widget): Connect to "destroy" on toolbar, - rather than to "remove" on handlebox. - - * gtk/gtkuimanager.[hc] (gtk_ui_manager_activate): New method to - activate an action found by following a path. (#120658) - - * tests/testmerge.c: Add a button to test gtk_ui_manager_activate(). - - * tests/testmerge.c (add_widget): Put toolbars in handleboxes. - - * gtk/gtkuimanager.[hc]: Add a boolean property, "add_tearoffs" with - setter and getter. If it is set, add tearoff menu items to regular - menus, but not to popups. Add a signal "changed", which gets emitted - when the merged ui has changed. (#120649, #120656) - - * tests/testmerge.c: Add button to test the generation of tearoff - menu items. - -2003-08-29 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): - Actually group the actions together rather than putting each in its - own group. - - * gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on - proxy menu items for radio actions. - - * gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod. - -Fri Aug 29 21:40:01 2003 Soeren Sandmann - - * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): - Fix use of uninitialized variable. - - * gtk/gtktextutil.c - (_gtk_text_util_append_special_char_menuitems): add const cast to - get rid of warning - -2003-08-29 Matthias Clasen - - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install - "draw_as_radio" as a separate property, not as an alias of - "inconsistent". - (gtk_check_menu_item_get_property): - (gtk_check_menu_item_set_property): Also support "draw_as_radio". - -Fri Aug 29 20:32:07 2003 Soeren Sandmann - - * gtk/gtktoolbar.c: Only treat buttons as homogeneous when they - are narrower than 13 time the estimated character width of the - font. (#107781, David Bordoley) - - * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check - here if the GtkToggleButton is active. This may be the case if it - is a radio button. - - * gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc - vs. void (*) (GtkWidget, gpointer). (#107495, Mariano - Suarez-Alvarez). - - * gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio" - property. (#111207, David Bordoley). - - * gtk/gtktoggletoolbutton.c - (gtk_toggle_tool_button_create_menu_proxy): use new - "draw_as_radio" property on the menu item when the item is a radio - tool button - - * gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes - to only pay attention to the "use_underline" property when the - button label comes from the "label" property. - -2003-08-29 Laurent Dhima - - * configure.in: Added "sq" to ALL_LINGUAS. - -2003-08-28 Matthias Clasen - - * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup - fix in the docs. - - * gtk/gtkuimanager.c: Change the XML format: - element is replaced by , - element is replaced by , - element is replaced by , - element is replaced by , - element is gone, - verb attribute is replaced by action, - name defaults to action or the element name. - - * gtk/gtkactiongroup.[hc]: Replace GtkActionGroupEntry by - GtkActionEntry and GtkRadioActionEntry. GtkActionEntry is simplified - by removing the user_data, entry_type and extra_data fields, - GtkRadioActionEntry is further simplified by removing the callback. - The user_data can now be specified as an argument to - gtk_action_group_add_actions(). There is a new method - gtk_action_group_add_radio_actions(), which is similar to - gtk_action_group_add_actions(), but takes GtkRadioActionEntrys - and a callback parameter in addition to the user_data. The callback - is connected to the ::changed signal of the first group member. - There are _full() variants taking a GDestroyNotify of - gtk_action_group_add_[radio_]actions(). - - * gtk/gtkradioaction.[hc]: Add a ::changed signal which gets emitted - on every member of the radio group when the active member is changed. - Add an integer property "value", and a getter for the value of "value" - on the currently active group member. - - * tests/testactions.c: - * tests/testmerge.c: - * tests/merge-[123].ui: - * demos/gtk-demo/appwindow.c: Adjust to these changes. - - * gtk/gtktoolbar.c (gtk_toolbar_append_element): Trivial doc fix. - -2003-08-27 Anders Carlsson - - * demos/gtk-demo/appwindow.c (do_appwindow): Focus the - text view, so the tool bar won't have focus. - -Tue Aug 26 09:57:38 2003 Owen Taylor - - * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable - declaration not at start of block. (#120371, Damien Carbery) - -2003-08-26 Matthias Clasen - - * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize - for length, not gsize. - - * gtk/gtkuimanager.c: Refactor the XML format a bit: rename to - and make it optional in strings. Rename verb to action, - to , to , to . - - * demos/gtk-demo/appwindow.c: - * tests/testactions.c: - * tests/testmerge.c: - * tests/merge-1.ui: - * tests/merge-2.ui: - * tests/merge-3.ui: Adjust to the new XML format. - -Mon Aug 25 19:55:55 2003 Owen Taylor - - * gtk/gtktextview.c (gtk_text_view_update_layout_width): - Since we add one to the layout's reported width to - account for the cursor, we need to subtract one when - setting the wrap width for the layout. (Fixes infinite - loop (#120325, Frederic Crozat) - - * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): - Be a bit more careful about rounding when converting - wrapped width from Pango units to pixels. - -2003-08-26 Matthias Clasen - - Rename GtkMenuMerge to GtkUIManager. - - * gtk/gtkuimanager.[hc]: New files. - * gtk/gtkmenumerge.[hc]: Removed. - - * gtk/Makefile.am: - * gtk/gtk.h: - * tests/testmerge.c: - * tests/testactions.c: - * demos/gtk-demo/appwindow.c: Replace all uses of GtkMenuMerge by - GtkUIManager. - - * demos/gtk-demo/appwindow.c: Make GtkMenuMerge demo less intimidating: - add comments to entries array, remove newlines from ui definition. Don't - use the ::add_widget signal. - -Mon Aug 25 17:28:04 2003 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_forall): Don't - include page->menu_label - causes various problems, - including #12047. - -Mon Aug 25 23:21:43 2003 Kristian Rietveld - - Merge from stable. - - Fixes #115871, reported by Michael Natterer. - - * gtk/gtktreeprivate.h: added GtkTreeSelectMode enum, - added ctrl_pressed and shift_pressed bitfields, - (_gtk_tree_selection_internal_select_node): replace GdkModifierType - arg with GtkTreeSelectMode. - - * gtk/gtktreeselection.c (gtk_tree_selection_set_mode), - (gtk_tree_selection_select_path), (gtk_tree_selection_unselect_path), - (_gtk_tree_selection_internal_select_node): all updated for - GdkModifierType -> GtkTreeSelectMode move. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): set ctrl_pressed - and shift_pressed around selection handling block, - (gtk_tree_view_real_select_cursor_row), - (gtk_tree_view_real_toggle_cursor_row), - (gtk_tree_view_real_selection_cursor_parent), - (gtk_tree_view_real_set_cursor): use ctrl_pressed and shift_pressed, - instead of checking the event state. And also updates for the - GdkModifierType -> GtkTreeSelectMode move. - -Wed Aug 20 21:26:49 2003 Owen Taylor - - * gtk/gtkplug.c (gtk_plug_focus): Send the focus on - to the parent when there was no focus widget before - and no focus widget after - that is, when there are - no focusable widgets. (#108678, help tracking it - down from Padraig O'Briain, Federico Mena Quintero, ) - - * gtk/gtkxembed.[ch]: Move various shared utilities - for the XEMBED protocol eused by GtkPlug and GtkSocket - here. - - * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement - a flag bit that is sent with focus mesages to indicate - that the focus has wrapped around on the toplevel; - use this bit to catch infinite loops when there is no - focusable widget at ll in the entire toplevel. - - * tests/testsocket.c (child_read_watch): Remove an - extraneous unref. - - * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h: - Up XEMBED protocol version to 1, add logic for - sending the right version in XEMBED_EMBEDDED_NOTIFY. - - * gtk/gtksocket.c (gtk_socket_add_window): Send - the embedder window in the XEMBED_EMBEDDED_NOTIFY - as the spec requires. - -Mon Aug 25 16:15:41 2003 Owen Taylor - - * gdk/x11/gdkkeys-x11.c: Fix up CapsLock and - NumLock handling for non-XKB. Add a special case - hack for NumLock on Sun servers. (Patch from - Robert Basch, #115819) - -2003-08-25 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_add_actions): Remove C99isms. (Morten - Welinder) - - * gtk/gtkactiongroup.[hc] (gtk_action_group_set_translate_func, - gtk_action_group_set_translation_domain): Hooks for translation of - label and tooltip in GtkActionGroupEntries. (#120620) - -2003-08-25 Matthias Clasen - - * gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum - values properly. Sorry about the resize grip trouble, Owen. (#120621) - - * gtk/gtkactiongroup.c: - * demos/gtk-demo/appwindow.c: - * tests/testmerge.c: - * tests/testactions.c: Use new GtkActionGroupEntryType enum. - -Sun Aug 24 17:14:44 2003 Owen Taylor - - * gtk/gtk.h: Remove reference to gtkresizegrip.h. - -Sun Aug 24 17:03:44 2003 Owen Taylor - - * gtk/Makefile.am: Fix accidental commit of references - to gtkresizegrip.[ch] - -Sun Aug 24 17:00:03 2003 Owen Taylor - - * gtk/gtkrc.c: Fix some missing initializations of - rc_file->directory. - -2003-08-24 Matthias Clasen - - * gtk/gtkaction.[ch]: - * gtk/gtktoggleaction.[ch]: - * gtk/gtktoggleactionprivate.h: - * gtk/gtkradioaction.[ch]: - * gtk/gtkactiongroup.[ch]: - * gtk/gtkmenumerge.[ch]: A model-view separation for menus and - toolbars, using the EggMenu code by James Henstridge. - - * gtk/gtk.h: Include new headers. - * gtk/Makefile.am: Add new files. - - * tests/testactions.c: Test for actions. - * tests/testmerge.c: Test for menu merging. - * tests/merge-[123].ui: Test data for testmerge. - * tests/Makefile.am: Add testactions and testmerge. - - * demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the - menubar and toolbar. - -Sat Aug 23 21:40:18 2003 Owen Taylor - - * gtk/gtkrc.c (gtk_rc_context_parse_one_file): Fix - problem where rc_file->directory wasn't always getting - set. (#120549, Luis Villa) - -2003-08-22 Christian Rose - - * configure.in: Added "ne" to ALL_LINGUAS. - -Thu Aug 21 16:00:36 2003 Owen Taylor - - * gtk/gtkrc.c: Keep a list of current GtkRcFiles - being parsed, not just the directories for those - files. Use that to catch recursion. (Part of - #114988) - -Thu Aug 21 21:27:45 2003 Kristian Rietveld - - Merge from stable. - - Fix option menu scrolling (#119821, Owen Taylor). - - * gtk/gtkmenu.c (gtk_menu_scroll_to): remove logic introduced - by #80484 and the CLAMP, - (get_menu_height): new function, - (gtk_menu_real_move_scroll): sort of moved the CLAMP here to correct - new_offset to handle page up/down right. - -Thu Aug 21 15:17:42 2003 Owen Taylor - - * gdk/x11/gdkkeys-x11.c: Change the interpretation - of consumed_modifiers so that it contains: - - Modifiers combinations actually found in - state. - - Single modifier modifier combinations. - But not multi-modifier combinations that aren't - in event->state. Document. (#100439) - -Thu Aug 21 20:53:46 2003 Kristian Rietveld - - Slightly modified patch from Yann Rouillard to improve selection - behavior with the mouse. Fixes #120187. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): only - select/deselect items on the first button press of button 1, - expand checks for row_activated to include triple clicks. - -Thu Aug 21 01:33:51 2003 Kristian Rietveld - - Merge from stable. - - * gtk/gtkspinbutton.c (gtk_spin_button_size_request): always round - approximate digit widths up, to avoid truncation, convert to - pango pixels when we have the full string width instead of converting - the approx digit width to pango pixels, take inner border and - interior focus into account correctly. (Fixes #116368, patch from - Morten Welinder). - -2003-08-20 Noah Levitt - - * gtk/queryimmodules.c: Don't look at the same directory twice (in - simple cases). (#120342) - -Wed Aug 20 22:04:47 2003 Soeren Sandmann - - * gdk/gdkwindow.c: Make the layers in the paint stack have their - own pixmap instead of sharing one. (#118317) - - * tests/testgtk.c (create_get_image): Fixes to make the window fit - on an 800x600 screen - -Wed Aug 20 22:03:25 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtkspinbutton.c (start_spinning): change the type of step - to gdouble, since it gets it's data from a gdouble (Fixes #113547). - -Mon Aug 18 17:19:12 2003 Owen Taylor - - * modules/input/gtkimcontextxim.[ch]: Substantially - rework the handling of status windows: - - - Store the current StatusWindow in the - GtkIMContextXIM structure and vice-versa, so we - don't have to hunt the window hierarchy on - cleanup. - - Use the Gtkidget hierarchy instead of/or as well - as the GdkWindow hierarchy when finding the toplevel; - this helps for things like GtkHandlebox - - Watch GtkWidget::hierarchy_changed to catch - changes in the toplevel without changes in the - GdkWindow (reparenting) - - Never create the GtkWindow for the status window - unless we have text to display. - - Various cleanups, add lots of comments. - - (#115077, much help from Takuro Ashie and Hidetoshi - Tajima in tracking this down and figuring out a fix.) - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_focus_in): - - * modules/input/gtkimcontextxim.c: Track the current - screen for each toplevel so that we show the status - window on the right screen. (#116340, James Su) - - * modules/input/gtkimcontextxim.c: If create a new IC - when we currently have the focus, call XSetICFocus() - on it. - - * modules/input/gtkimcontextxim.c (get_im): Fix bug - with multiple open screens. - -Tue Aug 19 14:37:46 2003 Owen Taylor - - * gtk/gtkimmulticontext.[ch] (struct _GtkIMMulticontext): - Replace client_window field with 'priv' pointer, - retaining binary compatibility. - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): - save use_preedit/cursor_location/focus status and set - up the new slave appropriately. (#118651, Botond Botyanszki) - -Tue Aug 19 13:58:50 2003 Owen Taylor - - * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): - Don't use impl->position_info.clip_rect for toplevels. - (#107068, reported by Thomas Mirlacher) - -Mon Aug 18 11:48:51 2003 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (convert_to_format): - Add a fallback for unaligned source data for - FORMAT_ARGB_MASK. (#117217) - -Mon Aug 18 10:51:57 2003 Owen Taylor - - * configure.in: Rework handling of REBUILD_PNGS, - so that we also don't try to REBUILD_PNGS when - cross-compiling and there is no gdk-pixbuf-csource. - But give an error if gtk/stock-icons/gtkstockpixbufs.h - is not in the source tree. (Note that REBUILDS_PNG - was set backwards before, which is why you always - had to manually recreate gtkstockpixbufs.h!) - -Mon Aug 18 10:19:55 2003 Owen Taylor - - * gtk+-2.0-uninstalled.pc.in: Add a missing gtk/ in the - path to libgtk.la. (#120080, Benedikt Spranger) - -Sat Aug 16 10:34:49 2003 Owen Taylor - - * modules/input/imcedilla.c: Make the list of default - languages more comprehensive. (Suggestion of - Fco. Javier F. Serrador) - -Sat Aug 9 12:47:11 2003 Owen Taylor - - * gdk/gdk.c (gdk_arg_context_parse): Fix broken - parentheses when skipping args. - -Sat Aug 16 16:22:23 2003 Kristian Rietveld - - Fix major bug in row ref handling, so the new combo box - will actually work right (:. Bug #107748. Patch written - with help from Tim Janik. - - The basic idea is to update the row refs in a closure, - before the actual signal is emitted (rather than having - the model connect signal handlers). - - * gtk/gtktreemodel.c (gtk_tree_model_base_init): change - g_signal_new calls for row_inserted, row_deleted and - rows_reordered to use the new marshallers, - (row_inserted_marshall), (row_deleted_marshall), - (rows_reordered_marshall): the new marshallers, - (gtk_tree_row_ref_inserted_callback): renamed to - gtk_tree_row_ref_inserted since it isn't a callback - anymore and gets called by the marshaller now, - (gtk_tree_row_ref_deleted_callback): likewise, - (gtk_tree_row_ref_reordered_callback): likewise, - (connect_ref_callbacks), (disconnect_ref_callbacks): - removed, - (gtk_tree_row_reference_new_proxy), - (gtk_tree_row_reference_free), - (gtk_tree_row_reference_inserted), - (gtk_tree_row_reference_deleted), - (gtk_tree_row_reference_reordered): updated. - -Fri Aug 15 16:54:39 2003 Owen Taylor - - Improve Cedilla handling - based on a patch from Gustavo - De Nardin, #111334 - - * modules/input/imcedilla.c po/POTFILES.in: Input method that - produces C_WITH_CEDILLA rather than C_WITH_ACUTE for - dead_acute+c combinations. Make this the default for - fr and pt. - - * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): - Use LC_CTYPE instead of LC_MESSAGES to pick the default - input method. - -Fri Aug 15 17:00:19 2003 Owen Taylor - - * gtk/gtkimcontextsimple.c: Fix missing compose sequence - for Multi_key+c+apostrophe. - -Fri Aug 15 21:57:34 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): stop editing - on vertical scrolling. (#108035, reported by Tim Janik). - -Fri Aug 15 20:06:42 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_model_sort_row_changed), - (gtk_tree_model_sort_level_find_insert), - (gtk_tree_model_sort_insert_value): fix off-by-one error. - (#109292 continued, patch from Yann Rouillard). - -Fri Aug 15 19:43:14 2003 Kristian Rietveld - - (Note: This is not exactly the same as the patch which went in - gtk-2-2). - - * gtk/gtktreeview.c (gtk_tree_view_class_init), - (gtk_tree_view_key_press), (gtk_tree_view_search_key_press_event): - Also support the up, down, left, right, home, end, page up and - page down keys on the numpad. (#119419, reported by Alex Larsson). - -Fri Aug 15 12:34:04 2003 Owen Taylor - - Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai): - - * configure.in (GDK_DEP_LIBS_FOR_X): Make sure that - we link libgtk against X explicitely, since we - make GTK+ calls for plug/socket. - - * gtk/queryimmodules.c: Use USE_LA_MODULES and - G_MODULE_SUFFIX here. - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_image): Protect - XShmPutImage with #ifdef USE_SHM. - -Thu Aug 14 18:25:39 2003 Owen Taylor - - * gtk/gtkfilesel.c (gtk_file_selection_populate): - Don't reposition the cursor when we aren't trying - to complete. (Fixes problems with selection on - startup, #108433, reported by Mark Finlay.) - - * gtk/gtkfilesel.c (gtk_file_selection_populate): Remove - code that tried to position the cursor after the common - prefix when there was one, it wasn't working, and - would be hard to fix. Just always put the cursor - at the end when completing. - -Thu Aug 14 17:58:23 2003 Owen Taylor - - * gtk/gtkfilesel.c (get_current_dir_utf8): If getting - the current directory fails because of encoding - conversion problems, walk up textually to parent - directories until we can convert. (#113627) - -Wed Aug 13 17:01:49 2003 Owen Taylor - - * gtk/gtkmenushell.[ch] (gtk_menu_shell_enter_notify): - Remove usage of menu_shell->ignore leave which was - to deal with stray events we no longer get because - we do grabbing differently. Comment it as unused in - the header. (#115837, Keith Bissett) - -Wed Aug 13 16:32:43 2003 Owen Taylor - - * gtk/gtkmenu.c (gtk_menu_position, gtk_menu_window_size_request): - Fix some places that weren't properly Xinerama-ified. - - * gtk/gtkmenu.c: Fix problem with windows that scroll - at the top of the screen. - -Wed Aug 13 11:34:53 2003 Owen Taylor - - * gtk/gtkcombo.c (gtk_combo_init): connect_after() to - key-press-event on the entry, so input methods get access to - key presses before GtkCombo customization. - (#115451, Botond Botyanszki) - -2003-08-13 Anders Carlsson - - * tests/testtoolbar.c: (set_important_func), (important_toggled), - (create_items_list): - Add an important column. - -Tue Aug 12 15:00:15 2003 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_real_set_focus): Protect - against reentrancy from ::focus-out handlers. - (#118129, Felipe Heidrich) - -Tue Aug 12 14:27:42 2003 Owen Taylor - - * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove - GDK_LOCK_MASK before calling - gdk_keymap_translate_keyboard_state so bindings - and accelerators are independent of the Caps-lock - key. (#115384, reported by Toni Willberg) - -Mon Aug 11 12:07:14 2003 Owen Taylor - - * gdk/x11/gdkevents-x11.c (get_real_window): Add missing - break statements (#119494, Soeren Sandmann) - -Mon Aug 11 11:10:07 2003 Owen Taylor - - * gtk/gtkwidget.h: Mark parent public as well; it's - extensively accessed in existing code, so there is - no advantage in making people use get_parent(). - (Tweak to #119463 fix) - -2003-08-11 Matthias Clasen - - Add support for EWMH "Above" and "Below" window states. (105100, - Manuel Clos) - - * tests/testgtk.c: Add "Above" and "Below" to the the "Window - State" demo. - - * gtk/gtkwindow.h: Add gtk_window_set_keep_above and - gtk_window_set_keep_below. - - * gtk/gtk.def: Add gtk_window_set_keep_above and - gtk_window_set_keep_below. - - * gtk/gtkwindow.c (gtk_window_set_keep_below): - (gtk_window_set_keep_above): New functions, call the corresponding - gdk functions. - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): New - function, sets _NET_WM_STATE_BELOW. - (gdk_window_set_keep_above): New function, sets - _NET_WM_STATE_ABOVE. - - * gdk/gdkwindow.h: Add gdk_window_set_keep_above and - gdk_window_set_keep_below. - - * gdk/gdkevents.h (GdkWindowState): Add GDK_WINDOW_STATE_ABOVE and - GDK_WINDOW_STATE_BELOW. - - * gdk/gdk.def: Add gdk_window_set_keep_above and - gdk_window_set_keep_below. - - * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and - JH_PATH_XML_CATALOG from gtk-doc to enable configuring without - xmlcatalog in PATH. (#119115) - -2003-08-10 Matthias Clasen - - * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as - public. (#119463) - -2003-08-09 Noah Levitt - - * gdk/gdkevents.h: - * docs/reference/gdk/tmpl/windows.sgml: Elaborate a bit more in the - docs on GdkFilterFunc and GdkFilterReturn. - -2003-08-09 Matthias Clasen - - * gtk/gtkcalendar.c: Add and hook in gtk_calendar_scroll, - to let the mouse wheels select the month. Scrolling down - moves forward in time. (#53134, Abigail Brady) - - * gtk/gtkcalendar.c: Complete the RTL flipping support for - GtkCalendar, make it possible to flip the headings using the - "magic translated string" technique. Translators, note the - comment in gtk_calendar_init() explaining this. (#102416) - - * gtk/gtkcalendar.c: Get the information about the first day of - the week from the locale using another instance of the "magic - translated string" technique. Ignore the display option - GTK_CALENDAR_WEEK_START_MONDAY with a warning. (#87977) - - * gtk/gtkcalendar.c: Add DND support to GtkCalendar. The selected - date is dragged as text, formatted via strftime %x. Text drops are - accepted if g_date_set_parse() can make sense of the text. A - dedicated data format for date DND has not been introduced yet, - since there didn't seem to be sufficient consensus on such a - format on xdg-list. (#117297) - -2003-08-08 Matthias Clasen - - * gdk/gdkregion-generic.c (gdk_region_spans_intersect_foreach): - Fix a segfault. (#115284, Jan Kratochvil) - -2003-08-08 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (print_event): Print also the root - coordinates for events that have such. Print coordinates for enter - and leave events. - - (gdk_event_translate): Don't use event uninitialixed in the - return_exposes branch of the WM_PAINT handler. - - * gdk/win32/gdkwindow-win32.c (gdk_window_new, - _gdk_windowing_window_get_pointer, _gdk_windowing_window_at_pointer): - Must offset top-level window coordinates here, too. - -2003-08-08 Matthias Clasen - - * demos/gtk-demo/appwindow.c (do_appwindow): Hide the resize grip - when maximized or fullscreen. - -2003-08-07 Tor Lillqvist - - * gdk/win32/gdkinput-win32.h - * gdk/win32/gdkinput-win32.c (_gdk_input_configure_event, - _gdk_input_enter_event): Drop the GdkEvent* parameter, it wasn't - used. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Adapt caller - accordingly, in fact an uninitialised variable was dereferenced. - - - [Win32] Add support for multiple monitors. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c: New global variables for - multiple-monitor info: _gdk_num_monitors, _gdk_monitors, and - _gdk_offset_x and _gdk_offset_y. - - * gdk/win32/gdkdisplay-win32.c (count_monitor, enum_monitor): New - functions, enumeration functions passed to EnumDisplayMonitors(). - - (gdk_display_open): If the EnumDisplayMonitors() and - GetMonitorInfo() API is present (on Win98, Win2000 and newer), use - if to find out monitor info. - - Calculate the offset between Win32 coordinates (relative to the - primary monitor's origin (and thus negative on monitors to the - left of or above it), and GDK's (visible coordinates should be - non-negative). - - * gdk/win32/gdkscreen-win32 (gdk_screen_get_n_monitors, - gdk_screen_get_monitor_geometry): Use information collected above. - - (gdk_window_move, gdk_window_move_resize_window_get_geometry): - Subtract _gdk_offset_{x,y} from GDK root window coordinates. - - (gdk_window_get_geometry, gdk_window_get_origin, - gdk_window_get_frame_extents): For top-level windows, add - _gdk_offset_{x,y} to GDK root window coordinates - - Still need to handle multiple monitors in - gdk_window_fullscreen(). Probably should make the window - fullscreen on the monitor where the cursor is? - - * gdk/win32/gdkevents-win32.c: Add _gdk_offset_{x,y} to all GDK - root window coordinates in GdkEvents. - - - [Win32] Fix geometry hint handling. Add support for resize - increment and base size, and aspect ratio geometry hints. The - "gridded geometry" test in testgtk now works beautifully. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints): - Turns out this function shouldn't actually ever modify the - window's size, just store the hints. (Old code kept for a while - inside #if 0.) - - (gdk_window_set_hints): Remove presumably broken code that handles - the position hints, this function is obsolete anyway. - - * gdk/win32/gdkevents-win32.c: Drop the current_{x,y}_root - variables, not used. - - (adjust_drag): New function, used to implement resize increment - hints. - - (gdk_event_translate): Handle WM_SIZING, implement resize - increment and base size, and aspect ratio geometry hints here. The - WM_GETMINMAXINFO handler takes care of the minimum and maximum - size hints as before. Fix the WM_GETMINMAXINFO handler to take - into account window decorations. No need to modify the - ptMaxPosition and ptMaxSize fields in the MINMAXINFO struct, - the defaults are fine. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkwindow-win32.c (_gdk_win32_adjust_client_rect, - _gdk_win32_get_adjusted_client_rect): New helper functions. - -2003-08-07 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the - toplevel->have_* flags before iterating over the _NET_WM_STATE - atoms. (#119217) - -Thu Aug 7 16:49:29 2003 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_set_style_internal): - Fix a bug where on theme change, resize/redraw wasn't - properly getting queued on toplevel windows. (#116346, - Rajkumar Siva) - - * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows): - Fix bug where wrong coordinates were used for toplevel - window. - -Thu Aug 7 16:40:21 2003 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover - page_num variable (Archit Baweja) - -2003-08-07 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to - cope with C libraries with crippled locale support. (#115293) - -2003-08-07 Hans Breuer - - * gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent - (only if the new window not known to Gdk) to get proper - leave notification, and get rid of the wrong placed - tooltips, bug #102283 - - (gdk_event_translate) : small code reordering to not get - GDK_MOTION_NOTIFY for still mouse and get back tooltips on - menus, bug #117367 - -2003-08-07 Tor Lillqvist - - * gdk/gdk.def - * gdk/win32/gdkfont-win32.c (gdk_fontset_load_for_display): Add - missing function, trivially implement. - -2003-08-07 Matthias Clasen - - * gtk/gtkctree.c (draw_row): Don't cut descenders when - rendering. (#118646, Charles Kerr) - -2003-08-06 Hans Breuer - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : - initialize bits to 0 (probably default on NT) - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) : - now it works as intended ;-) - -2003-08-04 Hans Breuer - - * gdk/win32/gdkwindow-win32.c(gdk_window_set_modal_hint) : - set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435 - - * gdk/win32/gdkwindow-win32.c : implement gdk_window_[un]fullscreen - (gdk_window_{move,resize,move_rezize})) : noop if FULLSCREEN - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) : - against all expectations it is basically ony a call with WM_SETICON - needed (the visual effect is there, though colors or mask are - still somewhat wrong). - * gdk/win32/gdkwindow-win32.h : place to store the HICON - - * gdk/win32/gdkdrawabke.win32.c : readded the conditional end - pixel drawing as it was fixed at 1999-08-23 - - gtk/gtk.def : updated - -Tue Aug 5 10:07:08 2003 Owen Taylor - - * gtk/gtkmessagedialog.c (gtk_message_dialog_get_property): - Add a missing break. (#119156, Callum McKenzie) - -Tue Aug 5 00:24:13 2003 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_position): New positioning - algorithm.(#116649) - -Fri Aug 1 15:26:46 2003 Soeren Sandmann - - * gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important" - property - - * gtk/gtkradiotoolbutton.c - (gtk_radio_tool_button_new_from_widget): Don't take a stock id - - * gtk/gtkradiotoolbutton.c - (gtk_radio_tool_button_new_with_stock_from_widget): make this - function take a stock_id. - - * gtk/toolbar: documentation - -Mon Aug 4 14:53:46 2003 Owen Taylor - - * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): - Fix problem where use_xshm was getting set wrong if - MIT_SHM wasn't found. (George Lebel) - -2003-08-04 Tor Lillqvist - - * gdk/x11/gdkscreen-x11.c (gdk_screen_get_n_monitors): - (gdk_screen_get_monitor_geometry): Improve wording of the docs, avoid - the term "virtual screen". (#119030, Tor Lillqvist) - -2003-08-02 Matthias Clasen - - * tests/testtext.c (test_init): - * tests/testgtk.c (test_init): - * tests/testdnd.c (test_init): - * demos/pixbuf-init.c (pixbuf_init): - * demos/gtk-demo/main.c (main): Use g_setenv(). - - * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): Use - g_unsetenv(). - -Sat Aug 2 12:53:16 2003 Owen Taylor - - * configure.in: Requires glib-2.3.0, pango-1.2.0. - - * configure.in: Require Xft version 2, - remove code for handling older versions of pango and Xft. - Many miscellaneous improvements to X checks - - * acinclude.m4: Add GTK_ADD_LIB() macro for adding - a library to a variable, avoiding dups. - - * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): - Always load "fixed" - - * gdk/x11/gdk*-x11.[ch]: Remove support for Xft1 and - for pangox. - -2003-08-02 Matthias Clasen - - * gtk/gtkcolorsel.c (color_sample_drop_handle) - (palette_drop_handle): - * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept - drops with the wrong format, since the KDE color chooser incorrectly - drops application/x-color with format 8. (#118810) - - * gtk/gtkcolorsel.c (color_sample_drop_handle) (palette_drop_handle): - * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): - Accept drops with the wrong format, since the KDE color chooser - incorrectly drops application/x-color with format 8. (#118810) - -2003-08-02 Tor Lillqvist - - Fix gdk/win32 window geometry handling again. The window position - in a GDK_CONFIGURE event should be that of the client area, not of - the window decorations. (I was confused by the term "window - border" in X11. It does *not* mean the window manager - decorations. There are no X11-style window borders in Win32.) - Also, this time do take the geometry hints into account - appropriately when moving windows. Now testgtk's gravity test's - move buttons work OK. There are stil problems with taking gravity - into account when showing a hidden window. - - * gdk/win32/gdkwindow-win32.h: Keep a whole GdkGeometry as hints - instead of separate fields. - - * gdk/win32/gdkevents-win32.c (handle_configure_event): Don't - adjust for decorations. - - * gdk/win32/gdkwindow-win32.c (get_outer_rect, - adjust_for_gravity_hints): New functions. - (gdk_window_move, gdk_window_resize, gdk_window_move_resize): Use - above functions, take geometry hints into account. - (gdk_window_set_geometry_hints): Size hints specicy client area, - not including decorations. - -Fri Aug 1 17:10:22 2003 Owen Taylor - - * gtk/gtkfilesel.c (cmpl_completion_fullname): Always - return an absolute path (#115590), fix a problem where - you could crash the file selector with a looong name - by returning a newly allocated buffer. - -Fri Aug 1 16:44:51 2003 Owen Taylor - - * gtk/gtkfilesel.c (update_cmpl): Fix obvious reallocation - bug in rarely or never hit code path (#118071, - Tor Lillqvist) - -Fri Aug 1 16:30:13 2003 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render): - If the check for missing depths, try actually creating pixmaps - of the depths to deal with Xinerama not reporting - all the depths it should. (#115822) - -Fri Aug 1 15:33:59 2003 Owen Taylor - - * gtk/gtksocket.c: Patch from Denis Mikhalkin to - forward KeyRelease events as well as KeyPress events. - (#115597) - -Fri Aug 1 15:06:25 2003 Owen Taylor - - * gdk/gdk.c (gdk_parse_args): g_set_prgname("") - if argc is 0 as well, instead of leaving it unset. - (#116023, Michael Meeks) - -Thu Jul 31 23:09:02 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_class_init): make show_arrow - default to TRUE; ignore the property when api_mode != NEW_API - -2003-07-31 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf - to icon, to pacify gtk-doc. - - * gtk/gtkwidget.c (gtk_widget_class_init): Fix formatting of drag-motion - example. - -Thu Jul 31 15:33:33 2003 Soeren Sandmann - - * gtk/gtk*tool*.h: add padding to subclasses of GtkToolItem - -Thu Jul 31 15:29:28 2003 Soeren Sandmann - - * gtk/gtktoolitem.c (struct _GtkToolItemPrivate): remove unused - overflow_item field. - -Wed Jul 30 21:11:13 2003 Soeren Sandmann - - * gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured() - an internal function - - * gtk/gtktoolitem.h: remove unused declaration of - _gtk_tool_item_get_drag_window(). - -Wed Jul 30 17:03:58 2003 Soeren Sandmann - - * gtk/gtktoolbutton.[ch]: - (gtk_tool_button_new): swap icon_widget and label arguments to - match BonoboUIToolbarButton. - - * gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style(). - -2003-07-30 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND - signal docs. - -2003-07-29 Tor Lillqvist - - Fix for #108007, #112402, #117042: There was confusion in - gdk/win32 at various places whether a window position refers to - the decoration position or the client area position. Also whether - window size includes decorations or not. - - The correct interpretation apparently is that in GDK (like in - X11), a top-level window position means the decoration's position, - but size means the window's inner size (client area size). In the - Win32 API, the window size usually includes the decorations, - though. - - * gdk/win32/gdkevents-win32.c (decode_key_lparam): Move inside - #ifdef G_ENABLE_DEBUG. - (handle_configure_event): New function, generates GDK_CONFIGURE - events from WM_SIZE and WM_MOVE messages. Even if no event is - generated because of the event mask, still set the private - position and size fields. Calculate position and size correctly. - (gdk_event_translate): Call handle_configure_event(). - - * gdk/win32/gdkgeometry-win32.c: Cosmetics. - - * gdk/win32/gdkwindow-win32.c: Use GDI_CALL() and API_CALL() - macros. Cosmetic debugging output changes. - (SafeAdjustWindowRectEx): Remove. If an application wants to - locate a window outside of the screen, it's not GDK's business to - prevent it. And anyway, with multiple monitors, negative - coordinates are perfectly normal. - (gdk_window_new): Adjust the window size for decorations after - _gdk_window_init_position() has done its job. (But the big window - code currently is presumably broken on Win32 anyway.) - (gdk_window_move): The position passed in is supposed to be that - of the window border, so don't need to adjust for decorations. - (gdk_window_resize, gdk_window_move_resize): Simplify somewhat. - -Tue Jul 29 13:55:44 2003 Soeren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_set_style, - gtk_toolbar_prepend_element, gtk_toolbar_append_element, - gtk_toolbar_insert_space, gtk_toolbar_prepend_space, - gtk_toolbar_append_space, gtk_toolbar_insert_item, - gtk_toolbar_prepend_item, gtk_toolbar_append_item, - gtk_toolbar_set_tooltips, gtk_toolbar_set_orientation, - gtk_toolbar_new, gtk_toolbar_prepend_item): - - Move documentation inline from template files. - - * gtk/gtktoolbar.c (gtk_toolbar_insert_element, - gtk_toolbar_insert_widget, gtk_toolbar_prepend_widget, - gtk_toolbar_append_widget, gtk_toolbar_remove_space, - gtk_toolbar_insert_stock, gtk_toolbar_unset_icon_size, - gtk_toolbar_get_icon_size, gtk_toolbar_set_icon_size, - gtk_toolbar_get_tooltips, gtk_toolbar_unset_style, - gtk_toolbar_get_style, gtk_toolbar_get_orientation) - - Copy documentation from stable that was added after the EggToolbar - branched. - - * gtk/gtktoolbar.h: deprecate gtk_toolbar_unset_icon_size() - -Mon Jul 28 18:21:34 2003 Soeren Sandmann - - * gtk+/docs/: Commit autogenerated changes, so patches will make - sense. - -2003-07-27 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (build_key_event_state): On Win9x, - the keyboard state returned by GetKeyboardState() doesn't - distinguish between the left and right Control and Alt keys. Thus - we cannot detect AltGr (which is supposed to be left Control + - right Alt) the same way as on NT-based systems, but have to accept - either Control + either Alt as AltGr. - -2003-07-27 Matthias Clasen - - * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): - Fix function name in warning message. (#118156, Tim-Philipp - Mller) - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): - is-expander and is-expanded are boolean properties, not ints. - (#118359, Josh Parsons) - -Sat Jul 26 15:21:27 2003 Soeren Sandmann - - * gtk/gtkimagemenuitem.c - (gtk_image_menu_item_toggle_size_request): don't request - toggle_space when the image width is 0. - -2003-07-25 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c: New flags _gdk_input_locale_is_ime - and _gdk_keyboard_has_altgr. - - * gdk/win32/gdkevents-win32.c: Lots of changes. Most important - ones detailled here. - - Code that has been ifdeffed out for a long time removed. Remove - some really old doc comments that were left behind for some public - functions, the official ones are in the X11 backend anyway. Change - GDK_WINDOW_OBJECT() calls to GdkWindowObject casts. Reformat - multi-line boolean expressions to have the operators at ends of - lines. - - As mouse capture with SetCapture() indeed seems to work OK, no - need to have the correspoinding macro USE_SETCAPTURE and ifdefs. - - Ifdef out the gdk-ping-msg stuff. I don't remember why it was - needed at some time, and things seem to work fine now without - (knock on wood). - - Ifdef out the search for some Latin locale keyboard layout being - loaded. Not used currently, but might be needed after all, if we - decide that we want to be able to generate ASCII control character - events with a non-Latin keyboard. - - (assign_object): New helper function, handles the g_object_ref() - and unref() calls when assigning GObject pointers. - - (generate_crossing_events): Also generate the GDK_NOTIFY_INTERIOR - enter event when the pointer has moved to an ancestor window. Was - left out by mistake. - - (gdk_window_is_ancestor): Renamed from gdk_window_is_child(). - - (gdk_pointer_grab, gdk_pointer_ungrab): Implement the confine_to - functionality, using ClipCursor(). - - (find_window_for_mouse_event): Splice part of code into new - function find_real_window_for_grabbed_mouse_event(). - - (fixup_event, append_event, apply_filters): New functions, code - refactored out from elsewhere. - - (synthesize_enter_or_leave_event, synthesize_leave_event, - synthesize_enter_event, - synthesize_leave_events,synthesize_enter_events): Also take a - GdkCrossingMode parameter, in preparation to generating - GDK_CROSSING_GRAB and GDK_CROSSING_UNGRAB events. - - (fixup_event, append_event, fill_key_event_string): New functions, - code refactoring. - - (vk_from_char, build_keypress_event, build_keyrelease_event): - Removed as part of dropping WM_CHAR handling. - - (build_key_event_state,gdk_event_translate): Call - GetKeyboardState(), once, for each keyboard message, instead of - several calls to GetKeyState() here and there. - - (gdk_event_translate): Fix bugs #104516, #104662, #115902. While - at it, do some major refactoring, and some fixes for potential - problems noticed while going through the code. - - Don't handle WM_CHAR at all. Only handle WM_KEYDOWN and - WM_KEYUP. Don't need the state variables related to whether to - wait for WM_CHAR or not, and whether the current key is - AltGr. Remove lots of complexity. Thus don't need the - use_ime_composition flag. - - Not handling WM_CHAR means dead key handling will have to be taken - care of by GTK, but that seems to work fine, so no worry. - - Another side-effect is that Alt+keypad digits don't work any - longer, but it's better to learn to use GTK's ISO14755 support is - anyway. - - Be more careful in checking whether AltGr is involved. Only - attempt to handle it if the keyboard actually has it. And - explicitly check for *left* Control plus *right* Alt being - pressed. Still, allow (left) Alt and/or (right) Control with AltGr - chars. - - Handle keys using similar code as in the X11 backend. As we have - built a keymap in gdkkeys-win32.c anyway, use it by calling - gdk_keymap_translate_keyboard_state() to look up the keysym from - the virtual key code and keyboard state. Build the key event - string in exactly the same way as the X11 backend. - - If an IME is being used, don't generate GDK events for keys - between receiving WM_IME_STARTCOMPOSITION and - WM_IME_ENDCOMPOSITION, as those keys are for the IME. - - For WM_IME_COMPOSITION, handle all the Unicode chars returned from - the IME, not just the first one. - - gdk_event_translate() is still quite complex, could split the - message handler cases out into separate functions. - - On mouse events, when the mouse is grabbed, use - find_real_window_for_grabbed_mouse_event() in order to be able to - generate correct crossing events. - - No longer take a pre-allocated GdkEvent as parameter. Instead, - allocate events as needed and append them to the queue. (This is - different from how gdk_event_translate() in the X11 backend - works.) This change made the code much clearer, especially in the - cases where we have to generate several GDK events for one Windows - message. Return FALSE if DefWindowProc() should be called, TRUE - if not. If DefWindowProc() should not be called, also return the - value to be returned from the window procedure. - - (Previously, the interaction with gdk_event_translate()'s caller - was much more complex, when we had to indicate whether the - already-queued event should be left in the queue or removed, and - in addition also had to indicate whether to call DefWindowProc() - or not, and what value to return from the window procedure if - not.) - - Don't use a separate "private" variable required to be pointing to - the GdkWindowObject of the "window" variable at all times. Just - use casts, even if looks a bit uglier. - - Notice destroyed windows as early as possible, and break out of - the messsage switch. - - Use _gdk_pointer_root as current_window when the pointer is - outside GDK's top-level windows. - - On WM_INPUTLANGCHANGE, set _gdk_input_locale_is_ime as - appropriate, based on ImmIsIME(). - - (gdk_event_translate, gdk_event_send_client_message_for_display, - gdk_screen_broadcast_client_message): Implement client messages. - Use a registered Windows message to pass GDK client messages. Note - that the amount of user data is restricted to four bytes, as it is - carried in the LPARAM. (The WPARAM is used for the message type - "atom".) - - (real_window_procedure): Adapt for new gdk_event_translate() - interface. - - * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Set - _gdk_input_locale_is_ime initially. - - * gdk/win32/gdkwindow-win32.c: Use g_object_ref()/unref() instead - of g_colormap_ref()/unref(). - - (gdk_window_new): Made code a bit more like the X11 one, pretend - to handle screens (although we just have one for now). - - * gdk/x11/gdkevents-x11.c - (gdk_event_send_client_message_for_display, - gdk_screen_broadcast_client_message): Document the user data - limitation on Win32. - - * gdk/win32/gdkevents-win32.c (print_event): More complete enter - and leave notify detail output. - - * gdk/win32/gdkkeys-win32.c (update_keymap): Make dead keys - visible to GDK and GTK. Store the corresponding GDK_dead_* keysym - for those, so that the GtkIMContextCimple compose tables will - work. Deduce if the keyboard layout has the AltGr key, and set the - above flag accordingly. - -2003-07-26 Matthias Clasen - - * gtk/gtkwidget.c: Document DND signals. - -2003-07-24 Matthias Clasen - - * gtk/gtktextview.c (popup_targets_received): Make the "Input Methods" - insensitive when editing isn't possible. (#118150) - -2003-07-23 Matthias Clasen - - * gtk/gtkcolorsel.c (gtk_color_selection_init): Make the hue - spinbutton wrap. (#118097, John Darrington) - - * docs/faq/gtk-faq.sgml: Mention Xnest as a way to debug GTK+ apps. - -2003-07-20 Hans Breuer - - * makefile.msc : new file to build it all - * Makefile.am : ... added to EXTRA_DIST - - * gdk/makefile.msc gtk/stock-icons/makefile.msc - gtk/makefile.msc.in tests/makefile.msc : updated - - * gdk/gdk.def gtk/gtk.def : export a bunch of new - functions - - * gtk/gtkbbox.c : use g_return_val_if_fail() if - there is a value to return - - * gtk/gtkfontsel.c gtk/gtkiconfactory.c : - static correctness - - * gtk/gtkicontheme.c : ported to use GTimeVal instead of - struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR - - * gtk/gtkicontheme.c : use HAVE_LC_MESSAGES - - * gtk/gtkimmulticontext.c : use gtkprivate.h - - * gtk/stock-icons/stock_color_picker_25.png - gtk/stock-icons/stock_jump_to_rtl_16.png - gtk/stock-icons/stock_jump_to_rtl_24.png - gtk/stock-icons/stock_redo_rtl_16.png - gtk/stock-icons/stock_redo_rtl_24.png - gtk/stock-icons/stock_undelete_rtl_16.png - gtk/stock-icons/stock_undelete_rtl_24.png - gtk/stock-icons/stock_undo_rtl_16.png : - gtk/stock-icons/stock_undo_rtl_24.png : - readded as binary - -Sat Jul 19 22:39:24 2003 Soeren Sandmann - - * gtk/gtktoolitem.c (gtk_tool_item_size_request): remove - leftover request of {xy}thickness - -Sat Jul 19 16:26:02 2003 Soeren Sandmann - - * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't - attempt to add a NULL icon to the box. - -Sat Jul 19 12:13:20 2003 Soeren Sandmann - - * gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs - on focus in/out. - -2003-07-19 Matthias Clasen - - * gtk/gtkstock.h (GTK_STOCK_DIALOG_AUTHENTICATION): New stock id. - * gtk/gtkiconfactory.c (get_default_icons): Add - stock_dialog_authentication_48. (#65765) - * gtk/stock-icons/Makefile.am (VARIABLES2, IMAGES): Here too. - * gtk/stock-icons/stock_dialog_authentication_48.png: New image. - - * gtk/gtkbbox.h: - * gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New - function. (#64562) - -Sat Jul 19 00:18:40 2003 Soeren Sandmann - - * gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99 - declaration - - * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function - (gtk_widget_real_focus_{in|out}_event): queue shallow draws - instead of full draws. - -2003-07-18 Matthias Clasen - - * gtk/gtkwindow.c: Add properties decorated and gravity. (#80234) - - * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding - signal, move_viewport. - (gtk_text_view_move_viewport): New function which implements the - move_viewport functionality. - (gtk_text_view_move_cursor_internal): If the cursor is not visible, move - the viewport. (#78669) - - * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for - move_viewport argument. - - * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip - property. (#111779) - - * gtk/gtkwindow.h: - * gtk/gtkwindow.c (gtk_window_set_default_icon): New method. (#95816) - - * gtk/gtkmessagedialog.h: - * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method. - (#65501, Sebastian Rittau) - -Fri Jul 18 20:06:57 2003 Soeren Sandmann - - * gtk/gtktextview.c (changed_handler): use - gtk_widget_queue_resize_noredraw(). - -2003-07-16 Jody Goldberg - - * gdk/x11/gdkwindow-x11.c (gdk_window_focus) : fix cut-n-paste-o - -Fri Jul 18 19:55:50 2003 Soeren Sandmann - - * gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this - API. - -Fri Jul 18 18:43:01 2003 Soeren Sandmann - - By popular request give toolbuttons a border. - - * gtk/gtktoolitem.c - (gtk_tool_item_size_allocate): - (gtk_tool_item_size_request): don't request and allocate a border - around the child - - * gtk/gtktoolbutton.c - (gtk_tool_button_size_allocate): - (gtk_tool_button_size_request): remove these functions - - * gtk/gtktoolbar.c - (gtk_toolbar_size_request): - (gtk_toolbar_size_allocate): request and allocate a border if we - have a shadow. - -Thu Jul 17 19:24:51 2003 Kristian Rietveld - - Merged from stable. - - Fixes issues pointed out by Morten Welinder in #115140. - - * gtk/gtktreeview.c (gtk_tree_view_size_request): fix comment, - (do_validate_rows): update validated_area with a logic OR instead - of a bitwise OR, - (validate_rows_handler): make the if statement match the one in - validate_rows(), so we don't leak the timeout. - -Thu Jul 17 19:12:02 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview - should only grab focus back if the "cell_editable" widget still - has focus. (Fixes #110104, testcase provided by Marco Pesenti - Gritti). - -Thu Jul 17 19:06:34 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button): - Don't set attr.event_mask twice, those things were meant to be - ORred. (#115139, pointed out by Morten Welinder). - -Thu Jul 17 16:11:21 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): stop editing - if needed. (Fixes #115869, reported by Michael Natterer). - -2003-07-15 Matthias Clasen - - * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size): - Fight against gtk-doc stupidity. - -2003-07-13 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_begin): Rename parameter target_list back to - targets, to pacify gtk-doc. - -Sun Jul 13 15:57:57 2003 Soeren Sandmann - - * gtk/gtktoolbutton.c (gtk_tool_button_finalize): Fix leaks of - label_text, label_widget and icon_widget. (#117312, - Christian Persch) - -Sun Jul 13 01:37:51 2003 Soeren Sandmann - - * gtk/gtkmenu.c (gtk_menu_class_init): new properties - "horizontal-offset" and "vertical-offset" that determines the - position of the menu when it is a submenu. - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): position - submenus according to new vertical- and horizontal-offset - properties. - -Sat Jul 12 16:16:04 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_drag_data_received): special - case drags to "0", scroll to the top after dropping. (Fixes #94968, - reported by Alp Toker). - -Sat Jul 12 16:08:32 2003 Kristian Rietveld - - Merged from stable. - - * demos/gtk-demo/editable_cells.c (cell_edited): fixup bad - code (#115784, Owen Taylor). - -Sat Jul 12 16:01:03 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): - free the old text and extra_attrs *after* we parsed the new - markup string. (Fixes #114485, reported by Owen Taylor). - -Sat Jul 12 15:51:33 2003 Kristian Rietveld - - Merged from stable. - - Fixes #113904, testcase provided by Rene Seindal. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): set - pressed_button to -1 when a row has been activated, - (gtk_tree_view_motion_bin_window): only start a drag if there's - a button being pressed. - -Sat Jul 12 15:51:18 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): use - gdk_window_get_pointer instead of gdk_display_get_window_at_pointer - to avoid a roundtrip (#110272, Owen Taylor). - -Sat Jul 12 15:28:26 2003 Kristian Rietveld - - Merged from stable. - - This patch really really fixes scrolling. Related bugs: #81627, - testcase provided by Timo Sirainen, #111500, testcase provided by - manu, #113241, reported by Pedro Gimeno/Michael Natterer. - - * gtk/gtktreeview.c (validate_visible_area): scrolling to a dy - which is equal to the lower border of the window means scrolling - to an invisible row, always update the dy when scrolling to an - invisible row, corrected area_above/below calculations for - invisible rows, when walking the tree correct the size - subtracted for invalidated rows, fix wrong logic in comment. - -2003-07-11 Matthias Clasen - - * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free - mime_types. (#117219, Steve Chaplin) - -Tue Jul 8 20:11:04 2003 Owen Taylor - - * gdk/x11/gdkevents-x11.c (get_real_window) - gdk/x11/gdkinput-x11.c (_gdk_input_common_init) - gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init) - gdk/x11/gdkprivate-x11.h (_gdk_windowing_image_init) - Don't assume that all events start with XEventAny - Xkb events - don't! (#105745). So, only do that for core events, and for - non-core events, add a system for registering event types - that start with XEventAny. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): - Check to see if the result of gdk_window_lookup_for_display() - is actually a window. - -Fri Jul 11 20:48:14 2003 Kristian Rietveld - - * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL - check a silent assert, so it follows the g_free() behaviour. - -2003-07-11 Matthias Clasen - - * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents - vertically. (#109823, Joe Shaw) - -2003-07-11 Morten Welinder - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory - access error. (#69436) - -Fri Jul 11 14:32:43 2003 Kristian Rietveld - - Landing GtkTreeModelFilter and the completion code. (Test program - and documentation will follow next week). - - * gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch], - gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files. - - * gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote - necessary code to hook up completion. - - * gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new - GtkCellLayout interface. - - * gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED. - - * gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new - source files. - -Wed Jul 9 19:48:26 2003 Kristian Rietveld - - Merge from stable. - - * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): don't - directly return from ->window_at_pointer, but set win_x and win_y - first if needed. (Fixes #110166, reported by Arno Charlet). - - * gdk/gdkwindow.c (gdk_window_get_composite_drawable): change - function to accept GdkDrawables and not just GdkWindows. This was - already done in some other functions a while back, but this patch - got lost for some reason. - -2003-07-09 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text - direction when sorting children. (#116540, Soeren Sandmann) - -Tue Jul 8 17:36:21 2003 Owen Taylor - - * gdk/x11/gdkasync.[ch] gdk/gdkdnd-x11.c: - Change _gdk_x11_send_xevent_async() to - _gdk_x11_send_client_message_async() avoid using Xlib - internals that are different on Solaris. - (#116917, Morten Welinder) - -2003-07-08 Matthias Clasen - - * gtk/gtkcontainer.c (gtk_container_remove): Doc addition. - (#116501, Doug Quale) - -Tue Jul 8 21:35:22 2003 Soeren Sandmann - - * gtk/gtktoggletoolbutton.h: remove strange #define - * gtk/gtktoolbutton.h: fix cut'n'paste error - * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance - private data - * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance - private data instead of g_new0() - * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use - instance private data - -Tue Jul 8 21:10:14 2003 Soeren Sandmann - - * gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK - for INPUT_ONLY window - * gtk/gtkmenuitem.c (gtk_menu_item_realize): same - * gtk/gtknotebook.c (gtk_notebook_realize): same - * gtk/gtkexpander.c (gtk_expander_realize): same - * gtk/gtkrange.c (gtk_range_realize): same - - Fix #116303 - -Tue Jul 8 19:57:14 2003 Soeren Sandmann - - * gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x - when detail is "menuitem". With the new menu look is isn't needed - anymore. - - * gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a - resize here, so that tool items will get a chance to relayout - themselves based on the toolbar configuration. - - change DEFAULT_SPACE_SIZE to 4 instead of 5 - - * gtk/gtktoolbar.c - Get rid of "!GTK_BIN (item)->child means separator". Separators - are widgets in their own right - - change DEFAULT_SPACE_SIZE to 4 instead of 5 - - (get_space_size): remove this function - (toolbar_item_is_homogeneous): new function - - * gtk/gtkseparatortoolitem.c - (gtk_separator_tool_item_size_request): new function. - -Tue Jul 8 14:10:35 2003 Soeren Sandmann - - * gtk/gtktoggletoolbutton.h: use private data, add new - internal function _gtk_toggle_tool_button_get_button() - - * gtk/gtktoolbutton.h: move to private data - - * gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new - private data. - -Tue Jul 8 12:50:20 2003 Soeren Sandmann - - * gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a - type check, (#116947, Krasimir Angelov) - - * gtk/gtktoolbar.c: Use new GtkToolItem accessors. - - * gtk/gtktoolitem.[ch]: Use a private struct to hold the instance - data. Not instance private data yet, because of bug 116921. - - * gtk/gtktoolitem.h: new accessors: - gtk_tool_item_get_homogeneous () - gtk_tool_item_get_expand () - gtk_tool_item_get_pack_end () - gtk_tool_item_get_use_drag_window () - -Mon Jul 7 16:50:32 2003 Soeren Sandmann - - * gtk/gtkcellrenderertext.c - (gtk_cell_renderer_text_class_init): remove accidentally committed - debugging spew - - * gtk/gtktoolbar.c - (gtk_toolbar_paint_space_line): remove this function - (gtk_toolbar_expose): always propagate expose, even if the item is - a separator item - - * gtk/gtkseparatortoolitem.c - (gtk_separator_tool_item_expose): moved here from gtktoolbar.c - (get_space_size): new function. - (get_space_style): new function - -Sun Jul 6 13:00:20 2003 Owen Taylor - - * gtk/gtkdnd.c (_gtk_drag_source_handle_event) - * gtk/gtkdnd.c (gtk_drag_begin_internal): Remove use - of GDK_POINTER_MOTION_HINT_MASK. - - * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating - of the drag into an idle as a superior form of - expose compression. - - * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon - creation here, so that we have an icon at the start - of the drag (e.g., when retrieving the window cache - information.) - -Sun Jul 6 17:21:23 2003 Soeren Sandmann - - * docs/widget_geometry.txt: better drawing of GtkMenuItem - * docs/widget_geometry.txt: add notes about GtkMenu - * gtk/gtkstyle.c: remove leftover "#include "gtkhandlebox.h"" - -Sat Jul 5 10:34:00 2003 Soeren Sandmann - - * gtk/gtkmenu.c: add vertical_padding style property. - - * gtk/gtkmenuitem.c: add style properties toggle_spacing, - arrow_spacing and horizontal_padding. Also center separators and - make them a bit taller. - - * gtk/*menuitem.c: use new style properties. - - * docs/widget_geometry.txt: Add note about GtkMenuItem - - * gtk/gtkstyle.c - (gtk_default_draw_vline, gtk_default_draw_hline): - fix +/-1 errors. - - (gtk_default_draw_shadow): draw a black border around menus. - - * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix - calls to gtk_paint_hline() and gtk_paint_vline() (they take x1, - x2 and y1, y2 respectively, not x, width and y, height). - -Sat Jul 5 09:55:38 2003 Owen Taylor - - * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup - all the atoms in the target list at once. - - * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): - Local drag short-circuit. - - * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the - local case, poke the actions in directly instead of - going through xdnd_set_actions. - - * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit - the local case. - - * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't - XSelectInput()/add a filter if the drag is local. - - * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection): - Simplify handling of "XdndSelection". - - * gdk/x11/gdkevents-x11.c - (gdk_event_send_client_message_to_all_recurse): Somehow, - a WM_STATE => _NET_WM_STATE change hand been made here. - - * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free - xatom_names, not atom_names. - - * tests/testdnd.c (target_drag_motion): Make the trashcan - open again. (Got lost in deprecation cleanup.) - -Sat Jul 5 00:49:32 2003 Owen Taylor - - * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up - earlier, so we don't get a big pile of uncompressed - motion events before the grab takes effect. - - * gtk/gtkdnd.c (gtk_drag_update_icon): Call - gdk_window_process_all_updates() so that the area - we are dragging over gets a change to redraw. - - * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use - gdk_window_get_position(), not gdk_window_get_origin(). - - * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext) - gdkdisplay-x11.h: use XShapeQueryExtension to - avoid duplicate XQueryExtension when we actually - use it. Remove unnecessary caching in GdkDisplayX11. - -Fri Jul 4 23:49:22 2003 Owen Taylor - - * gdk/x11/gdkasync.[ch] (_gdk_x11_get_window_child_info): - Function to get a range of information about all the - children of a window in a single pass. - - * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse) - gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Use - _gdk_x11_get_window_child_info() to greatly reduce - the number of roundtrips. - -Fri Jul 4 22:57:18 2003 Owen Taylor - - * gdk/x11/gdkasync.[ch] (_gdk_send_xevent_async): Add - a function to XSendEvent() and call a calback on - failure/success. - - * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Short-circuit - messages to the same process, use _gdk_send_xevent_async(). - -Fri Jul 4 22:26:27 2003 Owen Taylor - - * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split - toplevel-specific pieces of GdkWindowImplX11 into - a separate GdkToplevelX11 structure. - -Fri Jul 4 22:05:09 2003 Owen Taylor - - * gdk/x11/gdkasync.c (struct _SetInputFocusState): Fix - some leftover fields. - -Fri Jul 4 15:57:52 2003 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): - Use asynchronously _gdk_x11_set_input_focus_safe - to avoid having to trap errors and XSync(). - - * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use - _gdk_x11_set_input_focus_safe() here as well. - - * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): - Rework handling of property notifies on _NET_WM_STATE - so that we ignore _NET_WM_DESKTOP notifies unless we - really care. - - * gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use - XShmQueryExtension() rather than XQueryExtension() to - avoid extra rountrip. - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): - Remove unused call to XGetWindowAttributes() - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove - unused call to XGetKeyboardControl(). - - * gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush): - Add (#99571) - - * gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c - No-op implementations of gdk_display_flush(). - - * gdk/gdkwindow.c (gdk_window_process_all_updates): Use - gdk_display_flush() rather than gdk_flush() to avoid - XSync(). - - * gdk/x11/gdkwindow-x11.c (update_wm_hints) - gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here - so that we don't have to get the property back from the server. - - * gdk/x11/gdkwindow-x11.c (show_window_internal): Store - the serial of when we map a toplevel to allow optimizing - out notifies on _NET_WM_STATE/_NET_WM_DESKTOP. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't - XTranslateCoordinates() for override-redirect windows. - -Fri Jul 4 15:59:27 2003 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment - about setting window group after the window is mapped from docs - - nothing the ICCCM forbids that. - - * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size): - Fix g_return_val_if_fail() in void return function. - - * configure.in: Fix misplaced comma that was resulting - in XShm always being disabled. - -Fri Jul 4 19:55:49 2003 Soeren Sandmann - - * tests/stresstest-toolbar: remove this accidentally committed - file. - - * tests/stresstest-toolbar.c: really add this new test - -Fri Jul 4 19:06:31 2003 Soeren Sandmann - - * tests/stresstest-toolbar.c: new test for removing items - - * tests/testtoolbar.c: add a popup menu - - * gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid - assert widget->parent == container when the container is a - toolbar. - - * gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much - simpler. Also make correct. - - * gtk/gtktoolbar.c (gtk_toolbar_button_press): make - popup_context_menu a boolean handled signal. - -2003-07-04 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_polygon, - gdk_win32_draw_segments, gdk_win32_draw_lines): We can calculate - the width and height of the bounding rectangle only after the - minumum x and y have been found, and need a separate loop for - it. Thanks to Bruce Hochstetler for providing a sample program - exhibiting the bug. - -2003-07-03 Tor Lillqvist - - * gdk/gdk.def: Add gdk_string_to_compound_text_for_display. - (#116537, Peter Zelezny) - -Thu Jul 3 03:13:20 2003 Soeren Sandmann - - * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to - fix warning. Assign something to old_value to quiet gcc - - * gtk/gtkcalendar.c - (start_spinning): gtk_timeout_add->g_timeout_add - - * gtk/gtkicontheme.c - (theme_lookup_icon): Make it compile (remove double semicolon) - - * gtk/gtktoolbutton.c - (gtk_tool_button_class_init): Long comment about properties. - (gtk_tool_button_class_init): Improve text for "use_underline" - property - (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based - on whether the passed-in label has use_mnemonic set - (gtk_tool_button_create_menu_proxy): Split image cloning out in - new function. Make that function also handle image with pixbuf - storage. - (gtk_tool_button_construct_contents): Use gtk_widget_destroy() - instead of gtk_container_remove(). - (gtk_tool_button_construct_contents): Fix eliding bug - - * gtk/gtktoolbar.c - (gtk_toolbar_finalize): New function. Unref tooltips, pointed out - by Morten Welinder - (gtk_toolbar_button_press): Make popup_context_menu signal provide - coordinates and button number - - * tests/testtoolbar.c (main): Add new pixbuf toolbutton - - * tests/apple-red.png: new file - -Wed Jul 2 18:00:56 2003 Owen Taylor - - * gtk/gtkicontheme.[ch]: Implement a loader for - named themed icon based on from gnome-desktop library - by Alex Larsson. - - * gtk/gtkiconthemeparser.[ch]: .ini file parsing code - from gnome-desktop. - - * gtk/gtkiconfactory.[ch]: Add - gtk_icon_source_set/get_icon_name() to allow stock icons - to be based off of named theme icons. - - * gtk/gtkiconfactory.c: Rework sources so that the source - is *either* a pixbuf, or a filename, or an icon name, - instead of the pixbuf/filename mix it was before. Put a - workaround for get_pixbuf() so that it can return the - filename pixbuf, e.g, for render_icon(). - - * gtk/gtkiconfactory.c: Make the default setup use - themed icons, and add builtin icons to the default - icon theme for all the standard pixbufs, so we - don't rely on actually having an icon theme on disk. - - * gtk/gtkrc.c: Add support for @"icon-name" to specify - a themed icon for a stock icon source. - - * tests/Makefile.am test/testicontheme.c: Add a test - program from gnome-desktop. - - * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add - Net/IconThemeName / gtk-icon-theme-name setting. - - * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually - update the icon cache serial so we don't continually - think we are out-of-date. - - * gtk/gtkwidget.c: Fix a couple of references in doc comments - to ::direction_set that should have been to ::direction-changed - -Wed Jul 2 14:45:41 2003 Owen Taylor - - * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the - style to the widget. - -Wed Jul 2 15:42:26 2003 Soeren Sandmann - - * gtk/gtk.h: Add new toolbar headers - - * tests/testtoolbar.c: new file - - * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c - - * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile - -Tue Jul 1 22:49:25 2003 Soeren Sandmann - - * gtk/gtktoolbar.c: - (gtk_toolbar_remove_tool_item): Fix bug where list is changed - inside a for loop (pointed out by Morten Welinder). - (gtk_toolbar_focus_home_or_end): Minor formatting change - - Comments from Owen: - - * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use - gtk_toolbar_elide_underscores instead. - - * gtk/gtktoolbar.c: rename signal from focus_ends to - focus_home_or_end. - (_gtk_toolbar_elide_underscores): export this as an internal - function. - (gtk_toolbar_move_focus): add comment explaining difference to - gtk_toolbar_focus(); - (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and - TAB_BACKWARD focus the right widgets in RTL mode - - * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take - "label" and "icon" parameters - - * gtk/gtktoolbutton.[ch]: remove icon_set property. - -2003-07-01 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs. - (116364, Morten Welinder) - - * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the - corresponding dialogs. - - * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h, - gtkcolorbutton.h. - (gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c. - - * gtk/gtkfontbutton.[hc]: New files containing a font picker widget. - - * gtk/gtkcolorbutton.[hc]: New files containing a color picker widget. - - * gtk/gtk.h: Include gtkexpander.h, gtkfontbutton.h, gtkcolorbutton.h. - - * gtk/gtkexpander.c: Small additions to the docs. - -2003-07-01 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer): - WindowFromPoint() wants screen coordinates (#115422, Tim Evans). - -2003-07-01 Matthias Clasen - - * configure.in: Check for Xcursor. - - * gdk/x11/gdkcursor-x11.c: - * gdk/gdkdisplay.h: - * gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions: - gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(), - gdk_display_supports_cursor_color(), - gdk_display_get_default_cursor_size() and - gdk_display_get_maximal_cursor_size(). (#69436) - -2003-06-30 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function, - callback proc for EnumWindows(). - (gdk_drag_find_window_for_screen): Actually take the drag_window - argument into account: Instead of using WindowFromPoint(), use - EnumWindows(), to be able to skip the drag_window. (#116320, Tony - M Brown, Herman Bloggs) - - * gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and - gdk_window_ref()/unref() calls with g_object_ref()/unref(). - Consistently use %p format in debugging output of pointers and - HANDLEs. - -2003-06-30 Mark McLoughlin - - * gtk/gtkexpander.h: kill some stray characters - breaking the build. - -2003-06-30 Mark McLoughlin - - Add GtkExpander. See discussion in bug #60553. - - * gtk/gtkexpander.[ch]: add. - - * gtk/Makefile.am: build gtk-expander.[ch]. - - * docs/widget_geometry.txt: add info on the layout - of GtkExpander. - -Mon Jun 30 01:20:19 2003 Soeren Sandmann - - * gtkradiotoolbutton.c: new file - * gtkradiotoolbutton.h: " - * gtktoggletoolbutton.c: " - * gtktoggletoolbutton.h: " - * gtktoolbutton.c: " - * gtktoolbutton.h: " - * gtktoolitem.c: " - * gtktoolitem.h: " - * gtktoolbar.c: many changes - * gtktoolbar.h: many changes - * gtkseparatortoolitem.c: new file - * gtkseparatortoolitem.h " - - New toolbar. - - - Items on a toolbar are now separate widgets, instances of a - subclass of GtkToolItem. - - - Items there aren't room for on the toolbar are unmapped, and an - overflow menu with a proxy menu item is added instead. - - - The toolbar is keyboard navigatable. Press TAB to focus the - first item, then use arrow keys and Ctrl TAB to move around the - toolbar. TAB moves focus out of the toolbar. - - - Bascially all of the old toolbar API is deprecated in favor of - new API in gtktoolbar.h, gtktoolitem.h, gtktoolbutton.h - - - The toolbar is backwards compatible with the old toolbar. - -2003-06-29 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter - from docs, some more formatting fixes. - -2003-06-28 Tor Lillqvist - - Fix for #111028, thanks to J. Ali Harlow, who writes: - I found that the GdkPixmap->GdkImage reference really isn't - important. It's only really there to have somewhere convenient to - store the location of the pixel data in the pixmap and as an easy - way of accessing the dimensions of that data. I have therefore put - together a fix which removes this reference entirely which seems - to solve the problem. - - * gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32): - Instead of a pointer to a GdkImage, keep a pointer to the pixels - directly. - - * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove. - (_gdk_win32_new_image): New function, replacing the above. Creates - a GdkImage without any associated GdkPixmap. - (gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead. - - * gdk/win32/gdkprivate-win32.h: Remove from here, too. - - * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap) - * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap) - * gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn) - * gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description): - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize, - gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new) - Corresponding changes. - -Thu Jun 26 21:41:16 2003 Soeren Sandmann - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_cell_set_cell_data): only set "is_expander" - and "is_expanded" if the new value is different fromt he old one. - -Wed Jun 25 18:59:15 BST 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Fix typos. Update - thread example I missed yesterday. - -2003-06-24 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for - shadow_type. - - * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): - (gtk_widget_class_list_style_properties): Use same parameter names as in - header (to silence gtk-doc). - - * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments. - -Tue Jun 24 20:00:45 BST 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Thread support updates - from Owen. Various suggestions from Steve Chaplin. - -2003-03-24 Mohammad DAMT - - * po/id.po: Updated Indonesian translation - -2003-06-21 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): When - emulating X11's automatic grab on button down, pass owner_events - as FALSE. According to the XLib spec, automatic grabs use True for - owner_events when OwnerGrabButtonMask is selected, and I don't see - the X11 backend doing that. (#82497, #91619, #92835, #107322, #110271) - (find_window_for_pointer_event): Improve debugging output. - -2003-06-17 Tor Lillqvist - - * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin - subdirectory, where libtool 1.5 installs them. - - * README.win32: Point to FSF's binary Win32 distribution of - gettext-runtime. - -2003-06-17 Matthias Clasen - - * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New - macros to check for XML catalog contents and path, borrowed from - gtk-doc. - * configure.in: New option --enable-man to enable regeneration of - man pages from Docbook, if the necessary tools are found. - -2003-06-15 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_class_init): - * gtk/gtknotebook.c (gtk_notebook_class_init): - * gtk/gtkalignment.c (gtk_alignment_class_init): - * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties - as 2.4 additions. - - * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs - to the proper place, immediately before the g_signal_new() call. - - * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags - more obvious. (#115122, Jeff Franks) - -2003-06-12 Anders Carlsson - - * gtk/gtkwidget.c: (event_window_is_still_viewable): - Special case pixmaps. (#114880) - -2003-06-12 Matthias Clasen - - * gtk/gtkwidget.c: Document child-notify and drag-data-received - signals. Owen, we need to figure out where the best place for - these comments in the source is. I currently put them in front of - the signals enum. - -2003-06-11 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_check_threshold): s/threshhold/threshold/. - -Thu Jan 12 01:01:19 2003 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - silly typo fix. s/seperator/separator/. This gets rid of the - assert spam when using TreeView. - -Tue Jun 10 11:23:48 2003 Hidetoshi Tajima - - * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New - function for XIM instantiate callback. - * modules/input/gtkimcontextxim.c (xim_info_try_im): New function - where call to XOpenIM() or XRegisterIMInstantiateCallback() is - actually made. - * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function - for XIM's destroy callback. - * modules/input/gtkimcontextxim.c (get_im): add a check if info->im - is set or not - if it's not set, call xim_info_try_im() to try to - initiaize it. - * modules/input/gtkimcontextxim.c (reinitialize_ic): reset - filter_key_release flag of the context. - * modules/input/gtkimcontextxim.c (get_ic_real): removed - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move - code from the removed get_ic_real(). - - For XIM instantiation, destruction and re-instantiation. With - this, Gtk+ apps will be able to connect or reconnect to the XIM, - when it starts after the apps, or when the XIM gets lost and recover. - (#113099, #107782). - -Mon Jun 10 01:12:31 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): - check if width is !null, not *width. Doh. - -Tue Jun 10 01:09:33 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - Remove the weird dx logic, get all cell_area and background_area - calculations right. Not sure what was up with it before. (Fixes - #110989, testcase from Vasco Alexandre da Silva Costa). - -Tue Jun 10 00:58:23 2003 Soeren Sandmann - - * tests/testgtk.c: Make it compile with C89 compilers - -2003-06-10 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean - property "overwrite". - (gtk_text_view_[gs]et_property): Handle "overwrite". - * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter - and setter for "overwrite" property. (#110241, Jeroen Zwartepoorte) - -2003-06-09 Matthias Clasen - - * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child - properties "resize" and "shrink". - (gtk_paned_[gs]et_child_property): Implementations of - GtkContainer::[gs]et_child_property. - * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new - paned child properties instead of remove/add hacks. (#114667, - Soeren Sandmann) - -Mon Jun 9 16:18:11 2003 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_button_press): Back - out event->window test - it wasn't needed because - of the call to get_widget_coordinates(). - - * gtk/gtknotebook.c (gtk_notebook_button_press): Remove - call to gtk_widget_grab_focus() when not clicking on - any tabs. (Real fix for #114534) - -Sun Jun 8 22:03:09 2003 Owen Taylor - - * tests/testdnd.c: Use application/x-rootwindow-drop for - root window drops. (#108670, Alex Larsson) - - * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): - Accept either application/x-rootwin-drop (what GTK+ has always used) - or application/x-rootwindow-drop (what the XDND standard specifies). - -Fri Jun 6 11:07:33 2003 Owen Taylor - - * gtk/gtkwidget.c (event_window_still_viewable): - Before delivering an event to a widget, check that - (if relevant), the event's window is still viewable. - (#105642, Dennis Björklund) - - * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): - NULL out private->parent, since after destruction - it might not be valid any more. - - * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some - accesses before g_return_val_if_fail(). Treat - DESTROYED windows as unmapped. - -Thu Jun 5 09:28:03 2003 Owen Taylor - - * gtk/gtkentry.c: Recompute unconditionally in - gtk_entry_style_set, and in a new gtk_label_screen_changed(). - Protect the guts of recompute_idle_func() with - gtk_widget_has_screen(). (#114040, Morten Welinder) - Fix FALSE/0 confusion. - -Sun Jun 8 18:27:14 2003 Soeren Sandmann - - * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B. - Fixes (#114669) - -Sun Jun 8 11:27:29 2003 Owen Taylor - - * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with - set_adjustment (viewport, NULL); - -2003-06-07 Matthias Clasen - - * gtk/gtkiconfactory.c (get_default_icons): - * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png: - * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo, - undelete and revert. (#96633) - -Fri Jun 6 16:25:44 2003 Owen Taylor - - * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and - refactoring of code to reduce duplication; fixes include: - - - gtk_viewport_realize(): Position the window correct from adjustment - values. (#110737, Michael Natterer) - - - Remove some division-by-zero checks in places where there is no - longer division. (#110737) - - - gtk_viewport_class_init: Make the hadjustment/vadjustment properties - G_PARAM_CONSTRUCT, so that there will always be adjustments, even - if gtk_viewport_new isn't used (#101135, Thomas Leonard). - - - Switch over to encapsulated lazy-creation for hadjustment/ - vadjustment; even with the CONSTRUCT property, we need this after - destroy. - - - When updating the adjustment, immediate set their values to - match the the current range of the viewport, and update the - viewport position to match the value of the new adjustments. - (Part of #1165) - -2003-06-06 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h: Fix typo. - - * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set - graphics_exposures and subwindow_mode, too, even if they aren't - currently used. - -Fri Jun 6 23:38:23 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (do_expand_collapse), - (expand_collapse_timeout), (cancel_arrow_animation): made - expand_collapse_timeout a wrapper with locks around - do_expand_collapse, made cancel_arrow_animation use - do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from - Peter Bloomfield). - -Fri Jun 6 11:05:45 2003 Hidetoshi Tajima - - * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM): - * modules/input/gtkimcontextxim.c (preedit_start_callback, - preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag - to keep preedit-[start,changed,end] signals from being called during - finalization (#111861). - -2003-06-05 Noah Levitt - - * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button - presses that are not on the tab (#114534). - -Thu Jun 5 20:35:40 2003 Owen Taylor - - * demos/Makefile.am: Conditionalize dependencies for - gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlow). - Buildtest-inline-pixbufs.h in srcdir. Don't try to build - test-inline-pixbufs.h if we don't have libpng. - - * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): - Add a dependency on gdk-pixbuf.loaders when not - cross-compiling, remove the dependency on gdk-pixbuf-csource - when not cross compiling. - -Thu Jun 5 20:12:51 2003 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_get_default_size): Handle - gtk_window_get_geometry_info() returning NULL. - (#107311, John Finlay) - -Thu Jun 5 19:24:33 2003 Owen Taylor - - * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off - twice the border width from the width/height, not - 1x the border width. (#106336, Rodney Dawes) - -Thu Jun 5 15:33:38 2003 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line): - If at the end of the buffer, move to the end iter - - parallels behavior of move_iter_to_previous_line. - (#81960, Padraig O'Briain) - -Thu Jun 5 16:12:54 2003 Owen Taylor - - #80023, Yao Zhang, TOKUNAGA Hiroyuki - - * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): - Account for the preedit cursor offset if the iter passed - in is at the same place as the insertion cursor. - - * gtk/gtktextview.c (gtk_text_view_get_cursor_location): - Encapsulate getting the insertion cursor location. - - * gtk/gtktextview.c (gtk_text_view_update_im_spot_location): - Pass the real y/height to the IM context. Take - text_view->x/yoffset into account. - -Thu Jun 5 16:52:54 2003 Owen Taylor - - * gtk/gtktextview.[ch]: Never scroll on focus in - (#81893, Patch from Paolo Maggi) - - * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages): - Scroll to the current cursor location before handling - the action, in case the user just tabbed in - and the cursor is offscreen. - -Thu Jun 5 17:20:40 2003 Owen Taylor - - #107883, Gustavo Giráldez - - * gtk/gtktextlayout.c (gtk_text_layout_emit_changed): - Split out the case where we know we changed, and - already dealt with our cached line being invalidated - from external calls to gtk_text_layout_changed. - - * gtk/gtktextlayout.c (gtk_text_layout_changed): - Check if the invalidate yrange intersects our - cached line, and clear it if necessary. - -2003-06-05 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global - filters. - -2003-06-05 Matthias Clasen - - * gtk/gtktextview.c: Fix for #84668, reported by Torbjrn Andersson: - (gtk_text_view_grab_notify): - (gtk_text_view_state_changed): Implement these - to unobscure cursor when grab shadowed or insensitised. - (gtk_text_view_unobscure_mouse_cursor): New function to undo the - effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from - gtk_text_view_motion_event(). - (gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor(). - - * gtk/gtktextview.c (select_all): New keybinding signal for - (un)selecting the whole buffer. Bound to C-a/C-\. (see #107889) - - * gtk/gtkcalendar.c (calendar_timer): - (stop_spinning): Replace deprecated gtk_timeout_* functions by - their GLib counterparts. (#114429) - - * gtk/gtktreestore.c (gtk_tree_store_new): - * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on - types. - -Wed Jun 4 19:42:17 2003 Owen Taylor - - * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): - When drawing underlines, join up adjacent runs - where possible, so we don't get changes in - shaper/font/etc. breaking underlines. (#103662, - Kang Jeong-Hee) - -Wed Jun 4 19:22:58 2003 Jonathan Blandford - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert): - Slightly modified patch from Owen Taylor to - improve the speed of inserting rows into an already sorted list, - #109292 - -Wed Jun 4 19:24:28 2003 Owen Taylor - - * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep - track of when we have a clip mask set for the GC, - and when we unset it, or switch to a clip region, - immediately call XSetClipMask (..., None) to avoid - Xlib caching stale data. (#111806) - - * gtk/gtktextdisplay.c: Don't set a clip mask - when drawing alpha pixmaps; it isn't necessary any more. - (#111806) - -Wed Jun 4 18:27:44 2003 Owen Taylor - - * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): - gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): - Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE - (#92548, Tim Evans) - - * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator) - gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If - Use state_type = STATE_INSENSITIVE for insensitive menu items. - -Wed Jun 4 21:25:35 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent - assert for get_info. (reported by Michael Natterer), - (gtk_tree_view_expand_all_emission_helper), - (gtk_tree_view_expand_all_helper): emit row_expanded for all - expanded rows during an _expand_all operation. (Fixes #111280, - reported by Benjamin Bayart). - -Tue Jun 3 18:32:30 2003 Owen Taylor - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't - respond to pings on a root window; prevents infinite - loops if we are selecting for SubstructureNotify on the - root window. (#111945, Sergey V. Udaltsov) - -Tue Jun 3 17:39:16 2003 Owen Taylor - - #71597, reported by Morten Welinder - - * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify - (Patch from Christian Petig) - - * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}): - Major rewrite of 555 and 565 conversion routines: - - - Move all the bit shifting into a small block of macros, - eliminating much duplication of complicated arithmetic. - - Get rid of 2-pixels at a time code, which was buggy, - hard to maintain, caused unaligned accesses, and - probably didn't actually perform any better. - - Simplify cases where different data types were - used for the little and big endian cases, use - GUINT16_SWAP_LE_BE() where appropriate. - -Tue Jun 3 15:05:47 2003 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove - bad optimization for src_rowstride == dest_stride. - (Didn't consider the case where we were copying only - partial widths of a wider source buffer) - (#113034, reported by Hans Petter Jansson) - -2003-06-03 Michael Natterer - - * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): - reenabled button_release events for xinput devices. (#113948) - -2003-06-03 Christian Rose - - * configure.in: Added "li" to ALL_LINGUAS. - -Mon Jun 2 18:58:54 2003 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't - map the event window if the notebook isn't mapped. (#113980, - Richard Reich) - -2003-06-02 Sven Neumann - - * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast. - - * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable. - -2003-06-01 Matthias Clasen - - * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add - Since: 2.4 to the docs. - - * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and - an example to the docs. (#98427) - -2003-05-30 Murray Cumming - - * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with - gtk_alignment_get_padding() and gtk_aligment_set_padding(). This - uses the new private data system - see g_type_class_add_private() in - gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE(). - -2003-05-30 Matthias Clasen - - * gtk/gtknotebook.c: Changed guint to GtkNotebookArrow in the - signature of gtk_notebook_draw_arrow() for Solaris builds to go - through. (#114043, Anand Subramanian) - -Thu May 29 18:30:35 2003 Hidetoshi Tajima - - * modules/input/imipa.c: - use GETTEXT_PACKAGE to get a translation for "ipa"(#113850). - -Thu May 29 18:08:01 2003 Hidetoshi Tajima - - * gtk/gtkimmodule.c (_gtk_im_module_list): - use GETTEXT_PACKAGE to get a translation for "Default"(#113850). - -Thu May 29 09:34:05 2003 Hidetoshi Tajima - - * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default" - label of default input method localizable. - * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): - use translations of input method context names - * modules/input/imam-et.c, modules/input/imcyrillic-translit.c, - modules/input/iminuktitut.c, modules/input/imthai-broken.c, - modules/input/imti-er.c, modules/input/imti-et.c - modules/input/imviqr.c, modules/input/imxim.c - use GETTEXT_PACKAGE instead of "gtk+" for domain name. - (#113850). - -Thu May 29 18:23:01 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus - grab separate, the user might clear the tree in the focus-in - callback. (Fixes #113086, testcase from Felipe Heidrich). - -Thu May 29 18:06:26 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch - of row reference when we unset the model. Also reset - dy and top_row_dy. (Fixes #109289, patch from Owen Taylor). - -Thu May 29 17:12:19 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel - the current editing, if it exists. (Fixes #108956, reported by - Michael Natterer). - -Thu May 29 17:06:09 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (check_selection_helper): new function, - (gtk_tree_view_row_deleted): traverse the tree from the - deleted node to see whether the selection changed, instead of - just checking this node. (Fixes #107400, reported by 'Duncan'). - -Thu May 29 16:31:34 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row), - (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin - instead of _maybe_begin_dragging_row, so the icon can be - overridden by apps. (Fixes #104374, patch from Daniel Elstner). - -Thu May 29 16:14:04 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_start_editing): correct - cell_area x/width for the expander if needed. (Fixes #101748, - reported by Dave Cook and Mariano Suarez-Alvarez). - -Thu May 29 16:01:38 2003 Kristian Rietveld - - Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check - if tree/node are still the same after _internal_select_node. - (Fixes #92256, reported by edscott). - -Thu May 29 15:38:30 2003 Kristian Rietveld - - Fixes #75745, reported by Richard Hult. Merged from stable. - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset - GTK_CELL_RENDERER_FOCUSED flag whether the current node is the - cursor or not. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - if we are rendering a cursor row, and the cell the be - processed has focus, then set the GTK_CELL_RENDERER_FOCUSED - flag (else we unset it). - -2003-05-27 Matthias Clasen - - * gtk/gtkwindow-decorate.c: - * gtk/gtktreeprivate.h: - * gtk/gtkdnd.c: - * gdk/win32/gdkwindow-win32.h: - * gdk/linux-fb/gdkprivate-fb.h: - * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of - unspecified signedness. (#112919, Morten Welinder) - - * gtk/queryimmodules.c (escape_string): - * gtk/gtktextbtree.c (_gtk_text_btree_get_text): - * gtk/gtksettings.c (_gtk_settings_parse_convert): - * gtk/gtkrc.c (gtk_rc_parse_assignment): - * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): - * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all - occurances of g_string_new ("") by g_string_new (NULL). (#106975, - Morten Welinder) - -2003-05-27 Tor Lillqvist - - * gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc - files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}. - - * gdk/Makefile.am: libgdk-win32-2.0.la depends on - win32/libgdk-win32.la. - - * gtk/gtk.def: Add gtk_tree_view_column_cell_get_position. - -Sat May 24 22:19:13 2003 Soeren Sandmann - - * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum - scrollbar slider length 21 instead of 7. - -2003-05-23 Matthias Clasen - - * gtk/gtknotebook.c: Add support for up to four scroll - arrows. Control their display by new style properties - "has_forward_stepper", "has_backward_stepper", - "has_secondary_forward_stepper" and - has_secondary_backward_stepper". (#110540) - - * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and - click_child three bits wide, add - has_{before,after}_{previous,next} fields. - - * gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on - focus out of hex_entry. (#112665) - (hex_focus_out): New signal handler for focus out of hex entry. - -Wed May 21 19:01:06 2003 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_realize): - g_return_if_fail() if - GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget). - (#107872, Christian Reis) - -2003-05-22 Matthias Clasen - - * gtk/gtkfilesel.c (gtk_file_selection_create_dir): - (gtk_file_selection_rename_file): Some keynav improvements for the - "Rename File" and "Create Directory" subdialogs: Enter in entry - activates default, default is "Create"/"Rename", Escape cancels - dialog. (#113110) - (gtk_file_selection_set_filename): Add a hint about opening - directories. (#113175) - -2003-05-22 Matthias Clasen - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip): - Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2 - anyway. (#113476) - -Wed May 21 15:53:14 2003 Owen Taylor - - * gtk/gtkprogress.c (gtk_progress_set_format_string, - gtk_progress_set_show_text): Always queue a resize ... - we rely on the size-allocate to do the update, plus a - different format can actually change our size requisition. - (#111052, Vasco Alexandre da Silva Costa) - - * gtk/gtkprogress.c (gtk_progress_changed): Track - ::changed as well as ::value_changed, and queue a - resize on ::changed when necessary. - - * gtk/gtkprogress.c (gtk_progress_set_adjustment): - Call gtk_progress_changed() here to update or - queue a resize as necessary. - -Wed May 21 14:06:13 2003 Hidetoshi Tajima - - * gtk/gtkimcontextsimple.c: added composing rules of - Greek accented letters, patch by Vasilis Vasaitis (#107507) - -Wed May 21 13:19:05 2003 Hidetoshi Tajima - - * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): - * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change): - gtk settings for XIMPreeditNone and XIMStatusNone. (#105909) - -Wed May 21 12:10:25 2003 Hidetoshi Tajima - - * gtk/gtkimcontextsimple.c: - code that can check the compose table for ascending order, - by Vasilis Vasaitis (#104862). - -Wed May 21 12:52:01 2003 Owen Taylor - - * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need - to pass the unmasked state to gdk_keymap_translate_keyboard_state() - to handle the case where a modifier not in the mask - (like Num_Lock) changes the key value, so replace - the masked state with a state/mask pair. (#106913, - Olivier Ripoll) - - * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass - in state/mask pair to _gtk_key_hash_lookup() - -Tue May 20 21:58:00 2003 Hidetoshi Tajima - - * modules/input/gtkimcontextxim.c (xim_info_display_closed): - fix a memory leak, free input context list (#113259). - -2003-05-21 Matthias Clasen - - * configure.in (all_loaders): Add pcx. - - * gtk/gtkcalendar.c: Make calendar controls spin. (#112540) - -Tue May 20 17:27:24 2003 Owen Taylor - - * gtk/gtkimmodule.c (gtk_im_module_init): Silently - accept a missing gtk.immodules file, some people - want to run without one. (#112406, patch from - Arnaud Charlet) - -Tue May 20 17:05:31 2003 Owen Taylor - - * gtk/gtkwindow.c (gtk_window_compute_hints): Fix - height/width confusion (#113370, Xan Lopez) - -Tue May 20 15:48:45 2003 Owen Taylor - - * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively - zero all unused parts of client messages (Mainly Motif DND - and EWMH). Also, fix a couple places where we were putting - contents into Motif DND messages that didn't belong. - (#113361, EWMH problem reported by Lubos Lunak) - - * gtk/gtkselection.c (_gtk_selection_request): Handle the - case where the property type for the multiple atoms is - ATOM_PAIR by doing the conversions ourselve. This is - needed for Xt inter-operation. - -2003-05-19 Arafat Medini - - * configure.in: Added ar to ALL_LINGUAS - -2003-05-19 Matthias Clasen - - * gtk/gtksettings.c (gtk_rc_property_parse_border, - gtk_rc_property_parse_color, gtk_rc_property_parse_enum, - gtk_rc_property_parse_flags, gtk_rc_property_parse_requisition): - Add docs. - - * gtk/gtkwidget.c (gtk_widget_class_install_style_property, - gtk_widget_class_install_style_property_parser): Add docs. - -2003-05-17 Matthias Clasen - - * tests/prop-editor.c: Add navigation for object properties, so - that you can easily edit the properties of the parent of a widget. - (#113152) - -Wed May 14 17:45:32 2003 Owen Taylor - - * gdk/gdkkeysyms.h gdk/gdkkeynames.c gdk/gdkkeyuni.c: - Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis - inconsistency and leave the old name as an aliass (#104873) - -Wed May 14 16:40:09 2003 Owen Taylor - - * gtk/gtkframe.c (gtk_frame_set_label_widget): Patch - from Charles Schmidt to add missing notify (#108305) - -Wed May 14 16:00:51 2003 Owen Taylor - - * gdk/x11/gdkgc-x11.c: Remove unecessary g_return_if_fail(). - (#105500, Morten Welinder.) - -Wed May 14 09:05:11 2003 Hidetoshi Tajima - - * modules/input/gtkimcontextxim.c (get_ic_real): use type of guint32 - instead of gumake for XNFilterEvents event mask(#110493). - -2003-05-11 Anders Carlsson - - * gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to - a GObject. (#112762) - -2003-05-08 Sven Neumann - - * configure.in: set the HAVE_X11R6 automake conditional to false - if not compiling for X11. - -2003-05-08 Matthias Clasen - - * gtk/gtkcalendar.[ch] (gtk_calendar_set_display_options): - (gtk_calendar_get_display_options): New functions. - (gtk_calendar_display_options): Depreate. (#64567) - (gtk_calendar_class_init): Add boolean properties for the display - options. (#50949) - -Tue May 6 16:50:52 2003 Owen Taylor - - Patch from James Henstridge to update to automake-1.7 - (#109542) - - * autogen.sh: update to call newer tools. - - * configure.in: various updates, to use M4 macros to put - variables that change each release at the top. - Use AC_HELP_STRING to format help strings. - Use AC_CONFIG_COMMANDS to generate gdkconfig.h. - - * Makefile.am: require Automake 1.7. Remove gdk-2.0.pc and - gtk+-2.0.pc on uninstall. Pass --enable-gtk-doc to configure - during distcheck. - - * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make - makefile fragment. - - * */Makefile.am: don't use STRIP_BEGIN/STRIP_END. - Use BUILT_SOURCES where appropriate. - Build generated files in builddir rather than srcdir. - Fix uninstall and distclean targets to satisfy distcheck. - - === - - * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h - built first, since we are now using BUILT_SOURCES. - - * gdk/Makefile.am: Remove an outdated comment about gdk_headers. - - * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem - with geninclude.pl. - - * configure.in: Update versions to 2.3.0. - -2003-05-06 Tor Lillqvist - - Fix for #110165 (thanks to Arnaud Charlet): - - * gdk/win32/gdkevents-win32.c (build_keypress_event, - build_keyrelease_event): For unshifted control char, use - lowercase ASCII keyval. - (gdk_event_translate): Similarily, when handling WM_SYSKEYDOWN and - UP (i.e. Alt-something), if it's an unshifted ASCII letter, use - lowercase keyval. Use build_key_event_state() here, too, instead - of minor code duplication. - -2003-05-06 Matthias Clasen - - * tests/testmultidisplay.c: Don't include strings.h, it's not - needed anymore. (#112388) - - * examples/menu/itemfactory.c: - * docs/tutorial/gtk-tut.sgml: Remove an unneeded include from the - itemfactory example. - -2003-05-05 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_source_set_icon_stock): Actually set the - icon type to the stock icon type. (#111735, Dave Bordoley) - -2003-05-05 Christian Rose - - * configure.in: Added sr and sr@Latn to ALL_LINGUAS. - Removed sp, it's replaced by sr@Latn. - -Wed Apr 30 22:09:11 BST 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: GTK+ 2.x updates, mainly from - Gonzalo Odiard - -Mon Apr 28 17:54:39 2003 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_destroy): destroy the search - data iff the destroy func isn't NULL. - -Thu Apr 24 19:12:05 2003 Owen Taylor - - * autogen.sh (have_libtool): Accept libtool-1.5. (#111480) - -2003-04-23 Abel Cheung - - * configure.in: Added "am" "mk" "ta" to ALL_LINGUAS. - -Tue Apr 22 15:33:51 2003 Owen Taylor - - * gtk/gtkfilesel.c (open_new_dir): Fix capitalization - of UTF-8. (#106419, Roozbeh Pournader) - -Tue Apr 22 15:17:25 2003 Owen Taylor - - * configure.in: Only check for XFT2 if we found pango-xft - (#105692, Jon Nall) - -Tue Apr 22 15:12:19 2003 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_class_init): Fix PROP_HAS_FOCUS/ - PROP_IS_FOCUS confusion. (#111333, Jody Goldberg) - -Tue Apr 22 19:43:01 BST 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: add note about version converage. - -Mon Apr 21 19:02:16 2003 Owen Taylor - - * gtk/gtksocket.c (activate_key): Fix prototype for - activate_key. (#108927, Jason D. Hildebrand) - -Mon Apr 21 18:42:51 2003 Owen Taylor - - * demos/gtk-demo/Makefile.am demos/gtk-demo/geninclude.pl: - Remove geninclude.pl from CVS and don't dist it either, - it is generated. (#108970, Rich Kinder) - -Mon Apr 21 18:35:48 2003 Owen Taylor - - * gtk/gtkobject.h: Remove a couple of obsolete comments, - fix another comment. (#109737, Britton Kerin) - -Mon Apr 21 18:29:03 2003 Owen Taylor - - * gtk/gtkiconfactory.c (gtk_icon_set_unref): Free - the source list, not just it's contents (Patch - from Charles Kerr, #108243) - -Mon Apr 21 18:13:46 2003 Owen Taylor - - * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch - from Alex Larsson fixing problem with restacking during - DND. (#108671) - -Mon Apr 21 15:07:29 2003 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard/pointer_ungrab): - Calling XFlush() after ungrabbing, to avoid problems if - the app subsequently blocks on a long-running operation. - (#106520, reported by Rajkumar Siva) - -Fri Apr 18 17:42:45 2003 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (set_initial_hints): Add - SKIP_TASKBAR/SKIP_PAGER to set of properties we - might set on map. (#110019, problem reported - by Loban Rahman) - -Fri Apr 18 17:14:33 2003 Owen Taylor - - * gdk/gdkevents.c (gdk_event_copy): Fix for the - case when gdk_event_copy() is called on a non-allocated - event. (#109716, reported by Rich Burridge) - -Fri Apr 18 16:57:44 2003 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps): - Fix pointer arithmetic on 'void *'. (#108322) - -Fri Apr 18 16:31:49 2003 Owen Taylor - - * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am: - Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and - use of XAddConnectionWatch. Remove --enable-xim config option. - Should fix building on X11R6 (#110523, Albert Chin) - -Fri Apr 18 15:56:46 2003 Owen Taylor - - * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkdrawable-x11.[ch]: - Patch from Morten Welinder to catch Sun servers with a - broken implementation of the RENDER extension. (#108309) - -Fri Apr 18 15:30:38 2003 Owen Taylor - - * gdk/x11/gdkwindow-x11.c (set_text_property): Use - gdk_free_compound_text(), not g_free(). (#107643, - Michael Zucchi) - -Fri Apr 18 15:11:50 2003 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type) - gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type): Fix - wrong use of base_finalize. (#105126, Sven Neumann) - -Fri Apr 18 15:06:00 2003 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_constrain_size): Fix - '/' vs. '*' problem in aspect ration computations. (#108237) - -Fri Apr 18 14:15:09 2003 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): - * gdk/x11/gdkevents-x11.c (gdk_event_translate): You - don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify - event, so select for both. (#108406, Egmont Koblinger) - -Thu Apr 17 09:57:44 2003 Jonathan Blandford - - * gtk/gtktreeview.c (validate_visible_area): remove infinite loop - caused by not clearing the scroll_to_path. - -2003-04-16 Matthias Clasen - - * gtk/gtkstyle.c: Doc additions and fixes. - - * gtk/gtktreeviewcolumn.c - (_gtk_tree_view_column_get_neighbor_sizes): Doc fixes. - -2003-04-14 Michael Natterer - - * gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure - that the iter is not reordered to its own position. Prevents model - corruption for the case that the store contains only a single item - (fixes bug #108387). - - Unrelated: - - * gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the - new list element later so we don't leak it if we decide to return - early. - - * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): - set selection->tree_view->priv->anchor to NULL after freeing it. - -2003-04-13 Matthias Clasen - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_cell_get_position): Document. - - * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand): - * gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document - these as 2.4 additions. - -2003-04-09 Matthias Clasen - - * INSTALL.in: Fix the real thing. - - * INSTALL: Typo fix. - -Mon Apr 7 19:43:15 2003 Owen Taylor - - * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_ungrab): Flush - after ungrabbing the server. - - * gdk/x11/gdkimage-x11.c: Remove some no-longer-needed - calls to XFlush(). - - * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer): - Use gdk_x11_display_grab/ungrab. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize - use_xshm to TRUE so SHM gets used when present. - -2003-04-07 Matthias Clasen - - * gtk/gtktextlayout.c (set_para_values): - * gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR. (#110086, - David Brigada) - - * gtk/gtkcelleditable.c, gtk/gtkfixed.c, gtk/gtktreemodel.c, - gtk/gtktreeselection.c, gtk/gtktreeview.c: Fix numerous - misspellings of possessive "its". (#110027, Doug Quale) - -2003-04-03 Matthias Clasen - - * demos/gtk-demo/main.c (demo_find_file): Only use files from the - current directory if it looks like the srcdir. (#109357) - -Wed Apr 2 23:02:26 2003 Soeren Sandmann - - * gtk/gtkbutton.[ch] (gtk_button_class_init): add property - focus_on_click - - * gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard - navigation not wrap around. - -2003-04-02 Matthias Clasen - - * gtk/gtkprogress.c (gtk_progress_get_percentage_from_value): - Return 0 if lower == upper. (#109155) - (gtk_progress_get_current_percentage): Use - gtk_progress_get_percentage_from_value(). - -2003-04-01 Matthias Clasen - - * gtk/gtkimcontext.c (gtk_im_context_focus_in): Fix docs. - (#109510, Noah Levitt) - -Mon Mar 31 13:52:13 2003 Jonathan Blandford - - * gtk/gtkrbtree.c (_gtk_rbtree_reorder): null initialize reorder's - members so Purify won't complain. - - * gtk/gtkliststore.c (gtk_list_store_sort): ditto. - -2003-03-31 Matthias Clasen - - * gtk/gtkwindow.c: Add a new property, role, corresponding to - gtk_window_[gs]et_role(). (#93904) - -Sun Mar 30 03:57:42 2003 Jonathan Blandford - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): - fix crash. Patch from Markus Lausser - -2003-03-29 Matthias Clasen - - * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state - of labels back to normal before reparenting back. (#102387) - - * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set - a default window title to match the GtkFontSelectionDialog behavior. - - (gtk_color_selection_dialog_new): Don't call - gtk_window_set_title() if title is NULL. (bug #101975, Daniel Elstner) - -2003-03-29 Matthias Clasen - - Fix for bug #78499: - - * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and - select_lines. - - * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and - select_lines on double/triple click. - - * gtk/gtkentry.c (gtk_entry_motion_notify): Implement - select-by-words and select-by-lines behaviour. - - Fixes for bug #56248: - - * gtk/gtknotebook.c (stop_scrolling): New function to remove the - timer and queue a redraw. - (gtk_notebook_grab_notify): - (gtk_notebook_state_changed): New functions to call stop_scrolling() - if necessary. - (gtk_notebook_button_release): Use stop_scrolling(). - (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows. - - * gtk/gtkrange.c (stop_scrolling): New function to remove the - grab, remove the timer and queue a redraw. - (gtk_range_grab_notify): - (gtk_range_state_changed): New functions to call stop_scrolling() - if necessary. - (gtk_range_button_release): Use stop_scrolling(). - - * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): - (gtk_spin_button_state_changed): Redraw after stop_spinning. - (gtk_spin_button_stop_spinning): Reset click_child to correct the - drawing of the arrows. - (gtk_spin_button_button_release): Use a local copy of click_child, - since stop_spinning() resets it. - - * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and - C-A-PgDown as alternatives to the A-less variants. (This slipped - in accidentally some time ago). (#97860) - -2003-03-26 Sven Neumann - - * gtk/gtktreeview.c: rewrote the function that does node and arrow - prelighting, queue all redraws from here (Fixes bug #108792). - -2003-03-20 Richard Kinder - - * demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE. - Fixes bug #108778. - -2003-03-20 Guntupalli Karunakar - - * configure.in: Added "ml" in ALL_LINGUAS - -Sat Mar 15 18:49:27 2003 Manish Singh - - * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of - G_DISABLE_DEPRECATED. - -2003-03-14 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and - GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or - DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with - multiple monitors can have negative coordinates on some of the - monitors. (partial fix for #99496, Arnaud Charlet) - -2003-03-15 Matthias Clasen - - * gtk/gtktextview.c: Add a "buffer" property. (#108353) - -2003-03-13 Sven Neumann - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property): - removed redundant calls to g_object_notify(). - (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see - bug #108236. - - * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char) - (_gtk_text_iter_get_segment_byte): return 0, not NULL (these - functions return an integer value). - -2003-03-13 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On - WM_MOUSEMOVE, the test whether we have actually moved (and thus - shouldn't generate an GDK event) moved after the call to - propagate() and translate_mouse_coords(). Otherwise we were - testing wrong values. (#108115, Allin Cottrell) - (gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same - way as in WM_?BUTTONDOWN and WM_MOUSEMOVE. - - * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor - is used, must copy the HCURSOR with CopyCursor(), as it is OK to - destroy the GdkCursor after calling gdk_pointer_grab(). Set the - cursor right away with SetCursor(), as we won't get any - WM_SETCURSOR messages while the mouse is captured. - (gdk_display_pointer_ungrab): Correspondingly, destroy the copy - with DestroyCursor() when no longer used. (#108114, Allin Cottrell) - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On - WM_SYSCHAR, return FALSE from the window procedure to prevent the - DefWindowProc from being called. Otherwise Windows would beep, - thinking you are tring to access a (nonexistent) menu when you - press Alt-something. Don't do this for Alt-Space, - though. (#107454, Martyn Russell) - - * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes. - -Tue Mar 11 12:01:07 2003 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift - [left/right] expands/collapses the tree, #108092 - -2003-03-09 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to - compensate for LineTo() not drawing the end pixel. It causes more - harm than benefits, see bug #81895. - -2003-03-08 Matthias Clasen - - Bug #107664 continued: - - * gdk/x11/gdkinputprivate.h: - * gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove. - (_gdk_input_other_event): Return gboolean. - * gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove. - (_gdk_input_other_event): Return gboolean. - * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val - gboolean, remove pointless call to _gdk_input_window_none_event. - - * gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean. - (_gdk_input_window_none_event): Remove. - - * gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment): - (_gtk_text_iter_get_any_segment): - (_gtk_text_iter_get_segment_byte): - (_gtk_text_iter_get_segment_char): - (_gtk_text_iter_get_text_line): - (_gtk_text_iter_get_btree): Fix 0/NULL confusion. - * gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint. - * gdk/win32/gdkfont-win32.c (gdk_font_equal): - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin): - (gdk_window_get_origin): - * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion. - -2003-03-06 Matthias Clasen - - * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint. - (#107664, Morten Welinder) - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): - * gdk/x11/gdkfont-x11.c (gdk_font_equal): - * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): - Fix TRUE/1 and FALSE/0 confusion. (#107664, Morten Welinder) - - * gtk/gtktextmark.c (gtk_text_mark_get_buffer): - * gtk/gtkeditable.c (gtk_editable_get_chars): - * gtk/gtkctree.c (gtk_ctree_find_node_ptr): - * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion - (#107648, Morten Welinder)Fix NULL/FALSE confusion - (#107648, Morten Welinder) - -2003-03-04 Matthias Clasen - - * gtk/gtkobject.h: Add deprecation guards for gtk_object_new (). - -Sun Mar 2 23:35:57 2003 Jonathan Blandford - - * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size): - handle rtl code. Thanks to Matthias Clasen for an initial patch - to handle the RTL code. - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto - - * gtk/gtktreeview.c: (invalidate_column), - (invalidate_last_column), - (gtk_tree_view_get_real_requested_width_from_column), - (gtk_tree_view_size_allocate_columns), - (gtk_tree_view_size_allocate), (gtk_tree_view_button_press), - (gtk_tree_view_button_release_drag_column), - (gtk_tree_view_update_current_reorder), - (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose), - (gtk_tree_view_key_press), (gtk_tree_view_header_focus), - (gtk_tree_view_get_background_xrange), - (gtk_tree_view_get_arrow_xrange), - (gtk_tree_view_is_expander_column), - (gtk_tree_view_set_column_drag_info), - (gtk_tree_view_move_cursor_left_right): - Add RTL support. - - * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an - expand flag. - - * gtk/gtktreeviewcolumn.c: - (gtk_tree_view_column_class_init), - (gtk_tree_view_column_set_property), - (gtk_tree_view_column_get_property), - (gtk_tree_view_column_set_expand), - (gtk_tree_view_column_get_expand), - (gtk_tree_view_column_cell_process_action): - Add support for expand flag. Thanks to Kristian Rietveld for an - initial patch for this. - -Fri Feb 28 02:06:17 2003 Jonathan Blandford - - -2003-03-02 Tor Lillqvist - - * gdk/gdk.def - * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric - Gustin. - -2003-03-01 Matthias Clasen - - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): - (gtk_scrolled_window_set_hadjustment): Replace uses of - gtk_object_new by g_object_new. - -Thu Feb 27 17:44:24 2003 Manish Singh - - * demos/gtk-demo/main.c - * demos/gtk-demo/tree_store.c - * gdk/x11/gdkscreen-x11.c - * gtk/gtkcellrenderertoggle.c - * gtk/gtkcolorsel.c - * gtk/gtkdnd.c - * gtk/gtkeditable.c - * gtk/gtkentry.c - * gtk/gtkmenu.c - * gtk/gtkmenubar.c - * gtk/gtkmenuitem.c - * gtk/gtkmenushell.c - * gtk/gtkrc.c - * gtk/gtksettings.c - * gtk/gtkstyle.c - * gtk/gtktextbuffer.c - * gtk/gtktextview.c - * gtk/gtktreeviewcolumn.c - * tests/testgtk.c - * tests/testtext.c - * tests/testtreeedit.c - * tests/testtreefocus.c - * tests/testtreeview.c: remove unnecessary G_OBJECT() casts. - -Tue Feb 25 21:55:17 2003 Jonathan Blandford - - * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL - code. - -2003-02-24 Sven Neumann - - * gtk/gtkmain.c (gtk_get_default_language): fixed documentation. - -2003-02-21 Tomas Ogren - - * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example - -2003-02-20 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): - Check if line_ancestor_parent is NULL. (#102711, Manuel Clos) - - * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): - (gtk_text_view_update_adjustments): Make sure cursor stays visible - during horizontal scrolling. (#75270) - -2003-02-19 Matthias Clasen - - * tests/testdnd.c: Replace gtk_timeout_* by their GLib - counterparts. (#106532) - - * gdk/gdkkeys.c (gdk_keymap_class_init): Associate the - keys_changed virtual function with the keys_changed signal. - (#106512, Jeff Franks) - -2003-02-15 Larry Ewing - - * gdk/gdkevents.c (gdk_event_copy): copy the event axes as well. - -2003-02-17 Mohammad DAMT - - * po/id.po: Added Indonesian translation - * configure.in: Added "id" to ALL_LINGUAS - -2003-02-14 Matthias Clasen - - * gtk/gtktextview.c (popup_targets_received): Remove bogus casts. - -2003-02-12 Christian Rose - - * configure.in: Added "yi" to ALL_LINGUAS. - -2003-02-12 Matthias Clasen - - Fix for #82734 and #78216: - - * gtk/gtktextview.c (delete_cb): - (select_all_cb): New callbacks for context menu items. - (popup_targets_received): Add "Delete" and "Select All" to context - menu, mnemonics and title caps for all items. - - * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete" - context menu item. - (popup_targets_received): Add "Delete" to context menu, mnemonics - and title caps for all items. - -2003-02-09 Tor Lillqvist - - * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use - GetDriveType() to recognize removable drives (in order to avoid - hanging if trying to access an empty floppy drive), instead of - hardcoding A: and B: (#105654). - -2003-02-09 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in - names. (#57680) - -2003-02-09 Christian Rose - - * configure.in: Removed "en@IPA.po" from ALL_LINGUAS. - -Fri Feb 7 04:49:46 2003 Tim Janik - - * gtk/gtkobject.c: remove quark_user_data usage in - gtk_object_{g|s}et_user_data(). fixes get_user_data() - returning NULL for user_data set through property interface. - - * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out - warnings if a pixbuf couldn't be retrieved, since (a) this doesn't - need to be a programming error (in case of loaded data), (b) it breaks - with 2.0 behaviour where extra magic could be used to create empty - images. don't attempt to retrieve pixbufs from NULL extra_data. - -2003-02-06 Matthias Clasen - - * gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return - a GdkVisual *, not a GdkVisual **. (#105243) - - * gtk/gtkclist.c: - * gtk/gtkctree.c: - * gtk/gtkcontainer.c: - * gtk/gtkdnd.c: - * gtk/gtkentry.c: - * gtk/gtklist.c: - * gtk/gtkmenu.c: - * gtk/gtkmenuitem.c: - * gtk/gtknotebook.c: - * gtk/gtkselection.c: - * gtk/gtkspinbutton.c: - * gtk/gtktext.c: - * gtk/gtktextview.c: - * gtk/gtktooltips.c: - * gtk/gtktreeview.c: - * gtk/gtkwindow.c: Replace uses of gtk_timeout_* and gtk_idle_* by - their non-deprecated GLib counterparts. - - * gtk/gtkmain.h: Fully deprecate gtk_timeout_* and gtk_idle_*. - -Sun Feb 2 16:45:57 GMT 2003 Tony Gale - - * docs/tutorial/gtk-tut.sgml: cleanups from - Sebastian Rittau (#104832) - -2003-02-01 Tor Lillqvist - - Merge from stable: - - * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display, - gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement. - (#104108, Naofumi Yasufuku) - - * gdk/gdk.def: Export the above. Export - gdk_screen_get_system_visual, noticed by Ed Woods. - -Fri Jan 31 17:45:22 2003 Manish Singh - - * demos/pixbuf-demo.c - * demos/testpixbuf.c - * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage. - -Fri Jan 31 17:33:00 2003 Manish Singh - - * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state - on the tab_label before unparenting it, in case the unparent - drops the refcount to 0. - -2003-02-01 Matthias Clasen - - * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk - headers. Sorry about gtk_selection_clear, Yosh. - -Thu Jan 30 17:16:05 2003 Manish Singh - - * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION - too, for gtkwidget.c. Remember people, when introducing new - deprecations, make sure internal code isn't using it, or if so, - reorganize appropriately like I've done in other places. - - * tests/testtext.c: don't use deprecated gtk_timeout_* stuff. - -2003-01-31 Matthias Clasen - - * gtk/gtkselection.h: - * gtk/gtkselection.c (gtk_selection_clear): Deprecate. (#85683) - - * gdk/gdkpixbuf.h: - * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): - (gdk_pixbuf_render_to_drawable_alpha): Deprecate. (#60582) - - * gtk/gtkcolorsel.h: - * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook): - Deprecate. (#98167) - - * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077) - - * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_* - and gtk_input_* functions. (#71596) - - * gtk/gtkentry.c (gtk_entry_move_cursor): - * gtk/gtklabel.c (gtk_label_move_cursor): Handle - GTK_MOVEMENT_HORIZONTAL_PAGES in switches. - - * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803) - - * gtk/gtkitemfactory.h: - * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. - (#69244) - -Thu Jan 30 23:48:30 2003 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell): - only count the special cell if it is also visible, - (_gtk_tree_view_column_get_neighbor_sizes): only take the width into - account from visible cells, - (gtk_tree_view_column_cell_get_position): likewise, (Reported and - testcase provided by Vasco Alexandre da Silva Costa, via IRC, - tracking bug was #104563). - -Thu Jan 30 23:46:15 2003 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - subtract expander space and focus line space from the extra space - we are about the allocate. (Fixes #104635). - -Thu Jan 30 23:42:03 2003 Kristian Rietveld - - * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error - (Fixes #96242, patch from Soeren Sandmann). - -Thu Jan 30 16:54:29 2003 Owen Taylor - - * gtk/gtknotebook.c: Patch from Soeren Sandmann - to update the states of the tab label child - widgets to match the state of the tabs. - (#93389, Reported by Tommi Komulainen) - -Thu Jan 30 16:30:54 2003 Owen Taylor - - * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from - EXTRA_DIST, and from dist rules. (#102231) - -2003-01-30 Daniel Elstner - - * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper - function that sets the icon's and label's packing options and - visibility based on toolbar->style. - - (gtk_toolbar_internal_insert_element): - (gtk_real_toolbar_style_changed): Make use of - set_child_packing_and_visibility() to clean up the code and get - the packing right for icon-only/text-only toolbars. (#104679) - - (get_first_child): Remove, and use gtk_bin_get_child() instead. - -2003-01-30 Matthias Clasen - - * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by - GTK_MOVEMENT_HORIZONTAL_PAGES. (#68947) - - * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep. - -Thu Jan 30 16:01:29 2003 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the - attempt-to-allocate then free code. To handle multiple - people allocating colors at the same time, we need - to just go ahead and try. (#102213, Shivram U) - -2003-01-30 Daniel Elstner - - * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque - rectangle using the background color rather than relying on - gdk_window_clear_area(), so that the palette works properly with - pixmap themes. (#101732) - - * demos/gtk-demo/colorsel.c: Install an "expose_event" handler - to fill the drawing area in the background color. - -Wed Jan 29 14:11:21 2003 Hidetoshi Tajima - - * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory - initialization error for selecting input style (#103549). - -Wed Jan 29 17:02:41 2003 Owen Taylor - - * gdk/gdkkeyuni.c (get_decimal_char): Make the - translation of GDK_KP_Decimal dependent on LC_NUMERIC. - (#101225) - -Wed Jan 29 15:43:56 2003 Owen Taylor - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): - Make up from the menu bar go to the end of the submenu. - (#96114, Ian Peters.) - - * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): - Only do the select-but-not-activate stuff if the - menu is already active. Otherwise, just activate. - (#101690, Arvind Samptur) - -Tue Jan 28 15:18:24 2003 Owen Taylor - - * autogen.sh (have_automake): Fix version in complaint - message about automake. (#104366, Rich Burridge) - -Mon Jan 27 16:38:13 2003 Owen Taylor - - * configure.in: Remove SOEXT stuff; it doesn't work portably. - -Mon Jan 27 22:45:15 2003 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_move): don't handle b if - we appended/prepended, send the rows_reordered signal to the - correct level ... (Reported by Matthew Tuck). - -Mon Jan 27 22:43:11 2003 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_sort_helper): don't just bail - out if the level only has one item, recurse over the child if there - is one. (Fixes #100458, reported by Gaël Le Mignot). - -Mon Jan 27 22:41:26 2003 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_set_model), - (gtk_tree_view_search_equal_func): make TreeView search handle - all types which are transformable by GValue. (Fixes #99803, reported - by Muktha Narayan). - -Mon Jan 27 22:39:25 2003 Kristian Rietveld - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_sort_column_id): - *really* handle unsetting the ID. Slightly modified patch from - Soeren Sandmann. Fixes #87556, reported by Jarek Dukat. - -Mon Jan 27 22:33:43 2003 Kristian Rietveld - - Fixes the total GtkTreeSortable mess, and #83195, reported by - Jarek Dukat - - * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id), - (gtk_tree_store_set_sort_column_id), (gtk_tree_store_set_sort_func), - (gtk_tree_store_set_default_sort_func): use the constant - GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of -1, make functions - work as advertised by the documentation. - - * gtk/gtklistore.c (gtk_list_store_get_sort_column_id), - (gtk_list_store_set_sort_column_id), (gtk_list_store_set_sort_func), - (gtk_list_store_set_default_sort_func): likewise. - - * gtk/gtktreemodelsort.c (gtk_tree_model_set_sort_column_id), - (gtk_tree_model_set_sort_func), - (gtk_tree_model_sort_set_default_sort_func): make functions work - as advertised by the documentation. - -Mon Jan 27 22:31:56 2003 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_button_press): update focus_column - before we decide if we edit. (fixes #100973, reported by Dave Cook). - -Mon Jan 27 22:29:30 2003 Kristian Rietveld - - Bug report and test case from Paolo Maggi via IRC. - - * gtk/gtkliststore.c (gtk_list_store_swap): update tail if needed, - (gtk_list_store_move): update tail if needed. - -Mon Jan 27 16:19:59 2003 Owen Taylor - - * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window - might be NULL. Use gtk_widget_get_display (widget) - (#102860, Thomas Leonard) - -Mon Jan 27 15:58:31 2003 Owen Taylor - - * configure.in: Fix --without-modules/--disable-modules - confusion that was causing --disable-modules not to work. - (#102865, Akira Tagoh) - - * configure.in: Fix problem with plain --with-xinput - (#104266, Akira Tagoh) - -2003-01-24 Sebastian Rittau - - * docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last - patch. - -Fri Jan 24 17:06:41 GMT 2003 Tony Gale - - * docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h - -Thu Jan 23 21:15:29 GMT 2003 Tony Gale - - * docs/faq/gtk-faq.sgml: Learn to spell Library - -Thu Jan 23 20:56:56 GMT 2003 Tony Gale - * Sebastian Rittau : - - docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a - Composite widget" to modern standards. (I.e. use gobject instead of - glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869. - - * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe - code in Appendix C to reflect above changes. - - * examples/rangewidgets/rangewidgets.c: From Roger Leigh - auto resize on page size change - -2003-01-23 Daniel Elstner - - * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all - in addition to show_all in order to keep them symmetric. (#102201) - -Wed Jan 22 14:18:46 2003 Manish Singh - - * gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at - the end of the function, so there is a statement following the "out" - label in all cases (fixes #101961) - -2003-01-22 Christian Rose - - * configure.in: Added "mn" to ALL_LINGUAS. - -Wed Jan 15 17:02:18 2003 Owen Taylor - - * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange): - Fix off-by-one error on the backward iteration loop, - that was causing the wrong range to be redrawn. - (at least part of #72734) - -2003-01-21 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_size_allocate): Adjust the - vadjustment value after changing its bounds. (fixes #101963 and - #73562) - - * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid - unnecessary roundtrip failures. (#93500) - -2003-01-19 Tor Lillqvist - - Merge from stable: - - Fix for #103614 and some other problems with GtkFileSelection on - Windows: - - * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not - g_ascii_tolower(). Windows file names are case-insensitive for all - Unicode letters. - - * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or - G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h - earlier, as it includes config.h unconditionally, and gtkprivate.h - redefines GTK_LOCALEDIR. - (struct _CompletionDirSent): Ifdef out the fields not used on - Windows. - (compare_utf8_filenames, compare_sys_filenames): Need different - comparison implementation for UTF-8 file names and system locale - file names on Win32. Cannot simply use g_ascii_strcasecmp(), but - need to casefold all Unicode letters. - (cmpl_completion_matches, open_dir, correct_parent): Ifdef out - variables not used on Win32 to avoid warnings about unused - variables. - (open_ref_dir): Use g_path_skip_root() to skip past potential - drive letter in front of the leading (back)slash. - (open_new_dir): Ifdef out use of CompletionDirSent fields not - there on Win32. - (correct_parent): Bypass inode check also on Cygwin. - - Fix bug noticed by Alex Shaduri: Tooltips and other - GDK_WINDOW_TEMP windows were activated. This looked very odd, and - was a regression from earlier versions. - - * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune - behaviour. Don't ever activate GDK_WINDOW_TEMP windows. - (gdk_window_move, gdk_window_resize): Add debug logging. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a - WM_SIZE message for a non-visible (withdrawn) window, don't clear - the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn - even if its size changes. - -2003-01-16 Matthias Clasen - - * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): Typo fixes. - (totally_invisible_line): Fix an incorrect optimization which - caused invisible paragraphs to be occasionally misrendered. - -Wed Jan 15 15:55:47 2003 Owen Taylor - - * gtk/gtksettings.c: Set the double click speed from - XSETTINGS when creating a new GtkSettings object - as well as when getting a notify. (#103601, reported - by Louis Garcia) - -Wed Jan 15 14:56:09 2003 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_size_allocate): - Show/hide the notebook event window as necessary, - we weren't previously keeping the visibility updated - properly. (#103599) - -2003-01-15 Matthias Clasen - - * examples/menu/itemfactory.c: - * docs/tutorial/gtk-tut.sgml: Add a to the itemfactory - example. (#103211) - -2002-12-29 Murray Cumming - - Fixes #102168. - - * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c: - Actually implement the GtkTreeDragSource::row_draggable virtual - function in GtkListStore and GtkTreeStore instead of just checking - whether it's implemented at all. This means that DnD isn't broken by - gtkmm's virtual function wrappers. The alternative would be to - hard-code the TRUE return value into gtkmm's wrappers, but that's - part of GTK+'s implementation, not it's API. - -Tue Jan 14 23:42:29 2003 Kristian Rietveld - - * gtk/gtktreeview.c: fix compiler warning. - -Tue Jan 14 23:29:00 2003 Kristian Rietveld - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): - make sure exposed pixbufs are clipped to the exposed area before - drawing, which is a slight speedup. (#102379, patch from Soeren - Sandmann). - -Tue Jan 14 23:26:41 2003 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): silly typo fix, - only free scroll_to_path when the complete tree has been validated. - This makes sure that we scrolled to the correct path. - -Tue Jan 14 23:25:32 2003 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_style_set): update the - background of widget->window and bin->window. (Fixes #96650, reported - by Dave Camp). - -Tue Jan 14 23:24:02 2003 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process - updates before scrolling, avoiding a "selection streak". (Fixes - #101235, patch from Soeren Sandmann). - -Tue Jan 14 23:22:13 2003 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): actually put values - in the requisition using gtk_widget_size_request. (Fixes #100172, - reported by Kjartan Maraas). - -Tue Jan 14 23:19:45 2003 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the - arrow animation timeout before we actually reorder the rbtree. If - we don't do this we can get stuck arrows, - (cancel_arrow_animation): new function. (Fixes #93629, part 2, - reported and testcase provided by Hans Petter Jansson). - -Tue Jan 14 23:18:21 2003 Kristian Rietveld - - * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range): - anchor_path should be start_path, not end_path. (Fixes #102618, - patch from Carlos Garnacho Parro). - -Tue Jan 14 23:16:15 2003 Kristian Rietveld - - * gtk/gtkliststore.c (gtk_list_store_move): also update the tail, - only correct new_pos if we don't move to the head/tail. - -Tue Jan 14 23:11:55 2003 Kristian Rietveld - - * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from - the parent_iter if depth >= 1, so we send the reordered signal to - the correct level, remove debugging printfs which I forgot the remove - earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and - testcase provided by Matthew Tuck). - -Tue Jan 14 20:58:44 2003 Kristian Rietveld - - * gtk/gtktreeview.c (invalite_last_column): split out actual column - invalidation into invalidate_column(), - (gtk_tree_view_size_allocate_columns): invalidate column if the - new width is larger than the old width. - (fixes #102890, reported by Alex Duggan). - -2003-01-14 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip - invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and - GTK_MOVEMENT_WORDS. - - * gtk/gtktextiter.c, - gtk/gtktextiter.h: Add some variant movement functions which - skip invisible chars, and do some cleanups. - -2003-01-12 Tor Lillqvist - - Merge from stable: - - * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier, - as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time - lookup. - - * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on - gdk.def. - - * gdk/gdk.def - * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO. - - * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0, - gtk-demo}.exe and share/gtk-2.0. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint): - Implement by setting or clearing the WS_EX_TOOLWINDOW extended - window style. - (gdk_window_set_type_hint): Add all cases to the switch (not all - do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by - calling gdk_window_set_skip_taskbar_hint(). This means that GTK - won't know that the skip_taskbar hint is on for the window, is - this bad? - -Wed Jan 8 18:43:03 2003 Manish Singh - - * gdk/x11/gdkdisplay-x11.c: #include for putenv, - for strlen. - - * gdk/x11/gdkscreen-x11.c: #include for getenv, - for strrchr. - - * tests/testgtk.c (create_saved_position): "x" and "y" properties - for widgets no longer exist, use gtk_window_move instead. - - * test/testtextbuffer.c (check_get_set_text): cast strlen to - int for g_error. - -2003-01-08 Matthias Clasen - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of - the selection in the presence of invisible segments. - -2003-01-07 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\ - to "select all" and "unselect all". (#102065) - - * gtk/gtktextview.h (struct _GtkTextView): Add a comment that - the just_selected_element is unused. - - * gtk/gtktextview.c (extend_selection): New helper function to - find the range that should be added to the selection. - (selection_motion_event_handler): - (gtk_text_view_start_selection_drag): - (gtk_text_view_end_selection_drag): - (selection_motion_event_handler): - (selection_scan_timeout): Support select-by-words/lines. - (gtk_text_view_button_press_event): Start a selection drag on - double/triple clicks. (#78499) - -2003-01-06 Matthias Clasen - - Implement a utility function proposed in #102534: - - * gtk/gtktextbtree.h: - * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function. - (_gtk_text_btree_place_cursor): Now a simple wrapper around - _gtk_text_btree_select_range(). - - * gtk/gtktextbuffer.h: - * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function. - (gtk_text_buffer_place_cursor): Now a simple wrapper around - gtk_text_buffer_select_range(). - -2003-01-05 Havoc Pennington - - * configure.in: fix a stray bracket that was breaking the build - -2003-01-05 Tor Lillqvist - - * gtk-zip.sh.in: Use correct DLL and import library names, with - GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION. - (DEVZIP): Add gdk-pixbuf-query-loaders.exe. - - * configure.in: Improve check for dimm.h. - - * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in - gdk-pixbuf/Makefile.am. - - * gdk-pixbuf/makefile.mingw.in - * gdk-pixbuf/pixops/makefile.mingw.in - * gdk/makefile.mingw.in - * gdk/win32/makefile.mingw.in - * gtk/makefile.mingw.in: Remove. Not maintained anyway. - - * gdk-pixbuf/Makefile.am - * gdk-pixbuf/pixops/Makefile.am - * gdk/Makefile.am - * gdk/win32/Makefile.am - * gtk/Makefile.am - * configure.in: Remove makefile.mingw{,.in} from here, too. - - * README.win32: Updates. Don't mention the now removed - makefile.mingw files. - - * gdk/gdk.def - * gtk/gtk.def: Add a couple of missing entries. - - * gdk/gdkkeynames.c: Include for strcmp() and memcpy(). - - * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround - earlier. - - * gdk/win32/rc/Makefile.am: Add hack to help - build/win32/lt-compile-resource decide which kind of libtool - object file to produce. - -2003-01-05 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make - C-Down step through the sequence of paragraph ends (old behaviour - included paragraph starts). (#80340, patch by Narayana Pattipati) - - * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle): - Check for a tag toggle at the start iterator before calling - gtk_text_iter_forward_to_tag_toggle(). (#102090, patch by Daniel - Elstner) - -2003-01-04 Matthias Clasen - - * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/ - and /*< private >*/ as appropriate. (#97211) - -2003-01-04 Tor Lillqvist - - * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do - distribute gtk-zip.sh.in. - - * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1. - -2003-01-03 Havoc Pennington - - * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST - - * docs/text_widget_internals.txt: add a file documenting some of - the text widget internals - -2003-01-02 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may - return NULL. (#102069) - -2003-01-01 Matthias Clasen - - * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having - a main() in the library is obviously bad. - -2002-12-27 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the - cursor at drop point. (#72384) - (gtk_text_view_size_allocate): Update the horizontal adjustment - value. (#75694) - -2002-12-25 Matthias Clasen - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of - selection wrt. to empty lines. (#90435, #90582, #91619) - - * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler): - Keep the cursor on screen. (#96929) - -2002-12-24 Matthias Clasen - - * gtk/gtktextbuffer.c (paste_from_buffer): - (clipboard_text_received): Let the user action span the insertion - and the deletion of the old selection. (#82844) - -2002-12-23 Matthias Clasen - - * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts): - Don't call gtk_text_iter_backward_sentence_start() if - count is zero. (#99115) - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call - move_cursor() even if the cursor hasn't moved, since it has the - side effect of canceling the selection. (#81395, #98537, #98333) - -2002-12-22 Matthias Clasen - - * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes - with empty ranges. (fixes #101564 and #80637) - -2002-12-21 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that - sets the window style and extended window style, and adjusts the - width and height to take the window decorations into account - earlier. The adjusted width and height used to be ignored. Remove - the local x, y, width and height variables, no need to further - confuse the code by having local copies. (Partial fix, I hope, for - #101588) - - (gdk_window_move): When moving top-level windows, take title bar - and border width into account, offsetting the coordinates before - calling SetWindowPos(). - - (gdk_window_set_decorations, gdk_window_set_functions): - Reimplement, taking into account the peculiar semantics of - GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036) - - (gdk_window_get_decorations): Implement. (#98981) - - (gdk_window_set_type_hint): When setting - GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations(). - (#79036) - - * gdk/gdk.def: Add gdk_window_get_decorations. (#98981) - -2002-12-21 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_set_background): New static - function to set the background of all windows. - (gtk_text_view_style_set): Use gtk_text_view_set_background(). - (gtk_text_view_state_changed): New function; change background - according to state. (#88126) - -2002-12-21 Havoc Pennington - - * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation - diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 deleted file mode 100644 index 7f1551ff77..0000000000 --- a/ChangeLog.pre-2-6 +++ /dev/null @@ -1,7235 +0,0 @@ -2004-12-16 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.6.0 === - - * gtk/gtkmenuitem.c: Add a forgotten cast. (Morten Welinder) - - * gtk/gtkfilechooserbutton.c: Add another forgotten include. (Morten - Welinder) - -2004-12-16 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers - if they are blocked. - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't - crash if enable_search is FALSE. (#161267, Jorn Baayen) - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_mnemonic_activate): - Re-fix #152925, reported by Dennis Cranston. - -2004-12-15 Matthias Clasen - - * gtk/gtkfilechooserbutton.c: Add missing includes. - - * configure.in: Require glib 2.6.0 for - g_filename_display_basename. - - * gtk/gtkentrycompletion.[hc]: Make the prefix parameter - to the insert-prefix signal a const gchar* instead of a - gchar*. (#161415, Murray Cumming) - Also remove an unused static function. - -2004-12-15 Alexander Larsson - - * gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info): - Use g_filename_display_basename to calculate display name. - -2004-12-15 Matthias Clasen - - * gtk/abicheck.sh: Strip out PRIVATE - - * NEWS: Updates - - * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first) - (gtk_real_menu_shell_activate_current): Use - _gtk_menu_item_popup_submenu() to make keynav into submenus work - instantaneously, independent of the popup delay. (#161140) - - * gtk/gtkmenuitem.[hc]: _-prefix gtk_menu_item_popup_submenu() and - make it non-static. - - * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove unused variables. - -2004-12-15 James M. Cape - - * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate) - (gtk_file_chooser_button_init) - (gtk_file_chooser_button_file_chooser_iface_init) - (gtk_file_chooser_button_add_shortcut_folder) - (gtk_file_chooser_button_remove_shortcut_folder) - (gtk_file_chooser_button_constructor) - (gtk_file_chooser_button_set_property) - (gtk_file_chooser_button_destroy) - (gtk_file_chooser_button_finalize) - (get_icon_theme) (get_display_name_for_path) (model_get_type_position) - (model_free_row_data) (model_add_special) (model_add_other) - (model_add_volumes) (model_add_bookmarks) - (model_update_current_folder) (model_remove_rows) - (filter_model_visible_func) (combo_box_row_separator_func) - (name_cell_data_func) (update_combo_box) (fs_volumes_changed_cb) - (fs_bookmarks_changed_cb) (combo_box_changed_cb) - (change_icon_size): Use a GtkComboBox in SELECT_FOLDER mode (#157726). - - * gtk/gtkfilechooserbutton.c: - * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_new) - (gtk_file_chooser_button_new_with_backend): Add @action to constructors - to match other GtkFileChooser impls. API CHANGE. - - * docs/tools/widgets.c (create_file_button): - * tests/testfilechooserbutton.c (main): Update callers. - - * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Reflect API - change. - - * tests/testfilechooserbutton.c: Add LGPL license. - (main): Added GOption parser for --backend and --right-to-left cmd line - args. - (add_pwds_parent_as_shortcut_clicked_cb) - (del_pwds_parent_as_shortcut_clicked_cb) (tests_button_clicked_cb): - Add shortcut_folders test. - (chooser_current_folder_changed_cb) (chooser_selection_changed_cb) - (chooser_file_activated_cb) (chooser_update_preview_cb): Print URIS, - not filenames. - -2004-12-15 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't - try to filter if impl->current_filter is NULL. (#161329, - R. McFarland) - -2004-12-14 Federico Mena Quintero - - Merged from gtk-2-4: - - Fix #145470: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_initial_focus): Queue a pending - operation to select the first row if we are not finished loading - yet. - (gtk_file_chooser_default_class_init): Override GtkWidget::map(). - (gtk_file_chooser_default_map): New ::map() handler; refresh the - file and bookmark lists. - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_class_init): - Override GtkWidget::map() and GtkWidget::unmap(). - (gtk_file_chooser_dialog_constructor): Don't call initial_focus() - here. - (gtk_file_chooser_dialog_map): Map the file chooser widget if - needed. Call initial_focus() here. - (gtk_file_chooser_dialog_unmap): Unmap the file chooser widget. - When we are re-mapped, the widget will get mapped as well and it - will have a chance to refresh. - -2004-12-14 Matthias Clasen - - * README.win32: Fix a typo - - * README.in: Updates - - * tests/testcombo.c (main): Don't use gtk_cell_renderer_set_values(). - - * gtk/gtk.symbols: - * gtk/gtkcellview.[hc]: Remove gtk_cell_renderer_set_value[s] - for now. - - * configure.in: Bump version to 2.6.0 - - * NEWS: Updates - - * tests/testiconview.c: Test oversized items. - - * gtk/gtk.symbols: Add new symbols. - - * gtk/gtkiconview.[hc]: Make the icon view lay out its - items in a grid, allocating multiple grid cells to oversized - items. Also convert hardwired spacing constants into - properties. (#152483) - -2004-12-13 Matthias Clasen - - * gtk/gtklabel.c: s/maximal/maximum/g (#161195, David Lodge) - - * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Reintroduce - the reverted change, since it is necessary to prevent lost - submenus. But make it work for torn-off menus as well. - - * gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature - to avoid overwriting a pspec. - - * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change - which prevented torn-off menus from being shown normally. - - * gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling - for menus. (#88532) - - * gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only - the HAS_DEFAULT flags. (#160711, Tommi Komulainen) - - * gtk/gtkimage.c (gtk_image_set_property): Add a missing break - statement. (#161172, Damon Chaplin) - - * gtk/gtkcellrenderertext.c: Add a width-chars property like - GtkLabel has. (#160496, James M. Cape) - - * NEWS: Updates - - * gtk/gtkwidget.c (gtk_widget_class_init): Add some docs for - GtkWidget::delete-event and GtkWidget::destroy-event. (#161142, - Paolo Borelli) - -2004-12-13 Matthias Clasen - - * gtk/gtklabel.[hc]: Add a max-width-chars property, which can - be used to specify the width of the label in characters, while - still allowing it to fall short of this length if the text - is shorter. (#155944, Christian Persch) - - * gtk/gtk.symbols: Add new symbols. - - * gtk/gtkuimanager.c (update_smart_separators): Don't let the - empty menu filler affect visibility of separators. (#160500, - Christian Persch) - -2004-12-12 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a - last item to gtk_combo_box_relayout_item. (#161050, John Finlay) - - * tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename - a local variable to avoid a conflict. (#161109, Robert Ögren) - -2004-12-12 Tor Lillqvist - - * gtk/gtkaccelmap.[ch] - * gtk/gtkfilechooser.[ch] - * gtk/gtkfilesel.c - * gtk/gtkfilesystemwin32.c - * gtk/gtkiconfactory.[ch] - * gtk/gtkicontheme.[ch] - * gtk/gtkimage.[ch] - * gtk/gtkimmodule.c - * gtk/gtkmodules.c - * gtk/gtkrc.[ch] - * gtk/gtkuimanager.[ch] - * gtk/gtkwindow.[ch] - * gtk/updateiconcache.c - * gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert - environment variables referring to pathnames from locale encoding - to UTF-8. As in GLib, in order to preserve Windows DLL ABI - stability, add binary compatibility versions of functions that - take file names as arguments, or return file names. Add a _utf8 - suffix to the "real" such functions on Windows. The ABI - compatibility versions keep the old name. - - * gtk/Makefile.am: Strip PRIVATE symbols from the GNU import - library. - - * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement - file mapping on Win32. - - * gtk/updateiconcache.c: Don't crash if invoked without - argument. Use binary mode when opening file. - - * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install - gtkrc in correct place, in /themes/MS-Windows/gtk-2.0. - -2004-12-12 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_setup_mnemonic): Fix a - copy-and-paste error, noticed by Robert Ögren. - -2004-12-11 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level) - (gtk_combo_box_menu_row_changed): Only wrap if we are in the - topmost menu. (#160936, John Finlay) - -2004-12-10 Matthias Clasen - - Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor) - - * gtk/gtkwindow.c: Factor out mnemonic hash code into - a separate file. - - * gtk/gtkmnemonichash.[hc]: Factored out mnemonic hash - code from gtkwindow.c. - - * gtk/Makefile.am (gtk_c_sources): Add gtkmnemonichash.[hc]. - - * gtk/gtkmenushell.c (struct _GtkMenuShellPrivate): Give - menu shells their own mnemonic hash. - - * gtk/gtkmenushell.h: Add private api to support mnemonics. - - * gtk/gtklabel.c (gtk_label_setup_mnemonic): Add mnemonic to - the menushell mnemonic hash when inside a menu. - -Fri Dec 10 13:59:32 2004 Manish Singh - - * gtk/gtk.symbols: add recent new functions. - -2004-12-10 Matthias Clasen - - * gtk/gtkwindow.c: Revert the patch which added no-alt - mnemonics, since it interfers badly with menus. (#160911, - Jonathan Blandford) - -2004-12-09 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_class_init): Fix a property - nick typo. - - * gtk/gtkfilechooserdefault.c: Apply a patch to reset the - filter if an otherwise invisible file is selected via the - location popup. (#159896, Carlos Garnacho Parro) - - Fix #145463, reported by Michael Natterer. - - * gtk/gtkcellrenderer.h (struct _GtkCellRenderer): Add an - editing flag to keep track of when editing is done. - - * gtk/gtkcellrenderer.h: - * gtk/gtkcellrenderer.c (gtk_cell_renderer_stop_editing): New - function to replace gtk_cell_renderer_editing_canceled(). - Deprecate gtk_cell_renderer_editing_canceled(). - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done): - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_editing_done): - * gtk/gtktreeview.c (gtk_tree_view_stop_editing): - Use gtk_cell_renderer_stop_editing(). - -2004-12-09 Matthias Clasen - - * gtk/gtkliststore.h: - * gtk/gtkliststore.c (gtk_list_store_insert_with_values): - (gtk_list_store_insert_with_valuesv): Add functions which allow - faster insertion of rows in sorted list stores. (#160063) - -2004-12-08 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Fix a typo - in the docs. (#160826, Jay Camp) - -2004-12-08 Federico Mena Quintero - - Merged from gtk-2-4: - - * gtk/gtkfilechooserdefault.c (pending_op_process): Center the - selected row so that it's easily visible. - -2004-12-08 Matthias Clasen - - Fix #111031, reported by Padraig O'Briain: - - * gtk/gtktextlayout.h: - * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_position): - Add a variant of gtk_text_layout_get_iter_at_pixel() which - returns the character at the position, not the closest - cursor position. - - * gtk/gtktextview.h: - * gtk/gtktextview.c (gtk_text_view_get_iter_at_position): - Add a variant of gtk_text_view_get_iter_at_location() which - returns the character at the position, not the closest - cursor position. - -2004-12-08 Matthias Clasen - - * gtk/gtkaccelmap.c (internal_change_entry): Remove all - entries for the same key, not just the first one. (#159498, - Christian Persch) - -2004-12-08 Matthias Clasen - - * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use - button->event_window for the fake leave event, otherwise - the button ignores it. - -2004-12-07 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this - work, no need to invert the array. - - * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Emit - rows_reordered if the row has been moved. (#160063) - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): - Don't mess up the column header state if the button release - event is missed. (#159640) - -2004-12-07 Marco Pesenti Gritti - - * gtk/gtkcellview.c (gtk_cell_view_set_background_color): - Fix a typo in last commit - -2004-12-07 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_set_background_color): Queue - a redraw. (#160679, Damon Chaplin) - -2004-12-07 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): - Don't mess up the column header state if the button release - event is missed. (#159640) - - * docs/tools/widgets.h (enum): Add an ASIS widget size. - - * docs/tools/widgets.c (get_all_widgets): Add file chooser, - font selection and color selection dialogs. - -2004-12-06 Matthias Clasen - - * modules/input/gtkimcontextime.c: Prevent double commits, - don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO) - -2004-12-06 Hans Breuer - - * gtk/gtkcolorsel.c (key_press): Implement keynav for the color - picker - win32 too. Fixes bug #160437. - -2004-12-05 Tor Lillqvist - - * demos/gtk-demo/main.c (load_file): Use g_fopen(). - - * demos/gtk-demo/images.c (progressive_timeout): Use - g_fopen(). Open png file in binary mode. - -2004-12-02 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.5.6 === - - * NEWS: Updates - -2004-12-03 Tor Lillqvist - - * gdk-pixbuf/Makefile.am (gdk_pixbuf.def) - * gdk/Makefile.am (gdk.def) - * gtk/Makefile.am (gtk.def): Work around gcc misfeature. At least - gcc 3.3.1 doesn't like to do -E on files that it thinks aren't - source files. Use redirection and '-' instead. - -2004-12-02 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond): Reinstate the previous behavior for clicking Ok after - activating a bookmark or path bar button in folder - modes. (#160044, Dennis Cranston) - -2004-12-02 Federico Mena Quintero - - Merged from gtk-2-4: - - Fix #159656: - - * gtk/gtkfilechooserdefault.c (PendingOp): New enumeration for the - pending operation to perform when finishing loading a folder. - (struct _GtkFileChooserDefault): New fields 'pending_op' and - 'pending_select_path'. - (pending_op_queue): New utility function. - (pending_op_process): New utility function. - (gtk_file_chooser_default_select_path): Don't select the path - immediately; delay it until the folder is finished loading. - (browse_files_model_finished_loading_cb): Process the pending - operation. - (browse_files_select_first_row): New utility function. - (gtk_file_chooser_default_initial_focus): Use - browse_files_select_first_row(). - (gtk_file_chooser_default_should_respond): Queue an operation to - select the first row once we load the child folder. - (up_folder_handler): Queue an operation to select the current - folder once we load the parent folder. - (gtk_file_chooser_default_finalize): Free the pending_select_path. - -Thu Dec 2 13:18:34 2004 Manish Singh - - * gdk/x11/gdkgc-x11.c (make_fg_tile_picture): Make sure we always - return a value. Return None in the fallthrough case. - -2004-12-02 Matthias Clasen - - * gtk/gtkmessagedialog.c: (setup_primary_label_font): - Don't leak pango_font_description object (#160214, Frederic Crozat). - -2004-12-01 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_row_changed): Handle the - fact the the changed row may also be moved. (#159387, Olivier - Andrieu) - -2004-12-01 Tor Lillqvist - - * modules/input/imime.c (im_module_create): Use the module's - correct name in test. (#160122) - -2004-12-01 Michael Natterer - - * gtk/gtkuimanager.[ch]: added virtual functions - GtkUIManager::get_widget() and ::get_action(). Moved the code from - gtk_ui_manager_get_widget() and get_action() to the default - implementations. Fixes bug #160096. - - (gtk_ui_manager_get_toplevels): added missing precondition check - for GTK_IS_UI_MANAGER(self). - -2004-12-01 Dom Lachowicz - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: use MS Windows button order, not Gnome HIG order - * modules/engines/ms-windows/msw_style.c (draw_handle): Draw XP toolbar grippie handle properly - (draw_resize_grip): Draw XP status bar grippie handle properly - (draw_arrow): XP theme combo box arrows on toolbars - -2004-11-30 Dom Lachowicz - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: MS Windows menus should not have tearoffs - -Tue Nov 30 17:53:37 2004 Søren Sandmann - - * gtk/gtksequence.c (node_compare): Assign an arbitrary, but - consistent, order to nodes that the user function compares as - equal. Better fix for bug #157670 and a better way to make sorting - stable. - -2004-11-30 Hans Breuer - - * gdk/win32/gdkpixmap-win32.c : remove the disputable memset at - the end of gdk_pixmap_new() - on X11 the bits are not initialized - either - fixes bug #145107 - - * gtk/gtkfilesystemwin32.c : add an idle handler to emit "volumes-changed" - when drives are plugged in or removed. Fixes bug #137815 - -2004-11-30 Matthias Clasen - - * gtk/gtktreesortable.c (gtk_tree_sortable_get_sort_column_id): Update - the documentation to specify a more useful behaviour, which can be - implemented with the multiple special values we have now. (#159984, - Nicholas Rahn) - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_sort_column_id): - * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id): - * gtk/gtkliststore.c (gtk_list_store_get_sort_column_id): Update the - implementations. - -Tue Nov 30 16:25:29 2004 Owen Taylor - - * gtk/gtktextdisplay.c (render_para): Don't paint in the - trailing end of a wrapped line when the selection - starts after the line. (#160000, Matthias Clasen) - - * gtk/gtktextdisplay.c (gtk_text_layout_draw): pass in byte_count + 1 - for selection_end index when the selection end is past the end of the - line so that render_para() can distinguish it from selection-end - *at* the end of the line. Fixes newlines not being selected. - -2004-11-30 James M. Cape - - * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_get_active) - (gtk_file_chooser_button_set_active): - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init) - (gtk_file_chooser_button_get_active) - (gtk_file_chooser_button_set_active): - * docs/reference/gtk/gtk-sections.txt: - * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: - * gtk/gtk.symbols: removed "GtkFileChooserButton:active" property and - getter/setter. - - * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate) - (button_toggled_cb) (dialog_response_cb) (button_notify_active_cb) - (gtk_file_chooser_button_init) (button_clicked_cb) - (gtk_file_chooser_button_show): Use a GtkButton instead of a - GtkToggleButton. - (struct _GtkFileChooserButtonPrivate) - (gtk_file_chooser_button_destroy) (gtk_file_chooser_button_style_set) - (gtk_file_chooser_button_screen_changed): Don't bother with the - (remove_settings_signal) (settings_notify_cb) (check_icon_theme): - Don't use GtkSettings at all, just call change_icon_theme() directly. - (struct _GtkFileChooserButtonPrivate) - (gtk_file_chooser_button_init) - (gtk_file_chooser_button_drag_data_received) - (gtk_file_chooser_button_mnemonic_activate) - (gtk_file_chooser_button_set_width_chars) - (gtk_file_chooser_button_get_width_chars) - (entry_changed_cb) (update_idler) (update_entry) (update_dialog) - (dialog_selection_changed_cb) (dialog_response_cb) - (entry_size_allocate_cb): Remove all references to the now-defunct - entry, store the old path (to support "Cancel") in an instance member. - (update_label_and_image) (update_label) (update_image) - (gtk_file_chooser_button_init) (dialog_response_cb) - (dialog_selection_changed_cb): Merge label/image updates, only display - the filename (not the whole path, fixes #157725). - (struct _GtkFileChooserButtonPrivate) - (dialog_selection_changed_cb) - (dialog_selection_changed_proxy_cb): Merge "selection-changed" - handlers, block while dialog is visible (fixes #158482). - - * tests/testfilechooserbutton.c (delete_event_cb) - (properties_button_clicked_cb) (print_selected_path_clicked_cb) - (tests_button_clicked_cb) (main): Add per-chooser "tests" window, - don't delete on WM close, update properties_button_clicked_cb() - "delete-event" callback. - -2004-11-30 Dwayne Bailey - - * configure.in: Added "nso" to ALL_LINGUAS. - -Tue Nov 30 09:46:49 2004 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_draw_xtrapezoids) - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_draw_xft_glyphs): - Call gdk_x11_drawable_update_xft_clip (part of #159929, - James Henstridge) - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_glyphs_transformed): - Remove unused variables. - -Tue Nov 23 19:37:34 2004 Owen Taylor - - * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_flush): A little bit - of microoptimization of repeated GDK_GC_XDISPLAY()/XGC(). - -2004-11-30 Matthias Clasen - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_sort_column_id): - * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id): - * gtk/gtktreesortable.c (gtk_tree_sortable_get_sort_column_id): - * gtk/gtkliststore.c (gtk_list_store_get_sort_column_id): - - * NEWS: Updates. - -2004-11-29 Matthias Clasen - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Don't - do the popup-on-click handling for menubars. (#159931, - Søren Sandmann) - - * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Don't - handle popup delay if the submenu is already mapped. - -Mon Nov 29 16:56:33 2004 Manish Singh - - * gtk/gtkcellview.h: remove gtk_cell_view_set_cell_data() declaration. - -2004-11-29 Federico Mena Quintero - - Merged from gtk-2-4: - - * gtk/gtkfilechooserdefault.c (trap_activate_cb): Don't handle - Enter if we are in SELECT_FOLDER or CREATE_FOLDER actions. This - lets us navigate the file system more easily. - (gtk_file_chooser_default_should_respond): If we are in - SELECT_FOLDER or CREATE_FOLDER modes, return TRUE if something is - selected. - -Mon Nov 29 17:51:51 2004 Søren Sandmann - - * gtk/gtksequence.c (_gtk_sequence_sort_changed): If the item is - already in the right place, don't move it. Bug #157670. - - * gtk/gtksequence.c (already_in_place): New function - -Mon Nov 29 17:28:53 2004 Søren Sandmann - - * gtk/gtksequence.c (_gtk_sequence_sort): Take nodes in reverse - order to make sure sort is stable. - -2004-11-29 Matthias Clasen - - * gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call - gtk_cell_view_set_cell_data() from here. - - * gtk/gtk.symbols: Remove gtk_cell_view_set_cell_data() - - * gtk/gtkcellview.c (gtk_cell_view_get_cell_renderers): Call - gtk_cell_view_set_cell_data() from here. - (gtk_cell_view_set_cell_data): Make static. - - * gtk/gtkcombobox.c (gtk_combo_box_menu_popup): Make menu mode - work better when resizing the combo box. - - Determine the direction of XKB groups from their content, - not by looking for hardcoded keymap names. (#116626, patch by - Behdad Esfahbod, based on an earlier patch by Ilya Konstantinov) - - * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Cache directions - for XKB groups. - (get_direction): Determine direction of group by looking at - directions of keysyms. - (update_direction): Maintain the cache of group directions. - (gdk_keymap_get_direction): Use update_direction(). - - * gdk/gdkkeynames.c: Add dead_hook and dead_horn. - - * gdk/gdkkeysyms.h (GDK_dead_hook, GDK_dead_horn): Define - these keysyms. (#159739, Samuel Thibault) - -2004-11-29 Matthias Clasen - - * gtk/Makefile.am (gtkalias.h): - * gdk/Makefile.am (gdkalias.h): Use the perl found by - configure. (#149826, Morten Welinder) - -2004-11-28 Matthias Clasen - - * gtk/gtkwidget.h (gtk_requisition_get_type): - * gtk/gtktypeutils.h (gtk_identifier_get_type): - * gtk/gtktexttag.h (gtk_text_attributes_get_type): - * gtk/gtkstyle.h (gtk_border_get_type): - * gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type): - * gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type): - * gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type): - * gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type): - * gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const. - - * gtk/gtk.symbols: - * gtk/Makefile.am: Mark get_type() functions - generated by glib-mkenums as const. - - * gdk/gdkvisual.h (gdk_visual_get_type): - * gdk/gdkscreen.h (gdk_screen_get_type): - * gdk/gdkinput.h (gdk_device_get_type): - * gdk/gdk.h (gdk_rectangle_get_type): - * gdk/gdkfont.h (gdk_font_get_type): - * gdk/gdkevents.h (gdk_event_get_type): - * gdk/gdkdrawable.h (gdk_drawable_get_type): - * gdk/gdkdisplay.h (gdk_display_get_type): - * gdk/gdkcursor.h (gdk_cursor_get_type): - * gdk/gdkcolor.h (gdk_color_get_type): Mark as const. - - * gdk/gdk.symbols: - * gdk/Makefile.am (stamp-gdkenumtypes.h): Mark get_type() functions - generated by glib-mkenums as const. - - * gtk/gtktextview.c (gtk_text_view_move_iter_by_lines): Return - a boolean indicating whether we could do the requested move. - (gtk_text_view_move_cursor_internal): For GTK_MOVEMENT_DISPLAY_LINES, - move to the beginning/end of the line if we're on the first/last - line. (#155891, Paolo Borelli) - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line): - Don't move the iter and return FALSE if trying to move up from - the first line. - -2004-11-28 Matthias Clasen - - * gtk/gtkaction.c (closure_accel_activate): Don't claim to have - handled the accelerator if the action is insensitive. (#151541, - Jody Goldberg) - - * docs/tools/widgets.c: Add a combo box. - -2004-11-27 Matthias Clasen - - * gtk/gtkcolorsel.c (key_press): Implement keynav for the color - picker (only on X11 currently, since GDK doesn't support pointer - warping). Space and Return pick a color, Esc cancels the picking, - arrow keys move the pointer by single pixels, Alt-arrow combinations - move the pointer by 20 pixels. (#135385, Frances Keenan) - -Sat Nov 27 15:18:14 2004 Manish Singh - - * contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c - (rgb565amsb, rgb555msb): make proper casts in big endian cases. - -2004-11-26 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_set_model): Check column types on the - new model, and check them all. (#159389, Olivier Andrieu) - (gtk_icon_view_set_model): Queue a layout. (#159436, Olivier Andrieu) - - * gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list_for_display): - Don't crash if Xlib fails to return UTF-8. (#159373, Kristian Høgsberg) - -Thu Nov 25 14:32:35 2004 Manish Singh - - * gdk/abicheck.sh - * gtk/abicheck.sh: filter out G_GNUC stuff when doing the compare. - - * gtk/gtkmenuitem.c (gtk_menu_shell_button_release): add - GTK_MENU_ITEM() cast. - -2004-11-25 Kjartan Maraas - - * configure.in: Add forgotten «nb» to ALL_LINGUAS. - * po-properties/nb.po: Update - * po/nb.po: Update - -2004-11-24 Matthias Clasen - - Open submenus on click. (#128968, Martin Jeppesen) - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Don't - activate items with submenus after the timeout, just select - them. - - * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Make - submenus popup immediately on click, regardless of popup - delay. - -2004-11-23 Matthias Clasen - - * configure.in: Rework confusing error message. (#151742, - Stepan Kasal) - -2004-11-23 Matthias Clasen - - * gtk/gtkuimanager.h (gtk_ui_manager_get_type): - * gtk/gtktreeview.h (gtk_tree_view_get_type): - * gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type): - * gtk/gtktreestore.h (gtk_tree_store_get_type): - * gtk/gtktreeselection.h (gtk_tree_selection_get_type): - * gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type): - * gtk/gtktreemodel.h (gtk_tree_iter_get_type): - (gtk_tree_path_get_type): - (gtk_tree_row_reference_get_type): - * gtk/gtktoolitem.h (gtk_tool_item_get_type): - * gtk/gtktoolbutton.h (gtk_tool_button_get_type): - * gtk/gtktoggleaction.h (gtk_toggle_action_get_type): - * gtk/gtkthemes.h (gtk_theme_engine_get_type): - * gtk/gtktextiter.h (gtk_text_iter_get_type): - * gtk/gtksettings.h (gtk_settings_get_type): - * gtk/gtkselection.h (gtk_selection_data_get_type): - * gtk/gtkradioaction.h (gtk_radio_action_get_type): - * gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type): - * gtk/gtkliststore.h (gtk_list_store_get_type): - * gtk/gtkiconview.h (gtk_icon_view_get_type): - * gtk/gtkicontheme.h (gtk_icon_info_get_type): - * gtk/gtkiconfactory.h (gtk_icon_factory_get_type): - (gtk_icon_set_get_type): - (gtk_icon_source_get_type): - * gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type): - * gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type): - * gtk/gtkfilesystem.h (gtk_file_folder_get_type): - (gtk_file_info_get_type, gtk_file_path_get_type): - (gtk_file_system_get_type): - * gtk/gtkfilefilter.h (gtk_file_filter_get_type): - * gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type): - * gtk/gtkfilechooser.h (gtk_file_chooser_get_type): - * gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type): - * gtk/gtkexpander.h (gtk_expander_get_type): - * gtk/gtkentrycompletion.h (gtk_entry_completion_get_type): - * gtk/gtkcombobox.h (gtk_combo_box_get_type): - * gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type): - * gtk/gtkclipboard.h (gtk_clipboard_get_type): - * gtk/gtkcellview.h (gtk_cell_view_get_type): - * gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type): - * gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type): - * gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type): - * gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type): - * gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type): - * gtk/gtkcelllayout.h (gtk_cell_layout_get_type): - * gtk/gtkactiongroup.h (gtk_action_group_get_type): - * gtk/gtkaction.h (gtk_action_get_type): - * gtk/gtkaccessible.h (gtk_accessible_get_type): - * gtk/gtkaccelmap.h (gtk_accel_map_get_type): - * gtk/gtkaccelgroup.h (gtk_accel_group_get_type): - * gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const. - - * gtk/gtkicontheme.h: Don't mark gtk_icon_theme_error_quark() - as const, to be consistent with all the other error_quark - functions. (technically they are const, but since these are - called only in error paths, giving the compiler better - optimization opportunities doesn't matter much) - - * gtk/gtk.symbols: - * gdk/gdk.symbols: Add attribute annotations. - - * gtk/makegtkalias.pl: - * gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE. - - * gtk/Makefile.am (gtk.def): - * gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep - PRIVATE. - -2004-11-22 Matthias Clasen - - * gtk/gtktoolbar.c (gtk_toolbar_set_icon_size): Add a deprecation - note. - - * gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll - events. (#159098, Felipe Heidrich) - -2004-11-22 Matthias Clasen - - * gtk/gtkmenuitem.c (gtk_menu_item_paint): Make the size of - the arrow depend only on the font size, not on the child - allocation. (#131345, Morten Welinder) - - * configure.in: Require Pango 1.7.0 for PangoRenderer (#159061, - Crispin Flowerday) - -2004-11-21 Sven Neumann - - * gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call - to gdk_pango_context_set_colormap() which isn't needed any longer. - -2004-11-21 Hans Breuer - - * gdk/makefile.msc.in gtk/stock-icons/makefile.msc - gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in : updated - - * gdk/win32/gdkdrawable-win32.c : implement gdk_win32_draw_glyphs_transformed() - * gdk/win32/gdkgc-win32.c : implement _gdk_windowing_gc_get_foreground() - - * demos/gtk-demo/rotated_text.c : use G_PI - -Sat Nov 20 15:13:51 2004 Owen Taylor - - * gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of - PangoRenderer targeting GDK drawables. Use to implement the old - gdk_draw_layout() and friends. - - * gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c: - Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and - the corresponding members of GdkDrawableClass. Add a fallback - implementation of gdk_draw_trapezoids() in terms of pixbufs. - - * gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add - _gdk_windowing_gc_get_foreground() to enable the fallback - trapezoid implementation. - - * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement - draw_glyph_transformed, draw_trapezoids. - - * gdk/x11/gdkdrawable-x11.[ch]: Add - _gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs - for use of GdkX11Renderer. - - * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement - GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath. - - * gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of - PangoXftRenderer that does tiles/stipples and fallback rendering - of trapezoids without the RENDER extension. - - * gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get: - Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer - for the screen. - - * gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL - confusion. - - * gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(), - and an ::angle property. - - * gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word(). - - * gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass - of GdkPangoRenderer for drawing. - - * gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using - gtk_attr_shape_new_with_data() to store backreferences to - embedded pixmaps and widgets. Leave line_display->shaped_objects - around for backwords compatibility. - - * gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe - as deprecated, remove implementation. - - * gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove - call to gdk_pango_context_set_colormap. - - * demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add - a demo showing drawing rotated text. - - * tests/testgtk.c: Add a rotated-label test, and also a rotated - drawing test (differs from demos/gtk-demo/rotated_text by also - using a tile) - -2004-11-21 Sven Neumann - - * configure.in: talk about TIFF loader, not TIFF plug-in. - -2004-11-20 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkdialog.h: - * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order_from_array): - Provide a non-varargs variant of gtk_dialog_set_alternative_button_order() - for language bindings. (#158798, John Finlay) - -2004-11-20 Federico Mena Quintero - - Merged from gtk-2-4: - - * gtk/gtkfilechooserdefault.c (list_icon_data_func): Set an empty - icon if we are on the editable row: if we don't set the cell - renderer at all, it will reuse the last thing it painted. - -2004-11-19 Federico Mena Quintero - - Merged from gtk-2-4: - - Fix #158475: - - * gtk/gtkpathbar.c (make_directory_button): Make the button a drag - source. - (button_drag_data_get_cb): New callback to let us drag the - button's path as a text/uri-list. - -2004-11-19 Federico Mena Quintero - - Merged from gtk-2-4: - - Fix #141077. Based on a patch by Christian Neumair : - - * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): - Desensitize the "new folder" button. - (edited_idle_cb): Sensitize the button back. - -2004-11-19 Federico Mena Quintero - - Merged from gtk-2-4: - - Fix #158477: - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): - Remove the "save_extra_align" and "browse_extra_align" fields; use - a single "extra_align" field. - (save_widgets_create): Don't create the save_extra_align. - (browse_widgets_create): Don't create the browse_extra_align. - (gtk_file_chooser_default_constructor): Create the extra_align - here. - (set_extra_widget): Add the extra widget to the alignment here, - and remove the old one if necessary. - (update_appearance): No need to frob the extra widget's alignments - anymore. - (gtk_file_chooser_default_set_property): No need to call - update_appearance() anymore when we set the extra widget. - -2004-11-19 Federico Mena Quintero - - Merged from gtk-2-4: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_initial_focus): Don't set the cursor if - we are still loading. - -2004-11-18 Federico Mena Quintero - - Merged from gtk-2-4: - - Fixes #155744: - - Try to load the whole file system model within a specified time. - - * gtk/gtkfilechooserdefault.c (set_list_model): Don't create and - set the sort model here. Instead, set up a timer in which we'll - try to load the file system model. - (load_set_model): Create and set the sort model here. - (load_setup_timer): New function to set up a timer and switch to - the LOAD_LOADING state. - (load_remove_timer): New function to unset the timer and switch to - the LOAD_FINISHED state. - (browse_files_model_finished_loading_cb): Remove the timer if - needed and set the file system and sort model; switch to the - LOAD_FINISHED state. - (gtk_file_chooser_default_finalize): Remove the load timer. - (gtk_file_chooser_default_init): Start in the LOAD_FINISHED state. - -Fri Nov 19 15:18:51 2004 Manish Singh - - * modules/engines/ms-windows/msw_rc_style.c - * modules/engines/ms-windows/msw_style.c - * modules/engines/ms-windows/msw_theme_main.c - * modules/engines/pixbuf/pixbuf-main.c - * modules/engines/pixbuf/pixbuf-rc-style.c - * modules/input/gtkimcontextime.c - * modules/input/gtkimcontextxim.c - * modules/input/imam-et.c - * modules/input/imcedilla.c - * modules/input/imcyrillic-translit.c - * modules/input/iminuktitut.c - * modules/input/imipa.c - * modules/input/imthai-broken.c - * modules/input/imti-er.c - * modules/input/imti-et.c - * modules/input/imviqr.c - * tests/prop-editor.c - * tests/testentrycompletion.c - * tests/testfilechooser.c - * tests/testmerge.c - * tests/testtoolbar.c - * tests/testtreecolumns.c - * tests/testtreeview.c: get rid of unnecessary casts. - - * tests/testgtk.c (create_labels): add GTK_LABEL() casts for - gtk_label_set_ellipsize() calls. - - * tests/testicontheme.c (main): remove unused pixbuf variable. - -Fri Nov 19 14:54:09 2004 Manish Singh - - * gdk/linux-fb/gdkgc-fb.c - * gdk/win32/gdkgc-win32.c - * gdk/win32/gdkwindow-win32.c - * gtk/gtkaboutdialog.c - * gtk/gtkaction.c - * gtk/gtkactiongroup.c - * gtk/gtkcellrendererprogress.c - * gtk/gtkcellview.c - * gtk/gtkcolorbutton.c - * gtk/gtkcombobox.c - * gtk/gtkcomboboxentry.c - * gtk/gtkentrycompletion.c - * gtk/gtkfilechooserbutton.c - * gtk/gtkmenutoolbutton.c - * gtk/gtkrc.c - * gtk/gtksettings.c - * gtk/gtkstyle.c - * gtk/gtktoggletoolbutton.c - * gtk/gtktoolbutton.c - * gtk/gtktoolitem.c - * gtk/gtktreemodelfilter.c - * gtk/gtktreeselection.c - * gtk/gtktreeviewcolumn.c - * gtk/gtkuimanager.c: get rid of unnecessary casts. - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): - cast away the const for g_value_set_enum. This is after the g_warning, - so this is a hack to begin with. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): - add a cast to GTK_FILE_CHOOSER for impl here. - -Fri Nov 19 14:52:42 2004 Manish Singh - - * autogen.sh: rm autom4te.cache, since it might interfere with - differing autoconf versions. - -2004-11-19 Christian Rose - - * configure.in: Added "rw" to ALL_LINGUAS. - -2004-11-17 Matthias Clasen - - * gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook) - (gtk_about_dialog_set_url_hook): Destroy the correct - data. (#158522, John Finlay) - -2004-11-16 Matthias Clasen - - * configure.in: Use gmodule-no-export-2.0.pc, require glib 2.5.7 - (#125627, Owen Taylor) - -2004-11-17 Matthias Clasen - - * gtk/gtkbutton.c: Don't return a relief when a - widget is expected. (#158470, Kazuki IWAMOTO) - -Tue Nov 16 19:44:26 2004 Owen Taylor - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkim-x11.c gdk/x11/gdkwindow-x11.c: - More strict aliasing warning suppressage. - -Tue Nov 16 19:26:30 2004 Owen Taylor - - * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display): - Squash strict aliasing warnings. - -2004-11-17 Davyd Madeley - - * gtk/gtkfilechooserdefault.c: Allow backspace to move up the - FileChooser tree to make it consistent with Nautilus and others. - -2004-11-16 Matthias Clasen - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a - copy-and-paste error. (#158459) - - * demos/gtk-demo/*.c: Don't include config.h in the examples. - -Tue Nov 16 00:08:07 2004 Jonathan Blandford - - * docs/tools/widgets.c: Update so that toplevel windows accomodate - for the titlebar when sizing. Also clean up statusbar - - * docs/reference/gtk/images/*png: update - -2004-11-16 Matthias Clasen - - * gtk/gtkcellrenderertext.c (get_layout): Don't use the foreground - color for selected cells, Don't use the background color - in unfocused selected cells. Also avoid creating two PangoLayouts - per render call. (#154615, #154611, Billy Biggs) - -Mon Nov 15 19:02:07 2004 Manish Singh - - * gdk/abicheck.sh - * gtk/abicheck.sh: don't hardcode lengths for cut, instead split on - the third field. - -2004-11-15 Matthias Clasen - - * gtk/gtkselection.c: Reduce the clipboard timeout from 300 - seconds to 30 seconds. (#155428, Billy Biggs) - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed): - * gtk/gtkbutton.c (gtk_button_setting_changed): Really free the - list. (#158422, Morten Welinder) - -2004-11-15 Matthias Clasen - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed) - * gtk/gtkbutton.c (gtk_button_screen_changed): Use - GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, - Morten Welinder) - -Mon Nov 15 17:17:17 2004 Manish Singh - - * configure.in: Output Makefile for the pixbuf engine directory. - - * gtk/gtk.symbols: Add gtk_button_{get,set}_image. - - * modules/engines/pixbuf/pixbuf-render.c: Replace usage of deprecated - functions. - - * modules/engines/pixbuf/pixbuf-draw.c: undef GDK_DISABLE_DEPRECATED - for gdk_draw_string (ick). - -2004-11-15 Matthias Clasen - - * gtk/gtkbutton.[hc]: Add a GtkButton::image property with setter - and getter, which allows to construct stock-like buttons with - custom images and/or text. (#62466, Jonathan Blandford, patch by - Matthias Clasen) - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_set_image): Add - some more docs. - -Mon Nov 15 14:25:21 2004 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_set_dirty): - Patch from Gavin Romig-Koch to no longer reset - the resized_width when marking a column dirty. - -2004-11-15 Matthias Clasen - - * modules/engines/Makefile.am (SUBDIRS): Add pixbuf. - - * gtk/gtkbutton.c: - * gtk/gtkimagemenuitem.c: Don't use one signal handler per - instance to track changes to the gtk-menu-images and - gtk-button-images settings. Instead use a single handler which - iterates over the widget hierarchy. (#143668) - - * gtk/gtktreemodel.c (gtk_tree_path_prev): Return FALSE if - depth is 0 (noticed by Tim Janik) - -2004-11-15 Erwann Chenede - - - * gtk/gtkfilesel.c: fix unselect in multiple selection (#156805) - -2004-11-15 Matthias Clasen - - * gtk/gtklabel.c: Include gtkdnd.h (#158243, Kazuki IWAMOTO) - -2004-11-13 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow - min == max. (#158225, Vasco Alexandre da Silva Costa) - -2004-11-12 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs. - - * gtk/gtkfilefilter.c (gtk_file_filter_filter): Fix typo in - docs. - - * gtk/gtklabel.c (gtk_label_do_popup): Adjust to the current - entry popup menu. - (gtk_label_button_press, gtk_label_button_release) - (gtk_label_drag_data_get): Implement DND for selectable labels. - - Make GDK+ compile with X11R5 (#148032) - - * gdk/x11/xsettings-client.c (xsettings_client_new): - * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only - use XInternAtoms if it is available. - - * gdk/x11/gdkasync.c: Include XIproto.h if necessary. - - * configure.in: Check for XInternAtoms and X headers needed for - xReply. - - * configure.in: Bump version. - - * === Released 2.5.5 === - - * gtk/gtkwindow.c (gtk_window_activate_key_after): Add parentheses - around comparison in operand of &. - - * gtk/gtkcalendar.c: Replace a non-ASCII character in a comment. - -2004-11-12 Matthias Clasen - - * tests/Makefile.am (pixbuf_threads_LDADD): Make pixbuf-threads - link. - - * NEWS: Updates - -2004-11-12 Matthias Clasen - - * tests/Makefile.am: Add pixbuf-threads - - * tests/pixbuf-threads.c: Test loading images in multiple - threads. - -2004-11-11 Matthias Clasen - - * configure.in: Check for uxtheme.h (#157967, J. Ali Harlow) - - * modules/engines/ms-windows/xp_theme.c: Use HAVE_UXTHEME_H - to protect the #include - - * docs/tools/Makefile.am: Don't try to build doc-shooter on - Windows. (#157979, J. Ali Harlow) - - * gtk/gtkfilefilter.c: Don't try to use xdgmime on - Windows where we don't build it. (#157944, J. Ali Harlow) - - * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Also - reserve space for the resize grip if the grip_window is not - realized yet. (#158010, Christian Persch) - (gtk_statusbar_button_press): Only start a resize if the - button press comes from the grip_window. (#158011, Christian Persch) - -2004-11-11 Tor Lillqvist - - Fix for #137551, by Robert Ögren: - - * gdk/win32/gdkevents-win32.c (generate_focus_event): New function. - - (gdk_keyboard_grab, gdk_keyboard_ungrab): Generate focus change - events. - - (gdk_event_translate): Check for keyboard grabs and not pointer - grabs when handling WM_{SET,KILL}FOCUS. Use generate_focus_event(). - -2004-11-11 Matthias Clasen - - * gtk/gtkuimanager.c (update_node): Remove two more places - where we were unconditionally setting "visible", causing - unnecessary notifications. - (update_node): Fix some C99isms. - - * gtk/gtkclipboard.c (gtk_clipboard_get_for_display): - (gtk_clipboard_get): Clarify the docs. (#156638, Torsten - Schoenfeld) - (gtk_clipboard_finalize): Warn if the clipboard is still in - its displays clipboard list. - - Considerably speed up GtkUIManager, by changing the semantics - of the dirty flag. It is now propagated up the tree, and - update_node() doesn't descend into clean subtrees. (#143668, - Dave Neary, Michael Natterer, Sven Neumann, fix proposed - by Soeren Sandmann) - - * gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend - a new node reference if the merge_id is different. Take a GNode, - so we can walk up the tree, adjust all callers. - (node_remove_ui_reference): Only mark a node dirty if the first - ui reference is removed. Take a GNode here as well for - consistency. - (update_node): Don't descend into clean subtrees. - (mark_node_dirty): New function to mark a node and its - predecessors dirty. - -Thu Nov 11 11:34:32 2004 Jonathan Blandford - - * gtk/gtkfilechooserbutton.c (update_idler): return FALSE instead - of TRUE. This is just a quick fix to prevent the idle from - looping indefinitely. - -2004-11-11 J. Ali Harlow - - * gdk/Makefile.am: - * gdk-pixbuf/Makefile.am: - * gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t' - escape sequence. (#157949) - -2004-11-10 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick): - Event timestamps don't have to be unique. As long as they are - nondecreasing we should be fine. Solves problems with for instance - long menus not staying up on first click. (#152035, Robert Ögren) - -2004-11-10 Matthias Clasen - - * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only - shorten the label if it actually overlaps the resize grip. - (gtk_statusbar_size_allocate): Handle extra children - by leaving room for the resize grip. (#157778, Christian Persch) - - * gdk/linux-fb/*: Fix many sparse warnings. (#157253, - Kjartan Maraas). - - * NEWS: Updates - -2004-11-09 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_real_change_value): Make - power a double. - (gtk_range_class_init): s/digits/decimal digits/ in doc - comment. - - * gtk/gtkfilechooserbutton.c (update_idler): Remove debugging - printfs. - - * gtk/gtkicontheme.[ch]: Improve the docs. (#157785, - Torsten Schoenfeld) - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry): Add - a hint about using gdk_drawable_get_size() instead. - - * gtk/gtk.symbols: Add new symbols. - - * gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Make - it work with *big* icon views. (#154466) - - * tests/testiconview.c: Add a real "Add many" button. - - * gtk/gtkaction.[hc]: - * gtk/gtkactiongroup.[hc]: Make return types G_CONST_RETURN - instead of const. - - * gtk/gtk.symbols: - * gtk/gtkaction.h: - * gtk/gtkaction.c (gtk_action_get_accel_path): Add - a function to obtain the accel path of an action. (#148106, - Michael Natterer) - - * tests/testiconview.c: Fix double-click activation. - - * gtk/gtkstatusbar.c (gtk_statusbar_init): Raise the grip - window when appropriate. - (gtk_statusbar_init): Instead of cutting the text off, make - ellipsize the label. - (gtk_statusbar_size_allocate): Don't let the label extend - under the resize grip. - - * gtk/gtkcombobox.c (find_menu_by_path) - (gtk_combo_box_menu_fill_level, gtk_combo_box_menu_row_inserted): - Use a row reference, not a path, to associate separators - with their tree row. - - * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): - Show the grip_window if necessary. - - * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only - clear the triangle below the grip to the background, - not the full area. - - * gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose): - Clip when drawing the cursor. This prevents bits of a - selectable label leaking out from underneath the resize - grip in a statusbar. (#73359) - - * gtk/gtkstatusbar.c: Apply a patch by Owen Taylor to - get reasonable allocations for the statusbar and its - children. (#73359) - - * tests/testgtk.c: Apply a patch by Soeren Sandmann to - test long statusbar texts. - - * gtk/gtk.symbols: Add new symbols. - - Avoid resizing GtkStatusbar if the text of the label - changes (#90955, He Qiangqiang, fix proposed by - Owen Taylor, patch by Christian Persch) - - * gtk/gtklabel.[hc]: Add a boolean single-line-mode property - which causes the label height not to depend on the actual - text, but only on the font. - - * gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on - single-line-mode for the label. - -2004-11-08 Matthias Clasen - - * gtk/gtkfilefilter.c (gtk_file_filter_filter): Use - xdg_mime_mime_type_subclass() to match mime types. This - also gives use wildcard matching. (#143760, #141224, - Tommi Komulainen, David A Knight) - - * gtk/gtkaction.c (_gtk_action_sync_menu_visible): Use - gtk_widget_{hide,show} instead of g_object_set (..."visible"...). - - * tests/testfilechooserbutton.c (main): Disable the SAVE - and CREATE_FOLDER modes. (#157675, Christian Persch) - - * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the - website button if the url is unset. (#157630, John Finlay) - - * gtk/gtkaboutdialog.[hc]: Change the return types of the - gchar ** getters to be more const correct. (#157566, Mariano - Suárez-Alvarez) - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_init): Add - uri targets before text targets, to make file dnd work - better. (#157651, Christian Persch) - - * gtk/gtktreedatalist.c: Support columns whose declared type is - an interface better, by treating them like G_TYPE_OBJECT if - the interface types requires G_TYPE_OBJECT. - -2004-11-08 Bastien Nocera - - * gtk/stock-icons/stock_media_play_rtl_16.png: - * gtk/stock-icons/stock_media_play_rtl_24.png: add the icons again - with the binary flag (Closes: #157665) - -2004-11-07 Matthias Clasen - - * gtk/gtkfilefilter.h: - * gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats): - New convenience function to add a filter for image files - which can be loaded by GdkPixbuf. (#145388, Anders Carlsson) - - * tests/testfilechooser.c: Test the image filter. - - * gtk/gtkmenu.c (menu_change_screen): Remove some warnings. - - Show files in folder modes. (#157013, Nickolay V. Shmyrev) - - * gtk/gtkfilechooserdefault.c (create_file_list): Use a selection - function to determine which rows can be selected. - (update_appearance): Always show files. Also queue a redraw. - (set_list_model): Always show files. - (list_select_func): The selection function used for the file list. - Don't allow to select files when in select/create folder mode. - (list_row_activated): Don't activate files in folder modes. - (list_icon_data_func, list_mtime_data_func, list_size_data_func): - Render files insensitive in folder modes. - -2004-11-06 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): - Don't support CREATE_FOLDER and SAVE for now. UI authorities - object to it. (#157384, Seth Nickell) - - * gtk/gtkfilechooserdefault.c (file_pane_create): Jump through - a few hoops to make the tooltip on the filter combo box work - a bit better. This fixes #157273 and #157074. - - * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): - Add the ComboCellInfo to the list. (#157528, Carlos Garnacho - Parro) - -2004-11-05 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_button_state_changed): - Remove this unneeded function, as it breaks state propagation. - - * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate): - Queue the resize before setting the tearoff state, to - make sure the torn-off menu picks up the size increase due - to the arrow in the torn off menu item. (#157286, Adam - Hooper, fix proposed by Owen Taylor) - - * gtk/gtkmenu.c (menu_change_screen): Don't unnecessarily - call gtk_menu_position(), since that function has issues - when called on a menu whose parent is unrealized. (#157354, - Adam Hooper) - - * gtk/gtkmain.c: Document new functions. - -2004-11-04 Matthias Clasen - - * gtk/stock-icons/Makefile.am: Typo fix. - - * gtk/gtkaboutdialog.c: Documentation updates. - -2004-11-04 Bastien Nocera - - * gtk/gtkiconfactory.c: (get_default_icons): Make sure the RTL - variants are used for media icons - * gtk/stock-icons/Makefile.am: update following the addition of - the 2 Play icon RTL variants - * gtk/stock-icons/stock_media_play_rtl_16.png: added - * gtk/stock-icons/stock_media_play_rtl_24.png: added - -2004-11-03 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): - Don't leak the path. (#157301, Carlos Garnacho Parro) - - * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the - case that the protocol version in the context is not - set yet. (#157123, James Henstridge) - - * gtk/gtktreeview.c (gtk_tree_view_search_activate): Don't - try to activate a node if the cursor is not valid. - -2004-11-03 James M. Cape - - * gtk/gtkfilechooserbutton.c (update_dialog), (dialog_response_cb): - Don't mysteriously go to the parent dir when hitting "Cancel" in - folder mode (fixes #156971). - -2004-11-03 Matthias Clasen - - * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Don't - access label->layout directly. (#157080, Adam Hooper) - - * gtk/gtklabel.c (gtk_label_set_pattern_internal): Allow - unsetting a pattern by passing NULL. (#156720, Tristan Van Berkom) - - * gtk/gtkcombobox.c (gtk_combo_box_get_active): Don't crash - if the active_row reference has become invalid. (#157156, - Christophe Fergeau) - -2004-11-02 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_activate_key_after): As - a last stage in GtkWindow key press handing, try adding - window->mnemonic_modifier to event->state and see if it - matches a mnemonic. (#53709, based on a patch by - Pasupathi Duraisamy, patch by Owen Taylor) - - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): - Doc additions. - - * gtk/gtkfilechooserbutton.h: Fix trigraphs in private markers. - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init): - Fix a doc comment. - -2004-11-01 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Remove a debug printf(). (#157087, Christian Persch) - - * gtk/gtkicontheme.c: Actually commit the "stat less" patch - which appeared in the ChangeLog a few days ago. - - * gtk/gtkfilechooserbutton.c: Move some docs inline. - - * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update. - - * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the - iter. (#156924, Murray Cumming) - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on - broken ClientMessage events. (#157056, Owen Taylor) - - * gtk/gtkactiongroup.c (gtk_action_group_get_visible): Fix a typo in - the docs. (#157044, Masao Mutoh) - -2004-10-31 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Update the - state of the cell view when the state of the button changes (to - get prelighted drawing right). (#138650, Frances Keenan, - Christian Persch) - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Don't force the height of the action area, we don't scroll - it anyway, and the current way of calculating the height can lead - to broken display. (#156573, Christian Persch) - - * tests/testentrycompletion.c (animation_timer): Don't try to - remove stuff from an empty model. (#156575, Christian Persch) - - * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): - Update doc comments. - -2004-10-31 Tor Lillqvist - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkmain-win32.c: Remove _windows_version and the - IS_WIN_NT() macro. - - * gdk/win32/*.c: Use G_WIN32_IS_NT_BASED() from GLib instead. - -2004-10-31 Matthias Clasen - - Add api for image transfer via copy-and-paste (#156408) - - * gtk/gtkclipboard.c (gtk_clipboard_set_image) - (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) - (gtk_clipboard_wait_is_image_available): New functions for image - transfer. - - * gtk/gtkselection.h: - * gtk/gtkselection.c (gtk_selection_data_targets_include_image): - New function, similar to gtk_selection_data_targets_include_text(). - - * gtk/gtkprogressbar.[hc]: Add an ellipsize property with - getter and setter. (#156845, Morten Welinder) - -2004-10-29 Robert Ögren - - * gdk/win32/gdkwindow-win32.c (gdk_window_begin_resize_drag), - (gdk_window_begin_move_drag): Implement these on win32, currently - only for button 1. Fixes the resize grip of GtkStatusbar on - win32. (#143285) - -2004-10-30 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_btree_select_range): Redisplay - the new selection. - - * gtk/gtktextview.c (gtk_text_view_select_all): Use - gtk_text_buffer_select_range(). - - * tests/testtext.c: Add a "Select All" menuitem. (#156792, - Paolo Borelli) - - * gtk/gtkicontheme.c (insert_theme): Sort the dir_mtimes - list in the same way as the search path. - (theme_subdir_load): Avoid stat()ing subdirs if the theme - directory doesn't exist. (#156866) - -2004-10-29 Matthias Clasen - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize): - Drop the reference to the pixbuf, regardless whether it is - a stock pixbuf. (#156863, Philip Langdale) - -2004-10-29 Hans Breuer - - * gdk/makefile.msc gtk/makefile.msc.in : updated - - * gdk/win32/gdkdisplay-win32.c : dummy implementations for - gdk_display_supports_clipboard_persistence, gdk_display_store_clipboard - - * gtk/gtkmodules.c : #include "gtkprivate.h" for GTK_LIBDIR - -2004-10-29 Matthias Clasen - - * gtk/gtkclipboard.c (gtk_clipboard_set_text): Don't hardwire - the supported text targets here, use - gtk_target_list_add_text_targets(). (#156404) - - * gtk/gtkliststore.c (gtk_list_store_reorder): Don't - loop over the sentinel node. (#156298, Torsten Schoenfeld) - -2004-10-28 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use - g_signal_connect_object() to prevent premature finalization - of the cell_editable while the key_press_event signal is - handled. (#156325, Olivier Andrieu) - - * *: Clean up many sparse warnings. (#156698, Kjartan Maraas) - - * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect - from the remove-widget signal after removing the signal. - - * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy - the dialog with the parent. (#156557, Paolo Borelli) - -2004-10-27 Matthias Clasen - - * Bump version - - * === Released 2.5.4 === - - * Makefile.am (EXTRA_DIST): Remove po/makefile.mingw - -2004-10-28 Anders Carlsson - - * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store): - * gtk/gtkclipboard.h: - Make targets const. - -2004-10-27 Matthias Clasen - - * gtk/Makefile.am (gtkalias.h): - * gdk/Makefile.am (gdkalias.h): Fix srcdir != builddir build. - (#156547, Thomas Fitzsimmons) - - * NEWS: Updates. - - * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently - ignore non-CLIPBOARD clipboards. (#156610, Christian Persch) - - * gtk/gtksettings.c: Make it build on windows. (#156618, - Kazuki IWAMOTO) - -2004-10-26 Matthias Clasen - - * gtk/gtkimcontextsimple.c (check_hex): Stop preediting if strtoul - couldn't parse the complete preedit string. (#156434) - - * gtk/gtkmessagedialog.c: - * gtk/gtkfilechooserbutton.c: Add missing includes. (#156503, - Kazuki IWAMOTO) - - * gtk/gtkimage.h: - * gtk/gtkimage.c (gtk_image_get_icon_name): Make the icon_name - parameter G_CONST_RETURN. - - * gtk/gtkimage.c: It is enough to listen for screen changes and - style-set to catch all icon theme changes. - (gtk_image_set_property): Reset the image size if the pixel size - property is changed. - - * gtk/gtk.symbols: Add new symbols. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_store_clipboard): Fix the - doc comment. - -2004-10-26 Anders Carlsson - - * gtk/gtktextbuffer.c: (gtk_text_buffer_finalize), - (create_clipboard_contents_buffer), (clipboard_get_contents_cb), - (clipboard_clear_contents_cb), (cut_or_copy): - Rewrite clipboard handling so that the clipboard contents - won't be freed when the text buffer is finalized. Also add - clipboard manager support. Fixes #95496. - -2004-10-25 Anders Carlsson - - * gtk/gtkentry.c: (gtk_entry_completion_timeout): - * gtk/gtkentrycompletion.c: (gtk_entry_completion_set_model), - (gtk_entry_completion_get_model), (gtk_entry_completion_complete): - Really handle a NULL model, fixes #137211 for real. - - * gtk/gtkfilechooserentry.c: - (gtk_file_chooser_entry_maybe_update_directory): - Remove _clear, #137211 is fixed. - - * tests/testentrycompletion.c: (main): - Add completion with an empty model. - -2004-10-25 Carlos Garnacho Parro - - Fix for #118764, David Bordoley: - - * gtk/gtkmessagedialog.[ch] - (gtk_message_dialog_format_secondary_text), - (gtk_message_dialog_format_secondary_format): API additions to - create HIG-like dialogs - - * demos/gtk-demo/dialog.c: Use the new API in the example - - * docs/reference/gtk/gtk-sections.txt: - * docs/reference/gtk/tmpl/gtkmessagedialog.sgml: documented API - additions - -2004-10-25 James M. Cape - - Rework of GtkFileChooserButton, some cleanups. Fixes #154388, - #154390, #154390, #156272. - - * docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton - below GtkFileChooser. - * docs/reference/gtk/gtk-sections.txt: Added - gtk_file_chooser_button_get_width_chars(), - gtk_file_chooser_button_set_width_chars(), - gtk_label_set_width_chars(), gtk_label_get_width_chars(). - * docs/reference/gtk/gtk.types: Added - gtk_cell_renderer_combo_get_type, - gtk_cell_view_get_type, - gtk_text_iter_get_type. - * docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add - "logo-icon-name" property. - * docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for properties - (b/c of get_type() inclusion above). - * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: - * docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars" property, - getters/setters. - * docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added. - * gtk/gtkentrycompletion.c: - (_gtk_entry_completion_popdown): Don't show if the entry isn't - mapped. - * gtk/gtkfilechooserbutton.[c,h]: (*): About 45% - rewritten, adds "width-chars" property, icons, working save modes, - volume/Home/Desktop friendly-naming support. - * gtk/gtklabel.[c,h]: - (gtk_label_class_init), (gtk_label_init), - (gtk_label_get_property), (gtk_label_set_property), - (gtk_label_get_width_chars), (gtk_label_set_width_chars), - (gtk_label_size_request): Add "width-chars" property. - * tests/testfilechooserbutton.c: Update, use 4 different buttons for - the different ACTIONs. - * gtk/.cvsignore: Ignore gtk-update-icon-cache. - * tests/.cvsignore: Ignore testimage. - -2004-10-25 Matthias Clasen - - * gtk/gtkcellrenderercombo.c (find_text): Don't leak text. (#156325, - Olivier Andrieu) - -2004-10-25 Anders Carlsson - - * gdk/gdk.symbols: - * gdk/gdkdisplay.h: - * gdk/x11/gdkdisplay-x11.c: - (gdk_display_supports_clipboard_persistence), - (gdk_display_store_clipboard): - New API to handle the clipboard manager. - - * gtk/gtk.symbols: - * gtk/gtkclipboard.c: (gtk_clipboard_class_init), - (gtk_clipboard_finalize), (selection_clear_event_cb), - (clipboard_unset), (gtk_clipboard_set_text), - (gtk_clipboard_request_targets), (gtk_clipboard_wait_for_targets), - (clipboard_peek), (gtk_clipboard_owner_change), - (gtk_clipboard_wait_is_target_available), - (gtk_clipboard_store_timeout), (gtk_clipboard_set_can_store), - (gtk_clipboard_selection_notify), (gtk_clipboard_store), - (_gtk_clipboard_store_all): - * gtk/gtkclipboard.h: - Add API for clipboard persistence and implement it, also add - gtk_clipboard_wait_is_target_available. - - * gtk/gtkmain.c: (gtk_main): - Call _gtk_clipboard_store_all before exiting. - -2004-10-25 Matthias Clasen - - * gtk/gtkaboutdialog.h: - * gtk/gtkaboutdialog.c (gtk_about_dialog_set_logo_icon_name) - (gtk_about_dialog_get_logo_icon_name): Support named icons as - logos. (#156378, James Henstridge) - - * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the - doc formatting. - - * gtk/gtkcellview.[hc]: Make function parameter names consistent. - - * tests/Makefile.am (noinst_PROGRAMS): Add testimage. - - * tests/testicontheme.c (main): Use gtk_image_new_from_icon_name(). - -2004-10-25 Matthias Clasen - - Add a public setting for button ordering (#74669, Owen Taylor) - - * gtk/gtksettings.c (gtk_settings_class_init): Add a - gtk-alternative-button-order setting. - - * gtk/gtkdialog.h: - * gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A - getter for the alternative button order setting. - * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): - New function to install an alternative button order for a - dialog. - - * gtk/gtkfilesel.c (gtk_file_selection_init): - * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): - * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): - * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): - * gtk/gtkfilechooserdefault.c (location_popup_handler): - Set up an alternative button order. - -2004-10-25 Matthias Clasen - - * gtk/gtkimage.h: - * gtk/gtkimage.c (gtk_image_new_from_icon_name) - (gtk_image_set_from_icon_name, gtk_image_get_icon_name) - (gtk_image_set_pixel_size, gtk_image_get_pixel_size): Add a - new type GTK_IMAGE_ICON_NAME for named icons, update the size - and content of stock, icon set and named icon images upon style - changes, and allow to set a fixed pixel size for named icon - images. (#155688, James Henstridge) - - * tests/testimage.c: Test application for theming behaviour of - different image types and for image dnd. - -2004-10-24 Matthias Clasen - - * gtk/gtkcellrenderercombo.c: Use G_DEFINE_TYPE, initialize the - has_entry property, ref the model and add a finalizer. (#156325, - Olivier Andrieu) - -Sun Oct 24 02:56:43 2004 Jonathan Blandford - - * docs/tools/widgets.c: Update GtkFileChooserButton doc shot. - -2004-10-24 Matthias Clasen - - * gtk/gtkicontheme.c: Use the new g_key_file api in GLib. - - * gtk/Makefile.am (gtk_c_sources): Remove gtkiconthemeparser.[hc] - - * gtk/gtkiconthemeparser.[hc]: Removed. - - * gtk/gtkfilechooserdefault.c (location_popup_handler): If the - location dialog is brought up by typing '/', insert the slash - in the entry. (#155370, Warren Togami) - -2004-10-23 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (tree_view_keybinding_cb) - (trap_activate_cb): Accept shift-/ for bringing up the location - popup, since German and French keyboards generate such - events. (#154163, Frederic Crozat) - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Invalidate - the window if the tree is empty, to avoid resizing artifacts - from the focus rectangle. (#155881, Vincent Noel, patch by - Billy Biggs) - -Sat Oct 23 16:14:37 2004 Søren Sandmann - - * gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove - assertion that can get triggered by broken sort functions. - -Sat Oct 23 16:07:46 2004 Søren Sandmann - - * gtk/gtksequence.c (_gtk_sequence_swap): Replace broken, overly - clever implementation with one that works. - - * gtk/gtkliststore.c (gtk_list_store_swap): emit "rows_reordered" - instead of "changed" twice. - - Bug 153479 - -Sat Oct 23 15:17:55 2004 Søren Sandmann - - * gtk/gtkmenutoolbutton.c (button_state_changed_cb): Remove check - for previous state being ACTIVE. Bug 153876. - -2004-10-22 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_drag_data_received) - (gtk_file_chooser_button_init): Use the new file DND api. - - * gtk/gtkdnd.h: - * gtk/gtkdnd.c (gtk_drag_dest_add_uri_targets) - (gtk_drag_source_add_uri_targets): - - * gtk/gtkselection.h: - * gtk/gtkselection.c (gtk_target_list_add_uri_targets): - (gtk_selection_data_set_uris): - (gtk_selection_data_get_uris): New functions to allow - handling file DND "without knowing jack shit". - - * configure.in: Bump glib requirement to 2.5.4. - - * gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Use - g_uri_list_extract_uris(). - -Fri Oct 22 13:25:25 2004 Owen Taylor - - * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Fix - backspacing on the empty last line of a buffer - (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136840, - Dan Williams) - -2004-10-22 Matthias Clasen - - * gtk/gtkdnd.c: Document how to use info with text/image - targets. - - * gtk/gtkselection.h: - * gtk/gtkselection.c (gtk_target_list_add_text_targets): - (gtk_target_list_add_image_targets): Add info argument. - - * gtk/gtkcalendar.c (gtk_calendar_motion_notify): - * gtk/gtkentry.c (gtk_entry_init): - * gtk/gtktextview.c (gtk_text_view_init): Adjust all callers. - -2004-10-22 Anders Carlsson - - * gtk/gtktexttag.c: (gtk_text_tag_get_property): - GdkBitmap is a GObject, not a boxed type. - -Thu Oct 21 15:01:09 2004 Owen Taylor - - #155952 - - * gtk/gtkentry.c: Fix checking the wrong position for - the backspace_deletes_character PangoLogAttr. - - * gtk/gtktextbuffer.[ch] gtk/gtk.symbols (gtk_text_buffer_backspace): - Move backspace logic from GtkTextView to here, check - backspace_deletes_char. - - * gtk/gtktextview.c: Use gtk_text_buffer_backspace(). - -2004-10-21 Matthias Clasen - - * gtk/gtkiconcache.c: Include io.h on windows. (#156075, - Kazuki IWAMOTO) - (_gtk_icon_cache_new_for_path): Don't use MAP_FAILED if we don't - have mmap. - - * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Implement for - cached themes. - - * gtk/gtkiconcache.h: - * gtk/gtkiconcache.c (_gtk_icon_cache_has_icon): New function. - - * gtk/updateiconcache.c (scan_directory): Don't skip .icon - files which are listed before their images. - (foreach_remove_func): Instead filter lonely .icon files out - here. - - * gtk/gtkicontheme.c (theme_dir_get_icon_suffix): Filter out - the HAS_ICON_FILE flag. - -2004-10-21 Matthias Clasen - - * gtk/gtkiconcache.c: Make it compile without mmap() and - add some more checks. (#155973, Morten Welinder) - - Add convenience api for image dnd (#150165): - - * gtk/gtkselection.h: - * gtk/gtkselection.c (gtk_target_list_add_image_targets) - (gtk_selection_data_set_pixbuf, gtk_selection_data_get_pixbuf): - New functions to handle the image formats readable/writable - by gdk-pixbuf. - - * gtk/gtkdnd.h: - * gtk/gtkdnd.c (gtk_drag_dest_add_image_targets) - (gtk_drag_source_add_text_targets): New functions to handle - the image formats readable/writable by gdk-pixbuf. - -2004-10-20 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make - the code clearer. (#155239, Murray Cumming) - - * gtk/gtkicontheme.c: Small fixes. - - * gtk/gtkrc.c: Include gtkmodules.h. (#155885, Kazuki IWAMOTO) - - * gtk/gtktoolbar.h: Add _gtk_toolbar_rebuild_menu(). (#155885) - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - Fix a wrong blurb. (#155838, Morten Welinder) - -2004-10-19 Matthias Clasen - - Implement icon theme caching. (#154034, Martijn Vernooij, - caching schema proposed by Owen Taylor, initial implementation - by Anders Carlsson) - - * gtk/gtkdebug.h: - * gtk/gtkmain.c: Add a "icontheme" debug flag. - - * gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c - (gtk_private_h_sources): Add gtkiconcache.h - (bin_PROGRAMS): Add gtk-update-icon-cache - - * gtk/gtkicontheme.c: Use icon caches if they are available. - Currently, GTK+ uses the cache to get information about the - available sizes, image file formats and .icon files. The - actual image data, and the .icon file contents are not - cached yet. - - * gtk/updateiconcache.c: A cmdline utility for generating - icon cache files. - - * gtk/gtkiconcache.h: - * gtk/gtkiconcache.c: The glue code to mmap an icon cache - file and manage the information it contains. - - * tests/testicontheme.c: Add a "display" option. - -2004-10-19 Matthias Clasen - - * tests/testicontheme.c: Set the locale, tidy up output. - -2004-10-18 Matthias Clasen - - Fix #155658, Sebastien Bacher: - - * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new - is_leader flag. - - * gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on - leader windows even if they are withdrawn. - (gdk_window_set_group): Mark the new leader window as such. We - never remove the flag again, but that should a) be vanishingly - rare and b) not a problem, since the flag just turns off an - optimization. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default - leader window as such. - -2004-10-17 Matthias Clasen - - * gtk/gtkaboutdialog.c (gtk_about_dialog_new): Destroy secondary - dialogs if the main dialog is hidden. (#155084, Paolo Borelli) - -2004-10-16 Matthias Clasen - - * gtk/gtkaboutdialog.c (gtk_about_dialog_destroy): Don't leak - the secondary dialogs. (#155084, Paolo Borelli) - - * gtk/gtkhsv.c (gtk_hsv_expose): Fix redraw issues with the - focus on the ring. - -2004-10-15 Matthias Clasen - - * gdk/makegdkalias.pl: Include linux-fb/gdkfb.h when building - the framebuffer backend. (#155486, Olexiy Avramchenko) - -2004-10-15 Matthias Clasen - - * gtk/gtksizegroup.c (do_size_request): Unset GTK_REQUEST_NEEDED - before emitting ::size-request, following this weeks discussion - on gtk-devel-list@gnome.org. - - * gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore - the size info for the current row after measuring another - row. (#154945, William Jon McCann) - -2004-10-14 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't - get text unnecessarily. (#155384, Morten Welinder) - (gtk_file_chooser_default_finalize): Don't forget to - unref the tooltips. (#155412, Morten Welinder) - (shortcuts_add_current_folder): Don't leak volume. (#155400, - Morten Welinder) - -2004-10-12 Matthias Clasen - - * gtk/gtkcontainer.c (_gtk_container_queue_resize): Acknowledge - the fact that invariants are broken and loop all the way up to - the resize container. - -Tue Oct 12 17:11:02 2004 - - * gtk/gtkwidget.c (gtk_widget_set_usize_internal): don't queue the - widget for resize or emit change notification if the usize didn't - change. this works around a buggy signal connection in #155139. - -2004-10-11 Matthias Clasen - - * docs/tools/widgets.c: Create scrolledwindow, statusbar, - scale and image images. - -2004-10-10 Matthias Clasen - - * docs/tools/widgets.c: Create a toolbar, menubar, progressbar, - notebook and messagedialog images. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_all): - Avoid a warning. - -Sun Oct 10 11:24:56 2004 Jonathan Blandford - - * gtk/gtkcontainer.h (struct _GtkContainer): add /*< private >*/ - markings. - -2004-10-09 Matthias Clasen - - * docs/tools/widgets.c: Shrink panes and separators images to MEDIUM. - - * gtk/gtkcellview.c: Add docs. - - * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_get_menu): Fix - doc comment. - - * gtk/gtkactiongroup.h: - * gtk/gtkactiongroup.c: Reinstate the accidentally lost addition - of gtk_action_group_translate_string(). - - * gtk/gtkaccelgroup.h: Declare gtk_accelerator_get_label. - -2004-10-08 Matthias Clasen - - * gdk/x11/gdkx.h: Declare gdk_x11_window_set_user_time here. - - * gtk/gtktreeview.c (gtk_tree_view_grab_notify): Don't start a - drag if we loose the grab. - - * gtk/gtkfilechooserdefault.c (renderer_edited_cb): Set the cell - renderer to inert mode to avoid bug #154921. This fixes a crash - which would otherwise occur if the editing is stopped for the second - time. (#154767, Manuel Baena García) - - * gtk/gtkdebug.h: - * gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug - flag, geometry, to debug size allocation. - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data - unconditionally. (#152562, Federico Mena Quintero) - -2004-10-08 Matthias Clasen - - * gtk/gtkuimanager.c (update_node): Also update smart separators - if the visibility of a menuitem with a submenu changes. (#153791, - Christian Persch) - -2004-10-08 Matthias Clasen - - * gtk/gtkentry.h: - * gtk/gtkentry.c: - * gtk/gtkentrycompletion.c: - * gtk/gtkspinbutton.c: Share the three copies of get_borders() - under the name _gtk_entry_get_borders(). (#116368, Owen Taylor) - -2004-10-07 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (check_is_folder): Don't free - info too early. (#154703, Morten Welinder) - - * gtk/gtkfilechooserdefault.c: Include gtkeventbox.h. - (#154798, Morten Welinder) - -2004-10-06 Matthias Clasen - - * gtk/gtkpaned.c (gtk_paned_compute_position): Reduce rounding - error. (#154658, John Cupitt) - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Clear - the iter instead of returning it unmodified. (#154186, Jonathan Blandford) - - * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up - the completions again after tab. (#147700, Jens Bech Madsen) - - * gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor - before changing the selection to make the file chooser preview - update work better. (#143826, Tommi Komulainen) - -2004-10-06 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_real_change_value): Replace a really - gross way of rounding to a specified number of digits. (#145232, - Peter Zelezny, patch by Soeren Sandmann) - -Wed Oct 6 00:45:04 2004 - - * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window - variable, not just the window passed in. fixes #145270. - -Tue Oct 5 21:00:54 2004 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change - and applied owen's leaner conditional flag update which should be good - enough to preserve resizing flag invariants. - -2004-10-05 Matthias Clasen - - * NEWS: Updates - -Tue Oct 5 19:29:06 2004 Tim Janik - - * gtk/gtkentry.h: removed redundant gtk_entry_get_layout() decl. - -2004-10-05 Matthias Clasen - - * gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): Go back to - not scaling up at all. Less magic. - -Tue Oct 5 17:06:26 2004 Tim Janik - - * gtk/gtkwidget.c (gtk_widget_size_allocate): if REQUEST_NEEDED is still - set on ::size-allocate, another size-request has been queued since - ::size-request and needs to be requeued. - -2004-10-05 Paolo Borelli - - * gtk/gtkmenutoolbutton.c: rename the activate-menu signal to - show-menu as discussed in bug #153873. - -2004-10-05 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set - action_name. (#154526, John Finlay) - - * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display): - Return a new reference to an existing GdkWindow if one already - exists. (#151378, Gustavo Carneiro) - -2004-10-05 Matthias Clasen - - Provide access to the string representation of accelerators used - in GtkAccelLabel. (#154068, John Spray) - - * gtk/gtkaccelgroup.h: - * gtk/gtkaccelgroup.c (gtk_accelerator_get_label): New function - to return the accelerator label used in GtkAccelLabel. - (gtk_accelerator_name): Update docs to point to - gtk_accelerator_get_label(). - * gtk/gtkaccellabel.h: - * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): - New auxiliary function which creates the string representing the - accelerator. - -2004-10-05 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): Resize the - popup if a new model is set. (#154129, Bernd Demian) - -2004-10-04 Matthias Clasen - - * gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): - Make the code work as intended for unthemed icons; don't scale - them up too much. Allow to scale them down, and do so - exactly. (#154142, Ross Burton) - (gtk_icon_info_load_icon): Amend docs. - - * gtk/gtkcelllayout.c (gtk_cell_layout_clear): Improve - docs. (#154504, Dave Cook) - - * gtk/gtkwindow.c (gtk_window_set_icon_list): - (gtk_window_set_default_icon_list): Ref the new icons - before unreffing the old ones. (#154468, Morten Welinder) - (gtk_window_realize_icon): Only set using_themed_icon if - we actually got an icon list from the theme. (#154472, Morten - Welinder) - -2004-10-03 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_set_model): Reset pointers - pointing to the old model. (#154350) - - * gtk/gtkwindow.c (icon_list_from_theme): Don't leak the - sizes array. (#154310, Christian Persch) - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_setup_sort_column_id_callback): - Set sort_indicator to FALSE when appropriate. (#153714, - Reinout van Schouwen) - - * gtk/gtktreeview.c (gtk_tree_view_search_position_func): - Fix positioning near the monitor boundaries. (#154341, - Ken Harris) - -2004-10-01 Paolo Borelli - - * gtk/gtkmenutoolbutton.c: deactivate the menu before setting it - to something else. Bug #153887. - -2004-10-01 Matthias Clasen - - Fix bug #150790: - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): Fix the - calculation of x_offset when ellipsized and in RTL mode. - (gtk_cell_renderer_text_render): Fix the calculation of the layout - width when ellipsized. - -2004-10-01 Tor Lillqvist - - * gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to - FALSE, thus enabling tablet input by default. - - * gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the - --use-wintab option again (but without effect, as this is now the - default, see above). (#153788) - - * modules/input/gtkimcontextime.c: Numerous changes. - - Remove the ifdef UNICODE conditionals. Always use the - wide-character Imm* API. It is present also in Windows 98 and - Me. (Not Windows 95, but I think we don't care about that.) Using - the multibyte API wouldn't work anyway on systems where the system - codepage doesn't support the language the user uses an IME for, so - for instance I wouldn't be able to test this module on my English - Windows 2000 although I do have C, J and K IMEs available. - - Guard against IMM not being active, always check ImmGetContext() - returning NULL. Work to some extent even without any IME. Fixes - #153800 at least partially. - - * modules/input/imime.c (ime_info): Rename to "ime" to match the - naming pattern of other input modules. Make it default for - ja:ko:zh only. - -2004-10-01 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding - cell renderers to the docs. - - * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes): - Silently ignore info being NULL. This is unavoidable with the - current design where we have every implementation of layout_clear - call layout_clear_attributes, and also delegate calls to dependent - cell layouts. (#154191, Martyn Russell) - -2004-10-01 Matthias Clasen - - * modules/input/iminuktitut.c: Fix the spelling of Inuktitut - in several places. (#154176, John Austin) - -2004-09-30 Paolo Borelli - - * tests/testellipsize.c: exit on close. - -2004-09-29 Matthias Clasen - - * gtk/gtkmain.c: Make --g-fatal-warnings a G_OPTION_ARG_NONE, - since it doesn't take an argument. - -2004-09-29 Christopher Blizzard - - * gtk/gtkmenutoolbutton.h: Remove trailing semicolon on - G_END_DECLS - -2004-09-29 Paolo Borelli - - * tests/testtoolbar.c: add a GtkMenuToolButton. - -2004-09-29 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right) - (gtk_icon_view_move_cursor_start_end) - (gtk_icon_view_move_cursor_page_up_down) - (gtk_icon_view_move_cursor_up_down): Handle an empty icon - view gracefully. (#152486) - - Allow keynav to selectable labels (#138085, David Hawthorne): - - * gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when - looking for the initial focus widget. - - * gtk/gtklabel.c (gtk_label_focus): Remove to put selectable labels - in the regular focus chain again. - -2004-09-28 Matthias Clasen - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Don't - reuse insensitive pixbufs across multiple rows. (#153984, Milosz - Derezynski) - - * gtk/gtkmain.c (gtk_parse_args): Use gtk_get_option_group() - to obtain an option group with correctly set pre- and post- - parse hooks, instead of manually calling the hooks. This fixes - a problem with setting the program class in the gdk preparse - hook. (#153788, Robert Ögren) - -2004-09-27 Matthias Clasen - - Fix #153082: - - * gtk/gtkmain.c (do_pre_parse_initialization): Don't call gdk_parse_args() - here, we don't want to parse args twice. - (gtk_init_with_args): Add the ugid check here as well. - (gtk_parse_args): Add the gdk options to the main option group as well. - -2004-09-27 Paolo Borelli - - * gtk/Makefile.am: - * gtk/gtk.h: - * gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget - discussed in bug #151441. - - * docs/reference/gtk/gtk-docs.sgml: - * docs/reference/gtk/gtk-sections.txt: - * docs/reference/gtk/gtk.types: - * docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the - new widget. - -2004-09-27 Matthias Clasen - - * gtk/gtkfilesystemunix.c (gtk_file_folder_unix_list_children): - Emit ::finished-loading. - -2004-09-27 Roozbeh Pournader - - * configure.in: Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS. - -2004-09-27 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_append_column): Fix typo in - docs. (#153811, Billy Biggs) - - * gtk/gtkpathbar.h (struct _GtkPathBar): Only need a bit for - need_timer. - -2004-09-26 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_class_init): Add a missing _ - to the name of the has_secondary_backward_stepper property. - Noticed by Michèle Garoche. - -Sun Sep 26 02:06:43 2004 Jonathan Blandford - - * gtk/gtkpathbar.h (struct _GtkPathBar): add missing structures. - -2004-09-26 Matthias Clasen - - * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll - to make the current folder visible. (#152921) - - * gtk/gtkbutton.c: Revert the button state to !button_down, - if we're missing the release event due to grab shadowing - or insensitivation. - - * gtk/gtkpathbar.c: Make the slider buttons scroll. - - * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Remove - debug spew. - (bookmarks_check_remove_sensitivity): Don't free an uninitialized - pointer. - - * gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): - cursor_pos is in characters, not bytes. (#153332, Owen Taylor) - -2004-09-25 Robert Ögren - - * gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set - lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, - a further fix for bug #145467. - -2004-09-25 Matthias Clasen - - * gtk/gtktextiter.c (inside_word_func): Don't access - attr[-1]. (#153628, Padraig O'Briain) - -2004-09-23 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Add some tooltips. - -2004-09-22 Matthias Clasen - - * gtk/gtkrange.c (gtk_range_map, gtk_range_unmap): - * gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove - unnecessary g_return_if_fail()s from virtual functions. (#153469, - (Tristan Van Berkom) - - * gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak - cursors. (#153468, Christian Persch) - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text. - (#153467, Christian Persch) - - * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use - bitops on booleans. - (gtk_file_chooser_default_should_respond): Make it easier to - select folders in SELECT_FOLDER mode. - -Wed Sep 22 00:54:34 2004 Matthias Clasen - - * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame - pixbuf. - -Tue Sep 21 16:55:38 2004 Manish Singh - - * tests/testtreemodel.c: #include for HAVE_MALLINFO define, - other minor cleanups. - -Tue Sep 21 16:27:19 2004 Manish Singh - - * gdk/gdk.c: remove now unused arg variables. - - * gdk/gdkinternals.h: declare _gdk_windowing_init (). - - * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args () - here instead of gdk_pre_parse_libgtk_only (). Should fix #153082. - -2004-09-21 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond): - Don't assert that current_focus != NULL, just return FALSE. - - * gtk/gtkpathbar.c (gtk_path_bar_size_request): Give the path - bar arrows some more space. - - * configure.in: Check for mallinfo. - - * tests/testtreemodel.c: Only include malloc.h if HAVE_MALLINFO - is defined. (#153168, Darren Creutz) - - * gtk/gtkactiongroup.c: Fix typos in signal docs. (#153224, - John Finlay) - -Mon Sep 20 19:44:58 2004 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't - return FALSE from a void function. (#153185, Joel Fredrikson) - -2004-09-20 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_class_init): Add a boolean ::displace-focus - style property and apply child displacement to the focus rectangle - if it is TRUE. (#141170, Soeren Sandmann) - -Sun Sep 19 23:56:18 2004 Søren Sandmann - - * gtk/gtkmenu.c (MENU_SCROLL_TIMEOUT2): Change from 50 to 20 to - make the menus scroll faster. - -2004-09-19 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.5.3 === - -2004-09-18 Matthias Clasen - - Make GtkFileChooserButton activatable via mnemonics. - (#152925, Dennis Cranston, patch by James M. Cape) - - * gtk/gtkfilechooserbutton.c: Add a ::mnemonic-activate signal - and a suitable default handler. - - * tests/testfilechooserbutton.c: Add a mnemonic. - -2004-09-18 Matthias Clasen - - Fix win32 build errors. (#153032, #153028, Robert Ögren) - - * gdk/win32/gdkmain-win32.c: Make it compile. - - * gtk/gtkmain.c: Include glib.h. - -2004-09-18 Federico Mena Quintero - - Merged from 2.4: - - * gtk/gtkfilesystem.h: Removed the GTK_FILE_PATH() and - GTK_IS_FILE_PATH() macros. They are not supposed to exist, as - GtkFilePath is not an object. And they never worked, anyway. - -2004-09-18 Marco Pesenti Gritti - - * gtk/gtkentry.c: (gtk_entry_completion_key_press): - - Make numeric pad enter activate the selected completion - entry. Fix bug 143486 reported by Edd Dumbill. - -2004-09-17 Matthias Clasen - - * NEWS: Updates - - * gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected - row. (#143868, Christian Persch) - -2004-09-17 Matthias Clasen - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove - leftover debug code. - - Improve the behaviour of the file chooser in save mode. Fixes bugs - #151031, #151608, #151994 reported by Owen Taylor and Alexander - Larsson. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): - (location_entry_create): Propagate the action to the file - chooser entries. - (gtk_file_chooser_default_should_respond): Switch folders if - the user enters a directory name in the entry and clear the entry - after switching folders. - (gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb): - Move focus to the file list when activating a shortcut. - (gtk_file_chooser_default_should_respond): Handle the case where the - user clicks on "Save" after selecting a folder in the file list. - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): - Propagate the action to the file chooser entries. - - * gtk/gtkfilechooserentry.h: - * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): - (_gtk_file_chooser_entry_get_action): New functions to propagate - the GtkFileChooserAction of the file chooser to the file chooser - entry. - (check_completion_callback): If we are in save mode, only do - inline completion for directories. - -Fri Sep 17 11:20:03 2004 Jonathan Blandford - - * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the - docs. - -Thu Sep 16 23:20:05 2004 Matthias Clasen - - * gtk/gtkselection.c (selection_get_text_plain): - * gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING - or text/plain;charset=utf-8 roperty contains invalid - UTF-8. (#152845, Owen Taylor) - -2004-09-16 Matthias Clasen - - Fix #152760, Christian Persch: - - * gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't free - private data. - (gtk_about_dialog_set_translator_credits): Recommend the msg - id translator-credits. - (display_credits_dialog): Show translator credits if they're - translated, not if they're untranslated. - -Thu Sep 16 02:07:56 2004 Jonathan Blandford - - * docs/tools/widgets.c (create_icon_view): load images at normal - size. - - * docs/reference/gtk/images/*png: Update shots. - -Thu Sep 16 00:33:11 2004 Jonathan Blandford - - * docs/tools/widgets.c (new_widget_info): Add constrained sizing - to the widgets. This gives us all images running the same size, - which will make the table layout look better. - -2004-09-15 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents): - Remove bogus code that tried to do what the X11 backend does in - its version of this function. There are no "frame windows" (for - toplevel window decoration) on Windows. The desktop ("root") - window is not the parent of a toplevel window. (#152481) - -2004-09-15 Matthias Clasen - - * NEWS: Update. - -Wed Sep 15 00:57:37 2004 Matthias Clasen - - * docs/tools/widgets.c: Add accel label, file button - and icon view. - -Tue Sep 14 22:01:49 2004 Matthias Clasen - - * configure.in: New option --disable-visibility to disable - the use of ELF visibility attributes for PLT reduction. - - * gtk/makegtkalias.pl: - * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY - define. - -Tue Sep 14 23:20:56 2004 Søren Sandmann - - * gtk/gtkaction.c (connect_proxy): Call - gtk_tool_item_rebuild_menu(). - - * gtk/gtktoolitem.c (gtk_tool_item_class_init): Update - documentation for GtkToolItem::create_menu_proxy. - - * gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New - API to make the toolbar update itself when the proxy menu item - for a tool item changes. - - * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call - gtk_tool_item_rebuild_menu here() - - * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): - Remove redundant check for need_label. - -2004-09-14 Matthias Clasen - - * gtk/gtkmain.c (do_post_parse_initialization): Remove an unused - variable, spotted by Morten Welinder. - - * gtk/queryimmodules.c (escape_string): Copy code from queryloaders.c - which turns backslashes in slashes on win32. (#152608, Kazuki IWAMOTO) - - * gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Set the cursor - to the first selected row instead of always to the first row if there - is no cursor. (#143270, Jean Bréfort) - - * tests/testfilechooser.c (main): Fix a few typos. - -2004-09-13 Matthias Clasen - - * gtk/gtkexpander.c: - * gtk/gtktreeview.c: Change the default expander size to 12 to compensate - for the recent change to gtk_default_draw_expander(). - - * gtk/gtkstyle.c (gtk_default_draw_expander): Use a linewidth of one - for expander sizes up to 16 - - * gtk/gtkentrycompletion.c (gtk_entry_completion_get_model): Resize the - popup if the model is replaced. (#152333) - -Mon Sep 13 09:11:53 2004 Manish Singh - - * gtk/gtkrange.c: fix gtk_range_real_change_value args. Addresses part - of #152518. - -2004-09-13 Matthias Clasen - - Fix some problems reported by Morten Welinder: - - * gtk/gtkfilesystem.c: Include gtkmodules.h, not gtkmain.h, since - the modules stuff moved. - - * gtk/gtkmain.c (gtk_arg_no_debug_cb): Add a missing return - - * gtk/gtksettings.c: Add missing include. - (settings_update_modules): Remove an unused variable. - -2004-09-13 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Improve positioning of entry completion popup. - -2004-09-09 Matthias Clasen - - * gtk/makegtkalias.pl: - * gdk/makegdkalias.pl: Use the short prefix "IA__" for - aliases instead of the long suffix "__internal_alias". - - * tests/testfilechooser.c (main): Update sensitivity of the "Select all" - button. - -Wed Sep 8 18:38:08 2004 Soeren Sandmann - - Make dropping of expandable items look nicer. - - * gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make - placeholder expand if highlight item is expanding. - - * gtk/gtktoolbar.c (toolbar_content_set_expand): New function. - - * gtk/gtktoolbar.c (toolbar_content_get_expand): Return TRUE only - if the item is not disappering. - -2004-09-07 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type - for placeholders in toolbars. (#151963, Olivier Andrieu) - - * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit - better. - -Sun Sep 5 17:14:16 2004 Matthias Clasen - - * gtk/gtkmain.c: - * gdk/gdk.c: - * gdk/x11/gdkmain-x11.c: - * gdk/win32/gdkmain-win32.c: Add descriptions for the - commandline arguments. The actual descriptions are mostly - taken from libbonoboui, so translators should be able to - copy existing translations from there. - -2004-09-05 Anders Carlsson - - * gdk/gdk.symbols: - * gtk/gtk.symbols: - Add new functions - -2004-09-05 Anders Carlsson - - * gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb), - (gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only), - (gdk_parse_args): - * gdk/gdk.h: - * gdk/gdkinternals.h: - * gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init): - * gdk/win32/gdkmain-win32.c: (_gdk_windowing_init): - * gdk/x11/gdkdisplay-x11.c: (gdk_display_open): - * gdk/x11/gdkmain-x11.c: (_gdk_windowing_init): - * gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb), - (gtk_arg_module_cb), (gtk_arg_warnings_cb), - (do_pre_parse_initialization), (do_post_parse_initialization), - (pre_parse_hook), (post_parse_hook), (gtk_get_option_group), - (gtk_init_with_args), (gtk_parse_args): - * gtk/gtkmain.h: - Make gtk argument parsing use goption. Add gtk_get_option_group and - gtk_init_with_args. - - * tests/testtreemodel.c: (main): - Use gtk_init_with_args. - -Sun Sep 5 01:04:01 2004 Matthias Clasen - - Allow sorting of tree models to be turned off - again. (#151139, Torsten Schoenfeld) - - * gtk/gtktreesortable.h: - Add GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID. - - * gtk/gtktreestore.c (gtk_tree_store_sort): - * gtk/gtkliststore.c (gtk_list_store_sort): Don't sort if - the list store is not sorted. - -Sat Sep 4 23:37:56 2004 Matthias Clasen - - * configure.in: Fix the Solaris Xinerama checks. (#151754) - -Sat Sep 4 22:45:49 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete - text in passwords. (#151723, Owen Taylor) - -Sat Sep 4 16:51:00 2004 Søren Sandmann - - * gdk/x11/gdkevents-x11.c (gdk_event_prepare): Revert accidental - change from Aug 02 that removed a flush of the X connection from - gdk_event_prepare() causing applications to get stuck. (#151732, - Richard Hoelscher). - -Fri Sep 3 22:45:03 2004 Matthias Clasen - - * gtk/gtkuimanager.c (print_node): Don't print out attributes - for the root node. (#151752, Lorenzo Gil Sánchez) - -Sat Sep 4 02:38:57 2004 Søren Sandmann - - * gtk/gtktoolbar.c (position): Accelerate the animation when it - has been running for a while. (#143647). - -2004-09-03 Tor Lillqvist - - * gtk-zip.sh.in: List the three theme gtkrc files separately, zip - doesn't do anything if one of the files on its command line - doesn't exist. - - Handle changes of screen resolution on Win32. (#151581, reported by - Arjohn Kampman) - - * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init, - _gdk_root_window_size_init): Factor out setting the root window's - size (as the size of the union of all monitors) to a new function. - - * gdk/win32/gdkdisplay-win32.c (gdk_display_open, - _gdk_monitor_init): Factor out the monitor query to a new - function. - - * gdk/win32/gdkprivate-win32.h: Declare above new functions. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate, - handle_display_change): Handle WM_DISPLAYCHANGE by calling the - above two functions, and emitting the "size_changed" signal on our - (only) GdkScreen. - -2004-09-01 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): - Document the return value. - -2004-09-01 Matthias Clasen - - Make it possible to specify additional modules to load - via a setting. (#117236, Alex Graveley) - - * gtk/gtkmodules.h: - * gtk/gtkmodules.c: New files which contain the module - handling code which was previously in gtkmain.[hc]. - Additionally, the code now looks for the gtk-modules - setting, which can specify additional modules to load. - - * gtk/gtkmain.c: - * gtk/gtkmain.h: Remove all the module handling code. - - * gtk/gtkdebug.h: Add a debug flag for modules. - - * gtk/gtk.h: Include gtkmodules.h - - * gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h - (gtk_c_sources): Add gtkmodules.c - - * gtk/gtksettings.c: Add the gtk-modules setting. - - * gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting. - -Wed Sep 1 19:11:44 2004 Søren Sandmann - - * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure - children of the toolbar are given positive dimensions. (149540, - Felipe Heidrich). - -2004-09-01 Matthias Clasen - - * gtk/gtkfilesystemunix.c: - * gtk/gtkfilechooserbutton.c: Protect the unistd.h include - by HAVE_UNISTD_H. - -Wed Sep 1 02:38:48 2004 Matthias Clasen - - * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make - accel labels ellipsize correctly. (#151559, Christian Persch) - -Wed Sep 1 00:55:56 2004 Matthias Clasen - - * gtk/gtkimage.c (gtk_image_clear): Don't leak the iter - of a running animation. (#151542) - -Tue Aug 31 23:40:29 2004 Matthias Clasen - - * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Make - "ms-windows" the default theme on Win32. - -Tue Aug 31 23:24:49 2004 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start - a drag if the left button is pressed. (#151490, Frederic Croszat) - -Tue Aug 31 23:20:58 2004 Matthias Clasen - - * gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew. - -Tue Aug 31 17:07:41 2004 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c - (gtk_tree_view_column_cell_process_action): constrain cell area to - passed in cell_area, #147867 - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if - ellipsizing, get_size is only 3 chars wide. - - * docs/tree-column-sizing.png: Add Matthias's excellent image. - -2004-08-28 Robert Ögren - - On Win32, do not produce tablet motion or button events while a - window is being moved or resized. (#151090, reported by Shaneyfelt) - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkevents-win32.c: Rename the variable resizing to - _sizemove_in_progress and make it extern. - - * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore - motion and button events if _sizemove_in_progress is true. - -2004-08-30 Tor Lillqvist - - Make the ms-windows theme engine build with mingw. - - * configure.in: Expand also modules/engines/ms-windows/Theme/ - Makefile and .../Theme/gtk-2.0/Makefile. - - * modules/engines/ms-windows/Makefile.am: Adapt for building - inside the GTK sources. - - * modules/engines/ms-windows/*.c: Use "foo.h" style includes for - GTK and GDK headers. Use correct path for gdkwin32.h header. - - * modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK - API. - - * modules/engines/ms-windows/xp_theme_defs.h - * modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_* - to xp_theme.c, as they are neither in mingw's nor Platform - SDK's tmschema.h. - - * modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as - 0x0501 to get the necesssary stuff from mingw's uxtheme.h. - -2004-08-30 Matthias Clasen - - Integrate the ms-windows theme engine (better known as Wimp) - into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/) - was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2 - sources have been added to the GTK+ source tree in - modules/engines/ms-windows, and there is a ChangeLog detailing - the history of Wimp. (#109615, Havoc Pennington) - - * configure.in: Generate modules/engines/Makefile and - modules/engines/ms-windows/Makefile. - - * modules/Makefile.am (SUBDIRS): Add engines. - - * modules/engines/Makefile.am: Compile ms-windows for win32. - -2004-08-30 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): - Make it compile. - -2004-08-27 Matthias Clasen - - Fix #151112, Olexiy Avramchenko: - - * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): - * gtk/gtkiconview.c (scroll_timeout, layout_callback) - (gtk_icon_view_item_accessible_idle_do_action): - * gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle) - (popup_idle): Protect idle callbacks and timeouts with - GDK_THREADS_ENTER/_LEAVE. - - * gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to - call update_dialog() from an idle with the necessary protection. - -Mon Aug 30 01:34:42 2004 Matthias Clasen - - Changes to make sure input methods respect the editability - of entries and text views. #114173, Noah Levitt. - - * gtk/gtkentry.c (popup_targets_received): Make the Input - Methods menuitem insensitive if we're not editable. - - * gtk/gtkentry.c (gtk_entry_delete_surrounding_cb): - * gtk/gtkentry.c (gtk_entry_preedit_changed_cb): - * gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything - if we're not editable. - - * gtk/gtkentry.c (gtk_entry_focus_out): - * gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and - focus_out to the im context if we're editable. - - * gtk/gtkentry.c (gtk_entry_set_property): Reset the im context - if the entry just became non-editable. - - * gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): - Use gtk_text_buffer_delete_interactive() to not delete - non-editable portions of text. - -2004-08-30 Tor Lillqvist - - * modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32. - - * modules/input/gtkimcontextime.c: Use quotes in #includes, to - find headers when building inside GTK+ sources. - -2004-08-27 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add - drop_failed, like in the X11 backend. Nothing sets it, though. - (gdk_drag_drop_succeeded): Copy from X11 backend. - -Thu Aug 26 23:58:11 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash - if model is not set. Noted by Mariano Suarez-Alvarez. - -Thu Aug 26 22:44:12 2004 Matthias Clasen - - Provide information about how an adjustment change in a range - widget happened. Add a "change-value" signal which reports how - a user is interacting with the range, whether they are clicking - on a stepper or the trough, or dragging the slider. (#133263, - Thomas Fitzsimmons) - - * gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE. - * gtk/gtkrange.c (gtk_range_class_init): Add "change-value" - signal. - (gtk_range_internal_set_value): Rename to - gtk_range_real_change_value. Add GtkScrollType parameter. Emit - the change-value signal when the range's value changes. - (update_slider_position, gtk_range_scroll_event, step_back, - step_forward, page_back, page_forward, scroll_begin, - scroll_end): Change gtk_range_internal_set_value to - gtk_range_real_change_value. - * gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value - function. - -2004-08-26 Matthias Clasen - - * modules/input/Makefile.am: Build imime.la on Windows. - - * modules/input/gtkimcontextime.h: - * modules/input/gtkimcontextime.c: - * modules/input/imime.c: - * modules/input/imm-extra.h: Add the IME input method for Win32 - written by Takuro Ashie and Kazuki IWAMOTO. The code was previously - hosted at http://sourceforge.jp/projects/imime. (#135195) - -2004-08-26 Bill Haneman - - * gtk/gtktreeview: - (gtk_tree_view_move_cursor_up_down): - If a multi-selection list contains only one item, - select it on cursor_up or cursor_down. - Fixes bug #131226. - [patch from Padraig O'Briain] - -2004-08-26 Matthias Clasen - - Make gdk_window_process_[all]_updates() respect - update_freeze_counter (#144272, Soeren Sandmann) - - * gdk/gdkwindow.c (gdk_window_schedule_update): New function to - install an idle for gdk_window_update_idle() if one isn't there - already. - (gdk_window_process_all_updates): - (gdk_window_process_updates): Only process the updates if the - window isn't frozen. - (gdk_window_invalidate_maybe_recurse): Schedule an update when - necessary. - (gdk_window_thaw_updates): Use gdk_window_schedule_update() instead - of directly installing the idle. - -2004-08-22 Robert Ögren - - On Win32, make graphical tablets work on multi-monitor systems. - (#145467, reported by buttknock1@ya...) - - * gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates): - Use dimensions of _gdk_parent_root as screen size. - (gdk_input_get_root_relative_geometry): Get coordinates relative - to GDK root window instead of Win32 coordinates. - (_gdk_input_other_event): Updated accordingly. - -Wed Aug 25 17:24:17 2004 Manish Singh - - * gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale() - function. - - * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused - variables num_extensions and extensions. - - * gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function. - -Wed Aug 25 17:14:58 2004 Manish Singh - - * gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize - path so we don't potentially use an undefined pointer. - - * gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK - cast for tree_view_keybinding_cb. - - * gtk/gtkfilechooserdefault.c (location_entry_create): cast to - GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part() - calls. - - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing): - cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call. - - * gtk/gtkselection.c (selection_get_text_plain): make len a gsize, - since that's what g_convert_with_fallback() expects. - -Wed Aug 25 16:14:34 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_search_activate): activate the - typeahead entry on enter. - -2004-08-25 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_attach_to_widget): Steal ATTACHED_MENUS - list so its tail isn't freed when we re-set it, noticed - by Hans Petter Jansson. - - * gtk/gtksizegroup.c (gtk_size_group_add_widget): Fix - a typo, noticed by Tim Janik. - -Wed Aug 25 15:15:56 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Change the Down - button to be end-justified, so that clicking on it is a stable - operation. - -Tue Aug 24 02:06:37 2004 Jonathan Blandford - - * gtk/gtktreeview.c - (gtk_tree_view_real_expand_collapse_cursor_row): Don't handle the - event if we have no children. - - * gtk/gtkfilechooserdefault.c (trap_activate_cb): - (tree_view_keybinding_cb):Since GtkTreeView has a keybinding - attached to '/', we need to catch keypresses before the TreeView - gets them. - (gtk_file_chooser_default_class_init): add '/' to be a keybinding - to the C-l dialog. - (location_entry_create): Clear the text to "" when loading a file. - This has a much better feel than putting the currently selected - in. - * #include - -2004-08-25 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (check_is_folder): Use get_file_info() rather - than trying get_folder() and checking for an error directly because older - versions of the gnome-vfs backend don't return an error - immediately. (#150852, Zack Cerza ) - -2004-08-25 Matthias Clasen - - * configure.in: Post-release version bump. - - * === Released 2.5.2 === - - * gdk/abicheck.sh: - * gtk/abicheck.sh: Make work during make distcheck. - - * docs/RELEASE-HOWTO: Add hint about doing make check - before make distcheck. - - * gtk/gtk.symbols: Add some missing symbols. - - * gtk/gtkiconview.c: Add some missing statics. - -2004-08-24 Matthias Clasen - - * NEWS: Updates for 2.5.2 - -Wed Aug 25 00:22:48 2004 Søren Sandmann - - * gtk/gtksequence.c: Remove debug spew - -Wed Aug 25 00:09:07 2004 Søren Sandmann - - * gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical - errors in gtk_list_store_move_before/after(). (#150983, patch by - Robert Ögren). - -Tue Aug 24 21:46:42 2004 Søren Sandmann - - * gtk/gtksequence.c (_gtk_sequence_move): Just return if the - parameters are identical. (#150159, Robert Ögren) - -2004-08-24 Matthias Clasen - - * gtk/gtkaction.c (connect_proxy, disconnect_proxy): Handle - action_group being NULL. (#150869, Tommi Komulainen) - -2004-08-24 Matthias Clasen - - * gdk/gdkimage.c (allocate_scratch_images): Use the correct - index variable. (#150941, Tommi Komulainen) - -2004-08-24 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Take header - height and adjustment into account. (#136496, Pawek Salek) - -Mon Aug 23 17:19:19 2004 Jonathan Blandford - - * configure.in: - * docs/tools/Makefile.am (clean-local): add the doc shooter to the - docs dir as an uninstalled helper tool. - -2004-08-23 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (show_window_internal): Make it compile. - - * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a - user_time field. - - * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update - toplevel->user_time. - (show_window_internal): Update the user time when re-mapping a - toplevel window. (#150502, Elijah Newren) - -2004-08-23 Matthias Clasen - - Fix #150822, reported by Christian Persch - - * gtk/gtklabel.c (gtk_label_ensure_layout): Set the layout width - appropriately when ellipsized. - (gtk_label_size_allocate): Only set the layout width if there - is a layout. - -2004-08-23 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest - EWMH additions to the _NET_ACTIVE_WINDOW client message - format. (#150668, Elijah Newren) - -Mon Aug 23 01:17:59 2004 Matthias Clasen - - * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused - bits in pixel to 1s in case they are used as alpha; copying - code from gdk_colormap_alloc_colors(). (#150466, Rich Wareham) - -2004-08-22 Philip Langdale - - * gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals - (gtk_action_sync_property and gtk_action_sync_sensitive) were - not being correctly disconnected, leading to actions continuing - to affect disconnected proxies. (#150607) - -2004-08-22 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal, - gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP - windows in the Task Manager. Implement by calling - gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim - Evans) - - * gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open): - Report whole of (primary) monitor, including any taskbars. - Excluding the taskbar area from the "root window" reported to GDK - doesn't seem to be that useful although gdk/win32 had been doing it - for a very long time. (#149013, see also #145467 and #148526) - -Sun Aug 22 16:55:15 2004 Soeren Sandmann - - * gtk/gtkexpander.c - * gtk/gtkalignment.c: - * gtk/gtktexttag.c - Make enums match property names. Found by a script by Tommi - Komulainen. - - * gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup. - -Sun Aug 22 16:09:49 2004 Soeren Sandmann - - * gtk/gtkliststore.h (struct _GtkListStore): - * gtk/gtkliststore.c (gtk_list_store_init): - * gtk/gtkliststore.c (gtk_list_store_insert): - * gtk/gtkliststore.c (gtk_list_store_remove): - Restore length field; PyGTK and maybe others use it directly. - -Sun Aug 22 15:46:56 2004 Soeren Sandmann - - * gtk/gtkpaned.c (gtk_paned_class_init): - s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/ - - * gtk/gtkfontbutton.c (gtk_font_button_class_init): - s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/ - - Both pointed out by Tommi Komulainen. - -Sun Aug 22 13:44:53 2004 Soeren Sandmann - - * gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION, - not PROP_MIN_POSITION for the max_position property. Fix pointed - out by Tommi Komulainen. - -Sun Aug 22 13:32:33 2004 Soeren Sandmann - - * gtk/gtkliststore.c (gtk_list_store_insert): Normalize the - position so we don't create paths with off-list - indices. (#150320). - -Sun Aug 22 12:04:59 2004 Soeren Sandmann - - * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Use the - correct tree path (#150289, Morten Welinder). - -Sun Aug 22 00:08:44 2004 Matthias Clasen - - Fix #150406, reported by Fernando San Martín Woerner, patch - by Gustavo Carneiro. - - * gtk/gtkentrycompletion.c - (gtk_entry_completion_default_completion_func): Check that - column is of type G_TYPE_STRING before proceeding. - -Sat Aug 21 23:52:13 2004 Matthias Clasen - - * gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an - uninitialized tree iter. (#150414, Torsten Schoenfeld) - -Sat Aug 21 23:29:54 2004 Matthias Clasen - - Fix #150738, Tomislav Jonjic. - - * gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS): - * gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS): - * gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS): - * gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS): - * gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS): - * gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS): - * gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS): - * gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions. - -Wed Aug 18 17:25:26 2004 Manish Singh - - * demos/testpixbuf-save.c - * demos/gtk-demo/hypertext.c: Get rid of some unnecessary casts. - - * demos/gtk-demo/appwindow.c: Make activate_email and activate_url - match the arguments for GtkAboutDialogActivateLinkFunc. - -Wed Aug 18 16:18:00 2004 Manish Singh - - * gtk/gtktreeview.c (gtk_tree_view_row_inserted): Initialize height - from fixed_height before we do anything, so it always has a valid - value. - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Fix call - to gtk_tree_model_get (missing "," in param list). - -2004-08-18 Federico Mena Quintero - - Merged from 2.4: - - Fixes #149251: - - * gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to - SHORTCUTS_COL_DATA. Add SHORTCUTS_COL_IS_VOLUME, to determine - easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a - GtkFileSystemVolume. - (shortcuts_model_create): Create a boolean column for - SHORTCUTS_COL_IS_VOLUME. - (shortcuts_reload_icons): Simplify with the use of the - SHORTCUTS_COL_IS_VOLUME column. Don't leak the pixbuf. - (shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data. - (shortcuts_free_row_data): New helper function; frees the data - columns for an iter. - (shortcuts_remove_rows): Don't take a callback for freeing the - data; free everything here instead. Use - shortcuts_free_row_data(). - (volume_remove_cb): Removed. - (remove_bookmark_cb): Removed. - (remove_row_cb): Make this a single generic function to delete - rows. - (shortcuts_add_volumes): Use remove_row_cb(). - (shortcuts_add_bookmarks): Likewise. - (struct _GtkFileChooserDefault): Removed the - shortcuts_current_folder_is_volume field. - (shortcuts_add_current_folder): Oops, don't free the volume. - (remove_current_folder_cb): Removed. - (shortcut_find_position): Simplify through the use of the - SHORTCUTS_COL_IS_VOLUME column. - (remove_selected_bookmarks): Assert that we don't get a volume. - (shortcuts_reorder): Likewise; also, plug a leak. - (gtk_file_chooser_default_remove_shortcut_folder): Simplify - through the use of shortcuts_remove_rows(). - (gtk_file_chooser_default_list_shortcut_folders): Assert that we - don't get a volume. - (shortcuts_activate_iter): Simplify. - (home_folder_handler): Simplify by using - shortcuts_activate_iter(). - (shortcuts_free): New function; frees all the data columns. - (gtk_file_chooser_default_finalize): Unref the - shortcuts_filter_model and the shortcuts model data first. - -Wed Aug 18 08:31:17 2004 Manish Singh - - * gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix - bug #150440. - - * gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should - match constness attributes of g_get_system_data_dirs (). - -2004-08-17 Matthias Clasen - - * gtk/gtkicontheme.c (gtk_icon_theme_init): Look up icon themes in the - directories specified in the icon theme spec: $HOME/.icons, - $XDG_DATA_DIRS/icons, /usr/share/pixmaps. Note that GTK+ used to also look - in $GTK_DATA_DIR/icons, $GTK_DATA_DIR/pixmaps and /usr/share/icons. (#148694) - - - * gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when - painting the shadows. (#150351, Tim Janik) - -2004-08-17 Matthias Clasen - - * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. - - * gdk/gdk.symbols: Don't use #if defined(). - - * gdk/Makefile.am (gdkalias.h): - * gtk/Makefile.am (gtkalias.h): Don't use cpp to filter gtk.symbols. - - * gdk/makegdkalias.pl: - * gtk/makegtkalias.pl: Move the #ifdef processing into the perl script, and - keep the #ifdefs which differentiate between platforms. - - * gtk/Makefile.am (gtk_private_h_sources): Remove gtkinternals.h, it is no - longer needed. - -2004-08-17 Matthias Clasen - - * tests/testfilechooserbutton.c: Use g_message() throughout, add RTL envar for - rtl testing. - - * gtk/gtkfilechooserbutton.c: Get rid of HAVE_CONFIG_H. - (gtk_file_chooser_button_init): Use gtk_drag_dest_add_text_targets(). - (gtk_file_chooser_button_drag_data_received): Use gtk_selection_data_get_text(). - (gtk_file_chooser_button_set_dialog): _gtk_file_chooser_entry_set_base_folder() - seems to expect a path, not an uri. - (update_dialog): Handle g_filename_from_uri() returning NULL, don't free - info if it is NULL. - - * gtk/gtkfilechooserbutton.h: Minor stylistic changes. - -2004-08-17 Matthias Clasen - - * gtk/gtkfilechooserbutton.[hc]: New widget to go along with - GtkFontButton and GtkColorButton for use in preference dialogs. - Replaces GnomeFileEntry. (#148108, James M. Cape) - - * gtk/gtk.h: Include gtkfilechooserbutton.h - - * gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h - (gtk_c_sources): Add gtkfilechooserbutton.c - - * gtk/gtk.symbols: Add the GtkFileChooserButton symbols. - - * gtk/gtkfilechooserutils.[hc]: Make the delegate quark available. - - * gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow - to suppress tab-eating using the new eat_tabs argument. Adjust all - callers. - - * tests/testfilechooserbutton.c: Test for GtkFileChooserButton. - - * tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton - -2004-08-16 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_render_icon): Doc update. - - * gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1, - use the available size closest to 48. (#150147) - - * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return - a pointer to the beginning of the sizes array, not the end. - -2004-08-16 Morten Welinder - - * tests/testtreemodel.c (test_run): Comment out mallinfo stuff. - Fix g_print %-strings. - - * gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism. - -2004-08-16 Christian Rose - - * configure.in: Added "bs" to ALL_LINGUAS. - -Mon Aug 16 01:35:25 2004 Matthias Clasen - - - * gtk/gtkcombobox.[hc]: Add a ::focus-on-click property and - change the default behaviour to focus on click. - - * gtk/gtkbutton.c (gtk_button_set_focus_on_click): Typo fix. - -Mon Aug 16 01:03:08 2004 Matthias Clasen - - * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset): - (gtk_text_iter_set_visible_line_index): Count from the - beginning of the line, not from the current position. (#150101, - Torsten Schoenfeld) - -2004-08-15 Tor Lillqvist - - * gtk-zip.sh.in: Fix typo. The gtk.immodules file had never been - included in my zipfiles...! - - * gtk/gtkfilesystemwin32.c (extract_icon): Improve handling of - icon alpha channel (on Windows XP) and mask (older Windows - versions). (#148641, Tim Evans) - -Sun Aug 15 02:31:55 2004 Matthias Clasen - - * gtk/gtkfilesystemunix.c (get_icon_type_from_stat): Make - the use of S_ISFIFO and S_ISSOCK conditional. (#150146, - Gustavo Carneiro) - -2004-08-14 Tor Lillqvist - - * gtk/gtkfilechooserdefault.c (shortcuts_append_home, - shortcuts_append_desktop, set_local_only) - * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_render_icon) - * gtk/gtkpathbar.c (find_button_type, _gtk_path_bar_set_file_system): - Guard against g_get_home_dir() returning NULL. (#150007) - -Sat Aug 14 17:56:33 2004 Soeren Sandmann - - * gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function. - - * gtk/gtkentry.c (in_selection): New function using - gtk_entry_get_pixel_ranges() to determine whether a click is in - the selection. Improve entry behavior wrt. dragging and - selecting. Bug #143249. - -Sat Aug 14 17:53:46 2004 Soeren Sandmann - - * configure.in: Require glib 2.5.2 - - * gtk/gtksequence.[ch]: New internal data structure. - - * gtk/gtkliststore.[hc]: Reimplement in terms of new data - structure - - * tests/Makefile.am (testtreemodel_SOURCES): - * tests/testtreemodel.c: New test program written by Matthias. - -2004-08-13 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set): - Don't install the settings_notify_cb from here, since it - may be called before the first screen_changed signal, - confusing the logic in gtk_file_chooser_screen_changed(). - (#148803, Abel Daniel) - - * gtk/gtkcombobox.c: Make re-sensitivation work - in menu mode. - - * gtk/gtkaction.c (gtk_action_new): Fix the docs. - -Fri Aug 13 01:06:56 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_row_inserted): - Make fixed height mode handle insertions. (#135955, - Michael Vogt, testcase by Tim-Philipp Müller, fix by - Pawel Salek) - -Fri Aug 13 00:40:18 2004 Matthias Clasen - - * gtk/gtkhandlebox.c: Add missing include. - -Thu Aug 12 23:52:12 2004 Matthias Clasen - - Fix #149547, Markus Lausser: - - * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): - * gtk/gtkcombobox.c (gtk_combo_box_size_request): Don't - crash if size_request or size_allocate are called early. - - * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Protect - against being allocated too small. - -Thu Aug 12 21:02:57 2004 Matthias Clasen - - * demos/gtk-demo/appwindow.c (about_cb): Adjust to GtkAboutDialog - API changes. - - * gtk/gtkaboutdialog.h: - * gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook): - (gtk_about_dialog_set_url_hook): Add callback data and destroy notify - for language bindings. (#149999, Olivier Andrieu) - -2004-08-12 Matthias Clasen - - * gtk/gtkfilesystem.c: Underscore-prefix gtk_file_system_module_get_type(). - * gtk/gtkfilechooserdefault.c: Underscore-prefix shortcuts_model_filter_get_type(). - - * gtk/gtkimmodule.c: Make gtk_im_module_get_type() static. - * gtk/gtk.symbols: - * gtk/gtkinternals.h: Remove the no longer exported get_type functions. - -Thu Aug 12 01:35:46 2004 Matthias Clasen - - * gtk/gtkiconview.c: Make the icon view accessible by - implementing the necessary ATK interfaces. (#149728, - Padraig O'Briain) - -Thu Aug 12 00:02:29 2004 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkaction.h: - * gtk/gtkaction.c (gtk_action_set_sensitive): - (gtk_action_set_visible): Add setters for the ::sensitive - and ::visible properties of GtkAction. (#149622, David Malcolm) - -2004-08-11 Federico Mena Quintero - - Fix #149422, #143457: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_should_respond): Rewrite to take the - current focus into account, the contents of the save entry, and - the last focus for the shortcuts list. - (switch_to_selected_folder): We don't need an assertion on the - action here. - -Wed Aug 11 20:56:00 2004 Matthias Clasen - - * gtk/gtkinternals.h: - * gtk/gtk.symbols: Add shortcuts_model_filter_get_type. - - * gtk/abicheck.sh: Check all symbols. - -Wed Aug 11 19:20:34 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row): - Don't start a drag if the treeview is only a - drag destination. (#149836, Pawel Salek) - -2004-08-11 Matthias Clasen - - * gtk/gtktreedatalist.[hc]: - * gtk/gtkliststore.c: - * gtk/gtktreestore.c: Underscore-prefix - gtk_tree_data_list_compare_func. - - * gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func. - - * gtk/makegtkalias.pl: No need to include gtktreedatalist.h - any more. - -2004-08-10 Matthias Clasen - - * gdk/Makefile.am: - * gtk/Makefile.am: Define TESTS, not TEST, so that make check - actually triggers abicheck.sh. - - * gdk/makegdkalias.pl: - * gtk/makegtkalias.pl: Include glib.h before using glib symbols. D'oh. - - * gdk/makegdkalias.pl: - * gtk/makegtkalias.pl: Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY. - - * gtk/Makefile.am: Include gtkalias.h in the generated - sources gtkmarhalers.c and gtkmarshal.c. - - * gtk/makegtkalias.pl: Cosmetic fix. - - * gdk/Makefile.am: Remove the . which was accidentally added - to SUBDIRS. Include gdkalias.h in the generated sources - gdkenumtypes.c and gdkmarshalers.c. - - * gdk/makegdkalias.pl: Cosmetic fix. - - * gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES. - -2004-08-09 Hans Breuer - - * gtk/makefile.msc.in : autogenerate gtk.def, cleanup - - * gdk/win32/gdkwindow-win32.c gdk/win32/gdkevents-win32.c : - removed long time unused ifdef/ed code (WITHOUT_WM_CREATE), - removed duplicated call to gdk_window_set_cursor() - -Mon Aug 9 15:41:17 2004 Matthias Clasen - - Add hidden aliases for exported symbols which are - used internally in order to get rid of many PLT - entries. (#145519, Arjan van de Ven) - - * gdk/Makefile.am: Add rules to generate gdk.def and - gdkalias.h from gdk.symbols, and make make check check - the abi with abicheck.sh. - - * gdk/gdk.symbols: New file. Definition of the GDK ABI. - The file can be processed by cpp to filter out certain - subsets of symbols. - - * gdk/abicheck.sh: New file. Script to check the actually - symbols exported from libgdk-x11.2.0.so against the symbols - found in gdk.symbols. - - * gdk/makegdkalias.pl: New file. Perl script to generate the - header containing the alias definitions for internally used - exported symbols from a list of symbols. - - * gdk/*.c, gdk/x11/*.c: Include gdkalias.h - -2004-08-09 Morten Welinder - - * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism. - -Mon Aug 9 15:27:01 2004 Matthias Clasen - - * gtk/makegtkalias.pl: Also revert - GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API to its old status. - -Mon Aug 9 15:19:34 2004 Matthias Clasen - - * gdk/gdk.h: - * gdk/gdkrgb.h: Add the exported functions - gdk_rgb_colormap_ditherable(), gdk_pointer_grab_info_libgtk_only(), - gdk_keyboard_grab_info_libgtk_only() to the appropriate - headers. - -Mon Aug 9 14:24:46 2004 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): - Make static. - -Mon Aug 9 12:48:04 2004 Matthias Clasen - - Add hidden aliases for exported symbols which are - used internally in order to get rid of many PLT - entries. (#145519, Arjan van de Ven) - - * gtk/Makefile.am: Add rules to generate gtk.def and - gtkalias.h from gtk.symbols, and make make check check - the abi with abicheck.sh. - (gtk_private_h_sources): Add gtkinternals.h - (gtk_built_private_headers): Add gtkalias.h - (gtk_extra_sources): Add gtk.symbols - (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh - - * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. - The file can be processed by cpp to filter out certain - subsets of symbols. - - * gtk/abicheck.sh: New file. Script to check the actually - symbols exported from libgtk-x11.2.0.so against the symbols - found in gtk.symbols. - - * gtk/makegtkalias.pl: New file. Perl script to generate the - header containing the alias definitions for internally used - exported symbols from a list of symbols. - - * gtk/gtkinternals.h: New file. An uninstalled header listing - symbols which must be exported for some reason and do not appear - in any other header. - - * gtk/*.c: Include gtkalias.h - -Mon Aug 9 11:49:46 2004 Matthias Clasen - - * gtk/gtkmain.c: Only undef gtk_init_check and gtk_init on win32. - -Mon Aug 9 10:50:05 2004 Matthias Clasen - - * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() - and its inverse. The have always been exported and are meant - to be public. - -Mon Aug 9 00:28:34 2004 Matthias Clasen - - * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the - file contents. - -Mon Aug 9 00:13:03 2004 Matthias Clasen - - * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't - leak the icon source. - -Sun Aug 8 23:46:20 2004 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't - leak a reference to the pixbufs. - -Sun Aug 8 23:36:55 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref - and sink the column. - (gtk_combo_box_menu_destroy): Unref the column. - -Sun Aug 8 23:35:00 2004 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): - (gtk_drag_dest_add_text_targets): Don't leak a reference - to the target list. - -Sun Aug 8 22:52:26 2004 Matthias Clasen - - * gtk/gtkcombobox.c (find_menu_by_path): Don't stumble over - separators which are not backed by model rows. - -Sun Aug 8 11:01:23 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak - the path. - -2004-08-08 Hans Breuer - - * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into - account again to allow dnd of other things than text - - * gdk/win32/gdkselection-win32.c : offer windows bitmap to - be pasted from clipboard (makes The GIMP 2.1's - "File/Acquire/Paste as New" work, only using gtk+ API) - -Sun Aug 8 01:32:36 2004 Matthias Clasen - - * gtk/gtk.def: Add gtk_cell_renderer_progress_get_type. - -Sun Aug 8 01:29:08 2004 Matthias Clasen - - * gtk/gtk.def: Replace duplicate gtk_tree_view_get_hover_expand - by gtk_tree_view_set_hover_expand. - -Sun Aug 8 01:23:08 2004 Matthias Clasen - - * gtk/gtk.def: Remove the static function gtk_menu_get_private. - -2004-08-07 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode - mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx() - map it to what's printed on the keypad decimal key for the current - input locale (keyboard layout). (#149404) - -Sat Aug 7 18:19:03 2004 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (save_folder_combo_create): - (shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc - instead of GtkCellRendererSepText. (#147864) - - * gtk/gtkcellrendererseptext.[hc]: Removed. - - * gtk/Makefile.am: Remove gtkcellrendererseptext.[hc] - -Sat Aug 7 18:15:15 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted): - (gtk_combo_box_menu_row_inserted): - (gtk_combo_box_menu_row_changed): Correctly handle - insertion and deletion of separators in menu mode. - -2004-08-07 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (handle_configure_event, - gdk_event_translate:WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to - top-level window coordinates, not just in generated - events. (#148526, Robert Ögren) - -Sat Aug 7 01:26:08 2004 Matthias Clasen - - Make the column drag code a bit more robust (still scary, - though). (#106992, Christian Biere) - - * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert - that cur_reorder is NULL here. - - * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): - Reset cur_reorder to NULL, and only hide drag_highlight_window - if it exists. - -2004-08-06 Federico Mena Quintero - - Fix #144232: - - * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a - GtkFileChooserEntry for the file name, rather than a GtkEntry. - (update_chooser_entry): Set the contents of the file chooser entry - rather than the plain entry's. - (gtk_file_chooser_default_set_current_folder): Set the new folder - on the save entry. - (gtk_file_chooser_default_set_current_name): Set the name on the - file chooser entry. - (check_save_entry): Use the file chooser entry rather than the - plain entry. - - * gtk/gtkfilechooserentry.c - (_gtk_file_chooser_entry_set_base_folder): Call - gtk_file_chooser_entry_changed() so that we recompute the current - folder based on the new base folder. - -2004-08-06 Hans Breuer - - * gdk/win32/gdkwindow-win32.c : make it compile and more - similar to the X11 implementation [backward compatibility - for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702), - use the *screen* function variants, dont reparent already - destroyed] - (get_visible_region) : take the win32 part into account - (_gdk_windowing_window_destroy) : remove from handle table - - * gdk/win32/gdkdisplay-win32.c : added - gdk_display_(request|supports)_selection_notification () - with a currently mostly pointless implementation ;-) - - * gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX, - plugs memory leak - (gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY - - * gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in - gtk/stock-icons/makefile.msc tests/makefile.msc : updated - - * gdk/gdk.def gtk/gtk.def : updated externals - - * tests/testiconview.c : remove unneeded dirent.h inclusion - -2004-08-06 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix - an off-by-one error. (#141809, Markku Vire) - - * gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really - fix the initialization of the target list. - - Support XDND v5. (#10220, Owen Taylor) - - * gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the - drop was successful in the GdkDragContextPrivateX11 struct. - (xdnd_finished_filter): Store the success status of the drop - for an XDND version 5 interaction. For other versions, always - assume the drop was successful. - (xdnd_check_dest): Return the protocol version. - (_gdk_drag_get_protocol_for_display): Return the protocol version. - (gdk_drag_find_window_for_screen): Store the used protocol version - in the GdkDragContext. - (xdnd_send_enter): Send the used protocol version from the context, - instead of hardwiring 3. - (xdnd_enter_filter): Accept protocol versions >= 3 and store the - used protocol version in the context. - - * gdk/gdkdnd.h: - * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function - to find out whether a drop was successful. - -2004-07-28 Robert Ögren - - * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root - and y_root in button and motion events from the tablet. (#148715) - -Thu Aug 5 19:58:08 2004 Soeren Sandmann - - * gtk/gtkplug.c (gtk_plug_realize): Call - gdk_window_enable_synchronized_configure() - - * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make - noop if gdk_window_enable_synchronized_configure() has not been - called. - -2004-08-04 Matthias Clasen - - * gtk/gtkfilechooser.[hc]: Add setter and getter for the - ::show-hidden property. (#145610, Jeff Franks) - - * tests/testiconview.c: Add buttons to select and unselect all - nodes, make the popup menu actually work. - - * gtk/gtkiconview.c: Make GTK_SELECTION_BROWSE work as intended, - let button 3 presses through to the app, to make popup menus - work. - - * tests/Makefile.am: Add testiconview. - * tests/testiconview.c: A test for GtkIconView - * tests/gnome-textfile.png: ...which uses this image. - -Wed Aug 4 01:37:57 2004 Matthias Clasen - - * gtk/gtktreeview.c: - * gtk/gtktreestore.c: - * gtk/gtktreemodelfilter.c: - * gtk/gtknotebook.c: s/childs/children/g. - -Wed Aug 4 01:04:48 2004 Matthias Clasen - - Fix #133446, noticed by Christian Persch: - - * gtk/gtkaction.c (gtk_action_class_init): Add a new boolean - property ::visible-overflown. - * gtk/gtkaction.c (gtk_action_create_menu_proxy): Don't create - a menu proxy if visible_overflown is FALSE. - -Tue Aug 3 20:16:26 2004 Matthias Clasen - - * gtk/gtkactiongroup.[hc]: Make the the GtkAction{Toggle,Radio,}Entry* - arguments to the gtk_action_group_add_..._actions() functions const, - since the most common use case is to use a static array. (142334, - Mariano Suarez-Alvarez) - -Tue Aug 3 20:03:33 2004 Matthias Clasen - - * gtk/gtkuimanager.c (get_node): Make gtk_ui_manager_add_ui() - accept paths with a leading "/ui". (#149077, David Malcolm) - -Tue Aug 3 19:59:29 2004 Matthias Clasen - - * gtk/gtkiconview.c: Fix some warnings. - -Tue Aug 3 18:38:40 2004 Matthias Clasen - - * gtk/gtktreemodelfilter.c: Correct the return type - of gtk_tree_model_filter_get_flags(). (#149195, Morten Welinder) - -Tue Aug 3 18:16:55 2004 Matthias Clasen - - Fix #149191, reported by Morten Welinder: - - * gtk/gtkmain.c: Include gtkclipboard.h, - * gtk/gtkwidget.h: Declare _gtk_widget_grab_notify, not - _gtk_widget_emit_grab_notify. - -Tue Aug 3 14:50:14 2004 Matthias Clasen - - * gtk/gtkicontheme.c (add_size): Add missing parens. - (#149190, Morten Welinder) - -Tue Aug 3 14:29:49 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_fill): Remove - accidentally committed debug code. - -Tue Aug 3 01:19:12 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_relayout_item): Optimize - for the case that row_column and col_column are unset. - (#148868, Lorenzo Gil Sánchez) - -Mon Aug 2 21:52:45 2004 Soeren Sandmann - - * gdk/x11/gdkwindow-x11.c (ensure_sync_counter): New - function. Make sure the sync counter is recreated when a window is - reparented to become a toplevel. (#148358) - -2004-08-02 Matthias Clasen - - * tests/testcombo.c: Some trees in combo boxes. - - * gtk/gtkcombobox.c: Rework the combo box to handle - tree models. (#139582, Matt Walton) - - * gtk/gtktreeview.h: - * gtk/gtktreeview.c: - * gtk/gtktreeprivate.h: Add a new boolean property - ::hover-expand and make the treeview expand/collapse rows - on mouseover if it is set. - - * gtk/gtkiconview.h: Remove some erroneous declarations. - - * gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't - crash if the displayed row is gone. - -2004-08-02 Morten Welinder - - * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism. - -Mon Aug 2 01:30:03 2004 Matthias Clasen - - * gtk/gtktextview.[hc]: - * gtk/gtkentry.[hc]: Add a new binding signal ::backspace, - bind it to the backspace key, and make it pay attention - to the Pango backspace_deletes_character - attribute. (#119891, Noah Levitt, patch by Theppitak - Karoonboonyanan) - -Mon Aug 2 01:02:57 2004 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): - (gdk_check_wm_desktop_changed): Add missing error - traps. (#149011, Thomas Leonard) - -Mon Aug 2 00:21:26 2004 Matthias Clasen - - * gtk/gtktextview.c (blink_cb): Add the same warning - that the blink_cb() in GtkEntry already has. (#148733) - -Mon Aug 2 00:12:16 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_class_init): - (gtk_entry_get_alignment): - (gtk_entry_set_alignment): Document the xalign property - and its getter and setter as 2.4 additions. (#148978, - Axel Simon) - -Mon Aug 2 00:11:31 2004 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_class_init): - * gtk/gtkactiongroup.c (gtk_action_group_class_init): Use - canonical signal names in doc comments, since gtk-doc won't - pick up signal docs with underscores. - -2004-08-01 Matthias Clasen - - * configure.in: Post-release version bump - - * === Released 2.5.1 === - -Thu Jul 29 16:36:42 2004 Jonathan Blandford - - * gtk/gtktreeprivate.h: New arguments - - * gtk/gtktreeview.c: - (gtk_tree_view_class_init): Add key_release callback - (gtk_tree_view_init): Initialize timeout handler - (gtk_tree_view_unrealize): clear timeout if needed - (gtk_tree_view_key_press): Typeahead support - (gtk_tree_view_key_release): Not used yet -- will be needed for - typeahead. - (gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry - in a timeout. - (gtk_tree_view_ensure_interactive_directory): - (gtk_tree_view_real_start_interactive_search): - (gtk_tree_view_search_init): - (gtk_tree_view_start_interactive_search): Typeahead support added. - (gtk_tree_view_search_dialog_hide): Clear timeout and text when we - hide. - -Sat Jul 31 23:17:44 2004 Matthias Clasen - - * NEWS: Updates - -Sat Jul 31 01:13:01 2004 Matthias Clasen - - * gtk/gtkwindow.c: - * gtk/gtkentry.c: - * gtk/gtkaction.c: Use the canonical form of signal names - after "notify::". Otherwise, no notification arrives. - GObject should have a warning for that, really. (#148879, - Lorenzo Gil Sánchez) - -Sat Jul 31 00:42:08 2004 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): - * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't - set both states at once. (#148789, Matthew Garrett) - -2004-07-30 Matthias Clasen - - * gtk/gtkcombobox.c: Don't forget to destroy the row separator - function user data when the combo box is destroyed. - -2004-07-30 Matthias Clasen - - * gtk/gtkcombobox.h: - * gtk/gtkcombobox.c: Change the api for separators to use a - separator function instead of a boolean column. - - * tests/testcombo.c: Update to match the api change. - -Fri Jul 30 02:21:41 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Fix the positioning of the popup. - -Fri Jul 30 00:56:31 2004 Matthias Clasen - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_active_changed): - Implement this in terms of gtk_combo_box_get_active_iter(), - instead of gtk_combo_box_get_active(). - -2004-07-29 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add - a field for an "add to shortcuts" menu item. - (popup_menu_detach_cb): Clear out the field. - (file_list_build_popup_menu): Only build the menu here. - (file_list_update_popup_menu): Build the menu, then update the - sensitivity of its items. - (file_list_popup_menu): Use file_list_update_popup_menu(). - (bookmarks_check_add_sensitivity): Also set the sensitivity of the - popup menu item. Correctly handle the case for a *single* file. - Simplify a bit. - (bookmarks_add_selected_folder): New helper function; code moved - over from add_bookmark_button_clicked_cb(). - (add_bookmark_button_clicked_cb): Use the function above. - (selection_check): Rather than returning a boolean value for - emptiness, actually return the number of selected rows. Also, - simplify a bit. - (get_selected_path): New helper function. - -2004-07-29 Anders Carlsson - - * demos/gtk-demo/Makefile.am: - * demos/gtk-demo/clipboard.c: (copy_button_clicked), - (paste_received), (paste_button_clicked), (do_clipboard): - Add clipboard demo. - -2004-07-28 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): - Store signal IDs in gulongs, not guints! - (gtk_file_chooser_default_hierarchy_changed): We now monitor the - focus widget on our toplevel to know which widget was last focused - at the time our "should_respond" method gets called. - (shortcuts_activate_selected): New helper function. - (shortcuts_get_selected): New helper function. - (remove_selected_bookmarks): Use shortcuts_get_selected(). - (bookmarks_check_remove_sensitivity): Likewise. - (shortcuts_reorder): Likewise. - (shortcuts_activate_iter): Renamed from shortcuts_activate_item(). - Activate by iter, not by item number. - (save_folder_combo_changed_cb): Use shortcuts_activate_iter(). - (shortcuts_row_activated_cb): Likewise. - (gtk_file_chooser_default_should_respond): If the last focused - widget on the toplevel was the shortcuts list, activate the - selected shortcut. - -2004-07-28 Matthias Clasen - - * gdk/linux-fb/gdkprivate-fb.h: Make the fb backend compile against - current freetype. (#148558, Nicolas Deves) - - * gtk/gtktreeview.c: Replace the EXPANDER_MAX macro by - ROW_HEIGHT. (#145528) - - * gtk/gtkuimanager.c: Warning fixes. - - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Fix - prototype mismatch. (#148589, Nicolas Deves) - -2004-07-28 Anders Carlsson - - * gdk/x11/gdkdrawable-x11.c (gdk_draw_rectangle_alpha_libgtk_only): - Cast to 32-bit integers when premultiplying, suggested by Keith Packard. - -2004-07-27 Anders Carlsson - - * demos/gtk-demo/iconview.c: (do_iconview): - Change selection mode to multiple. - - * gdk/gdkdrawable.h: - * gdk/linux-fb/gdkdrawable-fb2.c: - (gdk_draw_rectangle_alpha_libgtk_only): - * gdk/win32/gdkdrawable-win32.c: - (gdk_draw_rectangle_alpha_libgtk_only): - * gdk/x11/gdkdrawable-x11.c: (gdk_x11_draw_image), - (get_impl_drawable), (gdk_x11_draw_pixbuf), - (gdk_draw_rectangle_alpha_libgtk_only): - Add gdk_draw_rectangle_alpha_libgtk_only which uses - XRenderFillRectangle on X11. It's stubbed out on the - Win32 and fb backends. - - * gtk/gtkiconview.c: - (gtk_icon_view_paint_rubberband): - Use gdk_draw_rectangle_alpha_libgtk_only here. - -2004-07-27 Anders Carlsson - - * gtk/gtkaboutdialog.c: (gtk_about_dialog_init), - (text_view_style_set), (add_credits_page), - (display_credits_dialog), (display_license_dialog): - Remove dialog separators, fix text view background setting, - use Close buttons instead of OK buttons. - -2004-07-27 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): - Add a frame around the C-f popup to stop it from merging visually - in whatever is underneath. - - * gtk/gtkcombobox.h: - * gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New - function necessary to make GtkComboBox accessible. (#132847, - Padraig O'Briain) - -Tue Jul 27 02:34:06 2004 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless - windows when disposing them. (#133231, Michael Natterer) - -2004-07-26 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_class_init): Expand the documentation - for GtkLabel::ellipsize. - -Mon Jul 26 00:38:27 2004 Matthias Clasen - - Make the GtkComboBox in list mode scroll if the list is too - large to fit in the popup. (#135543) - - * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add a -o scrolled window to the popup in list mode. - (gtk_combo_box_list_position): Calculate the height of the - popup so that it fits on the screen, set the scrollbar policy - of the scrolled window appropriately. - (gtk_combo_box_popup): Use the height calculated by - gtk_combo_box_list_position(). - (gtk_combo_box_remeasure): Don't add unnecessary padding. - (gtk_combo_box_size_request): But add the focus with here. - (gtk_combo_box_list_setup): Connect to enter notify on the - popup window to activate auto scrolling. - (gtk_combo_box_list_enter_notify): Activate auto scrolling. - (gtk_combo_box_list_button_pressed): Setup a timeout for - auto scrolling. - (gtk_combo_box_list_scroll_timeout): Timeout function for - auto scrolling. - (gtk_combo_box_list_auto_scroll): Scroll the list when the - pointer leaves the window. - -Sun Jul 25 19:51:17 2004 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll - events from the content of the page. (#148409, Gabriel - de Perthuis) - -Sat Jul 24 21:38:12 2004 Soeren Sandmann - - * gtk/gtktoolbar.c (internal_insert_element): Warn if you try to - add a tool item to a toolbar using the deprecated API. - -Fri Jul 23 13:04:10 2004 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_dest_set): Revert the change to - initialize target_list to an empty list instead of NULL, - since it broke tree dnd. (#148215, Ernst Persson) - - * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): - * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead - handle target list being NULL here. - -2004-07-23 Dafydd Harries - - * gtk/gtkradioaction.c: - * gtk/gtkradiobutton.c: - * gtk/gtkentry.c: - * gtk/gtkmisc.c: - Improve various translatable messages. (#137616) - -Fri Jul 23 11:11:10 2004 Matthias Clasen - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): - Align the entry in the same way as the cell. (#136749) - -Fri Jul 23 11:01:00 2004 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): - Don't iterate too far up. (#147965, Olivier Sessink) - -Fri Jul 23 10:28:43 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_finalize): - * gtk/gtkradioaction.c (gtk_radio_action_finalize): - * gtk/gtkfontsel.c (gtk_font_selection_finalize): - * gtk/gtkcellview.c (gtk_cell_view_finalize): - * gtk/gtkcalendar.c (gtk_calendar_finalize): - * gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove - unnecessary checks. (#148175, Morten Welinder) - -Thu Jul 22 01:42:16 2004 Matthias Clasen - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - Add a new :ellipsize property which controls ellipsization of the - rendered text. (#144835, Vincent Untz, patch by Jonathan Blandford - and Anders Carlsson) - - * gtk/gtkfilechooserdefault.c (create_file_list): Use ellipsization - for the name column. - -Thu Jul 22 01:21:28 2004 Matthias Clasen - - * gtk/gtkfontsel.c (gtk_font_selection_init): Add additional - accessability relations. (#141804, Padraig O'Briain) - -Thu Jul 22 01:16:23 2004 Matthias Clasen - - * gtk/gtkcombobox.c: Avoid some warnings. - -Thu Jul 22 01:05:16 2004 Matthias Clasen - - * configure.in: Require Pango 1.5.1 (for ellipsisation). - - * gtk/gtklabel.h: - * gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsize - property which controls ellipsization of the label. (#125250, - Tim Van Wassenhove, patch by James M. Cape) - - * tests/testellipsise.c: Simple test for ellipsizsation. - -Wed Jul 21 22:46:27 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the - list store. (#148134, Crispin Flowerday) - -Wed Jul 21 22:35:47 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the - menu. (#148110, Tommi Komulainen) - -Wed Jul 21 22:24:10 2004 Matthias Clasen - - * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak - tree model and tree row reference. (#148125, Crispin Flowerday) - -Wed Jul 21 22:17:06 2004 Matthias Clasen - - * tests/testcombo.c (main): Don't leak models. (#148128, - Tommi Komulainen) - -Wed Jul 21 21:26:08 2004 Matthias Clasen - - * gtk/gtkviewport.c (viewport_set_adjustment): Don't leak - the adjustments. (#148089, Tommi Komulainen) - -Wed Jul 21 21:20:21 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't leak - the adjustments. (#148073, Tommi Komulainen) - -Wed Jul 21 21:04:50 2004 Matthias Clasen - - * gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the - arrow. (#148064, Tommi Komulainen) - -2004-07-21 Matthias Clasen - - * gtk/gtkcalendar.c: Use the new text target functionality - in GtkTargetList instead of hardcoding a subset of text targets. - -Tue Jul 20 23:11:23 2004 Matthias Clasen - - * gdk/x11/gdkevents-x11.c: Hook up gtk-menu-bar-accel to - an XSetting, Gtk/MenuBarAccel. (#120859, Scott James Remnant) - -Tue Jul 20 22:26:29 2004 Matthias Clasen - - * gtk/gtkfilechooserutils.h: - * gtk/gtktoolbutton.c: - * gtk/gtktoolbar.c: - * gtk/gtkicontheme.c: - * gtk/gtkcalendar.c: - * demos/gtk-demo/ui_manager.c: - * demos/gtk-demo/appwindow.c: Remove trailing commas - from enumerations. (#148035) - -2004-07-20 Federico Mena Quintero - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Fix the - documentation comment for the editing-started signal. - - * gtk/gtkmarshalers.list: Added VOID:OBJECT,STRING for - GtkCellRenderer::editing-started. - -2004-07-20 Matthias Clasen - - * tests/testactions.c (main): - * tests/testmerge.c (main): Add some refcount debugging. - - * gtk/gtkuimanager.c (update_node, free_node): Ref an sink - all proxies, so that we can properly clean up floating proxies - which the app didn't adopt. (#147926, Tommi Komulainen) - -2004-07-20 Matthias Clasen - - Allow custom initialization of cell editables. (#147221) - - * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a - ::editing-started signal as a hook for setting up the - GtkCellEditable. - (gtk_cell_renderer_start_editing): ...and emit it here. - -Mon Jul 19 23:51:50 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Set drag_pos - before grabbing the focus, since we may reenter into - gtk_tree_view_motion_resize_column() which requires drag_pos - to be set. (#147913, Guilherme Salgado, patch by John Finlay) - -Mon Jul 19 23:51:50 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't - use uninitialized node pointer. (#147911, Peter Zelezny) - -Tue Jul 20 04:34:56 2004 Soeren Sandmann - - * configure.in: Bump version number - -Sun Jul 18 17:21:10 2004 Soeren Sandmann - - * === Released 2.5.0 === - - * NEWS: updates - - * tests/testcombo.c: Fix compilation - -2004-07-19 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_set_popup_completion): - Fix doc comment. - -2004-07-19 Matthias Clasen - - Make GtkCellView public, since people seem to have uses for it, - it is clean API and we were just conservative in not making it - public initially. At the same time, get rid of GtkCellViewMenuItem, - which doesn't have any function which can't be served by a - GtkMenuItem with a GtkCellView child. (#136637, Padraig O'Briain) - - * gtk/gtk.h: Include gtkcellview.h - - * gtk/Makefile.am (gtk_public_h_sources): - - * gtk/Makefile.am (gtk_private_h_sources): - (gtk_c_sources): Remove gtkcellviewmenuitem.[hc] - * gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by - GtkMenuItem with a GtkCellView child. - - * gtk/gtkcellviewmenuitem.[hc]: Removed. - -2004-07-19 Matthias Clasen - - Support inline autocompletion in entries (#135953) - - * gtk/gtkentryprivate.h: - * gtk/gtkentrycompletion.h: - * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): - Add a new signal ::insert-prefix which can be used to override - the default inline-completion behaviour. Add two new boolean - properties, :popup_completion and :inline_completion which - determine how the possible completions should be presented. - (gtk_entry_completion_insert_prefix): New function to request - a prefix insertion. - - * gtk/gtkentry.c: Add the necessary glue for inline completion. - -Sun Jul 18 15:28:24 2004 Soeren Sandmann - - * gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an - empty target list if targets is NULL. - - * configure.in: Add check for X11/extensions/sync.h. (#147416, - Morten Welinder) - -Sun Jul 18 01:24:31 2004 Matthias Clasen - - * NEWS: Updates for 2.5.0 - -Sat Jul 17 23:11:04 2004 Matthias Clasen - - * gtk/gtkiconview.h: - * gtk/gtkiconview.c (gtk_icon_view_class_init): - * gtk/gtkiconview.c (gtk_icon_view_set_orientation): - * gtk/gtkiconview.c (gtk_icon_view_get_orientation): - * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): - * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): - Add a new :orientation property to determine whether text - is positioned below or beside icons. (#147463) - -Sat Jul 17 23:03:30 2004 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_paint_item): - * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): - * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Draw - focus indicator outside the selection, respect focus - line width. (#147460) - -Sat Jul 17 01:17:33 2004 Matthias Clasen - - * gdk/x11/gdkdnd-x11.c (xdnd_check_dest): Fix a warning - message. - -Sat Jul 17 00:48:27 2004 Matthias Clasen - - Support text/plain selection target (#55117, Owen Taylor) - - * gtk/gtkselection.h: - * gtk/gtkdnd.h: - * gtk/gtkselection.c (gtk_target_list_add_text_targets): - * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): - * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New - functions to facilitate handling of text targets. - - * gtk/gtkentry.c: - * gtk/gtktextview.c: Use the new text target handling - functions instead of hardwiring the list of supported - text targets everywhere. - - * gtk/gtkselection.c (gtk_selection_data_get_text): - (gtk_selection_data_set_text): - Support the targets text/plain, text/plain?charset=utf-8 - and text/plain?charset= as outlined in - #55117: - For text/plain send only ASCII, but accept 8-bit text - and treat it as ISO-8859-1 as specified by the Xdnd spec. - Always send CRLF terminators. Accept either and convert - into the native terminator for the platform. - -Fri Jul 16 23:20:34 2004 Matthias Clasen - - Support themed window icons. (#92346, Calum Benson) - - * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): New - function to obtain information about the sizes in which an - icon is available. - - * gtk/gtkwindow.h: - * gtk/gtkwindow.c (gtk_window_class_init): - (gtk_window_set_icon_name): - (gtk_window_get_icon_name): Add an "icon_name" property - (gtk_window_set_default_icon_name): ...and a default icon name. - (icon_list_from_theme): - (update_themed_icon): New auxiliary functions to create a - list of all available sizes of a themed icon and update the - window icon list from it. - -2004-07-16 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_scroll_event): Make - scrolling work if no item is selected. - (gtk_cell_editable_key_press): Don't eat space. - - Add a combo box cell renderer (#139347, Lorenzo Gil Sanchez) - - * gtk/gtkcellrenderercombo.[hc]: New Files. - - * gtk/gtk.h: - * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): - Add the new files. - - * gtk/gtkcombobox.[hc]: Implement GtkCellEditable, add a - :has-frame property for suppressing the frame around - the child and redo the size allocation logic to take - focus width into account. - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): - Acknowledge the GtkComboBox:has-frame property and make - the entry fill its allocation vertically. - - * gtk/gtkmarshalers.list: Add BOOLEAN:STRING. - - * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Queue - a draw here to keep non-widget windows from leaving - shadows behind. - -2004-07-16 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate - multiple times over some of the children. - -Thu Jul 15 22:19:40 2004 Matthias Clasen - - Fix #60128, #58307, #144706: - - * gtk/gtkstyle.c (gtk_style_real_copy): Handle references - to bg_pixmaps properly. - (gtk_style_real_unrealize): Don't keep dangling references - to the bg_pixmaps. - (gtk_style_attach): Split the loop into two loops, first - looking for a matching style, then for an empty one. - (gtk_style_finalize): - (gtk_style_duplicate): Add comments explaining the handling - of style->styles. - -Thu Jul 15 20:31:28 2004 Matthias Clasen - - * gtk/gtkspinbutton.c (start_spinning): Install the timeout - before changing the value, so that a ::value_changed handler - has a chance to remove it. (#122427, Elke Meier) - -Thu Jul 15 19:20:05 2004 Matthias Clasen - - * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): - * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot' - instead of 'can not' in messages. (#144226, Morten Welinder) - -2004-07-15 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_class_init): - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): - Correct the declared default values of several properties - to be in sync with the actual initial values. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): - Make spacing a property, correct the declared default values - of several properties to be in sync with the actual initial - values. (#147654, Matthias Clasen) - - * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Don't reparent - back to menu->toplevel if it is already gone because we're - shutting down. (#147656, John Cupitt) - -2004-07-14 Federico Mena Quintero - - Fix #126295: - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus - indicator along the edge of the bin_window when the tree is empty. - (grab_focus_and_unset_draw_keyfocus): New helper function. - (gtk_tree_view_button_press): Remove a bit of superfluous code. - Use the helper function to save on duplicated code. - (gtk_tree_view_button_press): Grab the focus if the tree is empty. - (gtk_tree_view_focus): Allow focusing into an empty tree. - -2004-07-14 Matthias Clasen - - * gtk/gtkaboutdialog.c (add_credits_page): Don't use - gcc extensions for the ternary ?: operator. (#147590, - Damien Carbery) - -2004-07-14 Federico Mena Quintero - - Fix #144405, patch by Padraig O'Briain : - - * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Set the - accessible object name for the tree view. - (create_file_list): Likewise. - -Tue Jul 13 21:53:08 2004 Matthias Clasen - - * gtk/gtkicontheme.c (free_unthemed_icon): Don't leak - no_svg_filename. (#147399, Kjartan Maraas) - -2004-07-13 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): - Make this work in RTL context. - -2004-07-13 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Set a - busy cursor while mounting the volume. Also, ref the chooser - while mounting, as we may re-enter. Fixes #139376. - -2004-07-13 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): - Prepare to handle composite implementations of - GtkCellEditable, but recursively poking at - allocation->y (hack stolen from GtkCList). - (check_expander_max): Tweak the warning. - - * gtk/gtkmain.h: Add gtk_parse_args(), its a public - function. (#147476, Owen Taylor) - - * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't - crash if unrealized. - -Tue Jul 13 01:50:06 2004 Matthias Clasen - - * gtk/gtkaboutdialog.c (display_credits_dialog): Don't - display untranslated translator credits. - -Tue Jul 13 01:15:05 2004 Matthias Clasen - - * gtk/gtkiconview.c: Some documentation updates. - -Tue Jul 13 00:40:29 2004 Soeren Sandmann - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an - empty begin_paint_region()/end_paint() for windows without - EXPOSURE_MASK. - - * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg, - _gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK. - -2004-07-12 Matthias Clasen - - * demos/gtk-demo/appwindow.c: Use a GtkAboutDialog. - - * gtk/gtkaboutdialog.h: - * gtk/gtkaboutdialog.c: New widget: GtkAboutDialog. - - * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): - * gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli, - patch by Matthias Clasen) - - * gtk/gtkrc.c (_gtk_rc_init): Apply the gtk-default-menu-item-style - to cell view menu items as well. (#147405, John Cupitt) - - * gtk/gtkentrycompletion.c: Warning fixes. (#147420, - Morten Welinder) - - * gtk/gtkcombobox.c (gtk_combo_box_destroy): Pop down - first. (#147399, John Cupitt) - -Mon Jul 12 01:56:26 2004 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents): - Include the update_counter check in the HAVE_XSYNC condition, - since update_counter isn't present in the !HAVE_XSYNC case. - -Mon Jul 12 00:52:04 2004 Matthias Clasen - - * gtk/stock-icons/Makefile.am: - * gtk/stock-icons/stock_about_{16,24}.png: - * gtk/stock-icons/stock_connect_{16,24}.png: - * gtk/stock-icons/stock_disconnect_{16,24}.png: - * gtk/stock-icons/stock_edit_{16,24}.png: - * gtk/stock-icons/stock_media_forward_{16,24}.png: - * gtk/stock-icons/stock_media_next_{16,24}.png: - * gtk/stock-icons/stock_media_pause_{16,24}.png: - * gtk/stock-icons/stock_media_play_{16,24}.png: - * gtk/stock-icons/stock_media_previous_{16,24}.png: - * gtk/stock-icons/stock_media_record_{16,24}.png: - * gtk/stock-icons/stock_media_rewind_{16,24}.png: - * gtk/stock-icons/stock_media_stop_{16,24}.png: - * gtk/gtkstock.h (GTK_STOCK_ABOUT): - * gtk/gtkstock.h (GTK_STOCK_CONNECT): - * gtk/gtkstock.h (GTK_STOCK_DISCONNECT): - * gtk/gtkstock.h (GTK_STOCK_EDIT): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND): - * gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP): - * gtk/gtkiconfactory.c (get_default_icons): - * gtk/gtkstock.c (builtin_items): Add a number of new stock - items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte, - Michael Opdenacker) - -Sun Jul 11 15:24:03 2004 Soeren Sandmann - - Bug 143330, support update counter spec. - - * configure.in: Add check for the Sync extension - - * gdk/gdkwindow.h: gdk_window_enable_synchronized_configure() and - gdk_window_configure_finished() - - * gtk/gtkwindow.c (gtk_window_move_resize): Call gdk_window_finish_configure(). - * gtk/gtkwindow.c (gtk_window_realize): Automatically enable - synchronized configures. - - * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store current - and pending counter values. - - * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): New function. - * gdk/x11/gdkwindow-x11.c - (gdk_window_enable_synchronized_configure): New function. - * gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents): - Delete update counter. - * gdk/x11/gdkwindow-x11.c (set_wm_protocols): Advertise - _NET_WM_SYNC_REQUEST when Sync is available - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Handle - _NET_WM_SYNC_REQUEST messages - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Save counter - value for use by gdk_window_configure_finished() when receiving - ConfigureNotifies. - - * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add use_sync flag - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Check if the XSync - extension is available - * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_SYNC_REQUEST and - _NET_WM_SYNC_REQUEST_COUNTER to list of supported atoms. - - * gdk/linux-fb/gdkwindow-fb.c, gdk/win32/gdkwindow-win32.c: Add - stubs for enable_synchronized_configure() and configure_finished() - -Sat Jul 10 23:35:13 2004 Matthias Clasen - - * gtk/gtkentry.c (paste_received): Make middle-button pasting - work as expected inside the entry. (#116789, Scott Bronson) - -Sat Jul 10 22:13:53 2004 Matthias Clasen - - * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): Update - clipboards. (#142805, Mikael Hallendal) - -Sun Jul 11 01:38:48 2004 Soeren Sandmann - - * gtk/gtkpaned.c (gtk_paned_expose): Remove clip-region computing - code. Just use &paned->handle_pos. - -Sun Jul 11 01:12:50 2004 Soeren Sandmann - - Bug 144271 - - * gtk/gtknotebook.c (gtk_notebook_size_allocate): Remove an - unnecessary redraw.. - - * gtk/gtknotebook.c (gtk_notebook_page_allocate): Remove some - incorrect redraws. - -Sat Jul 10 01:33:25 2004 Matthias Clasen - - * docs/RELEASE-HOWTO: Updates. - -Sat Jul 10 01:55:29 2004 Soeren Sandmann - - * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{re|un}set_bg): - Insert checks for root window. The root window is never mapped. - -Sat Jul 10 01:06:05 2004 Soeren Sandmann - - * gdk/x11/gdkwindow-x11.c (post_unmap): Fix a warning - * gdk/x11/gdkwindow-x11.c (show_window_internal): Actually unset - bg. - -Sat Jul 10 00:37:45 2004 Soeren Sandmann - - Bug 113310. - - * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg): - New functions that can do a recursive unset/reset bg. - - * gdk/x11/gdkgeometry-x11.c: Remove - gdk_window_tmp_{un|re}set_bg(). - - * gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions - called before and after unmapping a window. They unset the - background of all other windows to prevent flicker from the X - server repainting the background. post_unmap() also invalidates - the parent of the unmapped window to draw it without roundtrips. - - * gdk/x11/gdkwindow-x11.c (show_window_internal): Unset - background of newly mapped windows and all desendants to prevent - flicker. - -Fri Jul 9 15:33:55 2004 Manish Singh - - * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch - statements to avoid gcc warnings about not all enum values handled. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in - #ifdef HAVE_XFIXES. - -Fri Jul 9 23:26:09 2004 Soeren Sandmann - - (Bug 113340) - - * gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an - "override_redirect" bit. - - * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set it here. - - * gdk/x11/gdkwindow-x11.c (gdk_window_move, gdk_window_resize, - gdk_window_move_resize): - Update the local size/position cache - immediately for override redirect windows. - - * gdk/x11/gdkwindow-x11.c (show_window_internal): Invalidate - newly mapped child and override redirect windows. - -2004-07-09 Federico Mena Quintero - - Fixes #137031: - - * gtk/gtkfilesystemunix.c (get_fallback_icon): New helper - function, fetches a stock icon as a fallback. - (gtk_file_system_unix_volume_render_icon): Fall back to a stock - icon. - (gtk_file_system_unix_render_icon): Fall back to a stock icon. - Use helper functions rather than being a mega-function. - (get_icon_name_for_directory): Renamed from - get_icon_for_directory(). - (get_icon_type_from_path): New helper function; code pulled out - from gtk_file_system_unix_render_icon(). - (get_special_icon): Likewise. - (get_icon_for_mime_type): Likewise. - -2004-07-09 Federico Mena Quintero - - * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Fix typo; tmp_event -> - temp_event. - -2004-07-09 Matthias Clasen - - * gtk/gtktooltips.c (gtk_tooltips_paint_window): Use the - requisition of the widget instead of relying on the style - drawing function to supply the size of the drawable. (#146531) - -2004-07-09 Matthias Clasen - - Make GtkEntry work harder to protect passwords: (#143955, - Morten Welinder) - - * gtk/gtkentry.c (gtk_entry_destroy): Add a destroy handler - to clear the password even if the widget is leaked. - - * gtk/gtkentry.c (gtk_entry_real_delete_text): - * gtk/gtkentry.c (gtk_entry_finalize): Zero out the memory - before freeing it. - - * gtk/gtkentry.c (gtk_entry_real_insert_text): Zero and free - the old memory instead of just reallocating it. - - * gtk/gtkentry.c (gtk_entry_create_layout): Don't leak text - direction information for passwords. - -2004-07-09 Matthias Clasen - - * gtk/gtkstyle.c: Fix some cases where style functions were - not handling widget == NULL properly. (#146282) - -Thu Jul 8 22:38:58 2004 Matthias Clasen - - * gtk/gtktreeview.c: Improve the EXPANDER_MAX warning. - -2004-07-08 Federico Mena Quintero - - Fix #139290: - - * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Add a - GError argument. Do check for errors when getting the - GtkFileFolder: get the folder and read the children before - actually creating the model. Removed obsolete code that handled - roots-changed on the file system. - (file_model_node_get_info): Assert that we don't reach the old - case to display file system roots. - (roots_changed_callback): Removed. - - * gtk/gtkfilechooserdefault.c (set_list_model): Add a GError - argument, and a boolean return value. Return an error if we - cannot create the file system model. On error, set a NULL model - on the tree. - (gtk_file_chooser_default_set_current_folder): Use the error value - from set_list_model(). - (gtk_file_chooser_default_set_property): Set the show_hidden - property only if the browse_files_model exists. - (gtk_file_chooser_default_unselect_path): Only operate if the - browse_files_model exists. - (check_preview_change): Check whether we have the sort_model. - (change_folder_and_display_error): Copy the path we get passed - before using it. There's a comment in there that explains why we - need to copy it; basically, if the passed path belongs to the - model, the model may go away in the middle of this function and - we'll be left with a dangling pointer. - (install_list_model_filter): Assert that the model is not NULL. - (set_current_filter): Check whether the model exists. - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Don't - g_return_if_fail if the model is NULL. - (gtk_tree_selection_get_selected_rows): Likewise. - (gtk_tree_selection_count_selected_rows): Likewise. - (gtk_tree_selection_selected_foreach): Likewise. - (gtk_tree_selection_path_is_selected): Likewise; rather just - return FALSE. - (gtk_tree_selection_select_all): Likewise. - (gtk_tree_selection_unselect_all): Likewise. - (gtk_tree_selection_select_range): Do g_return_if_fail() if the - model is NULL. - (gtk_tree_selection_unselect_range): Likewise. - - * gtk/gtkfilesystemunix.c (fill_in_names): Return immediately if - g_dir_open() fails: there is no need to set the error ourselves, - as g_dir_open() already does it. - -2004-07-08 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow - to restore the default search function. (#145365, John Finlay) - - * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak - references to the drag context. (#144324, Alex Larsson) - -Thu Jul 8 00:31:34 2004 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing - when a new model is set. (#145566, Dmitry M. Shatrov) - -Wed Jul 7 23:44:32 2004 Matthias Clasen - - * gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs - are properly aligned for gdk_pixbuf_saturate_and_pixelate(), - in order to avoid rendering artifacts from misaligned - pixelation patterns. (#145585, Felipe Heidrich, Billy Biggs) - -2004-07-07 Matthias Clasen - - * gtk/gtktreeview.c: - * gtk/gtktreeview.h: Small documentation fixes. - -2004-07-07 Matthias Clasen - - Support separators in combo boxes and more generally in tree - views (#135873): - - * gtk/gtkcombobox.h: - * gtk/gtkcombobox.c (gtk_combo_box_get_row_separator_column): - * gtk/gtkcombobox.c (gtk_combo_box_set_row_separator_column): - Add a ::row-separator-column property with getter and setter, - which can indicate a boolean model column to determine which - rows are separators. - - * gtk/gtkcombobox.c: Display separator rows as separator menu - items in menu mode, and by using the new treeview separator - functionality in list mode. - - * gtk/gtktreeview.h: - * gtk/gtktreeprivate.h: - * gtk/gtktreeview.c (gtk_tree_view_get_row_separator_func): - * gtk/gtktreeview.c (gtk_tree_view_set_row_separator_func): - Add a callback to determine whether a row is a separator. - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): - * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): - * gtk/gtktreeview.c (validate_row): Use the new callback - to determine whether a row is a separator, and draw it - as a separator then. Since separators should take up less - vertical space than regular rows, this requires removing - the redundant MAX(...,expander_size) calls which appear in - many places. Instead, the MAX() is now only done in - validate_row(), and only if the row is not a separator. - To catch possible side effects of this intrusive change, - I have left EXPANDER_MAX() calls in place of the MAX() calls - which will emit a warning if something breaks. They should - be removed before 2.6. - - * gtk/gtktreeselection.c (row_is_selectable): Don't let - separator rows be selected. - - * tests/testcombo.c (create_blaat): Add a separator column. - -Tue Jul 6 22:58:00 2004 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Fix - a 64bit alignment issue. (#144302, Sunil) - -2004-07-07 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) - * gdk/win32/gdkfont-win32.c (gdk_text_extents) - * gdk/win32/gdkproperty-win32.c (find_common_locale, - gdk_property_change) - * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Use - g_utf8_to_utf16() instead of the removed _gdk_utf8_to_ucs2() (see - below). - - * gdk/win32/gdkglobals-win32.c - * gdk/win32/gdkmain-win32.c (_gdk_windowing_init) - * gdk/win3/gdkprivate-win32.h: Add a variable for the TARGETS - atom. Initialize it. Declare it. Drop the variable for the - COMPOUND_TEXT atom. - - * gdk/win32/gdkim-win32.c (gdk_wcstombs): Don't return UTF-8. This - function is supposed to return the string in the locale's charset - and encoding. Use g_convert(). - - (gdk_mbstowcs): Similarily, don't take an UTF-8 string, but a - string in the locale's charset. Use g_convert(). - - (_gdk_ucs2_to_utf8, _gdk_utf8_to_wcs, _gdk_utf8_to_ucs2): - Delete. The UCS-2 functions didn't handle surrogates anyway. Use - GLib's UTF-16 functions instead. Windows uses UTF-16. - - * gdk/win32/gdkprivate-win32.h: Remove declarations of the deleted - functions mentioned above. - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): Use CF_TEXT - also if the string is of type STRING, i.e. ISO-8859-1, and the - current codepage is 1252, and contains no C1 chars. Accept - also UTF8_STRING. - - * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store): - Mark as static. When storing STRING data, convert to - Latin-1. (#140537) - (gdk_selection_owner_set_for_display): Now that STRING is always - ISO-8859-1, use UTF8_STRING when sending the selection request - to ourselves. - - (gdk_selection_convert): Handle also UTF8_STRING. (#140537, John - Ehresman) - - (gdk_text_property_to_text_list_for_display): Make work more like - X11 version. Do obey the encoding parameter. - - (gdk_string_to_compound_text_for_display, - gdk_utf8_to_compound_text_for_display): Don't even pretend - supporting COMPOUND_TEXT. - - (gdk_utf8_to_string_target): Convert to ISO-8859-1, like on X11. - - (sanitize_utf8): Zero-terminate string. - -2004-07-06 Matthias Clasen - - * gtk/stock-icons/Makefile.am: Add stock_file_16.png, - stock_file_24.png, stock_directory_16.png and stock_directory_24.png. - - * gtk/gtkstock.h (GTK_STOCK_FILE, GTK_STOCK_DIRECTORY): - * gtk/gtkiconfactory.c (get_default_icons): New stock icons as - fallbacks for gtkfilechooser. Currently these are the same images - as the "new" and "open" items... - -Tue Jul 6 10:00:22 2004 Jonathan Blandford - - Fix for #136496, Pawel Salek: - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): Queue a redraw on - a node when it changes in fixed_height mode. - - (gtk_tree_view_node_queue_redraw): new function to queue a redraw - on a node. - -2004-07-06 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_position): Make sure - private->monitor_num is a valid monitor number before - using it. (#139187, Michael Natterer) - -Tue Jul 6 02:00:28 2004 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (popup_position_func): - * gtk/gtkentry.c (popup_position_func): - * gtk/gtktextview.c (popup_position_func): Improve positioning - of keyboard-activated menus with Xinerama. - -Tue Jul 6 00:29:03 2004 Matthias Clasen - - * gtk/gtkuimanager.c (do_updates): - (do_updates_idle): Only call GDK_THREADS_ENTER() / _LEAVE() - when called from an idle handler. (#145429, Jan-Marek Glogowski) - -Mon Jul 5 23:47:38 2004 Matthias Clasen - - * gtk/gtkfilechooserutils.c (delegate_notify): Use - the less efficient g_object_interface_find_property () instead - of the param_id range check, since the GParamSpecs we're - dealing with are the overridden onces on the interface, whose - param_id is always zero. (#145312, Alex Roitman, fix proposed - by Owen Taylor) - -2004-07-05 Lorenzo Gil Sanchez - - * gtk/gtklayout.c (gtk_layout_add): added a default method for the add - virtual method of GtkContainer. - (gtk_layout_class_init): assign gtk_layout_add to the 'add' virtual - method slot of the container class. - -2004-07-05 Anders Carlsson - - * gtk/gtkiconview.c: (gtk_icon_view_set_markup_column): - * gtk/gtkiconview.h: - Use gint, not int in gtk_icon_view_set_markup_column, - (Paolo Maggi) - -2004-07-05 Anders Carlsson - - * gtk/gtkiconview.c: (gtk_icon_view_class_init), - (gtk_icon_view_real_select_cursor_item), - (gtk_icon_view_real_activate_cursor_item): - * gtk/gtkiconview.h: - Add an "activate_cursor_item" action signal - and bind it to the return key. - -2004-07-04 Anders Carlsson - - * demos/gtk-demo/Makefile.am: - * demos/gtk-demo/gnome-fs-directory.png: - * demos/gtk-demo/gnome-fs-regular.png: - * demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store), - (sort_func), (create_store), (item_activated), (up_clicked), - (home_clicked), (do_iconview): - Add a simple file browser based on the icon view. - - * gtk/gtk.h: - Add gtk/gtkiconview.h - - * gtk/gtkiconview.c: (gtk_icon_view_layout), - (gtk_icon_view_item_new), (gtk_icon_view_item_activated): - Fix a few bugs discovered while writing the demo. - -2004-07-04 Anders Carlsson - - * gtk/Makefile.am: - * gtk/gtkiconview.c - * gtk/gtkiconview.h: - Add GtkIconView to the build, remove debugging output. - -Sun Jul 4 01:29:35 2004 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_drag_data_get): - (gtk_calendar_drag_data_received): Fix off-by-one error. - GDate month is one-based and GtkCalendar month is zero-based. - (#145134, William Jon McCann) - -Sun Jul 4 01:11:07 2004 Matthias Clasen - - * gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if - somebody tries to move a node after itself in a list of - length 1. (#145291, Sampo Nurmentaus) - -Sat Jul 3 23:43:23 2004 Matthias Clasen - - * docs/faq/gtk-faq.sgml: - * gtk/gtkwindow.c: Fix links to www.freedesktop.org. (#145210, - Billy Biggs) - -Sat Jul 3 02:09:51 2004 Matthias Clasen - - * gtk/gtksocket.c (gtk_socket_end_embedding): Reset current_width - and current_height to 0 when ending the embedding. (#143675, - Nickolay V. Shmyrev) - -Sat Jul 3 01:48:19 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_move_visually): Let the cursor move - to the right end of the entry text, even if it ends in combining - marks. (#141728, Theppitak Karoonboonyanan) - -Fri Jul 2 23:34:33 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Unset the displayed - row when unsetting the model. (#138560, Christian Persch) - -Fri Jul 2 23:01:07 2004 Matthias Clasen - - * gtk/gtkcombobox.c (update_menu_sensitivity): Don't crash if there - are no items. - -Fri Jul 2 22:41:27 2004 Matthias Clasen - - * gtk/gtkimage.c (gtk_image_expose): Properly align mask and - pixbuf if a subarea is exposed. (#135423, fix by John Ehresman) - -Fri Jul 2 21:40:21 2004 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_realize): Add scroll events - to the event mask, set a scroll_event handler. - * gtk/gtknotebook.c (gtk_notebook_scroll): Handle scroll events - by switching tabs. (#145244, Gabriel de Perthuis) - -2004-07-02 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_set_model): - Make sure we check for a NULL model first. - -2004-07-01 J. Ali Harlow - - * gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix - win32 build problem w/o wintab. Fixed #145242 - -2004-06-30 Anders Carlsson - - * gtk/gtktreeview.c (gtk_tree_view_set_model): Use - g_return_if_fail to make sure that the model is a GtkTreeModel. - -Sat Jun 26 17:41:10 2004 Soeren Sandmann - - * gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the - current state, not GTK_STATE_NORMAL - - * gtk/gtkframe.c (gtk_frame_paint): Fix a rounding error - -Sat Jun 26 15:07:25 2004 Soeren Sandmann - - * gtk/gtkstyle.c, gtk/gtkrc.c: small color tweak. (#141173) - -Sat Jun 26 01:15:40 2004 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c (set_initial_hints): Handle - _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. (#144851, - Billy Biggs) - -Sat Jun 26 01:04:31 2004 Matthias Clasen - - * gtk/gtkiconfactory.c (clear_cache): Prevent unwanted - recursion by resetting icon_set->cache before freeing - the cache. (#144947, Tim Janik) - -Sat Jun 26 00:40:02 2004 Matthias Clasen - - * gtk/gtkiconfactory.c (render_icon_name_pixbuf): - * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): - * gtk/gtkstyle.c (gtk_default_render_icon): Accept a NULL - style. - -Sat Jun 26 00:04:36 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model): - * gtk/gtkcombobox.c (gtk_combo_box_set_model): Reflect the - last change in the docs. - -Fri Jun 25 23:35:42 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model): - * gtk/gtkcombobox.c (gtk_combo_box_set_model): Allow passing - NULL to unset the model. (#137211, patch by Mariano Suárez-Alvarez) - -Fri Jun 25 23:33:05 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Fix the - placement policy for GtkComboBoxEntry to be: if it fits below, - place below, if it fits above place above, else place in the - larger space and scroll so that the scroll arrow appear at the - far end. (#144362, David A. Knight) - -Fri Jun 25 22:49:58 2004 Matthias Clasen - - * gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized - use of &parent_iter. (#145007, John Finlay) - -2004-06-25 Bastien Nocera - - reviewed by: Matthias Clasen - - * gdk/x11/gdkkeys-x11.c: (get_symbol), (update_keymaps), - (gdk_keymap_lookup_key), (translate_keysym): fix keys parsing when - the number of keysyms per keycode is odd. Fixes #144808. - -2004-06-25 Matthias Clasen - - * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid - a crash if the font doesn't exist. (#144967, Yevgen Muntyan) - -Fri Jun 25 00:32:15 2004 Matthias Clasen - - * gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change - which was mentioned below. - -Thu Jun 24 23:35:09 2004 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_class_init): Fix a typo, - string change. (#139503, Baris Cicek) - -2004-06-22 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a Save - or an Open stock button for the C-l dialog depending on the action - in which the file chooser operates. Fixes #141753. - -2004-06-22 Federico Mena Quintero - - Fixes the GTK+ part of #142308: - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_filename_to_path): - Use filename_to_path(). - (gtk_file_system_unix_uri_to_path): Likewise. - (filename_to_path): Use remove_trailing_slash(). - -2004-06-22 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs - for the ::move_cursor signal. - - * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept - "" as a valid accel path. (#144427, Philip - Kendall) - - * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure - this gets defined for all backends, so linux-fb has a - chance of compiling. - - * gdk/x11/gdkgc-x11.c: - * gdk/gdkgc.c: Move function docs inline, add hints about - obtaining rgb colors from gcs. (#144688, Steve Chaplin) - - * gtk/gtktreestore.c (gtk_tree_store_swap): Make this work - for children of the root. (#139785, Jean-François Wauthy, - patch by John Finlay) - - * gtk/gtkicontheme.h (GTK_ICON_THEME_GET_CLASS): Typo - fix. (#144750, Jeff Franks) - -2004-06-21 Michael Natterer - Merge from stable: - - * gdk/x11/gdkdrawable-x11.[ch]: made convert_format() utility - function public as _gdk_x11_convert_to_format(). - - * gdk/x11/gdkcursor-x11.c (create_cursor_image): premultiply - the pixels from the GdkPixbuf when putting them in the - Xcursor image. Fixes bug #144350. - -2004-06-16 Federico Mena Quintero - - * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a - visible node, free the old path before creating the new one. - Fixes #144356. - -Tue Jun 15 01:10:32 2004 Matthias Clasen - - * gtk/gtkcombobox.c: Make GtkComboBox work without model. - (#144198, Mariano Suárez-Alvarez) - -Fri Jun 11 22:05:56 2004 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Don't use - contractions like "don't" or "isn't" in error messages. - It isn't nice to use them in log entries either... - (#137774, Morten Welinder, patch by Alexander Winston) - -2004-06-11 Federico Mena Quintero - - Fixes #143578: - - * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_add_editable): - Don't ref the editable node. - (_gtk_file_system_model_remove_editable): Don't unref the editable node. - (_gtk_file_system_model_remove_editable): Ahem, free the node. - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): - Added fields for edited_idle and edited_new_text. - (renderer_edited_cb): Queue the - creation of the folder in an idle handler. - (renderer_editing_canceled_cb): Likewise for the cancellation. - (gtk_file_chooser_default_finalize): Free the impl->edited_new_text. - -Thu Jun 10 22:12:26 2004 Matthias Clasen - - * gtk/gtkmain.c (gtk_parse_args): Typo fix. - -2004-06-10 Federico Mena Quintero - - Fixes #144110, patch by Bastien Nocera . - - * gtk/gtkfilechooser.c (gtk_file_chooser_list_shortcut_folders): - Refer to gtk_file_chooser_add_shortcut_folder(). - (gtk_file_chooser_list_shortcut_folder_uris): Refer to - gtk_file_chooser_add_shortcut_folder_uri(). - -Thu Jun 10 00:36:15 2004 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_main_button): Start - the drag before focusing the selected.day. - * gtk/gtkcalendar.c (gtk_calendar_state_changed): Stop - a beginning drag if the widget becomes insensitive. - -Thu Jun 10 00:09:06 2004 Matthias Clasen - - * gtk/gtkcalendar.c (gtk_calendar_button_press): Start - spinning before calling arrow_action(), so that a signal - handler triggered from arrow_action() has a chance to - stop the spinning. (#143966, Davyd Madeley) - -Wed Jun 9 23:11:23 2004 Matthias Clasen - - * gtk/gtkstyle.c (_gtk_style_init_for_settings): Fix a - typo. (#144070, Kent Sandvik) - -Thu Jun 10 00:22:51 2004 Soeren Sandmann - - * gtk/gtkmenu.c: Revert the "drag select" part of - #141169. (#144011). - -Mon Jun 7 23:07:40 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_remeasure): Handle - priv->model being NULL. (#143856, Mariano Suárez-Alvarez) - -2004-06-07 Federico Mena Quintero - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Revert the patch - from 2003/Sep/12. This kept DnD in tree views within modal - dialogs from working, which is especially bad for the file - chooser. Fixes #135168. - -Sun Jun 6 23:57:21 2004 Matthias Clasen - - Make the entry context menu work in editable text cells. The changes - are based on a patch by Kristian Rietveld, which implemented an - approach outlined by Owen Taylor. (#50075) - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): - Ignore focus out if the entry menu is posted. - (gtk_cell_renderer_text_populate_popup): Mark the entry menu as - posted, and set up a signal handler to clear the flag if the menu - is unmapped. - (gtk_cell_renderer_text_popup_unmap): Clear the in_entry_menu flag, - set up a timeout to stop editing if the focus is lost. - (popdown_timeout): Stop editing if the entry doesn't have focus anymore. - (gtk_cell_renderer_text_start_editing): Connect to the populate_popup - signal on the entry and keep a pointer to the entry. - (gtk_cell_renderer_text_editing_done): Disconnect from popuplate_popup, - clear the pointer to the entry. - -Sun Jun 6 23:24:43 2004 Matthias Clasen - - * gtk/gtktexttag.c (gtk_text_tag_class_init): Improve the description - of the ::language property. (#143802, Owen Taylor) - -Sat Jun 5 23:07:30 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c: (gtk_entry_completion_init), - (gtk_entry_completion_list_enter_notify), - (gtk_entry_completion_list_motion_notify), - (_gtk_entry_completion_popup), (_gtk_entry_completion_popdown): - * gtk/gtkentryprivate.h: Add an ignore_enter flag and - use it as in the menu code to avoid the initial selection if - the window pops up under the pointer. (Anders Carlsson) - -Sat Jun 5 20:05:39 2004 Soeren Sandmann - - * tests/testmerge.c: Add a checkbox to queue an - merge/unmerge. Patch from Matthias Clasen. - - * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag - "need_rebuild" - (rebuild_menu): New function that rebuilds the overflow menu and - makes sure it doesn't start or end with a separator. - (toolbar_content_new_tool_item) - (toolbar_content_remove) - (toolbar_content_new_compatibility): Set the rebuild_needed flag - (gtk_toolbar_size_allocate): Only show the overflow arrow when we - have actually overflown an item with a proxy menu item. Also make - sure we rebuild the menu if needed. - - Fix #125504, #142377, #143463 - - * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose): - Obey the "priv->draw" flag. (#143692) - -2004-06-04 Matthias Clasen - - * docs/widget_geometry.txt: Add a note about the !CAN_FOCUS - quirk in the button size allocation code. - - * gtk/gtkbutton.c (gtk_button_size_allocate): Give the space - requested for drawing the focus indicator to the child in the - !CAN_FOCUS case. This should fix issues which the Gimp has with - the button allocation changes in 2.4.2. - -Thu Jun 3 21:17:29 2004 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_completion_timeout): Calculate the - length of the entry contents in characters, not in bytes. - - * gtk/gtkentry.c (paste_received): Don't pop up the completion - window on paste, noticed by Anders Carlsson. - -Thu Jun 3 20:56:19 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed - values and default value for the ::active property. (#143669, - Olivier Andrieu) - -2004-06-03 Michael Natterer - - * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition() - instead of accessing item->image->allocation.width/height - directly. Makes widgets which only have a requisition set using - gtk_widget_set_size_request() work and fixes bug #142789. - -Thu Jun 3 08:07:59 2004 Soeren Sandmann - - * gtk/gtkmenu.c: Revert previous commit. It caused the problem - of sticky right click menus to return. - -Wed Jun 2 01:56:02 2004 Soeren Sandmann - - * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to - better handle the "click" case. bug Better fix for #141169. - -2004-06-02 Federico Mena Quintero - - * gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the - model is empty. Fixes #143536. - -2004-06-02 Matthias Clasen - - * gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't - close the dialog on focus out of the size entry. (#143505, - David Hawthorne) - -2004-06-02 Federico Mena Quintero - - Fix #138807. - - * gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument. - (gtk_fnmatch_intern): Likewise; also implement this option. - - * gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype. - - * gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the - no_leading_period argument of _gtk_fnmatch(). - (attempt_file_completion): Likewise. - - * gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the - no_leading_period argument of _gtk_fnmatch(). - -Wed Jun 2 00:47:11 2004 Matthias Clasen - - * gtk/gtkselection.c (_gtk_selection_request): Remove leftover - debug code. - -Wed Jun 2 00:13:57 2004 Matthias Clasen - - * gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't - allow unless selection mode is multiple. (#142634, John Finlay) - -Tue Jun 1 23:00:20 2004 Matthias Clasen - - * gtk/gtktoolbar.h: - * gtk/gtktoolbar.c: - * gtk/gtkentrycompletion.h: - * gtk/gtkentrycompletion.c: - * gtk/gtkcombobox.h: - * gtk/gtkcombobox.c: Rename function parameters from - index to index_ to prevent clash with BSD index(). (#143001) - -Tue Jun 1 22:45:42 2004 Matthias Clasen - - * gtk/gtkmenu.c (get_accel_path): Handle accel_closure being - NULL on an accel label. (#139641, Sam Stephenson, patch by - Michael Natterer) - -Tue Jun 1 22:19:55 2004 Matthias Clasen - - * gtk/gtkicontheme.c (theme_subdir_load): Prevent icon - lookup finding icons in the wrong prefix. (#143328, - Mark McLoughlin) - -Wed Jun 2 00:39:58 2004 Soeren Sandmann - - Bug #141169. - - * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus - only stay up if you release within 500 milliseconds. - (gtk_menu_shell_button_press): Set the activate_time to the event - time when a button is pressed. - - * gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify): - Interprete button releases as activate when we have seen both an - enter an a motion event. - -2004-06-01 Federico Mena Quintero - - * gtk/gtkfilesystemmodel.c (do_files_removed): Don't insert a - dummy node if there is no parent node. Fixes #143362. - -2004-05-31 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (renderer_edited_cb): Change to the - newly-created folder. Fixes #138932. - (trap_activate_cb): Only return TRUE if we did handle the event. - Fixes #143359; patch by jylefort@brutele.be. - -Mon May 31 02:39:32 2004 Matthias Clasen - - * gtk/gtkimage.c (gtk_image_new_from_pixmap): Fix typo in - docs. (#142892, Tommi Komulainen) - -Mon May 31 02:16:37 2004 Matthias Clasen - - * gtk/gtkhandlebox.c: Make detached handleboxes work when their - parent is minimized, porting the fix from 1.2. (#1923, #57182) - -Mon May 31 02:03:17 2004 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_show): Make moving realized, - unmapped windows work. - -Mon May 31 00:27:33 2004 Matthias Clasen - - * gtk/gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Fix - a typo. - -Mon May 31 00:23:55 2004 Matthias Clasen - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_preview_widget): - Refer to ::update-preview, not ::selection-changed. - -2004-05-29 Christian Rose - - * configure.in: Added "tk" to ALL_LINGUAS. - -Fri May 28 15:00:01 2004 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_set_parent): Add informative - messages for common problems. (#137974, Owen Taylor) - -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, - position the title lable next to the arrow just as we do for LTR - rendering. Fixes bug #141825. - -2004-05-06 Matthias Clasen - - * docs/RELEASE-HOWTO: Document the new policy of - bumping version numbers after release. - - * configure.in: Bump version number to 2.5.0. - -2004-05-06 Padraig O'Briain - - * gtk/gtkmenu.h: - * gtk/gtkmenu.c: Add new function gtk_menu_get_for_attach_widget. - (bug #113112). - -Thu May 6 00:24:11 2004 Matthias Clasen - - * gtk/gtkactiongroup.h: - * gtk/gtkactiongroup.c (gtk_action_group_translate_string): - New function to translate a string with translate_func. - (#135740) - -Thu May 6 00:02:21 2004 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width): - (gtk_combo_box_get_row_span_column): - (gtk_combo_box_get_column_span_column): Add missing getters - for readwrite properies. (#135649) - -Wed May 5 23:42:42 2004 Matthias Clasen - - * gtk/gtkcombobox.h: - * gtk/gtkcombobox.c (gtk_combo_box_get_active_text): - Add gtk_combo_box_get_active_text() convenience - function. (#136372, Christian Neumeir, patch by Olivier Andrieu) - -2004-05-05 Elijah Newren - - Changes to support do-not-focus-on-map hint in conjunction with - _NET_WM_USER_TIME (#115650): - - * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean - field focus_on_map - - * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to - set it. - - * gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map" - and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map(). - - * gdk/win32/gdkwindow-win32.c (gdk_window_new): - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): - * gdk/x11/gdkwindow-x11.c (gdk_window_new): - Initialize the focus_on_map field to TRUE. - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map): - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map): - * gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map): - * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): - Implementations for the various backends. The Win32 and linux-fb - implementations set the focus_on_map field, but don't use it yet - to actually implement noinput windows. The X implementation sets - _NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH). - - * gdk/x11/gdkwindow-x11.h: - * gdk/x11/gdkevents-x11.c (set_user_time): - * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): - * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): - s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/, - since we want that function to be part of the public API. - -Wed May 5 22:20:21 2004 Matthias Clasen - - Merge from 2.4: - - * gtk/gtkiconfactory.c (icon_source_clear): Don't - call g_free() on a pixbuf. (#141961, Crispin Flowerday) - -2004-05-05 Matthias Clasen - - Merge from 2.4: - - * gtk/gtkuimanager.c (print_node): Make the output - parseable. (#141929, Sven Neumann) - -2004-05-05 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add - multi-monitor offset. (#141842, John Ehresman) - -2004-05-04 Federico Mena Quintero - - Fixes #139562, based on a patch by Christian Neumair. - - * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add - a filter_combo_hbox field to contain the filter combo. - (show_filters): Show/hide the filter_combo_hbox. - (create_filename_entry_and_filter_combo): Removed. - (file_pane_create): Create the filter_combo_hbox here. - -2004-05-04 Matthias Clasen - - * modules/input/gtkimcontextxim.c: Fix the recent - string_conversion_callback change to work on - Solaris. (#141190, Padraig O'Briain) - - * gtk/gtkselection.c: Disable debug logging again. - -2004-05-03 Matthias Clasen - - * gtk/gtkselection.c: Make the chunk size for - incremental transfers depend on the maximal request - size, capped at 256k. This should allow most selections - to be transferred nonincrementally, avoiding many - roundtrips and protocol overhead. - -2004-05-03 Federico Mena Quintero - - * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Call - g_signal_new() correctly and initialize the signal fields. Fixes - #141749; patch based on Michael Natterer's. - -u2004-05-03 Matthias Clasen - - * gtk/gtkselection.c (_gtk_selection_request): Fix - a debug message to show correct information. - (_gtk_selection_incr_event): Make INCRemental transfer - of MULTIPLE targets work. This was broken since 1997! - -2004-05-02 Hans Breuer - - * gdk/win32/gdkdrawable-win32.c (draw_segments) : don't - modify the passed in GdkSegment(s) in place, we may get - them again to draw at the same place. Fixes bug #129095, - bug #137177, ... - (draw_segments) draw the end pixel again to get the - pixmap mask right, fixes bug #126710, #130202 - - * gdk/win32/gdkwindow-win32.c : use SetForegroundWindow, - fixes bug #106013, John Ehresman - - * gtk/makefile.msc.in : don't try to link gtk.res but - use gtk-win32.res (as supposed to be fixed below :) - -2004-05-01 Hans Breuer - - * tests/Makefile.am : tests/makefile.msc is in CVS for - a long time, finally added to EXTRA_DIST : fixes bug - #141334, John Ehresman - -2004-04-30 Matthias Clasen - - * === Released 2.4.1 === - - * configure.in: Version 2.4.1, interface age 1. - - * NEWS: Updates - -2004-04-29 Federico Mena Quintero - - Fixes #140412. - - * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New - function; moved the code over from - remove_bookmark_button_clicked_cb(). - (remove_selected_bookmarks): Now, getting a non-removable bookmark - is not an error, as we may be called as a result of hitting the - Delete key. - (shortcuts_key_press_event_cb): New handler; delete the bookmark - if the user presses Backspace, Delete, or KP_Delete. - -2004-04-29 Matthias Clasen - - * gtk/gtkaction.c (closure_accel_activate): Use - _gtk_action_emit_activate() instead of directly - emitting the activate signal. (#141429, Jody Goldberg) - - * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): - Warn people when the accelerator can not be - parsed. (#141429, Jody Goldberg) - -2004-04-29 Matthias Clasen - - * tests/testentrycompletion.c (main): Add a missing - cat. (#141070, Chris Sherlock) - - * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused - variable. (#141022, Chris Sherlock) - - * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing - cast. (#141013, Chris Sherlock) - - * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove - unused variable. (#141011, Chris Sherlock) - -2004-04-29 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory - leak. (#140775, John Ehresman) - -Thu Apr 29 01:09:50 2004 Matthias Clasen - - * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1 - to index the cached gcs, not depth. (#139494) - -2004-04-28 Matthias Clasen - - * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix. - -Sun Apr 25 15:36:02 2004 Soeren Sandmann - - * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix - cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld). - -2004-04-24 Theppitak Karoonboonyanan - - Patch to add support for string conversion callbacks to - GtkIMContextXIM (#101814) - - * modules/input/gtkimcontextxim.c: Set the string conversion callback - if supported by the XIC. - - (struct _GtkIMContextXIM): Add string_conversion_callback member. - - (struct _GtkXIMInfo, setup_im): Check and keep flag inidicating - whether string conversion callback is supported. - - (gtk_im_context_get_ic, +set_string_conversion_callback, - +string_conversion_callback): Also initialize string conversion - callback, if supported, along with the IC initialization. - - * modules/input/imxim.c: Make "xim" module default for Thai as well. - -2004-04-23 Matthias Clasen - - * gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly - initialize targets. (#139883, John Finlay) - - * gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement. - - * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): - Don't recommend gtk_tree_row_reference_new_proxy(). (#138309, - Tim-Philipp Müller) - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): - Remove an excessive g_return_if_fail(). - - * gdk/x11/gdkevents-x11.c (set_user_time): Make set_user_time() - static. - * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): - _-prefix calls of gdk_x11_window_set_user_time(). - -2004-04-22 Matthias Clasen - - * gtk/gtkuimanager.c (update_node): Make sure the separators - used to demarkate placeholder ends don't show up on - show_all(). (#140496, Murray Cumming) - - * gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons - work with negative increments. (#137975, Tim Gerla) - -Wed Apr 21 21:38:03 2004 Soeren Sandmann - - * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget, - gtk_tool_button_set_icon_widget): Remove the old widget from the - tool button before overwriting it with the new widget. - - (#140508, Todd Goyen) - -2004-04-22 Tor Lillqvist - - Fix the file chooser on Windows. I can't make it misbehave or - crash any more now. But presumably there are still corner cases - not handled. I haven't really checked behaviour of UNC paths, for - instance. - - * gtk/gtkfilesystemwin32.c: Accept both backslash and slash in - several places. Use G_IS_DIR_SEPARATOR macro (which could be added - to GLib in 2.6). - - (gtk_file_system_win32_get_parent): Like the Unix version, assert - filename is absolute, and avoid one unnecessary string allocation - and freeing. - - (canonicalize_filename,gtk_file_system_win32_parse): Handle drive - letters more correctly. - - (gtk_file_system_win32_render_icon): Assure correct syntax is used - for root folder of a drive. (#137962, Morten Welinder) - - (filename_is_some_root): New function that accepts also root - without any drive specified. - - (filename_is_drive_root): Rename from filename_is_root. - - * gtk/gtkfilechooserentry.c (completion_match_func): Casefold on - Windows. - -2004-04-21 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the - completion window if there are no completions anymore. - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Don't call gtk_tree_view_scroll_to_cell() on an empty tree view. - It doesn't like that. (#140642, Christian Persch) - - * demos/gtk-demo/expander.c (do_expander): A new demo. - - * demos/gtk-demo/Makefile.am (demos): Add expander.c. - -2004-04-20 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_allocate_children): Make - sure anchored children get size allocated, even if the layout - is valid. (#122323, Andrew E. Makeev) - (gtk_text_view_scroll_pages): - (gtk_text_view_scroll_hpages): Don't scroll to cursor position - if we already have pending scrolls. Bandaid fix for #78513. - -Mon Apr 19 17:59:17 2004 Owen Taylor - - * INSTALL.in: Update libpng and libjpeg URLs, remove - note about building without since that's not the normal - case. - -Sun Apr 11 09:45:11 2004 Owen Taylor - - * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in - handling of SVG/non-SVG unthemed icons. - -2004-04-19 Morten Welinder - - * gtk/gtktoolbar.c (gtk_toolbar_focus): Don't leak list of - children. (#140523) - -2004-04-19 Matthias Clasen - - * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): - Don't stop the iteration up to the tag_root too - early. (#109945, Dongho Shin) - -Sun Apr 18 17:06:03 2004 Soeren Sandmann - - * gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make - gdk_keymap_translate_keyboard_state() handle NULL - keymaps. (#139715, Torsten Schoenfeld). - -Sun Apr 18 16:59:21 2004 Soeren Sandmann - - * configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586, - reported by Pedro RODRIGUEZ, about compilation problems when - Xcursor is installed in a non-standard location. - -Sun Apr 18 16:15:15 2004 Soeren Sandmann - - Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah - Newren. - - * gdk/x11/gdkwindow-x11.[ch]: Add new internal function - _gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property. - - * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field - - * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of - precached atoms. - - * gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the - property on user interaction. - -2004-04-15 Federico Mena Quintero - - * gtk/gtkfilesel.c (open_new_dir): Tell the user to use - G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065. - - * gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the - code from gtkfilesel.c to parse a "text/uri-list" blob. Fixes - #140126. - -2004-04-15 Matthias Clasen - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): - * gtk/gtkbutton.c (gtk_button_class_init): Doc fixes. - -2004-04-14 Matthias Clasen - - * gtk/gtkcombobox.c: - * gtk/gtkwidget.c: - Make all style properties readonly. - -2004-04-14 Matthias Clasen - - * gtk/gtkcolorsel.c: Add a11y relations between the color - wheel and the spin buttons. (#132745, Padraig O'Briain) - - * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document - the meaning of size == -1. - - * gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept - a size of -1. (#137436, Brian Cameron) - - * gtk/gtkcombobox.c: Make the arrow and separator regular - children of an hbox inside the button, and propagate state - changes from the button to the cell view. (part of the fix - for #138650, should also fix #137535) - - * gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT - state to gtk_cell_renderer_render() when prelighted. (part - of the fix for #138650) - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): - Use PRELIGHT state when appropriate. (part of the fix for - #138650) - - * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't spit - out warnings if called before the combo box is - realized. (#139742, Philip Langdale) - -Wed Apr 14 03:45:39 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_expose): propagate expose - events to children. - -Wed Apr 14 03:32:58 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (make_directory_button): remove spurious - gtk_box_pack_start. - -Tue Apr 13 16:19:23 2004 Jonathan Blandford - - * gtk/gtkpathbar.c (make_directory_button): patch from Owen to - make the buttons sized by a bold label. This makes the text - 'swim' a little, but stops the buttons from resizing, #137210 - -2004-04-13 Matthias Clasen - - * gtk/gtkuimanager.c (get_child_node): Don't crash if a node - has no name. - (start_element_handler): Accept separators without unique - names. (#133302, Anders Carlsson) - - * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document - possible accelerator gotcha when using this function. (#139641, - Christian Persch) - - * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak - list nodes. (#138862, Morten Welinder) - -Tue Apr 13 12:24:49 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_destroy): remove unused - variable. - (gtk_tree_view_button_press): If we activated the row we don't - want to grab focus back, as moving focus to another widget is - pretty common, #138458 - -2004-04-12 Federico Mena Quintero - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Added - documentation to all the signals. - -2004-04-12 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't unref - model if it is NULL. (#139770) - - * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add - a shadow inside the scrolled window, add it around the vbox. - - * gtk/gtkentryprivate.h: - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Return a boolean indicating whether the popup is positioned above - or below. Scroll the completions to the beginning or the end, - depending on the positioning. - - * gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav - wrap around in the entry completion popup, and allow GDK_UP to - enter the popup. (#137440) - -2004-04-12 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is - there before using it. - -Sun Apr 11 15:08:45 2004 Jonathan Blandford - - * gtk/gtktreeprivate.h: Moved search entries into priv data. - - * gtk/gtktreeview.c: Prep for type-ahead support. - - (gtk_tree_view_destroy): Destroy the search window explicitly. - (gtk_tree_view_key_press): Minor change; prep for type-ahead - (gtk_tree_view_ensure_interactive_directory): New function - (gtk_tree_view_focus_out): Rework to handle new entry life-cycle. - (gtk_tree_view_real_start_interactive_search): rework - (gtk_tree_view_search_dialog_hide): ditto - (gtk_tree_view_search_delete_event): ditto - (gtk_tree_view_search_button_press_event): ditto - (gtk_tree_view_search_key_press_event): ditto - (gtk_tree_view_search_move): ditto - (gtk_tree_view_search_init): ditto - - * gtk/gtktreeviewcolumn.c: - (gtk_tree_view_column_cell_layout_clear): remove unused variable. - - * tests/testfilechooser.c: (main): change - -2004-04-11 Hans Breuer - - * gdk/win32/gdkspawn-win32.c : workaround for bug #137496, - the real fix would involve just another small API breakage, - i.e. gdk_spawn_* using GPid not just gint. - - * gtk/makefile.msc.in : build gtk-win32.res, not gtk.res - -2004-04-10 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (gdk_keymap_translate_keyboard_state): - If both Shift and CapsLock pressed, ignore the shift only for - letters (that would have been affected by the CapsLock). (#139095) - - * gdk/win32/gdkglobals-win32.c: Disable tablet support by default, - seems to be even buggier now than it used to be. (#138341) - Initialize _gdk_input_ignore_wintab to TRUE. - - * gdk/win32/gdkmain-win32.c: Add --use-wintab switch and - GDK_USE_WINTAB environment variable to turn on tablet support. - -2004-04-09 Christian Persch - - * gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group), - (gtk_ui_manager_remove_action_group): Terminate - g_object_[dis]connect() calls with NULL instead of 0. - Fixes #138997. - -2004-04-09 Guntupalli Karunakar - - * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS. - -2004-04-07 Federico Mena Quintero - - Fix #132500. - - * gtk/gtkfilesystem.c (gtk_file_system_parse): Ensure that the - passed-in 'str' is not NULL. - - * gtk/gtkfilesystemunix.c (expand_tilde): New helper function; - expands "~/" or "~foo/" at the beginning of a filename. - (gtk_file_system_unix_parse): Use expand_tilde() before doing - anything else. - - * gtk/gtkfilechooserentry.c - (gtk_file_chooser_entry_maybe_update_directory): Take in a - force_reload argument. - (gtk_file_chooser_entry_changed): If gtk_file_system_parse() - returns an error, set the file_part_pos to -1. - (load_directory_callback): Only populate the model if the - file_part_pos is not -1. - -2004-04-06 Pablo Saratxaga - - * configure.in: Added Icelandic (is) to ALL_LINGUAS - -2004-04-05 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a - title for SAVE and CREATE_FOLDER modes. Fixes #137272. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Look - for G_DIR_SEPARATOR in the display_name, and err out if it is - present; use the same error message as Nautilus. Fixes #136467. - - * gtk/gtkfilechooserdefault.c (file_pane_create): Make the - new-folder button say "Create Fo_lder" rather than "Create - _Folder", so that the mnemonic doesn't conflict with the "Save in - _folder" label. Fixes #136975. - -2004-04-05 Federico Mena Quintero - - * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Ref/sink the - buttons. Also, free them correctly upon failure. Based on a - patch by Morten Welinder, fixes #137956. - -2004-04-05 Anders Carlsson - - * gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly. - -Fri Apr 2 17:57:33 2004 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set the height - correctly for fixed height when inserting a node, #138082 - -2004-04-01 Federico Mena Quintero - - Fix #136077. - - * gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a - "child_is_hidden" boolean argument to the "path-clicked" signal. - - * gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden - field. - (make_directory_button): Take a file_is_hidden argument; put it in - the ButtonData. - (_gtk_path_bar_set_path): See whether each path component path is - a hidden file. - (gtk_path_bar_class_init): Add the file_is_hidden argument to the - "path-clicked" signal. - (button_clicked_cb): See if the downwards button represents a - hidden file for the file_is_hidden argument in the signal - emission. - - * gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_select_path): If we fail to switch - folders, don't try to select the path in the file system model. - Also, return the result from _gtk_file_system_model_path_do(). - (gtk_file_chooser_default_select_path): Turn on show_hidden in the - file system model if we are asked to select a hidden file. - (path_bar_clicked): Show hidden files based on whether the - immediate downwards folder in the path bar is a hidden file - itself. - (struct _GtkFileChooserDefault): Added fields - browse_files_popup_menu and browse_files_popup_menu_hidden_files_item. - (create_file_list): Set an object data key of - "GtkFileChooserDefault" on the tree view so that we can find the - impl from the popup menu callbacks. Also, hook up to the - "button-press-event" and "popup-menu" signals in the file list to - bring up a popup menu. - (list_popup_menu_cb): New callback. - (list_button_press_event_cb): New callback. - - Fix #138763: - - * gtk/gtkfilesystemmodel.c - (_gtk_file_system_model_new): Oops, connect_object to - "finished-loading". - -2004-03-31 Tor Lillqvist - - * configure.in: Move AC_CANONICAL_HOST earlier, before the check - for native Win32. (#136559, J. Ali Harlow) - - * gdk/win32/gdkdrawable-win32.c (draw_arc): Use X11 semantics for - angles. Thanks to Tim Newsham. - -2004-03-29 Federico Mena Quintero - - Fix #137520. - - * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots - for an ::is_finished_loading() method and a ::finished_loading() - signal at the end of the struct. - - * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the - "finished-loading" signal. - (gtk_file_folder_is_finished_loading): New function. - - * gtk/gtkfilesystemunix.c - (gtk_file_folder_unix_is_finished_loading): Implement. - - * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New - slot for a "finished-loading" signal. - (gtk_file_system_model_class_init): Create the "finished-loading" - signal. - (struct _GtkFileSystemModel): New field - idle_finished_loading_source. We emit the "finished-loading" - signal in an idle if the root folder was done loading right in - _gtk_file_system_model_new(), so that the caller has a chance to - connect to the signal. - (_gtk_file_system_model_new): Connect to the normal signals of the - folder even if the initial _list_children() fails. Also, see if - the folder is finished loading; connect to the "finished-loading" - signal otherwise. - (gtk_file_system_model_finalize): Remove the idle handler. - - * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor - and connect to the model's "finished-loading" signal. - (get_toplevel): New helper function. - (error_message): Use get_toplevel(). - (trap_activate_cb): Likewise. - (location_popup_handler): Likewise. - (set_busy_cursor): New function. - (browse_files_model_finished_loading_cb): New callback. - -2004-03-25 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (check_preview_change): Just use the - file under the cursor; we don't need the logic from - GtkFileSelection after all. Fixes #132255. - -2004-03-25 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (location_entry_create): Fill the - location entry with the display name of the file under the cursor - for Open mode, or the typed filename in Save mode. - -2004-03-24 J. Ali Harlow - - * gtk/gtkfilesystemwin32.c - (filename_is_root): Bare drive designators (eg., "c:") are - no longer considered as root filenames. Fixed #137942 - -2004-03-24 J. Ali Harlow - - * gtk/gtkfilesystemwin32.c - (gtk_file_system_win32_create_folder): Invert test for error in - mkdir. Fixes #137945 - -2004-03-24 J. Ali Harlow - - Fixed #138004 using Federico's code from #132327. - - * gtk/gtkfilesystemwin32.c (struct _GtkFileSystemWin32): Add a - folder_hash field to keep a list of live folder objects. - (gtk_file_system_win32_init): Create the folder_hash. - (gtk_file_system_win32_finalize): Destroy the folder_hash. - (gtk_file_system_win32_get_folder): Ref and return an existing - folder if we have it around, otherwise return a new folder object. - (struct _GtkFileFolderWin32): Add a field for the parent file system. - (gtk_file_folder_win32_finalize): Remove the folder from the file - system's hash table. - (gtk_file_system_win32_create_folder): Emit "files-added" on the - newly-created folder's parent. Fixes #138004. - -2004-03-24 J. Ali Harlow - - * gtk/gtkfilesystemwin32.c - (gtk_file_system_win32_get_folder): Test that path is actually - a directory and throw error if not. Fixed bug #137950 - -2004-03-22 J. Ali Harlow - - * gtk/gtkfilesystemwin32.c - (gtk_file_system_win32_volume_get_display_name): Ignore empty - volume labels; assume that GetVolumeInformation would fail if - GetVolumeInformationW does; catches a small memory leak; - pass the buffer size to GetVolumeInformationW in wide - characters instead of bytes. Fixes bug #137543 - (list_volumes): Cope with the theoretical possibility of - more than 26 logical drives. Fixes bug #137940 - (bookmarks_serialize): Now actually removes bookmarks. - Fixes bug #137943 - -2004-03-22 Guntupalli Karunakar - - * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS. - -2004-03-21 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c - (gtk_file_system_win32_volume_get_base_path): Include the - backslash. Otherwise gtk_file_system_win32_path_to_uri() returns - NULL for a volume base path, as g_filename_to_uri() requires an - absolute path, and just a drive letter and colon isn't. (#137543) - -2004-03-20 Hans Breuer - - * gtk/gtkfilesystemwin32.c : applied the undisputable and - required [due to recent gtkfilesystem internal api semantic - changes] part of patches to fix bug #137543 (Tor Lillqvist, - J. Ali Harlow) - - * gdk/gdkevents-win32.c (handle_configure_event) : - (gdk_event_translate), WM_WINDOWPOSCHANGED : initialize - GdkWindowObject::x, y with screen coords to make - gdk_window_get_position () return the right thing and thus fix - drag and drop positioning (e.g. Gimp tabs, fixes bug #137192) - -2004-03-19 Federico Mena Quintero - - * Revert the patch to #137520, as 2.4.1 is for conservative bug - fixes only. The patch is attached to the bug report, for - reference. - -2004-03-19 Morten Welinder - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_current_folder): Test existance of - the path after checking for locality, if needed. - -2004-03-19 Federico Mena Quintero - - Fix #137520. - - * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots - for an ::is_finished_loading() method and a ::finished_loading() - signal at the end of the struct. - - * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the - "finished-loading" signal. - (gtk_file_folder_is_finished_loading): New function. - - * gtk/gtkfilesystemunix.c - (gtk_file_folder_unix_is_finished_loading): Implement. - - * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New - slot for a "finished-loading" signal. - (gtk_file_system_model_class_init): Create the "finished-loading" - signal. - (struct _GtkFileSystemModel): New field - idle_finished_loading_source. We emit the "finished-loading" - signal in an idle if the root folder was done loading right in - _gtk_file_system_model_new(), so that the caller has a chance to - connect to the signal. - (_gtk_file_system_model_new): Connect to the normal signals of the - folder even if the initial _list_children() fails. Also, see if - the folder is finished loading; connect to the "finished-loading" - signal otherwise. - (gtk_file_system_model_finalize): Remove the idle handler. - - * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor - and connect to the model's "finished-loading" signal. - (get_toplevel): New helper function. - (error_message): Use get_toplevel(). - (trap_activate_cb): Likewise. - (location_popup_handler): Likewise. - (set_busy_cursor): New function. - (browse_files_model_finished_loading_cb): New callback. - -Thu Mar 18 12:10:45 2004 Owen Taylor - - * gtk/gtktreeitem.c (gtk_tree_item_forall): Include - eventbox for expander. (#137564, reported by - Jacques Garrigue) - -2004-03-18 Guntupalli Karunakar - - * mr.po: Added "mr" for Marathi to ALL_LINGUAS. - -2004-03-17 Morten Welinder - - * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free - volumes not actually put into the shortcut list. - - * tests/prop-editor.c (object_changed): Plug leak. - - * tests/testfilechooser.c (main): Plug some leaks and expose - others. - - * tests/prop-editor.c (create_prop_editor): Don't leak the tooltip - object. Fixed #136652. - - * gtk/gtkfilechooserdefault.c (check_icon_theme): Do nothing if we - have no screen. Fixes #137260. - (shortcuts_add_bookmark_from_path): Simplify using check_is_folder - thereby fixing leak. Fixes #137259. - - * gtk/gtkpathbar.c (gtk_path_bar_forall): Make this work when the - slider buttons have been destroyed. - (gtk_path_bar_remove): Make this work for slider buttons too. - Fixes #137257 - -2004-03-15 Morten Welinder - - * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path): - Sanitize and plug leak. - (check_icon_theme): Only do something if the widget has a screen. - -Wed Mar 17 01:20:28 2004 Matthias Clasen - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Move the repositioning logic from _gtk_entry_completion() popup - over here. Fixes #137355, reported by Niklas Knutsson. - diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 deleted file mode 100644 index af6d34e246..0000000000 --- a/ChangeLog.pre-2-8 +++ /dev/null @@ -1,5381 +0,0 @@ -2005-08-13 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.8.0 === - - * NEWS: Updates - - * configure.in: Require cairo 0.9.2 - -2005-08-12 Matthias Clasen - - * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator): - Remove a line without effect. - - * gtk/gtkicontheme.c: When changing the icon theme, defer - the resetting of rc styles to an idle, so that it does - not happen e.g during expose handling (which is problematic, - since some widgets, like the toolbar, are changing the - hierarchy in response to style changes). (#300539, reported - by many people, analyzed by Owen Taylor) - -2005-08-12 Owen Taylor - - * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap) - * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap) - * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Warn if - gdk_drawable_get_colormap (pixmap) is NULL and return. - -2005-08-12 Matthias Clasen - - * configure.in: Bump version to 2.8.0 - -2005-08-11 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Work around some problems - with the gnome-vfs backends which could lead to crashes - in the bookmark handling. (#310270, Diego Gonzalez, patch - by Michael Meeks) - -2005-08-11 Kristian Rietveld - - Fix for #312924, by John Finlay. - - * gtk/gtkliststore.c (gtk_list_store_increment_stamp), - (gtk_list_store_clear): increment stamp on store clearance. - - * gtk/gtktreestore.c (gtk_tree_store_increment_stamp), - (gtk_tree_store_clear): ditto. - -2005-08-11 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): queue - a draw for the entire widget if any column changes width. (Fixes - #311026, reported by Frederic Crozat). - -2005-08-10 J. Ali Harlow - - * configure.in: Revert to linking against pangowin32 under win32 - platform (Owen Taylor). - -2005-08-10 J. Ali Harlow - - * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make - the last change compile. - -2005-08-10 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted) - (gtk_tree_model_filter_remove_node): Remove ambiguities pointed - out by gcc. - -2005-08-10 James Henstridge - - * configure.in: fix definition of GDK_DEP_CFLAGS so that it - doesn't cause build failures if $X_PACKAGES is not empty. - -2005-08-09 Owen Taylor - - * gdk/gdkwindow.c (gdk_window_ref_cairo_surface): Remove superfluous - call to gdk_window_get_offsets (). (#313051, Bertram Felgenhauer) - -2005-08-09 Owen Taylor - - * configure.in: Strip out all Xft, FreeType, and pangoxft checking. - Rewrite X checks to use pkg-config as much as possible. - - * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make - this return Arial always to avoid using PangoWin32FontMap. (X11 backend - has always been returned "fixed" for a long time) - - * gdk/linux-fb/gdkdrawable-fb2.c: Remove draw_glyphs() implementations, - fall through to the default implementation in terms of Cairo. - - * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_text): Use gdk_draw_glyphs() - on the wrapper rather than gdk_fb_draw_glyphs(). - -2005-08-09 Mark McLoughlin - - Fixes "notification area leaks space" (bug #312687) - - * gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func): - gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a - detail to g_signal_emit_by_name() - -2005-08-09 Matthias Clasen - - * NEWS: Updates - -2005-08-09 Matthias Clasen - - * gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use - g_quark_from_static_string here. - -2005-08-08 Christian Persch - - * gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed), - (gtk_menu_tool_button_class_init), (popup_menu_under_arrow), - (gtk_menu_tool_button_init): - - Deactivate the menu when the button becomes insensitive, and remove - dead code. Fixes bug #312920. - -2005-08-08 Matthias Clasen - - * gdk/gdk.symbols: Make the last change compile. - -2005-08-08 Christian Persch - - * gtk/gtkmenutoolbutton.c: - (gtk_menu_tool_button_construct_contents), - (button_state_changed_cb), (menu_position_func), - (arrow_button_toggled_cb): - - Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE. - Surviving part of bug #310589. - -2005-08-07 Matthias Clasen - - * gdk/gdk.symbols: Add the gdk_display variable. - - * gdk/abicheck.sh: - * gtk/abicheck.sh: Also check exported variables. - -Fri Aug 5 16:54:19 2005 Søren Sandmann - - * gtk/gtkmenutoolbutton.c - (gtk_menu_tool_button_construct_contents): Set the relief of the - arrow button to the value returned by - gtk_tool_item_get_relief_style(). Patch from Benjamin Berg. - Bug 312695. - -2005-08-04 Sunil Mohan Adapa - - * configure.in: Re-added "te" to ALL_LINGUAS after - correcting the problem. - -2005-08-04 Matthias Clasen - - * configure.in: Require cairo 0.6 - -2005-08-04 Christian Persch - - * configure.in: Remove "te" since it breaks the build. - -2005-08-04 Sunil Mohan Adapa - - * configure.in: Added "te" to ALL_LINGUAS. - -2005-08-04 Tor Lillqvist - - * gtk-zip.sh.in: Reflect the change of the default theme's name to - "Raleigh". Include the MS-Windows theme's gtkrc file. Include the - theme engine DLLs. - -2005-08-02 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.7.5 === - - * configure.in: Bump version - - * NEWS: Updates - -2005-08-01 Matthias Clasen - - * gtk/gtkfixed.c (gtk_fixed_put): Fix a typo, spotted by - David Odin. - - * gtk/Makefile.am (install-data-local): - * gtk/gtksettings.c (gtk_settings_class_init): Rename the - default theme to "Raleigh". (#312254, Thomas Wood) - - * gtk/gtkdnd.c (set_icon_stock_pixbuf): Create the icon window - with the correct dimensions. (#312256, Mike Morrison) - - * gtk/gtktextbuffer.h: - * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here - as well. - - * gtk/gtkuimanager.c (update_node): Update tooltips when - reconnecting toolitems. (#312173, Alex Graveley) - - * gdk/x11/gdkxftdefaults.c: Define the hint styles to make - building against fc < 2.2.92 work. (#311839, Damien Carbery) - - * gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make - tracking the on_all_desktops state work better. - - * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): - Don't do anything if the window is on all desktops. (#311803, - Elijah Newren) - -2005-08-01 Dom Lachowicz - - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Part of #168326 - -2005-08-01 Matthias Clasen - - * gtk/gtkclipboard.c (gtk_clipboard_set_image) - (gtk_clipboard_set_text): Don't leak atom names. (#311933, - Peter Zelezny) - - * gtk/gtkmain.c (do_post_parse_initialization): Call - gettext_initialization() here as well. (#311612, Dan Winship) - -2005-08-01 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint): - Implement using FlashWindowEx(). (#309423) - -2005-07-30 Hans Breuer - - * gtk/makefile.msc.in tests/makefile.msc : updated - -2005-07-30 Johan Dahlin - - * gtk/gtkctree.c (gtk_ctree_class_init): Do not use | - G_PARAM_STATIC_NAME in the type field, makes subclassing possible. - -2005-07-29 Claudio Saavedra - - * docs/reference/gtk/migrating-GtkAction.sgml: Declaring the - GtkActionEntry arrays static const. Fixes #301612. - -2005-07-29 J. Ali Harlow - - * gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST - unconditionally. Fixes #311972. - -2005-07-28 Federico Mena Quintero - - * perf/README: Update for the new API of the profiler. - - * perf/gtkwidgetprofiler.[ch]: New files with a widget profiler - object. This is the old content of timers.[ch] turned into a nice - object, with signals for creation and reporting. The profiler - needs to maintain some state when reusing the widget, so it's - useful to turn it into a real object. - - Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and - GTK_WIDGET_PROFILER_REPORT_EXPOSE. - - * perf/main.c: Refactor to use GtkWidgetProfiler. - - * perf/appwindow.c (content_area_new): Make this just create a - notebook, instead of a complex arrangement of panes. - - * perf/widgets.h: New header file for all the "create a widget" - utility functions. - - * perf/treeview.c: New file. Moved the tree view part from - appwindow.c over to here; GtkTreeView really needs its own tests. - (tree_view_new): Set the shadow type to IN. - - * perf/textview.c: Likewise moved over from appwindow.c, but for - GtkTextView. - (text_view_new): Set the shadow type to IN. - - * perf/Makefile.am (testperf_SOURCES): Add the new source files; - remove appwindow.h and timers.[ch]. - - * perf/timers.[ch]: Removed. - - * perf/appwindow.h: Removed. - -2005-07-29 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating - to the gdk-ping message. Use the global _gdk_display instead of - calling gdk_display_get_default() or gdk_drawable_get_display() - which would return _gdk_display anyway. - (append_event, apply_filters, gdk_event_translate): Drop any - GdkDisplay parameter as we only have one display anyway. Use - _gdk_display where needed. - (gdk_event_apply_filters): Delete, move the code into its only - caller, apply_filters(). - (generate_button_event): Factor out code from two places in - gdk_event_translate(). - (gdk_event_translate): Call generate_button_event() in place of - inline code. - - * gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New - static function to generate and append the GDK_GRAB_BROKEN events. - (gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events - when overriding a grab inside the application, like in the X11 - backend. Final bits of the fix for #107320, hopefully. - (print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and - GDK_GRAB_BROKEN events. - (gdk_event_translate): Call generate_grab_broken_event() in place - of inline code. - - * gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename - from blit_inside_window(), as it now does blitting inside a - bitmap, too. No code change, still just call BitBlt(). - (_gdk_win32_blit): Check for source equalling destination - first. (#169508, #131977) - Do away with the superfluous local draw_impl variable, the - parameter to this function is already a GdkDrawableImplWin32*, no - need to copy and cast it. - -2005-07-28 Robert Ögren - - Avoid spurious core pointer events when the tablet pen is lifted. - (#167000) - - * gdk/win32/gdkinput-win32.c (set_ignore_core): New static function, - handles delayed unsetting of _gdk_input_ignore_core. - (_gdk_input_other_event): Call set_ignore_core instead of setting - _gdk_input_ignore_core directly. - -2005-07-28 Dom Lachowicz - - * modules/engines/ms-windows/*: Re-sync with gtk-wimp CVS. Notable - changes include: menu/toolbars have a gradient applied to them; better - handling of menu/toolbar shadows, tracking theme settings; - sliders/scales now use XP theming; status bar grippies drawn properly; - convincing toolbar grippies are drawn for the Win2k theme; notebook - tabs now have that orange stripe across their top; a host of scrollbar - bugs are fixed - -2005-07-27 Tor Lillqvist - - * gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle - PS_ALTERNATE, too. - - * gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for - multi-monitor cases. (#311677, Tim Evans) - -2005-07-26 Owen Taylor - - * gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be - monotonic in the original size (#308145, Morten Welinder) - -2005-07-26 Elijah Newren - - Revert part of patch from #166379; don't have gtk_window_present() - change a window's desktop, but rather leave it up to the WM. - (#311653) - - * gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a - window's workspace - -2005-07-26 Tor Lillqvist - - * gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT - if missing (MSVC6). (#311633) - -2005-07-26 Federico Mena Quintero - - * perf/: New directory with the start of a framework for testing - performance in GTK+. - - * Makefile.am (SRC_SUBDIRS): Added the perf directory. - - * configure.in (AC_OUTPUT): Generate perf/Makefile. - -2005-07-26 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Fix up includes on Win32. - (#311630, Kazuki Iwamoto) - - * gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to - the list of keysyms to ignore for composition, since - AltGr keys produce it in some keyboard layouts. (#307283) - - * gtk/gtkwidget.h: - * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from - gtk_widget_new as well, pointed out by Kjartan Maraas. - -2005-07-25 Matthias Clasen - - * gtk/gtkhsv.c (paint_triangle): Pad out the full width, in - an attempt to work around bug #311225. - - * gtk/gtktreemodelsort.c: Trivial doc fixes. - - * gtk/gtktreesortable.c: Talk about comparison functions, not - sort functions in some places. (#311398, Fabrice Bauzac) - - * gtk/gtk.symbols: - * gtk/gtkobject.[hc]: - * gtk/gtkfilechooserdialog.[hc] - * gtk/gtkdialog.[hc]: Remove the G_GNUC_NULL_TERMINATED marker - from a number of varargs functions where we allow to omit the - varargs completely. (#311465, Callum McKenzie) - -2005-07-22 Matthias Clasen - - * === Released 2.7.4 === - - * NEWS: Updates - - * gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup): - Point out escaping oversight. (#311260, Owen Taylor) - -2005-07-21 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup - a possible resize idle. (#311141, Robert Ögren) - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): - (gtk_tree_model_sort_sort_level): Ref the level while using it, - otherwise it may get nuked by gtk_tree_model_sort_increment_stamp. - (gtk_tree_model_sort_row_deleted): Don't leak the root level - here. (#300089, James Bramford, Markku Vire) - -2005-07-21 Federico Mena Quintero - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify - the usage of this function. - (gtk_file_chooser_set_uri): Likewise. - (gtk_file_chooser_set_current_name): Likewise. - - * gtk/gtkfilechooserdefault.c (set_file_system_backend): - Instrument this function for profiling as well. - (gtk_file_chooser_default_init): Likewise; just to have a marker - of where instance initialization begins. - -2005-07-21 Owen Taylor - - * gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks. - -2005-07-21 Christian Rose - - * configure.in: Added "hy" to ALL_LINGUAS. - -2005-07-21 Matthias Clasen - - * NEWS: Updates - - * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be - a bit more careful to not shrink the label to a negative - width. (#311175, Thomas Vander Stichele) - - * gtk/gtk.symbols: mark gtk_socket_steal as deprecated. - - * configure.in: Bump the cairo requirement. - -2005-07-19 Owen Taylor - - * gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for - following font rendering xsettings to set cairo font - options on PangoContext - - * gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h - gdkprivate-x11.h: Get default values for rendering options - (such as antialiasing, dpi) from the Xft resources for the - display, borrowing a bit of code from Xft. - - * gtk/gtksettings.c (gtk_settings_class_init): Fix docs for - values of gtk-xft-hintstyle. - -2005-07-21 Tor Lillqvist - - Make GtkPlug/Socket cross-platform: Add Win32 implementation, - splice out X11 implementation to separate files. (#58541) - - * gtk/gtk.symbols: Make GtkPlug/Socket API available with all - backends. - - * gtk/Makefile.am: Changes to build GtkPlug/Socket with all - backends. - - * gtk/gtksocket.c - * gtk/gtkplug.c: Splice out backend-dependend parts to separate - files, see below. - - * gtk/gtksocketprivate.h - * gtk/gtkplugprivate.h: New files. Declare the backend-specific - functions, and the private backend-independent functions they call - back to. - - * gtk/gtksocket-stub.c - * gtk/gtkplug-stub.c - * gtk/gtksocket-x11.c - * gtk/gtkplug-x11.c - * gtk/gtksocket-win32.c - * gtk/gtkplug-win32.c - * gtk/gtkwin32embed.h - * gtk/gtkwin32embed.c: New files, containing the backend-specific - parts of GtkPlug/Socket. - - * gtk/gtkxembed.h - * gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used - in error messages and debugging output. - - * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now - use GTK_IS_PLUG() with all backends. - - * tests/testsocket_common.c: Make it work on Win32, too. - -2005-07-21 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use - wide-char API when available. (#311079, Peter Zelezny) - -2005-07-21 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base): - Add hints on how to handle "no window" widgets. (#136347) - -2005-07-20 Keith Packard - - * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface): - - Follow change in cairo API to add Screen* to - cairo_xlib_create_surface_for_bitmap - -2005-07-20 Matthias Clasen - - * gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the - svg loader, if available. This should help with the fact that - svg is not reliably sniffable with the current gdk-pixbuf sniffing - code. - - * gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded - expanders are not fuzzy. (#310172, reported by Alexander Larsson, - patch by Owen Taylor) - - * gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we - can't get a keyboard grab. (#168351) - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property): - Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION. - -2005-07-19 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c: Added a few utility functions for - profiling; instrument the code, make it conditional. - -2005-07-19 Kristian Rietveld - - * gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate - past the end of the string, so pango_layout_get_cursor_pos() won't - complain. (#309211, Tommi Komulainen). - -2005-07-19 Tor Lillqvist - - * gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox): - Don't bother mentioning the -fnative-struct (used by GCC 2) switch - in the error message any longer. - -2005-07-18 Matthias Clasen - - * gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments. - - * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted) - (gtk_combo_box_model_row_inserted): Remove useless calls - to gtk_tree_row_reference_inserted/deleted, since we - don't use manual row references here. - - * gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call - gettext_initialization before checking gtk_initialized, otherwise - there are scenarios where it is not called at all. For an - example, see tests/testfilechooserbutton.c. (#310323, - Arkady L. Shane) - -2005-07-18 Tor Lillqvist - - * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove - any possible leftover clipping region in the DC if we don't want - any clipping. Thanks to Robert Ögren. (#309823) - - * configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use - -Wl,-luuid. This avoids a libtool warning as libuuid is static. - -2005-07-18 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate - the focus-on-click value to the button. (#310543, Christian Persch) - - * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note - about the need to handle expose events. We really need a chapter - on the GTK+ drawing model that we can refer to here... (#310765, - Steve Chaplin) - -2005-07-16 Tor Lillqvist - - * configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is - needed in case one builds without the ie55 stuff. (#310582) - -2005-07-15 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.7.3 === - - * gdk/gdkdraw.c (gdk_draw_drawable): Add better docs. - (#310192, Owen Taylor) - -2005-07-15 Matthias Clasen - - * NEWS: Updates - - * gtk/gtkentry.c (gtk_entry_move_forward_word): - (gtk_entry_move_backward_word): Don't treat whitespace as - words for keynav, pointed out by Owen Taylor. - -2005-07-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (should_respond_after_confirm_overwrite): Take the parent folder - path instead of the display name, to avoid doing duplicated work - in gtk_file_chooser_default_should_respond(). - -2005-07-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (confirm_dialog_should_accept_filename): Take the display name of - the folder as well so that we can present a better message. Use a - stock cancel button, "_Replace", and GTK_STOCK_SAVE_AS. - (gtk_file_chooser_default_should_respond): Pass the file part and - folder display name directly to the function above. Oops, only do - the confirmation dialog if the file exists. - -2005-07-15 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c - (confirm_dialog_should_accept_filename): Use header capitalization - for the buttons, per the HIG. - - * gtk/gtk.symbols: Add the new functions. - - * tests/testfilechooser.c (confirm_overwrite_cb): Add a test for - the confirm-overwrite signal. - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Remove the - stub documentation for the "confirm-overwrite" signal. - (gtk_file_chooser_set_do_overwrite_confirmation): Add "Since: 2.8" - to the docs. - (gtk_file_chooser_get_do_overwrite_confirmation): Likewise. - -2005-07-14 Federico Mena Quintero - - Add overwrite confirmation for SAVE mode. Fixes bug #152850: - - * gtk/gtkfilechooser.h: Add prototypes for - gtk_file_chooser_set/get_do_overwrite_confirmation(). - (GtkFileChooserConfirmation): New enum for the result of the - "confirm-overwrite" signal. - - * gtk/gtkmarshalers.list: Add ENUM:VOID. - - * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a - "do-overwrite-confirmation" boolean property. - (gtk_file_chooser_set_do_overwrite_confirmation): Implement. - (gtk_file_chooser_get_do_overwrite_confirmation): Implement. - (confirm_overwrite_accumulator): New accumulator for the signal. - - * gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add - GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION. - - * gtk/gtkfilechooserutils.c - (_gtk_file_chooser_install_properties): Override the - do-overwrite-confirmation property. - - * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a - confirm_overwrite signal to the vtable. - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_property): Handle the new property. - (gtk_file_chooser_default_get_property): Likewise. - (get_selected_file_info_from_file_list): New helper function; code - taken from list_selection_changed(). - (list_selection_changed): Use get_selected_file_info_from_file_list(). - (should_respond_after_confirm_overwrite): New function. - (gtk_file_chooser_default_should_respond): Confirm when necessary. - -2005-07-14 Matthias Clasen - - * gtk/gtk.symbols: Add new exported symbols. - -2005-07-14 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting - the MIME type of a file. Look it up in the Registry. Bug reported - by Hans Oesterholt. - -2005-07-14 Tor Lillqvist - - * configure.in (GDK_EXTRA_LIBS): Don't need -luuid on Win32. It - was some leftover, and in fact occasionally caused issues with - libtool as it made its way into the libgdk-win32-2.0.la file and - that way into the .la files of all libraries that depend on - GDK. (This happened only when building from CVS and not using a - full "make install" which would run the sanitize-la.sh script.) - -2005-07-14 Matthias Clasen - - * gdk/x11/gdkevents-x11.c (set_screen_from_root): Don't assert if - the xrootwin is invalid. (#309997, Barbie LeVille) - (gdk_event_translate): Ignore events with an invalid root field. - - * configure.in: Set interface age to 0. - - * gtk/gtkimmodule.h: Move G_BEGIN_DECLS to the right spot, noticed - by Akira Tagoh. - -2005-07-14 Kristian Rietveld - - * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new - function (fixes #169961, reported by Morten Welinder). - -2005-07-14 Kristian Rietveld - - * gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new - function. (fixes #105252, suggestion from Mikael Hallendal). - -2005-07-13 Manish Singh - - * demos/gtk-demo/iconview_edit.c: remove unused variable. - -2005-07-13 Kristian Rietveld - - * gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new - function. (#160879, Stefan Kost). - -2005-07-13 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box - on the area the treeview got allocated extra vertically (fixes - #142063, reported by Brian Bober). - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - make this function calculate real_cell_area and real_background_area - correctly. (fixes #309249, reported by Bernd Demian). - -2005-07-13 Matthias Clasen - - * gtk/gtkcalendar.c (calendar_realize_arrows): Fix an - unintentional case of width-for-height... (#310133, Luis Villa) - -2005-07-13 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_new_column_width): let's take - the MIN of width and max_width here, not width and max_width != -1. - (fixes #144480, reported by Mikael Magnusson). - -2005-07-13 Matthias Clasen - - * gtk/gtkicontheme.c (load_themes): Don't keep the caches - for unthemed directories in a separate list, instead append - them at the end of the dir_mtimes list, so that we can check - them for staleness like the other caches. (#310221, Mark - McLoughlin) - - * configure.in: Check that we have a new enough Cairo. - -2005-07-13 Robert Ögren - - Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust - on Windows. (#167004, thanks to "pnohant" for testing) - - Code cleanup: Remove the unused and unmaintained code for using a - non-system tablet context (USE_SYSCONTEXT ifdef:s), suggested - by Tor Lillqvist. - - * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle - tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully. - Sligthly reorganize and simplify the code to support this. - (_gdk_input_wintab_init_check, _gdk_input_other_event): Remove - USE_SYSCONTEXT ifdef:s and the code for the case it was not defined. - (gdk_input_window_find_within): Removed. - -2005-07-13 Matthias Clasen - - * gdk/win32/bdfcursor.c: Add Copyright/License information. - -2005-07-13 Kristian Rietveld - - * gtk/gtktreeview.c (validate_row): when !separator, don't add - the focus_line_width to width/height (happens in - _column_cell_get_size), but do add the vertical-separator to height, - we weren't taking this into account before. - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - take vertical-separator into account. (#309137, Ross Burton). - -2005-07-13 Matthias Clasen - - * tests/treestoretest.c: - * tests/testxinerama.c: - * tests/testtreeview.c: - * tests/testtreefocus.c: - * tests/testtreeflow.c: - * tests/testtreeedit.c: - * tests/testtreecolumns.c: - * tests/testtext.c: - * tests/testtextbuffer.c: - * tests/testspinbutton.c: - * tests/testsocket_common.c: - * tests/testsocket_child.c: - * tests/testsocket.c: - * tests/testmultiscreen.c: - * tests/testmultidisplay.c: - * tests/testmerge.c: - * tests/testmenus.c: - * tests/testmenubars.c: - * tests/testicontheme.c: - * tests/testfilechooser.c: - * tests/testentrycompletion.c: - * tests/testdnd.c: - * tests/testcombochange.c: - * tests/testactions.c: - * tests/testcombo.c: - * tests/simple.c: - * gtk/gtktextutil.c: - * gtk/gtktexttypes.h: - * gtk/gtktexttypes.c: - * gtk/gtktexttagprivate.h: - * gtk/gtktextsegment.h: - * gtk/gtktextiterprivate.h: - * gtk/gtktextchildprivate.h: - * gtk/gtktextbtree.h: Add Copyright/License information. - - * gtk/gtkicontheme.c (gtk_icon_theme_get_default) - (gtk_icon_theme_get_for_screen): Add a warning about - unreffing icon themes. (#310163, Rodney Dawes) - -2005-07-13 Kristian Rietveld - - * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit - maintaining the iter on every iteration, only get the iter when - we are about to call the foreach_func. Gives us a 10x speedup, - since maintaining iters is a lot more expensive than maintaining - paths. We lose a bit of sanity checking though. Thanks go to - Billy Biggs for pointing this out. - -2005-07-12 Matthias Clasen - - * tests/testcairo.c (draw): Fix the same confusion here, too. - - * gdk/gdkgc.c (make_stipple_tile_surface): Fix - cairo_content_t <-> cairo_format_t confusion. (#310086, - Carlos Garnacho Parro) - - * gtk/gtkfilesystemunix.c - (gtk_file_system_unix_volume_get_display_name): Follow - the Nautilus change and rename "Filesystem" to "File System", - string change. (#310047, Vincent Noel) - -2005-07-12 Matthias Clasen - - * demos/gtk-demo/iconview.c: Rename this demo. - - * demos/gtk-demo/iconview_edit.c: Add a demo for icon view - editing and drag-and-drop. - - * demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles. - -2005-07-12 Matthias Clasen - - * gtk/theme-bits/decompose-bits.c: - * gtk/gtkfilechooserembed.c: - * gtk/gtktextmarkprivate.h: - * gtk/gtktexttagtable.h: - * gtk/gtktexttagtable.c: - * gtk/gtkrc.key.emacs: Add Copyright/License information. - - * gdk/linux-fb/gdkrender-fb.c: - * gdk/linux-fb/gdkpango-fb.c: - * gdk/linux-fb/gdkdrawable-fb2.c: - * gdk/linux-fb/gdkgc-fb.c: - * gdk/linux-fb/gdkfbswitch.c: Add Copyright/License information. - - * gdk/gdkwindow.h: - * gdk/gdkvisual.h: - * gdk/gdkselection.h: - * gdk/gdkselection.c: - * gdk/gdkregion.h: - * gdk/gdkproperty.h: - * gdk/gdkpixmap.h: - * gdk/gdkpixbuf.h: - * gdk/gdkkeyuni.c: - * gdk/gdkintl.h: - * gdk/gdkinput.h: - * gdk/gdkimage.h: - * gdk/gdkgc.h: - * gdk/gdkfont.h: - * gdk/gdkevents.h: - * gdk/gdkdnd.h: - * gdk/gdkcursor.h: - * gdk/gdkcolor.h: Add Copyright/License information. - -2005-07-11 Matthias Clasen - - * modules/input/imm-extra.h: Add Copyright/License information. - -2005-07-11 Matthias Clasen - - * gtk/gtktexttag.c (gtk_text_tag_class_init) - (gtk_text_tag_set_property): Remove the runtime warning about - the invisible property, add a warning about possible remaining - problems to the documentation of the property. (#66194) - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Don't - ever go unconditionally to the buffer ends; that doesn't work - if the initial or final portion of the buffer are invisible. - -2005-07-11 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_class_init): add binding entry - for ctrl + backspace (move focus to parent without affecting - selection), - (gtk_tree_view_real_select_cursor_parent): implement ctrl+backspace - and simplify the function a bit. (#309296, Kathy Fernandes). - -2005-07-11 Matthias Clasen - - Make gtk_window_present() move the window to the current - desktop, instead of letting the WM change the current - desktop to where the window is. (#166379, Elijah Newren) - - * gdk/gdk.symbols: - * gdk/x11/gdkx.h: - * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): - New function to move a window to the current desktop. - - * gtk/gtkwindow.c (gtk_window_present_with_time): Move the - window to the current desktop before giving it focus. - -2005-07-11 Matthias Clasen - - When dragging text, use a drag icon showing the (ellipsized) - text that is being dragged: (#161132, Kevin Duffus, patch - by Carlos Garnacho Parro) - - * gtk/gtktextutil.h: - * gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add - a function to create a pixmap for use when dragging text. - - * gtk/gtktextview.c (gtk_text_view_start_selection_dnd): - * gtk/gtklabel.c (gtk_label_motion): - * gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon - showing the text being dragged. - -2005-07-11 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_move_forward_word) - (gtk_entry_move_backward_word): Match the text view change - to allow selecting whitespace with double-click. - - * gtk/gtktextview.c (extend_selection): Make double-clicking - between words select whitespace. (#309860, Mike Miller, patch - by Paolo Borelli) - - * gtk/gtkiconview.c: Documentation improvements. (#309946, - Torsten Schoenfeld) - -2005-07-10 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove - unneeded check for negative window_y. - -2005-07-10 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move - to the next match when ctrl+g is pressed. (#156657, Matt T. Proud). - -2005-07-10 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): rework - function to make page up/down behave the same as in GtkTextView. - (Fixes #101220, Owen Taylor). - -2005-07-09 Kristian Rietveld - - Fix #305737, patch from Tomislav Jonjic. This makes the - gtk_tree_store_insert* family of functions emit row_has_child_toggled - when needed (they didn't do that before). - - * gtk/gtktreestore.c (gtk_tree_store_insert): emit - row_has_child_toggled when needed, - (gtk_tree_store_insert_before): fix a possible memleak, - emit row_has_child_toggled when needed, - (gtk_tree_store_insert_after): ditto. - -2005-07-09 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when - open_all is TRUE, traverse the newly built tree to emit - row_expanded for the subitems. (rev 1.444, patch in #172319 - broke this). Fixes #305582, reported by Billy Biggs. - -2005-07-09 Tor Lillqvist - - * configure.in: Look for windres on Win32. Drop build/* from - AC_CONFIG_FILES. - - * Makefile.am: Drop build from SUBDIRS. - - * gdk/win32/rc/Makefile.am - * gdk/Makefile.am - * gtk/Makefile.am: Don't use the scripts in build/win32 to compile - the rc files into resource object files. (This means we lose the - build number increment magic, but I doubt it was that useful - anyway.) Instead use windres directly. To pass a normal .o file - produced by windres through libtool, which would want a .lo file, - pass it directly to the linker using a -Wl option. - - * gdk/win32/rc/gdk.rc.in - * gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0. - -2005-07-08 Kristian Rietveld - - Fixes #165034, reported by Jorn Baayen. - - * gtk/gtkrbtree.[ch] (_gtk_rbtree_set_fixed_height): add a - mark_valid parameter (so we can mark all nodes as valid when we - are setting them to the fixed height). - - * gtk/gtktreeview.c (initialized_fixed_height_mode): mark all - nodes as valid when setting the fixed height, - (do_validate_rows): update call to _set_fixed_height, - (gtk_tree_view_row_inserted): mark node as valid when fixed - height mode is enabled and a height has been set, - (gtk_tree_view_build_tree): if fixed height mode is enabled, - mark new nodes as valid in addition to setting the height. - -2005-07-08 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.7.2 === - - * NEWS: Updates - - * gtk/gtkcelllayout.c (gtk_cell_layout_pack_start): - (gtk_cell_layout_pack_end): Add a note about reusing cell - renderers. - - * gtk/gtkdnd.c (gtk_drag_update_cursor): Pass a GdkDragAction to - gtk_drag_get_cursor. (#309784, Sebastien Bacher) - -2005-07-08 Tor Lillqvist - - * gtk/gtkfilesel.c: Use g_get_host_name(). - -2005-07-07 Matthias Clasen - - * configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX. - (#162979, Paul Cornett) - - * gtk/gtkhscale.c (gtk_hscale_new_with_range): - (gtk_vscale_new_with_range): Add some additional docs on - precision here too. (#309238, Steve Chaplin) - - * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't - generate events on destroyed windows. - - Implement Drag-and-Drop to the file list. (#145121, Sven Neumann) - - * gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb) - (file_list_drag_drop_cb, file_list_drag_motion_cb): New functions - to handle drag-and-drop on the file list. - (create_file_list): Set up drag-and-drop handlers on the file list. - -2005-07-07 Matthias Clasen - - Fix #157787, reported by Jonathan Blandford: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_set_current_folder): Don't leave a - "trail" behind when set_current_folder is called explicitly. - (gtk_file_chooser_default_update_current_folder): New function - that is called to update the current folder in response to - user actions. - - * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean - keep_trail argument, and don't leave a "trail" behind unless - it is set. - -2005-07-06 Manish Singh - - * demos/gtk-demo/menus.c: change_orientation() should return void, - remove unused variable in do_menus(). - -2005-07-06 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c - (gdk_win32_icon_to_pixbuf_libgtk_only): Don't create the GdkPixbuf - until we know that we have something to put in it. - -2005-07-05 Matthias Clasen - - * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some - additional docs on precision. (#309238, Steve Chaplin) - - * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO) - -2005-07-05 Matthias Clasen - - * doc/tools/widgets.c: Actually generate a file-button - image. - -2005-07-06 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c: Add comment about the current named - cursor implementation, and what it maybe really should do. - (gdk_win32_icon_to_pixbuf_libgtk_only): New function, code moved - here from gtk/gtkfilesystemwin32.c:extract_icon(). - (gdk_cursor_get_image): Use - gdk_win32_icon_to_pixbuf_libgtk_only(). - - * gdk/gdk.symbols - * gdk/win32/gdkwin32.h: Declare gdk_win32_icon_to_pixbuf_libgtk_only(). - - * gtk/gtkfilesystemwin32.c (extract_icon): Use - gdk_win32_icon_to_pixbuf_libgtk_only(). - -2005-07-05 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_grab_notify): Take window - groups into account. (#309473, Diego Gonzalez) - - * gtk/gtkwindow.[hc]: Add a non-exported function to - get the grab widget of a window group. - -2005-07-05 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): in the - 'main' expose loop, add back the calls to _set_cell_data - removed earlier. (#309221, Matthias Clasen). - -2005-07-05 Matthias Clasen - - * demos/gtk-demo/menus.c: Demonstrate vertical menubars. - - * gtk/gtk.symbols: - * gtk/gtkaboutdialog.[hc]: Add a wrap-license property - with getter and setter. (#165012, Christian Rose, - based on a patch by Christian Persch) - -2005-07-05 Matthias Clasen - - * gdk/Makefile.am: Distribute the keyname-table.h header - and the files that are used to construct it. (#309421, - J. Ali Harlow) - -2005-07-04 Matthias Clasen - - * gtk/gtkmenubar.c (gtk_menu_bar_set_pack_direction) - (gtk_menu_bar_set_child_pack_direction): Queue a resize - on the contained menuitems as well. - - * demos/gtk-demo/appwindow.c: Break some overlong lines. - -2005-07-03 Hans Breuer - - * **/makefile.msc[.in] : updated - * gtk/gtkiconcache.c : for open() - * gtk/gtkstyle.c : use G_PI instead of M_PI - - * gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name() - by mapping the lower case win32 api name to the respective cursor. - E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load - cursors from named resources in the executable. - (gdk_cursor_get_image) : just return NULL for now. - - * gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region() - by delegation to ScollWindowEx(), untested. - - * gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint() - -2005-07-03 Matthias Clasen - - * gtk/gtkimagemenuitem.c: Hmm, when committing my vertical - menubar patch, I forgot the GtkImageMenuItem changes. And I - managed to do 2 releases without noticing that... - - * gtk/gtksettings.c (gtk_settings_class_init): Correct the - blurb for the icon-sizes setting. String change. - (#309355, Benjamin Berg) - -2005-07-01 Matthias Clasen - - * configure.in: Bump version. - - * === Released 2.7.1 === - - * NEWS: Updates - -2005-07-01 Matthias Clasen - - * gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite - loop when G_FILENAME_ENCODING is invalid. (#309280, Padraig Brady) - -Thu Jun 30 14:17:24 2005 Manish Singh - - * gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event. - - * gtk/gtkbutton.c: fix signature of gtk_button_grab_broken. - -2005-06-30 Matthias Clasen - - * gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid - infinite loop if a mask is zero. (#309222, David Saxton) - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child): - Clarify the code, gcc 4 complains about predecrement in MAX(). - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't - prematurely unregister callbacks. - - * NEWS: Updates - -2005-06-29 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken - grabs. - - * gtk/gtkrange.c (gtk_range_grab_broken): Handle broken - grabs. - - * gdk/gdkevents.h: Add a boolean to specify wether the broken - grab was implicit. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed): - As the documentation states, don't return TRUE for - implicit grabs. - - * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add - a boolean field to store wether a pointer grab is implicit. - - * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event): - Track implicit grabs. - - * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call - _gdk_xgrab_check_button_event for button events. - -2005-06-28 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size2): - Make sure that cell boxes are always completely inside - the item area. - -2005-06-27 Matthias Clasen - - * demos/gtk-demo/main.c (create_tree): Make the list of - demos scrollable. - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): - Fix positioning at the end of the line for lines ending - in invisible characters. - (gtk_text_layout_get_line_display): Set display->layout - to a PangoLayout, even for totally invisible lines. - - * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore - GrabBroken events which are caused by overgrabbing inside - the application; menus rely on these for their operation. - - * gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a - grab_window field. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Set - grab_window to NULL when generating GrabBroken events for - WM_KILLFOCUS messages. - - * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap) - (_gdk_xgrab_check_destroy): Set grab_window to NULL when - generating GrabBroken events when the grab window becomes - unviewable or is destroyed. - - * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): - Generate GrabBroken events when overriding a grab inside - the application. In this case, set grab_window to the new - grab_window. - -2005-06-27 Matthias Clasen - - * gtk/gtkbutton.c (gtk_real_button_activate): Continue - to activate even if we can't grab the keyboard. - (gtk_button_finish_activate): Only ungrab when we have - a keyboard grab. (#172998, William Jon McCann) - -2005-06-27 Matthias Clasen - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): - Avoid a segfault. (#309054) - -2005-06-27 Matthias Clasen - - * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add - fields for grab timestamps. - - * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): - Store grab timestamps when grabbing. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab) - (gdk_display_pointer_ungrab): Don't unset the grab_window - if the timestamps indicate that the ungrab will fails. - - * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when - they are grab-shadowed by something thats not a - submenu. (#145416, Euan MacGregor) - -2005-06-27 Owen Taylor - - * gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks): - Fix indentation. - -2005-06-27 Kjartan Maraas - - * gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks - * gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same - Closes bug #308953. - -2005-06-27 Matthias Clasen - - * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use - GMappedFile. - - * configure.in: Require GLib 2.7.1 - -2005-06-26 Matthias Clasen - - * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): - Unregister XIM callbacks here. (#309054) - - * modules/input/gtkimcontextxim.h: Small cleanup. - - * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the - scroll offset when drawing the box. (#308834, Tom von - Schwerdtner) - -2005-06-26 Tor Lillqvist - - * gdk/Makefile.am - * gtk/Makefile.am: Current GNU tools do understand the PRIVATE - keyword, so no need to remove those entries from the import - library. libtool installs the .dll.a import library itself, so no - need to do it here. Install the .def file. - -Sun Jun 26 00:04:36 2005 Manish Singh - - * gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add - GDK_GRAB_BROKEN to the switch cases. - - * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused - variables. - - * gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE. - -2005-06-26 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column - header drag operations if the grab is broken. - - * gtk/gtkhsv.c (gtk_hsv_grab_broken): Stop the drag if - the grab is broken. - - * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't do - explicitly ungrab pointer and keyboard. We're unmapping - the grab window anyway. - (gtk_combo_box_popup): Handle grab failures. - -2005-06-25 Matthias Clasen - - * gdk/x11/gdkmain-x11.c (gdk_keyboard_grab, gdk_pointer_grab): - Don't emit grab-broken for overgrabbing, until we figure - out how to do that without breaking the menu code. - -2005-06-25 Matthias Clasen - - Add a GrabBroken event to GDK, and a grab-broken-event - signal to GtkWidget. (#107320, Simon Cooke, initial patch - by John Ehresman) - - * gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type, - define a GdkEventGrabBroken event struct. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): - Generate GrabBroken events in response to WM_KILLFOCUS. - - * gdk/x11/gdkmain-x11.c: Generate GrabBroken events - when a grab is broken by the window becoming unviewable, - or by another grab from the same client. - - * gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event. - - * gtk/gtkwidget.c (gtk_widget_event_internal): Translate - GrabBroken events into grab_broken_event signals. - - * gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken - events. - - * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate - the menu when the grab is broken. - - * gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop - the color picker if the grab is broken. - - * gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if - the grab is broken. - -2005-06-25 Matthias Clasen - - Add some new stock items. (#166480, Kristof Vansant) - - * gtk/stock-icons/stock_fullscreen_16.png: - * gtk/stock-icons/stock_fullscreen_24.png: - * gtk/stock-icons/stock_leave_fullscreen_16.png: - * gtk/stock-icons/stock_leave_fullscreen_24.png: - * gtk/stock-icons/stock_info_16.png: - * gtk/stock-icons/stock_info_24.png: New icons. - - * gtk/stock-icons/Makefile.am: Add new icons. - - * gtk/gtkstock.h: Define names for the new icons. - - * gtk/gtkstock.c (builtin_items): Register new stock items. - - * gtk/gtkiconfactory.c (get_default_icons): Register new - stock icons. - -2005-06-24 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of - conversion functions for MSB machines: convert_0888[_br] - now work on bytes so are endian independent. - (Reported by David Zeuthen) - -2005-06-24 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't - jump to the next line if we are at the end of the line. - (gtk_text_view_move_cursor_internal): Make movement by - paragraphs up/down symmetric. (#307055, Behnam Esfahbod) - -2005-06-23 Tor Lillqvist - - Improve and simplify line segment rendering on Win32, especially - the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes - bugs #306396 and #308413. - - * gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's - line_style, cap_style and join_style as such in the - GdkGCWin32. Don't need to keep the pen_double_dash flag, we can - check the line_style. - - * gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets - up the GDI pen type, style, end cap and join attributes to use - based on the pen width, GDK line style, end cap style, and join - style. - - For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end - cap style, which typically are used for XOR drawing where it is - essential that the last pixel is not drawn, use a GDI cosmetic - pen. Only for a cosmetic pen does GDI not draw the last pixel. I - deduced this by experimetation, the documentation is rather vague. - - For other GDK pens use a geometric GDI pen. If the width is 0 or 1 - and the GDK end cap style is GDK_CAP_BUTT, and the line style is - GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also - single-pixel length lines are drawn. (For sngle-pixel width lines - roundness as such is of course irrelevant.) For dashed lines, use - PS_ENDCAP_FLAT. - - For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE, - respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING. - - For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to - work better than PS_USERSTYLE. For other dashed lines, use - PS_USERSTYLE and the dashes as set by the user (or the default - four-pixel on-off style). - - (gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes): - Call fixup_pen() to do the pen settings after modifying some of - the GDK GC attributes that affect pens. - - * gdk/win32/gdkdrawable-win32.c (render_line_horizontal, - render_line_vertical, draw_segments): Check GdkGCWin32::line_style - instead of the the removed pen_double_dash member. Don't use - PATCOPY unconditionally in the PatBlt() call, use a raster op - code that depends on the GC function in use. - - (draw_rectangle, draw_segments, draw_lines): Be more careful in - deciding when to do the manual dash rendering. - - (draw_segments): Don't do any manual "last point" drawing at - all. The above changes takes care of narrow line segments being - drawn correctly in most cases, at least on NT-based Windows. - -2005-06-23 Matthias Clasen - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): - Fix an error in the cache timeout logic. (#166601, Morten - Welinder) - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Change the - keynav for header reordering and resizing to Alt-arrows and - Shift-Alt-arrows, following a proposal by the keynav - authority. (#308666, Calum Benson) - - * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove - a leftover debugging envvar. - -2005-06-23 Owen Taylor - - * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the - big endian case for 3-channel source. (Reported by - David Zeuthen) - -2005-06-23 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_construct_child): Don't - trigger warnings if there are extra references to the - hbox. (#308677, Dan Winship) - - * gtk/gtkfilesystemunix.c (bookmark_list_write): Use - g_file_set_contents(). (#308722, Morten Welinder) - -2005-06-22 Matthias Clasen - - * gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the - time field in the event. (#308573, Morten Welinder) - - * gtk/gtkfilesystemunix.c: Remove gratitious differences - between the stable branch and HEAD, which sneaked in with - the bookmark renaming. - -2005-06-22 Kjartan Maraas - - * gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context - Closes bug #308581. - -2005-06-21 Matthias Clasen - - * gtk/gtkarrow.c: - * gtk/gtkimage.c: - * gtk/gtklabel.c: - * gtk/gtkpixmap.c: Modify all of the GtkMisc widgets to round down - on centering calculations to match the behaviour of other parts - of GTK+. (#307419, Ryan Lortie) - -2005-06-21 Matthias Clasen - - * gtk/gtkdnd.c (gtk_drag_source_set): Connect to - button-release-event as well, to handle touchscreen - scenarios better. (#171490, Markku Vire) - - * gtk/*.h: Trivial cleanups. (#169647, #303455, - Fabricio Barros Cabral, Benoit Carpentier) - - * gdk/gdk.symbols: - * gdk/gdkwindow.h: - * gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New - function which can be used to implement scrolling in - non-window widgets. (#135165, Søren Sandmann) - -2005-06-20 Matthias Clasen - - * gtk/gtkiconcache.c: Handle MAP_FAILED. (#308449, Georg - Schwarz) - -2005-06-20 Matthias Clasen - - * configure.in: Bump version number. - - * === Released 2.7.0 === - -2005-06-20 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkwindow.h: - * gtk/gtkwindow.c (gtk_window_present_with_time): Variant of - gtk_window_present which takes a timestamp. (#166379, Elijah Newren) - -2005-06-19 Matthias Clasen - - * gtk/gtk.symbols: Add a forgotten symbol - - * NEWS: Updates - -2005-06-19 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): added a - check which avoids processing updates on bin_window and scrolling - if the node is already visible. (#170600, Billy Biggs). - -2005-06-19 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): only keep the - row at the same position if the full row is visible. (#304623, - Jorn Baayen). - -2005-06-19 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero - if treeview's height is smaller than the current page_size (just - like we do elsewhere). - -2005-06-19 Kristian Rietveld - - Make mousewheel scrolling possible in typeahead mode, suggestion - from Reinout van Schouwen (#307898). - - * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): - connect treeview search window to scroll_event signal, - (gtk_tree_view_search_scroll_event): implement. - -2005-06-19 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_search_button_press_event): pass - the event on to treeview, so it has a change of selecting a row, etc. - (#169677, Kirk Bridger). - -2005-06-19 Kristian Rietveld - - This commit includes a fix for #169463, Stefan Kost. - - * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size): - when cell_area is set, return cell_area width/height as width/height, - so the focus rectangle will be drawn correctly. - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): drop unneeded get - of focus-line-width property, - (validate_row): take focus_line_width into account. - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): - also take focus_line_width into account when calculating the cell_area - y and height (before, we only took it into account when calculating - x and width). - -2005-06-19 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtksizegroup.[hc]: Add an ignore-hidden property - with getter and setter. (#171612, Christian Neumair) - -2005-06-18 Matthias Clasen - - * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Make this - work for inserting before/after an existing menuitem or - toolitem. (#155946, Christian Persch) - - * tests/testmerge.c (delayed_toggle_dynamic): Test the - "insert after" functionality of gtk_ui_manager_add_ui. - - * gtk/gtkuimanager.c: Allow to construct menu tool buttons. - (#300678, Sven Neumann) - - * demos/gtk-demo/appwindow.c: Demonstrate menu tool buttons - constructed with GtkUIManager. - - * gtk/gtk.symbols: - * gtk/gtkimage.h: - * gtk/gtkimage.c (gtk_image_clear): Make this function - public. (#64792, Havoc Pennington) - -2005-06-18 Kristian Rietveld - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): undo merging - of the separate loop setting cell data with cell drawing loop - (introduced in revision 1.280), since this breaks focus handling - wrt special cells. - -Sat Jun 18 04:22:51 2005 Manish Singh - - * gdk/gdkcursor.h: remove GDK_CURSOR and GDK_IS_CURSOR, instance - checks don't work on boxed types. - - * gdk/x11/gdkcursor-x11.c: - * gdk/gdkcursor.c: make return_if_fail checks != NULL instead of - GDK_IS_CURSOR. - -Sat Jun 18 04:21:58 2005 Manish Singh - - * gtk/gtktreeview.c (do_presize_handler): remove unused variable - height_old. - -2005-06-18 Matthias Clasen - - * gtk/gtkcellrenderertoggle.c: - * gtk/gtktextview.c: - * gtk/gtktreeview.c: Typo fixes in comments. - - * gtk/gtkpaned.c (gtk_paned_add): Barf if more than - 2 children are added. (#308111, Morten Welinder) - - * gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is - 1-based. (#163842, Pierre Ossman) - -2005-06-17 Kristian Rietveld - - Fix #160281, testcase from Peter Bloomfield. - - * gtk/gtktreeview.c (do_presize_handler): always size request - and update adjustments in fixed height mode, - (gtk_tree_view_build_tree): if a fixed height is set, set this - height on newly added nodes. - -2005-06-17 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions - and suggested_action fields in the GdkDragContext to - GDK_ACTION_COPY. Otherwise apps that check the suggested_action - field, like eog, won't accept dropped files. - -2005-06-17 Matthias Clasen - - Support the ICCCM urgency hint. (#61858, Havoc Pennington) - - * gtk/gtk.symbols: - * gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property - with getter and setter. - - * gdk/gdk.symbols: - * gdk/gdkwindow.h: - * gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint): - Add a setter for the urgency hint. - - * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store - urgency hint here. - - * gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency - hint in the WM_HINTS property when appropriate. - -2005-06-17 Matthias Clasen - - * gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR(). - - * gdk/x11/gdkcursor-x11.c: - * gdk/gdkcursor.c: Improve some return_if_fail checks, - and add the missing non-Xcursor fallback for - _gdk_x11_cursor_update_theme(), noticed by Jeroen - Zwartepoorte. - - * gtk/gtkbutton.c (gtk_button_class_init): Document - several button signals as not useful. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): - Resize the popup if necessary. (#308076, Vincent Noel) - - * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a - draw on the old and new focus widgets, if their defaultness - changes. (#305607, Billy Biggs) - -2005-06-17 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): make sure the row - above 'above_path' is always in a validated state, so it does - not mess up scrolling. (#303319, testcase from Billy Biggs). - -2005-06-17 Matthias Clasen - - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkcursor-x11.c: Handle cursor theme changes - for cached cursors which are not associated with a window - at the time of the theme change, by storing a serial - number in each cursor, and updating the theme_serial - counter whenever the cursor theme changes. - - * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme): - Private function to update a cursor to the current - cursor theme if necessary. - - * gdk/x11/gdkmain-x11.c (gdk_pointer_grab): - * gdk/x11/gdkwindow-x11.c (gdk_window_set_cursor): Call - _gdk_x11_cursor_update_theme() here. - -2005-06-17 Owen Taylor - - * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix - #if G_BYTE_ORDER == GDK_LSB_FIRST. - -2005-06-17 Kristian Rietveld - - * gtk/gtktreeview.c (validate_visible_area): don't try to update - the top_row rowref ourselves here, but just have _dy_to_top_row() - do it, - (gtk_tree_view_scroll_to_cell): handle scrolling via - validate_visible_area() if the treeview is not visible or needs - reallocation. (#165246, Nickolay V. Shmyrev). - -2005-06-17 Kristian Rietveld - - Fixes #307914 (Alexander Larsson), fixing some breakage caused - by my previous commit. - - * gtk/gtktreeview.c (validate_visible_area): force dy to be zero - when it fits on a single page, - (scroll_sync_handler): same here. - -Thu Jun 16 15:33:42 2005 Manish Singh - - * gdk/x11/gdkcursor-x11.c (update_cursor): remove unused variable. - - * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_get_cursor): use - g_return_val_if_fail. - - * gtk/gtkdnd.c (gtk_drag_get_cursor): initialize hot_x and hot_y - for all cases. - - * gtk/gtkfilechooserdefault.c (button_new): gtk_button_set_image - takes a GtkWidget, not a GtkImage. - -2005-06-16 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (button_new): Simplify - the code and respect the show-button-images setting. - (#307941, Vincent Noel) - - * gtk/gtkdnd.c: Update the RGBA cursor if an - icon is set after the cursor has been constructed. - Also handle repeated setting of icons correctly. - -2005-06-16 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_set_image): Add some more - docs. (#307818, Christian Persch) - -2005-06-15 Matthias Clasen - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): - Initialize all fields of the expose event. (#151693, - Jim Evins) - -2005-06-15 Matthias Clasen - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image): Get - red and blue in place. - - * gtk/gtkwindow.c (gtk_window_parse_geometry): Fox doc - formatting, pointed out by Kjartan Maraas. - - * gtk/gtksettings.c: Add two new settings, - gtk-cursor-theme-name and gtk-cursor-theme-size to - control the cursor theme. - - * gdk/x11/gdkevents-x11.c: Add two new X settings, - Gtk/CursorThemeName and Gtk/CursorThemeSize, and map - these to the gtk settings. - - * tests/testgtk.c (create_cursors): Add a cursor theme - testcase. - - * gdk/x11/gdkwindow-x11.[hc]: Keep a reference to the - GdkCursor and add a private getter for it, so that we can - update the cursor when the cursor theme changes. - - * gdk/gdk.symbols: - * gdk/x11/gdkx.h: - * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): - New function to change the cursor theme. - - * gdk/x11/gdkwindow-x11.c: Remove a lot of pointless - g_return_if_fail() non-NULL checks. - -2005-06-15 Matthias Clasen - - * gdk/abicheck.sh: Use uniq to filter out duplicates. - * gdk/gdk.symbols: Fix a define. - -2005-06-14 Matthias Clasen - - * gtk/gtkwindow.c (gtk_window_parse_geometry): - Fix up the example. (#307699, Michal Suchanek) - -2005-06-14 Matthias Clasen - - * gtk/gtkcalendar.c: Update num_marked_dates as we - used to do. (#307689, Thorsten Schoenfeld) - -2005-06-14 Federico Mena Quintero - - Merged from gtk-2-6: - - Fix #302087: - - * gtk/gtkfilechooserdefault.c (list_selection_changed): Emit - "selection-changed" and do the normal housekeeping even if we are - in SAVE mode and there is nothing selected. We didn't emit that - signal if we were in SAVE mode and unselect_all() got called. - (gtk_file_chooser_default_unselect_all): Call - pending_select_paths_free() so that we cancel any asynchronous - selections. - (gtk_file_chooser_default_set_current_name): Likewise. - -2005-06-14 Federico Mena Quintero - - Merged from gtk-2-6: - - Fixes #307640: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_should_respond): Oops, I broke SAVE - mode. If the parent path is a folder, only create a subfolder if - we are in CREATE_FOLDER mode; if we are in SAVE mode, just return - and respond. Also, pick up the case where the user types - "dirname/" instead of "dirname". - (check_save_entry): Make the return type void. Add some return - parameters so that we can do more thorough checking. - (gtk_file_chooser_default_get_paths): If the file part is empty - and we are in SAVE mode, return an empty selection. - -2005-06-15 Kristian Rietveld - - Patch for #163214 (reported by Tommi Komulainen) and fixes some - other scrolling/validation related bugs along the why. - - * gtk/gtktreeview.c (gtk_tree_view_size_request): run - do_validate_rows once and don't queue a size request there, - (gtk_tree_view_size_allocate): don't update vadj value without - reason, sync top_row/dy after the window sizes and adjustments - are in sync again, - (validate_visible_area): always update dy when scrolling, - manually set top_row here after changing the vadj (don't depend - on _adjustment_changed and top_row/dy sync to do this), since we - now always set top_row here correctly, we can always free - scroll_to_path at the end which avoids infinite expose loops, - (do_validate_rows): add queue_resize boolean, remove top_row/dy - sync here, we cannot do it safely at this place since the - window sizes and adjustments are out of sync, - (validate_rows), (validate_rows_handler): update call to - do_validate_rows(). - -2005-06-14 Matthias Clasen - - * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_name): Add a - stub for the no-Xcursor case. (noticed by Luis Villa) - - Use named cursors for the DND cursors, the names are "dnd-none", - "dnd-copy", "dnd-link", "dnd-move" and "dnd-ask". Also use an RGBA - cursor instead of cursor+window when possible. This saves - roundtrips during the drag operation, and makes translucent icons - possible. - - * gtk/gtkdndcursors.h: New file, containing inlined pixbufs - for the default dnd cursors. - - * gtk/gtkdnd.c (struct _GtkDragSourceInfo): Store the cursors - used during the drag here, also store the icon pixbuf here. - - * gtk/gtkdnd.c (drag_cursors): Store the cursor names here. Also - switch the default cursors from xbm to inlined pixbufs. - - * gtk/gtkdnd.c (gtk_drag_get_cursor): This function now takes the - GtkDragSourceInfo as well, since it has to composite the - drag-specific cursors. The cursors combined from the image of - the themed cursor and the icon_pixbuf stored in the info. - - * gtk/gtkdnd.c (gtk_drag_begin_internal): Don't set the default - icon if there is an icon_pixbuf, which will be composited into - the cursor later. - - * gtk/gtkdnd.c (set_icon_stock_pixbuf): If appropriate, store - the pixbuf in the info struct for later compositing into the - cursor instead of creating an icon window. - - * gtk/gtkdnd.c (gtk_drag_drop_finished): If we used an - RGBA cursor for the drag, and need to display the cancel - animation, construct the icon window here. - - * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Unref the - drag-specific cursors and the icon_pixbuf when done with - the drag. - -2005-06-14 Matthias Clasen - - * gtk/gtkcolorsel.c (make_picker_cursor): Use a named cursor - with the name "color-picker", when available. - - * gdk/gdk.symbols: - * gdk/gdkcursor.h: - * gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image) - (gdk_cursor_new_from_name): New functions to construct named - cursors and to get the image used for a cursor. - -2005-06-13 Matthias Clasen - - * gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the - path bar is done, implementing the following principles: - (#137289, patch by Benjamin Otte) - - 1. Re-root only if $HOME is an ancestor of the current path. - - 2. When re-rooting, make sure the Left arrow appears in the path - bar, so that you can navigate up from $HOME to /. In that case, - make sure the Right arrow doesn't appear if the sub-hierarchy from - $HOME to the cwd fits in the window. - - 3. Make sure that hitting Alt-Up takes you always one folder up, - even when the path bar is re-rooted. - - * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): - Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld) - - * gtk/gtkfilechooserbutton.c (model_update_current_folder): - Free the data of the row before overwriting it. (#307490, - Kjartan Maraas) - -2005-06-13 Kjartan Maraas - - * gtk/gtkcalendar.c: (calendar_paint_arrow): Don't - leak the cairo context. Closes bug #307426. - -2005-06-13 Matthias Clasen - - Make invisible text work a bit better (#66194, patch by - Jeroen Zwartepoorte) - - * gtk/gtk.symbols: - * gtk/gtktextiter.[hc]: Add function to move by - visible lines. - - * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): - Skip invisible text when moving by paragraphs. - - * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually): - Skip invisible lines here too. - -2005-06-12 Matthias Clasen - - * gtk/gtkselection.c (gtk_target_list_add_image_targets): - Don't leak the format names. (#307190, Morten Welinder) - -2005-06-12 Kjartan Maraas - - * gdk/x11/gdkasync.c: (send_event_handler): Plug - a leak. Closes bug #307281. - -2005-06-12 Matthias Clasen - - * gtk/gtkcalendar.c (calendar_paint_header): - (gtk_calendar_size_request): Allow localization of the - format in which the year is displayed. (#135451, Paisa - Seeluangsawat) - - * gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral) - - * gdk/gdkcairo.c: Small doc additions. - - * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row): - Check start_button_mask before starting a drag. (#149058, - Andreas Volz) - - * gtk/gtkfilesystemunix.c: Support .hidden files. (#129170, - Sayamindu Dasgupta, patch by Jan Arne Petersen) - -2005-06-11 Matthias Clasen - - * NEWS: Updates. - - * gtk/gtkwidget.c (gtk_widget_set_app_paintable): More docs - provided by Owen Taylor. - - * gtk/gtk.symbols: - * gtk/gtkiconview.h: - * gtk/gtkiconview.c (gtk_icon_view_get_visible_range): - Add a function to determine what parts of the model are - visible. (#306726, Jonathan Blandford) - - * gtk/gtkfilesystemunix.c (create_file_info): Treat backup - files the same way as hidden files, to be closer to what - Nautilus does. (#136196, Sean Middleditch) - -2005-06-10 Matthias Clasen - - * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): - Don't modify strings returned from gettext(). - -Fri Jun 10 19:06:03 2005 Manish Singh - - * gtk/gtktextdisplay.c (render_para): don't use deprecated - gdk_gc_unref function. - -2005-06-10 Matthias Clasen - - Allow setting paragraph background. (#81045, Gustavo - Carneiro, patch by Jeroen Zwartepoorte) - - * gtk/gtktextlayout.c (set_para_values): Propagate - pg_bg_color to the display struct. - (gtk_text_layout_free_line_display): Free it here. - - * gtk/gtktextdisplay.c (render_para): If pg_bg_color - is set, draw a rectangle in that color behind - the paragraph. - - * gtk/gtktexttag.c (gtk_text_tag_class_init): Add - paragraph-background, paragraph-background-gdk and - paragraph-background-set properties. - (set_pg_bg_color): A setter for paragraph-background. - - * gtk/gtktextlayout.h (struct _GtkTextLineDisplay): Add - pg_bg_color. - - * gtk/gtktexttag.h (struct _GtkTextAttributes): Add - pg_bg_color. - (struct _GtkTextTag): Add pg_bg_color_set. - -2005-06-10 Kjartan Maraas - - * gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the - cairo surface when done with it. Plugs a fairly large leak in - some cases. - ==6014== 1999824 (115640 direct, 1884184 indirect) bytes in - 826 blocks are definitely lost in loss record 25239 of 25250 - Like this from nautilus. - -2005-06-10 Michael Natterer - - * gtk/gtk.symbols - * gtk/gtkaction.[ch] (gtk_action_get_accel_closure): new function - to get an action's accel_closure (Fixes #141750 and #148106). - -2005-06-10 Matthias Clasen - - * gdk/gen-keyname-table.pl: Generate N_() calls for - translatable key names. - - * gdk/keynames.txt: Mark some key names as translatable. - - * gdk/keyname-table.h: Regenerated. - - * gtk/gtkaccellabel.c (gtk_accel_label_class_init): Add - some context to the msg ids for keyboard modifiers and - key names. - (_gtk_accel_label_class_get_accelerator_label): Try to - translate key names. (#300224, Christian Rose) - -2005-06-10 Federico Mena Quintero - - Merged from gtk-2-6: - - Fixes #162358: - - * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return - immediately if we are in CREATE_FOLDER mode, so that we can fill - the entry with the newly-selected folder. - (gtk_file_chooser_default_set_property): Warn against turning on - multiple selection for CREATE_FOLDER mode, or about setting that - action while multiple selection is on. - (update_chooser_entry): Change the entry's contents as well if we - are in CREATE_FOLDER mode. If nothing is selected, clear the - chooser entry. - (trap_activate_cb): Don't trap enter/space if modifiers are - pressed. This lets one use Ctrl-space to toggle rows in multiple - selection mode. - (gtk_file_chooser_default_should_respond): Clean up the if-chain - mess of special cases by using an array to determine what to do. - Also, for the save-entry case in CREATE_FOLDER mode, actually fix - the bug where the file chooser would switch to an existing folder - rather than confirming with it, and create the folder ourselves. - (error_creating_folder_over_existing_file_dialog): New function. - - * gtk/gtkfilechooserentry.c (check_completion_callback): Only - insert the common prefix if we are in an "open" mode. Use a - helper function. - (append_common_prefix): New helper function; code moved over from - check_completion_callback(). - (find_common_prefix): New helper function. - (gtk_file_chooser_entry_focus): Append the common prefix if the - user requests it explicitly. - -2005-06-10 Matthias Clasen - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): - * gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow): - * gtk/gtktextview.c (gtk_text_view_get_iter_at_position): - * gtk/gtkstock.c (gtk_stock_set_translate_func): - * gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment): - * gtk/gtkscrolledwindow.h: - * gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus): - - * gtk/gtkiconview.c (gtk_icon_view_set_margin): - * gtk/gtkicontheme.c (gtk_icon_info_load_icon): - * gtk/gtkcalendar.c (gtk_calendar_thaw): Doc fixes. - -2005-06-09 Matthias Clasen - - * gdk/x11/gdkwindow-x11.c: Small markup fixes. - - * gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add docs. - (#306212, Steve Chaplin, docs provided by Billy Biggs) - - * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): Small - cleanup. (#305539, Paolo Borelli) - -2005-06-09 Rodrigo Moya - - * configure.in: added cairo to list of $GTK_PACKAGES. - -2005-06-09 Matthias Clasen - - * gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update - the user time on the window when a drop happens. (#169364, Alexander - Hunziker, patch by Elijah Newren) - - * gdk/x11/gdkwindow-x11.c: Small markup fixes. - - * gtk/gtk.symbols: - * gtk/gtkiconview.h: - * gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): New function - to scroll to a path. (#306838, Jonathan Blandford) - -2005-06-08 Matthias Clasen - - * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the - item. (#306839, Jonathan Blandford) - - * gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for - negative before appending the index, to avoid double error - message. (#306393, Morten Welinder) - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - Don't crash if search_window is NULL. (#304914, Victor Osadci, - testcase by Olaf Vitters) - - * gtk/gtkimage.c: Make the file property readable. - (#170674, Lorenzo Gil Sanchez) - - -2005-06-08 Matthias Clasen - - * gtk/gtkfilesystem.c (gtk_file_info_get_display_key): Use - g_utf8_collate_key_for_filename(). - -2005-06-07 Kjartan Maraas - - * gtk/gtkfilechooserbutton.c: (update_label_and_image): - Merge leak fix from stable. Bug 306754. - -2005-06-05 Tor Lillqvist - - * gdk/win32/gdkscreen-win32.c - (_gdk_windowing_substitute_screen_number): Return NULL unless - screen number is zero. We have only one screen on Win32. - (gdk_screen_make_display_name): Call gdk_display_get_name() and - return that. - - * modules/engines/Makefile.am - * modules/input/Makefile.am: Decide whether to build the - ms-windows theme engine based on the GDK backend, not based on - platform. (I.e., if building for Cygwin with the X11 backend, we - shouldn't build the ms-windows engine, but if building for Cygwin - but with the Win32 backend, we should.) Ditto for the IME - (Windows) input module. (#305832) - -2005-06-04 Tor Lillqvist - - * gdk/win32/gdkcursor-win32.c - * gdk/win32/gdkwindow-win32.c - * gdk/win32/gdkprivate-win32.h: Support full-colour cursors. - Support cursors with alpha on XP. Use code in common with the - support for alpha icons that already was present. (#306101, Tim - Evans) - - * modules/engines/ms-windows/msw_style.c: Render insensitive icons - in a way that more closely matches Windows. (#305986, Tim Evans). - - * modules/engines/ms-windows/Makefile.am (LDADDS): Link with - gdk-pixbuf. - -2005-06-03 Dom Lachowicz - - * modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp - * modules/engines/ms-windows/xp_theme.c: Ditto - * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto - -Thu May 26 16:43:27 2005 Manish Singh - - * gtk/gtkentrycompletion.h: Add declarations for - gtk_entry_completion_{get,set}_popup_single_match. - -2005-05-26 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkentrycompletion.c: Add a property to suppress the - popup for single matches. (#154711) - - * gtk/gtkentry.c (gtk_entry_completion_timeout): Respect it here. - - * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): - Use it here. - - * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the - redisplay after modifying the tag in the btree, otherwise - we end up showing the old tags until the next redraw comes - around. (#143537, Gary Kramlich, Peter Wainwright) - - * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make - autoscrolling work at the bottom of the screen. - -2005-05-26 Maciej Katafiasz - - * docs/reference/gtk/tmpl/gtkentry.sgml: - Point to GtkTextView instead of GtkText. Fixes bug #305535 - -2005-05-26 Sven Neumann - - * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): use a less - aggressive PNG compression level (bug #305340). - -2005-05-26 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting - from the root window, take the multi-monitor offset into - account. (#305511) - -2005-05-25 Matthias Clasen - - * demos/gtk-demo/appwindow.c (do_appwindow): Set the window - icon by name. - - * gtk/gtkfilesystem.c (gtk_file_folder_is_finished_loading): - Remove another C99ism. - - * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the - background of rows insensitive when the treeview is insensitive. - (pointed out by Billy Biggs) - - * demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste - and DND, and clipboard persistency. - - * gtk/gtkselection.c (gtk_target_list_add_image_targets): - Make sure png comes first, otherwise dnd may use bmp by - default, loosing transparency. - -2005-05-25 Michael Natterer - - * gtk/gtktextview.c (blink_cb): block the text_layout's "changed" - handler when changing cursor visibility because it would expose - the whole paragraph where the cursor is. Instead, expose the - cursors' areas manually. (#173047). - - (text_window_invalidate_cursors): new function which exposes the - cursors. - - * gtk/gtkstyle.c (draw_insertion_cursor): added comment that the - same cursor size calculation is in text_window_invalidate_cursors(). - -2005-05-25 Matthias Clasen - - * demos/gtk-demo/editable_cells.c (create_items_model): Also - demonstrate GtkCellRendererProgress. - - * demos/gtk-demo/Makefile.am (demos): - * demos/gtk-demo/combobox.c: Add a demo showing combo box - variations. - - * demos/gtk-demo/Makefile.am (demos): - * demos/gtk-demo/pickers.c: Add a demo showing all picker widgets. - -2005-05-24 Matthias Clasen - - * demos/gtk-demo/iconview.c (do_iconview): Fix a typo. - -2005-05-24 Tor Lillqvist - - * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Handle - gtk-alternative-button-order (setting it to TRUE). - -2005-05-23 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_search_init): Remove - an unused variable. (#305130, Jaap A. Haitsma) - - * gtk/gtkfilechooserdefault.c (filter_create): Don't grab - the focus away from the file list when operating the filter - combo with the pointer. (#304844, Sven Neumann) - -2005-05-23 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to - GDK_Menu. (#172383, Ivan Wong) - - * gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one - of the special cases this function takes care of, use it as - such. This takes care of for instance the Bengali Virama, see bug - #165723. - -2005-05-20 Matthias Clasen - - * gtk/gtkimcontextsimple.c (check_table): Avoid a possible - buffer overrun. (#142444, Leonard Michlmayr) - - * gtk/gtkfilesystem.c: Remove C99-isms (#304879, - Kazuki IWAMOTO) - -2005-05-18 Matthias Clasen - - * gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri): - Use the correct function to conver the uri to a path. (#304565, - Ismael Juma) - - * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the - Cancel button properly. (#304234, Sven Neumann) - -2005-05-18 Anders Carlsson - - * gtk/gtktextview.c: (gtk_text_view_flush_scroll), - (gtk_text_view_update_adjustments), (gtk_text_view_value_changed): - * gtk/gtktextview.h: - If the horizontal adjustment changes because of a change in the - layout width, then do a complete redraw. This is because there - might be right-aligned or centered text that needs to be redrawn. - -2005-05-18 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set - the event masks of descendent windows. (#169821, Tommi Komulainen) - - * gtk/gtktreeview.c (gtk_tree_view_get_drop_column) - (gtk_tree_view_set_column_drag_info): Fix some errors in the - handling of drop columns. (#143355, John Finlay) - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): - Remove the no longer needed workaround. - - * gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect - allocations of mapped children. - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): - Add a bug reference. - -2005-05-18 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c - * gdk/win32/gdkkeys-win32.c - * gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in - lParam of WM_KEY* messages to distinguish between left and right - Control and Alt keys. Unfortunately, the right Shift key doesnt - set KF_EXTENDED, so to distinguish between left and right Shift - keys, check the scan code. (#304584) - -2005-05-18 Matthias Clasen - - * gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if - length overflows. (#161520, Ian Wienand) - - * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix - parameter names to make gtk-doc happy. - - * gtk/gtkscale.c (gtk_scale_class_init): Fix the default - values of draw-value and value-pos to be the values we - actually use in _init. (#304547, Mikael Hallendal) - - * gtk/gtkcellrendererpixbuf.c: Support named icons in - cells by adding a icon-name property. (#165777, Anders - Carlsson) - - * gtk/gtk.symbols: - * gtk/gtktoolbutton.h: - * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name) - (gtk_tool_button_get_icon_name): Support named icons in - tool buttons by adding a icon-name property. (#116577, - Christian Neumair) - - * gtk/gtk.symbols: - * gtk/gtkdnd.h: - * gtk/gtkdnd.c (gtk_drag_source_set_icon_name) - (gtk_drag_set_icon_name): New functions to support themed - drag icons. (#116577, Christian Neumair) - -2005-05-17 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface): - Update to changed cairo interface. - - * gdk/x11/gdkdrawable-x11.[ch]: - Add _gdk_x11_drawable_update_size() - - * gdk/x11/gdkwindow-x11.c (gdk_window_resize) - (gdk_window_move_resize) - * gdk/x11/gdkevents-x11.c (gdk_event_translate): - Call _gdk_x11_drawable_update_size(). - -2005-05-17 Matthias Clasen - - * gtk/gtktextview.c (cursor_blinks): Don't blink the cursor - if the text view is not editable. - - * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep - the popup posted if the button is released over the cellview. - This matches the behaviour of other combo box implementations. - (#171378) - - * gdk/gdkwindow.c (gdk_window_set_bg_pattern): Adjust offsets - when recursing. (#153682, Felipe Heidrich) - -2005-05-16 Matthias Clasen - - * gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up - and GDK_Page_Down twice. (#168333, Hazael Maldonado Torres) - - * gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if - the entry is not editable. (#304171, Nikos Kouremenos) - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor): - Make sure the action of the button and the dialog are in sync, - when the dialog is provided by the app. (#303987, David A Knight) - - * gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo - in the docs. (#303940, Masao Mutoh) - - * configure.in (GTK_DOC_CHECK): Check for gtk-doc 1.4. - - * gtk/gtktoggleaction.c (connect_proxy): Be more careful when - casting. (#304089, Philip Langdale) - - * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink - the label if we need to. (#169390, Felix Riemann) - -Sat May 14 00:07:46 2005 Manish Singh - - * gdk/gdkdraw.c - * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create() - declaration. - - * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually - call gdk_cairo_set_source_color() with a color. - - * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable. - - * tests/testiconview.c (main): cast args of drag functions to the - appropriate type. - -2005-05-13 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c: Update for cairo-xlib API change. - - * gdk/x11/gdkpixmap-x11.[ch] gdk/gdk.symbols: Export - gdk_pixmap_impl_x11_get_type(), needed in gdkdrawable-x11.c. - -2005-05-11 Owen Taylor - - * tests/testgtk.c (on_alpha_window_expose): Fix to use - gdk_cairo_create(). (create_alpha_window): Hook up "response" - to close the window. - -2005-05-11 Owen Taylor - - * gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea - to draw the swatch in to avoid having an extraneous window. - - * gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe - color when !has_opacity. - -2005-05-10 Owen Taylor - - * gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source - files for Cairo convenience functionality. - - * gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a - convenience functions to add GdkRectangle, GdkRegion to a cairo path. - - * gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c - gtk/gtkstyle.c: Use gdk_cairo_rectangle/region(). - - * gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename - gdk_drawable_create_cairo_context() to gdk_cairo_create(). - - * gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: - Rename gdk_pixbuf_set_as_cairo_source() to - gdk_cairo_set_source_pixbuf(). - - * gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c - gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c: - Adjust for renames. - - * gdk/gdk.symbols: Update. - - * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix - coordinate system problem that was causing the wrong portions - to be invalidated. - - * gtk/gtkcellrenderer.c (gtk_cell_renderer_render) - gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render) - gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render) - gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render) - gtk/gtkcellview.c (gtk_cell_view_expose) - gtk/gtkdnd.c (gtk_drag_highlight_expose) - gtk/gtkentry.c (gtk_entry_draw_text) - gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization. - - * gtk/gtkcalendar.[ch]: Beat into something roughly resembling - GTK+ style ... use instance-private data and standard names for - private structure, etc. Move function docs inline. - - * gtk/gtkcalendar.[ch]: Switch to drawing everything in - expose. Switch drawing to Cairo. - - * gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate - gtk_calendar_freeze/thaw - -2005-05-10 Tor Lillqvist - - * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check - that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen - == gdk_screen_get_default(), as that might return NULL when this - function is called. - -2005-05-09 Matthias Clasen - - * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the - padding in RTL mode. (#303572, Maciej Katafiasz) - -2005-05-09 Owen Taylor - - * gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br): - Fill in unused bits so they can be used for the depth-32 target case. - Rewrite so that that gives a marginal speedup rather than a - marginal slowdown. (on x86) - - * gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c: - Add gdk_screen_get_rgba_colormap/visual to get a visual for - windows with an alpha channel, if one exists. - - * gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c: - Stub out gdk_screen_get_rgba_colormap/visual. - - * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of - "unused" wasn't right for depth == 32, since it depended on - shifting by 32. - - * gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from - Keith Packard, - http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html) - - * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture): - Implement again, without using Xft. - - * tests/testgtk.c: Add a test for windows with an alpha channel. - -2005-05-09 Matthias Clasen - - * autogen.sh: Revert accidental commit. - -2005-05-08 Matthias Clasen - - * gdk/gdkcolor.c (gdk_cairo_set_source_color): - * gdk/gdkimage.h: - * gdk/gdkdraw.c: - * gdk/gdkcolor.h: - * gdk/gdkcursor.h: - * gdk/x11/gdkcolor-x11.c: Small documentation additions. - -2005-05-07 Matthias Clasen - - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_hscrollbar): - (gtk_scrolled_window_get_cscrollbar): Change the return - type to GtkWidget*, proposed by Owen Taylor. - - * gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm) - (gdk_screen_get_height_mm): Fix typos in the docs. (#303389, - Masao Mutoh) - -2005-05-07 Matthias Clasen - - * gtk/gtkiconview.c: Fix a copy-and-paste accident, spotted - by Owen Taylor. - -2005-05-07 Owen Taylor - - * gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not - the background color. - -2005-05-07 Owen Taylor - - * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source): - Change prototype to match cairo_set_source_surface(). - - * gdk/gdkdraw.c gdk/gdkgc.c gdk/gdkpixbuf-render.c gdk/gdkwindow.c - gtk/gtkhsv.c tests/testcairo.c. - -2005-05-06 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilesystemunix.c (fill_in_mime_type): Don't fill the mime - types if this is an AFS directory. - (fill_in_names): If we are in an AFS directory, set the MIME type - blindly to "x-directory/normal". - -2005-05-06 Matthias Clasen - - * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always - initialize child-visible to FALSE, otherwise we may end up - with the wrong page visible initially. (#302283, Patrik Fimml) - - * gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders - appear insensitive in insensitive treeviews. - -2005-05-05 Matthias Clasen - - * gtk/gtktoolbar.c: Fix a typo in the docs. (#303024, - Morten Welinder) - -2005-05-06 Matthias Clasen - - * gtk/gtk.symbols: - * gtk/gtkiconview.[hc]: Add DND support similar to the DND - support in the tree view. (#150270) - -2005-05-05 Matthias Clasen - - * gtk/gtktreednd.h: - * gtk/gtkwidget.h: Small cleanups. - - * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix - a typo. - -2005-05-04 Owen Taylor - - * gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.h: Fix a bug - in focus tracking when we move between has_pointer_focus and - has_focus_window directly. (#109246, Billy Biggs, Niko Tyni - and others) - - * gdk/x11/gdkevents-x11.c: Also fix some confusion that could - happen in the case of no window manager + keyboard grabs, by - moving to a more consistent model of when we pay attention to - mode=NotifyGrab/NotifyUngrab events. - - * docs/focus_tracking.txt: Extensive writeup about how to track - focus under X11. - -Wed May 4 13:21:41 2005 Søren Sandmann - - * tests/testcairo.c (draw): Replace cairo_show_surface() uses with - cairo_set_source_surface()/cairo_paint(); - -2005-05-04 Tor Lillqvist - - * gdk/win32/gdkdrawable-win32.c (generic_draw, blit_from_pixmap) - * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values, - _gdk_win32_gc_new, _gdk_windowing_gc_set_clip_region, - gdk_win32_hdc_get): Minor fixes to make Win32 backend compile - again. - -2005-05-03 Matthias Clasen - - * gtk/gtkfilesystem.c: - * gtk/gtkcelleditable.c: - * gtk/gtktreemodel.c: Avoid getting the interface struct - twice in the same function. (#300513, Billy Biggs) - - * gtk/gtkscrolledwindow.h: - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_vscrollbar): - * gtk/gtk.symbols: Add getters for the scrollbars. (#167181, - Billy Biggs) - - * gtk/gtkdialog.h: - * gtk/gtkdialog.c (gtk_dialog_get_response_for_widget): - Make this function public. (#170748, Morten Welinder) - -2005-05-02 Federico Mena Quintero - - Merged from gtk-2-6: - - Fixes #301068: - - * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add fields - to store struct stat for /afs and /net, and boolean fields to say - whether these are valid. - (struct _GtkFileFolderUnix): Added a boolean is_network_dir field. - (gtk_file_system_unix_get_folder): Fill in the is_network_dir - field of the folder structure. - (fill_in_names): If the folder is a network directory, create a - fake struct stat for its entries. - (fill_in_stats): Don't stat() the children of network directories. - - * gtk/gtkfilechooserdefault.c (list_mtime_data_func): If the mtime - is 0, use "Unknown" for the cell's displayed text. - -2005-04-28 Owen Taylor - - * gtk/gtkwidget.c: Add a draw-border style property to allow - themes to draw outside the widget's allocation. - - * gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs - that were working around the clip-leakage bug in Cairo. - - * gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than - save/fill/restore. - - * gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context() - That updates a Cairo context to match a GC. - - * gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support - for tiles/stipples/clipping to gdk_draw_glyphs(), - gdk_draw_trapezoids(). - - * gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal - implementation of stipples. Use one cairo_t across the entire - drawing operation. Replace cairo_matrix_create() with - stack-allocated matrices. - - * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c - gdk/win32/gdkgc-win32.c: Save various aspects of the - GC state (fill, tile, stipple, foreground, background, clip region) - in instance-private-data for future use. Add getters. - Get rid of _gdk_windowing_gc_get_foreground() function implemented - by the backends. - - * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c - gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add - _gdk_gc_init() to do initial setup of the GC from values; - fixes some problems from drawable redirection. - - * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c - gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move - gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into - the generic code, add _gdk_windowing_gc_copy(), - _gdk_windowing_gc_set_clip_region() to do backend specific - stuff. - - * gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c} - gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c} - gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}: - Don't duplicate state that now is stored by the generic code. - - * gdk/gdk.symbols Update - -2005-05-02 Matthias Clasen - - * tests/testiconview.c: Test cell renderers. - - * gtk/gtk.symbols: Add new functions. - - * gtk/gtkiconview.[hc]: Implement GtkCellLayout and use - cell renderers for drawing and editing. (#148144, #160242) - -2005-05-02 Matthias Clasen - - * gtk/gtkcellrenderertext.c (get_size): Return a sufficient - width for cases where pango_layout_get_pixel_extents() returns - a rectangle with nonzero x. - - * gtk/gtkselection.c: Small doc fixes. - - * gtk/gtkmenushell.c (gtk_menu_shell_set_take_focus): - (gtk_menu_shell_get_take_focus): Fix up the docs a bit. - -2005-05-02 Michael Natterer - - * gtk/gtkmain.c (do_post_parse_initialization): return silently if - "gtk_initialized" is TRUE. Re-enables calling GTK's init functions - multiple times when using gtk_get_option_group(), just as one can - call gtk_init() multiple times without doing any harm. - -2005-05-01 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_expose_event): Propagate - the event to unanchored children in the text window. - (#302494, Stephen Kennedy) - -2005-04-30 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take - multi-monitor offset into account. (#302525) - -2005-04-29 Matthias Clasen - - * gtk/gtkradioaction.c: Make the docs build. (#302230, - Ali Akcaagac) - - * gtk/gtkiconview.c (gtk_icon_view_map): Get rid of this - function, instead show the bin_window when it is created. - - * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't - grab focus to unrealized widgets. (#302240, Philip Langdale) - - * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set - background upon state changes. (#301651, Billy Biggs) - (gtk_tree_view_get_path_at_pos): Take RTL into account - when iterating over the columns. (#302163) - - * configure.in: Check for nm. - - * gtk/Makefile.am: Use $(NM), not nm directly. (#301299, - Nguyen Thai Ngoc Duy) - - * gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use - the internal unselect_all function, since we need the unselection - to happen even in browse mode. (#300995, Mathias Hasselmann) - - * gtk/gtkuimanager.c (update_node): Use g_object_notify() instead - of triggering a ::notify by re-setting the property. (#300982, - Sven Neumann) - - * gtk/gtkaction.c (connect_proxy): Use gtk_action_sync_tooltip(). - - * gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Also - scroll horizontally when necessary, and keep the northwest - corner of the item visible. (#300913, Mathias Hasselmann) - - * tests/testiconview.c: Add some more tests. - - * gtk/gtkiconview.c (gtk_icon_view_select_path): Don't crash - if the path does not point to a row in the model. (#300909, - Mathias Hasselmann) - (gtk_icon_view_rows_reordered): Re-layout here. (#301009, - Mathias Hasselmann) - - * tests/testtext.c: Add some more attribute tests. - - * gtk/gtktexttag.c (gtk_text_tag_class_init): Correct the documentation - of the rise property. String change, but it is more important to - be correct than to be translated. (#301740) - -2005-04-25 Tor Lillqvist - - * gtk/gtkfilesystemwin32.c - (gtk_file_system_win32_volume_get_display_name): Get volume name - also on Win9x. (#301798, Daniel Atallah) - (canonicalize_filename): Add explicit braces to silence compiler - warning. - -2005-04-22 Tor Lillqvist - - * gtk/gtkmain.c: Initailize gettext before use. Calling - bindtextdomain() and bind_textdomain_codeset() in - do_post_parse_initialization() is too late. Put the calls in a new - function gettext_initialization(), and call that from - gtk_init_with_args() and gtk_parse_args(). Fixes #170948 for - GTK+'s part, but the same problem occurs also at least in - atk. Thanks to Robert Ögren, Daniel Atallah and Kevin Stange. - -2005-04-19 Ivan, Wong Yat Cheung - - * gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Match - character height instead of cell height. Fix #301228. - -2005-04-18 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove - obsolete assertion that the selected row can't be a volume; this - is handled by the "removable" column now. Fixes #301017. - -2005-04-18 Owen Taylor - - * gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c - * gdk/gdkcolor.c gdk/gdkwindow.c gdk/gdkpixbuf-render.c - gdk/gdkpango.c tests/testcairo.c: Update to new Cairo API for - setting color and opacity. (#301066, Vincent Noel) - -2005-04-15 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilechooserdefault.c (pending_select_paths_process): - Patch from Christian Neumair ; only select the - first row if we are in OPEN mode. The only other case we were - letting pass through was SELECT_FOLDER, but selecting the first - row when changing folders confuses people when folders are - actually being selected. Fixes #171885. - -2005-04-13 Matthias Clasen - - * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): - Revert the fix for #169870, adjust the documentation instead. - - * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): - Revert the fix for #170727. - -2005-04-11 Ivan, Wong Yat Cheung - - Fix #300218: - - * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix - C99ism. - - * gtk/updateiconcache.c: Guard inclusion of unistd.h and - utime.h. - -2005-04-09 Matthias Clasen - - * gdk/x11/gdkinput-xfree.c: - * gdk/x11/gdkinput-none.c: - * gdk/gtk.symbols: Some more fixes necessary to - make building with gcc 4 work. - - Add 16x16 versions of the zoom icons and of - GTK_STOCK_INDEX. Some of the images were taken from - the hicolor icon theme, and were originally created - by Jakub Steiner and Tuomas Kuosmanen. (#167515, - Vincent Noel) - - * gtk/stock-icons/stock_index_16.png: - * gtk/stock-icons/stock_zoom_1_16.png: - * gtk/stock-icons/stock_zoom_fit_16.png: - * gtk/stock-icons/stock_zoom_in_16.png: - * gtk/stock-icons/stock_zoom_out_16.png: New images. - - * gtk/stock-icons/Makefile.am: Add the new images. - - * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): - Don't display too many broken images. (#169870, Roman - Kagan, patch by Ivan Wong) - - * gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging - output. (#300013, Tommi Komulainen) - -2005-04-08 Matthias Clasen - - * gtk/gtkimage.c (gtk_image_expose, gtk_image_calc_size): - If a stock_id is unknown, display the missing image. (#169870, - Steven Walter) - - * gtk/gtkiconcache.c (icon_name_hash): Use the same function - as in updateiconcache.c. (spotted by Morten Welinder) - -2005-04-08 Carl Worth - - * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation - now that cairo exposes the cairo_matrix_t structure. - - * gdk/gdkpixbuf-render.c: (gdk_pixbuf_set_as_cairo_source): Track - cairo API change in signedness of data argument. - -2005-04-08 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make this - work when called from gtk_combo_box_destroy(). (#172999, - Christian Persch) - -2005-04-08 Matthias Clasen - - Fix double-click to autosize treeview columns. This was - probably broken since 2.2 ! (#169675) - - * gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the - "user-resized" state of the column on a double-click to - autosize. - (gtk_tree_view_button_press, gtk_tree_view_motion_resize_column): - Enter the "user-resized" state of the column only if a drag - actually changes the column width, not on any click. - -2005-04-07 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_paint): Allow setting background - images on menus. (#169532, Benjamin Otte) - - * gtk/updateiconcache.c (write_card16, write_card32): Avoid - unaligned access. (#172947) - - * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): - Consistently use the term "Bookmarks" in the UI. (#166906, - Sebastian Bacher) - - Some fixes from Morten Welinder (#172947): - - * gtk/updateiconcache.c (icon_name_hash): Make this compiler- - and platform-independent. - (is_cache_up_to_date): Don't compare mtimes is a stat call failed. - (build_cache): Error out if a stat fails. - -2005-04-07 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add - a hint about hiding expanders. - - * gtk/updateiconcache.c (is_cache_up_to_date): Return - TRUE if the cache is newer than the directory. (#172852, - Jacob Kroon) - - * configure.in: Replace an explicit pkg-config by - $PKG_CONFIG. (#168074, Hans-Wolfgang Loidl) - - * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): - Ignore regions which fall completely outside the line. - (#165862, Felipe Heidrich) - -2005-04-06 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document - -1 as possible value. - (gtk_tree_view_enable_model_drag_source) - (gtk_tree_view_enable_model_drag_dest): Pass the target list - to the underlying dnd implementation, otherwise we miss the - target info in the drag-data-received signal. (#164085, Jorn - Baayen) - -2005-04-06 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column) - (gtk_tree_view_bin_expose): Avoid a few unnecessary calls - to gdk_window_get_pointer(). (#168015, Billy Biggs) - - * po/.cvsignore, po-properties/.cvsignore: Remove - Makefile.in.in. (#171092, Stepan Kasal) - - * gtk/gtkrc.c (gtk_rc_parse_style): Don't modify - scanner->value, copy it first. (#165693, Tommi Komulainen) - -2005-04-05 Matthias Clasen - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus): - * gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement - grab_focus for GtkComboBox and GtkComboBoxEntry. (#171912, - Gustavo Carneiro) - - * gtk/gtkicontheme.c: Store icon caches along with the - mtimes of the toplevel directories. The previous - mechanism of a hashtable-per-theme caused duplicate icon - caches for the same toplevel directory to be created. - (#170030) - -2005-04-05 Matthias Clasen - - * gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): - Fix a typo in a warning. - - * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect - the license and credits buttons from being affected by - gtk_widget_show_all(). (#172724) - -2005-04-05 Matthias Clasen - - * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a - reference to the item. (#167920, Hazael Maldonado Torres) - - * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some - more docs on interactive search. - -2005-04-05 Tor Lillqvist - - * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour - display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL) - returns 1 (but GetDeviceCaps(NUMCOLORS) does return 16). (#143415) - - * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force - 24bpp GdkVisual on 32bpp displays. (#140706) - -Mon Apr 4 19:13:23 2005 Jonathan Blandford - - Fix for #172319, Tristan Van Berkom: - - * gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use - gtk_tree_view_real_expand_row() instead of doing this by hand. - -2005-04-04 Johan Dahlin - - * gtk/gtktextbuffer.c: (gtk_text_buffer_class_init), - (gtk_text_buffer_set_property), (gtk_text_buffer_get_property), - (gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631) - -Mon Apr 4 14:33:55 2005 Manish Singh - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): - cast combo->priv->entry to GTK_ENTRY() - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - cast completion->priv->tree_view to GTK_TREE_VIEW() - -2005-04-04 Matthias Clasen - - * gtk/gtktextbuffer.c: Some trivial doc fixes. - - * gtk/gtkwidget.c (gtk_widget_set_redraw_on_allocate): Improve - the wording of the doc comment. (#172422, Vincent Untz) - -2005-04-04 Owen Taylor - - * gtk/gtkstyle.c (gtk_default_draw_expander): Covert expander - drawing to Cairo. Also always draw the entire triangle instead - of just drawing the center for prelight. (Fixes inconsistent - drawing in GtkTreeView.) - -2005-04-04 Johan Dahlin - - * gtk/gtk.symbols: Remove symbols accidentally added. - * gtk/gtkentryprivate.h: Add boolean property popup_set_width - * gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init): - Use object_class instead of gobject_class - -Mon Apr 4 12:14:35 2005 Søren Sandmann - - * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into - widget coordinates instead of root coordinates. Patch from Jorn - Baayen. (#172236) - -2005-04-04 Matthias Clasen - - * gtk/gtktoolbar.c: Add a tooltips property. - - * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init): - * gtk/gtkruler.c (gtk_ruler_class_init): Add docs. - - * gtk/gtktoggletoolbutton.c: Add an active property. - -2005-04-04 Matthias Clasen - - Allow completion popups to be wider than the entry. (#131916, - Ross Burton) - - * gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property. - - * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): - Don't force the popup to have the same width as the entry if - popup-set-width is FALSE. - - * gtk/gtk.symbols: Add new functions. - -2005-04-04 Matthias Clasen - - * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): - Use gtk_accel_map_change_entry(), so that reusing the same - action name works. (#170727, Paolo Borelli) - -2005-04-04 Tor Lillqvist - - * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging - function, to log a clipboard format name symbolically. - (_gdk_win32_data_to_string): Also new, to log random data bytes. - - Implement delayed rendering on Win32, specifically for transfering - images through the clipboard from GTK+ apps to other - apps (#168173, implementation by Ivan Wong): - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): - Handle WM_RENDERFORMAT. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c: Add _format_atom_table, - _delayed_rendering_data and _image_bmp. - - * gdk/win32/gdkmain-win32.c: Initialize _image_bmp. - - * gdk/win32/gdkproperty-win32.c (gdk_property_change): - Accept formats other than GDK_TARGET_STRING or _utf8_string, and - assume they are handled through delayed rendering. - - * gdk/win32/gdkselection-win32.c (gdk_selection_convert): - Return all available formats (including those registered by GTK+ - apps) on request_targets. - (gdk_selection_property_get): We should append a zero byte like - X11 does. - (gdk_win32_selection_add_targets): New function, for - gtkselection's use. Win32 requires that the clipboard owner - registers all valid formats even if the owner wants delayed - rendering. - (_gdk_win32_selection_convert_to_dib): New function. Convert - images to DIB using gdk-pixbuf. - - * gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets(). - - * gtk/gtkselection.c (gtk_selection_add_target, - gtk_selection_add_targets): Call gdk_win32_selection_add_targets() - to register target formats. - - * gdk/gdk.symbols: Add gdk_win32_selection_add_targets(). - -2005-04-03 Hans Breuer - - [merged from gtk-2-6 branch] - * gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of - the line pattern not the start of the line. Fixes bug #171641. - - * gtk/makefile.msc.in : follow .symbols changes - - * gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor() - dynamically. (It is not available in _WIN_VER <= 0x0400) - - * gdk/win32/makefile.msc : removed gdkpango-win32.obj - - * gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI - - [also applied to gtk-2-6 branch] - * gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def - - * gdk/makefile.msc.in : add gtkmnemonichash.obj - - * test/testgtk.c(set_parent_signal) : use g_message instead of - g_print to keep the 'testgtk --bench=all' output clean - -2005-04-03 Matthias Clasen - - * gtk/gtkruler.c: Add a "metric" property. - - * gtk/gtkradiomenuitem.c: Add a "group" property like - the one found in radio buttons. - - * gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix - a typo in the docs. - (gtk_radio_button_set_group): Add change notification. - -2005-04-01 Matthias Clasen - - * gtk/gtkselection.c: Move documentation inline, document - if add_target functions append or prepend. (#172350, - Jon-Kare Hellan) - -2005-04-01 Matthias Clasen - - Make gtk_combo_box_get_active_text do the right thing for - GtkComboBoxEntry (#171373, Robert Staudinger) - - * gtk/gtkcombobox.h: Add a get_active_text vfunc. - - * gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And - implement it here. - - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): - Implement get_active_text by always returning the content of - the entry. - -2005-03-31 Sven Neumann - - Merged from gtk-2-6: - - * gtk/gtkbutton.c - * gtk/gtkiconview.c: fixed gtk-doc comments. - -2005-03-31 Michael Natterer - - Allow to pop up menus without grabbing the keyboard. Useful for - stuff like virtual keyboards. Fixes bug #159890 - - * gtk/gtk.symbols - * gtk/gtkmenushell.[ch]: added boolean property "take-focus" - and public API gtk_menu_shell_set/get_take_focus(). - - * gtk/gtkmenu.c (gtk_menu_popup) - (popup_grab_on_window): don't grab the keyboard if take_focus - is FALSE. - - * gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the - parent menu_shell's take_focus property to the submenu which is - about to be popped up. - -2005-03-30 Federico Mena Quintero - - Merged from gtk-2-6: - - Fix #170755: - - * gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing - if the row which changed is the same as the row being edited. - -2005-03-30 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): - Make enable_search control only typeahead, not C-f. (#170435, - Sven Neumann) - (gtk_tree_view_start_interactive_search): Pass keybinding == TRUE. - - * gdk/gdkpixbuf.h: Include cairo.h - - * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): - Don't accept n_targets == -1. - (clipboard_unset): unref the old_data, not the - user_data which we have just cleared. (#172038, Sven - Neumann) - - * gtk/gtkcombobox.c (gtk_combo_box_popup): Don't - segfault if somebody tries to popup an unrealized - combo box. (#172031, Felipe Heidrich) - -2005-03-30 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (build_pointer_event_state): The - state field should represent the state before the event, like on - X11. (#169753) - (gdk_event_translate): Fix event filter handling. If an event - filter (global, client message filter, of window-specific) returns - GDK_FILTER_CONTINUE, continue as if nothing happened. If it - returns GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE - from gdk_event_translate() which means that DefWindowProc() will - not be called. - (gdk_event_translate): Fix client message handling. Append a - GDK_CLIENT_EVENT unless there is a filter that matches and returns - something other than GDK_FILTER_CONTINUE. (#135552) - -2005-03-29 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func): - Document the need to refilter if parameters of the visibility function - change. (#169516, Olivier Sessink) - -Mon Mar 28 15:13:42 2005 Søren Sandmann - - * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't - invalidate areas that are covered by mapped input-output child - windows. Bug 141380. - -2005-03-28 Jeroen Zwartepoorte - - * gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make - the preview label ellipsize so the dialog layout stays constant. - (#171398) - -2005-03-28 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up - the context menu of the search entry if it is not visible. - (#169534, Billy Biggs) - -2005-03-27 Tor Lillqvist - - * configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated - after all, and in fact necessary with HEAD libtool. - -2005-03-26 Matthias Clasen - - * gtk/*.c: - * gdk/gdkdisplaymanager.c: - Use canonical names for g_object_notify() as well. - -2005-03-24 Tor Lillqvist - - * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag - in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the - gtk+-2.0.pc file and automatically used by dependents. MSVC users - who use pkg-config will have to manually edit it out from - gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support - some kind of conditionals in .pc files? - -2005-03-23 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (update_combo_box): Remove - a call whose result was unused and leaked. (#170776, - Kjartan Maraas) - - Some cleanups to the GtkDialog code: (#170746, - Morten Welinder) - * gtk/gtkdialog.c (action_widget_activated): Simplify, - use _gtk_dialog_get_response_for_widget. - (gtk_dialog_add_action_widget): Use the correct signal - id for non-buttons. - (gtk_dialog_set_response_sensitive): - (gtk_dialog_set_default_response): Use get_response_data. - (gtk_dialog_run): Don't disconnect the signals if the - dialog was destroyed while running. - -Tue Mar 22 14:16:31 2005 Manish Singh - - * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label): - Use g_return_if_fail, not g_return_val_if_fail. - -2005-03-22 Matthias Clasen - - Implement bookmark renaming (#136216, Sean Middleditch) - - * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add - get_bookmark_label and set_bookmark_label vfuncs. - - * gtk/gtkfilesystem.h: - * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label): - (gtk_file_system_get_bookmark_label): Wrappers for the - vfuncs. - - * gtk/gtk.symbols: Add new exported symbols. - - * gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label): - (gtk_file_system_unix_get_bookmark_label): Implementations - for the Unix backend. - - * gtk/gtkfilechooserdefault.c: Add a context menu to - the bookmarks pane, and allow to rename bookmarks. - -2005-03-22 Matthias Clasen - - * gtk/gtkpathbar.c (gtk_path_bar_unmap): - * gtk/gtkspinbutton.c (gtk_spin_button_unmap): - * gtk/gtknotebook.c (gtk_notebook_unmap): - * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when - the widget is unmapped. (#168791, Ryan Lortie) - -2005-03-21 Matthias Clasen - - * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, - GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like - their G_ counterparts, but also mark the name, nick - and blurb as static. - - * gtk/*.c: Mark param spec strings as static, using - the new macros. - - * gtk/gtkspinbutton.h: Fix a typo. - -2005-03-21 Matthias Clasen - - * gtk/gtkcellrendererprogress.c: - * gtk/gtkcellrendererpixbuf.c: - * gtk/gtkcellrenderercombo.c: - * gtk/gtkcellrenderer.c: - * gtk/gtkcalendar.c: - * gtk/gtkbutton.c: - * gtk/gtkbox.c: - * gtk/gtkbbox.c: - * gtk/gtkaspectframe.c: - * gtk/gtkarrow.c: - * gtk/gtkalignment.c: - * gtk/gtkactiongroup.c: - * gtk/gtkaction.c: - * gtk/gtkaccellabel.c: - * gtk/gtkaboutdialog.c: Mark param spec strings as static. - - * gdk/gdkpango.c (gdk_pango_renderer_class_init): - * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark - param spec strings as static. - -2005-03-21 Tor Lillqvist - - * modules/engines/ms-windows/*.c: Silence gcc warnings (unused - variables, unhandled enum value in switch). Use g_object_unref() - instead of deprecated gdk_gc_unref() and gdk_drawable_unref(). - - * modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state): - Add missing "case" keyword. - - * modules/engines/ms-windows/Makefile.am: Link with -lgdi32 - explicitly. - -2005-03-20 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the - Terminal Services session number, window station name (always - "WinSta0" in interactive processes), and desktop name (typically - "Default"), concatenated with backslash separators. - (gdk_display_open): Accept only NULL or the string - gdk_display_get_name() returns as display name. - -2005-03-20 Matthias Clasen - - Make PLT-reduction work with gcc4, and don't include - everything in gdkalias.h: - - * gtk/grk.symbols: Group symbols by header and source file. - * gtk/makegtkalias.pl: Protect definitions by the same - preprocessor symbols used to guard the headers. Move - the alias declarations to a separate file which is - produced when calling makegtkalias.pl -def - * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate - this file. - * gtk/*.c: Include gtkalias.h after the other headers, - include gtkaliasdef.c at the bottom. - * gtk/*.h: Small cleanups. - -Fri Mar 18 23:59:49 2005 Soeren Sandmann - - * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb): - Make right-clicks not pop up the menu. - -2005-03-18 Owen Taylor - - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish): - Call cairo_surface_finish() - - * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev - _gdk_windowing_set_surface_device_offset(). - -2005-03-18 Tor Lillqvist - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On - WM_MOUSEMOVE, don't check if this process owns the active - window. This makes cross-application widget embedding work better. - On WM_MOVE, don't bother checking for window visibility. - - * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove - unused variables. Add some casts to silence gcc. - -2005-02-24 Owen Taylor - - * gdk/gdkwindow.c: Use cairo_set_device_offset(). - - * gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c - gdk/win32/gdkpixmap-win32.c: - Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the - drawable. Add _gdk_drawable_win32_finish() to clean up resources - when a drawable is destroyed. - - * gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c - (blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use - acquire/release_dc when getting a DC to use with a GC or for - blitting from a pixmap. - - * gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface() - - * gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am: - Remove gdk_screen_get_pango_context(), draw_glyph[_transformed] - implementations. - - * gdk/win32/gdkdrawable-win32.c: Remove - gdk_draw_rectangle_alpha_libgtk_only() - -2005-03-17 Owen Taylor - - * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set - EXTEND_REPEAT on the stipple pattern. - -2005-03-17 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting - in example in the docs. (#170611, Jianfei Wang) - - * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp - adjustment values on resize. (#170567, Tomislav Jonjic) - - * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash - if there is no cache. (#170652, Diego Gonzalez) - - * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): - Make inline completion insert the prefix at the - right spot. (#170146, Doug Quale) - -2005-03-17 Tor Lillqvist - - * gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag. - -2005-03-16 Matthias Clasen - - * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize): - Typo fix in the docs. - - * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip): - Typo fix in the docs. - - * gtk/gtkiconview.c (gtk_icon_view_set_columns) - (gtk_icon_view_get_columns, gtk_icon_view_set_item_width) - (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing) - (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing) - (gtk_icon_view_set_column_spacing) - (gtk_icon_view_get_row_spacing, gtk_icon_view_get_margin) - (gtk_icon_view_set_margin): Add docs. - - * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row): - Add docs. - -2005-03-15 Owen Taylor - - * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c - gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c - gdk/gdkinternals.h: Switch set_cairo_target() virtual function to - ref_cairo_surface() - - * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual - function to create_cairo_context() - - * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo. - - * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color, - not just the pixel. - - * tests/testcairo.c: Update for create_cairo_context() - - * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]): - Reimplement in terms of Cairo, bypass the vtable entries. - - * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch] - gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c - gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove - implementation of draw_trapezoids / draw_glyphs[_transformed]. - - * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo - - * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move - gdk_pango_context_get_for_screen() into the backend independent code. - - * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly - for drawing images. - - * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove - gdk_draw_rectangle_alpha_libgtk_only. - - * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add - gdk_pixbuf_set_as_cairo_source() - - * gdk/gdk.symbols: Update - - * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch] - gtk/gtk[hv]ruler.c: Convert to Cairo rendering. - - * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus, - gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton, - radio button style for now to get something more scalable. - - * gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/ - antialiasing/dpi settings. - -2005-03-16 Matthias Clasen - - * demos/gtk-demo/editable_cells.c: Also demonstrate - GtkCellRenderer::editing-started and separators. - -Tue Mar 15 20:34:33 2005 Manish Singh - - * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too. - -2005-03-15 Matthias Clasen - - Make PLT-reduction work with gcc4, and don't include - everything in gdkalias.h: - - * gdk/gdk.symbols: Group symbols by header and source file. - * gdk/makegdkalias.pl: Protect definitions by the same - preprocessor symbols used to guard the headers. Move - the alias declarations to a separate file which is - produced when calling makegdkalias.pl -def - * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this - file. - * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other - headers, include gdkaliasdef.c at the bottom. - -2005-03-16 Tor Lillqvist - - * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print - debugging output only if asked for, not always. - - * gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in - debugging printout instead of +%d+%d. Misc other additions and - cosmetic improvements to debugging printouts. Use API_CALL() and - GDI_CALL() macros in more places. - - * gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize, - gdk_window_move_resize): To detect child windows, check whether - the real parent is not the desktop window, instead of relying on - the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug - windows have a GDK window type GDK_WINDOW_FOREIGN, but are still - de facto child windows. - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/*.c: Drop global variable _gdk_root_window, just call - GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to - _gdk_root. - - * gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add - toplevel_window_type field. - - * gdk/win32/gdkwindow-win32.c: As there is only one root window in - GDK on Win32, we can compare directly to _gdk_root instead of - checking the window type. - (gdk_window_reparent): When reparenting a child of the desktop - clear out the window decorations. Correspondingly, when - reparenting to the desktop, add decorations. As in the X11 - backend, save the window type of a toplevel window when - reparenting, in case it is reparented back to toplevel. - -2005-03-15 Matthias Clasen - - * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an - example for manually setting up a group of actions. - - * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): - Document that inline completion requires text-column to be set. - (gtk_entry_completion_compute_prefix): Return NULL if text-column - is not set. - - * gtk/gtkentry.c (check_completion_callback): Call - gtk_entry_completion_complete() before inserting the prefix, - otherwise the prefix may depend on (random) state of the - filter model. - -2005-03-15 Anders Carlsson - - * docs/iconcache.txt: - Update spec. - - * gtk/gtkiconcache.c: (find_image_offset), - (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons), - (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data): - * gtk/gtkiconcache.h: - Update to be able to fetch pixbuf data and icon metadata. - - * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free), - (icon_info_ensure_scale_and_pixbuf): - Use new cache functions. - - * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data), - (maybe_cache_image_data), (scan_directory), (write_pixdata), - (get_image_meta_data_size), (get_image_pixel_data_size), - (get_image_data_size), (get_single_node_size), (get_bucket_size), - (write_bucket), (main): - Update to write pixbuf data as well as information from .icon - files. - -2005-03-15 Tor Lillqvist - - * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New - debugging function. As GetKeyNameText() returns a localized key - name we need to convert it to UTF-8. - - * gdk/win32/gdkprivate-win32.h: Declare it. - - * gdk/win32/gdkevents-win32.c: Use it. - - * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix - handling of children of foreign windows. They should be child - windows from Windows's perspective, even if they are toplevel GDK - windows. - -2005-03-13 Ivan, Wong Yat Cheung - - * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix - for big window support. Now also the test in testgtk works. - -2005-03-11 Matthias Clasen - - * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on - style changes. (#169334, Yury Puzis) - - * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix - the doc comments. (#169967, Masao Mutoh) - -2005-03-12 Ivan, Wong Yat Cheung - - Big window fix for Win32. Big windows are still emulated within - 16-bit coordinate limits, though. Big windows now work on NT-based - Windows. (#169989) - - * gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use - 32-bit coordinates. - - * gdk/win32/gdkgeometry-win32.c: Largely rewrite. - - * gdk/win32/gdkwindow-win32.c: Minor related changes. - -2005-03-10 Matthias Clasen - - * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv): - Fix a doc typo. (#169873, Johan Dahlin) - - * gtk/gtkdialog.c (gtk_dialog_map): Don't - try to focus the default_widget if there is - none. (#169881, Thomas Leonard) - -Wed Mar 9 19:20:44 2005 Manish Singh - - * configure.in: Remove inadvertent gail references, require - Pango 1.9.0 - -2005-03-09 Matthias Clasen - - * configure.in: Require GLib 2.7.0 - -2005-03-09 Matthias Clasen - - * gtk/gtkwidget.h (struct _GtkWidget): Typo fixes in comments. - (#169728, Morten Welinder, Owen Taylor) - - * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo - in the docs. (#169729, Morten Welinder) - - * gtk/gtkimage.c (gtk_image_class_init): Fix a typo. - - * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize - when the model is unset. (#169528, Tomislav Jonjic) - -2005-03-09 Matthias Clasen - - * gtk/gtkviewport.c (gtk_viewport_class_init): - * gtk/gtkuimanager.c (gtk_ui_manager_class_init): - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init): - * gtk/gtktipsquery.c (gtk_tips_query_class_init): - * gtk/gtktext.c (gtk_text_class_init): - * gtk/gtkstatusbar.c (gtk_statusbar_class_init): - * gtk/gtkspinbutton.c (gtk_spin_button_class_init): - * gtk/gtktoggleaction.c (gtk_toggle_action_class_init): - * gtk/gtkoptionmenu.c (gtk_option_menu_class_init): - * gtk/gtkoldeditable.c (gtk_old_editable_class_init): - * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): - * gtk/gtktoolbutton.c (gtk_tool_button_class_init): - * gtk/gtktoolitem.c (gtk_tool_item_class_init): - * gtk/gtkimage.c (gtk_image_class_init): - * gtk/gtkruler.c (gtk_ruler_class_init): - * gtk/gtkiconview.c (gtk_icon_view_class_init): - * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): - * gtk/gtkprogress.c (gtk_progress_class_init): - * gtk/gtkmenu.c (gtk_menu_class_init): - * gtk/gtkscale.c (gtk_scale_class_init): - * gtk/gtkpaned.c (gtk_paned_class_init): - * gtk/gtkhandlebox.c (gtk_handle_box_class_init): - * gtk/gtkfontbutton.c (gtk_font_button_class_init): - * gtk/gtkfontsel.c (gtk_font_selection_class_init): - * gtk/gtkfilesel.c (gtk_file_selection_class_init): - * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): - * gtk/gtkcurve.c (gtk_curve_class_init): - * gtk/gtkcombo.c (gtk_combo_class_init): - * gtk/gtkcombobox.c (gtk_combo_box_class_init): - * gtk/gtkcolorbutton.c (gtk_color_button_class_init): - * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): - * gtk/gtkmenuitem.c (gtk_menu_item_class_init): - * gtk/gtkcheckbutton.c (gtk_check_button_class_init): - * gtk/gtktogglebutton.c (gtk_toggle_button_class_init): - * gtk/gtkcellview.c (gtk_cell_view_class_init): - * gtk/gtktoolbar.c (gtk_toolbar_class_init): - * gtk/gtkmenubar.c (gtk_menu_bar_class_init): - * gtk/gtkclist.c (gtk_clist_class_init): - * gtk/gtkctree.c (gtk_ctree_class_init): - * gtk/gtkcolorsel.c (gtk_color_selection_class_init): - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): - * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): - * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init): - * gtk/gtkcalendar.c (gtk_calendar_class_init): - * gtk/gtkbbox.c (gtk_button_box_class_init): - * gtk/gtktable.c (gtk_table_class_init): - * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): - * gtk/gtkframe.c (gtk_frame_class_init): - * gtk/gtkaction.c (gtk_action_class_init): - * gtk/gtkaccellabel.c (gtk_accel_label_class_init): - * gtk/gtkaboutdialog.c (gtk_about_dialog_class_init): - * gtk/gtkdialog.c (gtk_dialog_class_init): More of the same. - -2005-03-08 Matthias Clasen - - * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): - * gtk/gtkrange.c (gtk_range_class_init): - * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): - * gtk/gtktexttag.c (gtk_text_tag_class_init): - * gtk/gtktextview.c (gtk_text_view_class_init): - * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): - * gtk/gtknotebook.c (gtk_notebook_class_init): - * gtk/gtkentry.c (gtk_entry_class_init): - * gtk/gtkexpander.c (gtk_expander_class_init): - * gtk/gtkarrow.c (gtk_arrow_class_init): - * gtk/gtkalignment.c (gtk_alignment_class_init): - * gtk/gtkbutton.c (gtk_button_class_init): - * gtk/gtklabel.c (gtk_label_class_init): - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): - * gtk/gtktreeview.c (gtk_tree_view_class_init): - * gtk/gtkbox.c (gtk_box_class_init): - * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init): - * gtk/gtkcontainer.c (gtk_container_class_init): - * gtk/gtkwidget.c (gtk_widget_class_init): - * gtk/gtkobject.c (gtk_object_class_init): Use canonical names - when registering param specs. - - * demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo - (#169607, Mark McLoughlin) - - * gtk/gtk.symbols: Add the new attributes here, too. - - * gtk/gtkwidget.h: - * gtk/gtktreeview.h: - * gtk/gtktreeviewcolumn.h: - * gtk/gtktextbuffer.h: - * gtk/gtkobject.h: - * gtk/gtkfilechooserdialog.h: - * gtk/gtkdialog.h: - * gtk/gtkcontainer.h: - * gtk/gtkcelllayout.h: - * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where - appropriate. (#165682, Marc Meissner) - -2005-03-07 Matthias Clasen - - Convert the gdk keyval-keyname tables to a big string - + offsets. (#168901) - - * gdk/gen-keyname-table.pl: Perl script inspired by - pango/tools/gen-color-table.pl to create the - gdk_keys_by_keyval and gdk_keys_by_name tables as lists - of offsets pointing into a big const string. - - * gdk/keynames.txt: List of keyval-keyname pairs. - * gdk/keyname-table.h: Generated tables. - - * gdk/gdkkeynames.c: Include keyname-table.h and don't - generate the inverse table at runtime. - -2005-03-07 Matthias Clasen - - * gtk/gtkstyle.c: Document which parameters may be NULL. - (#166855, Frank Naumann) - -2005-03-07 Matthias Clasen - - * AUTHORS: Add original authors of incorporated software. - -Thu Mar 3 16:59:44 2005 Manish Singh - - * configure.in: URL escape the '+' in gtk+ in the bugzilla URL. - -2005-03-03 Matthias Clasen - - * gtk/gtksettings.c (gtk_settings_get_property): - * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak - the values here. (#169047, Philip Langdale) - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): - Don't warn if a stock icon cannot be found. (#168830, - Sven Neumann) - -2005-03-03 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_reparent_subwindows): - Avoid warnings if gtk_widget_reparent() is called at - unusual times. (#168966, Christian Persch) - -Tue Mar 1 14:04:08 2005 Manish Singh - - * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid - const warnings on data structure seeding. - -Tue Mar 1 13:53:56 2005 Manish Singh - - * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI. - -2005-03-01 Matthias Clasen - - * gtk/gtkmenutoolbutton.c (button_state_changed_cb): - Fix prelighting. (#157392, Vincent Noel, patch by - Christian Persch) - - * gtk/gtkicontheme.c (theme_lookup_icon): Make - icon data caching work again. (#168851, Alexander Larsson) - - * gdk-pixbuf/gdk-pixbuf.c: - * gdk-pixbuf/gdk-pixbuf-features.h.in: - Revert the previous change, since it breaks - bin compat. - -2005-03-01 Matthias Clasen - - * gdk/gdkkeyuni.c - * gdk/gdkpixbuf-drawable.c - * gdk/gdkrgb.c - * gdk/x11/gdkdnd-x11.c - * gdk/x11/gdkevents-x11.c - * gdk/x11/gdkproperty-x11.c - * gdk/x11/gdkvisual-x11.c - * gdk-pixbuf/gdk-pixbuf.c - * gdk-pixbuf/gdk-pixbuf-features.h.in - * gtk/gtkaction.c - * gtk/gtkbindings.c - * gtk/gtkcolorbutton.c - * gtk/gtkcombo.c - * gtk/gtkcontainer.c - * gtk/gtkfilechooserdefault.c - * gtk/gtkfilesel.c - * gtk/gtkgamma.c - * gtk/gtkiconview.c - * gtk/gtkinputdialog.c - * gtk/gtkitemfactory.c - * gtk/gtkmenu.c - * gtk/gtktextview.c - * gtk/gtktooltips.c - * gtk/gtktreedatalist.c - * gtk/gtkuimanager.c - * gtk/tree_minus.xpm - * gtk/tree_plus.xpm - * gtk/xdgmime/xdgmime.c - * gtk/xdgmime/xdgmime.h: - Move constant data to .rodata. - -2005-02-27 Matthias Clasen - - * gtk/gtkaction.c (connect_proxy): Improve the handling - of buttons as action proxys. (#165534, Milosz Derezynski) - - * gtk/gtklabel.c (gtk_label_size_request): Fix a typo. - (#168646, Vincent Untz) - - * gtk/gtkfilechooserdefault.c (save_folder_combo_create): - Unset "focus-on-click" for the save folder combo. (#168688, - Sven Neumann) - -2005-02-25 Matthias Clasen - - * demos/testpixbuf.c (main): Remove a C++ comment. (#168531, - Paul Cornett) - - * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a - path here. (#168443, Morten Welinder) - -2005-02-24 Robert Ögren - - Implement better handling of Wintab tablet context overlap on - Win32. (#167298) - - * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New - function that brings any tablet contexts to the top of the overlap - order. - * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active () - * gdk/win32/gdkevents-win32.c (gdk_event_translate): - Call _gdk_input_set_tablet_active when a window is activated (on - WM_ACTIVATE) - -2005-02-24 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): - Don't leak parent_path. (#168435, Morten Welinder) - -Thu Feb 24 14:20:16 2005 Søren Sandmann - - * gtk/gtkstyle.c: Add - - g_return_if_fail (style->depth == gdk_drawable_get_depth(window)); - - all over the place. - -2005-02-24 Matthias Clasen - - * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid(). - (gtk_combo_box_model_row_deleted): Update the displayed row in - the cell_view. (#167842, Gustavo Carneiro) - -2005-02-24 Matthias Clasen - - Fix #167259, reported by Christian Persch: - - * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented - widget, even if we avoid the unrealizing. - (gtk_widget_reparent_subwindows): Make reparenting work for - !NO_WINDOW widgets which have other windows which are siblings - of widget->window (as e.g. GtkSpinButton). - -2005-02-24 Matthias Clasen - - * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): - Don't emit a warning if a parent node is filtered out. (#164726, - Olivier Sessink) - -2005-02-23 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_style_set): Revert the last - change, since gtk_widget_set_style_internal() already - queues a resize. - -2005-02-23 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since - fonts may have changed. (#164128, Phil Blundell) - - * gtk/gtkaboutdialog.c (gtk_about_dialog_init) - (gtk_about_dialog_new): Move initialization code from _new to - _init. (#168249, Murray Cumming) - -Wed Feb 23 17:34:01 2005 Jonathan Blandford - - * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from - jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height - widgets. - -2005-02-23 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in - MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998) - -Tue Feb 22 13:49:09 2005 Manish Singh - - * gtk/updateiconcache.c: #include - -2005-02-22 Federico Mena Quintero - - Merged from gtk-2-6: - - Fix #164940, patch by Ben Maurer and Tommi Komulainen. - - * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable. - (gdk_rgb_convert_565_d): Likewise. - (DM_565): Made a static const precomputed array to avoid - allocating it at runtime. - (gdk_rgb_preprocess_dm_565): #ifdef out. - -2005-02-20 Matthias Clasen - - * gtk/gtkwindow.c: - * gtk/gtkclipboard.c: Fix links to freedesktop.org specs - in the documentation. - - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): - Set have_render_with_trapezoids to GDK_YES when we have - a new enough Render extension. (#167965,Billy Biggs) - - * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of - the last user interaction when focusing the window. (#166379, - Elijah Newren) - -Thu Feb 17 14:58:16 2005 Manish Singh - - * gtk/gtkuimanager.c (start_element_handler): make sure expand - is initialized, cast to GTK_SEPARATOR_TOOL_ITEM. - -Thu Feb 17 14:52:57 2005 Manish Singh - - * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET. - -2005-02-16 Matthias Clasen - - * docs/iconcache.txt: Add some information about the - icon cache format (since I can't locate it at freedesktop.org) - - Fixes for #143829, Tommi Komulainen, Christian Persch: - - * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the - typeselect_flush_timeout when destroying the widgets - it is operating on. - (gtk_tree_view_ensure_interactive_directory): Add the - popup to the window group of the toplevel it belongs to. - - * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) - (gtk_combo_box_popup): Do the same here. - -2005-02-14 Matthias Clasen - - * configure.in: Kill --enable-ansi (#164394) - -2005-02-11 Matthias Clasen - - * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling - when the pathbar goes away. (#167094, Rodney Dawes) - (change_icon_theme): Use GTK_ICON_SIZE_MENU here as - well (Vincent Noel) - -2005-02-11 Matthias Clasen - - Support vertical menubars (#166632): - - * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack - directions, with values for left-to-right, right-to-left, - top-to-bottom and bottom-to-top. - - * gtk/gtk.symbols: - * gtk/gtkmenubar.h: - * gtk/gtkmenubar.c: Add two properties, pack-direction and - child-pack-direction, which specify how children and - grandchildren of a menubar are packed, with getters and setters. - - * gtk/gtkmenubar.c (gtk_menu_bar_set_property): - (gtk_menu_bar_get_property): Implement set_property and get_property. - - * gtk/gtkmenubar.c (gtk_menu_bar_size_request): - (gtk_menu_bar_size_allocate): Take pack direction into account. - - * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement - move_current here move all the menubar-specific direction - tweaking from the generic menushell implementation here. - - * gtk/gtkmenu.c (gtk_menu_move_current): Move menu-specific - direction tweaking from the generic menushell implementation here. - - * gtk/gtkmenuitem.c (gtk_menu_item_size_request): - (gtk_menu_bar_size_allocate): Take pack direction into account. - - * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request) - (gtk_image_menu_item_size_allocate): - (gtk_image_menu_item_toggle_size_request): Take child pack - direction into account and pack the image vertically if - necessary. - - * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item): - Set the submenu direction to left-right for menuitems in - vertical menubars. - (gtk_real_menu_shell_move_current): Simplify by moving - direction tweaking to menu- and menubar-specific - implementations. Take pack direction into account when - doing fallbacks. - - * tests/testmenubars.c: Test menubars in various packing - direction combinations. - - * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars. - -2005-02-11 Matthias Clasen - - Complete the fix for #165770, Vincent Noel: - - * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the - fallback size be 16, to be equal to the default for - GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()). - (gtk_file_chooser_button_init): - (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of - GTK_ICON_SIZE_SMALL_TOOLBAR. - -2005-02-09 Matthias Clasen - - * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL - keynav for going from menubar to menu. - -2005-02-08 Christian Rose - - * configure.in: Added "xh" to ALL_LINGUAS. - -2005-02-08 Matthias Clasen - - * gtk/gtkuimanager.c (start_element_handler): Accept - the "expand" attribute and set a flag in the node if it - is set to "true". - (update_node): If the expand flag is set, make separator - toolitems non-drawn and expanding. (#166489, Christian Persch) - -2005-02-05 Hans Breuer - - * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in : - build with Cairo dependency. The patch to acually use Cairo - on win32 will be on gtk-devel-list soon. - * tests/makefile.msc : add testcairo building - - * gtk/stock-icons/makefile.msc : split command line into two to - work with the shells default - -Fri Feb 4 14:16:31 2005 Manish Singh - - * gtk/gtkaccelgroup.c (substitute_underscores): remove unused - function. - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): - Add some extra parens for bitop order of operations disambiguiation. - - * gtk/gtkstock.c: Fix const confusion, make our own copy of the - domain when setting a translate function. - - * tests/testcombo.c: removed unused variable. - -2005-02-04 Matthias Clasen - - * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain - being NULL. (#166179, Diego Gonzalez) - -2005-02-04 Owen Taylor - - * configure.in: Revert gtk_binary_version to 2.4.0. Fix - up comment to talk only about backwards compat, not - forward/backwards compat. (#166293, reported by Vincent Noel) - -2005-02-04 Matthias Clasen - - * gtk/gtkpaned.c (gtk_paned_compute_position): Work better - when there is not enough space. This avoids a nasty size - allocation loop in the file chooser. (#154007, reported - by Milosz Derezynski, patch by Robert Ögren) - -2005-02-04 Matthias Clasen - - * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious - selection of RTL direction if the widget does not have - focus. (#164125, Frederic Crozat) - -Thu Feb 3 19:15:55 2005 Manish Singh - - * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h - -2005-02-03 Owen Taylor - - * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add - gdk_drawable_set_cairo_target(). - - * tests/testtreeflow.c (enum): Use grand not rand as a variable - name because one of the cairo headers is pulling in stdlib.h. - - * tests/testcairo.c tests/Makefile.am: Add a simple cairo based - example. - - * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0. - - * Require libpangocairo for all backends. - -2005-02-03 Tor Lillqvist - - * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the - wide character version of ImmGetCompositionString() here, - too. (#165278, Takuro Ashie) - -2005-02-03 Matthias Clasen - - * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do - one roundtrip per motion event. (#166173, pointed out - by Chris Lee, patch by Søren Sandmann) - - * gtk/gtk.symbols: - * gtk/gtkstock.h: - * gtk/gtkstock.c (gtk_stock_set_translate_func): - New function which allows to change the function used for - translation stock labels, on a per-domain basis. Use this - functionality to switch the GTK+ stock items to use Q_() - prefixed msgids. (#166179, Funda Wang) - - * gdk/gdkkeynames.c: Make the gdk_key array const (#166075, - Tommi Komulainen) - -2005-02-02 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilechooserdefault.c (pending_select_paths_process): - Don't select the first row if the chooser is not mapped. This - happens when it's acting on behalf of GtkFileChooserButton. Also, - don't select the first row if we are in SAVE or CREATE_FOLDER - modes --- I had missed that (see the ChangeLog entry from - 2005-01-18). Fixes #165264. - -2005-02-02 Tor Lillqvist - - Implement lazy extended input initialization on Win32, by Robert - Ögren. Fixes #163163, possibly #162334. Lazy initialization would - be a good idea in any case even if it didn't fix any visible - problems, though. - - The Wacom tablet driver seems to get confused if Wintab is - initialized but no window is shown before the process exits. This - is the case for some GIMP plug-ins, for instance. - - * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made - non-static (and renamed). - (_gdk_input_init): Don't call _gdk_input_wintab_init_check(). - - * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check(). - - * gdk/win32/gdkinput.c (gdk_devices_list, - gdk_display_list_devices, gdk_input_set_extension_events): Call - _gdk_input_wintab_init_check() here instead. - -2005-02-02 Ivan, Wong Yat Cheung - - * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp - of a single window so that gtk_clipboard_request_contents() can be - called inside a GtkClipboardReceivedFunc(). (#163844) - -2005-02-01 Matthias Clasen - - * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons - in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic) - - * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list - to NULL after freeing it. (#165800, Damon Chaplin) - -2005-02-01 Michael Natterer - - * configure.in: depend on stable pango-1.8, not unstable 1.7 - -2005-02-01 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilechooserdefault.c - (browse_files_model_finished_loading_cb): Don't - g_assert_not_reached() if we are in any other state. Another code - path may have triggered a folder reload. Fixes #165556. - -2005-02-01 Federico Mena Quintero - - Merged from gtk-2-6: - - Fix #165770: - - * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the - fallback size be 16, to be equal to the default for - GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()). - (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of - GTK_ICON_SIZE_SMALL_TOOLBAR. - -2005-02-01 Matthias Clasen - - * */*.c: Fix many instances of "the the" in docs and - comments. (#165815, Masao Mutoh) - - * gtk/updateiconcache.c (main): Add a --quiet option. - -2005-02-01 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks, - reset_after_dead, handle_dead): New functions, code blocks - refactored out of update_keymap(). No functionality change. - - (update_keymap): Use ToUnicodeEx() when available (on NT-based - Windows) instead of ToAsciiEx(). Makes keyboard input work in - Unicode-only input locales that don't have any ANSI codepage, for - instance Hindi and Bengali. Use _gdk_input_codepage only on - Win9x. (#165723) - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): On - WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of - TranslateCharsetInfo() to get the input locale's corresponding - codepage, if any. - -2005-01-31 Matthias Clasen - - * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate - NULL-terminated va lists. (#165683) - -2005-01-29 Matthias Clasen - - * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw): - Typo fix. (#165581, Masao Mutoh) - -Thu Jan 27 14:25:45 2005 Manish Singh - - * README.cvs-commits: update ancient IRC info. - -2005-01-27 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilechooserdefault.c - (gtk_file_chooser_default_select_path): Oops, don't assert that we - can't reach the end of the function; this happens if we are still - loading but don't need a path change. Fixes #165213. - -2005-01-27 Matthias Clasen - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): - Make wrapping work in RTL mode. - - * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog, - obey HIG spacing a bit more, add a hand cursor when over the - link button. (#163979, Jorn Baayen) - -2005-01-26 Matthias Clasen - - * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): - Don't allow -1 as minimum-key-length. - (gtk_entry_completion_set_model): Add missing notification. - (gtk_entry_completion_set_minimum_key_length): Add missing - notification, allow setting minimum-key-length to 0. (#165194, - Vincent Ladeuil) - -2005-01-26 Matthias Clasen - - * gtk/gtkaboutdialog.c (display_license_dialog): Make sure - the license dialog is initially displayed without a horizontal - scrollbar. - (gtk_about_dialog_class_init): Document the fact that the - license text is not wrapped. (#165012, Christian Rose) - -2005-01-25 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180, - Jeff Franks) - - * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix - docs. (#165163, Jeff Franks) - - * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter - for a string GValue. (#165203, Damon Chaplin) - -2005-01-24 Matthias Clasen - - * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): - Initialize user_time from DESKTOP_STARTUP_ID. (#165131, - Elijah Newren) - -2005-01-24 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c: Removed leftover comments. - -2005-01-24 Federico Mena Quintero - - Merged from gtk-2-6: - - Fix #147785 and clean up the loading code: - - * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states - be EMPTY, PRELOAD, LOADING, FINISHED. - (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state. - (struct _GtkFileChooserDefault): Added a pending_select_paths - field. - (load_remove_timer): Add the new states. - (load_setup_timer): Likewise. - (load_timeout_cb): Likewise. Switch to the LOAD_LOADING state. - (browse_files_model_finished_loading_cb): Switch to the - LOAD_FINISHED state. - (enum PendingOp): Removed. - (struct _GtkFileChooserDefault): Removed the pending_op and - pending_select_path fields. - (pending_select_paths_free): New utility function. - (pending_select_paths_add): New utility function. - (gtk_file_chooser_default_finalize): Call - pending_select_paths_free(). - (pending_op_queue): Removed. - (pending_op_process): Removed. - (pending_select_paths_process): New function. - (browse_files_model_finished_loading_cb): Call - pending_select_paths_process(). - (center_selected_row_foreach_cb): Handle multiple selection by - only centering the first row. - (get_is_file_filtered): Constify. - (gtk_file_chooser_default_select_path): Queue into a list of paths - to select if we are not finished loading. - (show_and_select_paths): New utility function. - (up_folder_handler): Use pending_select_paths_add(). - (gtk_file_chooser_default_should_respond): Do not call - pending_op_queue(); free the pending_selected_paths instead. - (gtk_file_chooser_default_initial_focus): Don't queue a pending - operation, and don't select the first row unconditionally --- this - will happen when the folder is done loading. - (shortcuts_row_activated_cb): Free the pending_select_paths. - (pending_select_paths_store_selection): New utility function. - (gtk_file_chooser_default_map): Call - pending_select_paths_store_selection() to save the selection - before reloading the folder. - (select_func): Umm? Call gtk_tree_selection_select_iter(). Don't - move the cursor here; it will be done when processing the pending paths. - - * tests/testfilechooser.c (main): Add a button to the command - window to unmap and remap the file chooser. - -2005-01-24 Matthias Clasen - - * docs/tutorial/gtk-tut.sgml: - * docs/tutorial/gtk_tut.sgml: - * docs/reference/gtk/tmpl/gtkliststore.sgml: - * gtk/gtkactiongroup.c: - * gtk/gtksizegroup.c: - * gtk/gtksizegroup.h: - * gtk/gtktogglebutton.c: Replace "effect" by "affect" where - appropriate. (#165108, Dan Winship) - -2005-01-24 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_class_init): Document - GtkWidget::style-set. (#164222, Alex Graveley) - -2005-01-22 Matthias Clasen - - * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): - Remove the accidentally added prototype for this unimplemented - function. (#164893, Jeff Franks) - - * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious - drags. (#164884) - -2005-01-23 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos - dead accent key. (#164859, reported and fix verified by Daniel - Atallah.) - - * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle - GDK_Greek_accentdieresis (tonos and dialytika) combining with iota - and upsilon. - - * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): - Don't call GetVolumeInformation() for network drives. They might - be disconnected, and calling GetVolumeInformation() will then - cause long delays. (#164448, reported by Dave Neary.) It seems to - be very hard to reliably find out whether a network drive is - connected or not, so it's easier to just not try getting the - volume name for them. See the bug report for discussion. - - Make volume name display formats translatable. - - Fix for #163702, from Ivan Wong: - - * gdk/win32/gdkprivate-win32.h - * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard. - - * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle - WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a - GDK_SELECTION_CLEAR event. - - * gdk/win32/gdkselection-win32.c - (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard - when emptying the clipboard ourselves. - - (gdk_selection_send_notify_for_display): Remove the artifical - GDK_SELECTION_CLEAR event generation. - -2005-01-21 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_get_accessible): More details - provided by Bill Haneman. - -2005-01-20 Matthias Clasen - - * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs. (#164725, - George Kraft IV) - - * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever - here, even if the only focusable widgets are labels. - -2005-01-20 Matthias Clasen - - Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen): - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init) - Add a follow-state property which when TRUE causes the pixbuf - to be tinted according to state. - - * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): - Use follow-state and colorize the pixbuf when appropriate. - -2005-01-20 Matthias Clasen - - Support wrapping in GtkCellRendererText (#163608): - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): - Add wrap-mode and wrap-width properties which cause a - text cell to break to a specified width when set. - - * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode - and wrap-width when they are set. - -2005-01-20 Matthias Clasen - - * gtk/gtkmodules.c (load_module): Don't reverse the order - of modules when putting them in gtk_modules. (#162676, Dennis - Cranston, patch by Remus Draica) - - * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash - if the tree is empty. (#164669, Priit Laes) - -Wed Jan 19 18:57:02 2005 Manish Singh - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call - GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the - function a bit too. - -Wed Jan 19 17:17:31 2005 Manish Singh - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash - strict aliasing warning in _NET_VIRTUAL_ROOTS code. - -2005-01-19 Tor Lillqvist - - * gdk/win32/gdkkeys-win32.c (update_keymap, - gdk_keymap_translate_keyboard_state): Handle keyboards with - ShiftLock (and not CapsLock) correctly. (#161814) - -2005-01-19 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond): - In save mode, don't return paths containing nonexisting - directories. (#162443, Jean Marie Favreau) - - * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit - macros to avoid sparse warnings. Pointed out by Kjartan Maraas. - - * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS - atom. - - * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): - Support _NET_VIRTUAL_ROOTS. (#163910, Carsten Haitzler) - - * gdk/gdk.symbols: - * gdk/x11/gdkx.h: - * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): - Add a function to obtain the last user interaction - time. (#163119, Elijah Newren) - -Tue Jan 18 13:56:09 2005 Manish Singh - - * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign - PENDING_OP_NONE. - -Tue Jan 18 13:46:46 2005 Manish Singh - - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): - disambiguate nested if/else. - -2005-01-18 Federico Mena Quintero - - Merged from gtk-2-6: - - * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an - operation to select the first file if we are in SAVE or - CREATE_FOLDER modes. Executing that operation would overwrite the - contents of the save-name entry. - -2005-01-18 Matthias Clasen - - * gdk/gdkdisplay.h: - * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): - * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add - pointer warping to GDK. (#160437) - - * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer. - -2005-01-18 Matthias Clasen - - * gtk/gtkstyle.c (gtk_default_draw_check) - (gtk_default_draw_option, gtk_default_draw_handle): Add some - more NULL checks, patch by Michael Natterer. - -Tue Jan 18 10:55:47 2005 Søren Sandmann - - * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail - and NULL widget. - - * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and - NULL widget. (#164477, Michael Natterer) - -2005-01-18 Matthias Clasen - - Avoid X errors when running against servers which - implement XRender < 0.4. (#164427, Albert Chin) - - * gdk/x11/gdkprivate-x11.h: - * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): - New function to check for trapezoid support in XRender. - (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): - Use it here. - - * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a - separate have_render_with_trapezoids field. - - * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it. - -2005-01-17 Matthias Clasen - - * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke) - -Mon Jan 17 16:44:36 2005 Jonathan Blandford - - * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to - dist. - -2005-01-17 Matthias Clasen - - * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save - and restore the selected row in the bookmark list and the - save folder combo. (#164290) - -2005-01-16 Matthias Clasen - - * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend): - Fix argument order in docs. - -2005-01-15 Matthias Clasen - - * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): - * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL - if the keymap is neutral. (#164125, Phil Blundell) - -2005-01-14 Matthias Clasen - - * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to - reset the property to its default value -1. - (gtk_tree_view_get_search_column): Return the default value in - the g_return_val_if_fail() check. (#163864, Richard Hult) - - * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): - Add a translator hint. (#163889) - - * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it - is an enum value, not a define. Pointed out by Tommi Komulainen. - * gtk/gtkcalendar.c (gtk_calendar_init): Adapt. - -2005-01-13 Matthias Clasen - - * configure.in: Check for nl_langinfo() - * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's - available to determine first day of week (#163842, Vincent Untz) - - * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about - the lifecycle of widgets. (#159503, Christian Persch) - - * demos/gtk-demo/main.c (create_text): Use monospace for the - source code view. (#163526, Theerud Lawtrakul) - - * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic - for the Credits button to avoid duplicate. (#163465, Tim-Philipp - Müller) - - * configure.in: Add an OS_LINUX conditional. - - * gdk/Makefile.am (TESTS): - * gdk-pixbuf/Makefile.am (TESTS): - * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917, - Roger Leigh) - -2005-01-13 Matthias Clasen - - * gtk/gtktreeview.c: (gtk_tree_view_class_init), - (gtk_tree_view_set_headers_clickable): Make the headers-visible - property readwrite instead of just writable, and remove the - g_return_if_fail check that there is a model when setting this - property. Also improve the blurb. (#163851, Richard Hult) - -2005-01-12 Owen Taylor - - * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on - initialization of gdktarget, that was causing it to be - evaluated before host was set. Simplify --with-gdktarget help - message. - - * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 - which doesn't work with slightly older versions of GNU grep - in install-libtool-import-lib rule. - -2005-01-12 Tor Lillqvist - - Fix for #162790, by Iwan Wong: - - * gdk/win32/gdkdrawable-win32.c: Implement dashed lines - correctly. Simplify the interface to render_line_horizontal() and - render_line_vertical(). Need to draw lines "manually" also on - NT-based Windowses if we have a dash offset or are drawing - double-dashed lines. - - * gdk/win32/gdkprivate-win32.h: Keep also the dash offset, - double-dash flag, and a brush for the background colour (used by - the odd dashes in the double-dash line style) in the GdkGCWin32 - struct. - - * gdk/win32/gdkgc-win32.c: Set up above new fields. - -2005-01-10 Federico Mena Quintero - - Fix #162617. - - * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out - GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this. - (gtk_file_system_unix_get_folder): Make error reporting more - accurate. Don't bail out if we can't read the directory. - (fill_in_stats): Don't return an error; just assume we don't have - stat info for this folder's files. - (fill_in_names): Don't create the hash table for the names if we - can't open the directory. - (gtk_file_folder_unix_list_children): Don't emit the - "finished-loading" signal --- we don't do asynchronous loads, so - we are always finished loading. - (gtk_file_folder_unix_get_info): Use helper functions; handle the - case where we can't stat '/'. - (get_icon_type_from_path): Don't call fill_in_stats() here; only - use the info we have. - (fill_in_mime_type): Don't return an error. Don't do anything if - we don't have the stat info. - -2005-01-10 Owen Taylor - - * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre* - to EXTRA_DIST. - -2005-01-10 Matthias Clasen - - * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document - signals. (#163319, Murray Cumming) - -2005-01-09 Tor Lillqvist - - * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current - cursor also when changing the cursor of a window that is the first - ancestor of the window containing the pointer that has a cursor - defined. (#163035, Ivan Wong) - -2005-01-09 Anders Carlsson - - * gtk/gtkcellrenderertext.c: (get_size): - * gtk/gtklabel.c: (gtk_label_size_request): - * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request): - Don't pass NULL to pango_context_get_metrics. Use - pango_context_get_language instead, which is way faster. - -2005-01-08 Matthias Clasen - - * configure.in: Bump version - - * === Released 2.6.1 === - - * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0 - -2005-01-07 Tor Lillqvist - - * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store): - Fix braino. (#163232, Arnaud Charlet) - -2005-01-06 Matthias Clasen - - * gtk/gtkiconview.c: Make markup_column work, and fix some - layout issues when either icon or text is missing. (#163065) - -2005-01-06 Federico Mena Quintero - - * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an - "Open _Location" item. Fixes #148839. - -2005-01-06 Matthias Clasen - - * README.in: Fix a typo. (#163128, kentaro fukuchi) - -2005-01-06 James M. Cape - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new) - (gtk_file_chooser_button_new_with_backend): Use default title if - NULL is passed. - - * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples - match API. - -2005-01-05 Federico Mena Quintero - - Fix #161409: - - * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue - a pending operation to select the first row. - -2005-01-05 Federico Mena Quintero - - * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call - button_data_free() explicitly; the button is weak-reffed and the - callback will free the button data. Fixes #163010. - (_gtk_path_bar_set_path): Don't ref/sink the button. And for the - failure case, call gtk_widget_destroy() on it. - - * gtk/gtkfilechooserdefault.c (check_is_folder): Use - gtk_file_system_get_folder() again (see the ChangeLog entry from - 2004-08-25). We can't first get the parent folder and then - request the info for the path in question, as the parent folder - may not be readable. See bug #162617. - (gtk_file_chooser_default_set_current_folder): Assert that the - passed-in path is not null. - (shortcuts_find_current_folder): Likewise. - (shortcuts_add_current_folder): Likewise. - (set_list_model): Likewise. - (gtk_file_chooser_default_map): Only reload the current folder if - it exists. - (bookmarks_check_add_sensitivity): Check for the current folder - being NULL. - (browse_files_select_first_row): Don't set the cursor if there is - no model loaded. - -2005-01-05 Matthias Clasen - - * gtk/gtkfilechooserdefault.c: Don't construct errors from - the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911. - (get_file_info, check_is_folder): Translate errors from - the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest - of the fix for #162911, noticed by Murray Cumming. - -Wed Jan 5 11:42:49 2005 Søren Sandmann - - * gtk/gtkviewport.c (gtk_viewport_realize): - * gtk/gtktextview.c ((text_window_realize): Set the background of - the windows to None instead of adding EXPOSURE_MASK, as suggested - by Owen in #162112. - - * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update - the user time when receiving a WM_DELETE message. (#162980, - Elijah Newren) - -Tue Jan 4 16:52:14 2005 Jonathan Blandford - - * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): - only reorder on button 1, part of #141937 - -Tue Jan 4 11:36:43 2005 Søren Sandmann - - Bug 162112. - - * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK - to win->window's event_mask - - * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK - to viewport->view_window. - -2005-01-04 Matthias Clasen - - * demos/testpixbuf.c (main): Remove the size_prepared callback, - to test incremental display. - (new_testrgb_window): Return the drawing area, not the window, - since we want to queue draws on the drawing area. - -2005-01-03 Matthias Clasen - - * examples/*: Re-extract. - - * docs/tutorial/gtk-tut.sgml: Small corrections. - - * docs/tutorial/gtk-tut.sgml: Some updates for the drawing - section. (#161414, Robert Ancell) - - * docs/tutorial/gtk-tut.sgml: Make it build. - - * gtk/gtkdialog.c (gtk_dialog_run): Some clarification - regarding modality. (#112903, Dave Bordoley) - - * gtk/gtkfixed.c (gtk_fixed_set_has_window): - Add a little motivation. (#145556, Tommi Komulainen) - - * docs/tutorial/gtk-tut.sgml: Clarify section on - g_signal_connect_swapped. (#120543, David Bourguignon) - - Make gtk_icon_theme_load_icon() work independent of - icon factory initialization. (#162791, Tristan Van Berkom) - - * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to - _gtk_icon_factory_ensure_default_icons, and make it non-static. - - * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here. - -2005-01-02 Matthias Clasen - - * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): - Don't add a shortcut here. (#162752, Tor Lillqvist) - -2005-01-02 Tor Lillqvist - - * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for - CoTaskMemFree in get_special_folder() below. - - * gtk/gtkfilesystem.h: Implement case-insensitive path compare on - Win32 using _gtk_file_system_win32_path_compare(). - - * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare. - - * gtk/gtkfilechooserbutton.c (model_add_special) - * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use - _gtk_file_system_win32_get_desktop() to get correct Desktop folder - on Win32. (#144003) - - * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do - consider all drives "mounted", including floppies. Trying to - inspect the contents of a nonexistent floppy will cause errors - later that are handled normally, no need to avoid them - completely. Keep the drive type in the GtkFileSystemVolume. - Support UNC paths. (#161797, #137874) Fix error message - capitalizations as in gtkfilesystemunix.c. - - (gtk_file_system_win32_init): Start one timeout per - GtkFileSystemWin32. - - (gtk_file_system_win32_finalize): Remove the timeout. - - (get_special_folder): Copied from GLib. - - (_gtk_file_system_win32_get_desktop): New function, uses - get_special_folder(). - - (gtk_file_system_win32_list_volumes): Don't start a timeout at - each call to this function. Don't assume A: and B: are floppies. - - (gtk_file_system_win32_get_volume_for_path): Don't assume all - volumes are drive roots, i.e. support share roots of UNC paths - (\\server\share). - - (gtk_file_system_win32_get_folder): Don't assume errno is set - after g_file_test() returns FALSE. It isn't on Win32 (and even on - Unix I don't think one should assume anything about errno after - g_file_test()). - - (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE. - - (gtk_file_system_win32_volume_get_display_name): Don't call - GetVolumeInformation() on drives A: or B: if they are removable, - as they might then be floppies, causing an unnecessary - delay. (#157820) - - (gtk_file_system_win32_volume_render_icon): Use network icon for - unrecognized drive types. - - (canonicalize_filename, gtk_file_system_win32_parse): Don't get - confused by UNC paths. - - (bookmarks_serialize): Use _gtk_file_system_win32_path_compare() - for case-insensitive UTF-8 path comparison. - - (extract_icon): Use SHGetFileInfo() which is faster than - ExtractAssociatedIcon(). Icon extraction is still slow, though, - needs work. - - (win32_pseudo_mime_lookup): Don't use the same icon for all - shortcuts or executables. Cache only other file type icons. - - (gtk_file_system_win32_render_icon): Use network stock icon for - remote drives and UNC server share roots. Compare home directory - case-insensitively. Do lookup icons also for executable files, - after all, it's these files that can have individual icons in the - first place. Yes, it can be slow. Needs work. - - (filename_is_drive_root): Require also the slash after the colon. - - (filename_is_server_share): New function. - - (_gtk_file_system_win32_path_compare): New function, does - case-folded UTF-8 comparison. - - * gtk/gtkfilesystemwin32.h: Declare - _gtk_file_system_win32_path_compare(). - -2005-01-01 Matthias Clasen - - * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the - custom image by passing NULL. - (gtk_button_init): Initialize image_is_stock to TRUE, fixing - a problem with changing stock labels. (#162273, Marcin - Krzyzanowski) - -2005-01-01 Tor Lillqvist - - * gtk/gtkmodules.c (get_module_path) - * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file, - gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With - g_getenv() now returning UTF-8 on Win32, no need to call - g_locale_to_utf8(). - -2004-12-31 Matthias Clasen - - * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) - (_gtk_key_hash_lookup): Don't sort a list of values as if - it was a list of entries. This fixes crashes during mnemonic - activation in the presence of multiple keymaps. (#162488, - Christian Persch) - -2004-12-30 Matthias Clasen - - * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix - state propagation when making an insensitive combo box sensitive - again. (#162524, Carlos Garnacho Parro) - - * gtk/gtkfilechooserdefault.c: Use secondary text for error - dialogs. - - * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling - (#162496, noted by Tor Lillqvist), and use g_filename_display_name() - for error messages. Also mark some error messages for translation, - fix capitalization of error messages. - - * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): - Use g_value_get_boolean() for ellipsize_set. (#162447, - Brian Tarricone) - -2004-12-30 Tor Lillqvist - - * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps - only on Unix. - -2004-12-28 Matthias Clasen - - * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit - submenu direction from the parent menu. - - * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): - Return a boolean indicating whether an item in the submenu - was selected. - (gtk_real_menu_shell_move_current): When going in child - direction, don't get stuck at completely insensitive - submenus. (#162055, Billy Biggs) - -2004-12-27 Matthias Clasen - - Make the clipboard image API more robust (#162357, - Torsten Schoenfeld): - - * gtk/gtkclipboard.c (clipboard_image_received_func): Don't - ref the pixbuf if it is NULL. - - * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): - NULL-terminate the varargs in the call to - gdk_pixbuf_save_to_buffer(). - (gtk_selection_data_get_pixbuf): Only use a pixbuf loader - if there is data to load. - -2004-12-27 Matthias Clasen - - * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): - Set x_root and y_root in button and motion events from - extended input devices. (#148715, Robert Ögren) - - * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a - typo. (#162339, Alessio Dessi) - - * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document - properties as new since 2.4. (#156101, Billy Biggs) - - * configure.in: Add a warning about the linux-fb - target. (#155488, Zeeshan Ali) - - * gtk/gtkmain.c (gtk_init_with_args): Typo fix. (#162278, - Torsten Schoenfeld) - -2004-12-26 Matthias Clasen - - * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): - Typo fix. (#162219, Masao Mutoh) - (gtk_file_chooser_set_preview_widget_active): - Another typo. (#162218, Masao Mutoh) - -2004-12-23 Matthias Clasen - - * gtk/gtkliststore.c (gtk_list_store_iter_children): - Return TRUE if there are children. (#162134, Iñigo Serna, - patch by John Finlay) - - * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): - Transfer state from the button to the cell view to get - prelighting right. (#156327, Ricardo Veguilla) - -Wed Dec 22 14:22:19 2004 Søren Sandmann - - * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing - timeout. Written by Christian Persch. - -Wed Dec 22 14:14:02 2004 Søren Sandmann - - Bug #161561 - - * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the - background for windows that get expose events. - - * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove - hack to repaint !expose windows. - -Wed Dec 22 11:35:41 2004 Søren Sandmann - - Bug #147497, make menu items activate immediately when you release - the button. - - * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make - items activate immediately. - - * gtk/gtkmenu.c (definitely_within_item): New function - * gtk/gtkmenu.c (check_threshold): New function - -2004-12-22 Matthias Clasen - - * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to - null the mnemonic_menu when unsetting a mnemonic, reported - by Owen Taylor. - -2004-12-21 Matthias Clasen - - * gtk/gtkliststore.c (generate_order): Generate the order the - way it is supposed to be, order[new_pos] == old_pos. - (gtk_list_store_reorder): Invert the order before using it. - -2004-12-22 Matthias Clasen - - Fix sorting of list stores. (#161886, Marcin Krzyzanowski) - - * gtk/gtkliststore.c (generate_order): Generate the order the - way it is supposed to be, order[new_pos] == old_pos. - (gtk_list_store_reorder): Invert the order before using it. - - * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the - list store fix. - -Wed Dec 22 01:24:01 2004 Jonathan Blandford - - * gtk/queryimmodules.c (main): print out the version and binary - name in the header comment. Problem reported by Seth Nickell. - -2004-12-20 Matthias Clasen - - * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a - root path to gtk_tree_model_rows_reordered(). (#161720, - Marcin Krzyzanowski) - - * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't - translate NULL messages. (#161789, Morten Welinder) - - * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show - the secondary label on show_all(). (#161707, Christian Persch) - -2004-12-19 Tor Lillqvist - - * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter): - Use wide character API when available. Use UTF-8 for filenames. - - * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include - the string's trailing zero byte in the property's length, just for - safety. - -2004-12-18 Matthias Clasen - - * gtk/gtkfilechooserentry.c (check_completion_callback) - (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE. - - * gtk/gtkfilechooserdefault.c (edited_idle_cb) - (shortcuts_drag_outside_idle_cb): Add missing - GDK_THREADS_ENTER/LEAVE. (#161604) - - * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): - (list_select_func): Don't call gtk_file_info_get_is_folder() - on NULL. - - * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): - (gtk_about_dialog_init): Add missing initializations. (#161646, - Torsten Schoenfeld) -