Commit Graph

3737 Commits

Author SHA1 Message Date
38168a2e40 New function. (scan_property): Handle the RDATE property. (scan_period):
2000-07-25  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_free_period_list): New function.
	(scan_property): Handle the RDATE property.
	(scan_period): Likewise.
	(free_icalcomponent): Likewise.
	(get_period_list): Likewise.
	(set_period_list): Likewise.
	(cal_component_get_rdate_list): Likewise.
	(cal_component_set_rdate_list): Likewise.
	(scan_text): Simplify a bit since we only handle the ALTREP
	parameter; there is no need to iterate over all parameters.
	(scan_datetime): Simplify; just handle the TZID parameter.
	(scan_summary): Simplify; just handle the ALTREP parameter.
	(cal_component_get_as_string): New function.

	* idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER;
	now we only expose the types of objects we know about.

	* cal-util/cal-util.h (CalObjType): Likewise.

	* cal-client/cal-client.c (cal_client_get_n_objects): Likewise.
	(cal_client_get_uids): Likewise.

	* conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise.
	(check_for_slow_setting): Likewise.

	* pcs/cal-backend-imc.c (count_objects): Likewise.
	(build_uids_list): Likewise.

	* pcs/cal.c (Cal_get_uids): Likewise.
	(Cal_get_n_objects): Likewise.

svn path=/trunk/; revision=4336
2000-07-25 22:01:22 +00:00
6602e01493 Made foreach call the callback in top to bottom order.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Made foreach call the callback in top
	to bottom order.

svn path=/trunk/; revision=4335
2000-07-25 21:59:29 +00:00
20e7e5d650 Replaced get_selection_list with foreach.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c, e-table-selection-model.h: Replaced
	get_selection_list with foreach.

	* e-table.h: Add a ETableSelectionModel.

svn path=/trunk/; revision=4334
2000-07-25 21:56:06 +00:00
fe4bbe19bf Always prepend a leading "/" to the url->path. (set_service_url): Added
2000-07-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config.c (get_service_url): Always prepend a leading "/" to
	the url->path.
	(set_service_url): Added more error checking and also strip the
	leading '/' from the url->path
	(create_identity_page): Set the signature file to the one specified in
	the identity record, else set the default path to ~/.sugnature

svn path=/trunk/; revision=4333
2000-07-25 21:54:09 +00:00
35ed08a765 Always prepend a leading "/" to the url->path. (set_service_url): Added
2000-07-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config.c (get_service_url): Always prepend a leading "/" to
	the url->path.
	(set_service_url): Added more error checking and also strip the
	leading '/' from the url->path

svn path=/trunk/; revision=4332
2000-07-25 21:43:15 +00:00
d6c66f72e7 Added e-table-selection-model.c and e-table-selection-model.h.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-selection-model.c and
	e-table-selection-model.h.

	* e-table-selection-model.c: Added the get_selection_list and
	is_row_selected functions.  Removed some unused code.

	* e-table-selection-model.h: Removed some unused code.

svn path=/trunk/; revision=4331
2000-07-25 21:30:25 +00:00
fc661fb23a add textual exception printout. (set_editor_text): close pre tags & check
2000-07-25  Michael Meeks  <michael@helixcode.com>

	* e-msg-composer.c (get_text): add textual exception printout.
	(set_editor_text): close pre tags & check for pre-existing
	sig separator.

2000-07-25  Michael Meeks  <michael@helixcode.com>

	* mail-config.c (create_identity_page): set default signature to
	~/.signature

2000-07-25  Michael Meeks  <michael@helixcode.com>

	* backend/ebook/load-pine-addressbook.c (book_open_cb): check we
	opened ok.

svn path=/trunk/; revision=4330
2000-07-25 21:14:58 +00:00
120687c8a8 Added comments to the bit field code.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Added comments to the bit field code.

	* e-table-selection-model.h: Made the selection data guint32s.

svn path=/trunk/; revision=4329
2000-07-25 20:55:07 +00:00
cbaec94596 More fixes.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: More fixes.

svn path=/trunk/; revision=4328
2000-07-25 20:46:49 +00:00
4ab46c1b63 Fixed up the bit manipulation a bit here.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Fixed up the bit manipulation a bit
	here.

svn path=/trunk/; revision=4327
2000-07-25 20:17:59 +00:00
384b3e38f2 New files for doing a selection model. Not finished yet and thus not in
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c, e-table-selection-model.h: New files
	for doing a selection model.  Not finished yet and thus not in
	Makefile.am.

	* e-table.c, e-table.h: Renamed the new dnd signals so that they
	won't conflict with the widget signals.

