Commit Graph

152 Commits (52019569e27a6bee848b3f9d577bf5c0daad1c97)

Author SHA1 Message Date
Roker 52019569e2 fix some MSVC warnings 6 years ago
Roker 32929bb638 merge "default" into "JSON-23" 6 years ago
Roker b59db96211 merge double head 6 years ago
Roker 264369468a add 'null' value when stringlist->value is NULL. Might fix JSON-24. 6 years ago
Damiano Boppart 1b8755a0e0 Fix compilation on openSUSE 6 years ago
Roker c897e7fa5b merge "default" into "JSON-23" 6 years ago
Roker 3c5444f376 don't mix TAB and SPACES, that confuses the MSVC compiler. oO 6 years ago
Roker 7d69dada1e separate platform-dependent and -independent code 6 years ago
Roker 30caa39910 replace case ... branches by if-else cascade. :-/ 6 years ago
Roker e606bcb34e so much space… 6 years ago
Roker 3b3b328086 use pEp::utility::slurp() + evbuffer_add() instead of efficient zero-copy evbuffer_add_file(). Thanks, Microsoft! :-( 6 years ago
Roker c93cba8833 add slurp() function from pEpEngine's test code. 6 years ago
Roker df1fb88127 sleep() → std::this_thread::sleep_for() 6 years ago
Roker 950bcfc01f start branch JSON-23 6 years ago
Damiano Boppart cd66a7dc86 Fix Makefile and update build instructions for macOS 6 years ago
Roker b1b02a5cdb JSON-22: New version "(25) Gummersbach": add MIME_encrypt_message_for_self() and change API for encrypt_message_for_self() 6 years ago
Roker 6a2a30fee7 color -> rating 6 years ago
Roker 32e7c1a6cd new version "(24) Bielstein": add MIME_encrypt_message_ex() and MIME_decrypt_message_ex() as a HACK to set passive_mode 6 years ago
Roker ec4ea3c09a JSON-18 fix copy-paste error that cause a crash when GNUPGHOME environment variable is set, but GPG_AGENT_INFO is not set 6 years ago
Roker 489c2509a8 JSON-20 : add missing comma. 6 years ago
Roker cb08017d9d JSON-20 Change the order of 2 void* parameters… *sigh* who designed such interfaces? –.– 6 years ago
Roker 8a74086b30 JSON-18 #comment Add function getGpgEnvironment() that returns an object with 3 optional strings (which each might be null). 6 years ago
Roker c352ebb132 new version "(23) Engelskirchen": fix JSON-19. Support "Bool" and "Language" as separate data types in JavaScript. 6 years ago
Roker 56ace2ef87 JSON-19 fix teh bug. it was an infinite recursion. *sigh* 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 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 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 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