]> khamidou — GitHub mirrors - electron.git/log
electron.git
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

11 years agoAdd --disable-http-cache switch, fixes #891
Cheng Zhao [Mon, 5 Jan 2015 21:40:38 +0000 (13:40 -0800)]
Add --disable-http-cache switch, fixes #891

11 years agoAvoid using app API in renderer process for #907
Cheng Zhao [Mon, 5 Jan 2015 06:45:51 +0000 (22:45 -0800)]
Avoid using app API in renderer process for #907

11 years agoUpgrade brightray for #941
Cheng Zhao [Mon, 5 Jan 2015 06:33:02 +0000 (22:33 -0800)]
Upgrade brightray for #941

11 years agoDon't call Screen functions until app is ready
Cheng Zhao [Mon, 5 Jan 2015 06:27:02 +0000 (22:27 -0800)]
Don't call Screen functions until app is ready

Fixes #907.

11 years agoUpgrade native_mate to fix throwing exception from constructor
Cheng Zhao [Mon, 5 Jan 2015 06:13:46 +0000 (22:13 -0800)]
Upgrade native_mate to fix throwing exception from constructor

11 years agodocs: Document dialog.showErrorBox, fixes #909
Cheng Zhao [Mon, 5 Jan 2015 05:56:45 +0000 (21:56 -0800)]
docs: Document dialog.showErrorBox, fixes #909

11 years agoMerge pull request #972 from atom/template-image
Cheng Zhao [Sat, 3 Jan 2015 03:43:17 +0000 (19:43 -0800)]
Merge pull request #972 from atom/template-image

Add support for template image

11 years agowin: Fix building
Cheng Zhao [Sat, 3 Jan 2015 03:30:48 +0000 (19:30 -0800)]
win: Fix building

11 years agolinux: Fix building
Cheng Zhao [Sat, 3 Jan 2015 03:17:02 +0000 (19:17 -0800)]
linux: Fix building

11 years agodocs: Template image
Cheng Zhao [Sat, 3 Jan 2015 03:15:09 +0000 (19:15 -0800)]
docs: Template image

11 years agomac: Add support for template image
Cheng Zhao [Sat, 3 Jan 2015 03:01:38 +0000 (19:01 -0800)]
mac: Add support for template image

11 years agoUse gfx::Image instead of gfx::ImageSkia in API
Cheng Zhao [Sat, 3 Jan 2015 02:43:56 +0000 (18:43 -0800)]
Use gfx::Image instead of gfx::ImageSkia in API

The gfx::Image can use NSImage directly as underlying format, so we
don't have to decode images ourselves on Mac, and we will also be able
to make use of template images.

11 years agomac: Check for invalid image
Cheng Zhao [Sat, 3 Jan 2015 02:35:33 +0000 (18:35 -0800)]
mac: Check for invalid image

11 years agomac: Initialize gfx::ImageSkia from gfx::Image
Cheng Zhao [Sat, 3 Jan 2015 02:34:13 +0000 (18:34 -0800)]
mac: Initialize gfx::ImageSkia from gfx::Image

11 years agomac: Initialize gfx::Image from NSImage
Cheng Zhao [Sat, 3 Jan 2015 02:22:03 +0000 (18:22 -0800)]
mac: Initialize gfx::Image from NSImage

11 years agoSimplify the image_converter.cc
Cheng Zhao [Sat, 3 Jan 2015 02:10:29 +0000 (18:10 -0800)]
Simplify the image_converter.cc

11 years agoAdd converters for gfx::Image
Cheng Zhao [Sat, 3 Jan 2015 01:13:26 +0000 (17:13 -0800)]
Add converters for gfx::Image

11 years agoUpgrade brightray for #969
Cheng Zhao [Fri, 2 Jan 2015 23:18:55 +0000 (15:18 -0800)]
Upgrade brightray for #969

11 years agoMerge pull request #966 from ttilley/master
Cheng Zhao [Fri, 2 Jan 2015 20:10:32 +0000 (12:10 -0800)]
Merge pull request #966 from ttilley/master

fix typo in atom.gyp

11 years agofix typo in atom.gyp
Travis Tilley [Thu, 1 Jan 2015 15:51:59 +0000 (10:51 -0500)]
fix typo in atom.gyp

use product_name instead of project_name when creating framework symlinks; fixes build on MacOS

11 years agodocs: Add troubleshooting for runnin on Git Bash, closed #711
Cheng Zhao [Tue, 30 Dec 2014 03:09:36 +0000 (19:09 -0800)]
docs: Add troubleshooting for runnin on Git Bash, closed #711

11 years agoBump v0.20.3 v0.20.3
Cheng Zhao [Mon, 29 Dec 2014 20:21:35 +0000 (12:21 -0800)]
Bump v0.20.3

11 years agoMerge pull request #962 from atom/fix-rename-bundle
Cheng Zhao [Mon, 29 Dec 2014 20:20:38 +0000 (12:20 -0800)]
Merge pull request #962 from atom/fix-rename-bundle

Fix renaming application bundle on Mac

11 years agodocs: Mention the GYP_DEFINES way of rebranding
Cheng Zhao [Mon, 29 Dec 2014 20:12:04 +0000 (12:12 -0800)]
docs: Mention the GYP_DEFINES way of rebranding

11 years agodocs: Update Application Distribution
Cheng Zhao [Mon, 29 Dec 2014 18:46:15 +0000 (10:46 -0800)]
docs: Update Application Distribution

11 years agoMake product_name and project_name configurable
Cheng Zhao [Mon, 29 Dec 2014 17:51:47 +0000 (09:51 -0800)]
Make product_name and project_name configurable

Now users can make use of GYP_DEFINES to custom application name:

export GYP_DEFINES="product_name=MyApp project_name=myapp"
./script/update.py
./script/build.py -C Release -t myapp

11 years agoDiscard "framework_name"
Cheng Zhao [Mon, 29 Dec 2014 17:49:10 +0000 (09:49 -0800)]
Discard "framework_name"

We are using "'product_name' Framework" directly in C++, so we should
keep the name consistent in C++ and gyp

11 years agoUse PRODUCT_NAME as application name
Cheng Zhao [Mon, 29 Dec 2014 17:44:34 +0000 (09:44 -0800)]
Use PRODUCT_NAME as application name

11 years agoDefine PRODUCT_NAME
Cheng Zhao [Mon, 29 Dec 2014 17:39:21 +0000 (09:39 -0800)]
Define PRODUCT_NAME

11 years agoRevert #898
Cheng Zhao [Mon, 29 Dec 2014 17:35:08 +0000 (09:35 -0800)]
Revert #898

11 years agomac: BrowserWindow.show() should also focus on window
Cheng Zhao [Sun, 28 Dec 2014 01:41:13 +0000 (17:41 -0800)]
mac: BrowserWindow.show() should also focus on window

11 years agowin: Make transparent window resizable
Cheng Zhao [Wed, 24 Dec 2014 01:24:04 +0000 (17:24 -0800)]
win: Make transparent window resizable

11 years agoviews: Make transparent window work
Cheng Zhao [Wed, 24 Dec 2014 00:55:57 +0000 (16:55 -0800)]
views: Make transparent window work

11 years agomac: Simplify frameless window dragging code
Cheng Zhao [Tue, 23 Dec 2014 23:50:42 +0000 (15:50 -0800)]
mac: Simplify frameless window dragging code