Vinicius Costa Gomes [Tue, 3 Sep 2013 23:27:54 +0000 (20:27 -0300)]
bluetooth: Fix replying to getDefaultAdapter() before it is ready
Before we can reply to that message we need to be sure that we have
all the information about the adapter (its path, address, for example)
or that information can't be obtained (BlueZ isn't running).
cmarcelo [Wed, 18 Sep 2013 21:46:40 +0000 (14:46 -0700)]
Merge pull request #151 from cmarcelo/notification-use-v8tools
[Notification] Use forceSetProperty to permit true readonly values
Caio Marcelo de Oliveira Filho [Wed, 18 Sep 2013 21:29:52 +0000 (18:29 -0300)]
[Notification] Use forceSetProperty to permit true readonly values
Kenneth Rohde Christiansen [Wed, 18 Sep 2013 21:03:37 +0000 (14:03 -0700)]
Merge pull request #149 from ricardotk/wip
Fix Time API
cmarcelo [Wed, 18 Sep 2013 20:56:45 +0000 (13:56 -0700)]
Merge pull request #150 from cmarcelo/notification-fixes
Notification fixes
Caio Marcelo de Oliveira Filho [Wed, 18 Sep 2013 20:19:13 +0000 (17:19 -0300)]
[Notification] Fix wrong loop in OnDetailedChanged
The loop was missing incrementing the iterator. This led to an infinite
loop, and then to crash in the extension process. This patch experiments
with std::find_if to avoid having to write the raw loop at all.
Ricardo de Almeida Gonzaga [Wed, 18 Sep 2013 19:58:23 +0000 (16:58 -0300)]
[Time] Correctly calculate the difference and return in DAYS or MSECS
Ricardo de Almeida Gonzaga [Wed, 18 Sep 2013 18:34:06 +0000 (15:34 -0300)]
[Time] Fix toString()
Ricardo de Almeida Gonzaga [Wed, 18 Sep 2013 17:42:26 +0000 (14:42 -0300)]
[Time] Constructor now accepting JSDate as argument
Caio Marcelo de Oliveira Filho [Wed, 18 Sep 2013 17:18:06 +0000 (14:18 -0300)]
[Notification] Remove locking from NotificationManager in mobile
Locking was necessary because each instance was running in a separated
thread, but now all of them share the same thread, so it's safe to
access shared state without locking.
Caio Marcelo de Oliveira Filho [Wed, 18 Sep 2013 17:12:50 +0000 (14:12 -0300)]
[Notification] Fix leaking ContextAPI object
Caio Marcelo de Oliveira Filho [Wed, 18 Sep 2013 17:12:26 +0000 (14:12 -0300)]
[Notification] Make constructor explicit
Jesus Sanchez-Palencia [Wed, 18 Sep 2013 16:34:27 +0000 (09:34 -0700)]
Merge pull request #147 from ricardotk/wip
Fix Time API
Ricardo de Almeida Gonzaga [Wed, 18 Sep 2013 15:22:35 +0000 (12:22 -0300)]
[Time] difference is now throwing exceptions
Ricardo de Almeida Gonzaga [Wed, 18 Sep 2013 14:06:05 +0000 (11:06 -0300)]
[Time] Add _throwProperTizenException()
Kenneth Rohde Christiansen [Wed, 18 Sep 2013 14:06:12 +0000 (07:06 -0700)]
Merge pull request #141 from ricardotk/wip
Time API fixes
Ricardo de Almeida Gonzaga [Tue, 17 Sep 2013 17:00:51 +0000 (14:00 -0300)]
[Time] equalsTo, earlierThan and laterThan now are throwing exceptions
Ricardo de Almeida Gonzaga [Tue, 17 Sep 2013 14:03:45 +0000 (11:03 -0300)]
[Time] Fix TZDate constructor
Some of the arguments are optional
Ricardo de Almeida Gonzaga [Tue, 17 Sep 2013 13:40:11 +0000 (10:40 -0300)]
[Time] Refactor TimeDuration
Some tests needed to access its variables 'length' and 'unit'
Ricardo de Almeida Gonzaga [Tue, 17 Sep 2013 17:03:04 +0000 (14:03 -0300)]
[Time] Fix getDay misunderstanding
getDay() returns the day of the week (0 - 6)
getDate() returns the day of the month (1 - 31)
Ricardo de Almeida Gonzaga [Mon, 16 Sep 2013 19:14:13 +0000 (16:14 -0300)]
[Time] Fix secondsFromUTC() and add getTime()
Ricardo de Almeida Gonzaga [Mon, 16 Sep 2013 19:11:19 +0000 (16:11 -0300)]
[Time] Add missing setFullYear, getSeconds, setSeconds
Kenneth Rohde Christiansen [Wed, 18 Sep 2013 09:14:09 +0000 (02:14 -0700)]
Merge pull request #146 from legendlee1314/upstream_master
[SystemInfo] Fix throwing exception with null callback
Kenneth Rohde Christiansen [Wed, 18 Sep 2013 09:13:36 +0000 (02:13 -0700)]
Merge pull request #139 from legendlee1314/master
[SystemInfo][WIFI-Network] Fix illogical error callback and uniform to use C-API listener
legendlee1314 [Wed, 18 Sep 2013 08:49:41 +0000 (16:49 +0800)]
[SystemInfo] Fix throwing exception with null callback
Kenneth Rohde Christiansen [Wed, 18 Sep 2013 07:36:46 +0000 (00:36 -0700)]
Merge pull request #145 from fyraimar/master
[SystemInfo][CPU] Modify cpu usage calculation algorithm
fyraimar [Thu, 19 Sep 2013 02:55:09 +0000 (10:55 +0800)]
[SystemInfo][CPU] Modify cpu usage calculation algorithm
Kenneth Rohde Christiansen [Wed, 18 Sep 2013 07:33:16 +0000 (00:33 -0700)]
Merge pull request #142 from jeez/bt-fix
[Bluetooth] Remove unused variables
legendlee1314 [Fri, 13 Sep 2013 07:55:01 +0000 (15:55 +0800)]
[SystemInfo][WIFI-Network] Fix illogical error callback and uniform to use C-API listener
Jesus Sanchez-Palencia [Tue, 17 Sep 2013 19:05:04 +0000 (12:05 -0700)]
Merge pull request #143 from darktears/power-fixes
Power fixes
Alexis Menard [Tue, 17 Sep 2013 18:39:49 +0000 (15:39 -0300)]
[Power] Make test PowerManager_setScreenBrightness_brightness_TypeMismatch pass.
We need to throw the right error when the brightness passed is -Infinite,
+Infinite or NaN.
Alexis Menard [Tue, 17 Sep 2013 18:21:50 +0000 (15:21 -0300)]
[Power] Fix Power API failures on tct test suites.
-Remove workaround of glib callback as it is not needed anymore : the
extensions run in a separate process.
-Remove commented code in the examples as now switching on and off doesn't
background crosswalk behind the launcher.
Jesus Sanchez-Palencia [Tue, 17 Sep 2013 17:53:41 +0000 (14:53 -0300)]
[Bluetooth] Remove unused variables
Kenneth Rohde Christiansen [Tue, 17 Sep 2013 10:51:57 +0000 (03:51 -0700)]
Merge pull request #140 from legendlee1314/new_master
[SystemInfo][Network] Add WIFI network-type and uniform to use C-API listener
legendlee1314 [Tue, 17 Sep 2013 07:42:11 +0000 (15:42 +0800)]
[SystemInfo][Network] Add WIFI network-type and uniform to use C-API listener
Kenneth Rohde Christiansen [Mon, 16 Sep 2013 22:42:33 +0000 (15:42 -0700)]
Merge pull request #137 from cmarcelo/example-menu-flex
Make examples index.html easier to click now with flex
Caio Marcelo de Oliveira Filho [Mon, 16 Sep 2013 22:04:53 +0000 (19:04 -0300)]
Make examples index.html easier to click now with flex
Kenneth Rohde Christiansen [Mon, 16 Sep 2013 22:23:10 +0000 (15:23 -0700)]
Merge pull request #136 from cmarcelo/example-menu
Make examples index.html easier to click
Caio Marcelo de Oliveira Filho [Mon, 16 Sep 2013 22:04:53 +0000 (19:04 -0300)]
Make examples index.html easier to click
Kenneth Rohde Christiansen [Mon, 16 Sep 2013 11:00:11 +0000 (04:00 -0700)]
Merge pull request #135 from halton/master
[SystemInfo] Fix style checking error caused by PR #132
Halton Huo [Mon, 16 Sep 2013 10:54:39 +0000 (18:54 +0800)]
[SystemInfo] Fix style checking error caused by PR #132
Kenneth Rohde Christiansen [Mon, 16 Sep 2013 09:22:52 +0000 (02:22 -0700)]
Merge pull request #132 from Ryan--Yang/master
[SystemInfo]fix error when value changed of the battery
yangruiintel [Mon, 16 Sep 2013 08:49:10 +0000 (16:49 +0800)]
[SystemInfo]fix error when value changed of the battery
Kenneth Rohde Christiansen [Mon, 16 Sep 2013 07:58:05 +0000 (00:58 -0700)]
Merge pull request #130 from halton/master
Allow run tools/check-coding-style from any place
Halton Huo [Mon, 16 Sep 2013 03:36:57 +0000 (11:36 +0800)]
Allow run tools/check-coding-style from any place
Kenneth Rohde Christiansen [Mon, 16 Sep 2013 07:26:35 +0000 (00:26 -0700)]
Merge pull request #129 from qjia7/mymaster
[SystemInfo] Add parameter type checking in js
Jiajia Qin [Mon, 16 Sep 2013 00:39:02 +0000 (08:39 +0800)]
[SystemInfo] Add parameter type checking in js
Kenneth Rohde Christiansen [Sun, 15 Sep 2013 12:05:09 +0000 (05:05 -0700)]
Merge pull request #123 from fyraimar/master
[SystemInfo] Modify Locale API implements on Tizen Mobile and uniform API implements on Desktop
fyraimar [Sat, 14 Sep 2013 08:51:41 +0000 (16:51 +0800)]
[SystemInfo][LOCALE] Use vconf on Tizen Mobile
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.