platform/framework/web/crosswalk-tizen.git
8 years agoAdd contributing guide
Plusb Preco [Fri, 4 Dec 2015 01:06:25 +0000 (10:06 +0900)]
Add contributing guide

[ci skip]

8 years agoUpdate as upstream
Plusb Preco [Thu, 3 Dec 2015 22:54:09 +0000 (07:54 +0900)]
Update as upstream

[ci skip]

8 years agoUpdate as upstream
Plusb Preco [Wed, 2 Dec 2015 15:21:34 +0000 (00:21 +0900)]
Update as upstream

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Wed, 2 Dec 2015 15:21:28 +0000 (00:21 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoMerge pull request #3660 from atom/tray-custom-menu
Cheng Zhao [Wed, 2 Dec 2015 12:55:02 +0000 (20:55 +0800)]
Merge pull request #3660 from atom/tray-custom-menu

Add `menu` parameter for Tray.popUpContextMenu

8 years agoMerge pull request #3659 from lukeapage/patch-1
Cheng Zhao [Wed, 2 Dec 2015 11:59:43 +0000 (19:59 +0800)]
Merge pull request #3659 from lukeapage/patch-1

Update debugging-main-process.md

8 years agowin: Implement menu parameter
Cheng Zhao [Wed, 2 Dec 2015 11:58:10 +0000 (19:58 +0800)]
win: Implement menu parameter

8 years agomac: Implement menu parameter
Cheng Zhao [Wed, 2 Dec 2015 11:05:22 +0000 (19:05 +0800)]
mac: Implement menu parameter

8 years agoAdd `menu` parameter for Tray.popUpContextMenu
Cheng Zhao [Wed, 2 Dec 2015 10:43:11 +0000 (18:43 +0800)]
Add `menu` parameter for Tray.popUpContextMenu

8 years agoUpdate debugging-main-process.md
Luke Page [Wed, 2 Dec 2015 10:23:21 +0000 (10:23 +0000)]
Update debugging-main-process.md

8 years agoDeprecating a property with method of same name causes trouble
Cheng Zhao [Wed, 2 Dec 2015 09:29:58 +0000 (17:29 +0800)]
Deprecating a property with method of same name causes trouble

Close #3511.

8 years agoMake sure temp file will be cleaned up when base::Move fails
Cheng Zhao [Wed, 2 Dec 2015 03:36:29 +0000 (11:36 +0800)]
Make sure temp file will be cleaned up when base::Move fails

8 years agoDon't call Move if there is no need to move
Cheng Zhao [Wed, 2 Dec 2015 03:04:47 +0000 (11:04 +0800)]
Don't call Move if there is no need to move

8 years agospec: Fix failing tests on win32
Cheng Zhao [Wed, 2 Dec 2015 03:00:28 +0000 (11:00 +0800)]
spec: Fix failing tests on win32

8 years agoMerge pull request #3648 from jviotti/jviotti/fix/exec-file-asar-bat
Cheng Zhao [Wed, 2 Dec 2015 02:45:24 +0000 (10:45 +0800)]
Merge pull request #3648 from jviotti/jviotti/fix/exec-file-asar-bat

:checkered_flag: Preserve file extension when extracting from asar

8 years agoMerge pull request #3650 from arturts/patch-5
Cheng Zhao [Wed, 2 Dec 2015 02:21:10 +0000 (10:21 +0800)]
Merge pull request #3650 from arturts/patch-5

:memo: [ci skip] Update to match english docs, fix typos

8 years agoMerge pull request #3649 from arturts/pt-BR-auto-updater
Cheng Zhao [Wed, 2 Dec 2015 02:20:58 +0000 (10:20 +0800)]
Merge pull request #3649 from arturts/pt-BR-auto-updater

:memo: [ci skip] Add translation to auto-updater, change links

8 years ago:memo: [ci skip] fix more typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:57:07 +0000 (21:57 -0200)]
:memo: [ci skip] fix more typos

