platform/framework/web/tizen-extensions-crosswalk.git
10 years agoBump version to 0.19
Crosswalk Release Engineering [Mon, 11 Nov 2013 22:02:58 +0000 (22:02 +0000)]
Bump version to 0.19

10 years agoBump version to 0.18
Crosswalk Release Engineering [Sat, 9 Nov 2013 22:03:25 +0000 (22:03 +0000)]
Bump version to 0.18

10 years agoMerge pull request #226 from ricardotk/wip-notification
cmarcelo [Fri, 8 Nov 2013 12:26:56 +0000 (04:26 -0800)]
Merge pull request #226 from ricardotk/wip-notification

[Notification] Add support for Image

10 years agoBump version to 0.17
Crosswalk Release Engineering [Thu, 7 Nov 2013 22:03:05 +0000 (22:03 +0000)]
Bump version to 0.17

10 years ago[Notification] Add support for thumbnails (image)
Ricardo de Almeida Gonzaga [Thu, 7 Nov 2013 13:12:51 +0000 (11:12 -0200)]
[Notification] Add support for thumbnails (image)

10 years ago[Notification] Add support for sub icon (image)
Ricardo de Almeida Gonzaga [Thu, 7 Nov 2013 12:47:20 +0000 (10:47 -0200)]
[Notification] Add support for sub icon (image)

10 years ago[Notification] Add support for icon (image)
Ricardo de Almeida Gonzaga [Thu, 7 Nov 2013 12:41:21 +0000 (10:41 -0200)]
[Notification] Add support for icon (image)

10 years ago[Notification] Add support for background (image)
Ricardo de Almeida Gonzaga [Wed, 6 Nov 2013 18:08:20 +0000 (16:08 -0200)]
[Notification] Add support for background (image)

10 years agoBump version to 0.16
Crosswalk Release Engineering [Wed, 6 Nov 2013 22:02:56 +0000 (22:02 +0000)]
Bump version to 0.16

10 years agoMerge pull request #225 from ricardotk/wip-filesystem
Leandro A. F. Pereira [Wed, 6 Nov 2013 16:44:56 +0000 (08:44 -0800)]
Merge pull request #225 from ricardotk/wip-filesystem

[FileSystem] Add FileStream fstream support

10 years ago[FileSystem] Add FileStream fstream support
Ricardo de Almeida Gonzaga [Mon, 4 Nov 2013 13:18:20 +0000 (11:18 -0200)]
[FileSystem] Add FileStream fstream support

Before this fix, FileStream used FileDescriptor to access its files.
We had some problems dealing with the position attribute, so we
decide to look how tizen deals with it. Tizen uses fstream to handle
the FileStream class, so as we do now.

10 years ago[FileSystem] Fix ConvertFrom() base64 decode algorithm
Ricardo de Almeida Gonzaga [Mon, 4 Nov 2013 13:10:45 +0000 (11:10 -0200)]
[FileSystem] Fix ConvertFrom() base64 decode algorithm

fixed by: Leandro A. F. Pereira

10 years ago[Common] Fix IO_ERR message
Ricardo de Almeida Gonzaga [Fri, 1 Nov 2013 19:11:24 +0000 (17:11 -0200)]
[Common] Fix IO_ERR message

FileSystem TCT Test "File_readAsText_with_onerror.html" requires
that the error message can't be null.

code:
  assert_not_equals(error.message, "", "incorrect error message");

10 years agoBump version to 0.15
Crosswalk Release Engineering [Mon, 4 Nov 2013 22:03:24 +0000 (22:03 +0000)]
Bump version to 0.15

10 years agoBump version to 0.14
Crosswalk Release Engineering [Sun, 3 Nov 2013 22:03:15 +0000 (22:03 +0000)]
Bump version to 0.14

10 years agoBump version to 0.13
Crosswalk Release Engineering [Sat, 2 Nov 2013 22:03:18 +0000 (22:03 +0000)]
Bump version to 0.13

