Commit Graph

2938 Commits

Author SHA1 Message Date
Peter Williams aa68bd85f1 Land most of the stuff to move fetch_mail, send_mail, expunge_folder, init_imap, and init_news to async operation.
svn path=/trunk/; revision=3711
2000-06-23 19:07:01 +00:00
Chris Toshok cfe31b1d5c forgot this changelog entry last night.
svn path=/trunk/; revision=3710
2000-06-23 18:36:53 +00:00
Larry Ewing b92cdaf00a draw pixmaps with he right background and selection colors.
2000-06-23  Larry Ewing  <lewing@helixcode.com>

	* e-cell-toggle.c (etog_draw): draw pixmaps with he right
	background and selection colors.

svn path=/trunk/; revision=3709
2000-06-23 16:22:50 +00:00
Peter Williams 45cca0f241 Little prototype fixes
svn path=/trunk/; revision=3708
2000-06-23 15:58:22 +00:00
Chris Toshok 422046cc58 add icon_at virtual function - it was stupid to make the insert call take
2000-06-23  Chris Toshok  <toshok@helixcode.com>

	* e-tree-model.h, e-tree-model.c: add icon_at virtual function -
	it was stupid to make the insert call take 2 pixbufs.  the model
	should give this information.

	* e-cell-tree.c: get rid of the opened/closed pixbuf stuff.  call
	e_tree_model_icon_of_node.

	* e-tree-example-1.c: add my_icon_at.

	* e-tree-simple.c (simple_icon_at): new function
	(e_tree_simple_new): add icon_at parameter.

	* e-tree-simple.h: add SimpleIconAtFn.

svn path=/trunk/; revision=3707
2000-06-23 07:47:37 +00:00
Chris Toshok 29a313c41e use the expanded/unexpanded pixbufs as node pixbufs for the first level of
2000-06-23  Chris Toshok  <toshok@helixcode.com>

	* e-tree-example-1.c (create_tree): use the expanded/unexpanded
	pixbufs as node pixbufs for the first level of children, to test
	the drawing.

	* e-tree-model.c (e_tree_model_node_get_closed_pixbuf): new function.
	(e_tree_model_node_get_opened_pixbuf): same.
	(e_tree_model_node_insert): add opened/closed pixbuf argument.
	(e_tree_model_node_insert_before): same.

	* e-tree-model.h: add prototypes for opened/closed pixbuf
	accessors, and add them to the e_tree_model_node_insert_* calls.

	* e-cell-tree.c (ect_draw): add opened/closed pixbuf drawing per node.

svn path=/trunk/; revision=3706
2000-06-23 07:19:11 +00:00
Jeffrey Stedfast 642d8b228a Oops. Now appends the namespace to the folder before querying for the
2000-06-22  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message_count):
	Oops. Now appends the namespace to the folder before querying
	for the number of messages.

	* providers/imap/camel-imap-store.c (imap_folder_exists): New
	convenience function for use by imap_create().
	(get_folder): If folder is specified as "/", we really want
	"INBOX".

	* providers/sendmail/camel-sendmail-provider.c:
	* providers/vee/camel-vee-provider.c:
	* providers/smtp/camel-smtp-provider.c:
	* providers/mbox/camel-mbox-provider.c:
	* providers/pop3/camel-pop3-provider.c:
	* providers/imap/camel-imap-provider.c: Updated

	* camel-session.c: Moved service_cache hash table into the
	providers.
	(service_cache_remove): Updated.
	(camel_session_get_service): Updated.

	* camel-url.c (camel_url_hash): Took out the hashing of
	url->passwd. We don't want this anymore.

	* providers/imap/camel-imap-folder.c (imap_init): Took out
	references to 'namespace'
	(camel_imap_folder_init): Same

	* providers/imap/camel-imap-folder.h: No more namespace. We are
	instead going to use url->path as the namespace.

svn path=/trunk/; revision=3705
2000-06-23 02:31:47 +00:00
Jeffrey Stedfast 30f5127773 Now should correctly get the selected folder from the given URL.
2000-06-22  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser.c (folder_browser_load_folder): Now should
	correctly get the selected folder from the given URL.

svn path=/trunk/; revision=3704
2000-06-23 02:29:37 +00:00
Chris Toshok d12be02179 add handling for loading "news:" folders.
2000-06-22  Chris Toshok  <toshok@helixcode.com>

	* folder-browser.c (folder_browser_load_folder): add handling for
	loading "news:" folders.

	* component-factory.c (create_news_storage): add a root for news
	source.
	(owner_set_cb): call create_news_storage.

