Commit Graph

2854 Commits

Author SHA1 Message Date
e02ffba8e0 Now gets the message flags as it should. (imap_get_summary): Same as
2000-06-18  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_summary_get_by_uid):
	Now gets the message flags as it should.
	(imap_get_summary): Same as imap_summary_get_by_uid
	(imap_get_permanent_flags): Return the permanent flags stored
	on the folder.
	(imap_get_message_flags): Return message flags associated with
	given uid. Note: we may want to somehow cache summary info so
	that we don't have to keep querying the IMAP provider in
	imap_summary_get_by_uid().

svn path=/trunk/; revision=3626
2000-06-18 21:47:21 +00:00
c1c936c70a We were leaking memory - but not anymore! (imap_get_summary): We now get
2000-06-17  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_free_summary): We were
	leaking memory - but not anymore!
	(imap_get_summary): We now get the UIDs and the beginnings of the
	code to get the message flags as well.

svn path=/trunk/; revision=3625
2000-06-18 01:56:23 +00:00
4ffc39159b Don't copy newlines into the parsed header text, and turn any number of
* camel-mime-parser.c (folder_scan_header): Don't copy newlines
	into the parsed header text, and turn any number of tabs and
	spaces after a newline into a single space.

svn path=/trunk/; revision=3624
2000-06-18 00:59:15 +00:00
f4ae655f41 camel/providers/imap/camel-imap-folder.c: CAPABILITY now works like it should
po/POTFILES.in: removed reference to camel/providers/imap/imap.c - this was just
a temporary file to use as a reference for IMAP code

svn path=/trunk/; revision=3623
2000-06-18 00:18:57 +00:00
98ee88c416 Fix to not depend on installed ical.h
* cal-client/Makefile.am (INCLUDES): Fix to not depend on
	installed ical.h

svn path=/trunk/; revision=3622
2000-06-17 23:26:08 +00:00
3144d402b5 exit immediately if aclocal, autoheader, automake, or autoconf fails,
* autogen.sh: exit immediately if aclocal, autoheader, automake,
	or autoconf fails, rather than continuing on with broken state.
	(In the aclocal case, print a hopefully-useful explanatory
	message.)

svn path=/trunk/; revision=3616
2000-06-17 21:00:40 +00:00
b6225c748d Prevent double-freeing action on summary_table and uid_rowmap.
* message-list.c (message_list_set_folder): Prevent double-freeing
	action on summary_table and uid_rowmap.

svn path=/trunk/; revision=3615
2000-06-17 19:55:42 +00:00
67936b0c77 Add some debugging printfs when rebulding summary to help figure out why
* providers/mbox/camel-mbox-summary.c: Add some debugging printfs
	when rebulding summary to help figure out why people's summaries
	are always being rebuilt.

svn path=/trunk/; revision=3614
2000-06-17 19:12:47 +00:00
cde9231ca7 removed imap.c/h from providers/imap
began implementing search functionality

svn path=/trunk/; revision=3613
2000-06-17 19:00:58 +00:00
26788bf81f Mention OAF_INFO_PATH. Fix gtkhtml entry (need CVS gtkhtml now)
svn path=/trunk/; revision=3612
2000-06-17 18:56:56 +00:00
dc2be767c1 Updated russian translation.
svn path=/trunk/; revision=3611
2000-06-17 15:13:31 +00:00
c47e316032 Made cells with strikeout on have a line from the left margin to the right
2000-06-17  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Made cells with strikeout on have a line from the
	left margin to the right margin, instead of just over the text.

svn path=/trunk/; revision=3609
2000-06-17 12:39:03 +00:00
dd121f1314 Made the left column of minicards not get any wider than the widest
2000-06-17  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-label.c,
	gui/minicard/e-minicard-label.h, gui/minicard/e-minicard.c: Made
	the left column of minicards not get any wider than the widest
	possible name.

