tinymail:tinymail.git
7 years agoFixed a memory leak when retrieving the BODYSTRUCTURE of a message
Sergio Villar Senin [Wed, 17 Feb 2010 17:57:28 +0000 (17:57 +0000)]
Fixed a memory leak when retrieving the BODYSTRUCTURE of a message

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4188 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFixed build for Moblin
Sergio Villar Senin [Fri, 12 Feb 2010 17:01:07 +0000 (17:01 +0000)]
Fixed build for Moblin

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4184 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFixed Python bindings
Sergio Villar Senin [Fri, 12 Feb 2010 11:35:12 +0000 (11:35 +0000)]
Fixed Python bindings

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4183 d4f517bd-a70b-0410-9f68-c17655437c52

7 years ago * libtinymailui-gtk/tny-gtk-header-list-model.c:
Jose Dapena Paz [Wed, 10 Feb 2010 18:31:49 +0000 (18:31 +0000)]
* libtinymailui-gtk/tny-gtk-header-list-model.c:
new method tny_gtk_header_list_model_set_update_in_batches
to change the way headers are exposed to tree model. It
sets the number of headers that will be added to tree model
per batch. By default it's 3000 (old behavior). You can set
a lower value to make ui more responsive.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4182 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded TnyMoblinAccountStore & TnyMoblinPlatformFactory based on GNOME implementations
Sergio Villar Senin [Wed, 10 Feb 2010 12:30:21 +0000 (12:30 +0000)]
Added TnyMoblinAccountStore & TnyMoblinPlatformFactory based on GNOME implementations

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4180 d4f517bd-a70b-0410-9f68-c17655437c52

7 years ago* Added libtinymail-moblin
Sergio Villar Senin [Tue, 9 Feb 2010 17:39:03 +0000 (17:39 +0000)]
* Added libtinymail-moblin
* Adde Moblin as new supported platform
* Added TnyMoblinDevice, TnyDevice implementation that uses Moblin's Connection Manager

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4178 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo not perform LIST/LSUB for every folder when recursing folders in TnyGtkFolderListStore
Sergio Villar Senin [Tue, 9 Feb 2010 17:19:39 +0000 (17:19 +0000)]
Do not perform LIST/LSUB for every folder when recursing folders in TnyGtkFolderListStore

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4177 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoRevert "Added fallback for servers returning delimiter inside namespace prefix"
Sergio Villar Senin [Fri, 5 Feb 2010 10:03:40 +0000 (10:03 +0000)]
Revert "Added fallback for servers returning delimiter inside namespace prefix"

This reverts commit 29862e602c3bfbb951f8a0a999580083b1293a22.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4176 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded fallback for servers returning delimiter inside namespace prefix
Sergio Villar Senin [Thu, 4 Feb 2010 17:43:36 +0000 (17:43 +0000)]
Added fallback for servers returning delimiter inside namespace prefix

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4171 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFixed retrieval of folders in servers with NAMESPACE
Sergio Villar Senin [Mon, 1 Feb 2010 12:29:47 +0000 (12:29 +0000)]
Fixed retrieval of folders in servers with NAMESPACE

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4169 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoWhen connecting refresh the personal namespace is NAMESPACE is supported.
Sergio Villar Senin [Mon, 1 Feb 2010 11:58:43 +0000 (11:58 +0000)]
When connecting refresh the personal namespace is NAMESPACE is supported.
Otherwise refresh all of them

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4168 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo store personal namespaces at first place in the summary
Sergio Villar Senin [Mon, 1 Feb 2010 11:58:38 +0000 (11:58 +0000)]
Do store personal namespaces at first place in the summary

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4167 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoUntagged NO IMAP responses should not be treated as errors, just warnings
Sergio Villar Senin [Mon, 1 Feb 2010 11:58:33 +0000 (11:58 +0000)]
Untagged NO IMAP responses should not be treated as errors, just warnings

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4166 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix Vala bindings
Jürg Billeter [Wed, 27 Jan 2010 23:08:55 +0000 (23:08 +0000)]
Fix Vala bindings