svn path=/trunk/; revision=3703
2000-06-23 02:11:38 +00:00
Chris Toshok 61ec5b754b ignore test-newsrc
2000-06-22  Chris Toshok  <toshok@helixcode.com>

	* providers/nntp/.cvsignore: ignore test-newsrc

	* providers/nntp/camel-nntp-store.c,
	providers/nntp/camel-nntp-store.h,
	providers/nntp/camel-nntp-folder.c,
	providers/nntp/camel-nntp-folder.h,
	providers/nntp/camel-nntp-utils.c: Bring the nntp provider up to a
	state where it builds and is usable with the current camel.  there
	are still warts (semi-broken .newsrc file handling, and a lack of
	a subscribe ui -- in fact no way to add a new server, really), but
	it'll display news messages.

	* providers/nntp/Makefile.am (libcamelnntp_la_SOURCES): add
	camel-nntp-newsrc.c
	(libcamelnntpinclude_HEADERS): add camel-nntp-newsrc.h
	also, add test-newsrc stuff.

	* providers/nntp/test-newsrc.c: new file that tests the newsrc
	stuff by parsing and regurgitating a .newsrc file for a particular
	server.

	* providers/nntp/camel-nntp-newsrc.c,
	providers/nntp/camel-nntp-newsrc.h: new files, initial support for .newsrc files.

svn path=/trunk/; revision=3702
2000-06-23 02:03:35 +00:00
Jeffrey Stedfast afa7176eab Updated to prepend url-> path if it exists for that imap store.
2000-06-22  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser.c (folder_browser_load_folder): Updated to
	prepend url-> path if it exists for that imap store.

	* component-factory.c (create_imap_storage): Modified to not
	prepend a hard-coded namespace.

svn path=/trunk/; revision=3701
2000-06-22 21:55:14 +00:00
Jeffrey Stedfast a7f40b2f5f Updated
2000-06-22  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/sendmail/camel-sendmail-provider.c:
	* providers/vee/camel-vee-provider.c:
	* providers/smtp/camel-smtp-provider.c:
	* providers/mbox/camel-mbox-provider.c:
	* providers/pop3/camel-pop3-provider.c:
	* providers/imap/camel-imap-provider.c: Updated

	* camel-session.c: Moved service_cache hash table into the
	providers.
	(service_cache_remove): Updated.
	(camel_session_get_service): Updated.

	* camel-url.c (camel_url_hash): Took out the hashing of
	url->passwd. We don't want this anymore.

	* providers/imap/camel-imap-folder.c (imap_init): Took out
	references to 'namespace'
	(camel_imap_folder_init): Same

	* providers/imap/camel-imap-folder.h: No more namespace. We are
	instead going to use url->path as the namespace.

svn path=/trunk/; revision=3700
2000-06-22 21:51:40 +00:00
Dan Winship 4e9d56a6c0 Revert Peter's change and Chris's fix to it, since it looks like Peter
probably didn't actually intend to commit it yet...

svn path=/trunk/; revision=3699
2000-06-22 21:44:40 +00:00
Chris Toshok c422e1f742 new function, passed as arg to mail_operation_try. (fetch_mail): add
2000-06-22  Chris Toshok  <toshok@helixcode.com>

	* mail-ops.c (fetch_mail_cleanup): new function, passed as arg to
	mail_operation_try.
	(fetch_mail): add cleanup func arg.

svn path=/trunk/; revision=3698
2000-06-22 21:42:24 +00:00
Christopher James Lahey 8e54fc772c Changed ml_value_at to return "" instead of NULL in some cases.
2000-06-22  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Changed ml_value_at to return "" instead of NULL
	in some cases.

svn path=/trunk/; revision=3697
2000-06-22 21:39:57 +00:00
Christopher James Lahey ced77ebe05 Make the table not move around as you resize.
2000-06-22  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Make the table not move around as you resize.

