2008-06-29 Cosimo Cecchi <cosimoc@gnome.org>
* README: Remove reference to the need of a GNOME 2.4 environment
to build Nautilus.
svn path=/trunk/; revision=14308
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.
* Makefile.am:
* README:
* nautilus-clean.sh:
* nautilus.spec.in:
* src/nautilus-application.c: (nautilus_application_startup):
Remove nautilus-clean.sh -- use bonobo-slay instead.
* libnautilus-private/nautilus-program-chooser.c:
(nautilus_program_chooser_new): The -2 feature is gone from
gtk_window_set_default_size, so use -1.
* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
(nautilus_sidebar_title_select_text_color), (update_title_font),
(update_title), (measure_width_callback), (update_more_info),
(sidebar_title_create_title_label),
(sidebar_title_create_more_info_label): Change to use GtkLabel
instead of EelLabel for now -- that makes us actually get a label.
now incompatible with any older verion. Thanks to frb@ximian.com
for his patch and help making it compile with 0.9.5.
* README: Tell people 0.9.5 is needed.
* configure.in: Various cleanup, and ask for 0.9.5.
* components/mozilla/mozilla-events.cpp:
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
Work around gcc bug with the directory named string. Switch to use
new calls in cases where the old ones are gone.
* components/mozilla/Makefile.am:
* configure.in:
* README:
Remove some Mozilla Milestone cruft. Make the Mozilla component
build with the newly released Mozilla 0.9. Update the README with
the latest Mozilla 0.9 support.
* README:
Add new librsvg and eel dependency entries.
* applets/launcher/Makefile.am:
* applets/preferences-applet/Makefile.am:
Add eel library to make it link properly.
* configure.in:
Fix bug 7952 - configure.in reference to mozilla source is wrong.
Update the Url to reflect reality.
* README:
Small tweak to the Mozilla requirements documentation.
2001-02-26 J Shane Culpepper <pepper@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
* README:
Reflecting the need for minimum Mozilla version of 0.8
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_new_window_callback):
Fixed spelling of Javascript to JavaScript. Removed the
js_status callback because it was only added for debugging
and Ramiro found a bug in it. Finish bug #6885.
* configure.in: Nautilus mozilla component now requires
0.8. Fix for bug #7042.
Finish fixing bug 6286 (need to re-apply optimization where we do
a single directory load):
* src/nautilus-window-manage-views.c: (begin_location_change): Do
the force_reload work in here. We want it on all 4 kinds of
location change (forward, back, new location, reload). Other
browsers don't do reload on back, so we may want to change this at
some point.
(nautilus_window_reload): Remove the old code to invalidate from
here now that it's done in begin_location_change.
* src/file-manager/fm-directory-view.c: (load_location_callback),
(load_directory), (finish_loading), (filtering_changed_callback):
Remove the old code to do force_reload. The NautilusDirectory part
of triggering a reload is now handled by the shell.
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_file_monitor_add): No force_reload parameter
any more.
(nautilus_directory_force_reload): New separate call used to force
a reload. A method call so subclasses can implement.
(nautilus_self_check_directory): Removed the FALSE force_reload
argument to file_monitor_add.
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_file_monitor_add): No force_reload parameter any more.
(vfs_force_reload): Call through to
nautilus_directory_force_reload_internal to do the real work.
(nautilus_vfs_directory_initialize_class): Install the new
force_reload function.
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_file_monitor_add): No force_reload parameter any more.
(merged_force_reload): Tell all of the real directories to force a
reload.
(monitor_add_directory): No force_reload to track any more.
(nautilus_merged_directory_initialize_class): Install the new
force_reload function.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_force_reload_internal): Change the name of
this function, since there's now a public function that is named
nautilus_directory_force_reload.
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_all_attributes): Made a separate call so other
parts of the framework can use it.
(nautilus_file_invalidate_all_attributes): Use the new call.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_node_begin_monitoring_no_connect): Use the
new force_reload call. The old one had more granularity and thus
forced less to be reloaded, but it's OK to do a little more here.
* libnautilus-extensions/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize): Removed the FALSE
force_reload argument to file_monitor_add.
Other stuff:
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata),
(nautilus_directory_rename_file_metadata): Moved FIXMEs around.
Pass NULL instead of &ev when calling bonobo_object_release_unref
since we don't really want to do anything different if there's
some kind of error.
* nautilus-installer/install-lib/.cvsignore:
* nautilus-installer/libtrilobite/.cvsignore:
Gotta create these files when you make new directories.
* README: Change xml-i18n-tools to mention the correct branch.
* README: Clarify the fact that Mozilla M18 no longer works.
* components/mozilla/mozilla-components.cpp: Remove obsolete
Mozilla M18 support. M18 no longer works.
* README: Update Mozilla requirements.
* configure.in: Update the Mozilla milestone names to match the
current Mozilla naming scheme. Add a flag indicating whether the
version of Mozilla we use has profiles support.
* components/mozilla/Makefile.am:
* components/mozilla/nautilus-mozilla-content-view.c:
(pre_widget_initialize):
Add better profile support ifdef hackery.
* src/nautilus-applicable-views.c:
(got_minimum_file_info_callback),
(nautilus_determine_initial_view),
(nautilus_determine_initial_view_cancel): Get rid of the code to
monitor the directory. It's now moved up one level to the
manage-views.c code.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.c: (free_location_change),
(begin_location_change): Move the code that starts monitoring the
directory up here instead.
* src/nautilus-application.c: (volume_unmounted_callback): Rewrote
this code to not use the viewed_file private field. There's a
public call to get the current location that should work just as
well. Also fix bug where it would ignore the scheme and just look
at the path part.
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_use_self_contained_metafile_factory): Added
check to detect if this is called after using the factory.
(free_factory): Simplified.
(get_factory): New function to simplify get_metafile.
(get_metafile): Simplified.
* src/nautilus-location-bar.c: (try_to_expand_path): Fix storage
leak.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_key_press): Added FIXME after noticing a
particularly lame version of tilde expansion in here. I'm not sure
this is even used to good effect, since the location bar now does
its own tidle expansion.
* README: Fixed many inaccuracies.
* libnautilus-extensions/nautilus-stock-dialogs.c:
(timed_wait_free): Formatting tweaks.
* src/nautilus-theme-selector.c:
(get_theme_description_and_display_name): Formatting tweaks.
* configure.in: Added support for db1 emulation in Berkeley DB3.
DB3 needs --enable-compat185.
* README: Describe solutions of linking errors with mozilla libs
(partially copied from Galeon's FAQ).
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.
* README:
Blabla about rpm 4 on redhat 7.0
* configure.in:
* nautilus.spec.in:
configure now carves the rpm version found into the spec file as a
requirement.
* nautilus.spec.in:
* README:
Add esound dependency. We've used esound to do sound previews and
in the Music View, but the the dependency was never reflected in
the spec file or documentation.
* libnautilus-extensions/nautilus-file.c: (rename_callback): Since
metadata for the directory itself is now stored under a fixed
name, no need to rename the metadata for self-owned files any
more.
(get_item_count), (get_size), (compare_directories_by_count),
(compare_files_by_size), (compare_by_size): Reimplement compares
by size so they don't use gnome_vfs_file_info_compare -- this
makes them work better for info == NULL cases.
(get_date), (compare_by_modification_date): Reimplement compares
by modification date so they don't use gnome_vfs_file_info_compare
-- this makes them work better for info == NULL cases.
(compare_by_name): Sort files that start with "." or "#" last.
(compare_by_name_and_directory_name): Helper function so that we
always sort by directory name when names are equal.
(nautilus_file_compare_for_sort): Use the new functions above so
we never have to use the gnome_vfs_file_info_compare function.
Because of that, we won't have to keep file names around any more.
This also simplified the logic -- I was able to remove all the
special cases for info == NULL.
(get_metadata_name): Function that returns "." for self-owned
files so the metadata for the directory itself is stored somewhere
that's not affected by renaming.
(nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
(nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
(nautilus_file_get_boolean_metadata),
(nautilus_file_get_integer_metadata),
(nautilus_file_set_boolean_metadata),
(nautilus_file_set_integer_metadata): Use the new
get_metadata_name function.
* src/file-manager/nautilus-directory-view-ui.xml: Changed an old
<menuitem/> to <separator/>.
* po/.cvsignore: Ignore the tmp directory, but no need to ignore
the .headerlock file which is now obsolete.
* README: Minor tweaks.
* libnautilus-extensions/Makefile.am: Resorted lists.
* README: Tell everyone that we are back on bonobo HEAD.
* configure.in: Make sure Nautilus doesn't try to compile with the
old bonobo.
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_get):
* components/adapter/nautilus-adapter-load-strategy.c:
(nautilus_adapter_load_strategy_get):
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_load_location):
* components/history/nautilus-history-view.c:
(history_view_frame_call_begin):
* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
* libnautilus/nautilus-view.c: (view_frame_call_begin):
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame):
Fix all the callers of query_interface in CORBA to call it
queryInterface (I used the Bonobo script to do it).
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_set_arg), (nautilus_window_get_arg),
(nautilus_window_set_content_view_widget): Update for BonoboWin ->
BonoboWindow change. Once again, the change was done by the Bonobo
script (but I had to undo the spaces it ate after BONOBO_WIN).
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/time/idl/trilobite-eazel-time-service.idl:
* components/services/trilobite/idl/trilobite-service.idl:
* components/services/trilobite/sample/idl/sample-service.idl:
* libnautilus-adapter/nautilus-adapter-factory.idl:
* libnautilus/nautilus-distributed-undo.idl:
* libnautilus/nautilus-view-component.idl:
Since IDL dependencies don't work, I touched every IDL file to
make the switchover smoother. This only works if people update
before they try to build and fail, otherwise they need to do:
find -name '*.xml' | xargs touch
(Maciej and I want to add dependency support to orbit-idl to make
this problem go away long term).
* src/nautilus-desktop-window.c: (realize):
The script updated this comment to, so I let it.
* user-guide/C/Makefile.am: Took out the botched change I made to
this file. Mathieu did the correct one.
[New Thread 2371]
[New Thread 2372]
2000-10-27 Josh Barrow <josh@eazel.com>
* README:
Add more info to what Robin just checked in.
* nautilus-clean.sh:
Add more things to clean up after.
* README:
Added that we require rpm 3.0.4 if --enable-eazel-service
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Fix for older rpm's (although installation will probably still
be borked, should insert #error instead.
* nautilus.spec.in:
nautilus-trilobite requires rpm = 3.0.4
* README:
Update docs for the fact that we now require Mozilla-M18.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_content_view_one_time_happenings),
(nautilus_mozilla_content_view_initialize),
(nautilus_mozilla_content_view_destroy),
(mozilla_load_location_callback), (mozilla_net_state_callback),
(mozilla_dom_mouse_click_callback),
(mozilla_translate_uri_if_needed),
(mozilla_untranslate_uri_if_needed):
Cleanup a bunch of pre Mozilla M18 code. Turn of a rogue printf.
Remove the cut-n-pasted Bonobo merging code. We can add it back
if we ever have something we really need to merge.
* configure.in:
Update for new Mozilla M18 requirement. Bail of detected Mozilla
is not M18.
* nautilus.spec.in:
Add mozilla-m18 dependency to the nautilus-mozilla package.
* README: Changed gnome-print to work at HEAD.
* src/file-manager/fm-icon-view.c: (handle_radio_item): Common
function shared by context menu and Bonobo menu.
(context_menu_layout_radio_item_callback): Use common function.
(append_one_context_menu_layout_item): Change from "verb" to "id".
(update_layout_menus): Set up proper radio button based on ids.
(switch_to_manual_layout): Renamed and changed from a callback to
a normal function.
(handle_ui_event): Signal handler to get Bonobo radio menu
choices.
(fm_icon_view_merge_menus): Connect UI event handler and remove
old code for radio menu items.
* src/file-manager/nautilus-icon-view-ui.xml: Add ids to the radio
menu items.
* src/nautilus-about.c: (nautilus_about_destroy),
(nautilus_about_initialize), (nautilus_about_repaint),
(draw_aa_string), (randomize_authors), (draw_author_list),
(nautilus_about_draw_info), (nautilus_about_update_authors),
(nautilus_about_close), (update_authors_if_necessary): Improve
randomizing algorithm, get rid of fixed maximum number of authors.
* src/nautilus-window.c: Cosmetic changes.
* README: Change required versions.
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_sensitive):
Added new function that works with the new UI framework.
* libnautilus-extensions/nautilus-druid-page-eazel.h:
* libnautilus-extensions/nautilus-druid.h:
* src/nautilus-shell-ui.xml: Make Select All insensitive.
* src/nautilus-window.c: (nautilus_window_constructed):
Get rid of some more of the old status bar code.
(nautilus_window_allow_back), (nautilus_window_allow_forward),
(nautilus_window_allow_up), (nautilus_window_allow_reload),
(nautilus_window_allow_stop),
(nautilus_window_zoom_level_changed_callback): Set shell
menu item sensitivity with the new API.
* src/nautilus-window.h: Remove status_bar_context_id.