8 years ago:memo: [ci skip] fix typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:46:13 +0000 (21:46 -0200)]
:memo: [ci skip] fix typos

8 years agoChange header
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:38:25 +0000 (21:38 -0200)]
Change header

8 years ago:memo: [ci skip] Update to match english docs, fix typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:34:35 +0000 (21:34 -0200)]
:memo: [ci skip] Update to match english docs, fix typos

8 years ago:memo: [ci skip] Add translation to auto-updater, change links
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:09:20 +0000 (21:09 -0200)]
:memo: [ci skip] Add translation to auto-updater, change links

8 years ago:checkered_flag: Preserve file extension when extracting from asar
Juan Cruz Viotti [Tue, 1 Dec 2015 15:57:32 +0000 (11:57 -0400)]
:checkered_flag: Preserve file extension when extracting from asar

Currently, when calling `copyFileOut`, the original extension from the
file is lost, and a generic `*.tmp` is added instead.

This becomes problematic in the scenario where we use
`child_process.execFile` on a Windows Batch script that lives inside the
`asar` package.

Windows relies on the extension being present in order to interpret the
script accordingly, which results in the following bug because the
operating system doesn't know what do to with this `*.tmp` file:

```
Error: spawn UNKNOWN
```

Steps to reproduce:

1. Create a dummy batch script (test.bat):

```
@echo off
echo "Hello world"
```

2. Create an electron app that attemps to call this script with
`child_process.execFile`:

```js
var child_process = require('child_process');
var path = require('path');

child_process.execFile(path.join(__dirname, 'test.bat'), function(error, stdout) {
    if (error) throw error;
    console.log(stdout);
});
```

3. Package this small application as an asar archive:

```sh
> asar pack mytestapp app.asar
```

4. Execute the application:

```sh
> electron.exe app.asar
```

8 years agoMerge pull request #3645 from atom/fix-page-title-set
Cheng Zhao [Tue, 1 Dec 2015 11:12:34 +0000 (19:12 +0800)]
Merge pull request #3645 from atom/fix-page-title-set

Delay the page-title-updated event to next tick

8 years agoDeprecate the page-title-set event
Cheng Zhao [Tue, 1 Dec 2015 10:50:56 +0000 (18:50 +0800)]
Deprecate the page-title-set event

We have two names for the same event, page-title-updated wins.

8 years agoDelay the page-title-set event to next tick
Cheng Zhao [Tue, 1 Dec 2015 10:34:58 +0000 (18:34 +0800)]
Delay the page-title-set event to next tick

8 years agoEmit event when title becomes empty
Cheng Zhao [Tue, 1 Dec 2015 09:52:13 +0000 (17:52 +0800)]
Emit event when title becomes empty

8 years agoNo need to override TitleWasSet in NativeWindow
Cheng Zhao [Tue, 1 Dec 2015 09:51:09 +0000 (17:51 +0800)]
No need to override TitleWasSet in NativeWindow

8 years agoMerge pull request #3643 from atom/fix-did-fail-load-crash
Cheng Zhao [Tue, 1 Dec 2015 09:19:52 +0000 (17:19 +0800)]
Merge pull request #3643 from atom/fix-did-fail-load-crash

Delay the did-fail-provisional-load event to next tick

8 years agoDelay the did-fail-provisional-load event to next tick
Cheng Zhao [Tue, 1 Dec 2015 08:55:52 +0000 (16:55 +0800)]
Delay the did-fail-provisional-load event to next tick

Chrome is doing some stuff after the DidFailProvisionalLoad event, if we
call LoadURL at this time crash would happen.

8 years agoPut common constants in atom_constants
Cheng Zhao [Tue, 1 Dec 2015 08:21:15 +0000 (16:21 +0800)]
Put common constants in atom_constants

8 years agoMerge pull request #3641 from atom/process-no-asar
Cheng Zhao [Tue, 1 Dec 2015 06:40:37 +0000 (14:40 +0800)]
Merge pull request #3641 from atom/process-no-asar

