Commit Graph

1222 Commits

Author SHA1 Message Date
Nathan Sobo
acc0503684 Merge remote-tracking branch 'origin/master' into config
Conflicts:
	src/app/keymap.coffee
	src/extensions/outline-view/src/keymap.coffee
	src/extensions/outline-view/src/tag-reader.coffee
	src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
	src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:32:05 -07:00
Nathan Sobo
4ce8583cb2 Rename extensions to packages
We now look at the `core.disabledPackages` config key. Rename the `src/extensions` directory to `src/packages`. The config object now talks about loading packages instead of extensions.
2012-12-18 20:03:21 -07:00
Nathan Sobo
37f0aa3f90 Replace window.requireExtension with atom.loadPackage
The goal is that `loadPackage` will be the go-to place for loading all kinds of resources out of directories. `requireExtension` was only designed to load and activate extension modules.
2012-12-18 19:47:20 -07:00
Nathan Sobo
cdc1fdf7d7 💄 for atom.coffee. Preparing the LZ for atom.loadBundle 2012-12-18 15:41:57 -07:00
Nathan Sobo
e2457b90ac Disable extensions w/ config.core.disabledExtensions
This replaces the `config.core.extensions` array with just an array of the extensions you don't want to load. The previous solution was attempting to allow the user to control extension load order, but we're not actually sure that's a good idea and this is simpler.
2012-12-17 21:06:36 -07:00
Nathan Sobo
fc9bf38a2a *Must* use get and set to access config values.
The `config` object no longer stores config properties directly. Instead it stores them on an internal `settings` object, which makes it easier to serialize settings without getting them mixed up with non-setting state on the `config` object.
2012-12-17 20:56:37 -07:00
Nathan Sobo
b82fe25b99 When observing a key path, compare its new & old values structurally 2012-12-17 19:00:47 -07:00
Nathan Sobo
a7d1a29748 Use config.get/set methods. config.update now takes no args. 2012-12-17 18:52:20 -07:00
Corey Johnson & Nathan Sobo
bc49be6c2c Move project.ignoredNames to config.core.ignoredNames 2012-12-17 16:54:09 -08:00
Corey Johnson & Nathan Sobo
f62ef2e68b Lower inputThrottle on Select Lists to 50ms 2012-12-17 16:37:27 -08:00
Corey Johnson & Nathan Sobo
6aafb73389 Add get and set to config 2012-12-17 16:37:27 -08:00
Nathan Sobo
2892ec9ecf Put user extensions directory (~/.atom/extensions) on the load path 2012-12-16 12:14:39 -08:00
Nathan Sobo
4538a70859 Add config.editor.autosave 2012-12-16 11:30:06 -08:00
Nathan Sobo
d311dac39f 💄 2012-12-16 11:29:52 -08:00
Nathan Sobo
001a6500c6 Config requires all non-banged extensions listed in core.extensions 2012-12-16 11:25:52 -08:00
Nathan Sobo
bc7dc5d911 💄 2012-12-16 11:24:55 -08:00
Nathan Sobo
20bd670d8e 💄 2012-12-16 11:06:47 -08:00
Nathan Sobo
64ff05d481 Simplify config.core.extensions array 2012-12-14 17:14:58 -08:00
Nathan Sobo
b7fd9debd6 Only call once after registering extensions 2012-12-14 17:03:12 -08:00
Corey Johnson & Nathan Sobo
cc44508b58 Register extensions in core.extensions on Config.load 2012-12-14 16:38:44 -08:00
Corey Johnson & Nathan Sobo
e6362af711 Rename subscription.destroy to subscription.cancel 2012-12-14 16:38:04 -08:00
Corey Johnson & Nathan Sobo
8a675fd538 Use config.update w/ a key path everywhere we update the config 2012-12-14 15:21:36 -08:00
Corey Johnson & Nathan Sobo
827d6b57fb Use observeConfig in Editor 2012-12-14 15:01:31 -08:00
Corey Johnson & Nathan Sobo
55dc3e1cdf Merge branch 'master' into config
Conflicts:
	spec/app/project-spec.coffee
	src/extensions/wrap-guide/src/wrap-guide.coffee
