2001-06-08 Dan Mueth <d-mueth@uchicago.edu>
Updating Nautilus Release Notes for 1.0.4. Note that we
probably still need to modify the Mozilla compatibility
section.
* help/nautilus-release-notes/C/nautilus-release-notes.sgml:
* components/music/nautilus-music-view.c: (play_current_file):
* libnautilus-private/nautilus-icon-factory.c: (get_cache_time):
* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
Oops, a few of my changes were still in the editor. More places
where we should follow links.
pointed out that the icon factory wasn't following links.
I found similar problems elsewhere.
* components/music/nautilus-music-view.c:
(nautilus_music_view_update):
* libnautilus-private/nautilus-customization-data.c:
(nautilus_customization_data_new),
(nautilus_customization_data_get_next_element_for_display):
* libnautilus-private/nautilus-icon-factory.c:
(path_represents_svg_image):
* libnautilus-private/nautilus-metafile.c:
(metafile_read_check_for_directory):
* libnautilus-private/nautilus-thumbnails.c:
(first_file_more_recent):
* src/nautilus-link-set-window.c: (get_link_set_names),
(nautilus_link_set_configure_window):
* src/nautilus-property-browser.c: (ensure_uri_is_image):
Updated all places where we were using the gnome-vfs file info
calls and not following links.
* src/nautilus-window-manage-views.c: (update_for_new_location),
(handle_view_failure), (nautilus_window_set_sidebar_panels):
Check the sidebar for NULL in a few more places.
* libnautilus-private/nautilus-volume-monitor.c:
(modify_volume_name_for_display),
(nautilus_volume_monitor_get_target_uri),
(mount_volume_make_cdrom_name), (make_volume_name_from_path),
(mount_volume_make_name), (mount_volume_activate),
(mount_volume_deactivate), (get_current_mount_list),
(update_modifed_volume_name), (verify_current_mount_state),
(nautilus_volume_monitor_set_volume_name),
(get_iso9660_volume_name), (load_additional_mount_list_info):
Change volume name logic to be simpler. Also fixed some assert
problems with the last check-in.
2001-06-02 Christian Rose <menthos@menthos.com>
* po/sv.po: Updated Swedish translation.
Companies arise, companies erode,
what lives on?
Free software code.
and added XFS support so that trash will work on XFS volumes.
* libnautilus-private/nautilus-volume-monitor.h:
* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_volume_monitor_should_integrate_trash),
(make_volume_name_from_path), (mount_volume_get_name),
(do_volume_activate), (mount_volume_activate),
(verify_current_mount_state), (mount_volume_ext2_add),
(mount_volume_udf_add), (mount_volume_vfat_add),
(mount_volume_msdos_add), (mount_volume_affs_add),
(mount_volume_auto_add), (mount_volume_fat_add),
(mount_volume_hpfs_add), (mount_volume_hsfs_add),
(mount_volume_minix_add), (mount_volume_proc_add),
(mount_volume_reiserfs_add), (mount_volume_ufs_add),
(mount_volume_smb_add), (mount_volume_unsdos_add),
(mount_volume_xenix_add), (mount_volume_xfs_add),
(mount_volume_xiafs_add), (copy_volume),
(load_additional_mount_list_info),
(mount_volume_prepend_filesystem):
Added an XFS case and crunched code a bit.
Rolled in patch by Johan Dahlin <zilch.am@home.se> to install the
public IDL files in $(datadir)/idl so that non-C programmers can
use them.
* libnautilus/Makefile.am: Install the IDL files.
Also added them to the .spec file.
* nautilus.spec.in: Install the IDL files as part of nautilus-devel.
make the file dialog show up in the right position instead of
showing up in one place and then moving right away.
* libnautilus-private/nautilus-file-operations.c:
(create_transfer_dialog): Move gtk_show_widget until after the
center_dialog_over_window call.
* libnautilus-private/nautilus-mime-actions.c:
(build_joined_string): Correct variable so we build the string
from all the elements in the list, not just the first element
repeated over and over again.
(nautilus_mime_get_short_list_components_for_file): Remove stray
single-quote character so we build a legal query. The queries were
all failing due to this typo.
* src/nautilus-window.c: Spacing tweak.
* NEWS: Remove lack-of-tinderbox lament.
problems typing characters with values > 127 on some systems.
* libnautilus-private/nautilus-icon-container.c: (match_best_name):
Cast the result of tolower to a (char) before comparing it with
another char.
faster by sending fewer "selection_changed" signals. This may fix
bug 5010.
* libnautilus-private/nautilus-entry.c: (nautilus_entry_key_press),
(nautilus_entry_motion_notify): Only send the "selection_changed"
signal when a selection was there to change.
* src/nautilus-window-manage-views.c: (update_title): Missed a
place that required a non-NULL sidebar. Thanks to Miguel
Rodriguez Perez <migras@atlas.uvigo.es> for pointing it out.
not sorted. This could result in the wrong default component being
selected, and may be the problem that caused some users to get the
text component instead of the Mozilla web page component.
* libnautilus-private/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_file_internal): Update
since nautilus_do_component_query no longer takes an &ev.
(nautilus_mime_get_short_list_applications_for_file): Remove
unused ev variable. Fix problem where the user's added items would
be added in reverse order.
(build_joined_string): New helper function.
(nautilus_mime_get_short_list_components_for_file): Update since
nautilus_do_component_query no longer takes an &ev. Pass in a
sorting order to the query so we don't lose the order of the short
list.
(nautilus_mime_actions_file_needs_full_file_attributes): Update
since nautilus_do_component_query no longer takes an &ev.
(nautilus_mime_get_all_components_for_file): Update since
nautilus_do_component_query no longer takes an &ev.
(mime_get_all_components_for_uri_scheme): Update since
nautilus_do_component_query no longer takes an &ev.
(nautilus_do_component_query): Update to use its own &ev instead of
take one passed in. None of the callers were looking at the &ev.
* libnautilus-private/nautilus-directory-async.c: Bumped the
number of items per call back up. Now that we've done other bug
fixes, this makes things faster overall, not slower, although it
does make the time until the first icon shows up a bit longer.
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_set_file):
Don't monitor the directory item count. If the main view monitors
it we'll display it. If the main view doesn't, we'll show the old
"last known" value or nothing. It's better to do less I/O and
sometimes be wrong than do more I/O to always be right in this
case.
* src/nautilus-window.c: (add_sidebar_panel_callback),
(nautilus_window_initialize), (nautilus_window_constructed),
(nautilus_window_add_sidebar_panel),
(update_sidebar_panels_from_preferences),
(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
(nautilus_window_sidebar_showing):
Simplify sidebar logic. Among other things, we no longer create an
invisible sidebar for the desktop.
* libnautilus-private/nautilus-icon-canvas-item.c:
(in_single_click_mode): Use "(void)", not "()".
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_did_not_drag): Coding style tweak.
2001-05-29 John Fleck <jfleck@inkstain.net>
Initial checkin of gnome-db2html3, the new DocBook xml->html converter
* components/help/converters/gnome-db2html3/
gnome-db2html3.c, README, AUTHORS
* components/help/converters/gnome-db2html3/gnome-customization,
which contains GNOME customization stylesheet
* components/help/converters/gnome-db2html3/docbook/, which
contains Norman Walsh's xsl stylesheet extravaganza
* libnautilus-private/nautilus-global-preferences.c: Added a
default for the ADD_TO_SESSION preference. This should fix the
problem where some people don't get any session
management. Miguel's patch removed the code to set this preference
in the first time druid so we need to default to TRUE.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_string_attribute_with_default): Used return
statements to simplify the logic a bit.
2001-05-22 John Harper <jsh@pixelslut.com>
Fallout from fixing bug 8220 (Having Ctrl as default "modifier
key used for default WM shortcuts" breaks everything...):
* libnautilus-private/nautilus-icon-container.c
(keyboard_space, keyboard_move_to): changed to use Control
modifier instead of Alt
* hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for
compatibility with the new gettext.
Fixed a problem with the throbber detecting that its X window is
gone. Based on suggestions from Owen Taylor.
* libnautilus/nautilus-bonobo-workarounds.h:
* libnautilus/nautilus-bonobo-workarounds.c:
(destroy_later_callback), (destroyed_before_timeout_callback),
(nautilus_bonobo_object_force_destroy_later): Changed to "destroy
later" instead of "destroy at idle". This makes us less likely to
experience race conditions.
* src/nautilus-window.c: (nautilus_window_initialize_class),
(nautilus_window_unrealize), (nautilus_window_destroy): Moved the
throbber destruction to unrealize so we destroy the throbber
before we destroy its X window.
Starting with patch by Anders Carlsson <andersca@gnu.org>, added
both prelighting and tracking to the throbber, also making it take
action on release, not press.
* components/throbber/nautilus-throbber.c:
(nautilus_throbber_initialize_class): Add handlers for enter,
leave, and release.
(nautilus_throbber_initialize): Set flags so we get enter and
leave events.
(select_throbber_image): Ref the image that's returned.
(draw_throbber_image): Make the image be prelit if the mouse is
over the throbber but it wasn't clicked, and darkened if the mouse
is over the throbber and it was clicked.
(nautilus_throbber_enter_notify_event): Set flag and request
redraw to prelight.
(nautilus_throbber_leave_notify_event): Set flag and request
redraw to un-prelight.
(nautilus_throbber_button_press_event): Set flag to indicate we
hit the button in the throbber. Also, respond only to left clicks.
(nautilus_throbber_button_release_event): Look at flag set in
press event. Do the work here now instead of at press time since
we are more like a real button.
Rolled in change by Miguel Rodríguez Pérez <migrax@terra.es> to
fix volume mounting problems:
* configure.in: Check for hasmntopt.
* libnautilus-private/nautilus-volume-monitor.c:
(get_removable_volumes): Fix typo (HAVE_MNTTENT_H ->
HAVE_MNTENT_H).
Integrated patch by Miguel Rodríguez Pérez <migrax@terra.es> to
make Nautilus not try to preview MPEG lists:
* src/file-manager/fm-icon-view.c:
(icon_container_preview_callback): Made audio/x-mpegurl another
exception to the list of audio types we can preview.
Rolled in change by Dennis Smit <synap@area101.penguin.nl>:
* THANKS: added more translators that were missing from the
THANKS file (names from all the .po files in ./po).
Other updates to THANKS:
* THANKS: Added Jon K Hellan.
* check-THANKS.pl: Fixed logic so you can be credited as both an
author and translator.
Other changes:
* src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix
typo (storaged -> storage).
* src/nautilus-shell-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
Fixed keybindings entries to use the correct tags as described by
ui-xml.txt.
made the news panel flash less by defering async updates with a timer
task, so ones that fire close together are coalesced.
* components/news/nautilus-news.c: (do_destroy),
(rss_logo_callback), (update_timeout_callback),
(queue_update_size_and_redraw), (rss_read_done_callback),
(make_remove_widgets), (make_news_view):
2001-05-18 Yoann Vandoorselaere <yoann@mandrakesoft.com>
Code reviewed by Darin Adler <darin@bentspoon.com>.
* src/file-manager/fm-directory-view.c (display_pending_idle_callback):
return TRUE if real_display_pending_files() return FALSE which mean
that there is other icon to be drawn (the idle won't be removed until
the idle callback return FALSE).
return FALSE if real_display_pending_files() return TRUE, which mean
all files were drawn.
2001-05-18 Jon K Hellan <hellan@acm.org>
Code reviewed by Darin Adler <darin@bentspoon.com>
* components/music/mpg123.h (struct id3v1tag_t): Fix track info.
(struct id3tag_t): Fix track info. Not tested for v2, but big
enough for what can be represented in v1.1.
* components/music/mpg123.c (mpg123_id3v1_to_id3v2): Fix track
info. Track in id3v1.1 is an 8 bit integer, not a string.
Track is still unimplemented for id3v2. I did not fix it, as I
don't have examples to test with.
2001-05-18 Yoann Vandoorselaere <yoann@mandrakesoft.com>
Code reviewed by Darin Adler <darin@bentspoon.com>,
also, thanks for the help solving this issue.
* src/file-manager/fm-directory-view.c (g_list_split_off_first_n):
moved from fm-list-view.c.
(real_display_pending_files): move the fm-list-view.c function to
display pending file, but remove the clist sorting code.
(FILES_TO_PROCESS_AT_ONCE): new constant, appear to be a better name
than LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE.
* src/file-manager/fm-list-view.c (LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE):
removed this constant.
(fm_list_view_display_pending_files): just sort the list by the clist criteria
then call the parent function to display_pending_file.
(g_list_split_off_first_n): removed.
This should fix the issue where UI response (icon drawing) would take
a long time because the directory loaded was cached by the kernel.
We now draw with a fixed maximum number of files at once.
The list view code was already doing that, so the code was just moved,
and adaptated for use in directory view, so list view has the same
behavior as before without any code being duplicated.