* bindings/vala/camel-lite-1.2.vapi:
* bindings/vala/libtinymail-1.0/libtinymail-1.0.vala:
remove duplicated content

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4162 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded ChangeLog entry for the last 2 commits
Sergio Villar Senin [Tue, 26 Jan 2010 13:59:45 +0000 (13:59 +0000)]
Added ChangeLog entry for the last 2 commits

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4154 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFixes an invalid read and a memory leak
Sergio Villar Senin [Tue, 26 Jan 2010 13:39:08 +0000 (13:39 +0000)]
Fixes an invalid read and a memory leak

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4147 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoUse LIST "" "*" when the server does not support NAMESPACE instead of LIST "" ""
Sergio Villar Senin [Tue, 26 Jan 2010 13:39:03 +0000 (13:39 +0000)]
Use LIST "" "*" when the server does not support NAMESPACE instead of LIST "" ""

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4146 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFixes a crash when decode_string method tries to allocate too much memory
Sergio Villar Senin [Fri, 22 Jan 2010 12:30:47 +0000 (12:30 +0000)]
Fixes a crash when decode_string method tries to allocate too much memory

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4141 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded ChangeLog for latest changes
Sergio Villar Senin [Mon, 18 Jan 2010 14:20:42 +0000 (14:20 +0000)]
Added ChangeLog for latest changes

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4140 d4f517bd-a70b-0410-9f68-c17655437c52

7 years ago* Removed a hack for POP in TnySessionCamel
Sergio Villar Senin [Mon, 18 Jan 2010 13:56:27 +0000 (13:56 +0000)]
* Removed a hack for POP in TnySessionCamel
* Fixed connection method in POP, now it properly calls the forget_password function
* Removed the wait_for_login_delay thread in POP3 code
* Do disconnect POP3 accounts when finalizing the store

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4136 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoMerged camel-utf8.c from Camel upstream
Sergio Villar Senin [Mon, 18 Jan 2010 13:56:21 +0000 (13:56 +0000)]
Merged camel-utf8.c from Camel upstream

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4135 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix bodystructure headers parser
Jose Dapena Paz [Wed, 13 Jan 2010 18:14:42 +0000 (18:14 +0000)]
Fix bodystructure headers parser

* libtinymail-camel/tny-camel-bs-mime-part.c: fix headers
file parsing, using camel mime parser this time.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4134 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoRestructure body parts indexes if we find that the indexes are wrong as
Jose Dapena Paz [Wed, 13 Jan 2010 11:34:59 +0000 (11:34 +0000)]
Restructure body parts indexes if we find that the indexes are wrong as
Gmail does.

* libtinymail-camel/tny-camel-bs-msg-receive-strategy.c
(retrieve_subparts_headers): workaround for Gmail. If we are
accessing a TnyMsg, and it does not have id.HEADER part, then
we have the Gmail issue where some message/rfc822 parts will
have their body as a subpart instead of being id.TEXT part.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4132 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded tny_camel_folder_reason/unreason to the refresh() operation
Sergio Villar Senin [Tue, 12 Jan 2010 12:01:47 +0000 (12:01 +0000)]
Added tny_camel_folder_reason/unreason to the refresh() operation

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4130 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded missing files
Philip Van Hoof [Sun, 10 Jan 2010 15:09:43 +0000 (15:09 +0000)]
Added missing files

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4128 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoUpdated ChangeLog
Philip Van Hoof [Sun, 10 Jan 2010 14:59:26 +0000 (14:59 +0000)]
Updated ChangeLog

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4127 d4f517bd-a70b-0410-9f68-c17655437c52