svn path=/trunk/; revision=3696
2000-06-22 20:33:04 +00:00
Peter Williams 6d28aafe86 Add libs so that we link right with gthreads
svn path=/trunk/; revision=3695
2000-06-22 20:32:11 +00:00
Peter Williams 855dff022c Make the async dialogs non-modal; add cleanup callbacks in the main thread.
svn path=/trunk/; revision=3694
2000-06-22 20:31:01 +00:00
Federico Mena Quintero a3a3ee2b14 Sync - Federico
svn path=/trunk/; revision=3693
2000-06-22 17:24:17 +00:00
Peter Williams c14e8dd705 Add nice blocking stuff for the error dialog and a new get_password hook in the async toolkit
svn path=/trunk/; revision=3692
2000-06-22 16:34:33 +00:00
Christopher James Lahey c74b334a2c Killed a warning.
2000-06-22  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Killed a warning.

svn path=/trunk/; revision=3691
2000-06-22 16:30:00 +00:00
Christopher James Lahey cf93af47a5 Remove use of the "x" and "y" arguments to EText.
2000-06-22  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c: Remove use of the "x" and "y"
	arguments to EText.

	* e-table-item.c: Properly ref the source_model field.

	* test-check.c, test-cols.c, test-table.c: Remove use of the "x"
	and "y" arguments to ETableHeaderItem.

svn path=/trunk/; revision=3690
2000-06-22 16:24:23 +00:00
Peter Williams d8962e3587 Prettify the progress dialog a bit.
svn path=/trunk/; revision=3689
2000-06-22 13:42:25 +00:00
Jeffrey Stedfast 2751abfcef Modified to use the "namespace" (url->path) if it exists.
2000-06-21  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (imap_create): Modified to
	use the "namespace" (url->path) if it exists.

	* providers/imap/camel-imap-folder.c (imap_delete_message_by_uid):
	Now just sets the deleted flag on the summary rather than speaking
	directly to the IMAP server. This is both faster and cleaner.

svn path=/trunk/; revision=3688
2000-06-21 23:51:36 +00:00
Christopher James Lahey 930fe7cf7b Removed an erroneous comment.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Removed an erroneous comment.

svn path=/trunk/; revision=3687
2000-06-21 23:15:07 +00:00
Dan Winship 9ea6a8c59c Make this not crash if you don't have a transport configured.
* mail-config.c (create_transport_page): Make this not crash if
	you don't have a transport configured.

svn path=/trunk/; revision=3686
2000-06-21 23:05:29 +00:00
Christopher James Lahey 588fd23c5c Made the Close button work.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-field-chooser-dialog.c: Made the Close button work.

	* e-table-field-chooser.glade, e-table-field-chooser.glade.h:
	Added a text description of this dialog.

svn path=/trunk/; revision=3685
2000-06-21 23:01:29 +00:00
Christopher James Lahey a30a2c1162 Changed this to move the cell to the nearest edge instead of to the left
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Changed this to move the cell to the
	nearest edge instead of to the left of the column it's over.

	* e-table-header.c: Made target_index equal to eti->col_count be a
	valid parameter to e_table_header_move.

svn path=/trunk/; revision=3683
2000-06-21 22:49:34 +00:00
Dan Winship 36f9a55056 Fix dumb bug.
* providers/pop3/camel-pop3-store.c (query_auth_types): Fix dumb
	bug.

svn path=/trunk/; revision=3682
2000-06-21 22:28:30 +00:00
Christopher James Lahey b06d4d48ed Made moving columns to the right work properly.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header.c: Made moving columns to the right work
	properly.

svn path=/trunk/; revision=3681
2000-06-21 21:12:40 +00:00
Jeffrey Stedfast ed696d7133 IMAP is working! (sorta)
you can now read your INBOX

svn path=/trunk/; revision=3680
2000-06-21 20:38:22 +00:00
Peter Williams d0f4337af7 When determining a mailboxe's folder_file_path et aluse its basename to prevent the triple-slash filenames (~/ev/inbox///movemail.ibex)
svn path=/trunk/; revision=3679
2000-06-21 18:22:21 +00:00
Dan Winship 4907469fb0 Update received date to work like sent date.
* message-list.c: Update received date to work like sent date.

svn path=/trunk/; revision=3678
2000-06-21 18:17:21 +00:00
Dan Winship 242ffb8b8e Set date_received based on the first (most recent) "Received" header.
* camel-folder-summary.c (message_info_new): Set date_received
	based on the first (most recent) "Received" header.

