Commit Graph

7994 Commits

Author SHA1 Message Date
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
f9be1f3493 Convert Info.plist to XML format. 2013-06-03 18:42:23 +08:00
Cheng Zhao
a2efd40798 URL => Url. 2013-06-02 15:16:21 +08:00
Cheng Zhao
94e7011413 Update node version to v0.10.9.
Should make this default settings after atom-shell branch is merged.
2013-06-02 10:25:35 +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
0c7701dc57 Copy files consistently with perms 2013-05-30 18:00:14 -07:00
Kevin Sawicki
2dbbce31d6 Set resource path as single argument 2013-05-30 16:45:40 -07:00
Kevin Sawicki
d18ccc168f Guard against null options 2013-05-30 16:45:40 -07:00
Kevin Sawicki
cc5ae002a2 Ignore pkill failures 2013-05-30 16:45:40 -07:00
Kevin Sawicki
06886f98d4 Log failure code 2013-05-30 16:45:40 -07:00
Kevin Sawicki
5e072e94e8 Add ci task 2013-05-30 16:45:39 -07:00
Kevin Sawicki
9e4ef708e4 Add test task 2013-05-30 16:45:15 -07:00
Kevin Sawicki
da0af11bbb Only delete file if it exists 2013-05-30 16:45:15 -07:00
Kevin Sawicki
04b8ab1b87 Add bootstrap task 2013-05-30 16:45:15 -07:00
Kevin Sawicki
7988e3ead9 Run postbuild scripts after compile 2013-05-30 16:45:15 -07:00
Kevin Sawicki
b51aea98b4 Copy symlinks properly 2013-05-30 16:45:15 -07:00
Kevin Sawicki
91cb03a43c Filter paths while recursing 2013-05-30 16:45:14 -07:00
Kevin Sawicki
9977f4efab Use grunt API for is directory 2013-05-30 16:45:14 -07:00
Kevin Sawicki
7928f075b5 Use grunt API for mkdir and rm 2013-05-30 16:45:14 -07:00
Kevin Sawicki
79bc23f83a Copy source mode to destination 2013-05-30 16:45:14 -07:00
Kevin Sawicki
b201dbb698 Use grunt API for copying folders 2013-05-30 16:45:14 -07:00
Kevin Sawicki
11004c20e6 Use grunt API for copying files 2013-05-30 16:45:14 -07:00
Kevin Sawicki
3a54d0b8a9 💄 2013-05-30 16:45:14 -07:00
Kevin Sawicki
24d5fdd6eb Create path to install directory 2013-05-30 16:45:14 -07:00
Kevin Sawicki
75eb321272 Support copying files and folder from cp function 2013-05-30 16:45:14 -07:00
Kevin Sawicki
ef8f630ad5 Copy non-compiled files to build directory 2013-05-30 16:45:14 -07:00
Kevin Sawicki
5c51060dca Add atom-shell segment to BUILD_DIR 2013-05-30 16:45:14 -07:00
Kevin Sawicki
ec13dea5e6 Add missing atom-shell segment to APP_DIR 2013-05-30 16:45:14 -07:00
Kevin Sawicki
affd4a481f Add install task 2013-05-30 16:45:13 -07: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
92f071de93 Add script to clean up "open with" menu.
By compiling and running Atom again and again, the "open with" menu
would be polluted with various Atoms... This script cleans them.
2013-05-30 22:11:24 +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