Cheng Zhao
a02707f998
Fix cpplint warnings
2015-02-04 11:01:01 -08:00
Cheng Zhao
45e2dd2ab5
Init asar support without external .js files
2015-02-04 10:45:17 -08:00
Cheng Zhao
93a24ec672
Bump v0.21.1
2015-02-02 17:06:11 -08:00
Cheng Zhao
11cb777e35
win: Delete temp file on reboot, fix #1084
2015-02-02 17:03:52 -08:00
Cheng Zhao
27011ad0c8
win: Fix program not quitting, close #1084
2015-02-02 16:10:48 -08:00
Cheng Zhao
6e469df90e
Fix string escaping
2015-02-02 13:35:32 -08:00
Cheng Zhao
0c0a6bd939
Don't touch global fs object in graceful-fs
2015-02-02 13:35:32 -08:00
Cheng Zhao
afd6f41e08
Redirect process.binding('natives').fs to global fs object
2015-02-02 13:35:32 -08:00
Cheng Zhao
0a393eaa1c
Enable wrap arbitrary fs object
2015-02-02 13:35:32 -08:00
Cheng Zhao
8947d54cc9
Bump v0.21.0
2015-01-27 17:33:13 -08:00
Cheng Zhao
12998399f8
Do not warn about deprecated APIs
...
Some APIs deprecated by iojs is still in use.
2015-01-27 14:49:14 -08:00
Cheng Zhao
fbe1abddf4
Upgrade libchromiumcontent to ship crypto headers
2015-01-27 13:19:18 -08:00
Cheng Zhao
3dd9e4cdf8
uv_run_mode can not be used as bitmask
...
See http://git.io/9ou_MQ for more on this.
2015-01-27 13:18:31 -08:00
Cheng Zhao
750db6aed8
base/file_util.h has been moved to base/files/file_util.h
2015-01-27 13:18:30 -08:00
Cheng Zhao
43421aedcf
OVERRIDE macro is now removed
2015-01-27 13:18:30 -08:00
Cheng Zhao
13ed038082
Upgrade to Chrome 40.0.2214.72
2015-01-27 13:17:48 -08:00
Cheng Zhao
de151cef8e
Bump v0.20.8
2015-01-27 11:38:30 -08:00
Cheng Zhao
c2b109f7fc
Fix process.crash()
2015-01-23 21:55:42 -08:00
Cheng Zhao
a755edebfa
Simplify atom_bindings
2015-01-23 21:33:40 -08:00
Cheng Zhao
76fc62808c
Use FILE_PATH_LITERAL instead of AppendASCII
2015-01-23 21:12:45 -08:00
Cheng Zhao
54ab6744f1
Remove some unused virtual functions
2015-01-23 21:05:32 -08:00
Cheng Zhao
2d262d2dbd
Use node::CreateEnvironment to create environment
2015-01-23 21:02:31 -08:00
Cheng Zhao
7e33e26465
Add atom-shell bindings before loading environment
2015-01-21 15:02:09 -08:00
Cheng Zhao
5e58915bdd
Separate LoadEnvironment from CreateEnvironment
2015-01-21 14:00:19 -08:00
Cheng Zhao
7c0f414881
Bump v0.20.7
2015-01-20 11:30:41 -08:00
Cheng Zhao
69092eee15
No need to preheat original-fs module
2015-01-19 15:47:21 -08:00
Cheng Zhao
0933a7d1b2
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 .
2015-01-19 14:22:32 -08:00
Cheng Zhao
c6fb645f6b
Warning of app not ready in screen module
2015-01-18 21:42:46 -08:00
Cheng Zhao
809c995c0b
Make "screen" module a browser module
2015-01-16 11:01:38 -08:00
Cheng Zhao
551c39e241
Add some more attributes for Display
2015-01-16 11:01:38 -08:00
Cheng Zhao
97070246b7
Don't put gfx_converter's implementaion in header file
2015-01-16 11:01:38 -08:00
Cheng Zhao
029ee9aa1e
Add a few more API bindings
2015-01-16 11:01:38 -08:00
Cheng Zhao
509294b228
Don't hard-code API names
2015-01-16 11:01:38 -08:00
Cheng Zhao
f6f5ff4330
Fix converting ListValue to V8
2015-01-14 19:09:25 -08:00
Cheng Zhao
2d6dc9c527
Convert arguments to V8 directly in EventEmitter::Emmit
...
This gets rid of the extra conversion between ListValue.
2015-01-14 17:51:54 -08:00
Cheng Zhao
b4ba4a908e
Bump v0.20.6
2015-01-13 11:47:10 -08:00
Cheng Zhao
21ba5b867d
Merge branch 'master' into window-transparency
...
Conflicts:
script/lib/config.py
2015-01-12 13:39:32 -08:00
Cheng Zhao
09acb9032a
Allow using blink's private headers
2015-01-08 11:50:55 -08:00
Cheng Zhao
506237f5d6
Bump v0.20.5
2015-01-07 23:27:58 -08:00
Cheng Zhao
609e3ec3ff
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 .
2015-01-07 23:20:03 -08:00
Cheng Zhao
640c8f88ff
Bump v0.20.4
2015-01-05 15:51:29 -08:00
Cheng Zhao
513052de87
Enable initializing an empty image
2015-01-05 14:55:06 -08:00
Cheng Zhao
d65919d896
Add --disable-http-cache switch, fixes #891
2015-01-05 13:40:38 -08:00
Cheng Zhao
895ccf69a7
Avoid using app API in renderer process for #907
2015-01-04 22:51:00 -08:00
Cheng Zhao
335cd79b37
Don't call Screen functions until app is ready
...
Fixes #907 .
2015-01-04 22:27:02 -08:00
Cheng Zhao
079f81b304
mac: Add support for template image
2015-01-02 19:01:38 -08:00
Cheng Zhao
3d7da455bc
mac: Check for invalid image
2015-01-02 18:35:33 -08:00
Cheng Zhao
ac8a9afada
mac: Initialize gfx::ImageSkia from gfx::Image
2015-01-02 18:34:13 -08:00
Cheng Zhao
8faab22f5e
mac: Initialize gfx::Image from NSImage
2015-01-02 18:24:23 -08:00
Cheng Zhao
40679ae82c
Simplify the image_converter.cc
2015-01-02 18:10:29 -08:00
Cheng Zhao
f972c38bc8
Add converters for gfx::Image
2015-01-02 17:13:26 -08:00
Cheng Zhao
7dc8ede90f
Bump v0.20.3
2014-12-29 12:21:35 -08:00
Cheng Zhao
9593c71f52
Add "transparent" option
2014-12-22 17:48:54 -08:00
Cheng Zhao
a23218c51d
Bump v0.20.2
2014-12-22 13:11:28 -08:00
Cheng Zhao
55c8206bda
Bump v0.20.1
2014-12-17 15:27:42 -08:00
Cheng Zhao
4fc14959a8
Allow same object to appear in one list when parsing V8 array
...
Fixes #874 .
2014-12-16 16:57:42 -08:00
Cheng Zhao
95dd73bd1d
Add maximum depth when converting V8 object to base::Value
2014-12-16 16:46:23 -08:00
Cheng Zhao
d50eeb04d5
Upgrade cpplint
2014-12-15 17:15:56 -08:00
Cheng Zhao
85b0885af7
Bump v0.20.0
2014-12-12 18:21:14 -08:00
Cheng Zhao
e58b3ddc86
Bump Chrome version
2014-12-09 16:37:40 -08:00
Cheng Zhao
7bc364a374
Upgrade node for new V8 API
2014-12-07 13:09:50 -08:00
Cheng Zhao
ba347f6460
mac: Fix crash reporting on Yosemite
2014-12-07 08:56:59 -08:00
Cheng Zhao
10823eeeaa
Fix compilation errors caused by Chrome 39
2014-12-07 07:43:26 -08:00
Cheng Zhao
6c9dbe190d
Bump v0.19.5
2014-11-28 20:01:42 +08:00
Cheng Zhao
a0034521da
Bump v0.19.4
2014-11-21 16:51:11 +08:00
Cheng Zhao
8a73d91ea1
Bump v0.19.3
2014-11-20 11:09:05 +08:00
Cheng Zhao
b27abd2011
Bump v0.19.2.
2014-11-15 15:18:01 +08:00
Cheng Zhao
9f29f66768
Add "preload" option for BrowserWindow
2014-11-12 15:04:03 +08:00
Cheng Zhao
5cb97545fd
Add original-fs module
2014-11-12 11:09:59 +08:00
Cheng Zhao
66e96f69fc
Add crashRepoter.getLastCrashReport API
2014-11-11 17:30:01 +08:00
Cheng Zhao
9a825c5cbd
win: Writes uploads.log
2014-11-11 16:38:16 +08:00
Cheng Zhao
02bcdc1c19
linux: Put "uploads.log" under "/tmp/ProductName Crashes/"
2014-11-11 13:30:06 +08:00
Cheng Zhao
f13d8407ee
linux: Put crash dumps under "/tmp/ProductName Crashes/"
2014-11-11 13:03:47 +08:00
Cheng Zhao
739c432c98
linux: Writes crash report upload log
2014-11-11 12:24:33 +08:00
Cheng Zhao
217b1afe87
Load the "preload" script in <webview>
2014-11-06 15:13:37 +08:00
Cheng Zhao
d1724ad733
Bump v0.19.1.
2014-11-04 19:19:31 +08:00
Cheng Zhao
48d54e8d3a
Fix JavaScript errors in webview
2014-11-03 22:18:03 +08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
35e5c2172f
Bump v0.19.0.
2014-10-30 12:02:42 +08:00
Cheng Zhao
404e08c0e7
Make remote.getCurrentWindow() work in <webview>
2014-10-26 19:30:53 +08:00
Cheng Zhao
10a8f3c884
Make <webview> work with plugins turned off
2014-10-26 14:05:54 +08:00
Cheng Zhao
24b4fcea15
Add BIND_DONE event for process object
2014-10-25 23:21:17 +08:00
Cheng Zhao
4ccb0cccf3
Rename web-view module to web-frame
2014-10-24 18:45:03 +08:00
Cheng Zhao
39e75574f4
Attach <webview> with guest WebContents
2014-10-24 14:37:14 +08:00
Cheng Zhao
2d8fe489a7
Add converters between gfx:: and v8
2014-10-24 12:48:52 +08:00
Cheng Zhao
d34cff2eef
api: Add webContent.create() to create detached WebContents
2014-10-23 14:04:13 +08:00
Cheng Zhao
645f81effd
Bump v0.18.2.
2014-10-21 21:27:43 +08:00
Cheng Zhao
4b5dd2ed4b
Bump v0.18.1.
2014-10-17 17:00:26 +08:00
Cheng Zhao
ed07bd202f
Bump v0.18.0.
2014-10-14 20:24:56 +08:00
Cheng Zhao
9e87037d34
Upgrade to libchromiumcontent 44c71d8
2014-10-13 10:09:58 +08:00
Cheng Zhao
32dff999a5
Fix API changes of Chrome 38
2014-10-11 19:11:34 +08:00
Cheng Zhao
b560176aeb
Set google API key
2014-10-08 18:27:39 +08:00
Cheng Zhao
05b602d0ce
Import Chrome's tts code
2014-10-07 21:18:44 +08:00
Cheng Zhao
8519ea3299
Bump v0.17.2.
2014-10-06 19:13:26 +08:00
Subash Pathak
9f8a5a7af3
Optimize fs.stat
2014-10-02 23:35:37 +05:45
Cheng Zhao
cc4897f8c1
Add process.versions['chrome'], fixes #675
2014-10-02 23:48:17 +08:00
Subash Pathak
dde8e47add
Time Shim
2014-10-01 22:24:51 +05:45
Subash Pathak
0040f07097
Added Stat Time
2014-10-01 22:01:57 +05:45
Cheng Zhao
64b2c9b36c
Bump v0.17.1.
2014-10-01 20:41:35 +08:00
Cheng Zhao
9dd68c7add
Bump v0.17.0.
2014-10-01 18:12:03 +08:00
Cheng Zhao
f6d6a12c1a
win: uv_poll_get_timeout is removed
2014-09-30 23:27:36 +08:00
Cheng Zhao
e316e4a267
Upgrade node to v0.11.4, fixes #669
2014-09-30 23:14:25 +08:00
Cheng Zhao
301014e4a6
win: asar: Support "\" as path separator
2014-09-30 20:12:48 +08:00
Cheng Zhao
915c1b19d3
asar: Fix fs.realpath on package's root
2014-09-30 15:09:50 +08:00
Cheng Zhao
b87dfb964c
asar: Add support in fs.realpath
2014-09-30 14:57:49 +08:00
Cheng Zhao
885ac53a48
asar: Add support in fs.realpathSync
2014-09-30 14:53:58 +08:00
Cheng Zhao
e24976c59f
Fix overriding async node API
2014-09-29 16:28:51 +08:00
Cheng Zhao
3c412e1cb8
Fix readdir on a linked directory
2014-09-29 15:23:28 +08:00
Cheng Zhao
35e867820e
Make sure fs.stat and fs.lstat are async
2014-09-29 14:59:44 +08:00
Cheng Zhao
a757c62da5
Use "null" instead of "undefined" as no error
2014-09-29 14:57:10 +08:00
Cheng Zhao
4d01aa2772
Fix shifting args in fs.readFile
2014-09-28 23:36:12 +08:00
Cheng Zhao
cebafeae40
Fix getting file from symbol linked directory.
2014-09-28 22:46:29 +08:00
Cheng Zhao
150739e19e
Fix calling fs.open in fs.readFile wrapper
2014-09-28 22:45:29 +08:00
Cheng Zhao
38f83cacf9
Make some APIs work with archive.copyFileOut API.
2014-09-25 23:25:17 +08:00
Cheng Zhao
8acf96d268
Make spliting paths faster.
2014-09-25 22:18:40 +08:00
Cheng Zhao
c49a44f944
Remove unneeded ArchiveFactory.
2014-09-25 21:54:59 +08:00
Cheng Zhao
390b804ca0
Make process.dlopen work for asar packages.
2014-09-25 21:49:28 +08:00
Cheng Zhao
05317ad81e
Clean cached asar archives when quitting.
2014-09-25 21:49:01 +08:00
Cheng Zhao
dbbfef38b1
Cache asar archives on JavaScript side.
2014-09-25 20:48:32 +08:00
Cheng Zhao
4006b6407c
Just use plain pointer for weak reference.
2014-09-25 20:38:12 +08:00
Cheng Zhao
c95a93ef1c
Add a way to copy a file in archive into filesystem.
2014-09-25 16:56:50 +08:00
Cheng Zhao
e5e1e207b6
Also search for app.asar when starting app.
2014-09-24 20:09:41 +08:00
Cheng Zhao
e0c469183d
Make sure fs.readdir calls its callback asynchronously.
2014-09-24 19:10:37 +08:00
Cheng Zhao
4d2e4ed573
Fill the stats object as much as we can.
2014-09-24 19:10:13 +08:00
Cheng Zhao
0cab034dab
Make fs.readdir support asar package.
2014-09-24 18:44:00 +08:00
Cheng Zhao
9f9d209e3d
Make options of fs.readFile work.
2014-09-24 16:24:22 +08:00
Cheng Zhao
8740147aa2
Make fs.readFile support asar package
2014-09-24 15:38:07 +08:00
Cheng Zhao
9b755620d3
Make fs.stat support asar package
2014-09-24 15:38:02 +08:00
Cheng Zhao
fa287c2422
Fix getting information for root.
2014-09-24 13:42:04 +08:00
Cheng Zhao
8199ad2ae6
Add asar.stat method.
2014-09-24 12:02:33 +08:00
Cheng Zhao
0d09143a77
Add JavaScript bindings of asar::Archive.
2014-09-24 11:10:07 +08:00
Cheng Zhao
7081f7799b
Separate the archive cache out to ArchiveFactory.
2014-09-23 22:31:45 +08:00
Cheng Zhao
b6583635d4
Caching the Archive object.
2014-09-23 21:48:40 +08:00
Cheng Zhao
b01db4aa09
Send file content in asar://
2014-09-23 20:30:07 +08:00
Cheng Zhao
6d712da7e3
Read the archive's header when there is a url request
2014-09-23 19:14:30 +08:00
Cheng Zhao
b3770bc407
Bump v0.16.3.
2014-09-20 23:12:05 +08:00
Cheng Zhao
9653f20995
win: Add "direct-write" option for BrowserWindow.
...
For atom/atom#3540 .
2014-09-18 21:49:04 +08:00
Cheng Zhao
88269a613a
Bump v0.16.2.
2014-09-09 20:07:08 +08:00
Cheng Zhao
44d3e58ddb
Make code more tidy.
2014-09-09 13:21:15 +08:00
Cheng Zhao
81241b38eb
Add switches of web runtime flags.
2014-09-09 10:33:31 +08:00
Cheng Zhao
1c07b9c85b
Bump v0.16.1.
2014-09-08 16:00:32 +08:00
Cheng Zhao
68ac6b0cbb
Bump v0.16.0.
2014-09-06 20:58:34 +08:00
Cheng Zhao
fd806f81ce
linux: Don't set PR_SET_NO_NEW_PRIVS when creating process, fixes #623 .
2014-09-05 21:04:27 +08:00
Cheng Zhao
48a5591508
Upgrade brightray.
2014-09-01 19:18:45 +08:00
Cheng Zhao
241b07f763
Initailize V8 with gin.
2014-09-01 16:41:26 +08:00
Cheng Zhao
7de0f71a75
Fix compiling with print messages.
2014-08-21 16:14:22 +08:00
Cheng Zhao
058d0bbe19
linux: Add "dark-theme" option for BrowserWindow, fixes #352 .
2014-08-21 12:25:43 +08:00
Cheng Zhao
f470d21a55
Bump v0.15.9.
2014-08-18 19:05:56 +08:00
Cheng Zhao
60dcb0e67f
Make process.activateUvLoop friendly to multi-context, fixes #587 .
2014-08-20 13:01:23 +08:00
Cheng Zhao
0f617c3d3c
Remove the unused process.getCurrentStackTrace().
2014-08-19 22:35:22 +08:00