svn path=/trunk/; revision=3677
2000-06-21 18:15:27 +00:00
Peter Williams 42d0cc5ca7 Add the async mail API (still not hooked up though)
svn path=/trunk/; revision=3676
2000-06-21 18:14:44 +00:00
Peter Williams 100bc92dd2 Get evolution-dir the right way in e-setup.h
svn path=/trunk/; revision=3675
2000-06-21 16:12:00 +00:00
Kjartan Maraas d9d8a0950a Updated Norwegian translation.
2000-06-21  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.

svn path=/trunk/; revision=3674
2000-06-21 10:04:09 +00:00
Christopher James Lahey 06f77b4aab Fixed some vertical scroll bugs.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Fixed some vertical scroll bugs.

svn path=/trunk/; revision=3673
2000-06-21 07:18:28 +00:00
Christopher James Lahey 3eed16a6cd Fix a bug with intial vertical scroll.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Fix a bug with intial vertical scroll.

svn path=/trunk/; revision=3672
2000-06-21 06:19:58 +00:00
Damon Chaplin 56b15f58e0 set event before using it! (e_day_view_init): used new colors from tigert.
2000-06-21  Damon Chaplin  <damon@helixcode.com>

	* gui/e-day-view.c (e_day_view_reshape_long_event): set event before
	using it!
	(e_day_view_init): used new colors from tigert.

svn path=/trunk/; revision=3671
2000-06-21 05:53:23 +00:00
Christopher James Lahey dad705c65c Removed the usage of "x" and "y" arguments to EText.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c,
	widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and
	"y" arguments to EText.

	* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the
	"x" and "y" arguments to EText.   Added vertical scrolling.

svn path=/trunk/; revision=3670
2000-06-21 05:37:37 +00:00
Christopher James Lahey 5df817c875 Remove the usage of the "x" and "y" arguments.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* gui/e-day-view.c, gui/e-week-view.c: Remove the usage of the "x"
	and "y" arguments.

svn path=/trunk/; revision=3669
2000-06-21 05:32:39 +00:00
Christopher James Lahey d9d0538de4 Remove usage of "x" and "y" arguments.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/test-minicard-label.c,
	gui/minicard/test-minicard.c, gui/minicard/test-reflow.c: Remove
	usage of "x" and "y" arguments.

svn path=/trunk/; revision=3668
2000-06-21 05:30:54 +00:00
Christopher James Lahey e1416310da Fix a minor warning.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-leaf.c: Fix a minor warning.

	* e-table-item.c: Add to the selection if shift is held down.
	Show cursor when changing sort (or if table changes majorly.)

svn path=/trunk/; revision=3667
2000-06-21 04:48:58 +00:00
Damon Chaplin 85c6449e90 got rid of some debug messages
svn path=/trunk/; revision=3666
2000-06-21 04:37:28 +00:00
Damon Chaplin abd592ea8c changed so it keeps the selection range. It just moves it on one day/week
2000-06-21  Damon Chaplin  <damon@helixcode.com>

	* gui/gnome-cal.c (gnome_calendar_direction): changed so it keeps the
	selection range. It just moves it on one day/week etc. This makes
	it very handy for the keyboard shortcut code.

	* gui/calendar-commands.c (calendar_control_activate): fixed bug
	setting the radio button active.

	* gui/e-day-view.[hc]: added support for keyboard navigation and
	selection of the time range.

svn path=/trunk/; revision=3665
2000-06-21 04:36:23 +00:00
Damon Chaplin 259ccb8fe5 fixed a few warnings.
2000-06-20  Damon Chaplin  <damon@helixcode.com>

	* widgets/meeting-time-sel/e-meeting-time-sel-item.c:
	* widgets/meeting-time-sel/e-meeting-time-sel.c: fixed a few warnings.

svn path=/trunk/; revision=3664
2000-06-21 03:46:14 +00:00
Christopher James Lahey 26f8433aa0 Added a variable to keep track of the cursor. Set the cursor when
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Added a variable to keep track of the
	cursor.  Set the cursor when selection_add is called.  Properly
	unset the cursor at the right times.

svn path=/trunk/; revision=3663
2000-06-21 03:45:32 +00:00
Christopher James Lahey e7b121771f Fix HEADER_PADDING.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-defines.h: Fix HEADER_PADDING.

svn path=/trunk/; revision=3662
2000-06-21 03:24:10 +00:00
Christopher James Lahey e8ab14846b Fix cursor column information.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Fix cursor column information.

svn path=/trunk/; revision=3661
2000-06-21 03:17:22 +00:00