profile/ivi/settings-daemon.git
10 years agoDisable automake portability warnings. No other workaround.
Ossama Othman [Sat, 9 Nov 2013 04:06:03 +0000 (20:06 -0800)]
Disable automake portability warnings.  No other workaround.

Change-Id: Ib5fe7ed6982558f56b34c4630bb5617d2f084906
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoIncremental commit.
Ossama Othman [Fri, 8 Nov 2013 23:05:41 +0000 (15:05 -0800)]
Incremental commit.

Change-Id: I35f92e98d1ecda31999c7ca23c8f53c7f6a85d15
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoImproved const-correctness of response/event callbacks.
Ossama Othman [Fri, 8 Nov 2013 23:04:49 +0000 (15:04 -0800)]
Improved const-correctness of response/event callbacks.

Change-Id: Id84c8e6daa4c9499ca6b5195d804b65d3639c1ec
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoIncremental commit.
Ossama Othman [Mon, 4 Nov 2013 06:05:34 +0000 (22:05 -0800)]
Incremental commit.

Change-Id: I5d9ca6d8f36b69f11bdad9f1b2f28666f7a7fe96
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoExpanded connman agent implementation.
Ossama Othman [Mon, 21 Oct 2013 06:28:44 +0000 (23:28 -0700)]
Expanded connman agent implementation.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoImplemented connman Agent stub/placeholder.
Ossama Othman [Mon, 14 Oct 2013 23:03:52 +0000 (16:03 -0700)]
Implemented connman Agent stub/placeholder.

Change-Id: I0f53f4eaade53d06b20f24b66d327e3592b8ba66
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[dbus_connection] Improved exception safety.
Ossama Othman [Mon, 14 Oct 2013 22:58:17 +0000 (15:58 -0700)]
[dbus_connection] Improved exception safety.

Change-Id: I9dc39a6bab125c426107d9f742d2585b74cea75e
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoFixed libwebsocket_context race condition.
Ossama Othman [Mon, 14 Oct 2013 22:55:47 +0000 (15:55 -0700)]
Fixed libwebsocket_context race condition.

Tie the lifetime of the websocket_server to this thread, not the
main thread, so that we have no lifetime related race conditions
with respect to the underlying libwebsocket_context object.

Change-Id: Icb49f5fa21e7cea5fdc7f4f0023a551f40ef8b49
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[connman] Share a single connection to D-Bus system bus.
Ossama Othman [Sun, 13 Oct 2013 06:29:39 +0000 (23:29 -0700)]
[connman] Share a single connection to D-Bus system bus.

Previously each GDBusProxy to a Connman object had its own
system bus connection.  That was wasteful and unnecessary.
All Connman D-Bus proxies now share a single connection.  This
reduces resource utilization and improves performance in some
cases, e.g. the settings daemon WiFi connect/disconnect
implementation.

Change-Id: Idec33eeb90f8403170adc4f9eec5984bb98b5ce6
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoMake git ignore Doxygen generated documentation.
Ossama Othman [Sun, 13 Oct 2013 06:25:10 +0000 (23:25 -0700)]
Make git ignore Doxygen generated documentation.

Change-Id: I5577aad60ebf93b0c82b8f813ea9134af16fb75e
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoRemoved obsolete 'todo' comment.
Ossama Othman [Sun, 13 Oct 2013 06:23:49 +0000 (23:23 -0700)]
Removed obsolete 'todo' comment.

Change-Id: I208cd381c0f2dc3f4d3788d49f08452c936c1209
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[smart_ptr] Rename to ivi::settings::unique_ptr.
Ossama Othman [Sun, 13 Oct 2013 04:43:42 +0000 (21:43 -0700)]
[smart_ptr] Rename to ivi::settings::unique_ptr.

The name "smart_ptr" in the ivi::settings namespace does not
convey the actual semantics.  Rename to "unique_ptr" to better
reflect its C++11 std::unique_ptr<> style of behavior.

Change-Id: I0af30c6e3db88e08e0dcefe77206af1b3d4a255d
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoRemoved unused reverse_lock.hpp header.
Ossama Othman [Sun, 13 Oct 2013 04:33:05 +0000 (21:33 -0700)]
Removed unused reverse_lock.hpp header.

Change-Id: I7d4bc1e77faf29d8229b898413bf777223de9508
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[smart_ptr] Don't reinvent the wheel. Leverage std::unique_ptr<>.
Ossama Othman [Sun, 13 Oct 2013 04:30:53 +0000 (21:30 -0700)]
[smart_ptr] Don't reinvent the wheel.  Leverage std::unique_ptr<>.

Change-Id: I4ade5a241fdfe1fab8d600695d287f3c6bf64633
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoChanged the event JSON format to be more generic.
Ossama Othman [Wed, 9 Oct 2013 20:32:21 +0000 (13:32 -0700)]
Changed the event JSON format to be more generic.

Change-Id: Ia415f9096060a70109bba5ddd7bc5c7575d45ced
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoRefactored connman signal callback to generic D-Bus signal callback.
Ossama Othman [Tue, 8 Oct 2013 15:00:51 +0000 (08:00 -0700)]
Refactored connman signal callback to generic D-Bus signal callback.

Change-Id: I575f74a095a9b4fb0fb496935b384ab72c20a2f7
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoMerge branch 'tizen' into devel
Ossama Othman [Wed, 9 Oct 2013 17:45:05 +0000 (10:45 -0700)]
Merge branch 'tizen' into devel

