root/trunk/ChangeLog

Revision 3746 (checked in by pvanhoof, 5 hours ago)

2008-08-28 Martin Bonnin <martinbonnin@gmail.com>

        • Fixed typo in camel-service.c
Line 
1 2008-08-28  Martin Bonnin  <martinbonnin@gmail.com>
2
3         * Fixed typo in camel-service.c
4
5 2008-08-27  Martin Bonnin  <martinbonnin@gmail.com>
6
7         * This removes the "Warning: invalid file descriptor -1 in syscall
8         close()" seen when using valgrind with tinymail. stream_close() is
9         called twice in a row on the same stream.  There might be more
10         implications than just this valgrind warning, full details here
11         http://www.tinymail.org/trac/tinymail/ticket/62#preview
12
13 2008-08-22  Philip Van Hoof  <philip@codeminded.be>
14
15         * http://www.tinymail.org/trac/tinymail/ticket/81
16         Patch by agx@sigxcpu.org
17
18 2008-08-21  Sergio Villar Senin  <svillar@igalia.com>
19
20         * libtinymail/tny-merge-folder.c (remove_msgs_async_thread),
21         (tny_merge_folder_remove_msgs_async), (sync_async_thread),
22         (tny_merge_folder_sync_async), (get_msg_async_thread),
23         (tny_merge_folder_get_msg_async), (find_msg_async_thread),
24         (tny_merge_folder_find_msg_async), (get_headers_async_thread),
25         (tny_merge_folder_get_headers_async), (refresh_async_thread),
26         (tny_merge_folder_refresh_async), (transfer_msgs_async_thread),
27         (tny_merge_folder_transfer_msgs_async): Added some missing frees
28         to fix several leaks of thread structures
29
30         * libtinymail/tny-fs-stream-cache.c
31         (tny_fs_stream_cache_finalize): properly unref the hash table with
32         the cached files
33
34 2008-08-18  Sergio Villar Senin  <svillar@igalia.com>
35
36         * libtinymail-camel/tny-camel-folder.c (tny_camel_folder_finalize):
37         remove the folder from the account before unrefing it as it could be
38         the last reference of the account
39
40 2008-08-12  Thomas Monjalon  <thomas.monjalon@openwide.fr>
41
42         * libtinymail-camel/tny-camel-mime-part.c: convert only plain text
43         parts to UTF-8.
44         * Patch commited by Sergio Villar Senin
45
46 2008-08-06  Sergio Villar Senin  <svillar@igalia.com>
47
48         * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c
49         (stream_read): fixed a neverending poll when connection goes down
50         while retrieving messages.
51
52 2008-08-04  Sergio Villar Senin  <svillar@igalia.com>
53
54         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
55         (get_folder_info_offline): check wheter the returned folder info is
56         NULL or not to prevent a crash
57
58 2008-08-01  Sergio Villar Senin  <svillar@igalia.com>
59
60         * libtinymail-camel/camel-lite/camel/providers/local/camel-local-store.c
61         (xrename):
62         use g_rename for all platforms. Merged from camel trunk where I
63         initially submitted the patch
64        
65 2008-07-31  Jose Dapena Paz  <jdapena@igalia.com>
66
67         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
68         Check on fetching folder info if the top folder is inbox (should fix
69         inbox detection in dovecot).
70
71 2008-07-28  Jürg Billeter  <j@bitron.ch>
72
73         * tests/vala-demo/Makefile.am:
74         Fix build with recent Vala versions
75
76 2008-07-28  Sergio Villar Senin  <svillar@igalia.com>
77
78         * libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c:
79         do not mark as expunged those messages that could not be retrieved due
80         to the user canceled the request
81
82 2008-07-23  Sergio Villar Senin  <svillar@igalia.com>
83
84         * libtinymail-camel/tny-camel-account.c
85         (_tny_camel_account_start_camel_operation_n): added a missing
86         camel_operation_register that was preventing progress info to be
87         threw up and cancelations as well.
88
89         * libtinymail-camel/tny-camel-folder.c: added progress information
90         to get_headers_async function.
91
92 2008-07-21  Jose Dapena Paz  <jdapena@igalia.com>
93
94         * libtinymail-camel/camel-lite/camel/providers/imap/camep-imap-store.c:
95         Trivial fix for current folder weak reference code.
96
97 2008-07-21  Mark Doffman  <mark.doffman@codethink.co.uk>
98         * bindings/python/tinymail.override
99         Fixed some incompatible pointer warnings.
100
101 2008-07-16  Jose Dapena Paz  <jdapena@igalia.com>
102
103         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.[ch]:
104         Added fetching aol specific imap capability.
105
106         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.[ch]:
107         Now we use FETCH instead of SEARCH for getting the UID's
108         when the server is AOL.
109         Added an extra check in imap_get_uids. If server gives a list
110         including sequence numbers we didn't request, we ignore them.
111         This should fix the AOL problem fetching headers.
112
113 2008-07-16  Sergio Villar Senin  <svillar@igalia.com>
114
115         * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c: added
116         some code that properly checks the result of the call to
117         NSS_InitReadWrite.
118
119 2008-07-04  Jose Dapena Paz  <jdapena@igalia.com>
120
121         * libtinymail-camel/camel-lite/camel/camel.c:
122         Drop usage of PR_Cleanup on shutting down camel, as this is not safe,
123         nor required. This method is responsible for freeing the common
124         threads management code, including the lock that's accessed on the
125         crash in __nptl_deallocate_tsd.
126
127 2008-07-01  Jose Dapena Paz  <jdapena@igalia.com>
128
129         * libtinymail-camel/camel-lite/camel/camel-provider.[ch]:
130         Now providers offer a new shutdown handler, that will be
131         called on shutting down camel.
132
133         * libtinymail-camel/camel-lite/camel/camel.c:
134         Use the providers shutdown handler on shutting down camel.
135
136         * libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-provider.c:
137         Implement new provider shutdown handler, to kill the login delay
138         threads on shutting down tinymail.
139
140         * libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-store.[ch]:
141         New method to kill the login delay thread. This is used to kill
142         the thread on shutting down tinymail.
143
144         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-provider.c:
145         Set as NULL the default shutdown handler.
146
147         * libtinymail-camel/tny-camel-pop-store-account.c:
148         Manage properly the internal inbox reference to avoid leaking it.
149
150         * libtinymail-camel/camel-lite/camel/camel-mime-utils.c:
151         Parse properly broken rfc2047 recipient headers sent from gmail imap.
152
153 2008-06-26  Philip Van Hoof <philip@codeminded.be>
154
155         * Fixed LIST (SUBSCRIBED) for some IMAP servers
156
157 2008-06-25  Jose Dapena Paz  <jdapena@igalia.com>
158
159         * libtinymail-camel/tny-camel-mime-part.c
160         (..._get_header_pairs_default): we were leaking all the TnyPair objects
161         created here. Fixed.
162
163         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
164         Don't set in_idle to false so that join works properly.
165         On disconnecting we forze a stop_idle so we warrant idle
166         thread has died when we disconnect. Also, send let idle die commands
167         on disconnecting. It's very important to make the idle thread die
168         on time as it keeps a reference to the folder. Folder keeps a reference to
169         this store, and then store should finish idle soon to be able
170         to finalize (cycle reference).
171
172         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c:
173         On finishing the idle thread we state we're out of it.
174
175         * libtinymail-camel/camel-lite/camel.c:
176         Avoid running internal methods of camel_shutdown two times if
177         we can call shutdown two times.
178
179         * libtinymail-camel/tny-session-camel.c:
180         Keep a proper reference to TnyDevice.
181
182         * libtinymail-camel/tny-camel-store-account.c:
183         Free the iter store reference on finalising.
184
185         * libtinymail-camel/tny-camel-account.c:
186         Set service to null after unreffing it.
187
188         * libtinymailui-gtk/tny-gtk-folder-store-tree-model.c:
189         * Don't get folders again when we change status to disconnected.
190
191 2008-06-20  Jose Dapena Paz  <jdapena@igalia.com>
192
193         * libtinymail-camel/tny-camel-folder.c:
194         Fix camel operation references
195
196         * libtinymail-camel/tny-camel-bs-mime-part.c:
197         Fix camel operation references
198
199         * libtinymail-camel/tny-camel-queue.c:
200         Make queue reference to account be weak.
201
202         * libtinymail-camel/tny-camel-account.c:
203         More camel operation reference fixes.
204
205         * libtinymail/tny-cached-file-stream.c:
206         Linked the reset implementation to the stream interface.
207
208         * libtinymail/tny-cached-file.c:
209         Create the files synchronously, to avoid accessing the file from other
210         thread if this has not been created yet.
211
212         * Changelog: removed many end-of-line whitespaces.
213
214 2008-06-18  Jose Dapena Paz  <jdapena@igalia.com>
215
216         * libtinymail/tny-shared.h:
217         Added stream cache classes and handlers
218
219         * libtinymail/tny-stream-cache.[ch]:
220         Interface for streams caches. It's mostly intended for image
221         remote streams.
222
223         * libtinymail/tny-fs-stream-cache.[ch]:
224         Implementation of TnyStreamCache interface using a local
225         folder for storage. This implementation tries to keep the
226         size of the cached streams lower than 1 MB.
227
228         * libtinymail/tny-cached-file.[ch]:
229         Data object to store status information of currently cached
230         files. It also controls the process of fetching the remote
231         streams, and creation of streams reading from cache.
232
233         * libtinymail/tny-cached-file-stream.[ch]:
234         Streams wrapping TnyFsStream, that access the cache files
235         waiting when they're not completely fetched yet.
236
237         * libtinymail/Makefile.am:
238         Added stream cache implementation files.
239
240 2008-06-10  Sergio Villar Senin  <svillar@igalia.com>
241
242         * libtinymail-maemo/tny-maemo-conic-device.c:
243         Added the proper error domain do some errors
244
245 2008-06-09  Rob Taylor  <rob.taylor@codethink.co.uk>
246
247         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
248         Some mail servers use a namespace for their inbox, but inbox
249         is also a top-level folder. This special-cases it so we get the
250         flags of INBOX and also do the rest of our INBOX special casing.
251
252 2008-06-05  Mark Doffman  <mark.doffman@codethink.co.uk>
253
254         * bindings/python/*
255         Update .override and .defs files to reflect changes
256         in tinymail interfaces.
257
258         * tests/python-demo/*
259         Update python implementations to remove _func prefix
260         from methods no longer required by gtk-codegen.
261
262 2008-06-05  Philip Van Hoof <philip@codeminded.be>
263
264         * Merging folder flags from LSUB
265         * Folders that are only in LSUB are flagged NoSelect automatically
266         * Separator fallbacks
267
268 2008-06-03  Sergio Villar Senin  <svillar@igalia.com>
269
270         * camel/providers/pop3/camel-pop3-store.c (connect_to_server):
271         fixed a crash when there is a connection problem related to TLS
272
273 2008-06-03  Jose Dapena Paz  <jdapena@igalia.com>
274
275         * libtinymail/tny-msg.[ch]:
276         New virtual methods get/set allow external images, to store
277         user acceptation to allow mail client to fetch external images
278         referenced in a message.
279
280         * libtinymail-camel/tny-camel-msg.[ch]:
281         Implement new public methods get/set allow external images
282         available in TnyMsg interface. It uses TnyCamelFolder for
283         implementation of storage of the flag.
284
285         * libtinymail-camel/tny-camel-folder.c,
286         libtinymail-camel/tny-camel-folder-priv.h:
287         In camel we delegate on folder for storing the "get external
288         images" flag. Then we expose a private method for this, that
289         will be called in TnyMsg public implementation.
290
291         * libtinymail-camel/camel-lite/camel/camel-folder.[ch]:
292         Add new virtual methods (not implemented here) for getting
293         and setting "get external images" flag for each message.
294
295         * libtinymail-camel/camel-lite/camel/camel-data-cache.[ch]:
296         Implementation of storage of "get external images" flag in
297         data cache. It stores a file with extension getimages in the
298         same folder the message contents are retrieved.
299
300         * libtinymail-camel/camel-lite/camel/providers/nntp/camel-nntp-folder.c:
301         Implement get/set allow external images methods. It stores
302         it in the camel data cache using the methods the cache
303         exposes for this.
304
305         * libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c:
306         Implement get/set allow external images methods. It also uses
307         the data cache as nntp provider.
308
309         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c:
310         Implement get/set allow external images methods. It relies on
311         proper implementation in imap messages cache.
312
313         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.[ch]:
314         Add storage of allow external images flag. It saves an empty
315         file with extension getimages per allowed file (similar to
316         is partial flag approach).
317
318         * libtinymail-camel/camel-lite/camel/providers/local/camel-maildir-folder.c:
319         Implement get/set allow external images methods. It stores
320         an empty file for each message in the folder maildir metadata
321         directory (the one on top of cur, new and tmp).
322
323 2008-05-26  Philip Van Hoof <philip@codeminded.be>
324
325         * Bugfix when fetching parts and messages
326         * Fixed various copyright note issues
327
328 2008-05-21  Philip Van Hoof <philip@codeminded.be>
329
330         * Help piece of shit IMAP servers that don't do SEARCH correctly, like
331         AOL's IMAP server May 2008, by asking for the same thing using UID
332         FETCH.
333
334 2008-05-21  Philip Van Hoof <philip@codeminded.be>
335
336         * Writing in chunks of 64 bytes
337         * Timeout per chunk is 15 seconds
338
339 2008-05-20  Philip Van Hoof <philip@codeminded.be>
340
341         * Fixed a fallback envelope fetch, don't do the clear on the summary.
342         Instead mark all as expunged
343
344 2008-05-20  Jose Dapena Paz  <jdapena@igalia.com>
345
346         * libtinymail-camel/camel-lite/camel/camel-stream-filter.c:
347         (do_write): if the camel_stream_write call does not write the
348          full buffer but it's not due to an error, then loop to go on
349          writing the stream.
350
351 2008-05-20  Philip Van Hoof <philip@codeminded.be>
352
353         * Differentiate between auto-cancellable and normally cancellable
354         items in TnyCamelQueue
355
356 2008-05-16  Philip Van Hoof <philip@codeminded.be>
357
358         * Fixed size reporting in POP, regression fix it seems
359
360 2008-05-14  Jose Dapena Paz  <jdapena@igalia.com>
361
362         * Use GOnce registering all types in tinymail to make
363         registering thread-safe.
364
365 2008-05-14  Philip Van Hoof <philip@codeminded.be>
366
367         * libtinymail-camel/tny-camel-queue.c: Letting the thread wait for
368         more items instead of exiting
369
370 2008-05-13  Rob Taylor  <rob.taylor@codethink.co.uk>
371
372         * libtinymail-camel/tny-camel-bs-mime-part.c:
373         (tny_camel_bs_mime_part_is_attachment_default): Modify the
374         is_attachment heuristic in TnyCamelBSMimePart so that inline mime
375         parts with filenames are considered attachments.
376
377 2008-05-12  Rob Taylor  <rob.taylor@codethink.co.uk>
378
379         * configure.ac: Add --with-platform option 'none'.
380         * bindings/python/Makefile.am: Fix up python bindings to work when built with no platform.
381         * bindings/dotnet/Makefile.am: Don't build platform subdir if platform is none.
382         * tests/vala-demo/Makefile.am: Fix up vala demo to use PLATFORM_LIBS for consistency.
383
384 2008-05-12  Rob Taylor  <rob.taylor@codethink.co.uk>
385
386         * libtinymail/tny-error.c: Fix documentation
387
388 2008-05-12  Rob Taylor  <rob.taylor@codethink.co.uk>
389
390         * m4/ticonv.m4: Add --with-iconv-detect-h option to allow the passing
391         of a pre-generated iconv-detect.h rather than generating it at
392         configure time.
393
394 2008-05-12  Rob Taylor  <rob.taylor@codethink.co.uk>
395
396         * libtinymail-camel/tny-camel-bs-msg-receive-strategy.c:
397         * libtinymail-camel/tny-camel-folder.c:
398         * libtinymail-camel/tny-camel-nntp-folder.c:
399         * libtinymail-camel/tny-camel-mime-part.c:
400         * libtinymail-camel/tny-camel-send-queue.c:
401         * libtinymail-camel/tny-camel-pop-store-account.c:
402         * libtinymail-camel/tny-camel-pop-folder.c:
403         * libtinymail-camel/tny-camel-common.c:
404         * libtinymail-camel/tny-camel-nntp-store-account.c:
405         * libtinymail-camel/tny-camel-store-account.c:
406         * libtinymail-camel/tny-camel-transport-account.c:
407         * libtinymail-camel/tny-camel-account.c:
408         * libtinymail/tny-error.c:
409         * libtinymail/tny-error.h:
410         * libtinymail/tny-merge-folder.c: Fix tinymail's GError usage. Use an
411         actual GQuark for the domain, have one domain for tinymail as a whole.
412         Removes the pointless GType for the error.
413
414 2008-05-12  Sergio Villar Senin  <svillar@igalia.com>
415
416         * libtinymail-camel/tny-camel-send-queue.c: Add camel folder reason to
417         sentbox and outbox while sending, as we can get unreasons and have
418         then crash because the message cache is freed. (Based on a previous
419         patch by Dape)
420
421 2008-05-09  Jose Dapena Paz  <jdapena@igalia.com>
422
423         * libtinymail-camel/tny-camel-folder.c:
424           Add some reasons/unreasons in get_headers_operation, to avoid
425           getting a 0 account when we are replacing the headers in the
426           gtk list store model. This should avoid some very hidden
427           crashes.
428
429 2008-05-06  Jose Dapena Paz  <jdapena@igalia.com>
430
431         * libtinymail-camel/camel-lite/camel/camel-certdb-cst.c
432         Fix some leaks in CST certificate manager support.
433
434         * libtinymail-camel/tny-camel-folder.c:
435         Reason the camel folder while we're getting its size and count,
436         avoiding some crashes.
437
438         * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c:
439         Protect PR_Reads and writes to avoid calls to PR_Close before one of
440         them. Should avoid some crashes and bad memory accesses.
441
442         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.[ch]:
443         Now references to current_folder, old_folder and last_folder
444         are weak references. This way, when they're finalized we
445         properly remove the store reference to them.
446         Removed some small leaks and compilation warnings.
447
448         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store-priv.h:
449         Added. Includes internal declarations of weak reference handlers
450         for folders in the imap store.
451
452         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-command.c,
453         libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c:
454         Use weak references to folders in accesses to store.
455
456 2008-04-30  Philip Van Hoof <philip@codeminded.be>
457
458         * Enlarged a lock for the transport-account in camel
459
460 2008-04-30  Sergio Villar Senin  <svillar@igalia.com>
461
462         * libtinymail-camel/tny-camel-send-queue.c:
463         (on_added): place correctly two swapped parameters when calling the
464         user callback
465
466 2008-04-29  Philip Van Hoof <philip@codeminded.be>
467
468         * Extra robustness in TnyCamelSendQueue
469
470 2008-04-29  Jose Dapena Paz  <jdapena@igalia.com>
471
472         * libtinymail-camel/camel-lite/camel/camel-folder.c
473         (transfer_message_to): preserve flags on transferring the message to
474         a new folder.
475
476         * libtinymail-camel/camel-lite/camel/camel-folder-summary.h:
477         add some comments to flags enumeration to remember that it should be
478         kept sync with flags masks.
479
480 2008-04-28  Jose Dapena Paz  <jdapena@igalia.com>, Sergio Villar Senin <svillar@igalia.com>
481
482         * libtinymail/tny-folder.[ch]: new method find_msg_async. This makes find_msg synchronous
483         version be deprecated now.
484
485         * libtinymail-camel/tny-camel-folder.[ch],
486         libtinymail/tny-merge-folder.[ch]:
487         Added implementations of find_msg_async method.
488
489 2008-04-25  Philip Van Hoof <philip@codeminded.be>
490
491         * Error reporting when sending a message without From, and a crash-fix
492         about it too
493         * Added tny_camel_transport_account_get_from and
494         tny_camel_transport_account_set_from
495
496         * This was a minor API change
497
498 2008-04-24  Philip Van Hoof <philip@codeminded.be>
499
500         * Removed all synchronous API usage in TnyCamelSendQueue
501
502 2008-04-24  Sergio Villar Senin  <svillar@igalia.com>
503
504         * libtinymail/tny-merge-folder.c:
505         (tny_merge_folder_update): keep the original value for
506         check_duplicates that comes from the TnyFolderChange that comes from
507         a child folder
508
509 2008-04-23  José Dapena Paz  <jdapena@igalia.com>
510
511         * libtinymail-camel/tny-camel-mime-part.c:
512           (tny_camel_mime_part_is_attachment_default): consider as
513           attachments parts that have filename= in disposition even
514           if they're "inline".
515
516 2008-04-23  Philip Van Hoof <philip@codeminded.be>
517
518         * Reference count fix in TnyCamelSendQueue
519
520 2008-04-23  Jürg Billeter  <j@bitron.ch>
521
522         * Update Vala bindings and demo app
523
524 2008-04-22  Philip Van Hoof <philip@codeminded.be>
525
526         * tny_camel_account_add_option changed !!
527         * tny_camel_account_clear_options added
528         * tny_camel_account_get_options added
529         * Support for value-less cameloptions
530
531         * This was a major API change in libtinymail-camel
532
533 2008-04-20  Philip Van Hoof <philip@codeminded.be>
534
535         * These problems got highlighted during pre-release 0.0.9
536         * Build environment improvements
537         * Added --enable-debug=yes (default is no),
538         adds -g -ggdb -O0 -DDEBUG -DDBC to the CFLAGS
539         * Added --enable-deprecated=no (default is yes),
540         adds -DTNY_DISABLE_DEPRECATED to the CFLAGS
541         * Removed all %-names in the Makefile.am files since these are a GNU
542         make ism. There are a few remaining GNU make isms like $(subst ...)
543         and $(addsuffix ...) who are to be removed / replaced soon
544         * Added deprecation marker to gtk-doc-scan's command line
545         * Attempt at fixing TnyHeader's documentation
546
547 2008-04-18  Jose Dapena Paz  <jose@gondomar.wired.citic.igalia.com>
548
549         * libtinymail-maemo/tny-maemo-conic-device.c: add a simple hack to
550         detect when we cancel the connection dialog (and then report this
551         properly).
552
553 2008-04-18  Philip Van Hoof <philip@codeminded.be>
554
555         * Removed unnecessary old code rot in TnyCamelSendQueue that might
556         cause a deathlock
557         * Decprecated tny_send_queue_add, use tny_send_queue_add_async
558         * Pre-release 0.0.9 preparations
559
560 2008-04-17  Philip Van Hoof <philip@codeminded.be>
561
562         * Corrections to reference handling for TnyCamelSendQueue
563         * Removed a tny_folder_get_headers (deprecated API)
564
565 2008-04-16  José Dapena Paz  <jdapena@igalia.com>
566
567         * libtinymail-camel/tny-camel-mime-part.c
568         (tny_camel_get_decoded_stream_default): now we detect errors getting
569         the decoded stream from camel.
570         * libtinymail-gnomevfs/tny-vfs-stream.c (tny_vfs_stream_read):
571         return -1 if there was an error reading from the vfs stream.
572
573 2008-04-15  Philip Van Hoof <philip@codeminded.be>
574
575         * Fixed alerts when get-msg-async takes place to have their account
576         not set to NULL
577         * Moved the POP's get-msg-qasync queue to its normal interactive queue
578         * Various bugfixes
579
580 2008-04-14  Philip Van Hoof <philip@codeminded.be>
581
582         * Weak referenced folders in the folder-factor methods
583         * Handling uncaching the password during account finalization
584         * mlock-ing the password memory of accounts
585         * Uncaching of the folder-list in case of tree-changing operations
586         * Experimentally nuked the caching of services ...
587
588 2008-04-11  Philip Van Hoof <philip@codeminded.be>
589
590         * Fixed a bug in case LIST and LSUB are not in agreement
591         * Marking certain symbols as deprecated
592
593 2008-04-10  Philip Van Hoof <philip@codeminded.be>
594
595         * Fixed a glitch in Jose Dapena Paz's patch of yesterday
596         * Added API documentation about cancelling
597         * Bugfix in folder listing
598
599 2008-04-09  Jose Dapena Paz  <jdapena@igalia.com>
600
601         * Added libtinymail-camel/camel-lite/camel/camel-certdb-cst.c.
602         Implementation of certificates database using maemo libcst. This
603         makes you can manage certificates using the maemo tablet certificate
604         manager.
605
606         * libtinymail-camel/camel-lite/camel/camel-certdb.h,
607         libtinymail-camel/camel-lite/camel/camel-private.h: modified to
608         have a pointer to the CST object in certdb and certificate id in
609         certificate object in case we compile with CST support.
610
611         * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c:
612         Modified a bit the code for proper integration with cst (mainly
613         removing direct access to internal fields).
614
615         * libtinymail-camel/camel-lite/configure.ac,
616         libtinymail-camel/camel-lite/camel/Makefile.am:
617         Added support for detection and configuration of libcst.
618
619 2008-04-07 Dirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
620         * libtinymail-camel:
621                 - fix some compiler warnings (return in void functions)
622                 - move declarations to start of block
623                 - fix CAMEL_POP3_CAP_LOGIN_DELAY (copy-paste bug where to
624                 enum items had same value)
625                 - some g_error => g_warning
626                 - DELE %u => DELE %s
627
628 2008-04-07  Sergio Villar Senin  <svillar@igalia.com>
629
630         * libtinymail-camel/tny-camel-common.c
631         (_string_to_camel_inet_addr): fixes an small memory issue when the
632         email address starts with an "<"
633         * libtinymail/tny-merge-folder.c
634         (tny_merge_folder_get_id): fixed a reference leak
635
636 2008-04-07  Philip Van Hoof <philip@codeminded.be>
637
638         * Refcount problem in async contexts
639         * Fixing the actual problem, too
640
641 2008-04-03  Philip Van Hoof <philip@codeminded.be>
642
643         * Merged patch for upstream camel-lite bug #257361
644         * Bugfix for ticket #76
645         * Added some robustness code
646
647 2008-04-02  Jose Dapena Paz  <jdapena@igalia.com>
648
649         * Respect better the attachment flag headers also in POP (equivalent
650         to previous change in imap.
651
652 2008-04-02  Philip Van Hoof <philip@codeminded.be>
653
654         * Added a name file, just like the url_string file, to each account
655         * Moved the sendqueue's outbox and sentbox under a sendqueue subdir
656
657 2008-04-01  Philip Van Hoof <philip@codeminded.be>
658
659         * Storing certificate fingerprints in cache_dir
660         * Writing a file called url_string in the account's cache dir, to make
661         it more easy for searchers and meta indexers to identify this account
662         * Status reporting fix for POP accounts
663         * Merging with camel upstream
664
665 2008-03-31  Philip Van Hoof <philip@codeminded.be>
666
667         * Creating the POP account's cache dir when/if removed
668
669 2008-03-28  Philip Van Hoof <philip@codeminded.be>
670
671         * Cleaning up cache when canceling a POP message download
672
673 2008-03-27  Philip Van Hoof <philip@codeminded.be>
674
675         * Support for Importance header
676
677 2008-03-26  Philip Van Hoof <philip@codeminded.be>
678
679         * Fixed several problems like documentation problems in Jose's patch
680         * Review of Jose's patch
681         * Fixed several insignificant smaller robustness problems
682         * Fixed a major leak
683         * Fixed a regression due to a performance fix when moving and renaming
684         Maildir folders
685
686 2008-03-26  Jose Dapena Paz  <jdapena@igalia.com>
687
688         * Replace old tny_header_get_ api for strings with
689         tny_header_dup_ api. This should be a bit better for
690         being thread safe. Also modified code using this. The
691         goal is being able to do the string copy in a lock.
692
693         * Now moving a folder copies all the cached messages,
694         but not the summaries, to avoid crashes trying to
695         reuse the old summary.
696
697         This is a major API change.
698
699 2008-03-25  Alberto Garcia Gonzalez <agarcia@igalia.com>
700
701         * libtinymail-gnomevfs/tny-vfs-stream.c:
702         (tny_vfs_reset): Set priv->position to 0 after a successful reset
703
704 2008-03-25  Philip Van Hoof <philip@codeminded.be>
705
706         * Replaced a GByteArray with a EByteArray
707
708 2008-03-24  Philip Van Hoof <philip@codeminded.be>
709
710         * Rewrote tny_camel_folder_remove_msgs_default
711         * Added tny_folder_remove_msgs_async
712         * Death-lock bugfix when canceling the sendqueue
713
714         * This was a minor API change
715
716 2008-03-20  Philip Van Hoof <philip@codeminded.be>
717
718         * Implementation of a connect() that will timeout within 15 seconds
719         for the non-SSL connection types. Experimental.
720
721 2008-03-19  Philip Van Hoof <philip@codeminded.be>
722
723         * Fast message moves when source and dest folder are both Maildir
724
725 2008-03-19  Philip Van Hoof <philip@codeminded.be>
726
727         * Bugfix when sending large E-mails to GMail's SMTP service
728         * When a large mail is being sent, it takes a long time to move it
729         from Outbox to Sentbox. If during that time a flush() is requested on
730         the TnySendQueue, then it's possible that the message gets send twice.
731         To avoid this, we mark the message as TNY_HEADER_FLAG_ANSWERED
732
733 2008-03-18  Sergio Villar Senin  <svillar@igalia.com>
734
735         * Small bugfix in libtinymail-maemo
736
737 2008-03-18  Philip Van Hoof <philip@codeminded.be>
738
739         * Non-initialization of a variable caused memory corruption on the
740         stack
741         * Fixed race condition in case re-selecting the same folder
742
743 2008-03-17  Sergio Villar Senin  <svillar@igalia.com>
744
745         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c:
746         fixed an small memory leak and set the proper error code when a
747         get_msg fails due to full memory conditions in the local storage.
748         * libtinymail-camel/camel-lite/camel/camel-folder-summary.c: improved
749         error notification when there are problems in the local storage
750
751 2008-03-17  Philip Van Hoof <philip@codeminded.be>
752
753         * Made tny_folder_transfer_msgs_async cancellable
754
755 2008-03-17  Jose Dapena Paz  <jdapena@igalia.com>
756
757         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
758         (message_from_data): don't free the message before evaluating
759         headers. Also take into account the case we get ms has attachments but
760         we don't have priority flag, for avoiding using heuristics.
761
762 2008-03-16  Philip Van Hoof <philip@codeminded.be>
763
764         * Added extra insurance that an INBOX folder will be present
765
766 2008-03-13  Philip Van Hoof <philip@codeminded.be>
767
768         * IMAP provider: bugfix when asking for a list of folders that has no
769         subfolders, on Cyrus.
770
771 2008-03-12  Jose Dapena Paz  <jdapena@igalia.com>
772
773         * libtinymail-gnome-desktop/tny-gnome-device.c:
774         (tny_gnome_device_is_online) if we try to get the network
775         state and find that the network manager context is invalid,
776         we shutdown it AND after this we nullify the context
777         reference.
778
779 2008-03-12  Alberto Garcia Gonzalez <agarcia@igalia.com>
780
781         * Reverted the "Leave on disk, MIME parsing" patch, as it's
782         causing serious problems.
783
784 2008-03-11  Jose Dapena Paz  <jdapena@igalia.com>
785
786         * libtinymail-camel/tny-camel-folder.c:
787         Now poke_status only tries to do the job if folder is
788         connected/active. Should prevent getting lots of attempts to
789         connect in queue that have to be finished later.
790
791 2008-03-07  Jose Dapena Paz  <jdapena@igalia.com>
792
793         * tests/c-demo/tny-demoui-summary-view.c:
794         Added a simple syntax to provide different parent folders
795         in rename/copy operation. Now you can provide
796         paths as "/newfolder", "../another-parent/folder", etc.
797
798 2008-03-06  Alberto Garcia Gonzalez <agarcia@igalia.com>
799
800         * tinymail/libtinymail-camel/tny-camel-mem-stream.h
801         * tinymail/libtinymail-camel/tny-camel-mem-stream.c:
802         Added tny_camel_mem_stream_new_with_buffer()
803
804 2008-03-06  Philip Van Hoof <philip@codeminded.be>
805
806         * Experimental improvement in locking in the POP3 provider
807         * Bugfix when canceling POP summary retrieval
808
809 2008-03-06  Alberto Garcia Gonzalez <agarcia@igalia.com>
810
811         * debian/libtinymail-camel-1.0-0.install
812         * debian/libtinymail-camel-1.0-0-dev.install:
813         Install libcamel-lite
814
815 2008-03-05  Philip Van Hoof <philip@codeminded.be>
816
817         * Experimental improvement in locking
818
819 2008-03-05  Jose Dapena Paz  <jdapena@igalia.com>
820
821         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
822         (connect_to_server): we don't abort connection attempt if we get
823         LOGINDISABLED but we have secure auth methods in capabilities.
824
825 2008-03-05  Philip Van Hoof <philip@codeminded.be>
826
827         * Check-for-duplicates in TnyFolderObserver and TnyFolderMonitor
828         * Introduction of tny_gtk_header_list_model_set_no_duplicates
829         * Introduction of tny_gtk_header_list_model_get_no_duplicates for
830         completeness of language bindings who'll make getters/setters from
831         this.
832
833         * This was a minor API change
834
835 2008-03-04  Philip Van Hoof <philip@codeminded.be>
836
837         * Leave on disk, MIME parsing. Highly experimental
838
839 2008-03-04  Jose Dapena Paz  <jdapena@igalia.com>
840
841         * libtinymail-camel/tny-camel-mime-part.c:
842         Now, when we get the parts of a mime part that's a message,
843         we check if any part has an attachment content disposition,
844         and update the attachments flag properly.
845         * Moved bodystructure parser to camel, so that we
846         can use it there.
847         * libtinymail-camel/camel-lite/bs/bodystruct.c:
848         Added missing if, to avoid fetching the header badly (and
849         causing coredumps) for bodystructure strings not
850         including BODYSTRUCTURE prefix.
851
852 2008-03-04  Philip Van Hoof <philip@codeminded.be>
853
854         * Attempt at making mime parsing use the seekable capability of
855         streams instead of copying them in memory. This is experimental!
856
857 2008-03-04  Philip Van Hoof <philip@codeminded.be>
858
859         * Introduction of TnySeekable
860         * This is experimental
861
862 2008-03-03  Philip Van Hoof <philip@codeminded.be>
863
864         * Smaller bug fixes in the build
865         * filename= encoding fixes
866
867 2008-03-03  Alberto Garcia Gonzalez <agarcia@igalia.com>
868
869         * debian/libtinymail-camel-1.0-0.install
870         * debian/libtinymail-camel-1.0-0-dev.install:
871         Removed obsolete libraries
872
873 2008-03-01  Philip Van Hoof <philip@codeminded.be>
874
875         * Fixes in the POP code for POP servers that return invalid CAPA
876         responses (like pop.sina.com)
877         * Experimental reduction of libraries (camel-lite merged with
878         camel-lite-providers)
879
880 2008-02-28  Jose Dapena Paz  <jdapena@igalia.com>
881
882         * libtinymail-camel/tny-camel-account.c:
883         (tny_camel_account_set_pass_func_default) reactivate the account
884         always, even when we're setting the same pass func again.
885
886 2008-02-27  Jose Dapena Paz  <jdapena@igalia.com>
887
888         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
889         Now we regenerate the addrinfo on each call to connect_to_server_wrapper.
890
891 2008-02-21  Jose Dapena Paz  <jdapena@igalia.com>
892
893         * libtinymail-camel/tny-camel-mime-part.c:
894         Do not lose the filename of the attachment disposition in
895         case we set it as purged.
896
897         * libtinymail-camel/tny-camel-send-queue-priv.h,
898         libtinymail-camel/tny-camel-send-queue.c:
899         Now we don't send the run-queue-stop signal until
900         we've processed all sent signals.
901
902         * libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c:
903         Added a missing else that could cause freeing some summary info entries
904         when they shouldn't
905
906         * libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c:
907         (pop3_get_message). Now it works even if no exception parameter is passed.
908
909 2008-02-20  Philip Van Hoof <philip@codeminded.be>
910
911         * Improvement for cancel's their reconnection
912
913 2008-02-18  Philip Van Hoof <philip@codeminded.be>
914
915         * Make distcheck for the .NET bindings (finally)
916
917 2008-02-16  Philip Van Hoof <philip@codeminded.be>
918
919         * NAMESPACE vs. LIST separator for mail.h-farm.it
920         * Get-Message cancels
921         * Various smaller bugfixes
922
923 2008-02-15  Philip Van Hoof <philip@codeminded.be>
924
925         * Merged Alberto's cancel patch of yesterday with some minor
926         corrections and committed the patch
927
928 2008-02-14  Alberto Garcia Gonzalez <agarcia@igalia.com>
929
930         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.[ch]:
931         Added new attribute: cancel_occurred
932         (imap_update_summary): Set cancel_occurred to TRUE when the
933         operation is cancelled by the user.
934         (camel_imap_folder_selected): Don't try to refresh the folder
935         again if a cancel has happened.
936
937 2008-02-12  Alberto Garcia Gonzalez <agarcia@igalia.com>
938
939         * libtinymailui-gtk/tny-gtk-text-buffer-stream.c:
940         Write only full UTF-8 characters into the GtkTextBuffer. If an
941         input buffer contains incomplete UTF-8 chars, save those bytes and
942         write them with the following buffer.
943
944 2008-02-11  Alberto Garcia Gonzalez <agarcia@igalia.com>
945
946         * libtinymail-gnomevfs/tny-vfs-stream.c:
947         (tny_vfs_reset): Return 0 on success
948
949 2008-02-09  Philip Van Hoof <philip@codeminded.be>
950
951         * Crash when the IMAP server doesn't support namespaces
952         * GLib Signal leakage in TnyGtkFolderStoreTreeModel
953         * Various smaller fixes and code improvements
954         * Has-attachment status detection improvement
955         * Added a tny_mime_part_get_decoded_stream API
956
957         * This was a minor API change
958
959 2008-02-05  Philip Van Hoof <philip@codeminded.be>
960
961         * Making the DotNet bindings actually work
962         * Added a demoui written in C#
963
964 2008-02-05  Jose Dapena Paz  <jdapena@igalia.com>
965
966         * libtinymail-camel/camel-lite/camel/camel.[ch]:
967         Make camel_shutdown method be public, for the cases we cannot
968         rely on g_atexit.
969         * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c:
970         Modified method to calculate the fingerprint of a certificate.
971         Now we use Mozilla NSS api for this as the old method was not
972         reliable in some cases.
973
974 2008-02-03  Philip Van Hoof <philip@codeminded.be>
975
976         * Crashfix when retrieving a large message while expunging it from
977         another E-mail client
978         * Added tny_mime_part_set_transfer_encoding
979         * Temporary solution for large E-mails
980         * Limiting abusive mails with +3000 to, from, bcc or cc addresses to
981         3000
982
983         * This was a minor API change
984
985 2008-01-30  Sergio Villar Senin  <svillar@igalia.com>
986
987         * libtinymail-camel/camel-lite/camel/providers/local/camel-maildir-summary.c
988         (camel_maildir_get_filename): fixed the message read from a maildir
989         folder, do not take into account the message flags to read the message
990
991 2008-01-30  Vivek Sekar  <viveksekar@gmail.com>
992         * Cleaned up the debian/control.maemo-chinook and
993         debian/control.maemo-diablo files.
994
995 2008-01-30  Philip Van Hoof <philip@codeminded.be>
996
997         * Implemented DotNet bindings
998
999 2008-01-29  Sergio Villar Senin  <svillar@igalia.com>
1000         * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
1001         libtinymail-camel/camel-lite/camel/camel-store-summary.c:
1002         Added the proper error codes when there is no enough space left on
1003         devices
1004
1005 2008-01-29  Philip Van Hoof <philip@codeminded.be>
1006
1007         * Fixed reference counting for all TnyIterator implementations
1008
1009 2008-01-28  Philip Van Hoof <philip@codeminded.be>
1010
1011         * Removed the _func from all the interfaces and virtual function
1012         pointers in the classes. This should not be an ABI but is an API
1013         change.
1014
1015         * This was a major API change
1016
1017 2008-01-28  Philip Van Hoof <philip@codeminded.be>
1018
1019         * Added skeleton for unfinished DotNet bindings. This wont work yet,
1020         it seems gapi2 is generating a few *Implementor types incorrectly.
1021
1022 2008-01-27  Philip Van Hoof <philip@codeminded.be>
1023
1024         * Various code improvements
1025         * Merged camel-lite with upstream camel revision 8428
1026
1027 2008-01-26  Philip Van Hoof <philip@codeminded.be>
1028
1029         * Experimental expunge handling. Less expunging from the local
1030         summary will be needed, as we'll more carefully calculate which of the
1031         sequence vs. uids got removed. Please keep an eye on this one and
1032         revert in needed. This commit should reduce the "Expunged" labels that
1033         you might have been seeing in tny E-mail clients too.
1034
1035 2008-01-26  Philip Van Hoof <philip@codeminded.be>
1036
1037         * Workaround for a known problem that ain't easy to solve right now:
1038         expunged headers stay around for too long. When this is detected, a
1039         dummy header is returned (with as flags TNY_HEADER_FLAG_EXPUNGED)
1040         * Finished Sergio's API change
1041
1042         * This was a major API change
1043
1044 2008-01-25  Philip Van Hoof <philip@codeminded.be>
1045
1046         * Some IMAP servers don't instantly update sessions that where not in
1047         IDLE when in monitoring service IDLE received an EXISTS. Tinymail
1048         received that EXISTS, does a SEARCH to get the new UIDs, fetches the
1049         envelope information and displays it to the user. If the user had
1050         already received message recently, it will keep that message-receive
1051         socket running (cached) for some time (optimalization). The IMAP
1052         servers don't always bring that other session up-to-date about the new
1053         information acquired in the first session in IDLE. For example GMail's
1054         IMAP server and Exchange seem to not update the not-in-IDLE session.
1055
1056         This commit changed the behaviour in two ways: the get-message service
1057         is early-killed in case an EXISTS line arrives in the in-IDLE session,
1058         each message-fetch request in the get-message service is prepended
1059         with a NOOP (some IMAP servers will sync the session upon NOOP).
1060
1061         Obviously, this is experimental behaviour. Please test this a lot!
1062
1063 2008-01-23  Sergio Villar Senin  <svillar@igalia.com>
1064
1065         * libtinymail/tny-send-queue.c
1066         libtinymail-camel/tny-camel-send-queue.c
1067         libtinymail-camel/tny-camel-send-queue.h
1068         (tny_send_queue_add_async): added this method that was available in
1069         the Camel implementation to the interface
1070         (create_worker)
1071         (thread_main): added the "queue-start" and "queue-stop" signals that
1072         are emitted before and after the queue processes the messages
1073
1074         * This was a major API change
1075
1076 2008-01-22  Philip Van Hoof <philip@codeminded.be>
1077
1078         * Added support for GtkHTML in libtinymailui-gtkhtml. This is highly
1079         experimental and unfinished at this moment
1080         * Fixed several compiler warnings, and cleaned up some code
1081
1082         * This was a minor API change
1083
1084 2008-01-21 Dirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
1085
1086         * fix freeing uninitialized data in camel-imap-folder.c
1087
1088 2008-01-21  Sergio Villar Senin  <svillar@igalia.com>
1089
1090         * libtinymail/tny-send-queue.c
1091         libtinymail/tny-send-queue.h
1092         libtinymail-camel/tny-camel-send-queue.c
1093         libtinymail-camel/tny-camel-send-queue.c:
1094         (tny_send_queue_cancel): API change, now the cancel method receives a
1095         flag specifying the action that should be performed on cancelations,
1096         to remove the messages or just to suspend them
1097         (thread_main): make the tny_transport_account_send cancellable
1098
1099 2008-01-20  Philip Van Hoof <philip@codeminded.be>
1100
1101         * Refactoring of all error reporting situations, errors and handling
1102         of connection failures, reconnecting and getting messages in case of a
1103         previous connection failure.
1104         * Several bugfixes related to connection failures
1105         * Several bugfixes related to connection problems when fetching
1106         messages
1107         * POP and IMAP now behave the same in case of connection problems
1108         while fetching