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
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
a4f35a8452
Remove OnigRegExp spec now included in package
2013-05-29 13:46:00 -07:00
Kevin Sawicki
5a691a1b1e
Merge branch 'master' into atom-shell
2013-05-29 13:23:23 -07:00
Kevin Sawicki
73a755f29b
Move grunt packages to dev dependencies
2013-05-29 13:16:52 -07:00
Kevin Sawicki
fe7f36ad7f
Add initial csslint task
2013-05-29 12:13:47 -07:00
Kevin Sawicki
36e41ecae6
Remove invalid class name
2013-05-29 12:10:56 -07:00
Kevin Sawicki
367e532578
Remove empty rule
2013-05-29 12:04:16 -07:00
Kevin Sawicki
ce71cf7703
Use correct indentation
2013-05-29 11:55:06 -07:00
Kevin Sawicki
e19c0e4f87
Remove semicolons
2013-05-29 11:52:14 -07:00
Kevin Sawicki
60881e2ecd
Don't lint fixtures
2013-05-29 11:50:53 -07:00
Kevin Sawicki
f8fb803e52
Update snippet for newly upgraded javascript bundle
2013-05-29 11:46:05 -07:00
Kevin Sawicki
19411d3d3d
Update package id for fixture with broken snippets
2013-05-29 11:45:35 -07:00
Corey Johnson & Kevin Sawicki
c1ebf8ae1a
Allow Syntaxes and Preferences directories to be lowercase
2013-05-29 11:02:57 -07:00
Corey Johnson & Kevin Sawicki
f8f059d3fe
Use correct textmate package names
2013-05-29 11:01:59 -07:00
Corey Johnson & Kevin Sawicki
17a83933d4
Use two -f flags to clean all git dirs
2013-05-29 10:01:33 -07:00
Cheng Zhao
326c1332bf
shell.moveToTrash => shell.moveItemToTrash
2013-05-29 20:04:00 +08:00
Cheng Zhao
c6d4942295
Generate Info.plist for App and Helper.
2013-05-29 19:33:48 +08:00
Cheng Zhao
9a08ea10cc
Copy icon files and speakeasy.pem to bundle.
2013-05-29 18:57:02 +08:00
Cheng Zhao
aace41032e
Rake clean should also clean unused files of master branch.
...
So when people switch from master branch to atom-shell, they wouldn't
have to clean those files themselves.
2013-05-29 12:21:26 +08:00
Cheng Zhao
b1e8a45fbe
Remove some dead code.
2013-05-29 12:20:56 +08:00
Cheng Zhao
0cc86b024d
Unspy atom.setWindowState after each spec.
...
Spec window needs to call it to save window dimenses.
2013-05-29 12:20:55 +08:00
Cheng Zhao
d4142db847
Restart renderer process instead of reloading.
...
Chromium has the bug that reloading would cause memory leaks, and V8's
GC would slow down everything, so restarting the renderer process when
the Atom is reloaded would make things much cleaner.
2013-05-29 12:20:55 +08:00
Kevin Sawicki
30b67af51a
doc dev flag
2013-05-28 18:15:25 -07:00
Kevin Sawicki
be595a62b7
Add version to usage message
2013-05-28 17:56:07 -07:00
Kevin Sawicki
f64724eda0
doc wait flag
2013-05-28 17:54:54 -07:00
Kevin Sawicki
fe532b9dd5
Add initial help message
2013-05-28 17:52:19 -07:00
Kevin Sawicki
40dd8275d2
Add initial Gruntfile
2013-05-28 17:30:09 -07:00
Corey Johnson & Kevin Sawicki
40b654048b
Recompile atom-application and atom-window
2013-05-28 17:29:00 -07:00
Corey Johnson & Kevin Sawicki
53f98951ea
Parse out wait and pid arguments
2013-05-28 16:31:23 -07:00
Corey Johnson & Kevin Sawicki
88a3a82a21
Resolve paths to open in constructor
2013-05-28 15:10:26 -07:00
Corey Johnson & Kevin Sawicki
bb5e18d981
Exit with 0 when process exists
2013-05-28 14:53:17 -07:00
Corey Johnson & Kevin Sawicki
7bc905d352
Reuse existing windows when opening paths from command line
2013-05-28 14:45:54 -07:00
Kevin Sawicki
ba60324426
Correct indentation
2013-05-28 13:29:45 -07:00