]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 years agoSimplify atom_bindings
Cheng Zhao [Sat, 24 Jan 2015 05:33:40 +0000 (21:33 -0800)]
Simplify atom_bindings

11 years agoUse FILE_PATH_LITERAL instead of AppendASCII
Cheng Zhao [Sat, 24 Jan 2015 05:12:45 +0000 (21:12 -0800)]
Use FILE_PATH_LITERAL instead of AppendASCII

11 years agoRemove some unused virtual functions
Cheng Zhao [Sat, 24 Jan 2015 05:05:32 +0000 (21:05 -0800)]
Remove some unused virtual functions

11 years agoUse node::CreateEnvironment to create environment
Cheng Zhao [Sat, 24 Jan 2015 05:02:31 +0000 (21:02 -0800)]
Use node::CreateEnvironment to create environment

11 years agoGet rid of AtomRenderFrameObserver
Cheng Zhao [Sat, 24 Jan 2015 04:51:19 +0000 (20:51 -0800)]
Get rid of AtomRenderFrameObserver

11 years agoRemove AtomRendererBindings
Cheng Zhao [Sat, 24 Jan 2015 04:43:38 +0000 (20:43 -0800)]
Remove AtomRendererBindings

After the simplification of code this class is no longer needed.

11 years agoDon't handle browser messages before document object is created
Cheng Zhao [Sat, 24 Jan 2015 02:33:01 +0000 (18:33 -0800)]
Don't handle browser messages before document object is created

When we recevied messages from browser, we will try to transfer the
message to web page, and when we do that blink will create an empty
document when there is no document object yet, which will make our init
script run when window.location is still about:blank.

11 years agoClean the init.coffee
Cheng Zhao [Thu, 22 Jan 2015 01:38:26 +0000 (17:38 -0800)]
Clean the init.coffee

11 years agospec: No node integration in iframe
Cheng Zhao [Thu, 22 Jan 2015 01:05:19 +0000 (17:05 -0800)]
spec: No node integration in iframe

11 years agoInitialize node integration after window object is cleared
Cheng Zhao [Thu, 22 Jan 2015 00:40:19 +0000 (16:40 -0800)]
Initialize node integration after window object is cleared

11 years agoDon't insert node symbols in frames
Cheng Zhao [Wed, 21 Jan 2015 23:42:57 +0000 (15:42 -0800)]
Don't insert node symbols in frames

This greatly simplified our code, and it is not useful to enable node
integrations in frames.

11 years agoAdd DidClearWindowObject for renderer client
Cheng Zhao [Wed, 21 Jan 2015 23:35:43 +0000 (15:35 -0800)]
Add DidClearWindowObject for renderer client

11 years agoAdd atom-shell bindings before loading environment
Cheng Zhao [Wed, 21 Jan 2015 23:02:09 +0000 (15:02 -0800)]
Add atom-shell bindings before loading environment

11 years agoSeparate LoadEnvironment from CreateEnvironment
Cheng Zhao [Wed, 21 Jan 2015 22:00:19 +0000 (14:00 -0800)]
Separate LoadEnvironment from CreateEnvironment

11 years agodocs: Make getCurrentWindow more clear, fixes #1035
Cheng Zhao [Wed, 21 Jan 2015 21:47:28 +0000 (13:47 -0800)]
docs: Make getCurrentWindow more clear, fixes #1035

11 years agoMerge pull request #1034 from atom/index-js
Cheng Zhao [Wed, 21 Jan 2015 21:38:56 +0000 (13:38 -0800)]
Merge pull request #1034 from atom/index-js

Update index.json when publishing

11 years agoInclude node's version
Cheng Zhao [Wed, 21 Jan 2015 21:37:52 +0000 (13:37 -0800)]
Include node's version

11 years agoFix target url
Cheng Zhao [Wed, 21 Jan 2015 06:16:27 +0000 (22:16 -0800)]
Fix target url

11 years agoUpload the index.json to S3
Cheng Zhao [Wed, 21 Jan 2015 06:09:30 +0000 (22:09 -0800)]
Upload the index.json to S3

11 years agoInclude apm version in index.json
Cheng Zhao [Wed, 21 Jan 2015 06:01:37 +0000 (22:01 -0800)]
Include apm version in index.json

