Commit Graph

25668 Commits

Author SHA1 Message Date
Antonio Scandurra
c192004b06 Don't use atom.{config,styles} global in Package 2015-10-07 15:25:05 -05:00
Nathan Sobo
b7d6dd5e8c Reset view registry in AtomEnvironment::reset 2015-10-07 15:25:02 -05:00
Antonio Scandurra
097a035dc4 Don't use atom globals in OverlayManager 2015-10-07 15:25:02 -05:00
Antonio Scandurra
534f038631 Don't use atom globals in TokenIterator 2015-10-07 15:25:02 -05:00
Antonio Scandurra
464cfd4474 Don't use atom.confirm in Workspace 2015-10-07 15:25:02 -05:00
Antonio Scandurra
cb950b65b0 💚 Adapt specs to pass atom.views in ctors 2015-10-07 15:25:02 -05:00
Antonio Scandurra
df2d73a8df Don't use atom globals in TokenizedBuffer 2015-10-07 15:25:02 -05:00
Antonio Scandurra
04fcc1112e Fix some linter errors 2015-10-07 15:25:02 -05:00
Antonio Scandurra
eba18092fb Don't use atom globals in LinesComponent 2015-10-07 15:25:02 -05:00
Antonio Scandurra
6fed847cce Don't use atom globals in gutter components 2015-10-07 15:25:02 -05:00
Antonio Scandurra
45f536a5ee Remove leftover global in WorkspaceElement 2015-10-07 15:25:02 -05:00
Antonio Scandurra
2532a9cd59 Don't use atom globals in StylesElement 2015-10-07 15:25:02 -05:00
Antonio Scandurra
8686b2009e Port leftover global in PanelContainerElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
fa06124bb2 Don't use atom globals in PaneElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
721c5a1679 Don't use atom globals in PaneAxisElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
6e915c0afd Don't use atom globals in PaneContainerElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
b65bfc408e Don't use atom globals in PanelContainerElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
112ee01bd9 Don't use atom globals in TextEditorElement
...except when the element is instantiated via HTML
2015-10-07 15:25:01 -05:00
Nathan Sobo
e1c9f3332d Reset commands in AtomEnvironment::reset 2015-10-07 15:25:01 -05:00
Nathan Sobo
ad8c0e93d4 Reset deserializers in AtomEnvironment::reset 2015-10-07 15:25:01 -05:00
Nathan Sobo
75fbeab8b4 🎨 2015-10-07 15:25:01 -05:00
Nathan Sobo
c4cfbab408 Reset key bindings in AtomEnvironment::reset 2015-10-07 15:25:00 -05:00
Nathan Sobo
d34968b750 Prevent GPU throttling for hidden test windows 2015-10-07 15:25:00 -05:00
Nathan Sobo
dcb1d8296f Pass buildAtomEnvironment function to test runner
Don’t build an AtomEnvironment or assign it to the atom global until
this function is called by the runner.
2015-10-07 15:25:00 -05:00
Nathan Sobo
d9776abea6 Rename Atom to AtomEnvironment 2015-10-07 15:25:00 -05:00
Antonio Scandurra
2479b0cae2 Don't use atom globals in WorkspaceElement 2015-10-07 15:25:00 -05:00
Antonio Scandurra
e9cda3ea5c Don't use atom.views global in PanelElement 2015-10-07 15:25:00 -05:00
Max Brunsfeld
d8b08d3240 Don't use atom.config global in LanguageMode 2015-10-07 15:25:00 -05:00
Max Brunsfeld
4d2d4c3cc4 Add deprecated shim for TextEditor export 2015-10-07 15:25:00 -05:00
Nathan Sobo
122bf72c75 Don’t use atom.packages global in TokenizedBuffer 2015-10-07 15:25:00 -05:00
Nathan Sobo
b2359f44a6 Don’t use atom.grammars global in TokenizedBuffer 2015-10-07 15:25:00 -05:00
Nathan Sobo
4f65452902 Don’t use atom.config global in TokenizedBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
dc0709ef9e Don’t use atom.assert global in DisplayBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
edd666b845 Don’t use atom.config global in DisplayBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
706ef8e8ce Don’t use atom.config global in Cursor 2015-10-07 15:24:59 -05:00
Nathan Sobo
d15d9be9eb Construct Workspace with all dependencies in specs 2015-10-07 15:24:59 -05:00
Nathan Sobo
332bad6598 Assign project when deserializing TextEditors 2015-10-07 15:24:59 -05:00
Nathan Sobo
95fbff033d Throw when editor dependencies are undefined 2015-10-07 15:24:59 -05:00
Nathan Sobo
b729a9bb37 Parameterize project on TextEditor 2015-10-07 15:24:59 -05:00
Nathan Sobo
8d7a08d07f Parameterize view registry on TextEditor 2015-10-07 15:24:59 -05:00
Nathan Sobo
e803801145 Parameterize clipboard on TextEditor 2015-10-07 15:24:59 -05:00
Nathan Sobo
ad57dca1f7 Remove dead registerEditor parameter 2015-10-07 15:24:58 -05:00
Nathan Sobo
979963a25c Parameterize notification manager on TextEditor 2015-10-07 15:24:58 -05:00
Nathan Sobo
51abab930d Parameterize config on editor instead of using global atom.config 2015-10-07 15:24:58 -05:00
Nathan Sobo
3d118b8a33 Pass atom environment as second arg when deserializing objects 2015-10-07 15:24:56 -05:00
Nathan Sobo
eb2ace37b4 Move TextEditor construction to Workspace
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:56 -05:00
Max Brunsfeld
77825e9d41 Wait for async service consumption in workspace spec
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-10-07 15:24:56 -05:00
Max Brunsfeld
ed735c115b Fix typo in package manager
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-10-07 15:24:56 -05:00
Max Brunsfeld
eb68c9135e Don't use atom global in default commands
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
8436715b02 Deserialize Workspace in atom.loadStateSync 2015-10-07 15:24:55 -05:00