Corey Johnson & Nathan Sobo
c6bae093c1
Starting on TextMate bundle support
2012-08-01 09:48:35 -07:00
Nathan Sobo
7f5c588723
Statically link the silver searcher binary against PCRE so it isn't required
2012-07-21 17:21:49 -06:00
Nathan Sobo
239cba25e4
Use the silver searcher to implement global search
...
Parsing uses a simple state machine in `Project.scan`.
2012-07-19 17:28:46 -06:00
Nathan Sobo
f5e46e57fc
Use bundled ack instead of grep
...
Our ack is slightly modified to use `'\0'` characters instead of `':'` in the --nogroup listing. This makes it easier to handle both `':'` characters and newlines in filenames, but we aren't really doing that yet.
2012-07-19 09:17:44 -06:00
Nathan Sobo
ed48622a3a
Rename FileFinder to FuzzyFinder, which will make more sense when we can also use it to fuzzy-find on open buffers
2012-06-28 11:35:30 -06:00
Nathan Sobo
2e0943f41a
Upgrade PEG.js to 0.7.0 for line and column tracking (needed for snippet tab-stops)
2012-06-21 16:29:12 -06:00
Corey Johnson & Nathan Sobo
a9a326f626
remove log
2012-06-15 11:53:47 -07:00
Corey Johnson
3983a25a98
Use requireStylesheet to load jasmine.css
2012-06-01 15:22:24 -07:00
Corey Johnson
32b3dfa0ca
Better spec error output when running headless
2012-06-01 11:24:08 -07:00
Nathan Sobo
87d0c1d189
Can use ffdescribe, ffit, fffdescribe, fffit to raise the focus priority.
2012-05-21 18:35:03 -07:00
Corey Johnson
f05b64b483
Better error messages for failed benchmarks
2012-05-16 17:25:07 -07:00
Corey Johnson
a866d53e96
SpacePen's constructor doesn't default first arg to an empty object
...
If you want your view's initialize, class or content argument to default to an empty object, do it yourself!
2012-05-16 10:35:00 -07:00
Corey Johnson & Nathan Sobo
9427c82084
WIP: Getting specs passing with new stand-in vertical scrollbar
2012-05-11 11:52:03 -06:00
Nathan Sobo
64a91148cd
Upgrade to SpacePen 3b85ccfb0ec43, which replace 'attach' events with 'afterAttach' hooks
2012-04-26 11:37:56 -06:00
Nathan Sobo
7e1a6cb5b4
Upgrade SpacePen again to default first view arg to {}
2012-04-10 17:30:09 -06:00
Nathan Sobo
42f7d00fc1
Upgrade SpacePen to 98bd6cf5f62e596bb6bfcff8e2dcea07ce007de4 to get views w/ multiple args
2012-04-10 16:58:17 -06:00
Nathan Sobo
461fdd5e61
Selection merging with mouse maintains directionality of last selection
2012-03-27 11:52:55 -07:00
Corey Johnson & Nathan Sobo
909337bc1c
WIP: Start on CommandInterpreter and substitution
2012-03-21 14:59:49 -06:00
Corey Johnson
a559e52352
Extract jasmine code into jasmine-helper
2012-03-15 10:46:40 -07:00
Corey Johnson
1a4ae397ad
rake benchmark uses --headless arg
2012-03-15 10:37:19 -07:00
Corey Johnson
80641636f9
rake tasks use console reporter
2012-03-15 10:15:06 -07:00
Corey Johnson
ef9673a145
jasmine-atom-reporter doesn't output any console data
2012-03-15 08:55:09 -07:00
Corey Johnson
56fb238bf6
Failures cause app to exit with exitStatus != 1
2012-03-14 11:00:35 -07:00
Corey Johnson
117d9287e0
Allow AtomReporter to output text to console.
2012-03-14 10:48:53 -07:00
Corey Johnson
638c0c625b
Rename TrivialReporter AtomReporter
2012-03-14 09:59:31 -07:00
Nathan Sobo
8061248d58
Cache currentBuilder
2012-03-12 19:32:30 -06:00
Nathan Sobo
633e07d537
Export $$$ function, which returns HTML as a string
2012-03-12 19:14:53 -06:00
Nathan Sobo
7638375b78
Avoid call to jQuery.clean by converting HTML to DOM nodes manually instead of using $
2012-03-12 19:14:36 -06:00
Corey Johnson & Nathan Sobo
6a2ac7b25e
Fixed Jasmine errors about 'abort not existing on undefined'
...
I'm not sure why these errors occurred though.
2012-02-28 17:23:55 -08:00
Corey Johnson
5bce8f00d7
Fix bug with 'not' selectors in specifity.js
2012-02-07 15:41:05 -08:00
Nathan Sobo
bb640dd342
Use $$ ->
to render ad-hoc document fragments
...
Also eliminate stdlib/template directory which held code related to
SpacePen's precursor framework.
2012-02-06 16:19:43 -07:00
Nathan Sobo
64a97b9427
Use SpacePen for all views
...
SpacePen is better because its objects inherit directly from the jQuery
prototype, meaning you can create them with `new`.
2012-02-06 12:12:45 -07:00
Nathan Sobo
f1a5368eb3
Remove Coffeekup and Handlebars
2012-02-06 12:11:45 -07:00
Nathan Sobo
0e677b6b82
Update ace to 5b6e24dd0953e4728766bd8d6c807a48e9ec61cd
2012-01-31 19:23:42 -07:00
Corey Johnson & Nathan Sobo
31a1091f6c
Update coffee-script to 1.2
2012-01-25 08:39:36 -08:00
Corey Johnson & Nathan Sobo
6ed0684eed
Fix Project.getFilePaths spec. It returns relative paths.
2012-01-11 13:16:10 -08:00
Nathan Sobo
65605409b0
Favor key bindings with the most specific CSS selectors
...
Now if a keypress event bubbles to an element with bindings for
multiple matching selectors, the most specific selector is chosen. This
allows us to override a keybinding by using a more specific selector.
For example, say we have an editor instance inside of the file-finder
widget, so that the user can use all their normal bindings when they
type the name of the file. Except when they hit <esc> we want to close
the file finder, not do whatever they normally have it bound to. Now we
can just say:
```
.file-finder .editor {
<esc>: close-file-finder
}
```
And we're assured that our binding will take precedence.
2012-01-11 13:16:10 -08:00
Corey Johnson & Nathan Sobo
e23d3824e8
Add explicit callback-based waitsFor block completion to Jasmine.
...
In Jasmine, you can now declare formal parameters in the function you pass to waitsFor. It will automatically pass function args for those params. The spec only advances when you call *all* the given functions.
2012-01-03 11:17:56 -07:00
Nathan Sobo
51c89acc5b
Add FileFinder with a findMatches method that returns ranked urls.
...
Change stringscore.js to be a function that takes a string, rather than extending the prototype.
2011-12-28 13:53:39 -06:00
Nathan Sobo
a7aa1d2b75
Add jasmine jquery matchers.
2011-12-27 17:42:29 -06:00
Nathan Sobo
5b7a80f707
fdescribe / fit can be used to focus specs manually
2011-12-23 15:38:22 -06:00
Corey Johnson
8efbd8c281
Move keybindings to window.
...
Window has startup and shutdown methods.
2011-12-19 12:59:11 -08:00
Nathan Sobo
30adef91fc
Using hotkeys JQuery plugin.
2011-12-16 16:30:53 -08:00
Corey Johnson
fbb3efacf4
wii - gettings specs on App.open. Window closing not working quite right.
2011-12-14 16:24:30 -08:00
Corey Johnson
6ce5d32d83
Render the initial window layout programmatically with a template.
...
Remove layout html from the bootstrap page. Now the same page can be used for specs and the editor windows.
2011-12-14 11:26:14 -08:00
Corey Johnson & Nathan Sobo
607149a07d
Half-baked template experiment
2011-12-12 16:24:55 -08:00
Corey Johnson
e1d4f5c985
New jQuery.
2011-12-01 12:49:27 -05:00
Chris Wanstrath
b9fc94ef6c
update ace to cd271f1a8bd33712f90dc91d0105bc6674e8c6a4
2011-11-29 09:16:56 -08:00
Chris Wanstrath
074a887f5c
vendor handlebars.js
2011-11-26 01:14:24 -08:00
Chris Wanstrath
bbc4779f4d
fuuuu our require() sux
2011-11-25 23:57:17 -08:00