summaryrefslogtreecommitdiff
path: root/src/appMain/main.cc
Commit message (Collapse)AuthorAgeFilesLines
* [SDL 0046] Implement logger abstraction (#3472)VladSemenyuk2020-09-011-26/+37
| | | | | | | | | | | | | | | | | | | | | | | | * Implement logger abstraction. Integrate it to SDL. Create one logger instance for shared libraries * Rename all logger macros. * Update src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> * Fix review comments(errors in log messages) * Fix review coments * Fix code style * Add logger variable creation to new commads * Fix review comment * Fixe review comment(class imblemtation moved to .cc file) Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
* Fix style (#3432)Jacob Keeler2020-06-101-2/+1
|
* Add features to make the daemon script more reliablejacobkeeler2020-06-021-1/+2
| | | | | | | Create dedicated PID file directory Check running processes before starting or stopping Core Add `kill` command to destroy all running instances of Core Change main SDL thread to be identifiable by name
* Run updated style scriptjacobkeeler2019-04-291-7/+7
|
* Fix missing 3rd-party dependencies in CMake filesfix/3rd_party_dependenciesJacob Keeler2019-04-011-0/+2
|
* Implement Low Voltage Handling in separate processAndriy Byzhynar2018-08-211-2/+2
| | | | | | | | Implemented Low Voltage functionality handling in separate process in order to have possibility to suspend entire SDL process in case of Low Voltage signal After receipt of WakeUp signal SDL process is beeing waken up and resumes all its activities.
* Initial implementation of Low Voltage featureAndriy Byzhynar2018-08-211-0/+17
| | | | | Implemented Low Voltage feature based on POSIX real-time signals
* Create Life Cycle class interfaceAndriy Byzhynar2018-08-211-8/+10
| | | | | | Created Life cycle class interface in order: - to make unit-testing available - to decrease components coupling
* Edit error in function nameAndriy Byzhynar2018-08-211-2/+2
|
* Fixes for PR commentJackLivio2018-02-021-8/+2
|
* Add Boost Websocket HMI AdapterJackLivio2018-02-021-8/+9
| | | | Repleaces old message broker with new boost::beast websocket library. No changes required for setup or connecting with HMI.
* Remove references to QT HMIfeature/remove_qt_hmijacobkeeler2018-02-011-19/+2
|
* Remove ifdefJackLivio2017-09-291-4/+1
| | | | clearner approach to handling warning as error.
* Fix compilation warning #1789JackLivio2017-09-291-0/+2
| | | | Changes made in #1789 + compilation fix. Original author @shoamano83
* Enable SDL stop when PathStoSnapshot contains unportable symbolsiAndrew52016-12-281-2/+11
| | | | | | | | Created method which checks that Snapshot filename consists only from portable symbols Added necessary check to main function. Renamed config_profile setter as there were 2 methods: getter & setter with the same name Related: APPLINK-30869
* Code style format with clang-formatKozoriz2016-04-251-4/+3
|
* Remove Lifecycle singletoneKozoriz2016-04-251-23/+26
| | | | + update after remove all another singletones
* Remove singleton from LoggerKozoriz2016-03-101-1/+2
| | | | | | | | | 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
* Delete break after abort(), replace unsibcribing from terminationAnton Hrytsevich2016-02-021-7/+6
|
* Revert result of functionAnton Hrytsevich2016-02-011-1/+1
|
* Delete spaces, set capital letter to methodAnton Hrytsevich2016-02-011-1/+1
|
* Make refactoring signal catchingAnton Hrytsevich2016-02-011-0/+6
| | | | | It keep simple and minimal code then previous version. Signal mask set once in main thread, than all creating thread copping this mask.
* Fixed wrong logger name for SDLMainElisey Zamakhov2015-12-181-1/+1
| | | | Issues: APPLINK-19597, APPLINK-19603
* Merge branch 'release/4.0.0' into developAleksandr Galiuzov2015-10-051-1/+2
|\
| * Fix crash when second instance of SDL is startedValeri Prodanov2015-10-021-1/+2
| | | | | | | | | | | | | | When the app. is unabled to bind a socket return error, which caused InitMessageSystem() to fail. The crash was occuring when exit is called. Fixes: APPLINK-16303
| * APPLINK--11284 Return SDL & System Software Version In RAIDmitriy Klimenko2015-08-311-4/+2
| | | | | | | | | | | | | | | | | | Conflicts: src/appMain/smartDeviceLink.ini src/components/application_manager/include/application_manager/hmi_capabilities.h src/components/application_manager/src/commands/hmi/get_system_info_response.cc src/components/application_manager/src/hmi_capabilities.cc src/components/config_profile/src/profile.cc
* | Read values from ini file before logger startingArtem Nosach2015-10-051-26/+6
| | | | | | | | Closes-bug: No logs observed after SDL start
* | Update INI files according to PASA and Genevi requirementsElisey Zamakhov2015-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | Removed PASA-specific parameters from customer-specific ini file. Add comments for parameters of both ini files. Update HMI start default values. Removed MmeData value in ConfigProfile. Fixed typo in ini file, initialize_git.sh. Implements: APPLINK-15096
* | Merge branch 'release/4.0.0' into developAlexandr Galiuzov2015-06-191-32/+9
|\ \ | |/
| * APPLINK-11859 move HMI link to config file, install web HMI to bin folderAlexander Kutsan2015-04-221-32/+9
| |
* | APPLINK--11284 Return SDL & System Software Version In RAIDmitriy Klimenko2015-06-081-4/+2
|/
* Bug Fixes and ImprovementsSynchronizationCommitJustin Dickow2015-02-201-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-4/+14
| | | | | | Smoke tested on Ubuntu 12.04 Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* HmiStatus modifyJustin Dickow2015-01-241-14/+4
| | | | | | | | | | | | | | | | 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-271-6/+7
| | | | Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* SDL 3.8!Justin Dickow2014-10-201-0/+238
Signed-off-by: Justin Dickow <jjdickow@gmail.com>