summaryrefslogtreecommitdiff
path: root/src/3rd_party-static
Commit message (Collapse)AuthorAgeFilesLines
* #3211 [SDL 0234] Proxy Library RPC Generation (#3213)Vladyslav Mustafin2020-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #3211 [SDL 0234] Proxy Library RPC Generation * Split existing `InterfaceGenerator` into `InterfaceParser` and `InterfaceGenerator` * Moved InterfaceParser into `smartdevicelink/rpc_spec` * Rejoined `InterfaceParser` as `tools/rpc_spec` Git submodule from `smartdevicelink/rpc_spec` * Refactored `InterfaceGenerator` to use Parser from `tools/rpc_spec` Git submodule and be compatible with Python 3.5 * Replaced url SSH to HTTPS in submodule * refactoring according to comments in pull/202 * move common parsers to rpc_spec repo * change cmake argument * fix cmake argument list * fix cmake argument list * fix cmake argument list * small refactoring as requested in code review * adding *.xsd * adding *.xsd * xmlschema dependency added for python interface generator * align changes from parser rpc_spec * align changes from parser rpc_spec * align with rpc_spec * moved xmlschema python dependency installation to build script * installing all python requirements * Corrected requirements file * Additional dependencies for requirements * Correcting requirements * adding jsoncpp submodule * fixing unit tests * fixing unit tests * rename CodeFormatAndQuality * updated rpc_spec reference Co-authored-by: Aleksandr Mishchenko <amishchenko@luxoft.com> Co-authored-by: Kostiantyn Sologubov <ksologubov@luxoft.com>
* Update jsoncpp library (#3155)Yevhenii Dementieiev (GitHub)2020-01-29190-15736/+53
| | | | | | | | * Delete old version of jsoncpp lib and add new like submodule, change deprecated interface for new. * Logs output without extra special symbols * fixup! Delete old version of jsoncpp lib and add new like submodule, change deprecated interface for new.
* Merge branch 'develop' into feature/boost_websocket_hmi_message_adapterfeature/boost_websocket_hmi_message_adapterJackLivio2018-02-0254-25166/+0
|\
| * Dynamically link libusb-1.0JackLivio2018-01-2054-25166/+0
| | | | | | | | Removed libusbx from project and now require libusb-1.0 to be installed as a dependency. Required `apt-get install libusb-1.0-0-dev`
* | Add Boost Websocket HMI AdapterJackLivio2018-02-0235-6371/+0
|/ | | | Repleaces old message broker with new boost::beast websocket library. No changes required for setup or connecting with HMI.
* fix: invalid memory access in websocket_handler (#1687)Sho Amano2017-10-031-3/+3
| | | | | | | | | | | | | * fix: invalid memory access in websocket_handler * Revert "fix: invalid memory access in websocket_handler" This reverts commit 120c087d92fac3e3c950f1e689461aafd2fa459c. * fix: (again) invalid memory access in websocket_handler Previous commit was incomplete; we need to shift the whole buffer.
* Fix CMessageBroker invalid JSON object processingAKalinich-Luxoft2017-06-061-3/+13
| | | | | | | | | | | | | | | | | | | | | | | Fixed CMessageBroker invalid JSON object processing. The root cause of the problem is that CMessageBroker drops whole message buffer when it receives some invalid json objects. It seems to be not correct because message buffer could contain also some valid json objects. For example CMessageBroker receives buffer where {valid_response_1}{invalid_response_2}{valid_response_3}... Then it parse JSON objects one by one until buffer become empty. valid_response_1 will be parsed OK and SDL will receive parsed message, but {invalid_response_2} will not be parsed OK and CMessageBroker will not continue parsing objects after that. Then if CMessageBroker receives some {new_valid_response} and parse it OK, it will drop the whole buffer with {invalid_response_2}{valid_response_3}... so SDL will not receive messages for {valid_response_3} and all others in buffer and this is a reason why SDL will not react on them. In this commit: - In case of invalid JSON object received CMessageBroker tries to find next JSON object after current invalid and if it was found, current invalid JSON object will be dropped and parsing will be continued
* Fix string formatting in MB debug messages to avoid warningsAKalinich-Luxoft2017-06-025-31/+31
| | | | | | The problem is that size_t is not a %d in printf command. This produces a warnings which are treated as errors. Was replaced with %zu
* Remove patched code from gmockIvo Stoilov (GitHub)2017-02-062-114/+0
| | | | Related tasks APPLINK-30588 APPLINK-30977
* Refactor CMake filesIvo Stoilov (GitHub)2017-01-1239-64/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge components refactoring from Windows port barnch - add cmake tools - refactor protocol handler CMakeLists.txt file - refactor interfaces CMakeLists.txt file - refactor smart object CMakeLists.txt file - refactor formatters CMakeLists.txt file - refactor config profile CMakeLists.txt file - refactor policy CMakeLists.txt file - refactor resumption CMakeLists.txt file - refactor connection handler CMakeLists.txt file - refactor application manager CMakeLists.txt file - refactor security manager CMakeLists.txt file - refactor dbus CMakeLists.txt file - refactor hmi message handler CMakeLists.txt file - refactor transport manager CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor media manager CMakeLists.txt file - refactor telemetry monitor CMakeLists.txt file - refactor appmain CMakeLists.txt file - refactor plugins CMakeLists.txt file - refactor 3rd party CMakeLists.txt files - create cmake helper for interface generation - refactor root CMakeLists.txt file Move cmake modules to tools Rename src/3rd_party-static/MessageBroker to message_broker Related tasks APPLINK-30588 APPLINK-30972
* Revert "Fix/cmake files refactoring"revert-1144-fix/cmake_files_refactoringAlexander Kutsan (GitHub)2017-01-0539-158/+64
|
* Refactor CMake filesIvo Stoilov (GitHub)2016-12-3039-64/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge components refactoring from Windows port barnch - add cmake tools - refactor protocol handler CMakeLists.txt file - refactor interfaces CMakeLists.txt file - refactor smart object CMakeLists.txt file - refactor formatters CMakeLists.txt file - refactor config profile CMakeLists.txt file - refactor policy CMakeLists.txt file - refactor resumption CMakeLists.txt file - refactor connection handler CMakeLists.txt file - refactor application manager CMakeLists.txt file - refactor security manager CMakeLists.txt file - refactor dbus CMakeLists.txt file - refactor hmi message handler CMakeLists.txt file - refactor transport manager CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor utils CMakeLists.txt file - refactor components root CMakeLists.txt file - refactor media manager CMakeLists.txt file - refactor telemetry monitor CMakeLists.txt file - refactor appmain CMakeLists.txt file - refactor plugins CMakeLists.txt file - refactor 3rd party CMakeLists.txt files - create cmake helper for interface generation - refactor root CMakeLists.txt file Move cmake modules to tools Related taks APPLINK-30588 APPLINK-30972
* Changes after reviewKozoriz2016-03-171-1/+1
| | | | | | | Renamed h && cc file names in telemetry_monitor. Corrected header-guards. Corrected commented code in gmock. Created TODO and tasks for them.
* Remove singleton from LoggerKozoriz2016-03-101-5/+9
| | | | | | | | | Removed singleton form LogMessageLoopThread. Corrected dependencies. Now logger initialization must get 2 args. 2nd with bool which know about logs-enabled or no. Related to : APPLINK-21915
* Unit tests for 3rd-partyVeronica Veremjova2015-11-193-0/+213
|
* APPLINK-17318: Core dump by Ctrl-CAleksei Lambin2015-11-181-1/+1
|
* Added UT for transport manager & partially refactorediAndrew52015-10-282-1/+198
| | | | Added some functionality to google mock framework
* Fix buildArtem Nosach2015-10-051-0/+1
| | | | | - Add atomic object class - Fix merge mistakes
* Not a subject for reviewArtem Nosach2015-10-051-2/+2
| | | | | Conflicts: src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp
* Remove unneeded lock from MessageBrokerAdapterArtem Nosach2015-10-052-10/+4
| | | | Closes-bug: APPLINK-15781
* Resend caught system signals to the main threadArtem Nosach2015-10-051-0/+7
| | | | | | | | | Check for thread ID in signal handler and resend signal to main thread in case handler was running by another thread. It's needed to stop SDL correctly because main thread is waiting for signal and doesn't stop if signal has not come. Closes-bug: APPLINK-15828
* Remove parsed JSON and invalid messages from MessageBroker's bufferAsen Kirov2015-09-143-57/+263
| | | | | | | | | | | | | | | | | | | | | | | | With the previous code, messages that cannot be parsed (pure garbage, invalid JSONs, JSONs that are not objects or does not have jsonrpc member set correctly) remained in MesageBrocker's TcpServer receive buffer for the corresponding file descriptor forever. Because the garbage is in front of the buffer and next messages are appended at the end, these next messages are not processed, since parsing stops on first error. Also if parsed message has different length than the original (this is possible if there are floating point numbers for example), the original message is not deleted properly and next message may be broken. The fix is to handle invalid messages and remove invalid or parsed data from the buffer, without removing any potentially valid, but incomplete data (masked websocket frames or SDL messages). It is still possible to misinterpred garbage as a beginning of a incomplete valid frame. In this case we are doing this: when we have old data in the buffer and a new message arrives, if we can't parse the buffer WITH the new message - try to parse only the new message and clear the buffer on success, because if the new message can be parsed alone, then the old must be garbage. Fixed problem when deleting receiving buffer of disconnected client.
* Post review changes.Artem Nosach2015-06-232-19/+23
|
* Make message broker thread safety.Artem Nosach2015-06-232-21/+56
|
* Merge branch 'hotfix/HMIReconnectionSupport' into release/4.0.0Alexandr Galiuzov2015-06-135-9/+48
|\
| * Fix reconection HMIAlexander Kutsan2015-05-255-3/+36
| | | | | | | | On unexpected disconnect MB should unregister all components, by socket
| * Fix broken PIPE on SendAlexander Kutsan2015-05-251-6/+12
| |
* | Some Style fixesAlexander Kutsan2015-05-073-45/+40
| |
* | Fix pasing message with multiple jsonsAlexander Kutsan2015-05-071-1/+1
| | | | | | | | | | HMI can send Messages with redudant \n in tail of each json. Websocket unparcd data can contain '{', that could be interpereted as starting of json message.
* | Parce WebSockedData fixAlexander Kutsan2015-05-071-10/+9
|/
* Bug Fixes and ImprovementsSynchronizationCommitJustin Dickow2015-02-204-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Empty perform iteration request Fix type of name from string to enum SendLocation implemented on HTML5 HMI Fixed PI response on VR rejection due to high priority. Fix Apps not responsive/not able to start app/apps remain listed on SYNC even after USB disconnect Mobile API change and processing capabilities Change perform interaction request conditions. Fix SDL must always start 3sec timer before resuming the HMILevel of the app Remove redundant StartSavePersistentDataTimer() call. Change wrong predicate name to right. Added stream request handling feature Made streaming timeout in media manager configurable Put navi app in LIMITED in case of phone call Handling of audio state for applications Add stop streaming timeout into ini file Implement HMILevel resumption for job-1 Fix result code ABORTED when interrupts it by Voice recognition activation Fix incorrect value parameter unexpectedDisconnect in BCOnAppUnregistered Fix SDL send BC.OnAppUnregistered with "unexpectedDisconnect" set to "true" in case received from HMI OnExitAllApplications {"reason":"MASTER_RESET"} Fix Update ini file for iAP1 support Current working directory added to image path Fix helpers to make it workable with more then 2 parameters DCHECK() for ManageMobileCommand() replaced with log message because the latter returns false in some regular situations (e.g. TOO_MANY_PENDING_REQUESTS, see SDLAQ-CRS-10) Remove connection after closing. Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* Latest internal release - last bulk merge before pull request and gitflow!?Justin Dickow2015-01-264-12/+3
| | | | | | Smoke tested on Ubuntu 12.04 Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* HmiStatus modifyJustin Dickow2015-01-244-3/+12
| | | | | | | | | | | | | | | | HU DCHECK occurs during multisession registration Remove unused variable SIGSEGV handler added to flush logger queue FixIncomplete device list in UpdateDeviceList request Fix Memory leak on PutFile break Fix Thread and Timer Fix OnHmiStatus Notification Fix Url array sending for endpoints. Fix HashChange Fix SDL parse incoming JSON message with both members error and result as success message Fix Core crashes while connecting mobile app Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* 3.10.1Justin Dickow2014-10-274-4/+3
| | | | Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* SDL 3.8!Justin Dickow2014-10-20555-0/+318992
Signed-off-by: Justin Dickow <jjdickow@gmail.com>