Commit Graph

587 Commits (103fef97e69d0374aad922f935dfdb7c971bc072)
 

Author SHA1 Message Date
Lars Rohwedder 66e6100369 hum, do "C++11 raw strings" look better here?
5 years ago
Lars Rohwedder 741c2873db better test cases, and I just found an encoding bug
5 years ago
Lars Rohwedder e08510fc84 use gtest_main instead of own main() function. that allowes several unit test source files linked together easily
5 years ago
Lars Rohwedder 4702391e34 add unit test using Googletest framework. Works only on Debian for now. Please generalize the Makefile!!!
5 years ago
Lars Rohwedder a934f1bb02 for \uXXXX with values >0x7F: implement UTF-8 encoding into std::string
5 years ago
Lars Rohwedder 05824957ca start branch JSON-80
5 years ago
Lars Rohwedder ce3eb2e9ee merge double head
5 years ago
Lars Rohwedder edc3ef808e change return type of \uXXXX decoding function. Needed for JSON-80
5 years ago
Roker 1cb4ad307f Don't log to stderr if not necessary. ev_server methods now also uses the configured logfile. :-)
5 years ago
Lars Rohwedder 1e6c367cf4 handle non-BMP characters in JSON output properly, when \u encoding is desired.
5 years ago
Lars Rohwedder d5c7e19ff9 catch exceptions, convert them into HTTP-Error 500. Unknown URIs become 404.
5 years ago
Lars Rohwedder 8101a81ab1 start branch "JSON-77"
5 years ago
Roker 3cf4d56423 add assert_utf8() for every string to/from the Engine (except blobdata). Bump to version 0.12.1.
5 years ago
Roker 2b99fffa37 rename mis-spelled undo_last_mitrust() into undo_last_mistrust(). API version 0.12.0. updated API reference.md and API reference detail.md
5 years ago
Roker 73b6365fcd rename mis-spelled undo_last_mitrust() into undo_last_mistrust(). API version 0.12.0.
5 years ago
Roker 7184552208 generate current API reference.md
5 years ago
Roker e46bcdb99d merge double head.
5 years ago
Roker 1d316ddb75 add set_own_key(). new API version 0.11.0
5 years ago
Claudio Luck c3c7d2fa44 daemonize: now fix -d1 again
5 years ago
Claudio Luck 558d6a7b23 mini-adapter: make html_directory fixed and relative for the time being
5 years ago
Claudio Luck 085f537336 daemonize(): double-fork and use pipe(2) to report back
5 years ago
Claudio Luck 024603cf92 Revert make a call to init() before daemonize()
5 years ago
Volker Birk c0aaabc7bd one dependency extra for lazy people like me
5 years ago
Volker Birk a00bc0972e ...
5 years ago
Volker Birk 54444414ca linking less is enough
5 years ago
Roker 3266321f5f simplify. did not change API. :-)
5 years ago
Roker 5aa534efd1 oops, I did not want to break Enigmail. Fixed now: version() returns just a string
5 years ago
Lars Rohwedder f45cd2c439 fix version display on the HTML test page
5 years ago
Lars Rohwedder 141d93ef50 new version "(34) Erndtebrück": remove apiVersion(), change version() to return a semver-compatible version number in a JSON object.
5 years ago
Lars Rohwedder f6922d229a move Type2String from function_map.hh to inout.hh
5 years ago
Roker 9ea26ebf88 make a call to init() before daemonize() so we can still print errors to stderr. Needed by Enigmail.
5 years ago
Roker d22cbb0323 #fix JSON-70 again: "Cannot create session!" is now _always_ printed to stderr, regardless of log settings, because Enigmail needs this.
5 years ago
Roker c4aa255591 merge JSON-71 into default branch. #close JSON-71
5 years ago
Roker fb2480a32f close branch before merge
5 years ago
Roker 40943a60ee new version "(33) Hilchenbach"
5 years ago
Roker 75a2935781 don't call event_use_pthreads() because we don't use pthreads. Superfluous leftover that fails on MS Windows removed now. Thanks Claudio!
5 years ago
Roker d124def6e8 okay, don't share event_base and evhttp objects between threads. :-/
5 years ago
Roker 98608e2459 merge "default" into "JSON-71"
5 years ago
Roker 9395680fce merge double heads
5 years ago
Roker 1c521a69f0 new version "(32) Littfeld" for JSON-72: add is_pep_user() to the API.
5 years ago
Roker ef6d9e0c98 refactored. now it compiles great again!
5 years ago
Roker 185f084f00 change log output, add -levent_pthread for Linux
5 years ago
Lars Rohwedder e064fba01f add -fPIC to compiler flags
5 years ago
Roker ef6d0f91f5 typo fix
5 years ago
Roker 28ab841813 okay, update_identity() wieder rein...
5 years ago
Roker 43700d1d1e JSON-69: separate binding and run().
5 years ago
Roker e2293b8f78 some functions removed from the API because they are obsolete & unused by Enigmail.
5 years ago
Roker 673e78f82c JSON-70: print verbose error message to stderr befor throw std::runtime_error(), because the exception message is not printed to stderr on all platforms. -.-
5 years ago
Roker dd9bfbd0b3 implement veeeeerrrryyy verbose status_to_string(). SUCH CODE SHALL BE GENERATED ASAP!
5 years ago
Roker f0b92e310b JSON-70: add command line parameter --ignore-missing-session to ignore session errors. UNTESTED, YET. USE AT OWN RISK!
5 years ago