Add process.noAsar to toggle asar support

8 years agodocs: process.noAsar
Cheng Zhao [Tue, 1 Dec 2015 05:43:52 +0000 (13:43 +0800)]
docs: process.noAsar

8 years agospec: process.noAsar
Cheng Zhao [Tue, 1 Dec 2015 05:09:50 +0000 (13:09 +0800)]
spec: process.noAsar

8 years agoAdd process.noAsar to turn off asar support
Cheng Zhao [Tue, 1 Dec 2015 05:09:37 +0000 (13:09 +0800)]
Add process.noAsar to turn off asar support

8 years agoMerge pull request #3567 from atom/cors
Cheng Zhao [Tue, 1 Dec 2015 04:43:38 +0000 (12:43 +0800)]
Merge pull request #3567 from atom/cors

Enable all origins via CORS header for custom schemes

8 years agoLint harder
Paul Betts [Tue, 1 Dec 2015 02:12:00 +0000 (18:12 -0800)]
Lint harder

8 years agoMerge pull request #3638 from arturts/pt-br-translation
Cheng Zhao [Tue, 1 Dec 2015 02:06:55 +0000 (10:06 +0800)]
Merge pull request #3638 from arturts/pt-br-translation

:memo: [ci skip] Add translation to app.md

8 years agoMerge pull request #3636 from arturts/patch-4
Cheng Zhao [Tue, 1 Dec 2015 02:06:38 +0000 (10:06 +0800)]
Merge pull request #3636 from arturts/patch-4

:memo: [ci skip] Update to match english docs.

8 years agoMerge pull request #3635 from arturts/patch-3
Cheng Zhao [Tue, 1 Dec 2015 02:06:13 +0000 (10:06 +0800)]
Merge pull request #3635 from arturts/patch-3

:memo: [ci skip] Fix typos

8 years ago:memo: [ci skip] Add translation to app.md
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 23:56:19 +0000 (21:56 -0200)]
:memo: [ci skip] Add translation to app.md

8 years ago:memo: [ci skip] Update to match english docs.
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 21:43:19 +0000 (19:43 -0200)]
:memo: [ci skip] Update to match english docs.

8 years ago:memo: [ci skip] Fix typos
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 21:14:33 +0000 (19:14 -0200)]
:memo: [ci skip] Fix typos

8 years agoLinting
Paul Betts [Mon, 30 Nov 2015 19:08:22 +0000 (11:08 -0800)]
Linting

8 years agoAdd tests to verify behavior
Paul Betts [Wed, 25 Nov 2015 23:20:50 +0000 (15:20 -0800)]
Add tests to verify behavior

8 years agoAdd CORS header to file jobs
Paul Betts [Wed, 25 Nov 2015 23:00:47 +0000 (15:00 -0800)]
Add CORS header to file jobs

8 years agoFix CORS header code to be cleaner
Paul Betts [Wed, 25 Nov 2015 23:00:34 +0000 (15:00 -0800)]
Fix CORS header code to be cleaner

8 years agoEnable all origins via CORS header for custom schemes
Paul Betts [Tue, 24 Nov 2015 07:29:49 +0000 (23:29 -0800)]
Enable all origins via CORS header for custom schemes

This PR disables CORS for custom schemes, which allows you to serve Font
resources from custom schemes after using registerCustomSchemeAsSecure

8 years agoMerge pull request #3634 from atom/fix-crash-on-exit
Cheng Zhao [Mon, 30 Nov 2015 14:40:48 +0000 (22:40 +0800)]
Merge pull request #3634 from atom/fix-crash-on-exit

Delete BridgeTaskRunner when main message loop is ready

8 years agoDelete BridgeTaskRunner when main message loop is ready
Cheng Zhao [Mon, 30 Nov 2015 14:29:01 +0000 (22:29 +0800)]
Delete BridgeTaskRunner when main message loop is ready

