2000-12-04 Robey Pointer * components/services/install/lib/eazel-install-metadata.c: (init_default_transfer_configuration), (eazel_install_configure_softcat), (transferoptions_destroy): * components/services/install/lib/eazel-install-metadata.h: Remove softcat fields from the TransferOptions struct and move them into EazelSoftCat's config. Read ESC's config from the install/server/ gconf items. * components/services/install/lib/eazel-install-object.c: (eazel_install_finalize), (eazel_install_initialize), (eazel_install_new_with_config), (eazel_install_get_server), (eazel_install_get_server_port), (eazel_install_get_username), (eazel_install_get_eazel_auth), (eazel_install_get_cgi_path), (eazel_install_set_server), (eazel_install_set_server_port), (eazel_install_set_username), (eazel_install_set_eazel_auth), (eazel_install_set_cgi_path): * components/services/install/lib/eazel-install-private.h: * components/services/install/lib/eazel-install-public.h: * components/services/install/lib/eazel-install-types.h: Put a SoftCat into the Install object, and map the set/get functions for old TransferOptions fields to SoftCat fields. * components/services/install/lib/eazel-install-protocols.c: (gnome_vfs_xfer_callback), (eazel_install_fetch_package): Remove some sarcasm (I'm over it). Remove traces of the "old" (fake) CGI code. Remove the evil softcat hack and make it use the softcat object now. * components/services/install/lib/eazel-softcat.c: (eazel_softcat_unref), (eazel_softcat_set_server), (eazel_softcat_set_server_host), (eazel_softcat_set_server_port), (eazel_softcat_get_server_host), (eazel_softcat_get_server_port), (eazel_softcat_set_authn), (eazel_softcat_set_authn_flag), (eazel_softcat_set_username): * components/services/install/lib/eazel-softcat.h: Let a SoftCat be unref'd (cough cough). Add some more field set/get functions for the Install object. * components/services/install/nautilus-view/nautilus-service-instal l-view.c: (nautilus_service_install_solve_cases), (nautilus_service_install_done), (nautilus_service_install_failed): * components/services/install/nautilus-view/nautilus-service-instal l-view.h: Remove some cruft and fix the "already installed" case so that it doesn't drop windows everywhere and vanish abruptly, leaving a dangling eazel-install service running in the background. 2000-12-04 Maciej Stachowiak * components/tree/nautilus-tree-view.c (expand_uri_sequence_and_select_end): Fix build lossage from last commit. 2000-12-04 Maciej Stachowiak reviewed by: John Sullivan * components/tree/nautilus-tree-view.c (expand_uri_sequence_and_select_end): Changed control flow a bit to avoid possibly dereferencing a NULL view_node pointer. This can happen when launching nautilus with the tree view and the desktop both enabled. Thanks to John Sullivan for locating the bug, finding the likely cause in the debugger, and helping me simplify the control flow of this function. 2000-12-04 Darin Adler reviewed by: Maciej Stachowiak * libnautilus-extensions/Makefile.am: Add ESD flags and library since we are now using it. Without this change, I couldn't link. * libnautilus-extensions/nautilus-icon-container.c: (redo_layout_internal), (redo_layout_callback), (unschedule_redo_layout), (schedule_redo_layout), (relayout): Get rid of some circular logic in relayout (now called redo_layout) and made nice calls to cleanly schedule the idle function to redo layout. (size_allocate): Make sure we redo layout if this is the first allocate, since we have inhibited them up to this point. (nautilus_icon_container_initialize): Get rid of unnecessary initialization of things that are already 0, NULL, FALSE. (finish_adding_new_icons): Remove unnecessary check for NULL. (nautilus_icon_container_add): Use the new schedule_redo_layout. (nautilus_icon_container_remove): Use schedule_redo_layout instead of redoing the layout right away, since this can be called for many icons at a time and we want to bunch up the layout work. (nautilus_icon_container_request_update): Schedule a redo_layout any time an icon changes. We could get fancy and detect changes that are substantive if this does too much extra layout work. (nautilus_icon_container_set_zoom_level): Removed extraneous direct call to redo_layout after the request_update_all call. * src/nautilus-window.c: (menu_bar_no_resize_hack_class_free), (menu_bar_no_resize_hack): Tweak function name and formatting. (nautilus_window_constructed): Do a little bit less sidebar setup when making a desktop window. * libnautilus-extensions/nautilus-sound.c: Tweak (has nice side effect of forcing recompile). 2000-12-04 Robey Pointer * components/services/install/command-line/eazel-test-softcat.c: (main): Add -V (version), --gt (greater-than), and -C (check for new version) options to eazel-softcat. (The -C/--gt options won't work until the softcat java-side supports it.) * components/services/install/lib/eazel-softcat.c: (eazel_softcat_initialize), (eazel_softcat_set_retry), (eazel_softcat_get_info), (eazel_softcat_available_update): * components/services/install/lib/eazel-softcat.h: Finish softcat API (check for new version of a package). 2000-12-04 Maciej Stachowiak * README: Updated ORBit version. 2000-12-04 Michael Engber * libnautilus-extensions/nautilus-background.c: (nautilus_background_ensure_gradient_buffered): Changed the semantics of multi-point gradients so that percentages are postions (rather than widths) - bug 4759 2000-12-04 Pavel Cisler reviewed by: Gene Z. Ragan * libnautilus-extensions/nautilus-file-operations.c: (nautilus_file_operations_copy_move): * src/file-manager/fm-directory-view.c: (fm_directory_view_move_copy_items): * src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons): Fixed 4949: Fix a crash when copying from an icon view to a list view - my last fix to set icon positions properly during duplicate was sloppy and broke this. The change needed to add one more place that use an empty GArray instead of a NULL. Properly handle the case of an empty GArray in nautilus_file_operations_copy_move. 2000-12-04 Maciej Stachowiak * README: Update OAF branch info. 2000-12-04 Michael Engber * libnautilus-extensions/nautilus-background-canvas-group.c: (nautilus_background_canvas_group_initialize_class), (nautilus_background_canvas_group_update), (nautilus_background_canvas_group_draw), (nautilus_background_canvas_group_render): Code formatting changes. * libnautilus-extensions/nautilus-background.c: (nautilus_background_initialize_class), (nautilus_background_set_combine_mode), (nautilus_background_ensure_image_scaled), (nautilus_background_load_image_callback), (nautilus_background_start_loading_image), (nautilus_background_set_image_uri_helper), (nautilus_background_set_image_uri), (set_image_and_color_image_loading_done_callback), (nautilus_background_set_image_uri_and_color), (nautilus_background_reset): * libnautilus-extensions/nautilus-directory-background.c: (background_changed_callback), (saved_settings_changed_callback), (background_reset_callback): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain): * src/nautilus-sidebar.c: (receive_dropped_color), (background_settings_changed_callback), (background_reset_callback), (nautilus_sidebar_update_appearance), (background_metadata_changed_callback), (nautilus_sidebar_set_uri): Fixed various issues with dropping colors on the sidebare. Osetensibly, the problem was with dropping white - bug 4880. 2000-12-04 Gene Z. Ragan Fixed broken build. * components/help/converters/gnome-db2html2/sect-preparse.c: (sect_preparse_figure_start_element), (sect_preparse_acronym_characters), (gloss_term_append): File had typos, missing and extra punctuation. The code did not even compile. Now it does. 2000-12-04 Ali Abdin * components/help/converters/gnome-db2html2/sect-preparse.c: * components/help/converters/gnome-db2html2/gdb3html.h: (sect_preparse_glossterm_characters), (sect_preparse_acronym_characters), (sect_preparse_glossterm_start_element), (sect_preparse_glossterm_end_element), (gloss_term_append): Changed around the glossary a bit (partial fix for a bug). Leaks some memory though. 2000-12-04 Gene Z. Ragan reviewed by: Pavel Cisler Fixed bug 645, nautilus_file_rename should handle path separators sensibly * libnautilus-extensions/nautilus-file.c: (nautilus_file_rename): Check for the presence of the "/" path separator charcter. If one exists, return an error. * src/file-manager/fm-error-reporting.c: (fm_report_error_renaming_file): Add a case to report an error if an illegal name has been specified for the file to renamed to. 2000-12-04 John Sullivan reviewed by: Gene Z. Ragan Fixed bug 4931 ("Can't display files of this type" message is inaccurate in some cases) * src/nautilus-window-manage-views.c: (nautilus_window_end_location_change_callback): Reworded the error message when there's no viewer for a file to not mention the file type, since the file type might not have anything to do with why no viewer could be found. For example, clicking on a remote RPM was getting a message implying that Nautilus had no viewer capable of displaying RPM files in general, whereas in fact it has a viewer that can display RPM files, but only if local. This is the simplest way to address this problem; see bugs 4932 and 4933 for better but harder-to-implement solutions. 2000-12-04 Pavel Cisler reviewed by: Maciej Stachowiak * src/file-manager/fm-directory-view.c: (create_link_callback), (offset_drop_points), (fm_directory_view_create_links_for_files): Fixed 4946 - Create link consistently crashes Nautilus. Fixed it by implementing the proper positioning code for creating symbolic links from a context menu, copying the logic from the "Duplicate selection" code path. 2000-12-03 Eskil Heyn Olsen * components/services/install/lib/eazel-softcat.c: (eazel_softcat_initialize): Default some of the private attributes to sane values. 2000-12-02 Robert Brady * configure.in (ALL_LINGUAS): Add ta (Tamil). 2000-12-01 Andy Hertzfeld * src/nautilus-property-browser.c: (category_clicked_callback): fixed bug 4937, changing pane in remove mode crashes Nautilus, by exiting remove mode when switching categories. 2000-12-01 Andy Hertzfeld * src/nautilus-window-toolbars.c: (theme_changed_callback): fixed bug where throbber was mispositioned after theme changes by forcing a toolbar resize when the theme changes. * icons/eazel/i-directory.xml: tweaked folder emblem positions 2000-12-01 Maciej Stachowiak * components/tree/nautilus-tree-view.c (nautilus_tree_view_insert_model_node): Fix bug 4930 (Tree sidebar panel doesn't expand remembered directories until second window is opened) by making sure to expand directories that should be expanded when initially inserting nodes, not just updating. 2000-12-01 Eskil Heyn Olsen Migrated more code into eazel-package-system and finished eazel-package-system-rpm3 (except for verify). This fixes 4858, 4851. * components/services/install/command-line/eazel-test-packsys.c: (test_packagelist_prune), (test_package_load), (get_password_dude), (init_package_system), (test_matches_query), (get_package_list), (start_signal), (end_signal), (progress_signal), (is_installed), (test_install), (test_uninstall), (test_verify), (main):D All the code for the packagesytem test programs. It does test- queries, install and uninstall. * components/services/install/lib/Makefile.am: Moved softcat .h's files into includedir/libtrilobite/eazel/package-sytem/ * components/services/install/lib/eazel-install-corba-callback.c: (eazel_install_callback_initialize): Fixed the IDL rename, which broke the eazelinstall init. * components/services/install/lib/eazel-install-logic.c: (eazel_install_start_transaction): Some comments about codepieces that needs removal. * components/services/install/lib/eazel-install-types.h: * components/services/install/lib/eazel-install-types.c: (packagedata_get_readable_name), (packagedata_get_name): Changed get_readable's names output for rpmid's. Added a function that returns name-version-release names. * components/services/install/lib/eazel-package-system-rpm3.h: * components/services/install/lib/eazel-package-system-rpm3.c: (make_rpm_argument_list), (destroy_string_list), (rpm_make_names_to_package_hash), (clear_name_to_package), (get_total_size_of_packages), (monitor_rpm_process_pipe), (rpm_create_db), (rpm_create_dbs), (rpm_open_db), (rpm_open_dbs), (rpm_close_db), (rpm_close_dbs), (rpm_free_db), (rpm_free_dbs), (rpm_packagedata_fill_from_rpm_header), (rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file), (eazel_package_system_rpm3_load_package), (eazel_package_system_rpm3_query_impl), (eazel_package_system_rpm3_query_substr), (eazel_package_system_rpm3_query_foreach), (eazel_package_system_rpm3_query), (display_arguments), (monitor_subcommand_pipe), (eazel_package_system_rpm3_execute), (eazel_package_system_rpm3_install_uninstall), (eazel_package_system_rpm3_install), (eazel_package_system_rpm3_uninstall), (eazel_package_system_rpm3_verify), (eazel_package_system_rpm3_finalize), (eazel_package_system_rpm3_initialize), (eazel_package_system_rpm3_new), (eazel_package_system_implementation): Finished the rpm3 library. * components/services/install/lib/eazel-package-system-private.h: * components/services/install/lib/eazel-package-system.h: * components/services/install/lib/eazel-package-system.c: (eazel_package_system_load_implementation), (eazel_package_system_load_package), (eazel_package_system_query), (eazel_package_system_install), (eazel_package_system_uninstall), (eazel_package_system_verify), (eazel_package_system_emit_start), (eazel_package_system_emit_progress), (eazel_package_system_emit_failed), (eazel_package_system_get_debug), (eazel_package_system_set_debug), (eazel_package_system_class_initialize), (eazel_package_system_initialize), (eazel_package_system_marshal_BOOL__ENUM_POINTER_POINTER), (eazel_package_system_marshal_BOOL__ENUM_POINTER): Fixed the usual signal bloopers, added the arguments to _new that lets the system get it's dbpaths/root sets, fixed other small bugs. * components/services/install/lib/eazel-package-system-skeleton.h: * components/services/install/lib/eazel-package-system-skeleton.c: (eazel_package_system_skeleton_query), (eazel_package_system_skeleton_install), (eazel_package_system_skeleton_uninstall), (eazel_package_system_skeleton_verify), (eazel_package_system_skeleton_new), (eazel_package_system_implementation): Updated the skeleton library. 2000-12-01 Robin * Slomkowski * nautilus.spec.in: added libeazelsoftcat libs 2000-12-01 John Sullivan reviewed by: Pavel Cisler Worked around without fixing cause of bug 2151 (crash in Undo manager on quit). We can defer fixing the bug properly until we have Undo working again. * libnautilus-extensions/nautilus-undo-signal-handlers.c: (nautilus_undo_editable_set_undo_key): Added FIXMEs with bug number 3515 ("Undo doesn't work"). * src/nautilus-shell-ui.xml: Added FIXME with bug number 3515. * src/file-manager/fm-properties-window.c: (create_basic_page), (create_properties_window_callback): #ifdeffed out undo code and added FIXME with bug number 2151. 2000-12-01 Pavel Cisler reviewed by: Darin Adler * libnautilus-extensions/nautilus-file-operations.c: (progress_dialog_set_to_from_item_text), (handle_xfer_ok), (handle_xfer_vfs_error), (handle_xfer_overwrite), (get_link_name), (nautilus_file_operations_copy_move), (nautilus_file_operations_new_folder), (nautilus_file_operations_move_to_trash), (nautilus_file_operations_delete), (do_empty_trash): Fixed 3392 - Messages in nautilus-file-operations hard to localize. Replaced all the cases that did "clever" string composition from parts depending on the specific file operation with full texts of the respective error alerts and progress dialog label texts and titles. Changed action_verb to action_label. Got rid of progress_dialog_set_files_done_text because the the "Files copied:" etc. label is no longer composed. Added switch statements in handle_xfer_vfs_error that choose the right error text based on the xfer operation kind. Fixed 3139 - Add comments to all the localizable strings to make them easier to localize. * libnautilus-extensions/nautilus-file-operations.c: (icon_position_iterator_new), * libnautilus-extensions/nautilus-file-operations.h: (nautilus_file_operations_copy_move), * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_get_icon_locations), (nautilus_icon_container_get_selected_icon_locations): * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-dnd.c: (handle_nonlocal_move), (nautilus_icon_container_find_drop_target): * libnautilus-extensions/nautilus-icon-private.h: * src/file-manager/fm-directory-view.c: (fm_directory_view_initialize_class), (duplicate_callback), (fm_directory_view_create_links_for_files), (offset_drop_points), (fm_directory_view_duplicate_selection), (fm_directory_get_selected_icon_locations), (fm_directory_view_move_copy_items): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: (fm_icon_view_get_selected_icon_locations), (fm_icon_view_set_selection), (fm_icon_view_initialize_class), (icon_view_move_copy_items): * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class), (fm_list_view_get_selected_icon_locations), (fm_list_view_sort_items): Fixed 2817 - when you duplicate a file, it doesn't end up in the correct position. Redid the icon position array to use GArray instead of a simple vector of GdkPoints. GArray contains the count of all the contained points which is now needed. Added new calls to get the icon locations of selected icons and of a list of NautilusIcon objects. Passed the list of icon locations to the duplicate method. Added a default signal handler that returns the list of icon locations of selected icons. Added code to fm_directory_view_duplicate_selection that offsets the new duplicates to the left and bottom of the original item. 2000-12-01 John Sullivan reviewed by: Pavel Cisler Fixed bug 4911 (Crash emptying trash while displaying properties window for trashed file) This crawled out of the woodwork recently, and required several small fixes here and there to solve it nicely, including making FMPropertiesWindow a subclass -- formerly it was just a GtkWindow with a bunch of wired-up widgets. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_directory_item_count), (nautilus_file_get_deep_counts): Allow non-directory items (files marked gone don't count as directories). Fill in return values in all cases, even return_if_fail cases. * src/file-manager/fm-error-reporting.c: (fm_report_error_renaming_file): Specific error message for the case where the file being renamed no longer exists. I ran into this partway through my changes, tested this fix, then changed the caller to not hit this case. * src/file-manager/fm-properties-window.h: Standard header stuff now that FMPropertiesWindow is a class and not just some grouped functions. * src/file-manager/fm-properties-window.c: (fm_properties_window_initialize_class), (fm_properties_window_initialize): Standard functions needed for class. (name_field_done_editing): Don't try to rename file that's gone. (create_group_menu_item), (create_owner_menu_item): Added some parameter checking. (synch_groups_menu), (synch_owner_menu): Check for NULL result from nautilus_file_get_string_attribute before making a menu item from it (GTK is unhappy with using NULL for a label). (directory_contents_value_field_update): Soften assert to make it not fire when file is gone. (update_permissions_check_button_state): Bail out if file is gone. (create_properties_window): Create an FMPropertiesWindow instead of a GtkWindow; set up its Details. (create_properties_window_callback): Removed signal handler for "destroy" now that there's a default handler for this class. (forget_properties_window): Removed function, guts now in real_destroy. (real_shutdown): Disconnect file-changed signal here. This is the core fix of the infinite loop reported in bug 4911. (real_destroy): Do the stuff formerly done in forget_properties_window here. 2000-12-01 Andy Hertzfeld * src/nautilus-window.c: (nautilus_window_destroy): fixed bug 4921, crash when changing sidebar panels preferences after opening new window, by fixing the call to remove the preferences callback to have the right callback data. 2000-12-01 John Fleck * nautilus/components/help/converters/gnome-db2html2/gdb3html.h, sect-elements.c, sect-preparse.c,toc-elements.c: add support for tag, fixing bug #4378 2000-12-01 Maciej Stachowiak reviewed by: Pavel Cisler * components/tree/nautilus-tree-view.c: (expand_uri_sequence_and_select_end): Avoid forcing a reload of a node while trying to find a location to select unless we get stuck; and even then, do only a shallow force reload, not a deep force reload. This fixes bug 4890 (Tree view makes normal navigation very slow if a large directory is expanded). (reload_model_node_recursive): Renamed from `reload_model_node' to make clear that it will also reload all expanded subnodes. (reload_model_node): Non-recursive version of `reload_model_node_recursive'. (reload_whole_tree, expand_node_for_file): Use `reload_model_node_recursive' instead of the new non-recursive version. (nautilus_tree_view_remove_model_node, (nautilus_tree_view_update_model_node): Added ifdef'd-out debugging text for future use. 2000-11-30 Maciej Stachowiak reviewed by: Robey Pointer * components/tree/nautilus-tree-model.c (report_node_changed): Don't do anything if we don't know the file type yet, since this may cause directories to mistakenly lose their children. This fixes bug 4912 (Nautilus crashes in tree code when multiple windows are open). * components/tree/nautilus-tree-view-private.h: Remove unused file_to_hack_node_map field from details struct. 2000-11-30 Robey Pointer * components/rpmview/Makefile.am: * components/services/install/command-line/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/install/server/Makefile.am: Everyone that uses libeazelinstall now needs to use libeazelsoftcat too. This doesn't make much sense for the rpm view, but we've shelved that issue for later. * components/services/install/command-line/eazel-test-softcat.c: (main): New test program (eazel-softcat) to perform primitive softcat queries and check the results. * components/services/install/lib/eazel-install-protocols.c: (eazel_install_fetch_package): Removed get_search_url_for_package and get_url_for_package: they now belong to libesc. * components/services/install/lib/eazel-install-types.c: (eazel_install_protocol_as_string), (packagedata_new), (packagedata_copy), (packagedata_fill_in_missing), (packagedata_destroy), (gstr_indent), (dump_package_list), (packagedata_dump_int), (packagedata_dump): * components/services/install/lib/eazel-install-types.h: Add "features" field which is a GList of features this package resolves for its parent. Moved fill_in_missing here since it's PackageData-centric. Added debugging function for dumping a PackageData into a human-readable string. * components/services/install/lib/eazel-install-xml-package-list.c: (osd_parse_list), (osd_parse_dependency), (osd_parse_implementation), (osd_parse_softpkg), (eazel_install_packagelist_parse): * components/services/install/lib/eazel-install-xml-package-list.h: Parse the "provides" list from softcat: this will change once softcat finishes revising their XML format, but we need something to work with for now. Pull out other values like the Eazel id, and tie "abstract" to summary instead of description. Fix the OSD parser so that we can distinguish an error return from an empty package list. * components/services/install/lib/eazel-softcat-private.h: * components/services/install/lib/eazel-softcat.c: (eazel_softcat_initialize), (eazel_softcat_new), (eazel_softcat_set_server), (eazel_softcat_get_server), (eazel_softcat_set_cgi_path), (eazel_softcat_get_cgi_path), (eazel_softcat_set_authn), (eazel_softcat_get_authn), (eazel_softcat_set_retry), (eazel_softcat_error_string), (sense_flags_to_softcat_flags), (gnome_vfs_escape_string), (add_to_url), (verify_softcat_fields), (get_search_url_for_package), (eazel_softcat_get_info): * components/services/install/lib/eazel-softcat.h: Actually implement a good chunk of the softcat library. * components/services/trilobite/libtrilobite/trilobite-core-distrib ution.c: (trilobite_get_distribution_enum), (trilobite_get_distribution_arch): * components/services/trilobite/libtrilobite/trilobite-core-distrib ution.h: Move architecture detection here. * components/services/trilobite/libtrilobite/trilobite-core-utils.c : (trilobite_fetch_uri), (trilobite_init), (trilobite_set_debug_mode), (trilobite_set_log_handler): * components/services/trilobite/libtrilobite/trilobite-core-utils.h : Split out log handling so that test programs can trap trilobite log entries. 2000-11-30 Rebecca Schulman Fixed bug 3750, to make cut/copy/paste work in the complex search bar reviewed by: Maciej Stachowiak * src/nautilus-complex-search-bar.h: * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_new), Set up the first criterion after we create the bar. (nautilus_complex_search_bar_set_up_enclosed_entry_for_clipboard): add a second procedure that new criteria with entries call when they are added. * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_new_with_type): set an entry up for the clipboard, if one exists. 2000-11-30 Mike Fleming reviewed by: ramiro@eazel.com * components/mozilla/nautilus-mozilla-content-view.c: (nautilus_mozilla_content_view_initialize), (mozilla_net_state_callback), (mozilla_net_stop_callback), (mozilla_progress_callback): fix bugzilla.eazel.com 4113: Some web pages never finish loading (throbber spins) Instead of replying on "max_progress == cur_progress" doing mozilla_progress_callback, stop throbber on a "net_stop" signal. Galeon uses "net_stop" for this functionality as well. 2000-11-30 Darin Adler Ran check-headers-in-Makefile since we had some problems with that lately. I guess the Tinderbox is the new way to catch these problems but I couldn't resist fixing them the old way too. * check-headers-in-Makefile.pl: Added some more special cases in here to make it work better. * components/services/install/nautilus-view/Makefile.am: Marked the unused files in here as "noinst_HEADERS" as a hack to make the script happy. We should delete the files at some point if we decide we aren't ever using them. * components/loser/content/.cvsignore: * components/loser/sidebar/.cvsignore: * components/mozilla/.cvsignore: * components/sample/.cvsignore: * components/services/install/command-line/.cvsignore: * libnautilus/.cvsignore: * src/.cvsignore: * src/file-manager/.cvsignore: Removed all the .xml.h files because they aren't put in these directories any more so they don't need to be ignored. If you have the files still and the cvs warnings bother you, you can delete them. 2000-11-30 Andy Hertzfeld * components/image-viewer/nautilus-image-view.c: (zoomable_zoom_in_callback): fixed bug in image viewer where zooming in skipped a level if you were zoomed to fit. Fixed by only incrementing the index if we're already at the current level. 2000-11-30 Gene Z. Ragan Fixed bug 4879, "unknown sort mode" warning upon sorting by "Time" column. The problem was caused by the sort mode enumeration being out of sync with the number of columns. As a result most sorts were being done incorrectly with the wrong sort function. A new SORT_BY_YEAR entry was added to the sort enumeration to fix the problem. * components/music/nautilus-music-view.c: (sort_song_list): Add SORT_BY_YEAR case to switch statement. (sort_by_year): New sort function to sort by year. 2000-11-30 Gene Z. Ragan Fixed bug 3891, Repeatedly clicking the "Play" button crashes Nautilus. * components/music/nautilus-music-view.c: (play_button_callback): Don't start playback machinery if a file is already playing. * components/music/mpg123_handler.c: (start_playing_file): Add check for playback before starting playback of another file. 2000-11-30 Gene Z. Ragan Fixed bug 3888, Deleting an MP3 file while in use -> Nautilus crashes Added a check for the existence of a file before beginning playback. If the file is no longer available, remove the file form the song list and attempt to play the next file in the song list. * components/music/nautilus-music-view.c: (nautilus_music_view_initialize), (play_current_file): 2000-11-30 John Sullivan reviewed by: Rebecca Schulman Fixed bug 4899 (Bookmark for nonexistent file can cause infinite loop at startup) Changed NautilusBookmark's internal logic so that it doesn't keep around a file object for known non-existent URIs. The trick is to get it to notice when the URI is no longer non-existent and get a fresh file object then. This is done imperfectly, but the new symptom is very minor and deferrable (wrote it up as bug 4906). * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_connect_file): Don't get a new NautilusFile object if we know the URI doesn't exist; instead just set the missing-bookmark icon. Also made it safe to call this routine when there's already a file object in hand (just bails out early). (nautilus_bookmark_get_icon), (nautilus_bookmark_get_uri): Call nautilus_bookmark_connect_file so that it will connect to a now-existing file if possible (and thus get the right icon). Since callers that try to activate the bookmark will call get_uri, one way to kick a reincarnated bookmark's icon into appearing is to select it in a menu. (nautilus_bookmark_get_pixbuf): Call nautilus_bookmark_get_icon to benefit from its connect_file logic. Fixed bug 3847 (Icon in properties window flashes while folder count increments) * libnautilus-extensions/nautilus-image.c: (nautilus_image_set_pixbuf): Don't call gtk_widget_queue_resize if the pixbuf hasn't changed. Fixed bug 1454 (Properties dialog needs mucho tweaking) Mostly this was changes to match Arlo's design that he gave me ages ago. I also fixed a few other problems. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_date_as_string): Change format of date strings from "