svn path=/trunk/; revision=4326
2000-07-25 20:05:29 +00:00
1f1872ec3c Added addressbook/conduit/Makefile.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Added addressbook/conduit/Makefile.

svn path=/trunk/; revision=4325
2000-07-25 20:03:41 +00:00
29a8e4e4cd Typo fix
svn path=/trunk/; revision=4324
2000-07-25 19:58:34 +00:00
cd27c67fbc new ECalendarTable to show an ETable view for Todo/Event items.
2000-07-25  Damon Chaplin  <damon@helixcode.com>

	* gui/e-calendar-table.[hc]: new ECalendarTable to show an ETable view
	for Todo/Event items.

	* gui/task-assigned-to.xpm:
	* gui/task-recurring.xpm:
	* gui/task-assigned.xpm:
	* gui/task.xpm: new pixmaps (all the same at present) to go in the
	icon column of the ETable.

	* gui/event-editor.c: hid the silly 'Calendar' labels on the
	GnomeDateEdits and hid the times when you select 'All day event'.
	Also adjusted the time_t's so that when an all day event finishes on
	say midnight 13th May, we show 12th May in the dialog, since it
	implicitly includes all of that day up to midnight.

	* gui/dialogs/task-editor-dialog.glade:
	* gui/dialogs/task-editor.[hc]: unfinished dialog to edit tasks.

	* gui/gncal-todo.c: temporary hack so that we can use the simple dialog
	with our new ETable.

svn path=/trunk/; revision=4323
2000-07-25 19:49:15 +00:00
516b594aa9 new widget and canvas item to replace GtkCalendar. Not quite finished yet.
2000-07-25  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.h:
	* e-calendar.[hc]: new widget and canvas item to replace GtkCalendar.
	Not quite finished yet.

svn path=/trunk/; revision=4322
2000-07-25 19:45:47 +00:00
28288cc95b Fixed the real problem that Peter was running into.
2000-07-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_summary_free): Fixed the
	real problem that Peter was running into.

svn path=/trunk/; revision=4321
2000-07-25 19:35:08 +00:00
be392a4414 build static versions of some util libraries for the conduit to link with
svn path=/trunk/; revision=4320
2000-07-25 19:20:32 +00:00
43ef719142 Fix crash on NULL current_message when replying.
svn path=/trunk/; revision=4319
2000-07-25 19:14:03 +00:00
dffee37274 Don't add a Mime-Version header to a message that already has one.
* camel-mime-message.c (write_to_stream): Don't add a Mime-Version
	header to a message that already has one.

	* camel-internet-address.c (internet_encode): Don't put <>s around
	addresses with no name part.

svn path=/trunk/; revision=4318
2000-07-25 17:59:07 +00:00
55499dc015 Don't group together messages with the same non-Re: subject and no
* message-thread.c (group_root_set): Don't group together messages
	with the same non-Re: subject and no References/In-Reply-To. More
	often than not, they're unrelated. (eg, "[No subject]".)
	(thread_messages): Handle messages with no Message-Id. "This
	shouldn't happen", but it does sometimes, and it's not much code
	to make it just work.

svn path=/trunk/; revision=4317
2000-07-25 17:31:50 +00:00
e12a083de7 IMAP expunge crash prevention... still not right...
svn path=/trunk/; revision=4316
2000-07-25 16:02:20 +00:00
44f34e693b Update the insert text file command. Still waiting on GtkHtml.
svn path=/trunk/; revision=4315
2000-07-25 15:30:06 +00:00
6cb94e8b13 Fix GtkOptionMenu usage so that the mail source selector looks right.
svn path=/trunk/; revision=4314
2000-07-25 11:27:57 +00:00
5b9ae086e8 Work around utter GtkOptionMenu brokenness so that we finally have a
nice-looking option menu for the folder creation dialog.

svn path=/trunk/; revision=4313
2000-07-25 11:07:12 +00:00
126807f8aa Implemented some of the drag & drop code. Drops all report as being on row
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c, e-table.h: Implemented some of the drag & drop code.
	Drops all report as being on row 0, col 0.  Also, automatic drags
	don't set the row and column being dragged from.

svn path=/trunk/; revision=4312
2000-07-25 08:20:21 +00:00
55702ec70b Added a bunch of e_marshal functions.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added a bunch of e_marshal functions.

