Commit Graph

10105 Commits

Author SHA1 Message Date
Kevin Sawicki
e2fb2fdae5 Set font size and family directly on editor element
Previously this was set via a style tag which ate up a lot of spec
time and seemed to be functionally equivalent to just setting the
style directly on the element instead of finding and adding/removing
style tags.
2013-10-03 09:38:42 -07:00
Kevin Sawicki
6a5151ccbb Update stylesheetsActivated when resources are deactivated 2013-10-03 09:38:25 -07:00
Kevin Sawicki
ea2779b029 Activate stylesheets from deferred deserializer 2013-10-02 19:10:53 -07:00
Kevin Sawicki
e4b55c4210 🐎 Only reload active package stylesheets
Previously all package stylesheets were loaded twice during startup,
once when the themes were loaded and once when the packages were
activated.
2013-10-02 18:49:26 -07:00
Kevin Sawicki
80e4e5f2cd 🐎 Use fs.statSyncNoException in coffee-cache 2013-10-02 18:18:01 -07:00
Kevin Sawicki
80b4572190 Update root view title when initializing
Previously the title would not be updated when opening Atom with
serialized editors.

Also consolidate event listeners to rely on the
pane-container:active-pane-item-changed event to update the title.
2013-10-02 18:05:48 -07:00
Kevin Sawicki
523efd5e1a Use fs-utils for directory check 2013-10-02 17:45:27 -07:00
Kevin Sawicki
3ca361709c Upgrade to settings-view@0.26.0 2013-10-02 17:42:40 -07:00
Kevin Sawicki
5895da3d6f Store dimensions when spec window is unloaded
Refs #918
2013-10-02 17:16:19 -07:00
Kevin Sawicki
0bfc4a3a1b 📝 capitalize Function 2013-10-02 17:01:08 -07:00
Kevin Sawicki
e700e6ebe8 📝 doc measure and profile functions 2013-10-02 16:38:45 -07:00
Kevin Sawicki
8129e6c632 fs.statSyncNoException returns false or an object 2013-10-02 16:19:37 -07:00
Kevin Sawicki
f6447a83f3 🐎 Use statSyncNoException in fs-utils 2013-10-02 16:09:02 -07:00
Kevin Sawicki
3bb01c3ebc Guard against global project being null 2013-10-02 16:07:03 -07:00
Kevin Sawicki
80cfcb799e Destroy rootView/project on both window and atom globals 2013-10-02 15:51:11 -07:00
Kevin Sawicki
3d5f1c6c90 Show dev tools when error is thrown bootstrapping specs 2013-10-02 15:48:58 -07:00
Kevin Sawicki
a6803a266a Call add instead of registerDeserializer 2013-10-02 15:47:41 -07:00
Kevin Sawicki
7633a2a7d7 Call get instead of getDeserializer 2013-10-02 15:38:21 -07:00
Kevin Sawicki
08177feb67 Simplify method names on DeserializerManager 2013-10-02 15:30:32 -07:00
Kevin Sawicki
ca137974c9 Store site on atom global 2013-10-02 15:23:06 -07:00
Kevin Sawicki
a9735bfa13 Upgrade to symbols-view@0.8.0 2013-10-02 14:40:15 -07:00
Kevin Sawicki
156ca6d9fd Update initial path using atom.loadSettings 2013-10-02 14:22:02 -07:00
Kevin Sawicki
5aa83163ad Memoize load settings and return a clone
Calling this method actual eats up a lot of spec time since
it does an ipc channel sync call.
2013-10-02 14:09:30 -07:00
Kevin Sawicki
9b97433214 Remove unused .nakignore file 2013-10-02 13:46:09 -07:00
Kevin Sawicki
46762327c6 Merge pull request #881 from atom/ks-globalization
Clean up globals
2013-10-02 13:45:36 -07:00
Kevin Sawicki
3591b921fd Update atom and window globals in beforEach 2013-10-02 13:40:35 -07:00
Kevin Sawicki
a85817369e Add shim for packages accessing atom.packageStates 2013-10-02 13:40:35 -07:00
Kevin Sawicki
63b79a1d04 Bring back userPackageDirPaths for backwards-compatibility 2013-10-02 13:40:35 -07:00
Kevin Sawicki
022db0fc44 Access keymap via atom global 2013-10-02 13:40:35 -07:00
Kevin Sawicki
dde7ccadd4 Move onDrop global to WindowEventHandler 2013-10-02 13:40:35 -07:00
Kevin Sawicki
c7bc92f6e7 Access rootView through atom global 2013-10-02 13:40:35 -07:00
Kevin Sawicki
2a9ceb42b2 Reference project and rootView using atom global 2013-10-02 13:40:35 -07:00
Kevin Sawicki
550f112be8 Remove unused requires 2013-10-02 13:40:35 -07:00
Kevin Sawicki
333c5a0db2 Add requireWithGlobals() to atom global 2013-10-02 13:40:35 -07:00
Kevin Sawicki
dc9c59f0b3 Add atom prefix to globals 2013-10-02 13:40:34 -07:00
Kevin Sawicki
068a10b2db Extract deserializer management into class 2013-10-02 13:40:34 -07:00
Kevin Sawicki
cad2c9c7af 📝 Mention centering behavior 2013-10-02 13:40:34 -07:00
Kevin Sawicki
1d7861677a 📝 doc dimension getter/setter 2013-10-02 13:40:34 -07:00
Kevin Sawicki
1e108aa0d1 Reference packageStates via atom.packages 2013-10-02 13:40:34 -07:00
Kevin Sawicki
0c532b62ff Reference package states on packages ivar 2013-10-02 13:40:34 -07:00
Kevin Sawicki
7cae014d09 💄 Initialize ivars in constructor 2013-10-02 13:40:34 -07:00
Kevin Sawicki
ebe1598a71 Correctly passthrough call to deactivatePackages 2013-10-02 13:40:34 -07:00
Kevin Sawicki
22f2d4c1c5 Update packageDirPaths on new config instance 2013-10-02 13:40:34 -07:00
Kevin Sawicki
c3e462db00 Use subscribe instead of on 2013-10-02 13:40:34 -07:00
Kevin Sawicki
bdddb4eb52 Require atom after window 2013-10-02 13:40:34 -07:00
Kevin Sawicki
ed5dbe983e Trigger event when packages are loaded 2013-10-02 13:40:34 -07:00
Kevin Sawicki
52ef2db198 Separate construction vs. initialization 2013-10-02 13:40:34 -07:00
Kevin Sawicki
45a1334c75 Require atom after window is required 2013-10-02 13:40:34 -07:00
Kevin Sawicki
f56758acd2 Shim window.restoreDimensions to atom 2013-10-02 13:40:34 -07:00
Kevin Sawicki
8150263f52 Initialize paths in constructor
Previously this was done at eval time which
required globals to be set before the class could
be required.
2013-10-02 13:40:33 -07:00