2003-01-20 Dave Camp <dave@ximian.com>
* AUTHORS: Added the 2.2 team.
* THANKS: Added a section for 2.x, updated.
* README: Removed the obsolete info, added some up-to-date info.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Added the 2.2 team to the about box.
* HACKING: Updated, patch from Alex Duggan.
2001-08-14 Seth Nickell <snickell@stanford.edu>
Load filesystems from an XML file rather than hardcoding
the various attributes and behaviors. Some properties, such
as for CDDA and NFS, are still hardcoded because they require
actual code. This also makes it easier to add new filesystems.
* libnautilus-private/filesystem-attributes.xml
Filesystem description file.
* libnautilus-private/Makefile.am:
Add filesystem-attribute.xml to the build.
* libnautilus-private/nautilus-volume-monitor.c:
(mount_volume_prepend_filesystem):
Don't try to detect filesystem strings and associate them
with an enumeration type...nix the enumeration altogether
since its not compatible with dynamically loading the
filesystems.
(get_xml_path), (load_filesystem_attributes_table)
Functions for reading in filesystem-attribute.xml and
loading the various filesystems into a hashtable.
(nautilus_volume_monitor_initialize)
Read in the filesystem attributes table.
(get_removable_volumes), (mount_volume_deactivate),
(get_mount_list), (get_current_mount_list),
(verify_current_mount_state)
Take a file attributes hashtable, or pass one to a
subfunction.
(nautilus_volume_monitor_get_target_uri),
CDDA is the only system we need to deal with in an unusual
way. Take out a long list and just check for CDDA.
(nautilus_volume_monitor_should_integrate_trash)
Use information read from the file rather than hardcoding
a list of filesystems that can use trash (should be the
same for now).
(make_volume_name_from_path), (mount_volume_make_name)
Get name out of the filesystem table rather than hardcoding.
(mount_volume_iso9660_add)
We were deciding if a device was *really* a CDROM by
doing an ioctl on it to determine the drive status. This
is a good check...except that on systems using DevFS
devices can be user mountable without being user readable
by default. Also, on my system it fails if there's no
disk in the drive itself.
(mount_volume_auto_add)
Continue setting the device if its a floppy drive (eventually
this should probably be cleaned out too), but don't set the
filesystem type since we don't use the enum anymore.
(mount_volume_cdda_add)
Set as a CDDA device, but not a CDDA volume (since we don't
have hardcoded volume types anymore).
(mount_volume_nfs_add)
Don't set NFS type since the enum was blown away.
(create_volume)
Accept a filesystem table and set attributes read from
filesystem-attributes.xml if a volume's filesystem is found
in the table. Perhaps eventually we should just assign a
reference to the volume entry, but this was simpler for
now since some functions modify things like the description.
(copy_volume)
Deal with copying the new attributes.
* libnautilus-private/nautilus-volume-monitor.h:
Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM
to NAUTILUS_DEVICE_CDROM
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(update_disks_menu):
Deal with rename of NAUTILUS_DEVICE_CD_ROM
* src/nautilus-application.c: (volume_mounted_callback):
Deal with rename of NAUTILUS_DEVICE_CD_ROM
* AUTHORS:
Update E-mail address.
* configure.in:
Make "FAM not found" warning a little more serious and
informative. We particularly want to encourage distributors
to enable FAM support.
fixed bug 7138, non-ASCII characters in author's names causes
the Japanese version to crash. Fixed by removing the accented
'i' from Pavel's name
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
replaced the accented 'i' in Pavel's name with a plain one
* check-THANKS.pl:
fixed mapping in check-THANKS.pl as requested by Darin
* AUTHORS:
removed from AUTHORS, too, for consistency
* AUTHORS:
* THANKS:
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Updated based on recent check-ins and other contributions.
* check-THANKS.pl: Updated to check the about list against the
AUTHORS file and to fix some other things.
* libnautilus/nautilus-view-component.idl: Fix a comment and
remove a stray empty line.
* THANKS: Updated based on running check-THANKS.pl
* AUTHORS, ChangeLog-200001018: Fixed some typos in
people's email addresses.
Fix bugs 3641 (text preview gets garbled when switching files in
the middle of a load) and 3479 (Nautilus crashes if
nautilus-adapter* missing).
* components/adapter/nautilus-adapter-progressive-load-strategy.c
(call_when_stopped, load_and_free_uri, declare_done_loading,
stop_loading,
nautilus_adapter_progressive_load_strategy_load_location): Make
sure previous load is completely stopped before ever starting a
new load.
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy, nautilus_adapter_new): Avoid reporting
signals to the view frame while in the middle of destroying the
adapter.
* src/nautilus-component-adapter-factory.c
(nautilus_component_adapter_factory_get): Return NULL when loading
the adapter factory component fails.
(nautilus_component_adapter_factory_initialize,
component_adapter_factory_at_exit_destructor): Changes required by
the above.
* src/nautilus-view-frame.c
(nautilus_view_frame_set_to_component): report failure if we can't
load the adapter factory.
* src/nautilus-window-manage-views.c
(report_content_view_failure_to_user, load_content_view,
handle_view_failure, nautilus_window_set_sidebar_panels): Do a
somewhat better job of reporting view load failures.
2000-10-21 Josh Barrow <josh@eazel.com>
* AUTHORS:
* THANKS:
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Added Eli to the about box and moved him from THANKS to AUTHORS, per
Maciej.
* components/adapter/nautilus-adapter-file-load-strategy.c:
(nautilus_adapter_file_load_strategy_new),
(nautilus_adapter_file_load_strategy_load_location):
* components/adapter/nautilus-adapter-file-load-strategy.h:
* components/adapter/nautilus-adapter-load-strategy.c:
(nautilus_adapter_load_strategy_initialize_class),
(nautilus_adapter_load_strategy_get),
(nautilus_adapter_load_strategy_stop_loading),
(nautilus_adapter_load_strategy_report_load_underway),
(nautilus_adapter_load_strategy_report_load_progress),
(nautilus_adapter_load_strategy_report_load_complete),
(nautilus_adapter_load_strategy_report_load_failed):
* components/adapter/nautilus-adapter-load-strategy.h:
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_destroy),
(nautilus_adapter_progressive_load_strategy_new), (stop_loading),
(nautilus_adapter_progressive_load_strategy_load_location),
(nautilus_adapter_progressive_load_strategy_stop_loading):
* components/adapter/nautilus-adapter-progressive-load-strategy.h:
* components/adapter/nautilus-adapter-stream-load-strategy.c:
(nautilus_adapter_stream_load_strategy_new),
(nautilus_adapter_stream_load_strategy_load_location):
* components/adapter/nautilus-adapter-stream-load-strategy.h:
* components/adapter/nautilus-adapter.c:
(nautilus_adapter_destroy), (nautilus_adapter_new),
(nautilus_adapter_load_underway_callback),
(nautilus_adapter_load_progress_callback),
(nautilus_adapter_load_complete_callback),
(nautilus_adapter_load_failed_callback): Changed the load
strategies to no longer depend on the view; instead, they emit
appropriate signals at different stages of progress, which the
NautilusAdapter object hooks into (connecting with
_connect_object_while_alive). Also, the progressive load strategy
now checks for cancellation around various CORBA calls, so it
should actually respect the stop button.
* AUTHORS, THANKS, check-THANKS.pl: Updated Josh Barrow's email
address.
with a capital T, localized)
* libnautilus-extensions/nautilus-directory-private.h:
Added prototype for nautilus_directory_get_
name_for_self_as_new_file
* libnautilus-extensions/nautilus-directory.h,
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize_class),
(nautilus_directory_get_name_for_self_as_new_file),
(real_get_name_for_self_as_new_file): wired up new
overridable function pointer "get_name_for_self_as_new_file"
that's used to get the name from directories that aren't
vfs directories. Default implementation returns the scheme.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Use nautilus_directory_
get_name_for_self_as_new_file instead of hardwiring
scheme-getting logic here.
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_get_name_for_self_as_new_file),
(nautilus_trash_directory_initialize_class):
Override get_name_for_self_as_new_file to return _("Trash").
* src/nautilus-window-manage-views.c:
(compute_default_title): Use NautilusFile to get the
default window title. Formerly it was using some similar
but slightly different logic to what nautilus_file uses
to get a name to display.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
* AUTHORS: Gave credit where credit was due.
* src/nautilus-window-menus.c (help_menu_about_nautilus_callback):
Added Ali Abdin and Ian McKellar.
* AUTHORS: Updated to match about box (it would be nice if we
could keep this name list in just one place).
* THANKS: New file; I credited everyone who has contributed and
who is not in AUTHORS, as far as I could tell from the various
ChangeLogs.
2000-01-03 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-prefs.c: Fix warnings.
* src/ntl-view.c, src/ntl-view.h, src/ntl-view-frame-svr.c
(nautilus_view_notify_location_change,
nautilus_view_notify_selection_change, nautilus_view_load_state,
nautilus_view_save_state, nautilus_view_show_properties): Made
these functions public and removed the corresponding signals;
these are operations you do to the NautilusView, not something it
informs other parts of the program of.
(request_location_change, request_selection_change,
request_status_change, request_progress_change): New
signals. These allow NautilusView to have less dependence on
NautilusWindow.
(nautilus_view_signals): Moved signal number table from view to
this static variable.
(nautilus_view_request_location_change,
nautilus_view_request_selection_change,
nautilus_view_request_status_change,
nautilus_view_request_progress_change): Move to ntl-view.c and
make them emit the proper signals in lieu of hardcoded handling.
* src/ntl-window.c, src/ntl-window.h src/ntl-window-msgs.c,
src/ntl-window-msgs.h, src/ntl-window-state.c
(request_location_change, request_selection_change,
request_status_change, request_progress_change): Removed these
signals; they are operations you do on a NautilusWindow, not
something it notifies you of, and any usefulness for inheritance
purposes is purely speculative right now.
(nautilus_window_connect_view, nautilus_window_disconnect_view):
Use these new helper functions to connect callbacks to
NautilusView's signals instead of expecting them to just get
called.
(nautilus_view_request_location_change,
nautilus_view_request_selection_change,
nautilus_view_request_status_change,
nautilus_view_request_progress_change): Execute bodies of real_
versions instead of emitting singals.
(nautilus_view_real_request_location_change,
nautilus_view_real_request_selection_change,
nautilus_view_real_request_status_change,
nautilus_view_real_request_progress_change): Removed these.
Finally, always call nautilus_winodow_set_content_view or
nautilus_window_add_meta_view before calling
nautilus_view_load_client to make sure no signals are lost.