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
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.
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
Kenneth Rohde Christiansen [Thu, 1 Aug 2013 22:58:30 +0000 (15:58 -0700)]
Merge pull request #40 from cmarcelo/tizen-notification-review-fixes
Tizen notification review fixes
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 22:54:51 +0000 (19:54 -0300)]
notification: simplify return statement
Kenneth Rohde Christiansen [Thu, 1 Aug 2013 22:54:26 +0000 (15:54 -0700)]
Merge pull request #39 from jeez/bt4-setters
[Bluetooth] Implement setName, setPowered and setVisible
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 22:52:55 +0000 (19:52 -0300)]
notification: rename Locker to AutoLock
And we just need it on the cc file, so move it there.
Jesus Sanchez-Palencia [Thu, 1 Aug 2013 22:43:16 +0000 (19:43 -0300)]
[Bluetooth] Make all callback parameters be called 'result'
Jesus Sanchez-Palencia [Thu, 1 Aug 2013 22:10:37 +0000 (19:10 -0300)]
[Bluetooth] Implement setName, setPowered and setVisible for tizen.bluetooth's adapter
These APIs were only implemented for BlueZ4.
Kenneth Rohde Christiansen [Thu, 1 Aug 2013 22:20:04 +0000 (15:20 -0700)]
Merge pull request #38 from cmarcelo/tizen-notification
Tizen notification support
Halton Huo [Thu, 1 Aug 2013 22:19:05 +0000 (06:19 +0800)]
Fix Release gyp issue
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 21:53:25 +0000 (18:53 -0300)]
notification: fix comment about DetachClient() function
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 21:47:06 +0000 (18:47 -0300)]
notification: move NotificationManager class to its own file
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 21:42:30 +0000 (18:42 -0300)]
notification: make NotificationManager use string ids
Instead of exposing priv_id to the NotificationContext, let's use the
ids that it gets from JavaScript. All the mapping happens in the same
place and we keep only one datastructure.
This have the side effect of freeing us from a race condition when
running the client callback (runs on the main extension thread instead
of the context thread). This solution not always scale, in the long
run we probably want to expose some simplified version of MessageLoops.
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 21:27:37 +0000 (18:27 -0300)]
gyp: teach how to exclude sources according to subdirectory name
Sources with suffix _mobile.cc and _desktop.cc were automatically
excluded from the builds where they didn't apply. Do the same for the
mobile/ and desktop/ subdirectories. This is useful for creating new
header / source files that are platform specific.
Halton Huo [Thu, 1 Aug 2013 21:07:08 +0000 (05:07 +0800)]
Pass Google cppLint
Halton Huo [Wed, 31 Jul 2013 18:58:42 +0000 (02:58 +0800)]
Implement NETWORK listener
Use NetworkManager D-Bus interface instead.
Halton Huo [Wed, 31 Jul 2013 04:28:40 +0000 (12:28 +0800)]
Implement listener for reset properties - Part I
CELLULAR_NETWORK
DEVICE_ORIENTATION
NETWORK
PERIPHERAL
SIM
WIFI_NETWORK
Halton Huo [Wed, 31 Jul 2013 03:35:05 +0000 (11:35 +0800)]
Implement LOCALE listener
Halton Huo [Wed, 31 Jul 2013 03:20:21 +0000 (11:20 +0800)]
Implement BUILD listener
Halton Huo [Wed, 31 Jul 2013 02:57:45 +0000 (10:57 +0800)]
Implement STORAGE listener - Part I
Halton Huo [Wed, 31 Jul 2013 02:49:57 +0000 (10:49 +0800)]
Implement BATTERY listener
Halton Huo [Wed, 31 Jul 2013 02:38:29 +0000 (10:38 +0800)]
Implement DISPLAY listener
Halton Huo [Tue, 30 Jul 2013 22:27:31 +0000 (06:27 +0800)]
Implement CPU listener
fyraimar [Thu, 1 Aug 2013 06:34:58 +0000 (14:34 +0800)]
Implement LOCALE
fyraimar [Thu, 1 Aug 2013 06:29:46 +0000 (14:29 +0800)]
Implement BUILD
Halton Huo [Tue, 30 Jul 2013 19:02:28 +0000 (03:02 +0800)]
Follow code style in system_info_utils.[cc|.h]
Halton Huo [Tue, 30 Jul 2013 17:50:24 +0000 (01:50 +0800)]
Use SetPicoJsonObjectValue for handy
Halton Huo [Tue, 30 Jul 2013 02:57:02 +0000 (10:57 +0800)]
Implement BATTERY
Halton Huo [Tue, 30 Jul 2013 02:54:14 +0000 (10:54 +0800)]
Implement STORAGE
Halton Huo [Fri, 26 Jul 2013 01:39:52 +0000 (09:39 +0800)]
Implement DISPLAY
Halton Huo [Thu, 25 Jul 2013 22:31:17 +0000 (06:31 +0800)]
Implement NETWORK
Halton Huo [Thu, 25 Jul 2013 20:56:02 +0000 (04:56 +0800)]
Seperate NETWORK for desktop and mobile
Halton Huo [Thu, 25 Jul 2013 07:44:36 +0000 (15:44 +0800)]
Report not support for desktop and leave dummy code for mobile
DEVICE_ORIENTATION
CELLULAR_NETWORK
SIM
PERIPHERAL
Halton Huo [Thu, 25 Jul 2013 03:55:58 +0000 (11:55 +0800)]
Implement CPU
Halton Huo [Tue, 23 Jul 2013 11:54:28 +0000 (19:54 +0800)]
Init for tizen.systeminfo, skeleton code
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 20:46:50 +0000 (17:46 -0300)]
notification: implement post / remove for Tizen Mobile
Use NotificationManager from previous commit to implement
tizen.notification.post() and tizen.notification.remove(). Only Title
and Content are being propagated to the underlying tizen.notification
library for now.
The NotificationManager public functions were changed to be
thread-safe since extension contexts run in their own threads, while
the callback for notification is called from the main extension
thread.
Caio Marcelo de Oliveira Filho [Thu, 1 Aug 2013 18:50:33 +0000 (15:50 -0300)]
notification: create basic functions to interact with Tizen library
The way notification library works, we need to provide a global
handler to get information about when notifications were removed.
NotificationManager takes role of this global handler and filters
this information to the appropriate Contexts.
Alexis Menard [Thu, 1 Aug 2013 13:22:09 +0000 (06:22 -0700)]
Merge pull request #37 from jeez/build-fix
[Bluetooth] Fix desktop build