11 years ago:arrow_up: apm@0.122.0
Cheng Zhao [Wed, 21 Jan 2015 05:58:46 +0000 (21:58 -0800)]
:arrow_up: apm@0.122.0

11 years agoDownload the index.json from server
Cheng Zhao [Wed, 21 Jan 2015 05:53:53 +0000 (21:53 -0800)]
Download the index.json from server

11 years agoAdd script to dump information for atom-shell
Cheng Zhao [Tue, 20 Jan 2015 22:39:14 +0000 (14:39 -0800)]
Add script to dump information for atom-shell

11 years agoBump v0.20.7 v0.20.7
Cheng Zhao [Tue, 20 Jan 2015 19:30:41 +0000 (11:30 -0800)]
Bump v0.20.7

11 years agoMerge pull request #1027 from fengmk2/mirror
Cheng Zhao [Tue, 20 Jan 2015 03:44:19 +0000 (19:44 -0800)]
Merge pull request #1027 from fengmk2/mirror

Add China download mirrors

11 years agoNo need to preheat original-fs module
Cheng Zhao [Mon, 19 Jan 2015 23:47:21 +0000 (15:47 -0800)]
No need to preheat original-fs module

11 years agoUpdate asar specs
Cheng Zhao [Mon, 19 Jan 2015 23:36:56 +0000 (15:36 -0800)]
Update asar specs

11 years agoGuard against bad events in screen module
Cheng Zhao [Mon, 19 Jan 2015 22:46:29 +0000 (14:46 -0800)]
Guard against bad events in screen module

It can happen that the DisplayObserver methods are called without a
valid Display object passed.

11 years agoEvaluate the "fs.js" in original-fs
Cheng Zhao [Mon, 19 Jan 2015 22:22:32 +0000 (14:22 -0800)]
Evaluate the "fs.js" in original-fs

Some high-level APIs in fs are using low-level APIs via "fs.xxx", which
will be overriden by our asar wrappers, so just shadow-copy those
methods is not enough.

By evaluating the whole "fs.js" we can make sure original-fs is not
polluted by the asar wrappers.

Fixes #782.

11 years agoDon't popup error if the user has a custom uncaught exception handler
Cheng Zhao [Mon, 19 Jan 2015 20:48:49 +0000 (12:48 -0800)]
Don't popup error if the user has a custom uncaught exception handler

Fix #1012.

11 years agoMerge pull request #1029 from atom/editing-commands
Cheng Zhao [Mon, 19 Jan 2015 20:40:30 +0000 (12:40 -0800)]
Merge pull request #1029 from atom/editing-commands

Add editing commands for <webview> and WebContents

11 years agodocs: The editing commands
Cheng Zhao [Mon, 19 Jan 2015 20:30:28 +0000 (12:30 -0800)]
docs: The editing commands

11 years agoMake editing commands available in <webview>
Cheng Zhao [Mon, 19 Jan 2015 20:15:07 +0000 (12:15 -0800)]
Make editing commands available in <webview>

11 years agoAdd editing commands for WebContents
Cheng Zhao [Mon, 19 Jan 2015 20:09:47 +0000 (12:09 -0800)]
Add editing commands for WebContents

11 years agoAdd China download mirrors
fengmk2 [Mon, 19 Jan 2015 14:30:33 +0000 (22:30 +0800)]
Add China download mirrors

11 years agoMerge pull request #1026 from atom/set-data-path
Cheng Zhao [Mon, 19 Jan 2015 05:53:29 +0000 (21:53 -0800)]
Merge pull request #1026 from atom/set-data-path

Add API to set/get path to special directory or file

11 years agoAdd a few more paths for app.getPath
Cheng Zhao [Mon, 19 Jan 2015 05:31:09 +0000 (21:31 -0800)]
Add a few more paths for app.getPath

11 years agodocs: Say more about Linux's behavior
Cheng Zhao [Mon, 19 Jan 2015 05:10:42 +0000 (21:10 -0800)]
docs: Say more about Linux's behavior

11 years agoAdd "cache" and "userCache" directories
Cheng Zhao [Mon, 19 Jan 2015 05:09:42 +0000 (21:09 -0800)]
Add "cache" and "userCache" directories

11 years agodocs: Mention when to override userData path
Cheng Zhao [Mon, 19 Jan 2015 04:39:38 +0000 (20:39 -0800)]
docs: Mention when to override userData path

