profile/ivi/smartdevicelink.git
10 years agoAPPLINK-6432 Refactor ResumeCtrl to use LastState class
Alexander Kutsan [Tue, 25 Mar 2014 15:25:00 +0000 (17:25 +0200)]
APPLINK-6432 Refactor ResumeCtrl to use LastState class

10 years agoAPPLINK-6249: HMI API Does Not Specify Interaction Mode
Andrew Melnik [Tue, 25 Mar 2014 13:17:36 +0000 (15:17 +0200)]
APPLINK-6249: HMI API Does Not Specify Interaction Mode

10 years agoAPPLINK-6324 HMI API BasicCommunication interface extension: OnFileRemoved
Vladislav Smenyuk [Tue, 25 Mar 2014 09:57:51 +0000 (02:57 -0700)]
APPLINK-6324 HMI API BasicCommunication interface extension: OnFileRemoved

10 years agoAPPLINK-6326: 'HMI part: HMI API BasicCommunication interface extension: OnFileRemoved'
Andrew Melnik [Tue, 25 Mar 2014 09:31:08 +0000 (11:31 +0200)]
APPLINK-6326: 'HMI part: HMI API BasicCommunication interface extension: OnFileRemoved'

10 years agoFix build error in DBus configuration
Igor Kozyrenko [Tue, 25 Mar 2014 08:55:00 +0000 (10:55 +0200)]
Fix build error in DBus configuration

10 years agoAPPLINK-5462:Add Unit test and flag to project
Victor Slobodyanik [Mon, 24 Mar 2014 18:18:38 +0000 (18:18 +0000)]
APPLINK-5462:Add Unit test and flag to project

10 years agoAPPLINK-6102:Fixed comment after review
Dmitriy Trunov [Mon, 24 Mar 2014 14:24:32 +0000 (16:24 +0200)]
APPLINK-6102:Fixed comment after review

10 years agoAPPLINK-6388 APPLINK-6150
Alexander Kutsan [Mon, 24 Mar 2014 13:58:58 +0000 (15:58 +0200)]
APPLINK-6388 APPLINK-6150

HMI: OnAppRegistered new param resume
Some potential bugs fixed

10 years agoAPPLINK-6324: HMI API changes
Andrew Melnik [Mon, 24 Mar 2014 13:50:46 +0000 (15:50 +0200)]
APPLINK-6324: HMI API changes

10 years agoRevert "APPLINK-5462:Add Unit test to project"
Igor Kozyrenko [Mon, 24 Mar 2014 12:16:51 +0000 (14:16 +0200)]
Revert "APPLINK-5462:Add Unit test to project"

This reverts commit 53ac10f64418e48999f16dbd26c1a7d60d749bcf.

10 years agoAPPLINK-6240:syncMsgVersion Defined As [2,2] When It Should Be [3,0]
Dmitriy Trunov [Mon, 24 Mar 2014 11:50:51 +0000 (13:50 +0200)]
APPLINK-6240:syncMsgVersion Defined As [2,2] When It Should Be [3,0]

10 years agoAPPLINK-6256 Remove redudant HMIStatus
Alexander Kutsan [Mon, 24 Mar 2014 10:15:09 +0000 (12:15 +0200)]
APPLINK-6256 Remove redudant HMIStatus

10 years agoNot a subject for review: HMI API
Andrew Melnik [Mon, 24 Mar 2014 10:11:37 +0000 (12:11 +0200)]
Not a subject for review: HMI API

Reason:

10 years agoAPPLINK-6378 APPLINK-6150 Bug fix and functionality modify
Alexander Kutsan [Mon, 24 Mar 2014 09:55:46 +0000 (11:55 +0200)]
APPLINK-6378 APPLINK-6150 Bug fix and functionality modify

10 years agoAPPLINK-6102:OnHMIStatus: audioStreamingState should be NOT_AUDIBLE when VR session
Dmitriy Trunov [Mon, 24 Mar 2014 07:23:28 +0000 (09:23 +0200)]
APPLINK-6102:OnHMIStatus: audioStreamingState should be NOT_AUDIBLE when VR session

