| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c: Get rid of some unnecessary
CAMEL_OBJECT() casts.
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): The
folder_name argument passed to this function is ALWAYS in the UNIX
path form (ie. using '/' as the dir sep) and so when getting the
short_name, don't use imap_store->dir_sep as the dir sep, always
use '/'. Fixes bug #53755 for the IMAP case.
svn path=/trunk/; revision=24622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #53755 (local folders case)
* providers/local/camel-mbox-store.c (xrename): No longer takes an
exception arg, we just set errno. Our caller can take care of
setting an exception.
(rename_folder): Don't pass an exception to xrename(), we always
overwrote if an error occured it anyway.
(rename_folder): Rename the .sbd as well.
svn path=/trunk/; revision=24616
|
|
|
|
| |
svn path=/trunk/; revision=24607
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_sync): added 'expunge' parameter,
easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): if we can't add the folder
to the summary {i.e. duplicate}, then ignore it. See #53836.
svn path=/trunk/; revision=24606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_delete_folder): changed order around,
first try to delete and only remove from the object bag if the
delete worked. If vjunk/vtrash enabled, don't allow those to be
deleted.
(cs_delete_cached_folder): helper to delete the folder if its in
the cache, remove it from trash/junk, etc.
(camel_store_unsubscribe_folder): changed similarly to
delete_folder.
* camel-vee-store.c (vee_delete_folder): dont do any trash/junk
processing anymore.
2004-02-03 Not Zed <NotZed@Ximian.com>
* camel-store.c: use the folders object bag to manage the trash
folder and junk folders. Remove the init_trash and init_junk
stuff, just use get_trash and get_junk to mean the same thing.
Get rid of the hacked up vjunk and vtrash "uri" stuff too.
* camel-object.c (camel_object_bag_add): null out the pair->func,
otherwise we get an uninitalised memory read during unhook event.
svn path=/trunk/; revision=24603
|
|
|
|
| |
svn path=/trunk/; revision=24598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-vee-folder.c (vee_folder_build_folder): Use macro casts
from int to pointer.
* camel-folder.c (camel_folder_change_info_add_source): Same as below.
(camel_folder_change_info_add_source_list): Same.
* camel-folder-search.c (camel_folder_search_execute_expression):
Use GINT_TO_POINTER() to cast 1 to a pointer for
g_hash_table_insert().
* camel-vee-folder.c (vee_folder_remove_folder): 64bit fixes.
(folder_added_uid): Same.
(vee_folder_build_folder): Here too.
(folder_changed_add_uid): And here.
(folder_changed_remove_uid): Same.
svn path=/trunk/; revision=24597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* tests/misc/url-scan.c: New test suite for url scanning.
* camel-url-scanner.c: Added single/double quotes to url_braces[]
in case the user is quoting the url.
(camel_url_web_end): Add "-;:" to list of punctuation to strip off
the end of urls. Also fixed to handle user@domain's
(camel_url_addrspec_start): Strip open brace characters from the
beginning of the addr.
(camel_url_web_start): Make sure "www" wasn't part of something
not a url (like "Ewww.Gross") by check that pos[-1] is either an
open brace or whitespace.
(camel_url_addrspec_end): Don't allow toplevel domain addr-specs
(if we encounter something that looks like it is a toplevel domain
addr, it is more likely to be bogus than correct).
svn path=/trunk/; revision=24592
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #53091.
* providers/imap/camel-imap-store.c (create_folder): Set the new
folder's fi->flags to CAMEL_FOLDER_NOCHILDREN since we know it
doesn't have any (we just created it!).
(subscribe_folder): Same.
svn path=/trunk/; revision=24572
|
|
|
|
|
|
|
|
|
| |
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes
the local folder case of bug #53091.
svn path=/trunk/; revision=24571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-31 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Same
as below.
* providers/smtp/camel-smtp-transport.c (smtp_connect): Instead of
using the form %s@%s in the password prompt, use %s on host %s,
hopefully this will be less confusing to users who have usernames
of the form user@vhost.
svn path=/trunk/; revision=24558
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-30 Rodney Dawes <dobey@ximian.com>
* providers/groupwise/camel-groupwise-provider.c: Fix spelling error in
provider description
Fixes #53572
svn path=/trunk/; revision=24550
|
|
|
|
|
|
|
|
|
| |
2004-01-30 Jeffrey Stedfast <fejj@ximian.com>
* camel.c (camel_init): Protect against multiple camel_init()
calls. Remember if we've already been called.
svn path=/trunk/; revision=24547
|
|
|
|
|
|
|
|
|
|
| |
2004-01-30 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_rename_folder): copy the old_name
that comes in, since it might be the actual folder_name, which
will go away during processing. Related to #53123.
svn path=/trunk/; revision=24532
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-29 Not Zed <NotZed@Ximian.com>
** See bug #53269.
* providers/nntp/camel-nntp-store.c
(nntp_store_get_cached_folder_info): don't dereference last before
checking if its null.
svn path=/trunk/; revision=24514
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_bag_rekey): added a doc comment.
** See bug #53520.
* camel-session.c (get_service): free the url once done, it now
gets copied by the service.
* camel-service.c (construct): copy the url that comes in, don't
just '0Wn34z' it. clena up exception handling too.
svn path=/trunk/; revision=24513
|
|
|
|
|
|
|
|
|
|
| |
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (cobject_state_write): output scan->name and
scan->value for writing metadata, rather than meta->name/value
which just duplicates the last entry, related to #53195.
svn path=/trunk/; revision=24510
|
|
|
|
|
|
|
|
|
| |
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-url.c (camel_url_free): zero out passwd/user/host before
freeing them.
svn path=/trunk/; revision=24509
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (rename_folder): Make sure
the new dir path exists before trying to rename files to avoid
ENOENT errors. Also save errno when we encounter errors so that we
can report the true error later rather than an error we may get
while reverting changes. Also, it is OK if the ibex files don't
exist, so check for that errno case.
svn path=/trunk/; revision=24496
|
|
|
|
|
|
|
|
|
|
| |
2004-01-28 Sivaih Nallagatla <snallagatla@novell.com>
* providers/groupwise/camel-gw-listener.c (account_changed)
(modify_esources) : add port and /soap parts to relative uri while
updating it when account changed
svn path=/trunk/; revision=24489
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-27 Radek Doulik <rodo@ximian.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): set
CAMEL_FOLDER_SUPRESS_JUNK_TEST flag
(imap_update_summary): update CAMEL_FOLDER_SUPRESS_JUNK_TEST flag
* camel-folder.c (folder_changed): use
CAMEL_FOLDER_SUPRESS_JUNK_TEST flag instead of check_junk_for_imap
* camel-folder.h (CAMEL_FOLDER_SUPRESS_JUNK_TEST): added new flag
svn path=/trunk/; revision=24463
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-27 Not Zed <NotZed@Ximian.com>
** See bug #53373.
* camel-store.c (camel_store_rename_folder): use object_bag_rekey
to rename the object. object_bag use was broken.
* camel-object.c (camel_object_bag_rekey): new api to atomically re-key
svn path=/trunk/; revision=24458
|
|
|
|
|
|
|
|
|
|
| |
2004-01-23 Radek Doulik <rodo@ximian.com>
* camel-folder.c (folder_changed): use check_junk_for_imap flag
* camel-session.c: add check_junk_for_imap flag
svn path=/trunk/; revision=24381
|
|
|
|
|
|
|
|
| |
of checking for online mode here, let get_message do it when you
retrieve the parts. This lets a multi-fetch (i.e. large) message
work more betterer in offline mode.
svn path=/trunk/; revision=24377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-23 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-folder.c (IMAP_SMALL_BODY_SIZE):
removed the meaningless fixme, a butt-retrieved-number is as good
as any in this case.
(imap_get_message): revert peterw's change of 2002-07-15, instead
of checking for online mode here, let get_message do it when you
retrieve the parts. This lets a multi-fetch (i.e. large) message
work more betterer in offline mode.
svn path=/trunk/; revision=24376
|
|
|
|
|
|
|
|
| |
2004-01-22 Jeremy Katz <katzj@redhat.com>
* camel-mime-part.c: Fix prototype to be consistent.
svn path=/trunk/; revision=24367
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-21 Not Zed <NotZed@Ximian.com>
** See bug #52996.
* camel-data-cache.c (camel_data_cache_add): put a do-loop around
the object_bag_reserve stuff, otherwise we can add/abort out of
sync (i.e. when object_bag_reserve returned a pointer we mustn't
call add/abort).
* camel-object.c (camel_object_bag_*): Added some inline doco.
~
~
~
~
~
~
svn path=/trunk/; revision=24339
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 Not Zed <NotZed@Ximian.com>
** See bug #52817.
* camel-session.c (camel_session_get_password): merged reprompt
and secret into a flags field, and add more options. Fixed all
callers.
svn path=/trunk/; revision=24323
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 Not Zed <NotZed@Ximian.com>
** See bug #52899.
* camel-gpg-context.c (gpg_ctx_parse_status): use need_id as the
password key, not userid.
svn path=/trunk/; revision=24315
|
|
|
|
|
|
|
|
|
| |
2004-01-19 Siviaah Nallagatla <snallagatla@novell.com>
* providers/groupwise/camel-gw-listener.c ( remove_calender_tasks_sources,
modify_calender_tasks_sources) : add port and "/soap" to source uri
svn path=/trunk/; revision=24303
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-19 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (change_folder): use a CamelURL to properly
encode the url we generate.
(vee_get_folder_info): ditto.
(vee_get_folder_info): removed unused variable/warning.
* camel-session.c (vee_provider): Update the provider flags for
URL_FRAGMENT_IS_PATH.
* providers/imapp/camel-imapp-utils.c (imap_parse_addfress_list):
namespaces fixes for HEADER_ADDRESS*
svn path=/trunk/; revision=24299
|
|
|
|
|
|
|
|
|
| |
2004-01-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (imap_sync_online): Limit the
flags we set (or unset) to the folder's permanent flags.
svn path=/trunk/; revision=24289
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (camel_mime_message_build_mbox_from): Same.
* camel-internet-address.c (internet_decode): Same.
* camel-mime-utils.[c,h]: Namespaced camel_header_address_t enums
s/HEADER_ADDRESS_/CAMEL_HEADER_ADDRESS_/g
svn path=/trunk/; revision=24281
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-16 Sivaiah Nallagatla <snallagatla@novell.com>
* providers/groupwise/camel-groupwise-provider.c: added some conf entries for
LDAP address setup
* providers/groupwise/camel-gw-listener.c: added add_ldap_addressbook_source,
modify_ldap_addressbook_source, remove_ldap_addressbook_source functions for
setting up LDAP address book. Also setting "username" property on cal/tasks ESources
svn path=/trunk/; revision=24270
|
|
|
|
| |
svn path=/trunk/; revision=24269
|
|
|
|
| |
svn path=/trunk/; revision=24267
|
|
|
|
| |
svn path=/trunk/; revision=24234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-15 Not Zed <NotZed@Ximian.com>
** See bug #52881.
* camel-object.c (camel_object_bag*): Support reserving different
keys from the same thread. Oh the pain.
* camel-vee-store.c (vee_get_folder_info): implement child flags
properly. Changed to build tree itself rather than calling
camel_folder_info_build.
(vee_get_folder): if we're adding a folder with dummy parents,
create and add the dummy parent folders too (as real folder
objects). We are the only owner of the ref, so this sort of leaks
the folder, but they're small.
svn path=/trunk/; revision=24233
|
|
|
|
|
|
|
|
|
| |
2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-groupwise-provider.c
(camel_provider_module_init): missing renaming.
svn path=/trunk/; revision=24224
|
|
|
|
|
|
|
|
|
| |
2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-gw-listener.c (add_esource): set the
"auth" property on the ESource's we create, to get authentication.
svn path=/trunk/; revision=24216
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-14 Not Zed <NotZed@Ximian.com>
** Patch from Timo Sirainen <tss@iki.fi> to honour read-only
status for imap folders.
* providers/imap/camel-imap-folder.c (camel_imap_folder_selected):
check for read-only status response.
(imap_sync_online): only call sync_offline if we're read-only.
(imap_expunge_uids_resyncing): NOOP for read-only.
svn path=/trunk/; revision=24212
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-14 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-folder.c (local_getv): remove debug
printf.
** See bug #52835.
* camel-smime-context.c (sm_get_passwd): removed debugging. If we
get called multiple times in a row, then forget the old password
and re-prompt - it was a bad password. Zero out password memory
too.
svn path=/trunk/; revision=24208
|
|
|
|
|
|
|
|
| |
2004-01-13 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-groupwise-provider.c: missing renaming.
svn path=/trunk/; revision=24200
|
|
|
|
|
|
|
| |
2004-01-13 Sivaiah Nallagatla <snallagatla@novell.com>
removed unused groupwise-config-listener.[ch] files
svn path=/trunk/; revision=24198
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-13 Sivaiah Nallagatla <snallagatla@novell.com>
* providers/groupwise/camel-gw-listener.[ch] : renamed groupwise-config-listener.[ch]
to these file names and also changed code to use CamelURL insted of EUri
* providers/groupwise/camel-groupwise-provider.c : use the renamed config listener apis
* providers/groupwise/Makefile.am : changed the source file names
svn path=/trunk/; revision=24197
|
|
|
|
|
|
|
|
| |
2004-01-12 JP Rosevear <jpr@ximian.com>
* configure.in: bump version and requirements
svn path=/trunk/; revision=24193
|
|
|
|
| |
svn path=/trunk/; revision=24192
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-12 Meilof Veeningen <meilof@wanadoo.nl>
* providers/nntp/camel-nntp-folder.[ch]: now based on discofolder,
cache_message and append_message implemented, only retrieve messages
when we are subscribed, some stubs
* providers/nntp/camel-nntp-provider.c: newsgroup name display
settings, password authentication, fix for check_equal where the
protocols wouldn't be checked
* providers/nntp/camel-nntp-store.[ch]: base on discostore with
online/offline support, subscriptions, downloading changed parts of
the newsgroup list, some stubs, authentication, automatic reconnect
* providers/nntp/camel-nntp-store-summary.[ch]: NNTP store
summary based on IMAP code
* providers/nntp/camel-nntp-summary.c: save summary after xover
* providers/nntp/camel-nntp-grouplist.h: added CamelNNTPGroupList
structs
* providers/nntp/Makefile.am: added store summary
svn path=/trunk/; revision=24178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-12 Not Zed <NotZed@Ximian.com>
** See bug 52725.
* providers/imap/camel-imap-folder.c (get_content): pass in
transfer encoding when setting up wrapper part.
* providers/imap/camel-imap-wrapper.c (camel_imap_wrapper_new):
Added an encoding type parameter, set on data wrapper.
svn path=/trunk/; revision=24164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-10 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (rfc2047_encode_word): if e_iconv() returns
-1, check that errno != EINVAL - if errno *is* EINVAL, it just
means that our convlen wasn't long enough to include the whole
sequence. This is fine, we'll just start where we left off next
loop thru. Fixes bug #52593 (the buffer was duplicated because
state wasn't flushed).
(camel_header_encode_string): Fixed a type-o in loop where
encoding=0, don't g_string_append_len starting at 'word'
inptr-start bytes long - 'word' could be NULL and/or inptr-start
could be longer than inptr-word.
svn path=/trunk/; revision=24149
|
|
|
|
|
|
|
|
|
| |
2004-01-09 Rodney Dawes <dobey@ximian.com>
* providers/groupwise/Makefile.am (EXTRA_DIST): libcamelgroupwise.urls
instead of libcamelimap.urls
svn path=/trunk/; revision=24138
|
|
|
|
|
|
|
|
|
| |
2004-01-09 Sivaiah Nallagatla <snallagatla@novell.com>
* providers/groupwise/groupwise-config-listener.c (is_groupwise_account): added null check
for source url to take care of accounts with Server Types as "None"
svn path=/trunk/; revision=24129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-09 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (imap_forget_folder): fix
removal of journal file, and remove the cmeta state file too.
* providers/imap/camel-imap-folder.c (imap_getv): count up so we
call parent class if we missed any, rather than only if we didn't
miss any.
(imap_rename): rename the object state file.
(camel_imap_folder_new): set the object state file for persistent
properties.
* camel-disco-folder.c (disco_getv): support
(PERSISTENT_)PROPERTIES & OFFLINE_SYNC.
(disco_setv): implement OFFLINE_SYNC.
(camel_disco_folder_get_type): setup disco properties list.
(cdf_folder_changed): honour the offline_sync setting on the
current folder.
(disco_sync): save object state.
(disco_setv): save object state if it changed.
svn path=/trunk/; revision=24126
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-09 Not Zed <NotZed@Ximian.com>
* camel-data-wrapper.c (camel_data_wrapper_set_mime_type_field):
move assertions here.
(set_mime_type_field): change order slightly to properly handle
setting the same object. removed assertions from internal method.
svn path=/trunk/; revision=24123
|
|
|
|
| |
svn path=/trunk/; revision=24114
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-08 Sivaiah Nallagatla <snallagatla@novell.com>
* providers/Makefile.am : add groupwise to SUBDIRS
* providers/groupwise/camel-groupwise-provider.c: new camel provider for groupwise
* providers/groupwise/groupwise-config-listener.[ch] : new class to add e-sources for groupwise calender and tasks
* providers/groupwise/Makefile.am : added new files to Makefile.am
svn path=/trunk/; revision=24111
|
|
|
|
|
|
|
|
| |
2004-01-05 JP Rosevear <jpr@ximian.com>
* camel-utf8.c: include sys/types.h for freebsd
svn path=/trunk/; revision=24060
|
|
|
|
|
|
|
|
|
| |
2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-groupwise-provider.c (groupwise_url_hash,
groupwise_url_equal): renamed from imap_*.
svn path=/trunk/; revision=24044
|
|
|
|
|
|
|
|
|
| |
2004-01-05 Not Zed <NotZed@Ximian.com>
* camel-tcp-stream-raw.c (socket_connect): check the right return
of the socket call, dont set fd to the value of the -1 check!
svn path=/trunk/; revision=24040
|
|
|
|
|
|
|
|
|
| |
2003-12-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-raw.c (socket_connect): Save errno and check
the return of the socket() call.
svn path=/trunk/; revision=24028
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-24 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-groupwise-provider.c
(camel_provider_module_init): g_module_open the other providers we
depend on to avoid load ordering problems.
2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-groupwise-provider.c: removed useless
configuration options, and added other options from the IMAP
provider.
(camel_provider_module_init): register a SMTP transport object also, and
removed SASL registration, since we don't support it.
2003-12-19 Sivaiah Nallagatla <snallagatla@novell.com>
* providers/groupwise/Makefile.am:
* providers/groupwise/libcamelgroupwise.urls:
* providers/groupwise/camel-groupwise-provider.c: added Camel
provider for Groupwise accounts, based on the IMAP one.
svn path=/trunk/; revision=24008
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-11 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_parse_status): Don't immediately
prompt for a passwd after receiving the NEED_PASSPHRASE status
message. Instead, parse the userid that gpg needs a passwd for and
store it on our context. Wait for a GET_HIDDEN status message
before prompting, this way if the user has their gpg configured to
use gpg-agent, the user won't get 2 passwd prompts.
(gpg_sign): Fixed to not free a gpg context that we have not
allocated (could happen in a fail case).
svn path=/trunk/; revision=23925
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder_info): Use
CAMEL_FODLER_NOCHILDREN rather than NOINFERIORS because
NOINFERIORS means the folder cannot contain subfolders. However,
our mbox structure always allows subfolders.
(scan_dir): Same.
svn path=/trunk/; revision=23913
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.h: Add a CAMEL_FOLDER_NOCHILDREN flag.
* providers/imap/camel-imap-store.c (get_folders): Same as below.
* providers/imap/camel-imap-utils.c (imap_parse_list_response):
s/CAMEL_IMAP_FOLDER_NOCHILDREN/CAMEL_FOLDER_NOCHILDREN/
svn path=/trunk/; revision=23911
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (sm_verify): also check
application/pkcs7-signature (bloody applemail).
(camel_smime_context_describe_part): as above, and fix the logic.
dont think its used anyway. Bug #51750.
svn path=/trunk/; revision=23908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Not Zed <NotZed@Ximian.com>
* Makefile.am (libcamel_la_SOURCES): put the
camel-smime-context.[ch] back in here, remove it from EXTRA_DIST,
and make it compile optinally the same way camel-tcp-stream-ssl.c
does (#ifdef ...).
* camel-smime-context.c (sm_verify_cmsg): add signer info to
certvalidity.
* camel-cipher-context.c (CamelCipherValidity): Added certinfo to
validity for signing and encrypting, so we can find the keys later
for a gui.
(camel_cipher_validity_add_certinfo): add signer or
encrypter info to the validity.
(camel_cipher_validity_envelope): add sign/encrypt keys.
svn path=/trunk/; revision=23904
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Not Zed <NotZed@Ximian.com>
* camel-stream-process.c (do_exec_command): remove dthe clearenv
stuff, not sure why its there. s/setenv/putenv/ for portability.
See Bug #51767.
svn path=/trunk/; revision=23896
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-09 Not Zed <NotZed@Ximian.com>
** See bug #51899.
* providers/imap/camel-imap-store.c (get_folders): add the first
fi to the info's hash, so we dont duplicate it if we come across
it again (which we generally will).
svn path=/trunk/; revision=23889
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_decode_rfc2184_param): Revert the
s/is_/camel_mime_is_/ changes or we get really long variable
names.
(header_decode_param): Same.
(header_decode_param_list): Here too.
svn path=/trunk/; revision=23680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-09 Not Zed <NotZed@Ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_send_to): encode the
address before sending it out, rather than using the raw/utf8
version.
* camel-internet-address.c
(camel_internet_address_encode_address): check for quoting the
local part of the address before outputting it.
(cia_encode_addrspec): quote local part if need be.
(camel_internet_address_encode_address): make folding optional
based on whether inlen is null or not.
* camel-mime-utils.[ch]: rename is_* to camel_mime_is_* and export
the type functions.
2003-12-08 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-utils.c (imap_atom_specials): add } to
the atom specials list. This isn't correct, but some busted
servers expect it. Bug #50728.
2003-12-02 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-folder.c (local_setv): remove some
debug printfs.
** See bug #51576.
* camel-url.c (camel_url_decode): robustify url decoding for bad
input, addresses a crash.
svn path=/trunk/; revision=23676
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-08 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #51881
* providers/local/camel-mbox-store.c (delete_folder): Same.
* providers/local/camel-local-store.c (delete_folder): Unlink the
cmeta file too.
svn path=/trunk/; revision=23675
|
|
|
|
|
|
|
|
| |
2003-12-06 JP Rosevear <jpr@ximian.com>
* */Makefile.am: Remove hard coded disable deprecated flags
svn path=/trunk/; revision=23658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-05 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_op_start): Properly set the
O_NONBLOCK flag along with any previously set flags.
* camel-filter-search.c (run_command): Don't set O_NONBLOCK on the
pipe (1. we don't need to, and 2. we should have been setting
O_NONBLOCK|prev_flags but we weren't, and so the pipe got
O_RDONLY|O_NONBLOCK even tho we wanted to write to it).
* camel-filter-driver.c (pipe_to_system): Same.
svn path=/trunk/; revision=23651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-04 Radek Doulik <rodo@ximian.com>
* camel-folder.c (folder_changed): check recent messages for junk
mail
* camel-session.c (camel_session_check_junk): new wrapper method
for check_junk flag
(camel_session_set_check_junk): ditto
* camel-session.h (struct _CamelSession): added check_junk flag
(if to check incoming mail for junk messages)
svn path=/trunk/; revision=23629
|
|
|
|
|
|
|
|
|
| |
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (add_special_info): Free fi->path if we are gonna
replace it with the vinfo path.
svn path=/trunk/; revision=23625
|
|
|
|
|
|
|
|
|
| |
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (create_folder): Treat
parent_name == NULL and parent_name == "" the same.
svn path=/trunk/; revision=23609
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (camel_store_get_folder_info): Only add
vTrash/vJunk info's if we've requested the toplevel folder tree,
otherwise we get vTrash/vJunk folders in odd places in the folder
tree.
(add_special_info): Use the provider->url_flags to determine if
the url uses the fragment or not for the path.
svn path=/trunk/; revision=23606
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Not Zed <NotZed@Ximian.com>
** See bug #51478.
* camel-gpg-context.c (gpg_ctx_free): handle the context being
NULL, and exit silently.
svn path=/trunk/; revision=23550
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-process.c (camel_process_fork): Start at fd = 3.
* camel-gpg-context.c (gpg_ctx_op_start): Same.
* camel-filter-driver.c (pipe_to_system): Same.
* camel-filter-search.c (run_command): Start at fd = 3.
svn path=/trunk/; revision=23549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-process.c (do_exec_command): Same.
* camel-process.c (camel_process_fork): Same.
* camel-filter-search.c (run_command): Same as below.
* camel-filter-driver.c (pipe_to_system): Same as below.
* camel-gpg-context.c (gpg_ctx_op_start): Use fcntl() to set
FD_CLOEXEC on each fd rather than close()ing it. Apparently
Linux's older pthread implementations use sockets and so this
fouls threading up. GO LINUX! GO!
svn path=/trunk/; revision=23527
|
|
|
|
| |
svn path=/trunk/; revision=23520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Radek Doulik <rodo@ximian.com>
* camel-store.c (add_special_info): set SUBSCRIBED and NOINFERIORS
flags to special folders, renamed method from
add_vtrash_or_vjunk_info
(camel_store_get_folder_info): call add_special_info directly
2003-11-28 Radek Doulik <rodo@ximian.com>
* camel-store.c (camel_store_get_folder_info): use old code from
mail-ops to add vtrash/vjunk info
svn path=/trunk/; revision=23515
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-28 David Woodhouse <dwmw2@redhat.com>
* providers/imap/camel-imap-provider.c: Enable GUI option for
'custom command' connection.
* providers/imap/camel-imap-store.c: Don't g_free strings in
.rodata. It's considered rude.
svn path=/trunk/; revision=23510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-28 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (mail_list_magic[]): Added list-unsubscribe
header match.
2003-11-26 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (sm_verify_cmsg): take a stream rather
than a part for the content.
(sm_verify): get the content directly as a stream.
* camel-multipart-signed.c
(camel_multipart_signed_get_content_stream): new api to get the
content stream which will match the signed version.
svn path=/trunk/; revision=23507
|
|
|
|
| |
svn path=/trunk/; revision=23496
|
|
|
|
|
|
|
|
| |
2003-11-26 JP Rosevear <jpr@ximian.com>
* Makefile.am: make sure we always dist the smime stuff
svn path=/trunk/; revision=23495
|
|
|
|
|
|
|
|
|
| |
2003-11-26 JP Rosevear <jpr@ximian.com>
* Makefile.am (libcamelinclude_HEADERS): conditionally compile
s/mime support
svn path=/trunk/; revision=23494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-25 Not Zed <NotZed@Ximian.com>
* camel-cipher-context.c (camel_cipher_validity_envelope): change
args to make it suit storing the validity in a tree.
(camel_cipher_validity_init): init the list header.
(camel_cipher_validity_clone): call validity_new so it gets init
properly.
(camel_cipher_validity_free): free any children nodes recursively.
* camel-cipher-context.h (CamelCipherValidity): added next/prev
and list header.
svn path=/trunk/; revision=23484
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-session.c (camel_session_finalise): Don't destroy the
providers as it mans we can never ever have more than 1 session
object. See bug #51119 for details.
svn path=/trunk/; revision=23431
|
|
|
|
| |
svn path=/trunk/; revision=23409
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (create_folder): Fixed an
exception to give a more meaningful description.
(get_folder_info): We always want to scan at least one level deep.
svn path=/trunk/; revision=23406
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (create_folder): Fixed an
exception to give a more meaningful description.
svn path=/trunk/; revision=23397
|
|
|
|
| |
svn path=/trunk/; revision=23357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder_info): Handle ""
as a request for a full dirscan as well (not just NULL). Makes it
consistant with other stores.
(scan_dir): Set the fi->flags appropriately.
* providers/local/camel-mbox-folder.c
(camel_mbox_folder_get_full_path): Removed temporary hack.
svn path=/trunk/; revision=23356
|
|
|
|
|
|
|
|
|
| |
2003-11-14 Not Zed <NotZed@Ximian.com>
* camel-mime-parser.c (SCAN_BUF): oops, put the mempool stuff
back, we don't use e-memory afterall. Damn plane hacking.
svn path=/trunk/; revision=23344
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-13 Not Zed <NotZed@Ximian.com>
* camel-mime-parser.c: Remove mempool code, we use the stuff in
e-util.
(PRESERVE_HEADERS): new compile option, if on, we preserve headers
and folding exactly rather than unfolding all input. THIS BREAKS
EVERYTHING right now, so don't turn it on.
* camel-gpg-context.c (gpg_decrypt): reset the input memstream
before passing it to the gpg engine.
* tests/smime/pgp-mime.c (main): redirect /dev/null to stdin so it
doesn't hang waiting for input.
(main): removed from build - this tests multipart/signed
explictly, but now the details of this is handled directly by the
cipher context.
* tests/smime/pgp.c (main): fixes for api changes.
(main): redirect /dev/null to stdin so it doesn't hang waiting for
input.
* tests/message/test1.c (main): update for api changes.
* camel-smime-context.c (sm_verify): look at the content object's
mime type, not the container's type.
svn path=/trunk/; revision=23343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-13 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (sm_verify): look at the content object's
mime type, not the container's type.
2003-11-11 Not Zed <NotZed@Ximian.com>
* camel-cipher-context.c (camel_cipher_validity_set_valid): take
into account the @valid argument and set validity properly.
(camel_cipher_validity_clone): new method to copy validities.
* camel-smime-context.c (sm_signing_cmsmessage): removed a todo.
svn path=/trunk/; revision=23311
|
|
|
|
| |
svn path=/trunk/; revision=23302
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-10 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (sm_verify_cmsg): split out the CMSMessage
verification code so it can be used from enveloped or externally
signed data.
* camel-cipher-context.c (camel_cipher_verify): only take a
mimepart, internally handle multiparts and the hash.
2003-11-07 Not Zed <NotZed@Ximian.com>
* camel-cipher-context.c: make ciphervalidity a public structure,
added encrypt status.
(camel_cipher_decrypt): changed to return a ciphervalidity. fixed
implementations.
(camel_cipher_validity_*): Fixed implementations to match new
structure, some of this is now redundant.
2003-11-06 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (camel_smime_context_describe_part):
implement.
svn path=/trunk/; revision=23242
|
|
|
|
|
|
|
|
|
|
| |
2003-11-05 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (connect_to_server): Don't
bother trying to see if the server advertises EHLO. Simply always
try EHLO and fall back to HELO if EHLO fails. Fixes bug #50535.
svn path=/trunk/; revision=23199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-05 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (camel_smime_context_describe_part): new
(unfinished) api to peek inside smime parts to tell us whats in
it.
2003-11-03 Not Zed <NotZed@Ximian.com>
* camel-gpg-context.c (gpg_encrypt): Make this output the
full multipart/encrypted part, not just the encrypted content part.
* camel-cipher-context.c (camel_cipher_sign): change to output
full mime part, not just a stream.
(camel_cipher_canonical_to_stream): utility function to
canonicalise a mimepart to a stream.
* camel-smime-context.c (sm_encode_cmsmessage): removed.
(sm_sign): change interface to output a full mime-part, not just a
part of a mime part in multipart/signed mode.
svn path=/trunk/; revision=23187
|
|
|
|
|
|
|
|
|
|
| |
2003-11-04 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_parse_status): We might need to
convert the passwd from UTF-8 into the locale charset. Fixes bug
#50485.
svn path=/trunk/; revision=23186
|
|
|
|
|
|
|
|
| |
2003-10-31 Not Zed <NotZed@Ximian.com>
* camel-cms-context.[ch]: removed, now redundant.
svn path=/trunk/; revision=23143
|
|
|
|
|
|
|
|
| |
2003-10-30 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (sm_get_passwd): implement something basic.
svn path=/trunk/; revision=23130
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-30 Not Zed <NotZed@Ximian.com>
* camel-cipher-context.h: Added a note about api inconsistencies.
2003-10-30 Not Zed <NotZed@Ximian.com>
* camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
fix for cipher_decrypt changes.
* camel-gpg-context.c, camel-cipher-context.c: moved all the init
code to the end to save having to keep forward declarations
around.
(camel_cipher_decrypt): changed to take mimepart input and return
a mimepart.
(gpg_decrypt): fix for changed args.
2003-10-29 Not Zed <NotZed@Ximian.com>
* camel-smime-context.[ch]: replaced entirely with a new
implementation which inherits from camel-cipher-context, and add
to build.
* camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt):
fix for cipher_encrypt api changes.
(camel_multipart_encrypted_decrypt): use g_ascii_strcasecmp.
* camel-gpg-context.c (gpg_encrypt): Fix to handle input/output as
parts not streams
* camel-cipher-context.c (camel_cipher_encrypt): change to take
mimeparts rather than streams as input/output. And remove the
'sign' argument, it is implied if userid is supplied.
2003-10-28 Not Zed <NotZed@Ximian.com>
* tests/smime/pgp.c (main): fix for ciphercontext api changes.
* camel-multipart-signed.c (camel_multipart_signed_verify): pass
in the part to cipher_verify directly.
(camel_multipart_signed_sign): let the cipher context setup the
part details.
* camel-gpg-context.c (gpg_sign): put the signature stream into a
mimepart, with appropriate headers/encoding.
(swrite): write out a mimepart rather than a stream.
(gpg_verify): handle changed args.
* camel-cipher-context.c (camel_cipher_sign): write the signature
to a mimepart rather than a simple stream.
(camel_cipher_verify): take the signature as a mimepart not a
stream.
2003-10-22 Not Zed <NotZed@Ximian.com>
* camel-utf8.c (camel_ucs2_utf8, camel_utf8_ucs2): helpers for
ucs2 stuff. ucs2 is 16 bit truncated unicode.
svn path=/trunk/; revision=23127
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c: We should check List-Post before List-Id
(List-Post has to contain the mailing-list posting address,
whereas List-Id does not.) WAlso moved X-Loop to after List-Id to
make FreeBSD lusers happy. Fixes bug #32297.
svn path=/trunk/; revision=23111
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Jeffrey Stedfast <fejj@ximian.com>
* Fixes bug #35083
* providers/imap/camel-imap-store.c (connect_to_server): Same
here.
* providers/pop3/camel-pop3-store.c (connect_to_server): Same as
the smtp changes.
* providers/smtp/camel-smtp-transport.c (connect_to_server): If
HAVE_SSL is undefined, don't default to raw connections if the
option to connect via ssl is set. Instead set an exception and
return fail.
svn path=/trunk/; revision=23110
|
|
|
|
|
|
|
| |
* camel-mime-utils.c: (camel_header_decode_date):
better detection of broken date to give to broken_date_parser.
svn path=/trunk/; revision=23101
|
|
|
|
|
|
|
|
|
|
| |
2003-10-24 Jeffrey Stedfast <fejj@ximian.com>
* camel-text-index.c (text_index_name_add_buffer): If a word is
longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it. This
fixes bug #50096.
svn path=/trunk/; revision=23091
|
|
|
|
|
|
|
|
| |
2003-10-23 Jeffrey Stedfast <fejj@ximian.com>
* *.c: Removed unneeded CAMEL_OBJECT() casts.
svn path=/trunk/; revision=23052
|
|
|
|
| |
svn path=/trunk/; revision=22966
|
|
|
|
| |
svn path=/trunk/; revision=22909
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_decode_date): Allow timezone offsets
to be up to 14 hours ahead of UTC. Fixes bug #49357.
* broken-date-parser.c (get_tzone): Same.
svn path=/trunk/; revision=22838
|
|
|
|
|
|
|
|
|
| |
2003-10-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): Removed an
unused variable.
svn path=/trunk/; revision=22823
|
|
|
|
|
|
| |
it was not needed (ref and unref calls)
svn path=/trunk/; revision=22700
|
|
|
|
|
|
|
|
|
|
| |
2003-09-25 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): If the
localhost lookup results in a numeric IPv6 host, use the form
"[IPv6:<addr>]" as specified in rfc2821. Fixes bug #46006.
svn path=/trunk/; revision=22694
|
|
|
|
|
|
|
|
|
|
| |
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder): If the CREATE
flag is set and the parent .sbd directory does not exist, create
it.
svn path=/trunk/; revision=22677
|
|
|
|
|
|
|
|
|
| |
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (append_8bit): Don't forget to flush the
iconv conversion.
svn path=/trunk/; revision=22671
|
|
|
|
|
|
|
|
| |
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* tests/message/test4.c (main): Don't try dot-files.
svn path=/trunk/; revision=22665
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-22 Not Zed <NotZed@Ximian.com>
** See bug #41610
* providers/pop3/camel-pop3-folder.c (cmd_tocache): protect a
divide by 0 for 0 length messages.
svn path=/trunk/; revision=22654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-22 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-provider.c: Added "offline_sync"
option, which lets you synchronise all mail to local storage
automagically.
* camel-disco-folder.c (cdf_folder_changed): hook onto the folder
changed single, for all new messages, check that they are online
using another thread, if the offline_sync option has been enabled
for this store.
2003-09-21 Not Zed <NotZed@Ximian.com>
* camel-session.c (session_thread_destroy): call proper entry
point for freeing the message.
2003-09-18 Not Zed <NotZed@Ximian.com>
* camel-folder.c (filter_filter): register the filtering process
for progress, and do progress of the filtering process.
2003-09-17 Not Zed <NotZed@Ximian.com>
* camel.c (camel_init): init camel operation.
* camel-operation.c (camel_operation_reset): removed, not used,
not worth it.
(camel_operation_mute): new method to stop all status updates
permanently.
(*): Changed to use thread specific data and a list rather than a
hashtable.
(cancel_thread): removed.
(camel_operation_register): return the previously registered op.
svn path=/trunk/; revision=22648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-22 Jeffrey Stedfast <fejj@ximian.com>
* providers/nntp/camel-nntp-store.c (connect_to_server): Fix the
code that creates a new ssl stream to pass the correct arguments
and the proper flags.
* providers/imapp/camel-imapp-folder.c (imap_sync): Cast the
CamelFolder to a CamelIMAPPFolder to hush some compiler warnings.
* camel-mime-utils.h: Define a struct _CamelContentDisposition
(allows the imapp code to compile)
* providers/imapp/camel-imapp-driver.c: #include <string.h>
svn path=/trunk/; revision=22635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (camel_transfer_encoding_to_string): New
function to replace the one from camel-mime-part.c
(camel_transfer_encoding_from_string): Same.
(camel_content_transfer_encoding_decode): Renamed from
camel_header_content_encoding_decode().
* camel-mime-part.c (camel_mime_part_encoding_to_string): Removed.
(camel_mime_part_encoding_from_string): Removed.
* camel-data-wrapper.[c,h]: updated for CamelTransferEncoding
namespace changes
* camel-folder-summary.c: updated for CamelTransferEncoding
namespace changes
* camel-mime-filter-bestenc.[c,h]: updated for CamelTransferEncoding
namespace changes
* camel-mime-message.c: updated for CamelTransferEncoding
namespace changes
* camel-mime-part-utils.c: updated for CamelTransferEncoding
namespace changes
* camel-multipart-signed.c: updated for CamelTransferEncoding
namespace changes
* camel-smime-context.c: updated for CamelTransferEncoding
namespace changes
* providers/imapp/camel-imapp-utils.c: updated for
CamelTransferEncoding namespace changes
* tests/lib/messages.c: updated for CamelTransferEncoding
namespace changes
* tests/message/test1.c: updated for CamelTransferEncoding
namespace changes
svn path=/trunk/; revision=22617
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.[c,h]: namespaced the encoding/decoding
routines.
* camel-mime-filter-basic.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-multipart.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-sasl-digest-md5.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-sasl.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* camel-vee-folder.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c
* providers/imap/camel-imap-search.c: updated for namespace
changes to the encoding/decoding routines in camel-mime-utils.c
* providers/pop3/camel-pop3-folder.c: updated for namespace
changes to the encoding/decoding routines in camel-mime-utils.c
svn path=/trunk/; revision=22615
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-parser.[c,h]: s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
s/_header_state/_camel_mime_parser_state/g
* camel-filter-driver.c: Same.
* camel-folder-summary.c: Here too.
* camel-http-stream.c: And here.
* camel-mime-message.c: ...
* camel-mime-part-utils.c: ...
* camel-mime-part.c: ...
* camel-movemail.c: ...
* camel-multipart-signed.c: ...
* camel-multipart.c: ...
* providers/local/camel-mbox-folder.c: ...
* providers/local/camel-mbox-summary.c: ...
* providers/local/camel-mh-summary.c: ...
* providers/nntp/camel-nntp-summary.c: ...
* providers/pop3/camel-pop3-folder.c: ...
2003-08-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.[c,h]: Namespaced.
* camel-data-wrapper.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-digest-folder.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-filter-driver.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-filter-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-folder-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-folder-summary.[c,h]: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-http-stream.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-http-stream.h: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-internet-address.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-medium.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-message.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-parser.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-part-utils.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-part.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-movemail.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-multipart-encrypted.c: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-multipart-signed.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-multipart.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-search-private.[c,h]: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-types.h: updated for namespace changed made to
camel-mime-utils.[c,h]
* providers/imap/camel-imap-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/imap/camel-imap-store-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/imap/camel-imap-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]
* providers/imapp/camel-imapp-utils.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-local-summary.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-maildir-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-mbox-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-spool-summary.h: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/nntp/camel-nntp-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/nntp/camel-nntp-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]
* providers/pop3/camel-pop3-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/sendmail/camel-sendmail-transport.c: updated for
namespace changed made to camel-mime-utils.[c,h]
* providers/smtp/camel-smtp-transport.c: updated for namespace
changed made to camel-mime-utils.[c,h]
svn path=/trunk/; revision=22613
|
|
|
|
|
|
|
|
|
|
| |
2003-09-16 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-folder.c
(camel_mbox_folder_get_full_path): Implement a temp hack so trunk
works until we merge in new-ui-branch.
svn path=/trunk/; revision=22594
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-filter.c (do_flush): Don't warning about how we
haven't written anything to the stream, this is not an
error. fflush() doesn't care if you try to fflush() a stream
without writing to it, so we shouldn't care either.
svn path=/trunk/; revision=22590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-15 Not Zed <NotZed@Ximian.com>
* providers/imapp/camel-imapp-store.c (store_resp_list)
(imap_login, try_sasl, imap_try_authenticate): removed dead code.
* providers/imapp/camel-imapp-stream.c: return -1 if stream not
set.
* providers/imapp/camel-imapp-engine.c (iterate_completion): put
done request on the done queue, so all requests are always
somewhere.
(camel_imapp_engine_command_free): just spit warnings of active
messages being freed, but abort if the item isn't in any list.
Also remove the node from its list before going on.
(iterate_untagged, iterate_continuation, iterate_completion):
staticifiy.
* providers/imapp/camel-imapp-provider.c
(camel_imapp_module_init): move camel_exception_setup call here.
* providers/imapp/camel-imapp-driver.c
(camel_imapp_driver_get_type): remove execption setup here, it
isn't early enough.
(camel_imapp_driver_list): handle exceptions.
svn path=/trunk/; revision=22583
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-folder.c
(camel_mbox_folder_get_full_path): Implements
CamelLocalFolder::get_full_path() (publicly namespaced so that
CamelMboxStore can re-use them).
(camel_mbox_folder_get_meta_path): Same.
* providers/local/camel-mbox-store.c (get_folder): Changed the way
the path is constructed, since we now handle subdirectories and
stuff.
(delete_folder): Try deleting the Folder.sbd directory. We also
need to manage our own meta files since CamelLocalStore's impl
constructs paths differently than what we need.
(create_folder): Implemented.
(rename_folder): Implemented.
(scan_dir): Scan an mbox tree
(get_folder_info): Implemented using scan_dir().
* providers/local/camel-local-store.c (delete_folder): Set fi->url
to the correct value, meaning we need to prefix it with the
protocol and the folder_name is not actually part of the path, it
is a separate component to the url.
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Use the new class virtual method
to construct the full folder path and all the meta files.
(local_get_full_path): Implemented default get_full_path method.
(local_get_meta_path): Implemented default get_meta_path method.
svn path=/trunk/; revision=22557
|
|
|
|
| |
svn path=/trunk/; revision=22556
|
|
|
|
| |
svn path=/trunk/; revision=22555
|
|
|
|
| |
svn path=/trunk/; revision=22518
|
|
|
|
|
|
| |
* Makefile.am (noinst_LTLIBRARIES): Remove libcamel-static.la
svn path=/trunk/; revision=22516
|
|
|
|
|
|
|
|
|
|
| |
2003-09-05 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (imap_noop): call
camel_folder_sync bypassing the folder lock. See
imap_store_refresh_folders too.
svn path=/trunk/; revision=22487
|
|
|
|
|
|
|
|
|
| |
2003-09-04 David Woodhouse <dwmw2@infradead.org>
* providers/camel-imap-store.[ch]: Add PREAUTH handling and
pine/mutt/etpan/etc.-style 'ssh <mailhost> exec imapd' support.
svn path=/trunk/; revision=22463
|
|
|
|
|
|
|
|
|
|
| |
2003-09-03 David Woodhouse <dwmw2@infradead.org>
* camel-stream-process.[ch]: New stream implementation for running
commands.
* Makefile.am: Compile the above
svn path=/trunk/; revision=22454
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Not Zed <NotZed@Ximian.com>
** See bug #47765.
* camel-folder-search.h: Removed match1 member.
* camel-folder-search.c (camel_folder_search_match_expression):
use current directly rather than match1. This method isn't used
anywhere anyway.
(search_not): remove match1 stuff.
(search_match_all): properly handle the match-all against 1
message as a scalar result, not an array result.
2003-09-03 Not Zed <NotZed@Ximian.com>
* camel-http-stream.c (camel_http_stream_set_proxy): handle NULL
proxy_url - unset the proxy.
svn path=/trunk/; revision=22452
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_state_write):
(cobject_getv):
(cobject_setv, cobject_state_read, cobject_state_read)
(cobject_state_write): removed debug printfs.
svn path=/trunk/; revision=22419
|
|
|
|
|
|
|
|
|
| |
2003-08-29 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-folder.c (local_getv): Need to copy
the local properties list before passing it out, since it's freed.
svn path=/trunk/; revision=22418
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-27 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-folder.c (local_getv): implement
PERSISTENT_PROPERTIES, for index mode.
* camel-object.c (cobject_state_read): Also add property reading,
and bump version to 1.
(cobject_state_write): add persistent property writing.
2003-08-26 Not Zed <NotZed@Ximian.com>
* camel-folder.c (folder_getv): chain up properly.
* camel-file-utils.c (camel_file_util_savename): helper to create
a .#filename filename.
* providers/local/camel-local-folder.c
(camel_local_folder_construct): init meta-data for local folders.
(local_getv): chain up properly, if args are not processed, rather
than don't if they aren't.
2003-08-23 Not Zed <NotZed@Ximian.com>
* camel-object.c (cobject_class_init): added a new event,
meta_changed.
(camel_object_meta_set, camel_object_meta_get): meta-data api.
(camel_object_free_hooks): Free meta-data if it is set on the
object.
* providers/local/camel-local-folder.c
(camel_local_folder_get_type): setup a property list for local
folders, just 'index_body' at present.
svn path=/trunk/; revision=22388
|
|
|
|
|
|
| |
some of the other branches
svn path=/trunk/; revision=22373
|
|
|
|
| |
svn path=/trunk/; revision=22371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-parser.[c,h]: s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
s/_header_state/_camel_mime_parser_state/g
* camel-filter-driver.c: Same.
* camel-folder-summary.c: Here too.
* camel-http-stream.c: And here.
* camel-mime-message.c: ...
* camel-mime-part-utils.c: ...
* camel-mime-part.c: ...
* camel-movemail.c: ...
* camel-multipart-signed.c: ...
* camel-multipart.c: ...
* providers/local/camel-mbox-folder.c: ...
* providers/local/camel-mbox-summary.c: ...
* providers/local/camel-mh-summary.c: ...
* providers/nntp/camel-nntp-summary.c: ...
* providers/pop3/camel-pop3-folder.c: ...
svn path=/trunk/; revision=22365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.[c,h]: Namespaced.
* camel-data-wrapper.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-digest-folder.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-filter-driver.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-filter-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-folder-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-folder-summary.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-http-stream.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-http-stream.h: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-internet-address.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-medium.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-message.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-parser.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-part-utils.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-mime-part.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-movemail.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-multipart-encrypted.c: updated for namespace changed made
to camel-mime-utils.[c,h]
* camel-multipart-signed.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-multipart.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-search-private.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]
* camel-types.h: updated for namespace changed made to
camel-mime-utils.[c,h]
* providers/imap/camel-imap-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/imap/camel-imap-store-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/imap/camel-imap-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]
* providers/imapp/camel-imapp-utils.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-local-summary.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-maildir-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-mbox-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/local/camel-spool-summary.h: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/nntp/camel-nntp-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/nntp/camel-nntp-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]
* providers/pop3/camel-pop3-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]
* providers/sendmail/camel-sendmail-transport.c: updated for
namespace changed made to camel-mime-utils.[c,h]
* providers/smtp/camel-smtp-transport.c: updated for namespace
changed made to camel-mime-utils.[c,h]
svn path=/trunk/; revision=22355
|
|
|
|
|
|
|
|
|
|
| |
2003-08-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (pipe_to_system): Added some more error
checking for reading/writing to the pipes. Fixes bug #47880.
`
svn path=/trunk/; revision=22352
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-data-wrapper.c (decode_to_stream): Don't poke
wrapper->stream directly, use camel_data_wrapper_write_to_stream()
instead as this simplifies things and makes the imap data wrapper
implementation Just Work (tm).
* providers/imap/camel-imap-wrapper.c: changed prototype of
write_to_stream() to return ssize_t.
svn path=/trunk/; revision=22325
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-wrapper.c (imap_wrapper_hydrate): Make
sure to ref the stream. Fixes bug #47749.
svn path=/trunk/; revision=22315
|
|
|
|
|
|
| |
also fixed to import the keys from the correct location
svn path=/trunk/; revision=22287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-18 Not Zed <NotZed@Ximian.com>
* camel-http-stream.c: Various fixes to make it work.
* tests/smime/pgp-mime.c (main): added missing 'ret' variable.
* providers/smtp/camel-smtp-transport.c (connect_to_server):
* providers/imapp/camel-imapp-store.c (connect_to_server:
* providers/imap/camel-imap-store.c (connect_to_server):
* providers/pop3/camel-pop3-store.c (connect_to_server):
* camel-http-stream.c (http_connect): change service->session for
tcp_stream_ssl_new.
* camel-tcp-stream-ssl.c: Changed service to session, and fix some
refcounting of it.
include camel-operation.h
svn path=/trunk/; revision=22275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-15 Not Zed <NotZed@Ximian.com>
** See bug #47634.
* tests/lib/messages.c (test_message_compare): check
write_to_stream returns.
(message_dump_rec): helper to dump message structure.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): dont set content
encoding here.
(camel_mime_part_construct_content_from_parser): set it here
instead, on every part. basically same as setting the
mime_type_field always.
* camel-multipart-signed.c (camel_multipart_signed_class_init):
* camel-mime-message.c (camel_mime_message_class_init):
* camel-multipart.c (camel_multipart_class_init): override
decode_to_stream to always do the same as write_to_stream, since
we can never be encoded.
svn path=/trunk/; revision=22252
|
|
|
|
|
|
|
|
|
| |
2003-08-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-wrapper.c (imap_wrapper_hydrate):
Don't attach any filters to decode base64/qp/etc.
svn path=/trunk/; revision=22247
|
|
|
|
|
|
|
|
|
| |
2003-08-14 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part.c (write_to_stream): Save errno when
flushing/unreffing the filter stream.
svn path=/trunk/; revision=22227
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-13 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part.c (write_to_stream): If the content is
base64/qp/uu/etc encoded but the part is 7bit/8bit/(or otherwise
non-encoded), set reencode to TRUE so that we decode the original
content stream. Fixes a bug noticed on
evolution-patches@ximian.com where a patch had a
Content-Transfer-Encoding of 7bit but was base64 encoded.
svn path=/trunk/; revision=22217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-13 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_remove_range): Fix
the range check, we were stopping removal of 1 or 2 removals, for
some odd and completely uncomprehensible reason. Perhaps debug
left in?
2003-08-13 Not Zed <NotZed@Ximian.com>
** See bug #47517.
* camel-vee-folder.c (vee_sync): Always rebuild folder on any
sync, not just expunge ones.
svn path=/trunk/; revision=22216
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-11 Not Zed <NotZed@Ximian.com>
* providers/imapp/camel-imapp-store.c (imap_get_folder_info):
force connect manually so basics work.
** See bug #45505.
* camel-service.c (camel_gethostbyname): duh, pthread_create
returns the error code directly, not via errno.
(camel_gethostbyaddr): Same, also properly handle the failure
case.
2003-08-01 Not Zed <NotZed@Ximian.com>
** See bug #47208.
* camel-filter-search.c (match_all): match-all with no arguments
should always return TRUE.
* camel-folder-search.c (camel_folder_search_execute_expression):
print a warning when we get an invalid result type & fixed a leak
for that case.
svn path=/trunk/; revision=22179
|
|
|
|
| |
svn path=/trunk/; revision=22178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/message/test4.c: New test suite for the mime parser (which
is where the below 2 fixes were noticed).
* camel-mime-parser.c (folder_boundary_check): Calculate 'len' by
subtracting the boundary start from inend rather than 'atleast'.
(folder_scan_content): Calculate 'inend' differently depending on
the EOF state.
2003-08-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-tohtml.c (html_convert): Rather than checking
*inptr == '\n', check inptr >= inend - this gets rid of an Invalid
Read report from valgrind.
* camel-mime-part.c (write_to_stream): Don't necessarily re-encode
just because the encodings differ. Need to look into making it so
that message/rfc822 and multipart parts ignore the
Content-Transfer-Encoding header and just keep their 'encoding'
bits set to DEFAULT.
2003-08-05 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (get_content): Updated.
* camel-mime-message.c (camel_mime_message_init): Don't override
the mime_type here.
(process_header): Updated to use CamelDataWrapper's mime_type
field.
(find_best_encoding): Same.
(best_encoding): Here too.
* camel-digest-folder.c (camel_digest_folder_new): Updated for
CamelMimePart::content_type change.
* camel-mime-part.c (camel_mime_part_init): Override our parent
class's default mime_type.
(camel_mime_part_finalize): Don't need to unref the content_type
anymore.
(process_header): Updated to use CamelDataWrapper's mime_type
field.
(camel_mime_part_set_filename): Same.
(camel_mime_part_get_filename): Same.
(camel_mime_part_get_content_type): Same.
(set_content_object): Here too.
(write_to_stream): Updated.
(construct_from_parser): Updated.
* camel-mime-part.h: Remove the content_type field.
2003-07-31 Jeffrey Stedfast <fejj@ximian.com>
* tests/lib/messages.c (test_message_compare_content): If the
chunks differ, perform a hexdump on the data being compared so
that we may analyse it easier.
* camel-multipart-signed.c (write_to_stream): Return ssize_t.
* camel-mime-utils.h: Added the CamelMimePartEncodingType enum
here.
* camel-mime-part.h: Removed the CamelMimePartEncodingType enum
from here.
* camel-mime-part.c (write_to_stream): Updated to return
ssize_t. Also minor changes to only re-encode the content stream
if the charset or encoding changed (this way we write it out in
the original raw form if nothing changed).
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Drastically
simplify. We no longer scan html content to try and find the
charset, nor do we care about converting the content to UTF-8 and
handling broken windows charsets.
* camel-mime-message.c (find_best_encoding): Use
decode_to_stream() here. Also updated to not assume the content
charset is UTF-8 since it is very likely not the case anymore
since data-wrappers no longer are converted to UTF-8 at parse
time.
* camel-folder-summary.c (summary_build_content_info_message): Use
decode_to_stream instead here too.
* camel-folder-search.c (match_words_1message): Use
decode_to_stream instead of write_to_stream so we can search the
contents.
* camel-data-wrapper.c (camel_data_wrapper_init): Set the default
encoding to DEFAULT.
(write_to_stream): Updated to return ssize_t
(camel_data_wrapper_decode_to_stream): New virtual function to
decode a data wrapper to a stream (results in nearly identical
behaviour to the old write_to_stream method).
(decode_to_stream): Default implementation of above virtual
method. Decodes base64/qp/etc streams.
* camel-data-wrapper.h: Removed the rawtext bit and added an
encoding member.
svn path=/trunk/; revision=22171
|
|
|
|
| |
svn path=/trunk/; revision=22062
|
|
|
|
| |
svn path=/trunk/; revision=22061
|
|
|
|
| |
svn path=/trunk/; revision=22058
|
|
|
|
| |
svn path=/trunk/; revision=22057
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-01 Jeffrey Stedfast <fejj@ximian.com>
* tests/smime/pgp-mime.c: Same.
* tests/smime/pgp.c: Updated to build and to import some custom
gpg keys for use with testing.
svn path=/trunk/; revision=22055
|
|
|
|
| |
svn path=/trunk/; revision=22030
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-30 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (write_to_stream): Also updated.
* camel-data-wrapper.c (write_to_stream): This should return ssize_t
* camel-multipart-signed.c (write_to_stream): Updated.
* camel-multipart.c (write_to_stream): Same.
* camel-mime-part.c (write_to_stream): Here too.
svn path=/trunk/; revision=22029
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-11 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* camel-iconv.c: Fix for #46168 'some additional locale aliases
required for chinese support'.
2003-07-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_decode_word): Revert NotZed's fix for
bug #42170 - this causes even more problems than it solves. See
bug #46331 for info. Basically, each address header would be
converted to UTF-8 twice which means no raw 8bit address header
would render correctly.
(header_decode_mailbox): Perform a sanity check on the resultant
addr->str to make sure that it is valid UTF-8, if not convert it
to UTF-8. Fixes bug #42170.
svn path=/trunk/; revision=22013
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-23 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (find_best_encoding): Revert my previous
changes to this function.
* camel-mime-utils.h: Revert previous changes.
* camel-mime-part.h: Revert previous changes.
* camel-mime-part-utils.c: Revert previous changes.
* camel-data-wrapper.c (camel_data_wrapper_init): Revert previous
changes.
(write_to_stream): Revert previous changes.
svn path=/trunk/; revision=21920
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-block-file.c: #include camel-file-utils.h for camel_read()
* camel-uid-cache.c (camel_uid_cache_save): Remove unused variable
and label.
* camel-url.c: #include camel-string-utils.h for camel_strdown
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Cast
an (unsigned char *) to (char *) to fix a warning
svn path=/trunk/; revision=21902
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (find_best_encoding): Updated to convert
to/from the correct charset (since content is no longer
necessarily in UTF-8).
(best_encoding): Free the charset string when we're done with it.
svn path=/trunk/; revision=21863
|
|
|
|
|
|
|
|
|
|
| |
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
(stream_write): Same here.
svn path=/trunk/; revision=21862
|
|
|
|
|
|
|
|
|
| |
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
svn path=/trunk/; revision=21861
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-17 Timo Sirainen <tss@iki.fi>
** See bug #42573
* providers/imap/camel-imap-folder.c (do_append): Only free the
response after we have finished the literal request, otherwise we
could try processing folder updates incorrectly.
svn path=/trunk/; revision=21851
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-14 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.h: Add the CamelMimePartEncodingType definition
here.
* camel-mime-part.h: Remove the CamelMimePartEncodingType
definition.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Don't do any of the
auto-detection we used to do here anymore. Just read the content
into a memory buffer and record the encoding type.
(camel_mime_part_construct_content_from_parser): Don't mangle the
Content-Type struct here anymore.
* camel-data-wrapper.c (camel_data_wrapper_init): Init encoding to
DEFAULT.
(write_to_stream): If the stream needs to be decoded, decode it.
svn path=/trunk/; revision=21842
|
|
|
|
|
|
|
|
|
| |
2003-07-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): If we read 0 bytes, then set
eos to TRUE.
svn path=/trunk/; revision=21820
|
|
|
|
| |
svn path=/trunk/; revision=21785
|
|
|
|
| |
svn path=/trunk/; revision=21784
|
|
|
|
| |
svn path=/trunk/; revision=21780
|
|
|
|
| |
svn path=/trunk/; revision=21779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-09 Jeffrey Stedfast <fejj@ximian.com>
Get rid of the #ifdef ENABLE_THREADS since
we no longer plan to support/maintain this.
* providers/nntp/camel-nntp-store.c: Here.
* providers/nntp/camel-nntp-newsrc.c: And here.
* providers/nntp/camel-nntp-folder.c: Same.
* providers/local/camel-local-folder.c: And here.
svn path=/trunk/; revision=21778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-block-file.c: Get rid of the #ifdef ENABLE_THREADS since
we no longer plan to support/maintain this.
* camel.c: Same.
* camel-certdb.c: Here too.
* camel-charset-map.c: And here.
* camel-cipher-context.c: "
* camel-data-wrapper.c: "
* camel-digest-folder.c: "
* camel-exception.c: "
* camel-folder.c: "
* camel-folder-summary.c: "
* camel-lock-client.c: "
* camel-mime-utils.c: "
* camel-object.c: "
* camel-operation.c: "
* camel-partition-table.c: "
* camel-sasl-popb4smtp.c: "
* camel-service.c: "
* camel-session.c: "
* camel-store.c: "
* camel-store-summary.c: "
* camel-text-index.c: "
* camel-transport.c: "
* camel-vee-folder.c: "
* camel-tcp-stream-openssl.c: Removed pthread.h, it isn't needed.
svn path=/trunk/; revision=21777
|
|
|
|
|
|
|
|
| |
2003-07-09 Larry Ewing <lewing@ximian.com>
* camel.h: remove reference to camel-pgp-mime.h
svn path=/trunk/; revision=21770
|
|
|
|
|
|
|
|
| |
2003-07-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-mime.[c,h]: Removed.
svn path=/trunk/; revision=21760
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-iconv.c: Updated (new copy/paste from e-iconv).
* camel-block-file.c (camel_block_file_get_block): Use
camel_read() rather than libc read.
* camel-tcp-stream-raw.c (stream_read): Use camel_read().
(stream_write): Use camel_write().
* camel-stream-fs.c (stream_read): Use camel_read().
(stream_write): Use camel_write().
svn path=/trunk/; revision=21759
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-08 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-raw.c (stream_read): Use camel_read().
(stream_write): Use camel_write().
* camel-stream-fs.c (stream_read): Use camel_read().
(stream_write): Use camel_write().
svn path=/trunk/; revision=21758
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
* providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): Use
camel_mkdir().
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Use
camel_mkdir().
* camel-session.c (get_storage_path): Use camel_mkdir().
* camel-store.c (camel_mkdir_hier): Removed.
* camel-data-cache.c (camel_data_cache_new): Updated to use
camel_mkdir().
(data_cache_path): Same.
* camel-file-utils.c (camel_mkdir): Renamed and documented.
(camel_file_util_safe_filename): Documented.
(camel_read): Moved here from camel-io.c
(camel_write): Same.
* camel-io.[c,h]: Removed.
* camel-uid-cache.c (camel_uid_cache_new): Use the
camel-file-utils.c version of mkdir.
svn path=/trunk/; revision=21753
|
|
|
|
| |
svn path=/trunk/; revision=21752
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
* camel-session.c (camel_session_init): Updated for string-utils
namespace changes.
* camel-provider.c: Updated for string-utils namespace changes.
* camel-mime-part.c (init_header_name_table): Updated for
string-utils namespace changes.
* camel-mime-message.c (camel_mime_message_class_init): Updated
for string-utils namespace changes.
(camel_mime_message_init): Same.
* camel-mime-filter-enriched.c
(camel_mime_filter_enriched_class_init): Updated for string-utils
namespace changes.
* camel-folder-summary.c (camel_folder_summary_init): Updated for
string-utils namespace changes.
* camel-string-utils.[c,h]: Renamed from string-utils.[c,h] and
also namespaced all functions.
svn path=/trunk/; revision=21751
|
|
|
|
|
|
|
|
|
|
| |
2003-07-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-sasl-digest-md5.c (digest_response): Don't quote the
charset value, the qop value, nor the response value. Fixes bug
#45712.
svn path=/trunk/; revision=21730
|
|
|
|
|
|
|
|
|
| |
2003-07-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_format_date): Use gmtime_r() instead
of using gmtime() and memcpy() to try and be "atomic".
svn path=/trunk/; revision=21725
|
|
|
|
|
|
|
| |
* camel-folder-search.c (camel_folder_search_finalize): free the
summary hash
svn path=/trunk/; revision=21713
|
|
|
|
|
|
|
|
|
| |
2003-06-24 David Woodhouse <dwmw2@infradead.org>
* camel-mime-utils.c (header_format_date): Put day of week into
outgoing email.
svn path=/trunk/; revision=21710
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-summary.h: Added prototype for
camel_folder_summary_remove_range().
2003-06-25 Not Zed <NotZed@Ximian.com>
** See bug #45386
* camel-service.c (camel_gethostbyname, camel_gethostbyaddr): Make
sure we have an exception that we test against.
svn path=/trunk/; revision=21534
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-20 Not Zed <NotZed@Ximian.com>
** See bug #43887
* camel-mime-filter-enriched.c (camel_enriched_to_html): simple
wrapper to convert enriched to html in one go.
svn path=/trunk/; revision=21529
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-16 Not Zed <NotZed@Ximian.com>
** See bug #31745
* providers/imap/camel-imap-store-summary.c
(camel_imap_store_summary_namespace_new): Workaround a shell bug -
if the namespace has '#' in it, then strip it.
svn path=/trunk/; revision=21491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-18 Not Zed <NotZed@Ximian.com>
* camel-service.c (get_hostbyaddr, get_hostbyname): if we got
cancelled, the message is floating, so free it.
(struct _lookup_msg): Add a cancelled tag.
(camel_gethostbyname, camel_gethostbyaddr): if we get a
failure/cancel, cancel the lookup thread and detach, so we dont
have to wait for it to return. cleanup changed to handle the case
where we didn't get a reply message.
svn path=/trunk/; revision=21489
|
|
|
|
|
|
|
|
|
| |
2003-06-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-folder.c (pop3_finalize): Made static
(to match the prototype).
svn path=/trunk/; revision=21468
|
|
|
|
|
|
|
|
|
|
| |
2003-06-13 Larry Ewing <lewing@ximian.com>
* camel-folder-thread.c (camel_folder_thread_messages_apply):
don't leak the summary when reloading it. Fixes a very large
leak.
svn path=/trunk/; revision=21465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-17 Not Zed <NotZed@Ximian.com>
* camel-vee-folder.c (vee_folder_remove_folder): Calculate ranges
to remove folder info's more efficiently. affects shutdown
performance on big vfolders signifinantly.
(vee_folder_build_folder): do the same here, when rebuilding a
folder's definition.
* camel-folder-summary.c (camel_folder_summary_remove_index): new
function to drop a range of index entries in one hit.
svn path=/trunk/; revision=21462
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-16 Not Zed <NotZed@Ximian.com>
** See bug #44322
* providers/imap/camel-imap-command.c (imap_command_strdup_vprintf):
If we are outputting a folder name, make sure we calculate buffer
size based on the raw/utf7 version
** See bug #44121
* camel-multipart-signed.c (signed_get_part): If we can't parse
the content, but we have a stream, just use that as the content.
svn path=/trunk/; revision=21454
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-05 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #40788.
* providers/pop3/camel-pop3-engine.c (camel_pop3_engine_new): Now
takes a flags argument. Currently there is only 1 flag which can
be used to disable Pop3 server extensions.
(get_capabilities): Don't check for Pop3 server extensions if the
DISABLE_EXTENSIONS flag is set on the engine.
(camel_pop3_engine_iterate): If we get a response that is neither
+OK nor -ERR, default to treating it like a -ERR.
* providers/pop3/camel-pop3-store.c (connect_to_server): Check for
the disable_extensions param.
* providers/pop3/camel-pop3-provider.c: Define a checkbox to
disable all POP3 extension support.
svn path=/trunk/; revision=21438
|
|
|
|
| |
svn path=/trunk/; revision=21426
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-11 Jeffrey Stedfast <fejj@ximian.com>
Partial fix for bug #44457.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Make sure to set
rawtext to FALSE if we successfully convert the text to UTF-8.
* camel-data-wrapper.c (camel_data_wrapper_init): Default the
value of rawtext to TRUE instead of FALSE. This way if the mailer
decides to try displaying a non-textual part as text, it knows
that it needs to convert the content to UTF-8.
svn path=/trunk/; revision=21420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-04 Jeffrey Stedfast <fejj@ximian.com>
* camel-uid-cache.c (camel_uid_cache_new): Create the directory
with mode 0777 and the cache file itself with mode 0666. Let the
user's umask filter the permissions. Instead of saving the fd on
the Cache object, instead save the filename. Use camel_read()
instead of expecting read() to just always work without getting an
EINTR/etc.
(maybe_write_uid): Don't do anything if cache->fd == -1, this
means an error has occured in a previous callback. Replace the 2
calls to write() with camel_write() and check their return
values. If either of them fails, set cache->fd to -1 (GHashTable
doesn't give us a way to abort foreach'ing thru the table).
(camel_uid_cache_save): Save to a temp file instead of overwriting
the original. Do proper error checking, etc. Also added some
smarts about whether to try and overwrite the old cache even if we
haven't successfully saved all the uids in the cache.
(camel_uid_cache_destroy): Free the cache->filename, no longer
need to close (cache->fd).
svn path=/trunk/; revision=21416
|
|
|
|
|
|
|
|
| |
2003-06-11 Larry Ewing <lewing@ximian.com>
* camel-text-index.c (text_index_normalise): use g_utf8_strdown properly.
svn path=/trunk/; revision=21415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (find_best_encoding): Add the
CAMEL_BESTENC_TEXT bit to enctype if the part is a text part.
* camel-mime-filter-bestenc.c
(camel_mime_filter_bestenc_get_best_encoding): If we have any
nul-bytes or if the content is non-text and contains any 8bit
octets, we need to use base64. Fixes bug #44344.
svn path=/trunk/; revision=21409
|
|
|
|
| |
svn path=/trunk/; revision=21387
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-01 Jeffrey Stedfast <fejj@ximian.com>
* broken-date-parser.c (d): Turn off debugging.
* providers/pop3/camel-pop3-engine.c (get_capabilities): Move the
code that prepends the 'password' authtype to the auth list so
that we don't add it again when regetting the capabilities.
svn path=/trunk/; revision=21360
|
|
|
|
|
|
|
|
|
| |
2003-05-30 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (run_only_once): Turned off a debugging
printf.
svn path=/trunk/; revision=21351
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-27 Jeffrey Stedfast <fejj@ximian.com>
This should finish fixing all variations of bug #42854, which,
funnily enough specified "copying" as the scenario for reproducing
this bug, but somehow I found/fixed it only for expunging for some
reason? I can't even guess as to how this happened. Oh well,
expunging needed fixing either way.
* providers/imap/camel-imap-folder.c (imap_transfer_online): Sort
the uids here too (just like I had fixed for expunge a week or so
ago).
(imap_transfer_resyncing): Sort them here too.
(imap_search_by_uids): Sort here too, even though I don't think it
is necessary. Can't hurt.
(imap_expunge_uids_offline): Might as well sort here too.
svn path=/trunk/; revision=21341
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-22 Jeffrey Stedfast <fejj@ximian.com>
* camel-object.c (camel_object_bag_destroy): Lets try this
again. We don't actually want to free the key here, because
camel_object_bag_remove() does that for us. This should fix bug
#43406 properly.
svn path=/trunk/; revision=21327
|
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Jeffrey Stedfast <fejj@ximian.com>
* camel-object.c (camel_object_bag_destroy): Create a second
GPtrArray for the keys. We don't want to use bag->free_key() on
the object. Fixes bug #43406.
svn path=/trunk/; revision=21300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder-summary.c (camel_folder_summary_load): Only display
a warning if errno != EINVAL (EINVAL means there was a version
mismatch, so we don't really need to warn here since we are
supposed to be able to handle this situation).
(perform_content_info_load): Turn off debugging message.
(summary_assign_uid): Turn off uid-clash warning.
(camel_folder_summary_decode_token): Turn off debug messages.
(summary_header_load): Turn off version-mismatch warning.
svn path=/trunk/; revision=21284
|
|
|
|
| |
svn path=/trunk/; revision=21258
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-16 Jeremy Katz <katzj@redhat.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): Ensure cmdbuf
is initialized to avoid compiler warning.
* providers/local/camel-mbox-summary.c (summary_header_load): Cast
folder_size to uint32 to fix warning.
(camel_mbox_summary_sync_mbox): Update for new API.
* providers/imap/camel-imap-utils.c (parse_params):
imap_parse_nstring expects size_t, not int
(imap_body_decode): Likewise.
* camel-stream-filter.c (do_read): presize needs to be size_t
instead of int.
(do_write): Likewise.
* camel-seekable-substream.c (stream_read): Return ssize_t instead
of int to match prototypes.
(stream_write): Likewise.
* camel-mime-part.c (construct_from_parser): len needs to be
size_t instead of int.
* camel-mime-parser.c (folder_scan_step): datalength needs to be a
size_t* instead of an int* to make dependent APIs safe.
(camel_mime_parser_step): Likewise.
(folder_scan_content): Likewise.
* camel-mime-parser.h: Likewise.
* camel-mime-message.c (camel_mime_message_class_init): Use glib
macro for pointer/int conversions.
(construct_from_parser): Update for new API.
* camel-folder-summary.c
(camel_folder_summary_info_new_from_parser): Update len to be
size_t for new API.
(summary_build_content_info): Likewise.
* camel-http-stream.c (http_get_headers): Likewise.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Likewise.
* camel-multipart-signed.c (signed_construct_from_parser): Likewise.
* camel-multipart.c (construct_from_parser): Likewise.
* camel-folder-search.c (match_words_index): Use glib macros for
pointer/int conversions.
* camel-html-parser.c (tokenise_setup): Likewise.
(convert_entity): Likewise.
* camel-block-file.c (block_hash_func): Likewise.
(camel_block_file_get_block): Likewise.
(camel_block_file_get_block): Likewise.
(camel_block_file_detach_block): Likewise.
* camel-session.c (session_thread_msg_new): Likewise.
(session_thread_msg_free): Likewise.
(session_thread_wait): Likewise.
* camel-text-index.c (text_index_compress_nosync): Likewise.
(text_index_compress_nosync): Likewise.
(camel_text_index_validate): Likewise.
* camel-vee-folder.c (vee_folder_remove_folder): Likewise.
(unmatched_check_uid): Likewise.
(folder_added_uid): Likewise.
(vee_folder_build_folder): Likewise.
(folder_changed_add_uid): Likewise.
(folder_changed_remove_uid): Likewise.
* providers/imap/camel-imap-search.c (imap_body_contains): Likewise.
* providers/pop3/camel-pop3-folder.c (cmd_list): Likewise.
(cmd_uidl): Likewise.
* camel-data-cache.c (data_cache_init): Cast to CamelCopyFunc.
Fixes a warning.
svn path=/trunk/; revision=21220
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-15 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (header_decode_word): Simplistic quick-fix
for #42710. Add a charset argument. If the data is 8 bit, try to
decode into the passed in charset (i.e. the message header?), at
worst, fall back to latin1, similarly to header_decode_text.
Fixed all callers to pass in a charset if available, or NULL.
svn path=/trunk/; revision=21202
|
|
|
|
|
|
|
|
|
| |
2003-05-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-local-folder.c (local_delete): Only delete
the index if it is non-NULL. Fixes bug #42763.
svn path=/trunk/; revision=21193
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-14 Not Zed <NotZed@Ximian.com>
** See bug #42540
* camel-service.c (camel_gethostbyname): pre-initialise the error
return to invalid, so if we cancel, we definetly get a bad result.
Also, for a valid return against result, not herr.
(camel_gethostbyaddr): Likewise.
svn path=/trunk/; revision=21187
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-utils.c (imap_uid_array_to_set): Added
a note to the comment block for this function noting that uids
MUST be in sorted order.
* providers/imap/camel-imap-folder.c (imap_expunge_uids_online):
Sort the uids before splitting them into UID set chunks. The code
that splits the uid array into sets expects the uids to be in
sorted order. Fixes bug #42854.
* providers/imap/camel-imap-command.c (imap_command_start):
Re-enable camel_verbose_debug logging.
svn path=/trunk/; revision=21173
|
|
|
|
|
|
|
|
|
|
| |
2003-05-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): If
host->h_name is NULL or an empty string, default back to using the
IP address rather than the hostname in the EHLO command.
svn path=/trunk/; revision=21159
|
|
|
|
|
|
|
|
|
|
| |
* providers/imap/camel-imap-folder.c (d): Disable debugging.
* providers/imap/camel-imap-command.c (d): Disable debugging.
* providers/imap/camel-imap-search.c (d): Disable debugging.
svn path=/trunk/; revision=21153
|
|
|
|
|
|
|
|
| |
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Don't call
g_utf8_validate on an empty message. Fixes a warning.
svn path=/trunk/; revision=21099
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-01 Jeffrey Stedfast <fejj@ximian.com>
Workaround for POS mailers like the one in bug #42045.
* camel-mime-utils.c (header_decode_date): Make sure the numeric
timezone is between -1200 and 1200, otherwise it is invalid.
* broken-date-parser.c (get_tzone): Make sure the numeric timezone
is between -1200 and 1200, otherwise it is invalid.
svn path=/trunk/; revision=21048
|
|
|
|
|
|
|
|
| |
* Makefile.am (camel_lock_helper_SOURCES): Remove camel-lock.c
from here because it upsets automake 1.6 for some reason
(camel_lock_helper_LDADD): Add camel-lock.o here
svn path=/trunk/; revision=21033
|
|
|
|
|
|
|
|
|
| |
2003-04-29 Jeremy Katz <katzj@redhat.com>
* providers/imap/camel-imap-folder.c (parse_fetch_response):
body_len needs to be a size_t instead of int
svn path=/trunk/; revision=21027
|
|
|
|
|
|
|
|
| |
2003-04-22 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-utils.c: Disable debugging printfs.
svn path=/trunk/; revision=20957
|
|
|
|
|
|
|
|
|
| |
2003-04-23 Not Zed <NotZed@Ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): only free the
host if it was set. removes a run-time warning.
svn path=/trunk/; revision=20949
|
|
|
|
| |
svn path=/trunk/; revision=20937
|
|
|
|
|
|
|
|
|
|
| |
2003-04-22 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (imap_connect_online): #if 0
out some code that parsed the namespaces since the results aren't
used and they generate debugging output.
svn path=/trunk/; revision=20936
|
|
|
|
|
|
|
|
|
| |
2003-04-23 Not Zed <NotZed@Ximian.com>
* camel-session.c (get_service): oops, the service owns the url
after we construct it.
svn path=/trunk/; revision=20931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-22 Not Zed <NotZed@Ximian.com>
** Should fix #41629, #41448, et al.
* tests/folder/test10.c: a new torture test for object bag
creation/unreffing.
* camel-url.c (camel_url_copy): new function to copy a url.
* camel-object.c (camel_object_bag_new): add arguments for key
copy and key free functions. Fixed all callers.
(camel_object_bag_destroy): fix a memleak, free the bag key.
(camel_object_bag_get, camel_object_bag_reserve)
(camel_object_bag_abort, save_bag, save_object): Make the key a
void type, rather than char *.
(camel_object_bag_add): As above, and also copy the key.
(camel_object_bag_remove_unlocked): free the key using
bag->free_key.
* camel-session.c (register_provider)
(camel_session_destroy_provider, get_service): Changed to use an
object bag instead of a hash table for the service 'cache'.
(service_cache_remove): Removed, no longer required.
svn path=/trunk/; revision=20930
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_parse_status): Don't set seen_eof1
here anymore once we get a trust metric.
(gpg_ctx_new): Init seen_eof1 to TRUE here.
(gpg_ctx_set_ostream): Change seen_eof1 to FALSE here this way we
only ever have to set this if we are expecting output.
(gpg_ctx_parse_status): Don't set seen_eof1 for importing either.
(gpg_ctx_op_step): Only FD_SET() those fd's that we have not yet
finished reading.
svn path=/trunk/; revision=20922
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-17 Not Zed <NotZed@Ximian.com>
** for #40989
* camel-text-index.c (text_index_delete): delete the block
file/key file directly, not just its files.
* providers/local/camel-local-folder.c (local_delete): implement,
just delete the index file if it exists.
camel-store-delete-folder will delete other data (maybe it all
should be done here).
* camel-block-file.c (camel_key_file_finalise): keep lock around
decrementing key file use count.
(camel_key_file_delete): new function to delete the key file (&
close it off).
(key_file_use): if we've been deleted, always fail.
(camel_block_file_finalise): only close the file if its a valid
fd.
(block_file_use): if we've been deleted, always fail.
(camel_block_file_delete): delete the block file & close.
(struct _CamelBlockFilePrivate): fix the !ENABLE_THREADS case to
still compile this.
svn path=/trunk/; revision=20894
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-url-scanner.c (camel_url_web_end): Urls are unlikely to
end with punctuation or closing braces, so strip any of those off
the end of the url. Fixes bug #41461.
* tests/mime-filter/data/html.1.out: Removed a trailing \n at the
end of the file, this is incorrect (since out input file does not
contain one).
* camel-mime-filter-tohtml.c (html_convert): Only output a <br> if
we found an eoln in the input. Along the same lines, don't write a
'\n' to the output buffer unless we've encountered that eoln in
the input. Fixes bug #41407.
svn path=/trunk/; revision=20882
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-17 Not Zed <NotZed@Ximian.com>
* camel-multipart-signed.c (parse_content): Dont assume adding 1
to line length will go to the next line. e.g. for dos lines that
end in \r\n. Fix for #41163.
(parse_boundary): util function to help above.
svn path=/trunk/; revision=20874
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): The gpg child process exiting
does not necessarily mean that we've ready everything that we can
from its pipes, so don't use gpg_ctx_op_exited() as a loop-exit
condition. If for some reason the gpg child process does exit (due
to an error), gpg_ctx_op_step() will eventually fail (as soon as
it has finished reading any data in the pipes) and cause the loop
to be terminated anyway. This fixes truncation of the gpg --verify
stderr output that Evolution displays as the "validity report"
(for lack of a better description).
(gpg_ctx_op_step): Removed some debugging printf's
(gpg_ctx_get_diagnostics): Use a bitfield to decide if we've
already flushed the diagnostics stream, much simpler (plus we have
plenty of bits to spare so might as well use them).
(gpg_ctx_new): Fixed another logic bug which determined whether or
not we should convert the gpg output from the locale charset into
UTF-8.
svn path=/trunk/; revision=20865
|
|
|
|
|
|
|
|
|
| |
2003-04-10 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c: Turn off debugging if
CAMEL_VERBOSE_DEBUG isn't set.
svn path=/trunk/; revision=20803
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-10 Not Zed <NotZed@Ximian.com>
* tests/mime-filter/data: filter data test cases.
* tests/mime-filter/test-tohtml.c: New test for html filter.
** See bug #40969
* camel-mime-filter-tohtml.c (html_convert): Change the logic
slightly, scan a whole line within the main loop.
svn path=/trunk/; revision=20799
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_get_utf8_diagnostics): Removed. I
just realised that we ALWAYS want to get gpg's stderr in UTF-8, so
the better solution (plus less code duplication) is to just have
the diagnostics buffer be a CamelStreamMem with a charset filter.
(gpg_ctx_new): Setup a filter stream to convert our gpg stderr
diagnostics into UTF-8 if needed.
(gpg_ctx_free): Unref the diagnostcis stream.
(gpg_ctx_parse_status): Flush the diagnostics stream if we are
going to use the data in an exception.
(gpg_ctx_op_step): Use camel_stream_write() to append to the
diagnostics stream rather than appending the buffer to a
GByteArray like we used to do.
(gpg_ctx_op_step): Flush the diagnostics stream here too.
(gpg_verify): Use a const char *diagnostics string here, forcing a
slight rearrangement of calls - use the const char *dignostics
before we gpg_ctx_free, otherwise we'll be passing free'd memory
off to the cipher_validity.
(gpg_ctx_get_diagnostics): Do the work here to flush the
diagnostics stream and nul-terminate the buffer. Also return const
now, instead of strdupping. No need for that.
(gpg_ctx_parse_status): Convert the user hint to UTF-8.
svn path=/trunk/; revision=20798
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_get_utf8_diagnostics): Changed my
mind a bit on how I wanted this to work. Instead of aborting on an
illegal sequence, do like we do with camel-mime-filter-charset and
just skip over invalid sequences. Also, in the noop failure case,
close the iconv_t so we don't leak it.
svn path=/trunk/; revision=20796
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-utils.c (imap_body_decode): Save the
content size in a temp variable until after we've successfully
parsed all of the body_type_1part expr. Also fixed a type-o in the
body_type_mpart case that caused the parser to fail.
(imap_parse_body): On failure to parse the body, as we iterate
through the child nodes, set their children/parent/next nodes to
NULL so that content_info_free() won't double-free any of the
other nodes we have already free'd (or are about to free).
svn path=/trunk/; revision=20795
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_get_utf8_diagnostics): New function
to get the UTF-8 version of the diagnostics (if the locale isn't
already UTF-8 safe).
(gpg_verify): Use the utf-8 diagnostics here. Also fixed a memleak
in the exception case.
svn path=/trunk/; revision=20792
|
|
|
|
|
|
|
|
|
|
| |
2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-charset.c
(camel_mime_filter_charset_new_convert): NULL-protect the to/from
charsets in the g_warning call.
svn path=/trunk/; revision=20774
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #40778. Probably others as well.
* providers/imap/camel-imap-utils.c (parse_params): Return 0 on
success, or -1 on fail. The other small utility functions should
probably do the same, but I was too lazy to fix them. Setting
inptr to NULL is just lame.
(imap_body_decode): New function to correctly parse a BODY
response.
(imap_parse_body): Rewritten to use the above function.
svn path=/trunk/; revision=20773
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): Make sure
host->h_name is not an empty string too? Apparently for one user
his resolved hostname is "". Go figure. Probably a broken system,
but easy enough to work around.
svn path=/trunk/; revision=20768
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): If
store->engine->line is NULL, use _("Unknown error") as the error
string instead.
svn path=/trunk/; revision=20765
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_load): use
g_strerror, and use errno directly rather than ferrno().
(summary_header_load): set errno when we get a version mismatch.
svn path=/trunk/; revision=20739
|
|
|
|
|
|
|
|
| |
2003-04-07 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c: Disable debug printf's
svn path=/trunk/; revision=20733
|
|
|
|
|
|
|
|
|
|
| |
2003-03-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-sasl-gssapi.c (gssapi_challenge): If we are using the
heimdal krb5 implementation, don't free outbuf ever. Seems to
segfault if we do.
svn path=/trunk/; revision=20624
|
|
|
|
|
|
|
|
|
|
| |
2003-03-31 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-enriched.c (enriched_to_html): Use strncasecmp
for matching the nofill and /nofill tags. Also fixed to handle
enriched tags that require <param> tags.
svn path=/trunk/; revision=20603
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-28 Not Zed <NotZed@Ximian.com>
* providers/local/camel-spool-store.c (get_folder): remove unused
var.
* providers/imap/camel-imap-utils.c (imap_parse_list_response):
moved an unused var to the #if 0'd out block.
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): remove unused vars.
* camel-index-control.c (main): deifne camel_init() before using
it.
* camel-vee-store.c (vee_get_folder): removed unused var.
* camel-stream-mem.c (stream_write): warning -> fixme.
* camel-stream-filter.c (_CamelStreamFilterPrivate): Add a ; to
the end of the struct definition.
* camel-store.c (camel_store_delete_folder): remove unused var.
(camel_store_rename_folder): "
(camel_store_unsubscribe_folder): "
* camel-mime-part.c (write_to_stream): Changed warning into a
TODO.
(construct_from_parser): removed warning, the code was fixed.
* camel-mime-message.c (construct_from_parser): Remove the
warning, the code was fixed.
* camel-mime-filter-enriched.c (camel_mime_filter_enriched_new):
Remove unused var.
* camel-medium.c (camel_medium_get_header): Removed warning, and
changed docs to reflect it.
* camel-gpg-context.c (gpg_ctx_parse_status): handle MODE_EXPORT
as a noop (warning).
* camel-folder.c (get_message_user_tag): changed a warning into a
fixme (its not that important).
(camel_folder_get_message_user_tag): "
* camel-data-cache.c (data_cache_finalise): removed unused vars.
(data_cache_expire): "
svn path=/trunk/; revision=20556
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-27 Jeffrey Stedfast <fejj@ximian.com>
* camel-sasl-gssapi.c (gssapi_challenge): Get rid of debug
printf's that are no longer needed. In the case of errors, don't
release the outbuf gss_buffer_t since it shouldn't be set. Also
g_free (str) when we are done with it.
svn path=/trunk/; revision=20551
|