2006-11-07 Alexander Larsson * NEWS: Update for release * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory.c: Unschedule call_ready callbacks on directory finalize, not on file finalize. Keep monitors around until we call the call_when_ready callback at idle time. Call async_state_changed and update_metadata_monitors after call_when_ready callbacks have been called at idle. (fixes make check) 2006-11-07 Alexander Larsson * src/nautilus-application.c: * src/nautilus-shell.c: * src/nautilus-main.[ch]: Make the session restart work again (from 2006-11-03 change) Make the session not restart nautilus on --quit 2006-11-06 Federico Mena Quintero http://bugzilla.gnome.org/show_bug.cgi?id=330298 Fix the use of lazy positioning, and the saving of metadata for lazily-positioned icons. Fixes https://bugzilla.novell.com/show_bug.cgi?id=155337 and https://bugzilla.novell.com/show_bug.cgi?id=174766. * src/file-manager/fm-icon-view.c (file_has_lazy_position): Only desktop icon files (not "real" files) have lazy positions. Don't consider whether the directory is loading; this is not the right place to check that. (fm_icon_view_begin_loading): Tell the icon container that we just started reloading. (fm_icon_view_end_loading): Tell the icon container that we finished loading. * libnautilus-private/nautilus-icon-private.h (NautilusIconContainerDetails): New flag "is_reloading". * libnautilus-private/nautilus-icon-container.h: New prototype for nautilus_icon_container_set_is_reloading(). * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_set_is_reloading): New function; sets an is_reloading flag in the icon container. (icon_set_position): Clear icon->has_lazy_position, since the icon will be well-positioned once this function exits. (finish_adding_new_icons): Do not ignore already-placed lazy position icons when filling the placement grid! Save the value of icon->has_lazy_position before calling assign_icon_position(). Since that function may call icon_set_position() (which will clear the flag), we need to keep the original value of the flag. (finish_adding_new_icons): Don't clear icon->has_lazy_position here; let icon_set_position() do it. (finish_adding_new_icons): Emit the icon_position_changed signal so that the parent knows that we moved an icon under it. This has the effect of updating/preserving the position metadata for has_lazy_position icons. 2006-11-06 Alexander Larsson * configure.in: * nautilus-computer.desktop.in: * nautilus-computer.desktop.in.in: * nautilus-file-management-properties.desktop.in: * nautilus-file-management-properties.desktop.in.in: * nautilus-folder-handler.desktop.in: * nautilus-folder-handler.desktop.in.in: * nautilus-home.desktop.in: * nautilus-home.desktop.in.in: * nautilus.desktop.in: * nautilus.desktop.in.in: Add X-GNOME-Bugzilla-Version marking to desktop files. 2006-11-06 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: Cancel rubberbanding if we get a grab shadow event. This happens when a modal dialog (e.g. an error or auth dialog) appears. (Partially fixes #122688) 2006-11-06 Alexander Larsson * src/file-manager/fm-icon-view.c (play_file): Don't close handle and free buffer twice on error. (#321175) 2006-11-06 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri): Don't crash on old desktop dir and search dir uris. (#349840) 2006-11-06 Martin Wehner * src/nautilus-file-management-properties.glade: Specify label-for and labelled-by atk relations. (#356124) Patch from Padraig O'Briain 2006-11-03 Alexander Larsson * libnautilus-private/nautilus-directory-metafile.c: Always use the in-process metafile factory. We don't need it oop, since nautilus is single process these days. This fixes some strange races with bonobo-activation that caused #351713 * src/nautilus-application.[ch]: * src/nautilus-shell.h: Change the way we use bonobo-activation to get the NautilusShell so that we don't rely on bonobo-activation-server to spawn nautilus, as this could lead to some strange duplicate processes. We now directly try to register the app-wide shell object with bonobo-activation manually and activate it with Bonobo_ACTIVATION_FLAG_EXISTING_ONLY. * src/nautilus-shell.c: Handle all corba calls from the NautilusShell in an idle handler. This fixes some crashes where we reentered badly into e.g. quit when calling gconf. * src/nautilus-main.c: Since we now handle the initial open_window shell calls via an idle we need to delay until idle time to know if we can quit or not. 2006-11-02 Alexander Larsson * test/file-torture.py (main): Sleep shorter, for more torture 2006-11-02 Alexander Larsson * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory-async.c: Call all call_when_ready callbacks from an idle handler. This fixes problems with reentrancy, like bug #348161 2006-11-01 Alexander Larsson * src/file-manager/fm-tree-model.c: Always emit the row-deleted signal before deleting the row from the model. This is according to the GtkTreeModel::row-changed docs and feedback from kris. Hopefully this will fix bug #356672 2006-10-31 Alexander Larsson * src/file-manager/fm-icon-view.c (fm_icon_view_remove_file): Remove assert that keep randomly failing to fix crash (#352592) Replace it with some debug output that hopefully lets us track down the cause. 2006-10-30 Martin Wehner * libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_items): * libnautilus-private/nautilus-metafile.c: (find_monitor_node): Fix C99-style variable initialization for gcc 2.95. (#348665) Patch from Jens Granseuer 2006-10-30 Martin Wehner * src/nautilus-property-browser.c: (remove_color), (nautilus_property_browser_remove_element), (element_clicked_callback), (make_properties_from_xml_node): Remove colors by really removing them from browser.xml, not marking them deleted. That made it impossible to add another color with the same name later on. Also delete colors by their (unique) names and not their color values. That made it possible to delete built-in colors. Fixes #358893. Based on a patch from Emil Soleyman-Zomalan 2006-10-30 Martin Wehner * src/file-manager/fm-properties-window.c: (attach_value_field_internal), (attach_value_field), (attach_ellipsizing_value_field), (append_title_value_pair), (append_title_and_ellipsizing_value), (append_directory_contents_fields), (add_permissions_combo_box), (create_simple_permissions), (create_advanced_permissions): Set up proper relationships between labels and widgets in the properties dialog. Fixes #363116. Patch from Padraig O'Briain 2006-10-19 Federico Mena Quintero * test/file-torture.py: New file with a little torture test. It does a bunch of file operations on a directory. Nautilus sometimes crashes when viewing that directory, so this should help us find bugs. 2006-10-19 Christian Neumair * libnautilus-private/nautilus-file.c: (nautilus_file_get_volume_name): Check for NULL path before calling gnome_vfs_volume_monitor_get_volume_for_path(). * libnautilus-private/nautilus-monitor.c: (path_is_on_readonly_volume): Assert path. 2006-10-19 Christian Neumair * src/file-manager/fm-directory-view.c: (convert_file_list_to_string): Don't append final newline for textual URIs. Fixes #360441. 2006-10-19 Christian Neumair * src/nautilus-main.c: (main): Shut down eel before GnomeVFS. 2006-10-19 Christian Neumair * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy): Only deregister "ignore hidden file preferences" callback if it has been initialized before. 2006-10-19 Christian Neumair * libnautilus-private/nautilus-customization-data.c: (nautilus_customization_data_new), (nautilus_customization_data_get_next_element), (nautilus_customization_make_pattern_chit): Handle NULL pattern chit, don't unref pattern tile in make_pattern_chit. * libnautilus-private/nautilus-file-utilities.c: (nautilus_pixmap_file): Bail using g_debug if pixmap couldn't be found. * src/nautilus-emblem-sidebar.c: (nautilus_emblem_sidebar_populate): Only create pixmap if path lookup succeeded. * src/nautilus-property-browser.c: (nautilus_property_browser_init), (make_drag_image), (make_color_drag_image), (make_properties_from_directories), (add_reset_property), (property_browser_category_button_new): Handle NULL pattern chits, don't operate on NULL pixbufs. 2006-10-18 Alexander Larsson * src/file-manager/fm-list-view.c: Share target list for all instances (#357573) * src/nautilus-location-bar.c: (style_set_handler): Don't leak layout (#352693) * src/nautilus-zoom-control.c: Fix O(n^2) use of list (#357589) All patches from paolo borelli. 2006-10-18 Alexander Larsson * src/Makefile.am: * src/ephy-spinner.[ch]: * src/nautilus-throbber.[ch]: Import ephy spinner and use ad throbber. This supports different icon sizes. * src/nautilus-window-toolbars.c: Change throbber size when toolbar size changes. 2006-10-18 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_search_scroll_event): Renew typeahead timeout when you scroll between typeahead hits with the mouse wheel. (#354042) Patch from Nelson Benitez 2006-10-18 Alexander Larsson * src/file-manager/fm-list-model.c (change_dummy_row_callback): The row might have disappeared if it was removed since the timeout was scheduled. Protect against this. (#336051) 2006-10-18 Alexander Larsson * libnautilus-private/nautilus-file-private.h: Add is_added flag to NautilusFile to make sure we always send an added event to directory monitors. * libnautilus-private/nautilus-directory-async.c: (dequeue_pending_idle_callback): Don't add the file to both added and changed list If the file exist but hasn't been added yet, add it. * libnautilus-private/nautilus-directory.c: (is_tentative): Don't return non-added files for get_file_list to avoid duplicating files if you do a list and then track adds. Partially fixes #336051. 2006-10-17 Alexander Larsson * libnautilus-private/nautilus-directory-async.c (get_info_callback, dequeue_pending_idle_callback): Call nautilus_file_mark_gone instead of directly setting is_gone, as this allows us to clean up the symlink hash. * libnautilus-private/nautilus-file.c (nautilus_file_mark_gone): Allow multiple mark_gone. Just ignore any but the first. 2006-10-17 Alexander Larsson * libnautilus-private/nautilus-directory.c (emit_change_signals_for_all_files): Ref all files when emitting change signals. This is an unverified possible fix for #343488, but it can't possibly be bad to do this, so i'm commiting it. 2006-10-17 Alexander Larsson * libnautilus-private/nautilus-file.c: nautilus_file_get_vfs_file_info: handle NULL info Fix typo. 2006-10-17 Alexander Larsson * libnautilus-private/nautilus-program-choosing.c (nautilus_launch_show_file): Don't cause critical if slow mimetype not loaded. I was able to get that with a circular symlink. In that case a fast mimetype should be ok. 2006-10-02 Alexander Larsson * configure.in: Post release version bump === nautilus 2.16.1 ===