Commit graph

782 commits

Author SHA1 Message Date
Cheng Zhao
84a3eb5411 Also fix nested child_process.fork on Windows. 2013-09-05 09:49:22 +08:00
Cheng Zhao
e17da272f4 Make child_process.fork work when options.env is set. 2013-09-05 09:47:32 +08:00
Cheng Zhao
88bdff5832 Use environment variable to detect whether to run as node. 2013-09-05 09:22:24 +08:00
Cheng Zhao
ae18a90f7e Add test case for #83. 2013-09-05 09:21:39 +08:00
Cheng Zhao
3b7dd85d3f Merge pull request #65 from atom/custom-protocol
Support custom protocols
2013-09-04 03:33:09 -07:00
Cheng Zhao
128d9c78db Add documentation for protocol module. 2013-09-03 18:22:40 +08:00
Cheng Zhao
c7fed48c4a Emit erros when getting errors in IO thread. 2013-09-03 17:21:10 +08:00
Cheng Zhao
7737708fdd Add protocol interceptor API. 2013-09-03 16:50:10 +08:00
Cheng Zhao
9ba08d5e67 💄 fix reversed flag for updating latest version. 2013-09-02 18:17:06 +08:00
Cheng Zhao
6c3dc9e526 Dump v0.4.3. 2013-09-02 17:59:17 +08:00
Cheng Zhao
75a24a2e67 Update specs to match the documents. 2013-09-02 16:54:54 +08:00
Cheng Zhao
893309aa8a 💄 fix the window specs. 2013-09-02 16:47:53 +08:00
Cheng Zhao
f17864372e Use setTimeout instead of setImmediate in fixtures.
The setImmediate is implemented in node and may have unexpected affects.
2013-09-02 16:46:08 +08:00
Cheng Zhao
610ac5b045 Revert "💄 for the beforeunload handler."
Restore the previous behavior of beforeunload handler.

This reverts commit b1f30c1eb6.
2013-09-02 16:39:00 +08:00
Cheng Zhao
cfb957a603 Add specs for the beforeunload handler. 2013-09-02 16:28:36 +08:00
Cheng Zhao
e423f601c0 Dump v0.4.2. 2013-09-02 13:34:58 +08:00
Cheng Zhao
504f96ae08 Merge pull request #81 from atom/window-native-modules
Fix node native modules support on Windows
2013-09-01 22:31:31 -07:00
Cheng Zhao
3b149945bf Upload a fake empty x64 node.lib.
We only allow building ia32 build of atom-shell, so the x64 node.lib is
not in use, but it's required by node-gyp.
2013-09-02 13:27:26 +08:00
Cheng Zhao
5fe9f281ac Only generate node.lib when we need to upload node headers. 2013-08-31 17:00:13 +08:00
Cheng Zhao
766347ffae Generate node.lib from atom.lib and chromiumcontent.dll.lib. 2013-08-31 16:37:01 +08:00
Cheng Zhao
a5bc2fdb44 Don't use the cmd paramter passed by WinMain.
It doesn't include the argv[0], 💩.
2013-08-31 15:42:41 +08:00
Cheng Zhao
e7d4b44d05 💄 for node version and upload node.lib. 2013-08-31 15:20:59 +08:00
Cheng Zhao
30c9cd4318 Use dummy stdin stream on Windows. 2013-08-31 12:13:08 +08:00
Cheng Zhao
5787b4cd6f Also ship ffmpegsumo.dll in the distribution. 2013-08-31 11:13:11 +08:00
Cheng Zhao
a26308d902 Use node's version for the node headers tarball. 2013-08-31 10:51:53 +08:00
Cheng Zhao
c2093946c8 Add flag for upload script to skip updating version.
When uploading multiple distributions in future, we need to make sure
all distributions have to ben uploaded before triggering the
update-atom-shell script of Atom.
2013-08-31 10:48:47 +08:00
Cheng Zhao
0286379706 Don't require multipart for uploading to S3.
The file we are uploading is not large, and multipart works really bad
on bad networking.
2013-08-31 10:36:13 +08:00
Cheng Zhao
6765ec30f1 The distribution name should contain version and platform. 2013-08-31 10:35:01 +08:00
Cheng Zhao
beba27ed1e Create zip distribution for binaries on Windows. 2013-08-31 09:37:23 +08:00
Cheng Zhao
24f510ca03 Ship correct binaries on Windows. 2013-08-31 09:06:27 +08:00
Cheng Zhao
2cbe823773 Use Chromium V8's headers in the node headers tarball. 2013-08-31 08:22:16 +08:00
Cheng Zhao
790c53825b Merge pull request #79 from atom/message-box-button-order
Fix button order on Win32
2013-08-30 16:41:25 -07:00
Paul Betts
10bd2384d0 Fix button order on Win32
On Windows, the button order is left to right, with the primary action on the
left (i.e. "Ok" "Cancel"). On Mac, the button order is that the primary action
is nearest to the corner.
2013-08-30 12:08:04 -07:00
Cheng Zhao
335db788a5 Add InterceptProtocol AtomURLRequestJobFactory. 2013-08-30 21:15:46 +08:00
Cheng Zhao
d8cd3d78ff Make ReadRawData a public member, so there is no need to detect types. 2013-08-30 20:49:27 +08:00
Cheng Zhao
2a462cc2b7 💄 fix cpplint warning. 2013-08-30 20:24:42 +08:00
Cheng Zhao
df30f130d3 Separate logics between low level URLRequestJob and js calls. 2013-08-30 20:02:17 +08:00
Cheng Zhao
24e613c827 Separate URLRequestStringJob from atom_api_protocol. 2013-08-30 16:16:41 +08:00
Cheng Zhao
7df256f8dc Move atom_url_request_job_factory to browser/net. 2013-08-30 16:10:36 +08:00
Cheng Zhao
2000f88c84 Allow passing a fallback protocol handler for request jobs. 2013-08-30 15:48:57 +08:00
Cheng Zhao
db890feb51 Don't pollute console with error stack. 2013-08-30 13:04:21 +08:00
Cheng Zhao
738cbd4080 💄 Fix protocol specs. 2013-08-30 13:04:02 +08:00
Cheng Zhao
11221979e5 Disable overriding built-in protocols with protocol.registerProtocol. 2013-08-30 12:51:15 +08:00
Cheng Zhao
72c604f741 Custom the implementation of url request job factory.
It's needed for interceptor API.
2013-08-30 12:04:51 +08:00
Cheng Zhao
04910b8391 Skelecton for interceptor APIs. 2013-08-30 10:15:15 +08:00
Paul Betts
132eb09d96 Merge pull request #71 from atom/78-chars-or-death
Indent all the files to 78-characters so that doc diffs are usable
2013-08-29 10:41:39 -07:00
Paul Betts
38b37f2520 Indent all the files to 78-characters so that doc diffs are usable 2013-08-29 16:37:51 +02:00
Cheng Zhao
4bdd1b88ad Wrap passed 'url' and 'referrer' in an 'request' object. 2013-08-29 21:12:48 +08:00
Cheng Zhao
abd3e86fb1 💄 2013-08-29 21:06:22 +08:00
Cheng Zhao
c2fd43c3e8 Add spec for protocol.isHandledProtocol. 2013-08-29 20:57:09 +08:00