Heilig Benedek
c59c0bd5b3
Mouse event handling and keyboard event handling (not totally working yet)
2015-08-31 18:32:33 +02:00
Robo
af52eda0eb
process: api to set file descriptor soft limit
2015-08-31 13:00:04 +05:30
Cheng Zhao
37244c3b08
Remove extra output
2015-08-27 20:35:04 +08:00
Cheng Zhao
63eb4b72e2
IDWeakMap is not used anly more in JS
2015-08-27 19:55:16 +08:00
Cheng Zhao
64e8ce0c07
Don't rely on IDWeakMap for bookkeeping remote objects
...
It frees us from using C++ to track JS objects, thus improves the
performance of collecting memory.
2015-08-27 19:01:34 +08:00
Heilig Benedek
e4c01f3187
Offscreen render support base
2015-08-27 11:22:39 +02:00
Cheng Zhao
bd64f5ced2
Use V8's new SetWeak method
2015-08-27 16:41:51 +08:00
Cheng Zhao
f7c75d36ba
Do not create remote object for simple return values of APIs
2015-08-27 16:14:53 +08:00
Cheng Zhao
e432638b7d
Update node: Remove unneeded exports
2015-08-27 13:51:46 +08:00
Cheng Zhao
573c959a75
Use our debugger implementation in Node
2015-08-27 13:16:19 +08:00
Cheng Zhao
a1a6ea6fe1
Revert "Remove our own debugger implementation"
...
This reverts commit 1d148fe2fb
.
2015-08-27 12:25:28 +08:00
Robo
be18a114e2
nativemate: increase recursion depth
2015-08-26 15:52:28 +05:30
Cheng Zhao
68a98d5dc2
Bump v0.31.0
2015-08-21 19:51:56 +08:00
Cheng Zhao
9212a1db8e
Merge branch 'master' into chrome44
2015-08-21 19:29:34 +08:00
Cheng Zhao
e016100860
Bump v0.30.5
2015-08-21 12:08:32 +08:00
Cheng Zhao
82fc98848a
win: Move the ICO reading code into a separate function
2015-08-21 12:06:38 +08:00
Cheng Zhao
ec18c2f354
Merge pull request #2453 from etiktin/nativeimage_ico_support_windows
...
Add support for using .ico icon files on Windows
2015-08-21 11:45:12 +08:00
Matt Mastracci
e628c7b37d
Fix for issue 1968: use uv_backend_timeout to determine timeout to match other platforms
2015-08-20 20:13:04 -06:00
Eran Tiktin
f386342a7c
Fix memory leak and confirming to style guide
...
Fixed according to @hokein 's suggestions.
2015-08-20 19:26:20 +03:00
Eran Tiktin
2bc087b5d5
Merge branch 'master' into nativeimage_ico_support_windows
2015-08-20 17:11:52 +03:00
Cheng Zhao
ebb1ddc0df
Support converting Buffer to Value
2015-08-12 15:39:33 +08:00
Cheng Zhao
e43c63ae08
Update chrome_version.h
2015-08-11 10:40:41 +08:00
Haojian Wu
11ffb9dfb6
Fix node::Buffer API changes.
2015-08-11 09:48:29 +08:00
Haojian Wu
fc4031ec26
Now the value in ScopedPtrHashMap is required to be scoped_ptr.
2015-08-11 09:48:29 +08:00
Haojian Wu
8fda175264
Update base::Value::CreateNullValue API changes.
2015-08-11 09:48:29 +08:00
Cheng Zhao
b4e836bf2e
Bump v0.30.4
2015-08-10 16:50:48 +08:00
Eran Tiktin
850edd546c
Added support for reading .ico from asar
...
If the file path is to an asar archive, we extract the file to temp, so
LoadImage can load it
2015-08-08 21:57:29 +03:00
Eran Tiktin
ab1b4c46b2
Converted tabs to spaces
2015-08-08 18:31:12 +03:00
Eran Tiktin
bec7a399cb
Add support for using .ico icon files on Windows
...
NativeImage::CreateFromPath now supports loading .ico icon files on
Windows.
2015-08-08 17:58:05 +03:00
Cheng Zhao
0bf5effe58
Bump v0.30.3
2015-08-07 22:04:59 +08:00
Cheng Zhao
c51f349dfa
Run microtask before handling pending process.nextTick tasks
...
This follows the behavior of Node.js.
2015-08-07 21:26:24 +08:00
Cheng Zhao
1bb0dde360
Use WebScopedRunV8Script in converted C++ functions
2015-08-07 19:37:17 +08:00
Cheng Zhao
5c18d89453
Reimplement callback.h with C++11
2015-08-07 19:35:35 +08:00
Cheng Zhao
2ff104d012
Move callback converter from native mate to electron
2015-08-07 19:35:35 +08:00
Cheng Zhao
74fa2c809d
Make every JS function call is wrapped with V8RecursionScope
2015-08-07 19:35:35 +08:00
Cheng Zhao
ab44edd294
Perform microtask checkpoint after diving into libuv
2015-08-07 19:35:35 +08:00
Cheng Zhao
2f04f76e69
ImageSkiaRep doesn't release memory
2015-08-05 15:49:37 +08:00
Cheng Zhao
c872b1a770
Use different name for window class name
2015-08-04 19:35:46 +08:00
Cheng Zhao
db58048077
Use different name for wait events for different apps
2015-08-04 19:30:35 +08:00
Cheng Zhao
14803e4cf8
Close handle when waiting is end
2015-08-04 19:18:12 +08:00
Robo
239d535cac
render: executejavascript with option to simulate usergesture
2015-07-30 15:38:46 +05:30
Cheng Zhao
2ab079dc7d
Bump v0.30.2
2015-07-30 14:17:43 +08:00
Cheng Zhao
2d5c0ac9ee
Coffeescript declares variable before assigning it
2015-07-30 10:31:49 +08:00
Cheng Zhao
8d09f13bad
Fix running callback when global.global is deleted
...
Close #2366 .
2015-07-30 10:28:24 +08:00
Cheng Zhao
9afa94f4b8
win: Implement double-clicked event
2015-07-29 12:36:01 +08:00
Cheng Zhao
2c97cd64cf
Minor style fix for #2352
2015-07-29 11:48:40 +08:00
Nishanth Shanmugham
9211109088
Add NativeImage.IsTemplateImage method
...
* Rename internal function that determines template image filename patterns
* Add the new IsTemplateMethod
2015-07-26 21:58:48 -07:00
Cheng Zhao
7ceca9f426
Bump v0.30.1
2015-07-24 16:59:18 +08:00
Cheng Zhao
eb92e9cdd8
Use node::MakeCallback to emit events in C++
...
Fix #2165
2015-07-23 13:48:34 +08:00
Cheng Zhao
135aca02af
Bump v0.30.0
2015-07-17 01:01:25 +08:00
Cheng Zhao
a2c26b8c74
Fix hanlding trailing slash in asar package, close #2222
2015-07-16 03:49:26 -07:00
Cheng Zhao
0c7c6ddcc9
Merge pull request #2175 from atom/propagate-app-model-id
...
Propagate App Model User ID on Windows
2015-07-13 12:16:10 -07:00
Robo
2d3e938a7f
clipboard: api to write multiple formats to same writer
2015-07-10 09:20:52 +05:30
Paul Betts
a0784bd038
Add a new renderer switch to pass down the app model ID
2015-07-09 16:37:11 -07:00
Cheng Zhao
a90a994a89
Bump v0.29.2
2015-07-07 17:22:05 +08:00
Cheng Zhao
2bcf8c7bc2
Bump v0.29.1
2015-07-03 23:33:49 +08:00
Cheng Zhao
dadd34249a
Bump v0.29.0
2015-07-03 16:45:56 +08:00
Cheng Zhao
b1db947def
Fix compilation errors due to compiler change
2015-07-01 07:56:29 +00:00
Cheng Zhao
bd4d6dcda2
Merge pull request #2046 from atom/id-weak-map
...
Track native JS objects in C++
2015-06-24 20:01:42 +08:00
Cheng Zhao
f93d50c380
Merge pull request #2025 from atom/power-save-blocker-api
...
Power save blocker API
2015-06-24 18:53:10 +08:00
Cheng Zhao
28d1fb8cad
Add Values() method for IDWeakMap
2015-06-24 16:54:20 +08:00
Cheng Zhao
7f0658efa7
Add mate::TrackableObject
2015-06-24 14:36:05 +08:00
Cheng Zhao
15f350edcb
Don't make IDWeakMap public API
2015-06-24 13:38:55 +08:00
Cheng Zhao
d02413de00
Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap
2015-06-24 13:35:39 +08:00
Cheng Zhao
cd93b9412c
Add C++ version of IDWeakMap
2015-06-24 13:22:09 +08:00
Cheng Zhao
42e21d15bf
Remove all calls to node::MakeCallback
...
node::MakeCallback is doing too much for us, avoid calling it.
2015-06-23 20:14:03 +08:00
Cheng Zhao
78459b913b
Add EmitEvent function to replace node::MakeCallback
2015-06-23 19:46:37 +08:00
Cheng Zhao
b3905e867e
Bump v0.28.3
2015-06-23 14:22:17 +08:00
Cheng Zhao
aba517d4fd
Merge pull request #2014 from atom/enable-zygote
...
Use zygote process on Linux
2015-06-23 13:34:40 +08:00
Rich Hong
f51103f44a
Update internalModuleReadFile to support unpacked asar files
...
Add tests for reading unpacked files using both fs.readFileSync and
internalModuleReadFile
2015-06-22 19:38:47 -04:00
Haojian Wu
7c5afdd388
Add PowerSaveBlocker APIs.
2015-06-21 21:14:14 +08:00
Cheng Zhao
ef59f4f243
Move headers to atom/common
2015-06-19 23:11:53 +08:00
Cheng Zhao
83fe340b98
Make process.argv work with zygote
2015-06-19 22:56:10 +08:00
Cheng Zhao
befdfceada
Merge pull request #1998 from deepak1556/process_patch
...
process: add hang method
2015-06-19 16:21:29 +08:00
Cheng Zhao
49e1316f7f
Merge pull request #1970 from deepak1556/scheme_patch
...
protocol: api to register custom schemes to standard schemes
2015-06-19 16:16:46 +08:00
deepak1556
8e05fe3350
process: add hang method
2015-06-18 14:14:29 +05:30
Cheng Zhao
25a7bcef82
Bump v0.28.2
2015-06-18 13:15:13 +08:00
Cheng Zhao
c8eaaaea83
mac: Use NSFileManager::resultingItemURL for moving file to trash
...
This allows the deleted file to be restored, fixes #2001 .
2015-06-18 13:09:02 +08:00
deepak1556
663a48ee38
protocol: api to register custom schemes to standard schemes
2015-06-17 14:43:04 +05:30
Cheng Zhao
db8ffe1dc7
Handle ".." in asar path, fix #1982
2015-06-17 15:52:49 +08:00
Cheng Zhao
8b8a6aea74
Bump v0.28.1
2015-06-12 16:26:51 +08:00
Cheng Zhao
c97c3fb9a1
Use LSGetApplicationForURL to search for app
...
It costs less.
2015-06-12 13:54:42 +08:00
Cheng Zhao
7ce8156691
Merge branch 'master' of https://github.com/mattotodd/electron into mattotodd-master
2015-06-12 13:49:51 +08:00
Cheng Zhao
5fe130a684
Bump v0.28.0
2015-06-11 12:13:18 +08:00
msullivan
b4674923c9
return bool on shell.openExternal
2015-06-10 11:06:22 -04:00
Cheng Zhao
2fdc5780ff
Merge pull request #1859 from deepak1556/client_certificate_patch
...
browser: support client certificate
2015-06-10 19:17:41 +08:00
Cheng Zhao
605722c397
Make asar work with internalModuleReadFile and internalModuleStat
2015-06-10 16:18:55 +08:00
Cheng Zhao
132c13a11b
Fix calls to deprecated node::ThrowError API
2015-06-10 14:21:09 +08:00
Cheng Zhao
d12697c657
Merge pull request #1918 from kirkouimet/master
...
Fixing an issue compiling on Windows and improving webview interopability with other JavaScript libraries
2015-06-10 12:48:45 +08:00
Cheng Zhao
db9615f5cd
Don't rely on JS for setting optional argument
...
It makes the code much shorter and cleaner.
2015-06-10 12:12:37 +08:00
Kirk Ouimet
09c5da7147
Fixing cpplint line width
2015-06-09 21:06:40 -07:00
Cheng Zhao
200a19dad9
linux: Don't use clipboard module in renderer process
2015-06-10 11:57:28 +08:00
kirkouimet
f91a81fe77
Convert std::string path to a FilePath to get compiling working on Windows
2015-06-09 15:56:54 -07:00
Cheng Zhao
4c48f0cd36
Merge pull request #1882 from atom/get_uploaded_report_api
...
Implement crash-reporter.getUploadedReports API
2015-06-09 16:35:08 +08:00
Cheng Zhao
89087d402d
Merge pull request #1873 from atom/multiline-headers
...
Support multiple-line headers in `did-get-response-details'
2015-06-09 12:03:45 +08:00
Haojian Wu
64e84b8f6a
Support multiple-line headers in web-contents `did-get-response-details' event.
2015-06-09 11:18:46 +08:00
deepak1556
2de5f9de6c
browser: support client certificate
2015-06-08 21:00:32 +05:30
Kirk Ouimet
75448ad7ed
Guarding against polluted Object.prototypes
2015-06-07 23:59:49 -07:00
Cheng Zhao
8363a39a56
Bump v0.27.3
2015-06-08 13:24:47 +08:00
Haojian Wu
cd1c331112
Fix coffeelint error.
2015-06-06 17:59:20 +08:00
Haojian Wu
c821a06e2f
Implement crash-reporter.getUploadedReports API.
...
Also redefine the getLastCrashReport API implementation using
getUploadedReports API.
2015-06-05 18:59:03 +08:00
Cheng Zhao
f54506acc0
Merge pull request #1822 from hokein/crashpad-mac
...
Crashpad!
2015-06-04 22:11:14 +08:00
deepak1556
683917ae67
renderer: option to override page visiblity state
2015-06-04 14:40:13 +05:30
Haojian Wu
d5b47d1059
Simplify and polish the code.
2015-06-04 15:53:37 +08:00
Haojian Wu
94382cbaa2
Fix cpplint error.
2015-06-03 11:31:34 +08:00
Haojian Wu
4457edb1d3
Implement crash-reporter.getLastLastCrashReport API on OS X.
2015-06-03 09:47:42 +08:00
Haojian Wu
317406f26d
Update crashpad implementation after code review.
2015-06-02 11:41:47 +08:00
Cheng Zhao
fe631e6eeb
Bump v0.27.2
2015-06-01 12:22:36 +08:00
Haojian Wu
cd8ceec62e
Send all crash reports to collection server.
...
Crashpad client only send reports once per hour. It's different with breakpad.
With this behavior, the other reports generated within an hour will be totally
skipped, which causes the crash api test only run once with an hour.
This patch unrestricts this time limit.
2015-05-30 08:47:52 +08:00
Haojian Wu
4e2f242ad0
Use Crashpad instead of Breakpad on OS X.
2015-05-29 23:25:11 +08:00
Cheng Zhao
02bdace366
Delete Node's symbols after Environment has been loaded
...
Fix #1803 .
2015-05-29 22:20:20 +08:00
Cheng Zhao
fb37b5720d
Update brightray to use correct Chrome version string
...
Close #1808
2015-05-29 17:52:46 +08:00
Cheng Zhao
3e720bd611
Bump v0.27.1
2015-05-28 16:23:29 +08:00
Cheng Zhao
d9102efff7
Merge pull request #1752 from deepak1556/clipboard_patch
...
clipboard: api to list supported types, reading and writing markup
2015-05-28 15:29:36 +08:00
Cheng Zhao
6ee8f6e4f2
Bump v0.27.0
2015-05-27 16:57:41 +08:00
deepak1556
4d56281972
restore clipboard.has api and fix docs
2015-05-27 13:35:51 +05:30
deepak1556
5584e3fd49
clipboard: api to list supported types, reading and writing markup
2015-05-27 13:21:56 +05:30
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Cheng Zhao
01e891652f
Fix compilation errors
2015-05-22 15:24:34 +08:00
Cheng Zhao
c372dcb462
Merge pull request #1706 from hammerandchisel/crash-reporter-reinit
...
Explicitly null the crash reporter before assigning it
2015-05-22 10:17:00 +08:00
Andy Dill
9a768dd4f0
Remove explicit nullptr and add clarifying comment.
2015-05-21 09:02:17 -07:00
Cheng Zhao
82377cbfd5
Bump v0.26.1
2015-05-21 15:52:42 +08:00
Cheng Zhao
fa169ee7ff
Remove the original-fs.js
...
It is acutally not needed.
2015-05-20 13:31:28 +08:00
Cheng Zhao
0e7bc6b8ec
Make "original-fs" available as built-in module
2015-05-20 13:29:05 +08:00
Andy Dill
dcbc6a127b
Explicitly null the crash reporter before assigning it to allow the EH to unregister.
2015-05-15 22:37:00 -07:00
Cheng Zhao
827741a9c6
Bump v0.26.0
2015-05-12 17:24:00 +08:00
Cheng Zhao
d9c769fa69
Reuse archive's fd in Node asar API
2015-05-11 11:10:50 +08:00
Cheng Zhao
d8d7e5b9bb
Add Archive::GetFD
2015-05-11 11:02:17 +08:00
Cheng Zhao
f8e1dfbbc6
Keep archive's file opened in the archive's whole life time
2015-05-11 10:47:29 +08:00
Cheng Zhao
9e3f108fad
Merge pull request #1585 from joshaber/no-texture
...
Use the standard window background
2015-05-10 21:09:38 +08:00
deepak1556
853ce0bbd7
provide flag to set flash version
2015-05-10 09:22:09 +05:30
deepak1556
3fdc4543b8
ppapi flash plugin support
2015-05-10 09:22:09 +05:30
joshaber
85119db81a
Use a new option to opt into the standard window.
2015-05-08 16:28:24 -04:00
Cheng Zhao
4d9470c24e
Bump v0.25.3
2015-05-08 14:28:30 +08:00
Cheng Zhao
4608f5e9cd
Bump v0.25.2
2015-05-01 14:57:25 +08:00
Cheng Zhao
c6cf91d11f
Add 'disable-auto-hide-cursor' option
2015-04-29 10:26:31 +08:00
Cheng Zhao
c811beb1e2
mac: Remove all unnecessary default menu items
2015-04-25 20:36:09 +08:00
deepak1556
da648511b3
asar: make fs async methods create errors asynchronously
2015-04-25 10:08:02 +05:30
Cheng Zhao
67bc4afe88
Bump v0.25.1
2015-04-23 13:29:34 +08:00
Cheng Zhao
500d15f53a
Also remove user-defined search paths in renderer
2015-04-23 13:17:18 +08:00
Cheng Zhao
e3109c9f1f
Bump v0.25.0
2015-04-22 05:50:55 +00:00
Cheng Zhao
a213a8639f
win: OpenItemViaShell is removed
2015-04-22 10:04:30 +08:00
Cheng Zhao
23833cf7f4
Update user agent
2015-04-21 19:01:29 +08:00
Cheng Zhao
c1737e5c16
Parse the debug args of Node
2015-04-20 15:12:46 +08:00
Cheng Zhao
1d148fe2fb
Remove our own debugger implementation
...
Previously it was used because Node doesn't provide one for latest V8.
2015-04-20 14:35:57 +08:00
Cheng Zhao
0033240c1f
Bump v0.24.0
2015-04-17 15:30:17 +08:00
Cheng Zhao
cd0aa4a956
Merge pull request #1389 from atom/rename-to-electron
...
Rename to electron
2015-04-17 15:22:07 +08:00
Cheng Zhao
76316e5e65
Forgot to set default version in crash reporter
2015-04-14 17:37:22 +08:00
Cheng Zhao
14e05c6d68
mac: Remove "Atom"s from default menu
2015-04-14 17:27:04 +08:00
Cheng Zhao
e04c58f398
mac: Generate Info.plist from gyp variables
2015-04-14 16:09:34 +08:00
Cheng Zhao
2d8d328f02
Rename hard-coded application names in code
2015-04-14 15:55:41 +08:00
Cheng Zhao
c6c305a827
Don't hard-code product name in crash-repoter
2015-04-14 15:39:48 +08:00
Cheng Zhao
b86f149512
Set process.versions['electron']
2015-04-14 14:18:20 +08:00
Cheng Zhao
a72c7b38a5
Don't hard code exec path in child_process.fork
2015-04-14 14:05:30 +08:00
Cheng Zhao
eddb23d56b
Merge pull request #1387 from deepak1556/shell_patch
...
shell: fix regression for moveItemToTrash on mac
2015-04-13 14:51:59 +08:00
deepak1556
175f397173
shell: fix regression for moveItemToTrash on mac
2015-04-13 10:57:58 +05:30
Cheng Zhao
91c9f590dd
Remove the NativeImage::MakeTemplateImage method
...
Is duplicate with SetTemplateImage.
2015-04-13 11:53:24 +08:00
Cheng Zhao
f11988a354
Merge pull request #1383 from deepak1556/nativeimage_patch
...
nativeImage: adding setTemplateImage method
2015-04-13 11:47:58 +08:00
Cheng Zhao
43fe82e1e5
Merge branch 'master' into rename-to-electron
2015-04-12 21:49:08 +08:00
Cheng Zhao
a724d6d684
Bump v0.23.0
2015-04-12 12:59:04 +08:00
Cheng Zhao
1f66006c93
win: Fix link errors caused by libicu
2015-04-10 15:35:25 +08:00
Cheng Zhao
3a5bb588e5
No more need to reference node's symbols
2015-04-10 15:20:45 +08:00
Kevin Sawicki
6615ef1054
Atom Shell -> Electron
2015-04-08 10:16:10 -07:00
deepak1556
efd294d69d
nativeImage: adding setTemplateImage method
2015-04-08 14:39:14 +05:30
Cheng Zhao
f169772031
Link boringssl and node together in one binary
2015-04-07 12:28:57 +08:00
Cheng Zhao
938069a389
win: Fix linking
2015-04-06 14:21:21 +08:00
Cheng Zhao
211e386c89
win: Fix linking errors
2015-04-01 21:33:08 +08:00
Cheng Zhao
2915774644
No more need to reference node's native bindings
2015-04-01 21:07:29 +08:00
Cheng Zhao
ce3d9f44ff
win: Fix compilation error
...
MSDN said, "These are pre-Win32 error codes and are no longer supported or
defined in any public header file."
2015-03-30 09:55:02 +08:00
Cheng Zhao
59c95f6a7d
Bump v0.22.3
2015-03-29 21:16:42 +08:00
Cheng Zhao
b987656f1f
It is not safe to get exit code once the child is reaped
...
Continues #1311 .
2015-03-29 20:32:23 +08:00
Cheng Zhao
e0d0e7651f
Merge pull request #1311 from deepak1556/api_shell_patch
...
shell: return status for moveitemtotrash operation
2015-03-29 20:02:13 +08:00
Cheng Zhao
922def8ce0
Cleanup command line handling code
2015-03-29 19:59:16 +08:00
Cheng Zhao
d9c22396ea
Revert "Don't store args as std::string"
...
This reverts commit 8482575d1f
.
There is weird thing happened if we tried to store raw "argv" on Linux.
2015-03-29 19:53:47 +08:00
Cheng Zhao
8482575d1f
Don't store args as std::string
2015-03-29 19:11:25 +08:00
Robo
bedea89dcf
shell: return status for moveItemToTrash on all platforms
2015-03-29 00:47:50 +05:30
deepak1556
399f47ef0f
implemetation of AtomCommandline to preserve args
2015-03-28 22:41:00 +05:30
Cheng Zhao
b54e786b09
linux: it is now safe to use clipboard in renderer process
2015-03-26 15:46:08 +08:00
Cheng Zhao
6f082b630d
Add clipboard.writeImage API
2015-03-26 12:54:15 +08:00
Cheng Zhao
2e172a1053
Bump v0.22.2
2015-03-23 16:31:23 +08:00
Cheng Zhao
30e931f10b
Revert "The "subpixel-font-scaling" option is removed"
...
This reverts commit 98fbe5127b
.
2015-03-23 16:29:32 +08:00
Cheng Zhao
1479f73612
Simplify #1261
2015-03-21 19:20:52 +08:00
Cheng Zhao
5e8c478b2c
Merge pull request #1261 from deepak1556/asar_lib_patch
...
fs.read empty files from asar archive
2015-03-21 19:17:49 +08:00
deepak1556
fdc10e4e5f
Allow reading empty file from asar archive
2015-03-21 14:56:03 +05:30
Cheng Zhao
b5a8cfb704
Recognize asar archive with unpacked files
2015-03-20 20:34:58 +08:00
Cheng Zhao
1df033dce8
No need to override child_process.fork
...
We already support asar in Node mode.
2015-03-20 19:04:11 +08:00
Cheng Zhao
99410217b9
Bump v0.22.1
2015-03-18 22:36:44 +08:00
Cheng Zhao
d6b36bb487
Bump v0.22.0
2015-03-18 20:57:21 +08:00
Cheng Zhao
57812616b9
win: Fix tests and compilation errors
2015-03-18 13:58:33 +08:00
Cheng Zhao
ff724634f2
js_stream is a new module of io.js
2015-03-18 09:57:47 +08:00
Cheng Zhao
5b2c0110dc
Fix other compilation errors
2015-03-18 09:57:41 +08:00
Cheng Zhao
98fbe5127b
The "subpixel-font-scaling" option is removed
2015-03-18 09:57:41 +08:00
Cheng Zhao
819ab5cd0c
Fix ui/gfx/geometry headers
2015-03-18 09:57:38 +08:00
Cheng Zhao
dead7caab2
CommandLine moved to base::CommandLine
2015-03-18 09:57:37 +08:00
Cheng Zhao
14542f4fc8
Upgrade to Chrome 41
2015-03-18 09:57:37 +08:00
Cheng Zhao
4176d542a5
Bump v0.21.3
2015-03-03 13:42:29 -08:00
Cheng Zhao
e98953a5a5
win: Fix calling FILE_PATH_LITERAL for variable, fixes #1143
2015-02-27 12:21:19 -08:00
Cheng Zhao
4834eed520
Set process.resourcesPath in C++
2015-02-13 13:32:58 +08:00
Cheng Zhao
0f15dd04af
Put compiled coffee sources into asar archive
2015-02-13 13:05:51 +08:00
Cheng Zhao
0b8efc434d
Use __dirname when setting globalPaths
2015-02-13 12:55:06 +08:00
Cheng Zhao
a8c227d5f5
Fix cpplint warnings
2015-02-12 19:50:28 +08:00
Cheng Zhao
3678f13dfb
Make NativeImage work with asar archive
2015-02-12 19:34:21 +08:00
Cheng Zhao
98a7f08be2
Move GetAsarArchivePath to asar_util.h
2015-02-12 17:31:14 +08:00
Cheng Zhao
3b3a025ed4
Move GetsOrCreateAsarArchive to asar_util.h
2015-02-12 17:23:49 +08:00
Cheng Zhao
c8738a88a4
Add nativeImage.createFromBuffer()
2015-02-12 15:19:05 +08:00
Cheng Zhao
353b485202
Add NativeImage.toDataUrl()
2015-02-12 14:32:51 +08:00
Cheng Zhao
8e94856cc8
Add nativeImage.createFromDataUrl()
2015-02-12 14:27:53 +08:00
Cheng Zhao
b9f6d6dffc
Add nativeImage.createEmpty()
2015-02-12 13:55:45 +08:00
Cheng Zhao
509ce0d5cb
mac: Don't rely on NSImage to read file
...
It doesn't work with asar.
2015-02-12 12:24:18 +08:00
Cheng Zhao
2ca6be69e2
Fix cpplint warnings
2015-02-12 10:45:04 +08:00
Cheng Zhao
054b6a9817
Use NativeImage when converting images from V8
2015-02-12 10:45:04 +08:00
Cheng Zhao
6556602bdc
Enable creating NativeImage from file path
2015-02-12 10:45:04 +08:00
Cheng Zhao
2876f15063
Enable creating NativeImage with native-image module
2015-02-12 10:45:04 +08:00
Cheng Zhao
85f5ef2ab1
Enable creating NativeImage from PNG and JPEG
2015-02-12 10:45:04 +08:00
Cheng Zhao
53fca43d89
Add NativeImage.ToJPEG
2015-02-12 10:45:03 +08:00
Cheng Zhao
549df36f00
Add a few more methods for NativeImage
2015-02-12 10:45:03 +08:00
Cheng Zhao
aae576b484
Convert gfx::Image to NativeImage instance
2015-02-12 10:45:03 +08:00
Cheng Zhao
b76615f3e7
Add clipboard.readImage method
2015-02-12 10:45:03 +08:00
Cheng Zhao
878d25e91e
Enable converting gfx::Image to Buffer
2015-02-12 10:45:03 +08:00
Cheng Zhao
f0924df68a
Add "type" option to change window type
2015-02-11 12:19:39 +08:00
Cheng Zhao
b75bfe0e92
Bump v0.21.2
2015-02-05 13:46:09 -08:00
Cheng Zhao
209840871c
Seperate the API implementation of WebViewManager
2015-02-04 15:39:41 -08:00
Cheng Zhao
7861eec426
linux: Fix building
2015-02-04 11:18:25 -08:00
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