]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 years agodocs: login event
Cheng Zhao [Wed, 28 Oct 2015 13:14:00 +0000 (21:14 +0800)]
docs: login event

11 years agoAlso emit "login" on WebContents
Cheng Zhao [Wed, 28 Oct 2015 13:00:39 +0000 (21:00 +0800)]
Also emit "login" on WebContents

11 years agoConverted callback can only be called for once
Cheng Zhao [Wed, 28 Oct 2015 12:44:46 +0000 (20:44 +0800)]
Converted callback can only be called for once

11 years agoAlso pass "webContents" in "login" event
Cheng Zhao [Wed, 28 Oct 2015 12:21:56 +0000 (20:21 +0800)]
Also pass "webContents" in "login" event

11 years agoPass auth_info and request in "login" event
Cheng Zhao [Wed, 28 Oct 2015 12:13:06 +0000 (20:13 +0800)]
Pass auth_info and request in "login" event

11 years agoAdd login event for "app" module
Cheng Zhao [Wed, 28 Oct 2015 11:34:01 +0000 (19:34 +0800)]
Add login event for "app" module

11 years agoDon't leak TranslaterHolder
Cheng Zhao [Wed, 28 Oct 2015 10:32:21 +0000 (18:32 +0800)]
Don't leak TranslaterHolder

11 years agoUse the callback converter in JsAsker
Cheng Zhao [Wed, 28 Oct 2015 10:25:55 +0000 (18:25 +0800)]
Use the callback converter in JsAsker

11 years agospec: Return early on error
Cheng Zhao [Wed, 28 Oct 2015 10:19:36 +0000 (18:19 +0800)]
spec: Return early on error

11 years agoDon't leak FunctionTemplate when converting C++ callback
Cheng Zhao [Wed, 28 Oct 2015 09:36:01 +0000 (17:36 +0800)]
Don't leak FunctionTemplate when converting C++ callback

11 years agoAdd dummy LoginHandler
Cheng Zhao [Wed, 28 Oct 2015 07:34:41 +0000 (15:34 +0800)]
Add dummy LoginHandler

11 years agoUse uint64_t instead of LPARAM
Cheng Zhao [Wed, 28 Oct 2015 11:51:24 +0000 (19:51 +0800)]
Use uint64_t instead of LPARAM

LPARAM is defined to differnt types on differnt machines with different
SDKs, so there is no way to represent it on all platforms safely, using
uint64_t seems to be the only safe choice.

11 years agoAdd converter for LPARAM
Cheng Zhao [Wed, 28 Oct 2015 11:43:05 +0000 (19:43 +0800)]
Add converter for LPARAM

11 years agoMerge pull request #3247 from matiasinsaurralde/master
Cheng Zhao [Wed, 28 Oct 2015 06:52:30 +0000 (14:52 +0800)]
Merge pull request #3247 from matiasinsaurralde/master

+supported-platforms.md (spanish version)

11 years agoCreating supported-platforms.md
Matias Insaurralde [Wed, 28 Oct 2015 06:19:19 +0000 (03:19 -0300)]
Creating supported-platforms.md

11 years agoMerge pull request #3240 from atom/reland-win-remove-wildcard-extension
Cheng Zhao [Tue, 27 Oct 2015 12:52:43 +0000 (20:52 +0800)]
Merge pull request #3240 from atom/reland-win-remove-wildcard-extension

Reland win remove wildcard extension

11 years agoMerge pull request #3231 from omrilitov/master
Cheng Zhao [Tue, 27 Oct 2015 12:48:19 +0000 (20:48 +0800)]
Merge pull request #3231 from omrilitov/master

Hooking windows messages

11 years agoWin: Fix adding '.*' to filename in callback.
Haojian Wu [Tue, 27 Oct 2015 12:03:28 +0000 (20:03 +0800)]
Win: Fix adding '.*' to filename in callback.

11 years agoWin: Remove adding '*.*' to file name in a save dialog.
Haojian Wu [Tue, 27 Oct 2015 05:10:34 +0000 (13:10 +0800)]
Win: Remove adding '*.*' to file name in a save dialog.

11 years agoChange windows messages api to hook instead of emitter
Omri Litov [Tue, 27 Oct 2015 12:00:08 +0000 (14:00 +0200)]
Change windows messages api to hook instead of emitter

11 years agoMerge pull request #3236 from atom/mas-fix
Cheng Zhao [Tue, 27 Oct 2015 07:05:11 +0000 (15:05 +0800)]
Merge pull request #3236 from atom/mas-fix