svn path=/trunk/; revision=3608
2000-06-17 12:36:20 +00:00
2b8fb337a5 Made EText use the font from the canvas's style if one isn't set.
2000-06-17  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made EText use the font from the
	canvas's style if one isn't set.

svn path=/trunk/; revision=3607
2000-06-17 12:35:12 +00:00
18dc66f594 Added code to expunge if called for (still need to finish coding this).
2000-06-16  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_sync): Added code
	to expunge if called for (still need to finish coding this).
	(imap_get_uids): Implemented.
	(imap_get_summary): Found a way to get the date
	(imap_summary_get_by_uid): Same.
	(imap_free_summary): Implemented.

	* string-utils.c (strstrcase): Fixed a compile warning

	* providers/imap/camel-imap-summary.c: Removed - we don't
	need a CamelImapSummary structure.

svn path=/trunk/; revision=3606
2000-06-17 05:29:55 +00:00
7070854816 added little buttons which are shown when there are more events than will
* gui/e-week-view.c: added little buttons which are shown when there
	are more events than will fit in a day. Clicking on the button takes
	the user to the 1-Day view and shows the full day.

	* gui/e-day-view.c:
	* gui/e-week-view.c: set the "use_ellipsis" arg to TRUE for the EText
	items so we get tooltips automatically. Though we may want to use our
	own code to show tooltips so we can show the tips when the mouse is
	around the edges of the event box, and we may want to show the start
	and end times of the event in full.

	* gui/calendar-commands.c (calendar_control_activate):
	* gui/gnome-cal.h: added view_toolbar_buttons[] so we can access the
	radio buttons in the code easily. We need this if we want to jump to
	another view programmatically.

