Commit Graph

289 Commits

Author SHA1 Message Date
f39e17a1c7 oops, corrected the gtk/gnome casts
svn path=/trunk/; revision=3813
2000-06-29 22:05:59 +00:00
fa91d3e6a7 Clean up compile warnings (real_fetch_mail): Fetching from IMAP should do
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (delete_msg): Clean up compile warnings
	(real_fetch_mail): Fetching from IMAP should do nothing

svn path=/trunk/; revision=3811
2000-06-29 22:02:10 +00:00
5ca5da26b5 Handle multiple deletes (change by Peter Williams.)
2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

	* mail-ops.c: Handle multiple deletes (change by Peter Williams.)

svn path=/trunk/; revision=3809
2000-06-29 21:31:44 +00:00
f8498f1b3a Changed "Send" to "Compose" to avoid user confusion. Compose is a little
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Changed "Send" to "Compose" to
	avoid user confusion. Compose is a little more intuitive.
	Also changed the pixmap to MAIL_NEW instead of MAIL_SND

svn path=/trunk/; revision=3807
2000-06-29 21:14:45 +00:00
d2bd0132f7 Changed "Send" to "Compose" to avoid user confusion. Compose is a little
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Changed "Send" to "Compose" to
	avoid user confusion. Compose is a little more intuitive.

	* mail-ops.c (compose_msg): Renamed to avoid confusion

svn path=/trunk/; revision=3805
2000-06-29 21:06:28 +00:00
01166c4fa2 remove some code incorrectly copied and pasted from create_vfolder_storage
* component-factory.c (create_imap_storage, create_news_storage):
	remove some code incorrectly copied and pasted from
	create_vfolder_storage which caused vfolder creation to stop
	working.

svn path=/trunk/; revision=3804
2000-06-29 20:31:40 +00:00
3649d5dc6d From mail:
2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c, mail-ops.c: Changed the name of
	e_table_select_row to e_table_set_cursor_row.

From widgets/e-table:

2000-06-29  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-click-to-add.c: Made this appear a bit better.

	* e-table-defines.h: Cleaned this up a bit, added
	ETableForeachFunc.

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h,
	e-table.c, e-table.h: Changed e_table_select_row to
	e_table_set_cursor_row.  Changed e_table_get_selected_view_row to
	e_table_get_cursor_row.  Added e_table_selected_row_foreach.

	* e-table-header-item.c: Fixed some warnings.

	* e-table-sorted-variable.c: Removed some unneeded debugging print
	statments.

	* e-tree-example-1.c: Changed e_table_get_selected_view_row to
	e_table_get_cursor_row.

svn path=/trunk/; revision=3799
2000-06-29 19:22:24 +00:00
d2875d9e05 Fixes brought to us by Purify
svn path=/trunk/; revision=3792
2000-06-29 15:31:01 +00:00
70646faa9f add default subjects
* mail-format.c (mail_generate_forward): add default subjects

svn path=/trunk/; revision=3784
2000-06-29 03:18:39 +00:00
7fe829bb52 Refuse to create folders not of type "mail", and correctly create an empty
* component-factory.c (create_folder): Refuse to create folders
	not of type "mail", and correctly create an empty "mbox" folder
	for new folders in /local.

svn path=/trunk/; revision=3781
2000-06-28 23:12:50 +00:00
66c6a7abb4 make this compile.
svn path=/trunk/; revision=3780
2000-06-28 21:31:04 +00:00
4d1f7683d0 Add debugging messages
svn path=/trunk/; revision=3779
2000-06-28 20:40:31 +00:00
b3fd58b848 Call od_assert_using_oaf() or od_assert_using_goad() as appropriate to
* main.c (init_corba): Call od_assert_using_oaf() or
	od_assert_using_goad() as appropriate to make sure people didn't
	someone trick the build system.

svn path=/trunk/; revision=3776
2000-06-28 18:30:06 +00:00
09f78111f5 message-list.c: added prototype for filter_date()
svn path=/trunk/; revision=3772
2000-06-28 15:02:30 +00:00
b06797413e Made dates display grouping information properly.
2000-06-27  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Made dates display grouping information
	properly.

svn path=/trunk/; revision=3765
2000-06-27 20:52:33 +00:00
37a9065a63 Little teeny fixes
svn path=/trunk/; revision=3764
2000-06-27 19:07:06 +00:00
1193028abd Hey, nothreads might work now\!
svn path=/trunk/; revision=3762
2000-06-27 17:47:06 +00:00
3dc77052b5 Fix the test-threads when no threading
svn path=/trunk/; revision=3756
2000-06-27 15:49:17 +00:00
802f9e634a Fix booboo
svn path=/trunk/; revision=3755
2000-06-27 15:23:07 +00:00
9135a5d0e4 Solaris compatibility config check + implementation (ctime_r arguments)
svn path=/trunk/; revision=3754
2000-06-27 15:04:15 +00:00
db8314acf5 Work around mismatched ctime_r functions. This will be fixed.
2000-06-27  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Work around mismatched ctime_r functions.  This
	will be fixed.

svn path=/trunk/; revision=3753
2000-06-27 14:51:40 +00:00
d3c6e3664d Let us compile sans threads on non-pthread systems.
svn path=/trunk/; revision=3752
2000-06-27 14:37:17 +00:00
54f748a343 Put in a gross hack to export the shell reference elsewhere.
2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

	* component-factory.c (owner_set_cb): Put in a gross hack to
	export the shell reference elsewhere.

svn path=/trunk/; revision=3748
2000-06-27 03:45:36 +00:00
e4de45da5f Calculate height including if clip_height is set to -1.
2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Calculate height including if
	clip_height is set to -1.