Update libchromiumcontent: fix private API call

11 years agoRevert "Win: Remove adding default file filter(*.*) in a save dialog."
Cheng Zhao [Tue, 27 Oct 2015 06:58:44 +0000 (14:58 +0800)]
Revert "Win: Remove adding default file filter(*.*) in a save dialog."

This reverts commit 00493f64b766051279eedd686b63800cd2955f88.

11 years agoMerge pull request #3235 from sitdh/master
Cheng Zhao [Tue, 27 Oct 2015 06:31:01 +0000 (14:31 +0800)]
Merge pull request #3235 from sitdh/master

Translate docs to Thai

11 years agoMerge pull request #3234 from atom/win-remove-default-filter
Cheng Zhao [Tue, 27 Oct 2015 06:30:35 +0000 (14:30 +0800)]
Merge pull request #3234 from atom/win-remove-default-filter

Win: Remove adding default file filter(*.*) in a save dialog.

11 years agoUpdate libchromiumcontent: fix private API call
Cheng Zhao [Tue, 27 Oct 2015 06:25:42 +0000 (14:25 +0800)]
Update libchromiumcontent: fix private API call

11 years agoFix missing spell
Sitdhibong Laokok [Tue, 27 Oct 2015 05:36:43 +0000 (12:36 +0700)]
Fix missing spell

11 years agoRemove original msg
Sitdhibong Laokok [Tue, 27 Oct 2015 05:20:54 +0000 (12:20 +0700)]
Remove original msg

11 years agoWin: Remove adding default file filter(*.*) in a save dialog.
Haojian Wu [Tue, 27 Oct 2015 05:10:34 +0000 (13:10 +0800)]
Win: Remove adding default file filter(*.*) in a save dialog.

11 years agoTranslate README.md
Sitdhibong Laokok [Tue, 27 Oct 2015 05:09:49 +0000 (12:09 +0700)]
Translate README.md

11 years agoMerge pull request #3227 from nekuz0r/load-url-headers
Cheng Zhao [Tue, 27 Oct 2015 03:37:27 +0000 (11:37 +0800)]
Merge pull request #3227 from nekuz0r/load-url-headers

Add extra headers option to webContents.loadUrl

11 years agoAdded browser-window event 'message'
Omri Litov [Tue, 27 Oct 2015 01:12:01 +0000 (03:12 +0200)]
Added browser-window event 'message'

11 years agoAdd extra headers option to webContents.loadUrl
Gohy Leandre [Mon, 26 Oct 2015 21:18:16 +0000 (22:18 +0100)]
Add extra headers option to webContents.loadUrl

11 years agoMerge pull request #3215 from atom/fix-remote-call
Cheng Zhao [Mon, 26 Oct 2015 09:13:20 +0000 (17:13 +0800)]
Merge pull request #3215 from atom/fix-remote-call

Fix calling showItemInFolder in renderer

11 years agoFix calling showItemInFolder in renderer
Cheng Zhao [Mon, 26 Oct 2015 08:48:27 +0000 (16:48 +0800)]
Fix calling showItemInFolder in renderer

The remote method always assumes the existence of the remote object but
doesn't keep a reference to it, so if we only keep the reference of a
remote method we will get into troubles once the remote object is
garbage collected.

We should probably fix this in remote module, but since most things are
already working quite good, I'm using the work-around for now.

Fix #3139.

11 years agoMerge pull request #3213 from rubixware/source-code-directory-structure-translation
Cheng Zhao [Mon, 26 Oct 2015 08:17:48 +0000 (16:17 +0800)]
Merge pull request #3213 from rubixware/source-code-directory-structure-translation

Add source code directory structure spanish translation

11 years agoShip LICENSES.chromium.html in zip archive
Cheng Zhao [Mon, 26 Oct 2015 08:16:50 +0000 (16:16 +0800)]
Ship LICENSES.chromium.html in zip archive

11 years agoMerge pull request #3198 from deepak1556/callback_patch
Cheng Zhao [Mon, 26 Oct 2015 08:15:58 +0000 (16:15 +0800)]
Merge pull request #3198 from deepak1556/callback_patch

nativemate: use maybe version of v8::Function::call to avoid unhandled exceptions

11 years ago:memo: Add source code directory structure spanish translation
Everardo Medina [Mon, 26 Oct 2015 06:04:11 +0000 (00:04 -0600)]
:memo: Add source code directory structure spanish translation

