Cheng Zhao [Fri, 31 Jan 2014 13:10:51 +0000 (21:10 +0800)]
No need to add "static" for functions in anonymouse namespace.
Cheng Zhao [Fri, 31 Jan 2014 12:28:33 +0000 (20:28 +0800)]
:lipstick: Fix cpplint warning.
Cheng Zhao [Fri, 31 Jan 2014 11:36:26 +0000 (19:36 +0800)]
Merge branch 'master' into cj-replace-sparkle-with-squirrel
Cheng Zhao [Fri, 31 Jan 2014 11:34:31 +0000 (19:34 +0800)]
Move resources file under resources/
Cheng Zhao [Fri, 31 Jan 2014 09:39:31 +0000 (17:39 +0800)]
Add Info.plist for Atom Framework, fixes #171.
Cheng Zhao [Fri, 31 Jan 2014 08:52:32 +0000 (00:52 -0800)]
Merge pull request #172 from atom/secure-iframe
Add "node-integration" option to BrowserWindow
Cheng Zhao [Fri, 31 Jan 2014 08:40:20 +0000 (16:40 +0800)]
Fix how we filter out atom-shell switches in process.argv.
Cheng Zhao [Fri, 31 Jan 2014 07:53:01 +0000 (15:53 +0800)]
:lipstick: Fix cppling warning.
Cheng Zhao [Fri, 31 Jan 2014 07:22:32 +0000 (15:22 +0800)]
Add docs on the node-integration setting.
Cheng Zhao [Fri, 31 Jan 2014 07:09:13 +0000 (15:09 +0800)]
Fix crash when opening multiple pages at the same time.
Cheng Zhao [Fri, 31 Jan 2014 04:18:30 +0000 (12:18 +0800)]
Put common constants into one file.
Cheng Zhao [Fri, 31 Jan 2014 04:09:43 +0000 (12:09 +0800)]
Specify the commit of libchromiumcontent to download.
Cheng Zhao [Fri, 31 Jan 2014 02:41:20 +0000 (10:41 +0800)]
Do not use plain string iterals.
Cheng Zhao [Fri, 31 Jan 2014 02:30:16 +0000 (10:30 +0800)]
Fix loss of --node-integration token after refresh.
Cheng Zhao [Thu, 30 Jan 2014 15:20:12 +0000 (23:20 +0800)]
Rename iframe-security to node-integration.
Cheng Zhao [Thu, 30 Jan 2014 14:47:21 +0000 (22:47 +0800)]
Add iframe-security support.
Cheng Zhao [Thu, 30 Jan 2014 13:57:01 +0000 (21:57 +0800)]
Append --iframe-security to renderer process.
Cheng Zhao [Thu, 30 Jan 2014 13:17:16 +0000 (21:17 +0800)]
Don't pollute process.argv of browser process.
Cheng Zhao [Thu, 30 Jan 2014 13:06:56 +0000 (21:06 +0800)]
Don't append duplicate arguments to renderer process.
probablycorey [Wed, 29 Jan 2014 22:55:20 +0000 (14:55 -0800)]
Merge remote-tracking branch 'origin/master' into cj-replace-sparkle-with-squirrel
Cheng Zhao [Tue, 28 Jan 2014 01:36:32 +0000 (09:36 +0800)]
Sort devDependencies.
Cheng Zhao [Mon, 27 Jan 2014 10:37:39 +0000 (18:37 +0800)]
Make bump-version accept major/minor/patch/build.
Cheng Zhao [Thu, 23 Jan 2014 13:02:28 +0000 (05:02 -0800)]
Bump v0.8.7.
Cheng Zhao [Mon, 27 Jan 2014 08:15:22 +0000 (00:15 -0800)]
Merge pull request #166 from atom/cz-v8-locker
Wrap callbacks with v8 locker in browser process
Cheng Zhao [Mon, 27 Jan 2014 07:14:11 +0000 (15:14 +0800)]
Wrap callbacks with v8::Locker.
In browser process, because of the use of v8::Locker in ProxyResolverV8,
creating HandleScope requires entering locker first, so in browser
process we should just use v8::Locker whenever we need to use V8 in a
callback called from non-V8 places (like dialog's callback, work pushed
to MessageLoop).
But also notice that the renderer process doesn't use v8::Locker, so we
have to be careful not to use it, otherwise blink would crash when
creating HandleScope.
Cheng Zhao [Mon, 27 Jan 2014 06:26:28 +0000 (14:26 +0800)]
Remove unneeded HandleScopes.
It's not necessary to create HandleScope in v8 native binding functions,
because it's guarrenteed that the there is a upper HandleScope when the
native function is called. So unless we are urgent to free the handles,
not using HandleScope in native binding functions is a cleaner and safer
choice.
Cheng Zhao [Mon, 27 Jan 2014 06:04:34 +0000 (14:04 +0800)]
Use node_isolate instead of Isolate::GetCurrent().
Cheng Zhao [Fri, 24 Jan 2014 13:20:30 +0000 (21:20 +0800)]
Should decode when setting __filename from location.
Cheng Zhao [Wed, 22 Jan 2014 04:00:34 +0000 (12:00 +0800)]
It's safe to send message to nil.
Cheng Zhao [Tue, 21 Jan 2014 14:50:46 +0000 (22:50 +0800)]
Add error and update-not-available events for auto updater.
Cheng Zhao [Tue, 21 Jan 2014 14:13:34 +0000 (22:13 +0800)]
Implement auto_updater with Squirrel.
Cheng Zhao [Tue, 21 Jan 2014 12:40:19 +0000 (20:40 +0800)]
Merge branch 'master' into cj-replace-sparkle-with-squirrel
Cheng Zhao [Tue, 21 Jan 2014 12:34:35 +0000 (20:34 +0800)]
Fix gyp error on CI.
Cheng Zhao [Tue, 21 Jan 2014 12:25:01 +0000 (20:25 +0800)]
Fix cpplint warnings.
probablycorey [Tue, 21 Jan 2014 00:29:34 +0000 (16:29 -0800)]
I don't think `fix_framework_link_command` is needed anymore.
tool -L says Squirrel (and its dependencies) already use @rpath
```
@rpath/Squirrel.framework/Squirrel (compatibility version 1.0.0, current version 1.0.0)
@rpath/ReactiveCocoa.framework/ReactiveCocoa (compatibility version 1.0.0, current version 1.0.0)
@rpath/Mantle.framework/Mantle (compatibility version 1.0.0, current version 1.0.0)
```
probablycorey [Tue, 21 Jan 2014 00:25:48 +0000 (16:25 -0800)]
Link Sparkle frameworks
probablycorey [Tue, 21 Jan 2014 00:25:33 +0000 (16:25 -0800)]
Download Squirrel frameworks instead of Sparkle
probablycorey [Tue, 21 Jan 2014 00:22:49 +0000 (16:22 -0800)]
Remove references to Sparkle
probablycorey [Tue, 21 Jan 2014 00:22:32 +0000 (16:22 -0800)]
:lipstick:
Cheng Zhao [Sat, 18 Jan 2014 09:01:30 +0000 (17:01 +0800)]
Fix uv loop hack on child_process.
Cheng Zhao [Sat, 18 Jan 2014 08:56:46 +0000 (16:56 +0800)]
Activate uv loop when uv loop's watcher queue changes, fixes #159.
Cheng Zhao [Sat, 18 Jan 2014 08:29:24 +0000 (16:29 +0800)]
Update to latest apm.
Cheng Zhao [Thu, 16 Jan 2014 02:31:59 +0000 (10:31 +0800)]
:memo: Update docs on source code structure.
Cheng Zhao [Thu, 16 Jan 2014 02:15:35 +0000 (10:15 +0800)]
move atom_menu_controller_mac to browser/ui/cocoa.
Cheng Zhao [Thu, 16 Jan 2014 02:09:36 +0000 (10:09 +0800)]
Move atom_event_processing_window to browser/ui/cocoa.
Cheng Zhao [Thu, 16 Jan 2014 02:06:05 +0000 (10:06 +0800)]
Move nsalert_synchronous_sheet_mac to browser/ui/cocoa.
Cheng Zhao [Tue, 14 Jan 2014 09:34:07 +0000 (01:34 -0800)]
Bump v0.8.6.
Cheng Zhao [Thu, 23 Jan 2014 12:30:44 +0000 (20:30 +0800)]
Crash when there is fatal error in V8.
Cheng Zhao [Tue, 14 Jan 2014 08:24:53 +0000 (16:24 +0800)]
Bump v0.8.5.
Cheng Zhao [Tue, 14 Jan 2014 08:04:47 +0000 (16:04 +0800)]
:lipstip: Remove unneed output.
Cheng Zhao [Tue, 14 Jan 2014 08:03:01 +0000 (16:03 +0800)]
Restart renderer process for all navigations and reloads, fixes #157.
Cheng Zhao [Tue, 14 Jan 2014 06:18:32 +0000 (14:18 +0800)]
Fix crash when calling dialog's callback.
Cheng Zhao [Mon, 13 Jan 2014 10:46:19 +0000 (18:46 +0800)]
Bump v0.8.4.
Cheng Zhao [Mon, 13 Jan 2014 10:43:09 +0000 (18:43 +0800)]
Fix warnings of node_lib.
Cheng Zhao [Mon, 13 Jan 2014 10:41:40 +0000 (18:41 +0800)]
Fix warnings of openssl-cli.
Cheng Zhao [Mon, 13 Jan 2014 10:25:04 +0000 (18:25 +0800)]
Update node-pathwatcher to v0.14.0.
Cheng Zhao [Mon, 13 Jan 2014 05:57:08 +0000 (13:57 +0800)]
Also use uv loop fixes in browser process.
Cheng Zhao [Mon, 13 Jan 2014 03:52:24 +0000 (11:52 +0800)]
Activate uv loop when calling childProcess.fork.
Fixes #156.
Cheng Zhao [Fri, 10 Jan 2014 10:50:53 +0000 (18:50 +0800)]
Update apm: update node version to v0.11.10.
Cheng Zhao [Fri, 10 Jan 2014 10:37:05 +0000 (18:37 +0800)]
Bump node version to v0.11.10.
Cheng Zhao [Fri, 10 Jan 2014 10:24:44 +0000 (18:24 +0800)]
Update node to v0.11.10.
Cheng Zhao [Fri, 10 Jan 2014 10:13:07 +0000 (02:13 -0800)]
Merge pull request #155 from atom/fix-q
Fix executing process.nextTick's callbacks
Cheng Zhao [Fri, 10 Jan 2014 08:47:33 +0000 (16:47 +0800)]
Make sure nextTick is called when activating uv loop.
Cheng Zhao [Fri, 10 Jan 2014 08:29:38 +0000 (16:29 +0800)]
:lipstick: get_uv_env() => uv_env().
Cheng Zhao [Fri, 10 Jan 2014 07:19:08 +0000 (15:19 +0800)]
Add spec for q.
Cheng Zhao [Fri, 10 Jan 2014 03:04:54 +0000 (11:04 +0800)]
Leak the node environment when unloading.
Cheng Zhao [Thu, 9 Jan 2014 14:28:35 +0000 (06:28 -0800)]
Merge pull request #154 from atom/safe-context
Wrap uv loop with web page context in renderer
Cheng Zhao [Thu, 9 Jan 2014 14:13:48 +0000 (22:13 +0800)]
Monitor file events in pathwatcher spec.
Cheng Zhao [Thu, 9 Jan 2014 14:13:06 +0000 (22:13 +0800)]
Store all created environments in renderer.
Cheng Zhao [Thu, 9 Jan 2014 13:35:29 +0000 (21:35 +0800)]
Wrap uv loop with web page context in renderer.
Cheng Zhao [Thu, 9 Jan 2014 12:34:17 +0000 (20:34 +0800)]
Add spec for using setTimeout in pure uv callback.
Cheng Zhao [Thu, 9 Jan 2014 12:33:07 +0000 (20:33 +0800)]
Add process.scheduleCallback.
It will schedule a callback to be executed by pure uv loop.
Cheng Zhao [Thu, 9 Jan 2014 12:29:54 +0000 (20:29 +0800)]
Add spec for pathwatcher module.
Cheng Zhao [Tue, 7 Jan 2014 16:26:12 +0000 (08:26 -0800)]
Bump v0.8.3.
Cheng Zhao [Wed, 8 Jan 2014 03:55:54 +0000 (11:55 +0800)]
Fix possible crashes when quiting message loop.
Cheng Zhao [Wed, 8 Jan 2014 02:30:30 +0000 (10:30 +0800)]
Fix invoking non-exist method when quiting.
Cheng Zhao [Tue, 7 Jan 2014 12:46:24 +0000 (04:46 -0800)]
Merge pull request #152 from atom/gfx-module
Add screen module
Cheng Zhao [Tue, 7 Jan 2014 12:35:13 +0000 (20:35 +0800)]
:memo: Add docs on screen module.
Cheng Zhao [Tue, 7 Jan 2014 12:23:46 +0000 (20:23 +0800)]
Support converting v8 value to arbitrary vector or map.
Cheng Zhao [Tue, 7 Jan 2014 12:15:55 +0000 (20:15 +0800)]
Add screen.getPrimaryDisplay() API.
Cheng Zhao [Tue, 7 Jan 2014 12:15:23 +0000 (20:15 +0800)]
Add support to convert gfx::Rect and gfx::Size to v8 value.
Cheng Zhao [Tue, 7 Jan 2014 12:00:25 +0000 (20:00 +0800)]
Add initial screen module.
Cheng Zhao [Tue, 7 Jan 2014 12:00:02 +0000 (20:00 +0800)]
Add support to convert gfx::Point to v8 value.
Cheng Zhao [Tue, 7 Jan 2014 11:44:37 +0000 (19:44 +0800)]
:lipstick:
Cheng Zhao [Tue, 7 Jan 2014 11:32:40 +0000 (19:32 +0800)]
api::EventEmitter could also be used by renderer.
Cheng Zhao [Tue, 7 Jan 2014 10:50:52 +0000 (02:50 -0800)]
Update apm.
Cheng Zhao [Tue, 7 Jan 2014 10:44:37 +0000 (18:44 +0800)]
Bump v0.8.2.
Cheng Zhao [Tue, 7 Jan 2014 06:30:18 +0000 (14:30 +0800)]
Set module's filename to path of html.
The relative require relies on module.filename to work as expected.
Cheng Zhao [Tue, 7 Jan 2014 01:50:00 +0000 (09:50 +0800)]
Still support 'atom-delegate' API for old apps.
Cheng Zhao [Mon, 6 Jan 2014 10:58:30 +0000 (18:58 +0800)]
mac: Should set default size when creating window.
Cheng Zhao [Tue, 31 Dec 2013 06:40:42 +0000 (14:40 +0800)]
Flip the y axis in CapturePage API, fixes #148.
Cheng Zhao [Tue, 31 Dec 2013 02:02:14 +0000 (18:02 -0800)]
Merge pull request #147 from atom/remote-docs
Revise the docs on remote module
Cheng Zhao [Tue, 31 Dec 2013 02:00:29 +0000 (10:00 +0800)]
Add notes about remote buffer in capturePage API's docs.
Cheng Zhao [Mon, 30 Dec 2013 15:08:42 +0000 (23:08 +0800)]
Add notes on remote buffer.
Cheng Zhao [Mon, 30 Dec 2013 14:06:33 +0000 (22:06 +0800)]
Revise the docs of remote module.
Cheng Zhao [Sun, 29 Dec 2013 15:09:19 +0000 (23:09 +0800)]
Bump v0.8.1.
Cheng Zhao [Sun, 29 Dec 2013 14:33:53 +0000 (22:33 +0800)]
Fix circulate require.
Cheng Zhao [Sun, 29 Dec 2013 14:32:26 +0000 (22:32 +0800)]
Fix console.log under Windows.
The process.log is not added until the next iteration of uv loop.
Cheng Zhao [Sun, 29 Dec 2013 14:11:54 +0000 (22:11 +0800)]
:lipstick: Fix wrong order of parameter when killing process.
Cheng Zhao [Fri, 27 Dec 2013 08:21:31 +0000 (16:21 +0800)]
We are now on v0.8.0 release.