10 years agoBump version to 0.12
Crosswalk Release Engineering [Fri, 1 Nov 2013 22:03:39 +0000 (22:03 +0000)]
Bump version to 0.12

10 years agoBump version to 0.11
Crosswalk Release Engineering [Thu, 31 Oct 2013 22:02:58 +0000 (22:02 +0000)]
Bump version to 0.11

10 years agoMerge pull request #220 from Ryan--Yang/commit
Leandro A. F. Pereira [Wed, 30 Oct 2013 16:28:31 +0000 (09:28 -0700)]
Merge pull request #220 from Ryan--Yang/commit

[SystemInfo] Use new C++ wrapper in common/extension.h

10 years agoMerge pull request #223 from vcgomes/adapter-change-listener-v2
cmarcelo [Wed, 30 Oct 2013 16:14:55 +0000 (09:14 -0700)]
Merge pull request #223 from vcgomes/adapter-change-listener-v2

[Bluetooth] Add BluetoothAdapter.setChangeListener + fixes

10 years agoMerge pull request #222 from ricardotk/wip-filesystem
Leandro A. F. Pereira [Wed, 30 Oct 2013 13:57:41 +0000 (06:57 -0700)]
Merge pull request #222 from ricardotk/wip-filesystem

[FileSystem] Major fixes on API

10 years ago[FileSystem] Major fixes on API
Ricardo de Almeida Gonzaga [Mon, 21 Oct 2013 14:02:39 +0000 (12:02 -0200)]
[FileSystem] Major fixes on API

Initially the path and fullpath were wrong, after some tests on WRT
we solve this problem. This patch also fixes exceptions in general.

Example:
          _________fullPath_________
         |                          |
__kPath__________path__________name_
|        |                  |       |
/opt/usr/documents/parentdir/file.txt
|______________realPath_____________|

obs: just in the realpath, the first char of the virtual root dir
name is uppercase. (Documents, Downloads etc)

virtual root dir (documents):
   path:     documents
   fullPath: documents
   name:     ""
   realpath: /opt/usr/Documents

parentdir:
   path:     documents/
   fullPath: documents/parentdir
   name:     parentdir
   realpath: /opt/usr/Documents/parentdir

file.txt:
   path: documents/parentdir/
   fullPath: documents/parentdir/file.txt
   name: file.txt
   realpath: /opt/usr/Documents/parentdir/file.txt

10 years ago[Bluetooth] API expects stopDiscovery to always work
Vinicius Costa Gomes [Fri, 25 Oct 2013 21:28:25 +0000 (19:28 -0200)]
[Bluetooth] API expects stopDiscovery to always work

Even if there's no active discovery session (the most common case
of error during this call), the API expects this to work, so we avoid
sending any error.

10 years ago[Bluetooth] Add Adapter.setChangeListener and .unsetChangeListener
Vinicius Costa Gomes [Fri, 25 Oct 2013 21:18:34 +0000 (19:18 -0200)]
[Bluetooth] Add Adapter.setChangeListener and .unsetChangeListener

The C++ side of the extension already notifies the JS side of any changes
that changes in the adapter, it is just a matter of notifying the change.

10 years ago[Bluetooth] Add a way to validate more parameters
Vinicius Costa Gomes [Fri, 25 Oct 2013 21:15:40 +0000 (19:15 -0200)]
[Bluetooth] Add a way to validate more parameters

In many cases, an parameter with type 'object' is passed, and this
object is expected to have some parameters. We should be able to
verify that this object has the correct type of attributes.

Also add a simple Bluetooth address validator, using a simple regular
expression.

10 years ago[Common] Fix mistype on IO_ERR name
Ricardo de Almeida Gonzaga [Tue, 22 Oct 2013 16:46:33 +0000 (14:46 -0200)]
[Common] Fix mistype on IO_ERR name

