2005-12-12 Alexander Larsson * Makefile.am: disable update-mimedb in distcheck * libnautilus-private/Makefile.am: Add beagle sources to extradist * NEWS: Update for release --- Merged the nautilus-search2 branch --- 2005-12-12 Alexander Larsson Merge in changes from NAUTILUS_SEARCH2_MERGE_ANCHOR1 to NAUTILUS_SEARCH2_MERGE_ANCHOR2 (on HEAD). (This is NAUTILUS_SEARCH2_MERGE_POINT2) 2005-12-12 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri): Another case where we need to create a saved search file. 2005-12-12 Alexander Larsson * configure.in: Make it possible to build without beagle. 2005-12-12 Alexander Larsson * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-search-engine-simple.[ch]: Add new NautilusSearchEngineSimple backend. * libnautilus-private/nautilus-file-utilities.[ch]: Add nautilus_get_home_directory_uri. * libnautilus-private/nautilus-marshal.list: Add VOID:OBJECT,BOOLEAN, sort * libnautilus-private/nautilus-search-directory.[ch]: Add nautilus_search_directory_is_indexed. Make sure saved searches are never returned as search hits. * libnautilus-private/nautilus-search-engine-beagle.[ch]: Make _new fail if we can't contact beagle daemon. Set text on query as one string (it can have keywords in it) Move freeing of query data to after query is done. Add _is_indexed * libnautilus-private/nautilus-search-engine.[ch]: Add nautilus_search_engine_is_indexed Remove nautilus_search_engine_enabled Use beagle if availible, otherwise simple backend. * src/nautilus-navigation-window-menus.c: Remove search disabled code * src/nautilus-query-editor.[ch]: Rename activate to changed and add reload argument Add go/reload button for non-indexed searches Add mnemonic for entry Change saved search string to "Search Folder" * src/nautilus-navigation-window.c: Update for query editor changes For indexed search engines, default to search in homedir * src/nautilus-spatial-window.c: Update for query editor changes For indexed search engines, default to search in homedir Remove search disabled code 2005-12-07 Alexander Larsson * src/nautilus-query-editor.c (setup_external_entry): Make ugly string slightly better. 2005-12-07 Alexander Larsson * configure.in: Mime API needs gnome-vfs-module. Unfortunate... * libnautilus-private/nautilus-query.c: Parse queries fully * libnautilus-private/nautilus-search-engine-beagle.c: Look at mime types and location. * src/nautilus-query-editor.c: Add mime type and location to query editor 2005-12-06 Alexander Larsson * libnautilus-private/nautilus-query.[ch]: Add new fields to NautilusQuery 2005-12-06 Alexander Larsson Merge in changes from NAUTILUS_2_12_1 to NAUTILUS_SEARCH2_MERGE_ANCHOR1 (on HEAD). (This is NAUTILUS_SEARCH2_MERGE_POINT1) 2005-12-06 Alexander Larsson * src/nautilus-history-sidebar.c: (update_history), (nautilus_history_sidebar_init): Fix leaks of bookmarks and model. 2005-12-06 Alexander Larsson * libnautilus-private/nautilus-search-engine-beagle.c: (nautilus_search_engine_beagle_set_query): Unref the right query. 2005-12-05 Alexander Larsson * libnautilus-private/nautilus-file-utilities.c: (nautilus_compute_title_for_uri): Handle NULL query in search. * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-search-directory.h: Move saved search uri/mimetype define to nautilus-file-utilities.h. * libnautilus-private/nautilus-search-directory.c: Ref query in get * libnautilus-private/nautilus-search-engine.c: Remove unused stuff. * src/Makefile.am: * src/nautilus-query-editor.[ch]: Add new files implementing NautilusQueryEditor * src/nautilus-places-sidebar.c: Remove search from places sidebar. * src/nautilus-search-bar.[ch]: Only handle text queries. * src/nautilus-window.[ch]: * src/nautilus-window-private.h: * src/nautilus-navigation-window-menus.c: * src/nautilus-window-manage-views.c: extra location widgets support and some search mode changes * src/nautilus-navigation-window.[ch]: * src/nautilus-spatial-window.c: Implement new search ui using extra location widgets * src/file-manager/fm-directory-view.c: Implement save search and save search as. Fix free bugs in fm_directory_view_stop. * src/file-manager/fm-icon-view.c: (fm_icon_view_supports_uri): * src/file-manager/fm-list-view.c: (fm_list_view_supports_uri): Also handle saved search mimetypes. 2005-12-02 Alexander Larsson * libnautilus-private/nautilus-search-directory.[ch]: More functions to save queres. * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: Initial stubs for save search menu items. 2005-12-01 Alexander Larsson * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-search-directory.[ch]: * src/nautilus-bookmark-list.c: Further refactor the query loading, and remove all traces of the old load/save mechanism. 2005-12-01 Alexander Larsson * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-query.[ch]: * libnautilus-private/nautilus-search-directory.[ch]: Refactor query loading into NautilusQuery object. 2005-12-01 Alexander Larsson * configure.in: Check for update-mime-database * data/.cvsignore: * data/Makefile.am: * data/nautilus.xml.in: Add mime database entries for saved searches. * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-saved-search-file.[ch]: Special file type for saved search files to pretend that they are directories. * libnautilus-private/nautilus-directory.[ch]: Make nautilus_directory_ref return its arg. Create NautilusSearchDirectory for saved searches. * libnautilus-private/nautilus-file-dnd.c: Non-editable directories do not accept drops. * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.h: Move nautilus_file_get_existing to public header. * libnautilus-private/nautilus-file.c: Create saved search files at right time * libnautilus-private/nautilus-marshal.list: Add new marshallers * libnautilus-private/nautilus-monitor.c: Remove some spew * libnautilus-private/nautilus-search-directory.[ch]: Split out search file loading to a separate function. * libnautilus-private/nautilus-tree-view-drag-dest.c: Handle several layers of cannot accept drop. * src/file-manager/fm-directory-view.[ch]: Make files be related to the directory they are in, since a file can be in a tree multiple times, with searches. Sorting us now done in base class, and inheriting classes just add a compare function. Fix file leak in new_folder_done. * src/file-manager/fm-icon-view.c: Update to new base class API. In scroll_to_file, don't create a NautilusFile if it doesn't exist. * src/file-manager/fm-list-model.[ch]: Rearrange data so that we can have one file in multiple dirs. Still problems with the same directory in multiple dirs. In scroll_to_file, don't create a NautilusFile if it doesn't exist. Fix leak in each_path_get_data_binder * src/file-manager/fm-list-view.c: Update to new APIs (base class and model). Fix leak in fm_list_view_get_selection_foreach_func. --- end of nautilus-search2 merge --- 2005-12-12 Alexander Larsson * src/file-manager/fm-directory-view.c: (report_broken_symbolic_link): Don't ask to move broken symlinks to trash in trash (#132751) Patch from Christian Neumair 2005-12-12 Alexander Larsson * libnautilus-private/nautilus-desktop-icon-file.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-file.c: Use GNOME_VFS_FILE_INFO_FIELDS_ACCESS to calculate permissions. Patch from Christian Neumair and Christian Kellner * configure.in: Require latest gnome-vfs for GNOME_VFS_FILE_INFO_FIELDS_IDS. 2005-12-12 Alexander Larsson * src/file-manager/fm-properties-window.c: Use GtkComboBox, not option menu. (#322567) Patch by Jaap A. Haitsma 2005-12-10 Martin Wehner * src/file-manager/fm-directory-view.c: (extension_action_slow_mime_types_ready_callback), (extension_action_callback), (add_extension_action_for_files): Keep the original action refed till its activation callback is done. Prevents the callback data from being freed prematurely. Fixes #320230. 2005-12-09 Federico Mena Quintero Fixes bug #322957: Add a "Network Servers" icon on the desktop, which takes you to network:/// * libnautilus-private/nautilus-global-preferences.h (NAUTILUS_PREFERENCES_DESKTOP_NETWORK_VISIBLE): New preference name. This determines whether we show the "Network Servers" icon. * libnautilus-private/apps_nautilus_preferences.schemas.in: Add a schema for /apps/nautilus/desktop/network_visible; the default is true. * libnautilus-private/nautilus-desktop-link.h (NautilusDesktopLinkType): Add a NAUTILUS_DESKTOP_LINK_NETWORK type. * libnautilus-private/nautilus-desktop-link.c (nautilus_desktop_link_new): Support NAUTILUS_DESKTOP_LINK_NETWORK. * libnautilus-private/nautilus-desktop-link-monitor.c (NautilusDesktopLinkMonitorDetails): Added a network_link field. (nautilus_desktop_link_monitor_delete_link): Don't delete NAUTILUS_DESKTOP_LINK_NETWORK links. (update_link_visibility): New helper function. (desktop_home_visible_changed): Use update_link_visibility(), to avoid duplicated code. (desktop_computer_visible_changed): Likewise. (desktop_trash_visible_changed): Likewise. (desktop_network_visible_changed): New function. (create_link_and_add_preference): New helper function. (nautilus_desktop_link_monitor_init): Use create_link_and_add_preference() to avoid duplicated code. Also, create the network_link. (desktop_link_monitor_finalize): Unref the network_link. (remove_link_and_preference): New helper function. (desktop_link_monitor_finalize): Use remove_link_and_preference() to avoid duplicated code. Also, free the network_link. * src/file-manager/fm-icon-container.c (SortCategory): Add a SORT_NETWORK_LINK category right before SORT_MOUNT_LINK, so that the "Network Servers" icon appears before mounts. (get_sort_category): Use SORT_NETWORK_LINK as the category for NAUTILUS_DESKTOP_LINK_NETWORK. 2005-12-09 Alexander Larsson * libnautilus-private/nautilus-emblem-utils.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-program-choosing.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-tree-view.c: * src/nautilus-application.c: * src/nautilus-connect-server-dialog-main.c: * src/nautilus-connect-server-dialog.c: * src/nautilus-emblem-sidebar.c: * src/nautilus-information-panel.c: * src/nautilus-navigation-window-menus.c: * src/nautilus-property-browser.c: * src/nautilus-window-bookmarks.c: * src/nautilus-window-manage-views.c: Remove title from alerts. (#323134) Patch from jaap@haitsma.org * libnautilus-private/nautilus-file-queue.c (nautilus_file_queue_enqueue): Fix warning from ignoring g_list_append return value 2005-12-09 Alexander Larsson * src/nautilus-navigation-window.[ch]: Use combo box instead of option menu (#322567) Patch from jaap@haitsma.org 2005-12-08 Alexander Larsson * src/nautilus-file-management-properties.c: * src/nautilus-file-management-properties.glade: Use the new combo box code (#322487) Patch from jaap@haitsma.org * configure.in: Require new eel. 2005-12-01 Federico Mena Quintero Fixes bug #318140: * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_icon_from_desktop): If the .desktop file doesn't have an Icon property, fall back to some reasonable icons depending on the type of the .desktop file. * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Clarify what we mean by custom icons vs. special icons. 2005-12-01 Federico Mena Quintero Fixes bug #317962: * src/nautilus-pathbar.c (get_dir_name): Don't special-case the name for $HOME; just let it be the actual display name of the folder on disk. * src/nautilus-places-sidebar.c (update_places): Likewise, to make this consistent. 2005-11-28 Martin Wehner * src/file-manager/fm-directory-view.c: (done_loading), (display_pending_callback), (schedule_idle_display_of_pending_files), (schedule_timeout_display_of_pending_files), (unschedule_display_of_pending_files), (queue_pending_files), (remove_changes_timeout_callback), (reset_update_interval), (changes_timeout_callback), (schedule_changes), (files_added_callback), (files_changed_callback), (done_loading_callback), (schedule_update_menus), (file_changed_callback), (finish_loading), (fm_directory_view_stop): Schedule the frequency of updates to the view in relation to the activity in a viewed directory instead of simply scheduling everything as idle. Prevents high CPU load from constant updates in busy directories and allows more efficient use of the cached info for the initial display. 2005-11-24 Dennis Cranston * src/file-manager/fm-directory-view.c: (confirm_delete_directly): HIG fixes for the delete confirmation dialog. Remove window title & convert dialog type from question to warning. 2005-11-24 Alexander Larsson * src/file-manager/fm-directory-view.c: Allow shift-delete even if not visible in ui. Patch from Nelson Benítez 2005-11-24 Alexander Larsson * icons/knob.png: New knob icon from Luca Ferretti 2005-11-24 Alexander Larsson * libnautilus-private/nautilus-file.[ch]: Add nautilus_file_list_cancel_call_when_ready. * src/file-manager/fm-directory-view.c: Handle multiple files being activated together. Patch from Christian Neumair with some changes. 2005-11-23 Alexander Larsson * libnautilus-private/nautilus-thumbnails.c: (nautilus_thumbnail_load_framed_image): Don't frame thumbnails with alpha channel. 2005-11-22 Alexander Larsson * src/nautilus-file-management-properties.glade: Use pixel offset for indenting, not spaces. Patch from Jaap Haitsma 2005-11-22 Emmanuele Bassi * libnautilus-private/nautilus-module.c (nautilus_module_load): Use G_MODULE_BIND_LAZY when dlopening a module. 2005-11-19 Christian Neumair * src/file-manager/fm-directory-view.c: (action_location_delete_callback): Ask for confirmation when deleting through the location context menu. Fixes #321584. 2005-11-17 Martin Wehner * src/nautilus-file-management-properties.c: (nautilus_file_management_properties_size_group_create): Don't leak size_group reference. Patch from Jaap Haitsma 2005-11-14 Alexander Larsson * configure.in: Post release version bump. === nautilus 2.13.2 ===