2000-07-03 J Shane Culpepper <pepper@eazel.com>
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_login_form), (login_button_cb), (maintenance_button_cb),
(go_to_uri), (generate_form_title):
Finishing up the new ui for the login screen. Bug # 1004.
fixed bug where themed sidebar tabs weren't stacking correctly. Fixed
by using the actual tab height instead of the non-themed constant.
Also, added newer tab_pieces image.
2000-07-03 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_permissions_as_string),
(nautilus_file_is_symbolic_link):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_file):
Necessary to make Nautilus compile after changing
GNOME_VFS_FILE_TYPE_BROKEN_SYMLINK to GNOME_VFS_FILE_TYPE_SYMBOLIC_LINK
and removing the existing flag. See bug 1547 for more information on
breakages in the way Nautilus handles symbolic links (caused by the
GnomeVFS changes) such as detecting them in the first place.
2000-07-03 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/bonobo-stream-vfs.c:
(bonobo_stream_vfs_class_init), (create_bonobo_stream_vfs):
Fixed problem with previous change to this file. Allocated
a static epv. Assigned this epv to the servants epv and then
alocated the individual elements in the structure.
2000-07-03 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_drag_start), (nautilus_list_motion):
Start adding support for dislaying dragged icon while dragging
in a list view.
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c:
*
components/services/summary/nautilus-view/nautilus-summary-view.c:
(generate_summary_form), (generate_form_title):
Making summary view "I am just a view" until I can get the actual
widget finished.
2000-07-02 Pavel Cisler <pavel@eazel.com>
* components/help/help-method.c: (convert_file_to_uri):
Make the help component build properly -- convert the call
gnome_vfs_mime_type_of_file to the new
gnome_vfs_get_file_mime_type.
* components/help/Makefile.am:
Turn on -Werror that would have caught the problem earlier.
2000-07-02 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/login/nautilus-view/nautilus-login-view.c:
(generate_form_title):
* components/services/startup/lib/Makefile.am:
* components/services/startup/lib/eazel-register.c:
* components/services/startup/lib/eazel-register.h:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/icons/Makefile.am:
* components/services/startup/nautilus-view/main.c:
(service_object_destroyed), (service_make_object), (main):
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.c: (generate_startup_form), (go_to_uri),
(generate_form_title),
(nautilus_service_startup_view_initialize_class),
(nautilus_service_startup_view_initialize),
(nautilus_service_startup_view_destroy),
(nautilus_service_startup_view_get_nautilus_view), (is_location),
(nautilus_service_startup_view_load_uri),
(service_load_location_callback):
*
components/services/startup/nautilus-view/nautilus-service-startup-
view.h:
Have all of the eazel: views hooked into the build now. Most of the
backend parsing of eazel:login, eazel:inventory, eazel:summary,
eazel:time, eazel:startup. Most of these views don't look very good.
That's the next task.
* components/tree/main.c (main): Remove unnecessary debugging
statement.
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_insert_file): Partly fix bugzilla task 1524 -
show icons in tree view. Still need to
* components/services/inventory/lib/Makefile.am:
* components/services/inventory/lib/eazel-inventory-shared.c:
(add_package_info), (read_proc_info), (add_info), (add_io_info),
(add_hardware_info), (synchronize_configuration_metafile),
(update_configuration_metafile), (create_configuration_metafile):
* components/services/inventory/lib/eazel-inventory-shared.h:
* components/services/inventory/nautilus-view/Makefile.am:
*
components/services/inventory/nautilus-view/nautilus-inventory-view
.c: (generate_inventory_form), (gather_config_button_cb),
(register_later_cb), (make_http_post_request), (go_to_uri),
(get_home_uri), (update_now):
Moving the inventory view to its new home to make way for the new
bootstrap startup view.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* src/nautilus-application.c: (display_installation_wizard),
(nautilus_application_startup):
Add code to display an installation wizard using the new druid.
Its #ifdefed out until we do more real work on it.
2000-06-30 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
* src/Makefile.am:
Adding canvas pixbuf item check and flags, which are needed in
order to use the nautilus druid.
2000-06-30 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/bonobo-stream-vfs.c:
(create_bonobo_stream_vfs):
A fix to make the setting of the vepv work. The extern
vepv is gone, so we now use the allocator functions.
fixed bug where the combine mode for backgrounds wasn't
working properly in the non-aa case, by setting flags
properly in the fake CanvasBuf. Now the sidebar in the
arlo theme draws properly.
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-uninstall.c:
(set_parameters_from_command_line), (progress_signal),
(uninstall_failed), (dep_check), (create_package), (done), (main):
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_uninstall_packages):
* components/services/install/lib/eazel-install-rpm-glue.c:
(uninstall_packages), (uninstall_a_package), (do_rpm_uninstall),
(eazel_install_prepare_rpm_system), (eazel_install_add_to_rpm_set),
(eazel_install_add_to_set), (eazel_install_fetch_rpm_dependencies),
(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse), (eazel_uninstall_globber):
Doing a lot of slashing in the uninstall part.
* nautilus-installer/src/Makefile:
This is still checked in, as the installer isn't part of the build
tree.
2000-06-29 Pavel Cisler <pavel@eazel.com>
Fixed some memory leaks.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_components_for_uri):
Fix a leaked string.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_set_preferred_zoom_levels):
Fix a leaky setter call.
* test/Makefile.am:
Add a make target for a leak checker tester.
* test/nautilus-leak-checker.c:
(nautilus_leak_allocation_record_init),
(nautilus_leak_record_malloc), (nautilus_leak_record_realloc),
(nautilus_leak_record_free), (print_one_leak),
(nautilus_leak_print_leaks), (allocate_lots), (leak_mem2),
(leak_mem), (main):
* test/nautilus-leak-symbol-lookup.c:
(nautilus_leak_print_symbol_address):
Tweak the leak checker output a bit to make it more nicer and
indicate the level of stack frame grouping.
* src/nautilus-main.c: (print_leaks):
Tweak the parameters a bit to print more leaks.
* components/tree/Makefile.am: Add VFS_CFLAGS
* components/tree/main.c (main): Initialize more libraries.
* components/tree/nautilus-tree-view.h,
components/tree/nautilus-tree-view.c: Many changes. The upshot is
that basic tree loading now works, but many details remain to be
fleshed out (individual bugs were filed on these).
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback), (directory_load_done): Try to
emit done signal exactly once when a monitor load is complete. But
I think this might be questionable, see below.
* libnautilus-extensions/nautilus-directory-private.h,
libnautilus-extensions/nautilus-directory.h,
libnautilus-extensions/nautilus-directory.c: Add the
"done_loading" signal for when a load initiated by monitoring is
done. I just realized this does the wrong thing when more than one
thing is monitoring at the same time (both get the signal), so
maybe it should be changed to a callback function passed to
nautilus_file_monitor_add, but that would be harder to implement.
(nautilus_directory_emit_done_loading): Function so the async code
can emit it.
2000-06-29 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/Makefile.am:
* components/mozilla/mozilla-preferences.cpp:
* components/mozilla/mozilla-preferences.h:
Add a small C wrapper for poking mozilla preferences.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
Poke some interesting preferences.
* configure.in:
If the mozilla component is being built, add a check for the c++
compiler which is needed by the mozilla preferences C wrapper.
* components/help/Makefile.am: Install the libvfs-help.so module
in the right place. Closes Bug #919. (will not work though
if Nautilus prefix != gnome-vfs prefix (unless a fix goes into
gnome-vfs))
* components/websearch/ntl-web-search.c:
(web_search_populate_engines): Fix to make it look in the right
place (WEB_SEARCH_DATADIR "/standard.eng" instead of
WEB SEARCH_DATADIR "/ntl-web-search/standard.eng")
2000-06-29 Ramiro Estrugo <ramiro@eazel.com>
* components/mozilla/nautilus-mozilla-content-view.oafinfo:
Expose the fact that this component can grok file: and ftp: uris.
2000-06-29 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_init),
(nautilus_icon_dnd_begin_drag), (drag_motion_callback),
(drag_drop_callback):
* libnautilus-extensions/nautilus-icon-container.c:
(motion_notify_event), (key_press_event):
Got rid of the crufty old way drag&drop motion used to handle
updating the drop action.
* libnautilus-extensions/nautilus-drag.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_modifier_based_action):
Moved to the common drag&drop file so I can share it
between the list and icon view.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize), (nautilus_list_motion),
(nautilus_list_drag_motion):
* libnautilus-extensions/nautilus-icon-dnd.c:
(confirm_switch_to_manual_layout):
Reformatted a bit.
integrated Erik Gustavsson's patches to make the slider work
correctly at arbitrary bit-rates, and also made the music view
use nautilus-directory-background for consistency and to save
code. Also, fixed nautilus-directory-background by arranging
for it to receive metadata.
2000-06-28 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_simple_search_criteria_to_search_uri):
(add facility to make search uri's from simple
search queries )
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_initialize), (more_options_callback),
(add_file_type_search_criterion_callback),
(add_file_name_search_criterion_callback),
(add_file_location_search_criterion_callback),
(add_content_search_criterion_callback),
(add_size_search_criterion_callback),
(add_date_modified_search_criterion_callback),
(add_notes_search_criterion_callback),
(nautilus_complex_search_bar_get_location):
added ability to add more criterion (still incomplete)
* src/nautilus-complex-search-bar.h:
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_file_type_new),
(nautilus_search_bar_criterion_file_name_new),
(nautilus_search_bar_criterion_location_new),
(nautilus_search_bar_criterion_content_new),
(nautilus_search_bar_criterion_size_new),
(nautilus_search_bar_criterion_add_to_search_bar),
(nautilus_search_bar_criterion_show):
added code to actually create various search
button criterion sets.
* src/nautilus-search-bar-criterion.h:
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_initialize_class),
(nautilus_simple_search_bar_get_location),
(editable_activated_callback):
* src/nautilus-simple-search-bar.h:
Updated so that the search location
is done correctly. Adjustments to
the nautilus-directory should
be all that is needed to make all of
this stuff work.
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_initialize),
(nautilus_switchable_search_bar_get_location),
(nautilus_switchable_search_bar_set_search_controls):
Some widget changes, and search get_location
calls respective simple or complex search bar
get_location functions
* components/music/nautilus-music-view.c:
(nautilus_music_view_drag_data_received):
* libnautilus-extensions/nautilus-icon-dnd.c:
(receive_dropped_tile_image):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
Changed to use new call that's for receiving dropped images.
* src/nautilus-sidebar.c: (background_settings_changed_callback),
(background_appearance_changed_callback),
(background_reset_callback), (nautilus_sidebar_update_info):
Changed signal handlers to use the normal form instead of
connect_object. Changed the reset callback to stop the reset
signal from going any further now that there's a default handler
for reset.
* libnautilus-extensions/nautilus-directory-background.c:
(background_reset_callback): Add a call to stop the reset signal
from going any further now that there's a default handler for
reset.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class),
(nautilus_background_receive_dropped_background_image),
(nautilus_background_set_tile_image_uri),
(nautilus_background_reset), (nautilus_background_real_reset):
Made nautilus_background_reset set the color and image to NULL by
default instead of doing nothing. Also added a new call to receive
a dropped background image and only pay attention to the special
"reset" image name there instead of hacking it into
_set_tile_image_uri itself.
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(find_message_label), (find_message_label_callback),
(show_message_box), (show_ok_box), (nautilus_info_dialog),
(nautilus_warning_dialog), (nautilus_error_dialog),
(clicked_callback), (nautilus_error_dialog_with_details),
(nautilus_yes_no_dialog): Change the API for stock dialogs
to be a little simpler, getting rid of the separate parented
variant. Also added a new dialog for errors that have a second
more detailed error message.
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_show_no_choices_message):
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_parented):
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file), (fm_report_error_setting_group),
(fm_report_error_setting_owner),
(fm_report_error_setting_permissions):
* src/nautilus-property-browser.c: (emblem_image_file_changed),
(add_background_to_browser):
* src/nautilus-window-manage-views.c:
(handle_unreadable_location),
(nautilus_window_end_location_change_callback),
(report_content_view_failure_to_user):
* src/nautilus-window-menus.c: (show_bogus_bookmark_window):
Change to use new API for stock dialogs.
* src/nautilus-application.c: (create_factory),
(nautilus_application_initialize),
(nautilus_application_check_user_directories),
(nautilus_application_startup):
Moved OAF registration to application_startup and added some
error handling for the case where we have two copies of Nautilus.
* libnautilus-extensions/nautilus-file.h: Move get_mapped_uri
out of the "good part" of the header and add a FIXME.
* components/services/install/lib/.cvsignore:
Ignore some new generated files. Maybe some day I can get Eskil to
make these himself as he adds new things.
* libnautilus-extensions/nautilus-file.c:
(get_user_and_real_name_from_id):
* src/file-manager/fm-properties-window.c:
(create_owner_menu_item):
Changed format of reporting username/real name
to match Arlo's design.c
* src/file-manager/fm-properties-window.c: (create_basic_page),
(add_special_execution_flags), (create_permissions_page):
Changed some layout and wording to match Arlo's design. More
layout changes to come later.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user),
(nautilus_window_update_state): Added this function as
placeholder for potentially useful error message.
* src/nautilus-window-manage-views.c:
(report_content_view_failure_to_user),
(nautilus_window_update_state): Put up a dialog box
when the content view fails. The dialog box tells the
user they can switch to another view or go to another
location.