From addressbook/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-categories.c,
	addressbook/gui/component/e-cardlist-model.c: Added
	value_to_string handlers.

	* demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and
	"y" arguments.

	* addressbook/gui/component/addressbook.c: Activated Click To Add
	and set the click to add message.

	* addressbook/gui/component/e-addressbook-model.c: Added
	value_to_string and append_row handlers.

	* addressbook/gui/component/e-select-names.c: Added a column.

From calendar/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* gui/calendar-model.c: Added an #ifdefed value_to_string handler
	assignment.

From camel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* providers/mbox/camel-mbox-summary.c: Added debugging
	information.

From composer/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-msg-composer-select-file.h for make
	distcheck.

From e-util/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h.

	* e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like
	a vbox using the reflow system.

From mail/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Added a value_to_string handler.

From shell/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* glade/Makefile.am: Added EXTRA_DIST for make distcheck.

From widgets/e-table/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-click-to-add.c,
	e-table-click-to-add.h, e-table-one.c, and e-table-one.h.

	* e-table-click-to-add.c, e-table-click-to-add.h: A new canvas
	item that represents a single row that sometimes exists.  It's for
	adding new rows to your table.

	* e-table-example-1.c, e-table-example-2.c, e-table-size-test.c,
	test-check.c, test-cols.c, test-table.c: Added value_to_string handlers.

	* e-table-group-container.c: Use value_to_string to make grouping
	not crash for non string columns.  Made some changes to work
	properly in an ECanvasVbox.

	* e-table-group-leaf.c, e-table-item.c: Made some changes to work
	properly in an ECanvasVbox.

	* e-table-model.c, e-table-model.h: Added append_row and
	value_to_string methods.

	* e-table-one.c, e-table-one.h: Given a source ETableModel, this
	provides a single row model that uses the initialize_value,
	duplicate_value, free_value, and value_is_empty methods of the
	original source to implement set_value and value_at (and proxies
	most of the other methods.)  This is used for ETableClickToAdd.

	* e-table-simple.c, e-table-simple.h: Added append_row and
	value_to_string handlers.  append_row uses a GtkArg instead of a
	parameter to e_table_simple_new.

	* e-table-subset.c: Added append_row and value_to_string handlers.

	* e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd
	and an ETableItem instead of an ETableItem directly.  Only show
	the ETableClickToAdd if the top level of the xml SPEC has the
	attribute click-to-add set to some non-zero integer.
	(click-to-add="1").  Add a "click_to_add_message" argument.

	* e-tree-model.c: Add a commented out value_to_string handler.

From widgets/meeting-time-sel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added the include path to top_srcdir.

svn path=/trunk/; revision=3744
2000-06-27 00:51:06 +00:00
e923d2eea9 Make the broken threads optional
svn path=/trunk/; revision=3740
2000-06-26 18:21:45 +00:00
187f4c8b0c commenting out of some GDK_THREADS_*() junk that was causing a lock
also fixed an assignment problem (var = void) in mail-config.c

svn path=/trunk/; revision=3738
2000-06-26 16:02:06 +00:00
9c515ee30b Add some debugging messages to track down thread issues better and
call GDK_THREAD_{LEAVE,ENTER} around the main loop as the GTK+
FAQ says we should do.

svn path=/trunk/; revision=3737
2000-06-26 05:29:04 +00:00
78075bd090 Force thread usage and clean up the configure aspect thereof.
svn path=/trunk/; revision=3734
2000-06-25 23:00:29 +00:00
c3d1ab1fc9 folder-browser.c: Improved the code to separate the imap namespace from the folder path
svn path=/trunk/; revision=3713
2000-06-23 19:55:09 +00:00
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
45cca0f241 Little prototype fixes
svn path=/trunk/; revision=3708
2000-06-23 15:58:22 +00:00
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
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
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
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
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
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
6d28aafe86 Add libs so that we link right with gthreads
svn path=/trunk/; revision=3695
2000-06-22 20:32:11 +00:00
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
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
d8962e3587 Prettify the progress dialog a bit.
svn path=/trunk/; revision=3689
2000-06-22 13:42:25 +00:00
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
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
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
42d0cc5ca7 Add the async mail API (still not hooked up though)
svn path=/trunk/; revision=3676
2000-06-21 18:14:44 +00:00
100bc92dd2 Get evolution-dir the right way in e-setup.h
svn path=/trunk/; revision=3675
2000-06-21 16:12:00 +00:00
ed11b82023 oops, should have checked for a NULL sources in component-factory.c
(create_imap_storage)

svn path=/trunk/; revision=3657
2000-06-21 01:36:34 +00:00
b07386e871 Quick hack to prevent a NULL pointer dereference. Things need to be
* message-list.c (mark_msg_seen): Quick hack to prevent a NULL
	pointer dereference. Things need to be cleaned up a bit more here
	though.

svn path=/trunk/; revision=3653
2000-06-20 22:27:24 +00:00
a559a01cd4 Oops. This should have been removed a long time ago.
* mail-sources.c: Oops. This should have been removed a long time
	ago.

svn path=/trunk/; revision=3650
2000-06-20 21:17:46 +00:00
9272361bba Only fetch the summary if the folder summary doesn't already exist. When
2000-06-20  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_summary): Only
	fetch the summary if the folder summary doesn't already exist.
	When the summary *does* exist, start fetching from 1, not 0.
	(imap_free_summary): Don't do anything here.
	(imap_finalize): Free the summary here instead of in
	imap_free_summary().

	* camel-url.c (check_equal): No need to check s1 if s2 is NULL
	(camel_url_equal): Don't check the passwd component of the url.

and in mail/component-factory.c (create_imap_storage): removal of
debug statements
mail/folder-browser.c (folder_browser_load_folder): improved imap
service parser

svn path=/trunk/; revision=3649
2000-06-20 21:11:07 +00:00