Commit Graph

964 Commits (47a210788a8f14b93acc8dc97ee166e7c7e12a99)

Author SHA1 Message Date
Roker 157b12f58a close branch JSON-152 before merge. 3 years ago
Roker 3590c9604e compile-time removal of certain (possibly long) debug log messages in stream format via new macro DEBUG_LOG() 3 years ago
Roker ed0c22af42 remove old & unused Nulllogger. 3 years ago
Roker db00725360 pollForEvents(timeout) removed from API. pollForEvents2(session_id, timeout) renamed in pollForEvents(session_id,timeout) in API. Bump API version to 0.20.0. version name: "(42) Gotha". 3 years ago
Roker 9636d0d0a6 rename 'old_session_management' branch into 'JSON-152' 3 years ago
Jorg Knobloch 37353a4eca Refresh from 3 years ago
Roker 7d39c22575 log the outputText in sendReplyString(). Yes, I know, it can be biiiiig! 3 years ago
Roker 4fcd4dfcfb make pollForEvents() more chatty, too. 3 years ago
Roker 289587b83d log the request before delivery. 3 years ago
Roker fba350bedc EventListener Queues now contain js::Object instead of strings, so the js::Array returned by pollForEvents() has JSON objects, not JSON strings as elements. :-) 3 years ago
Roker 8a4c44a14f merge double head. 3 years ago
Roker e7a99fdafe add create_session() and close_session() for explicit session management 3 years ago
Roker b74b4d38fd add pollForEvents2() that has an additional explicit session_id parameter. 3 years ago
Jorg Knobloch cdf7683e33 Refresh from 3 years ago
Volker Birk 3862f5ea6a on macOS either nothing from MacPorts or everything from MacPorts 3 years ago
Roker 654917b214 make create_random_token() public, so it can be used to create a random session ID 3 years ago
Roker 28aa49c365 prepare for explicit session management in EventListener 3 years ago
Roker a0d949af74 okay, move the port probing into JsonAdapter::prepare_run() 3 years ago
Roker 7e9c38d910 start new branch 'old_session_management' 3 years ago
Roker 8e25ef6d61 remove eventQueue for dying thread 3 years ago
Roker 29934171ff threading foo 3 years ago
Roker e4475930ef merge double head. 3 years ago
Roker fe5f5842ce make ev_server the real server class. 3 years ago
Jorg Knobloch fa1077f705 JSON-152: Refresh from 3 years ago
Jorg Knobloch bcbbd0b29e JSON-152: Refresh from 5d8fbbaec3/ 3 years ago
Jorg Knobloch a9bd147340 JSON-152: Follow-up to rev. 232ab07483aa: Added build-windows\pEp\libpEpwebserver\packages.config. 3 years ago
Jorg Knobloch c3f7756e92 JSON-152: Make it compile on Windows. 3 years ago
Roker 26a0d8ab12 remove libevent-2.0.22 from this repo. 3 years ago
Roker 24b1075d11 add libpEpwebserver.a, -lboost_regex and -fvisibility=hidden (necessary for boost_regex) to Makefile 3 years ago
Roker c6a5adcb23 don't log objects that have types without appropiate logger functionality. 3 years ago
Roker 0485986670 change ev_server to use pEp::Webserver. Now it compiles. \o/ But does not link, yet. :-/ 3 years ago
Roker 006cab02ee remove libevent, ev_http. remove own thread handlign. switch to pEp::Webserver. 3 years ago
Roker 3d291e6a25 start branch JSON-152 "Replace libevent & ev_http by boost::beast" 3 years ago
Roker 35a5f52c13 merge JSON-143 into "postrelease" branch. 3 years ago
Roker 538cb1c14c add toggle onclick handler. 3 years ago
Roker 80bf1e4210 add logfile viewer HTML & JavaScript. 3 years ago
Roker 4d587d45e0 log what happens on connection close. 3 years ago
Roker 3c1e521f5a set callback for connection close, to remove pending eventListener entries. 3 years ago
Roker 9bb80e2fab add more debug log :-/ 3 years ago
Roker 6a432db19a add request counter and thread ID to the JSON-RPC results 3 years ago
Roker 36c632702e make Logger's thread_id() function accessable by other modules 3 years ago
Roker 9ea49f9073 re-structured In<> and InOut<> class templates. I hope, MSVC is happy now. 3 years ago
Roker f063038e3a make compiler happy. And remove no longer needed, but dangerous code. 3 years ago
Roker cbe62568cc the same for notifyHandshake() 3 years ago
Roker cff655ae1f Hah! Here was the culprit: 2 In<> or InOut<> wrapper on the same struct message! But it is unecessary here; direct to_json<> is what we need here. 3 years ago
Roker 360ca0e035 set value to nullptr. Should be unecessary, but avoids double-free problems, if 2 In<>, InOut<>... wrappers are assigned to the same raw C object. 3 years ago
Roker e31b72d9d2 oops, I forgot this change to commit. My fault. Sorryyyyy... 3 years ago
Roker f6cd933da2 okay, joerg sais, MSVC does not need them anymore. so I throw them away. 3 years ago
Roker 06c6d1d428 merge double head. 3 years ago
Roker 9ae0754411 kaum macht man es richtig, schon geht's! :-D 3 years ago