Kurt Pattyn [Sun, 25 Aug 2013 17:58:21 +0000 (19:58 +0200)]
Renamed qwebsocket.pri to qwebsockets.pri
Kurt Pattyn [Sun, 25 Aug 2013 17:28:49 +0000 (19:28 +0200)]
Ignore generated documentation
Kurt Pattyn [Sun, 25 Aug 2013 17:28:20 +0000 (19:28 +0200)]
Adapted copyright disclaimer to be a pure C++ comment
Kurt Pattyn [Sun, 25 Aug 2013 17:27:33 +0000 (19:27 +0200)]
Moved doc directory to src as required by Qt
Kurt Pattyn [Sun, 25 Aug 2013 17:14:09 +0000 (19:14 +0200)]
Added copyright disclaimer to all files
Kurt Pattyn [Sun, 25 Aug 2013 16:54:06 +0000 (18:54 +0200)]
Made documentation qdoc compatible
Kurt Pattyn [Sun, 25 Aug 2013 16:53:43 +0000 (18:53 +0200)]
Added QWebSockets module documentation
Kurt Pattyn [Sun, 25 Aug 2013 16:53:28 +0000 (18:53 +0200)]
Added qdoc configuration file
Kurt Pattyn [Sun, 25 Aug 2013 16:52:51 +0000 (18:52 +0200)]
Removed doxygen configuration files
Kurt Pattyn [Sun, 25 Aug 2013 13:36:43 +0000 (15:36 +0200)]
Cleaned up the project files
Kurt Pattyn [Sun, 25 Aug 2013 13:23:30 +0000 (15:23 +0200)]
Reordered the lines a bit
Kurt Pattyn [Sun, 25 Aug 2013 13:22:54 +0000 (15:22 +0200)]
Added extra signal reemission
Cleaned up unused signals
Kurt Pattyn [Sun, 25 Aug 2013 13:22:23 +0000 (15:22 +0200)]
Added missing functionality after a comparison between QWebSocket and QTcpSocket and between QWebSocketServer and QTcpServer
Kurt Pattyn [Sun, 25 Aug 2013 13:20:05 +0000 (15:20 +0200)]
Added check on QT_NO_NETWORKPROXY to include proxy functionality only when required
Kurt Pattyn [Sun, 25 Aug 2013 13:15:45 +0000 (15:15 +0200)]
Added QT_BEGIN_NAMESPACE and QT_END_NAMESPACE to files
Documented internal classes and methods as \private
Kurt Pattyn [Sun, 25 Aug 2013 13:09:02 +0000 (15:09 +0200)]
Replaced write() methods with send() methods to comply with the QAbstractSocket API
Kurt Pattyn [Sun, 25 Aug 2013 11:48:10 +0000 (13:48 +0200)]
Renamed websocket.pri to qwebsocket.pri
Kurt Pattyn [Sat, 24 Aug 2013 23:04:23 +0000 (01:04 +0200)]
Added warning comment to private header files
Kurt Pattyn [Sat, 24 Aug 2013 22:52:43 +0000 (00:52 +0200)]
Renamed test directory to tests (to be inline with Qt)
Kurt Pattyn [Sat, 24 Aug 2013 22:50:59 +0000 (00:50 +0200)]
Renamed source directory to src (to be in line with Qt)
Kurt Pattyn [Sat, 24 Aug 2013 21:54:01 +0000 (23:54 +0200)]
Removed unnecessary includes
Kurt Pattyn [Sat, 24 Aug 2013 21:52:04 +0000 (23:52 +0200)]
Added cache() command at start of .pro file to avoid qmake warnings in OS X
Kurt Pattyn [Sat, 24 Aug 2013 21:51:30 +0000 (23:51 +0200)]
Added d-pointer paradigm to QWebSocket implementation
Kurt Pattyn [Sat, 24 Aug 2013 20:35:42 +0000 (22:35 +0200)]
Added d-pointer paradigm to QWebSocketServer implementation
Kurt Pattyn [Sat, 24 Aug 2013 19:21:06 +0000 (21:21 +0200)]
Added export statements to public classes
Kurt Pattyn [Sat, 24 Aug 2013 19:16:50 +0000 (21:16 +0200)]
Renamed WebSocket to QWebSocket
Renamed WebSocketProtocol to QWebSocketProtocol
Renamed WebSocketServer to QWebSocketServer
Adapted source files to include renamed headers
Added qwebsocketsglobal.h file
Kurt Pattyn [Thu, 22 Aug 2013 21:50:58 +0000 (23:50 +0200)]
Added server name field to constructor
Kurt Pattyn [Thu, 22 Aug 2013 21:46:17 +0000 (23:46 +0200)]
Added serverName parameter to WebSocketServer constructor
Added isOriginAllowed() virtual method to WebSocketServer that can be overridden by subclasses
Added serverName and originAllowed parameters to handshake response constructor to avoid hardcoded values
Kurt Pattyn [Thu, 22 Aug 2013 19:49:58 +0000 (21:49 +0200)]
Retrieve HTTP version iso assuming that it is 1.1
According RFC 6455, the version must be bigger than or equal to 1.1, so we solved an incompatibility as well
Kurt Pattyn [Thu, 22 Aug 2013 19:27:00 +0000 (21:27 +0200)]
Removed commented out code
Kurt Pattyn [Thu, 22 Aug 2013 19:23:53 +0000 (21:23 +0200)]
Commented out currently unused variables
Kurt Pattyn [Thu, 22 Aug 2013 19:23:18 +0000 (21:23 +0200)]
Minor adjustments to comments
Kurt Pattyn [Thu, 22 Aug 2013 19:22:40 +0000 (21:22 +0200)]
Retrieve HTTP version iso assuming that it is 1.1
According RFC 6455, the version must be bigger than or equal to 1.1, so we solved an incompatibility as well
Kurt Pattyn [Thu, 22 Aug 2013 18:55:13 +0000 (20:55 +0200)]
Added build specific files to ignore list
Kurt Pattyn [Thu, 22 Aug 2013 18:54:27 +0000 (20:54 +0200)]
Removed the starting default comment
Kurt Pattyn [Thu, 22 Aug 2013 18:53:58 +0000 (20:53 +0200)]
Appended _p to the names of internal files
Kurt Pattyn [Thu, 22 Aug 2013 18:42:53 +0000 (20:42 +0200)]
Renamed WebSocketProtocol::getCurrentVersion() with currentVersion()
Kurt Pattyn [Thu, 22 Aug 2013 18:40:27 +0000 (20:40 +0200)]
Removed unnecessary forward declaration
Kurt Pattyn [Thu, 22 Aug 2013 18:40:07 +0000 (20:40 +0200)]
Removed the verb 'get' from the name of public getters
Kurt Pattyn [Thu, 22 Aug 2013 18:37:30 +0000 (20:37 +0200)]
Removed the verb 'get' from the name of public getters
Kurt Pattyn [Thu, 22 Aug 2013 18:26:39 +0000 (20:26 +0200)]
Replaced QRegExp with QRegularExpression as suggested by Shane
Kurt Pattyn [Thu, 22 Aug 2013 18:25:26 +0000 (20:25 +0200)]
Merge branch 'master' of https://github.com/KurtPattyn/QWebSockets
Kurt Pattyn [Thu, 22 Aug 2013 18:24:21 +0000 (20:24 +0200)]
Deleted unnecessary file
Kurt Pattyn [Mon, 19 Aug 2013 21:34:08 +0000 (23:34 +0200)]
Add usage paragraph
Kurt Pattyn [Thu, 15 Aug 2013 12:41:48 +0000 (14:41 +0200)]
Added TODO line indicating removal of fixed values
Kurt Pattyn [Thu, 15 Aug 2013 12:41:14 +0000 (14:41 +0200)]
Removed the fixed version from the response
Kurt Pattyn [Thu, 15 Aug 2013 12:40:42 +0000 (14:40 +0200)]
Added comment to fixed string indicating it is a constant coming from the RFC
Kurt Pattyn [Tue, 13 Aug 2013 14:42:48 +0000 (16:42 +0200)]
Added setErrorString
Kurt Pattyn [Tue, 13 Aug 2013 14:42:28 +0000 (16:42 +0200)]
Split frameReceived into textFrameReceived, binaryFrameReceived and controlFrameReceived
Kurt Pattyn [Tue, 13 Aug 2013 12:49:28 +0000 (14:49 +0200)]
Added doxygen snippet tags
Kurt Pattyn [Tue, 13 Aug 2013 12:49:13 +0000 (14:49 +0200)]
Finished doxygen documentation
Kurt Pattyn [Tue, 13 Aug 2013 12:36:32 +0000 (14:36 +0200)]
Made setSocketState private
Kurt Pattyn [Tue, 13 Aug 2013 12:36:10 +0000 (14:36 +0200)]
Changed configuration to:
- include examples
- exclude friend classes
- use C++ output
Kurt Pattyn [Tue, 13 Aug 2013 12:35:27 +0000 (14:35 +0200)]
Added doxygen documentation
Kurt Pattyn [Tue, 13 Aug 2013 12:33:59 +0000 (14:33 +0200)]
Added doxygen snippet tags
Kurt Pattyn [Tue, 13 Aug 2013 12:33:31 +0000 (14:33 +0200)]
Renamed WebWocketClient to EchoClient to be consistent with the EchoServer example
Added QUrl parameter to constructor
Kurt Pattyn [Tue, 13 Aug 2013 12:32:03 +0000 (14:32 +0200)]
Renamed WebWocketClient to EchoClient to be consistent with the EchoServer example
Kurt Pattyn [Mon, 12 Aug 2013 19:13:16 +0000 (21:13 +0200)]
Commented out unused aboutToClose signal connection
Kurt Pattyn [Mon, 12 Aug 2013 19:12:22 +0000 (21:12 +0200)]
Put output reports into a subdirectory so the reports are accessible via a browser
Kurt Pattyn [Mon, 12 Aug 2013 19:11:49 +0000 (21:11 +0200)]
Ignored build specific output
Kurt Pattyn [Mon, 12 Aug 2013 19:11:03 +0000 (21:11 +0200)]
Corrected close behaviour
Kurt Pattyn [Mon, 12 Aug 2013 19:09:53 +0000 (21:09 +0200)]
Cleanup
Kurt Pattyn [Mon, 12 Aug 2013 19:09:29 +0000 (21:09 +0200)]
Optimized against possible memory leaks
Kurt Pattyn [Mon, 12 Aug 2013 19:09:05 +0000 (21:09 +0200)]
Optimized against possible memory leaks
Kurt Pattyn [Mon, 12 Aug 2013 11:46:48 +0000 (13:46 +0200)]
Updated TODO comments
Kurt Pattyn [Mon, 12 Aug 2013 11:46:15 +0000 (13:46 +0200)]
Implemented missing methods
Kurt Pattyn [Mon, 12 Aug 2013 09:01:15 +0000 (11:01 +0200)]
Cleaned up .pro file
Kurt Pattyn [Mon, 12 Aug 2013 09:00:58 +0000 (11:00 +0200)]
Renamed HelloWorldServer to EchoServer
Kurt Pattyn [Mon, 12 Aug 2013 08:42:44 +0000 (10:42 +0200)]
Added flush after handshake response has been sent, so that servers can start talking to the clients when a newConneciton signal is received
Kurt Pattyn [Sat, 10 Aug 2013 21:30:08 +0000 (23:30 +0200)]
Added source code documentation (ongoing)
Kurt Pattyn [Sat, 10 Aug 2013 15:33:34 +0000 (17:33 +0200)]
Ignore generated documentation
Kurt Pattyn [Sat, 10 Aug 2013 15:28:26 +0000 (17:28 +0200)]
Changed parsing of connection header; connection header can contain multiple items.
Kurt Pattyn [Fri, 9 Aug 2013 12:19:42 +0000 (14:19 +0200)]
Change "Invalid code points" to "non-characters" (as this is the appropriate term)
Kurt Pattyn [Wed, 7 Aug 2013 21:54:14 +0000 (23:54 +0200)]
Excluded report directory from commit
Kurt Pattyn [Wed, 7 Aug 2013 21:53:20 +0000 (23:53 +0200)]
Added configuration file for Autobahn fuzzing client (to be used iso command line parameters)
Kurt Pattyn [Wed, 7 Aug 2013 21:52:03 +0000 (23:52 +0200)]
Removed protocolVersion when constructing web socket
Kurt Pattyn [Wed, 7 Aug 2013 21:51:18 +0000 (23:51 +0200)]
Use getLatestVersion() iso fixed version 13 as supported web socket protocol for the server
Kurt Pattyn [Wed, 7 Aug 2013 21:50:27 +0000 (23:50 +0200)]
Added inline getCurrentVersion() method (to be used iso V_LATEST)
Kurt Pattyn [Wed, 7 Aug 2013 21:49:44 +0000 (23:49 +0200)]
Removed hardcoded origin header value
Added configurable origin header value (default = none)
Kurt Pattyn [Wed, 7 Aug 2013 16:43:55 +0000 (18:43 +0200)]
Adapted helloworldserver to use new signals (has been tested against autobahn)
Kurt Pattyn [Wed, 7 Aug 2013 16:42:56 +0000 (18:42 +0200)]
Implemented check on invalid UTF-8 sequence in close reason
Kurt Pattyn [Wed, 7 Aug 2013 16:41:30 +0000 (18:41 +0200)]
Removed duplicate line
Kurt Pattyn [Wed, 7 Aug 2013 11:27:29 +0000 (13:27 +0200)]
Added information regarding restrictions
Kurt Pattyn [Wed, 7 Aug 2013 08:24:55 +0000 (10:24 +0200)]
Added dev specific files to .gitignore
Kurt Pattyn [Wed, 7 Aug 2013 08:09:13 +0000 (10:09 +0200)]
Ignore dev specific files
Kurt Pattyn [Wed, 7 Aug 2013 07:56:33 +0000 (09:56 +0200)]
Changed name of user-agent to QWebSockets/0.9
Kurt Pattyn [Tue, 6 Aug 2013 13:20:27 +0000 (15:20 +0200)]
Fixed early close bug
Kurt Pattyn [Tue, 6 Aug 2013 13:15:17 +0000 (15:15 +0200)]
Changed agent name to QWebSockets again
Kurt Pattyn [Tue, 6 Aug 2013 12:58:50 +0000 (14:58 +0200)]
Cleaned up code
Changed textFrameReceived to textMessageReceived
Changed binaryFrameReceived to binaryMessageReceived
Kurt Pattyn [Tue, 6 Aug 2013 12:57:41 +0000 (14:57 +0200)]
Cleaned up code
Kurt Pattyn [Tue, 6 Aug 2013 12:56:56 +0000 (14:56 +0200)]
Cleaned up code
Kurt Pattyn [Tue, 6 Aug 2013 12:53:46 +0000 (14:53 +0200)]
Exclude developer specific files
Kurt Pattyn [Tue, 6 Aug 2013 12:53:19 +0000 (14:53 +0200)]
Removed file, because coverity does not work
Kurt Pattyn [Tue, 6 Aug 2013 12:50:45 +0000 (14:50 +0200)]
Reworked data processor to use QTextCodec to check for invalid unicode.
Added frame-per-frame validity check, so early failure is possible.
Split the message into a text message and a binary message, so that the decoded text can be retained (optimisation)
Kurt Pattyn [Sun, 4 Aug 2013 00:15:04 +0000 (02:15 +0200)]
Added development specific files to ignore list
Kurt Pattyn [Sun, 4 Aug 2013 00:14:37 +0000 (02:14 +0200)]
Added analyse script for Coverity
Kurt Pattyn [Sat, 3 Aug 2013 21:46:54 +0000 (23:46 +0200)]
Added ignored files and coverity configuration file
Kurt Pattyn [Sat, 3 Aug 2013 21:46:28 +0000 (23:46 +0200)]
Added start of source code comment
Kurt Pattyn [Sat, 3 Aug 2013 19:30:49 +0000 (21:30 +0200)]
Added examples for WebSocket usage
Kurt Pattyn [Sat, 3 Aug 2013 19:29:29 +0000 (21:29 +0200)]
Removed unneeded qDebug statements
Connected binaryMessageReceived and textMessageReceived signals to those in DataProcessor (new)