]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 years agoFixes after code review.
Bundyo [Wed, 4 Mar 2015 09:29:52 +0000 (11:29 +0200)]
Fixes after code review.

11 years agoChange the link to use dashes.
bundyo [Sat, 28 Feb 2015 08:34:26 +0000 (10:34 +0200)]
Change the link to use dashes.

11 years agoAdd FakeWindow documentation.
bundyo [Sat, 28 Feb 2015 08:31:07 +0000 (10:31 +0200)]
Add FakeWindow documentation.

11 years agoRemove two semicolons.
Bundyo [Fri, 13 Feb 2015 16:54:18 +0000 (18:54 +0200)]
Remove two semicolons.

11 years agoImplement FakeWindow.postMessage, window.opener.postMessage and window.closed flag...
Bundyo [Fri, 13 Feb 2015 16:45:12 +0000 (18:45 +0200)]
Implement FakeWindow.postMessage, window.opener.postMessage and window.closed flag for popup windows.

11 years agoMerge pull request #1136 from atom/no-js
Cheng Zhao [Fri, 13 Feb 2015 06:10:09 +0000 (14:10 +0800)]
Merge pull request #1136 from atom/no-js

Bundle all the .js files in asar archive

11 years agoSet process.resourcesPath in C++
Cheng Zhao [Fri, 13 Feb 2015 05:32:58 +0000 (13:32 +0800)]
Set process.resourcesPath in C++

11 years agoPut compiled coffee sources into asar archive
Cheng Zhao [Fri, 13 Feb 2015 05:05:51 +0000 (13:05 +0800)]
Put compiled coffee sources into asar archive

11 years agoUse __dirname when setting globalPaths
Cheng Zhao [Fri, 13 Feb 2015 04:55:06 +0000 (12:55 +0800)]
Use __dirname when setting globalPaths

11 years agoasar@0.2.2
Cheng Zhao [Fri, 13 Feb 2015 04:39:51 +0000 (12:39 +0800)]
asar@0.2.2

11 years agoMerge pull request #1134 from atom/menu-icon
Cheng Zhao [Fri, 13 Feb 2015 04:32:41 +0000 (12:32 +0800)]
Merge pull request #1134 from atom/menu-icon

Enable setting icon for MenuItem

11 years agodocs: "icon" attribute
Cheng Zhao [Fri, 13 Feb 2015 04:12:40 +0000 (12:12 +0800)]
docs: "icon" attribute

11 years agoEnable setting icon of menu item
Cheng Zhao [Fri, 13 Feb 2015 04:11:50 +0000 (12:11 +0800)]
Enable setting icon of menu item

11 years agoSimplify the code to call delegate method
Cheng Zhao [Fri, 13 Feb 2015 03:47:22 +0000 (11:47 +0800)]
Simplify the code to call delegate method

11 years agoMerge pull request #1129 from atom/asar-image
Cheng Zhao [Thu, 12 Feb 2015 13:04:34 +0000 (21:04 +0800)]
Merge pull request #1129 from atom/asar-image

Recognize asar archive in NativeImage

11 years agoFix cpplint warnings
Cheng Zhao [Thu, 12 Feb 2015 11:50:28 +0000 (19:50 +0800)]
Fix cpplint warnings

11 years agospec: native-image should read asar archive
Cheng Zhao [Thu, 12 Feb 2015 11:34:39 +0000 (19:34 +0800)]
spec: native-image should read asar archive

11 years agoMake NativeImage work with asar archive
Cheng Zhao [Thu, 12 Feb 2015 11:34:21 +0000 (19:34 +0800)]
Make NativeImage work with asar archive

11 years agoMove GetAsarArchivePath to asar_util.h
Cheng Zhao [Thu, 12 Feb 2015 09:31:14 +0000 (17:31 +0800)]
Move GetAsarArchivePath to asar_util.h

11 years agoMove GetsOrCreateAsarArchive to asar_util.h
Cheng Zhao [Thu, 12 Feb 2015 09:23:49 +0000 (17:23 +0800)]
Move GetsOrCreateAsarArchive to asar_util.h

