Kevin Sawicki
a816423037
Remove non-functional menus
...
These can be re-added as they are wired to triggering
commands into Atom.
2013-06-03 13:10:40 -07:00
Kevin Sawicki
f3a500923c
Catch and log errors parsing window state
...
Previously if a read or parse error occurred the window
would never show and the dev tools would be inaccessible.
2013-06-03 12:14:17 -07:00
Kevin Sawicki
7f0947ef9b
Don't cancel on delay when no tags exist
...
Instead just show the error until explicitly cancelled so the behavior
when no tags is the same as the behavior when no tags match the
current filter.
2013-06-03 11:46:30 -07:00
Kevin Sawicki
f90530f593
💄
2013-06-03 10:50:13 -07:00
Kevin Sawicki
3683f7e097
Move show() to atom.coffee
...
Co-locates it with hide() and focus() which are similar.
2013-06-03 10:43:43 -07:00
Kevin Sawicki
98310e8d7a
💄
2013-06-03 10:32:35 -07:00
Kevin Sawicki
8c9aad9e34
Merge branch 'master' into atom-shell
2013-06-03 09:38:47 -07:00
Kevin Sawicki
94c1ed4c28
Add node_modules dir to config.bundledPackageDirPaths array
2013-06-03 09:32:20 -07:00
Kevin Sawicki
c1a1633593
Break on first path match
2013-06-03 09:30:33 -07:00
Cheng Zhao
a6c37ff276
💄 on code style.
2013-06-03 22:56:30 +08:00
Cheng Zhao
495b218c7f
Make atom.update() work.
2013-06-03 22:48:52 +08:00
Cheng Zhao
d224f3c5bd
Don't check for updates if it's a custom build.
...
Currently we check whether the version has the '.', the custom builds
would have commit hash as version, which doesn't contain '.'.
2013-06-03 22:33:04 +08:00
Cheng Zhao
be309aba69
Setup crash reporter on 'will-finish-launching' event.
2013-06-03 22:26:47 +08:00
Cheng Zhao
2b3d3d9cf5
Make auto updater work.
2013-06-03 22:21:45 +08:00
Cheng Zhao
681969439d
Merge branch 'master' into atom-shell
2013-06-03 19:53:10 +08:00
Cheng Zhao
a2efd40798
URL => Url.
2013-06-02 15:16:21 +08:00
Cheng Zhao
1aca554ae3
Make atom.crashMainProcess and atom.crashRenderProcess work.
2013-06-02 00:34:12 +08:00
Cheng Zhao
eefc18202f
Make crash reporter work.
2013-06-01 20:15:19 +08:00
Cheng Zhao
70e414b279
Check the existence of socketPath.
...
See the comments for the reason.
2013-06-01 14:09:53 +08:00
Cheng Zhao
e629088ec3
Make sure Atom terminates after message is sent.
2013-06-01 13:11:07 +08:00
Kevin Sawicki
9431a8c3ac
Check that scope name is present before comparing
...
Previously if the last 2 rules in the stack had no scope
name and the position wasn't advancing then the last rule
would be popped.
This caused Java single line comments to not parse properly
since the push rules for comment blocks have no scope name.
2013-05-31 09:28:41 -07:00
Kevin Sawicki
9e7a9e6210
Remove incorrect @
...
anchorPosition is a parameter
2013-05-31 09:25:54 -07:00
Cheng Zhao
c36fc467e6
Since files passed in command line won't trigger 'open-file' any more, there is no need to clean duplicate paths.
...
It also seems that there is a typo...
2013-05-31 10:30:37 +08:00
Kevin Sawicki
eafad9a5c4
Show skull menu when in dev mode
2013-05-30 16:31:54 -07:00
Corey Johnson & Kevin Sawicki
454656a91c
Use open-file event for paths to open
2013-05-30 15:15:08 -07:00
Corey Johnson & Kevin Sawicki
a5c3ca9e8e
Add open menu under File
2013-05-30 14:04:15 -07:00
Corey Johnson & Kevin Sawicki
4db152b2d7
Killing comment that made kevin angry
2013-05-30 12:07:48 -07:00
Corey Johnson & Kevin Sawicki
43a2096852
Don't reuse windows when --wait flag is set
2013-05-30 12:02:56 -07:00
Corey Johnson & Kevin Sawicki
f76ab1ebe6
Add open class method to AtomApplication
2013-05-30 11:57:49 -07:00
Corey Johnson & Kevin Sawicki
04392c562e
Create AtomApplication after app is finished launching
2013-05-30 11:38:08 -07:00
Corey Johnson & Kevin Sawicki
a4470f9b6d
Ignore windows without paths
2013-05-30 11:05:16 -07:00
Cheng Zhao
db85792c59
Center the window by default, instead of position of (0, 0).
2013-05-30 22:16:15 +08:00
Cheng Zhao
ee046f1c25
Check whether the socket file exists before connecting.
...
By removing the socket file when the browser process of Atom quits and
checking it's existence before trying to connect it, we can greatly
reduce the startup time of the first instance of Atom.
2013-05-30 22:02:35 +08:00
Cheng Zhao
2135de059f
Also listen to 'open-file' event in constructor.
...
The 'open-file' may happen before application is launched.
2013-05-30 21:37:14 +08:00
Cheng Zhao
3cad4ae118
Adopt to filename changes of atom-shell.
2013-05-30 21:36:49 +08:00
Cheng Zhao
69b8b7989a
Listen to 'finish-launching' event in constructor.
...
Otherwise @handleEvents would never be called...
2013-05-30 21:30:46 +08:00
Cheng Zhao
3c02b28c11
Don't open any file until the application has finished launching.
...
When user double clicks a file in Finder, the Atom would start with no
pathToOpen, and then the 'open-file' event would be emitted for the
opened file. After 'open-file' event has been emitted for all files, the
'finish-launching' event would be finally emitted.
If no file has been opened and current process is the first instance of
Atom, Atom would open the empty editor.
2013-05-30 19:55:10 +08:00
Cheng Zhao
9e7510deea
atomWindow.pathToOpen could be null.
2013-05-30 18:21:58 +08:00
Cheng Zhao
941a3d8bf8
Open file when received 'open-file' event.
...
This event is emitted when the OS X opens files with Atom.
2013-05-30 16:13:25 +08:00
Corey Johnson & Kevin Sawicki
b15f0b0805
Guard against null pathsToOpen
2013-05-29 15:49:50 -07:00
Corey Johnson & Kevin Sawicki
fa3c636494
Doc test flag
2013-05-29 14:57:33 -07:00
Corey Johnson & Kevin Sawicki
b91487c60f
Pass pid to kill to AtomApplication ctor
2013-05-29 14:52:45 -07:00
Corey Johnson & Kevin Sawicki
8ad695e89f
Make atomApplication a global
2013-05-29 14:49:43 -07:00
Corey Johnson & Kevin Sawicki
0f5c68971c
💄
2013-05-29 14:43:57 -07:00
Corey Johnson & Kevin Sawicki
3373549e56
Resolve paths to open in main.coffee
2013-05-29 14:39:20 -07:00
Corey Johnson & Kevin Sawicki
608fcbd0a1
Use relative requires
2013-05-29 14:38:48 -07:00
Corey Johnson & Kevin Sawicki
1470ae73e7
Make --wait flag work again
2013-05-29 14:09:44 -07:00
Corey Johnson & Kevin Sawicki
b0f51eaca6
Stringify Browser logging
2013-05-29 14:05:58 -07:00
Corey Johnson & Kevin Sawicki
715210944e
Forward console.log to NSLog in browser process
2013-05-29 14:05:58 -07:00
Kevin Sawicki
5a691a1b1e
Merge branch 'master' into atom-shell
2013-05-29 13:23:23 -07:00