11 years agonativemate: use maybe version of v8::Function::Call to avoid exceptions
Robo [Sat, 24 Oct 2015 16:40:38 +0000 (22:10 +0530)]
nativemate: use maybe version of v8::Function::Call to avoid exceptions

11 years agoMerge pull request #3212 from rubixware/coding-style-translation
Cheng Zhao [Mon, 26 Oct 2015 05:01:37 +0000 (13:01 +0800)]
Merge pull request #3212 from rubixware/coding-style-translation

Add coding style spanish translation

11 years ago:memo: Add coding style spanish translation
Everardo Medina [Mon, 26 Oct 2015 04:37:06 +0000 (22:37 -0600)]
:memo: Add coding style spanish translation

11 years agoMerge pull request #3203 from etiktin/patch-1
Cheng Zhao [Mon, 26 Oct 2015 02:34:13 +0000 (10:34 +0800)]
Merge pull request #3203 from etiktin/patch-1

Update web-contents.md

11 years agoMerge pull request #3200 from jhen0409/patch-3
Cheng Zhao [Mon, 26 Oct 2015 01:19:50 +0000 (09:19 +0800)]
Merge pull request #3200 from jhen0409/patch-3

Sync zh-TW docs from upstream

11 years agoMerge pull request #3207 from diegowifi/patch-1
Paul Betts [Sun, 25 Oct 2015 20:29:34 +0000 (13:29 -0700)]
Merge pull request #3207 from diegowifi/patch-1

Remove english words in description

11 years agoRemove english words in description
Diego Ponce [Sun, 25 Oct 2015 20:04:03 +0000 (14:04 -0600)]
Remove english words in description

11 years agoUpdate web-contents.md
Eran Tiktin [Sun, 25 Oct 2015 15:00:29 +0000 (17:00 +0200)]
Update web-contents.md

The `did-fail-load` event returns an error code and error description. The error description is at least sometimes empty (e.g. when the error code is -102 on Windows), so you're left with an error code without knowing what happened. So I add a link to Chromium's net_error_list.h.

11 years agoUpdate tutorial/quick-start.md for zh-TW docs
Jhen [Sat, 24 Oct 2015 17:34:17 +0000 (01:34 +0800)]
Update tutorial/quick-start.md for zh-TW docs

11 years agoMerge pull request #3192 from preco21/master
Cheng Zhao [Sat, 24 Oct 2015 07:46:59 +0000 (15:46 +0800)]
Merge pull request #3192 from preco21/master

Update as upstream

11 years agoUpdate as upstream
Plusb Preco [Fri, 23 Oct 2015 20:57:37 +0000 (05:57 +0900)]
Update as upstream

11 years agoBump v0.34.1 v0.34.1
Cheng Zhao [Fri, 23 Oct 2015 12:32:02 +0000 (20:32 +0800)]
Bump v0.34.1

11 years agoMerge pull request #3186 from atom/auto-updater-fix
Cheng Zhao [Fri, 23 Oct 2015 12:31:20 +0000 (20:31 +0800)]
Merge pull request #3186 from atom/auto-updater-fix

Clean up the code of auto-updater

11 years agoMerge pull request #3188 from alexandrubau/master
Cheng Zhao [Fri, 23 Oct 2015 12:13:00 +0000 (20:13 +0800)]
Merge pull request #3188 from alexandrubau/master

Updated docs

11 years agodocs: auto-updater on Windows
Cheng Zhao [Fri, 23 Oct 2015 12:11:59 +0000 (20:11 +0800)]
docs: auto-updater on Windows

11 years agowin: Make auto-updater really work
Cheng Zhao [Fri, 23 Oct 2015 11:41:54 +0000 (19:41 +0800)]
win: Make auto-updater really work

Apparently that PR was never tested.

11 years agoUpdated docs
Alexandru Bau [Fri, 23 Oct 2015 11:15:39 +0000 (14:15 +0300)]
Updated docs

Updated docs to better understand how to use electron-rebuild on all
platforms

11 years agoUpdated docs
Alexandru Bau [Fri, 23 Oct 2015 08:37:51 +0000 (11:37 +0300)]
Updated docs

Updated docs to better understand how to use electron-rebuild on Windows

11 years agoKeep compatibility with old API style
Cheng Zhao [Fri, 23 Oct 2015 07:50:55 +0000 (15:50 +0800)]
Keep compatibility with old API style

11 years agoSimplify the auto-updater implementations
Cheng Zhao [Fri, 23 Oct 2015 07:40:56 +0000 (15:40 +0800)]
Simplify the auto-updater implementations