10 years ago[SystemInfo] Use new C++ wrapper in common/extension.h
yangruiintel [Fri, 25 Oct 2013 01:16:24 +0000 (09:16 +0800)]
[SystemInfo] Use new C++ wrapper in common/extension.h

common::Extension and common::Instance are designed to replace ExtensionAdapater.
This commit change SystemInfo implementation to use the new wapper

10 years agoBump version to 0.10
Crosswalk Release Engineering [Thu, 24 Oct 2013 22:03:01 +0000 (22:03 +0000)]
Bump version to 0.10

10 years agoMerge pull request #218 from YuZhiqiangX/master
Leandro A. F. Pereira [Thu, 24 Oct 2013 13:26:39 +0000 (06:26 -0700)]
Merge pull request #218 from YuZhiqiangX/master

 [SystemInfo][Display] Correct DPI property wrong type

10 years ago[SystemInfo][Display] Correct DPI property wrong type
YuZhiqiangX [Thu, 24 Oct 2013 07:16:54 +0000 (15:16 +0800)]
[SystemInfo][Display] Correct DPI property wrong type

The Tizen SystemInfo spec require dotsPerInchWidth and dotsPerInchHeigth as unsigned long, while
it were double that returned. This cause tct-systeminfo-tizen-tests case 173 and case 184 fail.

The fix is simply to convert the value to unsigned long before sending.

10 years agoMerge pull request #221 from cmarcelo/small-cleanups
cmarcelo [Thu, 24 Oct 2013 11:44:33 +0000 (04:44 -0700)]
Merge pull request #221 from cmarcelo/small-cleanups

Small cleanups

10 years ago[Bookmark] Remove old debug output
Caio Marcelo de Oliveira Filho [Thu, 24 Oct 2013 11:32:39 +0000 (09:32 -0200)]
[Bookmark] Remove old debug output

10 years ago[SystemInfo] Fix coding style
Caio Marcelo de Oliveira Filho [Thu, 24 Oct 2013 11:31:47 +0000 (09:31 -0200)]
[SystemInfo] Fix coding style

10 years agoMerge pull request #219 from cmarcelo/entry-points
cmarcelo [Thu, 24 Oct 2013 11:17:07 +0000 (04:17 -0700)]
Merge pull request #219 from cmarcelo/entry-points

Add entry point information for extensions

10 years agoAdd entry point information for extensions using old adapter
Caio Marcelo de Oliveira Filho [Wed, 23 Oct 2013 21:02:36 +0000 (19:02 -0200)]
Add entry point information for extensions using old adapter

Entry point information is used by Crosswalk to know what symbols
can trigger the load of the extension, in case it decides to load on
demand. The extension name is implicitly an entry point, so we just
set the extra entry points.

This should cause no changes if the Crosswalk doesn't support the
interface for setting entry points yet -- like Crosswalk 1.

10 years agoAdd entry point information for extensions using new C++ wrapper
Caio Marcelo de Oliveira Filho [Wed, 23 Oct 2013 21:00:24 +0000 (19:00 -0200)]
Add entry point information for extensions using new C++ wrapper

Entry point information is used by Crosswalk to know what symbols
can trigger the load of the extension, in case it decides to load on
demand. The extension name is implicitly an entry point, so we just
set the extra entry points.

This should cause no changes if the Crosswalk doesn't support the
interface for setting entry points yet -- like Crosswalk 1.

10 years agoAdd XW_Extension_EntryPoints.h
Caio Marcelo de Oliveira Filho [Wed, 23 Oct 2013 16:29:52 +0000 (14:29 -0200)]
Add XW_Extension_EntryPoints.h

This defines an internal interface in Crosswalk to setup "entry points"
of the API, so that Crosswalk can load the JS API on demand.

For example, 'tizen.time' will be loaded when the web content tries to
access 'tizen.time' in JS, but also when the web content tries to access
'tizen.TZDate'. This extra symbols are the entry points.

