/archivers/php55-phar/

oc2013-evolution Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/.cvsignore13
-rw-r--r--camel/CODING.STYLE19
-rw-r--r--camel/ChangeLog1488
-rw-r--r--camel/ChangeLog.pre-1-422083
-rw-r--r--camel/Makefile.am296
-rw-r--r--camel/README54
-rw-r--r--camel/README.COPYRIGHT46
-rw-r--r--camel/README.HACKING14
-rw-r--r--camel/README.mt171
-rw-r--r--camel/broken-date-parser.c532
-rw-r--r--camel/broken-date-parser.h33
-rw-r--r--camel/camel-address.c240
-rw-r--r--camel/camel-address.h79
-rw-r--r--camel/camel-arg.c130
-rw-r--r--camel/camel-arg.h119
-rw-r--r--camel/camel-block-file.c1181
-rw-r--r--camel/camel-block-file.h144
-rw-r--r--camel/camel-certdb.c665
-rw-r--r--camel/camel-certdb.h154
-rw-r--r--camel/camel-charset-map-private.h621
-rw-r--r--camel/camel-charset-map.c352
-rw-r--r--camel/camel-charset-map.h51
-rw-r--r--camel/camel-cipher-context.c585
-rw-r--r--camel/camel-cipher-context.h174
-rw-r--r--camel/camel-data-cache.c421
-rw-r--r--camel/camel-data-cache.h98
-rw-r--r--camel/camel-data-wrapper.c389
-rw-r--r--camel/camel-data-wrapper.h105
-rw-r--r--camel/camel-digest-folder.c396
-rw-r--r--camel/camel-digest-folder.h52
-rw-r--r--camel/camel-digest-store.c203
-rw-r--r--camel/camel-digest-store.h59
-rw-r--r--camel/camel-digest-summary.c90
-rw-r--r--camel/camel-digest-summary.h62
-rw-r--r--camel/camel-disco-diary.c436
-rw-r--r--camel/camel-disco-diary.h98
-rw-r--r--camel/camel-disco-folder.c399
-rw-r--r--camel/camel-disco-folder.h121
-rw-r--r--camel/camel-disco-store.c373
-rw-r--r--camel/camel-disco-store.h125
-rw-r--r--camel/camel-exception-list.def37
-rw-r--r--camel/camel-exception.c306
-rw-r--r--camel/camel-exception.h87
-rw-r--r--camel/camel-file-utils.c546
-rw-r--r--camel/camel-file-utils.h63
-rw-r--r--camel/camel-filter-driver.c1473
-rw-r--r--camel/camel-filter-driver.h119
-rw-r--r--camel/camel-filter-search.c703
-rw-r--r--camel/camel-filter-search.h54
-rw-r--r--camel/camel-folder-search.c1174
-rw-r--r--camel/camel-folder-search.h133
-rw-r--r--camel/camel-folder-summary.c2831
-rw-r--r--camel/camel-folder-summary.h350
-rw-r--r--camel/camel-folder-thread.c861
-rw-r--r--camel/camel-folder-thread.h75
-rw-r--r--camel/camel-folder.c2161
-rw-r--r--camel/camel-folder.h348
-rw-r--r--camel/camel-gpg-context.c1794
-rw-r--r--camel/camel-gpg-context.h64
-rw-r--r--camel/camel-html-parser.c807
-rw-r--r--camel/camel-html-parser.h78
-rw-r--r--camel/camel-http-stream.c583
-rw-r--r--camel/camel-http-stream.h105
-rw-r--r--camel/camel-i18n.h62
-rw-r--r--camel/camel-iconv.c646
-rw-r--r--camel/camel-iconv.h50
-rw-r--r--camel/camel-index-control.c213
-rw-r--r--camel/camel-index.c396
-rw-r--r--camel/camel-index.h165
-rw-r--r--camel/camel-internet-address.c551
-rw-r--r--camel/camel-internet-address.h65
-rw-r--r--camel/camel-junk-plugin.c75
-rw-r--r--camel/camel-junk-plugin.h59
-rw-r--r--camel/camel-lock-client.c321
-rw-r--r--camel/camel-lock-client.h41
-rw-r--r--camel/camel-lock-helper.c390
-rw-r--r--camel/camel-lock-helper.h69
-rw-r--r--camel/camel-lock.c425
-rw-r--r--camel/camel-lock.h63
-rw-r--r--camel/camel-medium.c332
-rw-r--r--camel/camel-medium.h97
-rw-r--r--camel/camel-mime-filter-basic.c291
-rw-r--r--camel/camel-mime-filter-basic.h71
-rw-r--r--camel/camel-mime-filter-bestenc.c300
-rw-r--r--camel/camel-mime-filter-bestenc.h101
-rw-r--r--camel/camel-mime-filter-canon.c239
-rw-r--r--camel/camel-mime-filter-canon.h65
-rw-r--r--camel/camel-mime-filter-charset.c277
-rw-r--r--camel/camel-mime-filter-charset.h62
-rw-r--r--camel/camel-mime-filter-crlf.c172
-rw-r--r--camel/camel-mime-filter-crlf.h73
-rw-r--r--camel/camel-mime-filter-enriched.c591
-rw-r--r--camel/camel-mime-filter-enriched.h67
-rw-r--r--camel/camel-mime-filter-from.c217
-rw-r--r--camel/camel-mime-filter-from.h57
-rw-r--r--camel/camel-mime-filter-html.c200
-rw-r--r--camel/camel-mime-filter-html.h57
-rw-r--r--camel/camel-mime-filter-index.c157
-rw-r--r--camel/camel-mime-filter-index.h65
-rw-r--r--camel/camel-mime-filter-linewrap.c147
-rw-r--r--camel/camel-mime-filter-linewrap.h60
-rw-r--r--camel/camel-mime-filter-save.c115
-rw-r--r--camel/camel-mime-filter-save.h61
-rw-r--r--camel/camel-mime-filter-tohtml.c447
-rw-r--r--camel/camel-mime-filter-tohtml.h82
-rw-r--r--camel/camel-mime-filter-windows.c180
-rw-r--r--camel/camel-mime-filter-windows.h65
-rw-r--r--camel/camel-mime-filter.c256
-rw-r--r--camel/camel-mime-filter.h94
-rw-r--r--camel/camel-mime-message.c963
-rw-r--r--camel/camel-mime-message.h140
-rw-r--r--camel/camel-mime-parser.c1982
-rw-r--r--camel/camel-mime-parser.h146
-rw-r--r--camel/camel-mime-part-utils.c137
-rw-r--r--camel/camel-mime-part-utils.h44
-rw-r--r--camel/camel-mime-part.c912
-rw-r--r--camel/camel-mime-part.h115
-rw-r--r--camel/camel-mime-utils.c4346
-rw-r--r--camel/camel-mime-utils.h273
-rw-r--r--camel/camel-movemail.c542
-rw-r--r--camel/camel-movemail.h44
-rw-r--r--camel/camel-multipart-encrypted.c273
-rw-r--r--camel/camel-multipart-encrypted.h83
-rw-r--r--camel/camel-multipart-signed.c763
-rw-r--r--camel/camel-multipart-signed.h108
-rw-r--r--camel/camel-multipart.c589
-rw-r--r--camel/camel-multipart.h104
-rw-r--r--camel/camel-news-address.c65
-rw-r--r--camel/camel-news-address.h56
-rw-r--r--camel/camel-object.c1834
-rw-r--r--camel/camel-object.h290
-rw-r--r--camel/camel-operation.c687
-rw-r--r--camel/camel-operation.h74
-rw-r--r--camel/camel-partition-table.c998
-rw-r--r--camel/camel-partition-table.h152
-rw-r--r--camel/camel-private.h168
-rw-r--r--camel/camel-process.c151
-rw-r--r--camel/camel-process.h44
-rw-r--r--camel/camel-provider.c192
-rw-r--r--camel/camel-provider.h201
-rw-r--r--camel/camel-sasl-anonymous.c152
-rw-r--r--camel/camel-sasl-anonymous.h70
-rw-r--r--camel/camel-sasl-cram-md5.c142
-rw-r--r--camel/camel-sasl-cram-md5.h59
-rw-r--r--camel/camel-sasl-digest-md5.c898
-rw-r--r--camel/camel-sasl-digest-md5.h62
-rw-r--r--camel/camel-sasl-gssapi.c340
-rw-r--r--camel/camel-sasl-gssapi.h64
-rw-r--r--camel/camel-sasl-kerberos4.c224
-rw-r--r--camel/camel-sasl-kerberos4.h62
-rw-r--r--camel/camel-sasl-login.c134
-rw-r--r--camel/camel-sasl-login.h61
-rw-r--r--camel/camel-sasl-ntlm.c706
-rw-r--r--camel/camel-sasl-ntlm.h57
-rw-r--r--camel/camel-sasl-plain.c104
-rw-r--r--camel/camel-sasl-plain.h59
-rw-r--r--camel/camel-sasl-popb4smtp.c151
-rw-r--r--camel/camel-sasl-popb4smtp.h59
-rw-r--r--camel/camel-sasl.c285
-rw-r--r--camel/camel-sasl.h78
-rw-r--r--camel/camel-search-private.c684
-rw-r--r--camel/camel-search-private.h82
-rw-r--r--camel/camel-seekable-stream.c202
-rw-r--r--camel/camel-seekable-stream.h87
-rw-r--r--camel/camel-seekable-substream.c302
-rw-r--r--camel/camel-seekable-substream.h68
-rw-r--r--camel/camel-service.c958
-rw-r--r--camel/camel-service.h155
-rw-r--r--camel/camel-session.c901
-rw-r--r--camel/camel-session.h217
-rw-r--r--camel/camel-smime-context.c1061
-rw-r--r--camel/camel-smime-context.h79
-rw-r--r--camel/camel-store-summary.c928
-rw-r--r--camel/camel-store-summary.h176
-rw-r--r--camel/camel-store.c1228
-rw-r--r--camel/camel-store.h242
-rw-r--r--camel/camel-stream-buffer.c471
-rw-r--r--camel/camel-stream-buffer.h106
-rw-r--r--camel/camel-stream-filter.c406
-rw-r--r--camel/camel-stream-filter.h63
-rw-r--r--camel/camel-stream-fs.c304
-rw-r--r--camel/camel-stream-fs.h74
-rw-r--r--camel/camel-stream-mem.c248
-rw-r--r--camel/camel-stream-mem.h74
-rw-r--r--camel/camel-stream-null.c91
-rw-r--r--camel/camel-stream-null.h57
-rw-r--r--camel/camel-stream-process.c273
-rw-r--r--camel/camel-stream-process.h59
-rw-r--r--camel/camel-stream.c281
-rw-r--r--camel/camel-stream.h90
-rw-r--r--camel/camel-string-utils.c110
-rw-r--r--camel/camel-string-utils.h47
-rw-r--r--camel/camel-tcp-stream-openssl.c954
-rw-r--r--camel/camel-tcp-stream-raw.c562
-rw-r--r--camel/camel-tcp-stream-raw.h64
-rw-r--r--camel/camel-tcp-stream-ssl.c1211
-rw-r--r--camel/camel-tcp-stream-ssl.h75
-rw-r--r--camel/camel-tcp-stream.c249
-rw-r--r--camel/camel-tcp-stream.h140
-rw-r--r--camel/camel-text-index.c1948
-rw-r--r--camel/camel-text-index.h114
-rw-r--r--camel/camel-transport.c141
-rw-r--r--camel/camel-transport.h82
-rw-r--r--camel/camel-types.h83
-rw-r--r--camel/camel-uid-cache.c334
-rw-r--r--camel/camel-uid-cache.h60
-rw-r--r--camel/camel-url-scanner.c450
-rw-r--r--camel/camel-url-scanner.h73
-rw-r--r--camel/camel-url.c584
-rw-r--r--camel/camel-url.h90
-rw-r--r--camel/camel-utf8.c400
-rw-r--r--camel/camel-utf8.h41
-rw-r--r--camel/camel-vee-folder.c1683
-rw-r--r--camel/camel-vee-folder.h84
-rw-r--r--camel/camel-vee-store.c324
-rw-r--r--camel/camel-vee-store.h60
-rw-r--r--camel/camel-vtrash-folder.c209
-rw-r--r--camel/camel-vtrash-folder.h63
-rw-r--r--camel/camel.c115
-rw-r--r--camel/camel.h91
-rw-r--r--camel/devel-docs/camel-index.txt407
-rw-r--r--camel/devel-docs/camel_data_wrapper.diabin3062 -> 0 bytes
-rw-r--r--camel/devel-docs/camel_parser_states.diabin2505 -> 0 bytes
-rw-r--r--camel/devel-docs/camel_stream.diabin2669 -> 0 bytes
-rw-r--r--camel/providers/.cvsignore2
-rw-r--r--camel/providers/Makefile.am12
-rw-r--r--camel/providers/imap/.cvsignore11
-rw-r--r--camel/providers/imap/Makefile.am48
-rw-r--r--camel/providers/imap/camel-imap-command.c822
-rw-r--r--camel/providers/imap/camel-imap-command.h80
-rw-r--r--camel/providers/imap/camel-imap-folder.c2729
-rw-r--r--camel/providers/imap/camel-imap-folder.h90
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c527
-rw-r--r--camel/providers/imap/camel-imap-message-cache.h111
-rw-r--r--camel/providers/imap/camel-imap-private.h76
-rw-r--r--camel/providers/imap/camel-imap-provider.c158
-rw-r--r--camel/providers/imap/camel-imap-search.c499
-rw-r--r--camel/providers/imap/camel-imap-search.h62
-rw-r--r--camel/providers/imap/camel-imap-store-summary.c619
-rw-r--r--camel/providers/imap/camel-imap-store-summary.h102
-rw-r--r--camel/providers/imap/camel-imap-store.c2845
-rw-r--r--camel/providers/imap/camel-imap-store.h148
-rw-r--r--camel/providers/imap/camel-imap-summary.c255
-rw-r--r--camel/providers/imap/camel-imap-summary.h79
-rw-r--r--camel/providers/imap/camel-imap-types.h39
-rw-r--r--camel/providers/imap/camel-imap-utils.c1261
-rw-r--r--camel/providers/imap/camel-imap-utils.h95
-rw-r--r--camel/providers/imap/camel-imap-wrapper.c185
-rw-r--r--camel/providers/imap/camel-imap-wrapper.h70
-rw-r--r--camel/providers/imap/libcamelimap.urls1
-rw-r--r--camel/providers/imapp/.cvsignore11
-rw-r--r--camel/providers/imapp/Makefile.am45
-rw-r--r--camel/providers/imapp/camel-imapp-driver.c771
-rw-r--r--camel/providers/imapp/camel-imapp-driver.h81
-rw-r--r--camel/providers/imapp/camel-imapp-engine.c1180
-rw-r--r--camel/providers/imapp/camel-imapp-engine.h155
-rw-r--r--camel/providers/imapp/camel-imapp-exception.h35
-rw-r--r--camel/providers/imapp/camel-imapp-fetch-stream.c183
-rw-r--r--camel/providers/imapp/camel-imapp-fetch-stream.h47
-rw-r--r--camel/providers/imapp/camel-imapp-folder.c269
-rw-r--r--camel/providers/imapp/camel-imapp-folder.h66
-rw-r--r--camel/providers/imapp/camel-imapp-provider.c97
-rw-r--r--camel/providers/imapp/camel-imapp-store-summary.c616
-rw-r--r--camel/providers/imapp/camel-imapp-store-summary.h102
-rw-r--r--camel/providers/imapp/camel-imapp-store.c1006
-rw-r--r--camel/providers/imapp/camel-imapp-store.h77
-rw-r--r--camel/providers/imapp/camel-imapp-stream.c761
-rw-r--r--camel/providers/imapp/camel-imapp-stream.h90
-rw-r--r--camel/providers/imapp/camel-imapp-summary.c166
-rw-r--r--camel/providers/imapp/camel-imapp-summary.h65
-rw-r--r--camel/providers/imapp/camel-imapp-utils.c1339
-rw-r--r--camel/providers/imapp/camel-imapp-utils.h145
-rw-r--r--camel/providers/imapp/libcamelimapp.urls1
-rw-r--r--camel/providers/local/.cvsignore11
-rw-r--r--camel/providers/local/Makefile.am61
-rw-r--r--camel/providers/local/camel-local-folder.c646
-rw-r--r--camel/providers/local/camel-local-folder.h109
-rw-r--r--camel/providers/local/camel-local-private.h53
-rw-r--r--camel/providers/local/camel-local-provider.c222
-rw-r--r--camel/providers/local/camel-local-store.c442
-rw-r--r--camel/providers/local/camel-local-store.h68
-rw-r--r--camel/providers/local/camel-local-summary.c614
-rw-r--r--camel/providers/local/camel-local-summary.h88
-rw-r--r--camel/providers/local/camel-maildir-folder.c245
-rw-r--r--camel/providers/local/camel-maildir-folder.h58
-rw-r--r--camel/providers/local/camel-maildir-store.c416
-rw-r--r--camel/providers/local/camel-maildir-store.h55
-rw-r--r--camel/providers/local/camel-maildir-summary.c807
-rw-r--r--camel/providers/local/camel-maildir-summary.h84
-rw-r--r--camel/providers/local/camel-mbox-folder.c549
-rw-r--r--camel/providers/local/camel-mbox-folder.h62
-rw-r--r--camel/providers/local/camel-mbox-store.c753
-rw-r--r--camel/providers/local/camel-mbox-store.h58
-rw-r--r--camel/providers/local/camel-mbox-summary.c1029
-rw-r--r--camel/providers/local/camel-mbox-summary.h75
-rw-r--r--camel/providers/local/camel-mh-folder.c231
-rw-r--r--camel/providers/local/camel-mh-folder.h58
-rw-r--r--camel/providers/local/camel-mh-store.c533
-rw-r--r--camel/providers/local/camel-mh-store.h60
-rw-r--r--camel/providers/local/camel-mh-summary.c420
-rw-r--r--camel/providers/local/camel-mh-summary.h53
-rw-r--r--camel/providers/local/camel-spool-folder.c186
-rw-r--r--camel/providers/local/camel-spool-folder.h64
-rw-r--r--camel/providers/local/camel-spool-store.c483
-rw-r--r--camel/providers/local/camel-spool-store.h69
-rw-r--r--camel/providers/local/camel-spool-summary.c344
-rw-r--r--camel/providers/local/camel-spool-summary.h69
-rw-r--r--camel/providers/local/libcamellocal.urls5
-rw-r--r--camel/providers/nntp/.cvsignore12
-rw-r--r--camel/providers/nntp/Makefile.am36
-rw-r--r--camel/providers/nntp/camel-nntp-auth.c92
-rw-r--r--camel/providers/nntp/camel-nntp-auth.h42
-rw-r--r--camel/providers/nntp/camel-nntp-folder.c405
-rw-r--r--camel/providers/nntp/camel-nntp-folder.h72
-rw-r--r--camel/providers/nntp/camel-nntp-grouplist.c219
-rw-r--r--camel/providers/nntp/camel-nntp-grouplist.h48
-rw-r--r--camel/providers/nntp/camel-nntp-newsrc.c651
-rw-r--r--camel/providers/nntp/camel-nntp-newsrc.h34
-rw-r--r--camel/providers/nntp/camel-nntp-private.h64
-rw-r--r--camel/providers/nntp/camel-nntp-provider.c113
-rw-r--r--camel/providers/nntp/camel-nntp-resp-codes.h55
-rw-r--r--camel/providers/nntp/camel-nntp-store.c576
-rw-r--r--camel/providers/nntp/camel-nntp-store.h92
-rw-r--r--camel/providers/nntp/camel-nntp-stream.c462
-rw-r--r--camel/providers/nntp/camel-nntp-stream.h66
-rw-r--r--camel/providers/nntp/camel-nntp-summary.c584
-rw-r--r--camel/providers/nntp/camel-nntp-summary.h67
-rw-r--r--camel/providers/nntp/camel-nntp-types.h33
-rw-r--r--camel/providers/nntp/camel-nntp-utils.c299
-rw-r--r--camel/providers/nntp/camel-nntp-utils.h41
-rw-r--r--camel/providers/nntp/libcamelnntp.urls2
-rw-r--r--camel/providers/nntp/test-newsrc.c10
-rw-r--r--camel/providers/pop3/.cvsignore10
-rw-r--r--camel/providers/pop3/Makefile.am38
-rw-r--r--camel/providers/pop3/camel-pop3-engine.c382
-rw-r--r--camel/providers/pop3/camel-pop3-engine.h134
-rw-r--r--camel/providers/pop3/camel-pop3-folder.c558
-rw-r--r--camel/providers/pop3/camel-pop3-folder.h77
-rw-r--r--camel/providers/pop3/camel-pop3-provider.c108
-rw-r--r--camel/providers/pop3/camel-pop3-store.c657
-rw-r--r--camel/providers/pop3/camel-pop3-store.h79
-rw-r--r--camel/providers/pop3/camel-pop3-stream.c471
-rw-r--r--camel/providers/pop3/camel-pop3-stream.h69
-rw-r--r--camel/providers/pop3/libcamelpop3.urls1
-rw-r--r--camel/providers/sendmail/.cvsignore11
-rw-r--r--camel/providers/sendmail/Makefile.am28
-rw-r--r--camel/providers/sendmail/camel-sendmail-provider.c63
-rw-r--r--camel/providers/sendmail/camel-sendmail-transport.c262
-rw-r--r--camel/providers/sendmail/camel-sendmail-transport.h63
-rw-r--r--camel/providers/sendmail/libcamelsendmail.urls1
-rw-r--r--camel/providers/smtp/.cvsignore10
-rw-r--r--camel/providers/smtp/Makefile.am35
-rw-r--r--camel/providers/smtp/camel-smtp-provider.c65
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c1455
-rw-r--r--camel/providers/smtp/camel-smtp-transport.h89
-rw-r--r--camel/providers/smtp/libcamelsmtp.urls1
-rw-r--r--camel/tests/.cvsignore7
-rw-r--r--camel/tests/Makefile.am3
-rw-r--r--camel/tests/README44
-rw-r--r--camel/tests/data/camel-test.gpg.pub24
-rw-r--r--camel/tests/data/camel-test.gpg.sec33
-rwxr-xr-xcamel/tests/data/gendoc.pl65
-rwxr-xr-xcamel/tests/data/genline.pl72
-rwxr-xr-xcamel/tests/data/getaddr.pl32
-rw-r--r--camel/tests/data/messages/.cvsignore1
-rw-r--r--camel/tests/folder/.cvsignore21
-rw-r--r--camel/tests/folder/Makefile.am28
-rw-r--r--camel/tests/folder/README12
-rw-r--r--camel/tests/folder/test1.c50
-rw-r--r--camel/tests/folder/test10.c103
-rw-r--r--camel/tests/folder/test2.c58
-rw-r--r--camel/tests/folder/test3.c339
-rw-r--r--camel/tests/folder/test4.c53
-rw-r--r--camel/tests/folder/test5.c53
-rw-r--r--camel/tests/folder/test6.c56
-rw-r--r--camel/tests/folder/test7.c55
-rw-r--r--camel/tests/folder/test8.c205
-rw-r--r--camel/tests/folder/test9.c229
-rw-r--r--camel/tests/lib/.cvsignore12
-rw-r--r--camel/tests/lib/Makefile.am22
-rw-r--r--camel/tests/lib/address-data.h93
-rw-r--r--camel/tests/lib/addresses.c54
-rw-r--r--camel/tests/lib/addresses.h5
-rw-r--r--camel/tests/lib/camel-test.c355
-rw-r--r--camel/tests/lib/camel-test.h68
-rw-r--r--camel/tests/lib/folders.c568
-rw-r--r--camel/tests/lib/folders.h20
-rw-r--r--camel/tests/lib/messages.c290
-rw-r--r--camel/tests/lib/messages.h15
-rw-r--r--camel/tests/lib/session.c44
-rw-r--r--camel/tests/lib/session.h19
-rw-r--r--camel/tests/lib/streams.c244
-rw-r--r--camel/tests/lib/streams.h12
-rw-r--r--camel/tests/message/.cvsignore15
-rw-r--r--camel/tests/message/Makefile.am25
-rw-r--r--camel/tests/message/README9
-rw-r--r--camel/tests/message/test1.c201
-rw-r--r--camel/tests/message/test2.c326
-rw-r--r--camel/tests/message/test3.c199
-rw-r--r--camel/tests/message/test4.c129
-rw-r--r--camel/tests/mime-filter/.cvsignore8
-rw-r--r--camel/tests/mime-filter/Makefile.am36
-rw-r--r--camel/tests/mime-filter/charset-gb2312.0.in448
-rw-r--r--camel/tests/mime-filter/charset-gb2312.0.out448
-rw-r--r--camel/tests/mime-filter/charset-iso-2022-jp.0.in5
-rw-r--r--camel/tests/mime-filter/charset-iso-2022-jp.0.out5
-rw-r--r--camel/tests/mime-filter/crlf-1.in19
-rw-r--r--camel/tests/mime-filter/crlf-1.out19
-rw-r--r--camel/tests/mime-filter/data/html.0.in10
-rw-r--r--camel/tests/mime-filter/data/html.0.out10
-rw-r--r--camel/tests/mime-filter/data/html.1.in10
-rw-r--r--camel/tests/mime-filter/data/html.1.out10
-rw-r--r--camel/tests/mime-filter/test-charset.c140
-rw-r--r--camel/tests/mime-filter/test-crlf.c160
-rw-r--r--camel/tests/mime-filter/test-tohtml.c132
-rw-r--r--camel/tests/misc/.cvsignore14
-rw-r--r--camel/tests/misc/Makefile.am27
-rw-r--r--camel/tests/misc/README4
-rw-r--r--camel/tests/misc/split.c113
-rw-r--r--camel/tests/misc/url.c123
-rw-r--r--camel/tests/misc/utf7.c106
-rw-r--r--camel/tests/smime/.cvsignore5
-rw-r--r--camel/tests/smime/Makefile.am24
-rw-r--r--camel/tests/smime/README2
-rw-r--r--camel/tests/smime/pgp-mime.c214
-rw-r--r--camel/tests/smime/pgp.c246
-rw-r--r--camel/tests/smime/pkcs7.c178
-rw-r--r--camel/tests/stream/.cvsignore14
-rw-r--r--camel/tests/stream/Makefile.am25
-rw-r--r--camel/tests/stream/README4
-rw-r--r--camel/tests/stream/test1.c119
-rw-r--r--camel/tests/stream/test2.c53
-rw-r--r--camel/tests/stream/test3.c104
433 files changed, 0 insertions, 140229 deletions
diff --git a/camel/.cvsignore b/camel/.cvsignore
deleted file mode 100644
index 094641c7a6..0000000000
--- a/camel/.cvsignore
+++ /dev/null
@@ -1,13 +0,0 @@
-.deps
-Makefile
-Makefile.in
-.libs
-.deps
-*.lo
-*.la
-*.bb
-*.bbg
-*.da
-*.gcov
-camel-lock-helper
-camel-index-control \ No newline at end of file
diff --git a/camel/CODING.STYLE b/camel/CODING.STYLE
deleted file mode 100644
index 58e9c68bbe..0000000000
--- a/camel/CODING.STYLE
+++ /dev/null
@@ -1,19 +0,0 @@
-Note to hackers
----------------
-
-When hacking on camel (and on the gnome mailer in general),
-be sure to follow the same coding style as the initial authors.
-Please read the file HACKING in gnumeric and follow the
-general guidelines explained in it.
-
-Please take a look at camel source files and try to exactly
-imitate the coding style. We are perfectly aware that this
-is not the best and unique style, but it is absolutely
-mandatory that Camel is homogeneous. If you find the current
-coding style to have some weaknesses, please contact the
-authors to discuss this matter.
-
-Thanks.
-
- Bertrand.
-
diff --git a/camel/ChangeLog b/camel/ChangeLog
deleted file mode 100644
index 94ffcdc39b..0000000000
--- a/camel/ChangeLog
+++ /dev/null
@@ -1,1488 +0,0 @@
-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.
-
-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-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.
-
-2003-12-06 JP Rosevear <jpr@ximian.com>
-
- * */Makefile.am: Remove hard coded disable deprecated flags
-
-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.
-
-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)
-
-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.
-
- * providers/local/camel-mbox-store.c (create_folder): Treat
- parent_name == NULL and parent_name == "" the same.
-
- * 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.
-
-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.
-
- ** See bug #51478.
-
- * camel-gpg-context.c (gpg_ctx_free): handle the context being
- NULL, and exit silently.
-
-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.
-
-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!
-
-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
-
-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.
-
-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.
-
-2003-11-26 JP Rosevear <jpr@ximian.com>
-
- * Makefile.am: make sure we always dist the smime stuff
-
-2003-11-26 JP Rosevear <jpr@ximian.com>
-
- * Makefile.am (libcamelinclude_HEADERS): conditionally compile
- s/mime support
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-2003-10-31 Not Zed <NotZed@Ximian.com>
-
- * camel-cms-context.[ch]: removed, now redundant.
-
-2003-10-30 Not Zed <NotZed@Ximian.com>
-
- * camel-smime-context.c (sm_get_passwd): implement something basic.
-
- * 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.
-
-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.
-
-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.
-
-2003-10-27 Frederic Crozat <fcrozat@mandrakesoft.com>
-
- * camel-mime-utils.c: (camel_header_decode_date):
- better detection of broken date to give to broken_date_parser.
-
-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.
-
-2003-10-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * *.c: Removed unneeded CAMEL_OBJECT() casts.
-
-2003-10-21 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-local-folder.c (local_getv, local_setv):
- use the right tag name for the index_body arg.
- (local_sync): write any persistent metadata - to make it
- persistent.
- (camel_local_folder_construct): turn off indexing, for now, it
- should be done in local_setv.
-
- * providers/local/camel-local-folder.h: change body_index to a bool
- type.
-
- * camel-object.c (cobject_state_read, cobject_state_write): handle
- bool types
- (cobject_state_write): make sure we free all arg types.
-
- * camel-arg.c (camel_argv_build):
- (camel_arggetv_build): handle bool type.
-
- * camel-arg.h: Added BOO (bool) type.
-
-2003-10-15 Not Zed <NotZed@Ximian.com>
-
- * camel-store.c (camel_folder_info_build): Fix so we output the
- tree in sorted depth-first order, rather in reverse.
-
-2003-10-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-sasl-kerberos4.c: Fixed a #include.
-
-2003-10-10 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-local-provider.c: set the url fragment
- flag for local providers.
-
- * camel-provider.h: Move the URL_PART_NEED bits to the high 16
- bits, to allow for easier changes in the future. Added a
- URL_PART_FRAGMENT flag for providers that use fragment = folder
- path.
-
-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.
-
-2003-10-08 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_helo): Removed an
- unused variable.
-
-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.
-
-2003-09-23 Ettore Perazzoli <ettore@ximian.com>
-
- * providers/local/camel-local-provider.c: Set the IS_STORAGE bit
- in the mbox provider, since it can now contain a hierarchy of
- folders.
-
-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.
-
- * camel-mime-utils.c (append_8bit): Don't forget to flush the
- iconv conversion.
-
- * tests/message/test4.c (main): Don't try dot-files.
-
-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.
-
-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.
-
-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>
-
-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
-
-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
-
-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]
-
-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.
-
- * 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.
-
-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.
-
-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.
-
-2003-09-11 Dan Winship <danw@ximian.com>
-
- * Makefile.am (noinst_LTLIBRARIES): Remove libcamel-static.la
-
-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.
-
-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.
-
-2003-09-03 David Woodhouse <dwmw2@infradead.org>
-
- * camel-stream-process.[ch]: New stream implementation for running
- commands.
- * Makefile.am: Compile the above
-
-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.
-
-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.
-
- * providers/local/camel-local-folder.c (local_getv): Need to copy
- the local properties list before passing it out, since it's freed.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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
-
-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.
-
-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.
-
-2003-08-14 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part.c (write_to_stream): Save errno when
- flushing/unreffing the filter stream.
-
-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.
-
-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.
-
-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.
-
-2003-08-08 Jeffrey Stedfast <fejj@ximian.com>
-
- * 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.
-
-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.
-
-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.
-
-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.
-
-2003-07-23 Ettore Perazzoli <ettore@ximian.com>
-
- * camel-provider.c (camel_provider_init): Print the provider
- directory as well, for debugging.
-
-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.
-
-2003-07-23 Dan Winship <danw@ximian.com>
-
- * 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
-
-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.
-
- * camel-stream-fs.c (stream_read): Increment the seekable stream
- position by the number of bytes read. Oops.
- (stream_write): Same here.
-
-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.
-
-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.
-
-2003-07-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-stream-fs.c (stream_read): If we read 0 bytes, then set
- eos to TRUE.
-
-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.
-
- * camel-block-file.c: Here too.
-
- * 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.
-
-2003-07-09 Larry Ewing <lewing@ximian.com>
-
- * camel.h: remove reference to camel-pgp-mime.h
-
-2003-07-08 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-pgp-mime.[c,h]: Removed.
-
- * 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().
-
-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.
-
-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.
-
-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.
-
-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".
-
-2003-06-30 Dan Winship <danw@ximian.com>
-
- * camel-folder-search.c (camel_folder_search_finalize): free the
- summary hash
-
-2003-06-24 David Woodhouse <dwmw2@infradead.org>
-
- * camel-mime-utils.c (header_format_date): Put day of week into
- outgoing email.
-
-
-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.
-
-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.
-
-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.
-
-2003-06-13 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/pop3/camel-pop3-folder.c (pop3_finalize): Made static
- (to match the prototype).
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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).
-
-2003-06-11 Larry Ewing <lewing@ximian.com>
-
- * camel-text-index.c (text_index_normalise): use g_utf8_strdown
- properly.
-
-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.
diff --git a/camel/ChangeLog.pre-1-4 b/camel/ChangeLog.pre-1-4
deleted file mode 100644
index 7ea58c89d4..0000000000
--- a/camel/ChangeLog.pre-1-4
+++ /dev/null
@@ -1,22083 +0,0 @@
-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.
-
-2003-05-30 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-driver.c (run_only_once): Turned off a debugging
- printf.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-2003-05-13 Ettore Perazzoli <ettore@ximian.com>
-
- * 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.
-
-2003-05-02 Dan Winship <danw@ximian.com>
-
- * camel-mime-part-utils.c
- (simple_data_wrapper_construct_from_parser): Don't call
- g_utf8_validate on an empty message. Fixes a warning.
-
-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.
-
-2003-04-29 Dan Winship <danw@ximian.com>
-
- * 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
-
-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
-
-2003-04-22 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-utils.c: Disable debugging printfs.
-
- * 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.
-
-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.
-
- * camel-session.c (get_service): oops, the service owns the url
- after we construct it.
-
-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.
-
-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.
-
-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.
-
-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.
-
- ** for #41163
-
- * 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.
-
-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.
-
-2003-04-10 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c: Turn off debugging if
- CAMEL_VERBOSE_DEBUG isn't set.
-
-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.
-
-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.
-
-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.
-
-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).
-
- * 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.
-
- * camel-mime-filter-charset.c
- (camel_mime_filter_charset_new_convert): NULL-protect the to/from
- charsets in the g_warning call.
-
-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.
-
-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.
-
- * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): If
- store->engine->line is NULL, use _("Unknown error") as the error
- string instead.
-
-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.
-
-2003-04-07 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c: Disable debug printf's
-
-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.
-
-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.
-
-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): "
-
-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.
-
- * camel-mime-utils.c (header_encode_phrase_merge_words): When we
- remove a node from the list, make sure to g_list_free_1().
- (header_encode_phrase_merge_words): Don't use
- CAMEL_FOLD_PREENCODED as the upper-bound for merged-word length if
- the merged-word will not be an rfc2047 encoded word. Instead, use
- CAMEL_FOLD_SIZE-8 (which is the value we use in other places for
- determining upper-bound lengths). Solves bug #38659.
-
-2003-03-27 Dan Winship <danw@ximian.com>
-
- * camel-url.c (append_url_encoded): Like camel_url_encode, but
- works directly on an existing GString.
- (camel_url_to_string, output_param): Use it.
- (camel_url_encode): Likewise. Remove "escape_unsafe" arg since the
- "unsafe" chars are the ones that should *always* be escaped, and
- the places we were passing FALSE were wrong.
- (camel_url_decode): replace with a new version
-
- * camel-file-utils.c (camel_file_util_safe_filename): Remove extra
- arg to camel_url_encode.
-
- * tests/misc/url.c (main): Add tests of basic URL parsing and
- unparsing
-
-2003-03-28 Not Zed <NotZed@Ximian.com>
-
- *
- camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser):
- Do a more thorough check for html marked as text/plain. Check
- that the text starts with <html or <!doctype. More complete fix
- for #16817.
-
-2003-03-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-sasl-gssapi.c (camel_sasl_gssapi_finalize): Pass in the
- addresses of the second args to the delete/release functions.
-
-2003-03-27 Not Zed <NotZed@Ximian.com>
-
- * camel-object.c (camel_object_bag_list): Ignore whether or not
- the bag is currently reserved. We'll miss the new potential
- object, but only 1. Should address #40103.
-
-2003-03-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-service.c (camel_gethostbyaddr): Don't use setv when we
- don't need the stdarg interface.
- (camel_gethostbyname): Same.
-
-2003-03-24 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-folder-search.c (search_user_tag): This expression can
- never return an array. We must always return a string value.
-
-2003-03-24 Timo Sirainen <tss@iki.fi>
-
- * camel-imap-command.c (imap_read_untagged) Integer overflow fix.
- If server sent a huge literal length, only a few bytes of memory
- was allocated to it, but server could write as much data there as
- it wanted.
-
-2003-03-21 Jeffrey Stedfast <fejj@ximian.com>
-
- Camel part of the fix for Lewing's bug #39204. Second half of the
- patch should also fix it so that text/plain parts that are
- detected as being text/html are rendered as html (not that I agree
- with this mind you, but corporate customers want this "feature").
-
- * camel-mime-part-utils.c
- (simple_data_wrapper_construct_from_parser): If the part is
- text/html and doesn't have a charset and we are able to find a
- charset in the meta tags of the html content, set the charset
- param on the content-type.
- (camel_mime_part_construct_content_from_parser): After setting the
- content object on the mime part, re-set the content-type of the
- content object back to the one from the parser (as it may contain
- changes from the original - see changes made to the ct in
- simple_data_wrapper_construct_from_parser for details).
-
-2003-03-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-ssl.c (camel_certdb_nss_cert_get): continue
- reading the cert file until we've read it all or get a non-EINTR
- errno.
-
-2003-03-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-sasl-gssapi.c: #include <com_err.h> instead of
- #include <et/com_err.h>
-
-2003-03-20 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-sasl.c: Plug in GSSAPI support.
-
- * camel-sasl-gssapi.[c,h]: Various fixes to make it compile (fixed
- type-o's mostly).
-
-2003-03-20 Dan Winship <danw@ximian.com>
-
- Handle raw 8-bit From data "correctly". (The same way we handle
- raw 8-bit Subject data.)
-
- * camel-mime-utils.c (header_decode_mailbox): Take a charset arg
- and pass it to header_decode_string.
- (header_decode_address): Take a charset arg and pass it to
- header_decode_mailbox.
- (header_mailbox_decode): Likewise.
- (header_address_decode): Take a charset arg and pass it to
- header_decode_address.
-
- * camel-folder-summary.c (summary_format_address): Take a charset
- arg and pass to header_address_decode.
- (message_info_new, camel_message_info_new_from_header): Pass
- charset to summary_format_address
-
- * camel-internet-address.c (internet_decode): Update for
- header_address_decode change. (Unfortunately we don't have a
- charset to pass here.)
-
- * camel-mime-message.c (camel_mime_message_build_mbox_from): Move
- this here from camel-mbox-summary since the same functionality is
- needed by evolution-mail too (and update for header_address_decode
- change)
-
- * providers/local/camel-mbox-summary.c
- (camel_mbox_summary_build_from): Moved to CamelMimeMessage
-
-2003-03-17 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part.c (process_header): Removed unused variable left
- over from my previous fix.
-
- * providers/smtp/camel-smtp-transport.c (smtp_send_to): Don't pass
- 'has_8bit_parts' to smtp_data() anymore.
- (smtp_data): No longer takes 'has_8bit_parts' argument. Ignore
- whether or not the message has 8bit parts when deciding what the
- required encoding type we need to enforce. Fixes bug #39744.
-
-2003-03-13 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part.c (process_header): Use
- header_contentid_decode() as this new function should be safer
- than the hack that we had before.
-
- * camel-mime-utils.c (header_contentid_decode): New function to
- try and parse a content-id string in such a way as to work around
- some of the known bugs in other MIME implementations. Try to be as
- "safe" as we can - ie. don't allow for more than 1 @ (since the
- mailer uses "@@@%d" as a fake content-id value for parts without
- content-ids) and don't allow for invalid content-type chars.
-
-2003-03-13 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-folder.c (get_uids): Don't add bogus uids to the uid
- array. Might fix bug #38868 (it's the only way I can figure that
- camel_folder_get_message_info() could possibly return NULL for the
- Outbox folder).
-
-2003-03-12 Not Zed <NotZed@Ximian.com>
-
- * camel-object.c (remove_bag): removed, it was double-freeing the
- key.
- (save_object): Just save the object in an array.
- (camel_object_bag_destroy): first save the object bag's objects in
- a list, then remove them one at a time from the bag since we can't
- remove hash table entries while we're in a foreach (PITA glib
- shit). For #39486.
- (camel_object_bag_*): killed some warnings.
-
-2003-03-09 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-url-scanner.c (camel_url_addrspec_end): Doh! If inptr ==
- pos + 1, then return FALSE (before it was checking for inptr ==
- pos, but it will never be pos).
-
-2003-03-07 Not Zed <NotZed@Ximian.com>
-
- * camel-vee-folder.c (vee_search_by_expression): handle a null
- return from search_by_expression, for bug #33786.
-
-2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-utils.c (imap_next_word):
- s/g_strncasecmp/strncasecmp/g
-
- * camel-iconv.c: Updated to be an exact copy of e-iconv (except
- names changed). We don't use this yet, but we may in the future.
-
- * camel-url.c (camel_url_new_with_base): Here too.
-
- * camel-sasl-kerberos4.c (krb4_challenge): Use camel_strdown()
- here instead of g_strdown() since the latter has been deprecated.
-
- * providers/imap/camel-imap-utils.c (imap_parse_body): Use
- camel_strdown() since g_ascii_strdown() does not do what we
- thought.
-
- * providers/imap/camel-imap-store.c:
- s/strstrcase/camel_strstrcase/g
-
- * providers/imap/camel-imap-folder.c (do_append):
- s/strstrcase/camel_strstrcase/
- (handle_copyuid): Same.
-
- * string-utils.c (camel_strdown): New function because the
- g_ascii_strdown interface sucks.
- (camel_strstrcase): Renamed from strstrcase.
-
-2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-text-index.c (camel_utf8_next): Same as below.
-
- * camel-search-private.c (camel_utf8_getc): Updated since not all
- platforms/compiles support __inline__.
-
-2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the
- const return - it mismatches the prototype and we don't need it
- anyway. Fixes bug #39173.
-
-2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes for bug #39170
-
- * camel-store-summary.c (camel_store_info_set_string): Remove
- return keyword.
-
- * camel-session.c (camel_session_thread_msg_free): Remove return
- keyword.
- (camel_session_thread_wait): Same.
-
- * camel-index.c (camel_index_cursor_reset): Remove return keyword.
-
-2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes for bug #39168
-
- * providers/local/camel-spool-summary.c: Get rid of the empty
- private struct.
-
- * providers/local/camel-mbox-summary.c: Get rid of the empty
- private struct.
-
- * camel-vee-store.c: Get rid of the empty private struct.
-
- * camel-mime-filter-from.c: Get rid of the empty private struct.
-
-2003-03-05 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/sendmail/camel-sendmail-transport.c
- (sendmail_send_to): Add a CRLF filter to the output stream to
- convert any CRLF sequences into plain old line-feeds to work
- around a bug in some local transport programs.
-
-2003-03-04 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-object.h: s/class/klass in one place so that the header is
- c++-safe.
-
-2003-03-03 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-openssl.c (camel_tcp_stream_ssl_new): Updated
- to use the new API from a fe commits ago for the NSS stream. This
- is just to make it compile, but does not update the behaviour to
- act like the NSS stream. Note that people shouldn't be using
- OpenSSL anyway.
- (camel_tcp_stream_ssl_new_raw): Same.
-
- * camel-process.[c,h]: New source file containing convenience
- functions for process creation/termination mainly for use with
- Pipe filters but should be usable for anything we want.
-
- * camel-io.[c,h]: New source files implementing read/write system
- calls with proper error checking and cancellation
- (ie. StreamFs::read/write and CamelTcpStreamRaw::read/write). No
- sense duplicating the same code over and over. Now I can use this
- same code easily in other i/o code (such as Pipe filters and gpg
- code?).
-
-2003-03-03 Not Zed <NotZed@Ximian.com>
-
- * camel-store.c (camel_store_unsubscribe_folder): Do similar
- folder != NULL checking as for delete_folder before passing a NULL
- to object_bag_remove.
-
-2003-02-28 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-http-stream.c (http_connect): Here too.
-
- * providers/smtp/camel-smtp-transport.c (connect_to_server): Same
- as IMAP and POP.
-
- * providers/imap/camel-imap-store.c (connect_to_server): Same as
- the POP3 code.
-
- * providers/pop3/camel-pop3-store.c (connect_to_server): Pass in
- appropriate flags for camel_tcp_stream_ssl_new*() functions.
-
- * camel-tcp-stream-ssl.c (enable_ssl): Not all ssl/tls streams
- will want to allow each of SSLv2, SSLv3 and TLSv1 so use flags to
- decide which to enable/disable.
- (camel_tcp_stream_ssl_new): Now takes a flags argument to mask out
- which SSL/TLS versions the stream should be compatable with.
- (camel_tcp_stream_ssl_new_raw): Same.
-
-2003-02-27 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-stream-filter.c: Add a 'flushed' state variable to the
- private struct.
- (do_read): Set p->flushed to TRUE after we call
- camel_mime_filter_complete() on all the filters.
- (do_reset): Set p->flushed to FALSE.
- (do_eos): Make sure the filters have been flushed before returning
- that the stream is at EOS.
-
- * camel-mime-filter-canon.c (complete): Don't add a eol -
- otherwise we will fail to verify some mutt signatures that do not
- have a blank line before the boundary line (and note that the last
- \n before the boundary really belongs to the boundary anyway) so
- #if 0 this code out for now.
-
-2003-02-27 Not Zed <NotZed@Ximian.com>
-
- * camel-multipart-signed.c: Undo jeff's changes.
-
- * providers/local/camel-spool-store.c (scan_dir): Fix a paste-o in
- the object_bag_get key.
-
-2003-02-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-multipart-signed.c: Updated to use g_alloca instead of
- alloca so that we can skip all the #ifdef checks and skip checking
- for alloca in configure.in and all that foo.
-
- * camel-store.c (camel_store_delete_folder): Make sure the folder
- is non-NULL before trying to remove it from the store's
- object-bag.
-
-2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part-utils.c
- (simple_data_wrapper_construct_from_parser): canonicalise the
- charset name (if it is an iso charset) so that our strncasecmp to
- see if it is an iso-8859-# charset will be guarenteed to work on
- all systems.
- (canon_charset_name): New function to return the canonical iso
- charset name.
- (simple_data_wrapper_construct_from_parser): If the charset is
- NULL *or* the charset == "us-ascii" then check that it is 7bit
- clean to decide if it is rawtext (we did not check the case where
- charset was "us-ascii" before).
-
-2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-message.c: Same as the ones below.
-
- * camel-mime-part.c: Reverted back to pre-camel-iconv
-
- * camel-filter-search.c: Same as below.
-
- * camel-folder-summary.c: Reverted back to pre-camel-iconv
-
- * camel.c (camel_init): Reverted to pre-camel-iconv
-
- * camel-charset-map.c (camel_charset_locale_name): Removed (part
- of the revert).
- (camel_charset_canonical_name): Same.
-
- * camel-mime-filter-charset.c: Revert back to using e_iconv from GAL.
-
- * camel-mime-part-utils.c: Revert back to using e_iconv from GAL.
-
- * camel-mime-utils.c: Revert back to using e_iconv from GAL.
-
- * camel-sasl-digest-md5.c: Revert back to using e-iconv from GAL.
-
-2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-charset-map.c (camel_charset_canonical_name): g_alloca
- (strlen (charset) + 1) so we don't overflow the buffer.
-
- * providers/pop3/camel-pop3-stream.c (stream_write): Don't write
- the passwd, fixes "bug" #38601.
-
- * camel-iconv.c: Make bucket->refcount 31 bits and bucket->used 1
- bit instead of having each use their own 32bit int.
- (iconv_cache_bucket_expire): Use g_iconv_close() here, missed this
- before.
- (camel_iconv): Might as well call g_iconv here even though it just
- calls iconv directly.
-
-2003-02-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-iconv.c (camel_iconv_charset_name): New function...back
- from the depths of hell from whence it came originally. Turns out
- that g_iconv_open() is lame and can't handle all the stuff we used
- to handle in e_iconv_charset_name().
- (camel_iconv_open): Use camel_iconv_charset_name() on the to/from
- charsets rather than camel_charset_canonical_name(). Now maybe
- g_iconv_open will work for charsets such as "ks_c_5601-1987".
-
- * providers/pop3/camel-pop3-store.c (pop3_connect): Reget the
- capabilities after a successful authentication.
-
- * providers/pop3/camel-pop3-engine.c (get_capabilities): If we are
- in the TRANSACTION state and CAPA did not list UIDL as a supported
- command, try checking for it the hard way.
-
-2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_data): Do it the
- same way we just made the sendmail code do it.
-
- * providers/sendmail/camel-sendmail-transport.c
- (sendmail_send_to): My last change but in a better way.
-
-2003-02-22 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_data): Remove all
- Bcc headers before sending to the smtp server.
-
- * providers/sendmail/camel-sendmail-transport.c
- (sendmail_send_to): Remove all Bcc headers before sending to
- sendmail.
-
-2003-02-20 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel.c (camel_init): Call camel_iconv_init().
- (camel_shutdown): Call camel_iconv_shutdown().
-
- * camel-sasl-digest-md5.c (digest_response): Updated to use
- camel-iconv and the new camel-charset-map functions.
-
- * camel-mime-utils.c: Updated to use camel-iconv and the new
- camel-charset-map functions.
-
- * camel-mime-part-utils.c (check_html_charset): Use
- camel_charset_canonical_name() instead of e_iconv_charset_name()
- which is longer available.
- (convert_buffer): Use camel-iconv.
- (simple_data_wrapper_construct_from_parser): Since
- camel_charset_iso_to_windows() returns the charset in it's
- canonical format, no need to re-canonicalise it.
-
- * camel-mime-part.c (process_header): Use
- camel_charset_canonical_name() instead of e_iconv_charset_name()
- which is longer available.
-
- * camel-mime-message.c (process_header): Use
- camel_charset_canonical_name() instead of e_iconv_charset_name()
- which is longer available.
-
- * camel-mime-filter-charset.c: Use camel-iconv.
-
- * camel-folder-summary.c (message_info_new): Use
- camel_charset_canonical_name() instead of e_iconv_charset_name()
- which is longer available.
- (content_info_new): Use camel_charset_locale_name().
- (camel_message_info_new_from_header): Same as message_info_new().
-
- * camel-search-private.c: Use g_alloca() instead of alloca().
-
- * camel-filter-search.c (check_header): Use
- camel_charset_canonical_name() instead of e_iconv_charset_name()
- which is longer available.
-
- * camel-charset-map.c (camel_charset_locale_name): New function,
- replaces e_iconv_locale_charset().
- (camel_charset_canonical_name): New function, similar to
- e_iconv_charset_name() but instead of returning the iconv-friendly
- name, it returns the canonical name. (g_iconv will do the
- iconv-friendly name conversions for us).
-
-2003-02-20 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-search.c (run_command): Redirect program's stdout
- and stderr to /dev/null
-
- * camel-filter-driver.c (pipe_to_system): Redirect the program's
- stderr to /dev/null
- (pipe_to_system): Write the pipe to a mem stream and use the mem
- stream in the parser. Also, when setting an exception get the
- errno from the parser so we can give more info about the error to
- the user.
-
-2003-02-19 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-ssl.c (stream_connect): Fixed a type-o in the
- ENABLE_IPv6 ifdef section.
-
-2003-02-19 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-driver.c (pipe_message): New filter action that
- pipes the message source to the user-program and reads back the
- modified message and replaces driver->priv->message with the new
- message object.
- (do_copy): Check p->modified to make sure the message hasn't been
- modified by the pipe-message action - if it has been modified,
- default to the slower camel_folder_append_message() way of
- copying.
- (do_move): Same.
- (pipe_to_system): Set p->modified to TRUE if the user-program gave
- us back a message stream and we were able to parse it.
- (camel_filter_driver_filter_message): If the message has been
- modified, always use camel_folder_append_message() when appending
- it to the default folder.
-
-2003-02-14 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-folder-search.c: Added a (get-size ) function to fix bug
- #38073.
- (search_get_size): Implemented.
-
-2003-02-14 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-url-scanner.c (url_scanner_table_init): Mark chars with
- the high-bit set as CTRL chars.
- (camel_url_web_end): If the char before the start of the url is an
- open-brace, watch out for the matching close-brace.
- (camel_url_file_end): Same.
-
-2003-02-14 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-smime-context.c (smime_get_password): Same as the gpg and
- pkcs7 contexts.
-
- * camel-sasl-popb4smtp.c (popb4smtp_challenge): Updated for
- camel_session_get_password().
-
- * camel-pkcs7-context.c (get_password): Same as the gpg code.
-
- * camel-gpg-context.c (gpg_ctx_parse_status): Updated for
- camel_session_get_password().
-
- * providers/smtp/camel-smtp-transport.c (smtp_connect): No need to
- set USER_CANCEL exception here as it is done by
- camel_session_get_password(). Also updated for the new
- get_password() API change.
-
- * providers/imap/camel-imap-store.c (imap_auth_loop): Updated for
- camel_session_get_password() changes. We don't need to play the
- "bad passwd" game here too, do we? Bah, probably should but I
- don't feel like it for now. Maybe when we rewrite the IMAP
- provider.
-
- * camel-session.c (camel_session_get_password): Now takes a
- 'reprompt' argument that will force user-input to be given even if
- we have the passwd cached.
-
- * providers/pop3/camel-pop3-store.c (pop3_connect): Instead of
- uncaching the passwd after we receive a -ERR from the POP server,
- set 'reprompt' to TRUE to force user-input for the next password
- prompt (ie, make sure the front-end knows not to just return the
- cached value). The front-end can then decide to fill-in the
- user-input field with the last passwd that the user supplied.
- (pop3_try_authenticate): Now takes a reprompt argument which we
- pass into camel_session_get_password().
-
-2003-02-05 Dan Winship <danw@ximian.com>
-
- * Makefile.am (libcamelincludedir): Define in terms of
- privincludedir.
- (camellibexecdir): Define in terms of privlibexecdir
- (libcamel_la_LDFLAGS): Remove -rpath. (automake will add that)
-
- * providers/imap/Makefile.am (libcamelimapincludedir): Define in
- terms of privincludedir.
- (INCLUDES): Remove -I$(includedir)
- * providers/local/Makefile.am: Likewise
- * providers/nntp/Makefile.am: Likewise
- * providers/pop3/Makefile.am: Likewise
- * providers/sendmail/Makefile.am: Likewise
- * providers/smtp/Makefile.am: Likewise
-
-2003-02-04 Not Zed <NotZed@Ximian.com>
-
- * camel-object.c (camel_object_bag_new): Init bag->owner to 0.
-
-2003-01-31 Not Zed <NotZed@Ximian.com>
-
- * camel-object.c (camel_object_bag_*): Changed to use a posix
- semaphore instead of a condition variable + flag to reserve the
- object bag because e_mutex_cond is broken.
-
-2003-02-04 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-utils.c (imap_parse_body): Use
- g_ascii_strdown() instead of g_strdown, since g_strdown is
- deprecated.
- (imap_parse_body): Same.
-
- * providers/imap/camel-imap-folder.c (decode_internaldate): Use
- strncasecmp() here too.
- (parse_fetch_response): And here.
- (camel_imap_folder_selected): Here too.
-
- * providers/imap/camel-imap-utils.c (imap_namespace_decode): Use
- strncasecmp() instead of g_strncasecmp() because the latter is
- deprecated.
-
- * providers/imap/camel-imap-store.c (imap_get_capability): Again here.
- (hash_folder_name): Here too.
- (compare_folder_name): And here.
- (get_folder_online): Again.
- (get_folder_offline): And again.
-
- * providers/imap/camel-imap-folder.c (camel_imap_folder_selected):
- Same as below again.
-
- * providers/imap/camel-imap-command.c (camel_imap_response_free):
- Same as below.
-
- * providers/smtp/camel-smtp-transport.c (smtp_data): Use
- strcasecmp() because g_strcasecmp() is deprecated.
-
- * camel-url.c (camel_url_new_with_base): Use g_ascii_strdown()
- instead of g_strdown, since g_strdown is deprecated.
-
-2003-01-28 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default
- flags to gss_init_sec_context() (these default flags are defined
- as a MUST in rfc1964).
-
-2003-01-22 Hans Petter Jansson <hpj@ximan.com>
-
- * Makefile.am: $(libexec) -> $(libexecdir)
-
-2003-01-22 Ettore Perazzoli <ettore@ximian.com>
-
- * providers/imap/Makefile.am (libcamelimapincludedir): Update to
- the new $(BASE_VERSION)-versioned path.
- * providers/smtp/Makefile.am (libcamelsmtpincludedir): Likewise.
- * providers/sendmail/Makefile.am (libcamelsendmailincludedir):
- Likewise.
- * providers/pop3/Makefile.am (libcamelpop3includedir): Likewise.
- * providers/nntp/Makefile.am (libcamelnntpincludedir): Likewise.
- * providers/local/Makefile.am (libcamellocalincludedir): Likewise.
-
- * camel-lock-client.c (camel_lock_helper_init): Use
- CAMEL_LIBEXECDIR instead of CAMEL_SBINDIR to find
- camel-lock-helper.
-
- * Makefile.am: Install camel-lock-helper and camel-index-control
- in $(libexec)/evolution/$(BASE_VERSION)/camel. Install
- libcamel.la in $privlibdir.
- (install-exec-hook): Update for the new location of
- camel-lock-helper.
- (libcamelincludedir): Version using $(BASE_VERSION).
- (INCLUDES): Define CAMEL_LIBEXECDIR.
-
-2003-01-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-filter-canon.c (complete): Set the backbuflen to 0 so
- that calling us again won't re-flush the same data.
-
-2003-01-17 Larry Ewing <lewing@ximian.com>
-
- * camel-mime-filter-enriched.c (enriched_to_html): only grow the
- buffer when we are out of space.
-
-2003-01-14 Not Zed <NotZed@Ximian.com>
-
- * camel-mime-parser.c (folder_scan_step): If we have no
- content-type header, set it to text/plain explcitly, rather than
- NULL, because some code doesn't handle NULL.
-
-2003-01-14 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-sasl-gssapi.[c,h]: New source files implementing the
- GSSAPI SASL mechanism.
-
-2003-01-13 Not Zed <NotZed@Ximian.com>
-
- * camel-mime-filter-tohtml.c: fix header include order.
-
- * camel-object.c (camel_object_bag_reserve): Add an assert to
- check we're not trying to reserve the bag more than once in a
- given thread.
- (camel_object_bag_list): If we have reserved the bag, dont try and
- cond wait. Fixes a deadlock.
-
- * camel-mime-filter-tohtml.c (writeln): Read the characters as
- utf8, rather than as 8 bit bytes. Remove the PRESERVE_8BIT as it
- has no meaning. Also change the default logic slightly so that 8
- bit or greater characters are properly converted to entities.
-
- * camel-utf8.c (camel_utf8_getc_limit): new function, gets a utf8
- char, bounded by an end pointer.
-
-2003-01-07 Dan Winship <danw@ximian.com>
-
- * camel-provider.h (CamelProvider): add a "translation_domain"
- field. (NULL for all providers in the camel source tree itself).
-
- * camel-session.c (register_provider): Translate provider strings
- in the correct domain
-
-2003-01-06 Not Zed <NotZed@Ximian.com>
-
- * camel-store.c (store_sync): init local exception before doing
- anything. fixes a crash.
-
-2003-01-04 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_send_to): Instead of
- checking recipients != NULL, check that camel_address_length
- (recipients) != 0 since it is illegal for recipients to be NULL
- (camel_transport_send_to already checks this).
-
-2002-12-17 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-utils.c: Replace calls to
- g_string_sprintfa() with g_string_append_printf() since the former
- seems to have been deprecated.
-
- * providers/imap/camel-imap-search.c: Same.
-
- * providers/imap/camel-imap-folder.c: Here too.
-
- * providers/local/camel-mbox-summary.c: And here.
-
- * providers/local/camel-local-summary.c: Replace
- g_string_sprintf() with g_string_printf().
-
- * camel-data-cache.c (data_cache_expire): Replace
- g_string_sprintf() with g_string_printf().
-
- * camel-url.c: Replace calls to g_string_sprintfa() with
- g_string_append_printf() since the former seems to have been
- deprecated.
-
- * camel-service.c: Same.
-
- * camel-mime-utils.c: Here too.
-
-2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part-utils.c
- (simple_data_wrapper_construct_from_parser): Detect text/html
- parts that were marked as text/plain and re-tag them as text/html
- parts. Note: currently just checks if the first non-lwsp char is a
- '<' - but we might need to be smarter about this? *sigh* Stupid
- Windows mailers.
-
- * camel-mime-filter-tohtml.c (camel_text_to_html): New convenience
- function to replace calls to e_text_to_html() in the
- mailer/composer etc.
-
- * camel.h: #include some headers we had forgotten to add
- previously, also added camel-mime-filter-enriched.h.
-
- * camel-mime-filter-enriched.[c,h]: New stream filter to convert
- text/enriched and text/richtext into HTML.
-
-2002-12-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-multipart-signed.c (camel_multipart_signed_verify): Don't
- apply the CANON_STRIP filter here, since we are verifying whatever
- raw data we received (all we want to do is convert o the canonical
- CRLF format).
-
-2002-12-10 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-filter-tohtml.c (html_convert): Use camel-url-scanner
- instead of regex.
-
-2002-12-09 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-url-scanner.c (camel_url_addrspec_end): Fixed to not be
- fooled in the case where the address is followed immediately by a
- period.
- (camel_url_web_end): Made more robust.
- (camel_url_scanner_scan): Oops. We need to set the match->pattern
- string pointer to the correct pattern before executing the
- start/end methods (as some of them rely on this info).
-
-2002-12-09 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-url-scanner.c: New code to scan for patterns (used only
- for url pattern matching atm, but we may find other uses for this
- and thus rename it? I dunno). Uses ETrie.
-
-2002-12-07 Not Zed <NotZed@Ximian.com>
-
- * camel-data-cache.c (data_cache_init): Use a bag instead of a
- hashtable to track the cache streams.
- (data_cache_finalise): Same.
- (free_busy): No longer needed.
- (data_cache_expire): use bag instead of hashtable.
- (stream_finalised): No longer required.
- (camel_data_cache_add): objectbagise
- (camel_data_cache_get): "
- (camel_data_cache_remove): "
- (data_cache_path): Set the now expired date before running expiry,
- so it plays better with multiple threads. Still a couple of
- harmless races.
-
-2002-12-06 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-spool-store.c (scan_dir): folders ->
- object bag.
- (get_folder_info_mbox): folders -> object bag.
-
- * providers/local/camel-mh-store.c (folder_info_new): folders ->
- object bag.
-
- * providers/local/camel-maildir-store.c (scan_dir): folders ->
- object bag.
-
- * providers/local/camel-local-store.c (rename_folder): folders ->
- object bag.
-
- * camel-private.h (CamelStorePrivate): Remove 'cache' lock,
- handled by the objectbag.
-
- * providers/imap/camel-imap-store.c (copy_folder): Removed.
- (imap_store_refresh_folders): folders -> object bag.
- (get_folder_counts): folders -> object bag.
-
- * camel-vee-store.c (vee_get_folder): changes for folders
- objectbag.
- (vee_get_folder_info): Change to use folders objectbag. Also,
- dont refresh the base folder if we're in FAST mode.
- (build_info): Removed, no longer needed.
- (vee_rename_folder): Fixed for folders objectbag.
-
- * camel-store.c (camel_store_init): init the folders objectbag.
- (camel_store_finalize): Destroy the folders object bag.
- (folder_matches):
- (folder_finalize): Removed, now handled implicitly by the
- objectbag.
- (camel_store_get_folder): object bag changes.
- (camel_store_delete_folder): "
- (get_subfolders): Removed, now handled without a callback.
- (camel_store_rename_folder): Changed to use object bag of folders.
- (trash_add_folder): Removed.
- (init_trash): use folders object bag.
- (copy_folder_cache):
- (sync_folder): Removed, no longer needed. Weird arsed code anyway.
- (store_sync): Use folder object bag instead of hashtable.
- (camel_store_unsubscribe_folder): "
- (camel_store_init): remove cache_lock init, no longer used.
- (camel_store_finalize): Same for cleanup.
-
-2002-12-05 Not Zed <NotZed@Ximian.com>
-
- * camel-store.h (struct _CamelStore): change folders from a
- hashtable into a CamelObjectBag.
-
- * camel-object.c (camel_object_ref): Use type_lock instead of
- class lock for ref counting.
- (camel_object_unref): Use type_lock instead of class lock for
- unref.
- (camel_object_unref): If the object is 'bagged', then also look
- hooks, and remove it from any bags.
- (camel_object_bag_new):
- (camel_object_bag_destroy):
- (camel_object_bag_add):
- (camel_object_bag_get):
- (camel_object_bag_remove_unlocked):
- (camel_object_bag_list):
- (camel_object_bag_abort):
- (camel_object_bag_remove): New functions to implement a utility
- object which can manage a 'bag' of weakly ref'd children in an
- atomic & threadsafe way.
-
-2002-12-04 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store-summary.c
- (camel_imap_store_summary_add_from_full): Properly handle the case
- where the namespace is "". Fixes bug #34975
-
-2002-12-03 Jeffrey Stedfast <fejj@ximian.com>
-
- * broken-date-parser.c (get_tzone): Fixed to not get false
- positives when the token is shorter than the actual timezone
- string (but matches the first little bit of it).
- (datetok): Modified to properly handle when the first char of a
- token is a special char (such as a '-') that is also used as a
- token delimiter.
-
-2002-11-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-ssl.c (stream_read): Use the new
- camel_operation_cancel_prfd() function to get the cancellation fd
- so we can poll on it for cancellation stuff.
- (stream_write): Same.
-
-2002-11-22 Not Zed <NotZed@Ximian.com>
-
- * camel-operation.c (camel_operation_cancel_prfd): Implement, gets
- a nspr pr filedesc to poll/wait on
- (struct _CamelOperation): include a pr filedesc.
-
-2002-11-21 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store-summary.c
- (camel_imap_store_summary_namespace_find_path): If we have a
- namespace of "", then always match any path.
- (camel_imap_store_summary_namespace_find_full): Same, for full
- names. Should address #33309 & friends.
-
-2002-11-19 Radek Doulik <rodo@ximian.com>
-
- * camel-mime-filter-tohtml.c (html_convert): added
- CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT flag
-
-2002-11-18 Rodney Dawes <dobey@ximian.com>
-
- * tests/*/Makefile.am: Removed $(GNOME_LIBDIR) and $(GNOMEUI_LIBS)
-
-2002-11-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c (imap_connect_online): If the
- namespace is at/below INBOX, check for the INBOX explicitly (since
- it obviously won't show up in a LSUB INBOX.*). If either INBOX is
- not returned in the response or if the folder flags contain
- \NoSelect, subscribe to INBOX and then try LSUB again.
-
-2002-11-11 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-filter-tohtml.c (html_convert): Rewritten. Much much
- much cleaner implementation now, though uses malloc/free more
- often than I'd like.
-
-2002-11-11 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (get_message_simple): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
-
- * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
-
- * providers/pop3/camel-pop3-folder.c (pop3_refresh_info): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
- (pop3_get_message): Same.
-
- * providers/local/camel-spool-summary.c (spool_summary_sync_full):
- Use g_strerror when setting an exception string (we need it to be
- in UTF-8).
- (spool_summary_check): Here too.
-
- * providers/local/camel-spool-store.c (construct): Use g_strerror
- when setting an exception string (we need it to be in UTF-8).
- (get_folder): Same.
- (scan_dir): Here too.
-
- * providers/local/camel-spool-folder.c (spool_lock): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
-
- * providers/local/camel-mh-summary.c (mh_summary_check): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
-
- * providers/local/camel-mh-store.c (delete_folder): Use g_strerror
- when setting an exception string (we need it to be in UTF-8).
-
- * providers/local/camel-mbox-summary.c (summary_update): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
- (mbox_summary_sync_full): Here too.
- (mbox_summary_sync_quick): Same.
- (mbox_summary_sync): Also here.
- (camel_mbox_summary_sync_mbox): Again here.
-
- * providers/local/camel-mbox-folder.c (mbox_lock): Use g_strerror
- when setting an exception string (we need it to be in UTF-8).
- (mbox_append_message): Same.
- (mbox_get_message): Here too.
-
- * providers/local/camel-maildir-summary.c (maildir_summary_load):
- Use g_strerror when setting an exception string (we need it to be
- in UTF-8).
- (maildir_summary_check): Same.
-
- * providers/local/camel-maildir-store.c (get_folder): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
- (delete_folder): Same.
- (delete_folder): Here too.
-
- * providers/local/camel-local-summary.c (local_summary_sync): Use
- g_strerror when setting an exception string (we need it to be in
- UTF-8).
-
- * providers/local/camel-local-store.c (get_folder): Use g_strerror
- when setting an exception string (we need it to be in UTF-8).
- (create_folder): Same.
- (xrename): Here too.
- (rename_folder): And here.
- (delete_folder): Also here.
-
- * camel-provider.c (camel_provider_init): For debugging printfs,
- we want to use normal strerror (we want locale charset, not
- UTF-8).
-
- * camel-movemail.c (camel_movemail): Use g_strerror when setting
- an exception string (we need it to be in UTF-8).
- (movemail_external): Same.
- (camel_movemail_copy_file): Here too.
- (camel_movemail_solaris): Also here.
-
- * camel-mime-utils.c (rfc2047_decode_word): For debugging printfs,
- we want to use normal strerror (we want locale charset, not
- UTF-8).
- (header_encode_param): Same.
-
- * camel-mime-part-utils.c (convert_buffer): For debugging printfs,
- we want to use normal strerror (we want locale charset, not
- UTF-8).
-
- * camel-lock-client.c (camel_lock_helper_init): Use g_strerror
- when setting an exception string (we need it to be in UTF-8).
-
- * camel-data-cache.c (camel_data_cache_remove): Use g_strerror
- when setting an exception string (we need it to be in UTF-8).
-
- * camel-tcp-stream-raw.c (flaky_tcp_write): For debugging printfs,
- we want to use normal strerror (we want locale charset, not
- UTF-8).
- (flaky_tcp_read): Same.
-
- * camel-gpg-context.c (gpg_ctx_op_step): For debugging printfs, we
- want to use normal strerror (we want locale charset, not UTF-8).
-
- * camel-service.c (camel_gethostbyname): Use g_strerror when
- setting an exception string (we need it to be in UTF-8).
-
- * camel-lock.c (camel_lock_dot): Use g_strerror when setting an
- exception string (we need it to be in UTF-8).
- (camel_lock_fcntl): Same.
-
-2002-11-07 Not Zed <NotZed@Ximian.com>
-
- * camel-mime-part.c (camel_mime_part_set_content_type): constify
- the content_type.
-
-2002-11-07 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-i18n.h: Added.
-
- * camel-object.h: #include camel-i18n.h instead of gnome-i18n.h
-
- * camel-lock.c: Same.
-
-2002-11-07 Rodrigo Moya <rodrigo@ximian.com>
-
- * camel-object.h: removed gnome-defs.h, it does not exist.
-
-2002-11-05 Not Zed <NotZed@Ximian.com>
-
- * Makefile.am (camel_lock_helper_LDADD): Created temporary link
- list, we need to link with something for gettext.
-
- * camel.h: Remove gstring-util.h and hash-table-utils.h.
-
- * camel-text-index.c:
- (text_index_normalise): Changed for g_utf8_strdown api change.
-
- * camel-search-private.c:
- * camel-mime-utils.c:
- * camel-mime-part-utils.c:
- * camel-html-parser.c:
- * camel-charset-map.c: Include glib/gunicode.h from glib instead
- of gal.
-
- * camel-filter-driver.c: Remove include of gtk/gtk.h, should never
- have been there.
-
-2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-utils.c (g_string_append_len): Removed. Glib2 has
- this function.
-
- * providers/local/camel-local-store.c (delete_folder): Use
- g_path_get_basename instead of g_strdup (g_basename (filename)).
-
- * camel-uid-cache.c (camel_uid_cache_new): Use g_path_get_dirname
- since g_dirname has been deprecated.
-
-2002-10-31 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (camel_gpg_context_class_init): Set the
- virtual method pointers to the import/export methods.
- (camel_gpg_context_init): Set the key_protocol string.
- (gpg_hash_to_id): Handle 2 more hash types.
- (gpg_id_to_hash): Same.
- (gpg_ctx_op_step): Slight fixes to support import/export.
- (gpg_ctx_parse_status): Fix to hack around the fact that importing
- keys doesn't write to stdout.
- (gpg_import_keys): Implemented.
- (gpg_export_keys): Implemented.
-
- * camel-cipher-context.c (camel_cipher_context_class_init): Hook
- up default virtual methods for import/export.
- (camel_cipher_import_keys): Implemented.
- (camel_cipher_export_keys): Implemented.
-
-2002-10-31 Jeffrey Stedfast <fejj@ximian.com>
-
- * Makefile.am: Removed hash-table-utils.[c,h] from the build.
-
- * hash-table-utils.[c,h]: Removed.
-
- * string-util.c: Imported g_strcase[hash,equal] into here so we
- can remove hash-table-utils.[c,h].
-
- * camel-medium.c: Removed #include "hash-table-utils.h"
-
- * camel-mime-message.c: Same here.
-
- * camel-mime-part.c: And here.
-
- * camel-session.c: Here too.
-
- * providers/imap/camel-imap-store-summary.c: #include
- string-utils.h instead of hash-table-utils.h
-
- * camel-charset-map.c: Same.
-
- * camel-folder-summary.c: Here too.
-
- * camel-provider.c: Again here.
-
- * camel-store-summary.c: And again...
-
-2002-10-31 Jeffrey Stedfast <fejj@ximian.com>
-
- Remove a ton of useless snot.
-
- * Makefile.am: Remove gstring-util.[c,h] from the build.
-
- * gstring-util.[c,h]: Removed.
-
- * string-utils.c (string_equal_for_glist): Removed.
- (string_split): Removed.
- (string_trim): Removed.
- (string_prefix): Removed.
- (string_unquote): Removed.
- (strip): Removed.
-
- * hash-table-utils.c (g_hash_table_generic_free): Removed.
-
- g_str[n]casecmp functions are deprecated in glib2.
-
- * string-utils.c (strstrcase): Use strncasecmp instead of
- g_strncasecmp.
-
- * hash-table-utils.c (g_strcase_equal): Use strcasecmp
- instead of g_strcasecmp.
-
- * camel-smime-utils.c (camel_smime_is_smime_v3_signed): Same.
- (camel_smime_is_smime_v3_encrypted): Here too.
-
- * camel-sasl-digest-md5.c (decode_data_type): And here.
- (parse_server_challenge): Again here.
-
- * camel-pgp-mime.c (camel_pgp_mime_is_rfc2015_signed): Same.
- (camel_pgp_mime_is_rfc2015_encrypted): Same
-
- * camel-mime-part-utils.c (check_html_charset): Here too.
-
- * camel-folder-summary.c (camel_system_flag): Same.
-
-2002-10-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_ctx_parse_status): Don't prematurely
- set gpg->complete to TRUE. Let gpg_ctx_op_step () set it to TRUE
- when gpg closes the status-fd instead.
-
-2002-10-24 Not Zed <NotZed@Ximian.com>
-
- ** For bug #31647 and bug #31456.
-
- * camel-store-summary.c (store_info_string): for STORE_INFO_NAME,
- skip the leading /.
-
- * providers/imap/camel-imap-store.c
- (parse_list_response_as_folder_info): Remove jeff's last patch,
- and use the store summary to create the name and path of the
- folderinfo so it manages namespace issues.
- (get_folder_info_online): Just pass @top directly to
- build_folder_info always, since namespace is mapped to 1 tree
- level.
- (imap_build_folder_info): Remove jeff's last patch, dont strip
- leading /'s, they shouldn't exist.
- (imap_connect_online): Remove adding the INBOX here, we add it
- later.
- (get_subscribed_folders): Make sure INBOX is always in the list.
- some imap servers dont seem to let you subscribe to it(?), so
- always have it act as subscribed.
-
- * camel-store.c (camel_folder_info_build): back out the last 2
- patches from Jeff (for #31456) to get the original behaviour.
- (camel_folder_info_build): When creating a fake
- parent, dont strip the namespace from the full_name. malloc keys
- in hash since we dont have them anymore.
- (free_name): Helper to free names.
-
- * providers/imap/camel-imap-store-summary.c
- (camel_imap_store_summary_namespace_new): Canonicalise the
- namespace (strip trailing dir_sep), and change the path to remove
- any /'s.
- (camel_imap_store_summary_namespace_find_path):
- (camel_imap_store_summary_namespace_find_full): new, find
- namespace by path/full name.
- (camel_imap_store_summary_full_from_path): Changed to a simple
- wrapper around path_to_full, after checking namespace.
- (camel_imap_store_summary_add_from_full): map the namespace if
- present.
- (camel_imap_store_summary_path_to_full): If namespace exists,
- unmap it.
-
-2002-10-18 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-driver.c (camel_filter_driver_filter_folder):
- Canonicalise the source_uri to not have a path. Fixes bug #32268.
-
-2002-10-17 Jeffrey Stedfast <fejj@ximian.com>
-
- Possible fix for bug #32270
-
- * providers/pop3/camel-pop3-store.c (try_sasl): If we get an I/O
- error, we should not be setting the CANT_AUTH exception but should
- instead be setting the SYSTEM exception. Also check for EINTR
- which signifies a USER_CANCEL exception.
- (pop3_try_authenticate): If the auth mechanism isn't supported,
- don't set the CANT_AUTH exception since then we will loop and try
- again with the same data which will just cause an infinite loop.
- (pop3_connect): Simplified a bit.
-
-2002-10-17 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-ssl.c (camel_certdb_nss_cert_set): If
- ~/.camel_certs doesn't exist, create it.
-
-2002-10-15 Not Zed <NotZed@Ximian.com>
-
- * camel-tcp-stream-ssl.c (cert_fingerprint): helper, build
- fingerprint.
- (camel_certdb_nss_cert_get): Helper for nss certs. Lookup cert.
- As well as fingerprint, the whole raw cert is checked for
- validity.
- (camel_certdb_nss_cert_add): Add an nss cert to a certdb, also
- saves the cert by fingerprint in ~/.camel_certs/.
- (ssl_bad_cert): Changed to use above functions to simplify logic.
- (ssl_bad_cert): Also added non-compiled code which mimics what
- mozilla does, but it doesn't work right :-/
- (camel_certdb_nss_cert_set): Save the raw cert associated with a
- cert.
-
- * camel-certdb.c (certdb_cert_free): Free the raw cert data if
- set.
-
-2002-10-14 Not Zed <NotZed@Ximian.com>
-
- * camel-file-utils.c (camel_file_util_encode_string): Encode a
- length of 0 as 1, not 0, to match the decode code.
-
-2002-10-03 Not Zed <NotZed@Ximian.com>
-
- * camel-folder.c (filter_filter): Do the filtering ourselves.
- This is so a problem like a missing uid (which can happen
- legitemitely) doesn't prematurely abort filtering. Stop on all
- other errors. See #31667.
-
-2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (camel_gpg_context_new): No longer takes a
- path argument.
- (camel_gpg_context_fianlise): No need to free ctx->path.
- (gpg_ctx_new): No longer takes a path argument either.
- (gpg_ctx_free): No need to free ctx->path, it's no longer used.
- (gpg_ctx_op_start): Don't stat the path anymore and change the
- first arg to execvp to "gpg" so that we use the shell's
- environment to find gpg.
- (gpg_sign): Updated.
- (gpg_verify): Updated.
- (gpg_encrypt): Updated.
- (gpg_decrypt): Updated.
- (gpg_ctx_get_argv): Removed some debug printfs.
-
-2002-10-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_id_to_hash): If the hash id is NULL,
- return CAMEL_CIPHER_HASH_DEFAULT. Fixes bug #32229.
-
-2002-10-08 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-command.c (imap_read_response): If the
- response from the IMAP server is "No", don't set the
- SERVICE_UNAVAILABLE exception, this makes error reporting in the
- UI for deleting IMAP folders that cannot be deleted inaccurate
- (ie, it reports "Cannot delete in offline mode" which is not the
- problem).
-
-2002-10-07 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes bug #31752
-
- * providers/smtp/camel-smtp-transport.c (connect_to_server): Don't
- forget to send another EHLO command to the server once we toggle
- into STARTTLS mode.
- (smtp_helo): Reset any flags set using the EHLO response and also
- any authtypes.
-
-2002-10-06 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes bug #31681
-
- * camel-mime-utils.c: Fix all mailing list regex patterns to allow
- any number of spaces *or* tabs as pre-padding for the header
- values.
-
-2002-10-03 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part.c (write_to_stream): Use the content-object's
- rawtext flag to decide if it needs to be filtered through the
- charset filter instead of using the mime part's rawtext flag since
- this will never be set. Partial fix for bug #31655.
-
-2002-10-03 Not Zed <NotZed@Ximian.com>
-
- * camel-folder.c (folder_changed): Dont get the filter driver
- inside the change_lock. Its not necessary, and can cause deadlock
- with the way the mailer gets the filter driver via g_mainloop.
- Should fix #31572.
-
-2002-10-02 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-charset-map.c (camel_charset_iso_to_windows): Map us-ascii
- to windows-1252 also.
-
-2002-10-02 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-folder.c (get_matching): Set *set to
- NULL if we dont get any matches.
- (imap_sync_online): If we get no matches, skip any work, also
- reorder some code to make it easier to skip. See #31031.
-
- * providers/imap/camel-imap-store.c
- (imap_check_folder_still_extant): Default to "TRUE", if the list
- command failed, it probably means a server problem, assume the
- worst. This makes imap_refresh_info not clear the exception and
- crash. Fixes crash of #31000.
-
-2002-10-01 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_refresh_info): Make
- sure we pass the exception to imap_folder_selected(), otherwise
- failures can be lost. See bug #31000.
-
-2002-10-01 Not Zed <NotZed@Ximian.com>
-
- * camel-folder.c (thaw): Add an assertion that the frozen count>0.
- (freeze): Same for >= 0.
-
- * camel-vee-folder.c (camel_vee_folder_remove_folder): Use the
- unmatched freeze_count when thawing folders removed from
- unmatched, rather than the folder's freeze_count. Might be
- related to #27391.
-
-2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (decode_internaldate): Use
- strtol when decoding the timezone (since it can be negative) and
- don't forget to increment inptr to the start of the time (ie,
- don't leave inptr pointing to the year when decoding the
- hour:min:sec).
-
-2002-09-30 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes bug #31456.
-
- * providers/imap/camel-imap-store.c (imap_connect_online): Don't
- LSUB "" "*", instead get both an LSUB containing the subfolders of
- the namespace and an LSUB of INBOX (assuming namespace was
- non-empty). This fix really has nothing to do with bug #31456 but
- is what should have been done in the first place.
- (parse_list_response_as_folder_info): Simplify a tad and strip
- extra leading /'s from fi->path.
- (imap_build_folder_info): Strip extra leading /'s from fi->path.
-
- * camel-store.c (camel_folder_info_build): Don't strip the
- namespace from the fi->full_name when hashing or creating fake
- parent folder-infos. Fixes a bug I found while trying to reproduce
- bug #31456.
- (camel_folder_info_build_path): Strip off extra leading dir_sep
- chars from the path.
-
-2002-09-30 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_get_message): Remove
- debug content_info_dump, could cause a crash, and not really
- needed anymore.
-
- * camel-folder-summary.c (camel_content_info_dump): Check ci->type
- != NULL before dereferencing it. Should fix crash #31331.
-
-2002-09-27 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (decode_internaldate): New
- function to decode the INTERNALDATE response from an IMAP server
- so we don't have to use my broken-date-parser routines.
-
-2002-09-27 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c (connect_to_server):
- NULL-check the streams before unreffing them in the case of a
- failure during ssl negotiations.
-
- * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_enable_ssl): Check
- SSL_ResetHandshake() for errors. Also force a handshake after
- we've reset the handshake state on the socket.
-
-2002-09-27 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_update_summary): Use
- the summary's last uid as the one to fetch from, ignoring the
- cache. Use strtoul instead of atoi as well.
-
- * providers/imap/camel-imap-store.c (get_folder_counts): If we
- have the folder open, and the unread count has changed, refresh
- it. Should fix #30399 enough. Also in non-check-all mode, if we
- have the folder open, use it anyway.
-
-2002-09-26 Not Zed <NotZed@Ximian.com>
-
- * tests/folder/test2.c (main): Treat spool as a local folder, so
- the ref checks work right.
-
- * providers/local/camel-spool-store.c (get_folder): Implement
- FOLDER_CREATE flag.
- (scan_dir): Dont free name on exception, its alloca'd.
- (scan_dir): If we start scanning from a file, just add that
- directly.
- (scan_dir): Allow empty files to also show up in folder list, as
- well as files starting with "From ".
- (get_folder): Use creat() instead of open() to create file.
-
- * providers/local/camel-spool-folder.c (camel_spool_folder_new):
- Check folder != NULL before writing to it.
-
- * providers/local/camel-local-store.c (create_folder): Handle a
- parent of NULL for creating top-level dirs. Part of #31186.
-
- * providers/imap/camel-imap-store.c
- (parse_list_response_as_folder_info): Store the folder flags in
- the store summary.
- (get_one_folder_offline): Set the noselect url parameter if this
- is a noselect folder, from the stored summary flags. #30877.
-
-2002-09-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-filter-charset.c (complete): Handle EILSEQ by eating
- bytes in the input buffer until conversion is successful. The old
- behaviour aborted when it got EILSEQ and just dumped the raw data.
- (filter): Same. Fixes bug #30873.
-
-2002-09-24 Not Zed <NotZed@Ximian.com>
-
- * camel-mime-utils.c (mail_list_magic[]): Changed the Mailing-List
- rule to get the complete domain (* in wrong spot). #31087.
-
- * camel-text-index.c (text_index_compress_nosync): If we have no
- data written to a key, dont add it, or its partition header.
-
-2002-09-23 Not Zed <NotZed@Ximian.com>
-
- * camel-block-file.c (sync_nolock): Mark root block dirty if we're
- going to sync it.
- (camel_key_file_finalise): de-count the active list if we close
- it.
-
- * camel-text-index.c (text_index_delete): Implement.
- (text_index_compress_nosync): Use index_delete when we're finished
- with the old one, so it is properly deactivated.
-
- * camel-index.c (camel_index_delete): Remove api call. Mark index
- deleted in new state variable.
- (camel_index_*): Wrap all calls in check for deleted state.
-
-2002-09-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-folder.c (transfer_message_to): If the original message is
- deleted, reset the deleted flag when we're done. Fixes bug #30876.
-
- * providers/imap/camel-imap-folder.c (add_message_from_data):
- Decode the INTERNALDATE if we've got one.
- (imap_update_summary): Instead of requesting a list of specific
- headers, request HEADER.FIELDS.NOT (RECEIVED) to reduce bandwidth
- usage even more.
- (parse_fetch_response): Change slightly to allow HEADER.FIELDS or
- HEADER.FIELDS.NOT so that we can make changes in
- imap_update_summary and not need to keep changing this function to
- match. Also parse an INTERNALDATE response.
-
-2002-09-22 Dan Winship <danw@ximian.com>
-
- * camel-mime-parser.c (folder_scan_drop_step): fix non-ANSI switch
- statement.
-
- * camel-service.c (service_getv): Likewise.
-
- * providers/imap/camel-imap-store.c (imap_getv): Likewise.
-
- * providers/pop3/camel-pop3-folder.c (cmd_builduid): Likewise.
-
-2002-09-20 Not Zed <NotZed@Ximian.com>
-
- * tests/misc/split.c: New regression test for word
- splitting/search input parsing code.
-
- * tests/folder/test9.c (main): Fix for filter_driver api change.
-
- * camel-search-private.c (camel_search_words_split): Handle "'s
- and \'s to escape characters. For fat, lazy, slobs who dont like
- anything changing.
-
-2002-09-19 Not Zed <NotZed@Ximian.com>
-
- * camel-filter-search.c (camel_filter_search_match): Take new
- session arg. Update callers.
- (symbols[]): changed get-source to header-source
- (header_source): Changed from get_source. Now a boolean, returns
- true if source matches one of the arguments. Uses the provider
- url comparison directly for accurate checking. Makes 'filter on
- source' work.
-
- * camel-filter-driver.c (camel_filter_driver_new): Take new arg,
- session.
- (camel_filter_driver_finalise): Free session.
-
-2002-09-19 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (parse_fetch_response): Don't
- increment the response pointer when deciding what type of header
- response we got, this screws up the string that we strdup into the
- part_spec string later. Also, instead of using the entire blob of
- HEADER.FIELDS that we get in the response, shorten it to just
- HEADER.FIELDS to use as the part_spec key.
-
-2002-09-18 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (CAMEL_MESSAGE_INFO_HEADERS):
- Include MIME-VERSION and CONTENT-TYPE.
-
-2002-09-18 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-command.c
- (camel_imap_command_response): If we get an ALERT, pass it to the
- user. An rfc2060 MUST, and bug #22496.
-
-2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (parse_fetch_response):
- Handle when the response is from a HEADER.FIELDS (if so, we don't
- want to cache the result).
- (imap_update_summary): Request specific headers when building the
- CamelMessageInfo's rather than fetching the full headers.
-
-2002-09-13 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-part.c (process_header): If header_msgid_decode fails
- for the content-id field, just grab whatever is between the <>'s
- (yes, this means that the content-id is invalid - but what can ya
- do?). Addresses bug #21027.
-
-2002-09-11 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-utils.c (header_encode_string): Revert a patch that I
- had not meant to commit that was aimed at fixing bug #29234.
-
-2002-09-10 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-store-summary.c (camel_store_summary_load): Same as
- below. Also save errno before closing the file so our caller can
- figure out why we failed.
- (camel_store_summary_save): Same here, but also flush the output
- stream to disk.
-
- * camel-folder-summary.c (camel_folder_summary_load): s/fclose(in)
- == -1/fclose(in) != 0/ since fclose doesn't necessarily return -1
- on fail, all we really know is that it returns 0 on success and
- non-zero on fail.
-
- * camel-certdb.c (camel_certdb_save): fsync() the stream after we
- fflush it.
-
- * camel-folder-summary.c (perform_content_info_save): Do proper
- error checking and return -1 on fail.
- (camel_folder_summary_save): Check the return of
- perform_content_info_save and a few other output calls within the
- message_info_save loop. If any of them fail, save errno, close the
- file, and return -1. If we finish the loop without fail, fflush
- the stream and then fsync (fflush only flushes user-space buffers,
- you still need to fsync afterward to flush the data to disk). If
- either fail, treat it as an exception by saving errno, closing the
- stream, and returning -1. I suspect that this also fixes bug
- #30150 because the old code would fclose if fflush or fclose
- failed in the check after the loop (man fclose(3) states that any
- further calls using the stream (even another call to fclose) will
- have undefined behaviour no matter what the first fclose call
- returned).
-
- * providers/local/camel-local-summary.c
- (camel_local_summary_init): Don't malloc a private struct of 0
- size.
-
- * providers/imap/camel-imap-folder.c
- (camel_imap_folder_fetch_data): Clear the exception even if we
- failed to get the message (part) from the imap-message-cache if we
- are online and able to try fetching it from the IMAP server.
-
-2002-09-10 Not Zed <NotZed@Ximian.com>
-
- * camel-data-cache.c (data_cache_expire): Remove the hash table
- entry using the right path. Related to #29731.
- (camel_data_cache_remove): "
-
-2002-09-09 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes bug #4224
-
- * providers/imap/camel-imap-folder.c
- (camel_imap_folder_fetch_data): Pass ex into
- camel_imap_message_cache_get().
-
- * providers/imap/camel-imap-message-cache.c
- (camel_imap_message_cache_get): Now takes an exception and sets it
- on fail.
- (camel_imap_message_cache_copy): Updated to properly handle
- cache_get error conditions.
-
-2002-09-04 Dan Winship <danw@ximian.com>
-
- * camel-mime-utils.c (header_decode_date): Use e_mktime_utc.
-
- * camel-mime-message.c (camel_mime_message_set_date): Use
- e_localtime_with_offset.
-
- * broken-date-parser.c (decode_broken_date): Use e_mktime_utc.
-
-2002-09-04 Not Zed <NotZed@Ximian.com>
-
- * tests/folder/test4.c (main): clear nonfatal stuff.
-
- * tests/folder/test6.c (main): check inbox and 'another folder'
- because some servers do different things w/ inbox.
-
- * providers/imap/camel-imap-message-cache.c
- (camel_imap_message_cache_get): Dont try to open the directory
- instead of an empty "" uid.
-
- * providers/imap/camel-imap-folder.c (imap_get_message): we dont
- want to g_return_if_fail, we need to set an exception and always
- handle the case.
- (get_message_simple): Set an exception if we get a construct
- failure.
- (imap_refresh_info): if we're refreshing inbox, force a reselect.
- this is required for at least cyrus. CHECK doesnt work either :(
-
- * tests/lib/folders.c (test_folder_basic): for non-local stores,
- the folder will have an extra ref for selection, take this into
- account when checking ref leaks.
- (test_folder_message_ops): Dont try to delete folder with messages
- in it, it works generally with imap. also, change params so we
- can test different mailbox types.
- (test_folder_message_ops): disconnect remote services before
- finishing off. doesn't need to stricly but makes ref count
- checking more accurate.
- (test_folder_message_ops): removed explicit remote sync, imap does
- it itself now ...
-
- * providers/imap/camel-imap-store.c:
- (camel_imap_store_finalize): call service_disconnect, so it isn't
- called later in the finalise chain, to properly cleanup on exit.
-
- * camel-mime-parser.c (folder_scan_content): If we fake the from
- eof file boundary, also make sure we say we matched nothing. Also
- make the end case a little more robust to make sure we expired all
- hope of finding a sub-boundary.
-
- * providers/imap/camel-imap-store.c,
- providers/imap/camel-imap-folder.c: Lots of changes, too numerous
- to list. Changed to use camel-imap-store-summary to cache list
- requests. Changed to use a canonicalised url path with / instead
- of per-store directory separator. Indirects folder name so
- invalid folder names can still be accessed. Summary now stored in
- a new expandable format in .ev-store-summary.
-
-2002-08-29 Not Zed <NotZed@Ximian.com>
-
- * tests/folder/test3.c: Change the case sensitive search of
- subject to expect case insensitive results, as the behaviour has
- changed.
- (main): Made the search content before sync nonfatal. its
- something that needs to be fixed but not practical concern in
- evolution.
-
- * camel-block-file.c (block_file_validate_root): Only spit out the
- invalid root warnings if the file isn't empty.
-
- * camel-text-index.c (text_index_compress_nosync): Swap the path
- as well when we compress.
-
- * camel-mime-parser.c (folder_scan_content): Treat the end of file
- as a boundary if we're scanning From lines, and drop the last \n.
- (folder_scan_init_with_fd): Dont pre-read from the fd, and init eof.
- (folder_scan_init_with_stream): Similar.
- (folder_read): Handle eof, and set eof on 0 read.
- (folder_seek): Dont pre-read after a seek, and reset eof flag.
- (camel_mime_parser_init_with_fd): Fix doco, no pre-read occurs
- anymore.
- (camel_mime_parser_init_with_stream): Same.
-
- * providers/local/camel-mbox-summary.c
- (camel_mbox_summary_sync_mbox): Add a \n to end of content of each
- message, not at start.
-
- * providers/local/camel-mbox-folder.c (mbox_append_message):
- Instead of appending "\nFrom " to a mailbox, start with "From ",
- and append a \n after the message always. For better mutt/elm
- compatability. Also, unlock after we've stat'd.
- (mbox_append_message): Set the message's from_pos exactly as the
- mbox size.
-
-2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-openssl.c (stream_setsockopt): Fixed `set' to
- hold the correct value when setting the flags.
-
- * camel-tcp-stream-raw.c (stream_setsockopt): Fixed `set' to hold
- the correct value when setting the flags.
-
- * camel-mime-filter-tohtml.c (is_protocol): Match file: urls too.
-
-2002-08-28 Not Zed <NotZed@Ximian.com>
-
- * tests/folder/test8.c (test_add_message): Change message number
- to use hex, so its properly unique.
- (worker): Same here.
-
- * tests/misc/utf7.c: some utf7/utf8 tests.
-
- * providers/imap/camel-imap-utils.c (imap_mailbox_encode): Changed
- to use camel_utf8_utf7 code.
- (imap_mailbox_decode): As above, using camel_utf8_utf7. 'UTF-7'
- isn't a widely support iconv() codeset, and besides the new code
- is simpler.
-
- * camel-utf8.[ch]: robust utilities for working with utf8 and utf7.
-
-2002-08-27 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-folder-thread.c (camel_folder_thread_messages_new): Now
- takes a third argument to specify whether or not to group messages
- by subject when threading. It seems some people don't want this
- feature (see bug #22791 for details).
- (thread_summary): If thread_by_subject is enabled, group
- un-threaded messages by subject otherwise don't bother.
-
-2002-08-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-command.c
- (camel_imap_response_free_without_processing): If the response is
- NULL, just return. (now works the same way as imap_response_free
- which allowed a NULL response argument). Fixes bug #25491.
-
-2002-08-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c:
-
- * providers/imap/camel-imap-folder.c:
-
- * providers/imap/camel-imap-command.c: Lock the
- CamelService->priv->connect_lock instead of using our own
- command_lock. This fixes bug #28177.
-
-2002-08-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_helo): If we fail to
- send the EHLO/HELO command successfully, set transport->connected
- to FALSE when we close the tcp connection. Also updated to work on
- an IPv6 network.
- (smtp_connect): transport->authtypes can be NULL, so NULL-protect
- the call to g_hash_table_size() - this should fix a warning that
- was reported on the evolution@ximian.com mailing list.
- (smtp_set_exception): If the status message is multi-line, add a
- \n between lines.
- (connect_to_server): If we are going to ignore the EHLO/HELO error
- as if it were non-fatal, then we should clear the exception.
-
-2002-08-22 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c (imap_noop): If current_folder
- is not NULL and the summary for that folder is dirty, sync the
- flags rather than sending a NOOP.
-
- * providers/imap/camel-imap-utils.c (imap_parse_list_response):
- Workaround for Courier imap's brokeness when LSUBing the INBOX
- folder when it isn't subscribed to. Fixes bug #28929.
-
-2002-08-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c (connect_to_server): If
- imap_get_capability() fails, after unlocking the command_lock,
- disconnect the service.
-
-2002-08-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-session.c (get_service): Don't register the noop timeout
- here anymore, we're gonna handle all this in the mailer now.
- (camel_session_register_timeout): Removed.
- (camel_session_remove_timeout): Removed.
-
-2002-08-28 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store.c (construct): Load store
- summary if it exists.
- (can_work_offline): Just see if we have any folders to say whether
- we can work offline or not. Should probably always just return
- true.
-
-2002-08-27 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store-summary.[ch]: New files to
- handle offline definition of folders, etc.
-
- * camel-url.h: Define CamelURL to be struct _CamelURL rather than
- anonymous struct.
-
- * camel-store-summary.[ch]: a few api tweaks. Also, the summary
- header is versioned separately at each level, so that version
- upgrades can be handled separately. Renamed FolderInfo ->
- StoreInfo to avoid namespace with current FolderInfo code. This
- should be reversed when the FolderInfo code is rationalised to
- this new base.
-
-2002-08-23 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-command.c (camel_imap_command): domt
- encode folder name.
-
- * providers/imap/camel-imap-folder.c (do_copy): dont encode folder
- name.
- (do_append): dont encode folder name.
-
- * providers/imap/camel-imap-store.c (get_folder_status): don
- encode folder name in imap request.
- (get_folder_online): here too for creating folder.
- (rename_folder): Assume the incoming 'new name' is a utf8 path,
- whereas the 'old name' is as from get folder info (raw).
- (create_folder): Dont encode parent_name, assume its the raw
- thing.
-
-2002-08-22 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store.c (get_folder_online): Select
- based on unconverted name.
- (imap_build_folder_info): New function to create a folderinfo
- properly based on raw name.
- (subscribe_folder): Use above helper.
- (imap_folder_effectively_unsubscribed): Same here.
- (imap_forget_folder): Same here.
- (get_one_folder_offline): "
-
-2002-08-21 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store.c
- (parse_list_response_as_folder_info): Setup path properly, as
- decoded path with / separator. Setup full_name as non-decoded raw
- name. Keep url as decoded path but with server separator
- ... (ick).
- (create_folder): Dont call build_path anymore, get_folders() does
- it for us.
- (subscribe_folder): Build the path ourself.
- (imap_folder_effectively_unsubscribed): Same here.
- (get_subscribed_folders): list using %S not %F, we're using the
- raw server provided name directly.
- (subscribe_folder): As above, for SUBSCRIBE.
- (unsubscribe_folder): Same here.
- (delete_folder): Same.
- (rename_folder_info): Same here for source name.
- (rename_folder): And here?
- (get_folders_online): Amd here.
-
- * providers/imap/camel-imap-utils.c:
- (imap_parse_list_response): Dont decode the mailbox.
-
- * camel-utf8.[ch]: some new utf8 & utf7 utilities.
-
- * providers/imap/camel-imap-utils.c (imap_mailbox_encode):
- (imap_mailbox_decode): use camel_utf7/8* functions instead.
- : Add config.h and alloca.h headers.
-
-2002-08-20 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c (imap_noop): Override the
- default noop implementation.
-
- * camel-store.c (camel_store_noop): New virtual method to ping a
- store.
-
- * camel-session.c (get_service): Register a timeout that calls
- camel_store_noop() every 10 minutes.
-
-2002-08-19 Peter Williams <peterw@ximian.com>
-
- Plug some large leaks in the indexing code.
-
- * camel-mime-filter-index.c (camel_mime_filter_index_set_index): Unref
- the old index if necessary.
-
- * camel-text-index.c (camel_text_index_get_type): Give it the correct
- parent type so that finalize handlers chain.
- (camel_text_index_name_get_type): Here too.
- (camel_text_index_cursor_get_type): Here too.
- (camel_text_index_key_cursor_get_type): Here too.
-
-2002-08-20 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c (get_folders): Don't let the
- minimum recursive depth be negative.
- (get_folders): Pass flags & CAMEL_FOLDER_INFO_SUBSCRIBED as the
- `lsub' argument to get_folders_online() otherwise we'll end up
- doing a LIST when we really wanted to do an LSUB.
-
- * camel-session.c: Set CAMEL_URL_NEED_PATH for the vFolder
- provider.
-
-2002-08-19 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-store.c: Changed the STOREINFO_VERSION
- - should fix bug #28571, but if it doesn't - oh well, I don't
- care. I'm considering it fixed no matter what.
-
- * camel-gpg-context.c (gpg_sign): If the diagnostics are empty,
- just explain that gpg failed to execute.
- (gpg_encrypt): Same.
- (gpg_decrypt): And here too.
-
- * tests/lib/camel-test.c (camel_test_init): Updated to pass the
- needed arguments to camel_init() and to init gthreads before camel
- (since camel expectes it to be initialised already).
-
- * tests/lib/session.c: #include <config.h> needed for
- ENABLE_THREADS so that sizeof (CamelSessionClass) gives the
- correct size.
-
- * tests/*: Updated to work with camel API changes.
-
-2002-08-16 Dan Winship <danw@ximian.com>
-
- * camel-session.c (get_service): If the passed-in URL contains a
- path, but the service doesn't allow paths, then the path part must
- be a folder name, and we should ignore it here. #29010
-
-2002-08-16 Chris Toshok <toshok@ximian.com>
-
- * camel-arg.h: remove the outer parens from the expansion of
- camel_argv_{start,end} since at least on freebsd va_end is
- #defined to be nothing, so (va_end(..)) causes a syntax error.
-
-2002-08-16 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store.c (get_folders): Fix the logic
- check for working out if we add inbox or not, we do it if we
- listed the namespace.
-
-2002-08-15 Not Zed <NotZed@Ximian.com>
-
- * camel-store.h (CamelFolderInfo): added a flags field, defined
- some flags, currently only used by imap. This and below is first
- step to getting incremental folder tree loading.
-
- * providers/imap/camel-imap-store.c (get_subscribed_folders): If
- the subscribed list is empty, always add inbox.
- (imap_connect_offline): If the 'storeinfo' namespace isn't the
- same as our own (if its set), then ignore it, assume we changed
- settings. Otherwise you can't change the namespace ...
- (get_folders): allow the env variable CAMEL_IMAP_MAX_DEPTH to
- override the default maximum recursion depth if 10 levels.
- (camel_imap_store_readline): Dont depend the log debug on d(x)
- being defined.
- (get_folder_info_online): changed to use new functions/names.
-
-2002-08-14 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-store.c (get_subscribed_folders):
- Removed the by_hand sillyness. Return an array instead.
- (get_folders): New method to get folders recursively without
- having to use '*'. Uses '%', and stops if it gets too deep
- (current max of 10).
- (get_folder_counts): New method to fill out unread counts on
- folderinfo tree.
- (get_subscribed_folders): Fix some failure logic.
-
- * providers/imap/camel-imap-utils.[ch]: Changed IMAP_LIST_FLAGS to
- use the new CamelFolderInfoFlags directly.
-
-2002-08-09 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c (get_temp_uid): New function,
- generate a UID that has better chances of being unique.
- (imap_append_offline): Use it here.
- (imap_transfer_offline): And here.
-
-2002-08-09 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-store.c
- (get_folder_info_online): Tweak how we build the tree based on whether
- a full tree or a subtree is being requested. Fixes subscribe dialog
- on UW servers.
- (get_one_folder_offline): Don't add folders that we're not subscribed
- to; fixes UW folders that weren't being marked as NoSelect because
- the storeinfo doesn't record that information.
-
-2002-08-09 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_rename): When renaming our
- cache, add the "/folders" to the path.
-
-2002-08-08 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set
- some default permanent_flags. This is the other cause of bug
- #28038.
- (imap_refresh_info): After calling camel_imap_command() with a
- NULL format value (this is a shortcut to change the current_folder
- by SELECTing it), call camel_imap_folder_selected(). This may have
- been why permanent_flags never got set on the folder even after
- going online in bug #28038.
- (imap_update_summary): Same here. Also NULL-guard
- camel_imap_response_free().
-
-2002-08-07 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-utils.c (header_encode_param): Oops - outbuf pointed
- to alloca'd memory but we were g_free'ing it after using
- it. Instead use g_malloc for this outbuf buffer since it may be
- kinda large. Also don't depend on a single byte to nul-terminate
- the outbuf buffer so as to be safe with charsets such as UCS2 and
- UCS4, instead keep a pointer to the end of the buffer.
-
- * providers/imap/camel-imap-folder.c (parse_fetch_response): Only
- add the stream to the gdatalist if it is non-NULL.
-
-2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/sendmail/camel-sendmail-transport.c
- (sendmail_send_to): If writing to the sendmail pipe fails, wait
- for the sendmail process to exit before returning. Fixes bug
- #19636.
-
-2002-08-06 Not Zed <NotZed@Ximian.com>
-
- * providers/pop3/camel-pop3-folder.c (cmd_list): Add messageinfo
- to id table, and store array index in messageinfo too.
- (fi_to_index): Removed, use index member of messageinfo, fixed
- callers.
- (cmd_builduid): Parse the headers of the data, and ignore any
- status or x-status headers.
- (uid_to_fi): Removed, use the hashtable instead.
- (id_to_fi): Same.
- (cmd_uidl): Add messageinfo to uid table.
- (pop3_refresh_info): Setup hash tables, and fill out uid table for
- nonuid capable servers.
- (pop3_finalize): Destroy hash tables. Only free resources if the
- uids table is not null (if finalised before we ran refresh info).
- (id_to_fi): Removed. Use id hash table instead, fixed caller.
-
-2002-08-05 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel.c (camel_init): Always set a g_atexit handler to
- flush/save the camel-certdb.
-
- * providers/imap/camel-imap-store.c (get_folder_info_online): If
- we are asking for the toplevel folders, use the IMAP store's
- namespace as the toplevel folder rather than an empty
- string. Fixes bug #28574.
- (imap_forget_folder): Rearrange the code so that name can never be
- used uninitialised.
-
- * providers/imap/camel-imap-utils.c (imap_namespace_concat):
- Removed.
-
-2002-08-05 Dan Winship <danw@ximian.com>
-
- * camel-folder-summary.h (CamelMessageFlags): Add
- CAMEL_MESSAGE_ANSWERED_ALL, for folders that can distinguish a
- reply-to-sender from a reply-to-all. (eg, Exchange)
-
- * providers/local/camel-local-folder.c (local_init): Add
- ANSWERED_ALL to permanent_flags too.
-
-2002-08-02 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes bug #26237.
-
- * providers/imap/camel-imap-command.c
- (imap_command_strdup_vprintf): Don't prepend any namespace shit in
- the %F case.
-
- * providers/imap/camel-imap-utils.c (imap_parse_list_response):
- Don't strip off the namespace.
-
-2002-08-01 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-store.c (create_folder): If the folder
- name contains the directory separator, reject it.
-
-2002-08-02 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-mbox-summary.c (mbox_summary_check): Clear
- the summary after building the 'removed uid' list.
-
- * camel-folder-summary.c (message_info_load): revert jeff's patch
- below, and do it slightly differently, and stop the auto-reformatting
- bullshit.
-
-2002-08-02 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-maildir-summary.c (message_info_new): If
- we get a duplicate, just re-use the old info.
- (remove_summary): Add any removed to a change list.
- (maildir_summary_check): If we find new ones in 'cur' track them
- in the change list. Removed FIXME about it. For #18348.
-
-2002-08-01 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-folder-summary.c (message_info_load): Do more error
- checking to prevent crashing if we fail to read a string for
- example.
-
-2002-07-29 Peter Williams <peterw@ximian.com>
-
- Fix bug #28238
-
- * providers/imap/camel-imap-store.c (imap_forget_folder): New
- function, breaking out the code in delete_folder() to handle when
- a folder is removed.
- (imap_folder_effectively_unsubscribed): New function, breaking out
- the code in unsubscribe_folder() to handle when a folder is
- unsubscribed.
- (imap_check_folder_still_extant): New function, check whether a
- folder exists by LIST'ing it.
- (imap_store_refresh_folders): Add code here to check if the folder
- still exists if we're unable to refresh its info. If so, pretend
- that it was unsubscribed (to get the mailer to remove it from
- the tree) and delete its cache. If somehow this goofs up, the
- worst that can happen is that we must redownload the headers.
- (get_folder_status): If we can't get the status, behave as above.
- (delete_folder): Call imap_forget_folder() where the bulk of this
- code has gone.
- (unsubscribe_folder): Call imap_folder_effectively_unsubscribed()
- where the bulk of this code has gone.
-
-2002-07-31 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (parse_fetch_response):
- Disable my fix to not cache headers as it means that each time we
- load the message, we've got to re-fecth the headers.
-
- * camel-mime-filter-tohtml.c (is_addr_char): Don't use
- "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't in most
- locales.
- (is_url_char): Same.
- (is_trailing_garbage): Same.
- (is_domain_name_char): New macro for dns-valid characters
- (email_address_extract): Use is_domain_name_char rather than
- is_addr_char for the part after the @.
-
-2002-07-30 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream.c (camel_tcp_address_new): Update the comment.
-
- * camel-tcp-stream-raw.c (socket_connect): If building with IPv6
- support and the address is an IPv6 address, connect using a
- sockaddr_in6 otherwise use the standard IPv4 sockaddr_in
- structure.
- (stream_get_local_address): Fix to work with IPv6 addresses.
- (stream_get_remote_address): Same.
-
- * camel-tcp-stream-openssl.c (socket_connect): Same as above.
- (stream_get_local_address): Fix to work with IPv6 addresses.
- (stream_get_remote_address): Same.
-
- * camel-tcp-stream-ssl.c (stream_connect): If building with IPv6
- support and the address is an IPv6 address, initialise the
- PRNetAddr accordingly.
- (stream_get_local_address): Fix to work with IPv6 addresses.
- (stream_get_remote_address): Same.
-
-2002-07-30 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream-openssl.c (ssl_verify): X509_digest() needs a
- pointer to an int len. Also fixed some other compiler errors.
-
- * camel-certdb.h: #include <stdio.h>
-
-2002-07-30 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-certdb.c: New source file implementing a very basic
- certificate database. This is mostly just here because the Mozilla
- NSS certdb seems to not be working for everyone's Evolution
- install (works fine for me and Ettore but not many other people).
-
- * camel-tcp-stream-ssl.c (ssl_bad_cert): If we have this
- certificate in our own CamelCertDB, then get the trust value from
- that and only prompt the user if the trust is unknown.
-
- * camel-tcp-stream-openssl.c (ssl_verify): Same.
-
- * camel.c (camel_init): Create our default certdb.
-
-2002-07-30 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_transfer_offline): Use
- the same command-counter mojo that the append code uses in case
- the use tries to copy the same message to the folder repeatedly.
-
-2002-07-29 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-driver.c (unset_flag): New filter action to unset a
- system flag. The exact opposite of set_flag.
-
-2002-07-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/local/camel-local-store.c (get_folder): If the path
- exists and is a directory, return non-NULL. Missed this before
- which is how we could return NULL even on success. Oops.
-
-2002-07-26 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-summary.c
- (camel_imap_summary_add_offline_uncached): The flags'n'tags
- copy was unnecessary. Removed it.
-
-2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
-
- If we're gonna do an elite hack, lets do it right.
-
- * providers/local/camel-local-store.c (get_folder): On success,
- return non-NULL so that our caller doesn't have to depend on 'ex'
- being non-NULL in order to work correctly.
-
- * providers/local/camel-mbox-store.c (get_folder): Don't bother
- checking if an exception was set, just use the return value of
- camel-local-store's get_folder.
-
- * providers/local/camel-maildir-store.c (get_folder): Same as the
- mbox change.
-
- * providers/local/camel-mh-store.c (get_folder): Here too.
-
-2002-07-25 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-summary.h
- (camel_imap_summary_add_offline_uncached): Prototype.
-
- * providers/imap/camel-imap-summary.c
- (camel_imap_summary_add_offline_uncached): New function to add an
- uncached message to the summary while offline.
-
- * providers/imap/camel-imap-store.c (imap_connect_online): Only
- refresh the folders if the disco diary is empty (ie, we're not
- resyncing.)
-
- * providers/imap/camel-imap-folder.c (imap_transfer_offline): Emit
- an event for the source if deleting its originals. Also, if we
- can't load the message, still process it, using the new imap
- summary function.
-
-2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c: Remove "possibly
- non-fatal" exception strings, all exceptions are fatal unless
- their caller decides otherwise.
- (connect_to_server): If smtp_helo() fails due to us getting
- disconnected, treat the exception as fatal.
- (smtp_connect): Abort if smtp_helo() fails and we got
- disconnected.
- (smtp_send_to): If smtp_mail() fails, abort the send operation.
- (smtp_set_exception): If respbuf was NULL, then we got
- disconnected and so update our state accordingly.
- (smtp_disconnect): Only send a QUIT if we are still in the
- connected state (or, at least think we are).
-
-2002-07-24 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c
- (imap_expunge_uids_resyncing): It would help to mark the UIDs as
- deleted before we try to expunge them
- (in the case when no other UIDs were marked deleted this didn't
- happen.) Also fix an FMR.
- (imap_expunge_uids_offline): Trigger a folder_changed event with
- our own changeinfo because camel_imap_response_free won't be able
- to do that for us.
-
-2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-driver.c (do_shell): Renamed from
- shell_exec(). Also, we now want to pass argc/argv on to the
- CamelFilterDriverShellFunc.
- (camel_filter_driver_set_shell_func): Renamed a bit.
-
- * camel-filter-search.c (pipe_message): Renamed from shell_exec().
-
-2002-07-25 Not Zed <NotZed@Ximian.com>
-
- * camel-folder-summary.c (camel_folder_summary_save): When writing
- the summary, use TRUNC flag, duh. Also, write to a temp file
- first, and rename when closed successfully, and check ferror() and
- fclose() against 0 rather than -1.
-
- * providers/local/camel-mbox-summary.c (summary_update): Decrement
- i if we remove the summary item so we dont skip every 2nd one.
-
- * camel-mime-utils.c (header_decode_mailbox): Use
- rfc2047_decode_word explicitly incase we just found an encoded
- word. Stops us re-decoding the string twice, which fixes memory
- corruption in #26330 when the HUGE string is used later.
-
-2002-07-24 Not Zed <NotZed@Ximian.com>
-
- * camel-partition-table.c (camel_key_table_next): Didn't unlock if
- we exited on an empty key list.
-
- * providers/imap/camel-imap-folder.c (imap_expunge_uids_online):
- Sync before doing an expunge if we dont have uidplus. See #25766.
- (imap_expunge_uids_resyncing): Same here.
-
- * providers/imap/camel-imap-store.c (get_folder_info_online):
- Duplicated the very much hack in imap_store_refresh_folders() to
- avoid a deadlock in #27959. A decent fix has to wait for a
- rewrite.
- (get_folder_online): Move folders to a subdirectory of
- storage_path, rather than in it. Bye bye everyones settings. See
- 24947.
- (get_folder_offline): And here too.
- (delete_folder): And here too.
- (rename_folder): and here too.
- (get_folder_info_offline): And here too. I love code reuse.
-
-2002-07-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-tcp-stream.c: #include <string.h> for memcpy.
-
-2002-07-22 Not Zed <NotZed@Ximian.com>
-
- * camel-vee-folder.c (vee_set_message_user_tag): Oops, forgot to
- implement this. Fixes #24604.
-
-2002-07-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-filter-crlf.c (filter): Only add a \r if the
- character before the \n wasn't already a \r - this covers for when
- people add DOS files as attachments. Fixes bug #28056.
-
-2002-07-19 Not Zed <NotZed@Ximian.com>
-
- * camel-mime-part-utils.c (convert_buffer): Changed to use a
- different length calculator.
-
-2002-07-17 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-lock.c: Add the appropriate #include for the _() macro.
-
-2002-07-17 Not Zed <NotZed@Ximian.com>
-
- * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Got
- rid of the stupid "tryagain" semantics, which didn't work.
- (pop3_connect): Fixed here to only retry under proper conditions.
-
-2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-filter-canon.c (filter): When CRLF encoding, "empty"
- (after stripping trailing whitespace characters) lines need to end
- in CRLF also, not just lines with data in them.
-
-2002-07-16 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_sync_online): Clean
- up some improper usage of CamelExceptions (looking at
- camel_exception_is_set when ex = NULL).
-
- * providers/imap/camel-imap-store.c (get_folder_online): Here too.
-
- * providers/imap/camel-imap-message-cache.c
- (camel_imap_message_cache_new): Nothing sets the exception so
- don't bother to check it at the end of this function. Prevents
- a warning about checking a NULL exception's value.
-
-2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_helo): Make the
- standard AUTH format take priority over the AUTH= priority, since
- sometimes servers only list a subset of the supported authtypes in
- the AUTH= response while they list all authtypes in the standard
- AUTH response. Fixes "bug" #27841.
-
-2002-07-15 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_get_message): If we're
- not online and the message isn't in our cache, give up.
-
-2002-07-15 Not Zed <NotZed@Ximian.com>
-
- * camel-filter-search.c (get_label): Removed.
- (get_score): Removed. Labels & scores are stored in tags, we
- already have a function to get tags.
- (user_tag): Fail if we dont get valid arguments, it must be a
- string type.
- (system_flag): Same here.
-
-2002-07-15 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-mime-utils.c (header_msgid_generate): Try to get the FQDN
- from the results of gethostname(). If that fails, then fall back
- to the results gotten from gethostname() or if that fails just use
- "localhost.localdomain". Addresses bug #17416.
- (header_decode_param): Protect against a NULL value.
-
- * providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of
- the constant 'required' variable, just use the value when calling
- set_best_encoding.
-
- * providers/local/camel-local-provider.c: Changed the mbox and
- spool provider descriptions to try and be more clear. I'm not sure
- I like the mention of Evolution in the mbox provider description,
- but there was no other way to make it clear that it MOVED mail out
- of the mbox folder into a folder managed by Evolution without
- mentioning Evolution. *sigh* Anyways, to me "retrieve" means move,
- but apparently this isn't clear to the weak minded.
-
-2002-07-15 Peter Williams <peterw@ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_rescan): >= is not
- appropriate here because the sequences are 1-based; so seq =
- summary_len is valid. Hopefully addresses 15646, because this
- caused the last message in a folder to be reloaded, replacing its
- CamelMessageInfo, and the tree view was using the old
- CamelMessageInfo.
-
-2002-07-13 Not Zed <NotZed@Ximian.com>
-
- * camel-folder-summary.c
- (camel_folder_summary_info_new_from_message): Only assign a uid if
- indexing is enabled. This stops us always assigning a uid in the
- imap folder and disco folder?
-
- * providers/imap/camel-imap-folder.c (imap_update_summary): Also
- check the uid is set at all, another bit of a fix for #15667.
-
-2002-07-09 Not Zed <NotZed@Ximian.com>
-
- * providers/imap/camel-imap-folder.c (imap_update_summary): Check
- for existing messages of the same uid before doing anything. If
- it exists, do nothing (perhaps it should merge?). A dirty hack for
- #15667.
-
-2002-07-12 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
- On error, do not unref the parts gotten using
- camel_multipart_get_part() since that function does not ref the
- parts. Also don't forget to reset the decrypted stream before
- trying to parse it ;-)
-
-2002-07-12 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-multipart.c (camel_multipart_class_init): Updated to not
- use camel_type_get_global_classfuncs() since this is just a cast
- macro now.
-
- * providers/imap/camel-imap-folder.c (get_content): Handle
- multipart/encrypted parts too.
-
- * camel-mime-part-utils.c
- (camel_mime_part_construct_content_from_parser): Handle
- multipart/encrypted types too.
-
-2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/smtp/camel-smtp-transport.c (smtp_data): Don't let any
- parts have a binary encoding.
-
-2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
-
- Fixes bug #27672
-
- * camel-mime-filter-bestenc.c: Conditionally #include <config.h>
-
- * camel-mime-filter-linewrap.c: Same here... although we could
- probably just get rid of this filter? We don't seem to use it
- anywhere since we try to QP/Base64 encode any text parts with long
- lines. Besides, we couldn't use this filter for SMTP anyway since
- we can't risk possibly linewrapping a binary mime part. I dunno,
- maybe this could be useful in the composer though? *shrug*
-
- * providers/smtp/camel-smtp-transport.c (smtp_data): Always call
- camel_mime_message_set_best_encoding() even if the server allows
- 8BITMIME and even if we don't have any 8bit parts because we may
- have parts with long lines (>998 octets) which also need to be
- encoded.
-
- * camel-mime-message.c (check_8bit): Don't forget to check for the
- binary encoding here as well.
-
-2002-07-11 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/imap/camel-imap-folder.c (parse_fetch_response): If we
- are fetching HEADERs, don't cache the stream - instead just create
- a mem-stream and return that. This reduces a significant amount of
- overhead due to disk i/o.
-
- * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
- Don't forget to set an appropriate exception before returning
- NULL.
-
-2002-07-10 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-filter-driver.c (get_message_cb): Make sure message is
- non-NULL before setting the source on it.
-
- * camel-gpg-context.c: Renamed stdin to stdin_fd, stdout to
- stdout_fd, and stderr to stderr_fd in struct _GpgCtx since
- Solaris' stdin/stdout/etderr variables seem to be macros and are
- thus breaking the compilation.
-
-2002-07-04 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/nntp/camel-nntp-provider.c: Set the IS_SOURCE provider
- flag.
-
- * providers/pop3/camel-pop3-store.c: Change all exceptions to
- report which POP server failed (and tried to make a few of the
- exceptions a bit more clear).
-
-2002-07-03 Not Zed <NotZed@Ximian.com>
-
- * camel-vee-folder.c (vee_sync): If we get an exception from the
- child sync, update the exception string so we know where it really
- was.
-
- * camel-vee-store.c (change_folder): Util to emit created/deleted
- events.
- (vee_get_folder): If the folder has path elements, and its parents
- dont exist, create dummy no-select nodes. This is for bug #4246.
- (vee_delete_folder): Use change_folder() to save code.
-
- * providers/local/camel-mbox-folder.c (mbox_set_message_flags):
- Only set xevchange if we're storing status headers in pine format,
- so we dont do a full sync every time any flag changes.
-
-2002-06-27 Not Zed <NotZed@Ximian.com>
-
- * camel-object.c (camel_object_hook_event): Take a void object arg.
- (camel_object_remove_event): "
- (camel_object_unhook_event): "
- (camel_object_trigger_event): ", also, execute events in the same
- order they were added, i.e. reverse hook-list order.
-
-2002-06-28 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_ctx_get_argv): Don't use
- --no-auto-key-retrieve, this option has apparently been deprecated
- in gpg 1.0.7.
-
-2002-06-27 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while
- errno is EINTR or EAGAIN. Also make sure to completely read stdout
- and stderr by keeping better state.
- (gpg_ctx_parse_status): In the case of a NODATA response from gpg,
- try to use the diagnostics that gpg may have written to its
- stderr.
- (gpg_verify): Check that the gpg process has not exited.
- (gpg_ctx_op_wait): Make sure we haven't already exited (as by
- gpg_ctx_op_is_exited()) and if we have, retrieve the exit status
- from the gpg context.
-
-2002-06-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-pgp-context.[c,h]: Removed.
-
- * camel-pgp-mime.c (pgp_mime_part_sign_restore_part): Removed.
- (pgp_mime_part_sign_prepare_part): Removed.
- (camel_pgp_mime_part_sign): Removed.
- (camel_pgp_mime_part_verify): Removed.
- (camel_pgp_mime_part_encrypt): Removed.
- (camel_pgp_mime_part_decrypt): Removed.
- (camel_pgp_mime_is_rfc2015_signed): Documented.
- (camel_pgp_mime_is_rfc2015_encrypted): Same.
-
-2002-06-26 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt):
- Oops, this needs to take a userid argument.
-
- * camel-gpg-context.c (gpg_clearsign): Removed (never did anything
- anyway).
-
- * camel-pgp-context.c (pgp_clearsign): Removed.
-
- * camel-cipher-context.c (camel_cipher_clearsign): Removed unused
- method.
-
- * camel-multipart-encrypted.[c,h]: New class implementing the
- multipart/encrypted content type. Contains methods for encrypting
- and decrypting a multipart/encrypted MIME object.
-
- * camel-gpg-context.c (gpg_ctx_parse_status): Check for NODATA
- too.
-
-2002-06-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * providers/local/camel-local-provider.c: Remove the #include for
- camel-spoold-store.h
-
-2002-06-26 Not Zed <NotZed@Ximian.com>
-
- * camel-gpg-context.c: Include <sys/time.h> for struct timeval.
-
- * providers/local/camel-local-provider.c
- (camel_provider_module_init): Removed spoold provider. The spool
- provider does it now.
- (): Spoold doesn't exist anymore, remove its header.
-
-2002-06-25 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-spool-folder.c (camel_spool_folder_new):
- Support a new xstatus option - folders update/honour the
- Status/X-Status headers in addition to X-Evolution.
-
- * providers/local/camel-local-summary.c
- (camel_local_summary_write_headers): If supplied with an
- additional status or xstatus arg, write a Status header and/or
- X-Status. Also fix the case of properly terminating the headers
- if an xev line isn't supplied.
-
- * providers/local/Makefile.am (libcamellocalinclude_HEADERS,SOURCES):
- Removed spoold-store.[ch].
-
- * providers/local/camel-local-provider.c
- (camel_provider_module_init): For the spoold type, just use the
- spool store instead.
-
- * providers/local/camel-spool-store.h: Added a type field, so the
- 1 store can implement different types without having to subclass.
-
- * providers/local/camel-spool-store.c
- (camel_spool_store_get_toplevel_dir): Removed, inherits from local
- store now.
- (construct): If we're pointing to a file, treat it as mbox mode,
- otherwise treat it as 'elm' mode.
- (get_folder): Only test for INBOX in mbox mode.
- (get_folder_info_elm):
- (get_folder_info_mbox): Two alternatives for getting folder info,
- depending on the type of folder we're looking at.
- (get_folder_info_mbox): Make the url include the protocol.
- (scan_dir): "
-
- * providers/local/camel-spoold-store.c
- (camel_spoold_store_get_toplevel_dir): Removed, inherits from
- local store now.
-
- * camel-folder.c (get_message_user_tag): Dont use a
- g_return_if_fail for info==NULL. This is not an error.
- (set_message_user_tag): And same here.
- (set_message_user_flag): Sigh, and here.
- (get_message_user_flag): And here.
- (set_message_flags): and here ...
- (get_message_flags): Dum de dum, de done at last.
-
- * providers/local/camel-mbox-folder.c (mbox_get_message): Check
- for new messages whenever we retrieve one. In the common
- no-update case, this is a single stat.
- (mbox_get_message): If we need to rescan, then force a full rescan
- to make sure it does the right thing.
- (mbox_get_message): Cleanup the exception handling a bit, if we do
- get an error, propagate any folder changes anyway as well.
- (mbox_set_message_user_flag): Argh more of these stupid g_returns
- taht shouldn't be.
- (mbox_set_message_user_tag): Here too.
- (mbox_set_message_flags): If the read flag is being changed, mark
- it as an xevchange (i.e. Status line change).
-
- * providers/local/camel-mbox-summary.c (summary_rebuild): Merged
- into summary_update.
- (summary_update): Changed to allow it to update existing lists of
- messages without clearing out the summary.
- (mbox_summary_check): Dont clear the summary, just re-scan.
- (message_info_new): Attempt to support the 'Status: RO' elm/pine
- thing.
- (camel_mbox_summary_encode_status):
- (camel_mbox_summary_decode_status): Util functions for
- creating/parsing the Status line.
- (camel_mbox_summary_sync_mbox): Write out the status line if we're
- going to try support it.
- (camel_mbox_summary_xstatus): Implement option to control
- read/write of (x-)status.
- (message_info_new): Do x-status stuff based on run-time option.
- (camel_mbox_summary_sync_mbox): "
- (mbox_summary_add): If x-status enabled, then always add
- status/x-status headers to message.
-
- * camel-folder-summary.c (summary_assign_uid): If the messageinfo
- is already in the summary, AND is the same messageinfo, dont do
- anything, return a value to indicate this.
- (camel_folder_summary_add): Do nothing if this info already in the
- summary, so we can perform updates.
-
-2002-06-24 Not Zed <NotZed@Ximian.com>
-
- * providers/local/camel-local-summary.c
- (camel_local_summary_check_force): New method to force the next
- summary check to be a full check, set if a mismatch occurs.
-
- * camel-folder-summary.c (camel_folder_summary_load): If we have
- no summary path set, dont do any i/o, rather than abort.
- (camel_folder_summary_save): "
- (camel_folder_summary_header_load): "
-
- * providers/local/camel-spool-store.h: Inherit from camel mbox
- store, even if we override almost everything.
-
- * providers/local/camel-local-folder.c
- (camel_local_folder_construct): If the base path points to a file,
- use that as the folder path as well.
-
- * providers/local/camel-spool-folder.h: Inherit from
- camel-mbox-folder.
-
- * providers/local/camel-spool-summary.c (spool_summary_sync_full):
- Use camel_mbox_summary_sync_mbox to do most of the work.
-
- * providers/local/camel-spool-summary.[ch]: Make spool-summary
- inherit from mbox summary rather than foldersummary.
-
- * providers/local/camel-mbox-summary.c (mbox_summary_sync): Make
- sync_full/quick virtual methods.
- (camel_mbox_summary_sync_mbox): The full sync method put into a
- simple function that sync's from fd to fd.
- (mbox_summary_sync_full): Use summary_sync_mbox to do the real
- work.
- (mbox_summary_check): Create removed events if the folder gets
- cleared. Also, dont clear the summary before a rebuild, try to
- merge.
-
-2002-06-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c: #include <sys/time.h>
-
-2002-06-25 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_hash_str): Return the option as
- --digest-algo=<micalg>
- (gpg_ctx_parse_status): Decode more status information and keep
- track of trust and such.
- (gpg_ctx_op_complete): Make sure we aren't waiting for gpg to
- write data to stdout (such as encrypted/decrypted data or a
- signature).
- (gpg_encrypt): Remove the fejj@stampede.org hard-coded value
- (which had only meant to be for testing).
-
-2002-06-24 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_ctx_get_argv): Use --command-fd rather
- than --passphrase-fd since what we really want is an interactive
- mode (besides, --passphrase-fd requires a passphrase to be sent
- before --status-fd will send a NEED_PASSPHRASE status message).
- (gpg_ctx_parse_status): When we encounter a BAD_PASSPHRASE, tell
- the session to uncache it.
- (camel_gpg_context_set_always_trust): Implemented.
-
-2002-06-23 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_ctx_parse_status): Check for ERRSIG
- also.
- (gpg_ctx_op_step): Don't try writing a passphrase unless our
- operation requires it.
-
-2002-06-22 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.c (gpg_encrypt): Return -1 on error.
- (gpg_decrypt): Same.
- (gpg_sign): Again here.
- (gpg_ctx_op_step): Only attenmpt to read from the status-fd if we
- are not already 'complete'.
-
- * camel-pgp-mime.c (camel_pgp_mime_part_encrypt): Flush the
- filtered stream.
-
-2002-06-21 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-gpg-context.[c,h]: New source files implementing the
- CamelCipherContext class for gnupg.
-
- * camel-pgp-context.c (camel_pgp_context_new): Return a
- CamelCipherContext.
-
- * camel-pgp-mime.c (camel_pgp_mime_part_decrypt): Take a
- CamelCipherContext argument rather than a CamelPgpContext since we
- now have a CamelGpgContext also.
- (camel_pgp_mime_part_encrypt): Same.
- (camel_pgp_mime_part_verify): Same.
- (camel_pgp_mime_part_sign): Same.
-
-2002-06-20 Jeffrey Stedfast <fejj@ximian.com>
-
- * camel-digest-folder.c: Updated to support searching as well as
- making it use CamelDigestSummary.
-
- * camel-digest-summary.[c,h]: New class to handle the summary for
- CamelDigestFolder.
-
- * camel-tcp-stream-ssl.c (set_errno): PR_IO_TIMEOUT_ERROR should
- map to ETIMEDOUT and not EAGAIN.
- (stream_connect): Reset the PR_Poll() timeout back to 2 minutes as
- this wasn't the problem afterall.
-
-2002-06-19 Not Zed <NotZed@Ximian.com>
-
- * camel-mime-parser.c (folder_scan_drop_step): Drop back to