2012-12-14 14:14:50 -08:00
Kevin Sawicki & Nathan Sobo
b91c353d2b Add View#observeConfig as a space-pen extension 2012-12-14 14:08:57 -08:00
Kevin Sawicki
0bb1442652 Clear loading message when setting error 2012-12-14 10:17:26 -08:00
Kevin Sawicki
d5c6acd2ce 💄 2012-12-13 09:58:06 -08:00
Kevin Sawicki & Nathan Sobo
49d817a9c4 Observe the config from tree view to show/hide git-ignored files 2012-12-12 18:19:21 -08:00
Nathan Sobo
0a1b389994 Add Config#observe, which watches a key path for changes 2012-12-12 18:19:02 -08:00
Corey Johnson & Kevin Sawicki
a6a05b6ff4 Remove directories from fuzzy-finder 2012-12-12 17:25:45 -08:00
Corey Johnson & Kevin Sawicki
6f6dfe78a9 Clear timeout when select-list is cancelled 2012-12-12 17:21:08 -08:00
Nathan Sobo
aedc86705e Merge branch 'master' into config 2012-12-12 16:48:58 -08:00
Nathan Sobo
c19c9e0d1f Save config changes on update 2012-12-12 15:49:01 -08:00
Corey Johnson & Kevin Sawicki
f8dd51cab6 Increase input throttle to 200ms 2012-12-12 15:48:59 -08:00
Corey Johnson & Kevin Sawicki
e15306d8cc Clear array when window receives focus 2012-12-12 15:46:21 -08:00
Corey Johnson & Kevin Sawicki
0c68295ec6 Empty fuzzy-finder list on cancel 2012-12-12 15:40:36 -08:00
Nathan Sobo
3c2b84a46d Add config.editor.fontSize 2012-12-12 15:23:36 -08:00
Corey Johnson & Kevin Sawicki
0b239c8f37 Debounce filter input on select lists 2012-12-12 14:52:31 -08:00
Nathan Sobo
8088e4d90c Add config.editor.invisibles field for customizing invisible glyphs. 2012-12-12 14:45:58 -08:00
Corey Johnson & Kevin Sawicki
77e4e41c7b Check all path segments for ignored names 2012-12-12 13:58:15 -08:00
Nathan Sobo
db0a39679c Remove showInvisibles constructor param on Editor
And remove `showInvisibles` state from the `RootView` now that it's managed via `config`.
2012-12-12 13:55:27 -08:00
Nathan Sobo
b3303bc21d Add config.editor.showInvisibles 2012-12-12 13:50:58 -08:00
Corey Johnson & Kevin Sawicki
9931441b9a Clear list when showing loading or error message 2012-12-12 13:32:53 -08:00
Nathan Sobo
2a901e78f9 Identify editor when subscribing to window resize 2012-12-12 13:28:29 -08:00
Corey Johnson & Kevin Sawicki
404f637101 Populate fuzzy-finder asynchronously 2012-12-12 12:26:39 -08:00
Nathan Sobo
d89549c58a Load config from config.json. Set theme with config.core.theme. 2012-12-12 12:15:08 -08:00
Nathan Sobo
9c31ab3a79 Add global config object. Config#load loads user's atom.coffee. 2012-12-12 11:40:09 -08:00
Corey Johnson & Nathan Sobo
ab96129ef6 Cleanup TokenizedBuffer 2012-12-11 17:17:06 -08:00
Kevin Sawicki
d0a213b2b1 Move octicon values to content property 2012-12-11 17:13:25 -08:00
Kevin Sawicki
707996dcb1 Move branch icon value to content attribute 2012-12-11 16:57:45 -08:00