10 years agoMerge pull request #207 from Ryan--Yang/master
Leandro A. F. Pereira [Wed, 23 Oct 2013 12:59:38 +0000 (05:59 -0700)]
Merge pull request #207 from Ryan--Yang/master

[SystemInfo] Decouple SystemInfoContext with the multiple system info sub classes

10 years ago[SystemInfo] Decouple SystemInfoContext with the multiple system info sub classes
yangruiintel [Wed, 9 Oct 2013 00:48:54 +0000 (08:48 +0800)]
[SystemInfo] Decouple SystemInfoContext with the multiple system info sub classes

10 years agoBump version to 0.9
Crosswalk Release Engineering [Tue, 22 Oct 2013 22:02:52 +0000 (22:02 +0000)]
Bump version to 0.9

10 years agoMerge pull request #217 from cmarcelo/fix-desktop
Leandro A. F. Pereira [Tue, 22 Oct 2013 21:23:20 +0000 (14:23 -0700)]
Merge pull request #217 from cmarcelo/fix-desktop

[Bookmark] Fix compilation for Desktop

10 years agoFix compilation for Desktop
Caio Marcelo de Oliveira Filho [Tue, 22 Oct 2013 21:21:06 +0000 (19:21 -0200)]
Fix compilation for Desktop

Bookmark is implemented for Mobile only and the function access() is
defined in unistd.h.

10 years agoMerge pull request #216 from ricardotk/wip
Jesus Sanchez-Palencia [Mon, 21 Oct 2013 19:29:55 +0000 (12:29 -0700)]
Merge pull request #216 from ricardotk/wip

[Bookmark] Fix coding style

10 years ago[Bookmark] Fix coding style
Ricardo de Almeida Gonzaga [Mon, 21 Oct 2013 19:22:36 +0000 (17:22 -0200)]
[Bookmark] Fix coding style

10 years agoMerge pull request #214 from cmarcelo/time-new-c++-wrapper
cmarcelo [Mon, 21 Oct 2013 18:39:44 +0000 (11:39 -0700)]
Merge pull request #214 from cmarcelo/time-new-c++-wrapper

[Time] Use new C++ wrapper in common/

10 years agoMerge pull request #215 from cmarcelo/system-setting-new-c++-wrapper
Leandro A. F. Pereira [Mon, 21 Oct 2013 18:19:56 +0000 (11:19 -0700)]
Merge pull request #215 from cmarcelo/system-setting-new-c++-wrapper

[SystemSetting] Use new C++ wrapper in common/

10 years ago[SystemSetting] Use new C++ wrapper in common/
Caio Marcelo de Oliveira Filho [Mon, 21 Oct 2013 17:42:21 +0000 (15:42 -0200)]
[SystemSetting] Use new C++ wrapper in common/

10 years agoMerge pull request #209 from tmpsantos/add_route
cmarcelo [Mon, 21 Oct 2013 17:27:41 +0000 (10:27 -0700)]
Merge pull request #209 from tmpsantos/add_route

[NetworkBearer] Implement the Request and Release route backend

10 years ago[Time] Use new C++ wrapper in common/
Caio Marcelo de Oliveira Filho [Mon, 21 Oct 2013 17:15:20 +0000 (15:15 -0200)]
[Time] Use new C++ wrapper in common/

10 years agoMerge pull request #210 from ricardotk/wip
Leandro A. F. Pereira [Mon, 21 Oct 2013 16:00:12 +0000 (09:00 -0700)]
Merge pull request #210 from ricardotk/wip

[Bookmark] Add BookmarkProvider

10 years ago[Bookmark] Add BookmarkProvider
Ricardo de Almeida Gonzaga [Wed, 9 Oct 2013 18:10:50 +0000 (15:10 -0300)]
[Bookmark] Add BookmarkProvider

