mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Compare commits
494 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4cd02a673f | |||
| 22659c35fb | |||
| a6f89674b8 | |||
| 1bfdbfc00d | |||
| 73686ba57f | |||
| c44c78c87d | |||
| 371042029f | |||
| fa0f66bde2 | |||
| 843c5b548e | |||
| 06a3a6b285 | |||
| d2ac75d526 | |||
| 723b56b2d9 | |||
| 1910ccff83 | |||
| 11e676de2c | |||
| eb2c357868 | |||
| 4020b9c086 | |||
| be0670c592 | |||
| d1786bc9dc | |||
| 215b834da9 | |||
| 5e77be8dd0 | |||
| 913663743c | |||
| 95786d1268 | |||
| cfc69e483e | |||
| 73b59ed4bf | |||
| e8a996d1f3 | |||
| c04ba91b50 | |||
| d763be42a1 | |||
| 10d01b0d68 | |||
| 7699c5e63f | |||
| 78a033a221 | |||
| 7f23570160 | |||
| a9e1dd7e38 | |||
| 058f13f9d8 | |||
| 515fb92873 | |||
| abac76125c | |||
| 149df4e3d7 | |||
| 0a4796e959 | |||
| e79b6d9b1d | |||
| af471f4cf8 | |||
| 1c97c2e408 | |||
| 2c34aa83c3 | |||
| bf93a9e54b | |||
| c7c3990283 | |||
| e4454044f6 | |||
| f6ad0f2ee5 | |||
| 9abf23073d | |||
| 66253123ad | |||
| 920a683e9b | |||
| a0ce2b5dea | |||
| be1e1fa3c1 | |||
| 0a925f8f51 | |||
| 2db619e263 | |||
| e75e9410d6 | |||
| bbc09af77b | |||
| e3d3f13bef | |||
| affe4ca82e | |||
| 3b9a2e2d6d | |||
| dff6fedb67 | |||
| 9615a47f03 | |||
| 87ae709add | |||
| 80ecd1f697 | |||
| 481b5816b1 | |||
| 97da31ae2d | |||
| 48684bded4 | |||
| b191ad8b84 | |||
| 363fa04dca | |||
| e8c11aef6e | |||
| d0df88b113 | |||
| 477f3e638c | |||
| 478e093783 | |||
| a7c13e83c9 | |||
| e9e1db7773 | |||
| f1a2268712 | |||
| d28394d59e | |||
| aa5d6d289a | |||
| 36f56d557d | |||
| e8dcd05f79 | |||
| b29a50304c | |||
| 61355499f4 | |||
| 05fd267cb8 | |||
| 440e3d8a61 | |||
| ab82ed53e5 | |||
| 151c4426ec | |||
| 3c87751491 | |||
| 9f93cb8bd8 | |||
| 5bf9311371 | |||
| 45fede3a02 | |||
| addadf9634 | |||
| 520a7a6e9e | |||
| 65eb204ddc | |||
| 6eee460532 | |||
| c85fa85290 | |||
| 39324c6f73 | |||
| 9702286e59 | |||
| 512acd9fc3 | |||
| 930facc457 | |||
| 5a428458b5 | |||
| fa12c90f23 | |||
| 2e16ccb041 | |||
| df7dda0e96 | |||
| 28c86b4784 | |||
| 175a4ddf95 | |||
| e4b24b0d99 | |||
| 989fcd9564 | |||
| 4877ef1407 | |||
| c1487e3f74 | |||
| 6d4650bba9 | |||
| fb6f02696d | |||
| 8ed4abebb7 | |||
| f90de9c0de | |||
| 206d2a58d2 | |||
| 6001d2fb3a | |||
| 1ceab73dfe | |||
| dc38b949a8 | |||
| 96b740d4da | |||
| 1455f7849b | |||
| 7f14a4da90 | |||
| 0d04064969 | |||
| 37fbda3126 | |||
| 023e62fbd4 | |||
| b818007398 | |||
| 7c1bb82dd4 | |||
| e3a6fa4cac | |||
| 6e6aa88b3a | |||
| c266bd6eba | |||
| e383c2b79a | |||
| 56a5b23d98 | |||
| 10eb41aca7 | |||
| a0a50e3433 | |||
| 07449e9018 | |||
| 5027373b54 | |||
| 1d1e08fc15 | |||
| 6eabf32464 | |||
| acb4a2e5a0 | |||
| ba1b5211a2 | |||
| eb8d248fd9 | |||
| f248a86ce2 | |||
| 8e9b55958d | |||
| 6decd0ee76 | |||
| 16384c12c2 | |||
| 9be5c50e31 | |||
| 46421d8821 | |||
| 13cb356aef | |||
| b210b72460 | |||
| 6aa63f48e1 | |||
| eaba4a4ab7 | |||
| fbc61bce2a | |||
| 5c98e34966 | |||
| 9b461d372d | |||
| b57a81c7c2 | |||
| 7cf41805ec | |||
| 59efa059fd | |||
| e462d66746 | |||
| cd0c3f533a | |||
| 0027b17ef9 | |||
| 9ee5325f29 | |||
| ac433edcf8 | |||
| f71e7e58e1 | |||
| 4af1e9263a | |||
| 01d3a75faa | |||
| d015ab4e93 | |||
| abcf3600a6 | |||
| ac6c497721 | |||
| 2dafecc665 | |||
| 3a48f0a04a | |||
| 1caf3a8956 | |||
| ba1dd07b01 | |||
| 695a97276f | |||
| 0d50753754 | |||
| e357786980 | |||
| 54ab0ba860 | |||
| 44675fffe5 | |||
| e5c6fb0e50 | |||
| 82666fb5f0 | |||
| 9ab86ca310 | |||
| 7153b4c7be | |||
| e73f4f30cb | |||
| e365a20d6e | |||
| 4a9f9eefd2 | |||
| 2ff632bb87 | |||
| f5be0708be | |||
| 92908ab673 | |||
| c20f8699f3 | |||
| 81e60a3916 | |||
| 4f8e25a6c0 | |||
| 4038088c5f | |||
| bc972faf2a | |||
| 0720fec295 | |||
| fba37c7c12 | |||
| debaa48e58 | |||
| c4a63657cd | |||
| a723783c01 | |||
| 26a922e16a | |||
| 9a20d33d55 | |||
| 3abe9946d4 | |||
| dcf4857b6e | |||
| 701ae43bd6 | |||
| cb67d0a45b | |||
| 1684bc3acc | |||
| ee32ef2f09 | |||
| c9ed86a81a | |||
| 8421e85229 | |||
| 0b2eead1be | |||
| 0d30d4a4f3 | |||
| ac55638e46 | |||
| e57c45da71 | |||
| 4b93e2e57c | |||
| 2bab5a65f4 | |||
| 66f379f80b | |||
| 4a8749349f | |||
| 54fe2accb6 | |||
| ec21b57106 | |||
| 9e62523b6d | |||
| 2b69ba5716 | |||
| dadfecf8f3 | |||
| e5695194d5 | |||
| e1c192ddd3 | |||
| ee5e6cb125 | |||
| 5ca9bbff28 | |||
| 1761335092 | |||
| b87e135b3c | |||
| c1154a87cc | |||
| a683880f7e | |||
| 23acff2a87 | |||
| 484d723c75 | |||
| ecab439d0a | |||
| d02732c16d | |||
| f55106612c | |||
| efde505eb5 | |||
| 7ae296dcac | |||
| 8a20f439c0 | |||
| 57a8251313 | |||
| 6039a4e6b1 | |||
| ea59519c09 | |||
| 84e7345607 | |||
| 4357817faf | |||
| fb4f378b86 | |||
| ee081b3037 | |||
| 33d3d92f62 | |||
| 9ba8659536 | |||
| 3c14d32e19 | |||
| 6cb866233b | |||
| e98bffdacc | |||
| 96400768b5 | |||
| dd8474cecf | |||
| 7b98265a2a | |||
| 03a20c26db | |||
| fd0731c52a | |||
| 7856fb22e4 | |||
| d38a4535bb | |||
| 757ad7266f | |||
| da8274de1b | |||
| 22bd12cfd6 | |||
| 6d868cb541 | |||
| ca2ad6fa68 | |||
| 718dd6d1a9 | |||
| b4db0d7d70 | |||
| 0de45907ff | |||
| 9fbc3773b6 | |||
| 4707d43e84 | |||
| dabae2d63a | |||
| 3c9204da0f | |||
| 4b11524fcf | |||
| 7a8c279e4f | |||
| b3708d1bd4 | |||
| 3ffb476aa9 | |||
| 7641975cc6 | |||
| dbc23af348 | |||
| dac8dbd330 | |||
| a47dd34500 | |||
| b160d1b1e9 | |||
| 90d5c4fd2c | |||
| 3311bb56e4 | |||
| d6ff7e4480 | |||
| b7ea939ac7 | |||
| 46a2930fa0 | |||
| e8c6309e93 | |||
| b9a72db110 | |||
| a6d8d0e3b6 | |||
| a7a7e66bb8 | |||
| a2ad1d35e7 | |||
| dd16cc7d89 | |||
| 9673ec1a96 | |||
| 8d8c9b808b | |||
| d379d66751 | |||
| f44989a18d | |||
| 7a5b880a7a | |||
| c859e9bf70 | |||
| 6e4361d129 | |||
| e5cd1be194 | |||
| 5a3faba0a3 | |||
| 0b15b5b55f | |||
| ecd06e4b0f | |||
| 8bf5d98d04 | |||
| b73b1e430e | |||
| 563ec61d52 | |||
| ba02fae57f | |||
| 5c61abe256 | |||
| 0d93f9a678 | |||
| bff79e1c34 | |||
| 68db96483c | |||
| 2bdf88373d | |||
| cdb43876bf | |||
| 6f1cecdaa9 | |||
| 363d78d61c | |||
| 02d9258c9c | |||
| 8a567c63b1 | |||
| 880139b1ff | |||
| a8450cc826 | |||
| 82aac5d383 | |||
| a24c14ef62 | |||
| 902702ee01 | |||
| 9d653a3607 | |||
| bee770bd2e | |||
| 3e77ae505d | |||
| 66b7a447ca | |||
| 3eded4d59b | |||
| 7682caffb6 | |||
| df980b266a | |||
| 99d2afc642 | |||
| 5e44aab51f | |||
| cf14685ab3 | |||
| bcd22c50d3 | |||
| 5f9bfbef99 | |||
| b6f04755a0 | |||
| d32b773a80 | |||
| 74a68eaf18 | |||
| bf0520ea65 | |||
| a20f194c0a | |||
| f16a905143 | |||
| cbe19df41a | |||
| 58d7b5d283 | |||
| e7e3807b9e | |||
| 1aec5e253d | |||
| 671d69c89a | |||
| 55042edf52 | |||
| 8e5d8297ca | |||
| 0c73ef776f | |||
| 7bec0dc4b9 | |||
| 5373602a60 | |||
| 95060abc6b | |||
| 5046005b0e | |||
| 576a9fde5b | |||
| 46463f13c6 | |||
| 35c8fb2399 | |||
| 8cda23ccaf | |||
| f7831cc6a0 | |||
| 2be0a78f6f | |||
| b505d9b020 | |||
| 9320d992b5 | |||
| c9f81e447a | |||
| 9d5edba4aa | |||
| f689b2fb94 | |||
| 0c22f40bf0 | |||
| 8957823dae | |||
| 243ec39eb8 | |||
| 529435316a | |||
| f541fd668b | |||
| ec29371d3f | |||
| 1add172770 | |||
| 37f401f2cd | |||
| f88c8231eb | |||
| 04b318f753 | |||
| 2af0e1ffb6 | |||
| 806ed69432 | |||
| 491e5e0190 | |||
| 93d9d053ee | |||
| 58de8d2830 | |||
| 6d26bbd3fb | |||
| e7c432e0de | |||
| 8c00d6e09e | |||
| 310d8f79bc | |||
| 8127e3427e | |||
| 4a12b055e7 | |||
| de7c71931c | |||
| 5a6fc7761c | |||
| 7410cb21a0 | |||
| 99d4142c13 | |||
| 27de528e57 | |||
| 521360f667 | |||
| 4e003ec6f5 | |||
| 98c8a0c550 | |||
| 039eb0d924 | |||
| e7636cee4e | |||
| 4b844ebb71 | |||
| c704ed4898 | |||
| ada4ef461e | |||
| 8dd4193f4e | |||
| 704d6f0516 | |||
| 097f3e8149 | |||
| 9d8988b08b | |||
| 0dcdc2d0bf | |||
| 83ed86575e | |||
| 40e7b08238 | |||
| 0ac7648bd6 | |||
| 41f1233a27 | |||
| 0bba3d94c7 | |||
| 67c5b1a281 | |||
| dbf6c98ddb | |||
| af666374ea | |||
| 45d10ab435 | |||
| 602ad36e6f | |||
| 6fc3c38b28 | |||
| a0e2aed195 | |||
| 9aff89ea9a | |||
| 60a8ab9bcf | |||
| 0d21883546 | |||
| 9fde45d272 | |||
| 61c15ea56d | |||
| d821e43fe9 | |||
| 03e5ee1098 | |||
| 646b2f028c | |||
| 794bdeafce | |||
| bd4d3b3e11 | |||
| 58c8cecee8 | |||
| 801406ce58 | |||
| 20a93a30b3 | |||
| 38d3c6c634 | |||
| 43bf4a4616 | |||
| 059edeaf18 | |||
| e1e9462fb1 | |||
| 125e70c04b | |||
| e4fc9502fe | |||
| 72a6627059 | |||
| 73cf5105dd | |||
| c69e128e83 | |||
| fcb037122d | |||
| 7eab23aa19 | |||
| 4d839e40ca | |||
| 7a06e3ac0c | |||
| 8392c34f65 | |||
| 67b8486b99 | |||
| 308018e6e6 | |||
| 6c625d078f | |||
| a69afe11f4 | |||
| 4ff15e433b | |||
| 6c81d03c50 | |||
| 9f0b322249 | |||
| e8831b0dfc | |||
| d6e9ba2ea9 | |||
| 2c8c5a7558 | |||
| d2e76a5e61 | |||
| 2263c24019 | |||
| 19e414e65c | |||
| f5a52c1aa2 | |||
| 1cf5039c81 | |||
| 90a5e39872 | |||
| 30868b107e | |||
| 546d4a3bda | |||
| 33eaf71e5b | |||
| a61e73b91b | |||
| f03a3a9b50 | |||
| e2225be331 | |||
| f1f23a5099 | |||
| db3bcb017c | |||
| ab0ce1393e | |||
| b941b9e21a | |||
| b838e0d69e | |||
| 8459f5552d | |||
| 293d249024 | |||
| 38a39aec17 | |||
| f4fb855cb6 | |||
| 8fa34e8659 | |||
| eb2f2de29c | |||
| 1b2c5a028a | |||
| 4057c08df9 | |||
| 074d2054ec | |||
| cf2ea4cc56 | |||
| cff6b6bba7 | |||
| 595111fb56 | |||
| cfc0485579 | |||
| 7e7d4176f2 | |||
| 8abaa7bc02 | |||
| 714e079b17 | |||
| 6983491586 | |||
| 2cea64ccff | |||
| 0ef81716c5 | |||
| c780ddf081 | |||
| 30b778c4f6 | |||
| 5e0c7553e2 | |||
| b5fe0acd89 | |||
| 01551fe71a | |||
| edd4176890 | |||
| f4f27ac0ae | |||
| aeb297548c | |||
| eb3aa46ff7 | |||
| 05fbf5bdce | |||
| 8a5f05fe2e | |||
| 590841d139 | |||
| 44caf01cae | |||
| db36341251 | |||
| 0a63816ece | |||
| ceb0155f5f | |||
| 723e677b2b |
@@ -9,3 +9,7 @@ libs/
|
||||
|
||||
# ignore private scripts and directories, eg. local2github.prv.sh
|
||||
*.prv*
|
||||
|
||||
# transifex temporary files
|
||||
tools/.tx/
|
||||
tools/translations/
|
||||
|
||||
+186
@@ -1,5 +1,191 @@
|
||||
# Delta Chat Changelog
|
||||
|
||||
## v0.9.9
|
||||
2017-11-18
|
||||
|
||||
* Alternate include order for F-Droid
|
||||
* Add Serbian translation
|
||||
* Update Catalan, Dutch, English, French, German, Hungarian, Italian, Polish, Portuguese, Russian, Spanish, Tamil, Telugu and Ukrainian translations
|
||||
|
||||
## v0.9.8
|
||||
2017-11-15
|
||||
|
||||
* Fix a bug that avoids chat creation under some circumstances (bug introduced in 0.9.7)
|
||||
|
||||
## v0.9.7
|
||||
2017-11-14
|
||||
|
||||
* Archive chats or delete chats by a long press
|
||||
* Notify the user in the chatlist about contact requests of known users or of other Delta Chat clients
|
||||
* Show messages only for explicitly wanted chats
|
||||
* Show more detailed reasons about failed end-to-end-encryptions
|
||||
* Explicit option to leave a group
|
||||
* Do not show the padlock if end-to-end-encryption is disabled by the user
|
||||
* Also import images from a backup when using a different device with different paths
|
||||
* Add copy-to-clipboard function for "About / Info"
|
||||
* Rework Emoji-code
|
||||
* Add Norwegian Bokmål translation
|
||||
* Add Tamil translation
|
||||
* Add Turkish translation
|
||||
* Update Catalan, German, French, Italian, Korean, Dutch, Polish, Portuguese, Russian, Telugu and Ukrainian translations
|
||||
|
||||
## v0.9.6
|
||||
2017-10-18
|
||||
|
||||
* Support keys generated with multiple subkeys eg. from K-9
|
||||
* Show PDFs and other attachments with bad names
|
||||
* Bug fixes
|
||||
|
||||
## v0.9.5
|
||||
2017-10-08
|
||||
|
||||
* Backup export and import function
|
||||
* Query password before export
|
||||
* Move replies from normal E-Mail-Clients to the "Chats" folder
|
||||
* Improve helping MUAs on showing chat threads
|
||||
* Improve onboarding
|
||||
* Add URL to default footer
|
||||
* Test a different approach for battery saving in this release
|
||||
* Update French, Italian, German, Polish, Portuguese, Russian and Ukrainian translations
|
||||
|
||||
## v0.9.4
|
||||
2017-08-23
|
||||
|
||||
* Introduce an editable "Status" field that is shown eg. in email footers
|
||||
* Editable and synchronized group images
|
||||
* Show the subject of messages that cannot be decrypted
|
||||
* Do not send "Read receipts" when decryption fails
|
||||
* Do not request "Read receipts" from normal MUAs as there are too many MUAs responding with weird, non-standard formats
|
||||
* Deleting a chat always deletes all messages from the device permanently
|
||||
* Ignore messages from mailing lists
|
||||
* Do not spread the original authors name nor address on forwarding
|
||||
* Encrypt mails send to SMTP and to IMAP the same way
|
||||
* Improve showing HTML-mails
|
||||
* Cleanup Android code
|
||||
* Remove badge counter on app restart
|
||||
* Add Ukrainian translation
|
||||
* Add Telugu translation
|
||||
* Add Catalan translation
|
||||
* Update German, Spanish, French, Hungarian, Italian, Polish, Portuguese and Russian translations
|
||||
|
||||
## v0.9.3
|
||||
2017-07-13
|
||||
|
||||
* Introduce "Read receipts" and avoid social pressure to leave it activated
|
||||
* Improve encryption dialog in profile
|
||||
* Fix marking messages as "seen" when opening the contact requests
|
||||
* Ignore signature.asc files of signed-only messages
|
||||
* Update Polish, Portuguese and Russian translations
|
||||
|
||||
## v0.9.2
|
||||
2017-06-28
|
||||
|
||||
* Encrypt group chats
|
||||
* Cryptographically sign messages
|
||||
* Validate signatures of incoming messages ("Info" shows the state)
|
||||
* Show a little lock beside end-to-end-encrypted messages with a validated signature
|
||||
* If end-to-end-encryption is available on sending time, guarantee the message not to be sent without end-to-end-encryption later
|
||||
* Show special characters in HTML-mails
|
||||
* Help MUAs on showing chat threads
|
||||
* Show attachments from multipart/alternative structures
|
||||
* Upgrade from Autocrypt Level 0 to Level 1; as the levels are not compatible, encryption on mixed setups does not happen
|
||||
* Update Polish, Portuguese, Spanish and French translations
|
||||
|
||||
## v0.9.1
|
||||
2017-06-04
|
||||
|
||||
* Profile: Improve encryption state dialog
|
||||
* Improved video quality of short clips
|
||||
* Make encryption-dialog localizable
|
||||
* Update Russian translation
|
||||
|
||||
## v0.9.0
|
||||
2017-06-01
|
||||
|
||||
* Add end-to-end-encrypting following the OpenPGP and Autocrypt standards
|
||||
* Add a function to compare keys
|
||||
* Profile: Add option to copy the email address to the clipboard
|
||||
* Pimp GUI
|
||||
|
||||
## v0.1.36
|
||||
2017-05-04
|
||||
|
||||
* Support camera on Android Nougat
|
||||
|
||||
## v0.1.34
|
||||
2017-05-03
|
||||
|
||||
* Link to new homepage https://delta.chat
|
||||
* Localizable Help-URLs
|
||||
|
||||
## v0.1.33
|
||||
2017-04-29
|
||||
|
||||
* Better support for right-to-left (RTL) languages, taking advantage of
|
||||
Android 4.2 (Jelly Bean MR1, API level 17).
|
||||
* Send PNG files without resizing and converting to JPEG
|
||||
* If JPEG files are send without compression, they still appear as image, not as attached files
|
||||
* Raise-to-speak defaults to false
|
||||
* Unify long click behaviour
|
||||
* Support Android's system function "Delete data"
|
||||
* Replies to messages pop up automatically even if send from other email addresses (typical scenario for alias addresses)
|
||||
* Fix group-replies from normal email-clients.
|
||||
|
||||
## v0.1.32
|
||||
2017-04-22
|
||||
|
||||
* Update Spanish and Portuguese translations
|
||||
* Update internal sqlite library to version 3.18.0, released on 2017-03-28
|
||||
* Remove more of the custom language handling, use Android's routines instead
|
||||
* General code cleanup
|
||||
* Play GIF files
|
||||
* Option to disable autoplaying GIF files
|
||||
* When sending contacts, only use the names the receivers have set themselves
|
||||
* Show some hints when long-pressing icons in the action bar
|
||||
|
||||
## v0.1.29
|
||||
2017-04-19
|
||||
|
||||
* Add Russian translation
|
||||
* For outgoing (group-)messages, only use the names the receivers have set themselves
|
||||
|
||||
## v0.1.28
|
||||
2017-04-14
|
||||
|
||||
* Pimp notifications
|
||||
* Bug fixes
|
||||
|
||||
## v0.1.27
|
||||
2017-04-12
|
||||
|
||||
* Use a permanent foreground service for reliable notifications
|
||||
* Monitor the IMAP-IDLE thread and reconnect if IMAP-IDLE seems to hang
|
||||
* Various battery and background optimizations
|
||||
|
||||
## v0.1.25
|
||||
2017-04-04
|
||||
|
||||
* Use system or user selected video player.
|
||||
* Do not connect if not configured (avoids a warning on the first time startup)
|
||||
* Add vertical scrollbar, eg. to settings activities.
|
||||
* Pimp GUI and logo.
|
||||
* Update Korean.
|
||||
|
||||
## v0.1.24
|
||||
2017-03-31
|
||||
|
||||
* Share images and documents from other apps to Delta Chat
|
||||
* Offer to mailto:-link-support to other apps
|
||||
* Ignore implausible sending time of incoming messages; use the receive time in these rare cases
|
||||
* Show errors only when Delta Chat is in foreground
|
||||
* Dynamically adapt video bitrate for longer videos to an attachment-size of max. 25 MB
|
||||
|
||||
## v0.1.23
|
||||
2017-03-28
|
||||
|
||||
* Retry connecting to IMAP if there is not network available on the first try
|
||||
* Notify about new messages if the app is not active for hours, optimize battery consumption
|
||||
|
||||
## v0.1.22
|
||||
2017-03-22
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ tasks.withType(JavaCompile) {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:appcompat-v7:25.1.1'
|
||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
||||
compile 'com.googlecode.mp4parser:isoparser:1.0.6'
|
||||
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
|
||||
compile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')
|
||||
@@ -48,7 +48,10 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
debug {
|
||||
storeFile file("config/debug.keystore")
|
||||
def debugKeystore = file("config/debug.keystore")
|
||||
if (debugKeystore.exists()) {
|
||||
storeFile debugKeystore
|
||||
}
|
||||
}
|
||||
|
||||
release {
|
||||
@@ -76,7 +79,7 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig.versionCode = 21
|
||||
defaultConfig.versionCode = 48
|
||||
|
||||
sourceSets.main {
|
||||
jniLibs.srcDir 'libs'
|
||||
@@ -115,8 +118,9 @@ 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
|
||||
versionName "0.1.22" // do NOT forget to increase defaultConfig.versionCode!
|
||||
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
|
||||
// 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.9.9" // do NOT forget to increase defaultConfig.versionCode!
|
||||
}
|
||||
}
|
||||
|
||||
+298
-263
@@ -493,6 +493,19 @@ local_src_files := \
|
||||
./openssl/crypto/buffer/buf_err.c \
|
||||
./openssl/crypto/buffer/buf_str.c \
|
||||
./openssl/crypto/buffer/buffer.c \
|
||||
./openssl/crypto/camellia/camellia.c \
|
||||
./openssl/crypto/camellia/cmll_cbc.c \
|
||||
./openssl/crypto/camellia/cmll_cfb.c \
|
||||
./openssl/crypto/camellia/cmll_ctr.c \
|
||||
./openssl/crypto/camellia/cmll_ecb.c \
|
||||
./openssl/crypto/camellia/cmll_misc.c \
|
||||
./openssl/crypto/camellia/cmll_ofb.c \
|
||||
./openssl/crypto/camellia/cmll_utl.c \
|
||||
./openssl/crypto/cast/c_cfb64.c \
|
||||
./openssl/crypto/cast/c_ecb.c \
|
||||
./openssl/crypto/cast/c_enc.c \
|
||||
./openssl/crypto/cast/c_ofb64.c \
|
||||
./openssl/crypto/cast/c_skey.c \
|
||||
./openssl/crypto/cmac/cm_ameth.c \
|
||||
./openssl/crypto/cmac/cm_pmeth.c \
|
||||
./openssl/crypto/cmac/cmac.c \
|
||||
@@ -610,6 +623,8 @@ local_src_files := \
|
||||
./openssl/crypto/evp/e_aes.c \
|
||||
./openssl/crypto/evp/e_aes_cbc_hmac_sha1.c \
|
||||
./openssl/crypto/evp/e_bf.c \
|
||||
./openssl/crypto/evp/e_camellia.c \
|
||||
./openssl/crypto/evp/e_cast.c \
|
||||
./openssl/crypto/evp/e_des.c \
|
||||
./openssl/crypto/evp/e_des3.c \
|
||||
./openssl/crypto/evp/e_null.c \
|
||||
@@ -961,88 +976,88 @@ include $(BUILD_STATIC_LIBRARY)
|
||||
################################################################################
|
||||
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD -finline-functions -ffast-math -ffunction-sections -fdata-sections -Os
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/libwebp/src
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_STATIC_LIBRARIES := cpufeatures
|
||||
LOCAL_MODULE := webp
|
||||
|
||||
ifneq ($(findstring armeabi-v7a, $(TARGET_ARCH_ABI)),)
|
||||
NEON := c.neon
|
||||
else
|
||||
NEON := c
|
||||
endif
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
./libwebp/dec/alpha.c \
|
||||
./libwebp/dec/buffer.c \
|
||||
./libwebp/dec/frame.c \
|
||||
./libwebp/dec/idec.c \
|
||||
./libwebp/dec/io.c \
|
||||
./libwebp/dec/quant.c \
|
||||
./libwebp/dec/tree.c \
|
||||
./libwebp/dec/vp8.c \
|
||||
./libwebp/dec/vp8l.c \
|
||||
./libwebp/dec/webp.c \
|
||||
./libwebp/dsp/alpha_processing.c \
|
||||
./libwebp/dsp/alpha_processing_sse2.c \
|
||||
./libwebp/dsp/cpu.c \
|
||||
./libwebp/dsp/dec.c \
|
||||
./libwebp/dsp/dec_clip_tables.c \
|
||||
./libwebp/dsp/dec_mips32.c \
|
||||
./libwebp/dsp/dec_neon.$(NEON) \
|
||||
./libwebp/dsp/dec_sse2.c \
|
||||
./libwebp/dsp/enc.c \
|
||||
./libwebp/dsp/enc_avx2.c \
|
||||
./libwebp/dsp/enc_mips32.c \
|
||||
./libwebp/dsp/enc_neon.$(NEON) \
|
||||
./libwebp/dsp/enc_sse2.c \
|
||||
./libwebp/dsp/lossless.c \
|
||||
./libwebp/dsp/lossless_mips32.c \
|
||||
./libwebp/dsp/lossless_neon.$(NEON) \
|
||||
./libwebp/dsp/lossless_sse2.c \
|
||||
./libwebp/dsp/upsampling.c \
|
||||
./libwebp/dsp/upsampling_neon.$(NEON) \
|
||||
./libwebp/dsp/upsampling_sse2.c \
|
||||
./libwebp/dsp/yuv.c \
|
||||
./libwebp/dsp/yuv_mips32.c \
|
||||
./libwebp/dsp/yuv_sse2.c \
|
||||
./libwebp/enc/alpha.c \
|
||||
./libwebp/enc/analysis.c \
|
||||
./libwebp/enc/backward_references.c \
|
||||
./libwebp/enc/config.c \
|
||||
./libwebp/enc/cost.c \
|
||||
./libwebp/enc/filter.c \
|
||||
./libwebp/enc/frame.c \
|
||||
./libwebp/enc/histogram.c \
|
||||
./libwebp/enc/iterator.c \
|
||||
./libwebp/enc/picture.c \
|
||||
./libwebp/enc/picture_csp.c \
|
||||
./libwebp/enc/picture_psnr.c \
|
||||
./libwebp/enc/picture_rescale.c \
|
||||
./libwebp/enc/picture_tools.c \
|
||||
./libwebp/enc/quant.c \
|
||||
./libwebp/enc/syntax.c \
|
||||
./libwebp/enc/token.c \
|
||||
./libwebp/enc/tree.c \
|
||||
./libwebp/enc/vp8l.c \
|
||||
./libwebp/enc/webpenc.c \
|
||||
./libwebp/utils/bit_reader.c \
|
||||
./libwebp/utils/bit_writer.c \
|
||||
./libwebp/utils/color_cache.c \
|
||||
./libwebp/utils/filters.c \
|
||||
./libwebp/utils/huffman.c \
|
||||
./libwebp/utils/huffman_encode.c \
|
||||
./libwebp/utils/quant_levels.c \
|
||||
./libwebp/utils/quant_levels_dec.c \
|
||||
./libwebp/utils/random.c \
|
||||
./libwebp/utils/rescaler.c \
|
||||
./libwebp/utils/thread.c \
|
||||
./libwebp/utils/utils.c \
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
#include $(CLEAR_VARS)
|
||||
#
|
||||
#LOCAL_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD -finline-functions -ffast-math -ffunction-sections -fdata-sections -Os
|
||||
#LOCAL_C_INCLUDES += $(LOCAL_PATH)/libwebp/src
|
||||
#LOCAL_ARM_MODE := arm
|
||||
#LOCAL_STATIC_LIBRARIES := cpufeatures
|
||||
#LOCAL_MODULE := webp
|
||||
#
|
||||
#ifneq ($(findstring armeabi-v7a, $(TARGET_ARCH_ABI)),)
|
||||
# NEON := c.neon
|
||||
#else
|
||||
# NEON := c
|
||||
#endif
|
||||
#
|
||||
#LOCAL_SRC_FILES := \
|
||||
#./libwebp/dec/alpha.c \
|
||||
#./libwebp/dec/buffer.c \
|
||||
#./libwebp/dec/frame.c \
|
||||
#./libwebp/dec/idec.c \
|
||||
#./libwebp/dec/io.c \
|
||||
#./libwebp/dec/quant.c \
|
||||
#./libwebp/dec/tree.c \
|
||||
#./libwebp/dec/vp8.c \
|
||||
#./libwebp/dec/vp8l.c \
|
||||
#./libwebp/dec/webp.c \
|
||||
#./libwebp/dsp/alpha_processing.c \
|
||||
#./libwebp/dsp/alpha_processing_sse2.c \
|
||||
#./libwebp/dsp/cpu.c \
|
||||
#./libwebp/dsp/dec.c \
|
||||
#./libwebp/dsp/dec_clip_tables.c \
|
||||
#./libwebp/dsp/dec_mips32.c \
|
||||
#./libwebp/dsp/dec_neon.$(NEON) \
|
||||
#./libwebp/dsp/dec_sse2.c \
|
||||
#./libwebp/dsp/enc.c \
|
||||
#./libwebp/dsp/enc_avx2.c \
|
||||
#./libwebp/dsp/enc_mips32.c \
|
||||
#./libwebp/dsp/enc_neon.$(NEON) \
|
||||
#./libwebp/dsp/enc_sse2.c \
|
||||
#./libwebp/dsp/lossless.c \
|
||||
#./libwebp/dsp/lossless_mips32.c \
|
||||
#./libwebp/dsp/lossless_neon.$(NEON) \
|
||||
#./libwebp/dsp/lossless_sse2.c \
|
||||
#./libwebp/dsp/upsampling.c \
|
||||
#./libwebp/dsp/upsampling_neon.$(NEON) \
|
||||
#./libwebp/dsp/upsampling_sse2.c \
|
||||
#./libwebp/dsp/yuv.c \
|
||||
#./libwebp/dsp/yuv_mips32.c \
|
||||
#./libwebp/dsp/yuv_sse2.c \
|
||||
#./libwebp/enc/alpha.c \
|
||||
#./libwebp/enc/analysis.c \
|
||||
#./libwebp/enc/backward_references.c \
|
||||
#./libwebp/enc/config.c \
|
||||
#./libwebp/enc/cost.c \
|
||||
#./libwebp/enc/filter.c \
|
||||
#./libwebp/enc/frame.c \
|
||||
#./libwebp/enc/histogram.c \
|
||||
#./libwebp/enc/iterator.c \
|
||||
#./libwebp/enc/picture.c \
|
||||
#./libwebp/enc/picture_csp.c \
|
||||
#./libwebp/enc/picture_psnr.c \
|
||||
#./libwebp/enc/picture_rescale.c \
|
||||
#./libwebp/enc/picture_tools.c \
|
||||
#./libwebp/enc/quant.c \
|
||||
#./libwebp/enc/syntax.c \
|
||||
#./libwebp/enc/token.c \
|
||||
#./libwebp/enc/tree.c \
|
||||
#./libwebp/enc/vp8l.c \
|
||||
#./libwebp/enc/webpenc.c \
|
||||
#./libwebp/utils/bit_reader.c \
|
||||
#./libwebp/utils/bit_writer.c \
|
||||
#./libwebp/utils/color_cache.c \
|
||||
#./libwebp/utils/filters.c \
|
||||
#./libwebp/utils/huffman.c \
|
||||
#./libwebp/utils/huffman_encode.c \
|
||||
#./libwebp/utils/quant_levels.c \
|
||||
#./libwebp/utils/quant_levels_dec.c \
|
||||
#./libwebp/utils/random.c \
|
||||
#./libwebp/utils/rescaler.c \
|
||||
#./libwebp/utils/thread.c \
|
||||
#./libwebp/utils/utils.c \
|
||||
#
|
||||
#include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -1093,130 +1108,128 @@ 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/implementation/mime-message/mime_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 \
|
||||
./messenger-backend/libs/libetpan/src/engine/mailprivacy.c \
|
||||
./messenger-backend/libs/libetpan/src/engine/mailprivacy_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 \
|
||||
@@ -1225,7 +1238,6 @@ LOCAL_C_INCLUDES = \
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
# cyrus sasl
|
||||
################################################################################
|
||||
@@ -1298,9 +1310,11 @@ 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_CFLAGS += -DSQLITE_MAX_MMAP_SIZE=0 -DSQLITE_OMIT_WAL # HACK: the defines are used to skip the pointer reference to mmap set in aSyscall[] - mmap seems to be a #define that cannot be used this way on Android - otherwise we get the error: 'mmap' undeclared here (not in a function)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
./sqlite/sqlite3.c
|
||||
./messenger-backend/libs/sqlite/sqlite3.c
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
@@ -1313,7 +1327,7 @@ LOCAL_CFLAGS += -Drestrict='' -D__EMX__ -DOPUS_BUILD -DFIXED_POINT -DUSE_ALLOCA
|
||||
LOCAL_CFLAGS += -DANDROID_NDK -DDISABLE_IMPORTGL -fno-strict-aliasing -fprefetch-loop-arrays -DAVOID_TABLES -DANDROID_TILE_BASED_DECODE -DANDROID_ARMV6_IDCT -ffast-math -D__STDC_CONSTANT_MACROS
|
||||
LOCAL_CPPFLAGS := -DBSD=1 -ffast-math -Os -funroll-loops -std=c++11
|
||||
LOCAL_LDLIBS := -ljnigraphics -llog -lz -latomic
|
||||
LOCAL_STATIC_LIBRARIES := etpan sasl2 webp sqlite crypto avformat avcodec avutil libiconv
|
||||
LOCAL_STATIC_LIBRARIES := etpan sasl2 sqlite crypto avformat avcodec avutil libiconv
|
||||
# if you get "undefined reference" errors, the reason for this may be the _order_! Eg. libiconv as the first library does not work!
|
||||
# "breakpad" was placed after "crypto", NativeLoader.cpp after mrwrapper.c
|
||||
|
||||
@@ -1495,57 +1509,58 @@ $(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/netpgp/include \
|
||||
$(LOCAL_PATH)/messenger-backend/libs/sqlite
|
||||
|
||||
LOCAL_SRC_FILES += \
|
||||
./libjpeg/jcapimin.c \
|
||||
./libjpeg/jcapistd.c \
|
||||
./libjpeg/armv6_idct.S \
|
||||
./libjpeg/jccoefct.c \
|
||||
./libjpeg/jccolor.c \
|
||||
./libjpeg/jcdctmgr.c \
|
||||
./libjpeg/jchuff.c \
|
||||
./libjpeg/jcinit.c \
|
||||
./libjpeg/jcmainct.c \
|
||||
./libjpeg/jcmarker.c \
|
||||
./libjpeg/jcmaster.c \
|
||||
./libjpeg/jcomapi.c \
|
||||
./libjpeg/jcparam.c \
|
||||
./libjpeg/jcphuff.c \
|
||||
./libjpeg/jcprepct.c \
|
||||
./libjpeg/jcsample.c \
|
||||
./libjpeg/jctrans.c \
|
||||
./libjpeg/jdapimin.c \
|
||||
./libjpeg/jdapistd.c \
|
||||
./libjpeg/jdatadst.c \
|
||||
./libjpeg/jdatasrc.c \
|
||||
./libjpeg/jdcoefct.c \
|
||||
./libjpeg/jdcolor.c \
|
||||
./libjpeg/jddctmgr.c \
|
||||
./libjpeg/jdhuff.c \
|
||||
./libjpeg/jdinput.c \
|
||||
./libjpeg/jdmainct.c \
|
||||
./libjpeg/jdmarker.c \
|
||||
./libjpeg/jdmaster.c \
|
||||
./libjpeg/jdmerge.c \
|
||||
./libjpeg/jdphuff.c \
|
||||
./libjpeg/jdpostct.c \
|
||||
./libjpeg/jdsample.c \
|
||||
./libjpeg/jdtrans.c \
|
||||
./libjpeg/jerror.c \
|
||||
./libjpeg/jfdctflt.c \
|
||||
./libjpeg/jfdctfst.c \
|
||||
./libjpeg/jfdctint.c \
|
||||
./libjpeg/jidctflt.c \
|
||||
./libjpeg/jidctfst.c \
|
||||
./libjpeg/jidctint.c \
|
||||
./libjpeg/jidctred.c \
|
||||
./libjpeg/jmemmgr.c \
|
||||
./libjpeg/jmemnobs.c \
|
||||
./libjpeg/jquant1.c \
|
||||
./libjpeg/jquant2.c \
|
||||
./libjpeg/jutils.c
|
||||
#LOCAL_SRC_FILES += \
|
||||
#./libjpeg/jcapimin.c \
|
||||
#./libjpeg/jcapistd.c \
|
||||
#./libjpeg/armv6_idct.S \
|
||||
#./libjpeg/jccoefct.c \
|
||||
#./libjpeg/jccolor.c \
|
||||
#./libjpeg/jcdctmgr.c \
|
||||
#./libjpeg/jchuff.c \
|
||||
#./libjpeg/jcinit.c \
|
||||
#./libjpeg/jcmainct.c \
|
||||
#./libjpeg/jcmarker.c \
|
||||
#./libjpeg/jcmaster.c \
|
||||
#./libjpeg/jcomapi.c \
|
||||
#./libjpeg/jcparam.c \
|
||||
#./libjpeg/jcphuff.c \
|
||||
#./libjpeg/jcprepct.c \
|
||||
#./libjpeg/jcsample.c \
|
||||
#./libjpeg/jctrans.c \
|
||||
#./libjpeg/jdapimin.c \
|
||||
#./libjpeg/jdapistd.c \
|
||||
#./libjpeg/jdatadst.c \
|
||||
#./libjpeg/jdatasrc.c \
|
||||
#./libjpeg/jdcoefct.c \
|
||||
#./libjpeg/jdcolor.c \
|
||||
#./libjpeg/jddctmgr.c \
|
||||
#./libjpeg/jdhuff.c \
|
||||
#./libjpeg/jdinput.c \
|
||||
#./libjpeg/jdmainct.c \
|
||||
#./libjpeg/jdmarker.c \
|
||||
#./libjpeg/jdmaster.c \
|
||||
#./libjpeg/jdmerge.c \
|
||||
#./libjpeg/jdphuff.c \
|
||||
#./libjpeg/jdpostct.c \
|
||||
#./libjpeg/jdsample.c \
|
||||
#./libjpeg/jdtrans.c \
|
||||
#./libjpeg/jerror.c \
|
||||
#./libjpeg/jfdctflt.c \
|
||||
#./libjpeg/jfdctfst.c \
|
||||
#./libjpeg/jfdctint.c \
|
||||
#./libjpeg/jidctflt.c \
|
||||
#./libjpeg/jidctfst.c \
|
||||
#./libjpeg/jidctint.c \
|
||||
#./libjpeg/jidctred.c \
|
||||
#./libjpeg/jmemmgr.c \
|
||||
#./libjpeg/jmemnobs.c \
|
||||
#./libjpeg/jquant1.c \
|
||||
#./libjpeg/jquant2.c \
|
||||
#./libjpeg/jutils.c
|
||||
|
||||
LOCAL_SRC_FILES += \
|
||||
./libyuv/source/compare_common.cc \
|
||||
@@ -1598,27 +1613,46 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
||||
endif
|
||||
|
||||
LOCAL_SRC_FILES += \
|
||||
./jni.c \
|
||||
./mrjnimain.c \
|
||||
./audio.c \
|
||||
./utils.c \
|
||||
./image.c \
|
||||
./video.c \
|
||||
./gifvideo.cpp \
|
||||
./messenger-backend/libs/netpgp/src/compress.c \
|
||||
./messenger-backend/libs/netpgp/src/create.c \
|
||||
./messenger-backend/libs/netpgp/src/crypto.c \
|
||||
./messenger-backend/libs/netpgp/src/keyring.c \
|
||||
./messenger-backend/libs/netpgp/src/misc.c \
|
||||
./messenger-backend/libs/netpgp/src/openssl_crypto.c \
|
||||
./messenger-backend/libs/netpgp/src/packet-parse.c \
|
||||
./messenger-backend/libs/netpgp/src/packet-show.c \
|
||||
./messenger-backend/libs/netpgp/src/reader.c \
|
||||
./messenger-backend/libs/netpgp/src/signature.c \
|
||||
./messenger-backend/libs/netpgp/src/symmetric.c \
|
||||
./messenger-backend/libs/netpgp/src/validate.c \
|
||||
./messenger-backend/libs/netpgp/src/writer.c \
|
||||
./messenger-backend/src/mraheader.c \
|
||||
./messenger-backend/src/mrapeerstate.c \
|
||||
./messenger-backend/src/mrchat.c \
|
||||
./messenger-backend/src/mrchatlist.c \
|
||||
./messenger-backend/src/mrcmdline.c \
|
||||
./messenger-backend/src/mrcontact.c \
|
||||
./messenger-backend/src/mre2ee.c \
|
||||
./messenger-backend/src/mrdehtml.c \
|
||||
./messenger-backend/src/mrimap.c \
|
||||
./messenger-backend/src/mrjob.c \
|
||||
./messenger-backend/src/mrkey.c \
|
||||
./messenger-backend/src/mrkeyring.c \
|
||||
./messenger-backend/src/mrloginparam.c \
|
||||
./messenger-backend/src/mrmailbox.c \
|
||||
./messenger-backend/src/mrmailbox_configure.c \
|
||||
./messenger-backend/src/mrmailbox_e2ee.c \
|
||||
./messenger-backend/src/mrmailbox_imex.c \
|
||||
./messenger-backend/src/mrmailbox_log.c \
|
||||
./messenger-backend/src/mrmailbox_tools.c \
|
||||
./messenger-backend/src/mrmimefactory.c \
|
||||
./messenger-backend/src/mrmimeparser.c \
|
||||
./messenger-backend/src/mrmsg.c \
|
||||
./messenger-backend/src/mrosnative.c \
|
||||
./messenger-backend/src/mrparam.c \
|
||||
./messenger-backend/src/mrpgp.c \
|
||||
./messenger-backend/src/mrpoortext.c \
|
||||
./messenger-backend/src/mrsaxparser.c \
|
||||
./messenger-backend/src/mrsimplify.c \
|
||||
@@ -1626,6 +1660,7 @@ LOCAL_SRC_FILES += \
|
||||
./messenger-backend/src/mrsqlite3.c \
|
||||
./messenger-backend/src/mrstock.c \
|
||||
./messenger-backend/src/mrtools.c \
|
||||
./messenger-backend/cmdline/cmdline.c \
|
||||
./mrwrapper.c
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_PLATFORM := android-9
|
||||
APP_PLATFORM := android-14
|
||||
APP_ABI := armeabi armeabi-v7a x86
|
||||
NDK_TOOLCHAIN_VERSION := 4.9
|
||||
APP_STL := gnustl_static
|
||||
|
||||
+64
-40
@@ -1,3 +1,26 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Delta Chat Android
|
||||
* (C) 2013-2016 Nikolai Kudashov
|
||||
* (C) 2017 Björn Petersen
|
||||
* Contact: r10s@b44t.com, http://b44t.com
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see http://www.gnu.org/licenses/ .
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#include <jni.h>
|
||||
#include <ogg/ogg.h>
|
||||
#include <stdio.h>
|
||||
@@ -6,7 +29,7 @@
|
||||
#include <time.h>
|
||||
#include <opusfile.h>
|
||||
#include <math.h>
|
||||
#include "utils.h"
|
||||
#include "mrjnimain.h"
|
||||
|
||||
typedef struct {
|
||||
int version;
|
||||
@@ -115,7 +138,7 @@ static int read_chars(ROPacket *p, unsigned char *str, int nb_chars)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len) {
|
||||
static int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len) {
|
||||
int i;
|
||||
Packet p;
|
||||
unsigned char ch;
|
||||
@@ -219,34 +242,34 @@ static int writeOggPage(ogg_page *page, FILE *os) {
|
||||
return written;
|
||||
}
|
||||
|
||||
const opus_int32 bitrate = 16000;
|
||||
const opus_int32 rate = 16000;
|
||||
const opus_int32 frame_size = 960;
|
||||
const int with_cvbr = 1;
|
||||
const int max_ogg_delay = 0;
|
||||
const int comment_padding = 512;
|
||||
static const opus_int32 bitrate = 16000;
|
||||
static const opus_int32 rate = 16000;
|
||||
static const opus_int32 frame_size = 960;
|
||||
static const int with_cvbr = 1;
|
||||
static const int max_ogg_delay = 0;
|
||||
static const int comment_padding = 512;
|
||||
|
||||
opus_int32 coding_rate = 16000;
|
||||
ogg_int32_t _packetId;
|
||||
OpusEncoder *_encoder = 0;
|
||||
uint8_t *_packet = 0;
|
||||
ogg_stream_state os;
|
||||
FILE *_fileOs = 0;
|
||||
oe_enc_opt inopt;
|
||||
OpusHeader header;
|
||||
opus_int32 min_bytes;
|
||||
int max_frame_bytes;
|
||||
ogg_packet op;
|
||||
ogg_page og;
|
||||
opus_int64 bytes_written;
|
||||
opus_int64 pages_out;
|
||||
opus_int64 total_samples;
|
||||
ogg_int64_t enc_granulepos;
|
||||
ogg_int64_t last_granulepos;
|
||||
int size_segments;
|
||||
int last_segments;
|
||||
static opus_int32 coding_rate = 16000;
|
||||
static ogg_int32_t _packetId;
|
||||
static OpusEncoder *_encoder = 0;
|
||||
static uint8_t *_packet = 0;
|
||||
static ogg_stream_state os;
|
||||
static FILE *_fileOs = 0;
|
||||
static oe_enc_opt inopt;
|
||||
static OpusHeader header;
|
||||
static opus_int32 min_bytes;
|
||||
static int max_frame_bytes;
|
||||
static ogg_packet op;
|
||||
static ogg_page og;
|
||||
static opus_int64 bytes_written;
|
||||
static opus_int64 pages_out;
|
||||
static opus_int64 total_samples;
|
||||
static ogg_int64_t enc_granulepos;
|
||||
static ogg_int64_t last_granulepos;
|
||||
static int size_segments;
|
||||
static int last_segments;
|
||||
|
||||
void cleanupRecorder() {
|
||||
static void cleanupRecorder() {
|
||||
|
||||
ogg_stream_flush(&os, &og);
|
||||
|
||||
@@ -282,7 +305,7 @@ void cleanupRecorder() {
|
||||
memset(&og, 0, sizeof(ogg_page));
|
||||
}
|
||||
|
||||
int initRecorder(const char *path) {
|
||||
static int initRecorder(const char *path) {
|
||||
cleanupRecorder();
|
||||
|
||||
if (!path) {
|
||||
@@ -421,7 +444,7 @@ int initRecorder(const char *path) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int writeFrame(uint8_t *framePcmBytes, unsigned int frameByteCount) {
|
||||
static int writeFrame(uint8_t *framePcmBytes, unsigned int frameByteCount) {
|
||||
int cur_frame_size = frame_size;
|
||||
_packetId++;
|
||||
|
||||
@@ -527,15 +550,15 @@ JNIEXPORT void Java_com_b44t_messenger_MediaController_stopRecord(JNIEnv *env, j
|
||||
}
|
||||
|
||||
//player
|
||||
OggOpusFile *_opusFile;
|
||||
int _isSeekable = 0;
|
||||
int64_t _totalPcmDuration = 0;
|
||||
int64_t _currentPcmOffset = 0;
|
||||
int _finished = 0;
|
||||
static OggOpusFile *_opusFile;
|
||||
static int _isSeekable = 0;
|
||||
static int64_t _totalPcmDuration = 0;
|
||||
static int64_t _currentPcmOffset = 0;
|
||||
static int _finished = 0;
|
||||
static const int playerBuffersCount = 3;
|
||||
static const int playerSampleRate = 48000;
|
||||
|
||||
void cleanupPlayer() {
|
||||
static void cleanupPlayer() {
|
||||
if (_opusFile) {
|
||||
op_free(_opusFile);
|
||||
_opusFile = 0;
|
||||
@@ -546,7 +569,7 @@ void cleanupPlayer() {
|
||||
_finished = 0;
|
||||
}
|
||||
|
||||
int seekPlayer(float position) {
|
||||
static int seekPlayer(float position) {
|
||||
if (!_opusFile || !_isSeekable || position < 0) {
|
||||
return 0;
|
||||
}
|
||||
@@ -559,7 +582,7 @@ int seekPlayer(float position) {
|
||||
return result == OPUS_OK;
|
||||
}
|
||||
|
||||
int initPlayer(const char *path) {
|
||||
static int initPlayer(const char *path) {
|
||||
cleanupPlayer();
|
||||
|
||||
int openError = OPUS_OK;
|
||||
@@ -576,7 +599,7 @@ int initPlayer(const char *path) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
void fillBuffer(uint8_t *buffer, int capacity, int *args) {
|
||||
static void fillBuffer(uint8_t *buffer, int capacity, int *args) {
|
||||
if (_opusFile) {
|
||||
args[1] = max(0, op_pcm_tell(_opusFile));
|
||||
|
||||
@@ -735,7 +758,7 @@ JNIEXPORT jbyteArray Java_com_b44t_messenger_MediaController_getWaveform2(JNIEnv
|
||||
return result;
|
||||
}
|
||||
|
||||
int16_t *sampleBuffer = NULL;
|
||||
static int16_t *sampleBuffer = NULL;
|
||||
|
||||
|
||||
JNIEXPORT jbyteArray Java_com_b44t_messenger_MediaController_getWaveform(JNIEnv *env, jclass class, jstring path) {
|
||||
@@ -819,3 +842,4 @@ JNIEXPORT jbyteArray Java_com_b44t_messenger_MediaController_getWaveform(JNIEnv
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,28 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Delta Chat Android
|
||||
* (C) 2013-2016 Nikolai Kudashov
|
||||
* (C) 2017 Björn Petersen
|
||||
* Contact: r10s@b44t.com, http://b44t.com
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see http://www.gnu.org/licenses/ .
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#include <jni.h>
|
||||
#include <utils.h>
|
||||
#include "mrjnimain.h"
|
||||
#include <libyuv.h>
|
||||
#include <android/bitmap.h>
|
||||
#include <cstdint>
|
||||
@@ -53,19 +76,14 @@ typedef struct VideoInfo {
|
||||
AVPacket orig_pkt;
|
||||
};
|
||||
|
||||
jobject makeGlobarRef(JNIEnv *env, jobject object) {
|
||||
if (object) {
|
||||
return env->NewGlobalRef(object);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int gifvideoOnJNILoad(JavaVM *vm, JNIEnv *env) {
|
||||
int gifvideoOnJNILoad(JavaVM *vm, JNIEnv *env) { /* called from JNI_OnLoad() */
|
||||
av_register_all();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int open_codec_context(int *stream_idx, AVFormatContext *fmt_ctx, enum AVMediaType type) {
|
||||
|
||||
static int open_codec_context(int *stream_idx, AVFormatContext *fmt_ctx, enum AVMediaType type) {
|
||||
int ret;
|
||||
AVStream *st;
|
||||
AVCodecContext *dec_ctx = NULL;
|
||||
@@ -97,7 +115,7 @@ int open_codec_context(int *stream_idx, AVFormatContext *fmt_ctx, enum AVMediaTy
|
||||
return 0;
|
||||
}
|
||||
|
||||
int decode_packet(VideoInfo *info, int *got_frame) {
|
||||
static int decode_packet(VideoInfo *info, int *got_frame) {
|
||||
int ret = 0;
|
||||
int decoded = info->pkt.size;
|
||||
|
||||
@@ -263,4 +281,5 @@ jint Java_com_b44t_ui_Components_AnimatedFileDrawable_getVideoFrame(JNIEnv *env,
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
} /* extern "C" */
|
||||
|
||||
+9
-7
@@ -1,6 +1,6 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Messenger Android Frontend
|
||||
* Delta Chat Android
|
||||
* (C) 2013-2016 Nikolai Kudashov
|
||||
* (C) 2017 Björn Petersen
|
||||
* Contact: r10s@b44t.com, http://b44t.com
|
||||
@@ -21,11 +21,13 @@
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
package com.b44t.messenger;
|
||||
#ifndef __GIFVIDEO_H__
|
||||
#define __GIFVIDEO_H__
|
||||
|
||||
public class UserObject {
|
||||
|
||||
public static String getUserName(TLRPC.User user) {
|
||||
return "ErrName"; // use MrContact.getName() instead
|
||||
}
|
||||
}
|
||||
#include <jni.h>
|
||||
|
||||
int gifvideoOnJNILoad(JavaVM *vm, JNIEnv *env);
|
||||
|
||||
|
||||
#endif /* __GIFVIDEO_H__ */
|
||||
+61
-24
@@ -1,25 +1,62 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Delta Chat Android
|
||||
* (C) 2013-2016 Nikolai Kudashov
|
||||
* (C) 2017 Björn Petersen
|
||||
* Contact: r10s@b44t.com, http://b44t.com
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see http://www.gnu.org/licenses/ .
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#include <jni.h>
|
||||
#include <stdio.h>
|
||||
#include <setjmp.h>
|
||||
#include <libjpeg/jpeglib.h>
|
||||
/*#include <libjpeg/jpeglib.h>*/
|
||||
#include <android/bitmap.h>
|
||||
#include <libwebp/webp/decode.h>
|
||||
#include <libwebp/webp/encode.h>
|
||||
#include "utils.h"
|
||||
/*#include <libwebp/webp/decode.h>
|
||||
#include <libwebp/webp/encode.h>*/
|
||||
#include "mrjnimain.h"
|
||||
#include "image.h"
|
||||
|
||||
jclass jclass_NullPointerException;
|
||||
jclass jclass_RuntimeException;
|
||||
|
||||
jclass jclass_Options;
|
||||
jfieldID jclass_Options_inJustDecodeBounds;
|
||||
jfieldID jclass_Options_outHeight;
|
||||
jfieldID jclass_Options_outWidth;
|
||||
static jclass jclass_NullPointerException;
|
||||
static jclass jclass_RuntimeException;
|
||||
|
||||
const uint32_t PGPhotoEnhanceHistogramBins = 256;
|
||||
const uint32_t PGPhotoEnhanceSegments = 4;
|
||||
static jclass jclass_Options;
|
||||
static jfieldID jclass_Options_inJustDecodeBounds;
|
||||
static jfieldID jclass_Options_outHeight;
|
||||
static jfieldID jclass_Options_outWidth;
|
||||
|
||||
jclass createGlobarRef(JNIEnv *env, jclass class) {
|
||||
static const uint32_t PGPhotoEnhanceHistogramBins = 256;
|
||||
static const uint32_t PGPhotoEnhanceSegments = 4;
|
||||
|
||||
static void throwException(JNIEnv *env, char *format, ...) {
|
||||
jclass exClass = (*env)->FindClass(env, "java/lang/UnsupportedOperationException");
|
||||
if (!exClass) {
|
||||
return;
|
||||
}
|
||||
char dest[256];
|
||||
va_list argptr;
|
||||
va_start(argptr, format);
|
||||
vsprintf(dest, format, argptr);
|
||||
va_end(argptr);
|
||||
(*env)->ThrowNew(env, exClass, dest);
|
||||
}
|
||||
|
||||
static jclass createGlobalRef(JNIEnv *env, jclass class) {
|
||||
if (class) {
|
||||
return (*env)->NewGlobalRef(env, class);
|
||||
}
|
||||
@@ -27,16 +64,16 @@ jclass createGlobarRef(JNIEnv *env, jclass class) {
|
||||
}
|
||||
|
||||
jint imageOnJNILoad(JavaVM *vm, void *reserved, JNIEnv *env) {
|
||||
jclass_NullPointerException = createGlobarRef(env, (*env)->FindClass(env, "java/lang/NullPointerException"));
|
||||
jclass_NullPointerException = createGlobalRef(env, (*env)->FindClass(env, "java/lang/NullPointerException"));
|
||||
if (jclass_NullPointerException == 0) {
|
||||
return -1;
|
||||
}
|
||||
jclass_RuntimeException = createGlobarRef(env, (*env)->FindClass(env, "java/lang/RuntimeException"));
|
||||
jclass_RuntimeException = createGlobalRef(env, (*env)->FindClass(env, "java/lang/RuntimeException"));
|
||||
if (jclass_RuntimeException == 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
jclass_Options = createGlobarRef(env, (*env)->FindClass(env, "android/graphics/BitmapFactory$Options"));
|
||||
jclass_Options = createGlobalRef(env, (*env)->FindClass(env, "android/graphics/BitmapFactory$Options"));
|
||||
if (jclass_Options == 0) {
|
||||
return -1;
|
||||
}
|
||||
@@ -256,17 +293,17 @@ static void fastBlur(int imageWidth, int imageHeight, int imageStride, void *pix
|
||||
free(rgb);
|
||||
}
|
||||
|
||||
typedef struct my_error_mgr {
|
||||
/*typedef struct my_error_mgr {
|
||||
struct jpeg_error_mgr pub;
|
||||
jmp_buf setjmp_buffer;
|
||||
} *my_error_ptr;
|
||||
|
||||
|
||||
METHODDEF(void) my_error_exit(j_common_ptr cinfo) {
|
||||
METHODDEF(void) my_jpeglib_error_exit(j_common_ptr cinfo) {
|
||||
my_error_ptr myerr = (my_error_ptr) cinfo->err;
|
||||
(*cinfo->err->output_message) (cinfo);
|
||||
longjmp(myerr->setjmp_buffer, 1);
|
||||
}
|
||||
}*/
|
||||
|
||||
JNIEXPORT void Java_com_b44t_messenger_Utilities_blurBitmap(JNIEnv *env, jclass class, jobject bitmap, int radius, int unpin, int width, int height, int stride) {
|
||||
if (!bitmap) {
|
||||
@@ -410,7 +447,7 @@ JNIEXPORT void Java_com_b44t_messenger_Utilities_unpinBitmap(JNIEnv *env, jclass
|
||||
AndroidBitmap_unlockPixels(env, bitmap);
|
||||
}
|
||||
|
||||
JNIEXPORT void Java_com_b44t_messenger_Utilities_loadBitmap(JNIEnv *env, jclass class, jstring path, jobject bitmap, int scale, int width, int height, int stride) {
|
||||
/*JNIEXPORT void Java_com_b44t_messenger_Utilities_loadBitmap(JNIEnv *env, jclass class, jstring path, jobject bitmap, int scale, int width, int height, int stride) {
|
||||
|
||||
AndroidBitmapInfo info;
|
||||
int i;
|
||||
@@ -424,7 +461,7 @@ JNIEXPORT void Java_com_b44t_messenger_Utilities_loadBitmap(JNIEnv *env, jclass
|
||||
struct jpeg_decompress_struct cinfo;
|
||||
|
||||
cinfo.err = jpeg_std_error(&jerr.pub);
|
||||
jerr.pub.error_exit = my_error_exit;
|
||||
jerr.pub.error_exit = my_jpeglib_error_exit;
|
||||
|
||||
if (!setjmp(jerr.setjmp_buffer)) {
|
||||
jpeg_create_decompress(&cinfo);
|
||||
@@ -493,9 +530,9 @@ JNIEXPORT void Java_com_b44t_messenger_Utilities_loadBitmap(JNIEnv *env, jclass
|
||||
} else {
|
||||
throwException(env, "AndroidBitmap_getInfo() failed ! error=%d", i);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
JNIEXPORT jboolean Java_com_b44t_messenger_Utilities_loadWebpImage(JNIEnv *env, jclass class, jobject outputBitmap, jobject buffer, jint len, jobject options, jboolean unpin) {
|
||||
/*JNIEXPORT jboolean Java_com_b44t_messenger_Utilities_loadWebpImage(JNIEnv *env, jclass class, jobject outputBitmap, jobject buffer, jint len, jobject options, jboolean unpin) {
|
||||
if (!buffer) {
|
||||
(*env)->ThrowNew(env, jclass_NullPointerException, "Input buffer can not be null");
|
||||
return 0;
|
||||
@@ -545,4 +582,4 @@ JNIEXPORT jboolean Java_com_b44t_messenger_Utilities_loadWebpImage(JNIEnv *env,
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}*/
|
||||
|
||||
@@ -1,8 +1,34 @@
|
||||
#ifndef image_h
|
||||
#define image_h
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Delta Chat Android
|
||||
* (C) 2013-2016 Nikolai Kudashov
|
||||
* (C) 2017 Björn Petersen
|
||||
* Contact: r10s@b44t.com, http://b44t.com
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see http://www.gnu.org/licenses/ .
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#ifndef __IMAGE_H__
|
||||
#define __IMAGE_H__
|
||||
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
jint imageOnJNILoad(JavaVM *vm, void *reserved, JNIEnv *env);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __IMAGE_H__ */
|
||||
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <jni.h>
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
#include <openssl/aes.h>
|
||||
#include <unistd.h>
|
||||
#include "utils.h"
|
||||
#include "image.h"
|
||||
|
||||
int gifvideoOnJNILoad(JavaVM *vm, JNIEnv *env);
|
||||
|
||||
jint JNI_OnLoad(JavaVM *vm, void *reserved) { /* this function is called automatically by the JNI when the library gets loaded */
|
||||
JNIEnv *env = 0;
|
||||
srand(time(NULL));
|
||||
|
||||
if ((*vm)->GetEnv(vm, (void **) &env, JNI_VERSION_1_6) != JNI_OK) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (imageOnJNILoad(vm, reserved, env) == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (gifvideoOnJNILoad(vm, env) == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return JNI_VERSION_1_6;
|
||||
}
|
||||
|
||||
void JNI_OnUnload(JavaVM *vm, void *reserved) {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
JNIEXPORT void Java_com_b44t_messenger_Utilities_aesIgeEncryption(JNIEnv *env, jclass class, jobject buffer, jbyteArray key, jbyteArray iv, jboolean encrypt, int offset, int length) {
|
||||
jbyte *what = (*env)->GetDirectBufferAddress(env, buffer) + offset;
|
||||
unsigned char *keyBuff = (unsigned char *)(*env)->GetByteArrayElements(env, key, NULL);
|
||||
unsigned char *ivBuff = (unsigned char *)(*env)->GetByteArrayElements(env, iv, NULL);
|
||||
|
||||
AES_KEY akey;
|
||||
if (!encrypt) {
|
||||
AES_set_decrypt_key(keyBuff, 32 * 8, &akey);
|
||||
AES_ige_encrypt(what, what, length, &akey, ivBuff, AES_DECRYPT);
|
||||
} else {
|
||||
AES_set_encrypt_key(keyBuff, 32 * 8, &akey);
|
||||
AES_ige_encrypt(what, what, length, &akey, ivBuff, AES_ENCRYPT);
|
||||
}
|
||||
(*env)->ReleaseByteArrayElements(env, key, keyBuff, JNI_ABORT);
|
||||
(*env)->ReleaseByteArrayElements(env, iv, ivBuff, 0);
|
||||
}
|
||||
*/
|
||||
|
||||
JNIEXPORT jstring Java_com_b44t_messenger_Utilities_readlink(JNIEnv *env, jclass class, jstring path) {
|
||||
static char buf[1000];
|
||||
char *fileName = (*env)->GetStringUTFChars(env, path, NULL);
|
||||
int result = readlink(fileName, buf, 999);
|
||||
jstring value = 0;
|
||||
if (result != -1) {
|
||||
buf[result] = '\0';
|
||||
value = (*env)->NewStringUTF(env, buf);
|
||||
}
|
||||
(*env)->ReleaseStringUTFChars(env, path, fileName);
|
||||
return value;
|
||||
}
|
||||
@@ -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
@@ -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
|
||||
@@ -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.
|
||||
|
||||
[](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
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user