Thiago Marcos P. Santos [Wed, 7 Aug 2013 14:11:16 +0000 (17:11 +0300)]
Add a functional but work-in-progress Network Bearer Selection API
This version is capable to open a mobile data or wireless connection
and keep track of its lifetime. The user of the API will get an error
if the connection is not available, success when it connects and also
the disconnect events just fine.
Thiago Marcos P. Santos [Thu, 8 Aug 2013 14:18:21 +0000 (17:18 +0300)]
Make a enum of the possible error codes
This is the same list as we have in JS, and they must be always in
sync. It will be used to handle error codes in the native side.
Thiago Marcos P. Santos [Wed, 7 Aug 2013 14:10:59 +0000 (17:10 +0300)]
Fix objects leaking on the Network Bearer API
Thiago Marcos P. Santos [Thu, 8 Aug 2013 11:30:46 +0000 (14:30 +0300)]
Fix the build again for Desktop
pkg-config.gypi should be included only when you have the
packages variable set.
Kenneth Rohde Christiansen [Fri, 9 Aug 2013 08:49:22 +0000 (01:49 -0700)]
Merge pull request #83 from halton/master
[SystemInfo] Add getCapabilities support
Halton Huo [Thu, 8 Aug 2013 20:54:54 +0000 (04:54 +0800)]
[SystemInfo] Add getCapabilities support.
Halton Huo [Thu, 8 Aug 2013 18:41:27 +0000 (02:41 +0800)]
[SystemInfo] Code cleanup for non used declaration.
cmarcelo [Thu, 8 Aug 2013 20:56:45 +0000 (13:56 -0700)]
Merge pull request #82 from cmarcelo/build-fix-desktop
Fix build for desktop
Kenneth Rohde Christiansen [Thu, 8 Aug 2013 20:47:41 +0000 (13:47 -0700)]
Merge pull request #81 from dorileo/tizen-bluetooth-clone
demo: fix small coding style issues pointed out by Kenneth.
Caio Marcelo de Oliveira Filho [Thu, 8 Aug 2013 20:36:50 +0000 (17:36 -0300)]
Fix build for desktop
Leandro Dorileo [Thu, 8 Aug 2013 19:41:52 +0000 (16:41 -0300)]
demo: fix small coding style issues pointed out by Kenneth.
Alexis Menard [Thu, 8 Aug 2013 19:10:33 +0000 (16:10 -0300)]
Make 0.2 release.
cmarcelo [Thu, 8 Aug 2013 18:52:04 +0000 (11:52 -0700)]
Merge pull request #79 from dorileo/tizen-bluetooth-clone
Add tizen bluetooth clone app
Leandro Dorileo [Tue, 6 Aug 2013 14:27:51 +0000 (11:27 -0300)]
Add tizen bluetooth clone app
cmarcelo [Thu, 8 Aug 2013 17:56:24 +0000 (10:56 -0700)]
Merge pull request #80 from jeez/bt-fixes
[Bluetooth] Fix missing readonly properties assignment issue
Alexis Menard [Thu, 8 Aug 2013 17:52:04 +0000 (10:52 -0700)]
Merge pull request #78 from darktears/power-tct-fixes
Fix crash in tct test suite of Tizen Power API.
Jesus Sanchez-Palencia [Thu, 8 Aug 2013 17:50:05 +0000 (14:50 -0300)]
[Bluetooth] Fix missing readonly properties assignment issue
Alexis Menard [Thu, 8 Aug 2013 15:06:24 +0000 (12:06 -0300)]
Fix crash in tct test suite of Tizen Power API.
Verify isNan for setting the brightness.
This commit also fix a warning related to deleting a void*.
Kenneth Rohde Christiansen [Thu, 8 Aug 2013 08:54:57 +0000 (01:54 -0700)]
Merge pull request #67 from riju/tizen_sysSettings
System settings API
Kenneth Rohde Christiansen [Thu, 8 Aug 2013 08:52:40 +0000 (01:52 -0700)]
Merge pull request #76 from halton/master
Several fixes for SystemInfo on Tizen mobile.
Rijubrata Bhaumik [Thu, 8 Aug 2013 08:28:26 +0000 (11:28 +0300)]
Some style nits
Kenneth Rohde Christiansen [Thu, 8 Aug 2013 07:55:10 +0000 (00:55 -0700)]
Merge pull request #66 from fyraimar/master
Fix c++ stream using problem in system_info/locale&build
fyraimar [Thu, 8 Aug 2013 02:18:53 +0000 (10:18 +0800)]
Fix fstream use in system_info/locale&build
Halton Huo [Wed, 7 Aug 2013 21:57:22 +0000 (05:57 +0800)]
[SystemInfo] Return "NOT IMPLEMENTED" error for those not finished.
And some minor typo fixes.
Halton Huo [Wed, 7 Aug 2013 21:48:44 +0000 (05:48 +0800)]
[SystemInfo] Fix crash issue for Battery and Storage.
Should not return NULL for std::string, return "" instead.
Halton Huo [Wed, 7 Aug 2013 21:33:20 +0000 (05:33 +0800)]
[SystemInfo] Fix dlopen failure for Tizen mobile.
cmarcelo [Wed, 7 Aug 2013 23:44:24 +0000 (16:44 -0700)]
Merge pull request #75 from jeez/bt-const
[Bluetooth] Make BluetoothAdapter and BluetoothDevice properties non-writable
Jesus Sanchez-Palencia [Wed, 7 Aug 2013 23:36:45 +0000 (20:36 -0300)]
[Bluetooth] Make BluetoothAdapter and BluetoothDevice properties non-writable
cmarcelo [Wed, 7 Aug 2013 23:09:53 +0000 (16:09 -0700)]
Merge pull request #72 from cmarcelo/notification-js-fixes
Various JS fixes for Notification
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 22:58:30 +0000 (19:58 -0300)]
notification: Move state and logic to NotificationCenter object
cmarcelo [Wed, 7 Aug 2013 22:53:16 +0000 (15:53 -0700)]
Merge pull request #74 from cmarcelo/update-t-e-c-for-tct
run: also update the script installed by the RPM to allow remote sources
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 22:15:29 +0000 (19:15 -0300)]
notification: make id, postedTime and type read-only
In the long run, we want to make those not only read-only but also not configurable.
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 21:51:34 +0000 (18:51 -0300)]
notification: make Notification.id read-only
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 21:22:30 +0000 (18:22 -0300)]
notification: throw exceptions instead of warnings in post/updated
This also marks update as not implemented, since it currently is not
implemented in Mobile and was creating a new notification in Desktop.
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 21:03:00 +0000 (18:03 -0300)]
notification: provide constructor for NotificationDetailInfo
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 20:56:56 +0000 (17:56 -0300)]
notification: add postedTime support
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 20:56:32 +0000 (17:56 -0300)]
tizen: add stubs for Application API
Those stubs are enough for running certain test cases from TCT of other APIs.
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 19:59:56 +0000 (16:59 -0300)]
notification: do not use internally the object passed in API
We copy the data from original StatusNotification and keep a reference to
the one originally passed. From now on, when asked, we pass the original.
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 19:57:42 +0000 (16:57 -0300)]
notification: copy more attributes from notification
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 22:38:54 +0000 (19:38 -0300)]
run: also update the script installed by the RPM to allow remote sources
Kenneth Rohde Christiansen [Wed, 7 Aug 2013 22:34:22 +0000 (15:34 -0700)]
Merge pull request #73 from cmarcelo/update-run-sh-for-tct
run: use --allow-external-extensions-for-remote-sources
Caio Marcelo de Oliveira Filho [Wed, 7 Aug 2013 22:29:51 +0000 (19:29 -0300)]
run: use --allow-external-extensions-for-remote-sources
cmarcelo [Wed, 7 Aug 2013 21:54:37 +0000 (14:54 -0700)]
Merge pull request #71 from jeez/bt-tct-fixes
[Bluetooth] Make the deviceMajor, deviceMinor and deviceService const enums
Jesus Sanchez-Palencia [Wed, 7 Aug 2013 21:31:55 +0000 (18:31 -0300)]
[Bluetooth] Make the deviceMajor, deviceMinor and deviceService const enums
cmarcelo [Wed, 7 Aug 2013 21:40:20 +0000 (14:40 -0700)]
Merge pull request #69 from jeez/bt-adapter-off
[Bluetooth] Fix adapter.serviceNotAvailable for when the adapter is off
Alexis Menard [Wed, 7 Aug 2013 20:33:46 +0000 (13:33 -0700)]
Merge pull request #70 from darktears/power-fixes
Various fixes in the power API.
Alexis Menard [Wed, 7 Aug 2013 20:08:03 +0000 (17:08 -0300)]
Various fixes in the power API.
- Disable for now the tests which are turning off the screen. It is impossible
afterwards to get the results as after unlocking the screen Xwalk is not visible.
We can enable these tests again when the integration with the VM is done.
- Fix state request API by using pm_change_state and pm_lock_state. I'm investigating
with another Intel fellow what exactly we should call.
- Workaround C API calls not working correctly. Any C API using vconf can't work
properly from the extensions thread. I believe vconf needs to be in the main thread.
We use a glib timeout callback as a workaround. This can be removed when the extensions
are running in a separate process.
Jesus Sanchez-Palencia [Wed, 7 Aug 2013 19:52:42 +0000 (16:52 -0300)]
[Bluetooth] Fix adapter.serviceNotAvailable for when the adapter is off
cmarcelo [Wed, 7 Aug 2013 19:25:03 +0000 (12:25 -0700)]
Merge pull request #68 from luxtella/buildsystem
Make the build system know which is desktop or mobile automatically.
Dongseong Hwang [Wed, 7 Aug 2013 18:58:38 +0000 (21:58 +0300)]
Make the build system know which is desktop or mobile automatically.
Rijubrata Bhaumik [Wed, 7 Aug 2013 17:31:20 +0000 (20:31 +0300)]
Give correct location of files
Give the correct path of the files we want to set as the properties for
incoming call and notification email
Rijubrata Bhaumik [Wed, 7 Aug 2013 16:51:09 +0000 (19:51 +0300)]
use the var api_system_setting
forgot to use the local var in 2 places
Rijubrata Bhaumik [Wed, 7 Aug 2013 12:25:57 +0000 (15:25 +0300)]
WIP : System settings API
Based on Sudarsana "Babu" Nagineni's work.
Getting and setting for the following properties-
"HOME_SCREEN", "LOCK_SCREEN","INCOMING_CALL","NOTIFICATION_EMAIL"
Kenneth Rohde Christiansen [Wed, 7 Aug 2013 10:03:39 +0000 (03:03 -0700)]
Merge pull request #65 from halton/pkgconfig
Add required pkgs in 'packages' to invoke pkg-config for simplyfy.
cmarcelo [Tue, 6 Aug 2013 21:59:19 +0000 (14:59 -0700)]
Merge pull request #64 from jeez/device-major-minor
[Bluetooth] Implement device.minor and device.major after parsing deviceClass
Jesus Sanchez-Palencia [Tue, 6 Aug 2013 21:09:59 +0000 (18:09 -0300)]
[Bluetooth] Implement device.minor and device.major after parsing deviceClass
Reference: https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband
Halton Huo [Tue, 6 Aug 2013 20:18:57 +0000 (04:18 +0800)]
Add required pkgs in 'packages' to invoke pkg-config for simple.
Alexis Menard [Tue, 6 Aug 2013 20:00:14 +0000 (13:00 -0700)]
Merge pull request #62 from jeez/js-fix
[Bluetooth] Fix callbacks after JS error handling refactor
Jesus Sanchez-Palencia [Tue, 6 Aug 2013 19:29:50 +0000 (16:29 -0300)]
[Bluetooth] Fix callbacks after JS error handling refactor
Alexis Menard [Tue, 6 Aug 2013 18:37:18 +0000 (11:37 -0700)]
Merge pull request #56 from wang16/master
Fix target in tizen_mobile not found in common.gypi
Kenneth Rohde Christiansen [Tue, 6 Aug 2013 16:24:56 +0000 (09:24 -0700)]
Merge pull request #61 from jeez/bt-error
[Bluetooth] Improve error handling
Jesus Sanchez-Palencia [Tue, 6 Aug 2013 14:31:11 +0000 (11:31 -0300)]
[Bluetooth] Improve error handling
Kenneth Rohde Christiansen [Tue, 6 Aug 2013 11:46:31 +0000 (04:46 -0700)]
Merge pull request #58 from halton/master
[SystemInfo] Fix review comment on pull #57
Kenneth Rohde Christiansen [Tue, 6 Aug 2013 08:58:51 +0000 (01:58 -0700)]
Merge pull request #57 from halton/master
[SystemInfo][NETWORK] Use gio instead of raw D-Bus.
Kenneth Rohde Christiansen [Tue, 6 Aug 2013 08:14:42 +0000 (01:14 -0700)]
Merge pull request #55 from jeez/bt-error
[Bluetooth] Add error handling and exceptions to adapter.setName
Shiliu Wang [Tue, 6 Aug 2013 00:42:05 +0000 (08:42 +0800)]
Fix target in tizen_mobile not found in common.gypi
Halton Huo [Tue, 6 Aug 2013 02:56:40 +0000 (10:56 +0800)]
[SystemInfo] Fix review comment on pull #57
Changes summary:
1. s/TimedOutUpdate/OnUpdateTimeout
2. s/std::string("")/""
3. s/err = NULL/err = 0
4. s/(g_variant_n_children(value) == 0)/!g_variant_n_children(value)
5. misc on comments or log or typo
Jesus Sanchez-Palencia [Mon, 5 Aug 2013 22:30:30 +0000 (19:30 -0300)]
[Bluetooth] Add error handling and exceptions to adapter.setName
Halton Huo [Mon, 5 Aug 2013 04:55:04 +0000 (12:55 +0800)]
[SystemInfo][NETWORK] Use gio instead of raw D-Bus.
GIO has better interface than raw D-Bus and marshaller is not needed.
The issue that marshaller cause api expose failure is fixed.
Kenneth Rohde Christiansen [Mon, 5 Aug 2013 16:31:34 +0000 (09:31 -0700)]
Merge pull request #53 from jeez/timeout
[Bluetooth] Handle timeout in setVisible
Kenneth Rohde Christiansen [Mon, 5 Aug 2013 16:30:28 +0000 (09:30 -0700)]
Merge pull request #54 from jeez/review-fixes
[Bluetooth] After review fixes
Jesus Sanchez-Palencia [Mon, 5 Aug 2013 15:22:51 +0000 (12:22 -0300)]
[Bluetooth] Handle timeout in setVisible
Raphael Kubo da Costa [Mon, 5 Aug 2013 15:33:08 +0000 (18:33 +0300)]
Merge pull request #51 from halton/master
This should make it easier to understand and maintain the gyp files in the
project.
Jesus Sanchez-Palencia [Mon, 5 Aug 2013 14:40:33 +0000 (11:40 -0300)]
[Bluetooth] After review fixes
- Use '0' instead of 'NULL' for initializing variables;
- Use 'assert' instead of 'if' for null 'value' in HandleSetAdapterProperty.
Halton Huo [Fri, 2 Aug 2013 08:14:19 +0000 (16:14 +0800)]
Restructure GYP to easier read and use.
Changes summary:
1. Use dependencies instead of includes in tizen-wrt.gyp.
2. Move shared gyp from tizen-wrt.gyp into common/common.gypi to allow each
module include it.
3. pkg-config.gypi -> common/pkg-config.gypi
4. xwalk_js2c.gypi -> common/xwalk_js2c.gypi
5. <module>/*.gypi -> <module>/*.gyp
Halton Huo [Fri, 2 Aug 2013 06:48:27 +0000 (14:48 +0800)]
Substitute type to extension_host_os, build to extension_build_type
'type' is GYP target keyword, use 'extension_host_os' instead.
'extension_build_type' is more meaningful the word 'build'.
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 23:14:43 +0000 (16:14 -0700)]
Merge pull request #50 from jeez/bt-fix
[Bluetooth] Fix "maybe-uninitialized" warning
Jesus Sanchez-Palencia [Fri, 2 Aug 2013 21:39:35 +0000 (18:39 -0300)]
[Bluetooth] Fix "maybe-uninitialized" warning
Alexis Menard [Fri, 2 Aug 2013 21:30:08 +0000 (14:30 -0700)]
Merge pull request #49 from jeez/bt-gyp
[Bluetooth] GYP refactor
Jesus Sanchez-Palencia [Fri, 2 Aug 2013 21:18:50 +0000 (18:18 -0300)]
[Bluetooth] Refactor files and defines to resemble their backends (bluez4 vs bluez5)
BlueZ 4 will be the default backend for the time being, no matter if one is building for
desktop or mobile. It is easily switchable by passing '-D bluetooth=bluez5' (or 4).
Jesus Sanchez-Palencia [Fri, 2 Aug 2013 20:50:27 +0000 (17:50 -0300)]
Make it possible to pass -D parameters configure
After this commit --desktop will no longer be supported. One should
pass -D type=desktop instead. The default (if not passing any -D type)
will fallback to mobile.
Alexis Menard [Fri, 2 Aug 2013 20:16:46 +0000 (17:16 -0300)]
Use the right version in the spec file.
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 14:44:38 +0000 (07:44 -0700)]
Merge pull request #48 from tmpsantos/network_bearer
Added NetworkBerearSelection API stub
Thiago Marcos P. Santos [Mon, 29 Jul 2013 12:13:58 +0000 (15:13 +0300)]
Added NetworkBerearSelection API stub
The API doesn't do anything (yet) on mobile and desktop. Just return
the NotSupported error code to the callee.
Alexis Menard [Fri, 2 Aug 2013 14:20:43 +0000 (07:20 -0700)]
Merge pull request #47 from tmpsantos/packaging-fix
Fix libtizen.so not being installed by the RPM package (follow-up)
Thiago Marcos P. Santos [Fri, 2 Aug 2013 14:14:27 +0000 (17:14 +0300)]
Fix libtizen.so not being installed by the RPM package (follow-up)
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 14:00:41 +0000 (07:00 -0700)]
Merge pull request #46 from tmpsantos/packaging-fix
Fix libtizen.so not being installed by the RPM package
Thiago Marcos P. Santos [Fri, 2 Aug 2013 13:56:10 +0000 (16:56 +0300)]
Fix libtizen.so not being installed by the RPM package
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 13:36:33 +0000 (06:36 -0700)]
Merge pull request #44 from halton/master
Implement STORAGE listener
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 10:02:44 +0000 (03:02 -0700)]
Merge pull request #45 from tmpsantos/build-fix
Build fix
Thiago Marcos P. Santos [Fri, 2 Aug 2013 09:43:29 +0000 (12:43 +0300)]
Fix broken code on System Info API
Wrong include file, missing namespace declaration and a code
leftover (?).
Thiago Marcos P. Santos [Fri, 2 Aug 2013 09:41:22 +0000 (12:41 +0300)]
Added missing Tizen dependencies for System Info API
pkg-config is looking for these dependencies on the gyp buildsytem, but
we have to declare them as package dependency on the RPM spec file.
Thiago Marcos P. Santos [Fri, 2 Aug 2013 09:40:49 +0000 (12:40 +0300)]
Fix build system when building mobile
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 07:09:49 +0000 (00:09 -0700)]
Merge pull request #43 from halton/master
Move mobile common targets into common/tizen_mobile.gypi to allow modules reuses
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 06:56:17 +0000 (23:56 -0700)]
Merge pull request #41 from halton/master
Tizen SystemInfo API
Kenneth Rohde Christiansen [Fri, 2 Aug 2013 06:48:47 +0000 (23:48 -0700)]
Merge pull request #42 from halton/release_gyp
Fix Release gyp issue
Halton Huo [Fri, 2 Aug 2013 02:13:29 +0000 (10:13 +0800)]
Use system_info::default_timeout_interval
Add FIXME for those should use event or D-Bus instead of timeout.
legendlee1314 [Fri, 2 Aug 2013 07:16:13 +0000 (15:16 +0800)]
Implement STORAGE listener
Halton Huo [Thu, 1 Aug 2013 23:04:44 +0000 (07:04 +0800)]
Depend on vconf for mobile, leave NetworkManger for desktop
Halton Huo [Thu, 1 Aug 2013 22:56:00 +0000 (06:56 +0800)]
Move mobile common targets into common/tizen_mobile.gypi