Fixed bug 2802 (copy all metadata, not just certain items). There
are still a few loose ends but it's basically there.
Fixed bug 5296 (Hardware overview should be localized).
Fixed bug 5299 (Spacing problems with sizes in bytes).
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_file_node): Used a local variable for the hash table to make
the code more readable because the full expression is too long.
Removed the half-baked attempt at using xmlNode objects to
represent "changes" data, which no longer seems a likely
direction.
(nautilus_directory_metafile_destroy): Local variable for hash
table.
(nautilus_directory_get_file_metadata): Return NULL, not FALSE,
since the function returns char *, not gboolean.
(nautilus_directory_rename_file_metadata): Local variable for hash
table. Also added a FIXME for a case that won't work.
(apply_file_changes): Broke out so it can be used elsewhere.
(apply_one_file_changes): This is now the version that has the
hash table iterator function interface.
(nautilus_directory_get_integer_file_metadata): Use sscanf instead
of atoi so we can do error checking.
(nautilus_directory_copy_file_metadata): Removed the old code that
copied fixed keys and wrote new code that copies all the metadata.
(nautilus_directory_remove_file_metadata): Local variable for hash
table.
* icons/arlo/arlo.xml: Added an explicit H offset of 0 for the
zoom control. It was inheriting the default theme's offset of
-2. This seems to indicate a design problem with the "fall back on
default" approach for themes, but for now it's nice to have the
zoom control looking right again.
* src/nautilus-window-menus.c:
(help_menu_about_nautilus_callback): Use the real copyright
character, not "(C)".
* src/file-manager/fm-desktop-icon-view.c
(find_and_update_home_link), (place_home_directory): Mark the
"darin's Home" string for localization. Needs improvement beyond
this, because just tacking "'s Home" onto the login name is
probably no good.
* components/hardware/nautilus-hardware-view.c: (read_proc_info):
Tweak code style a bit. Use g_string_free (FALSE) instead of
g_strdup and g_string_free (TRUE).
(get_CPU_description): Make this a little more localizable by
adding a strdup format string instead of appending things. Added
FIXMEs about additional problems.
(get_RAM_description): Add a little reality checking on the value
read from the file and make a little more localizable.
(get_IDE_description): Change to use the gnome-vfs file size
formatting functions in the right way. The old code had been
changed to not use them at all, probably because the first cut at
this code was using it wrong and ran into a 32-bit limit. Use
g_string_free (FALSE) instead of g_strdup and g_string_free
(TRUE).
* po/POTFILES.in: Marked nautilus-hardware-view.c as needing
localization.
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_informaltable_start_element): Fixed a runaway string
literal.
* libnautilus-extensions/nautilus-directory-async.c: Moved the
constants to the top of the file and put the compile-time switches
at the top of the constants section.
* NEWS: Removed out of date news.
* README: Fixed a typo.
* TODO: Removed out of date tasks.
* components/services/startup/lib/dummy.c: Added an empty file to
fix the build (required since Elliot added it to the Makefile).
* HACKING: Some tweaks.
* TODO: Removed some done items.
* src/Makefile.am:
* src/file-manager/Makefile.am:
Changed libntl-file-manager.la to libnautilus-file-manager.la.
* src/ntl-window-msgs.c: If an error happens, we need to reset the
location bar to current location, in case the location change
happened via a drop on the location bar.
* src/file-manager/fm-directory-view.c: Consensus is to use
individual headers rather than catch-alls.
* libnautilus/gnome-icon-container-dnd.c,
libnautilus/nautilus-icons-view-icon-item.c,
libnautilus/nautilus-icon-factory.c: Use bilinear scaling - almost
as fast, much nicer looking.
* src/ntl-types.h, src/ntl-uri-map.[ch], src/ntl-window-msgs.c, src/ntl-window.[ch]:
Add support for the location change state machine and related notifications,
to allow much better error handling.
* src/ntl-view.[ch]: Catch client failures, also allow for active sensing of client death.
* src/file-manager/fm-directory-view.c: Send progress notifications.
* components/html/ntl-web-browser.c: Send progress
notifications. Try to fix crashes caused by ending an error stream
twice.