platform/framework/web/crosswalk-tizen.git
8 years agoRemove the need for ProcessSingletonStartupLock
Cheng Zhao [Thu, 22 Oct 2015 09:12:09 +0000 (17:12 +0800)]
Remove the need for ProcessSingletonStartupLock

8 years agoRevert "app.makeSingleInstance is not available on OS X"
Cheng Zhao [Thu, 22 Oct 2015 09:03:18 +0000 (17:03 +0800)]
Revert "app.makeSingleInstance is not available on OS X"

This reverts commit bcb78ebc00e9f04299fd26955b3aa0e97c20a2e4.

8 years agowin: Fix compiler warning
Cheng Zhao [Thu, 22 Oct 2015 08:55:54 +0000 (16:55 +0800)]
win: Fix compiler warning

8 years agoCorrectly handle notification callback when shutting down
Cheng Zhao [Thu, 22 Oct 2015 08:24:35 +0000 (16:24 +0800)]
Correctly handle notification callback when shutting down

When returning false in the notification callback the ProcessSingleton
will assume current process is quitting, we should met its expectation.

8 years agoFix crash when calling app.quit() before app is ready
Cheng Zhao [Thu, 22 Oct 2015 08:06:37 +0000 (16:06 +0800)]
Fix crash when calling app.quit() before app is ready

8 years agolinux: Delay creating watcher until message loop is ready
Cheng Zhao [Thu, 22 Oct 2015 07:57:37 +0000 (15:57 +0800)]
linux: Delay creating watcher until message loop is ready

8 years agolinux: Delay listening to socket until message loop is ready
Cheng Zhao [Thu, 22 Oct 2015 07:54:58 +0000 (15:54 +0800)]
linux: Delay listening to socket until message loop is ready

8 years agoDon't discard tasks in BridgeTaskRunner
Cheng Zhao [Thu, 22 Oct 2015 07:54:27 +0000 (15:54 +0800)]
Don't discard tasks in BridgeTaskRunner

8 years agoapp.makeSingleInstance is not available on OS X
Cheng Zhao [Thu, 22 Oct 2015 07:02:32 +0000 (15:02 +0800)]
app.makeSingleInstance is not available on OS X

8 years agoSimplify the usage of singleton
Cheng Zhao [Thu, 22 Oct 2015 06:59:12 +0000 (14:59 +0800)]
Simplify the usage of singleton

8 years agoMake sure current task runner is available
Cheng Zhao [Thu, 22 Oct 2015 06:56:57 +0000 (14:56 +0800)]
Make sure current task runner is available

When calling makeSingleInstance we have to ensure current task runnder
is available, otherwise crash may happen.

8 years agodocs: Make code more JS-style
Cheng Zhao [Thu, 22 Oct 2015 06:24:09 +0000 (14:24 +0800)]
docs: Make code more JS-style

8 years agoMerge pull request #3145 from atom/single-instance
Cheng Zhao [Thu, 22 Oct 2015 06:18:31 +0000 (14:18 +0800)]
Merge pull request #3145 from atom/single-instance

Implement Single-Instance for Windows / Linux

8 years agodocs: background-color is Linux-only for now
Cheng Zhao [Thu, 22 Oct 2015 06:16:17 +0000 (14:16 +0800)]
docs: background-color is Linux-only for now

8 years agoMerge pull request #3168 from deepak1556/window_background_color_patch
Cheng Zhao [Thu, 22 Oct 2015 06:13:37 +0000 (14:13 +0800)]
Merge pull request #3168 from deepak1556/window_background_color_patch

browser: option to set window background color

8 years agobrowser: option to set window background color
Robo [Wed, 21 Oct 2015 10:17:28 +0000 (15:47 +0530)]
browser: option to set window background color

8 years agoMerge pull request #3173 from tommoor/patch-5
Cheng Zhao [Thu, 22 Oct 2015 03:10:30 +0000 (11:10 +0800)]
Merge pull request #3173 from tommoor/patch-5

Update crash-reporter.md

8 years agoMerge pull request #3172 from thomasjfox1/master
Cheng Zhao [Thu, 22 Oct 2015 03:08:30 +0000 (11:08 +0800)]
Merge pull request #3172 from thomasjfox1/master

quick fix removing excess character

8 years agoUpdate crash-reporter.md
Tom Moor [Thu, 22 Oct 2015 00:07:36 +0000 (17:07 -0700)]
Update crash-reporter.md

