Kevin Sawicki
d2f2011ea3
Skip leading space after colon in nak output
...
This was causing a spec to fail since the line text now had a leading
space for all results since the separator before the line text is now
': ' instead of just ':'.
2013-04-02 13:50:48 -07:00
Garen Torikian
6f982c7c4c
Fix spec
2013-03-31 01:11:19 -07:00
Garen Torikian
4cd181022d
Restore old UI
2013-03-31 01:02:53 -07:00
Garen Torikian
7f8e2aba1b
Stash changes
2013-03-31 00:22:27 -07:00
Garen Torikian
082acf4386
Stash filestream work
2013-03-29 09:35:40 -07:00
Kevin Sawicki
95218ca9f5
Remove commented out logging
2013-03-28 22:29:05 -04:00
Garen Torikian
9e3935f349
Fix scan specs
2013-03-28 12:09:14 -07:00
Garen Torikian
af78a6b50f
Remove unneeded quotes
2013-03-27 19:40:20 -07:00
Garen Torikian
6a08827830
Properly append and count matches
2013-03-27 16:18:25 -07:00
Garen Torikian
7233d9d64b
Start figuring out where the pieces go
2013-03-27 01:06:34 -07:00
Garen Torikian
02873f5116
drop in nak for search
2013-03-26 15:02:48 -07:00
Corey Johnson & Nathan Sobo
db4420e068
Move grammar overrides to syntax (no serialization yet)
2013-03-22 17:35:35 -06:00
Nathan Sobo
a2f72882d7
Rename grammarForFilePath to selectGrammar
...
The old name was misleading because it the decision is based on the
file contents in some circumstances.
2013-03-22 17:35:27 -06:00
Kevin Sawicki
8dbcb44d06
Rename traverseTree to traverseTreeSync
...
Also rename traverseTreeAsync to traverseTree
2013-03-13 14:40:31 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1
Use node's require instead of internal require
2013-03-12 10:38:05 -07:00
Kevin Sawicki
2212222c47
Use underscore node module
2013-03-11 11:22:36 -07:00
Kevin Sawicki
acf5f4ce5e
Remove fs/$native.getAllFilePathsAsync()
...
This was previously only used by project.getFilePath()
which should have been using fs.traverseTree() instead.
2013-03-07 17:48:36 -08:00
Kevin Sawicki
c22d14c5b0
Use child_process.spawn from Project.scan
2013-03-07 17:36:21 -08:00
Nathan Sobo
beaeac4425
Rename buildEditSessionForPath to buildEditSession
...
Since this is the more external method, having a shorter name
is more convenient. The former `buildEditSession` method took a
Buffer, and is now called `buildEditSessionForBuffer`.
2013-03-07 09:28:51 -08:00
Kevin Sawicki
4fe6db240b
Consolidate Git status checking
...
Now the status bar and tree view both listen for
status change events and use the cached information
available from the git object to update their views.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
2ec4d558ba
Make project's Git repository a window global
...
This allows it to operate independently of the
project and mirror the availability of the root view
and project.
2013-03-04 21:43:33 -08:00
Corey Johnson & Kevin Sawicki
f8563a1509
💄
2013-02-26 09:04:02 -08:00
Kevin Sawicki
6047590544
Register deserializer for Project class
2013-02-19 21:53:48 -08:00
Nathan Sobo
6e191aba5b
Move matching bracket insertion to bracket-matcher package
2013-02-08 09:51:31 -07:00
Kevin Sawicki
2c4a57c293
Guard against possibly null repo
2013-01-21 16:22:34 -08:00
Corey Johnson
c3a2b99b69
Merge pull request #124 from github/auto-indent-config
...
Auto-indent config
2013-01-10 11:02:54 -08:00
Kevin Sawicki & Nathan Sobo
caffda6027
Add Git.destroy() that frees native repository
2013-01-09 17:07:29 -08:00
Corey Johnson
261a8aae2d
Remove @autoIndent from Project and EditSession
2013-01-09 15:22:37 -08:00
Kevin Sawicki
8d0d62b486
Add Git.open that returns null on exceptions
2013-01-08 21:15:42 -08:00
Kevin Sawicki
6f5e29d48e
Throw exception when repository fails to open
...
Removes need to check if the repository is valid before
each native API call and also removes calling into the
native-side if no repository can be opened for the project
page.
2013-01-08 21:15:41 -08:00
Kevin Sawicki
2b51a2ce73
Test firstLineRegex first when finding grammar
...
This is required for the property-list bundle to highlight
.plist files that maybe in XML or non-XML formats.
Also specify the cached buffer disk contents to grammarForFilePath
so fs.read doesn't need to be called again if the contents are
already read.
2013-01-08 16:15:38 -08:00
Corey Johnson & Kevin Sawicki
131708ba37
Serialize grammar overrides for paths
2013-01-08 15:24:14 -08:00
Corey Johnson & Kevin Sawicki
c67fbef2b2
Store grammar overrides on project
2013-01-08 14:39:32 -08:00
Kevin Sawicki
e0b1570795
Only create repo from setPath
2013-01-04 15:46:12 -08:00
Kevin Sawicki & Nathan Sobo
96aaefdd7d
Rename Project events to be past-tense
2013-01-04 13:46:27 -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
Corey Johnson & Nathan Sobo
bc49be6c2c
Move project.ignoredNames to config.core.ignoredNames
2012-12-17 16:54:09 -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
49d817a9c4
Observe the config from tree view to show/hide git-ignored files
2012-12-12 18:19:21 -08:00
Corey Johnson & Kevin Sawicki
a6a05b6ff4
Remove directories from fuzzy-finder
2012-12-12 17:25:45 -08:00
Corey Johnson & Kevin Sawicki
77e4e41c7b
Check all path segments for ignored names
2012-12-12 13:58:15 -08:00
Corey Johnson & Kevin Sawicki
404f637101
Populate fuzzy-finder asynchronously
2012-12-12 12:26:39 -08:00
Kevin Sawicki
a249b81c4d
Use absolute path when calling Git.isPathIgnored
2012-11-19 09:55:26 -08:00
Kevin Sawicki
c676f6f2dd
Default to showing ignored files
2012-11-19 09:48:51 -08:00
Kevin Sawicki
95775361b1
Create method that tests if path is Git ignored
2012-11-19 09:26:00 -08:00
Kevin Sawicki
6f0a680013
Merge return statements
2012-11-19 09:22:45 -08:00
Will Farrington
ee51e2ea0c
Add toggle ignored files command
2012-11-09 12:05:14 -08:00
Will Farrington
1ea8df6e60
Add hideIgnoredFiles option to projects
2012-11-09 11:51:00 -08:00
Will Farrington
fa743eefd8
first spike
2012-11-09 11:25:33 -08:00
Corey Johnson & Nathan Sobo
3b213e2960
Use single quotes when shelling out to ag.
...
This prevents `sh` from interpreting $ and \ as special characters.
2012-11-05 12:18:28 -08:00