10 years agoAdded dummy config.h header to satisfy dependencies in generated code.
Ossama Othman [Wed, 9 Oct 2013 17:34:44 +0000 (10:34 -0700)]
Added dummy config.h header to satisfy dependencies in generated code.

Change-Id: I3e0b871ebc5b280f7f3a1f92154ea947f35db0cb
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoAdded D-Bus introspection XML for settingsd connman Agent.
Ossama Othman [Wed, 9 Oct 2013 06:30:29 +0000 (23:30 -0700)]
Added D-Bus introspection XML for settingsd connman Agent.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoEffectively make connman_manager a singleton.
Ossama Othman [Tue, 8 Oct 2013 18:11:12 +0000 (11:11 -0700)]
Effectively make connman_manager a singleton.

Only one instance of connman_manager is needed since the
corresponding connman Manager is really a global object.

Change-Id: I5143c607c91663d5004024a427dc50142c7aa33a
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[smart_ptr] Corrected documentation: s/typename/class/ 77/10677/1
Ossama Othman [Tue, 8 Oct 2013 17:32:01 +0000 (10:32 -0700)]
[smart_ptr] Corrected documentation: s/typename/class/

Change-Id: Ie53824f5887e573f389760e646f468015a686049
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoRemoved unnecessary include directives. 76/10676/1
Ossama Othman [Tue, 8 Oct 2013 17:25:53 +0000 (10:25 -0700)]
Removed unnecessary include directives.

Change-Id: Idaf14bef736c02dad23a6e737c303d455f7a950d
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoAdd new line at end of exception log message. 75/10675/1
Ossama Othman [Tue, 8 Oct 2013 15:04:44 +0000 (08:04 -0700)]
Add new line at end of exception log message.

Change-Id: I9bab5dd8e7cf070418ce1d3c16562cd68e954d13
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoDo not continue with initialization if no plugins are found. 74/10674/1
Ossama Othman [Tue, 8 Oct 2013 15:04:14 +0000 (08:04 -0700)]
Do not continue with initialization if no plugins are found.

Change-Id: I1cbb55628e0e6253920519384d16c04384abb6d7
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[manager] Return immediately on empty request. 73/10673/1
Ossama Othman [Mon, 7 Oct 2013 04:16:37 +0000 (21:16 -0700)]
[manager] Return immediately on empty request.

Change-Id: Ib2b2b6743d119666757c79347a15142d94053ec1
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoImplemented event reporting to settings daemon clients.
Ossama Othman [Mon, 7 Oct 2013 23:28:54 +0000 (16:28 -0700)]
Implemented event reporting to settings daemon clients.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoIncremental commit for event dispatching.
Ossama Othman [Mon, 7 Oct 2013 06:57:40 +0000 (23:57 -0700)]
Incremental commit for event dispatching.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoMerge branch 'tizen' into devel
Ossama Othman [Mon, 7 Oct 2013 04:16:54 +0000 (21:16 -0700)]
Merge branch 'tizen' into devel

10 years ago[manager] Return immediately on empty request.
Ossama Othman [Mon, 7 Oct 2013 04:16:37 +0000 (21:16 -0700)]
[manager] Return immediately on empty request.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoInitial support for event reporting.
Ossama Othman [Fri, 4 Oct 2013 20:40:24 +0000 (13:40 -0700)]
Initial support for event reporting.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoAdded missing return value in assignment operator.
Ossama Othman [Fri, 4 Oct 2013 05:41:57 +0000 (22:41 -0700)]
Added missing return value in assignment operator.

Change-Id: Ie2e93e25b6145b37d7431fa005f0ca99086ee60e
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoDo not return in functions with void return types.
Ossama Othman [Fri, 4 Oct 2013 05:38:24 +0000 (22:38 -0700)]
Do not return in functions with void return types.

Change-Id: Iaf44b84358eff305b62d0c0894e31d9e8a555837
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoUpdated autoconf-archive boost and C++11 macros to later version.
Ossama Othman [Fri, 4 Oct 2013 05:23:20 +0000 (22:23 -0700)]
Updated autoconf-archive boost and C++11 macros to later version.

Change-Id: I32d8892557b4759c28c0a6c6dadd27f5de79dc69
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoEnable Doxygen doc generation.
Ossama Othman [Fri, 4 Oct 2013 05:14:22 +0000 (22:14 -0700)]
Enable Doxygen doc generation.

Change-Id: If99c2567846ee2842626ef0f7428e781d63f5979
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoTIVI-1924: Initial commit of IVI settings daemon. tizen_ivi_genivi accepted/tizen/20131003.215933 accepted/tizen/20131003.220350 accepted/tizen/ivi/genivi/20140131.070902 accepted/tizen_ivi_release/20131120.050012 ivi_oct_m2 submit/tizen/20131003.211152 submit/tizen_ivi_generic/20140131.065503 submit/tizen_ivi_genivi/20140131.070647 submit/tizen_ivi_milestone/20131113.054518 submit/tizen_ivi_release/20131120.032742
Ossama Othman [Thu, 3 Oct 2013 20:35:02 +0000 (13:35 -0700)]
TIVI-1924: Initial commit of IVI settings daemon.

This daemon provides a native backend to the Settings app.
It fills functionality gaps in the Web API, such as WiFi and
date/time, required by the Settings app.

This version contains support for unsecured WiFi connections
and setting the date and time.

Change-Id: I2810d0910029c4ed146e9ff740c246d428767649
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoAdded README placeholder file.
Ossama Othman [Wed, 31 Jul 2013 17:24:02 +0000 (10:24 -0700)]
Added README placeholder file.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>