Vinicius Costa Gomes [Mon, 26 Aug 2013 17:52:36 +0000 (14:52 -0300)]
bluetooth: Fix crash when receiving a PropertyChanged with new devices
This signal is emitted when a previously unknown device connects to
the host, for example, when you receive a connection from a device
that is not already paired.
Vinicius Costa Gomes [Wed, 4 Sep 2013 18:13:57 +0000 (15:13 -0300)]
bluetooth: Fix freeing a NULL GVariant
When createBonding() or destroyBonding() fails, a NULL GVariant is
returned as a result, we should not try to free it in this case.
Kenneth Rohde Christiansen [Wed, 4 Sep 2013 08:58:58 +0000 (01:58 -0700)]
Merge pull request #111 from qjia7/mymaster
[SystemInfo] Put Vconf event into StartListening and StopListing functio...
Kenneth Rohde Christiansen [Wed, 4 Sep 2013 08:58:12 +0000 (01:58 -0700)]
Merge pull request #108 from qjia7/master
[SystemInfo] Implement SystemInfoOptions support
Jiajia Qin [Tue, 3 Sep 2013 06:23:34 +0000 (14:23 +0800)]
[SystemInfo] Put Vconf event into StartListening and StopListing function
Use StartListening to register the vconf event and StopListing to unregister
the vconf event.
Jiajia Qin [Tue, 3 Sep 2013 02:30:08 +0000 (10:30 +0800)]
[SystemInfo] Implement SystemInfoOptions support
Kenneth Rohde Christiansen [Mon, 2 Sep 2013 06:58:52 +0000 (23:58 -0700)]
Merge pull request #105 from yangruiIntel/master
[SystemInfo] Use vconf-self listening mechanism instead of the timeout mechanism for battery support
cmarcelo [Fri, 30 Aug 2013 21:10:34 +0000 (14:10 -0700)]
Merge pull request #98 from jeez/define-properties
[Bluetooth] Use Object.defineProperties instead of multiple Object.defineProperty in a loop.
cmarcelo [Fri, 30 Aug 2013 21:10:15 +0000 (14:10 -0700)]
Merge pull request #107 from legendlee1314/newmaster
[SystemInfo] Fix linking error at device orientation
legendlee1314 [Fri, 30 Aug 2013 02:12:51 +0000 (10:12 +0800)]
[SystemInfo] Fix linking error at device orientation
Fix linking error while compiling on desktop.
Kenneth Rohde Christiansen [Thu, 29 Aug 2013 14:40:07 +0000 (07:40 -0700)]
Merge pull request #103 from yangruiIntel/tizen-extension
[SystemInfo]Implement peripheral property support
yangruiintel [Thu, 29 Aug 2013 08:37:14 +0000 (16:37 +0800)]
[SystemInfo] Use vconf-self listening mechanism instead of the timeout mechanism for battery support
yangruiintel [Wed, 28 Aug 2013 06:09:54 +0000 (14:09 +0800)]
[SystemInfo] Implement peripheral property support
Kenneth Rohde Christiansen [Wed, 28 Aug 2013 13:40:42 +0000 (06:40 -0700)]
Merge pull request #100 from qjia7/master
[SystemInfo] Add device orientation support
Jiajia Qin [Mon, 26 Aug 2013 09:47:05 +0000 (17:47 +0800)]
[SystemInfo] Add device orientation support
Alexis Menard [Tue, 27 Aug 2013 11:19:37 +0000 (04:19 -0700)]
Merge pull request #101 from legendlee1314/master
[SystemInfo] Implement storage on mobile
legendlee1314 [Tue, 27 Aug 2013 02:57:42 +0000 (10:57 +0800)]
[SystemInfo] Implement storage on mobile
Kenneth Rohde Christiansen [Mon, 26 Aug 2013 07:12:31 +0000 (00:12 -0700)]
Merge pull request #96 from qjia7/master
[SystemInfo] Add Cellular data support
Kenneth Rohde Christiansen [Mon, 26 Aug 2013 06:42:32 +0000 (23:42 -0700)]
Merge pull request #97 from deqing/master
[download] Advanced features
Jiajia Qin [Tue, 20 Aug 2013 06:28:24 +0000 (14:28 +0800)]
[SystemInfo] Add Cellular data support
Jesus Sanchez-Palencia [Thu, 22 Aug 2013 21:08:47 +0000 (18:08 -0300)]
[Bluetooth] Use Object.defineProperties instead of multiple Object.defineProperty in a loop.
Deqing Huang [Mon, 12 Aug 2013 11:18:26 +0000 (19:18 +0800)]
[download] Advanced features
cmarcelo [Mon, 19 Aug 2013 18:29:43 +0000 (11:29 -0700)]
Merge pull request #95 from dorileo/tizen-bluetooth-clone
packaging and demo tweaks
Leandro Dorileo [Mon, 19 Aug 2013 17:22:32 +0000 (14:22 -0300)]
[download] build download only when it's building for mobile
Since download_context.cc implementation is highly coupled to
capi-* stuffs we're building it just for mobile.
Leandro Dorileo [Sat, 17 Aug 2013 18:41:34 +0000 (15:41 -0300)]
[demo] add images for bluetooth devices
Add images for bluetooth devices, the images were designed by
Fabricio Novak <fabricio.novak@intel.com>.
Leandro Dorileo [Sat, 17 Aug 2013 18:29:03 +0000 (15:29 -0300)]
avoid running pkg-config when packages% is not set
For cases when a package% is conditionally defined just for a single
condition(i.e is defined when extension_host_os == mobile but not
defined for other host_os's - like it's done on download.gyp) we
should check if packages% has been defined, that way we have a consistent
build across different host os' and don't fail if packages% is a
zero length string.
Leandro Dorileo [Fri, 16 Aug 2013 19:42:03 +0000 (16:42 -0300)]
demo and examples [re]packaging
This patch reorganizes the packaging for demo and example. With that
we now generate 3 packages: 1) the exentions itself, 2) examples and
3) demo.
The resulting packages are:
tizen-extensions-crosswalk-${version}-${release}.${arch}.rpm
tizen-extensions-crosswalk-bluetooth-demo-${version}-${release}.${arch}.rpm
tizen-extensions-crosswalk-examples-${version}-${release}.${arch}.rpm
For both demo and examples packages a manifest xml file is generated
so we can have a launcher icon within tizen menu-screen.
Installation:
The extensions rpm installation remains the same(i.e rpm -Uvh --force
tizen-extensions-crosswalk-${version}-${release}.${arch}.rpm).
The additional packages(demo and examples) must be installed with
pkgcmd, like:
$ pkgcmd -i -t rpm -p tizen-extensions-crosswalk-bluetooth-demo-0.2-0.i586.rpm -q
$ pkgcmd -i -t rpm -p tizen-extensions-crosswalk-examples-0.2-0.i586.rpm -q
Kenneth Rohde Christiansen [Sat, 17 Aug 2013 10:23:24 +0000 (03:23 -0700)]
Merge pull request #94 from vcgomes/bluetooth-deviceclass-services
bluetooth: Add missing BluetoothClass attributes
Vinicius Costa Gomes [Fri, 16 Aug 2013 20:19:19 +0000 (17:19 -0300)]
bluetooth: Add missing BluetoothClass attributes
BluetoothClass.services and BluetoothClass.hasService() were missing.
'services' is a list of Major Service Class identifiers (see
https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband ).
Kenneth Rohde Christiansen [Fri, 16 Aug 2013 19:10:34 +0000 (12:10 -0700)]
Merge pull request #93 from vcgomes/bluetooth-fix-found-devices
Bluetooth fix found devices
Vinicius Costa Gomes [Fri, 16 Aug 2013 17:27:13 +0000 (14:27 -0300)]
bluetooth: Simpify sending the DeviceFound message
This changes the semantics of this message a little, now it will
mean that a device was found during a Discovery, no matter if we
already have a object device representing it (known device) or
not.
Vinicius Costa Gomes [Fri, 16 Aug 2013 17:25:16 +0000 (14:25 -0300)]
bluetooth: Fix notifying the same device multiple times on discovery
With the changes to what information we keep on the C++ side of the
extension, there was a side effect that the same defice was reported
multiple times on the ondevicefound() Discovery callback.
The fix is to handle marking the device as "new" on the JS side, as it
already has the known_devices and found_devices list, so it can take the
correct decision.
Alexis Menard [Fri, 16 Aug 2013 13:17:37 +0000 (06:17 -0700)]
Merge pull request #90 from dorileo/tizen-bluetooth-clone
[bluetooth] destroyBonding API and demo updates
Leandro Dorileo [Wed, 14 Aug 2013 20:11:26 +0000 (17:11 -0300)]
[demo] bluetooth implement unpairing calls
Leandro Dorileo [Wed, 14 Aug 2013 20:10:36 +0000 (17:10 -0300)]
[bluetooth] implement destroyBonding API
Leandro Dorileo [Wed, 14 Aug 2013 17:05:17 +0000 (14:05 -0300)]
[bluetooth] trivial: avoid known_devices if error
Alexis Menard [Fri, 16 Aug 2013 11:34:44 +0000 (04:34 -0700)]
Merge pull request #84 from fyraimar/master
Implement build API for Tizen mobile using capi
Alexis Menard [Fri, 16 Aug 2013 11:32:56 +0000 (04:32 -0700)]
Merge pull request #92 from vcgomes/bluetooth-get-device
Add tizen.bluetooth.getDevice()
Kenneth Rohde Christiansen [Fri, 16 Aug 2013 10:43:21 +0000 (03:43 -0700)]
Merge pull request #91 from legendlee1314/master
[SystemInfo] Implement WIFI-NETWORK module
legendlee1314 [Fri, 16 Aug 2013 09:40:38 +0000 (17:40 +0800)]
[SystemInfo] Use comprehensive function name instead
s/StartListen/StartListening
s/StopListen/StopListening
legendlee1314 [Thu, 15 Aug 2013 09:10:36 +0000 (17:10 +0800)]
[SystemInfo] Implement WIFI-NETWORK module
Kenneth Rohde Christiansen [Fri, 16 Aug 2013 09:01:02 +0000 (02:01 -0700)]
Merge pull request #88 from qjia7/master
[Systeminfo] Add SIM property support
fyraimar [Fri, 16 Aug 2013 07:22:07 +0000 (15:22 +0800)]
[SystemInfo][BATTERY] Using vconf for Tizen mobile
fyraimar [Thu, 15 Aug 2013 01:26:18 +0000 (09:26 +0800)]
[SystemInfo] Minor fix to avoid using assign() of std::string
fyraimar [Wed, 14 Aug 2013 08:51:31 +0000 (16:51 +0800)]
[SystemInfo][LOCALE] Using capi-runtime-info for Tizen mobile
fyraimar [Tue, 13 Aug 2013 03:19:12 +0000 (11:19 +0800)]
[SystemInfo][BUILD] Using capi-system-info for Tizen mobile
Jiajia Qin [Wed, 14 Aug 2013 03:10:51 +0000 (11:10 +0800)]
[Systeminfo] Add SIM property support
Vinicius Costa Gomes [Thu, 15 Aug 2013 14:24:41 +0000 (11:24 -0300)]
bluetooth: Fix not adding a device to the known devices list
When the device is already known to BlueZ, an DeviceUpdated() message
will be sent, and it means that the device should be added directly
to the known_devices list that is kept.
One example of when this could happen is when there are already paired
devices when the extension starts.
Vinicius Costa Gomes [Mon, 12 Aug 2013 20:10:48 +0000 (17:10 -0300)]
bluetooth: Implement getDevice() for Adapter
This method returns an BluetoothDevice from the list of known devices.
Vinicius Costa Gomes [Thu, 15 Aug 2013 15:02:22 +0000 (12:02 -0300)]
bluetooth: Keep track of org.bluez.Device objects
The process is more involved for BlueZ 4 than for BlueZ 5. Before we can
notify upper layers that we have a new device we need at least to have its
address, for BlueZ 4, this requires that we send a D-Bus message to get its
properties.
For this process we keep a map of object paths to addresses, so when a
change is detected on one object path, it can be detected and we can
send a message to the JS side.
Vinicius Costa Gomes [Thu, 15 Aug 2013 14:56:47 +0000 (11:56 -0300)]
bluetooth: Use the same DeviceMap as BlueZ 5
As we want to keep track of changes in org.bluez.Device's objects,
it is very convenient that we keep GDBusProxies for each device.
And the plan is to have the key of the map to be the object path of
the device, so when an signal is emitted it can be immediately
recognized which device has changed.
Alexis Menard [Thu, 15 Aug 2013 11:14:47 +0000 (04:14 -0700)]
Merge pull request #36 from deqing/master
Add Download API
Deqing Huang [Wed, 24 Jul 2013 10:01:55 +0000 (18:01 +0800)]
Add download api
Alexis Menard [Wed, 14 Aug 2013 12:03:43 +0000 (05:03 -0700)]
Merge pull request #87 from dorileo/tizen-bluetooth-clone
bluetooth createBonding API + initial demo pairing support
Alexis Menard [Wed, 14 Aug 2013 11:25:30 +0000 (04:25 -0700)]
Merge pull request #89 from nagineni/power-desktop
[Power] Add HandleGetScreenState() to avoid undefined reference on desktop
Alexis Menard [Wed, 14 Aug 2013 11:13:06 +0000 (04:13 -0700)]
Merge pull request #77 from tmpsantos/network_bearer
Network Bearer Selection API
Sudarsana Nagineni [Wed, 14 Aug 2013 10:59:49 +0000 (13:59 +0300)]
[Power] Add HandleGetScreenState() to avoid undefined reference on desktop.
Leandro Dorileo [Tue, 13 Aug 2013 21:14:54 +0000 (18:14 -0300)]
[demo] bluetooth initial pairing support
Leandro Dorileo [Tue, 13 Aug 2013 21:14:05 +0000 (18:14 -0300)]
[bluetooth] implement createBonding API
cmarcelo [Mon, 12 Aug 2013 20:45:35 +0000 (13:45 -0700)]
Merge pull request #86 from jeez/bt-fix-tizen
Fix Bluetooth quirks for Tizen 2.x
Jesus Sanchez-Palencia [Mon, 12 Aug 2013 19:22:13 +0000 (16:22 -0300)]
[Bluetooth] Remove setPowered implementation.
Due to Tizen 2.x' platform-defined behavior, we are removing here
the adapter.setPowered API implementation. Modifying this property on
this platform actually makes it kill the bluetooth daemon and (soft) rfkill
the bluetooth module. After that we lose access even to the DBus interfaces
related to BlueZ, leading us to a inconsistent state.
In order to land a proper fix for this we need to first have
more control over our sync message return, so we can work-around
this platform issue and handle the bluetooth init/deinit during the
next tizen.bluetooth.getDefaultAdapter() (i.e. after a setPowered(false),
for instance).
Jesus Sanchez-Palencia [Mon, 12 Aug 2013 18:48:23 +0000 (15:48 -0300)]
[Bluetooth] Fix Bluetooth adapter initialization for Tizen 2.x
Alexis Menard [Mon, 12 Aug 2013 18:45:40 +0000 (11:45 -0700)]
Merge pull request #85 from vcgomes/bluetooth-typo
bluetooth: Fix typo when copying "uuids" property for a cloned device
Vinicius Costa Gomes [Mon, 12 Aug 2013 18:32:40 +0000 (15:32 -0300)]
bluetooth: Fix typo when copying "uuids" property for a cloned device
Thiago Marcos P. Santos [Wed, 7 Aug 2013 15:05:58 +0000 (18:05 +0300)]
Rename files to align with system_info
Thiago Marcos P. Santos [Thu, 8 Aug 2013 16:12:01 +0000 (19:12 +0300)]
Improve the Network Bearer Selection example
Not it will show up in the top the current status of the
Wireless and Cellular network connection.
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.