Commit Graph

2886 Commits

Author SHA1 Message Date
4f20138bfc flush the filter stream before unreffing it, so it will
* camel-mime-part.c (write_to_stream): flush the filter stream
	before unreffing it, so it will camel_mime_filter_complete.

	* camel-stream-filter.c (camel_stream_filter_class_init): Fix a
	braino so camel_stream_flush works here.

	* camel-stream-mem.c (stream_seek): Fix a bug that resulted in
	large attachments being silently dropped.

	* providers/pop3/camel-pop3-store.c
	(camel_pop3_command_get_additional_data): Don't use g_strjoinv
	here, since it is O(n^2) on the length of the output string, and
	we can do O(n).

	* camel-mime-part-utils.c
	(simple_data_wrapper_construct_from_parser): add a CRLF decoder
	after the QP/B64 decoder if it's text.

svn path=/trunk/; revision=3658
2000-06-21 02:09:48 +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
39ea8e12ac Started adapting ETableItem to use the canvas selection/cursor system.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c, e-table-item.h: Started adapting ETableItem to
	use the canvas selection/cursor system.

svn path=/trunk/; revision=3656
2000-06-21 00:12:48 +00:00
6d460ba3fe Built a system for doing selections and/or a cursor in canvas.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Built a system for doing selections
	and/or a cursor in canvas.

svn path=/trunk/; revision=3655
2000-06-21 00:11:50 +00:00
5d477147b7 now parses flags gotten from the IMAP server correctly
svn path=/trunk/; revision=3654
2000-06-20 22:33:40 +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
de2f05a152 Implemented. (imap_sync): Added code to set flags on messages that have
2000-06-20  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_set_message_flags):
	Implemented.
	(imap_sync): Added code to set flags on messages that have had
	their flags changed (however I #if'd it out until we are more
	confidant in the IMAP code :)

svn path=/trunk/; revision=3652
2000-06-20 22:07:48 +00:00
051c089b48 Updated Portuguese translation
svn path=/trunk/; revision=3651
2000-06-20 21:37:50 +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
8f881bd9d5 working on getting IMAP folder selection working
svn path=/trunk/; revision=3648
2000-06-20 18:04:10 +00:00
b7f2532c93 mark the message info with CAMEL_MESSAGE_FOLDER_FLAGGED if we change the
* camel-folder-summary.c (camel_folder_summary_add): mark the
	message info with CAMEL_MESSAGE_FOLDER_FLAGGED if we change the
	uid, so the folder will know that it's dirty.

svn path=/trunk/; revision=3647
2000-06-20 17:37:33 +00:00
98928d9663 Now returns the last line of data that the server sends back as well. This
2000-06-20  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (camel_imap_command_extended):
	Now returns the last line of data that the server sends back as
	well. This is needed for commands like SELECT (like Peter pointed
	out).
	(camel_imap_command): No longer checks for SELECT (no need)

	* providers/imap/camel-imap-folder.c: Added namespace stuff
	which we will need later on...
	(imap_parse_subfolder_line): Convenience function for use in
	get_subfolder_names()
	(imap_get_subfolder_names): Updated. Also changed it to use LIST
	instead of LSUB (temporary change).

