fyraimar [Thu, 12 Sep 2013 03:11:59 +0000 (11:11 +0800)]
[SystemInfo] Use timeout_cb_id_ to identify listener on desktop
Kenneth Rohde Christiansen [Sat, 14 Sep 2013 10:16:36 +0000 (03:16 -0700)]
Merge pull request #127 from ricardotk/wip
Fix some examples
Ricardo de Almeida Gonzaga [Fri, 13 Sep 2013 18:41:41 +0000 (15:41 -0300)]
Fix notification examples
intentional exception now is using 'shouldThrow'
Ricardo de Almeida Gonzaga [Fri, 13 Sep 2013 18:05:13 +0000 (15:05 -0300)]
Fix error codes on tizen test examples
Error codes are following tizen_api.js and tizen.h
Ricardo de Almeida Gonzaga [Fri, 13 Sep 2013 17:46:11 +0000 (14:46 -0300)]
Use correct validation on time examples
Ricardo de Almeida Gonzaga [Fri, 13 Sep 2013 17:34:05 +0000 (14:34 -0300)]
Fix time examples
Kenneth Rohde Christiansen [Fri, 13 Sep 2013 14:06:32 +0000 (07:06 -0700)]
Merge pull request #118 from qjia7/mymaster
[SystemInfo] Implement the missed property in cellular
Jiajia Qin [Fri, 13 Sep 2013 10:26:12 +0000 (18:26 +0800)]
[SystemInfo] Capitalize abbreviation in function name
Jiajia Qin [Fri, 13 Sep 2013 10:18:15 +0000 (18:18 +0800)]
[SystemInfo] Fixed type mismatch error in cellular
Jiajia Qin [Tue, 10 Sep 2013 08:09:37 +0000 (16:09 +0800)]
[SystemInfo] Add apn support in cellular
Kenneth Rohde Christiansen [Fri, 13 Sep 2013 08:41:20 +0000 (01:41 -0700)]
Merge pull request #124 from deqing/fix-tizen-exception
Value of WebAPIException should be number
Deqing Huang [Fri, 13 Sep 2013 01:39:51 +0000 (09:39 +0800)]
Value of WebAPIException should be number
For code like:
tizen.WebAPIException(tizen.WebAPIException.TYPE_MISMATCH_ERR)
the tizen.WebAPIException.TYPE_MISMATCH_ERR should be number, so that
the WebAPIException can be correctly constructed.
Kenneth Rohde Christiansen [Fri, 13 Sep 2013 06:08:23 +0000 (23:08 -0700)]
Merge pull request #122 from legendlee1314/master
[SystemInfo] Fix read-only properties not covered support
legendlee1314 [Thu, 12 Sep 2013 05:14:16 +0000 (13:14 +0800)]
[SystemInfo] Fix read-only properties not covered support
Kenneth Rohde Christiansen [Thu, 12 Sep 2013 08:42:08 +0000 (01:42 -0700)]
Merge pull request #109 from legendlee1314/newdemos
[demo] add system info demo
cmarcelo [Wed, 11 Sep 2013 18:02:51 +0000 (11:02 -0700)]
Merge pull request #106 from cmarcelo/c-api
Use new Crosswalk Extension C API
cmarcelo [Wed, 11 Sep 2013 17:46:37 +0000 (10:46 -0700)]
Merge pull request #120 from darktears/fullscreen-fix
Remove --fullscreen from tizen-extensions-crosswalk script.
Alexis Menard [Wed, 11 Sep 2013 17:43:07 +0000 (14:43 -0300)]
Remove --fullscreen from tizen-extensions-crosswalk script.
We don't need to call --fullscreen, Xwalk can figure out by itself
that it should run in fullscreen or not as we integrate with the
window manager.
Caio Marcelo de Oliveira Filho [Wed, 4 Sep 2013 22:10:29 +0000 (19:10 -0300)]
Use new Crosswalk Extension C API
This commit changed ExtensionAdapater to use new Extension API without
changing any of the existing Context classes. That said,
ExtensionAdapter could be rewrote now with less templates and in a more
straightforward way.
cmarcelo [Wed, 11 Sep 2013 14:35:46 +0000 (07:35 -0700)]
Merge pull request #110 from cmarcelo/check-coding-style-script
Check coding style script
cmarcelo [Wed, 11 Sep 2013 14:22:29 +0000 (07:22 -0700)]
Merge pull request #115 from deqing/master
[download] Fix bug which stops download being able to build for mobile
Kenneth Rohde Christiansen [Wed, 11 Sep 2013 09:09:47 +0000 (02:09 -0700)]
Merge pull request #119 from legendlee1314/upstream_master
[SystemInfo] Fix running error on system_info.js
legendlee1314 [Wed, 11 Sep 2013 09:03:47 +0000 (17:03 +0800)]
[SystemInfo] Fix running error on system_info.js
Kenneth Rohde Christiansen [Wed, 11 Sep 2013 07:49:18 +0000 (00:49 -0700)]
Merge pull request #117 from legendlee1314/master
[SystemInfo] Support read-only properties
legendlee1314 [Tue, 10 Sep 2013 02:13:08 +0000 (10:13 +0800)]
[SystemInfo] Support read-only properties
Alexis Menard [Tue, 10 Sep 2013 11:23:12 +0000 (08:23 -0300)]
Make 0.3 version as QA validated it.
Kenneth Rohde Christiansen [Tue, 10 Sep 2013 10:41:21 +0000 (03:41 -0700)]
Merge pull request #116 from fyraimar/master
[Systeminfo]Fix Desktop Build Error
fyraimar [Wed, 11 Sep 2013 03:27:26 +0000 (11:27 +0800)]
[Systeminfo]Fix Desktop Build Error
Kenneth Rohde Christiansen [Mon, 9 Sep 2013 14:43:08 +0000 (07:43 -0700)]
Merge pull request #114 from qjia7/mymaster
[SystemInfo] Support multiple frames. Fixed bug #113 #569
Jiajia Qin [Fri, 6 Sep 2013 11:22:21 +0000 (19:22 +0800)]
Fixed memory corruption issue
Jiajia Qin [Fri, 6 Sep 2013 02:04:46 +0000 (10:04 +0800)]
Fixed bugs in the event listening mechanism
1. Use g_source_remove to unregister the g_timeout_add event.
2. In destructor, check if exists active listening event. If true, stop listening.
Jiajia Qin [Thu, 5 Sep 2013 05:25:05 +0000 (13:25 +0800)]
[SystemInfo] Support multiple frames. Fixed bug #113 #569
Deqing Huang [Fri, 6 Sep 2013 03:45:38 +0000 (11:45 +0800)]
[download] Fix bug which stops download being able to build for mobile
Raphael Kubo da Costa [Thu, 5 Sep 2013 08:34:50 +0000 (01:34 -0700)]
Merge pull request #112 from vcgomes/gvariant-fix
Fix crash when asking to pair a new device. Fixes #568.
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.
legendlee1314 [Fri, 30 Aug 2013 03:15:10 +0000 (11:15 +0800)]
[demo] add system info demo
The added demo packages is:
tizen-extensions-crosswalk-system-info-demo-${version}-${release}.${arch}.rpm
Install the package with `pkgcmd`, like:
$ pkgcmd -i -t rpm -p tizen-extensions-crosswalk-system-info-demo-0.2-0.i586.rpm -q
More information about demos at commit `1ed2d38`.
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
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 21:44:34 +0000 (18:44 -0300)]
Add exception for system_info/
SystemInfo makes use of non-const references in its code. Add a filter
to ignore this for now.
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 21:18:49 +0000 (18:18 -0300)]
Fix tizen/ coding style
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 21:02:21 +0000 (18:02 -0300)]
Fix network_bearer_selection/ coding style
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 20:58:17 +0000 (17:58 -0300)]
Fix time/ coding style
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 20:57:17 +0000 (17:57 -0300)]
Fix power/ coding style
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 20:44:46 +0000 (17:44 -0300)]
Fix notification/ coding style
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 20:36:54 +0000 (17:36 -0300)]
Fix common/ coding style
Caio Marcelo de Oliveira Filho [Fri, 30 Aug 2013 20:32:11 +0000 (17:32 -0300)]
Add script for checking coding style
Uses cpplint.py from Chromium depot_tools. Since we all have depot_tools
to build Crosswalk, it is OK to depending on it.
For now all the directories are ignored so we can fix things gradually.
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.