11 years agoThrow error when PathService call failed
Cheng Zhao [Mon, 19 Jan 2015 04:24:58 +0000 (20:24 -0800)]
Throw error when PathService call failed

11 years agodocs: Document app.getPath/app.setPath
Cheng Zhao [Mon, 19 Jan 2015 02:25:31 +0000 (18:25 -0800)]
docs: Document app.getPath/app.setPath

11 years agoImplement app.getHomeDir with app.getPath
Cheng Zhao [Mon, 19 Jan 2015 02:01:58 +0000 (18:01 -0800)]
Implement app.getHomeDir with app.getPath

11 years agoOverride default userData according to app's name
Cheng Zhao [Mon, 19 Jan 2015 01:58:17 +0000 (17:58 -0800)]
Override default userData according to app's name

11 years agoAdd app.setPath and app.getPath APIs
Cheng Zhao [Mon, 19 Jan 2015 01:52:15 +0000 (17:52 -0800)]
Add app.setPath and app.getPath APIs

They can be used to set/get any path defined in PathService

11 years agoCall app.getDataPath after app is ready
Cheng Zhao [Mon, 19 Jan 2015 01:24:02 +0000 (17:24 -0800)]
Call app.getDataPath after app is ready

It is possible for users to override the data path.

11 years agoAdd app.setDataPath API
Cheng Zhao [Mon, 19 Jan 2015 01:11:27 +0000 (17:11 -0800)]
Add app.setDataPath API

11 years agoWarning of app not ready in screen module
Cheng Zhao [Thu, 15 Jan 2015 00:37:48 +0000 (16:37 -0800)]
Warning of app not ready in screen module

11 years agoMerge pull request #1016 from atom/screen-improve
Cheng Zhao [Sun, 18 Jan 2015 18:23:18 +0000 (10:23 -0800)]
Merge pull request #1016 from atom/screen-improve

Add API to enumerate external displays in screen module

11 years agoMerge pull request #1019 from atom/locale-in-node
Cheng Zhao [Sat, 17 Jan 2015 01:08:30 +0000 (17:08 -0800)]
Merge pull request #1019 from atom/locale-in-node

Initialize ICU in Node mode

11 years agolinux,win: Initalize ICU for node mode
Cheng Zhao [Sat, 17 Jan 2015 00:12:12 +0000 (16:12 -0800)]
linux,win: Initalize ICU for node mode

11 years agospec: Test localeCompare in child process
Cheng Zhao [Sat, 17 Jan 2015 00:11:02 +0000 (16:11 -0800)]
spec: Test localeCompare in child process

11 years agomac: Initialize ICU in Node mode
Cheng Zhao [Fri, 16 Jan 2015 23:54:38 +0000 (15:54 -0800)]
mac: Initialize ICU in Node mode

11 years agodocs: Fix typo
Cheng Zhao [Fri, 16 Jan 2015 22:01:52 +0000 (14:01 -0800)]
docs: Fix typo

11 years agodocs: Update docs and examples for screen module
Cheng Zhao [Fri, 16 Jan 2015 21:57:16 +0000 (13:57 -0800)]
docs: Update docs and examples for screen module

11 years agoUpdate the displays when there is metrics change
Cheng Zhao [Fri, 16 Jan 2015 20:04:35 +0000 (12:04 -0800)]
Update the displays when there is metrics change

11 years agoPass the display in screen events
Cheng Zhao [Fri, 16 Jan 2015 20:02:32 +0000 (12:02 -0800)]
Pass the display in screen events

11 years agoMake getAllDisplays return current displays.
Cheng Zhao [Fri, 16 Jan 2015 19:39:25 +0000 (11:39 -0800)]
Make getAllDisplays return current displays.

11 years agoAdd events on display add/remove.
Cheng Zhao [Thu, 15 Jan 2015 00:19:22 +0000 (16:19 -0800)]
Add events on display add/remove.

11 years agoMake "screen" module a browser module
Cheng Zhao [Wed, 14 Jan 2015 23:11:18 +0000 (15:11 -0800)]
Make "screen" module a browser module

11 years agoAdd some more attributes for Display
Cheng Zhao [Wed, 14 Jan 2015 22:51:20 +0000 (14:51 -0800)]
Add some more attributes for Display

