Fixed bug 8200 (News Sidebar panel crash on startup):
* components/news/nautilus-news.c: (draw_rss_items): Use
eel_strlen so it works with NULL titles.
* configure.in:
* nautilus.spec.in:
Removed dependency on ghttp. Trilobite needs it, but not Nautilus.
* configure.in:
Simplify the freetype2 detection insanity by using autoconf macro
technology. The new test should work with both FreeType2 RPMS as
well as freetype built from source in any prefix.
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.
partition gives "You can't copy a file over itself" error).
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move): There was a bug in the call
to check_same_fs in here (it was passing in the target URI, which
is often a file that doesn't even exist), so I removed that check.
Did some other cleanups too.
* THANKS: Give Alex Larsson credit for his contribution.
* configure.in: Added the screenshot directory. Updated the check
for control center to check for libcapplet instead. Chris Lahey
told me that Ximian did this in the version they released, so I
figured I should do it here too.
* help/nautilus-screenshot-guidelines/.cvsignore:
* help/nautilus-screenshot-guidelines/C/.cvsignore:
Ignore more generated files.
adds a JPEG-specific thumbnailing function that's faster than the
exiting thumbnail code. This new code is only included if the
libjpeg library is present at configure time. We still need RPM
spec file changes to require this library if we are going to build
RPMs on systems that have libjpeg. I fixed a few bugs in Alex's
original patch and made some coding style tweaks as well.
* acconfig.h:
* configure.in:
Added a check for libjpeg.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-thumbnails-jpeg.c:
* libnautilus-extensions/nautilus-thumbnails-jpeg.h:
Add new source files with JPEG thumbnailer.
* libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails):
Call the new function for JPEG files.
Other changes.
* libnautilus-extensions/nautilus-volume-monitor.c: Change
interval back to 2 seconds.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_set_storage_path): Fix storage leak.
(nautilus_self_check_preferences): Added more checks.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Tiny code tweak.
I've reviewed all the changes in the branch ChangeLog now,
so I think we can kiss it goodbye.
* configure.in: Bumped a bunch of version numbers to match
branch. Robin may have to do some more bumping before
shipping 1.0.3.
* help/nautilus-user-manual/C/figures/custicon.png:
* help/nautilus-user-manual/C/figures/full.png:
* help/nautilus-user-manual/C/figures/part.png:
Smaller versions of screenshots which were too big to
fit in the Nautilus main panel, by Arlo. (For some reason
nautilus-quick-reference on HEAD had smaller figures than
on nautilus-1, but vice-versa for nautilus-user-manual.)
* src/nautilus-preferences-dialog.c:
* src/nautilus-shell-ui.xml:
* src/nautilus-window-menus.c:
(nautilus_window_initialize_menus_part_1): Made Medusa stuff not
appear when HAVE_MEDUSA is not defined.
Other changes:
* libnautilus-extensions/nautilus-program-choosing.c:
(get_xalf_prefix): Bug fix from Darin (!= -> ==) that
was breaking launching applications unless you had xalf
installed (not from branch)
moved from one directory to another.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_remove_file_monitors),
(nautilus_directory_add_file_monitors): New calls to remove a
file's monitors from one directory and add it to another.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_set_directory): Call the new calls.
* configure.in: Paths from change yesterday were wrong. Had to fix
them to make RPM builds work again.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_create_from_gnome_entry): Fix, based on patch
from fcrozat@mandrakesoft.com, to handle the URL versions
of gnome-entry properly.
Sun Apr 15 23:55:21 2001 George Lebl <jirka@5z.com>
* configure.in, po/cs.po: Being the nationalistic bastard I am,
made an initial translation since nobody else seemed to want to
do so and I didn't want Czech to be so far behid others. Currently
only about 13% done.
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.
the services enabled machinery work at runtime rather than compile
time.
* acconfig.h:
Add HAVE_AMMONITE.
* components/mozilla/main.c: (main):
* components/mozilla/nautilus-mozilla-content-view.c:
(translate_uri_nautilus_to_mozilla),
(translate_uri_mozilla_to_nautilus):
Use HAVE_AMMONITE instead of EAZEL_SERVICES for the specific
Ammonite features.
* components/text/services/Makefile.am:
Fix rogue spacing.
* configure.in:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory):
Remove EAZEL_SERVICES from self test code. Run the test for the
eazel-services uri scheme regardless.
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(mime_get_all_components_for_uri_scheme): New flavor of function
tha takes a uri scheme parameter instead of a NautilusFile.
(nautilus_mime_has_any_components_for_uri_scheme): New function to
find out if there exists any components registered to handle a uri
scheme.
* src/Makefile.am:
Use AMMONITE_CFLAGS and AMMONITE_LIBS instead of SERVICES_LIBS
hac.
* src/nautilus-services.h,
* src/nautilus-services.c: New files for putting all shared
services related code in one places.
* src/nautilus-window-menus.c: (services_button_callback),
(nautilus_window_initialize_menus_part_1):
Remove EAZEL_HACKING hackery. Make the services code always be
linked in. Use new shared services functions to determine whether
we need to populate the services menus and toolbars.
* src/nautilus-window-service-ui.c: (goto_services_summary),
(goto_online_storage), (goto_software_catalog),
(nautilus_window_install_service_ui):
Simplify by using shared services code. Remove all Ammonite code
from here. Ammonite code is constrained to nautilus-services.[ch]
only. Use shared services code t determine the target uris for
services callbacks.
* src/nautilus-window-toolbars.c: (set_up_toolbar_images):
* src/nautilus-window.c: (nautilus_window_constructed):
Remove EAZEL_HACKING hackery. Decide at runtime whether to setup
the services toobar or not.
* configure.in:
Remove nautilusclist cut-n-paste code.
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/.cvsignore:
* cut-n-paste-code/widgets/nautilusclist/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
Remove nautilusclist cut-n-paste code.
* libnautilus-extensions/nautilus-file-dnd.h:
* libnautilus-extensions/nautilus-file-dnd.c:
New file with Drag and Drop code that operated on NautilusFile
objects.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-list-column-title.c:
* libnautilus-extensions/nautilus-list-column-title.h:
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-ctree.h:
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
Move these widget into eel.
* libnautilus-extensions/nautilus-icon-dnd.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
Update for eel dnd code move.
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/Makefile.am:
Remove some voodoo that was needed for cut-n-paste code in
trilobite that no longer is among us.
* components/help/hyperbola-nav-tree.c:
* components/music/nautilus-music-view.c:
* components/rpmview/nautilus-rpm-verify-window.c:
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
* components/tree/nautilus-tree-view-dnd.c:
* components/tree/nautilus-tree-view-dnd.h:
* components/tree/nautilus-tree-view-private.h:
* components/tree/nautilus-tree-view.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
* src/nautilus-sidebar.c:
Update for clist, ctree, list and dnd code that now lives in eel.
Also do more #include cleanup.
* acconfig.h:
* configure.in:
Add a NAUTILUS_SOURCE_DIRECTORY that contains the location of the
nautilus source code, so that some checks can work without having
to do 'make install'
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_service_install_view_initialize_class):
Initialize preferences so that smooth widgets and other nautilus
specific preferences work.
* components/services/summary/nautilus-summary-view.c:
(nautilus_summary_view_initialize_class):
Initialize preferences so that smooth widgets and other nautilus
specific preferences work.
* libnautilus-extensions/Makefile.am:
Remove macros that arent needed any more.
* libnautilus-extensions/nautilus-entry.h:
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (obscure_cursor),
(nautilus_entry_key_press), (nautilus_entry_motion_notify),
(nautilus_entry_set_text), (nautilus_entry_insert_text),
(nautilus_entry_delete_text), (nautilus_entry_initialize_class),
(nautilus_entry_set_special_tab_handling):
Make all the attributes private.
* libnautilus-extensions/nautilus-font-manager.c:
(at_exit_handler), (nautilus_free_static_storage_at_exit),
(gnome_vfs_init_if_needed), (font_description_table_add),
(font_description_table_new), (directory_contains_file),
(ensure_local_font_table),
(nautilus_font_manager_get_default_font),
(nautilus_font_manager_get_default_bold_font),
(nautilus_self_check_font_manager):
Remove dependency on nautilus-file-utilities. Update for new
machanism for finding data in the source directory so that checks
work even when Nautilus has not undergone 'make install.'
* libnautilus-extensions/nautilus-global-preferences.c:
(smooth_graphics_mode_changed_callback),
(nautilus_global_preferences_initialize):
Keep track of preferences smooth graphics mode changes and call
the new smooth widget api for changing the smoothness of all
tracked widgets.
* libnautilus-extensions/nautilus-scalable-font.c:
Remove a rogue unused #include.
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
(nautilus_smooth_widget_global_set_is_smooth),
(nautilus_smooth_widget_register):
Dont use preferences to track global smoothness changes. Add a
function to that instead.
* src/nautilus-location-bar.c: (nautilus_location_bar_initialize):
Update for privatized NautilusEntry attributes.
* 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-03-30 Eskil Heyn Olsen <eskil@eazel.com>
reviewed by: the toad that lives under my table
* components/services/trilobite/Makefile.am:
Build utils/
* components/services/trilobite/helper/eazel-helper.c: (main):
Added ability to launch a start-medusa script.
* components/services/trilobite/libtrilobite/trilobite-root-helper.
h:
* components/services/trilobite/libtrilobite/trilobite-root-helper.
c: (trilobite_root_helper_run):
Added a enum for a start-medusa command.
* components/services/trilobite/utils/Makefile.am:
* components/services/trilobite/utils/eazel-helper-test.c:
(get_password_dude), (main):
Added a program to test root helper, for educational reasons
mostly.
* configure.in:
Added components/services/trilobite/utils/Makefile
* libnautilus-extensions/nautilus-file-operations.c:
(sync_transfer_callback): Don't send out notifications in the case
where we did a no-op move on top of self.
(nautilus_file_operations_copy_move): Get rid of code that
complains about move on top of self, since that's no longer
considered an error.
* configure.in: We require the new gnome-vfs now because we need
the code that handles move to self better.
Fix bug 6613 (no way to delete files without using trash) by
integrating Maciej's patch to add an optional Delete command (with
some fixes to the patch). There may still be some loose ends.
Fix bug 2206 (No way to move or copy a file to a different
directory from keyboard) by implementing Cut, Copy, and Paste for
files, in a way that will be familiar to Windows users. The
positioning of the new files is not right yet (they inherit their
position from the old files), there is no feedback when you have
cut some files (Arlo's idea, which I might implement, is to make
them translucent to show they are "on the way out") or when you
have copied some files, and I think there are some other loose
ends.
Fixed cut, copy, and paste within the file names when you do a
rename. This wasn't working at all.
Got rid of configure-time checks that were looking at the
existence of some special system files.
Fixed a few minor bugs discovered by code inspection.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Add expert preference to add a
Delete command that bypasses the Trash.
* src/file-manager/nautilus-directory-view-ui.xml: Add Delete, Cut
Files, Copy Files, and Paste Files.
* src/file-manager/fm-directory-view.c: (confirm_delete_directly),
(delete_callback): Add delete code.
(bonobo_menu_empty_trash_callback): Get rid of extraneous cast.
(fm_directory_view_initialize): Track the delete preference. Set
the flags properly to indicate we have our own X window. Add a
target so GTK knows that we accept pastes of copied files.
(forget_clipboard_contents): Helper for when we are no longer the
clipboard owner.
(fm_directory_view_destroy): Remove the delete preference
callback. Free the clipboard contents.
(offset_drop_points): Change so it handles NULL for the list of
points.
(trash_or_delete_files_common): Remove unneeded parameters.
(get_current_event_time): New function, placeholder that just
returned GDK_CURRENT_TIME. Perhaps we should get the real event
time here for use in clipboard manipulation calls.
(copy_or_cut_files): New function. Save the selection for later
use in a paste.
(copy_files_callback), (cut_files_callback): Call the new
copy_or_cut_files function.
(paste_files_callback): Do the clipboard convert that results in
the paste operation.
(real_selection_clear_event): Forget the clipboard contents.
(real_selection_get): Convert the selection into the appropriate
format and put it on the clipboard.
(convert_lines_to_str_list): Helper function for decoding incoming
pasted files.
(real_selection_received): Handle pasted files by parsing and then
triggering a file copy operation.
(real_merge_menus): Add verbs for cut, copy, and paste.
(enable_delete_changed_callback): Keep track of delete command
status in a boolean.
(real_update_menus): Show delete command if the preference is on
and we are not showing "Delete from Trash". Update names of the
Cut and Copy command depending on how many files are selected.
Also desensitize them when none are selected.
(fm_directory_view_select_file): Initialize an uninitialized field.
(fm_directory_view_move_copy_items): Allow relative_item_points to
be NULL.
(real_realize): Create our own X window.
(real_size_allocate): Trick GtkScrolledWindow into doing the right
thing despite the fact that we have our own X window.
(fm_directory_view_initialize_class): Moved down to the bottom so
we don't need so many forward declaractions. Added code to set up
some needed atoms and new default handlers.
* libnautilus-extensions/nautilus-icon-text-item.c:
(send_focus_event), (iti_stop_editing), (iti_start_editing): Add
code to send the appropriate focus events to the fake off-screen
GtkEntry. This makes the clipboard code that tracks focus-related
signals work properly with this entry.
(iti_event): Tweak the sequence and simplify the code a bit.
* libnautilus/nautilus-clipboard.c:
(set_paste_sensitive_if_clipboard_contains_data): Add more
FIXMEs. This function is very far from useful, and it's not clear
that it can be implemented efficiently under X.
(nautilus_clipboard_set_up_editable): Get rid of silly
"grab_focus" hack that was an attempt to address the problems with
the NautilusIconTextItem. The real solution was to do focusing for
that item too.
(nautilus_clipboard_set_up_editable_in_control): Fix this so it
works when called on an editable that is already focused.
* src/file-manager/fm-icon-view.c: (renaming_icon_callback): Get
rid of "grab_focus" workaround, which wasn't working.
* acconfig.h:
* configure.in:
Remove all configure checks that were checking the existence of
files.
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_check_cron_is_enabled): Simplify logic so there's
less room for confusion (I did this as a fix for the bug that was
reported on the mailing list, but Rebecka checked in the small
patch first). Also change it so we don't need a configure-time
check for the existence of the process directory and fix it so we
won't get a core dump if the file doesn't have a space character
in it. Also change the logic so we don't leave the directory open
when we do find the cron process.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(has_removable_mntent_options), (get_removable_volumes),
(volume_is_removable), (volume_is_read_only),
(mount_volume_get_cdrom_name), (mount_volume_activate_cdda),
(mount_volume_activate_cdrom), (build_volume_list_delta),
(get_current_mount_list), (mount_lists_are_identical),
(verify_current_mount_state), (mount_volume_floppy_add),
(get_cdrom_type_solaris), (mount_volume_iso9660_add),
(display_mount_status), (close_error_pipe),
(nautilus_volume_monitor_mount_unmount_removable),
(mount_volume_add_filesystem): Make changes throughout to get rid
of dependence on configure-time file checks and do things at
runtime instead. Also use typedefs to make less code conditional.
Also fix the Solaris CD-ROM code which was casting a GString to
a (char *) before, so it used absurd file names, and failed to open
and returned FALSE all the time.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item): Send the
renaming signal before setting up the rest of the icon. This
change is not really needed, but it's a better order to do things.
* libnautilus/nautilus-clipboard-ui.xml: Move tips into the
commands instead of the menu items (for style mostly, no practical
implications at the moment).
* src/nautilus-shell-ui.xml: Remove tips from Cut, Copy, and Paste,
since tips from insensitive items aren't used, and if we had tips,
we'd put them on the command, not the menu item, anyway.
2001-03-22 John Harper <jsh@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in: require freetype version 2.0.1, library version
6.1.0
* Makefile.am, configure.in, nautilus-config.in, nautilus.spec.in,
nautilusConf.sh.in, .cvsignore: Add nautilus-config and
nautilusConf.sh so other modules can sensibly depend on
libnautilus (this fix should make it into 1.0.2, I guess I should
file a bug at some point).
2001-03-16 Gene Z. Ragan <gzr@eazel.com>
* configure.in:
* libnautilus-extensions/Makefile.am:
Add checks for cdparanoia to allow enabling of
cd audio mounting on the desktop.
* libnautilus-extensions/nautilus-volume-monitor.c:
* libnautilus-extensions/nautilus-volume-monitor.h:
Clean up build conditional audio CD handling and
centralize the allocation of NautilusVolume structures.
Fix bug 6495 (Emacs-style keybindings not working in location bar
and other NautilusEntry fields) by adding an expert preference to
control whether the Emacs shortcuts or the ones in the menu bar
take precedence. I started with Maciej's patch and did many
refinements.
Fix bug 1788 ("Select All" needs to be implemented for text): I
had to add Select All so it won't do the icon view's Select All
when you do a select all with the location bar focused.
Fix bug 5612 (clicking to deselect causes incorrect menu
sensitivity) by adding another signal handler for button clicks.
Fix bug 7581 (When trying to restart Nautilus after crash from bug
7579 I get a Segmentation Fault). I was just lucky enough to run
into the problem on my machine.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Added the new Emacs-shortcut
preference with the wording requested in the bug report.
* libnautilus-extensions/nautilus-entry.h:
* libnautilus-extensions/nautilus-entry.c:
(emacs_shortcuts_preference_changed_callback): Track the
preference.
(nautilus_entry_initialize): Set up the callback to track the
preference.
(nautilus_entry_destroy): Tear down the callback to track the
preference.
(nautilus_entry_key_press): Allow the emacs shortcuts built into
GtkEntry to work if the preference is set that way. Also, only
emit the selection_changed signal if the key is actually handled.
(nautilus_entry_motion_notify): Simplify the logic, since it's
OK to send the selection_changed signal a little too often.
(select_all_at_idle): Handle the case where the object is
destroyed.
(nautilus_entry_select_all_at_idle): Ref the object to handle the
case where the object is destroyed before the idle happens.
(nautilus_entry_button_press): Send a selection_changed message,
since pressing the button can cause a selection change.
(nautilus_entry_button_release): Send a selection_changed message,
since pressing the button can cause a selection change.
(nautilus_entry_initialize_class): Add new default handlers. Also,
move to bottom of file so we don't need so many forward
declarations.
* libnautilus/nautilus-clipboard-ui.xml: Add a Select All Text
command.
* libnautilus/nautilus-clipboard.c: (select_all): New function to
select all the text in a GtkEditable. Sadly it needs a special
case for GtkText.
(select_all_idle_callback): Callback used to select the text from
idle.
(select_all_callback): Callback that sets up the idle. Called from
the bonobo verb.
(initialize_clipboard_component_with_callback_data): Add the
callback for Select All.
* librsvg/rsvg.c: (rsvg_state_init): Initialize more fields,
including font_size.
(rsvg_text_handler_characters): Don't try to draw if the font
size is 0 or negative.
* librsvg/art_render_mask.c: (art_render_mask_render): Handle
cases where x1 < x0. The old code would seg. fault. This was the
reason we got a crash in bug 7581.
* configure.in: Upped the required version of gnome-vfs.
2001-03-12 Eric Fischer <eric@eazel.com>
Merge from 1.0 branch:
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in:
Change ammonite version checking to use the same logic as
other version number checks, to fix the broken tinderbox
* nautilus.spec.in:
Inherit the required ammonite version number from configure.in
Bug 6826: Build messages in about box
Added --with-build-message to ./configure. A build message will
display in the about box if no EAZEL_TIMESTAMP (used by hourly builds)
has been set.
The default build message for CVS builds "Development Version"
* acconfig.h:
* configure.in:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_build_message):
* libnautilus-extensions/nautilus-file-utilities.h:
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
2001-03-08 John Harper <jsh@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
Fixed bug 7550 (SOLARIS: text drawn incorrectly in anti-aliased
mode):
* configure.in: added `AC_C_BIGENDIAN' check - this means that
the WORDS_BIGENDIAN macro gets defined on big-endian systems.
This is required by at least the librsvg/arg_rgba.c file
2001-03-08 Dan Mueth <dan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Updated required version of ScrollKeeper to 0.1.4
* configure.in:
Added Vera's new version of Nautilus Quick Reference doc text.
- Updated info on fast searching
- layout improvements
Bug #: 7532,7439
* help/nautilus-quick-reference/C/index.html:
Added Vera's Nautilus 1.0 Release Notes document.
Bug #: 6257, 5825
* help/nautilus-release-notes/C/nautilus-release-notes.sgml:
Adding Vera's new version of Nautilus User Manual text.
- Remove mention of RPM view since it isn't in this release
Bug #: 7442
* help/nautilus-user-manual/C/nautilus-user-manual.sgml:
2001-03-05 Eric Fischer <eric@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
* configure.in:
Explicitly run gtk-config to get GTK's cflags, because
$GNOMEUI_CFLAGS aren't enough for people who've upgraded
to GTK 1.2.9. (Bug 7315)
2001-03-03 Rebecca Schulman <rebecka@eazel.com>
Complete most of bug 5520, that turning medusa on when cron
isn't running should tell the user this, and, if possible,
how to start cron.
reviewed by: Mike Engber <engber@eazel.com>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_use_fast_search_changed_callback):
Add dialog that comes up if the fast search preference is
enabled in the preference dialog when cron is off.
The dialog will tell the user about cron and how to
turn it on on linux systems.
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_add_system_state_changed_callback),
(nautilus_medusa_check_cron_is_enabled):
* libnautilus-extensions/nautilus-medusa-support.h:
Add hack to check if cron is actually running using cron.
* acconfig.h:
* configure.in:
Add HAVE_PROC_PROCESS_FILES, so we know whether we can
check proc files for whether cron is running
* src/nautilus-first-time-druid.c: (back_update_page_callback),
(set_up_medusa_page), (next_medusa_page_callback),
(set_up_cron_information_page), (nautilus_first_time_druid_show):
Add cron interface to the first time druid that tells users how to
turn on cron if necessary, as per Arlo's design.
Final text still needs to be added here.
* libnautilus-extensions/nautilus-mime-actions.c:
(application_can_handle_uri),
(nautilus_mime_has_any_applications_for_file),
(nautilus_mime_has_any_applications_for_file_type):
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-program-choosing.c:
(choose_application_callback), (application_cannot_open_location):
Old change that never got committed, reviewed by Darin Adler
<darin@eazel.com>
2001-03-02 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: <delete if not using a buddy>
Bug 2673 - Need to hook up the new font picker to nautilus .
* configure.in:
Remove an old font setup hack that never really worked.
* data/fonts/urw/fonts.dir:
Rename the fonts to "Helvetica Default" in order not to clash with
system fonts.
* libnautilus-extensions/nautilus-font-manager.h:
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_new): Add a font type parameter.
(font_lists_total_num_fonts): New function to count the total
number of scalable fonts detetected.
(font_description_table_add): Pass in the detected font lists to
do reality checks.
(font_get_font_type): New function.
(font_description_table_get_length),
(font_description_table_peek_nth),
(font_description_table_get_nth_file_name): Name the parameters
more consistently.
(font_description_table_for_each): Add font type parameter
(font_description_table_new): Rework to not require storing the
detected font list. We now use that only for the duration of the
constructor. Lost the install_font_lists dumbness.
(font_server_for_each_font_directory_internal): Use g_warning
instead of g_print.
(font_ignore_directory): New function to determine whether we
should ignore a directory - makes things much faster.
(font_manager_collect_font_tables): New function to handle all the
work of collecting font directories into tables.
(font_server_for_each_callback), (font_table_list_free),
(font_table_list_for_each), (free_font_tables),
(ensure_at_exit_handler), (ensure_fallback_font_table),
(ensure_user_font_table), (ensure_system_font_tables): Add 3
tables for fallback, system and users fonts. These are populated
as needed.
(nautilus_font_manager_for_each_font): Iterate the 3 font talbles.
(nautilus_font_manager_get_fallback_font) : New function to obtain
a fallback font quickly without having to check the system.
(call_chop_off_comments), (nautilus_self_check_font_manager):
Rework the checks to not create a temp directory. Unfortunately
they now only run for me.
* libnautilus-extensions/nautilus-font-picker.h:
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_initialize_class),
(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
(font_entry_list_find), (font_picker_update),
(font_name_picker_changed_callback),
(style_picker_changed_callback), (ignore_font),
(font_manager_callback), (style_list_for_each_callback),
(font_entry_list_for_each_callback),
(nautilus_font_picker_get_selected_font),
(nautilus_font_picker_set_selected_font),
(nautilus_font_picker_set_title_label):
Use the new font manager.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_create_dialog), (appearnace_pane_update),
(global_preferences_create_font_group),
(global_preferences_install_home_location_defaults),
(global_preferences_install_font_defaults):
Add a new preference for the smooth font.
Factor our the default font code to its own function. Setup the
font pickers items to be mutually exclusive according to the
smooth graphics mode preference value.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_widget_set_shown):
New function to show or hide a widget in one go.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_update):
Dont show the widget if a controlling preference prevents it.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_update_smooth_font),
(preferences_smooth_font_changed_callback),
(preferences_item_create_smooth_font): Add support for a smooth
font picker.
(preferences_item_destroy), (preferences_item_construct),
(nautilus_preferences_item_set_control_preference),
(nautilus_preferences_item_set_control_action),
(nautilus_preferences_item_get_control_showing): Add support for
using a controlling preference which can force the widget to be
shown or hidden depending on its value.
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_update):
Use new gtk extension to show or hide the widget in one go.
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(font_family_string_map_new): Update fallback font name.
(nautilus_scalable_font_new_from_file_name): New function to
create a font directly from a font file name.
(nautilus_scalable_font_get_default_font): Update fallback font name.
(nautilus_scalable_font_get_default_bold_font): New function to
get a fallback bold font.
Remove some unsed functions. Remove the font setup hack, the font
manager takes care of that now.
* libnautilus-extensions/nautilus-string-picker.h:
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_clear):
New function to clear the string picker.
* libnautilus-extensions/nautilus-tabs.c:
(nautilus_tabs_initialize):
Fix the hard coded font name.
* src/nautilus-first-time-druid.c: (new_title_label):
Fix the hard coded font name.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data):
Fix the hard coded font name.
* test/Makefile.am:
* test/test-nautilus-font-manager.c: (font_type_to_string),
(font_iterator_callback), (font_table_for_each_callback), (main):
* test/test-nautilus-font-picker.c: (font_picker_changed_callback),
(main):
* test/test-nautilus-glyph-simple.c: (main):
* test/test-nautilus-label.c: (main):
Update for new font picker and font manager changes.
2001-03-02 Frederic Crozat <fcrozat@mandrakesoft.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Fixed bug 7276, No support for bzipped man and info pages
-- problem for Mandrake
Note that the coding style of these files is not the same
as the rest of the Nautilus source code.
* components/help/converters/gnome-info2html2/Makefile.am:
* components/help/converters/gnome-info2html2/main.c: (main):
* components/help/converters/gnome-man2html2/Makefile.am:
* components/help/converters/gnome-man2html2/gnome-man2html.c:
(read_man_page):
* components/help/hyperbola-filefmt.c:
(extract_secnum_from_filename), (man_name_without_suffix),
(fmt_man_populate_tree_for_subdir):
2001-03-02 Eric Fischer <eric@eazel.com>
reviewed by: Robin * Slomkowski <rslomkow@eazel.com>
(Fixes Bug 6927)
* Makefile.am:
Add eazel-logos installation and distribution rules, conditional
upon the presence of the eazel-logos directory. Remove eazel-logos
from SUBDIRS.
* configure.in:
Add check for presence of eazel-logos directory. Remove eazel-logos
Makefiles from list of files to be generated.
* eazel-logos/Makefile.am:
* eazel-logos/throbber/Makefile.am:
Removed. Now takes place in main Makefile.am.
* nautilus.spec.in:
Only install eazel-logos files if the eazel-logos directory was
present at build time.
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
* nautilus.spec.in:
Fix tinderbox breakage by adding missing AC_SUBST lines for
version number dependencies that got moved from the spec file
to the configure file.
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
* configure.in:
Remove -F- flag to awk in control-center check, since gnomecc
separates name from version with spaces, not dashes.
2001-03-01 Eric Fischer <eric@eazel.com>
reviewed by: Arik Devens <arik@eazel.com>
* configure.in:
Improve the process of checking for required versions of other
software by moving the version numbers out of the spec file and
the body of the configure script and into their own section of
the script.
Also add a couple of autoconf macros that will reduce the amount
of boilerplate that needs to get written for each version check.
* nautilus.spec.in:
Change some of the requirements to get their version numbers from
the configure script rather than hardwiring them here.
(Bug 7229)
2001-03-01 Dan Mueth <dan@eazel.com>
reviewed by: Eric Fischer <eric@eazel.com>
Adding Swedish translation of Nautilus Quick Reference:
* configure.in:
* help/nautilus-quick-reference/Makefile.am:
* help/nautilus-quick-reference/sv/.cvsignore:
* help/nautilus-quick-reference/sv/Makefile.am:
* help/nautilus-quick-reference/sv/figures/colors_small.png:
* help/nautilus-quick-reference/sv/figures/emblems_small.png:
* help/nautilus-quick-reference/sv/figures/ff_small.png:
* help/nautilus-quick-reference/sv/figures/find_small.png:
* help/nautilus-quick-reference/sv/figures/full_small.png:
* help/nautilus-quick-reference/sv/figures/locbar_small.png:
* help/nautilus-quick-reference/sv/figures/menubar_small.png:
* help/nautilus-quick-reference/sv/figures/music_small.png:
* help/nautilus-quick-reference/sv/figures/navbar_small.png:
* help/nautilus-quick-reference/sv/figures/sidebar_small.png:
* help/nautilus-quick-reference/sv/figures/softcat.png:
* help/nautilus-quick-reference/sv/figures/storage.png:
* help/nautilus-quick-reference/sv/figures/themes_small.png:
* help/nautilus-quick-reference/sv/index.html:
* help/nautilus-quick-reference/sv/nautilus-quick-reference-sv.omf:
Updating a .cvsignore file:
* help/nautilus-quick-reference/no/.cvsignore:
Fixing l10n of About dialog... Returns are hard coded into the
po file and were placed such that text on left side collided
with names on the right side. I reformatted the text for locales
which were translated and appeared correctly in the locale for me.
Bug #: 7117
* po/de.po:
* po/fr.po:
* po/no.po:
* po/pt_BR.po:
* po/sk.po:
* po/sl.po:
* po/tr.po:
2001-03-01 Dan Mueth <dan@eazel.com>
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Added Spanish version of Nautilus Quick Reference:
* configure.in:
* help/Makefile.am:
* help/nautilus-quick-reference/Makefile.am:
* help/nautilus-quick-reference/es/.cvsignore:
* help/nautilus-quick-reference/es/Makefile.am:
* help/nautilus-quick-reference/es/figures/colors_small.png:
* help/nautilus-quick-reference/es/figures/emblems_small.png:
* help/nautilus-quick-reference/es/figures/ff_small.png:
* help/nautilus-quick-reference/es/figures/find_small.png:
* help/nautilus-quick-reference/es/figures/full_small.png:
* help/nautilus-quick-reference/es/figures/locbar_small.png:
* help/nautilus-quick-reference/es/figures/menubar_small.png:
* help/nautilus-quick-reference/es/figures/music_small.png:
* help/nautilus-quick-reference/es/figures/navbar_small.png:
* help/nautilus-quick-reference/es/figures/sidebar_small.png:
* help/nautilus-quick-reference/es/figures/softcat.png:
* help/nautilus-quick-reference/es/figures/storage.png:
* help/nautilus-quick-reference/es/figures/themes_small.png:
* help/nautilus-quick-reference/es/index.html:
* help/nautilus-quick-reference/es/nautilus-quick-reference-es.omf:
Added placeholder for Nautilus Release Notes, to be filled in
by Vera later:
Bug #: 6969
* help/nautilus-release-notes/.cvsignore:
* help/nautilus-release-notes/C/.cvsignore:
* help/nautilus-release-notes/C/Makefile.am:
* help/nautilus-release-notes/C/nautilus-release-notes-C.omf:
* help/nautilus-release-notes/C/nautilus-release-notes.sgml:
* help/nautilus-release-notes/Makefile.am:
Fixed Nautilus spec file w/r/t documentation. It is now simpler,
gives the right permissions to figures, and doesn't need to be
updated every time somebody adds a new doc or translation.
Bug #: 7002
* nautilus.spec.in:
* configure.in: added rule for package-list.xml.in
* nautilus-installer/package-list.xml.in: added file
to keep text for the installer. This gets served by
the server but it is needed to provide text for the
installer. http://bugzilla.eazel.com/show_bug.cgi?id=3448
Did most of the work for bug 5779, separating out the Eazel logos
so they won't be used by non-Eazel folks making changes to
Nautilus if they choose to do "non-approved" changes (allowed by
GPL of course).
* nautilus.spec.in: Add new logos.
* configure.in: Add eazel-logos and eazel-logos/throbber.
* Makefile.am: Add the eazel-logos subdirectory.
* eazel-logos/Makefile.am: Created.
* eazel-logos/throbber/Makefile.am: Created.
* components/services/nautilus-dependent-shared/icons/eazel-logo-right-side-logo.png:
* icons/About_Image.png:
* icons/about_background.png:
* icons/default.xml:
* icons/druid_header.png:
* icons/throbber/001.png:
* icons/throbber/002.png:
* icons/throbber/003.png:
* icons/throbber/004.png:
* icons/throbber/005.png:
* icons/throbber/006.png:
* icons/throbber/007.png:
* icons/throbber/008.png:
* icons/throbber/009.png:
* icons/throbber/010.png:
* icons/throbber/011.png:
* icons/throbber/012.png:
* icons/throbber/013.png:
* icons/throbber/014.png:
* icons/throbber/015.png:
* icons/throbber/016.png:
* icons/throbber/017.png:
* icons/throbber/018.png:
* icons/throbber/019.png:
* icons/throbber/020.png:
* icons/throbber/021.png:
* icons/throbber/022.png:
* icons/throbber/023.png:
* icons/throbber/024.png:
* icons/throbber/025.png:
* icons/throbber/026.png:
* icons/throbber/027.png:
* icons/throbber/028.png:
* icons/throbber/029.png:
* icons/throbber/030.png:
* icons/throbber/Makefile.am:
* icons/throbber/rest.png:
Updated with non-logo versions.
Did 90% of the work for bug 6950 (need new report_redirect call in
addition to report_location_change). While working on that, I also
moved the deferral of outgoing calls that is done in the Mozilla
component so that it is done by the NautilusView class instead.
* libnautilus/nautilus-view-component.idl: Added report_redirect.
* libnautilus/nautilus-view.h: Added report_redirect.
* libnautilus/nautilus-view.c: (queue_outgoing_call): Added
queing for the outgoing side.
(nautilus_view_initialize): Allocate queue.
(nautilus_view_destroy): Deallocate queue.
(str_list_copy): Utility needed here because we can't use
libnautilus-extensions.
(list_free_deep_callback): New. Used in queuing code.
(free_location_plus_callback): New. Used in queueing code.
(call_open_location_in_this_window),
(call_open_location_prefer_existing_window),
(call_open_location_force_new_window),
(call_report_location_change), (call_report_redirect),
(call_report_selection_change), (call_report_status),
(call_report_load_underway), (call_report_load_progress),
(call_report_load_complete), (call_report_load_failed),
(call_set_title), (call_go_back): Functions that get queued.
These have the bulk of the code to do work.
(nautilus_view_open_location_in_this_window),
(nautilus_view_open_location_prefer_existing_window),
(nautilus_view_open_location_force_new_window),
(nautilus_view_report_location_change),
(nautilus_view_report_redirect),
(nautilus_view_report_selection_change),
(nautilus_view_report_status),
(nautilus_view_report_load_underway),
(nautilus_view_report_load_progress),
(nautilus_view_report_load_complete),
(nautilus_view_report_load_failed), (nautilus_view_set_title),
(nautilus_view_go_back): These functions now simply queue the work
that needs to be done.
* src/nautilus-view-frame-corba.c: (free_location_plus_callback):
Add a new field for the "from_location" needed for redirect.
(report_redirect): The actual function to do the work.
(impl_Nautilus_ViewFrame_report_redirect): Queue function.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class): Create report_redirect
signal.
(nautilus_view_frame_report_redirect): Emit the signal.
* src/nautilus-window-manage-views.c: (report_redirect_callback):
Code to implement the redirect. For now this does the exact same
thing as report_location_change. This is where all the remaining
work to fix the bug goes.
* components/mozilla/nautilus-mozilla-content-view.c:
(view_load_location_callback), (mozilla_title_changed_callback),
(mozilla_net_start_callback), (mozilla_net_stop_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_dom_mouse_click_callback),
(navigate_mozilla_to_nautilus_uri), (update_nautilus_uri),
(eazel_services_scheme_from_http): Remove the "async" calls that
defer calls until timeout time now that NautilusView itself does
that for all components.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER):
Added new marshal function needed for report_redirect.
Other changes.
* THANKS: Add some more contributors, after running the script
to detect new ChangeLog entries.
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.
2001-02-26 Eric Fischer <eric@eazel.com>
reviewed by: Darin Adler <darin@eazel.com> (code)
reviewed by: Robin Slomkowski <rslomkow@eazel.com> (Makefile, etc.)
Fix bug 6197 (write script to convert metafiles and links to
ower-case XML):
* configure.in:
Add helper-utilities/xml-migrate/Makefile to the list of files to
be created.
* helper-utilities/Makefile.am:
Add xml-migrate to the list of subdirectories to be built.
* helper-utilities/xml-migrate/Makefile.am:
New Makefile: compile nautilus-xml-migrate and install its manpage.
* helper-utilities/xml-migrate/xml-migrate.c:
New program: searches a directory for the old uppercase XML files
and turns them into lowercase ones.
* helper-utilities/xml-migrate/nautilus-xml-migrate.1:
New manpage: for the aforementioned program.
* nautilus.spec.in:
Include nautilus-xml-migrate and its manpage in the RPMs.
* configure.in:
* icons/arlo/Makefile.am:
* icons/arlo/i-regular-12-aa.png:
* icons/arlo/i-regular-12.png:
* icons/arlo/i-regular-192-aa.png:
* icons/arlo/i-regular-192.png:
* icons/arlo/i-regular-24-aa.png:
* icons/arlo/i-regular-24.png:
* icons/arlo/i-regular-36-aa.png:
* icons/arlo/i-regular-36.png:
* icons/arlo/i-regular-72-aa.png:
* icons/arlo/i-regular-72.png:
* icons/arlo/i-regular-96-aa.png:
* icons/arlo/i-regular-96.png:
* icons/arlo/i-regular-aa.png:
* icons/arlo/i-regular.png:
* icons/arlo/i-regular.xml:
Changed the design of the Crux documents to have 8.5 x 11
aspect ratio, and removed the torn out of a sprial notebook
visual appearance.
I also added all the sizes that Nautilus needs in both 8 bit
and 1 bit mask mode.
* icons/crux_eggplant/Makefile.am:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/crux_eggplant/i-regular-192-aa.png:
* icons/crux_eggplant/i-regular-192.png:
* icons/crux_eggplant/i-regular-72-aa.png:
* icons/crux_eggplant/i-regular-72.png:
* icons/crux_eggplant/i-regular-96-aa.png:
* icons/crux_eggplant/i-regular-96.png:
* icons/crux_eggplant/i-regular-aa.png:
* icons/crux_eggplant/i-regular.png:
* icons/crux_eggplant/i-regular.xml:
Removed the throbber and the document icons out of Crux Eggplant
and made them point to the ones in Crux teal.
2001-02-24 Dan Mueth <dan@eazel.com>
reviewed by: Ian McKellar <ian@eazel.com>
Added 1.0 version of Vera's Quick Reference document.
Note that the screenshots are not finalized, but the text
is. Added Spanish version of Nautilus User Manual.
Updated toplevel docs, removing Session Properties, and
adding Spanish translation of NUM. Tried to remove most of
the annoying warnings which show up in tinderbox due to
silly Makefile problems. Updated spec for Spanish doc.
* components/help/topleveldocs.xml:
* configure.in:
* help/docs.make:
* help/nautilus-quick-reference/C/figures/full_small.png:
* help/nautilus-quick-reference/C/figures/navbar_small.png:
* help/nautilus-quick-reference/C/index.html:
* help/nautilus-user-manual/Makefile.am:
* help/nautilus-user-manual/es/Makefile.am:
* help/nautilus-user-manual/es/figures/custicon.png:
* help/nautilus-user-manual/es/figures/full.png:
* help/nautilus-user-manual/es/figures/link.png:
* help/nautilus-user-manual/es/figures/locbar.png:
* help/nautilus-user-manual/es/figures/noread.png:
* help/nautilus-user-manual/es/figures/nowrite.png:
* help/nautilus-user-manual/es/figures/part.png:
* help/nautilus-user-manual/es/figures/player.png:
* help/nautilus-user-manual/es/figures/prefmenu.png:
* help/nautilus-user-manual/es/figures/sidebar.png:
* help/nautilus-user-manual/es/figures/viewmenu.png:
* help/nautilus-user-manual/es/figures/viewmusic.png:
* help/nautilus-user-manual/es/nautilus-user-manual-es.omf:
* help/nautilus-user-manual/es/nautilus-user-manual.sgml:
* nautilus.spec.in:
2001-02-23 Eric Fischer <eric@eazel.com>
reviewed by: Robin Slomkowski <rslomkow@eazel.com>
* configure.in:
Create nautilus-installer.spec; remove gibberish that I had
accidentally left in from testing.
* nautilus-installer.spec.in:
Create RPM of nautilus-installer separately from main nautilus RPM
* nautilus.spec.in:
Separate nautilus-installer from main nautilus build
2001-02-23 Seth Nickell <snickell@stanford.edu>
reviewed by: J Shane Culpepper <pepper@eazel.com>
Fix problems with playing MP3s on Solaris due to our use of
Linux/x86-only code pillaged from mpg123. Continue pillaging
from mpg123 to grab their generic decoding code for use when
we are on non x86/Linux platforms.
* configure.in:
* components/music/Makefile.am:
Check if we are on x86 and only build x86 optimized music
components if we are. Otherwise use source & binary compatible
generic code.
* components/music/decode.c: (mpg123_synth_1to1_8bit),
(mpg123_synth_1to1_8bit_mono),
(mpg123_synth_1to1_8bit_mono2stereo), (mpg123_synth_1to1_mono),
(mpg123_synth_1to1_mono2stereo), (mpg123_synth_1to1):
Add decode.c as a generic replacement for decode_i386.c when
on non-x86 hardware (dct64.c was already there, just not used),
filched from mpg123 same as decode_i386.c.
* components/music/mpg123.h:
Add one #define to make decode.c happy.
Thanks to Niall for nailing this bug :-)
2001-02-22 Seth Nickell <seth@eazel.com>
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* acconfig.h:
* configure.in:
Add various mount system checks.
* libnautilus-extensions/nautilus-cdrom-extensions.h:
Only do particular #defines for ioctl stuff if the system
doesn't already define them.
* libnautilus-extensions/nautilus-volume-monitor.c:
Add Solaris compatible changes to the volume monitor, making
it build and function properly on Solaris.
2001-02-22 Dan Mueth <dan@eazel.com>
reviewed by: Pavel Cisler <pavel@eazel.com>
Generally, I removed old cruft, added COPYING-DOCS, added
a new HTML doc (nautilus-quick-reference), and updated
the build stuff and spec file as necessary.
* COPYING-DOCS: This is the GNU FDL, similar to COPYING. It
should be installed with all modules with FDL'd docs.
* Makefile.am: Added COPYING-DOCS to EXTRA_DIST
* configure.in: Added nautilus-quick-reference
* help/Makefile.am: Added nautilus-quick-reference
* help/htmldocs.make: Created this file. This is the makefile
to suck in for html docs. Be sure to use index.html as
your primary HTML file and put PNG images into figures/
This stuff is Vera's new Nautilus Quick Reference doc in HTML
format. <vera@eazel.com> I purposefully left out two screenshots
with the Eazel logo in them.
* help/nautilus-quick-reference/C/Makefile.am: added
* help/nautilus-quick-reference/C/figures/colors_small.png: added
* help/nautilus-quick-reference/C/figures/emblems_small.png: added
* help/nautilus-quick-reference/C/figures/ff_small.png:
* help/nautilus-quick-reference/C/figures/find_small.png:
* help/nautilus-quick-reference/C/figures/locbar_small.png:
* help/nautilus-quick-reference/C/figures/menubar_small.png:
* help/nautilus-quick-reference/C/figures/music_small.png:
* help/nautilus-quick-reference/C/figures/sidebar_small.png:
* help/nautilus-quick-reference/C/figures/softcat.png:
* help/nautilus-quick-reference/C/figures/storage.png:
* help/nautilus-quick-reference/C/figures/themes_small.png:
* help/nautilus-quick-reference/C/index.html:
* help/nautilus-quick-reference/C/nautilus-quick-reference-C.omf:
* help/nautilus-quick-reference/Makefile.am:
* help/nautilus-user-manual/C/nautilus-user-manual-C.omf: Updated
* nautilus.spec.in: Added OMF files, Quick Ref, and COPYING-DOCS
Removed this old stuff:
* user-guide/C/Makefile.am:
* user-guide/C/html/license.html:
* user-guide/C/img/custicon.png:
* user-guide/C/img/full.png: removed
* user-guide/C/img/locbar.png:
* user-guide/C/img/player.png:
* user-guide/C/img/prefmenu.png:
* user-guide/C/img/sidebar.png:
* user-guide/C/img/viewmenu.png:
* user-guide/C/nautilus-C.omf:
* user-guide/C/sgml/nautilus.sgml:
Added this notice so people don't add stuff in user-guide/
* user-guide/NOTICE:
Busted the Tinderbox again! (Another attempt to fix it.)
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_self_check_file_utilities): Changed the tests
to match reality.
* configure.in:
* user-guide/Makefile.am:
Turned the user guide off again. Dan explained that this
is what he meant to do (I got it wrong).
2001-02-21 Dan Mueth <dan@eazel.com>
reviewed by: Mike Fleming <mfleming@eazel.com>
The old help tree, "user-guide/*", was broken in several ways.
It assumed there was only one doc, called "user-guide", whereas
we have multiple docs. Plus it had odd subdirectories which
are unusual and we don't want to use. Plus the convention is
to put all docs in a directory called "help" (modelled after
$prefix/gnome/help) and figures in a subdir called "figures".
So, I'm creating a new tree for this called "help" and installing
the latest version of Vera's Nautilus User Manual with
screenshots. I also added a nifty makefile, help/docs.make,
which we will use for all the SGML docs and translations
to keep things tidy and working with low maintenance.
* Makefile.am: Including help/
* configure.in: Including help/ and subdirs
* help/Makefile.am: added
* help/docs.make: added nifty makefile to be used by all
SGML docs and translations of SGML docs
* help/nautilus-user-manual/C/Makefile.am: added
* help/nautilus-user-manual/C/figures/custicon.png: added
* help/nautilus-user-manual/C/figures/full.png: added
* help/nautilus-user-manual/C/figures/link.png: added
* help/nautilus-user-manual/C/figures/locbar.png: added
* help/nautilus-user-manual/C/figures/noread.png: added
* help/nautilus-user-manual/C/figures/nowrite.png: added
* help/nautilus-user-manual/C/figures/part.png: added
* help/nautilus-user-manual/C/figures/player.png: added
* help/nautilus-user-manual/C/figures/prefmenu.png: added
* help/nautilus-user-manual/C/figures/sidebar.png: added
* help/nautilus-user-manual/C/figures/viewmenu.png: added
* help/nautilus-user-manual/C/figures/viewmusic.png: added
* help/nautilus-user-manual/C/nautilus-user-manual-C.omf: added
* help/nautilus-user-manual/C/nautilus-user-manual.sgml: added
* help/nautilus-user-manual/Makefile.am: added
* user-guide/Makefile.am: turned off old user guide installation
* 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.
fixed bug 5599, make objects in $USER/Nautilus localizable. Fixed
by creating a linkset to instead the Computer and Services icons,
and removing the top directory and associated code, since it's no
longer needed.
* configure.in:
removed data/top
* data/Makefile.am:
removed top directory
* data/linksets/Makefile.am:
* data/linksets/home.xml:
added new home linkset
* data/top/.cvsignore:
* data/top/.nautilus-metafile.xml:
* data/top/Computer:
* data/top/Makefile.am:
* data/top/Services:
removed files from top
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory):
changed it to no longer copy the top directory; instead,
install the new linkset
* po/POTFILES.in:
added home.xml to the files to be localized
the installer can get built by just an extra flag to
configure rather than its own script.
* Makefile.am:
Add nautilus-installer to SUBDIRS
* acconfig.h:
Add ENABLE_INSTALLER to things that can be configured
* configure.in:
Add --enable-installer command line flag. Set PACKAGE_SYSTEM_OBJECT
and PACKAGE_SYSTEM_SOURCE based on whether rpm 3 or 4 is installed.
Create nautilus-installer Makefiles
* nautilus-installer/Makefile.am:
Remove things that Robey said were no longer used. Add libtrilobite
and install-lib to SUBDIRS that need to be built.
* nautilus-installer/install-lib/Makefile.am:
New Makefile that builds a second copy of the installer libraries
with weird flags as needed by the installer.
* nautilus-installer/libtrilobite/Makefile.am:
New Makefile that builds a second copy of the trilobite libraries
with weird flags as needed by the installer.
* nautilus-installer/src/Makefile.am:
Do in the Makefile what formerly had been done in link.sh (build
the installer, and create a self-extracting version of it).
* nautilus-installer/src/create-eazel-installer.sh:
Script, adapted from what's in link.sh, to create a self-extracting
installer.
* configure.in:
Move -lrpmio earlier in the RPM_LIBS line, because the bootstrap
installer is picky about it. Also, generate the installer's
Makefile during the 'configure' stage.
* nautilus-installer/src/Makefile.am:
Use predefined macros for most libraries (still keeping them to
the mininum) and get libtool/automake to do the heavy lifting part
of making a static binary.
* nautilus-installer/src/callbacks.c: (druid_cancel),
(druid_finish):
Try to avoid unref'ing or using the installer object during button
callbacks if it hasn't been created yet.
* nautilus-installer/src/installer.c: (eazel_installer_finalize):
Don't unref the service object, it causes assertions.
* nautilus-installer/src/link.sh:
Make it so that (at least for me) the bootstrap installer will
build on a RH70 system now.
These are some recent PR3 fixes
Bug 6009, 5978 and 5979
* components/services/install/command-line/eazel-test-packsys.c:
(test_is_installed), (main):
Code to test changes made to eazel_package_system_is_installed.
* components/services/install/lib/Makefile.am:
Fix for 5978.
* components/services/install/lib/eazel-package-system-rpm3.c:
(rpmmonitorpiggybag_new), (make_rpm_argument_list),
(monitor_rpm_process_pipe_percent_output),
(rpm_packagedata_fill_from_file),
(eazel_package_system_rpm3_install_uninstall):
Fix for 5978 and 5979
* components/services/install/lib/eazel-package-system-rpm4.c:
Fix for 5978
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_finalize):
See bug 6007
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_matches_versioning),
(eazel_package_system_is_installed):
Fix for 6009
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
Removed debug output
* configure.in:
Fix for 5979
2001-01-24 Dan Mueth <dan@eazel.com>
* user-guide/gnufdl: Adding this directory for the GNU FDL.
This is a temporary solution. When GNOME 1.4 is out, we
will have gnome-core installing 'fdl' and we will point to
that instead of 'gnufdl'.
* user-guide/C/: Removing old docs stuff, and adding Vera's
new docs.
* 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).
removed the "vector" theme at Arlo's request, and many of the
least popular patterns
* configure.in:
removed vector from the build
* data/browser.xml:
* data/patterns/Makefile.am:
removed lots of specific patterns
* icons/Makefile.am:
removed vector theme
* icons/ardmore/ardmore.xml:
* icons/gnome/gnome.xml:
fixed bug 5868, GNOME theme has white text on light background, by
setting the text color in the theme
* icons/vector/.cvsignore:
* icons/vector/Makefile.am:
* icons/vector/i-directory-accept.svg:
* icons/vector/i-directory.svg:
* icons/vector/i-regular.svg:
* icons/vector/i-regular.xml:
* icons/vector/vector.xml:
the vector theme is no more
* nautilus.spec.in:
removed the vector theme from the rpm spec file
* po/POTFILES.in:
removed the vector theme from the localized files
* src/nautilus-property-browser.c: (make_property_tile),
(nautilus_property_browser_get_category_width):
tweaked the layout
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_theme_changed):
changed default shadow to 1 pixel
* src/nautilus-theme-selector.c: (done_button_callback),
(nautilus_theme_selector_initialize):
added a done button like the property browser
made the real default theme, based on what was formerly the
eazel theme. This isn't quite finished yet (the sidebar tabs
arent right yet, Arlo needs to add the desktop, plus some other
details), and some of the other themes might be slightly wrong
from this change, but I'll fix everything up soon.
* configure.in:
* icons/Makefile.am:
* icons/default.xml:
* icons/gnome/gnome.xml:
* icons/i-directory-accept.xml:
* icons/i-directory.xml:
* icons/sidebar_tab_pieces/.cvsignore:
* icons/sidebar_tab_pieces/Makefile.am:
* plus lots of images
(only the first 2 changes, others unreviewed)
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_destroy): Fix problem that might be what's killing the
Tinderbox. We need to disconnect the signal handlers we add to the
trash monitor.
* src/file-manager/fm-directory-view.c: (load_location_callback):
Always reload when navigating. This smooths over many anomalies,
and hopefully will fix the nasty problems described in bug 4873
(files created in home directory (outside Nautilus) don't show up
when I navigate there) and bug 4963 (starting the search service
while running nautilus doesn't let you run searches).
* configure.in: Fix gnome-http check that was previously just
checking whether gnome-config was there or not!
* src/nautilus-application.c: (nautilus_application_startup):
Replace incorrect references to nautilus.oafinfo to instead
mention Nautilus_Shell.oaf.
* test/.cvsignore: Add a generated file.
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line),
(eazel_download_progress_signal), (tree_helper_helper),
(tree_helper), (something_failed):
Fixed 5754 (add --cgi-path), made some modifications needed for
the change signals for ei2. Also added --noauth that disables
eazelauth.
Now also takes --server=host[:port] args.
* components/services/install/command-line/eazel-test-packsys.c:
(test_version_compare), (test_query), (test_query_owns_mem),
(main):
Wrote some more tests.
* components/services/install/idl/trilobite-eazel-install.idl:
Added the file_conflict_check call, not implemented yet.
Also added the cgi, debug and auth attributes.
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install__set_debug), (impl_Eazel_Install__get_debug),
(impl_Eazel_Install__set_auth), (impl_Eazel_Install__get_auth),
(impl_Eazel_Install__set_cgi), (impl_Eazel_Install__get_cgi),
(eazel_install_get_epv):
Setup the cgi, debug and auth in the vtable.
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_start_transaction):
Some code moved to logic2.c
* components/services/install/lib/eazel-install-logic2.h:
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (check_md5_on_files),
(prune_failed_packages_helper), (prune_failed_packages),
(eazel_install_check_existing_packages), (get_softcat_info),
(get_package_info_foreach), (dedupe_foreach_depends),
(dedupe_foreach), (dedupe), (is_satisfied),
(is_satisfied_features), (check_dependencies_foreach),
(is_filename_probably_a_directory), (check_tree_helper),
(check_tree_for_conflicts), (check_no_two_packages_has_same_file),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency), (do_file_conflict_check),
(do_dep_check_internal), (do_dep_check), (download_packages),
(clean_up_dedupe_hash), (clean_up_dep_ok_hash), (execute),
(install_packages_helper), (install_packages):
Finished first hit at ei2 install, seems to work now. This closes
a lot of the bugs with ei2 in the comment.
* components/services/install/lib/eazel-install-metadata.c:
(eazel_install_configure_softcat):
Default to port 80, not 443.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_emit_preflight_check):
Uses ei2 for install, still uses logic.c for uninstall and revert.
emit_preflight no longer checks for toplevel if ei2 is set.
* components/services/install/lib/eazel-install-private.h:
Wrote comments for the two ei2 hashes.
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_cases_foreach),
(get_detailed_uninstall_cases_foreach),
(eazel_install_problem_tree_to_case),
(eazel_install_problem_tree_to_string):
More debug info and uses gtk_object_unref for deallocating
packagedata structures.
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_file):
If the file is already present, still emit signals.
* components/services/install/lib/eazel-install-public.h:
Moved some enums here.
* components/services/install/lib/eazel-install-xml-package-list.c:
(eazel_install_packagedata_to_xml):
Add ->depends to the SOFT_DEPEND field.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_compare_version):
* components/services/install/lib/eazel-package-system.h:
* components/services/install/lib/eazel-package-system-private.h:
* components/services/install/lib/eazel-package-system-rpm3-private
.h:
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_packagedata_fill_from_header),
(eazel_package_system_rpm3_execute),
(eazel_package_system_rpm3_compare_version),
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-rpm4.c:
(eazel_package_system_implementation):
* components/services/install/lib/eazel-package-system-skeleton.c:
(eazel_package_system_skeleton_compare_version),
(eazel_package_system_implementation):
Added the compare_version call to EazelPackageSystem (fixes bug
5663).
Also use free instead of xfree to maintain rpm 4.0.2
compatibility.
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(at_exit_package_data_info), (categorydata_new),
(categorydata_destroy_foreach), (packagedata_initialize),
(packagedata_finalize), (packagedependency_destroy),
(packagedata_copy), (packagedata_destroy),
(packagedata_get_readable_name), (packagedata_add_pack_to),
(packagedata_add_pack_to_breaks),
(packagedata_add_pack_to_modifies),
(flatten_packagedata_dependency_tree_helper),
(flatten_packagedata_dependency_tree):
Wrote some functions to convert a packagedata tree into a flat
structure based on ->depends.
Some nifty atexit debug output showing non-deallocated packagedata
structures.
More gtk_object_ref/unref repair.
Fixed get_readable_name (a y2k bug!!)
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_install_parse_uri),
(nautilus_service_install_view_update_from_uri):
Don't set auth to TRUE when uri has host...
* configure.in:
Changed librpmio test so it works with rpm 4.0.2
fixed bug 4369, throbber frozen during long refresh, by making the
throbber a bonobo component so it's driven by its own thread.
Note that clicking on the throbber is temporarily broken; I'll
fix that soon. Also, made the frame delay be specified by the
theme and set the default to spin somewhat slower than before.
* configure.in:
* components/Makefile.am:
* components/throbber/.cvsignore:
* components/throbber/Makefile.am:
* components/throbber/nautilus-throbber.oafinfo:
added throbber component
* components/throbber/main.c: (throbber_object_destroyed),
(throbber_make_object), (main):
factory for the throbber component
* components/throbber/nautilus-throbber.c,h:
(nautilus_throbber_initialize_class), (is_throbbing),
(get_bonobo_properties), (set_bonobo_properties),
(nautilus_throbber_destroy), (nautilus_throbber_get_control),
(get_throbber_dimensions), (nautilus_throbber_initialize),
(nautilus_throbber_new), (nautilus_throbber_theme_changed),
(draw_pixbuf), (select_throbber_image), (draw_throbber_image),
(nautilus_throbber_draw), (nautilus_throbber_expose),
(nautilus_throbber_map), (bump_throbber_frame),
(nautilus_throbber_start),
(nautilus_throbber_remove_update_callback),
(nautilus_throbber_stop), (nautilus_throbber_unload_images),
(load_themed_image), (make_throbber_frame_name),
(nautilus_throbber_load_images),
(nautilus_throbber_button_press_event),
(nautilus_throbber_set_small_mode),
(nautilus_throbber_size_allocate),
(nautilus_throbber_size_request):
throbber widget for the bonobo component
* src/nautilus-window-toolbars.c: (theme_changed_callback),
(nautilus_window_initialize_toolbars):
set up throbber component in the toolbar
* src/nautilus-window.c,h: (nautilus_window_constructed),
(nautilus_window_allow_stop):
use property interface to start and stop the throbber
* icons/default.xml:
added delay specification to throbber in default theme
* nautilus-clean.sh:
clean throbber component as necessary
* src/Makefile.am:
* src/nautilus-throbber.c,h
removed old throbber widget
Fix bugs 5100 ("First time dialog" for inventory preferences) and
5099 (Need configuration preferences for inventory control). Ian
and I did a first cut at a component for inventory gathering and
upload, as well as a start on the client-side UI for this.
* components/services/Makefile.am, configure.in: Add
components/services/inventory and
components/services/inventory-view directories to build.
* components/services/install/lib/eazel-inventory-utils.c,
components/services/install/lib/eazel-inventory-utils.h: Move
these files to components/services/inventory.
* components/services/install/lib/Makefile.am: Remove from build
here.
* components/services/inventory-view/.cvsignore:
* components/services/inventory-view/Makefile.am:
* components/services/inventory-view/Nautilus_View_inventory.oaf.in
:
* components/services/inventory-view/main.c: (main):
* components/services/inventory-view/nautilus-inventory-config-page
.c: (nautilus_inventory_config_page_initialize_class),
(next_button_callback),
(nautilus_inventory_config_page_initialize),
(nautilus_inventory_config_page_new),
(nautilus_inventory_config_page_destroy):
* components/services/inventory-view/nautilus-inventory-config-page
.h:
* components/services/inventory-view/nautilus-inventory-view.c:
(nautilus_inventory_view_initialize_class),
(nautilus_inventory_view_initialize),
(nautilus_inventory_view_destroy),
(inventory_load_location_callback):
* components/services/inventory-view/nautilus-inventory-view.h:
First cut at the inventory view component. Right now it only
provides a config page, over time it may also do inventory
display.
* components/services/inventory/.cvsignore:
* components/services/inventory/Makefile.am:
* components/services/inventory/Trilobite_Service_inventory.oaf.in:
* components/services/inventory/eazel-inventory-client.c:
(gboolean_to_yes_or_no), (main):
* components/services/inventory/eazel-inventory-service.c:
(get_enabled), (impl_Trilobite_Eazel_Inventory__get_enabled),
(impl_Trilobite_Eazel_Inventory__set_enabled),
(impl_Trilobite_Eazel_Inventory__get_machine_name),
(impl_Trilobite_Eazel_Inventory__set_machine_name),
(get_warn_before_upload),
(impl_Trilobite_Eazel_Inventory__get_warn_before_upload),
(impl_Trilobite_Eazel_Inventory__set_warn_before_upload),
(impl_Trilobite_Eazel_Inventory_upload),
(eazel_inventory_service_get_epv),
(eazel_inventory_service_finalize),
(eazel_inventory_service_unref),
(eazel_inventory_service_class_initialize),
(eazel_inventory_service_create_corba_object),
(eazel_inventory_service_initialize),
(eazel_inventory_service_get_type), (eazel_inventory_service_new):
* components/services/inventory/eazel-inventory-service.h:
* components/services/inventory/eazel-inventory-utils.c:
(eazel_inventory_gconf_done), (check_gconf_init),
(eazel_create_configuration_metafile), (eazel_gather_inventory):
* components/services/inventory/main.c:
(eazel_inventory_service_factory_destroy),
(eazel_inventory_service_factory), (main):
First cut at back end inventory gathering and upload
component. Right now it uses libeazelinstall directly, it should
probably be changed to use the install/package system CORBA
component for package info.
A cut at an ability to build without Medusa, starting with a patch
that Eric Fischer wrote. This change is not fully tested.
Fixed bug 5513 ("nautilus --help" displays "Help options" twice).
* acconfig.h: Add HAVE_MEDUSA.
* configure.in: Add code to detect HAVE_MEDUSA.
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_destroy), (load_name_map_hash_table):
Added a FIXME.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-trash-file.h:
* libnautilus-extensions/nautilus-trash-file.c:
(nautilus_trash_file_initialize), (trash_destroy),
(nautilus_trash_file_initialize_class):
* libnautilus-extensions/nautilus-vfs-file.h:
* libnautilus-extensions/nautilus-vfs-file.c:
(nautilus_vfs_file_initialize), (vfs_destroy),
(nautilus_vfs_file_initialize_class):
Initial cut at breaking out the special trash version of
NautilusFile. Sadly we need this as well as
NautilusTrashDirectory.
* src/file-manager/fm-search-list-view.c:
(load_location_callback): Add _() so things get localized and put
the code to compose the indexing message inside ifdef HAVE_MEDUSA.
* src/file-manager/nautilus-indexing-info.h:
* src/file-manager/nautilus-indexing-info.c:
Put HAVE_MEDUSA ifdefs around most of this file.
(get_text_for_progress_label): Mark string for translation.
(update_progress_display): Remove code to "handle" timeout left
around after dialog is destroyed.
(update_file_index_callback): Change error messages to be more
easily localizable. Use nautilus_error_dialog instead of
gnome_error_dialog.
(timeout_remove_callback): Get rid of the timeout when the object
is destroyed.
(show_index_progress_bar): Connect handler to get rid of the
timeout when the object is destroyed.
(show_indexing_info_dialog): Move code that puts up dialog into a
new function. Also use nautilus_gtk_window_present to put up a
window. Change the NautilusLabel to use line wrapping.
(show_search_service_not_available_dialog): Put this dialog in its
own function so you can use it multiple times.
(nautilus_indexing_info_request_reindex): Put HAVE_MEDUSA around
the content of this function.
(nautilus_indexing_info_get_last_index_time): Put HAVE_MEDUSA
around the function, with a small simple implementation for the
other case.
(nautilus_indexing_info_show_dialog): Put HAVE_MEDUSA around the
function, with a small invocation of the "not available" dialog.
* src/nautilus-main.c: (main): Remove redundant AUTOHELP.
* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
Fix emblem_name storage lifetime problem.
* src/file-manager/fm-icon-view.c: Whitespace tweak.
Fix bugs 4677, 3031.
* configure.in:
* components/mozilla/Makefile.am:
Use the right RPATH flags depending on where mozilla was found.
This fixed the problem of trying to use mozilla built by
eazel-hacking instead of from RPMS.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize_class),
(mozilla_content_view_one_time_happenings),
(mozilla_content_view_setup_profile_directory):
Add support for setting up a Mozilla profile so that cookies and
cache work.
* components/services/install/lib/Makefile.am:
automake conditionals are figments of your imagination.
* configure.in:
More rpmcheck voodoo, might even make this compile on rh62 agains.
* ChangeLog
Comments about changes... duh
* 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.
Terminology change -- the window & menu item formerly known
as "Customization" are now known as "Backgrounds and Emblems";
the swatches of image formerly known as "backgrounds" are
now known as "patterns".
After 1.0 if this window acquires more varied content we will
have to redo the menu item & window label, though we will
continue to distinguish between "backgrounds" and "patterns",
since "backgrounds" encompasses colors as well as images.
Note that this change will only appear in full (and your
"Backgrounds and Emblems" window work in full) after you've
deleted your ~/.nautilus directory and let Nautilus make you
a new one.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
(file_opened_callback): Set vfs_handle to NULL on failure.
(load_done): Don't try to close pixbuf loader if it's NULL.
These two bugs were flushed out by a temporary state on my
machine where the theme was using a non-existent file for
its background image.
* data/backgrounds/Makefile.am: removed this file, as well as
all the image files in this directory.
* data/patterns/.cvsignore:
* data/patterns/Makefile.am: New files, copied from data/backgrounds.
Also copied over all image files from data/backgrounds, which is now
obsolete.
* data/Makefile.am: Changed "backgrounds" subdir to "patterns"
* configure.in: changed data/backgrounds/Makefile to
data/patterns/Makefile
* nautilus.spec.in: Changed regular expressions with "backgrounds"
to use "patterns"
* data/browser.xml: Changed "background" to "pattern" in the
terminology in this file, which gets installed into ~/.nautilus.
You have to remove your ~/.nautilus to get a fresh one of these;
without doing so the "Backgrounds and Emblems" window will be
confused (won't crash, will use wrong terminology and sometimes
have blank content).
* icons/ardmore/ardmore.xml:
* icons/arlo/arlo.xml:
* icons/default.xml:
* icons/eazel/eazel.xml:
* icons/gnome/gnome.xml:
* icons/vector/vector.xml:
* icons/villanova/villanova.xml: Changed "backgrounds" directory
references to "patterns"
* libnautilus-extensions/nautilus-customization-data.h:
* libnautilus-extensions/nautilus-customization-data.c:
(nautilus_customization_data_new),
(nautilus_customization_data_get_next_element_for_display),
(nautilus_customization_data_destroy),
(nautilus_customization_make_pattern_chit): Change "background" to
"pattern" in many places, including one public function name.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_property_browser_drag_data_get), (make_drag_image),
(make_color_drag_image), (remove_pattern), (remove_emblem),
(nautilus_property_browser_remove_element),
(add_pattern_to_browser), (add_new_pattern),
(add_new_button_callback), (element_clicked_callback),
(make_properties_from_directories), (add_reset_property),
(nautilus_property_browser_update_contents),
(nautilus_property_browser_set_category): Change "background" to
"pattern" in many places. Also change window title from
"Customization Options" to "Backgrounds and Emblems".
* src/nautilus-shell-ui.xml: Change "Customization..." to
"Backgrounds and Emblems...".
* test/test-nautilus-background.c: (main):
* test/test-nautilus-font.c: (create_named_background):
* test/test-nautilus-label.c:
(widget_set_nautilus_background_image): Changed test code that was
using sample images from backgrounds directory to look in patterns
directory instead.
implementated data-driven framework for text view services. The text
view dynamically builds the services menu by iterating a directory
looking for xml files. Added service definition files for two sample
services. It only supports passing the selection to the service;
passing the entire document is coming soon.
* components/text/Makefile.am:
include the services directory in the build
* configure.in:
* components/text/services/.cvsignore:
* components/text/services/Makefile.am:
build stuff for services directory
* components/text/services/google.xml:
* components/text/services/webster.xml:
definition files for our twp sample services
* components/text/nautilus-text-view-ui.xml:
removed hardwired service menu items
* components/text/nautilus-text-view.c: (handle_service_menu_item),
(service_menu_item_parameters_new),
(service_menu_item_parameters_free), (add_one_service),
(add_services_to_menu), (nautilus_text_view_build_service_menu),
(merge_bonobo_menu_items):
implemented framework to dynamically load service definitions and
execute them when their menu item is selected.
2000-11-28 Rebecca Schulman <rebecka@eazel.com>
Fixes for bugs 2376, 4553, and 3799
This should make the complex search bar usable
and visible.
reviewed by: Maciej Stachowiak <mjs@eazel.com>
* configure.in:
* libnautilus-extensions/Makefile.am:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/.cvsignore:
* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c:
(gtk_hwrap_box_get_type), (gtk_hwrap_box_class_init),
(gtk_hwrap_box_init), (gtk_hwrap_box_new), (get_child_requisition),
(_gtk_hwrap_box_size_request), (get_layout_size),
(gtk_hwrap_box_size_request), (reverse_list_row_children),
(layout_row), (layout_rows), (gtk_hwrap_box_size_allocate):
* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h:
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
(gtk_wrap_box_get_type), (gtk_wrap_box_class_init),
(gtk_wrap_box_init), (gtk_wrap_box_set_arg),
(gtk_wrap_box_get_arg), (gtk_wrap_box_set_child_arg),
(gtk_wrap_box_get_child_arg), (gtk_wrap_box_child_type),
(gtk_wrap_box_set_homogeneous), (gtk_wrap_box_set_hspacing),
(gtk_wrap_box_set_vspacing), (gtk_wrap_box_set_justify),
(gtk_wrap_box_set_line_justify), (gtk_wrap_box_set_aspect_ratio),
(gtk_wrap_box_pack), (gtk_wrap_box_reorder_child),
(gtk_wrap_box_query_child_packing),
(gtk_wrap_box_query_child_forced_break),
(gtk_wrap_box_set_child_packing),
(gtk_wrap_box_set_child_forced_break),
(gtk_wrap_box_query_line_lengths), (gtk_wrap_box_map),
(gtk_wrap_box_unmap), (gtk_wrap_box_draw), (gtk_wrap_box_expose),
(gtk_wrap_box_add), (gtk_wrap_box_remove), (gtk_wrap_box_forall):
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h:
Copied and pasted the wrapping hbox from the Gimp.
I made a few modifications, including some resizing requests,
when the chosen size is not the right one for the actual
space available. Sizing wrapping boxes is a tricky problem
with gtk, because they have nonstandard sizing requests
(they can request x or y or z) and my solution is probably
not optimal, since some of the sizing adjustments are visible
on screen. However, a better fix is a lot more time consuming,
and should probably wait for past 1.0.
* src/nautilus-complex-search-bar.c:
(search_bar_criterion_type_changed_callback),
(queue_search_bar_resize_callback),
(nautilus_complex_search_bar_initialize_class),
(nautilus_complex_search_bar_initialize), (real_activate),
(nautilus_complex_search_bar_queue_resize),
(attach_criterion_to_search_bar),
(unattach_criterion_from_search_bar),
(load_find_them_pixmap_widget), (more_options_callback),
(fewer_options_callback), (update_options_buttons_state):
* src/nautilus-complex-search-bar.h:
Changed the criteria layout to be in a vbox instead of a table,
so that we can insert wrapping hboxes. Added a new function
that will effectively resize the complex search bar, and we call
it at appropriate points. Switched the packing order of the
buttons, since the wrap box has only one packing function, and it is
a pack_start, rather than a pack_end function
* src/nautilus-search-bar-criterion-private.h:
* src/nautilus-search-bar-criterion.c: (queue_bar_resize_callback),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_show),
(nautilus_search_bar_criterion_hide),
(nautilus_search_bar_criterion_update_valid_criteria_choices),
(hide_date_widget), (show_date_widget), (make_emblem_value_menu):
Put the criteria into wrapping boxes as part of their creation, and
trigger a resize of the complex search bar when the wrapping box
complains about its allocated size.
added a new text view component with zooming, settable fonts and
text-oriented services. The services are currently hardwired but there
will be a framework soon. You may have to delete your
/gnome/share/oaf/text-plain.oafinfo to see it in action.
* configure.in:
* components/Makefile.am:
* components/text/.cvsignore:
* components/text/Makefile.am:
build stuff for the new text view
* components/text/main.c: (text_view_object_destroyed),
(text_view_make_object), (main):
factory object for the text view
* components/text/nautilus-text-view-ui.xml:
xml file defining the menus for the text view
* components/text/nautilus-text-view.oafinfo:
oaf definitions for the text view
* components/text/nautilus-text-view.h:
interface file for the text view
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize_class),
(nautilus_text_view_initialize), (detach_file),
(nautilus_text_view_destroy),
(nautilus_text_view_get_nautilus_view),
(nautilus_text_view_update), (nautilus_text_view_load_uri),
(text_view_load_location_callback),
(nautilus_text_view_update_font), (get_selected_text),
(text_view_search_callback), (text_view_lookup_callback),
(nautilus_text_view_set_font), (handle_ui_event),
(merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level),
(nautilus_text_view_bump_zoom_level), (zoomable_zoom_in_callback),
(zoomable_zoom_out_callback), (zoom_index_from_float),
(zoomable_set_zoom_level_callback),
(zoomable_zoom_to_fit_callback):
implementation for the text view
* libnautilus-extensions/nautilus-icon-container.c:
(lay_down_icons_horizontal):
fixed bug 3485, icon layout not using all of the available space, by tweaking the
code to not require the extra space between the columns
buddy: Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix to make --disable-eazel-services work, (4722), it no
longer checks for rpm and ammonite, nor tries to build
rpmview.
* Makefile.am:
* configure.in:
* helper-scripts/.cvsignore:
* helper-scripts/Makefile.am:
* helper-scripts/nautilus-verify-rpm.sh:
Add a place to put helper-scripts.
* helper-utilities/error-dialog/Makefile.am:
Dont link in with Nautilus libraries and dependencies.
* helper-utilities/error-dialog/nautilus-error-dialog.c:
(find_message_label), (find_message_label_callback),
(show_message_box), (show_ok_box), (nautilus_error_dialog),
(nautilus_yes_no_dialog), (main):
Add support for specifying button labels on the command line.
* src/run-nautilus:
Call the nautilus rpm verification script and bail if it fails.
* 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.
* configure.in:
* helper-utilities/Makefile.am:
* helper-utilities/error-dialog/.cvsignore:
* helper-utilities/error-dialog/Makefile.am:
* helper-utilities/error-dialog/nautilus-error-dialog.c: (main):
* nautilus.spec.in:
Add a error dialog helper utility that can be called from shell
scripts to display errors to the user.
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
Pavel made me do this at gun point. Make the links activate on
mouse up not down.
* Makefile.am:
Add applets to SUBDIRS if needed.
* applets/Makefile.am:
Tiny bit of cleanup.
* configure.in:
Define HAVE_APPLETS only if the applets devel libs are found by
gnome-config.
2000-10-31 Mathieu Lacage <mathieu@eazel.com>
add new directories.
* applets/.cvsignore:
* applets/launcher/.cvsignore:
* applets/Makefile.am:
* applets/launcher/Makefile.am:
stupid applet which is used during installation
to display a nautilus icon on the user's panel.
* applets/launcher/nautilus-icon-applet.c:
(applet_change_pixel_size), (main):
add checks for the libapplet library.
* configure.in:
directory often crashes).
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_for_each): The function was iterating
some icons twice. All the icons on the new_icons list are also on
the icons list.
(icon_destroy): Also be sure to remove the icon from the new_icons
list if it happens to be destroyed while still on that list.
* configure.in:
* Makefile.shared:
Got rid of the shared part of the code to generate .xml.h
files. It's no longer needed since the po directory takes care of
everything itself.
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* components/services/summary/nautilus-view/Makefile.am:
* libnautilus/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Got rid of the per-directory part of the code to generate .xml.h
files.
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
Got rid of the checked-in copies of the .xml.h files. The worst
part!
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_rpm_set_settings):
Output which rpmrc file I read.
* configure.in:
Attempt at fixing the install view breaking on rpm builds and not
eazel-hacking builds.
added a new theme from Susan
* configure.in:
* icons/Makefile.am:
* icons/villanova/.cvsignore:
* icons/villanova/Makefile.am:
* icons/villanova/villanova.xml:
* icons/villanova/*.png:
moved the eazel throbber into the default theme; moved Arlo's throbber
into his theme and restored the generic throbber to the gnome theme.
Updated the theme files to reflect this.
* configure.in:
Some code to test for rpm version. We require 3.0.4. If it fucks
up, feel free to revert.
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-object.c:
Moved the DEFAULT_RPM_DB_ROOT into -private.h
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Code so you can call the query function directly
(EAZEL_INSTALL_SLIM/NO_CORBA)
* components/services/install/lib/eazel-install-types.c:
(packagedata_fill_from_rpm_header):
Moved support for rpm < 3.0.4
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c: (begin_install):
* nautilus-installer/src/installer.c: (insert_info_page),
(create_window), (check_system), (more_check_system),
(eazel_installer_initialize):
If eazel-hacking is installed, offer to remove it.
* Makefile.shared: Fix extra dependency that was causing the xml.h
files to be generated too often.
* configure.in: Fix code that detects the gcc options to work even
with -O on.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(view_frame_loaded), (view_frame_failed),
(nautilus_view_frame_handle_client_destroy),
(nautilus_view_frame_handle_client_gone),
(nautilus_view_frame_new), (check_if_view_is_gone),
(nautilus_view_frame_set_to_component),
(nautilus_view_frame_get_is_underway):
Revamp set of signals to be easier to understand. Handle all
failures uniformly,
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (change_selection),
(nautilus_window_update_for_new_location),
(nautilus_window_has_really_changed),
(nautilus_window_set_state_info),
(nautilus_window_set_sidebar_panels),
(zoom_level_changed_callback), (get_history_list_callback),
(change_selection_callback), (change_status_callback),
(failed_callback), (load_underway_callback),
(load_complete_callback), (open_location_callback),
(open_location_in_new_window_callback), (title_changed_callback),
(nautilus_window_connect_view), (nautilus_window_disconnect_view):
Make more of the view management private to this file. Use the
signals by their new names. Disconnect all the signals, not just
the error-related ones.
* src/nautilus-window.c:
(nautilus_window_set_content_view_widget): Updated the debugging
check to do it with the new Bonobo UI calls.
* components/services/summary/
nautilus-view/nautilus-summary-view.c
: (generate_summary_form), (generate_login_dialog),
(nautilus_summary_view_load_uri), (service_tab_selected_callback):
added image-based tabs to the summary view. Also, fixed problem where
the throbber kept spinning until the login dialog was dismissed by
making it a non-modal dialog by refraining from calling gnome_run_dialog
Currently, only the service tabs have been converted but the update
tab is coming soon.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-tabs.c:
(nautilus_tabs_initialize_class), (nautilus_tabs_initialize),
(nautilus_tabs_new), (tab_item_destroy), (tab_item_destroy_cover),
(nautilus_tabs_destroy), (nautilus_tabs_unload_tab_pieces),
(load_tab_piece), (nautilus_tabs_load_tab_pieces),
(nautilus_tabs_hit_test), (measure_height), (recalculate_size),
(nautilus_tabs_size_request), (draw_tab_piece_aa),
(draw_pixbuf_tiled_aa), (allocate_cleared_pixbuf),
(measure_tab_name), (draw_tab_label), (draw_all_tabs),
(tab_item_find_by_name), (nautilus_tabs_expose),
(nautilus_tabs_draw), (nautilus_tabs_add_tab),
(nautilus_tabs_remove_tab), (nautilus_tabs_prelight_tab),
(nautilus_tabs_select_tab), (nautilus_tabs_press_event),
(nautilus_tabs_leave_event), (nautilus_tabs_motion_event):
* libnautilus-extensions/nautilus-tabs.h:
added a new class for the fancy Arlo tabs in the summary view,
based on the sidebar tabs.
* configure.in:
* components/services/summary/
nautilus-view/Makefile.am:
* components/services/summary/
nautilus-view/icons/.cvsignore:
* components/services/summary/
nautilus-view/icons/Makefile.am:
* components/services/summary/
nautilus-view/icons/gray_tab_pieces/.cvsignore:
* components/services/summary/
nautilus-view/icons/gray_tab_pieces/*.png
added Arlo's new tab images for the summary view
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize), (add_new_button_callback),
(done_button_callback):
added a done button to the property dialog to make it easier to
dismiss it.
* configure.in:
If no bonobo-ui-extract, AC_MSG_ERROR rather then cryptic failure
during compile.
* libnautilus/Makefile.am:
Removed some evil blankspace
* po/POTFILES.in
Had to remove nautitlus-mozilla-ui.xml.h, since it's a conditional
build, and eg. is not built on tinderbox.eazel.com. Better fix
will have to come later, need new rpms' in softcat.
2000-10-19 Kjartan Maraas <kmaraas@gnome.org>
* */Makefile.am: Feeble attempt to hook up generation
of .h files from the *-ui.xml files to get them included
in the translations. This will need to be done in a better
way I guess.
* configure.in: Added a check for bonobo-ui-extract.
* acconfig.h:
* configure.in:
Define the build timestamp only if given in the environment.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_build_timestamp):
* libnautilus-extensions/nautilus-file-utilities.h:
New function to obtain the build timestamp.
* src/nautilus-window-manage-views.c:
(window_set_title_with_timestamp), (update_title):
* src/nautilus-window-menus.c: (get_about_box_timestamp_string),
(help_menu_about_nautilus_callback):
Display the build timestamp in both the about box and window
title. This only happens if the build timestamp is set at
compile time.
* 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.
* src/nautilus-throbber.c: (bump_throbber_frame),
(nautilus_throbber_load_images):
added support for throbbers with a different number of frames
by adding a frame count fetched from the theme data
* configure.in:
* icons/eazel/Makefile.am:
* icons/eazel/throbber/.cvsignore:
* icons/eazel/throbber/Makefile.am:
* icons/eazel/throbber/*.png:
added a eazel logo throbber to the eazel theme
* icons/eazel/eazel.xml:
* icons/default.xml:
* icons/gnome/gnome.xml:
added the appropriate frame count to the relevant themes.
2000-10-10 Mathieu Lacage <mathieu@eazel.com>
fix small buggy with fix from ramiro: make sure mozilla
loads local fiels through its own file library, not gnome-vfs.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_is_uri_handled_by_mozilla):
autoconf magic for the documentation
* configure.in:
* Makefile.am:
* user-guide/C/Makefile.am:
* user-guide/Makefile.am:
actual html/jpg/css documentation.
* user-guide/C/html/*:
* components/mozilla/Makefile.am:
* components/mozilla/eazel-protocol-handler/.cvsignore:
* components/mozilla/eazel-protocol-handler/Makefile.am:
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.h:
* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.cpp:
* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.h:
* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize):
* configure.in:
Remove the eazel protocol handler monstrosity. We have a better
way to do this using M18 and using the DOM to peek into the document.
needed to compile and run, but there are many things wrong
visually that may take a while to get fixed.
* src/nautilus-window-menus.c: (file_menu_new_window_callback),
(file_menu_close_window_callback),
(file_menu_close_all_windows_callback),
(file_menu_toggle_find_mode_callback),
(file_menu_web_search_callback), (edit_menu_undo_callback),
(edit_menu_cut_callback), (edit_menu_copy_callback),
(edit_menu_paste_callback), (edit_menu_clear_callback),
(go_menu_back_callback), (go_menu_forward_callback),
(go_menu_up_callback), (go_menu_home_callback),
(go_menu_forget_history_callback), (view_menu_reload_callback),
(view_menu_show_hide_sidebar_callback),
(view_menu_show_hide_tool_bar_callback),
(view_menu_show_hide_location_bar_callback),
(view_menu_show_hide_status_bar_callback),
(nautilus_window_update_show_hide_menu_items),
(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
(view_menu_zoom_normal_callback),
(bookmarks_menu_add_bookmark_callback),
(bookmarks_menu_edit_bookmarks_callback),
(user_level_customize_callback), (customize_callback),
(change_appearance_callback), (help_menu_about_nautilus_callback),
(help_menu_nautilus_feedback_callback), (switch_to_user_level),
(user_level_menu_item_callback), (append_placeholder),
(append_separator), (append_bookmark_to_menu),
(create_menu_item_from_node), (remove_bookmarks_after),
(remove_underline_accelerator_from_menu_title),
(new_top_level_menu), (add_user_level_menu_item),
(nautilus_window_initialize_menus),
(nautilus_window_update_find_menu_item),
(update_user_level_menu_items), (convert_verb_to_user_level),
(convert_user_level_to_verb), (update_preferences_dialog_title):
* src/nautilus-window.c: (nautilus_window_clear_status),
(nautilus_window_set_status), (install_status_bar),
(nautilus_window_constructed), (nautilus_window_set_arg),
(nautilus_window_get_arg), (nautilus_window_destroy),
(nautilus_window_allow_back), (nautilus_window_allow_forward),
(nautilus_window_allow_up), (nautilus_window_allow_reload),
(nautilus_window_zoom_level_changed_callback),
(nautilus_window_set_content_view_widget), (show_dock_item),
(hide_dock_item), (dock_item_showing),
(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar),
(nautilus_window_tool_bar_showing),
(nautilus_window_hide_status_bar),
(nautilus_window_show_status_bar),
(nautilus_window_status_bar_showing):
Convert to new API. Some is disabled with #ifdef UIH.
* Makefile.am:
* configure.in:
Turned off build of the idl directory, build components after src.
* components/adapter/main.c:
* components/notes/nautilus-notes.c:
* components/sample/main.c:
* libnautilus-extensions/nautilus-font-picker.c:
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-password-dialog.c:
* libnautilus-extensions/nautilus-preferences-item.c:
* libnautilus/nautilus-undo-transaction.c:
* libnautilus/nautilus-undo.c:
* src/nautilus-application.c:
* src/nautilus-history-frame.c:
* src/nautilus-link-set-window.c:
* src/nautilus-main.c:
* src/nautilus-shell.c:
* src/nautilus-sidebar.c:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
* test/test-nautilus-font-picker.c:
* test/test-nautilus-image.c: (create_font_picker_frame):
* test/test-nautilus-label.c: (create_font_picker_frame):
* test/test-nautilus-preferences.c:
* test/test-nautilus-widgets.c: (radio_group_load_it_up):
Fixed includes.
* test/test-nautilus-image.c: (create_font_picker_frame):
* test/test-nautilus-label.c: (create_font_picker_frame):
* test/test-nautilus-widgets.c: (radio_group_load_it_up):
Turned off localization of some strings in tests.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_new):
* components/adapter/nautilus-adapter-control-embed-strategy.h:
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_get):
* components/adapter/nautilus-adapter-embed-strategy.h:
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_new):
* components/adapter/nautilus-adapter-embeddable-embed-strategy.h:
Embedding code now deals with Bonobo_UIContainer, not
Bonobo_UIHandler.
* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
This code not only had to be changed to deal with the
Bonobo_UIContainer instead of Bonobo_UIHandler, but it also needed
to deal with the containing item (was remote_ui_handler), not the
local component.
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_new):
* components/adapter/nautilus-adapter.c:
BonoboContainer was renamed BonoboItemContainer.
* components/history/nautilus-history-view.c:
Remove unused BonoboUIHandler * field.
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/mozilla/Makefile.am:
* components/sample/Makefile.am:
* src/Makefile.am:
* src/file-manager/Makefile.am:
Added the necessary defines and build rules to install ui.xml
files and locate them from the C code.
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/file-manager/nautilus-search-list-view-ui.xml:
* src/nautilus-shell-ui.xml:
Added definitions of user interface.
* components/loser/content/nautilus-content-loser-ui.xml:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
* components/mozilla/nautilus-mozilla-ui.xml:
* components/sample/nautilus-sample-content-view-ui.xml:
Added empty placeholders for user interface.
* components/loser/content/nautilus-content-loser.c:
(loser_merge_bonobo_items_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(loser_merge_bonobo_items_callback):
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_merge_bonobo_items_callback):
* components/sample/nautilus-sample-content-view.c:
(sample_merge_bonobo_items_callback):
Use nautilus_view_set_up_ui to get the user interface from a
ui.xml file. Put #ifdef UIH around old code to make the items work
that still needs to be visited.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
* libnautilus-extensions/nautilus-undo-manager.c:
* libnautilus-extensions/nautilus-undo-manager.h:
* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
(remove_menu_items_callback),
(nautilus_clipboard_set_up_editable_from_bonobo_control):
* libnautilus/nautilus-clipboard.h:
Wrapped code in ifdef UIH to disable it until it can be converted
to the new Bonobo.
* libnautilus-extensions/nautilus-caption-table.h:
* libnautilus-extensions/nautilus-caption.h:
* libnautilus-extensions/nautilus-font-picker.h:
* libnautilus-extensions/nautilus-preferences-group.h:
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-radio-button-group.h:
* src/nautilus-about.h:
Got rid of any cases where headers include the omnibus header
<gnome.h>. These made the conversion process harder, which is why
we fixed them.
* libnautilus/libnautilus.h:
Got rid of cases where headers include the omnibus header
<bonobo.h>.
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c: (nautilus_view_set_up_ui):
Added a helper function to make it easy for Nautilus components to
load their UI and get it attached to the Nautilus:View object.
* nautilus.spec.in: Install the nautilus-*-ui.xml files too.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(bonobo_menu_select_all_callback),
(bonobo_menu_empty_trash_callback),
(bonobo_control_activate_callback): Convert to new API.
(fm_directory_view_get_bonobo_ui_container): Name and purpose
changed slightly for new API.
(fm_directory_view_real_merge_menus): Merge with new API.
(fm_directory_view_real_update_menus): Disabled this code for now.
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy): Destroy
icon view's own component at destroy time.
(context_menu_layout_radio_item_callback),
(append_one_context_menu_layout_item),
(fm_icon_view_create_background_context_menu_items),
(update_layout_menus): Convert to new API, disable some with
#ifdef UIH.
(get_sort_criterion_by_verb),
(set_sort_criterion_by_verb), (sort_callback): Convert to new API.
(fm_icon_view_merge_menus): Merge with new API, creating our own
UI component separate from the directory view's.
(fm_icon_view_update_menus): Disable with #ifdef UIH.
* src/file-manager/fm-search-list-view.h:
* src/file-manager/fm-search-list-view.c:
(fm_search_list_view_initialize_class),
(fm_search_list_view_initialize), (real_destroy),
(indexing_info_callback), (real_merge_menus), (real_update_menus):
Add code necessary to use a separate UI component, and disabled
the actual menu set-up code with #ifdef UIH. This required adding
a details struct.
* src/nautilus-desktop-window.c: (realize): Turned off the code
that hides the desktop elements.
* src/nautilus-window-private.h:
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
(nautilus_view_frame_new), (nautilus_view_frame_load_client):
* src/nautilus-window-manage-views.c: (load_content_view),
(nautilus_window_set_sidebar_panels):
Change to use Bonobo_UIContainer instead of Bonobo_UIHandler.
* src/nautilus-window-toolbars.c: (remember_buttons),
(nautilus_window_initialize_toolbars): Leave this code around and
change it enough to compile and run, even though it's creating a
second, invisible toolbar.
* src/nautilus-window.h: Change to be a BonoboWin subclass instead
of a GnomeApp subclass.
* configure.in:
Dont build the mozilla component for profiled builds cause the c++
compiler used for mozilla rpms is not binary compatible with the
one used for profiling.
* configure.in:
Add a --disable-mozilla-component autoconf flag so the component
can be forced disabled even if mozilla development libraries are
detected.
2000-09-21 Rebecca Schulman <rebecka@eazel.com>
Cut and pasted the gtkclist widget into
nautilus. Fixed bugzilla.eazel.com 481,
to reflect user file filtering preferences
in directory counts, and in the process,
fixed bug 480.
* configure.in:
* cut-n-paste-code/widgets/.cvsignore:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/gtkclist/.cvsignore:
* cut-n-paste-code/widgets/gtkclist/Makefile.am:
* cut-n-paste-code/widgets/gtkclist/gtkclist.c:
* cut-n-paste-code/widgets/gtkclist/gtkclist.h:
(COLUMN_FROM_XPIXEL), (LIST_WIDTH), (gtk_clist_get_type),
(gtk_clist_class_init), (gtk_clist_set_arg), (gtk_clist_get_arg),
(gtk_clist_init), (gtk_clist_construct), (gtk_clist_new),
(gtk_clist_new_with_titles), (gtk_clist_set_hadjustment),
(gtk_clist_get_hadjustment), (gtk_clist_set_vadjustment),
(gtk_clist_get_vadjustment), (gtk_clist_set_scroll_adjustments),
(gtk_clist_set_shadow_type), (gtk_clist_set_selection_mode),
(gtk_clist_freeze), (gtk_clist_thaw),
(gtk_clist_column_titles_show), (gtk_clist_column_titles_hide),
(gtk_clist_column_title_active), (gtk_clist_column_title_passive),
(gtk_clist_column_titles_active),
(gtk_clist_column_titles_passive), (gtk_clist_set_column_title),
(gtk_clist_get_column_title), (gtk_clist_set_column_widget),
(gtk_clist_get_column_widget),
(gtk_clist_set_column_justification),
(gtk_clist_set_column_visibility),
(gtk_clist_set_column_resizeable),
(gtk_clist_set_column_auto_resize), (gtk_clist_columns_autosize),
(gtk_clist_optimal_column_width):
* src/file-manager/Makefile.am:
Add include of the cut-n-paste-code directory,
so we can access the clist.
* libnautilus-extensions/Makefile.am:
include the new static gtkclist library
* libnautilus-extensions/nautilus-list.h:
include the cut and pasted widget instead
of the gtk one.
* libnautilus-extensions/nautilus-directory-async.c:
(get_filter_options_for_directory_count),
(start_getting_directory_counts):
Add command to get filtering options for gnome-vfs
based on user preferences. This works niftily
when preferences change thanks to the callbacks
in fm_directory_view
fixed bug 1471, need real icons for bookmark and missing bookmark,
by adding these new ones from Susan.
plus, added a new theme from Susan with realistic folders.
added a new theme for the classic GNOME icons, and made changed the
default document icons to the one's from the eazel theme that can
display embedded text. This is a step on the way toward refining
the default theme. I think Darin's recent check-in broke the
icon factory so it only displays icons from the default theme; I'll
try to fix that soon.
fix)). Also took care of bug 3145 (zillions of 'main_loops !=
NULL' assertion failures when quitting) and bug 3138 (Some code in
the icon factory is cut and pasted from elsewhere). And a few
unrelated things that came up while I was busy working on these.
* configure.in: Applied patch from Dan Winship to fix handling of
CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-icon-factory-private.h:
* libnautilus-extensions/nautilus-thumbnails.c:
* libnautilus-extensions/nautilus-thumbnails.h:
Broke out the thumbnailing code into its own source file for
clarity.
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_make_directory_and_parents):
Moved nautilus_make_directory_and_parents into a place where the
thumbnail code can share it instead of requiring its own copy.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(destroy_global_prefs_dialog), (global_preferences_get_dialog),
(nautilus_global_preferences_dialog_update),
(nautilus_global_preferences_initialize):
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_initialize_if_needed), (preferences_shutdown):
* src/nautilus-application.c: (nautilus_application_destroy):
Changed code so that it cleans up with g_atexit instead of with an
explicit shutdown call. This makes it sequence correctly with
other atexit code.
* libnautilus-extensions/nautilus-icon-canvas-item.h:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_destroy),
(nautilus_icon_canvas_item_set_attach_points),
(emblem_layout_next):
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_icon):
Added a Nautilus prefix to the EmblemAttachPoints typedef, since
it's public.
* libnautilus-extensions/nautilus-icon-factory.h:
* libnautilus-extensions/nautilus-icon-factory.c:
Changed the icon factory structure so that it will actually free
pixbufs when done with them. Made some other small fixes to the
icon factory in passing, including removing some redundant code
and fixing the logic for getting custom icons and deleting the
icon factory and g_atexit time.
* src/file-manager/fm-icon-view.c: (play_file), (preview_sound):
Restructured the logic for playing sound previews a little to get
rid of compiler warnings and close some loopholes in the old code.
* src/nautilus-main.c: (is_event_loop_needed),
(quit_if_in_main_loop), (nautilus_gtk_main_quit_all),
(event_loop_unregister), (nautilus_main_event_loop_register),
(nautilus_main_is_event_loop_mainstay),
(nautilus_main_event_loop_quit), (main): Fixed the main loop
quitting logic so that it is a bit simpler and works with the
gnome-vfs code that runs event handling after the last main loop
is gone.
2000-09-15 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2194, no scrollbars in image view
Fixed bug 2215, image viewer needs to erase background
when loading image.
I fixed these bugs by writing a new image component. Is this bad?
I don't know. What is bad is the current state of the EOG bonobo
component. I don't think it is worth our time to fix it right now.
This component will also support the zoomable interface when
Maciej finishes the work there. It is doubtful the EOG bonobo
component would have a Nautilus specific dependency.
* components/Makefile.am:
* components/image-viewer/.cvsignore:
* components/image-viewer/Makefile.am:
* components/image-viewer/io-png.c: (png_write_data_fn),
(png_flush_fn), (image_save):
* components/image-viewer/io-png.h:
* components/image-viewer/nautilus-image-view.c:
(release_pixbuf_cb), (release_pixbuf), (bod_destroy_cb),
(get_pixbuf), (render_pixbuf), (redraw_view), (configure_size),
(resize_all_cb), (view_update), (save_image_to_stream),
(load_image_from_stream), (destroy_view),
(zoomable_zoom_in_callback), (zoomable_zoom_out_callback),
(zoomable_set_zoom_level_callback),
(zoomable_zoom_to_fit_callback), (drawing_area_exposed),
(view_size_allocate_cb), (scrolled_view_size_allocate_cb),
(view_factory_common), (scaled_view_factory),
(scrollable_view_factory), (bonobo_object_factory),
(init_bonobo_image_generic_factory), (init_server_factory), (main):
* components/image-viewer/nautilus-image-view.oafinfo:
* configure.in:
New files and functions.
* configure.in: Remove websearch directory.
* nautilus.spec.in: Remove ntl-web-browser, ntl-web-search, and
websearch directory pattern.
* components/services/trilobite/sample/nautilus-view/Makefile.am:
Fix typo (SUBDIR instead of SUBDIRS).
* src/file-manager/fm-directory-view.c: (schedule_update_menus):
Only schedule an update if the menus are already merged.
Also made cosmetic changes.
2000-09-14 J Shane Culpepper <pepper@eazel.com>
* components/services/Makefile.am:
* components/services/inventory/nautilus-view/nautilus-inventory-vi
ew.c: (generate_inventory_form), (make_http_post_request),
(go_to_uri):
* components/services/startup/.cvsignore:
* components/services/startup/Makefile.am:
* components/services/startup/command-line/.cvsignore:
* components/services/startup/command-line/Makefile.am:
* components/services/startup/nautilus-view/.cvsignore:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/startup/nautilus-view/main.c:
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.c:
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.h:
* components/services/startup/nautilus-view/nautilus-service-startu
p-view.oafinfo:
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (generate_startup_form), (generate_startup_form_logo),
(generate_summary_form), (nautilus_summary_view_load_uri):
* components/services/summary/nautilus-view/nautilus-summary-view.o
afinfo:
* configure.in:
Merging startup and summary into a single view. Deleted the original
startup view. Removed inventory view from daily builds since it is
going to be moved out of the nautilus module.
Removed some invalid FIXMEs from inventory since it will be completely
rewritten.
2000-09-11 Seth Nickell <seth@eazel.com>
* configure.in:
Add checks to fix things on Solaris regarding mounting,
environment variables, and fonts.
Added tests for compiler warning flags that are not supported
with all versions of GCC.
* helper-utilities/authenticate/nautilus-authenticate-pam.c:
(pam_conversion_func):
Remove "const" from system call for compatibility with Solaris.
* libnautilus-extensions/nautilus-file.c:
(get_id_from_digit_string):
uid_t != int, so change functions converting from string to
uid_t to deal with greater bit uids properly.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_setenv), (nautilus_g_unsetenv):
Add system gnostic functions for setting and removing variables
from the environment.
* libnautilus-extensions/nautilus-scalable-font.c:
(initialize_global_stuff_if_needed):
Temporary fix to deal with the absence of "RedHat-style" font
paths on Solaris and Debian whilst font paths are still
hard-coded.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get_volume_name),
(nautilus_volume_monitor_volume_is_mounted),
(mount_volumes_update_is_mounted), (mnttab_add_mount_volume),
(mntent_add_mount_volume), (find_volumes):
Rewrite sections to use the appropriate Solaris mounting
functions if Linux-style mount/umount/mount-table manipulation
functions are not available.
* libnautilus/nautilus-view-component.idl:
* src/nautilus-view-frame-corba.c:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
Change doubles to floats to work around an ORBit problem on
Solaris wherein doubles are not correctly aligned.
* src/file-manager/fm-desktop-icon-view.c:
remove gratuitous linux specific header inclusion
* src/nautilus-first-time-druid.c: (set_http_proxy):
* src/nautilus-main.c: (main):
* src/nautilus-shell.c: (corba_restart):
(impl_Nautilus_ViewFrame_report_load_progress):
Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv
and nautilus_g_unsetenv.
* src/nautilus-window-manage-views.c:
(report_sidebar_panel_failure_to_user):
Add better error message to sidebar failures where it can't
figure out which sidebar failed. Done in order to fix null
string being passed to dialogue function which segfaulted
Nautilus on Solaris.
Yes children, your Nautilus will now run and frollick in the green,
green pasture of the multi-cpu UltraSparc.
* configure.in: Add AM_PATH_GTK check
* libnautilus/Makefile.am: include GTK_CFLAGS in INCLUDES
* libnautilus/nautilus-view.c (view_frame_call_begin): Fix yet
another screwup.
* libnautilus-adapter/nautilus-adapter-factory.idl: New IDL
interface for the special adapter component that will be used to
wrap ordinary Bonobo components to look like Nautilus::Views as
part of the solution to bugzilla.eazel.com #1994.
* libnautilus-adapter/Makefile.am: Build a library containing the
stubs and sekeletons.
* libnautilus/nautilus-view-component.idl: Some changes so this
IDL file can be included in others safely.
* libnautilus/Makefile.am: Made necessary build adjustments for
the above.
* configure.in, Makefile.am: add libnautilus-adapter directory to
build.
* components/services/install/lib/eazel-install-metadata.c:
(create_default_metadata), (create_default_configuration_metafile),
(xml_doc_sanity_checks):
Removed \n's for g_print/warnings/messages
* components/services/install/lib/eazel-install-object.c:
(eazel_install_finalize),
Changed to call parents finalize
(eazel_install_alter_mode_on_temp),
(eazel_install_lock_tmp_dir), (eazel_install_unlock_tmp_dir),
Calls to chmod all the downloaded files and the tmpdir.
(eazel_install_delete_downloads),
(eazel_install_install_packages):
Moved the deletion of downloads to a seperate call, so revert can
also reap it's benefits.
* components/services/install/lib/eazel-install-protocols.c:
(gnome_vfs_xfer_callback), (eazel_install_fetch_file),
Fixed download progress emission to only emit with amount==0 once
for gnome-vfs downloads.
Also checks for existence of package prior to download. This
should be safe once md5 checking is done, and prevents
fetch_dependencies from fetching the same file over and over
(which maybe should be solver in another way).
(eazel_install_fetch_package),
Moved the md5 checking code into eazel_install_start_transaction.
(eazel_install_fetch_package_which_provides),
Fixed evil bug I found now that i modified rpmsearch.cgi to
support ?provides= searches.
(get_url_for_package):
Fixed a packagedata_destroy_foreach call.
* components/services/install/lib/eazel-install-public.h:
Prototypes for the calls to chmod unchmod tmpdir + downloads.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_flatten_categories),
Reversed the order of list concatenation.
(install_new_packages),
Creates tmpdir, needed for reverttransaction.
(eazel_install_download_packages),
Removed the EAZEL_INSTALL_DOWNLOADS status flag, check the
downloaded_files list in private instead.
(eazel_install_monitor_rpm_propcess_pipe),
Moved a comment reg. parsing rpm --percent here.
(eazel_install_monitor_subcommand_pipe),
(eazel_install_do_transaction_md5_check),
(eazel_install_start_transaction),
Moved the md5 checking to be near the installtion routine.
(eazel_install_check_existing_packages),
Modified some strings to be more i18n friendly
(eazel_install_fetch_rpm_dependencies),
Do a check so the some packages isn't added several times.
(eazel_install_ensure_deps):
list append rather then prepend. Seems rpm isn't as nonchalant
about the order of rpm's as we were led to believe.
* components/services/install/lib/eazel-install-rpm-glue.h:
Removed the EAZEL_INSTALL_DOWNLOADS status flag, check the
downloaded_files list in private instead.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_destroy):
Made the md5 a pointer rather then char[16];
* components/services/install/lib/makefile.staticlib.in:
* components/services/trilobite/libtrilobite/makefile.staticlib.in:
* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
I needed some cpp loving to keep the gnome-vfs stuff out of
nautilus-installer.
* components/services/trilobite/sample/service/sample-service-impl.
c: (sample_service_finalize), (sample_service_unref),
(sample_service_class_initialize):
* components/services/trilobite/sample/command-line/main.c: (main):
* components/services/trilobite/sample/lib/sample-service-public.h:
* components/services/trilobite/sample/service/main.c:
(trilobite_service_factory_destroy):
Fixed the destroy mechanism's of sample-service (bug 967)
* configure.in:
Added the mystic libtrilobite/makefile/staticlib.in
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c: (begin_install),
(prep_install), (prep_finish):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (create_finish_page_good),
(create_finish_page_evil), (create_window),
(eazel_installer_initialize):
* nautilus-installer/src/link.sh:
More installer loving. Now it enables/disables the next/back
buttons in a more sane manner, plus handles lack of
package-list.xml better.
2000-09-05 Pavel Cisler <pavel@eazel.com>
* configure.in:
Remove the -Wuninitialized to unbreak the build.
(It should be part of -Wall so it's probably not needed anyhow).
* configure.in:
* data/Makefile.am:
* data/fonts/.cvsignore:
* data/fonts/Makefile.am:
* data/fonts/urw/.cvsignore:
* data/fonts/urw/Makefile.am:
* data/fonts/urw/README:
* data/fonts/urw/fonts.dir:
Add a fallback font in case no Type1 fonts are found in the
system. This font was plucked from the ghostscript-fonts-5.10a
package. See data/fonts/urw/README for more info.
* components/tree/libmain.c (tree_shlib_object_destroyed): Don't
call oaf_plugin_unuse for now, it kills stuff.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_destroy,
nautilus_tree_model_for_each_postorder): Bug fixes to avoid crashing.
* components/tree/nautilus-tree-view.c: (insert_hack_node,
remove_hack_node, freeze_if_have_hack_node): Assorted fixes to
avoid crashing or locking up when in-process.
* configure.in: Fix configure text for in-proc tree view.