8 years ago:memo: for makeSingleInstance
Paul Betts [Wed, 21 Oct 2015 20:52:17 +0000 (13:52 -0700)]
:memo: for makeSingleInstance

8 years agoRemove atom_process_singleton, just use the Chrome classes directly
Paul Betts [Wed, 21 Oct 2015 20:38:32 +0000 (13:38 -0700)]
Remove atom_process_singleton, just use the Chrome classes directly

8 years agocpplinting
Paul Betts [Wed, 21 Oct 2015 20:17:56 +0000 (13:17 -0700)]
cpplinting

8 years agoMove all the browser.cc code over to atom_api_app.cc
Paul Betts [Wed, 21 Oct 2015 20:04:50 +0000 (13:04 -0700)]
Move all the browser.cc code over to atom_api_app.cc

8 years agoquick fix removing excess character
Thomas J Fox [Wed, 21 Oct 2015 20:03:12 +0000 (15:03 -0500)]
quick fix removing excess character

8 years agoOnly cleanup if we are the main process
Paul Betts [Wed, 21 Oct 2015 19:29:21 +0000 (12:29 -0700)]
Only cleanup if we are the main process

8 years agoIf a user calls makeSingleInstance more than once, just ignore it
Paul Betts [Wed, 21 Oct 2015 19:29:00 +0000 (12:29 -0700)]
If a user calls makeSingleInstance more than once, just ignore it

8 years agoNeed to free this early or get a SIGSEGV on Linux
Paul Betts [Wed, 21 Oct 2015 18:06:42 +0000 (11:06 -0700)]
Need to free this early or get a SIGSEGV on Linux

8 years agoMerge pull request #3169 from atom/fix-node-buffer
Cheng Zhao [Wed, 21 Oct 2015 13:23:25 +0000 (21:23 +0800)]
Merge pull request #3169 from atom/fix-node-buffer

Fix memory corruption when cleaning timer

8 years agoFix memory corruption when cleaning timer
Cheng Zhao [Wed, 21 Oct 2015 12:46:16 +0000 (20:46 +0800)]
Fix memory corruption when cleaning timer

8 years agoInitialize things in the same sequence with main process
Cheng Zhao [Tue, 20 Oct 2015 23:34:15 +0000 (07:34 +0800)]
Initialize things in the same sequence with main process

8 years agoMerge pull request #3165 from roadev/master
Cheng Zhao [Wed, 21 Oct 2015 05:28:48 +0000 (13:28 +0800)]
Merge pull request #3165 from roadev/master

Grammatical corrections for spanish translations at api, styleguide a…

8 years agoMerge pull request #3163 from atom/fix-osx-app-region
Cheng Zhao [Wed, 21 Oct 2015 01:53:02 +0000 (09:53 +0800)]
Merge pull request #3163 from atom/fix-osx-app-region

osx: Implement draggable region with mouseDownCanMoveWindow

8 years agoosx: Implement draggable region with mouseDownCanMoveWindow
Cheng Zhao [Tue, 20 Oct 2015 23:33:43 +0000 (07:33 +0800)]
osx: Implement draggable region with mouseDownCanMoveWindow

Previously we implemented draggable region by tracking mouse position,
it is buggy and causing some problems. But it is interesting that until
this didn't cause troubles until recently.

8 years agoAllow WM_COPYDATA from all processes
Paul Betts [Wed, 21 Oct 2015 00:36:05 +0000 (17:36 -0700)]
Allow WM_COPYDATA from all processes

8 years agoSince setting up process_singleton is now conditional, its cleanup / unlock must...
Paul Betts [Wed, 21 Oct 2015 00:27:28 +0000 (17:27 -0700)]
Since setting up process_singleton is now conditional, its cleanup / unlock must be too

8 years agogrammatical corrections for spanish translations at api, styleguide and README
Juan Roa [Tue, 20 Oct 2015 23:10:08 +0000 (18:10 -0500)]
grammatical corrections for spanish translations at api, styleguide and README

8 years agoMerge pull request #3158 from ngoldman/patch-1
Cheng Zhao [Tue, 20 Oct 2015 22:58:16 +0000 (06:58 +0800)]
Merge pull request #3158 from ngoldman/patch-1

use webContents.openDevTools for quick start guide