11 years agoDon't put gfx_converter's implementaion in header file
Cheng Zhao [Wed, 14 Jan 2015 22:38:51 +0000 (14:38 -0800)]
Don't put gfx_converter's implementaion in header file

11 years agoAdd a few more API bindings
Cheng Zhao [Wed, 14 Jan 2015 00:28:12 +0000 (16:28 -0800)]
Add a few more API bindings

11 years agoDon't hard-code API names
Cheng Zhao [Wed, 14 Jan 2015 00:27:58 +0000 (16:27 -0800)]
Don't hard-code API names

11 years agoUpgrade brightray for #863
Cheng Zhao [Fri, 16 Jan 2015 01:52:14 +0000 (17:52 -0800)]
Upgrade brightray for #863

11 years agoMerge pull request #1009 from atom/better-emit
Cheng Zhao [Fri, 16 Jan 2015 01:40:20 +0000 (17:40 -0800)]
Merge pull request #1009 from atom/better-emit

Convert arguments to V8 directly in EventEmitter::Emit

11 years agoAdd -stdlib=libc++ for linking
Cheng Zhao [Fri, 16 Jan 2015 01:02:04 +0000 (17:02 -0800)]
Add -stdlib=libc++ for linking

11 years agomac: Upgrade libchromiumcontent to fix linking error
Cheng Zhao [Thu, 15 Jan 2015 04:15:39 +0000 (20:15 -0800)]
mac: Upgrade libchromiumcontent to fix linking error

11 years agoAlso unpack arguments in ipc-message-host message
Cheng Zhao [Thu, 15 Jan 2015 03:43:01 +0000 (19:43 -0800)]
Also unpack arguments in ipc-message-host message

11 years agoUnpack the arguments in ipc message
Cheng Zhao [Thu, 15 Jan 2015 03:33:24 +0000 (19:33 -0800)]
Unpack the arguments in ipc message

11 years agoFix converting ListValue to V8
Cheng Zhao [Thu, 15 Jan 2015 03:09:02 +0000 (19:09 -0800)]
Fix converting ListValue to V8

11 years agoUpdate native_mate to fix linking error
Cheng Zhao [Thu, 15 Jan 2015 02:55:54 +0000 (18:55 -0800)]
Update native_mate to fix linking error

11 years agoConvert arguments to V8 directly in EventEmitter::Emmit
Cheng Zhao [Thu, 15 Jan 2015 01:51:54 +0000 (17:51 -0800)]
Convert arguments to V8 directly in EventEmitter::Emmit

This gets rid of the extra conversion between ListValue.

11 years agoUse C++11 stdlib
Cheng Zhao [Thu, 15 Jan 2015 01:40:24 +0000 (17:40 -0800)]
Use C++11 stdlib

11 years agowin: Fix building v0.20.6
Cheng Zhao [Wed, 14 Jan 2015 22:05:22 +0000 (14:05 -0800)]
win: Fix building

11 years agoBump v0.20.6
Cheng Zhao [Tue, 13 Jan 2015 19:47:10 +0000 (11:47 -0800)]
Bump v0.20.6

11 years agodocs: Transparent window
Cheng Zhao [Mon, 12 Jan 2015 23:27:33 +0000 (15:27 -0800)]
docs: Transparent window

11 years agoDon't set contentWindow property for <webview>
Cheng Zhao [Mon, 12 Jan 2015 22:17:49 +0000 (14:17 -0800)]
Don't set contentWindow property for <webview>

This property is only available in Chrome and we don't need it in
atom-shell, so remove it to avoid confusions.

Fixes #997.

11 years agoUse http in framework download url, fixes #998
Cheng Zhao [Mon, 12 Jan 2015 22:10:22 +0000 (14:10 -0800)]
Use http in framework download url, fixes #998

11 years agoMerge pull request #949 from atom/window-transparency
Cheng Zhao [Mon, 12 Jan 2015 22:05:20 +0000 (14:05 -0800)]
Merge pull request #949 from atom/window-transparency

Add support for window transparency

11 years agoMerge branch 'master' into window-transparency
Cheng Zhao [Mon, 12 Jan 2015 21:39:32 +0000 (13:39 -0800)]
Merge branch 'master' into window-transparency

