profile/ivi/settings-daemon.git
10 years agoDo not terminate settingsd on plugin exception. 09/13809/1
Ossama Othman [Mon, 16 Dec 2013 20:49:42 +0000 (12:49 -0800)]
Do not terminate settingsd on plugin exception.

Improve exception reporting, as well.

Change-Id: I6e4c839caca4a08c71e15335d2997403f39aa21b
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoFix TIVI-{1191,1192,2108} by implementing a connman 'Agent'. 64/13664/1 accepted/tizen/ivi/20131214.022856 submit/tizen/20131213.180923
Ossama Othman [Wed, 11 Dec 2013 23:43:22 +0000 (15:43 -0800)]
Fix TIVI-{1191,1192,2108} by implementing a connman 'Agent'.

Change-Id: Ibd0277bb3252b33b30f96b0221938aab161128a0
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoBump version to 0.3. accepted/tizen/20131207.002830 submit/tizen/20131204.173730
Ossama Othman [Wed, 4 Dec 2013 17:23:50 +0000 (09:23 -0800)]
Bump version to 0.3.

Change-Id: Ic270b1f9317e7b5407fbbbce263d97fca84b4470
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoSupport technology PropertyChanged signal reporting again. 36/13336/1
Ossama Othman [Tue, 3 Dec 2013 20:51:05 +0000 (12:51 -0800)]
Support technology PropertyChanged signal reporting again.

Change-Id: I6a68046a324b603388a20a084950bfc1f4baa73e
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoMigrated to new connman::service interface.
Ossama Othman [Tue, 26 Nov 2013 20:57:06 +0000 (12:57 -0800)]
Migrated to new connman::service interface.

Change-Id: Ic907b6a604355f330b477acb6e1d55cd8921039c
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoMigrated to new connman::technology interface.
Ossama Othman [Tue, 26 Nov 2013 19:03:49 +0000 (11:03 -0800)]
Migrated to new connman::technology interface.

Change-Id: I4dd40214baf16fda00177da11fa7e83cdc4f2e3c
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoFixed memory leak that occurred on failed service (dis)connect.
Ossama Othman [Tue, 26 Nov 2013 17:48:34 +0000 (09:48 -0800)]
Fixed memory leak that occurred on failed service (dis)connect.

Change-Id: If706a7ccc1e5036c9e0b56554b80ae265a4d90d5
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoImplemented connman::manager API.
Ossama Othman [Tue, 26 Nov 2013 17:47:05 +0000 (09:47 -0800)]
Implemented connman::manager API.

Change-Id: Ieda667e805637888a232fbd271c66a91b26f7a89
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoTIVI-1933, TIVI-1957: Enable socket activation support. accepted/tizen/20131106.223055 accepted/tizen/20131111.231329 accepted/tizen_ivi_stable/20131119.040308 submit/tizen/20131106.220754 submit/tizen_ivi_stable/20131119.035451
Ossama Othman [Sun, 3 Nov 2013 05:06:20 +0000 (22:06 -0700)]
TIVI-1933, TIVI-1957: Enable socket activation support.

Change-Id: I9e79031a01a74dac03b0aa18405417f983e91244
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years ago[dbus_connection] Improved exception safety. 84/10984/2
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. 83/10983/3
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. 82/10982/2
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. 81/10981/1
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. 80/10980/1
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] Don't reinvent the wheel. Leverage std::unique_ptr<>. 79/10979/1
Ossama Othman [Tue, 15 Oct 2013 20:37:57 +0000 (13:37 -0700)]
[smart_ptr] Don't reinvent the wheel.  Leverage std::unique_ptr<>.

Change-Id: I85f01f1ef464e9ad31a4268fdcdb1c0297244c23
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoRemoved unused reverse_lock.hpp header. 78/10978/1
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 agoChanged the event JSON format to be more generic. 77/10977/1
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. 76/10976/1
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 agoAdded D-Bus introspection XML for settingsd connman Agent. 75/10975/1
Ossama Othman [Tue, 15 Oct 2013 20:29:41 +0000 (13:29 -0700)]
Added D-Bus introspection XML for settingsd connman Agent.

Change-Id: I47a43428741b33e2918c4a5fc5e6418894427773
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
10 years agoEffectively make connman_manager a singleton. 74/10974/1
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 agoImplemented event reporting to settings daemon clients. 73/10973/1
Ossama Othman [Tue, 15 Oct 2013 20:25:57 +0000 (13:25 -0700)]
Implemented event reporting to settings daemon clients.

Change-Id: Ia6e5abe6e6a8a7cf1d6ce8a27e1be8ce6cab61a1
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 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>