This BookmarkProvider provides the native bookmark operations.

35/36 of the tct tests are passing. We can assume that is 100%, because
the only test not passing is related to tizen.bookmark being read-only.
This object is created by Crosswalk extension system, and fix will be
done there.

11 years agoBump version to 0.8
Crosswalk Release Engineering [Thu, 17 Oct 2013 22:03:24 +0000 (22:03 +0000)]
Bump version to 0.8

11 years agoMerge pull request #213 from ricardotk/wip2
Leandro A. F. Pereira [Wed, 16 Oct 2013 14:16:08 +0000 (07:16 -0700)]
Merge pull request #213 from ricardotk/wip2

[Time] Truncate TimeDuration length attribute to integer

11 years ago[Time] Truncate TimeDuration length attribute to integer
Ricardo de Almeida Gonzaga [Mon, 14 Oct 2013 17:50:40 +0000 (14:50 -0300)]
[Time] Truncate TimeDuration length attribute to integer

TimeDuration length attribute in IDL is long long type, it means
that we can accept only integer lengths.

We now use Math.floor() on the length attribute to truncate it.

This patch fixes the TZDate_addDuration_invalidLength TCT test.

Example:

   foo = new tizen.TimeDuration(4.5, "HOURS");

   4.5 -> 4

11 years ago[Time] Fix TimeDuration attributes
Ricardo de Almeida Gonzaga [Mon, 14 Oct 2013 19:41:01 +0000 (16:41 -0300)]
[Time] Fix TimeDuration attributes

Object.defineProperty was calling length parameter instead of
length attribute.

11 years agoBump version to 0.7
Crosswalk Release Engineering [Tue, 15 Oct 2013 22:02:42 +0000 (22:02 +0000)]
Bump version to 0.7

11 years agoMerge pull request #212 from deqing/fix-get-path
Kenneth Rohde Christiansen [Mon, 14 Oct 2013 09:57:41 +0000 (02:57 -0700)]
Merge pull request #212 from deqing/fix-get-path

[download] Fix get path function

11 years ago[download] Fix get path function
Deqing Huang [Mon, 14 Oct 2013 06:55:08 +0000 (14:55 +0800)]
[download] Fix get path function

By this the correct path is returned when it is already exists.

11 years agoBump version to 0.6
Crosswalk Release Engineering [Sat, 12 Oct 2013 16:09:19 +0000 (16:09 +0000)]
Bump version to 0.6

11 years ago[NetworkBearer] Implement the "release route" functionality
Thiago Marcos P. Santos [Thu, 10 Oct 2013 10:24:40 +0000 (13:24 +0300)]
[NetworkBearer] Implement the "release route" functionality

Tizen runtime implements the "release route" by simply
disconnecting the network interface. We are doing the same here for
compatibility, but it is obviously wrong.

11 years ago[NetworkBearer] Implement the "request route" functionality
Thiago Marcos P. Santos [Tue, 8 Oct 2013 16:18:48 +0000 (19:18 +0300)]
[NetworkBearer] Implement the "request route" functionality

This is wrong, but it is exactly what the Tizen runtime is doing, so
it was kept for compatibility.

- Routes should not be programmatically defined by the app, it has
  a strong chance of messing with the environment as a whole.
- Allowing apps to do this is probably not safe.
- We add a route just for a single IP, but a hostname might resolve
  to several IPs.

11 years ago[NetworkBearer] Use anonymous namespace instead of static functions
Thiago Marcos P. Santos [Tue, 8 Oct 2013 14:17:22 +0000 (17:17 +0300)]
[NetworkBearer] Use anonymous namespace instead of static functions

Get rid of some C-isms and follow the coding style.

11 years agoMerge pull request #208 from Ryan--Yang/bug-fix
cmarcelo [Thu, 10 Oct 2013 13:10:22 +0000 (06:10 -0700)]
Merge pull request #208 from Ryan--Yang/bug-fix