10 years agoAPPLINK-5462:Add Unit test to project
Victor Slobodyanik [Sat, 22 Mar 2014 12:06:48 +0000 (12:06 +0000)]
APPLINK-5462:Add Unit test to project

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
test/CMakeLists.txt
test/components/application_manager/rpc/CMakeLists.txt
test/components/application_manager/rpc/src/initStartData.cc
test/test_suit.cc

10 years agoAPPLINK-6374: UpdateTurnList protocol revision P
Dmitriy Klimenko [Fri, 21 Mar 2014 16:41:10 +0000 (09:41 -0700)]
APPLINK-6374: UpdateTurnList protocol revision P

10 years agoAPPLINK-6150 Chaeck functionality of resumption
Alexander Kutsan [Fri, 21 Mar 2014 16:18:16 +0000 (18:18 +0200)]
APPLINK-6150 Chaeck functionality of resumption

10 years agoMerge remote-tracking branch 'origin/release/release_SDL_RB_B3.2' into develop
Igor Kozyrenko [Fri, 21 Mar 2014 15:48:03 +0000 (17:48 +0200)]
Merge remote-tracking branch 'origin/release/release_SDL_RB_B3.2' into develop

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
src/components/application_manager/CMakeLists.txt
src/components/application_manager/src/application_impl.cc
src/components/application_manager/src/commands/mobile/set_display_layout_request.cc
src/components/application_manager/src/hmi_command_factory.cc
src/components/application_manager/src/resume_ctrl.cpp
Not a subject for review: code already reviewed

Conflicts:
src/appMain/policy_table.json

10 years agoAPPLINK-6365 ResumeCtrl: Check images on resume
Alexander Kutsan [Fri, 21 Mar 2014 15:44:29 +0000 (17:44 +0200)]
APPLINK-6365 ResumeCtrl: Check images on resume

10 years agoAPPLINK-6370, APPLINK-6371, APPLINK-6376: HMI API fixes
Andrew Melnik [Fri, 21 Mar 2014 15:28:24 +0000 (17:28 +0200)]
APPLINK-6370, APPLINK-6371, APPLINK-6376: HMI API fixes

10 years agoAPPLINK-6124: Notification OnSystemRequest does not come after pressing OnSystemReque...
Andrew Melnik [Fri, 21 Mar 2014 13:45:48 +0000 (15:45 +0200)]
APPLINK-6124: Notification OnSystemRequest does not come after pressing OnSystemRequest on HMI

10 years agoAPPLINK-6223:Rolled back my changes according with question APPLINK-5900
Dmitriy Trunov [Fri, 21 Mar 2014 13:42:37 +0000 (15:42 +0200)]
APPLINK-6223:Rolled back my changes according with question APPLINK-5900

10 years agoAPPLINK-6249: HMI API Does Not Specify Interaction Mode
Andrew Melnik [Fri, 21 Mar 2014 13:32:10 +0000 (15:32 +0200)]
APPLINK-6249: HMI API Does Not Specify Interaction Mode

10 years agoAPPLINK-6223:Fixed comment after rewiev
Dmitriy Trunov [Fri, 21 Mar 2014 13:10:54 +0000 (15:10 +0200)]
APPLINK-6223:Fixed comment after rewiev

10 years agoAPPLINK-6230:Fixed comment after review.
Dmitriy Trunov [Fri, 21 Mar 2014 12:35:26 +0000 (14:35 +0200)]
APPLINK-6230:Fixed comment after review.

10 years agoAPPLINK-3396
Vladislav Smenyuk [Fri, 21 Mar 2014 12:26:55 +0000 (05:26 -0700)]
APPLINK-3396
Core.PerformInteraction: when in VR, the PerformInteraction is triggered by the command (NOT by the interaction choice) which cmdID coincides with the ChoiceID.

10 years agoAPPLINK-6331 Resumption: HMILevel of second app does not resume
Alexander Kutsan [Fri, 21 Mar 2014 12:14:30 +0000 (14:14 +0200)]
APPLINK-6331 Resumption: HMILevel of second app does not resume

10 years agoAPPLINK-6249: HMI API Does Not Specify Interaction Mode
Andrew Melnik [Fri, 21 Mar 2014 11:16:30 +0000 (13:16 +0200)]
APPLINK-6249: HMI API Does Not Specify Interaction Mode

