Cheng Zhao
cec640f572
mac: Always use "Atom" as name when find helper process. Fixes #89 .
2013-09-12 15:42:36 +08:00
Cheng Zhao
7a1365673e
Remove code which are used for borderless window.
2013-09-12 15:13:56 +08:00
Cheng Zhao
6c098deb57
💄 Fix cpplint warnings.
2013-09-12 13:03:57 +08:00
Steve Smith
cf4a566290
Just round the top also and use a standard window.
...
Using borderless window causes too many issues. Smaller, less
window-like shadows being the most annoying.
2013-09-11 22:02:42 -04:00
Steve Smith
aabba3c641
Fix view autoresizing.
2013-09-11 17:25:42 -04:00
Steve Smith
8f31bf8615
Get radius working with frameless window.
...
Right now it's set as a constant `AtomWindowCornerRadius`, but it could
be set to a variable.
2013-09-11 16:23:17 -04:00
Cheng Zhao
5d49fc4bee
WIP: rounded corner of frameless window.
2013-09-11 18:10:28 +08:00
Cheng Zhao
f38eb1b66f
mac: Import chromium's CustomFrameView code.
2013-09-11 13:46:36 +08:00
Cheng Zhao
a567ba08ea
Hide the fullscreen button when leaving fullscreen mode. Fixes #88 .
2013-09-11 13:05:08 +08:00
Cheng Zhao
91d54a74e1
doc: Metion the frameless-window-demo.
2013-09-09 20:17:47 +08:00
Cheng Zhao
da9cce3f2d
Dump v0.4.5.
2013-09-09 16:13:01 +08:00
Cheng Zhao
92241b91ce
doc: Separate pages into sub directories.
2013-09-09 15:49:13 +08:00
Cheng Zhao
6b81070f67
doc: Add titles for all pages.
2013-09-09 15:35:57 +08:00
Cheng Zhao
3715dd2a20
💄 Remove a mistyped character.
2013-09-09 15:27:19 +08:00
Cheng Zhao
eb6fa98ed0
Merge pull request #85 from atom/frameless-window
...
Add frameless window support, fixes #72 .
2013-09-09 00:24:20 -07:00
Cheng Zhao
8ddb85774a
doc: Add titles for browser-window and frameless-window.
2013-09-09 15:19:09 +08:00
Cheng Zhao
8caf5fac06
doc: Document frameless window.
2013-09-09 14:52:46 +08:00
Cheng Zhao
cc62978ac3
win: Add NativeWindowFramelessView as non-client view.
2013-09-09 14:30:07 +08:00
Cheng Zhao
f833423a2f
win: Save draggable region.
2013-09-09 12:12:17 +08:00
Cheng Zhao
3c0671c179
Quit when all windows are closed if running an app by passing it in command line.
2013-09-09 10:54:08 +08:00
Cheng Zhao
a00bf3e1e1
Print stack when got error on startup.
2013-09-09 10:49:28 +08:00
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