| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix build warnings and errors for Ubuntu version 20.04
- Apply macro fix for GTEST_DISALLOW_ASSIGN_ and GTEST_DISALLOW_COPY_AND_ASSIGN_ from googletest project
- Fix usage of deprecated functions in openssl 1.1.0
- Include deprecated `sysctl.h` only in QNX build
- Fix warnings in InterfaceGenerator scripts
* Add 20.04 to supported platforms
* Remove broken tests after openssl1.1 update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #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>
|
|
|
|
|
|
|
|
| |
* 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.
|
|\ |
|
| |
| |
| |
| | |
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`
|
|/
|
|
| |
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
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Related tasks APPLINK-30588 APPLINK-30977
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Renamed h && cc file names in telemetry_monitor.
Corrected header-guards.
Corrected commented code in gmock.
Created TODO and tasks for them.
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Added some functionality to google mock framework
|
|
|
|
|
| |
- Add atomic object class
- Fix merge mistakes
|
|
|
|
|
| |
Conflicts:
src/3rd_party-static/MessageBroker/src/client/mb_controller.cpp
|
|
|
|
| |
Closes-bug: APPLINK-15781
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
On unexpected disconnect MB should unregister all components, by socket
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Smoke tested on Ubuntu 12.04
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|