We used to use Sparkle on OS X, and the design was reserved to be
extended to all platforms, which are all wrong now.

11 years agoMove implementation of auto-updater on OS X to another file
Cheng Zhao [Fri, 23 Oct 2015 07:13:24 +0000 (15:13 +0800)]
Move implementation of auto-updater on OS X to another file

11 years agoEmit Date object in C++ directly
Cheng Zhao [Fri, 23 Oct 2015 06:58:19 +0000 (14:58 +0800)]
Emit Date object in C++ directly

11 years agoFix passing Date object in remote
Cheng Zhao [Fri, 23 Oct 2015 06:51:25 +0000 (14:51 +0800)]
Fix passing Date object in remote

Close #2017.

11 years agoPass real Error object in error event
Cheng Zhao [Fri, 23 Oct 2015 06:36:36 +0000 (14:36 +0800)]
Pass real Error object in error event

11 years agoFix passing Error object in remote
Cheng Zhao [Fri, 23 Oct 2015 06:23:05 +0000 (14:23 +0800)]
Fix passing Error object in remote

Closes #3089

11 years agoMerge pull request #1984 from patrickdet/windows-auto-updater
Cheng Zhao [Fri, 23 Oct 2015 05:54:29 +0000 (13:54 +0800)]
Merge pull request #1984 from patrickdet/windows-auto-updater

Windows Auto Updater

11 years agoMerge pull request #3184 from atom/windows-background-color
Cheng Zhao [Fri, 23 Oct 2015 05:53:12 +0000 (13:53 +0800)]
Merge pull request #3184 from atom/windows-background-color

Make background-color work on Windows

11 years agodocs: background-color on Windows
Cheng Zhao [Fri, 23 Oct 2015 05:32:04 +0000 (13:32 +0800)]
docs: background-color on Windows

11 years agoAdd setBackgroundColor method
Cheng Zhao [Fri, 23 Oct 2015 03:35:33 +0000 (11:35 +0800)]
Add setBackgroundColor method

11 years agowin: Set native window's background color
Cheng Zhao [Fri, 23 Oct 2015 03:17:14 +0000 (11:17 +0800)]
win: Set native window's background color

11 years agoMerge pull request #3179 from deepak1556/session_api_patch
Cheng Zhao [Fri, 23 Oct 2015 02:36:37 +0000 (10:36 +0800)]
Merge pull request #3179 from deepak1556/session_api_patch

session: allow setproxy to use external pac script

11 years agoMerge pull request #3178 from deepak1556/node_debugger_patch
Cheng Zhao [Fri, 23 Oct 2015 02:36:06 +0000 (10:36 +0800)]
Merge pull request #3178 from deepak1556/node_debugger_patch

debugger: expose v8debug

11 years agoMerge pull request #3175 from atom/improve-make-single-instance
Cheng Zhao [Fri, 23 Oct 2015 01:13:57 +0000 (09:13 +0800)]
Merge pull request #3175 from atom/improve-make-single-instance

Fix some problems of makeSingleInstance

11 years agosession: allow setproxy to use external pac script
Robo [Thu, 22 Oct 2015 17:26:36 +0000 (22:56 +0530)]
session: allow setproxy to use external pac script

11 years agodocs: New behaviors of makeSingleInstance
Cheng Zhao [Thu, 22 Oct 2015 11:26:05 +0000 (19:26 +0800)]
docs: New behaviors of makeSingleInstance

11 years agoPass original argv in callback
Cheng Zhao [Thu, 22 Oct 2015 11:02:21 +0000 (19:02 +0800)]
Pass original argv in callback

11 years agodebugger: expose v8debug
Robo [Thu, 22 Oct 2015 10:50:48 +0000 (16:20 +0530)]
debugger: expose v8debug

11 years agowin: Pass original command line
Cheng Zhao [Thu, 22 Oct 2015 09:51:51 +0000 (17:51 +0800)]
win: Pass original command line

11 years agoposix: Pass original command line
Cheng Zhao [Thu, 22 Oct 2015 09:43:55 +0000 (17:43 +0800)]
posix: Pass original command line

11 years agoRemove the need for ProcessSingletonStartupLock
Cheng Zhao [Thu, 22 Oct 2015 09:12:09 +0000 (17:12 +0800)]
Remove the need for ProcessSingletonStartupLock

11 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.

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

11 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.

11 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

11 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

11 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

11 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

11 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

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

11 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.

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

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

11 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

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

11 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