Conflicts:
script/lib/config.py

11 years agoMerge pull request #1000 from yibuyisheng/master
Kevin Sawicki [Mon, 12 Jan 2015 17:10:22 +0000 (09:10 -0800)]
Merge pull request #1000 from yibuyisheng/master

remove `will`

11 years agoremove
yibuyisheng [Mon, 12 Jan 2015 15:23:10 +0000 (23:23 +0800)]
remove

11 years agoMerge pull request #990 from deepak1556/chrome_extension_patch
Cheng Zhao [Fri, 9 Jan 2015 23:11:21 +0000 (15:11 -0800)]
Merge pull request #990 from deepak1556/chrome_extension_patch

ensuring single instance for loading and unloading extension

11 years agoensuring single instance for loading and unloading extension
deepak1556 [Fri, 9 Jan 2015 13:20:12 +0000 (18:50 +0530)]
ensuring single instance for loading and unloading extension

11 years agoMerge pull request #985 from atom/set-safe-schema
Cheng Zhao [Thu, 8 Jan 2015 21:12:14 +0000 (13:12 -0800)]
Merge pull request #985 from atom/set-safe-schema

Add webFrame.registerUrlSchemeAsSecure API

11 years agoFix cpplint warning
Cheng Zhao [Thu, 8 Jan 2015 20:51:15 +0000 (12:51 -0800)]
Fix cpplint warning

11 years agoAdd webFrame.registerUrlSchemeAsSecure API
Cheng Zhao [Thu, 8 Jan 2015 20:37:41 +0000 (12:37 -0800)]
Add webFrame.registerUrlSchemeAsSecure API

11 years agoDon't show insecure content by default
Cheng Zhao [Wed, 7 Jan 2015 04:53:25 +0000 (20:53 -0800)]
Don't show insecure content by default

This follows the behavior of Chrome.

11 years agoAllow using blink's private headers
Cheng Zhao [Wed, 7 Jan 2015 04:53:06 +0000 (20:53 -0800)]
Allow using blink's private headers

11 years agoAdd support for --ignore-certificate-errors
Cheng Zhao [Wed, 7 Jan 2015 04:52:28 +0000 (20:52 -0800)]
Add support for --ignore-certificate-errors

This makes it possible to test HTTPS related APIs.

11 years agoBump v0.20.5 v0.20.5
Cheng Zhao [Thu, 8 Jan 2015 07:27:58 +0000 (23:27 -0800)]
Bump v0.20.5

11 years agoDon't allow duplicate object in a parsed array
Cheng Zhao [Thu, 8 Jan 2015 07:20:03 +0000 (23:20 -0800)]
Don't allow duplicate object in a parsed array

This feature was introduced to fix #874 but caused the converter to go
through a deep nested object sometimes, which made program crash on
Windows. So we have to revert the fix even though it makes a regression.

Fixes atom/atom#4904.

11 years agoBump v0.20.4 v0.20.4
Cheng Zhao [Mon, 5 Jan 2015 23:51:29 +0000 (15:51 -0800)]
Bump v0.20.4

11 years agoMerge pull request #977 from atom/dialog-icon
Cheng Zhao [Mon, 5 Jan 2015 23:50:33 +0000 (15:50 -0800)]
Merge pull request #977 from atom/dialog-icon

Add "icon" option for dialog.showMessageBox

11 years agodocs: "icon" option of dialog.showMessageBox
Cheng Zhao [Mon, 5 Jan 2015 23:30:54 +0000 (15:30 -0800)]
docs: "icon" option of dialog.showMessageBox

11 years agoFile dialogs don't need icon
Cheng Zhao [Mon, 5 Jan 2015 23:29:26 +0000 (15:29 -0800)]
File dialogs don't need icon

11 years agoviews: Fix showing icon in message dialog
Cheng Zhao [Mon, 5 Jan 2015 23:26:35 +0000 (15:26 -0800)]
views: Fix showing icon in message dialog

11 years agoAdd "icon" option for message box
Cheng Zhao [Mon, 5 Jan 2015 23:08:42 +0000 (15:08 -0800)]
Add "icon" option for message box

11 years agoEnable initializing an empty image
Cheng Zhao [Mon, 5 Jan 2015 22:41:33 +0000 (14:41 -0800)]
Enable initializing an empty image