[SystemInfo] Fixes #128 and also resolves #130, the type mismatch bugs

11 years ago[SystemInfo] Fixes #128 and also resolves #130, the type mismatch bugs
yangruiintel [Wed, 9 Oct 2013 07:49:37 +0000 (15:49 +0800)]
[SystemInfo] Fixes #128 and also resolves #130, the type mismatch bugs

11 years agoMerge pull request #204 from fyraimar/fix_cpu_compilewarning
cmarcelo [Wed, 9 Oct 2013 21:39:06 +0000 (14:39 -0700)]
Merge pull request #204 from fyraimar/fix_cpu_compilewarning

[SystemInfo][Cpu] Fixes #125 for compile warnings

11 years agoMerge pull request #205 from tmpsantos/refactoring
cmarcelo [Wed, 9 Oct 2013 21:38:09 +0000 (14:38 -0700)]
Merge pull request #205 from tmpsantos/refactoring

[NetworkBearer] Handle API methods separately

11 years agoMerge pull request #192 from ricardotk/wip
cmarcelo [Wed, 9 Oct 2013 20:31:11 +0000 (13:31 -0700)]
Merge pull request #192 from ricardotk/wip

[Time] Add and fix features

11 years ago[Time] Properly handle getTimeFormat
Ricardo de Almeida Gonzaga [Wed, 2 Oct 2013 12:57:20 +0000 (21:57 +0900)]
[Time] Properly handle getTimeFormat

11 years ago[Time] Change getDSTTransition return from undefined to null
Ricardo de Almeida Gonzaga [Tue, 1 Oct 2013 19:43:11 +0000 (04:43 +0900)]
[Time] Change getDSTTransition return from undefined to null

Based on the tests:

TZDate_getNextDSTTransition.html
TZDate_getPreviousDSTTransition.html

11 years ago[Time] Add getTimezoneOffset, getTimeWithOffset and fix get/set UTCs
Ricardo de Almeida Gonzaga [Tue, 1 Oct 2013 18:16:58 +0000 (03:16 +0900)]
[Time] Add getTimezoneOffset, getTimeWithOffset and fix get/set UTCs

getTimezoneOffset replaced getTimezoneRawOffset, this new one calculates
the DST offset.

Fix getters and setters of UTCs using getTimeWithOffset.

11 years agoMerge pull request #203 from fyraimar/master
Kenneth Rohde Christiansen [Wed, 9 Oct 2013 08:33:54 +0000 (01:33 -0700)]
Merge pull request #203 from fyraimar/master

[SystemInfo] Get values for getCapabilities() using updated Tizen capi

11 years ago[SystemInfo] Add function ParseBoolean() for getCapabilities()
fyraimar [Wed, 9 Oct 2013 08:47:54 +0000 (16:47 +0800)]
[SystemInfo] Add function ParseBoolean() for getCapabilities()

11 years ago[SystemInfo][Cpu] Fixes #125 for compile warnings
fyraimar [Wed, 9 Oct 2013 05:30:56 +0000 (13:30 +0800)]
[SystemInfo][Cpu] Fixes #125 for compile warnings

11 years ago[SystemInfo] Get values for getCapabilities() using updated Tizen capi
fyraimar [Wed, 9 Oct 2013 01:28:07 +0000 (09:28 +0800)]
[SystemInfo] Get values for getCapabilities() using updated Tizen capi

11 years agoBump version to 0.5
Crosswalk Release Engineering [Tue, 8 Oct 2013 22:03:03 +0000 (22:03 +0000)]
Bump version to 0.5

11 years agoMerge pull request #206 from nagineni/input_validation
Alexis Menard [Tue, 8 Oct 2013 16:59:11 +0000 (09:59 -0700)]
Merge pull request #206 from nagineni/input_validation

[SystemSetting] Fix SystemSetting API failures on tct test siute