7 years ago2010-01-10 Philip Van Hoof <philip@codeminded.be>
Philip Van Hoof [Sun, 10 Jan 2010 14:57:58 +0000 (14:57 +0000)]
2010-01-10  Philip Van Hoof  <philip@codeminded.be>

        * Updated Vala bindings

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4126 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo not issue IDLE debug if IDLE was disabled
Sergio Villar Senin [Sat, 9 Jan 2010 10:01:02 +0000 (10:01 +0000)]
Do not issue IDLE debug if IDLE was disabled

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4125 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdd TnyHeader user flags support in Tinymail and in Camel backend.
Jose Dapena Paz [Thu, 7 Jan 2010 13:06:45 +0000 (13:06 +0000)]
Add TnyHeader user flags support in Tinymail and in Camel backend.
The implementation allows specific backends to provide persistent storage
of some or all user flags, and method support_user_flags allows API user to
know if a specific header supports flags.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4123 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoRemoved several compilation warnings
Sergio Villar Senin [Tue, 5 Jan 2010 15:41:05 +0000 (15:41 +0000)]
Removed several compilation warnings

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4121 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoUnlink cache files when the fetching of a MIME part fails
Sergio Villar Senin [Mon, 4 Jan 2010 16:11:37 +0000 (16:11 +0000)]
Unlink cache files when the fetching of a MIME part fails

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4120 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo not use BINARY to fetch parts if the content type is TEXT
Sergio Villar Senin [Mon, 4 Jan 2010 16:11:27 +0000 (16:11 +0000)]
Do not use BINARY to fetch parts if the content type is TEXT

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4119 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo not store BS content type in capital letters
Sergio Villar Senin [Mon, 4 Jan 2010 10:53:39 +0000 (10:53 +0000)]
Do not store BS content type in capital letters

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4115 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoProper part spec for top member of a bodystruct hierarchy
Sergio Villar Senin [Mon, 4 Jan 2010 10:53:24 +0000 (10:53 +0000)]
Proper part spec for top member of a bodystruct hierarchy

