Nathan Sobo
aaac5a8659
💄
2012-12-21 18:24:06 -07:00
Nathan Sobo
6e5f9b9a27
Kill unused require
2012-12-21 18:20:28 -07:00
Nathan Sobo
9b6c310239
Implement scoped config settings
...
You can pass a scope stack when calling `config.get`, which will prefer
settings under the most specific matching scope selector for the given
scope stack.
2012-12-21 18:20:20 -07:00
Nathan Sobo
25aadda742
Merge branch 'master' into config
2012-12-20 22:17:32 -07:00
Nathan Sobo
880edcd408
Increase waitsFor timeout in attempt to address intermittent failure
2012-12-20 22:17:08 -07:00
Nathan Sobo
356702c2f3
Clone defaults in config constructor so they aren't mutated.
...
This fixes failures caused pollution of state between specs
2012-12-20 22:13:12 -07:00
Nathan Sobo
0ca1440026
Oops. Don't overwrite user config w/ defaults before its loaded
2012-12-20 21:40:08 -07:00
Nathan Sobo
56f19cd01a
Kill console.log
2012-12-20 21:39:52 -07:00
Nathan Sobo
c7605b8aa6
Move loadPackages to atom global. Handle '-tmbundle' in regex.
...
This simplifies the loading of TextMate bundles in the spec and benchmark helpers. Since `loadBundle` was already implemented on `atom`, it made sense to move this logic here. Config is now more focused on its core job of handling configuration, not loading bundles.
2012-12-20 21:34:07 -07:00
Nathan Sobo
dd8597cc9c
Set config defaults in its constructor
2012-12-20 21:30:37 -07:00
Corey Johnson
0515274e2f
TextMate bundles end in .tmbundle or _tmbundle
2012-12-20 17:01:12 -08:00
Corey Johnson
f0d97a436b
Move ~/.atom/bundles to ~/.atom/packages on rake install
2012-12-20 16:46:37 -08:00
Corey Johnson
5ea9a4d365
Load TextMate Bundles from packages directories
2012-12-20 16:25:08 -08:00
Corey Johnson
cd3f481fa8
Remove unneeded console.log
2012-12-20 16:18:56 -08:00
Kevin Sawicki
7efaf084a0
Use editor settings for creating comparison string showing invisibles
2012-12-20 15:42:38 -08:00
Kevin Sawicki
3cd8a3304e
Use values directly from editor in invisibles spec
2012-12-20 15:10:21 -08:00
Kevin Sawicki
628d22de0a
Use tab invisible that is available in Inconsolata
...
Previously a non-Inconsolata character
was being used which caused alignment issues
with selections and the cursor
Also switch values in editor.coffee to use codes
so they can be viewed in any font.
2012-12-20 14:50:51 -08:00
Kevin Sawicki
39f5ce6087
Activate running Atom when invoked with no path
2012-12-20 13:11:01 -08:00
Corey Johnson
972d3e5536
💄
2012-12-20 10:34:36 -08:00
Corey Johnson
808559b25f
default-config is no longer used
2012-12-20 10:02:09 -08:00
Nathan Sobo
7dcb12ada2
RootView talks about packages and packageModules, not extensions
...
Now you call `rootView.activatePackage`, etc
2012-12-19 19:24:44 -07:00
Kevin Sawicki
275f6f2df5
💄
2012-12-19 17:25:20 -08:00
Kevin Sawicki
cdac5e0763
Read output for terminate handler off main thread
...
Follow on to commit 1bd0cc4152
2012-12-19 17:25:19 -08:00
Nathan Sobo
d3f96021b3
s/Extension/Package. Add more package docs. Mark what's not done yet.
2012-12-19 18:24:16 -07:00
Corey Johnson
bd3dfba1e5
Atom will work as your $EDITOR.
...
Set EDITOR='atom --wait'
2012-12-19 17:15:17 -08:00
Corey Johnson
1c516937e9
Update default atom.coffee file. Remove default-config.coffee
2012-12-19 17:10:34 -08:00
Nathan Sobo
abcb8fd1d0
Nix docs for calling unobserveConfig w/ a key path until we need it
2012-12-19 17:32:04 -07:00
Nathan Sobo
7768944f2c
💄
2012-12-19 17:32:04 -07:00
Nathan Sobo
8d63805072
Pull out ConfigObserver & Subscriber mixins; Add unobserveConfig
2012-12-19 17:32:04 -07:00
Nathan Sobo
95cb8b6169
Add config.setDefaults to docs and other 💄
2012-12-19 17:32:04 -07:00
Kevin Sawicki
c40ad87a1e
Remove replacing spaces with %20 when encoding URL params
...
This appears to be handled by stringByAddingPercentEscapesUsingEncoding
and so explicitly doing it causes a space to be encoded to %2520 instead
of %20
2012-12-19 15:37:41 -08:00
Kevin Sawicki
5c2b7b400d
Decode param name and value
...
These can contain percent encodings that
will need to be decoded before used.
2012-12-19 15:37:41 -08:00
Kevin Sawicki
75b9e7cbb1
Replace & with %26 when encoding URL params
...
This is not handled by stringByAddingPercentEscapesUsingEncoding
2012-12-19 15:37:34 -08:00
Kevin Sawicki
b83a4ef5c0
Grammar tweaks
2012-12-19 13:42:15 -08:00
Kevin Sawicki
5ce59314fc
Use cleaner iterator over filenames array
2012-12-19 12:42:42 -08:00
Kevin Sawicki
491ecb145f
Remove code handled in standardizePathToOpen
2012-12-19 12:10:55 -08:00
Corey Johnson & Nathan Sobo
1bd0cc4152
ChildProcess can handle commands that return large amounts of data.
...
When a command returned a large amount of data, it was blocking on the stderr callback when `[fileHandle availableData]` was called. From what I can tell, this is because stderr was being called with a zero-length string.
This was fixed when `[fileHandle availableData]` was moved to run inside the NSTask thread (instead of on the main thread). It now returns a zero-length string rather than blocking forever.
An unresolved question is why stderr is being called with zero-length strings.
2012-12-19 11:47:50 -08:00
Kevin Sawicki
ea088db19d
Open default path from applicationDidFinishLaunching
...
This is called after openFiles and so the default path
will open be opened if other explicit files were not
opened such as by dropping onto the dock icon
2012-12-19 11:25:43 -08:00
Kevin Sawicki
17976a19b5
Use simpler windows iterator
2012-12-19 11:00:43 -08:00
Kevin Sawicki
d674aa6a39
Open folders and plain text files dropped dock icon
...
Closes #103
2012-12-19 10:58:30 -08:00
Kevin Sawicki
35f362df1d
Bring window to front when opening already opened path
...
Closes #104
2012-12-19 09:32:06 -08:00
Kevin Sawicki
da841b0ac6
Use consistent quotes in strip-trailing-whitespace
2012-12-19 08:48:21 -08:00
Kevin Sawicki
6d31946d31
Merge single-trailing-newline into strip-trailing-whitepsace
...
single-trailing-newline functionality is now available as a
config option on the strip-trailing-whitespace package
2012-12-19 08:45:44 -08:00
Kevin Sawicki
b937e0dfbd
Remove unused require
2012-12-18 22:19:22 -08:00
Kevin Sawicki
9ab75fd09b
Remove duplicate package
2012-12-18 22:16:17 -08:00
Kevin Sawicki
22d4c679f5
Move status-bar to packages folder
2012-12-18 22:09:02 -08:00
Kevin Sawicki
e14d61f799
Move single-trailing-newline extension to packages folder
2012-12-18 21:53:31 -08:00
Kevin Sawicki
1e5515555e
Use command() instead of on() for document events
...
Allows commands such as 'open-user-configuration' to
appear and be invoked from the event palette
This was previously committed as 07a5672 but was merged
over when the config branch was merged into master.
2012-12-18 21:47:40 -08:00
Kevin Sawicki
d2d37e1d91
💄
2012-12-18 19:37:40 -08:00
Nathan Sobo
00b86ffac4
Merge branch '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:36:22 -07:00