Commit Graph

74 Commits

Author SHA1 Message Date
Nathan Osman
2903bb44d1 Added QHttpEngine namespace with split() function. 2015-04-29 11:40:34 -07:00
Nathan Osman
80e59424ce Removed redundant QHttpSocket class. 2015-04-28 23:30:32 -07:00
Nathan Osman
4bb72675d4 Added tests for QHttpResponse. 2015-04-28 23:27:54 -07:00
Nathan Osman
f3496b48d9 Private classes now explicitly have their parent set, avoiding the need for a destructor in the parent class. 2015-04-28 22:27:23 -07:00
Nathan Osman
fe6965159d Completed initial implementation of QHttpResponse class. 2015-04-28 22:19:04 -07:00
Nathan Osman
9218a9d1e5 Added empty QHttpResponse class. 2015-04-28 21:36:13 -07:00
Nathan Osman
040654ba58 Added QT_NO_SIGNALS_SLOTS_KEYWORDS to list of definitions when building the library. 2015-04-28 20:36:18 -07:00
Nathan Osman
cb6c175f84 Fixed failing test on Windows caused by incorrect address. 2015-04-28 20:03:14 -07:00
Nathan Osman
1c7499b057 Finished implementing QHttpRequest class. 2015-04-28 19:03:12 -07:00
Nathan Osman
d06091431b Added QHttpRequest class. 2015-04-28 15:22:37 -07:00
Nathan Osman
bc6ad809af Reverted previously reverted commit (having issues sorting out build failures on Windows). 2015-04-27 14:52:13 -07:00
Nathan Osman
4d78ee11c6 Reverted previous commit. 2015-04-27 14:31:59 -07:00
Nathan Osman
da394f029a Explicitly set path for runtime files. 2015-04-27 13:40:42 -07:00
Nathan Osman
5cf542bcc8 Bumped minimum CMake version up to 2.8.11. 2015-04-27 13:19:51 -07:00
Nathan Osman
c3637f92ba Fixed warning on Clang caused by missing enumeration value. 2015-04-27 13:14:53 -07:00
Nathan Osman
ad353fbc7a Reverted previous commit. 2015-04-25 22:43:53 -07:00
Nathan Osman
870993cdfe Fixed issue with DLL not being found when testing on Windows. 2015-04-25 22:22:47 -07:00
Nathan Osman
c8f8327325 Updated documentation. 2015-04-22 14:30:23 -07:00
Nathan Osman
129fb83f4a Updated tests for QHttpSocket. 2015-04-22 13:49:33 -07:00
Nathan Osman
2c4b9c1bfb Switched to using QByteArrays instead of QStrings for QHttpSocket properties. 2015-04-22 13:46:45 -07:00
Nathan Osman
93cf93a250 Added test for error condition in QHttpSocket. 2015-04-21 17:11:45 -07:00
Nathan Osman
54566347e8 Added Q_DECLARE_METATYPE for QHttpSocket enums. 2015-04-21 17:11:22 -07:00
Nathan Osman
e8a413d6f3 Added tests for QHttpSocket signals. 2015-04-21 16:58:51 -07:00
Nathan Osman
3d331fbdc4 Updated tests to reflect new changes in QHttpSocket. 2015-04-21 11:02:31 -07:00
Nathan Osman
4e932c1e97 Renamed close() to flush() and fixed a couple of minor bugs in QHttpSocket. 2015-04-21 11:01:39 -07:00
Nathan Osman
7418066c54 Changed sort order for class members in documentation. 2015-04-17 16:49:45 -07:00
Nathan Osman
3c40e12ecd Reorganized tests for QHttpSocket. 2015-04-17 16:49:15 -07:00
Nathan Osman
be95f7515c Added bytesAvailable, made isSequential public, and renamed requestUri to requestPath. 2015-04-17 16:47:46 -07:00
Nathan Osman
1f4a63d969 Updated socket test. 2015-04-16 21:45:53 -07:00
Nathan Osman
715faedf13 Ensured that closing the device closes the socket. 2015-04-16 21:45:39 -07:00
Nathan Osman
ef98943e4b Reduced the amount of control that QHttpSocket exerts over the underlying TCP socket. 2015-04-16 21:37:38 -07:00
Nathan Osman
513da4d168 Added empty QJsonServer class. 2015-04-02 15:56:01 -07:00
Nathan Osman
495cec28b7 Renamed requestHeadersParsed() signal to requestHeadersReadChanged() and added a notification for the appropriate property. 2015-04-02 14:49:48 -07:00
Nathan Osman
fe52a843c1 Added methods for checking if request/response headers were read/written. 2015-04-02 14:35:15 -07:00
Nathan Osman
98c7d06e2b Switched to using QNetworkAccessManager in test suite. 2015-04-02 13:11:30 -07:00
Nathan Osman
0aa7e7f27c Made a lot of internal changes. 2015-04-01 21:53:23 -07:00
Nathan Osman
c1190a884a Added tests for response data. 2015-03-30 23:25:28 -07:00
Nathan Osman
11e1b563ef Added close() method. 2015-03-30 23:25:04 -07:00
Nathan Osman
1d81107f55 Added missing .toLower() that was causing test to fail. 2015-03-28 23:01:43 -07:00
Nathan Osman
0b39fcc551 Removed tests for classes that do not exist and added tests for QHttpSocket. 2015-03-28 22:58:41 -07:00
Nathan Osman
9413e5cddc Added method to write response headers and abortWithError convenience method. 2015-03-28 22:58:13 -07:00
Nathan Osman
d45cb2098f Added include directories to qhttpengine target. 2015-03-28 22:57:24 -07:00
Nathan Osman
155b98e47f Further refinements to the QHttpSocket interface. 2015-03-28 14:36:28 -07:00
Nathan Osman
901cc635b0 Worked more on public interface for QHttpSocket. 2015-03-27 22:30:58 -07:00
Nathan Osman
9e5b7daf67 Added QHttpSocket class and documentation. 2015-03-25 22:58:53 -07:00
Nathan Osman
4fc924734a Added empty classes. 2015-03-25 18:25:24 -07:00
Nathan Osman
909121f0f9 Removed .travis.yml and added badge for Snap CI. 2015-03-25 17:39:57 -07:00
Nathan Osman
6d7e462aa8 Moved enable_testing command to root CMakeLists.txt. 2015-03-25 17:15:44 -07:00
Nathan Osman
3897cbb499 Lowered CMake version to 2.8.9 and used qt5_use_modules function. 2015-03-25 16:33:44 -07:00
Nathan Osman
bb60b6a29f Increased minimum CMake version to 2.8.11. 2015-03-25 16:17:44 -07:00