* libtinymail-camel/camel-lite/bs/bodystruct.c: set proper part_spec
of root part (it's empty, not "1").

* libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c,
libtinymail-camel/tny-camel-bs-msg-receive-strategy.c:
properly handle stored parts with part_spec == "" (as root part spec)

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4114 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoBe careful to also fetch properly the first level text attachments
Sergio Villar Senin [Mon, 4 Jan 2010 10:53:13 +0000 (10:53 +0000)]
Be careful to also fetch properly the first level text attachments

* libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c:
detect properly also TEXT stored mime parts in bodystruct.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4113 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix bodystruct parser to also decode properly video attachments
Sergio Villar Senin [Mon, 4 Jan 2010 10:52:50 +0000 (10:52 +0000)]
Fix bodystruct parser to also decode properly video attachments

* libtinymail-camel/camel-lite/bs/bodystruct.c: also
consider VIDEO mime types with file/attachment format.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4112 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoRetrieve subparts headers on retrieving bs message.
Sergio Villar Senin [Mon, 4 Jan 2010 10:52:40 +0000 (10:52 +0000)]
Retrieve subparts headers on retrieving bs message.

* libtinymail-camel/tny-camel-bs-mime-part.c: fix
fetching properly the headers of message/rfc822 attachments
on fetching the bodystructure.

* libtinymail-camel/tny-camel-mime-part.c: properly fetch the
children messages when the message comes from IMAP bodystructure.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4111 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoOn retrieving an attached message, retrieve TEXT part instead of the full
Sergio Villar Senin [Mon, 4 Jan 2010 10:52:32 +0000 (10:52 +0000)]
On retrieving an attached message, retrieve TEXT part instead of the full
rfc822/message.

* libtinymail-camel/tny-camel-bs-msg-receive-strategy.c:
fetch the message/rfc822 contents using part.TEXT in
IMAP request.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4110 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDecode properly filename in bs mime part.
Sergio Villar Senin [Mon, 4 Jan 2010 10:52:22 +0000 (10:52 +0000)]
Decode properly filename in bs mime part.

* libtinymail-camel/tny-camel-bs-mime-part.c: properly decode
filename field.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4109 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix bs get_decoded_stream, as it was not decoding properly text parts
Sergio Villar Senin [Mon, 4 Jan 2010 10:52:13 +0000 (10:52 +0000)]
Fix bs get_decoded_stream, as it was not decoding properly text parts

* libtinymail-camel/tny-camel-bs-mime-part.c
(..._get_decoded_stream_default): properly decode text/plain
messages as utf8.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4108 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFixed a crash when expunging while being offline
Sergio Villar Senin [Fri, 18 Dec 2009 13:57:32 +0000 (13:57 +0000)]
Fixed a crash when expunging while being offline

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4100 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoCancel pending "connection-changed" signals when new ones arrive
Sergio Villar Senin [Fri, 18 Dec 2009 12:10:48 +0000 (12:10 +0000)]
Cancel pending "connection-changed" signals when new ones arrive

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4098 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix a warning in build that could cause problems in 64bit architectures.
Jose Dapena Paz [Fri, 18 Dec 2009 10:26:12 +0000 (10:26 +0000)]
Fix a warning in build that could cause problems in 64bit architectures.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4096 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoSet the message cache to partial when retrieving BODYSTRUCTURE
Sergio Villar Senin [Wed, 16 Dec 2009 13:29:44 +0000 (13:29 +0000)]
Set the message cache to partial when retrieving BODYSTRUCTURE

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4095 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo not assume that mime parts have content type
Sergio Villar Senin [Wed, 16 Dec 2009 11:21:48 +0000 (11:21 +0000)]
Do not assume that mime parts have content type

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4093 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoBuild also gnomevfs if available, if GIO is enabled.
Jose Dapena Paz [Tue, 15 Dec 2009 16:53:34 +0000 (16:53 +0000)]
Build also gnomevfs if available, if GIO is enabled.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4091 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoRemoved a file incorrectly added to the repos
Sergio Villar Senin [Mon, 14 Dec 2009 19:00:16 +0000 (19:00 +0000)]
Removed a file incorrectly added to the repos

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4090 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoParse properly rfc2047 word in utf-8
Jose Dapena Paz [Fri, 11 Dec 2009 18:50:12 +0000 (18:50 +0000)]
Parse properly rfc2047 word in utf-8

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4089 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoProperly return decoded headers from envelope in bodystruct
Jose Dapena Paz [Fri, 11 Dec 2009 18:49:46 +0000 (18:49 +0000)]
Properly return decoded headers from envelope in bodystruct

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4088 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoRefactor decode_it and decode_it_2 to be both in tny_camel_common
Jose Dapena Paz [Fri, 11 Dec 2009 18:49:21 +0000 (18:49 +0000)]
Refactor decode_it and decode_it_2 to be both in tny_camel_common

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4087 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoIn bs parser put proper part spec id to direct child of message/rfc822
Jose Dapena Paz [Fri, 11 Dec 2009 18:48:57 +0000 (18:48 +0000)]
In bs parser put proper part spec id to direct child of message/rfc822

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4086 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoOn parsing IMAP FETCH, if response size specifier is NIL, don't fail
Jose Dapena Paz [Fri, 11 Dec 2009 18:48:31 +0000 (18:48 +0000)]
On parsing IMAP FETCH, if response size specifier is NIL, don't fail

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4085 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoOn creating embedded message in bs, set as msg contents the child.
Jose Dapena Paz [Fri, 11 Dec 2009 18:48:06 +0000 (18:48 +0000)]
On creating embedded message in bs, set as msg contents the child.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4084 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix detection of embedded message/rfc822 in tinymail bs
Jose Dapena Paz [Fri, 11 Dec 2009 18:47:41 +0000 (18:47 +0000)]
Fix detection of embedded message/rfc822 in tinymail bs

2009-12-11  Jose Dapena Paz  <jdapena@igalia.com>

* Fix error detecting embedded message/rfc822 in bs.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4083 d4f517bd-a70b-0410-9f68-c17655437c52

7 years ago2009-12-12 Carl Simonson <simonsonc@gmail.com>
Sergio Villar Senin [Fri, 11 Dec 2009 13:08:15 +0000 (13:08 +0000)]
2009-12-12  Carl Simonson <simonsonc@gmail.com>

Committed by Sergio Villar Senin <svillar@igalia.com>

* libtinymail/tny-folder-monitor.c, libtinymail/tny-folder-monitor.h:
  Fix override of update method by removing the addition of the update
method on TnyFolderMonitor.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4075 d4f517bd-a70b-0410-9f68-c17655437c52

7 years ago2009-12-12 Carl Simonson <simonsonc@gmail.com>
Sergio Villar Senin [Fri, 11 Dec 2009 13:08:07 +0000 (13:08 +0000)]
2009-12-12  Carl Simonson <simonsonc@gmail.com>

Committed by Sergio Villar Senin <svillar@igalia.com>

* libtinymail-camel/tny-camel-msg.c, libtinymail-camel/tny-camel-msg.h
  (tny_camel_msg_parse): Correct type of self parameter

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4074 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoDo expunge messages in POP when the user request it
Sergio Villar Senin [Fri, 11 Dec 2009 12:20:32 +0000 (12:20 +0000)]
Do expunge messages in POP when the user request it

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4073 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoOn getting the decoded stream from bs mime part, reset to offer a stream
Jose Dapena Paz [Fri, 11 Dec 2009 10:56:58 +0000 (10:56 +0000)]
On getting the decoded stream from bs mime part, reset to offer a stream
started in 0 offset.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4071 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix error saving allow external image flag in bs msg
Jose Dapena Paz [Thu, 10 Dec 2009 17:20:31 +0000 (17:20 +0000)]
Fix error saving allow external image flag in bs msg

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* Fix saving "show external images" flag in bodystruct backend.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4069 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoSet bs message header as cached after retrieving it with bodies.
Jose Dapena Paz [Thu, 10 Dec 2009 17:20:26 +0000 (17:20 +0000)]
Set bs message header as cached after retrieving it with bodies.

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* Set bs header as cached after retrieving bodies.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4068 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAvoid crash on getting reference to bs header, as it won't be a
Jose Dapena Paz [Thu, 10 Dec 2009 17:20:21 +0000 (17:20 +0000)]
Avoid crash on getting reference to bs header, as it won't be a
TnyCamelMsgHeader.

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* Avoid a crash on getting the header of a BS message, and this won't be
decorated (not needed in bs).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4067 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoEnable by default BS IMAP implementation
Jose Dapena Paz [Thu, 10 Dec 2009 17:20:16 +0000 (17:20 +0000)]
Enable by default BS IMAP implementation

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* Better setup of using bodystruct for IMAP. Also, set as default bodystruct
based implementation.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4066 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoMore fixes for bodystructure support (fix detecting if bodystruct is cached)
Jose Dapena Paz [Thu, 10 Dec 2009 17:20:12 +0000 (17:20 +0000)]
More fixes for bodystructure support (fix detecting if bodystruct is cached)

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4065 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoProperly reload imap message cache
Jose Dapena Paz [Thu, 10 Dec 2009 17:20:05 +0000 (17:20 +0000)]
Properly reload imap message cache

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c:
don't wipe the bs cached parts accidentally.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4064 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded a global filter to bs msg receive strategy, to set up the number of
Jose Dapena Paz [Thu, 10 Dec 2009 17:19:59 +0000 (17:19 +0000)]
Added a global filter to bs msg receive strategy, to set up the number of
bodies the strategy will autofetch.

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/tny-camel-bs-msg-receive-strategy.c: retrieve bodies
on fetching the bodystructure.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4063 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoAdded method to know if a mime part is already fetched.
Jose Dapena Paz [Thu, 10 Dec 2009 17:19:54 +0000 (17:19 +0000)]
Added method to know if a mime part is already fetched.

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/tny-camel-bs-mime-part.c: new methods is_fetched, to
know if a specific mime part is already fetched to cache.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4062 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoFix in bs charset convert code.
Jose Dapena Paz [Thu, 10 Dec 2009 17:19:49 +0000 (17:19 +0000)]
Fix in bs charset convert code.

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/tny-camel-bs-mime-part.c: only use format_text with
text/plain mime parts.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4061 d4f517bd-a70b-0410-9f68-c17655437c52

7 years agoUse bodystruct support for partial part retrieving.
Jose Dapena Paz [Thu, 10 Dec 2009 17:19:43 +0000 (17:19 +0000)]
Use bodystruct support for partial part retrieving.

2009-12-10  Jose Dapena Paz  <jdapena@igalia.com>

* Enable bodystruct parsing for partial retrieval.
* Improvement in content type recoginition in bodystruct mime part.
* Offer header pairs available in body struct if body itself is not
fetched.
* Bodystruct parts are not purged.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4060 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoFixed a lot of CamelException's memory leaks
Sergio Villar Senin [Mon, 26 Oct 2009 09:28:13 +0000 (09:28 +0000)]
Fixed a lot of CamelException's memory leaks

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4045 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoUse GtkBuilder instead deprecated libglade
Sergio Villar Senin [Thu, 22 Oct 2009 11:04:43 +0000 (11:04 +0000)]
Use GtkBuilder instead deprecated libglade

https://bugzilla.gnome.org/show_bug.cgi?id=598864

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4043 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoRemove gnome_vfs code from tinymail example code
Sergio Villar Senin [Thu, 22 Oct 2009 10:49:21 +0000 (10:49 +0000)]
Remove gnome_vfs code from tinymail example code

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4042 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoDo not add folder store observers for merge folders
Sergio Villar Senin [Tue, 20 Oct 2009 09:37:45 +0000 (09:37 +0000)]
Do not add folder store observers for merge folders

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4041 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoRegister folder store observer for every instance.
Sergio Villar Senin [Tue, 20 Oct 2009 09:37:41 +0000 (09:37 +0000)]
Register folder store observer for every instance.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4040 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-16 Carl Simonson <simonsonc@gmail.com>
Philip Van Hoof [Sun, 18 Oct 2009 09:49:51 +0000 (09:49 +0000)]
2009-10-16  Carl Simonson <simonsonc@gmail.com>

* libtinymail/tny-stream-cache.c: Fix TnyStreamCache class name

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4038 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoPrevents crashes in notify_views_add_destroy in the headers model, when the model...
Sergio Villar Senin [Fri, 16 Oct 2009 17:21:10 +0000 (17:21 +0000)]
Prevents crashes in notify_views_add_destroy in the headers model, when the model has no more references

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4037 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoLots of build warning fixes (fixes GB#598601).
Jose Dapena Paz [Fri, 16 Oct 2009 17:17:51 +0000 (17:17 +0000)]
Lots of build warning fixes (fixes GB#598601).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4036 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoFix "format not a string literal and no format arguments" warnings.
Jose Dapena Paz [Fri, 16 Oct 2009 17:17:24 +0000 (17:17 +0000)]
Fix "format not a string literal and no format arguments" warnings.

2009-10-16  Javier Jardón Cabezas <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

Fix "format not a string literal and no format arguments"
message warnings

* libtinymail-camel/tny-camel-common.c
* libtinymail-camel/tny-camel-mime-part.c
* libtinymail-gnome-desktop/tny-gnome-account-store.c
* libtinymail/tny-folder-store-query.c
* tests/c-demo/tny-demoui-summary-view.c

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4035 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoUse single GTK and Glib includes (fixes GB#591065).
Jose Dapena Paz [Fri, 16 Oct 2009 15:54:21 +0000 (15:54 +0000)]
Use single GTK and Glib includes (fixes GB#591065).

2009-10-16  Javier Jardón Cabezas <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/camel-lite/camel/camel-tcp-stream.h,
libtinymail-camel/camel-lite/libedataserver/e-data-server-util.h,
libtinymail-maemo/tny-maemo-conic-dummy-device.c,
libtinymailui-gtk/tny-gtk-header-list-model.h,
tests/functional/account-refresh.c: use single GTK and Glib
includes

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4033 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoExchange the order of a ref unref sequence to prevent crashes
Sergio Villar Senin [Fri, 16 Oct 2009 14:03:06 +0000 (14:03 +0000)]
Exchange the order of a ref unref sequence to prevent crashes

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4032 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoAdd support for GIO in tinymail.
Jose Dapena Paz [Thu, 15 Oct 2009 16:41:00 +0000 (16:41 +0000)]
Add support for GIO in tinymail.

2009-10-15 Javier Jardón Cabezas <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* Implementation of TnyStream based in GIO

* Use GIO based streams instead of vfs based streams
  in tinymail GTK.

* Remove includes requiring vfs streams wherever they
  were not needed.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4030 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoAdd also support for silent automake rules in camel build.
Jose Dapena Paz [Thu, 15 Oct 2009 16:16:13 +0000 (16:16 +0000)]
Add also support for silent automake rules in camel build.

2009-10-15  Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/camel-lite/configure.ac: add also support
for silent rules in automake 1.11

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4029 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoSupport silent build rules in autotools.
Jose Dapena Paz [Thu, 15 Oct 2009 16:16:09 +0000 (16:16 +0000)]
Support silent build rules in autotools.

2009-10-15 Javier Jardón Cabezas <javierjc1982@gmail.com>

* configure.ac: Support silent build rules, requires at least automake-1.11.
Disable by either passing --disable-silent-rules to configure or
passing V=1 to make.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4028 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoUse accessors in gtk dialog of gnome keyring.
Jose Dapena Paz [Thu, 15 Oct 2009 16:04:45 +0000 (16:04 +0000)]
Use accessors in gtk dialog of gnome keyring.

2009-10-15  Jose Dapena Paz  <jdapena@igalia.com>

* libtinymailui-gnome-keyring/tny-gnome-keyring-password-getter.c:
don't access directly content area if we use G_SEAL enabled gtk

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4027 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoDrop dependency on libgnomeui also in build
Jose Dapena Paz [Thu, 15 Oct 2009 16:04:41 +0000 (16:04 +0000)]
Drop dependency on libgnomeui also in build

2009-10-14  Jose Dapena Paz  <jdapena@igalia.com>

* Removed pending includes and dependencies on
libgnomeui (in configure.ac too) (fix #590753).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4026 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoReimplemented gnome keyring password dialog to drop libgnomeui.
Jose Dapena Paz [Thu, 15 Oct 2009 16:04:37 +0000 (16:04 +0000)]
Reimplemented gnome keyring password dialog to drop libgnomeui.

2009-10-14  Jose Dapena Paz  <jdapena@igalia.com>

* Reimplemented gnome keyring password dialog to use
just plain gtk and drop usage of GnomePasswordDialog
which is deprecated (fix #590753).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4025 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-14 Javier Jardon <javierjc1982@gmail.com>
Jose Dapena Paz [Thu, 15 Oct 2009 16:04:32 +0000 (16:04 +0000)]
2009-10-14  Javier Jardon  <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* Removed dependency on libgnomeui in many places of
tinymail (partial fix #590753).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4024 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoRemoved some generated files in repository.
Jose Dapena Paz [Thu, 15 Oct 2009 15:34:09 +0000 (15:34 +0000)]
Removed some generated files in repository.

2009-10-15  Jose Dapena Paz  <jdapena@igalia.com>

* Drop from repository generated files config.h.in,
libtinymail-camel/camel-lite/config.h.in and po/Makefile.in.in

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4023 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-15 Carl Simonson <simonsonc@gmail.com>
Sergio Villar Senin [Thu, 15 Oct 2009 08:12:10 +0000 (08:12 +0000)]
2009-10-15  Carl Simonson <simonsonc@gmail.com>

Committed by: Sergio Villar Senin <svillar@igalia.com>

This removes the superfluous user_data argument in the signal function pointers
in the interface struct.

git-svn-id: https://svn.tinymail.org/svn/tinymail/releases/modest/modest-3-1@4020 d4f517bd-a70b-0410-9f68-c17655437c52

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4021 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoTnyCombinedAccount was missing the private initializer
Sergio Villar Senin [Wed, 14 Oct 2009 16:44:40 +0000 (16:44 +0000)]
TnyCombinedAccount was missing the private initializer

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4015 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoFix "connection-status-changed" signal
Sergio Villar Senin [Wed, 14 Oct 2009 16:44:33 +0000 (16:44 +0000)]
Fix "connection-status-changed" signal

The connection-status-changed signal was defined as having an integer for its
second argument. This change fixes it to be the TnyConnectionStatus enum type.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4014 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-14 Javier Jardon <javierjc1982@gmail.com>
Jose Dapena Paz [Wed, 14 Oct 2009 14:31:46 +0000 (14:31 +0000)]
2009-10-14  Javier Jardon  <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/camel-lite/libedataserver/e-memory.c:
removes dead code containing glib deprecated symbols
(fix 2/2 #589996).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4013 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-14 Javier Jardon <javierjc1982@gmail.com>
Jose Dapena Paz [Wed, 14 Oct 2009 14:31:21 +0000 (14:31 +0000)]
2009-10-14  Javier Jardon  <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* libtinymail-camel/tny-camel-common.c: remove glib
deprecated symbols (fixes #589996).

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4012 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-14 Javier Jardon <javierjc1982@gmail.com>
Jose Dapena Paz [Wed, 14 Oct 2009 14:06:59 +0000 (14:06 +0000)]
2009-10-14  Javier Jardon  <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* libtinymailui-webkit/tny-webkit-msg-view.c: more gtk
deprecated symbols removed.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4011 d4f517bd-a70b-0410-9f68-c17655437c52

8 years ago2009-10-14 Javier Jardon <javierjc1982@gmail.com>
Jose Dapena Paz [Wed, 14 Oct 2009 13:53:12 +0000 (13:53 +0000)]
2009-10-14  Javier Jardon  <javierjc1982@gmail.com>

Reviewed by: Jose Dapena Paz  <jdapena@igalia.com>

* Default behaviour is "automatic", so the NetworkManager is
compiled only if you have the NetworkManager libraries
(libnm-glib) in you system.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4010 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoAdded checks to the folder summary to prevent crashes when accessing corrupted summar...
Sergio Villar Senin [Wed, 14 Oct 2009 09:04:42 +0000 (09:04 +0000)]
Added checks to the folder summary to prevent crashes when accessing corrupted summary files

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4007 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoFixes a memory leak in a CamelException
Sergio Villar Senin [Wed, 14 Oct 2009 08:40:44 +0000 (08:40 +0000)]
Fixes a memory leak in a CamelException

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@4005 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoDisable IMAP IDLE in maemo build.
Jose Dapena Paz [Fri, 2 Oct 2009 14:26:47 +0000 (14:26 +0000)]
Disable IMAP IDLE in maemo build.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@3993 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoFixed a deadlock in Camel POP3 code when running wait_for_login_delay when reconnecting
Sergio Villar Senin [Fri, 2 Oct 2009 13:45:59 +0000 (13:45 +0000)]
Fixed a deadlock in Camel POP3 code when running wait_for_login_delay when reconnecting

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@3992 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoSet the proper flag when retrying to authenticate to an SMTP server
Sergio Villar Senin [Fri, 2 Oct 2009 08:05:25 +0000 (08:05 +0000)]
Set the proper flag when retrying to authenticate to an SMTP server

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@3991 d4f517bd-a70b-0410-9f68-c17655437c52

8 years agoFixed tny_camel_folder_dispose
Sergio Villar Senin [Fri, 2 Oct 2009 08:05:20 +0000 (08:05 +0000)]
Fixed tny_camel_folder_dispose
Fixed the exception translation to TnyError

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@3990 d4f517bd-a70b-0410-9f68-c17655437c52