Compare commits

...

11 Commits

Author SHA1 Message Date
B. Petersen a8450cc826 Merge branch 'master' of https://github.com/r10s/deltachat-android 2017-05-04 22:53:10 +02:00
B. Petersen 82aac5d383 Update messenger-backend submodule. 2017-05-04 22:52:56 +02:00
Björn Petersen a24c14ef62 Update CHANGELOG.md 2017-05-04 22:51:58 +02:00
B. Petersen 902702ee01 Add a script for updating the deltachat-core submodule. Use with care. 2017-05-04 22:49:55 +02:00
B. Petersen 9d653a3607 Bump version. 2017-05-04 22:48:40 +02:00
B. Petersen bee770bd2e Support camera on Nougat. 2017-05-04 18:12:48 +02:00
B. Petersen 3e77ae505d Update messenger-backend submodule. 2017-05-04 01:37:40 +02:00
B. Petersen 66b7a447ca Undef unused load extensions by defining SQLITE_OMIT_LOAD_EXTENSION. 2017-05-04 01:37:23 +02:00
B. Petersen 3eded4d59b Remove unused POP3 code from JNI. 2017-05-04 01:36:39 +02:00
B. Petersen 7682caffb6 Use sqlite3 from deltachat-core. 2017-05-04 01:24:39 +02:00
B. Petersen df980b266a Use libEtPan from deltachat-core. 2017-05-04 01:06:53 +02:00
586 changed files with 211 additions and 372587 deletions
+5
View File
@@ -1,5 +1,10 @@
# Delta Chat Changelog
## v0.1.36
2017-05-04
* Support camera on Android Nougat
## v0.1.34
2017-05-03
+3 -2
View File
@@ -76,7 +76,7 @@ android {
}
}
defaultConfig.versionCode = 34
defaultConfig.versionCode = 36
sourceSets.main {
jniLibs.srcDir 'libs'
@@ -117,6 +117,7 @@ android {
defaultConfig {
minSdkVersion 14 // 14: Android 4.0 Ice Cream Sandwich 2011 (Telegram default), 21: Android 5.0 Lollipop 2014 (recommended for InstantRun)
targetSdkVersion 25 // 25: Nougat. CAVE: Do NOT target "Andoid O" without checking the background tasks carefully, see https://developer.android.com/preview/behavior-changes.html#back-all . As long as we target "Nougat", everything works as expected even for "Andoid O" or later
versionName "0.1.34" // do NOT forget to increase defaultConfig.versionCode!
// in general, we should not change the target without reason; eg. after the switch to Nougat, the camera stops working (see https://inthecheesefactory.com/blog/how-to-share-access-to-file-with-fileprovider-on-android-nougat/en )
versionName "0.1.36" // do NOT forget to increase defaultConfig.versionCode!
}
}
+122 -126
View File
@@ -1093,130 +1093,125 @@ include $(CLEAR_VARS)
LOCAL_MODULE := etpan
LOCAL_CFLAGS += -DHAVE_CONFIG_H=1 -DHAVE_ICONV=1
LOCAL_SRC_FILES := \
./libetpan/src/data-types/base64.c \
./libetpan/src/data-types/carray.c \
./libetpan/src/data-types/charconv.c \
./libetpan/src/data-types/chash.c \
./libetpan/src/data-types/clist.c \
./libetpan/src/data-types/connect.c \
./libetpan/src/data-types/mail_cache_db.c \
./libetpan/src/data-types/maillock.c \
./libetpan/src/data-types/mailsasl.c \
./libetpan/src/data-types/mailsem.c \
./libetpan/src/data-types/mailstream.c \
./libetpan/src/data-types/mailstream_cancel.c \
./libetpan/src/data-types/mailstream_cfstream.c \
./libetpan/src/data-types/mailstream_compress.c \
./libetpan/src/data-types/mailstream_helper.c \
./libetpan/src/data-types/mailstream_low.c \
./libetpan/src/data-types/mailstream_socket.c \
./libetpan/src/data-types/mailstream_ssl.c \
./libetpan/src/data-types/md5.c \
./libetpan/src/data-types/mmapstring.c \
./libetpan/src/data-types/timeutils.c \
./libetpan/src/low-level/imap/acl.c \
./libetpan/src/low-level/imap/acl_parser.c \
./libetpan/src/low-level/imap/acl_sender.c \
./libetpan/src/low-level/imap/acl_types.c \
./libetpan/src/low-level/imap/annotatemore.c \
./libetpan/src/low-level/imap/annotatemore_parser.c \
./libetpan/src/low-level/imap/annotatemore_sender.c \
./libetpan/src/low-level/imap/annotatemore_types.c \
./libetpan/src/low-level/imap/condstore.c \
./libetpan/src/low-level/imap/condstore_types.c \
./libetpan/src/low-level/imap/enable.c \
./libetpan/src/low-level/imap/idle.c \
./libetpan/src/low-level/imap/mailimap.c \
./libetpan/src/low-level/imap/mailimap_compress.c \
./libetpan/src/low-level/imap/mailimap_extension.c \
./libetpan/src/low-level/imap/mailimap_helper.c \
./libetpan/src/low-level/imap/mailimap_id.c \
./libetpan/src/low-level/imap/mailimap_id_parser.c \
./libetpan/src/low-level/imap/mailimap_id_sender.c \
./libetpan/src/low-level/imap/mailimap_id_types.c \
./libetpan/src/low-level/imap/mailimap_keywords.c \
./libetpan/src/low-level/imap/mailimap_oauth2.c \
./libetpan/src/low-level/imap/mailimap_parser.c \
./libetpan/src/low-level/imap/mailimap_print.c \
./libetpan/src/low-level/imap/mailimap_sender.c \
./libetpan/src/low-level/imap/mailimap_socket.c \
./libetpan/src/low-level/imap/mailimap_sort.c \
./libetpan/src/low-level/imap/mailimap_sort_types.c \
./libetpan/src/low-level/imap/mailimap_ssl.c \
./libetpan/src/low-level/imap/mailimap_types.c \
./libetpan/src/low-level/imap/mailimap_types_helper.c \
./libetpan/src/low-level/imap/namespace.c \
./libetpan/src/low-level/imap/namespace_parser.c \
./libetpan/src/low-level/imap/namespace_sender.c \
./libetpan/src/low-level/imap/namespace_types.c \
./libetpan/src/low-level/imap/qresync.c \
./libetpan/src/low-level/imap/qresync_types.c \
./libetpan/src/low-level/imap/quota.c \
./libetpan/src/low-level/imap/quota_parser.c \
./libetpan/src/low-level/imap/quota_sender.c \
./libetpan/src/low-level/imap/quota_types.c \
./libetpan/src/low-level/imap/uidplus.c \
./libetpan/src/low-level/imap/uidplus_parser.c \
./libetpan/src/low-level/imap/uidplus_sender.c \
./libetpan/src/low-level/imap/uidplus_types.c \
./libetpan/src/low-level/imap/xgmlabels.c \
./libetpan/src/low-level/imap/xgmmsgid.c \
./libetpan/src/low-level/imap/xgmthrid.c \
./libetpan/src/low-level/imap/xlist.c \
./libetpan/src/low-level/imf/mailimf.c \
./libetpan/src/low-level/imf/mailimf_types.c \
./libetpan/src/low-level/imf/mailimf_types_helper.c \
./libetpan/src/low-level/imf/mailimf_write_file.c \
./libetpan/src/low-level/imf/mailimf_write_generic.c \
./libetpan/src/low-level/imf/mailimf_write_mem.c \
./libetpan/src/low-level/mime/mailmime.c \
./libetpan/src/low-level/mime/mailmime_content.c \
./libetpan/src/low-level/mime/mailmime_decode.c \
./libetpan/src/low-level/mime/mailmime_disposition.c \
./libetpan/src/low-level/mime/mailmime_types.c \
./libetpan/src/low-level/mime/mailmime_types_helper.c \
./libetpan/src/low-level/mime/mailmime_write_file.c \
./libetpan/src/low-level/mime/mailmime_write_generic.c \
./libetpan/src/low-level/mime/mailmime_write_mem.c \
./libetpan/src/low-level/nntp/newsnntp.c \
./libetpan/src/low-level/nntp/newsnntp_socket.c \
./libetpan/src/low-level/nntp/newsnntp_ssl.c \
./libetpan/src/low-level/pop3/mailpop3.c \
./libetpan/src/low-level/pop3/mailpop3_helper.c \
./libetpan/src/low-level/pop3/mailpop3_socket.c \
./libetpan/src/low-level/pop3/mailpop3_ssl.c \
./libetpan/src/low-level/smtp/mailsmtp.c \
./libetpan/src/low-level/smtp/mailsmtp_helper.c \
./libetpan/src/low-level/smtp/mailsmtp_oauth2.c \
./libetpan/src/low-level/smtp/mailsmtp_socket.c \
./libetpan/src/low-level/smtp/mailsmtp_ssl.c \
./libetpan/src/main/libetpan_version.c \
./libetpan/src/driver/implementation/data-message/data_message_driver.c \
./libetpan/src/driver/interface/maildriver.c \
./libetpan/src/driver/interface/maildriver_tools.c \
./libetpan/src/driver/interface/maildriver_types.c \
./libetpan/src/driver/interface/maildriver_types_helper.c \
./libetpan/src/driver/interface/mailfolder.c \
./libetpan/src/driver/interface/mailmessage.c \
./libetpan/src/driver/interface/mailmessage_tools.c \
./libetpan/src/driver/interface/mailmessage_types.c \
./libetpan/src/driver/interface/mailstorage.c \
./libetpan/src/driver/interface/mailstorage_tools.c
./messenger-backend/libs/libetpan/src/data-types/base64.c \
./messenger-backend/libs/libetpan/src/data-types/carray.c \
./messenger-backend/libs/libetpan/src/data-types/charconv.c \
./messenger-backend/libs/libetpan/src/data-types/chash.c \
./messenger-backend/libs/libetpan/src/data-types/clist.c \
./messenger-backend/libs/libetpan/src/data-types/connect.c \
./messenger-backend/libs/libetpan/src/data-types/mail_cache_db.c \
./messenger-backend/libs/libetpan/src/data-types/maillock.c \
./messenger-backend/libs/libetpan/src/data-types/mailsasl.c \
./messenger-backend/libs/libetpan/src/data-types/mailsem.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_cancel.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_cfstream.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_compress.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_helper.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_low.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_socket.c \
./messenger-backend/libs/libetpan/src/data-types/mailstream_ssl.c \
./messenger-backend/libs/libetpan/src/data-types/md5.c \
./messenger-backend/libs/libetpan/src/data-types/mmapstring.c \
./messenger-backend/libs/libetpan/src/data-types/timeutils.c \
./messenger-backend/libs/libetpan/src/low-level/imap/acl.c \
./messenger-backend/libs/libetpan/src/low-level/imap/acl_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/acl_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/acl_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/annotatemore.c \
./messenger-backend/libs/libetpan/src/low-level/imap/annotatemore_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/annotatemore_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/annotatemore_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/condstore.c \
./messenger-backend/libs/libetpan/src/low-level/imap/condstore_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/enable.c \
./messenger-backend/libs/libetpan/src/low-level/imap/idle.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_compress.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_extension.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_helper.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_id.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_id_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_id_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_id_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_keywords.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_oauth2.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_print.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_socket.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_sort.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_sort_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_ssl.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/mailimap_types_helper.c \
./messenger-backend/libs/libetpan/src/low-level/imap/namespace.c \
./messenger-backend/libs/libetpan/src/low-level/imap/namespace_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/namespace_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/namespace_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/qresync.c \
./messenger-backend/libs/libetpan/src/low-level/imap/qresync_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/quota.c \
./messenger-backend/libs/libetpan/src/low-level/imap/quota_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/quota_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/quota_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/uidplus.c \
./messenger-backend/libs/libetpan/src/low-level/imap/uidplus_parser.c \
./messenger-backend/libs/libetpan/src/low-level/imap/uidplus_sender.c \
./messenger-backend/libs/libetpan/src/low-level/imap/uidplus_types.c \
./messenger-backend/libs/libetpan/src/low-level/imap/xgmlabels.c \
./messenger-backend/libs/libetpan/src/low-level/imap/xgmmsgid.c \
./messenger-backend/libs/libetpan/src/low-level/imap/xgmthrid.c \
./messenger-backend/libs/libetpan/src/low-level/imap/xlist.c \
./messenger-backend/libs/libetpan/src/low-level/imf/mailimf.c \
./messenger-backend/libs/libetpan/src/low-level/imf/mailimf_types.c \
./messenger-backend/libs/libetpan/src/low-level/imf/mailimf_types_helper.c \
./messenger-backend/libs/libetpan/src/low-level/imf/mailimf_write_file.c \
./messenger-backend/libs/libetpan/src/low-level/imf/mailimf_write_generic.c \
./messenger-backend/libs/libetpan/src/low-level/imf/mailimf_write_mem.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_content.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_decode.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_disposition.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_types.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_types_helper.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_write_file.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_write_generic.c \
./messenger-backend/libs/libetpan/src/low-level/mime/mailmime_write_mem.c \
./messenger-backend/libs/libetpan/src/low-level/nntp/newsnntp.c \
./messenger-backend/libs/libetpan/src/low-level/nntp/newsnntp_socket.c \
./messenger-backend/libs/libetpan/src/low-level/nntp/newsnntp_ssl.c \
./messenger-backend/libs/libetpan/src/low-level/smtp/mailsmtp.c \
./messenger-backend/libs/libetpan/src/low-level/smtp/mailsmtp_helper.c \
./messenger-backend/libs/libetpan/src/low-level/smtp/mailsmtp_oauth2.c \
./messenger-backend/libs/libetpan/src/low-level/smtp/mailsmtp_socket.c \
./messenger-backend/libs/libetpan/src/low-level/smtp/mailsmtp_ssl.c \
./messenger-backend/libs/libetpan/src/main/libetpan_version.c \
./messenger-backend/libs/libetpan/src/driver/implementation/data-message/data_message_driver.c \
./messenger-backend/libs/libetpan/src/driver/interface/maildriver.c \
./messenger-backend/libs/libetpan/src/driver/interface/maildriver_tools.c \
./messenger-backend/libs/libetpan/src/driver/interface/maildriver_types.c \
./messenger-backend/libs/libetpan/src/driver/interface/maildriver_types_helper.c \
./messenger-backend/libs/libetpan/src/driver/interface/mailfolder.c \
./messenger-backend/libs/libetpan/src/driver/interface/mailmessage.c \
./messenger-backend/libs/libetpan/src/driver/interface/mailmessage_tools.c \
./messenger-backend/libs/libetpan/src/driver/interface/mailmessage_types.c \
./messenger-backend/libs/libetpan/src/driver/interface/mailstorage.c \
./messenger-backend/libs/libetpan/src/driver/interface/mailstorage_tools.c
LOCAL_C_INCLUDES = \
$(LOCAL_PATH)/libetpan/src \
$(LOCAL_PATH)/libetpan/src/data-types \
$(LOCAL_PATH)/libetpan/src/low-level \
$(LOCAL_PATH)/libetpan/src/low-level/imap \
$(LOCAL_PATH)/libetpan/src/low-level/imf \
$(LOCAL_PATH)/libetpan/src/low-level/mime \
$(LOCAL_PATH)/libetpan/src/low-level/nntp \
$(LOCAL_PATH)/libetpan/src/low-level/pop3 \
$(LOCAL_PATH)/libetpan/src/low-level/smtp \
$(LOCAL_PATH)/libetpan/src/main \
$(LOCAL_PATH)/libetpan/src/driver/implementation/data-message \
$(LOCAL_PATH)/libetpan/src/driver/interface \
$(LOCAL_PATH)/libetpan/include \
$(LOCAL_PATH)/libetpan/include/libetpan \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/data-types \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/low-level \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/low-level/imap \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/low-level/imf \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/low-level/mime \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/low-level/nntp \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/low-level/smtp \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/main \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/driver/implementation/data-message \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/src/driver/interface \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/include \
$(LOCAL_PATH)/messenger-backend/libs/libetpan/include/libetpan \
$(LOCAL_PATH)/openssl/include \
$(LOCAL_PATH)/libiconv/include \
$(LOCAL_PATH)/cyrussasl/include \
@@ -1298,9 +1293,10 @@ endif
LOCAL_MODULE := sqlite
LOCAL_CFLAGS := -w -std=c11 -Os -DNULL=0 -DSOCKLEN_T=socklen_t -DLOCALE_NOT_USED -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS += -DANDROID_NDK -DDISABLE_IMPORTGL -fno-strict-aliasing -fprefetch-loop-arrays -DAVOID_TABLES -DANDROID_TILE_BASED_DECODE -DANDROID_ARMV6_IDCT -DHAVE_STRCHRNUL=0
LOCAL_CFLAGS += -DSQLITE_OMIT_LOAD_EXTENSION
LOCAL_SRC_FILES := \
./sqlite/sqlite3.c
./messenger-backend/libs/sqlite/sqlite3.c
include $(BUILD_STATIC_LIBRARY)
@@ -1495,8 +1491,8 @@ $(LOCAL_PATH)/openssl/include \
$(LOCAL_PATH)/breakpad/common/android/include \
$(LOCAL_PATH)/breakpad \
$(LOCAL_PATH)/ffmpeg \
$(LOCAL_PATH)/libetpan/include \
$(LOCAL_PATH)/sqlite
$(LOCAL_PATH)/messenger-backend/libs/libetpan/include \
$(LOCAL_PATH)/messenger-backend/libs/sqlite
#LOCAL_SRC_FILES += \
#./libjpeg/jcapimin.c \
View File
-31
View File
@@ -1,31 +0,0 @@
libEtPan! -- a mail stuff library
Copyright (C) 2001 - 2005 - DINH Viet Hoa
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the libEtPan! project nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This project contains code from sendmail, NetBSD,
RSA Data Security MD5 Message-Digest Algorithm, Cyrus IMAP.
File diff suppressed because it is too large Load Diff
-284
View File
@@ -1,284 +0,0 @@
2006-03-22 - libetpan-0.45
* release 0.45 - Depth Charge
bugfix release
2006-03-08 - libetpan-0.43
* release 0.43 - Lateralus
bugfix release
2006-01-09 - libetpan-0.42
* release 0.41 - Figure Number Five
bugfix release
2005-12-02 - libetpan-0.41
* release 0.41 - Transfixion
* passphrase is implemented for S/MIME and PGP.
* avoid symbols conflict between GnuTLS and OpenSSL.
2005-10-07 - libetpan-0.40 - hoa
* release 0.40 - Kashmir
* SSL initialization is optional.
2005-09-16 - libetpan-0.39 - hoa
* release 0.39 - Deliverance
* compatibility with GnuTLS
* SASL for higher level
2005-07-20 - libetpan-0.38 - hoa
* release 0.38 - Deadwing
* fixed SSL
* IMAP improvements
* SASL
2005-07-03 - libetpan-0.37 - hoa
* release 0.37 - Deadwing
* windows port
* fixed IMAP implementation (for sylpheed)
2005-02-22 - libetpan-0.36 - hoa
* release 0.36 - Silver Drop
* memory leak
* fixed maildir support
2004-12-28 - libetpan-0.35 - hoa
libEtPan! - a mail library
* release 0.35 - Dimebag Darrell
* minor bugfixes.
2004-11-04 - libetpan-0.34 - hoa
libEtPan! - a mail library
* release 0.34 - edge
* general
- support for debian systems mbox
- ability to disable thread-safe support
2004-08-24 - libetpan-0.33 - hoa
libEtPan! - a mail library
* release 0.33 - entropia
* general
- bugfixes in IMAP module and mailstream
- fixed low-level data structures
- better support for ARM and PPC architecture
- support for cross-compilation
- fixed Berkeley DB support
- changed folder structure of libetpan package
- can now add a message to a mailbox with flags
- support for hotmail mailboxes (with help of hotwayd)
- added Berkeley DB mail storage as experimental
- added support for PGP and S/MIME
- better folder API
2003-12-16 - libetpan-0.32 - hoa
libEtPan! - a mail library
* release 0.32 - Black Utopia
* general
- added documentation for IMF / tools
- bugfixes in IMAP module due to structures change.
- Application that use libEtPan! now have to use
'#include <libetpan/libetpan.h>'
* generic
- get_message() is implemented in Maildir cached driver.
2003-12-10 - libEtPan! version 0.31
libEtPan! - a mail library
* release 0.31 - Steve Morse release
* general
- all fields name of structures are changed.
- bugfixes.
- union {} are added everywhere it is possible to save memory.
- support for Berkeley DB 1.
- improved compatibility with FreeBSD and Mac OS X.
* drivers
- cache drivers are disable if Berkeley DB is not found.
- disable search call.
- support of buggy Courier-IMAP server.
- semantic of mailsession_get_envelopes_list() changed : it
does no more remove messages from the list.
- mailsession_get_message_by_uid() is added and implemented
in some drivers.
2003-11-21 - libEtPan! version 0.30
libEtPan! - a mail library
* release 0.30 - Spock's Beard release
* main new features
- cache for drivers is cleaned up.
- maildir driver.
* general
- fixed several memory leaks.
- defines now exist for new features since version 0.29
* tools
- dump of network traffic is now possible by setting
exported variable mailstream_debug to 1.
- TLS/SSL driver for stream is fixed.
* imf
- fixed RFC 2822 format, wrap headers and break lines
when they are longer than requirement (998).
- reduced size of headers data.
a union is used inside the structure.
*** WARNING *** : this change use of structure field as a union
member is used in mailimf_field structure.
* imap
- several fixes in IMAP module.
* mime
- fixed quoted-printable parser.
* generic - cache for drivers
- cache database is now cleaned up.
- fixed header fields cache.
*** WARNING *** cache format changed. You should reset all
your cache of headers (env.db).
* generic - threading
- fixed threading when threading by references with subject.
* generic - drivers for message
- separated flush() and check() in message.
*** WARNING *** : this changes the API of the message.
flush() is used to free the internal structure used
to store the MIME structure of the message. It invalidates
the "mime" member of the message.
check() is used for to notify the modification of message
flags to the session, so that the session saves the flags
of the message at the next call of mailsession_check() or
when leaving the session.
- IMAP implementation is more compliant.
- added driver to build MIME message and see the rendering
through fetch functions.
- added driver to parse message content given with a string.
* generic - drivers for maildir
- maildir driver for storage / session / messages
is implemented.
* 2003-10-06 - libEtPan! version 0.29
libEtPan! - a mail library
* XetPan release
* debug for stream, network timeout
* SSL library is initialized by SSL stream driver
* fixed messages threading
* added SMTP authentication CRAM-MD5, LOGIN, PLAIN
* added example of use of SMTP
* 2003-04-01 - libEtPan! version 0.28
libEtPan! - a mail library
* Avril Lavigne Release
* fixed IMAP parser
* access to network protocols with a command
* pop3 driver can try APOP authentication and fallback on clear
authentication
* 2002-12-18 - libEtPan! version 0.27
libEtPan! - a mail library
* Christmas release ^^ //clindoeil
* helper interface for IMF (RFC 2822) and MIME
* changed interface for mail threading so that a default
charset can be set.
*** this means that mail threading INTERFACE CHANGED ***
* API documentation in code
* flags directory and cache directory can be different.
*** this means that storage INTERFACE CHANGED ***
* 2002-09-02 - libEtPan! version 0.26
libEtPan! - a mail library
* flags for all cache drivers
* flags stored on disk use Berkeley DB
* mailmessage, session and storage interface are separated
*** this means that generic INTERFACE CHANGED ***
* fixes various bugs and memory leaks
etpan - a console mail client
* available on CVS
* virtual folder (using storage interface) is used
* folder list view / message list view / message view
* we can poll for status of mailboxes
* got rid of expat
* uses new interface of libEtPan!
* 2002-06-26 - libEtPan! version 0.25
libEtPan! - a mail library
* BSD licence
* portability tested on Solaris, FreeBSD, IRIX and Linux
* implementation of messages threads
* MIME message generator
* drivers are implemented for IMAP4rev1, POP3, NNTP, MH, mbox
in both cached and non-cached version.
etpan - a console mail client
* a small mail client not distributed has been implemented
written in ncurses
featuring :
- MIME message editor
- IMAP4rev1, POP3, NNTP, MH, mbox access
- renderer (HTML rendering for example)
- retrieving of MIME parts
- messages threads
big missing feature :
- removing messages is not yet possible
-62
View File
@@ -1,62 +0,0 @@
## LibEtPan
The purpose of this mail library is to provide a portable, efficient framework for different kinds of mail access: IMAP, SMTP, POP and NNTP.
It provides an API for C language.
[![Build Status](https://travis-ci.org/dinhviethoa/libetpan.png?branch=master)](https://travis-ci.org/dinhviethoa/libetpan)
## Features
- IMAP
- SMTP
- POP
- NNTP
- RFC822/MIME message builder
- RFC822/MIME message parser
- Maildir
- mbox
- MH
## Build instructions
### Unix
You need to install autoconf, automake and libtool.
They can be installed using [brew](http://brew.sh/).
$ ./autogen.sh
$ make
You can use flag --with-poll for using poll() instead of select() for checking connection status
### How to link with it
$ gcc -c -o sample.o sample.c `libetpan-config --cflags`
$ gcc -o sample sample.o `libetpan-config --libs`
### Mac / iOS
- Download Xcode
- Open `build-mac/libetpan.xcodeproj`
- Choose the correct target "static libetpan" for Mac or "libetpan ios" for iOS.
- Build
### Setup a Mac project
- Add `libetpan.xcodeproj` as sub-project
- Link with libetpan.a
### Setup an iOS project
- Add `libetpan.xcodeproj` as sub-project
- Link with libetpan-ios.a
- Set "Other Linker Flags": `-lsasl2`
### Build on Windows
- See README and Visual Studio Solution in build-windows folder
## More information
See http://etpan.org/libetpan.html for more information and examples.
@@ -1 +0,0 @@
../../src/low-level/imap/acl.h
@@ -1 +0,0 @@
../../src/low-level/imap/acl_types.h
@@ -1 +0,0 @@
../../src/low-level/imap/annotatemore.h
@@ -1 +0,0 @@
../../src/low-level/imap/annotatemore_types.h
@@ -1 +0,0 @@
../../src/data-types/carray.h
@@ -1 +0,0 @@
../../src/data-types/charconv.h
@@ -1 +0,0 @@
../../src/data-types/chash.h
@@ -1 +0,0 @@
../../src/data-types/clist.h
@@ -1 +0,0 @@
../../src/low-level/imap/condstore.h
@@ -1 +0,0 @@
../../src/low-level/imap/condstore_types.h
@@ -1,180 +0,0 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Check for Linux's /usr/include/features.h
*/
#ifdef _FEATURES_H
# error config.h must be first file included
#endif
/* Define to detected Berkeley DB major version number */
/* #undef DBVERS */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <ctype.h> header file. */
#define HAVE_CTYPE_H 1
/* Define to use curl */
/* #undef HAVE_CURL */
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to use expat */
/* #undef HAVE_EXPAT */
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to use getopt_long */
#define HAVE_GETOPT_LONG 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define if you have the iconv() function. */
/* #undef HAVE_ICONV */
/* prototype of iconv() has const parameters */
/* #undef HAVE_ICONV_PROTO_CONST */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to enable IPv6 support. */
#define HAVE_IPV6 1
/* Define to 1 if you have the `lockfile' library (-llockfile). */
/* #undef HAVE_LIBLOCKFILE */
/* Define to 1 if you have the `nsl' library (-lnsl). */
/* #undef HAVE_LIBNSL */
/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Defined if we run on a W32 API based system */
/* #undef HAVE_MINGW32_SYSTEM */
/* Define to 1 if you have a working `mmap' system call. */
#define HAVE_MMAP 1
/* Define to 1 if you have the <netdb.h> header file. */
/* #undef HAVE_NETDB_H */
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the <pthread.h> header file. */
#define HAVE_PTHREAD_H 1
/* Define to use setenv */
#define HAVE_SETENV 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <winsock2.h> header file. */
/* #undef HAVE_WINSOCK2_H */
/* Enable classes using zlib compression. */
#define HAVE_ZLIB 1
/* Define to include multithreading support */
#define LIBETPAN_REENTRANT 1
/* Define this to the version of libEtPan */
//#define LIBETPAN_VERSION "1.2-dev-20141203"
/* Define this to the major version of libEtPan */
//#define LIBETPAN_VERSION_MAJOR 1
/* Define this to the minor version of libEtPan */
//#define LIBETPAN_VERSION_MINOR 2
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Name of package */
#define PACKAGE "libetpan"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "libetpan-devel@lists.sourceforge.net"
/* Define to the full name of this package. */
#define PACKAGE_NAME "libetpan"
/* Define to the full name and version of this package. */
//#define PACKAGE_STRING "libetpan 1.2"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libetpan"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
//#define PACKAGE_VERSION "1.2"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to be lazy on protocol syntax */
#define UNSTRICT_SYNTAX 1
/* Define to use GnuTLS */
/* #undef USE_GNUTLS */
/* Define to use SASL */
#define USE_SASL 1
/* Define to use OpenSSL */
#define USE_SSL 1
/* Version number of package */
//#define VERSION "1.2"
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
@@ -1 +0,0 @@
../../src/driver/implementation/data-message/data_message_driver.h
@@ -1 +0,0 @@
../../src/driver/implementation/db/dbdriver.h
@@ -1 +0,0 @@
../../src/driver/implementation/db/dbdriver_message.h
@@ -1 +0,0 @@
../../src/driver/implementation/db/dbdriver_types.h
@@ -1 +0,0 @@
../../src/driver/implementation/db/dbstorage.h
@@ -1 +0,0 @@
../../src/low-level/imap/enable.h
@@ -1 +0,0 @@
../../src/driver/implementation/feed/feeddriver.h
@@ -1 +0,0 @@
../../src/driver/implementation/feed/feeddriver_message.h
@@ -1 +0,0 @@
../../src/driver/implementation/feed/feeddriver_types.h
@@ -1 +0,0 @@
../../src/driver/implementation/feed/feedstorage.h
@@ -1 +0,0 @@
../../src/driver/tools/generic_cache_types.h
@@ -1 +0,0 @@
../../src/driver/implementation/hotmail/hotmailstorage.h
@@ -1 +0,0 @@
../../src/low-level/imap/idle.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver_cached.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver_cached_message.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver_message.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver_tools.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver_tools_private.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapdriver_types.h
@@ -1 +0,0 @@
../../src/driver/implementation/imap/imapstorage.h
@@ -1,26 +0,0 @@
#ifndef LIBETPAN_CONFIG_H
#define LIBETPAN_CONFIG_H
#if WIN32
# define MMAP_UNAVAILABLE
#endif
#if defined(_MSC_VER) && !defined(__cplusplus)
# define inline __inline
#endif
#include <limits.h>
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
#include <sys/param.h>
#include <inttypes.h>
#define MAIL_DIR_SEPARATOR '/'
#define MAIL_DIR_SEPARATOR_S "/"
#ifdef _MSC_VER
# ifdef LIBETPAN_DLL
# define LIBETPAN_EXPORT __declspec(dllexport)
# else
# define LIBETPAN_EXPORT __declspec(dllimport)
# endif
#else
# define LIBETPAN_EXPORT
#endif
#endif
@@ -1 +0,0 @@
../../src/main/libetpan.h
@@ -1 +0,0 @@
../../src/main/libetpan_version.h
@@ -1 +0,0 @@
../../src/data-types/mail.h
@@ -1 +0,0 @@
../../src/low-level/maildir/maildir.h
@@ -1 +0,0 @@
../../src/low-level/maildir/maildir_types.h
@@ -1 +0,0 @@
../../src/driver/implementation/maildir/maildirdriver.h
@@ -1 +0,0 @@
../../src/driver/implementation/maildir/maildirdriver_cached.h
@@ -1 +0,0 @@
../../src/driver/implementation/maildir/maildirdriver_cached_message.h
@@ -1 +0,0 @@
../../src/driver/implementation/maildir/maildirdriver_message.h
@@ -1 +0,0 @@
../../src/driver/implementation/maildir/maildirdriver_types.h
@@ -1 +0,0 @@
../../src/driver/implementation/maildir/maildirstorage.h
@@ -1 +0,0 @@
../../src/driver/interface/maildriver.h
@@ -1 +0,0 @@
../../src/driver/interface/maildriver_errors.h
@@ -1 +0,0 @@
../../src/driver/interface/maildriver_types.h
@@ -1 +0,0 @@
../../src/driver/interface/maildriver_types_helper.h
@@ -1 +0,0 @@
../../src/engine/mailengine.h
@@ -1 +0,0 @@
../../src/driver/interface/mailfolder.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_compress.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_extension.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_extension_types.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_helper.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_id.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_id_types.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_oauth2.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_socket.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_sort.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_sort_types.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_ssl.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_types.h
@@ -1 +0,0 @@
../../src/low-level/imap/mailimap_types_helper.h
@@ -1 +0,0 @@
../../src/low-level/imf/mailimf.h
@@ -1 +0,0 @@
../../src/low-level/imf/mailimf_types.h
@@ -1 +0,0 @@
../../src/low-level/imf/mailimf_types_helper.h
@@ -1 +0,0 @@
../../src/low-level/imf/mailimf_write_file.h
@@ -1 +0,0 @@
../../src/low-level/imf/mailimf_write_generic.h
@@ -1 +0,0 @@
../../src/low-level/imf/mailimf_write_mem.h
@@ -1 +0,0 @@
../../src/data-types/maillock.h
@@ -1 +0,0 @@
../../src/low-level/mbox/mailmbox.h
@@ -1 +0,0 @@
../../src/low-level/mbox/mailmbox_types.h
@@ -1 +0,0 @@
../../src/driver/interface/mailmessage.h
@@ -1 +0,0 @@
../../src/driver/interface/mailmessage_types.h
@@ -1 +0,0 @@
../../src/low-level/mh/mailmh.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_content.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_decode.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_disposition.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_types.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_types_helper.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_write_file.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_write_generic.h
@@ -1 +0,0 @@
../../src/low-level/mime/mailmime_write_mem.h
@@ -1 +0,0 @@
../../src/low-level/pop3/mailpop3.h
@@ -1 +0,0 @@
../../src/low-level/pop3/mailpop3_helper.h
@@ -1 +0,0 @@
../../src/low-level/pop3/mailpop3_socket.h
@@ -1 +0,0 @@
../../src/low-level/pop3/mailpop3_ssl.h
@@ -1 +0,0 @@
../../src/low-level/pop3/mailpop3_types.h
@@ -1 +0,0 @@
../../src/engine/mailprivacy.h
@@ -1 +0,0 @@
../../src/engine/mailprivacy_gnupg.h

Some files were not shown because too many files have changed in this diff Show More