Commit graph

234 commits

Author SHA1 Message Date
Elliot Lee
6018bcea24 Add support for the location change state machine and related
* 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.
2000-01-05 23:21:06 +00:00
John Sullivan
cdf570ee03 Remove horizontal scroll bar from bookmarks list in bookmarks window. 2000-01-05 21:28:40 +00:00
John Sullivan
e40bf51c1e Fixed macro use for Add Bookmark item, was causing screen-filling-menu-item
on some computers.
2000-01-05 21:06:19 +00:00
John Sullivan
dce368dd3e Remove button now has a little padding; clicking it now moves the selection
to the next item in the list.
2000-01-04 22:58:24 +00:00
Darin Adler
fd8bad007c A couple of quick fixes to get "make check" working. 2000-01-04 21:37:50 +00:00
John Sullivan
b3fe018443 Made bookmarks window have a minimum size. 2000-01-04 21:15:51 +00:00
Elliot Lee
e4038bffde just add some braces to make future UIH debugging easier.
just add some braces to make future UIH debugging easier.
2000-01-04 20:40:21 +00:00
John Sullivan
2ff700028f Backed out nautilus-uri-utilities changes from earlier today. 2000-01-04 20:26:04 +00:00
Elliot Lee
571b26b9ee First attempt at a state transition diagram for the loading process.
First attempt at a state transition diagram for the loading process.
2000-01-04 20:07:22 +00:00
Elliot Lee
b72c59e5f9 Fix warnings.
Fix warnings.
2000-01-04 18:56:49 +00:00
Darin Adler
2840833e2c Added self-check framework. Added first bits of code for FMDirectory. 2000-01-04 18:09:59 +00:00
John Sullivan
fc3d393257 Made location-entering field handle bogus URIs better. 2000-01-04 17:43:23 +00:00
Maciej Stachowiak
78860f9f50 Added stop_location_change method to NautilusView interface. New signal,
* 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.
2000-01-04 05:21:45 +00:00
Maciej Stachowiak
e992a1c7c8 Fix warnings.
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.
2000-01-04 03:06:28 +00:00
Elliot Lee
2e9f835f7e The ten minute version of kwebsearch. Handle forms (POST is untested and
* components/websearch, configure.in: The ten minute version of kwebsearch.
* components/html/ntl-web-browser.c: Handle forms (POST is untested and probably buggy).
* src/ntl-uri-map.c: Check result of file_info retrieval. Load web search by default.
* src/ntl-prefs.[ch]: First (lame) attempt at implementing application preferences.
* src/ntl-app.c: Load prefs at startup
2000-01-04 01:52:23 +00:00
John Sullivan
05729d1861 Added underline-accelerators to Add Bookmark and Edit Bookmarks items. 2000-01-04 01:18:48 +00:00
John Sullivan
6f9b058f29 Fixed a couple of bookmark-related memory leaks. 2000-01-03 23:17:26 +00:00
John Sullivan
7797ae9fb1 Split out a couple of file-related utilities into a new file. 2000-01-03 20:07:20 +00:00
Darin Adler
a5ee2d8134 Turned warnings back on. Fixed a warnings. More cvsignoring. 2000-01-03 17:26:34 +00:00
John Sullivan
0d0d327a00 Took out unused variables that my -Wall-free compile didn't notice. 2000-01-03 17:17:06 +00:00
Elliot Lee
d2e7371f28 Update copyright notices.
2000-01-03  Elliot Lee  <sopwith@redhat.com>

Update copyright notices.
2000-01-03 16:10:14 +00:00
Elliot Lee
108271b5a7 Update TODO list
Update TODO list
2000-01-03 15:31:40 +00:00
John Sullivan
b4d114b95a Create directory for bookmarks if necessary. 1999-12-31 03:44:03 +00:00
John Sullivan
d9326fa453 Implemented save/restore bookmarks across sessions. Also changed implementation
of NautilusBookmark to use gchar * instead of GString.
1999-12-31 01:58:06 +00:00
John Sullivan
8eba94a6a7 Linked in GNOME-XML library, which will be used for bookmarks. 1999-12-30 21:33:51 +00:00
John Sullivan
f6e05ed476 Forgot to cvs add the new files a moment ago when I checked in. 1999-12-30 19:14:55 +00:00
John Sullivan
553e10a47b Fixed bug with activating bookmarks in any but the first window.
Added working but simple Edit Bookmarks window that allows changing
name & uri, reordering, and deleting bookmarks.
1999-12-30 19:14:07 +00:00
John Sullivan
10b8bbe720 Just separated out the .[ch] notation into full file names from my
earlier entries.
1999-12-30 17:38:45 +00:00
John Sullivan
130f9695d4 Added nautilus_bookmark_copy and fixed g_return_if_fail compile problem. 1999-12-29 16:57:31 +00:00
John Sullivan
10cb529fc9 Just improved the quantity and quality of g_return_if_fail calls. 1999-12-29 01:25:41 +00:00
John Sullivan
17a18859c6 Prevented "Add Bookmark" from adding multiple identical bookmarks; fixed
bug about window count; fixed bug where "Add Bookmark" would crash if a
window had been closed previously.
1999-12-29 00:23:32 +00:00
John Sullivan
0650866570 Undid previous change. It turned out to be a build order dependency problem. 1999-12-28 23:05:23 +00:00
John Sullivan
a0e01c4673 Casted away a const to fix the build. 1999-12-28 18:49:05 +00:00
Elliot Lee
83fe21decd Add list of needed metadata.
Add list of needed metadata.
1999-12-28 01:05:00 +00:00
Elliot Lee
66135b53d8 Build the fsextension stuff in.
Build the fsextension stuff in.
1999-12-23 22:35:52 +00:00
Havoc Pennington
7c0e6dc27b hmm, finally add these files :-) 1999-12-23 03:05:50 +00:00
Elliot Lee
f9feecb6c4 Add initialization function. Implement scheme mapping. (others to follow
* src/ntl-uri-map.[ch]: Add initialization function. Implement scheme mapping.
(others to follow this)
1999-12-23 00:50:02 +00:00
Elliot Lee
28250149ab Doodling.
Doodling.
1999-12-22 22:58:15 +00:00
Elliot Lee
5eff8c584d Testbed for UIHandler usage. Better error checking, support UIHandler
* 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.
1999-12-22 20:35:04 +00:00
Elliot Lee
c1b5430908 Allow passing initial URL on cmdline.
Allow passing initial URL on cmdline.

Try to make web browser work.
1999-12-22 19:02:50 +00:00
Elliot Lee
4994722e58 Add request_progress_change notification
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.
1999-12-21 20:01:42 +00:00
Elliot Lee
11a469a473 Add 'extern' so everyone doesn't get their own vepv variable.
* src/ntl-view-frame-svr.h: Add 'extern' so everyone doesn't get their
  own vepv variable.
1999-12-21 16:36:28 +00:00
Maciej Stachowiak
d48f0ba962 Er, missed it. 1999-12-21 03:59:29 +00:00
Maciej Stachowiak
1fed79d7ee Remove request_* calls from public API (they are just an implementation
* 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).
1999-12-21 03:59:11 +00:00
Maciej Stachowiak
9c9fbb1c48 components/html/ntl-web-browser.c: Fix warnings. 1999-12-21 02:41:41 +00:00
Elliot Lee
78353a733d Add gratuitous "About" box.
Add gratuitous "About" box.
1999-12-21 01:47:28 +00:00
Elliot Lee
82c184431b Add HTML component to build. Make process die when all objects have been
* 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.
1999-12-20 23:59:08 +00:00
John Sullivan
27cef034fa The bookmarks menu is now limping along. Add Bookmark works, and the items that
are added work properly. But Edit Bookmarks is still insensitive, so there's no
way to remove items (except by quitting, because the items aren't yet saved and
restored across sessions).
1999-12-20 23:33:36 +00:00
Havoc Pennington
d0cfc25efb indentation cleanup 1999-12-20 19:20:20 +00:00
Havoc Pennington
2fad83e469 Check in today's fooling around. I guess I'll drop this line of development
for now though, waiting on the new icon view.

1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-window.c (desktop_window_realize): turn
		on window decorations for debugging
			(desktop_window_init): debug comment-out the
no-resize policy

	* src/file-manager/desktop-layout.c (desktop_layout_arrange):
		fool with layout routines

				* src/file-manager/desktop-canvas.c
					(desktop_canvas_size_allocate):
debugging border to detect layout screwups

	* src/file-manager/desktop-item.c (icon_realize): set the canvas
		item, oops.
1999-12-19 07:44:16 +00:00