11 years agoMerge pull request #1128 from atom/native-image
Cheng Zhao [Thu, 12 Feb 2015 08:48:42 +0000 (16:48 +0800)]
Merge pull request #1128 from atom/native-image

Introduce NativeImage

11 years agodocs: Update NativeImage
Cheng Zhao [Thu, 12 Feb 2015 07:38:16 +0000 (15:38 +0800)]
docs: Update NativeImage

11 years agoAdd nativeImage.createFromBuffer()
Cheng Zhao [Thu, 12 Feb 2015 07:19:05 +0000 (15:19 +0800)]
Add nativeImage.createFromBuffer()

11 years agospec: Fix BrowserWindow.capturePage
Cheng Zhao [Thu, 12 Feb 2015 06:37:32 +0000 (14:37 +0800)]
spec: Fix BrowserWindow.capturePage

11 years agoAdd NativeImage.toDataUrl()
Cheng Zhao [Thu, 12 Feb 2015 06:32:51 +0000 (14:32 +0800)]
Add NativeImage.toDataUrl()

11 years agoAdd nativeImage.createFromDataUrl()
Cheng Zhao [Thu, 12 Feb 2015 06:27:53 +0000 (14:27 +0800)]
Add nativeImage.createFromDataUrl()

11 years agoAdd nativeImage.createEmpty()
Cheng Zhao [Thu, 12 Feb 2015 05:55:45 +0000 (13:55 +0800)]
Add nativeImage.createEmpty()

11 years agodocs: Use NativeImage to replace Image
Cheng Zhao [Thu, 12 Feb 2015 05:52:28 +0000 (13:52 +0800)]
docs: Use NativeImage to replace Image

11 years agoReturn NativeImage in BrowserWindow.capturePage
Cheng Zhao [Thu, 12 Feb 2015 04:58:11 +0000 (12:58 +0800)]
Return NativeImage in BrowserWindow.capturePage

11 years agomac: Use AsNSImage instead of ToNSImage
Cheng Zhao [Thu, 12 Feb 2015 04:29:21 +0000 (12:29 +0800)]
mac: Use AsNSImage instead of ToNSImage

It can get rid of the empty check.

11 years agomac: Don't rely on NSImage to read file
Cheng Zhao [Thu, 12 Feb 2015 04:24:18 +0000 (12:24 +0800)]
mac: Don't rely on NSImage to read file

It doesn't work with asar.

11 years agoUpgrade native_mate for security check
Cheng Zhao [Wed, 11 Feb 2015 14:10:09 +0000 (22:10 +0800)]
Upgrade native_mate for security check

11 years agoFix cpplint warnings
Cheng Zhao [Wed, 11 Feb 2015 13:59:08 +0000 (21:59 +0800)]
Fix cpplint warnings

11 years agoUse NativeImage when converting images from V8
Cheng Zhao [Wed, 11 Feb 2015 11:22:41 +0000 (19:22 +0800)]
Use NativeImage when converting images from V8

11 years agoEnable creating NativeImage from file path
Cheng Zhao [Wed, 11 Feb 2015 10:41:06 +0000 (18:41 +0800)]
Enable creating NativeImage from file path

11 years agoEnable creating NativeImage with native-image module
Cheng Zhao [Wed, 11 Feb 2015 10:09:51 +0000 (18:09 +0800)]
Enable creating NativeImage with native-image module

11 years agoEnable creating NativeImage from PNG and JPEG
Cheng Zhao [Wed, 11 Feb 2015 10:02:59 +0000 (18:02 +0800)]
Enable creating NativeImage from PNG and JPEG

11 years agoAdd NativeImage.ToJPEG
Cheng Zhao [Wed, 11 Feb 2015 09:47:54 +0000 (17:47 +0800)]
Add NativeImage.ToJPEG

11 years agoAdd a few more methods for NativeImage
Cheng Zhao [Wed, 11 Feb 2015 08:49:43 +0000 (16:49 +0800)]
Add a few more methods for NativeImage

11 years agoConvert gfx::Image to NativeImage instance
Cheng Zhao [Wed, 11 Feb 2015 08:03:19 +0000 (16:03 +0800)]
Convert gfx::Image to NativeImage instance

