1. 21 Jan, 2000 2 commits
  2. 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
  3. 18 Jan, 2000 3 commits
    • John Sullivan's avatar
      Change window title when location changes. · b7cb31db
      John Sullivan authored
      b7cb31db
    • Elliot Lee's avatar
      Since the prototypes for GtkObjectInitFunc and GtkClassInitFunc just have · b591e4c5
      Elliot Lee authored
      
      
      	* libnautilus/nautilus-gtk-macros.h: Since the prototypes for
      	GtkObjectInitFunc and GtkClassInitFunc just have a 'gpointer' for the args,
      	cast the given values to these function types, so that people can use the actual
      	pointer types as arguments without receiving a warning.
      
      	* src/ntl-index-panel.c: Change to match. Also set
      	object_klass->destroy & object_klass->finalize to point to our
      	implementation. Also remove unused variables
      	(nautilus_index_panel_initialize,
      	nautilus_index_panel_set_up_label).
      
      	* libnautilus/nautilus-background.c, src/ntl-window-msgs.c,
      	src/ntl-window.c, src/file-manager/fm-directory-icons.c: Remove
      	unused variables.
      
      	* src/ntl-window.h: Add a variable (unused) for future handling of content view loading.
      
      	* libnautilus/libnautilus.h: Add an interim g_alloca.
      
      	* libnautilus/nautilus-directory.c: Clean up a bit further, by
      	removing the need for another if(), and using g_alloca instead of
      	g_malloc.
      b591e4c5
    • 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
  4. 12 Jan, 2000 1 commit
  5. 11 Jan, 2000 3 commits
  6. 10 Jan, 2000 2 commits
  7. 08 Jan, 2000 1 commit
  8. 06 Jan, 2000 1 commit
  9. 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
  10. 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
  11. 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
  12. 21 Dec, 1999 1 commit
    • 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
  13. 18 Dec, 1999 2 commits
  14. 17 Dec, 1999 2 commits
    • Havoc Pennington's avatar
      lookup signum before it's first used. · 8ebbd3a6
      Havoc Pennington authored
      1999-12-16  Havoc Pennington  <hp@redhat.com>
      
      * src/ntl-window-state.c (nautilus_window_save_state): lookup
      signum before it's first used.
      
      * src/file-manager/desktop-layout.c: new layout module, not yet
      done
      
      * src/file-manager/desktop-canvas.c (desktop_canvas_init): Create
      the right-click menu.
      
      * src/file-manager/desktop-menu.c (desktop_menu_new): New module
      to stick the right-click menu code in
      8ebbd3a6
    • Maciej Stachowiak's avatar
      Enabled multiple main windows and new window menu entry. In the · 7048ea0a
      Maciej Stachowiak authored
      process replaced url with uri where appropriate and added
      nautilus_window_get_requested_uri accessor.
      7048ea0a
  15. 16 Dec, 1999 2 commits
  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
      Changed warning switches. Fixed bugs found when opening an icon and · 0dee7ad3
      Darin Adler authored
      using the history buttons. Improved selection info display in status bar.
      0dee7ad3
    • 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