Cheng Zhao
ce487fe1da
Make sure child scripts are quit after specs are done.
2013-09-09 09:53:08 +08:00
Cheng Zhao
a73aea3bda
Update apm: set both HOME and USERPROFILE in environment under Windows.
2013-09-09 09:24:54 +08:00
Cheng Zhao
b9d994dca2
Make sure the cursor doesn't drift away when dragging window.
2013-09-06 12:12:17 +08:00
Cheng Zhao
b7c2295a1c
Don't use setMouseDownCanMoveWindow to implement draggable area.
...
It would not work when we have the in-window devtools.
2013-09-06 11:54:52 +08:00
Cheng Zhao
da2ded5453
Implement frameless window on OS X.
...
Most of the code came from Chromium's packaged app window.
2013-09-05 23:52:29 +08:00
Cheng Zhao
a5eb9ea08f
Add has_frame_ attribute for NativeWindow.
2013-09-05 21:43:47 +08:00
Cheng Zhao
4223867dbc
Send and receive the AtomViewHostMsg_UpdateDraggableRegions message.
2013-09-05 20:06:54 +08:00
Cheng Zhao
40273cf37d
Add IPC messages and structs for passing draggable regions.
2013-09-05 19:46:12 +08:00
Cheng Zhao
bc9c95d77d
💄 fix the protocol module spec on OS X.
2013-09-05 18:28:48 +08:00
Cheng Zhao
6a322f8bd6
Update apm for node v0.10.18.
2013-09-05 15:41:44 +08:00
Cheng Zhao
e7bc368785
Dump version to v0.4.4.
2013-09-05 15:17:05 +08:00
Cheng Zhao
aad0c8e996
Update node to v0.10.18.
2013-09-05 15:15:13 +08:00
Cheng Zhao
bf4756fdfb
Pass PATH environment in the child_process.fork spec.
...
The uv_spawn under Windows requires the PATH environment variable to be
there, otherwise it would throw a 203 system error, it should be a bug
of node.
2013-09-05 14:55:22 +08:00
Cheng Zhao
8acd6d6c8a
💄 fix spec failure caused by win32 path delimiter.
2013-09-05 12:24:08 +08:00
Cheng Zhao
256215b749
Use base::Environment to replace getenv.
2013-09-05 12:18:19 +08:00
Cheng Zhao
a3e5b21118
Merge pull request #84 from atom/nested-fork
...
Use environment variable to detect whether to run as node.
Fixed # 83.
2013-09-04 18:55:20 -07:00
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