1. 16 Feb, 2000 1 commit
    • Elliot Lee's avatar
      Fix warning. Update for Bonobo UIH changes. Update repo ID for Bonobo · e8c96238
      Elliot Lee authored
      
      
      * components/help/hyperbola-nav-index.c: Fix warning.
      * components/history/ntl-history-view.c: Update for Bonobo UIH changes.
      * components/html/main.c: Update repo ID for Bonobo changes.
      * src/ntl-view-bonobo-control.c: Likewise
      * src/ntl-view-bonobo-subdoc.c: Likewise
      * src/ntl-view-nautilus.c: Likewise
      * src/ntl-view.c: Only check for death every other second.
      * components/html/ntl-web-browser: Debugging printfs for now
      e8c96238
  2. 26 Jan, 2000 1 commit
    • Maciej Stachowiak's avatar
      Build with the recent Bonobo global renaming, and Havoc's changes. A patch · a26d6288
      Maciej Stachowiak authored
      	* components/help/hyperbola-main.c,
      	components/help/hyperbola-nav-tree.c,
      	components/history/ntl-history-view.c, components/html/main.c,
      	components/html/ntl-web-browser.c,
      	components/websearch/ntl-web-search.c, idl/nautilus.idl,
      	libnautilus/gnome-icon-container.c,
      	libnautilus/gnome-progressive-loader.c,
      	libnautilus/gnome-progressive-loader.h, libnautilus/libnautilus.h,
      	libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-meta-view-frame.c, libnautilus/ntl-view-frame.c,
      	libnautilus/ntl-view-frame.h, src/nautilus.h,
      	src/ntl-index-panel.c, src/ntl-view-bonobo-control.c,
      	src/ntl-view-bonobo-subdoc.c, src/ntl-view-frame-svr.c,
      	src/ntl-view-nautilus.c, src/ntl-view-private.h, src/ntl-view.c,
      	src/ntl-view.h, src/ntl-window.c, src/ntl-window.h,
      	src/file-manager/dfos-corba.h, src/file-manager/dfos-xfer.c,
      	src/file-manager/dfos-xfer.h, src/file-manager/fm-main.c: Build
      	with the recent Bonobo global renaming, and Havoc's changes. A
      	patch from Kjartan Maraas <kmaraas@online.no> and scripts from Nat
      	Friedman <nat@helixcode.com> were a very helpful starting point.
      a26d6288
  3. 25 Jan, 2000 1 commit
    • Darin Adler's avatar
      Redid drag code so that it will work if there are multiple windows · 6d5f07d8
      Darin Adler authored
      	* libnautilus/gnome-icon-container-dnd.c:
      	(create_selection_shadow):
      	(set_gnome_icon_list_selection):
      	(get_gnome_icon_list_selection):
      	(gnome_icon_container_receive_dropped_icons):
      	Redid drag code so that it will work if there are multiple
      	windows involved, although we still don't handle copies.
      	Changed selection to include the width and height of the icon,
      	and to hold the top left of the icon.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.c:
      	(move_icon):
      	(gnome_icon_container_move_icon):
      	Made move_icon visible to the DnD code, and added a raise boolean
      	so it could move and icon and bring it to the front.
      	(gnome_icon_container_get_icon_by_uri):
      	(gnome_icon_container_select_list_unselect_others):
      	Added new functions for use by DnD code.
      
      	* libnautilus/gnome-icon-container-private.h:
      	libnautilus/gnome-icon-container.c:
      	(handle_icon_button_press):
      	Got rid of unused drag_x_offset and drag_y_offset.
      
      	* libnautilus/gnome-icon-container.c:
      	(icon_select):
      	(icon_toggle_selected):
      	(select_icon):
      	(select_one_unselect_others):
      	(toggle_icon):
      	(unselect_all_but_one):
      	(unselect_all):
      	(rubberband_select_in_cell):
      	(kbd_move_to):
      	(kbd_space):
      	(linger_select_timeout_cb):
      	(handle_icon_button_press):
      	(gnome_icon_container_select_all):
      	(gnome_icon_container_unselect_all):
      	Cleaned up selection logic and made it simpler.
      
      	* libnautilus/gnome-icon-container.h:
      	libnautilus/gnome-icon-container.c:
      	(gnome_icon_container_xlate_selected):
      	Got rid of unused function.
      
      	* libnautilus/nautilus-self-checks.h:
      	libnautilus/nautilus-self-checks.c:
      	(nautilus_self_checks_failed):
      	(nautilus_exit_if_self_checks_failed):
      	src/ntl-main.c:
      	(main):
      	Added blank lines before and after the first and last failed
      	checks when at least one check fails.
      
      	* src/ntl-view.c:
      	(nautilus_view_destroy):
      	Removed a straggler message. (I hope Elliot's not still using it.)
      
      	* RENAMING: Some new name ideas.
      6d5f07d8
  4. 20 Jan, 2000 1 commit
    • Elliot Lee's avatar
      Async notification of navinfo - now we just need an async get_file_info · e7df9b4e
      Elliot Lee authored
      
      
      * src/ntl-uri-map.c: Async notification of navinfo - now we just need an async get_file_info call.
      * src/ntl-view.[ch]: Better error handling.
      * src/file-manager/fm-directory-view.c (display_selection_info): Send a 'selection change' request.
      * src/ntl-window-msgs.c: Totally rewrite the state changing machine. Now handles errors slightly
        better.
      * src/ntl-types.h: Remove requesting_view from the navigation info.
      * src/ntl-window.h: Move all the state machine stuff into NautilusWindow itself.
      * src/ntl-window.c: Update for new 'stop doing stuff' API.
      e7df9b4e
  5. 18 Jan, 2000 1 commit
    • Darin Adler's avatar
      Added first cut at code to put metafiles in the user's home directory if · 7e292ac0
      Darin Adler authored
      	* libnautilus/nautilus-directory.c:
      	(nautilus_directory_read_metafile):
      	(nautilus_directory_try_to_read_metafile):
      	(nautilus_directory_write_metafile):
      	(nautilus_directory_try_to_write_metafile):
      	(nautilus_directory_switch_to_alternate_metafile_uri):
      	(nautilus_directory_escape_slashes):
      	(nautilus_make_directory_and_parents): Added first cut at code to
      	put metafiles in the user's home directory if the directory is not
      	accessible and you can't read and write a metafile in the
      	directory itself. We'll have to refine this later to handle cases
      	where you end up with two metafiles.
      
      	* libnautilus/Makefile.am: libnautilus/nautilus-debug.h:
      	libnautilus/nautilus-debug.c: Took trick for getting into the
      	debugger and put it into a public header file so it can be used
      	outside of the nautilus executable.
      
      	* src/ntl-main.c: (stop_in_debugger):
      	(nautilus_stop_after_default_log_handler): (main): Use the new
      	calls from libnautilus to set up the drop into debugger for
      	criticals and warnings.
      
      	* src/file-manager/fm-main.c: (main): Minimized includes and used
      	the new calls from libnautilus to set up the drop into debugger
      	for criticals and warnings.
      
      	* src/ntl-uri-map.c: (nautilus_navinfo_add_mapping):
      	src/ntl-window.c: (nautilus_window_constructed):
      	src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize): (fm_directory_view_destroy):
      	(notify_location_change_cb): (stop_location_change_cb):
      	(fm_directory_view_sort): Removed some messages that aren't so
      	useful.
      
      	* libnautilus/ntl-view-frame.h: Minimized includes.
      	* libnautilus/ntl-view-frame.c: Include "ntl-view-frame.h" first
      	so it tests to see that it has sufficient includes in it.
      
      	* src/ntl-view.c: (nautilus_view_load_client): Changed function so
      	that NULL for an iid is allowed and simply results in a failed
      	load instead of being illegal.
      
      	* src/ntl-window-msgs.c:
      	(nautilus_window_change_location_internal): src/ntl-window.c:
      	(nautilus_window_up): Got rid of calls to gnome_vfs_uri_destroy;
      	use gnome_vfs_uri_unref instead since it's safer and Federico is
      	getting rid of gnome_vfs_uri_destroy.
      
      	* src/file-manager/fm-directory-view-icons.h:
      	src/file-manager/fm-directory-view-icons.c:
      	(fm_directory_view_icons_new):
      	src/file-manager/fm-directory-view-list.h:
      	src/file-manager/fm-directory-view-list.c:
      	(fm_directory_view_list_new):
      	src/file-manager/fm-directory-view.h:
      	src/file-manager/fm-directory-view.c: (fm_directory_view_new):
      	Minimized includes and got rid of the unused _new functions.
      
      	* libnautilus/nautilus-directory.h: Added a missing 2000 copyright
      	date.
      7e292ac0
  6. 11 Jan, 2000 2 commits
    • Maciej Stachowiak's avatar
      Once an appropriate component type is found, do not keep looping. · 0f3e13fe
      Maciej Stachowiak authored
      	* src/ntl-view.c (nautilus_view_load_client): Once an appropriate
      	component type is found, do not keep looping.
      0f3e13fe
    • Maciej Stachowiak's avatar
      Added Eazel copyright to files I've changed non-trivially. · 3d3e02b1
      Maciej Stachowiak authored
      	* libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-content-view-frame.h,
      	libnautilus/ntl-meta-view-frame.c,
      	libnautilus/ntl-meta-view-frame.h, libnautilus/ntl-view-frame.c,
      	libnautilus/ntl-view-frame.h, src/ntl-app.c,
      	src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
      	src/ntl-view-frame-svr.c, src/ntl-view-nautilus.c,
      	src/ntl-view-private.h, src/ntl-view.c, src/ntl-view.h,
      	src/ntl-window-msgs.c, src/ntl-window-msgs.h,
      	src/ntl-window-state.c, src/ntl-window.c, src/ntl-window.h,
      	src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-directory-view.h, src/file-manager/fm-main.c:
      	Added Eazel copyright to files I've changed non-trivially.
      3d3e02b1
  7. 06 Jan, 2000 1 commit
    • Elliot Lee's avatar
      Implement preferences for which meta-views to always load with a page. · 69f10655
      Elliot Lee authored
      
      
      * src/ntl-prefs.c, src/ntl-uri-map.c: Implement preferences for
      which meta-views to always load with a page. Loading doesn't seem to quite work.
      * src/ntl-window.c, src/ntl-view.c: Try to fix a crash that
      happens when going to a new page, and a meta view is being
      destroyed in the process. Still crashes.
      69f10655
  8. 05 Jan, 2000 1 commit
    • Elliot Lee's avatar
      Add support for the location change state machine and related · 6018bcea
      Elliot Lee authored
      
      
      * src/ntl-types.h, src/ntl-uri-map.[ch], src/ntl-window-msgs.c, src/ntl-window.[ch]:
        Add support for the location change state machine and related notifications,
        to allow much better error handling.
      
      * src/ntl-view.[ch]: Catch client failures, also allow for active sensing of client death.
      * src/file-manager/fm-directory-view.c: Send progress notifications.
      * components/html/ntl-web-browser.c: Send progress
        notifications. Try to fix crashes caused by ending an error stream
        twice.
      6018bcea
  9. 04 Jan, 2000 3 commits
    • Elliot Lee's avatar
      Fix warnings. · b72c59e5
      Elliot Lee authored
      
      
      Fix warnings.
      b72c59e5
    • Maciej Stachowiak's avatar
      Added stop_location_change method to NautilusView interface. New signal, · 78860f9f
      Maciej Stachowiak authored
      	* idl/nautilus.idl: Added stop_location_change method to NautilusView interface.
      	* ntl-view-client.c, ntl-view-client.h (stop_location_change): New
      	signal, triggered on receipt of stop_location_change request via
      	CORBA.
      
      	* ntl-view.c, ntl-view.h, ntl-view-private.h, ntl-view-nautilus.c,
      	ntl-view-bonobo-control.c, ntl-view-bonobo-subdoc.c
      	(nautilus_view_stop_location_change): Added this function; also
      	added implementation to nautilus view type function table and
      	NULL'd out for now for Bonobo control and subdoc view types (need
      	to find out if loading is synchronous or asynchronous for those,
      	and if there is a way to abort).
      
      	* ntl-window.c: Stop loading for all views when Stop button is
      	pressed.
      
      	* ntl-window-msgs.c: Enable stop button when we start loading;
      	enable Stop button when
      
      	* src/file-manager/fm-directory-view.c: Call
      	request_progress_change() when loading is done or an error is
      	reached; implement handler for stop_location_change signal.
      78860f9f
    • Maciej Stachowiak's avatar
      Fix warnings. · e992a1c7
      Maciej Stachowiak authored
      2000-01-03  Maciej Stachowiak  <mjs@eazel.com>
      
      	* src/ntl-prefs.c: Fix warnings.
      
      	* src/ntl-view.c, src/ntl-view.h, src/ntl-view-frame-svr.c
      	(nautilus_view_notify_location_change,
      	nautilus_view_notify_selection_change, nautilus_view_load_state,
      	nautilus_view_save_state, nautilus_view_show_properties): Made
      	these functions public and removed the corresponding signals;
      	these are operations you do to the NautilusView, not something it
      	informs other parts of the program of.
      	(request_location_change, request_selection_change,
      	request_status_change, request_progress_change): New
      	signals. These allow NautilusView to have less dependence on
      	NautilusWindow.
      	(nautilus_view_signals): Moved signal number table from view to
      	this static variable.
      	(nautilus_view_request_location_change,
      	nautilus_view_request_selection_change,
      	nautilus_view_request_status_change,
      	nautilus_view_request_progress_change): Move to ntl-view.c and
      	make them emit the proper signals in lieu of hardcoded handling.
      	* src/ntl-window.c, src/ntl-window.h src/ntl-window-msgs.c,
      	src/ntl-window-msgs.h, src/ntl-window-state.c
      	(request_location_change, request_selection_change,
      	request_status_change, request_progress_change): Removed these
      	signals; they are operations you do on a NautilusWindow, not
      	something it notifies you of, and any usefulness for inheritance
      	purposes is purely speculative right now.
      	(nautilus_window_connect_view, nautilus_window_disconnect_view):
      	Use these new helper functions to connect callbacks to
      	NautilusView's signals instead of expecting them to just get
      	called.
      	(nautilus_view_request_location_change,
      	nautilus_view_request_selection_change,
      	nautilus_view_request_status_change,
      	nautilus_view_request_progress_change): Execute bodies of real_
      	versions instead of emitting singals.
      	(nautilus_view_real_request_location_change,
      	nautilus_view_real_request_selection_change,
      	nautilus_view_real_request_status_change,
      	nautilus_view_real_request_progress_change): Removed these.
      	Finally, always call nautilus_winodow_set_content_view or
      	nautilus_window_add_meta_view before calling
      	nautilus_view_load_client to make sure no signals are lost.
      e992a1c7
  10. 03 Jan, 2000 1 commit
  11. 28 Dec, 1999 2 commits
  12. 22 Dec, 1999 1 commit
    • Elliot Lee's avatar
      Testbed for UIHandler usage. Better error checking, support UIHandler · 5eff8c58
      Elliot Lee authored
      
      
      * components/history/ntl-history-view.c: Testbed for UIHandler usage.
      * src/ntl-*view*.c: Better error checking, support UIHandler usage.
      * src/ntl-window-msgs.c: Better error checking.
      * src/ntl-window.c: Better error checking, plus move menu creation so that UIHandler
      usage is easier.
      5eff8c58
  13. 21 Dec, 1999 2 commits
    • Elliot Lee's avatar
      Add request_progress_change notification · 4994722e
      Elliot Lee authored
      
      
      1999-12-21  Elliot Lee  <sopwith@redhat.com>
      
      * idl/nautilus.idl, libnautilus/ntl-view-client.[ch], src/ntl-window*.[ch],
      src/ntl-view-frame-svr.c: Add request_progress_change notification
      
      * src/ntl-view-*: Fix/finish various mjs changes: Do the component type abstraction
      properly, lose ntl-view-frame-svr.h, add ntl-view-private.h, add various component type
      implementations.
      
      * src/ntl-view-frame-svr.h: Add 'extern' so everyone doesn't get their own vepv
      variable.
      4994722e
    • Maciej Stachowiak's avatar
      Remove request_* calls from public API (they are just an implementation · 1fed79d7
      Maciej Stachowiak authored
      	* src/ntl-view.h: Remove request_* calls from public API (they are
      	just an implementation detail of the fact that NautilusView
      	implements a Nautilus:ViewFrame CORBA server - the nautilus app
      	should not need to call these).
      
      	* src/ntl-view.c: Split all the three way conditional stuff out so
      	there is a separate function for each branch of the condition. Not
      	a big win yet, but will provide opportunities for more
      	refactoring.
      
      	* src/ntl-view-frame-svr.c, ntl-view-frame-svr.h: Move
      	implementation of Nautilus:ViewFrame CORBA server here as much as
      	possible.
      	* src/ntl-view.c: Remove it from here.
      	* src/nautilus.h: #include ntl-view-frame-svr.h
      	* src/Makefile.am: add ntl-view-frame-svr.[ch] to build.
      
      	* src/ntl-window.c: Add myself to About box (pout).
      1fed79d7
  14. 20 Dec, 1999 1 commit
    • Elliot Lee's avatar
      Add HTML component to build. Make process die when all objects have been · 82c18443
      Elliot Lee authored
      
      
      * configure.in, components/Makefile.am: Add HTML component to build.
      * components/help/hyperbola-main.c, components/history/ntl-history-view.c: Make process die when
        all objects have been destroyed.
      * components/history/ntl-history-view.c: Bug fixes.
      * components/html/*.[ch]: Copy glibwww over, write new NautilusViewClient for HTML browsing.
      * src/ntl-uri-map.c: Cleanup, and use ntl_web_browser as default HTML display engine.
      * src/ntl-view.c: Try to handle Bonobo views for data display.
      82c18443
  15. 17 Dec, 1999 2 commits
    • Elliot Lee's avatar
      Support multiple view types (Nautilus/View, GNOME/Control, · 6d4ffeff
      Elliot Lee authored
      
      
      * src/ntl-*.[ch]: Support multiple view types (Nautilus/View, GNOME/Control, GNOME/Embeddable)
      * src/ntl-window.[ch]: Add nautilus_window_get_uih()
      * idl/*.idl: Reindent.
      6d4ffeff
    • Elliot Lee's avatar
      Fix warnings Try (unsuccessfully) to get proper icon reflow by calling · 6945c4c7
      Elliot Lee authored
      
      
      * libnautilus/{gdk-extensions.c,gnome-icon-container.c}: Fix warnings
      * libnautilus/gnome-icon-container.c: Try (unsuccessfully) to get
        proper icon reflow by calling icon_grid_resize() instead of
        icon_grid_set_visible_width(), in size_allocate().
      * src/*.*: Add ntl-app.[ch].
      * src/file-manager/desktop-*.c: Fix warnings.
      * src/file-manager/fm-directory-view.c: Remove incorrect warning,
        allow turning off use of icon_layout altogether.
      6945c4c7
  16. 15 Dec, 1999 3 commits
    • Elliot Lee's avatar
      Turn on compilation of hyperbola component. Compile and run. Create & set · a4a7dc95
      Elliot Lee authored
      
      
      * components/Makefile.am: Turn on compilation of hyperbola component.
      * components/help/*: Compile and run.
      * libnautilus/ntl-meta-view-client.c: Create & set the property bag if it doesn't exist.
      * src/ntl-uri-map.c: Load the hyperbola nav tree component as a test meta view.
      * src/ntl-view.c: Fill in NULL fields with empty strings, so that ORBit doesn't segfault.
      * src/ntl-window-msgs.c: When creating new meta views, they should
      be meta views and not content views (cut & paste error).
      * src/file-manager/fm-directory-view.c: Don't redisplay every time a new entry comes in.
      a4a7dc95
    • Darin Adler's avatar
      Turned on more warnings; fixed all warnings. · 025cf15b
      Darin Adler authored
      025cf15b
    • Elliot Lee's avatar
      Restructure the whole NautilusWindow code for sanity's sake. · 80bfd80a
      Elliot Lee authored
      
      
      * src/*.c: Restructure the whole NautilusWindow code for sanity's sake.
      
      * src/ntl-uri-map.[ch]: Instead of just passing in various pieces of information about
        the old URL, pass in the Nautilus_NavigationInfo that has to be kept around anyways.
      
      * idl/nautilus.idl: Allow a selection to be multiple URI's.
      80bfd80a
  17. 14 Dec, 1999 2 commits
  18. 13 Dec, 1999 1 commit
  19. 10 Dec, 1999 2 commits
  20. 09 Dec, 1999 1 commit
  21. 08 Dec, 1999 3 commits
  22. 07 Dec, 1999 1 commit
  23. 06 Dec, 1999 2 commits
  24. 05 Dec, 1999 1 commit