Commit Graph

21 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
9e4f401485 WIP: trying to make preview faster 2012-07-19 11:28:41 -06:00
Corey Johnson
ab548bc946 Rename extension to requireExtension 2012-07-03 13:43:30 -07:00
Corey Johnson
263065171d Use window.extension to load extensions from .atom file 2012-07-03 12:51:30 -07:00
Nathan Sobo
e21d0a5d2a Rename RootView.modifiedBuffers -> getModifiedBuffers 2012-07-02 19:49:05 -06:00
Corey Johnson
1059a6a495 Make dev tools work with specs 2012-06-26 16:41:13 -07:00
Corey Johnson
a364fff7e6 meta-alt-i toggles docked dev tools 2012-06-26 16:41:13 -07:00
Nathan Sobo
b4d77fd107 Load user configuration as part of RootView initialization, before any editors are created 2012-06-20 16:06:45 -06:00
Corey Johnson & Nathan Sobo
951f76f2bf Serialize root view state to a string of JSON when storing it on the window upon refresh
This avoid situations where arrays in the window state pointed to a different constructor than the current context's Array constructor.
2012-06-15 15:34:07 -06:00
Corey Johnson
fc025156d3 console.log 💩 2012-06-12 11:30:08 -07:00
Corey Johnson
8ab167fd00 Reloading when there are modified buffers pops up a dialog. 2012-06-12 10:52:11 -07:00
Corey Johnson
399fc71b3c Make Atom SpacePen view's default to empty object (where needed) 2012-05-16 10:35:50 -07:00
Nathan Sobo
af2263f49b Don't activate TreeView extension in window. It was breaking specs. 2012-05-07 19:46:49 -06:00
Corey Johnson
e4125448ec Make RootView.initialize unaware of deserialization.
When RootView is created without a pathToOpen, no editor is created.
2012-05-07 17:51:08 -07:00
Corey Johnson
670717ca3b RootView deactivates extensions when it is deactivated 2012-05-03 17:31:37 -07:00
Corey Johnson & Nathan Sobo
caaa517b8b Load user's .atom config after root view is attached 2012-04-20 11:47:55 -07:00
Corey Johnson
56a55299be 💄 2012-04-19 18:13:05 -07:00
Corey Johnson & Nathan Sobo
8471977d17 💄
Nathan's code pee
2012-04-18 15:56:29 -07:00
Nathan Sobo
e89a2255cf Tear down editors and unsubscribe from buffers on window unload to prevent exceptions when typing after reload 2012-04-18 11:01:30 -06:00
Corey Johnson & Nathan Sobo
dac91d1f29 Editor and RootView have deserialize class method 2012-04-12 16:26:59 -07:00
Corey Johnson & Nathan Sobo
877b4dc336 RootView constructor can be called with serialized view state data
Move the saving of serialized root view data to window.coffee. The window.startup method looks for window state on the atom object and instantiates the root view with that if it is present.
2012-04-12 14:47:51 -06:00
Corey Johnson
1efb712fd3 Rename App.coffee to Atom.coffee. This also required moving src/atom,spec/atom to src/app,spec/app 2012-04-03 10:33:24 -07:00