Commit Graph

56 Commits

Author SHA1 Message Date
Corey Johnson
44680ad50c Revert "💄"
This reverts commit c2c4d03c2d.
2013-02-27 10:11:02 -08:00
Corey Johnson
531946f35c Allow menu item to update Atom to new version 2013-02-27 10:04:34 -08:00
Corey Johnson
c2c4d03c2d 💄 2013-02-27 08:51:51 -08:00
Corey Johnson
c12114743a Don't check for updates when run with --dev
closes #312
2013-02-26 10:00:17 -08:00
Corey Johnson
c757bf489f Add version and update info to Atom menu item 2013-02-25 14:58:11 -08:00
Corey Johnson
294bbfd870 Add version number to user_agent 2013-02-25 14:58:11 -08:00
Corey Johnson
ab5f9afb1f Remove atom.update and atom.updateStatus
We will probably use these in the future, but we don't need them now.
2013-02-25 14:58:11 -08:00
Corey Johnson & Kevin Sawicki
ce9c416a3a Don't create background window when running specs or benchmarks 2013-02-22 16:57:15 -08:00
Corey Johnson & Kevin Sawicki
e202b622e8 Don't check for updates during benchmarks or tests 2013-02-22 16:50:19 -08:00
Corey Johnson
c1ee850b92 Show on icon when update is available 2013-02-22 16:16:21 -08:00
Kevin Sawicki
9ca7214d39 Add --dev flag and remove --stable flag
Atom now runs in stable mode by default and only
runs in dev mode when the --dev flag is specified.

Closes #198
2013-02-22 11:54:54 -08:00
Kevin Sawicki
98a8b1f4b2 Set User-Agent to GitHubAtom with version 2013-02-22 09:44:47 -08:00
Corey Johnson
e7a8e4e3c4 Add atom.update and atom.getUpdateStatus 2013-02-14 16:40:24 -08:00
Corey Johnson
67b2aeaae9 Remove RESOURCE_PATH macro 2013-02-13 13:09:50 -08:00
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