8 years agoMerge pull request #3628 from lovemyliwu/patch-1
Cheng Zhao [Mon, 30 Nov 2015 10:26:04 +0000 (18:26 +0800)]
Merge pull request #3628 from lovemyliwu/patch-1

:art: add miss charactor

8 years ago:art: add miss charactor
Smite Chow [Mon, 30 Nov 2015 09:16:35 +0000 (17:16 +0800)]
:art: add miss charactor

8 years agoUpdate as upstream
Plusb Preco [Mon, 30 Nov 2015 08:24:43 +0000 (17:24 +0900)]
Update as upstream

8 years agoMerge pull request #3626 from arturts/patch-2
Cheng Zhao [Mon, 30 Nov 2015 08:01:05 +0000 (16:01 +0800)]
Merge pull request #3626 from arturts/patch-2

Update 'Estilo de código' link.

8 years agoMerge pull request #3625 from arturts/patch-1
Cheng Zhao [Mon, 30 Nov 2015 08:01:01 +0000 (16:01 +0800)]
Merge pull request #3625 from arturts/patch-1

Remove 'Google Translator'-like translation

8 years agoMerge pull request #3622 from atom/wl-docs-skip-ci
Cheng Zhao [Mon, 30 Nov 2015 07:33:49 +0000 (15:33 +0800)]
Merge pull request #3622 from atom/wl-docs-skip-ci

Suggest [ci skip] in documentation-only commits

8 years agodocs: Mention submitting to MAC costs money
Cheng Zhao [Mon, 30 Nov 2015 07:21:39 +0000 (15:21 +0800)]
docs: Mention submitting to MAC costs money

Close #3617.

8 years agoMerge pull request #3618 from preco21/master
Cheng Zhao [Mon, 30 Nov 2015 07:01:08 +0000 (15:01 +0800)]
Merge pull request #3618 from preco21/master

Update as upstream

8 years agoMerge pull request #3616 from leftstick/master
Cheng Zhao [Mon, 30 Nov 2015 07:00:33 +0000 (15:00 +0800)]
Merge pull request #3616 from leftstick/master

add packaging translation for ZH-CN

8 years agoMerge pull request #3612 from gunmetal313/translate_to_ru
Cheng Zhao [Mon, 30 Nov 2015 06:57:16 +0000 (14:57 +0800)]
Merge pull request #3612 from gunmetal313/translate_to_ru

init russian lang docs

8 years agoUpdate 'Estilo de código' link.
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 01:25:16 +0000 (23:25 -0200)]
Update 'Estilo de código' link.

'Estilo de código' in 'Desenvolvimento' section now points to the translated coding-style.md

8 years agoRemove 'Google Translator'-like translation
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 00:56:34 +0000 (22:56 -0200)]
Remove 'Google Translator'-like translation

8 years agoMerge pull request #3621 from lukewestby/patch-1
Paul Betts [Sun, 29 Nov 2015 23:33:55 +0000 (15:33 -0800)]
Merge pull request #3621 from lukewestby/patch-1

fix misspelling in "rotation" string

8 years agoWrap [ci skip] in backticks
Wliu [Sun, 29 Nov 2015 19:57:48 +0000 (14:57 -0500)]
Wrap [ci skip] in backticks

8 years agoSuggest [ci skip] in documentation-only commits
Wliu [Sun, 29 Nov 2015 19:04:57 +0000 (14:04 -0500)]
Suggest [ci skip] in documentation-only commits

8 years agofix typo in "rotation" string
Luke Westby [Sun, 29 Nov 2015 18:22:53 +0000 (12:22 -0600)]
fix typo in "rotation" string

8 years agoSmall fixes
Plusb Preco [Sun, 29 Nov 2015 14:06:01 +0000 (23:06 +0900)]
Small fixes

