nautilus/RENAMING

41 lines
997 B
Text
Raw Normal View History

Moved to make clear that popt must build first. * HACKING: Moved to make clear that popt must build first. * RENAMING: Added some new file renamings. * src/nautilus-zoomable-frame-svr.c: * src/nautilus.h: [removed] * src/ntl-app.c: * src/ntl-main.c: * src/ntl-meta-view.c: * src/ntl-types.h: [removed] * src/ntl-uri-map.c: * src/ntl-view-bonobo-control.c: * src/ntl-view-bonobo-subdoc.c: * src/ntl-view-frame-svr.c: * src/ntl-view-nautilus.c: * src/ntl-view-private.h: * src/ntl-view.c: * src/ntl-window-msgs.c: * src/ntl-window-state.c: * src/ntl-window.c: Got rid of "nautilus.h" and "ntl-types.h". * libnautilus/nautilus-undo-context.c: (impl_Nautilus_Undo_Context__destroy), (impl_Nautilus_Undo_Context__create), (impl_Nautilus_Undo_Context__get_undo_manager), (nautilus_undo_context_new), (nautilus_undo_context_initialize), (destroy): * libnautilus/nautilus-undo-manager.c: (impl_Nautilus_Undo_Manager__destroy), (impl_Nautilus_Undo_Manager__create), (impl_Nautilus_Undo_Manager__append), (impl_Nautilus_Undo_Manager__forget), (impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new), (nautilus_undo_manager_initialize), (nautilus_undo_manager_initialize_class), (nautilus_undo_manager_undo), (nautilus_undo_manager_redo), (nautilus_undo_manager_add_transaction), (nautilus_undo_manager_unregister_object), (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo), (destroy), (nautilus_undo_manager_enable_redo), (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list): Various code cleanups. Specifically, get rid of unused bonobo_object and rename gtk_object to bonobo_object. Get rid of some yucky function pointer casts. * src/ntl-app.c: (nautilus_app_init): Got rid of bogus extra ref. * libnautilus-extensions/nautilus-program-chooser.c: (nautilus_program_chooser_new): Reindent part just to annoy John. * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application): Newline at end of file (ugh). * src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
2000-05-24 21:12:50 +00:00
We put plans for renaming in here so we can think about them for a
while. Note that when we rename a class, it usually involves renaming
some functions and files too.
Removed a bunch of incorrect calls to bonobo_object_unref. An error in the * components/hardware/nautilus-hardware-view.c: (nautilus_hardware_view_destroy): * components/loser/content/nautilus-content-loser.c: (nautilus_content_loser_destroy): * components/loser/sidebar/nautilus-sidebar-loser.c: (nautilus_sidebar_loser_destroy): * components/mozilla/nautilus-mozilla-content-view.c: (nautilus_mozilla_content_view_destroy): * components/music/nautilus-music-view.c: (nautilus_music_view_destroy): * components/rpmview/nautilus-rpm-view.c: (nautilus_rpm_view_destroy): * components/sample/nautilus-sample-content-view.c: (nautilus_sample_content_view_destroy): * components/services/time/nautilus-view/trilobite-eazel-time-view.c: (trilobite_eazel_time_view_destroy): * components/tree/nautilus-tree-view.c: (nautilus_tree_view_destroy): Removed a bunch of incorrect calls to bonobo_object_unref. An error in the sample can be an insidious thing. * components/tree/main.c: (tree_object_destroyed), (tree_make_object), (main): Removed some stray debugging stuff. * libnautilus-extensions/Makefile.am: Got rid of the grid * libnautilus-extensions/nautilus-icon-private.h: Got rid of the grid. * libnautilus-extensions/nautilus-icon-container.c: (keyboard_icon_reveal_timeout_callback): Took out unneeded use of thread locking macros. Maybe someday I'll regret this, but we can add them back then. (get_all_icon_bounds): Added shared function. (update_scroll_region): Renamed set_scroll_region and made it use the shared function. Also got rid of grid code. (resort): Got rid of grid code. (lay_down_icons): Got rid of grid code. (relayout): Made it lay down new icons before doing any layout work. Also made sure it doesn't do the resort while stretching. (reload_icon_positions): Got rid of grid code. (rubberband_select): Got rid of grid code. This was the one place that it might have made things a little faster but probably not due to the complexity of what it was doing. (rubberband_timeout_callback): Took out unneeded use of thread locking macros. Maybe someday I'll regret this, but we can add them back then. (destroy): Got rid of grid code. (world_width_changed): Got rid of grid code. (nautilus_icon_container_initialize): Got rid of grid code and an extra idle cycle that wasn't needed. (nautilus_icon_container_clear): Got rid of grid code and added code to update the scroll region on clear. (icon_destroy): Got rid of grid code. (assign_icon_position), (finish_adding_icon), (finish_adding_new_icons), (finish_adding_new_icons_callback), (nautilus_icon_container_add): Replaced old idle code with something specific to adding new icons. This does the proper layout for manual as well as automatic layout cases. * libnautilus-extensions/nautilus-background.h: * libnautilus-extensions/nautilus-background.c: (nautilus_background_initialize_class): Made two signals instead of one. One for when the background's settings change and another for when the appearance changes. (nautilus_background_set_color): Emit both signals. (load_image_callback): Emit only the appearance change signal. (nautilus_background_set_tile_image_uri): Emit both signals. (nautilus_get_widget_background): Connect to the appearance_changed signal. * libnautilus-extensions/nautilus-directory-background.c: (nautilus_connect_background_to_directory_metadata): Connect to the settings_changed signal. * src/file-manager/fm-directory-view.c: (fm_directory_view_real_merge_menus): Connect to the settings_changed signal. * src/nautilus-sidebar.c: (nautilus_sidebar_update_info): Connect to the appearance_changed signal. * components/music/nautilus-music-view.c: (nautilus_music_view_set_up_background): Connect to the settings_changed signal. * HACKING: Gratuitious reformatting. * RENAMING: Added notes about how we do renaming, at the request of one of the hackers. * nautilus-clean.sh: Added nautilus-tree-view to the things that are killed, and made gratuitous changes to the script.
2000-06-27 00:52:50 +00:00
When we rename files in the repository, we do it by this process:
1) copy the file in the repository by logging in and using cp (to retain history)
2) check out to get the new file
3) cvs rm to remove the old file on commit
4) fix all build problems
5) commit
This retains the history in both the old and new locations.
Remove a lot of nautilus prefixes since nothing outside libnautilus is
intended for use with other programs, so it doesn't need namespacing.
reviewed by: Rebecca Schulman <rebecka@eazel.com> Fixed bug 3811 (shallow file counts and top-left text are fetched even for non-displayed hidden/backup items). * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory-async.c: (allow_metafile): Add "ghelp:" and "gnome-help:" to the unfortunate list of hard-coded schemes. If we hard-code "help:" we have to hard-code its synonyms too. (find_monitor): Use g_new0 so fields in the Monitor are not uninitialized in this case (the fields in question are ignored, but it's still nicer this way). (nautilus_directory_monitor_add_internal): Set up the "monitor hidden files" and "monitor backup files" in the Monitor structure based on new parameters. (should_display_file_name): Use nautilus_file_name_matches_hidden_pattern and nautilus_file_name_matches_backup_pattern. (monitor_includes_file): New function that encapsulates the rule about which monitor includes which file. Handles the new flags for not monitoring hidden or backup files. (is_needy): Call monitor_includes_file. (select_needy_file): Call monitor_includes_file. * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_name_matches_hidden_pattern), (nautilus_file_name_matches_backup_pattern): New functions to share with the directory code. (nautilus_file_is_hidden_file), (nautilus_file_is_backup_file): Use the new functions and use the raw relative_uri -- no need to unescape to change to a file name since the "." and "~" characters are not encoded. * src/file-manager/fm-directory-view.c: (fm_directory_view_initialize): Share more code with the filtering_changed_callback. Handle the desktop view better by never setting the "show hidden" and "show backup" flags (so they are both FALSE) and not setting up the callbacks. (fm_directory_view_destroy): Since we don't set up the callbacks for desktop windows, don't remove them for desktop windows. (queue_pending_files): Remove the desktop special case from here. It was strange to set the flags up then wait until this moment to clear them both. It's better to keep them FALSE. (finish_loading): Renamed and changed to pass the appropriate values in to the nautilus_directory_file_monitor_add call -- this is the actual bug fix. (filtering_changed_callback): Remove the desktop special case, since this function will now never be called for the desktop. * libnautilus-extensions/nautilus-directory.h: * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_file_monitor_add): Pass through the new "monitor hidden files" and "monitor backup files" parameters. (nautilus_self_check_directory): Pass TRUE for both. * libnautilus-extensions/nautilus-vfs-directory.c: (vfs_file_monitor_add): Pass through the new "monitor hidden files" and "monitor backup files" parameters. * libnautilus-extensions/nautilus-merged-directory.c: (merged_file_monitor_add), (monitor_add_directory): Store the "monitor hidden files" and "monitor backup files" and pass them through to the individual directory monitor calls. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_node_begin_monitoring_no_connect): * libnautilus-extensions/nautilus-file.c: (nautilus_file_monitor_add): * libnautilus-extensions/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize): * src/nautilus-applicable-views.c: (got_minimum_file_info_callback): Pass in TRUE for "monitor hidden files" and "monitor backup files" to get the same behavior as before. (In some cases the booleans are just ignored, in other cases we just monitor all files as we used to.) * RENAMING: Remind myself to change the name of the NAUTILUS_CALL_VIRTUAL macro to NAUTILUS_CALL_METHOD some day.
2001-01-04 23:30:43 +00:00
------
macros
------
---------------
directory names
---------------
Moved to make clear that popt must build first. * HACKING: Moved to make clear that popt must build first. * RENAMING: Added some new file renamings. * src/nautilus-zoomable-frame-svr.c: * src/nautilus.h: [removed] * src/ntl-app.c: * src/ntl-main.c: * src/ntl-meta-view.c: * src/ntl-types.h: [removed] * src/ntl-uri-map.c: * src/ntl-view-bonobo-control.c: * src/ntl-view-bonobo-subdoc.c: * src/ntl-view-frame-svr.c: * src/ntl-view-nautilus.c: * src/ntl-view-private.h: * src/ntl-view.c: * src/ntl-window-msgs.c: * src/ntl-window-state.c: * src/ntl-window.c: Got rid of "nautilus.h" and "ntl-types.h". * libnautilus/nautilus-undo-context.c: (impl_Nautilus_Undo_Context__destroy), (impl_Nautilus_Undo_Context__create), (impl_Nautilus_Undo_Context__get_undo_manager), (nautilus_undo_context_new), (nautilus_undo_context_initialize), (destroy): * libnautilus/nautilus-undo-manager.c: (impl_Nautilus_Undo_Manager__destroy), (impl_Nautilus_Undo_Manager__create), (impl_Nautilus_Undo_Manager__append), (impl_Nautilus_Undo_Manager__forget), (impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new), (nautilus_undo_manager_initialize), (nautilus_undo_manager_initialize_class), (nautilus_undo_manager_undo), (nautilus_undo_manager_redo), (nautilus_undo_manager_add_transaction), (nautilus_undo_manager_unregister_object), (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo), (destroy), (nautilus_undo_manager_enable_redo), (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list): Various code cleanups. Specifically, get rid of unused bonobo_object and rename gtk_object to bonobo_object. Get rid of some yucky function pointer casts. * src/ntl-app.c: (nautilus_app_init): Got rid of bogus extra ref. * libnautilus-extensions/nautilus-program-chooser.c: (nautilus_program_chooser_new): Reindent part just to annoy John. * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application): Newline at end of file (ugh). * src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
2000-05-24 21:12:50 +00:00
----------
file names
----------
*-ui.xml -> *.ui
src/file-manager/fm-* -> ?
nautilus-authn-manager.c -> nautilus-authentication-manager.c
Moved to make clear that popt must build first. * HACKING: Moved to make clear that popt must build first. * RENAMING: Added some new file renamings. * src/nautilus-zoomable-frame-svr.c: * src/nautilus.h: [removed] * src/ntl-app.c: * src/ntl-main.c: * src/ntl-meta-view.c: * src/ntl-types.h: [removed] * src/ntl-uri-map.c: * src/ntl-view-bonobo-control.c: * src/ntl-view-bonobo-subdoc.c: * src/ntl-view-frame-svr.c: * src/ntl-view-nautilus.c: * src/ntl-view-private.h: * src/ntl-view.c: * src/ntl-window-msgs.c: * src/ntl-window-state.c: * src/ntl-window.c: Got rid of "nautilus.h" and "ntl-types.h". * libnautilus/nautilus-undo-context.c: (impl_Nautilus_Undo_Context__destroy), (impl_Nautilus_Undo_Context__create), (impl_Nautilus_Undo_Context__get_undo_manager), (nautilus_undo_context_new), (nautilus_undo_context_initialize), (destroy): * libnautilus/nautilus-undo-manager.c: (impl_Nautilus_Undo_Manager__destroy), (impl_Nautilus_Undo_Manager__create), (impl_Nautilus_Undo_Manager__append), (impl_Nautilus_Undo_Manager__forget), (impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new), (nautilus_undo_manager_initialize), (nautilus_undo_manager_initialize_class), (nautilus_undo_manager_undo), (nautilus_undo_manager_redo), (nautilus_undo_manager_add_transaction), (nautilus_undo_manager_unregister_object), (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo), (destroy), (nautilus_undo_manager_enable_redo), (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list): Various code cleanups. Specifically, get rid of unused bonobo_object and rename gtk_object to bonobo_object. Get rid of some yucky function pointer casts. * src/ntl-app.c: (nautilus_app_init): Got rid of bogus extra ref. * libnautilus-extensions/nautilus-program-chooser.c: (nautilus_program_chooser_new): Reindent part just to annoy John. * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application): Newline at end of file (ugh). * src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
2000-05-24 21:12:50 +00:00
----------------------------
classes and other data types
----------------------------
FM* -> ?
Moved to make clear that popt must build first. * HACKING: Moved to make clear that popt must build first. * RENAMING: Added some new file renamings. * src/nautilus-zoomable-frame-svr.c: * src/nautilus.h: [removed] * src/ntl-app.c: * src/ntl-main.c: * src/ntl-meta-view.c: * src/ntl-types.h: [removed] * src/ntl-uri-map.c: * src/ntl-view-bonobo-control.c: * src/ntl-view-bonobo-subdoc.c: * src/ntl-view-frame-svr.c: * src/ntl-view-nautilus.c: * src/ntl-view-private.h: * src/ntl-view.c: * src/ntl-window-msgs.c: * src/ntl-window-state.c: * src/ntl-window.c: Got rid of "nautilus.h" and "ntl-types.h". * libnautilus/nautilus-undo-context.c: (impl_Nautilus_Undo_Context__destroy), (impl_Nautilus_Undo_Context__create), (impl_Nautilus_Undo_Context__get_undo_manager), (nautilus_undo_context_new), (nautilus_undo_context_initialize), (destroy): * libnautilus/nautilus-undo-manager.c: (impl_Nautilus_Undo_Manager__destroy), (impl_Nautilus_Undo_Manager__create), (impl_Nautilus_Undo_Manager__append), (impl_Nautilus_Undo_Manager__forget), (impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new), (nautilus_undo_manager_initialize), (nautilus_undo_manager_initialize_class), (nautilus_undo_manager_undo), (nautilus_undo_manager_redo), (nautilus_undo_manager_add_transaction), (nautilus_undo_manager_unregister_object), (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo), (destroy), (nautilus_undo_manager_enable_redo), (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list): Various code cleanups. Specifically, get rid of unused bonobo_object and rename gtk_object to bonobo_object. Get rid of some yucky function pointer casts. * src/ntl-app.c: (nautilus_app_init): Got rid of bogus extra ref. * libnautilus-extensions/nautilus-program-chooser.c: (nautilus_program_chooser_new): Reindent part just to annoy John. * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application): Newline at end of file (ugh). * src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
2000-05-24 21:12:50 +00:00
--------------
function names
--------------