11 years ago[SystemSetting] Fix SystemSetting API failures on tct test siute
Sudarsana Nagineni [Tue, 8 Oct 2013 15:22:40 +0000 (18:22 +0300)]
[SystemSetting] Fix SystemSetting API failures on tct test siute

Fix the validation of input parameters and throw the right
error when the invalid values are passed to getProperty()
or setProperty() methods.

Fixes #320.

11 years agoBump version to 0.4
Crosswalk Release Engineering [Tue, 8 Oct 2013 13:57:27 +0000 (13:57 +0000)]
Bump version to 0.4

11 years ago[NetworkBearer] Handle API methods separately
Thiago Marcos P. Santos [Mon, 7 Oct 2013 13:47:15 +0000 (16:47 +0300)]
[NetworkBearer] Handle API methods separately

The previous implementation was trying to share as much as possible code
between the Request and Release methods due to its similarities. It only
made the code more complex and the validation of the input parameters more
difficult.

11 years agoMerge pull request #202 from rakuco/update-increment-version
Raphael Kubo da Costa [Mon, 7 Oct 2013 20:11:49 +0000 (13:11 -0700)]
Merge pull request #202 from rakuco/update-increment-version

increment-version: Bump VERSION too.

11 years agoMerge pull request #201 from vcgomes/bluetooth-fixes
cmarcelo [Mon, 7 Oct 2013 20:09:29 +0000 (13:09 -0700)]
Merge pull request #201 from vcgomes/bluetooth-fixes

Bluetooth fixes (forgotten commit + trivial fixes)

11 years agoincrement-version: Bump VERSION too.
Raphael Kubo da Costa [Mon, 7 Oct 2013 20:04:03 +0000 (23:04 +0300)]
increment-version: Bump VERSION too.

Follow-up to 4fa67be: now that we have a VERSION file here, we should bump
version numbers both in the spec file and VERSION.

11 years agobluetooth: Fix trying to free a NULL value
Vinicius Costa Gomes [Mon, 7 Oct 2013 19:08:57 +0000 (16:08 -0300)]
bluetooth: Fix trying to free a NULL value

If the AddServiceRecord call failed, result is NULL and we should not
try to free it.

11 years agobluetooth: Fix wrong parameter passed to a new BluetoothSocket
Vinicius Costa Gomes [Fri, 4 Oct 2013 22:57:38 +0000 (19:57 -0300)]
bluetooth: Fix wrong parameter passed to a new BluetoothSocket

The BluetoothSocketState "enum" should be directly referenced.

11 years agobluetooth: Handle the SocketWriteData message
Vinicius Costa Gomes [Fri, 4 Oct 2013 22:57:12 +0000 (19:57 -0300)]
bluetooth: Handle the SocketWriteData message

This API is already present on the JS side, but it was missing from the
Extension side of things.

11 years agoMerge pull request #200 from rakuco/add-VERSION
Raphael Kubo da Costa [Mon, 7 Oct 2013 17:53:50 +0000 (10:53 -0700)]
Merge pull request #200 from rakuco/add-VERSION

Add a VERSION file.

11 years agoAdd a VERSION file.
Raphael Kubo da Costa [Mon, 7 Oct 2013 17:42:17 +0000 (20:42 +0300)]
Add a VERSION file.

It works the same way the one in crosswalk does: it represent's the current
version number, with MAJOR and MINOR numbers in different lines.

There is no use for it in-tree at the moment, but it is useful for the build
infrastructure to have it around.

11 years agoMerge pull request #199 from cmarcelo/power-fixes
cmarcelo [Mon, 7 Oct 2013 12:42:38 +0000 (05:42 -0700)]
Merge pull request #199 from cmarcelo/power-fixes

[Power] Reduce message exchange at initialization, as well as unneeded messages

11 years ago[Power] Send change events only if there's someone listening
Caio Marcelo de Oliveira Filho [Fri, 4 Oct 2013 15:36:46 +0000 (12:36 -0300)]
[Power] Send change events only if there's someone listening