11 years agoAdd clipboard.readImage method
Cheng Zhao [Wed, 11 Feb 2015 06:55:44 +0000 (14:55 +0800)]
Add clipboard.readImage method

11 years agoEnable converting gfx::Image to Buffer
Cheng Zhao [Wed, 11 Feb 2015 06:31:51 +0000 (14:31 +0800)]
Enable converting gfx::Image to Buffer

11 years agoUpgrade brightray for gyp
Cheng Zhao [Thu, 12 Feb 2015 02:43:53 +0000 (10:43 +0800)]
Upgrade brightray for gyp

11 years agoMerge pull request #1122 from atom/window-type
Cheng Zhao [Wed, 11 Feb 2015 04:31:44 +0000 (12:31 +0800)]
Merge pull request #1122 from atom/window-type

Add "type" option to change window type of BrowserWindow

11 years agodocs: "type" option of BrowserWindow
Cheng Zhao [Wed, 11 Feb 2015 04:15:51 +0000 (12:15 +0800)]
docs: "type" option of BrowserWindow

11 years agoAdd "type" option to change window type
Cheng Zhao [Wed, 11 Feb 2015 04:12:22 +0000 (12:12 +0800)]
Add "type" option to change window type

11 years agoMerge pull request #1106 from paulcbetts/set-overlay-icon
Cheng Zhao [Wed, 11 Feb 2015 03:51:01 +0000 (11:51 +0800)]
Merge pull request #1106 from paulcbetts/set-overlay-icon

Set window overlay icon

11 years agoStyle fixups
Paul Betts [Wed, 11 Feb 2015 01:14:26 +0000 (17:14 -0800)]
Style fixups

11 years agoSuppress SSL verification, fixes #1115
Cheng Zhao [Tue, 10 Feb 2015 09:52:33 +0000 (17:52 +0800)]
Suppress SSL verification, fixes #1115

11 years agoMerge pull request #1107 from yoshuawuyts/patch-1
Cheng Zhao [Tue, 10 Feb 2015 04:12:34 +0000 (12:12 +0800)]
Merge pull request #1107 from yoshuawuyts/patch-1

docs: update wording in `application-packaging`

11 years agodocs: update wording in `application-packagaging`
Yoshua Wuyts [Sun, 8 Feb 2015 11:04:02 +0000 (12:04 +0100)]
docs: update wording in `application-packagaging`

Minor tweak, should make the sentence a bit more fluent. Thanks!

11 years agoicon_util is Windows-only
Paul Betts [Sat, 7 Feb 2015 19:57:00 +0000 (11:57 -0800)]
icon_util is Windows-only

11 years agoFix build on OS X
Paul Betts [Sat, 7 Feb 2015 19:56:03 +0000 (11:56 -0800)]
Fix build on OS X

11 years agoDocumentation
Paul Betts [Sat, 7 Feb 2015 01:11:54 +0000 (17:11 -0800)]
Documentation

11 years agoAdd missing trampoline method
Paul Betts [Sat, 7 Feb 2015 01:07:29 +0000 (17:07 -0800)]
Add missing trampoline method

11 years agoWe need a UTF-16 string here
Paul Betts [Sat, 7 Feb 2015 01:00:38 +0000 (17:00 -0800)]
We need a UTF-16 string here

11 years agoSwitch to gfx::Image
Paul Betts [Sat, 7 Feb 2015 01:00:26 +0000 (17:00 -0800)]
Switch to gfx::Image

11 years agoCome correct with line length and constness
Paul Betts [Sat, 7 Feb 2015 00:31:41 +0000 (16:31 -0800)]
Come correct with line length and constness

11 years agoPlumb code all the way up
Paul Betts [Sat, 7 Feb 2015 00:12:32 +0000 (16:12 -0800)]
Plumb code all the way up

11 years agoFirst hack at setting the window icon overlay
Paul Betts [Fri, 6 Feb 2015 23:58:49 +0000 (15:58 -0800)]
First hack at setting the window icon overlay

11 years agoBump v0.21.2 v0.21.2
Cheng Zhao [Thu, 5 Feb 2015 21:46:09 +0000 (13:46 -0800)]
Bump v0.21.2