8 years agoMerge pull request #3156 from preco21/master
Cheng Zhao [Tue, 20 Oct 2015 22:52:10 +0000 (06:52 +0800)]
Merge pull request #3156 from preco21/master

Update as upstream

8 years agoI don't think we need this
Paul Betts [Tue, 20 Oct 2015 22:03:59 +0000 (15:03 -0700)]
I don't think we need this

8 years agoInfinite Linting
Paul Betts [Tue, 20 Oct 2015 22:00:10 +0000 (15:00 -0700)]
Infinite Linting

8 years agoUpdate to use Chromium sources
Paul Betts [Tue, 20 Oct 2015 21:36:01 +0000 (14:36 -0700)]
Update to use Chromium sources

8 years agoFix up filenames to include Chrome source
Paul Betts [Tue, 20 Oct 2015 21:33:34 +0000 (14:33 -0700)]
Fix up filenames to include Chrome source

8 years agoPort our changes over
Paul Betts [Tue, 20 Oct 2015 21:21:06 +0000 (14:21 -0700)]
Port our changes over

8 years agoCopy back the original versions of Chromium files in
Paul Betts [Tue, 20 Oct 2015 21:05:07 +0000 (14:05 -0700)]
Copy back the original versions of Chromium files in

8 years agoMove initialization of Single Instance into MakeSingleInstance call
Paul Betts [Tue, 20 Oct 2015 20:38:57 +0000 (13:38 -0700)]
Move initialization of Single Instance into MakeSingleInstance call

8 years agoDitch double-callback, just use mate directly
Paul Betts [Tue, 20 Oct 2015 20:27:34 +0000 (13:27 -0700)]
Ditch double-callback, just use mate directly

8 years agoWire up the final callback to JS
Paul Betts [Tue, 20 Oct 2015 01:42:31 +0000 (18:42 -0700)]
Wire up the final callback to JS

8 years agoI am not good at C++ at all
Paul Betts [Tue, 20 Oct 2015 01:23:13 +0000 (18:23 -0700)]
I am not good at C++ at all

8 years agoFix callback handle usage
Paul Betts [Tue, 20 Oct 2015 01:02:54 +0000 (18:02 -0700)]
Fix callback handle usage

8 years agoAt Browser ctor time, DIR_USER_DATA is unset, wait
Paul Betts [Tue, 20 Oct 2015 00:37:26 +0000 (17:37 -0700)]
At Browser ctor time, DIR_USER_DATA is unset, wait

8 years agoTypo
Paul Betts [Tue, 20 Oct 2015 00:36:21 +0000 (17:36 -0700)]
Typo

8 years agoWire everything up
Paul Betts [Mon, 19 Oct 2015 23:21:03 +0000 (16:21 -0700)]
Wire everything up

8 years agoAdd a native mate converter for command lines
Paul Betts [Mon, 19 Oct 2015 23:20:51 +0000 (16:20 -0700)]
Add a native mate converter for command lines

8 years agoSet up Browser to create the process singleton
Paul Betts [Mon, 19 Oct 2015 23:00:30 +0000 (16:00 -0700)]
Set up Browser to create the process singleton

8 years agoBring in chrome_process_singleton but nuke the active dialog bits
Paul Betts [Mon, 19 Oct 2015 21:50:18 +0000 (14:50 -0700)]
Bring in chrome_process_singleton but nuke the active dialog bits

8 years agoCreate a dummy method in app that we'll twerk
Paul Betts [Mon, 19 Oct 2015 21:43:04 +0000 (14:43 -0700)]
Create a dummy method in app that we'll twerk

8 years agoFix build against old OneShotTimer
Paul Betts [Mon, 19 Oct 2015 21:07:23 +0000 (14:07 -0700)]
Fix build against old OneShotTimer

8 years agoGet POSIX mostly compiling
Paul Betts [Mon, 19 Oct 2015 20:51:27 +0000 (13:51 -0700)]
Get POSIX mostly compiling

8 years agoRemove a bunch of stuff we don't need in process_singleton_win
Paul Betts [Mon, 19 Oct 2015 19:28:06 +0000 (12:28 -0700)]
Remove a bunch of stuff we don't need in process_singleton_win

8 years agoGet process finder working
Paul Betts [Mon, 19 Oct 2015 19:17:14 +0000 (12:17 -0700)]
Get process finder working

8 years agoCome Correct with headers
Paul Betts [Mon, 19 Oct 2015 19:16:37 +0000 (12:16 -0700)]
Come Correct with headers

