sunn
ab5f224634
Support abort operation ( #5114 )
2020-01-27 16:00:58 +01:00
sunn
138232d557
[C++] [Qt5] Add request compression and handling identity ( #5088 )
...
* Add request and response compression and handling identity
* Minor updates for identity and if conditions
2020-01-23 20:43:40 +01:00
sunn
a1d21f6d3a
[C++] [Qt5]Add support for response compression and add response body to error s… ( #5060 )
...
* Add support for response compression and add response body to error string
* Improve robustness while parsing quality and compression levels
2020-01-21 12:11:43 +01:00
Martin Delille
8991168518
[C++] [Qt5] Clang format Code ( #4444 )
...
* HttpFileElement
* HttpRequest
* Add .clang-format
* cpp-qt5-client: fix warning reordering member initialization
* api
* enum
* licenseInfo
* model
* object
* helper
* test
* QString::arg start from %1 (not from %0)
* fixup! model
2019-11-27 15:37:24 +08:00
Martin Delille
b0d6110686
cpp-qt5-client: fix warning reordering member initialization ( #4526 )
2019-11-21 21:49:35 +08:00
William Cheng
96bbab98a4
fix cpp-qt5-petstore.json location
2019-11-20 17:30:47 +08:00
Martin Delille
21a291f569
cpp-qt5-client: remove host since it is not well handled ( #4429 )
...
* fixup! Simpler timeout with QTimer::singleShot (#4430 )
* cpp-qt5-client: remove host since it is not well handled
* Move disconnect again
* cpp-qt5-client: handle scheme/host/port properly
* Fix port change try
2019-11-12 09:39:31 +01:00
Martin Delille
7e6e87a857
fixup! Simpler timeout with QTimer::singleShot ( #4430 ) ( #4435 )
...
* fixup! Simpler timeout with QTimer::singleShot (#4430 )
* Move disconnect again
* Fix self assignement in HttpRequest.cpp.mustache
2019-11-10 17:05:22 +01:00
Martin Delille
d0b2465b89
Simpler timeout with QTimer::singleShot ( #4430 )
2019-11-10 11:40:11 +01:00
Martin Delille
3e87a5fbaf
cpp qt5 client: fix prefix bug ( #4432 )
2019-11-10 09:44:45 +01:00
sunn
048fe29226
Update isSet when the object is received from callback. ( #4385 )
2019-11-07 16:55:02 +01:00
sunn
f901a84743
Update tests to prevent memory leakage ( #4164 )
...
Install C and C++ tools in Travis
2019-10-17 11:48:35 +02:00
sunn
83fdc6e752
[C++] [Qt5] Add generation of cmake files to qt5 client ( #4133 )
...
* Add generation of cmake files to qt5 client
* Update after review
2019-10-15 15:59:45 +02:00
sunn
450153d4e0
Add missing supporting files when prefix is provided ( #4132 )
2019-10-15 14:45:08 +08:00
sunn
ba7fc2396b
[C++] [Qt5] Add initial version of File upload and download for Qt5 client ( #3853 )
...
* Add initial version of File upload and download for Qt5 client
* Update after reviews
* Remove unused header
2019-09-18 00:07:55 +08:00
Martin Delille
1fc03c88b2
cpp-qt5-client: add valgrind memory test ( #3663 )
2019-08-23 14:23:47 +02:00
Martin Delille
1adb0ba588
cpp-qt5-client: Improve tests ( #3667 )
2019-08-19 17:58:03 +02:00
Martin Delille
024f46814c
cpp-qt5-client: fix memory leak in api-body ( #3661 )
2019-08-17 22:19:16 +02:00
Martin Delille
1152af4d02
Run Qt5 client sample test ( #3415 )
2019-08-08 23:59:50 +08:00
sunn
08415d1d83
Remove QRandomGenerator ( #3508 )
2019-08-01 20:50:28 +02:00
Martin Delille
fabe021fb0
Revert "qt5 client: use openapi 3 spec ( #3400 )" ( #3458 )
...
This reverts commit 40f1f920dfa03c2c172d196e6ad4dd5950f17405.
2019-07-25 18:25:17 +02:00
Martin Delille
40f1f920df
qt5 client: use openapi 3 spec ( #3400 )
2019-07-23 22:26:42 +02:00
Martin Delille
1413775e0e
qt5 client: strip whitespace ( #3406 )
2019-07-21 22:23:15 +02:00
sunn
a864ae90de
Add API timeout handling ( #3078 )
2019-06-12 20:16:12 +02:00
sunn
6660b74247
Add Q_DECLARE_METATYPE to the generated models and remove ref in signals ( #3091 )
2019-06-06 16:13:11 +02:00
sunn
2e6b911022
Set default base path and change constructor to const ref ( #2973 )
2019-05-26 17:03:48 +08:00
sunn
7af94fa1e8
Use percent encoding for path parameters ( #2649 )
2019-04-12 11:26:48 +08:00
sunn
3bb4edf865
[C++] [Qt5] Add enum support for client and server ( #2339 )
...
* Add enum support to Qt5 client and server
* Correct model name prefix
* Remove tabs
* Correct wrong filename when prefix used
2019-03-30 09:32:06 +08:00
sunn
651395d426
Update base class due to failed compilation in case of plain object type with no properties or additionalProperties specified ( #1826 )
2019-01-06 18:20:23 +01:00
sunn
c65ef987af
Emit worker also in response signal ( #1829 )
2019-01-06 18:18:20 +01:00
sunn
308515bbc1
[cpp-qt5] client response headers and validation of properties for client and server ( #1508 )
...
* Add validation of required properties
Add Header extraction for client
* Remove some todos
* Add Test for Store API
Improve some checks for serialization
2018-11-29 11:00:37 +01:00
sunn
75b1403c1e
[cpp-qt5] improvements for server and client ( #1284 )
...
- Remove pointer usage in generated models
- Use const reference wherever possible
- Reuse same super class for Qt5 client and server
- Support primitive return types for Qt5 client
- Add const reference to API calls
2018-11-08 14:18:57 +01:00
sunn
6d05ea5716
Allow generated code to do cleanup of object by preventing premature loop exit ( #270 )
2018-07-08 12:55:27 +08:00
sunn
a2c27ba8a6
[cpp-qt5] Remove std::shared_ptr from Qt5 ( #267 )
...
* Remove std::shared_ptr from Qt5
Updated Petstore
Update Object Template to be able to store the json body
* Remove tabs
2018-06-10 17:39:38 +08:00
Akihito Nakano
cf657f1c7b
[C++] Adjust the names (script, sample folder, generator) to lang option ( #220 )
...
* Rename script: qt5-petstore.sh -> cpp-qt5-petstore.sh
* Rename sample folder: qt5cpp -> cpp-qt5
* Rename script: cpprest-petstore.sh -> cpp-restsdk-petstore.sh
* Rename sample folder: cpprest -> cpp-restsdk
* Rename generator: CppRestClientCodegen -> CppRestSdkClientCodegen
* Rename script: tizen-petstore.sh -> cpp-tizen-petstore.sh
* Rename sample folder: tizen -> cpp-tizen
* Rename script(security): qt5cpp-petstore.sh -> cpp-qt5-petstore.sh
* Rename sample folder(security): qt5cpp -> cpp-qt5
* Rename script(windows): qt5cpp-petstore.bat -> cpp-qt5-petstore.bat
* Change sample folder
* Rename script(windows): cpprest-petstore.bat -> cpp-restsdk-petstore.bat
* Change sample folder
* Rename script(windows): tizen-petstore.bat -> cpp-tizen-petstore.bat
* Change sample folder
* Change output folder: tizen -> cpp-tizen
* Rename the scripts under bin/openapi3
cpp-restsdk is not exist under bin/openapi3
* Change sample folder
2018-06-07 16:55:43 +08:00