svn path=/trunk/; revision=3605
2000-06-17 04:20:38 +00:00
e67721cbd7 updated to use EText items rather than GtkEntry widgets and added support
2000-06-17  Damon Chaplin  <damon@helixcode.com>

	* widgets/meeting-time-sel/*: updated to use EText items rather than
	GtkEntry widgets and added support for adding new rows.

svn path=/trunk/; revision=3604
2000-06-17 04:13:42 +00:00
105f78dbe8 I18N the message composer's title bar. Don't install header files.
Initial implementation of the "Open" and "Save as" commands (not
really tested/finished, I am just syncing the tree before leaving).
Put the cursor on the "To:" field when the message composer is shown.
Set the correct shadow type in the scroll frame.

svn path=/trunk/; revision=3603
2000-06-17 03:10:38 +00:00
6c220a4ac7 new icon for the EWeekView to jump to the day.
2000-06-16  Damon Chaplin  <damon@helixcode.com>

	* gui/jump.xpm: new icon for the EWeekView to jump to the day.

	* gui/Makefile.am (EXTRA_DIST): added jump.xpm

svn path=/trunk/; revision=3602
2000-06-16 23:52:52 +00:00
78c8bb8577 Implement clicking on the envelope icon to set read/unread. Based on a
* message-list.c (ml_set_value_at): Implement clicking on the
	envelope icon to set read/unread. Based on a patch by clahey.
	(select_msg): keep the timeout id for the "seen" flagging in the
	message_list structure, so ml_set_value_at can clear it so it
	doesn't re-mark a message seen after you click it unseen.

svn path=/trunk/; revision=3601
2000-06-16 23:50:29 +00:00
9c21067261 new function to do a uid to row mapping. (mark_msg_seen, select_msg,
* message-list.c (get_message_row): new function to do a uid to
	row mapping.
	(mark_msg_seen, select_msg, message_changed,
	message_list_set_folder): Update for Camel flag changes.
	(on_cursor_change_cmd): Rename "row_to_select" to "selected_row",
	and keep a "selected_uid" as well.

	* mail-ops.c (composer_send_cb): Update for Camel flag changes,
	and fix some memory-handling bugs. (Free the post_send_data when
	the composer is destroyed, not when the user clicks "send", which
	could happen never, or more than once.)
	(delete_msg): Update for Camel flag changes, and fix the "holding
	down the delete key skips some messages" bug.

svn path=/trunk/; revision=3600
2000-06-16 23:11:10 +00:00
3069f4c5d1 Update for Camel flag handling changes.
* filter-driver.c (do_delete, filter_driver_run): Update for Camel
	flag handling changes.

svn path=/trunk/; revision=3599
2000-06-16 23:10:12 +00:00
174d7c38d1 Move flag handling from CamelMimeMessage to CamelFolder. This
simplifies several flag-handling pieces of code in the mailer, and
	lets you change a message's flags without having to fetch the
	message body. It also means that fully-constructed
	CamelMimeMessages are now essentially constant, which will help
	simplify locking issues later since it means two threads
	interested in the same message can just work with separate copies
	of it.

	* camel-mime-message.h (struct _CamelMimeMessage): Removed flags
	and user_flags (moved to summary). Removed expunged and
	message_number which were unused. Removed message_uid and folder
	which are no longer needed in the new scheme.
	(struct CamelMimeMessageClass): Removed message_changed signal and
	get/set_message_number methods.

	* camel-mime-message.c: Updates for CamelMimeMessage changes.
	(camel_mime_message_get/set_flags,
	camel_mime_message_get/set_user_flag): Replaced with methods in
	CamelFolder.
	(camel_flag_get, camel_flag_set, camel_flag_list_size,
	camel_flag_list_free): Moved verbatim to camel-folder-summary.c

	* camel-folder.c (camel_folder_get/set_message_flags,
	camel_folder_get/set_message_user_flag): New methods (and
	corresponding useless default implementations)
	(camel_folder_class_init): add a message_changed signal

	* camel-folder-summary.c (camel_flag_get, camel_flag_set,
	camel_flag_list_size, camel_flag_list_free): Moved here from
	camel-mime-message.c

	* providers/mbox/camel-mbox-folder.c (message_changed): Removed.
	(mbox_get_message_flags, mbox_set_message_flags,
	mbox_get_message_user_flag, mbox_set_message_user_flag): Tweak
	summary bits as appropriate. (Functionality moved here from
	message_changed.)
	(mbox_get_message_by_uid): Update for CamelMimeMessage changes
	(less stuff to initialize).

	* providers/imap/camel-imap-folder.c (message_changed): Remove
	this. It was just copied from the mbox provider and doesn't deal
	with the real IMAP flag stuff anyway. (So there's currently no
	flag support in the IMAP provider.)
	(imap_get_message_by_uid): Update for CamelMimeMessage changes.

	* providers/vee/camel-vee-folder.c: (message_changed): Remove old
	one. Add a new one to listen for message_changed on each folder
	and re-emit message_changed signals that correspond to messages in
	the vfolder.
	(vee_get/set_message_flags, vee_get/set_message_user_flag): Proxy
	flag setting to the underlying real messages.
	(vee_append_message): Removed for now; there's no way to translate
	this into the new CamelMimeMessage/CamelFolder scheme, but (a)
	there's also no code which would ever call it and (b) we're
	probably going want a better interface than append_message for
	message drag and drop to work anyway. To be revisited.

svn path=/trunk/; revision=3598
2000-06-16 23:09:43 +00:00
f0600c2ccb KLUDGE! Since neither ETable nor GtkHTML supports UTF-8 yet, output
* camel-mime-utils.c (rfc2047_decode_word):
	* camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser):
	* camel-folder-summary.c (summary_build_content_info):
	KLUDGE! Since neither ETable nor GtkHTML supports UTF-8 yet,
	output ISO-8859-1 instead, so Ettore can read his Italian mail. :)
	This will be reverted later.

svn path=/trunk/; revision=3597
2000-06-16 22:42:12 +00:00
325ee9a266 Updated Norwegian translation.
2000-06-16  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.

svn path=/trunk/; revision=3596
2000-06-16 13:56:27 +00:00
9a3ce8bf53 Squeek - Federico
svn path=/trunk/; revision=3595
2000-06-16 07:57:02 +00:00
e7adcbd323 #ifdef'ed out references to functions which don't exist yet, so evolution
2000-06-16  Damon Chaplin  <damon@helixcode.com>

	* gui/calendar-model.c (calendar_model_class_init): #ifdef'ed out
	references to functions which don't exist yet, so evolution still
	compiles.

svn path=/trunk/; revision=3594
2000-06-16 07:33:13 +00:00
ef4fb079a4 Doh, sync - Federico
svn path=/trunk/; revision=3593
2000-06-16 07:07:02 +00:00
d7480fd1c0 Took out some debugging code.
Took out some debugging code.

svn path=/trunk/; revision=3592
2000-06-16 07:03:18 +00:00
5ecbc259fa updated.
2000-06-16  Damon Chaplin  <damon@helixcode.com>

	* cal-util/test-recur.c: updated.

	* cal-util/cal-recur.[hc]: mostly finished, though it depends on the
	iCalObject struct being updated to support more of iCalendar.

svn path=/trunk/; revision=3591
2000-06-16 06:59:18 +00:00
8f9d4477d4 added evolution-guide and evolution-guide.junk so we don't get the '?
2000-06-16  Damon Chaplin  <damon@helixcode.com>

	* C/.cvsignore: added evolution-guide and evolution-guide.junk
	so we don't get the '? doc/C/evolution-guide' messages each time we
	do a cvs update.

svn path=/trunk/; revision=3590
2000-06-16 06:54:41 +00:00
f1ec2c3f4d added icalendar-test.
2000-06-16  Damon Chaplin  <damon@helixcode.com>

	* pcs/.cvsignore: added icalendar-test.

svn path=/trunk/; revision=3589
2000-06-16 06:51:59 +00:00
bdef37bda3 Moved the reflow signal handling into an idle handler to fix a bug when
2000-06-16  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c, e-table.h: Moved the reflow signal handling into an
	idle handler to fix a bug when resizing twice in succession.

svn path=/trunk/; revision=3588
2000-06-16 05:39:06 +00:00
4ad1d8f783 document camel_folder_search_by_expression
svn path=/trunk/; revision=3587
2000-06-16 01:27:55 +00:00
b52a9eaa1c use libical.a
2000-06-15  Damon Chaplin  <damon@helixcode.com>

	* cal-util/Makefile.am (test_recur_LDADD): use libical.a

svn path=/trunk/; revision=3586
2000-06-16 00:48:44 +00:00
57689076e4 Started to code the imap summary stuff
svn path=/trunk/; revision=3585
2000-06-16 00:20:45 +00:00
a0b7ca18e2 Remove camel_service_connect_with_url. (URLs must be specified when the
* camel-service.c: Remove camel_service_connect_with_url. (URLs
	must be specified when the service is requested from the session,
	so that there can only ever be one service for any URL.)

svn path=/trunk/; revision=3584
2000-06-15 23:05:18 +00:00
0f13b8f0bc Update for CamelFolder changes.
* mail-ops.c (fetch_mail):
	* component-factory.c (owner_unset_cb):
	* message-list.c (message_list_set_folder): Update for CamelFolder
	changes.

svn path=/trunk/; revision=3583
2000-06-15 22:22:20 +00:00
09cf0a78c4 Update for CamelFolder changes.
* filter-driver.c (open_folder, close_folder): Update for
	CamelFolder changes.

svn path=/trunk/; revision=3582
2000-06-15 22:20:58 +00:00
cd157eecb9 Kill. Folders are now always open, and handle "closing" sorts of
* camel-folder.c: (camel_folder_open, camel_folder_is_open,
	camel_folder_get_mode): Kill. Folders are now always open, and
	handle "closing" sorts of operations at sync or finalize time.
	(camel_folder_sync): renamed from camel_folder_close. Syncs state
	to the store but doesn't necessarily close/disconnect.

	* providers/*/camel-*-folder.c: Merge "open" methods into "init"
	methods. Rename close to sync and update appropriately.

	* providers/imap/camel-imap-store.c: Remove camel_imap_store_open
	and camel_imap_store_close, which should not have been copied from
	the POP provider (where the exist to work around limitations of
	the POP protocol).

