profile/ivi/smartdevicelink.git
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.

10 years agoLet's also compile with -O3 for mac...
Justin Dickow [Wed, 19 Mar 2014 22:04:49 +0000 (18:04 -0400)]
Let's also compile with -O3 for mac...

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoTurn off Bluetooth and Libusb support by default, set -arch i386 flag for OSX to...
Justin Dickow [Wed, 19 Mar 2014 21:47:09 +0000 (17:47 -0400)]
Turn off Bluetooth and Libusb support by default, set -arch i386 flag for OSX to build 32-bit

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoinclude unistd.h for usleep()
Justin Dickow [Wed, 19 Mar 2014 21:46:30 +0000 (17:46 -0400)]
include unistd.h for usleep()

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoOnly add libusb if BUILD_USB_SUPPORT flag is yes
Justin Dickow [Wed, 19 Mar 2014 21:45:53 +0000 (17:45 -0400)]
Only add libusb if BUILD_USB_SUPPORT flag is yes

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoOnly link rt on linux
Justin Dickow [Wed, 19 Mar 2014 21:44:34 +0000 (17:44 -0400)]
Only link rt on linux

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoreplace clock_getting() with gettimeofday()
Justin Dickow [Wed, 19 Mar 2014 21:14:08 +0000 (17:14 -0400)]
replace clock_getting() with gettimeofday()

Credit to Brendan Shanks

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoMissing pthread.h includes
Justin Dickow [Wed, 19 Mar 2014 19:06:58 +0000 (15:06 -0400)]
Missing pthread.h includes

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoNote - possibly need to set send timeout as well
Justin Dickow [Wed, 19 Mar 2014 19:03:43 +0000 (15:03 -0400)]
Note - possibly need to set send timeout as well

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agosetsockopt: use SO_RCVTIMEO instead of TCP_USER_TIMEOUT
Justin Dickow [Wed, 19 Mar 2014 19:01:36 +0000 (15:01 -0400)]
setsockopt: use SO_RCVTIMEO instead of TCP_USER_TIMEOUT

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agotcp_client_listener: remove tcp_var.h, change TCP_KEEPIDLE to TCP_KEEPALIVE
Justin Dickow [Wed, 19 Mar 2014 18:59:05 +0000 (14:59 -0400)]
tcp_client_listener: remove tcp_var.h, change TCP_KEEPIDLE to TCP_KEEPALIVE

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoAdd definitions for UNIX and MACOSX
Justin Dickow [Wed, 19 Mar 2014 17:55:30 +0000 (13:55 -0400)]
Add definitions for UNIX and MACOSX

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoTurn OFF libavahi (needed for WiFi direct only?)
Justin Dickow [Wed, 19 Mar 2014 17:45:10 +0000 (13:45 -0400)]
Turn OFF libavahi (needed for WiFi direct only?)

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoadded () to Class's member function calls in the initializer list
Justin Dickow [Wed, 19 Mar 2014 17:35:42 +0000 (13:35 -0400)]
added () to Class's member function calls in the initializer list

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoRemoved old Android tester app
Justin Dickow [Wed, 19 Mar 2014 17:04:11 +0000 (13:04 -0400)]
Removed old Android tester app

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoRemoved SDL_iOS project - pending release of updated mobile libraries and tester app
Justin Dickow [Wed, 19 Mar 2014 17:03:39 +0000 (13:03 -0400)]
Removed SDL_iOS project - pending release of updated mobile libraries and tester app

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoChanged heart beat to 0
Justin Dickow [Wed, 19 Mar 2014 13:35:17 +0000 (09:35 -0400)]
Changed heart beat to 0

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agocompare app_id as unsigned int
Justin Dickow [Wed, 19 Mar 2014 13:05:57 +0000 (09:05 -0400)]
compare app_id as unsigned int

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoremove Mobile and Test folders
Justin Dickow [Tue, 18 Mar 2014 18:24:34 +0000 (14:24 -0400)]
remove Mobile and Test folders

Signed-off-by: Justin Dickow <jjdickow@gmail.com>
10 years agoinitial commit for API 3.0 (replaced all)
Justin Dickow [Tue, 18 Mar 2014 17:46:46 +0000 (13:46 -0400)]
initial commit for API 3.0 (replaced all)

10 years agoAdded OpenSSL patch and validated against 12.04 64-bit
Julius Marchwicki [Mon, 19 Aug 2013 18:07:11 +0000 (14:07 -0400)]
Added OpenSSL patch and validated against 12.04 64-bit
Incorporated patch for g++ 4.7 and newer compiler.
Commented out two logging lines preventing compilation on 64-bit targets.

11 years agoRemoved Ford specific URL 0.1 upstream/0.1
Kevin Burdette [Wed, 24 Apr 2013 13:28:05 +0000 (09:28 -0400)]
Removed Ford specific URL

11 years agoInitial Ford commit with Core and Proxies
khburdette [Fri, 19 Apr 2013 19:58:59 +0000 (15:58 -0400)]
Initial Ford commit with Core and Proxies