Commit Graph

344 Commits

Author SHA1 Message Date
Jon Rohan
01b9594e21 moving themes to vendor/themes 2013-01-22 12:39:40 -08:00
Kevin Sawicki
7a89de077b Log longest specs explicitly
Instead of logging them to the console at the end of the run,
add two new methods, logLongestSpec() and logLongestSpecs(number)
to the window object that will print out the results.
2013-01-10 08:37:32 -08:00
Kevin Sawicki
f76db1f957 Log 10 longest running specs 2013-01-09 19:21:04 -08:00
Kevin Sawicki
14efcefad9 Add property list bundle
Also adds the xml bundle which is a requirement of
the property list bundle.
2013-01-08 16:22:38 -08:00
Kevin Sawicki
afa08c43b7 Vendor shell script bundle 2013-01-06 10:50:04 -08:00
Kevin Sawicki
59dced23a0 Update URL of git.tmbundle
Contains fix to colorize .gitmodules files
as config files.
2013-01-04 08:18:52 -08:00
Kevin Sawicki
4078046ac6 Vendor textmate bundles as submodules 2013-01-04 08:18:52 -08:00
Kevin Sawicki
bd68dc618a Add d3 treemap of command logger data 2012-12-28 17:10:10 -08:00
Corey Johnson & Nathan Sobo
085a5ea54f Upgrade space-pen 2012-12-14 14:27:28 -08:00
Corey Johnson
f0f0985c96 Don't require non-existent stream file 2012-10-26 15:36:15 -07:00
Kevin Sawicki
7b2223f6b4 Vendor exuberant ctags 2012-10-26 10:58:10 -07:00
Nathan Sobo
b1e8e2391f Merge branch 'paste-indentation' 2012-10-25 10:50:05 -06:00
Nathan Sobo
fd4b6c85ce Add a global pasteboard object which supports metadata
This metadata will be used to record the indentation level of the first line when copying multiple lines of text to the pasteboard. The pasteboard takes the md5 of the pasted content when writing, then when reading it associates the last written metadata only when the signature matches the previously written value.
2012-10-24 17:42:58 -06:00
Corey Johnson
f686988e36 Update stringscore.js to 0.1.10 and remove start_of_string_bonus 2012-10-24 15:33:13 -07:00
Corey Johnson & Nathan Sobo
4987ea3e49 If a TextMate syntax/preference fails to parse, catch error and log warning 2012-10-17 13:53:55 -07:00
Corey Johnson
7b4e798a4d rake test now obeys fdescribe and fit. 2012-10-09 17:23:01 -07:00
Corey Johnson & Nathan Sobo
c9c138491e Add atom.exit, which exits from the browser process instead of the renderer 2012-08-31 10:15:12 -06:00
Corey Johnson & Nathan Sobo
27335661dc WIP: Getting specs and benchmarks running from the command line 2012-08-30 18:10:05 -06:00
Nathan Sobo
c3e748a17c WIP: Use rake to start compiling resources (like require.coffee) 2012-08-26 16:29:46 -05:00
Nathan Sobo
c2c8724ad0 Initial commit 2012-08-10 13:32:19 -06:00
Corey Johnson
9b0a00a478 Remove Ace from vendor directory.
Adieu, adieu, parting is such sweet sorrow.
2012-08-09 10:52:40 -07:00
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
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
Corey Johnson
0e8dbd0397 This was causing errors. I don't even get how this
would work.

Also, this fixed the "Yellow screen on first load"
but I was having.
2011-09-08 20:09:40 -07:00
Chris Wanstrath
4f1397ef3c make _.js work in strict mode 2011-09-08 18:04:33 -07:00
Chris Wanstrath
32f7a080ef upgrade ace and pilot to newest 2011-09-08 00:43:51 -07:00
Chris Wanstrath
fdfcd0ac25 de-debug 2011-09-04 21:24:11 -07:00
Chris Wanstrath
06e0a46c1c make ace's coffee mode 1000x better
before and after:

https://img.skitch.com/20110905-najte87m4cq32unmd6eyigikcf.png

submitted upstream:

https://github.com/ajaxorg/ace/pull/411
2011-09-04 21:20:55 -07:00
Chris Wanstrath
8fa91ed75d clear all key modifiers on blur 2011-09-04 20:26:26 -07:00
Chris Wanstrath
4dee3710f0 blur matters 2011-09-04 19:29:37 -07:00
Chris Wanstrath
6186c278fd tweak keymater with our own changes 2011-09-04 19:23:52 -07:00
Chris Wanstrath
3efba12e10 vendor keymaster 2011-09-04 19:23:52 -07:00
Chris Wanstrath
51c06a956a commonjs assert module. thanks node! 2011-09-02 00:08:14 -07:00
Chris Wanstrath
409a77c485 gigantic ass reorg. let me know if this breaks. 2011-08-27 03:55:56 -07:00