svn path=/trunk/; revision=4311
2000-07-25 07:44:11 +00:00
38a5ff75a7 Added a #define for "X-EVOLUTION-PILOTID". Added a parse_pilot_id to read
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card.c: Added a #define for
	"X-EVOLUTION-PILOTID".  Added a parse_pilot_id to read pilot id's
	in properly from VCards.  Rearranged some field orders.  Added a
	get_arg case for ARG_PILOTID.  Initialize pilot_id field to 0.

svn path=/trunk/; revision=4310
2000-07-25 07:37:44 +00:00
e89713fcd5 Optimized to try and get the new message headers without reloading the
2000-07-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
	Optimized to try and get the new message headers without reloading
	the entire summary from scratch.
	(imap_get_summary_internal): Will now sync() before attempting to reload
	the summary so that flags are set in the reloaded summary as well.

svn path=/trunk/; revision=4309
2000-07-25 05:32:55 +00:00
6a601c210b Updated to give special attention to the root folder.
2000-07-24  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (get_folder): Updated to give special
	attention to the root folder.

	* providers/imap/camel-imap-folder.c (imap_get_subfolder_names_internal):
	Updated to handle the root folder
	(imap_get_message_count_internal): return 0 if folder can't hold messages
	(camel_imap_folder_new): Change so that root folder gets special attention
	and always gets can_hold_messages set to FALSE

svn path=/trunk/; revision=4308
2000-07-25 03:45:55 +00:00
f2aca892ee add pilot_id.
2000-07-24  Chris Toshok  <toshok@helixcode.com>

	* backend/ebook/e-card.h: add pilot_id.

	* backend/ebook/e-card.c (e_card_get_vcard): add support for
	X-EVOLUTION-PILOTD vcard field.
	(e_card_class_init): add pilot_id arg.
	(e_card_set_arg): handle pilot_id arg.

svn path=/trunk/; revision=4307
2000-07-25 03:19:48 +00:00
d449524969 more stuff. too much to use a changelog for.
svn path=/trunk/; revision=4306
2000-07-25 03:16:15 +00:00
e1ecbdf489 Update for CamelFolder API changes. (Certain functions no longer take a
* message-list.c (mark_msg_seen, ml_tree_set_value_at,
	message_list_regenerate): Update for CamelFolder API changes.
	(Certain functions no longer take a CamelException.)

	* mail-ops.c (real_fetch_mail, real_send_mail, real_delete_msg):
	ditto

	* component-factory.c (real_create_imap_storage,
	real_create_news_storage): ditto

svn path=/trunk/; revision=4305
2000-07-25 02:47:18 +00:00
8c845a7e32 Update for CamelFolder API changes. (delete_message and get_uids don't
* filter-driver.c (do_delete, filter_driver_run): Update for
	CamelFolder API changes. (delete_message and get_uids don't take
	exceptions any more.)

svn path=/trunk/; revision=4304
2000-07-25 02:43:23 +00:00
72183d80ec Remove exceptions from a number of methods that work on what ought to be
* camel-folder.c: Remove exceptions from a number of methods that
	work on what ought to be static data: get_parent_folder,
	get_parent_store, get_message_count, get_unread_message_count,
	get_permanent_flags, get_message_flags, set_message_flags,
	get_message_user_flag, set_message_user_flag, get_uids,
	get_summary, get_subfolder_names. Turn camel_folder_delete_message
	into a macro. (Mostly a pull-up from the camel-async branch.)

	* providers/{imap,mbox,nntp,pop3,vee}: Update for CamelFolder
	changes

svn path=/trunk/; revision=4303
2000-07-25 02:42:11 +00:00
58eab08d84 Updated to port easily to the new Camel API (imap_init): Don't SELECT
2000-07-24  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message_info): Updated
	to port easily to the new Camel API
	(imap_init): Don't SELECT INBOX, we don't need to do that

svn path=/trunk/; revision=4302
2000-07-25 02:02:14 +00:00
9a6b1689a7 Remove GOAD support.
* component-factory.c, folder-browser-factory.c, test-mail.c:
	Remove GOAD support.

	* main.c: Remove GOAD support.
	(main): More "guess the build mistake" fun, this time for the
	failure to initialize Bonobo case.

svn path=/trunk/; revision=4301
2000-07-25 01:38:08 +00:00
c09bf79964 Remove GOAD support. (create_editor): Try to give a more helpful error
* e-msg-composer.c: Remove GOAD support.
	(create_editor): Try to give a more helpful error message when
	failing to load the editor control.

svn path=/trunk/; revision=4300
2000-07-25 01:20:48 +00:00
dbf077d9dd Remove GOAD support.
* e-shell.c, main.c: Remove GOAD support.

	* evolution-shell-component-client.c: Remove GOAD support.
	(evolution_shell_component_client_new): Give the "maybe
	OAF_INFO_PATH" message if no oafinfo file was found, and give a
	"consult previous error messages" message if the component was
	found but not activated. Abort in either case.

svn path=/trunk/; revision=4299
2000-07-25 01:16:38 +00:00
b4fa8e15a8 Initialize the summary and subfolder listing. (imap_summary_free): Now
2000-07-24  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (camel_imap_folder_new):
	Initialize the summary and subfolder listing.
	(imap_summary_free): Now takes a GPtrArray arg rather than a
	CamelImapFolder as it increases it's usefullness for free()'ing
	temporary summaries.
	(imap_get_message_count_internal): A new convenience function for
	getting the actual message count on a server to be used by
	imap_get_summary_internal)
	(imap_get_message_count): Since the Camel API is on the move again,
	the future version of this function will not be able to make a
	call to the store, it must only access previously fetched data (thus
	the creation of the _internal function)
	(imap_get_subfolder_names_internal): Again, because the future version
	of imap_get_subfolder_names will not take an exception, we must rename
	this function which will be called by camel_imap_folder_new()
	(imap_get_subfolder_names): We now return the previously collected
	subfolder listing that the _internal function fetched previously
	(imap_get_summary_internal): Again, same idea as the previous _internal
	functions...
	(imap_get_summary): Again... now returns a previously aquired summary

	* providers/imap/camel-imap-store.c (imap_noop): This will hopefully
	prevent the imap store from disconnecting.
	(imap_connect): Modified to add a gtk timeout event that will call
	imap_noop() every 10 minutes (we may want to change this time value)
	(imap_disconnect): Modified to remove the NOOP timeout event from the
	store.
	(camel_imap_command_extended): Commented out the code that would try
	and detect if the store was disconnected and then reconnect if it was
	needed.