8 years agoUpdate as upstream
Plusb Preco [Sun, 29 Nov 2015 14:03:31 +0000 (23:03 +0900)]
Update as upstream

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Sun, 29 Nov 2015 09:46:01 +0000 (18:46 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoadd packaging translation for ZH-CN
howard.zuo [Sun, 29 Nov 2015 04:14:49 +0000 (12:14 +0800)]
add packaging translation for ZH-CN

8 years agoinit russian lang docs
Ivan Kulikov [Fri, 27 Nov 2015 19:32:45 +0000 (22:32 +0300)]
init russian lang docs

8 years agoBump v0.35.2
Cheng Zhao [Fri, 27 Nov 2015 14:23:19 +0000 (22:23 +0800)]
Bump v0.35.2

8 years agoMerge pull request #3608 from atom/cp-execfile
Cheng Zhao [Fri, 27 Nov 2015 14:21:33 +0000 (22:21 +0800)]
Merge pull request #3608 from atom/cp-execfile

Add docs and tests for child_process.execFile

8 years agoAdd executable permission in CopyFileOut
Cheng Zhao [Fri, 27 Nov 2015 14:06:37 +0000 (22:06 +0800)]
Add executable permission in CopyFileOut

8 years agospec: Test execFile and execFileSync
Cheng Zhao [Fri, 27 Nov 2015 13:38:43 +0000 (21:38 +0800)]
spec: Test execFile and execFileSync

8 years agodocs: Add notes on spawn and exec
Cheng Zhao [Fri, 27 Nov 2015 13:29:31 +0000 (21:29 +0800)]
docs: Add notes on spawn and exec

8 years agoMerge pull request #3604 from niedzielski/patch-2
Cheng Zhao [Fri, 27 Nov 2015 10:39:11 +0000 (18:39 +0800)]
Merge pull request #3604 from niedzielski/patch-2

Update docs for webContents.addWorkSpace

8 years agoMerge pull request #3603 from niedzielski/patch-1
Cheng Zhao [Fri, 27 Nov 2015 10:38:39 +0000 (18:38 +0800)]
Merge pull request #3603 from niedzielski/patch-1

Update docs for globalShortcut.register

8 years agoMerge pull request #3606 from preco21/master
Cheng Zhao [Fri, 27 Nov 2015 10:38:13 +0000 (18:38 +0800)]
Merge pull request #3606 from preco21/master

Update as upstream

8 years agoUpdate as upstream
Plusb Preco [Fri, 27 Nov 2015 08:28:09 +0000 (17:28 +0900)]
Update as upstream

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Fri, 27 Nov 2015 08:27:58 +0000 (17:27 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoUpdate docs for webContents.addWorkSpace
Stephen Niedzielski [Fri, 27 Nov 2015 06:16:00 +0000 (23:16 -0700)]
Update docs for webContents.addWorkSpace

Specify that webContents.addWorkSpace cannot be called before DevTools
creation and include example.

Fix: #3536

8 years agoUpdate docs for globalShortcut.register
Stephen Niedzielski [Fri, 27 Nov 2015 05:35:22 +0000 (22:35 -0700)]
Update docs for globalShortcut.register

Document return value for globalShortcut.register and common failure scenario.

Fix: #3600

8 years agoMerge pull request #3595 from jviotti/jviotti/fix/3512/execFile-override-exec-permissions
Cheng Zhao [Fri, 27 Nov 2015 03:39:45 +0000 (11:39 +0800)]
Merge pull request #3595 from jviotti/jviotti/fix/3512/execFile-override-exec-permissions

:bug: Fix missing execution permission bit in execFile override

8 years ago:bug: Fix missing execution permission bit in execFile override
Juan Cruz Viotti [Thu, 26 Nov 2015 12:48:47 +0000 (08:48 -0400)]
:bug: Fix missing execution permission bit in execFile override

Consider an electron application that uses `execFile` to run a script
that lives within the application code base:

```coffee
child_process = require 'child_process'
child_process.execFile __dirname + '/script.sh', (error) ->
  throw error if error?
```

An application like this will fail when being packaged in an `asar` with
an following error:

```
Error: spawn EACCES
```

Electron overrides certain `fs` functions to make them work within an
`asar` package. In the case of `execFile`, the file to be executed is
extracted from the `asar` package into a temporary file and ran from
there.

The problem is that during the extraction, the original permissions of
the file are lost.

We workaround this by:

1. Extending `asar.stat` to return whether a file is executable or not,
  which is information that's already saved in the `asar` header.

2. Setting execution permissions on the extracted file if the above
  property holds true.

Fixes: https://github.com/atom/electron/issues/3512

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Fri, 27 Nov 2015 03:19:47 +0000 (12:19 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoFix wrong deprecation wrappers of BrowserWindow
Cheng Zhao [Fri, 27 Nov 2015 02:30:51 +0000 (10:30 +0800)]
Fix wrong deprecation wrappers of BrowserWindow

8 years agoMerge pull request #3594 from atom/public-env
Cheng Zhao [Thu, 26 Nov 2015 13:51:35 +0000 (21:51 +0800)]
Merge pull request #3594 from atom/public-env

Add ELECTRON_RUN_AS_NODE environment variable

8 years agoAdd ELECTRON_NO_ATTACH_CONSOLE env var
Cheng Zhao [Thu, 26 Nov 2015 13:02:55 +0000 (21:02 +0800)]
Add ELECTRON_NO_ATTACH_CONSOLE env var

Close #1556.

8 years agodocs: Add example
Cheng Zhao [Thu, 26 Nov 2015 12:44:07 +0000 (20:44 +0800)]
docs: Add example

8 years agodocs: Add Environment Variables
Cheng Zhao [Thu, 26 Nov 2015 12:37:48 +0000 (20:37 +0800)]
docs: Add Environment Variables

8 years agoCheck ELECTRON_RUN_AS_NODE env var
Cheng Zhao [Thu, 26 Nov 2015 12:15:35 +0000 (20:15 +0800)]
Check ELECTRON_RUN_AS_NODE env var

8 years agoUpdate brightray for #1369
Cheng Zhao [Thu, 26 Nov 2015 11:10:43 +0000 (19:10 +0800)]
Update brightray for #1369

8 years agoMerge pull request #3590 from vQuagliaro/doc-windows-open-file
Cheng Zhao [Thu, 26 Nov 2015 10:34:12 +0000 (18:34 +0800)]
Merge pull request #3590 from vQuagliaro/doc-windows-open-file

[doc] open-file and open-url events are only available on OS X

8 years ago:memo: open-file and open-url events are only available on OS X
Vincent Quagliaro [Thu, 26 Nov 2015 08:05:02 +0000 (09:05 +0100)]
:memo: open-file and open-url events are only available on OS X

8 years agoMerge pull request #3588 from atom/fix-fullscreen-crash
Cheng Zhao [Thu, 26 Nov 2015 06:10:17 +0000 (14:10 +0800)]
Merge pull request #3588 from atom/fix-fullscreen-crash

Clears the delegate when window is going to be closed

8 years agoFix compatibility with activate-with-no-open-windows event
Cheng Zhao [Thu, 26 Nov 2015 05:57:48 +0000 (13:57 +0800)]
Fix compatibility with activate-with-no-open-windows event

8 years agomac: Clears the delegate when window is going to be closed
Cheng Zhao [Thu, 26 Nov 2015 05:55:59 +0000 (13:55 +0800)]
mac: Clears the delegate when window is going to be closed

Since EL Capitan it is possible that the methods of delegate would get
called after the window has been closed.

Refs atom/atom#9584.

8 years agoMerge pull request #3586 from atom/ipc-fasterer
Cheng Zhao [Thu, 26 Nov 2015 05:15:08 +0000 (13:15 +0800)]
Merge pull request #3586 from atom/ipc-fasterer

Ensure calling webview.send will not block the renderer

8 years agoImprove the deprecation notice for ipc module
Cheng Zhao [Thu, 26 Nov 2015 03:06:56 +0000 (11:06 +0800)]
Improve the deprecation notice for ipc module

Close #3577.