Add a new message SetListenToScreenStateChange, from JS to native, that
will be used to tell native that we have a listener. This patch also
ensures that we have a proper value to be used as "old state", by
getting the value at time of listener registration.

One consequence is that after this patch, tizen.power code is not called
at all unless the page uses tizen.power features.

This patch should reduce a lot the errors related to invalid sync
messages, they were caused mostly by those setup messages when running
tests that loaded pages repeatedly.

11 years ago[Power] Lazily fill defaultScreenBrightness
Caio Marcelo de Oliveira Filho [Fri, 4 Oct 2013 15:22:53 +0000 (12:22 -0300)]
[Power] Lazily fill defaultScreenBrightness

This avoids all the tests sending a sync message to PowerInstance
without need. It is also a good practice to not do blocking work during
initialization if that could be avoided.

11 years ago[Power] Keep only one listener
Caio Marcelo de Oliveira Filho [Fri, 4 Oct 2013 15:01:54 +0000 (12:01 -0300)]
[Power] Keep only one listener

Keeping a list is confusing since we don't really support multiple
listeners. Also done some JS cleanup. This shouldn't change the
behavior.

11 years agoMerge pull request #197 from cmarcelo/power-event-source
cmarcelo [Mon, 7 Oct 2013 12:17:48 +0000 (05:17 -0700)]
Merge pull request #197 from cmarcelo/power-event-source

[Power] Share state changed callback between instances

11 years agoMerge pull request #198 from darktears/power-style-fixes
cmarcelo [Fri, 4 Oct 2013 17:50:14 +0000 (10:50 -0700)]
Merge pull request #198 from darktears/power-style-fixes

[Power] Fix JS style.

11 years ago[Power] Fix JS style.
Alexis Menard [Fri, 4 Oct 2013 17:31:14 +0000 (10:31 -0700)]
[Power] Fix JS style.

Yet another style fix.

11 years ago[Power] Share state changed callback between instances
Caio Marcelo de Oliveira Filho [Fri, 4 Oct 2013 13:22:55 +0000 (10:22 -0300)]
[Power] Share state changed callback between instances

The power.h library in Tizen only allows one callback for tracking state
changes, so we make this tracking for the extension, since we can have
multiple instances. Instances now add (and remove) themselves to
PowerEventSource.

11 years agoMerge pull request #196 from rakuco/add-increment-version
Raphael Kubo da Costa [Fri, 4 Oct 2013 15:14:13 +0000 (08:14 -0700)]
Merge pull request #196 from rakuco/add-increment-version

[Tools] Add tools/increment-version.py.

11 years ago[Tools] Add tools/increment-version.py.
Raphael Kubo da Costa [Fri, 4 Oct 2013 15:04:14 +0000 (18:04 +0300)]
[Tools] Add tools/increment-version.py.

This is a fork of the tool with the same name present in the crosswalk
repository. It increments the version number for canaries (and other release
types in the future), and is called primarily by the canary building
infrastructure.

11 years agoMerge pull request #195 from cmarcelo/bluetooth-warning-fix
cmarcelo [Thu, 3 Oct 2013 21:52:57 +0000 (14:52 -0700)]
Merge pull request #195 from cmarcelo/bluetooth-warning-fix

[Bluetooth] Correct fix to warning :P

11 years ago[Bluetooth] Correct fix to warning :P
Caio Marcelo de Oliveira Filho [Thu, 3 Oct 2013 21:22:52 +0000 (18:22 -0300)]
[Bluetooth] Correct fix to warning :P

11 years agoMerge pull request #193 from cmarcelo/bluetooth-style
cmarcelo [Thu, 3 Oct 2013 20:52:23 +0000 (13:52 -0700)]
Merge pull request #193 from cmarcelo/bluetooth-style

Bluetooth style