10 years agoAPPLINK-6333: AddCommand fix
Dmitriy Klimenko [Fri, 21 Mar 2014 10:43:21 +0000 (03:43 -0700)]
APPLINK-6333: AddCommand fix

10 years agoAPPLINK-6249: HMI API Does Not Specify Interaction Mode
Andrew Melnik [Fri, 21 Mar 2014 09:46:57 +0000 (11:46 +0200)]
APPLINK-6249: HMI API Does Not Specify Interaction Mode

10 years agoAPPLINK-6329: ListFiles request fix
Dmitriy Klimenko [Fri, 21 Mar 2014 09:29:05 +0000 (02:29 -0700)]
APPLINK-6329: ListFiles request fix

10 years agoFix issues found during code review.
Igor Kozyrenko [Fri, 21 Mar 2014 09:02:01 +0000 (11:02 +0200)]
Fix issues found during code review.

10 years agoAPPLINK-6273: PerfromAudioPassThru and TTS.Speak requests
Andrew Melnik [Thu, 20 Mar 2014 15:22:59 +0000 (17:22 +0200)]
APPLINK-6273: PerfromAudioPassThru and TTS.Speak requests

10 years agoAPPLINK-6319: Request without SoftButtons returns INVALID_DATA
Dmitriy Klimenko [Thu, 20 Mar 2014 14:51:41 +0000 (07:51 -0700)]
APPLINK-6319: Request without SoftButtons returns INVALID_DATA

10 years agoAPPLINK-6273: PerfromAudioPassThru and TTS.Speak requests (UI_OnRecordStart)
Dmitriy Klimenko [Thu, 20 Mar 2014 14:38:05 +0000 (07:38 -0700)]
APPLINK-6273: PerfromAudioPassThru and TTS.Speak requests (UI_OnRecordStart)

10 years agoAPPLINK-6301 appID Coded As Integer When It Should Be A String
Alexander Kutsan [Thu, 20 Mar 2014 10:49:12 +0000 (12:49 +0200)]
APPLINK-6301 appID Coded As Integer When It Should Be A String

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
src/components/application_manager/src/resume_ctrl.cpp

10 years agoAPPLINK-6230:"Fixed comment after review"
Dmitriy Trunov [Thu, 20 Mar 2014 08:07:23 +0000 (10:07 +0200)]
APPLINK-6230:"Fixed comment after review"

