Commit Graph

234 Commits

Author SHA1 Message Date
lganzzzo
476a16fa8f Fix FullAsyncTest for MAC 2019-04-28 04:33:19 +03:00
lganzzzo
b1d54ab90d Full tests for both oatpp-virtual interface and real port 2019-04-28 03:52:41 +03:00
lganzzzo
ff00d880cf wait executor tasks finished before quitting runner task in Async tests 2019-04-27 23:57:30 +03:00
lganzzzo
4e7ef39f43 Add ability to wait for all async::Executor tasks finished 2019-04-27 12:30:14 +03:00
lganzzzo
4b3ea45ec0 remove timer-wait in ClientServerTestRunner - join threads instead 2019-04-27 03:39:47 +03:00
lganzzzo
03388a295c New Async Event-Based IO using kqueue/epoll. + Use CoroutineWaitList for virtual_::* I/O 2019-04-27 02:40:39 +03:00
lganzzzo
d8200cd28b Introduce stream I/O Mode 2019-04-23 00:55:21 +03:00
lganzzzo
5a17971057 fix test/oatpp/AllTestsMain.cpp 2019-04-19 02:22:56 +03:00
lganzzzo
b573610a4b refactor SpinLock 2019-04-18 03:17:58 +03:00
lganzzzo
61276f9c89 fix FullAsyncClientTest.cpp 2019-04-16 01:41:54 +03:00
lganzzzo
e41f83ece5 increase number of iterations for FullAsyncClientTest 2019-04-03 17:52:05 +03:00
lganzzzo
8d4711830d new Async API draft 2019-04-03 05:16:23 +03:00
lganzzzo
c02f9f7c8e fix virtual_/Interface std::shared_ptr inconsistency 2019-04-01 04:01:05 +03:00
lganzzzo
4d2487b4ff fix to Input and Output stream interface 2019-03-31 15:37:16 +03:00
lganzzzo
5be7637c64 better AsyncIO error handling 2019-03-31 01:58:27 +02:00
lganzzzo
52e1754d12 Green tests after refactoring 2019-03-30 21:19:50 +02:00
lganzzzo
da5162c106 async::Action refactored. Async Error handling refactored. 2019-03-30 18:02:46 +02:00
lganzzzo
7f6dc1d556 FullAsyncClientTest 2019-03-27 01:00:30 +02:00
lganzzzo
d6ef7a4ec8 Add support for parsing header value set 2019-03-25 20:08:29 +02:00
lganzzzo
3b64520ff5 Refactor error handling in oatpp::encoding::Hex and oatpp::parser::json::Utils. More API Docs. 2019-03-23 05:10:07 +02:00
lganzzzo
9b7289c653 API docs for oatpp::web::protocol::http::outgoing::Request 2019-03-23 03:36:19 +02:00
lganzzzo
d9b42312bd remove classes Thread and Runnable 2019-03-23 03:06:39 +02:00
lganzzzo
fa0b9561a6 minor refactoring plus more API-docs for oatpp::web::protocol::http::* 2019-03-22 04:33:45 +02:00
lganzzzo
0c9ff3a5da refactor Controllable, refactor Config directives 2019-03-07 01:52:28 +04:00
lganzzzo
20c42b95c0 Proper disable pool allocations. + Config oatpp compiler options from cmake. 2019-03-05 03:09:24 +04:00
lganzzzo
03293ab720 merge query params mapping feature by @sauntor 2019-03-01 18:02:13 +02:00
lganzzzo
3eaac8955a Merge remote-tracking branch 'lganzzzo/master' into merge_server_side_query_params_mapping 2019-03-01 17:13:33 +02:00
lganzzzo
32dcc3f780 better detailed endpoint info support 2019-03-01 02:15:46 +02:00
lganzzzo
4e298f9046 Serverside query params PR merge with oatpp/master 2019-02-26 16:01:07 +02:00
lganzzzo
d1822941b5 Header-files cleanup 2019-02-25 02:36:41 +02:00
lganzzzo
150219552f Better OutputStream, ChunkedBufferTest 2019-02-25 01:02:58 +02:00
lganzzzo
7de960d456 Use MemoryLabel to parse URL query params. Network/UrlTest. 2019-02-24 20:40:51 +02:00
lganzzzo
c6c41034c0 pr-review 2019-02-24 13:31:57 +02:00
适然
80e6d483fb add server side query parameters support 2019-02-24 15:25:35 +08:00
适然
37a4fd7fe1 add server side query parameters support 2019-02-24 15:22:24 +08:00
lganzzzo
44b1c9e32b Uncomment all tests 2019-02-23 16:55:01 +02:00
lganzzzo
9efb58fc02 Better ClientServerTestRunner 2019-02-23 16:53:07 +02:00
lganzzzo
f7ce8ea873 better test framework. + ClientServerTestRunner 2019-02-23 02:43:15 +02:00
lganzzzo
1c4fb11296 ClientServerTestRunner draft 2019-02-22 19:18:59 +02:00
lganzzzo
ba4d22e1af UnitTest::onRun return void 2019-02-22 15:48:34 +02:00
lganzzzo
6a6133556c Fix to virtual_::Pipe. Crash Fix in StrBuffer (Small_String_Pool) 2019-02-22 03:10:01 +02:00
lganzzzo
1884218e13 uncomment tests 2019-02-20 14:37:52 +02:00
lganzzzo
70494f30a7 test for oatpp::parser::Caret 2019-02-19 17:13:50 +02:00
lganzzzo
896719cbd7 partial parser::Caret refactoring 2019-02-17 17:14:04 +02:00
lganzzzo
75eaa09263 remove ',' in license header 2019-02-16 23:38:47 +02:00
lganzzzo
66096514f5 use FIFOBuffer for StreamBufferedProxy(InputStream) 2019-02-07 08:10:05 +02:00
lganzzzo
10d961b99b Better stream processing methods 2019-02-07 07:42:52 +02:00
lganzzzo
fe4b6fd4b1 Better IO. Use FIFOBuffer for StreamBufferedProxy(output stream) 2019-02-07 07:04:04 +02:00
lganzzzo
c4dfd04505 os::io::Library class removed 2019-02-07 02:53:33 +02:00
lganzzzo
b3cce34376 json better error handling 2019-02-01 05:48:10 +02:00
lganzzzo
6dc0898ef7 module restructuring 2019-01-21 05:03:23 +02:00
lganzzzo
b7988eca6f introducing connection upgrade mechanism 2019-01-07 02:46:46 +02:00
lganzzzo
c9d39cc8d1 include cleanup 2019-01-03 01:25:57 +02:00
lganzzzo
fc2de10844 more tests added 2018-12-16 02:45:09 +02:00
lganzzzo
141a4fcd25 better web/FullTest, web/FullAsyncTest 2018-12-16 02:03:33 +02:00
lganzzzo
062411e072 better simple and async web FullTest 2018-12-13 17:47:58 +02:00
lganzzzo
b16b9493d8 ControllerAsync for web::FullTest 2018-12-10 03:29:57 +02:00
lganzzzo
3a8fecee3d better error handling for HeadersReader 2018-12-09 18:15:42 +02:00
lganzzzo
57f9b00e6a basic refactoring in progress 2018-12-07 18:29:01 +02:00
lganzzzo
919d4472c1 new http-headers-parser concept 2018-11-25 13:52:11 +02:00
lganzzzo
e55755a77a better test::network::virtual_::InterfaceTest 2018-11-15 20:34:54 +02:00
lganzzzo
06a58147cb test::network::virtual_::InterfaceTest added 2018-11-15 16:21:29 +02:00
lganzzzo
ea215059ad network::virtual_::InterfaceTest prepared 2018-11-15 12:01:11 +02:00
lganzzzo
f132bdd33f virtual pipe test 2018-11-15 02:36:19 +02:00
Leonid Stryzhevskyi
1ab3543bd1
Cmd line args parser (#21)
* CommandLineArgumetns parser added

* fixed CMakeLists.txt

* Fix to linux build

* Fix linux build for tests
2018-10-28 23:20:58 +02:00
lganzzzo
766b4803aa constexpr removed. base64 test 2018-10-17 12:22:24 +03:00
lganzzzo
633d051a6c Log skipped values in json parser 2018-10-17 11:25:27 +03:00
lganzzzo
225c1f0615 conexpr removed from primitive type names 2018-10-17 11:10:00 +03:00
lganzzzo
714197b794 TypeTest included in CMakeLists 2018-10-17 10:47:02 +03:00
lganzzzo
8d4a91f97d Debug loags removed, TypeTest added 2018-10-17 10:43:41 +03:00
lganzzzo
e4442d062e more debug logs 2018-10-17 00:53:56 +03:00
lganzzzo
965764a93d test logs 2018-10-17 00:43:20 +03:00
lganzzzo
a167fc6748 build script v1 2018-10-16 19:13:54 +03:00
lganzzzo
73f872b92b Merge branch 'master' of https://github.com/oatpp/oatpp 2018-10-13 19:41:38 +03:00
lganzzzo
d9d125c0ea code cleanup 2018-10-13 19:41:32 +03:00
Florian Rhiem
2ef6f2a184 Added basic CMakeLists.txt 2018-10-12 23:08:20 +02:00
lganzzzo
897938bc28 Async processor optimization 2018-10-02 03:15:15 +03:00
lganzzzo
204e8cce2a Better ObjectMapping 2018-06-26 23:17:48 +03:00
lganzzzo
6effe7ae30 PtrWrapper, ObjectWrapper refactoring 2018-06-26 19:25:56 +03:00
lganzzzo
80aa0ca5ba PtrWrapper moved to data::mapping::type 2018-06-26 16:34:27 +03:00
lganzzzo
938592ff67 new string concept. basic refactoring 2018-06-26 02:30:01 +03:00
lganzzzo
b8a8d41c4f removed throw in memory pool delete 2018-06-07 00:45:58 +03:00
lganzzzo
6984994f2e include path fix 2018-03-29 08:11:32 +03:00
lganzzzo
751d525539 restructuring and code cleanup 2018-03-29 07:50:20 +03:00