11 years agoMerge pull request #1100 from christoth/master
Cheng Zhao [Thu, 5 Feb 2015 20:01:25 +0000 (12:01 -0800)]
Merge pull request #1100 from christoth/master

Remove MFC lib dependency

11 years agoUpdate atom.rc
christoth [Thu, 5 Feb 2015 19:55:32 +0000 (14:55 -0500)]
Update atom.rc

11 years agoRemove MFC lib dependency
christoth [Thu, 5 Feb 2015 18:09:19 +0000 (13:09 -0500)]
Remove MFC lib dependency

Replace afxres.h with windows.h to remove dependency on MFC for compilation on Windows

11 years agoA little clean up
Cheng Zhao [Thu, 5 Feb 2015 08:17:45 +0000 (00:17 -0800)]
A little clean up

11 years agoMerge pull request #1098 from dpatou/patch-1
Kevin Sawicki [Thu, 5 Feb 2015 00:27:01 +0000 (16:27 -0800)]
Merge pull request #1098 from dpatou/patch-1

Event name typo

11 years agoEvent name typo
Damien Patou [Thu, 5 Feb 2015 00:23:16 +0000 (01:23 +0100)]
Event name typo

11 years agoMerge pull request #1097 from atom/fix-webview-race-condition
Cheng Zhao [Thu, 5 Feb 2015 00:13:18 +0000 (16:13 -0800)]
Merge pull request #1097 from atom/fix-webview-race-condition

Fix the race condition when updating webview info

11 years agoGet the WebViewManager from embedder WebContents
Cheng Zhao [Wed, 4 Feb 2015 23:52:59 +0000 (15:52 -0800)]
Get the WebViewManager from embedder WebContents

This make our lives easier when we have multiple BrowserContext support.

11 years agoSeperate the API implementation of WebViewManager
Cheng Zhao [Wed, 4 Feb 2015 23:39:41 +0000 (15:39 -0800)]
Seperate the API implementation of WebViewManager

11 years agoClean up WebViewManager
Cheng Zhao [Wed, 4 Feb 2015 23:28:26 +0000 (15:28 -0800)]
Clean up WebViewManager

11 years agoMove web_view_manager to atom/browser
Cheng Zhao [Wed, 4 Feb 2015 23:17:28 +0000 (15:17 -0800)]
Move web_view_manager to atom/browser

11 years agoAvoid using global BrowserContext
Cheng Zhao [Wed, 4 Feb 2015 23:08:29 +0000 (15:08 -0800)]
Avoid using global BrowserContext

11 years agoRemove the WebViewRendererState class
Cheng Zhao [Wed, 4 Feb 2015 22:58:03 +0000 (14:58 -0800)]
Remove the WebViewRendererState class

11 years agoUpdate WebViewRendererState immediately
Cheng Zhao [Wed, 4 Feb 2015 20:59:46 +0000 (12:59 -0800)]
Update WebViewRendererState immediately

11 years agoRemove WebViewRendererState::IsGuest
Cheng Zhao [Wed, 4 Feb 2015 20:51:15 +0000 (12:51 -0800)]
Remove WebViewRendererState::IsGuest

11 years agoAdd lock for WebViewRendererState
Cheng Zhao [Wed, 4 Feb 2015 20:50:24 +0000 (12:50 -0800)]
Add lock for WebViewRendererState

11 years agoMerge pull request #1096 from atom/generic-asar-support
Cheng Zhao [Wed, 4 Feb 2015 20:18:13 +0000 (12:18 -0800)]
Merge pull request #1096 from atom/generic-asar-support

Support asar archives in scripts forked with child_process.fork

11 years agolinux: Fix building
Cheng Zhao [Wed, 4 Feb 2015 19:18:25 +0000 (11:18 -0800)]
linux: Fix building

11 years agoFix cpplint warnings
Cheng Zhao [Wed, 4 Feb 2015 19:01:01 +0000 (11:01 -0800)]
Fix cpplint warnings

11 years agospec: Script forked with child_process supports asar archives
Cheng Zhao [Wed, 4 Feb 2015 18:52:09 +0000 (10:52 -0800)]
spec: Script forked with child_process supports asar archives