8 years agoRenames to avoid confusion, add file
Paul Betts [Mon, 19 Oct 2015 18:47:38 +0000 (11:47 -0700)]
Renames to avoid confusion, add file

8 years agoImport process_finder verbatim
Paul Betts [Mon, 19 Oct 2015 18:43:45 +0000 (11:43 -0700)]
Import process_finder verbatim

8 years agoStart to remove / rearrange some header files
Paul Betts [Mon, 19 Oct 2015 18:28:29 +0000 (11:28 -0700)]
Start to remove / rearrange some header files

8 years agoAdd the files to filenames.gypi
Paul Betts [Mon, 19 Oct 2015 18:21:24 +0000 (11:21 -0700)]
Add the files to filenames.gypi

8 years agoCopy some relevant files over from Chromium
Paul Betts [Mon, 19 Oct 2015 18:16:51 +0000 (11:16 -0700)]
Copy some relevant files over from Chromium

8 years agoUpdate app.md
Paul Betts [Tue, 20 Oct 2015 19:35:56 +0000 (12:35 -0700)]
Update app.md

8 years agouse webContents.openDevTools
Nate Goldman [Tue, 20 Oct 2015 17:44:02 +0000 (10:44 -0700)]
use webContents.openDevTools

https://github.com/atom/electron/issues/3125#issuecomment-148975593

8 years agoMerge pull request #3157 from IonicaBizauKitchen/doc-improvements
Jessica Lord [Tue, 20 Oct 2015 17:20:11 +0000 (10:20 -0700)]
Merge pull request #3157 from IonicaBizauKitchen/doc-improvements

Doc improvements

