Commit Graph

61 Commits

Author SHA1 Message Date
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
Chris Wanstrath
90d069b3f1 update underscore to 1.2.2 2011-11-25 23:52:15 -08:00
Chris Wanstrath
608d1dce36 argh!
https://github.com/ajaxorg/ace/issues/534
2011-11-25 23:06:59 -08:00
Chris Wanstrath
0d5d3d865f update ace
Loading is now visibly more janky, but I think
d3ba5b8111
fixes a lot of our problems.

I tested this on split-panes-2.0 and a major bug (no input
after resizing) is now gone. Poof.
2011-11-25 22:58:50 -08:00
Chris Wanstrath
c8aa59f4b3 Revert "update ace"
This reverts commit b776e422c3.
2011-11-25 18:20:45 -08:00
Chris Wanstrath
b776e422c3 update ace
Loading is now visibly more janky, but I think
d3ba5b8111
fixes a lot of our problems.

I tested this on split-panes-2.0 and a major bug (no input
after resizing) is now gone. Poof.
2011-11-25 12:26:16 -08:00
Chris Wanstrath
a1c5af0e48 modal selector needs stringscore 2011-11-12 21:44:04 -08:00
Corey Johnson
80ef6d9fa8 Fix for the blue screen of death 2011-11-11 11:16:58 -08:00
Chris Wanstrath
11db5e1a5a Upgrade ace & pilot. Fixes #44 2011-11-06 16:14:56 -08:00
Corey Johnson
d8d98ca7e3 first pass at key bindings. just replicating keymaster for now. 2011-09-23 15:57:18 -07:00
Corey Johnson
39080d0132 not ready yet 2011-09-16 15:35:59 -07:00
Corey Johnson
a1c2e80d12 findAll fix.
#ace
2011-09-16 14:58:05 -07:00
Chris Wanstrath
9cbc801eeb weird, why isn't for a keyword? 2011-09-10 22:18:47 -07:00