svn path=/trunk/; revision=4298
2000-07-24 23:10:21 +00:00
0b016c6fa1 Huge update. I do not expect this commit to work.
svn path=/trunk/; revision=4295
2000-07-24 17:17:48 +00:00
efd299954f Updated the Turkish translation of Evol
svn path=/trunk/; revision=4294
2000-07-24 16:07:22 +00:00
23c5109f7b This should work now.
svn path=/trunk/; revision=4293
2000-07-24 15:28:47 +00:00
8c4533cc2d Remove camel_folder_get_message_uid, which was not used, and not
* camel-folder.[ch]: Remove camel_folder_get_message_uid, which
	was not used, and not implemented by any provider.

	* providers/nntp/camel-nntp-folder.c: Remove get_message_uid
	non-implementation.

svn path=/trunk/; revision=4292
2000-07-24 15:16:09 +00:00
34057bd1f0 Bye bye bye.
* camel-folder-pt-proxy.[ch], camel-arg-collector.c,
	camel-marshal-utils.[ch]: Bye bye bye.

	* Makefile.am: remove reference to camel-arg-collector.c

svn path=/trunk/; revision=4291
2000-07-24 15:13:07 +00:00
1558154d52 Szabolcs BAN <shooby@gnome.hu>
* Updated Hungarian translations..

svn path=/trunk/; revision=4290
2000-07-24 07:24:22 +00:00
b9215b6f14 Added missing \n.
2000-07-24  Federico Mena Quintero  <federico@helixcode.com>

	* it.po: Added missing \n.

svn path=/trunk/; revision=4289
2000-07-24 04:25:16 +00:00
e9112cf496 Made it a little more forgiving. Also set current_folder to NULL as there
2000-07-23  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (imap_disconnect): Made it a
	little more forgiving. Also set current_folder to NULL as there is
	no selected folder after a disconnect.
	(stream_is_alive): Detects whether or not a socket is "alive"
	(camel_imap_command_extended): Use stream_is_alive() to aid in the
	detection of a disconnected state.

svn path=/trunk/; revision=4288
2000-07-24 01:37:43 +00:00
6095a95133 Remove the idle handler when we're destroyed.
2000-07-23  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-book-view-listener.c: Remove the idle handler
	when we're destroyed.

	* printing/e-contact-print.c: Fixed the spacing on the card
	header.

svn path=/trunk/; revision=4287
2000-07-23 20:34:03 +00:00
a8a443d6d4 Updated russian translation.
svn path=/trunk/; revision=4286
2000-07-23 15:57:27 +00:00
e3f8e22df0 Add a "Send HTML mail" toggle in the message composer.
svn path=/trunk/; revision=4284
2000-07-23 13:55:13 +00:00