10 years agoAPPLINK-5600: HTML5 HMI: Slider: HMI does not sent notification OnSystemContext(HMI_O...
Andrew Melnik [Wed, 19 Mar 2014 14:52:32 +0000 (16:52 +0200)]
APPLINK-5600: HTML5 HMI: Slider: HMI does not sent notification OnSystemContext(HMI_OBSCURED)

10 years agoAPPLINK-6124: Notification OnSystemRequest does not come after pressing OnSystemReque...
Andrew Melnik [Wed, 19 Mar 2014 14:37:22 +0000 (16:37 +0200)]
APPLINK-6124: Notification OnSystemRequest does not come after pressing OnSystemRequest on HMI

10 years agoAPPLINK-6230:Core doesn't load capabilities from file if there is no UI.GetCapabiliti...
Dmitriy Trunov [Wed, 19 Mar 2014 07:36:16 +0000 (09:36 +0200)]
APPLINK-6230:Core doesn't load capabilities from file if there is no UI.GetCapabilities response from HMI

10 years agoNot a subject for review
Alexander Kutsan [Tue, 18 Mar 2014 12:45:19 +0000 (14:45 +0200)]
Not a subject for review

Reason: Test commit message

10 years agoAPPLINK-5004; APPLINK-5005 WebSocket big msg fix
Dmitriy Klimenko [Tue, 18 Mar 2014 12:40:57 +0000 (05:40 -0700)]
APPLINK-5004; APPLINK-5005 WebSocket big msg fix

10 years agoNot a subject for review.
Pavel Kramchaninov [Tue, 18 Mar 2014 10:10:18 +0000 (12:10 +0200)]
Not a subject for review.

10 years agoAPPLINK-5004; APPLINK-5005 WebSocket big msg fix
Dmitry Klimenko [Tue, 18 Mar 2014 09:57:11 +0000 (02:57 -0700)]
APPLINK-5004; APPLINK-5005 WebSocket big msg fix

10 years agoAPPLINK-5004; APPLINK-5005 WebSocket big msg fix
Dmitry Klimenko [Tue, 18 Mar 2014 09:35:46 +0000 (02:35 -0700)]
APPLINK-5004; APPLINK-5005 WebSocket big msg fix

10 years agoNot a subject for review
Alexander Kutsan [Mon, 17 Mar 2014 16:15:05 +0000 (18:15 +0200)]
Not a subject for review

Reason: remove double line

10 years agoGit re-configure
Alexander Kutsan [Mon, 17 Mar 2014 16:04:20 +0000 (18:04 +0200)]
Git re-configure

Question about username to set git username and email.

10 years agoAPPLINK-5251
Vladislav Semenyuk [Mon, 17 Mar 2014 14:11:55 +0000 (07:11 -0700)]
APPLINK-5251

10 years agoAPPLINK-6223: Show:CustomPresets buttons should be shown on HMI
Dmitriy Trunov [Mon, 17 Mar 2014 09:44:39 +0000 (11:44 +0200)]
APPLINK-6223: Show:CustomPresets buttons should be shown on HMI

10 years agoAPPLINK-5452, D-bus message factories generation
Igor Kozyrenko [Fri, 14 Mar 2014 17:20:40 +0000 (19:20 +0200)]
APPLINK-5452, D-bus message factories generation

10 years agoAPPLINK-6213, Make it possible to disable json/dbus support in intergen
Igor Kozyrenko [Fri, 14 Mar 2014 16:56:15 +0000 (18:56 +0200)]
APPLINK-6213, Make it possible to disable json/dbus support in intergen

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
test/components/rpc_base/CMakeLists.txt
test/tools/intergen/CMakeLists.txt

10 years agoAPPLINK-6135 Resume: Resuming failed after reconnection app by changing language...
akutsan [Mon, 17 Mar 2014 08:57:45 +0000 (10:57 +0200)]
APPLINK-6135 Resume: Resuming failed after reconnection app by changing language on HMI

10 years agoAPPLINK-5379 SDL: ImageFieldName
akutsan [Mon, 17 Mar 2014 08:38:50 +0000 (10:38 +0200)]
APPLINK-5379 SDL: ImageFieldName

10 years agoAPPLINK-6229 Create script to set default git message
akutsan [Fri, 14 Mar 2014 15:24:19 +0000 (17:24 +0200)]
APPLINK-6229 Create script to set default git message

10 years agogtest upgrade to 1.7.0. some files were missing from previous commit because of gitignore
Nikolay Khlopkov [Fri, 14 Mar 2014 08:37:29 +0000 (12:37 +0400)]
gtest upgrade to 1.7.0. some files were missing from previous commit because of gitignore
No subject for review: 3rd party sources

10 years agogtest upgrade to 1.7.0. some files were missing from previous commit because of gitignore
Nikolay Khlopkov [Fri, 14 Mar 2014 08:33:04 +0000 (12:33 +0400)]
gtest upgrade to 1.7.0. some files were missing from previous commit because of gitignore
No subject for review: 3rd party sources

10 years agoAPPLINK-6209 Resumption: core doesn't store submenus data.
akutsan [Fri, 14 Mar 2014 07:57:17 +0000 (09:57 +0200)]
APPLINK-6209 Resumption: core doesn't store submenus data.

10 years agoMerge branch 'develop' into APPLINK-6130-gtest_upgrade
Nikolay Khlopkov [Fri, 14 Mar 2014 07:04:16 +0000 (11:04 +0400)]
Merge branch 'develop' into APPLINK-6130-gtest_upgrade
No subject for review: merge

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
CMakeLists.txt
mobile/android/SyncProxyAndroid/androidTest/java/com/ford/syncV4/syncConnection/SyncConnectionTest.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/protocol/WiProProtocol.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/proxy/RPCMessageHandler.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/proxy/SyncProxyALMManager.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/proxy/SyncProxyBase.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/proxy/interfaces/IProxyListenerBase.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/session/Session.java
mobile/android/SyncProxyAndroid/src/main/java/com/ford/syncV4/syncConnection/SyncConnection.java
mobile/android/SyncProxyTester/src/main/AndroidManifest.xml
mobile/android/SyncProxyTester/src/main/assets/CHANGELOG.txt
mobile/android/SyncProxyTester/src/main/java/com/ford/syncV4/android/activity/SyncProxyTester.java
mobile/android/SyncProxyTester/src/main/java/com/ford/syncV4/android/service/ProxyService.java
src/components/transport_manager/src/tcp/tcp_client_listener.cc

10 years agoUnneeded static_cast removed
Nikolay Khlopkov [Fri, 14 Mar 2014 07:02:35 +0000 (11:02 +0400)]
Unneeded static_cast removed
No subject for review: trivial change

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
test/components/transport_manager/src/test_tcp_transport_adapter.cc

10 years agoexplicit constructor according to the style guide
Nikolay Khlopkov [Fri, 14 Mar 2014 07:02:10 +0000 (11:02 +0400)]
explicit constructor according to the style guide
No subject for review: trivial change

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
src/components/transport_manager/include/transport_manager/tcp/tcp_transport_adapter.h

10 years agoAPPLINK-5071: int type according to the style guide.
Nikolay Khlopkov [Fri, 14 Mar 2014 06:49:45 +0000 (10:49 +0400)]
APPLINK-5071: int type according to the style guide.
No subject for review: trivial change

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
src/components/protocol_handler/src/protocol_handler_impl.cc

10 years agoChanged CMakeList defaults to reflect how I'm going to test merges
Justin Dickow [Tue, 8 Jul 2014 21:03:36 +0000 (17:03 -0400)]
Changed CMakeList defaults to reflect how I'm going to test merges

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoonly find avahi libs if avahi support enabled
Nikolay Khlopkov [Thu, 13 Mar 2014 15:01:49 +0000 (19:01 +0400)]
only find avahi libs if avahi support enabled

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
CMakeLists.txt

10 years agoAPPLINK-6210, Temporary disable generated code tests
Igor Kozyrenko [Thu, 13 Mar 2014 14:30:53 +0000 (16:30 +0200)]
APPLINK-6210, Temporary disable generated code tests

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Conflicts:
src/components/rpc_base/CMakeLists.txt

10 years agoAPPLINK-5597: Help button should be initialized by HMI but not Core
Dmitriy Trunov [Thu, 13 Mar 2014 13:17:51 +0000 (15:17 +0200)]
APPLINK-5597: Help button should be initialized by HMI but not Core

10 years agoAPPLINK-6197 script to prepare binaries to release in SVN
akutsan [Thu, 13 Mar 2014 12:49:34 +0000 (14:49 +0200)]
APPLINK-6197 script to prepare binaries to release in SVN

10 years agoAPPLINK-6208: TCP adapter test wait for initialization limited time
Nikolay Khlopkov [Thu, 13 Mar 2014 12:01:16 +0000 (16:01 +0400)]
APPLINK-6208: TCP adapter test wait for initialization limited time

10 years agoLastState dictionary replaced with Json::Value
Nikita Vaganov [Thu, 13 Mar 2014 11:00:26 +0000 (15:00 +0400)]
LastState dictionary replaced with Json::Value
TcpTransportAdapter and BluetoothTransportAdapter Store() and Restore()
methods reworked to use JSON

10 years agoAPPLINK-6128 On App registration/selection the Core is telling the HMI to speak the...
Vladislav Semenyuk [Thu, 13 Mar 2014 10:45:07 +0000 (03:45 -0700)]
APPLINK-6128 On App registration/selection the Core is telling the HMI to speak the App name of the App

10 years agoAdding unit tests
Justin Dickow [Fri, 27 Jun 2014 15:21:46 +0000 (11:21 -0400)]
Adding unit tests

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agolibLibusb library was not installed when BUILD_SHARED_LIBS is ON
Newton Kim [Tue, 17 Jun 2014 08:36:08 +0000 (17:36 +0900)]
libLibusb library was not installed when BUILD_SHARED_LIBS is ON

10 years agolibDBus.so was missing when HMI2 and BUILD_SHARED_LIBS are on together
Newton Kim [Sun, 25 May 2014 08:55:09 +0000 (17:55 +0900)]
libDBus.so was missing when HMI2 and BUILD_SHARED_LIBS are on together

10 years agoBuild fails when HMI2 and BUILD_SHARED_LIBS are on together
Newton Kim [Sun, 25 May 2014 08:49:20 +0000 (17:49 +0900)]
Build fails when HMI2 and BUILD_SHARED_LIBS are on together

10 years agoLibraries were not available when BUILD_SHARED_LIBS is on
Newton Kim [Sun, 25 May 2014 07:58:35 +0000 (16:58 +0900)]
Libraries were not available when BUILD_SHARED_LIBS is on

10 years agodeleted files weren't added to last commit
Justin Dickow [Fri, 9 May 2014 15:36:41 +0000 (11:36 -0400)]
deleted files weren't added to last commit

10 years agoRemoved SDL_Android (now at git://git.projects.genivi.org/smartdevicelink_android...
Justin Dickow [Fri, 9 May 2014 15:33:03 +0000 (11:33 -0400)]
Removed SDL_Android (now at git://git.projects.genivi.org/smartdevicelink_android.git), moved SDL_Core files up to root directory

10 years agoRemoved build_and_run_steps.txt added README.md
Justin Dickow [Wed, 23 Apr 2014 12:44:03 +0000 (08:44 -0400)]
Removed build_and_run_steps.txt added README.md

note: the documentation for building is now available at http://projects.genivi.org/smartdevicelink/documentation

which is noted in the readme

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoFindQt.sh - changed execution permission to 755
Justin Dickow [Mon, 21 Apr 2014 12:00:48 +0000 (08:00 -0400)]
FindQt.sh - changed execution permission to 755

Credit: Newton Kim
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoAdded FindQt.sh to ${CMAKE_SOURCE_DIR}
Justin Dickow [Mon, 14 Apr 2014 13:00:36 +0000 (09:00 -0400)]
Added FindQt.sh to ${CMAKE_SOURCE_DIR}

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoCMakeLists: Add _GLIBCXX_DEBUG to enable debug mode for GNU libstdc++
Brendan Shanks [Wed, 2 Apr 2014 20:07:06 +0000 (13:07 -0700)]
CMakeLists: Add _GLIBCXX_DEBUG to enable debug mode for GNU libstdc++

When building in debug mode, define _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC
to enable debug mode in GNU libstdc++.
This will throw runtime exceptions to catch incorrect/undefined C++/STL behavior.

10 years agobitstream: Don't call vector::front() on an empty vector
Brendan Shanks [Thu, 27 Mar 2014 17:33:19 +0000 (10:33 -0700)]
bitstream: Don't call vector::front() on an empty vector

In bitstream::Extract(), don't call vector::front() on an empty vector.
MSVC was throwing a runtime exception because vector::front() on an empty vector is undefined.

Also add an assertion to protocol_payload.cc to ensure the data_size argument to utils::Extract is valid

10 years agoevent_dispatcher: Don't advance STL iterator already at end()
Brendan Shanks [Thu, 27 Mar 2014 20:01:58 +0000 (13:01 -0700)]
event_dispatcher: Don't advance STL iterator already at end()

Advancing an STL vector iterator which is equal to end() is undefined.
After erase(), observer_it was not being compared to end() before being incremented.
Make sure the iterator gets compared to end() before incrementing again

MSVC was throwing a runtime exception for this.

10 years agorequest_controller: Don't advance STL iterator already at end()
Brendan Shanks [Wed, 2 Apr 2014 03:59:13 +0000 (20:59 -0700)]
request_controller: Don't advance STL iterator already at end()

Advancing an STL vector iterator which is equal to end() is undefined.
After erase(), it was not being compared to end() before being incremented.
Make sure the iterator gets compared to end() before incrementing again

MSVC was throwing a runtime exception for this.

10 years agoInterface Generator: Initialize static maps with initializer lists
Justin Dickow [Thu, 27 Mar 2014 15:21:11 +0000 (11:21 -0400)]
Interface Generator: Initialize static maps with initializer lists

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoDefine CXXFLAGS only on UNIX
Brendan Shanks [Fri, 21 Mar 2014 18:07:40 +0000 (11:07 -0700)]
Define CXXFLAGS only on UNIX

Define CXXFLAGS only on UNIX(/OS X/Linux/QNX), MSVC doesn't recognize any of these gcc options
Also move the Linux/QNX/Mac specific sections inside if(UNIX) to make it more clear

10 years agoOnly check for libavahi in top-level CMakeLists if BUILD_AVAHI_SUPPORT is enabled
Brendan Shanks [Fri, 21 Mar 2014 18:03:09 +0000 (11:03 -0700)]
Only check for libavahi in top-level CMakeLists if BUILD_AVAHI_SUPPORT is enabled

10 years agospelling :D
Justin Dickow [Fri, 21 Mar 2014 20:03:14 +0000 (16:03 -0400)]
spelling :D

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoconnection_handler_impl: Don't re-use erased STL iterator
Brendan Shanks [Fri, 21 Mar 2014 03:41:36 +0000 (20:41 -0700)]
connection_handler_impl: Don't re-use erased STL iterator

Reusing an STL vector iterator (like advancing it) after erasing it doesn't work. Assign itr to the result of erase() instead.

This was causing a segfault on Mac when the phone would disconnect

10 years agoCMAKE_CXX_FLAGS removed --coverage
Justin Dickow [Fri, 21 Mar 2014 04:16:28 +0000 (00:16 -0400)]
CMAKE_CXX_FLAGS removed --coverage

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoMac: use system() and osascript to launch the web HMI in Chrome
Brendan Shanks [Fri, 21 Mar 2014 02:37:04 +0000 (19:37 -0700)]
Mac: use system() and osascript to launch the web HMI in Chrome

10 years agoDetect log4cxx in top-level CMakeLists
Brendan Shanks [Fri, 21 Mar 2014 02:33:59 +0000 (19:33 -0700)]
Detect log4cxx in top-level CMakeLists

10 years agothreaded_socket_connection: Fix operator precedence error found by clang
Brendan Shanks [Fri, 21 Mar 2014 02:31:58 +0000 (19:31 -0700)]
threaded_socket_connection: Fix operator precedence error found by clang

Fix an operator precedence logic error.

/Users/bshanks/dev/sdl3/SDL_Core/src/components/transport_manager/src/transport_adapter/threaded_socket_connection.cc:272:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]

10 years agoFix capitalization on src/components/{Interfaces,Utils}
Brendan Shanks [Fri, 21 Mar 2014 01:30:01 +0000 (18:30 -0700)]
Fix capitalization on src/components/{Interfaces,Utils}

Rename src/components/Interfaces, src/components/Utils, and
src/components/Utils/include/Utils to be all lowercase

10 years agoRemoved unneeded tools
Justin Dickow [Thu, 20 Mar 2014 20:16:57 +0000 (16:16 -0400)]
Removed unneeded tools

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoOSX: uses SO_NOSIGPIPE instead of MSG_NOSIGNAL
Justin Dickow [Thu, 20 Mar 2014 17:45:22 +0000 (13:45 -0400)]
OSX: uses SO_NOSIGPIPE instead of MSG_NOSIGNAL

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agopthread_setname_np doesn't take a reference to the handler on mac. May need a better...
Justin Dickow [Thu, 20 Mar 2014 17:44:42 +0000 (13:44 -0400)]
pthread_setname_np doesn't take a reference to the handler on mac.  May need a better workaround for this on Mac?

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoSDL_Android/SmartDeviceLinkAndroidProxy - added the correct version of the proxy
Justin Dickow [Thu, 20 Mar 2014 17:25:10 +0000 (13:25 -0400)]
SDL_Android/SmartDeviceLinkAndroidProxy - added the correct version of the proxy

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoAdded Mike's tester application (not ideal but easy to update)
Justin Dickow [Thu, 20 Mar 2014 16:30:51 +0000 (12:30 -0400)]
Added Mike's tester application (not ideal but easy to update)

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoRevert "Let's also compile with -O3 for mac..."
Justin Dickow [Wed, 19 Mar 2014 22:08:48 +0000 (18:08 -0400)]
Revert "Let's also compile with -O3 for mac..."

This reverts commit 7b286ac1ae50e5852e0757167e86f3a0b15cb87e.