Commit Graph

31 Commits

Author SHA1 Message Date
Max Brunsfeld
778023c78b Make factory for StylesElements on atom.styles 2015-10-09 13:46:32 -07:00
Antonio Scandurra
1a8beef74f 🐛 Load config schema before loading base stylesheets 2015-10-09 19:10:55 +02:00
Antonio Scandurra
4ce814320d Call side effects methods after instantiating instance variables
This prevents a 🐛 where the `onDidLoadBundledKeymaps` was fired before
`MenuManager` had the chance to listen to it thereby not showing the appropriate
menu entries.
2015-10-09 17:41:33 +02:00
Antonio Scandurra
60e4b78da3 Move package reset down into PackageManager 2015-10-09 10:04:04 +02:00
Max Brunsfeld
43d0241685 Reset project in AtomEnvironment::reset 2015-10-08 17:54:43 -07:00
Max Brunsfeld
7617c35856 Rename AtomEnvironment::removeEditorWindow -> ::destroy 2015-10-08 17:51:27 -07:00
Max Brunsfeld
5c545c0898 Don't register CommandRegistry's window listeners in AtomEnvironment constructor 2015-10-08 17:34:41 -07:00
Max Brunsfeld
4835fef7be Reset service-hub in AtomEnvironment::reset() 2015-10-08 16:29:54 -07:00
Max Brunsfeld
fb2a1284f6 Clear notifications and context menus in AtomEnvironment::reset 2015-10-08 12:41:07 -07:00
Max Brunsfeld
d0283d8f05 Reset Clipboard in AtomEnvironment::reset 2015-10-08 11:56:12 -07:00
Max Brunsfeld
9664d34750 Reset MenuManager in AtomEnvironment::reset 2015-10-08 11:56:12 -07:00
Antonio Scandurra
fa41cf68a4 🐛 Fix ::registerDefaultOpeners 2015-10-08 15:49:01 +02:00
Nathan Sobo
aa682d5b19 Restore initial styles in AtomEnvironment::reset 2015-10-07 15:25:06 -05:00
Antonio Scandurra
a3a6db7f68 Don't use atom.{config,confirm} global in GitRepository 2015-10-07 15:25:05 -05:00
Antonio Scandurra
4108939201 Don't use atom.{themes,menu,contextMenu} global in Package 2015-10-07 15:25:05 -05:00
Antonio Scandurra
7b25af5ad4 Remove more globals from Package
🔥 atom.{notifications,keymaps,commands,grammars,inDevMode}
2015-10-07 15:25:05 -05:00
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
464cfd4474 Don't use atom.confirm in Workspace 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
2532a9cd59 Don't use atom globals in StylesElement 2015-10-07 15:25:02 -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
d9776abea6 Rename Atom to AtomEnvironment 2015-10-07 15:25:00 -05:00