Corey Johnson & Nathan Sobo
ed532e552e
Initialize Sparkle on application launch and add delegate methods
2013-01-23 15:23:15 -08:00
Kevin Sawicki
a9d3d010d9
Use executed-from argument when path is missing
...
This still allows atom to open its own source when
run from Xcode but will now use the current working
directory when launched from the command line with
no path argument.
Closes #139
2013-01-22 15:58:11 -08:00
Kevin Sawicki
1535930521
Show existing hidden window when re-opening
...
Previously if Atom was opened to an already opened
path but that window was hidden then a new window
would be opened when instead the existing window
should be unhidden.
2013-01-07 16:58:27 -08:00
Kevin Sawicki
275f6f2df5
💄
2012-12-19 17:25:20 -08:00
Corey Johnson
bd3dfba1e5
Atom will work as your $EDITOR.
...
Set EDITOR='atom --wait'
2012-12-19 17:15:17 -08:00
Kevin Sawicki
5ce59314fc
Use cleaner iterator over filenames array
2012-12-19 12:42:42 -08:00
Kevin Sawicki
491ecb145f
Remove code handled in standardizePathToOpen
2012-12-19 12:10:55 -08:00
Kevin Sawicki
ea088db19d
Open default path from applicationDidFinishLaunching
...
This is called after openFiles and so the default path
will open be opened if other explicit files were not
opened such as by dropping onto the dock icon
2012-12-19 11:25:43 -08:00
Kevin Sawicki
17976a19b5
Use simpler windows iterator
2012-12-19 11:00:43 -08:00
Kevin Sawicki
d674aa6a39
Open folders and plain text files dropped dock icon
...
Closes #103
2012-12-19 10:58:30 -08:00
Kevin Sawicki
35f362df1d
Bring window to front when opening already opened path
...
Closes #104
2012-12-19 09:32:06 -08:00
Kevin Sawicki
d2d37e1d91
💄
2012-12-18 19:37:40 -08:00
Corey Johnson & Nathan Sobo
fa5acd600a
Hack to open unstable windows from atom-stable
2012-11-09 10:25:42 -07:00
Corey Johnson
1850da70e3
Ensure closing the application will call window.shutdown on each window.
2012-11-07 15:45:44 -08:00
Corey Johnson
70976a96a8
Don't explicitly require .coffee files
2012-10-26 15:36:15 -07:00
Corey Johnson
8a65017ce1
rake install
creates atom-stable
binary
...
This allows us to use Atom to edit Atom, even when changes will break Atom on reload. It does this by ensuring the editor only uses code included with the bundle, but it allows benchmarks and specs to use code located in the path specified by --resource-path.
2012-10-16 09:05:38 -07:00
Kevin Sawicki
8c0f443c75
Call window.shutdown when native window is closed
...
The root view will now be serialized and saved to local
storage when the window is closed or the application is
terminated.
2012-10-11 13:07:13 -07:00
Corey Johnson
cf48665a03
Open Atom src when run via Xcode
2012-09-25 09:57:48 -07:00
Corey Johnson
2665a64a78
I remove useless comments
2012-09-21 16:47:44 -07:00
Corey Johnson
d3443ad2f1
Remove non-posix (i.e. -long_argument_with_one_leading_hyphen) added by OS X from the command line
2012-09-20 15:13:45 -07:00
Corey Johnson
a1939da395
Command line arguments with no variable don't crash the app.
2012-09-18 16:49:27 -07:00
Corey Johnson & Nathan Sobo
ff07710556
Atom cli can be called multiple times. Successive calls will open the given path in the existing Atom process.
2012-09-12 17:06:28 -07:00
Corey Johnson & Nathan Sobo
ab18eaa211
Make parseArguments a class method
2012-09-12 16:12:17 -07:00
Corey Johnson & Nathan Sobo
5ae185c4f5
Remove unused code
2012-09-12 15:29:01 -07:00
Corey Johnson & Nathan Sobo
bda3bcac4e
Merge branch 'making-things-easy' of github.com:github/atom into making-things-easy
2012-09-12 10:25:11 -07:00
Corey Johnson
28bd8ea459
wip
2012-09-11 17:38:27 -07:00
Corey Johnson
528f6ce967
Remove NSLog
2012-09-11 09:08:50 -07:00
Corey Johnson & Nathan Sobo
bebe95504a
wip
2012-09-10 17:29:07 -07:00
Corey Johnson & Nathan Sobo
d5831710c9
Move AtomApplication argument methods from the class to the instance
2012-09-10 17:24:10 -07:00
Corey Johnson & Nathan Sobo
6570aedbb0
Making rake install
almost work
2012-09-10 17:23:05 -07:00
Corey Johnson & Nathan Sobo
85c37fd652
Move atom.resourcePath to window.resourcePath
...
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07:00
Corey Johnson & Nathan Sobo
949abdcd19
Pass argc and argv to CefInitialize
2012-09-10 17:22:21 -07:00
Corey Johnson & Nathan Sobo
27335661dc
WIP: Getting specs and benchmarks running from the command line
2012-08-30 18:10:05 -06:00
Corey Johnson
b31589d6df
If there is a RESOURCE_PATH defined, open that by default
2012-08-30 10:39:54 -07:00
Corey Johnson
6cb10a0855
Commented code deserves to die
2012-08-30 10:39:54 -07:00
Corey Johnson
10e5c85a75
Store localStorage in ~/Library/Application\ Support/Atom
2012-08-29 11:42:43 -07:00
Corey Johnson & Nathan Sobo
726bd805e2
open nil, not an empty path
2012-08-28 16:45:59 -07:00
Corey Johnson & Nathan Sobo
4781d477cd
Remove tabs and handle key events when there are no windows open.
2012-08-28 10:37:25 -07:00
Nathan Sobo
71f453a3e0
More cleanup in AtomApplication
2012-08-28 12:30:19 -05:00
Nathan Sobo
7882f70c0c
Whitespace 💄
2012-08-28 11:58:24 -05:00
Corey Johnson & Nathan Sobo
da35ca4c44
Add OnigRegExp
2012-08-27 15:00:38 -07:00
Corey Johnson & Nathan Sobo
e8aa1524c7
Rename atom folder to native
2012-08-27 13:21:59 -07:00