svn path=/trunk/; revision=3581
2000-06-15 22:19:44 +00:00
e1de51e60e fix a bug. (don't expunge deleted messages if called with expunge ==
* providers/mbox/camel-mbox-summary.c: fix a bug. (don't expunge
	deleted messages if called with expunge == FALSE)

svn path=/trunk/; revision=3580
2000-06-15 22:18:48 +00:00
cb802b193c print the icon for the tree control.
2000-06-15  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c (ect_print): print the icon for the tree control.

svn path=/trunk/; revision=3579
2000-06-15 21:05:28 +00:00
49b37933f9 Check server for various interesting extensions.
* providers/pop3/camel-pop3-store.c (connect_to_server): Check
	server for various interesting extensions.

	* providers/pop3/camel-pop3-folder.c (get_uids): If the server
	supports UIDL, use real UIDs rather than fake ones.
	(etc): Map uids back to numbers appropriately

svn path=/trunk/; revision=3578
2000-06-15 19:38:00 +00:00
f3e0d87b42 Fix to previous change: make sure the "seek" variable ends up with the
* providers/mbox/camel-mbox-folder.c (mbox_append_message): Fix to
	previous change: make sure the "seek" variable ends up with the
	value it should.

	* providers/mbox/camel-mbox-summary.c (summary_rebuild): Update
	summary mtime as well as size.

svn path=/trunk/; revision=3577
2000-06-15 17:52:06 +00:00
94f0df746e New function to revert back to non-searching mode.
* folder-browser.c (folder_browser_clear_search): New function to
	revert back to non-searching mode.

	* mail-ops.c (fetch_mail): Use folder_browser_clear_search.

svn path=/trunk/; revision=3576
2000-06-15 17:31:53 +00:00
86c38b418e if the document requests an unknown URL, it's not an error; just ignore
* mail-display.c (on_url_requested): if the document requests an
	unknown URL, it's not an error; just ignore the URL.

	* mail-ops.c (fetch_mail): If there's no new mail, tell the user.

svn path=/trunk/; revision=3574
2000-06-15 15:24:40 +00:00
927da63198 merge the two separate noinst_PROGRAMS declarations into one so automake
* cal-util/Makefile.am (noinst_PROGRAMS): merge the two separate
	noinst_PROGRAMS declarations into one so automake accepts it.
	(INCLUDES): include libical src dir so we don't depend on having
	ical.h already installed

svn path=/trunk/; revision=3573
2000-06-15 15:11:42 +00:00
4d5d1960b3 bye bye goad
* README: bye bye goad

svn path=/trunk/; revision=3572
2000-06-15 15:03:14 +00:00
a861e97686 Category stuff improved.
* C/usage-contact.sgml: Category stuff improved.


	* C/usage-calendar.sgml: Now covers how to add an event properly.

svn path=/trunk/; revision=3571
2000-06-15 11:02:42 +00:00
4e6bf7a954 keep the GtkFileSelection around between calls so we start up in the same
* e-msg-composer-attachment-bar.c (add_from_user): keep the
	GtkFileSelection around between calls so we start up in the same
	directory we ended up in last time around. (Also fixes a big
	memory leak in that the code was already keeping the
	GtkFileSelection around, it just wasn't remembering to reuse it.)

svn path=/trunk/; revision=3570
2000-06-14 15:49:15 +00:00