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
Cheng Zhao
261f50701a
Add 'registered' and 'unregistered' events for protocol module.
...
This is only used for writing specs.
2013-08-29 20:56:25 +08:00
Cheng Zhao
bc4201f911
Make protocol module an EventEmitter.
2013-08-29 20:38:04 +08:00
Cheng Zhao
6915f020d9
Add protocol.isHandledProtocol API.
2013-08-29 20:22:52 +08:00
Cheng Zhao
f7de0e8d38
Disable spec for window.close() since it would not be fixed for a while.
2013-08-29 18:03:56 +08:00
Cheng Zhao
efd2bbbede
💄 Avoid duplicate temporary file names.
2013-08-29 18:03:14 +08:00
Cheng Zhao
b1f30c1eb6
💄 for the beforeunload handler.
...
Returning text in beforeunload handler should prevent the close instead
of allow the close.
2013-08-29 15:36:09 +08:00
Cheng Zhao
34e1800716
Add 'loading-state-changed' event for BrowserWindow.
...
It's required for testing the BrowserWindow class.
2013-08-29 11:47:07 +08:00
Cheng Zhao
e00d3d4b37
Add spec for #70 .
2013-08-29 11:40:07 +08:00
Cheng Zhao
19aa2b7979
Update apm.
2013-08-29 11:30:56 +08:00
Cheng Zhao
dbdf2d8d54
Add OnLoadingStateChanged for NativeWindowObserver.
2013-08-29 11:19:34 +08:00