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
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
e259df1d0a
Add various file types in Info.plist.
2013-05-30 17:04:32 +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
Kevin Sawicki
970227e082
Add initial build task
2013-05-29 17:35:00 -07:00
Kevin Sawicki
c42b018915
Simplify lint task
2013-05-29 16:45:12 -07:00
Kevin Sawicki
c7553e032e
Correct indentation
2013-05-29 16:45:00 -07:00
Kevin Sawicki
3e10fac5d0
Add clean task
2013-05-29 16:39:37 -07: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