summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Implement StateController changesAndriy Byzhynar2019-08-2018-478/+1340
| | | | | | | | | | | | Implemented changes in State Controller Fixed related dependencies Fixed unit tests
| * Add window_id() method to Command classAndriy Byzhynar2019-08-204-0/+21
| |
| * Update OnHMIStatus notificationAndriy Byzhynar2019-08-2010-66/+40
| |
| * Add app automatic subscription to "DISPLAY" capabilities updatesAndriy Byzhynar2019-08-201-2/+8
| |
| * Implement BC.OnSystemCapabilitiesUpdated notification from HMIAndriy Byzhynar2019-08-206-4/+379
| |
| * Implement CreateWindow and DeleteWindow RPCsAndriy Byzhynar2019-08-2025-0/+2143
| | | | | | | | | | | | | | | | * Implemented new RPCs: CreateWindow & DeleteWindow * UTs for CreateWindow RPC. * UTs for DeleteWindow RPC.
| * Update application and its dependenciesAndriy Byzhynar2019-08-2048-416/+1161
| | | | | | | | | | | | Updated application interface and its implementation Updated application state and its implementation Updated Smart object keys
| * Update Mobile & HMI API with new data types and parametersmked-luxoft2019-08-202-67/+524
| |
* | Fix shutdown crash static var colission (#2939)Alexander Kutsan (GitHub)2019-08-2237-108/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add apropriate destruction of plugins Add Delete exported function to each rpc plugin library Delete funciton will destroy Plugin instance. Move type defenition of PluginPtr to Plugin manager, because other components should use olugins only by referance. Add custom destructor for PluginPtr. custom destructor will call `Delete` function from shared library for plugin instance and unload plugin dl_handle. Deprecate GetPlugins method because it not used (and actualy shouldnt) by other components. Refactored LoadPlugin function, make it more readable, make this function as private RPCPluginManagerImpl private method. * Fix components dependencies after hiding libraries symbols * Add `-fvisibility=hidden` to avoid collision of static variables Remove from ABI all shared objects members except functions that needed. Fixes double destruction crash on shutdown. For the case if dynamically linked library contains same static variables as binary. System allocates the same memory for both static variables (in shared object and in binary). But during exit both binary and shared object destroying this memory. Mostly is a specific for binaries generated by gcc compiler. Inspired by https://stackoverflow.com/questions/3570355/c-fvisibility-hidden-fvisibility-inlines-hidden http://gcc.gnu.org/wiki/Visibility * Link Policy code statically SDL components like Application manager Connection Handler, etc ... requires symbols from policy library. Also policy library loaded by SDL in run-time as shared library. Having same library loaded as dynamic and shared library is definitely bad idea. This commit link extract static policy component and link policy component statically to other components. * Static linkage of plugins code un plugins unit tests Unit tests need to be portable and should not depend from dynamic libraries * Put logs_enabled_ "default" visibility attribute Logs enables is static variable and it should be shared across libraries. On SDL start if set_enabled_logs should put value shared across libraries * Changed the order of destruction of objects Changed the order of destruction of objects to avoid the crash during destruction of the RequestController. * Change the order of the waiting and finishing thread Applications using hotplug support should stop the thread at program exit and wait finishing thread after calling libusb_hotplug_deregister_callback. This call wakes up libusb_handle_events () http://libusb.sourceforge.net/api-1.0/group__libusb__asyncio.html * fixup! Add apropriate destruction of plugins * Make saftly usage of logger Added usage unique_ptr for LogMessageLoopThread to avoid the crash when delete_log_message_loop_thread was not fired.
* | update API to reflect proposal revisions (#2994)Collin2019-08-212-4/+4
| |
* | Feature/Pixel density and scale (#2757)Igor Gapchuk (GitHub)2019-08-216-2/+35
|/ | | | | | | | | | | | | | | | | | | | * Feature/Pixel density and scale Add new parameters to VideoStreamingCapability structure: - diagonalScreenSize - diagonal screen size of the screen; - pixelPerInch - Pixel per inch (PPI) of the screen; - scale - Scale value to determine how the app should scale the captured view. Add new parameters with default values to hmi_capabilities.json: - diagonalScreenSize - pixelPerInch - scale * Add min and max value for "scale" parameter. Add min and max values for parameter scale in Structs index for VideoStreamingCapabilities struct.
* Merge pull request #2034 from shoamano83/feat/sdl-0138_audio_pass_thru_arrayJackLivio2019-08-2015-63/+190
|\ | | | | Feat/sdl 0138 audio pass thru array
| * Omit the case where UI.GetCapabilityResponse returns a list in ↵Sho Amano2019-08-162-14/+13
| | | | | | | | | | | | audioPassThruCapabilities Reflecting review comment.
| * Now that audio_pass_thru_capabilities() is always an array, remove ↵Sho Amano2019-08-071-9/+3
| | | | | | | | | | | | unnecessary if statement Reflecting review comment.
| * Always make audio_pass_thru_capabilities_ an array when reading from ↵Sho Amano2019-08-061-2/+13
| | | | | | | | | | | | UIGetCapabilities response Reflecting code review comment.
| * always make audio_pass_thru_capabilities_ an arraySho Amano2019-08-012-14/+14
| | | | | | | | Reflecting code review comment.
| * fix: update hmi_capabilities_test.cc to run on latest codebaseSho Amano2019-07-251-2/+2
| |
| * Use utility method for reading pcmStreamCapabilities alsoSho Amano2019-07-251-20/+1
| |
| * Update audioPassThruCapabilities in hmi_capabilities.json to arraySho Amano2019-07-259-28/+129
| | | | | | | | | | Also, hmi_capabilities_impl.cc is updated to support both old and new formats of the json file.
| * Update HMI_API.xml to add audioPassThruCapabilitiesListSho Amano2019-07-255-3/+44
| |
* | Merge pull request #2960 from ↵Shobhit Adlakha2019-08-1645-938/+1754
|\ \ | | | | | | | | | | | | smartdevicelink/feature/same_app_from_multiple_devices Support running the same app from multiple devices at the same time
| * | Update HMI_API.xmlfeature/same_app_from_multiple_devicesAlexander Kutsan (GitHub)2019-08-141-2/+2
| | | | | | | | | | | | Change description for missed vrSynonyms
| * | Update ↵Alexander Kutsan (GitHub)2019-08-141-1/+1
| | | | | | | | | | | | | | | | | | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc Co-Authored-By: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
| * | Removed DEPRECATED methods.sniukalov2019-08-1425-1337/+20
| | |
| * | Adaptation UTs.sniukalov2019-08-1418-452/+1028
| | |
| * | Update functionality of user permissions for all applications.sniukalov2019-08-141-10/+13
| | | | | | | | | | | | | | | | | | Issue on develop branch: https://github.com/smartdevicelink/sdl_core/issues/2957 of SDL core and it has been fixed by this commit
| * | Add using device id for external proprietary mode.sniukalov2019-08-1411-129/+883
| | |
| * | Add using device id for proprietary mode.sniukalov2019-08-147-32/+316
| | |
| * | Adjustment of external policy component for multiple devices.sniukalov2019-08-144-13/+122
| | |
| * | Adjustment of proprietary policy component for multiple devices.sniukalov2019-08-148-21/+253
| | |
| * | Adjustment registration of sdl_rpc_plugin for multiple devices.sniukalov2019-08-144-59/+185
| | |
| * | Adjustment application_manager for multiple devices.sniukalov2019-08-144-39/+85
| | |
| * | Update interfacessniukalov2019-08-142-9/+9
| | | | | | | | | | | | | | | Update interfaces according to proposal 'Support running the same app from multiple devices at the same time'
| * | Update value state in operators(++,+=) for the class Integer.sniukalov2019-08-141-0/+2
| | |
| * | Fixed sending a secondary message APPLICATION_REGISTERED_ALREADYsniukalov2019-08-141-1/+1
| | |
| * | Fixed code style.sniukalov2019-08-141-6/+7
| | | | | | | | | | | | | | | In current develop is broken code style on: 399f983e6e75dbe0e2f82ff28ed794d60bfcc3e5
* | | Merge pull request #2972 from smartdevicelink/feature/usb_ini_configJackLivio2019-08-158-13/+140
|\ \ \ | | | | | | | | Add AOA filtering parameters to .ini configuration
| * | | Add AOA filtering parameters to .ini configurationfeature/usb_ini_configJackLivio2019-07-248-13/+140
| | | |
* | | | support tiled menus and submenus (#2968)Collin2019-08-1515-37/+193
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support tiled menus and submenus * with style script * SendResponse in on_event * style script * fix compiling with unit tests * append warnings info * append response info when sending warnings * load menuLayoutsAvailable in hmi_capabilities.json * add to hmi_capabilities in RAI response * case unsupported menuLayout only SGP param * Update warning message for invalid data * proposal revisions
* | | add Cancel Interaction RPC (#2963)Collin2019-08-1224-2558/+3363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add Cancel Interaction RPC * Update src/components/interfaces/MOBILE_API.xml Co-Authored-By: Jacob Keeler <jacob.keeler@livioradio.com> * Update src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/cancel_interaction_request.cc Co-Authored-By: Jacob Keeler <jacob.keeler@livioradio.com> * omit cancelID when not used * use helpers::Compare * remove unnecessary app registered check * add scrollableMessage::cancelID * VRPerformInteraction.cancelID
* | | Merge pull request #2967 from smartdevicelink/feature/open_menu_rpcShobhit Adlakha2019-07-3119-0/+724
|\ \ \ | | | | | | | | ShowAppMenu RPC
| * | | Add ShowAppMenu to policy table enumsfeature/open_menu_rpcShobhit Adlakha2019-07-254-0/+24
| | | |
| * | | Fix styleShobhit Adlakha2019-07-225-12/+12
| | | |
| * | | Fixed merge conflicts and updated branchShobhit Adlakha2019-07-221685-7861/+34155
| |\ \ \
| * \ \ \ Merge pull request #2725 from mkorniichuk/feature/show_app_menuMykola Korniichuk (GitHub)2018-12-1215-0/+698
| |\ \ \ \ | | | | | | | | | | | | Feature/Open Menu RPC
| | * | | | Update for sdl_preloaded_pt.json:Mykola Korniichuk2018-12-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | ShowAppMenu RPC added to Base-4 and Base-6
| | * | | | discard changes in policy_table/enumsMykola Korniichuk2018-12-044-24/+0
| | | | | |
| | * | | | fix according to commentsMykola Korniichuk2018-12-048-44/+40
| | | | | |
| | * | | | Open Menu RPCMykola Korniichuk2018-10-2918-0/+720
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current commit contains brand new RPC "ShowAppMenu". The built-in menu button shows the list of menu entries added with AddCommand. But since this button is hidden for projection apps, the menu is not accessible anymore. So the application should be allowed to send a request to show the built-in menu view. ShowAppMenu RPC allows projection application to send a request to open the built-in app menu or any previously added sub menu by a corresponding id.
* | | | | Merge pull request #2964 from smartdevicelink/feature/template_titlesShobhit Adlakha2019-07-305-6/+41
|\ \ \ \ \ | | | | | | | | | | | | Template Titles