11 years agoInit asar support without external .js files
Cheng Zhao [Wed, 4 Feb 2015 18:45:17 +0000 (10:45 -0800)]
Init asar support without external .js files

11 years agoCompile asar.coffee to .c
Cheng Zhao [Wed, 4 Feb 2015 00:46:52 +0000 (16:46 -0800)]
Compile asar.coffee to .c

11 years agogenerate_sources => compile_coffee
Cheng Zhao [Wed, 4 Feb 2015 00:07:29 +0000 (16:07 -0800)]
generate_sources => compile_coffee

11 years agocompile-coffee.py should be put under tools/
Cheng Zhao [Tue, 3 Feb 2015 23:56:58 +0000 (15:56 -0800)]
compile-coffee.py should be put under tools/

11 years agoMerge pull request #1092 from paulcbetts/patch-2
Cheng Zhao [Tue, 3 Feb 2015 20:12:59 +0000 (12:12 -0800)]
Merge pull request #1092 from paulcbetts/patch-2

Use 'atomScreen' for the variable name

11 years agodocs: forBrowser is now required for webdriver
Cheng Zhao [Tue, 3 Feb 2015 19:38:22 +0000 (11:38 -0800)]
docs: forBrowser is now required for webdriver

11 years agoUse 'atomScreen' for the variable name
Paul Betts [Tue, 3 Feb 2015 19:32:33 +0000 (11:32 -0800)]
Use 'atomScreen' for the variable name

Even though it's not screen's fault, it's super easy in the DevTools to write `screen = require('screen')`, then wonder why it doesn't work (because `window.screen` is reserved by the DOM). This makes people who just type in the example more likely to get it right.

11 years agoUpgrade brightray
Cheng Zhao [Tue, 3 Feb 2015 18:59:02 +0000 (10:59 -0800)]
Upgrade brightray

11 years agoUpgrade brightray
Cheng Zhao [Tue, 3 Feb 2015 18:43:24 +0000 (10:43 -0800)]
Upgrade brightray

11 years agoBump v0.21.1 v0.21.1
Cheng Zhao [Tue, 3 Feb 2015 01:06:11 +0000 (17:06 -0800)]
Bump v0.21.1

11 years agowin: Delete temp file on reboot, fix #1084
Cheng Zhao [Tue, 3 Feb 2015 01:03:52 +0000 (17:03 -0800)]
win: Delete temp file on reboot, fix #1084

11 years agowin: Fix program not quitting, close #1084
Cheng Zhao [Tue, 3 Feb 2015 00:09:35 +0000 (16:09 -0800)]
win: Fix program not quitting, close #1084

11 years agoMerge pull request #1082 from atom/graceful-asar
Cheng Zhao [Mon, 2 Feb 2015 23:01:20 +0000 (15:01 -0800)]
Merge pull request #1082 from atom/graceful-asar

Make asar support work with graceful-fs

11 years agoFix string escaping
Cheng Zhao [Mon, 2 Feb 2015 01:39:22 +0000 (17:39 -0800)]
Fix string escaping

11 years agoDon't touch global fs object in graceful-fs
Cheng Zhao [Sun, 1 Feb 2015 22:04:40 +0000 (14:04 -0800)]
Don't touch global fs object in graceful-fs

11 years agospec: graceful-fs should not touch global fs object
Cheng Zhao [Sun, 1 Feb 2015 07:51:15 +0000 (23:51 -0800)]
spec: graceful-fs should not touch global fs object

11 years agoRedirect process.binding('natives').fs to global fs object
Cheng Zhao [Sun, 1 Feb 2015 07:47:47 +0000 (23:47 -0800)]
Redirect process.binding('natives').fs to global fs object

11 years agoEnable wrap arbitrary fs object
Cheng Zhao [Sun, 1 Feb 2015 07:31:14 +0000 (23:31 -0800)]
Enable wrap arbitrary fs object

11 years agospec: Test graceful-fs
Cheng Zhao [Sun, 1 Feb 2015 07:16:29 +0000 (23:16 -0800)]
spec: Test graceful-fs