8 years agoAdd some missing words ("be" and "the")
Ionică Bizău [Tue, 20 Oct 2015 16:44:01 +0000 (19:44 +0300)]
Add some missing words ("be" and "the")

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Tue, 20 Oct 2015 15:26:30 +0000 (00:26 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoUpdate as upstream
Plusb Preco [Tue, 20 Oct 2015 15:25:24 +0000 (00:25 +0900)]
Update as upstream

8 years agodocs: app.allowNTLMCredentialsForAllDomains
Cheng Zhao [Tue, 20 Oct 2015 05:56:31 +0000 (13:56 +0800)]
docs: app.allowNTLMCredentialsForAllDomains

8 years agoCode cleanup
Cheng Zhao [Tue, 20 Oct 2015 05:52:39 +0000 (13:52 +0800)]
Code cleanup

8 years agoUpdate brightray for #3120
Cheng Zhao [Tue, 20 Oct 2015 05:50:19 +0000 (13:50 +0800)]
Update brightray for #3120

8 years agoMerge pull request #3120 from atom/ntlm-part-two
Cheng Zhao [Tue, 20 Oct 2015 05:48:12 +0000 (13:48 +0800)]
Merge pull request #3120 from atom/ntlm-part-two

Optionally allow NTLM authentication for all domains

8 years agoMerge pull request #3153 from atom/development-env
Cheng Zhao [Tue, 20 Oct 2015 05:47:17 +0000 (13:47 +0800)]
Merge pull request #3153 from atom/development-env

Add a few environment variables helpful for debugging

8 years agodocs: Mention the ELECTRON_ENABLE_LOGGING env
Cheng Zhao [Tue, 20 Oct 2015 05:06:41 +0000 (13:06 +0800)]
docs: Mention the ELECTRON_ENABLE_LOGGING env

8 years agoAdd ELECTRON_ENABLE_STACK_DUMPING env
Cheng Zhao [Tue, 20 Oct 2015 05:02:48 +0000 (13:02 +0800)]
Add ELECTRON_ENABLE_STACK_DUMPING env

It enables in-process stack dumping, which is convenient for debugging.

8 years agoAdd ELECTRON_ENABLE_LOGGING env
Cheng Zhao [Tue, 20 Oct 2015 05:00:28 +0000 (13:00 +0800)]
Add ELECTRON_ENABLE_LOGGING env

It is the same with --enable-logging.

8 years agoMerge pull request #3150 from atom/jl-upadate-qs
Cheng Zhao [Tue, 20 Oct 2015 03:17:30 +0000 (11:17 +0800)]
Merge pull request #3150 from atom/jl-upadate-qs

Update Quick Start HTML

8 years agoMerge pull request #3149 from atom/jl-add-quick-start-repo
Cheng Zhao [Tue, 20 Oct 2015 03:17:23 +0000 (11:17 +0800)]
Merge pull request #3149 from atom/jl-add-quick-start-repo

Add links to electron-quick-start Repository

8 years agoUpdate brightray for atom/brightray#158
Cheng Zhao [Tue, 20 Oct 2015 02:34:33 +0000 (10:34 +0800)]
Update brightray for atom/brightray#158

8 years agoMerge pull request #3147 from deepak1556/cipher_suite_disable_patch
Cheng Zhao [Tue, 20 Oct 2015 02:29:49 +0000 (10:29 +0800)]
Merge pull request #3147 from deepak1556/cipher_suite_disable_patch

browser: flag to disable specified cipher suites

8 years agoMatch the electron-quick-start repo
Jessica Lord [Mon, 19 Oct 2015 23:37:18 +0000 (16:37 -0700)]
Match the electron-quick-start repo

8 years agoAdd links to electron-quick-start
Jessica Lord [Mon, 19 Oct 2015 22:52:02 +0000 (15:52 -0700)]
Add links to electron-quick-start

8 years agobrowser: flag to diable specified cipher suites
Robo [Mon, 19 Oct 2015 20:56:01 +0000 (02:26 +0530)]
browser: flag to diable specified cipher suites

8 years agoFixed linter issues but now the code looks awful
Paul Betts [Mon, 19 Oct 2015 20:12:17 +0000 (13:12 -0700)]
Fixed linter issues but now the code looks awful

8 years agoPlumb the method back
Paul Betts [Mon, 19 Oct 2015 20:07:14 +0000 (13:07 -0700)]
Plumb the method back

8 years agoSet up our browser context to use new delegate-based API
Paul Betts [Mon, 19 Oct 2015 20:03:20 +0000 (13:03 -0700)]
Set up our browser context to use new delegate-based API

8 years agoMerge pull request #3141 from jhen0409/patch-2
Cheng Zhao [Mon, 19 Oct 2015 14:09:06 +0000 (22:09 +0800)]
Merge pull request #3141 from jhen0409/patch-2

Sync recently updated docs to zh-TW docs-translations

9 years agoUpdate README.md for zh-TW docs-translations
Jhen [Mon, 19 Oct 2015 13:54:29 +0000 (21:54 +0800)]
Update README.md for zh-TW docs-translations

9 years agoReplace Mac with OS X for zh-TW docs translation
Jhen [Mon, 19 Oct 2015 13:49:57 +0000 (21:49 +0800)]
Replace Mac with OS X for zh-TW docs translation

9 years agoReplace io.js with node.js for zh-TW docs translation
Jhen [Mon, 19 Oct 2015 13:29:10 +0000 (21:29 +0800)]
Replace io.js with node.js for zh-TW docs translation

9 years agoMerge pull request #3129 from brandoncash/fix-tray-notify-typo
Cheng Zhao [Mon, 19 Oct 2015 11:11:26 +0000 (19:11 +0800)]
Merge pull request #3129 from brandoncash/fix-tray-notify-typo

Fix: tray NotfiyDropFiles typo

9 years agoMerge pull request #3132 from princejwesley/issue-readFileSync
Cheng Zhao [Mon, 19 Oct 2015 08:59:47 +0000 (16:59 +0800)]
Merge pull request #3132 from princejwesley/issue-readFileSync

Fix: honor fs.readFileSync contract for empty packed asar file

9 years agoMerge pull request #3128 from atom/fix-save-page-position
Cheng Zhao [Mon, 19 Oct 2015 08:40:45 +0000 (16:40 +0800)]
Merge pull request #3128 from atom/fix-save-page-position

Fix: 'savePage API' saves external resources in a wrong directory.

9 years ago:bug: Honor fs.readFileSync contract for empty packed asar file
Prince J Wesley [Mon, 19 Oct 2015 03:03:22 +0000 (08:33 +0530)]
:bug: Honor fs.readFileSync contract for empty packed asar file

9 years agoSmall fix in README
Plusb Preco [Mon, 19 Oct 2015 02:34:13 +0000 (11:34 +0900)]
Small fix in README

9 years agoMerge pull request #3111 from preco21/master
Cheng Zhao [Sun, 18 Oct 2015 13:45:25 +0000 (21:45 +0800)]
Merge pull request #3111 from preco21/master

Add app.md translation into ko-KR, some fixes