2006-12-08 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-monitor.c:
Schedule metadata removal when we get external remove events.
Patch from Gene Z. Ragan (#45953)
2003-11-05 Alexander Larsson <alexl@redhat.com>
* configure.in:
Require new gnome-vfs
* components/tree/nautilus-tree-view.c:
* libnautilus-private/nautilus-desktop-link-monitor.c:
* libnautilus-private/nautilus-desktop-link.[ch]:
* libnautilus-private/nautilus-monitor.c:
* libnautilus-private/nautilus-trash-directory.c:
* libnautilus-private/nautilus-trash-monitor.[ch]:
* src/nautilus-application.c:
Use gnome-vfs-volume-manager instead of nautilus-volume-manager.c
* libnautilus-private/nautilus-desktop-icon-file.c:
Set the volume on the nautilusfile
* libnautilus-private/nautilus-directory-async.c:
Load volume info from link
* libnautilus-private/nautilus-file-attributes.h:
* libnautilus-private/nautilus-mime-actions.c:
Add new VOLUMES attribute
* libnautilus-private/nautilus-file-private.h:
Add has_volume and has_drive to NautilusFile
* libnautilus-private/nautilus-file.[ch]:
Add has_volume and has_drive to NautilusFile
Volumes/drives are sorted separately
* libnautilus-private/nautilus-link-desktop-file.[ch]:
* libnautilus-private/nautilus-link.[ch]:
Read drive and volume id from links
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Remove volume ops. Remove disks menu
* src/file-manager/fm-directory-view.c:
* src/file-manager/nautilus-directory-view-ui.xml:
Implement volume ops using gnome-vfs
* src/file-manager/fm-properties-window.c:
Handle drives/volumes
* src/nautilus-window.c:
Make a nicer title for some specific locations
* libnautilus-private/nautilus-volume-monitor.[ch]:
* libnautilus-private/Makefile.am
remove this old crap
2002-05-22 Alex Graveley <alex@ximian.com>
* configure.in: Remove FAM check.
* acconfig.h: Remove HAVE_LIBFAM.
* libnautilus-private/nautilus-monitor.[ch]: Convert to using
gnome-vfs monitors. nautilus_monitor_active() now checks if FAM
can be used by creating a monitor for the user's desktop
directory, and caches this if successful. Adds an idle handler to
call nautilus_file_changes_consume_changes(), so multiple file
changes have a chance of being chunked together.
2002-03-06 Alexander Larsson <alla@lysator.liu.se>
(merges from stable):
* libnautilus-private/nautilus-monitor.c:
(process_fam_notifications): Tweak comment.
* src/nautilus-window-manage-views.c:
(cancel_viewed_file_changed_callback), (update_for_new_location):
Monitor the existence of the currently viewed file, so we notice
when the file is deleted.
* src/file-manager/fm-directory-view.h:
Add emblems_changes method.
* src/file-manager/fm-directory-view.c:
(file_changed_callback): Call emblems_changed.
(fm_directory_view_add_relative_emblems_to_exclude,
real_get_emblem_names_to_exclude):
exclude non-writable emblems if directory is not
writable.
* src/file-manager/fm-icon-view.c:
Implement emblem_changes.
* src/file-manager/fm-list-view.c:
Add GNOME2_CONVERSION_COMPLETE where the emblem icon
update is needed.
2002-01-21 Anders Carlsson <andersca@gnu.org>
* configure.in:
Change libprofiler location.
* libnautilus-private/nautilus-directory-async.c:
(lacks_link_info), (make_dot_directory_uri), (link_info_start):
Remove support for gmc style links.
* libnautilus-private/nautilus-entry.c:
(emacs_shortcuts_preference_changed_callback),
(nautilus_entry_init), (nautilus_entry_finalize),
(nautilus_entry_key_press), (select_all_at_idle),
(nautilus_entry_select_all_at_idle):
Use gtk_idle_add instead and store the idle id in the details
struct. This fixes some weirdness in the file properties dialog,
since the "destroy" signal can be emitted more than once.
* libnautilus-private/nautilus-icon-canvas-item.c:
(update_label_layouts):
Enable underlining.
* libnautilus-private/nautilus-monitor.c: (get_event_uri):
Silently return if we can't find the base path. This is valid when
we've called nautilus_monitor_cancel but still have some events
in the queue.
* Lots of files:
More GNOME 2 work. We now compile up to libnautilus-private and
I'm working my way through the files in there. Also changed all
the initialize_class and initialize to class_init and init.
2001-09-05 Alex Larsson <alexl@redhat.com>
Merge some stuff from the redhat-outstanding-patches branch
* eazel-logos/default.xml:
* icons/default.xml:
don't hardcode the title, title info, and
shadow colors; this prevented the auto-color-selection stuff
in nautilus-sidebar-title.c from working properly.
And the hardcoded values were the same thing the autoselector
would have chosen anyhow.
* libnautilus-private/nautilus-monitor.c:
Don't monitor files on read only volumes, they never change, and
will keep cdroms from being unmounted because fam has open file
descriptors on them.
* libnautilus-private/nautilus-thumbnails.c:
Always look for local thumbnails first.
* libnautilus-private/nautilus-volume-monitor.[ch]:
Add nautilus_volume_is_read_only() and
nautilus_volume_monitor_get_volume_for_path()
* src/nautilus-desktop-window.c:
(set_wmspec_desktop_hint): function to set _NET_WM_WINDOW_TYPE, to
avoid confusing kwin so badly, and also to go ahead and support
the Window Manager Hints Of The Future.
(set_gdk_window_background): only set root background to a pixel
if we retrieved a pixel property
(map): Set background of our child widgets in addition to our
own background. This gets rid of the last of the ugliness during
Nautilus startup, I believe.
* src/file-manager/fm-icon-view.c:
Don't read GMC position meta data -- it is never right for nautilus,
due to different size icons, additional icons, different placement
policies, so falling back to normal automatic placement works better.
2001-07-12 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-monitor.c:
Use a GIOChannel instead of gdk_input_add. This fixes the bug
where when the fam connection dies it did gdk_input_remove (fd)
instead of gdk_input_remove (tag)
2001-07-11 Alex Larsson <alexl@redhat.com>
* acconfig.h:
Add HAVE_LIBFAM
* configure.in:
Check for libfam, not only header.
* libnautilus-private/Makefile.am:
Link to libfam
* libnautilus-private/nautilus-monitor.c:
Use normal fam library calls.
Update FAM support so it works fine on systems with and without
libfam installed. So if you build Nautilus with FAM, then you can
run it on a system with or without FAM.
* configure.in:
* libnautilus-extensions/Makefile.am:
Remove the FAM_LIBS part.
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
Load the module before the FAMOpen2 call, and get all the function
pointers.
(get_event_uri), (process_fam_notifications),
(nautilus_monitor_file), (nautilus_monitor_directory),
(nautilus_monitor_cancel): Use the new CALL_FAM macro so we can
use the function pointers when we call FAM.
* libnautilus-extensions/nautilus-monitor.h:
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_active): New function to check if
the monitoring is working. We'll use this to decide
whether or not to do the "reload the desktop every
4 seconds hack" that Miguel is going to check in soon.
* libnautilus-extensions/nautilus-volume-monitor.c:
(mount_volume_get_name), (mount_volume_activate),
(mount_volume_deactivate), (get_cdrom_type):
Fixed some Solaris build problems with patch by
Laszlo Peter <Laszlo.Peter@ireland.sun.com>.
* libnautilus-extensions/nautilus-cdrom-extensions.h:
Added missing include needed to build on Solaris
from the same patch.
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
Don't give a warning if there's no FAM daemon to connect to, just
silently don't use FAM.
(process_fam_notifications): Improve wording of the warning you
get when FAM goes away.
installed on people's systems.
* libnautilus-extensions/nautilus-directory-async.c:
(find_monitor): Tightened up the function.
(monitor_file_compare), (find_any_monitor): Functions to see if a
file still has a reason to be monitored.
(nautilus_directory_monitor_add_internal): Start FAM monitoring.
(nautilus_directory_monitor_remove_internal): Stop FAM monitoring.
* libnautilus-extensions/nautilus-directory-private.h: Add a place
to keep track of the FAM monitor.
* libnautilus-extensions/nautilus-file-private.h: Add a place
to keep track of the FAM monitor.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy): Stop FAM monitoring.
* libnautilus-extensions/nautilus-file.c: (destroy): Stop FAM
monitoring.
* libnautilus-extensions/nautilus-monitor.c:
(get_event_uri): Use FAMREQUEST_GETREQNUM instead of going
directly at the struct.
(process_fam_notifications): Get rid of the messages and call
nautilus_file_changes_consume_changes on the way out.
(nautilus_monitor_file): Get rid of the message.
(nautilus_monitor_directory): Get rid of the message and use
FAMREQUEST_GETREQNUM instead of going directly at the struct.
(nautilus_monitor_cancel): Get rid of the message and use
FAMREQUEST_GETREQNUM instead of going directly at the struct.
* libnautilus-extensions/nautilus-monitor.h:
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection),
(get_request_hash_table), (get_event_uri),
(process_fam_notifications), (nautilus_monitor_file),
(nautilus_monitor_directory), (nautilus_monitor_cancel): Improved
API, fixed some storage leaks, simplified some code, made it
handle URI escaping properly, use the file changes queue. Almost
ready for prime time!
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_file_changed),
(nautilus_file_changes_consume_changes):
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory.c:
(call_files_changed_unref_free_list),
(nautilus_directory_notify_files_changed):
Added a new kind of notification for the file changed case.
2001-04-12 Seth Nickell <snickell@stanford.edu>
Add some initial code to deal with file notification and
monitoring. This isn't hooked in yet, but provides interfaces
for Nautilus code to use.
* configure.in:
Add configure checks for FAM.
* libnautilus-extensions/Makefile.am:
Include FAM libraries if they exist.
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_establish_connection),
(nautilus_monitor_get_fam),
(nautilus_monitor_find_path_from_request),
(nautilus_monitor_find_request_from_path),
(nautilus_monitor_delete_first_request_found),
(nautilus_monitor_get_uri),
(nautilus_monitor_process_fam_notifications),
(nautilus_monitor_add_file), (nautilus_monitor_add_directory),
(nautilus_monitor_remove):
* libnautilus-extensions/nautilus-monitor.h:
The code that actually communicates w/ FAM.