Commit Graph

203 Commits (b1d1238514233157e8a37de304f7e1c2e547c3ae)
 

Author SHA1 Message Date
Roker 1c3fb04afc support Integer and Bool input types
6 years ago
Roker f75cfe8355 merge double head.
6 years ago
Roker 24690cdda7 "(22) Overath" : add blacklist_retrieve(), rename identity_color() and outgoing_message_color() into identity_rating() and outgoing_message_rating()
6 years ago
Roker eb18f0ff4e JSON-17 #fixed.
6 years ago
Roker 00c1d1856a #ifdef _WIN32 switch for get_token_filename() and daemonize()
6 years ago
Roker 4f3d91a629 JSON-16 renamed "mt-server" into "psp-json-server"
6 years ago
Roker cf42a854f3 merged JSON-15. solved.
6 years ago
Roker 4745506f0c close branch before merge.
6 years ago
Roker 1524ca5e78 add "unset_identity_flags()"
6 years ago
Roker ee839f5210 add "set_identity_flags()"
6 years ago
Roker 84486dc147 Add a lot of functions the JNI adapter provides. Are they all necessary for Enigmail?
6 years ago
Roker 5a6d125e70 start branch JSON-15
6 years ago
Roker bdc8877bf1 JSON-11: bring get_trustwords() into the JSON API, remove old trustwords() function. new version "(21) Untereschbach"
6 years ago
Roker 5b00c07c4a fix teh Makefile.
6 years ago
Roker 51cecd4e2b move the slow-compiling json-sprit files in the Makefile to front, so they are compiled first which speed-up compilation time
6 years ago
Roker 15fb342b1c release() all sessions to avoid ressource leaks. unfortunately the Engine still leaks internally. :-(
6 years ago
Roker cacc637826 be more robust and don't crash on shutdown()
6 years ago
Roker 4e08182310 add support for "backslash escape sequence" decoding in input strings
6 years ago
Roker e529c79edc add servertest program that tests the locked_queue with many parallel threads
6 years ago
Roker b96884c494 implement proper locked_queue and use it
6 years ago
Roker 49b6f05a2c make the JSON parser thread-safe! needs -lboost_thread now. :-o
6 years ago
Roker 218391198f new API version: "(20) Moitzfeld" showHandshake() -> notifyHandshake() and other Engine's API changes
6 years ago
Roker ace0b324ac fix typo
6 years ago
Roker 9bdd7ec717 add remove_token_file();
6 years ago
Roker ced00dff84 pthread -> std::thread for the sync_thread, too.
6 years ago
Roker e04223cd7d use std::mutex instead of pthread in locked_queue
6 years ago
Roker 516bc24b68 generalize request functions, incl. automatic memory management :-)
6 years ago
Roker bcc9a506c2 the locked_queue is a member, not a pointer now. code duplication minimized by externalizing makeAndDeliverRequest()
6 years ago
Roker c40dece461 add locked_queue.empty() and locked_queue.clear()
6 years ago
Roker 7b35e86c37 new version "(19) Bensberg": command-line options, daemonize()
6 years ago
Roker f67af7b2ce add daemonize() function. Needs to be platform-dependent. :-/
6 years ago
Roker c9df333a9d add command line options, make json-adapter quit per default
6 years ago
Roker a303d12b2c add Nulllogger to suppress console output.
6 years ago
Roker f57dfd119e new version "(18) Refrath": added trust_personal_key(), key_mistrusted(), key_reset_trust()
6 years ago
Roker 57806f6160 #JSON-14 ealways escape _all_ ASCII control characters (inc. NUL) in JSON strings
6 years ago
Roker 9aae29119d uniform_int_distribution's c'tor arguments describe a closed interval. That's why sizeof-2!
6 years ago
Roker 6c1ba28e65 "(17) Köln Mehrheim": MIME_encrypt_message() and MIME_decrypt_message() instead of internal functions mime_..._message() from internal header mime.h
6 years ago
Roker 3a138e06d6 new version "(16) Kreuz Köln Ost": #close JSON-12. remove dependency to awkward boost.archive for base64.
6 years ago
Edouard Tisserant 12793cf92c added pep-utils.hh forgotten in earlier commit
7 years ago
Edouard Tisserant 4c9b980d40 Added sync session thread and queue. Thread is started in adapter constructor along with a dedicated session. Every created session is attached to sync session created in constructor
7 years ago
Edouard Tisserant 51a7be4d04 still untested base64 encoding _and_ decoding of blobs
7 years ago
Edouard Tisserant 402efd8ae6 untested base64 encoding of blobs
7 years ago
Dirk Zimmermann 650c145ab0 README: How to satisfy -luuid on OS-X
7 years ago
Dirk Zimmermann 1a4f5e46ac Added mime_decode_message, mime_encode_message to function map
7 years ago
Dirk Zimmermann 0358d59d3c Commented out register_sync_callbacks (only tmp)
7 years ago
Roker abe9c5deab do not ignore return value of write()
7 years ago
Roker 0430d3a703 JSON-6 implement interface changes minimally, so it compiles at least.
7 years ago
Roker d0d3968346 merge JSON-2 into default branch. #close JSON-2
7 years ago
Roker 46f69eec59 close branch
7 years ago
Roker 86d0212fee implement showHandshake(). Support identity->flags
7 years ago