Commit Graph

56 Commits (47a210788a8f14b93acc8dc97ee166e7c7e12a99)

Author SHA1 Message Date
Jorg Knobloch 6a33d5398f Remove Windows Debug no-op code from rev. 72a35ebc15c6. 3 years ago
Roker 9b3a0bd4ff restructure call context, so cached/generated values are now thread-safe "per call" and not globally stored in the JsonAdapter class! 3 years ago
Roker 7f23109544 remove Context::augment() because it is no longer necessary. 3 years ago
Volker Birk 944636a0bb required safeguard 3 years ago
Volker Birk 387bca46ca patch for MSC: remove double array 3 years ago
Roker 29635ce596 call pEp::passphrase_cache.add() and pEp::passphrase_cache.add_stored() also for the current PEP_SESSION, not only for cached and future PEP_SESSIONs. 3 years ago
Volker Birk aeb37831f7 passphrase_cache now provided by libpEpAdapter 3 years ago
Roker 6061ff77a8 okay, std::bind() does not work well with varying unbound parameters. use lambda for that! 3 years ago
Roker 96ce81df98 add wrapper for pEp::PassphraseCache::api() usage. UNTESTED! 3 years ago
Roker 2383e7820a okay, store the passphrases in the global passphrase_cache, too! 3 years ago
Roker f317afaa78 Booooy... I'm giving up and implement FuncCache for 'config_passphrase()' and 'config_passphrase_for_new_keys()' manually to get rid of that template gebastel and resource management of C strings in the function cache. 3 years ago
Roker fd046b231d kommando zurück! 3 years ago
Roker 2629826644 okay, the generic way is too complicated, too many indirections, I'm giving up and implement just the cases we have, to get finished somehow. *sigh* 3 years ago
Volker Birk 91c960df3d use CallbackDispatcher 3 years ago
Roker 437b5fadc1 more log output. *sigh* 3 years ago
Roker 24b616d139 okay, implement a simplified version without template magic, that only works for 1-parameter config functions. GOOD ENOUGH! 3 years ago
Roker 4e0de73094 add FuncCache class template. :-) 3 years ago
Roker b9183a12ea delete resources in d'tor to make Valgrind happy. :-) 3 years ago
Roker de8be64565 set_identity() has _const_ pEp_identity* parameter. 3 years ago
Roker 962cb35280 JSON-135: FunctionMap now detects duplicate keys. And: Found & eliminate 3 duplicates: "mime_decode_message", "outgoing_message_rating" and "identity_rating". Thank you, Joerg, for this bug! :-) 3 years ago
Roker d8596bc2ae be less chatty... remove logging to stdout/stderr 5 years ago
Lars Rohwedder 68a673e120 NULL context is no longer allowed 5 years ago
Roker 625a9d8128 In<c_string> stores the length. InLength<> retrieves it. 5 years ago
Lars Rohwedder e42023730b differentiate between normal and augmented output data types to implement non-owning return types. 5 years ago
Lars Rohwedder 59419c3c50 fix memory leak in Return values 5 years ago
Roker 9fb8c19781 be more robust. change order of attributes for easier testing; semantics is unchanged. 5 years ago
Lars Rohwedder f6922d229a move Type2String from function_map.hh to inout.hh 5 years ago
Roker b7b34f79ac MSVC is b0rken. 5 years ago
Roker 85c2c55641 remove double code of In<>, InOut<>, Out<> etc. 5 years ago
Roker 7fe0225ed8 zombra! 6 years ago
Roker 9acacef17b split function_map.hh/.cc into function_map.?? and inout.?? 6 years ago
Roker 52268f6ed2 new version "(26) Reichshof": change return type from JSON array into JSON object {"output":[...], "return":..., "errorstack":[...]} 6 years ago
Roker 15cefec20e augment the PEP_STATUS with the error stack 6 years ago
Damiano Boppart 1b8755a0e0 Fix compilation on openSUSE 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 516bc24b68 generalize request functions, incl. automatic memory management :-) 7 years ago
Roker 6944bba622 allow calling of non-const Context* functions 7 years ago
Roker 4e501cf038 JSON-1 insert dummy parameter if necessary. proper parameter consuming 7 years ago
Roker c64fea9356 JSON-1 #comment dummy parameter removal is also useful for JSON-3 7 years ago
Roker d159886350 3rd try: Paramets now can access the context. 7 years ago
Roker 4f753ecdce add "context" to the function call mechanism 7 years ago
Roker 0885bdd164 registerSession shall use security_token, too. fix some warnings clang++ shows but gcc does not. 7 years ago
Roker b3b24cf47e if we want to get the output_parameters in the JSON-RPC result, we shall return them! 7 years ago
Roker 4e82b4b92d more debug output 7 years ago
Roker f23706cf31 remove unecessary copy constructors also here 7 years ago
Roker 4382fd6fc0 make In<T>, Out<T> etc. uncopyable, because they are not copied anymore. :-) 7 years ago
Roker 3efbec2e37 collect the output params in js::Array instead of a std::tuple<> 7 years ago
Roker 7f5c9bc25d add some clarifying comments. Hope they will help to clarify 7 years ago
Roker 233a7f8485 operator<<() for Out<T> 7 years ago
Roker 2fae28d057 make a log output for Out<message*>::Out() 7 years ago