svn path=/trunk/; revision=3646
2000-06-20 17:34:18 +00:00
8a77b2dfd8 Add missing declaration of `evolution_dir' to get it to compile.
svn path=/trunk/; revision=3645
2000-06-20 17:02:08 +00:00
0f56e5e54e Add a confirmation dialog box for when the user tries to send a
message without a subject.

svn path=/trunk/; revision=3644
2000-06-20 04:59:16 +00:00
1ede35fcdd basically got IMAP into the tree view
svn path=/trunk/; revision=3643
2000-06-20 04:57:39 +00:00
12da85716e Italian translation from Clara Tattoni <clara.tattoni@libero.it>.
svn path=/trunk/; revision=3642
2000-06-20 02:33:40 +00:00
f6ed66e592 add an option to prefer text/plain. (reply_body): add an option to prefer
* mail-format.c (find_preferred_alternative): add an option to
	prefer text/plain.
	(reply_body): add an option to prefer text/plain
	(mail_generate_reply): Check the mail sending preferences, and
	generate a text/plain reply if the user prefers to send plain text
	(and we have a text/plain part to generate a reply from).

svn path=/trunk/; revision=3641
2000-06-20 02:23:53 +00:00
7a437e5204 Remove the 'POSIX_SOURCE' define completely as we don't need that
anymore.

svn path=/trunk/; revision=3640
2000-06-19 22:53:21 +00:00
10966ada70 tidied up dialog a bit, adding space etc.
2000-06-19  Damon Chaplin  <damon@helixcode.com>

	* gui/event-editor-dialog.glade: tidied up dialog a bit, adding
	space etc.

	* gui/e-week-view.c (e_week_view_reshape_events): removed debug msg.

svn path=/trunk/; revision=3639
2000-06-19 21:55:38 +00:00
8f4e85313c #undef _POSIX_SOURCE after including dirent.h. this breaks the build on
2000-06-19  Chris Toshok  <toshok@helixcode.com>

	* e-local-storage.c: #undef _POSIX_SOURCE after including
	dirent.h.  this breaks the build on freebsd if we leave it
	#defined.  go figure.

svn path=/trunk/; revision=3638
2000-06-19 21:35:59 +00:00
9c3a56da17 call e_table_model_row_inserted instead of e_table_model_changed.
2000-06-17  Chris Toshok  <toshok@helixcode.com>

	* e-tree-model.c (e_tree_model_node_insert): call
	e_table_model_row_inserted instead of e_table_model_changed.

svn path=/trunk/; revision=3637
2000-06-19 21:02:18 +00:00
b27eb5f67a Set summary equal to NULL. (imap_get_summary): Store the summary in the
2000-06-19  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (camel_imap_folder_init):
	Set summary equal to NULL.
	(imap_get_summary): Store the summary in the ImapFolder
	(imap_summary_get_by_uid): If we have a summary cache in the
	ImapFolder, first check to see if that message info is in the
	cached summary first, if not fetch it directly from the IMAP
	server and append it to the summary cache.
	(imap_get_message_flags): Don't free the message info that we
	get back from summary_get_by_uid as we don't want to be
	corrupting our cached summary.

svn path=/trunk/; revision=3636
2000-06-19 20:54:50 +00:00
b14b1bfac1 Read the full server reply when we SELECT mailboxes.
svn path=/trunk/; revision=3635
2000-06-19 20:46:20 +00:00
2f73c4665e Oops. except make it actually work.
svn path=/trunk/; revision=3634
2000-06-19 15:40:57 +00:00
bfe29e73cd Add a warning before crashing due to a known bug when it can't activate a
* evolution-shell-component-client.c
	(evolution_shell_component_client_new): Add a warning before
	crashing due to a known bug when it can't activate a component, so
	people don't have to waste any time trying to figure out what's
	up.

svn path=/trunk/; revision=3633
2000-06-19 15:39:59 +00:00
97110efe38 removed debugging messages & unused stuff.
svn path=/trunk/; revision=3632
2000-06-19 07:29:14 +00:00
eae703e085 added support for scroll-wheels.
2000-06-19  Damon Chaplin  <damon@helixcode.com>

	* e-icon-bar-bg-item.c:
	* e-icon-bar.c:
	* e-icon-bar.h:
	* e-vscrolled-bar.c: added support for scroll-wheels.

svn path=/trunk/; revision=3631
2000-06-19 07:26:12 +00:00
105dd5c5f6 Fix compilation with builddir != srcdir.
svn path=/trunk/; revision=3630
2000-06-19 05:56:31 +00:00
c75809d23c Should now correctly display the Transport page (made it set the
2000-06-19  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config.c (providers_config_new): Should now correctly display
	the Transport page (made it set the optionmenu correctly, before it
	would only set SMTP).
	(create_transport_page): Updated to set the page info to sendmail/smtp
	based on the url.
	(create_service_page): Had to add some code to set data on some objects
	so I could grab the objects I needed to modify in the above function.

svn path=/trunk/; revision=3629
2000-06-19 04:28:17 +00:00
0d89b1de42 fixed a DnD bug.
2000-06-18  Damon Chaplin  <damon@helixcode.com>

	* gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received):
	fixed a DnD bug.

svn path=/trunk/; revision=3628
2000-06-19 04:00:32 +00:00
11c0b04807 started to add code to load an IMAP folder.
2000-06-18  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser.c (folder_browser_load_folder): started to add
	code to load an IMAP folder.

	* component-factory.c: Started to add a create_imap_storage
	method so that we can eventually have our IMAP store displayed
	in the tree view.
	(create_vfolder_storage): Renamed from
	create_test_storage().
	(owner_set_cb): Updated.

svn path=/trunk/; revision=3627
2000-06-19 02:55:09 +00:00
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