Commit Graph

471 Commits

Author SHA1 Message Date
lganzzzo
bfcb159b48 dto::Enum. Enum interpreters POC. 2020-05-06 03:41:18 +03:00
lganzzzo
66d34683f7 DTO. Enum. Populate metadata. 2020-05-04 04:55:45 +03:00
lganzzzo
100a59eb69 Multipart. Tests. Simple multipart/x-mixed-replace example. 2020-05-03 04:36:50 +03:00
lganzzzo
55a6871891 Multipart. Stream part-by-part 2020-05-03 03:37:13 +03:00
lganzzzo
b52eeed67a DTO Enum. Bootstrap code-gen. 2020-05-02 03:31:59 +03:00
lganzzzo
7ed6069f11 type::Primitive. Fix conversions. 2020-05-02 00:31:32 +03:00
lganzzzo
fd73b3c7c1 Tests. Uncomment all tests. 2020-04-30 04:44:42 +03:00
lganzzzo
196d351de6 types::Boolean. operators ==, != for nullptr. 2020-04-30 04:35:20 +03:00
lganzzzo
0d3ae75b13 Windows. type::Boolean. Fix nullptr/bool conversion. 2020-04-30 04:22:09 +03:00
lganzzzo
6c9c8d3237 type::Primitive. Add hash-function for all primitives. 2020-04-30 03:48:06 +03:00
lganzzzo
11c7be7a50 type::Primitive: Make boolean a separate ObjectWrapper. Tests: Primitive test. 2020-04-30 03:04:15 +03:00
lganzzzo
76da4714c2 Tests. Add mapping::type::<collections> tests. 2020-04-29 23:04:42 +03:00
lganzzzo
04707aa23d types. Simplify Primitives. 2020-04-29 05:03:47 +03:00
lganzzzo
ed242a8066 mapping::type. Add oatpp::Vector and oatpp::UnorderedFields support to json Ser/De. 2020-04-29 03:30:05 +03:00
lganzzzo
7c12d6f16d mapping::type. Add UnorderedMap collection. 2020-04-29 02:17:26 +03:00
lganzzzo
eb116ef23b mapping::type. Rename ListMap --> PairList. 2020-04-29 01:47:40 +03:00
lganzzzo
bd8330e06d mapping::type. Update ListMap. 2020-04-29 01:31:17 +03:00
lganzzzo
98d57fbb7a mapping::type. Simplify collections. 2020-04-29 00:07:26 +03:00
lganzzzo
eacbe79d01 Introduce oatpp::Vector. Refactor oatpp::List to use std::list. 2020-04-28 04:26:29 +03:00
lganzzzo
6f6336c1a3 ApiController, ApiClient. Oprimize parameters passing. '::ObjectWrapper' in parameters is now redundant. 2020-04-27 01:51:33 +03:00
lganzzzo
6acd2c3f39 DTOs. Do not explicitly write <Type>::ObjectWrapper. 2020-04-26 15:13:33 +03:00
lganzzzo
130962e71a Tests. Add more AnyTest logs. 2020-04-26 11:27:56 +03:00
lganzzzo
23255f381d ObjectWrapper. Reduce the hierarchy. Remove PolymorphicWrapper. 2020-04-26 03:41:20 +03:00
lganzzzo
1cca52034f parser::json::Deserializer. Deserialize oatpp::Any. 2020-04-25 05:16:05 +03:00
lganzzzo
7871cd7326 parser. JSON. Beautifier. Fix indent. 2020-04-25 03:58:32 +03:00
lganzzzo
636a2133e9 Parser. JSON. Serialize Any. 2020-04-25 03:33:59 +03:00
lganzzzo
0d951e3c56 Types. Introduce Any. 2020-04-25 02:54:52 +03:00
lganzzzo
aaa6359d80 SimpleTCPConnectionProvider. Correct invalidateConnection() method. 2020-04-11 00:01:25 +03:00
Benedikt-Alexander Mokroß
328519e6c1 Response Description (Issue #212) 2020-04-02 13:55:11 +02:00
lganzzzo
51fbc2b4ea Fix memory leak. Correct type for array. 2020-02-14 17:42:46 +02:00
lganzzzo
a1ff01ce9c Better API Docs. 2020-01-25 01:48:37 +07:00
lganzzzo
f65798957e json::mapping::ObjectMapper. Support for unsigned int types. 2020-01-25 01:26:35 +07:00
lganzzzo
7f82cc7bc5 json::mapping::ObjectMapper. Remove old Deserializer. 2020-01-22 23:03:45 +07:00
lganzzzo
de9296d287 json::mapping::ObjectMapper. New deserializer. 2020-01-22 23:00:28 +07:00
lganzzzo
fc26498f45 json::mapping::ObjectMapper. Remove old Serializer. 2020-01-22 11:11:21 +07:00
lganzzzo
3c5c0d8f67 json::ObjectMapper. New configurable Serializer. 2020-01-22 11:02:02 +07:00
lganzzzo
e457d14765 'ClassId' structure with explicit int IDs instead of 'CLASS_NAME' addresses 2020-01-21 19:49:21 +07:00
lganzzzo
884e1683c0 Tests. Uncomment all tests. 2020-01-20 06:00:18 +07:00
lganzzzo
cb197bf05c HttpProcessor. Simple API. Select ContentEncoder according to 'Accept-Encoding' request header. 2020-01-15 06:27:32 +02:00
lganzzzo
25233d66ea http::outgoing::Request/Response. Check for EncoderProvider when sent. 2020-01-14 23:49:08 +02:00
lganzzzo
c639a58e69 http::outgoing. Remove redundant DtoBody. 2020-01-14 17:32:18 +02:00
lganzzzo
ddafe4207f Refactor. Simplify web::protocol::http::outgoing::Body 2020-01-14 16:31:18 +02:00
lganzzzo
ae85446432 Tests. Uncomment All. 2020-01-09 03:53:01 +02:00
lganzzzo
e5f24a8e55 IO. intruduce 'isValidIoHandle' function. Refactor. Change folder of IODefinitions.hpp 2020-01-09 03:38:34 +02:00
lganzzzo
121d079e7d Tests. Correct async::Executor stop. 2020-01-09 02:01:02 +02:00
lganzzzo
292647ca93 server::SimpleTCPConnectionProvider use select-accept. 2020-01-09 01:17:16 +02:00
lganzzzo
e3e6d4c004 Tests. Uncomment web tests. Increase number of iterations. 2020-01-08 01:26:01 +02:00
lganzzzo
34f6bc80d4 Comment test out 2020-01-08 00:47:58 +02:00
lganzzzo
11e154735c Log Connection. 2020-01-08 00:40:44 +02:00
lganzzzo
be993494b5 Tests. Reduce amount of iterations 2020-01-07 19:55:07 +02:00
lganzzzo
e3630f9df4 Tests. Comment tests. 2020-01-07 19:21:15 +02:00
lganzzzo
1a311de239 Tests. Uncomment All. 2020-01-07 18:35:14 +02:00
Leonid Stryzhevskyi
642ce18656
Fix windows ci build (#178)
* log request headers reader

* Tests. Pipeline run test on real port

* Log transfer pipe in

* Log tranfer write

* disable other tests

* log connection

* More logs for connection

* Check connection stream mode before returning IOAction.

* Fix connection stream mode check on Windows.

* Tests. Fix PipelineTest.

* Tests. Remove logging, and uncomment test.
2020-01-07 18:33:31 +02:00
lganzzzo
9f793a3771 Tests. CI. Test PipelineAsyncTest. 2020-01-07 15:06:29 +02:00
lganzzzo
d212fb843a Tests. CI. Log root endpoint. 2020-01-07 14:49:48 +02:00
lganzzzo
67991f8d74 Tests. Comment tests. web/PipelineTest. Log readResult. 2020-01-07 12:39:09 +02:00
lganzzzo
042765a00f Tests. web/PipelineTest. Log readResult. 2020-01-07 12:19:17 +02:00
lganzzzo
7a23c33420 Tests. Windows. PipelineTest more logs. 2020-01-07 03:07:10 +02:00
lganzzzo
80c4a91090 Fix Windows build 2 2020-01-07 02:54:13 +02:00
lganzzzo
8dd39ca65d Greed Testsgit add --all
q
2020-01-07 02:35:32 +02:00
lganzzzo
ce46616075 Fix multipart write/read. 2020-01-07 02:10:48 +02:00
lganzzzo
cff4bdf7bf Fix http::outgoing::ChunkedBody 2020-01-06 23:02:33 +02:00
lganzzzo
5d82f67816 Introduce web::protoco::encoding::Chunked. Encoder/Decoder 2020-01-06 16:43:10 +02:00
lganzzzo
26c5183654 Refactor. Switch to the new stream::transfer function. 2020-01-06 12:05:20 +02:00
lganzzzo
1de0c3d86a data::stream. Introduce better transferAsync function. 2020-01-06 00:44:37 +02:00
lganzzzo
dd18033a36 data::stream. Introduce better transfer function. 2020-01-05 22:28:47 +02:00
lganzzzo
aca6db6107 Introduce data::buffer::Processor. 2020-01-04 04:36:13 +02:00
lganzzzo
2cfef00127 Refactor stream interfaces. Rename stream inline read/write data. 2020-01-03 11:01:55 +02:00
lganzzzo
b2eaf749e8 Refactor stream interfaces. Tests. Fix pipelining tests. 2020-01-02 00:06:19 +02:00
lganzzzo
6e8a12885d Refactor stream interfaces. Linking OK. Fixing tests - first steps. 2020-01-01 23:33:51 +02:00
lganzzzo
14c53ee1a1 Refactor stream interfaces. Simplify and Unify. Compiles. Link errors. 2020-01-01 03:00:54 +02:00
lganzzzo
bc5df03d05 Refactor. Multipart reader. 2019-12-30 16:56:49 +02:00
lganzzzo
a99b5933eb Refactor. Streams hierarchy V2. Compiles. 2019-12-28 23:22:05 +02:00
lganzzzo
52e1e4835e Refactor. Streams hierarchy V2. 2019-12-28 17:34:56 +02:00
lganzzzo
30e0f7ad1e Tests. Add retries for FullAsyncClientTest. 2019-12-25 19:09:03 +02:00
lganzzzo
8fd96027e5 Stream Context. Input/Output stream return Context by reference. 2019-12-10 16:22:52 +02:00
lganzzzo
6e5701c298 Introduce stream::Context. 2019-12-08 04:24:42 +02:00
lganzzzo
5ef313004b Refactor. More consistent integer types. 2019-11-23 04:11:48 +02:00
lganzzzo
6ba549c99a merge with upstream 2019-11-22 17:40:36 +02:00
Bob Tolbert
5698e1baf7 remove unused variable warning 2019-11-22 04:56:07 -07:00
Bob Tolbert
3a517b6021 Merge branch 'master' into move_String_to_int64 2019-11-22 04:54:28 -07:00
lganzzzo
6e838fe3e9 Introduce 'v_buff_size' data type. 2019-11-22 04:47:50 +02:00
lganzzzo
e8b37193d9 merge with master 2019-11-22 02:52:57 +02:00
lganzzzo
235401fc3c Tests. Simplify UnicodeTest to take less time. Better solution. 2019-11-17 02:46:22 +02:00
lganzzzo
e44b51336b Tests. Simplify UnicodeTest to take less time. 2019-11-17 02:38:14 +02:00
lganzzzo
237e9c0c90 Coroutine. Add waitFor convenience method 2019-11-15 17:16:59 +02:00
lganzzzo
6ebc33521e Tests. ClientRetryTest.cpp disable timeout check on Windows. 2019-11-10 03:21:59 +02:00
lganzzzo
a3e6c44f11 Tests. More logs - network/virtual_/InterfaceTest.cpp 2019-11-06 13:49:52 +02:00
lganzzzo
d3883c5ecf Tests. Fix network/virtual_/InterfaceTest.cpp 2019-11-06 05:14:15 +02:00
lganzzzo
20253ea825 Tests. Uncomment tests. 2019-11-06 04:59:22 +02:00
lganzzzo
ae4da000ab Tests. web/ClientRetryTest. draft. 2019-11-06 04:45:27 +02:00
lganzzzo
7dc29f1dcf virtual_::Interface. Introduce ListenerLock. 2019-11-06 03:05:07 +02:00
Bob Tolbert
6d27ee3075 Move String and other sizes to v_int64 2019-11-03 17:30:07 -07:00
lganzzzo
bef97e4638 Better ConnectionPool. Introduce wrappers ServerConnectionPool, ClientConnectionPool. 2019-10-20 17:22:06 +03:00
lganzzzo
2592f79934 Tests. ConnectionPoolTest. 2019-10-20 05:27:22 +03:00
Leonid Stryzhevskyi
d03d540de9
Merge pull request #139 from bhorn/fixescorsswagger
Two Fixes with CORS and Swagger, one addition to `oatpp::String` to accomplish one fix
2019-10-16 15:15:24 +03:00
Benedikt-Alexander Mokroß
9802c361dc Removed StrBuffer::substr API 2019-10-16 12:01:53 +02:00
lganzzzo
834c09be44 make network::virtual_::Interface obtainable by name 2019-10-16 03:24:01 +03:00
Benedikt-Alexander Mokroß
2c33ef4c8e Merge branch 'master' into fixescorsswagger 2019-10-15 07:23:31 +02:00
lganzzzo
8212439a0b Refactor. Use LazyStringMap for Headers. 2019-10-13 03:33:05 +03:00
lganzzzo
e3a6334462 Tests. LazyStringMapTest. 2019-10-13 00:51:24 +03:00
lganzzzo
d67fa0ff53 Introduce LazyStringMap 2019-10-12 18:42:42 +03:00
lganzzzo
869966c466 Optimization. Keep buffer for response headers. 2019-10-12 16:37:36 +03:00
lganzzzo
2935dcd290 Tests. Add BufferStreamTest to list. 2019-10-12 14:15:17 +03:00
lganzzzo
bbc74c111c Tests. BufferStreamTest. 2019-10-12 14:14:21 +03:00
Benedikt-Alexander Mokroß
0f9f2374bd
Cleander CMakeLists.txt 2019-10-11 15:51:07 +02:00
Benedikt-Alexander Mokroß
e39ed22041
Removed leftovers from testing new functionalities 2019-10-11 15:39:11 +02:00
Benedikt-Alexander Mokroß
3b1db44078 Merge branch 'master' into controllerprefix
# Conflicts:
#	src/oatpp/codegen/api_controller/cors_define.hpp
2019-10-11 15:17:10 +02:00
Benedikt-Alexander Mokroß
6ab6c63adb Two Fixes with CORS and Swagger, one addition to oatpp::String to accomplish one fix
- Fix controller-router-prefix messing up CORS OPTIONS endpoints
- Fix missing path-params in swagger for CORS OPTIONS endpoints
- Added substr-methods to `oatpp::StrBuffer`
2019-10-11 15:12:32 +02:00
lganzzzo
8b4dc2e3b0 Optimization. Use BufferOutputStream in RequestHeadersReader. 2019-10-11 03:52:25 +03:00
lganzzzo
cc3c55ce90 Refactor. Rename to macro. 2019-10-09 18:53:06 +03:00
lganzzzo
49a6c50f03 Remove commented code 2019-10-04 01:00:32 +03:00
Benedikt-Alexander Mokroß
23545685ce Implemented comments from PR 2019-10-02 14:59:57 +02:00
Benedikt-Alexander Mokroß
68e41f05c1 Refactored to use the new ENDPOINT_INTERCEPTOR macro instead own interceptors 2019-10-02 14:02:49 +02:00
Benedikt-Alexander Mokroß
27dcc538d8 Merge branch 'master' into cors_macro_draft
# Conflicts:
#	src/oatpp/codegen/codegen_define_ApiController_.hpp
#	src/oatpp/codegen/codegen_undef_ApiController_.hpp
#	test/oatpp/web/app/Controller.hpp
2019-10-02 12:46:40 +02:00
lganzzzo
7300708f67 Tests. Assert errors in FullAsyncClientTest. 2019-10-02 03:47:53 +03:00
lganzzzo
d5b7cb536a Codegen. ApiController. 'ENDPOINT_INTERCEPTOR' macro tests. 2019-10-02 03:30:52 +03:00
lganzzzo
af8aef9745 Codegen. Introduce macro. 2019-10-01 21:25:41 +03:00
lganzzzo
40dc8d77fe ApiController. Introduce 'ENDPOINT_INTERCEPTOR' macro. 2019-10-01 12:29:45 +03:00
Benedikt-Alexander Mokroß
30b35ac6e7 Further refactored, MAX_AGE now also adjustable 2019-09-27 18:11:07 +02:00
Benedikt-Alexander Mokroß
9c44be5cd1 Refactored, added Tests 2019-09-27 17:48:39 +02:00
Benedikt-Alexander Mokroß
95c0b8c462 CORS macro draft 2019-09-27 16:21:50 +02:00
lganzzzo
4422011b5e Remove coroutine parameter from oatpp::data::stream::ReadCallback. 2019-09-20 05:10:03 +03:00
lganzzzo
cb9b2b206f Error Handling. Async. Better error handling and error propagation. 2019-09-20 05:03:06 +03:00
lganzzzo
c0a532041c Tests. Pipeline test. Check size of result only 2019-09-19 04:54:23 +03:00
lganzzzo
11e30bbb89 uncomment tests 2019-09-19 03:55:41 +03:00
lganzzzo
b77039dee0 Feature http-pipelining. Async API support. 2019-09-19 03:54:44 +03:00
lganzzzo
125e18609e Feature http-pipelining. Simple API support. 2019-09-19 03:00:26 +03:00
lganzzzo
133b79f563 Optimize Async Memory. Introduce CoroutineHandle. 2019-09-15 03:17:33 +03:00
lganzzzo
2e422a281d uncomment tests 2019-09-03 04:00:45 +03:00
lganzzzo
4cd550353a Merge branch 'endpoint-info-deferred-creation' of https://github.com/bhorn/oatpp into authorization-draft 2019-09-03 03:53:46 +03:00
lganzzzo
1d8b515f65 Feature Authorization. Add possibility to configure different auth-handler for AUTHORIZATION macro. 2019-09-03 03:47:31 +03:00
Benedikt-Alexander Mokroß
4de4ef4258 Simple idea to deferr creation of endpoint info until its really needed! 2019-09-02 14:28:26 +02:00
lganzzzo
ac0684c229 Merge branch 'master' of github.com:oatpp/oatpp into authorization-draft 2019-09-02 04:04:42 +03:00
lganzzzo
693f1a1123 Feature async::Executor. Suggest threads count. 2019-09-02 03:48:31 +03:00
lganzzzo
8ea01afcc1 Feature Authorization. Better error handling. Add possibility to add headers to error responses. 2019-08-31 02:05:39 +03:00
lganzzzo
868ec5e6f0 Feature Authorization. Fix Tests for Default Basic Authorization. 2019-08-30 17:47:08 +03:00
Benedikt-Alexander Mokroß
4f1698cf13 Fix Convenience "Default-Basic-Auth" DefaultBasicAuthorizationObject 2019-08-30 11:17:11 +02:00
Benedikt-Alexander Mokroß
704ff9aa81 Convenience "Default-Basic-Auth" 2019-08-30 10:03:56 +02:00
lganzzzo
46abbf087c Feature Authorization. Change test endpoints paths. 2019-08-30 04:27:55 +03:00
lganzzzo
e62fd32f9e Feature Authorization. Generalize authorization object class. 2019-08-30 04:19:14 +03:00
lganzzzo
73b92b38f0 Minor Indentation + In-Code-Docs fixes. + better DefaultAuthorizationHandler::defaultAuthorizationObject implementation 2019-08-29 21:22:24 +03:00
Benedikt-Alexander Mokroß
fef2469526 Added support for other Authorization-Types then Basic 2019-08-29 15:34:32 +02:00
Benedikt-Alexander Mokroß
549d2fc542 Further cleanup of experimental leftovers. 2019-08-29 07:50:26 +02:00
Benedikt-Alexander Mokroß
8ec099e3f1 Let the failed request use a different connection to not break the main connection 2019-08-28 12:58:13 +02:00
Benedikt-Alexander Mokroß
04d5fc7441 Quick draft for an additional AUTHORIZATION-Macro which is inspired by spring.io's @Authenticate annotation.
Supports custom Objects and Handler so its easy to use and yields an object reflecting the authenticated user, so no extra work in the endpoint-code needs to be done (like in spring.io).
2019-08-27 16:45:15 +02:00
lganzzzo
259250674c Codegen. Windows compat. Fix OATPP_MACRO_NUM_ARGS. 2019-08-16 03:45:12 +03:00
lganzzzo
a0fa555a79 Remove '/experimental:preprocessor' compiler switch 2019-08-15 03:36:08 +03:00
Benedikt-Alexander Mokroß
b583052b2e Warningless in -Wextra, hardened sprintf-calls. 2019-08-12 09:18:49 +02:00
Leonid Stryzhevskyi
3582863b5d
Windows support investigating (#106)
Windows Support. Refactor and fix sockets usage.
2019-08-07 01:46:24 +04:00
lganzzzo
194f8ff143 Tests. Disable FullTests on 'Real' port. 2019-08-01 02:04:45 +04:00
lganzzzo
5c432f2472 Merge branch 'master' of https://github.com/oatpp/oatpp 2019-07-31 23:38:25 +04:00
lganzzzo
1207254616 Rename confusing-type-like field names in tests. 2019-07-31 23:35:23 +04:00
lganzzzo
713148f99e Use std::unique_ptr for dynamic arrays. 2019-07-31 23:27:23 +04:00
bam
438fafd49f Windows Port. Tests compile, doesn't link with wepoll. 2019-07-31 11:34:52 +02:00
lganzzzo
5fd3d1dfe2 Multipart. Some convenienve API for InMemoryPartReader. 2019-07-31 01:59:46 +04:00
lganzzzo
f2b5a25a38 Add multipart::createFilePartReader methods. 2019-07-31 00:15:05 +04:00
lganzzzo
0d8e5a728e Multipart. Introduce StreamPartReader. 2019-07-30 23:16:34 +04:00
lganzzzo
73a3d39841 Configurable multipart Reader. 2019-07-30 01:11:35 +04:00
lganzzzo
678b0b837b Better mime::multipart::StatefulParser. Correct async parsing. 2019-07-29 23:22:21 +04:00
lganzzzo
d8a2a32ea9 Refactor. Rename multipart::InMemoryReader --> multipart::Reader. 2019-07-28 22:38:24 +04:00
lganzzzo
85bf1b4e2a Add random utils. Add multipart generate random boundary method 2019-07-28 01:42:04 +04:00
lganzzzo
5e045a42de Fix BodyDecoder. Better FullAsyncClientTest 2019-07-26 02:35:58 +04:00
lganzzzo
464fc4da13 Tests. Simple And Async Multipart APIs. 2019-07-25 14:01:13 +04:00
lganzzzo
fa95bf6589 Feature Multipart. Add MultipartBody::writeToStreamAsync functionality. 2019-07-24 03:23:58 +04:00
lganzzzo
531030572f Introduce: AsyncInlineReadData, AsyncInlineWriteData. 2019-07-24 01:12:08 +04:00
lganzzzo
1291add834 Tests For ChunkedBody 2019-07-21 15:47:57 +03:00
lganzzzo
2cc0f627d6 Introduce oatpp::web::protocol::http::outgoing::ChunkedBody 2019-07-20 05:00:50 +03:00
lganzzzo
cc4f27d41e Introduce Multipart InMemoryReader 2019-07-17 04:40:42 +03:00
lganzzzo
a0a8223fb7 Code cleanup. Remove unnecessary shared_ptrs. 2019-07-14 02:58:52 +03:00
lganzzzo
ad471079fe Refactor BodyDecoder::decode method to use stream::WriteCallback for Simple API 2019-07-13 21:34:40 +03:00
lganzzzo
d94cddfa98 Fix suggested actions for ConsistentOutputStream, and BufferInputStream. 2019-07-13 19:11:05 +03:00
lganzzzo
1807e8360e Code cleanup. Remove IOWorker. Not used. 2019-07-13 18:39:14 +03:00
lganzzzo
875f0f1378 Feature Multipart. WIP. Working multipart stream parser. 2019-07-13 12:00:00 +03:00
lganzzzo
427612adfd better multipart stateful parser 2019-07-12 19:10:06 +03:00
lganzzzo
d657d4f736 multipart data. streaming parser POC. WIP 2019-07-11 00:36:52 +03:00
lganzzzo
474a6ca9ef better oatpp::async::synchronize API 2019-06-23 00:14:32 +03:00
lganzzzo
c265fc9dfd introduce 'Synchronized' coroutine convenience API 2019-06-17 01:59:51 +03:00
lganzzzo
0c3580dd79 Test for oatpp::async::Lock 2019-06-16 05:12:55 +03:00
Benjamin Kier
5df66ea902 Fixed warnings 2 in the project (implicit cast, move, unused and uninitialized variables). 2019-05-31 14:35:44 -04:00
lganzzzo
e312034331 better API-docs 2019-05-27 02:22:48 +03:00
lganzzzo
7bc8fe2d79 show micro-ticks in the logs by default 2019-05-26 16:55:44 +03:00
lganzzzo
13fbcf9930 Better Logging system 2019-05-26 16:45:02 +03:00
lganzzzo
016d47044f wait threads finished 2019-05-11 20:54:34 +03:00
lganzzzo
c54dbe662c proper server stoppage in Full-Tests with real port 2019-04-29 02:56:53 +03:00
lganzzzo
5ee76db69f Tests. Reduce number of steps in FullTest/FullAsyncTest (real-port) in order to run on 'weak' CI 2019-04-28 05:22:54 +03:00
lganzzzo
6ad0f4f16c reduce number of connections for FullAsyncTest(real-port) in order not to fail on CI 2019-04-28 04:59:10 +03:00
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