Commit Graph

351 Commits

Author SHA1 Message Date
Kevin Sawicki & Nathan Sobo
fe010eccc7 Update telepath for SharedString::lineForRow speedup 2013-08-19 13:51:59 -07:00
Kevin Sawicki
2959b51afb Upgrade telepath for assumePrimitiveElements optimization 2013-08-19 13:43:43 -07:00
Nathan Sobo
f23f23d032 Upgrade telepath for assumePrimitive optimization 2013-08-18 10:19:36 -06:00
Kevin Sawicki
338b59dc5f Upgrade telepath for line performance improvements 2013-08-16 20:45:30 -07:00
Kevin Sawicki & Nathan Sobo
0e2d6caf94 Upgrade telepath for stack overflow fix 2013-08-16 12:05:15 -07:00
Kevin Sawicki & Nathan Sobo
a147dc01d7 Clear undo stack after setting initial buffer text 2013-08-16 11:30:37 -07:00
Kevin Sawicki & Nathan Sobo
4c121bb084 Upgrade telepath for timestamp fix 2013-08-16 11:18:00 -07:00
Kevin Sawicki
13a622a853 Upgrade telepath for SharedString transaction fixes 2013-08-16 09:08:58 -07:00
Kevin Sawicki & Nathan Sobo
27928a7145 Upgrade telepath for Document::begin/commit/abortTransaction() 2013-08-15 17:17:32 -07:00
Kevin Sawicki
67755ccdc3 Upgrade apm for new link in dev mode command 2013-08-15 08:15:15 -07:00
Kevin Sawicki & Nathan Sobo
5313f6cf66 Upgrade telepath for Range.fromPointWithDelta() fix 2013-08-14 16:35:30 -07:00
Kevin Sawicki
c6d1409151 Merge branch 'master' into summit
Conflicts:
	.pairs
	package.json
	spec/app/tokenized-buffer-spec.coffee
	src/app/edit-session.coffee
	src/app/project.coffee
	src/app/window.coffee
	src/atom-application.coffee
	static/root-view.less
2013-08-14 14:05:35 -07:00
Kevin Sawicki
c1c50a0b4c Pull out symbols-view package into a separate repo 2013-08-14 08:48:10 -07:00
Corey Johnson & Nathan Sobo
2d46a98ea2 Update telepath 2013-08-13 17:14:10 -07:00
Cheng Zhao
4f7c7568e9 Update apm: No more need of bundled node. 2013-08-13 14:48:40 +08:00
Kevin Sawicki
09a6e9a42e Remove vendored TextMate themes 2013-08-07 17:39:18 -07:00
Kevin Sawicki & Nathan Sobo
c2ec172617 Upgrade telepath to avoid marker update corner case 2013-07-26 13:04:42 -06:00
Cheng Zhao
b9261a33be Update apm: update node to v0.10.15. 2013-07-26 20:16:56 +08:00
Kevin Sawicki & Nathan Sobo
79fab6602f Don't replicate spell check markers 2013-07-23 18:31:30 -07:00
Kevin Sawicki & Nathan Sobo
636f81703c Distinguish remote and local selections in EditSession
Also: Add an Environment spec helper class that swaps out global
variables to simulate running code in different environments for the
replication specs.
2013-07-23 17:49:14 -07:00
Kevin Sawicki
4fff0b9792 Remove project path from state so it doesn't replicate 2013-07-23 11:40:21 -07:00
Kevin Sawicki & Nathan Sobo
501a6b7d11 Add site global used to create all telepath documents 2013-07-22 19:58:27 -07:00
Kevin Sawicki & Nathan Sobo
f4e7693e70 💩 Put apm back to version we clobbered during merge 2013-07-22 18:47:16 -06:00
Kevin Sawicki
56a2c79fe1 Merge branch 'collaboration-presence' into shared-buffers
Conflicts:
	src/app/edit-session.coffee
	src/app/project.coffee
	src/app/text-buffer.coffee
	src/app/window.coffee
	src/packages/collaboration/lib/bootstrap.coffee
	src/packages/collaboration/lib/session-utils.coffee
	vendor/telepath
2013-07-22 10:12:45 -07:00
Kevin Sawicki
baa03f5587 Upgrade apm
Closes #638
2013-07-22 08:35:10 -07:00
Nathan Sobo
da95d26c58 Upgrade telepath to fix markers at end of buffer being invalid 2013-07-21 17:49:51 -06:00
Nathan Sobo
2b7a294cdd Use new marker attribute API to store/replicate selection goal ranges 2013-07-20 02:24:35 -07:00
Nathan Sobo
74347ea874 Upgrade telepath to allow marker attributes to be updated 2013-07-20 02:23:06 -07:00
Nathan Sobo
de1b69dbc9 Add DisplayBuffer.copy 2013-07-18 11:34:39 -07:00
Nathan Sobo
8b53b4d749 Add ability to copy display buffer markers 2013-07-18 10:25:03 -07:00
Nathan Sobo
804df73e8d Get edit session specs passing with selection based markers 2013-07-17 19:16:42 -07:00
Ben Ogle & Nathan Sobo
bb695ec53f Replicate the destruction of selections 2013-07-17 11:53:39 -07:00
Ben Ogle & Nathan Sobo
baeae2d8d5 Upgrade telepath so we can query 'invalidation' key in findMarkers 2013-07-17 10:25:02 -07:00
Kevin Sawicki
b1ca43ac0f Upgrade telepath 2013-07-16 09:49:45 -07:00
Kevin Sawicki & Nathan Sobo
abc20b3a05 Update text buffer to use telepath markers 2013-07-15 17:07:06 -07:00
Kevin Sawicki
041f52aaaa Upgrade apm 2013-07-12 14:07:03 -07:00
Kevin Sawicki
acb69a4221 Format stack traces in console reporter
This generates valid CoffeeScript line/column numbers and
also removes noisy lines from jasmine.js and from the grunt
stack portion for the initial test process spawn.
2013-07-06 15:39:32 -07:00
Kevin Sawicki & Nathan Sobo
bffe361151 Upgrade telepath 2013-07-05 12:53:51 -07:00
Kevin Sawicki
1efa480b4e Upgrade telepath 2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
05a3f35512 Normalize line endings in TextBuffer.change() 2013-07-05 12:53:50 -07:00
Kevin Sawicki & Nathan Sobo
72f9af4d00 Replicate buffer changes
Still some failures due to line endings
2013-07-05 12:53:49 -07:00
Kevin Sawicki & Nathan Sobo
dd0f7a032f Start basing Buffer's text on a replicable string 2013-07-05 12:53:49 -07:00
Cheng Zhao
857629e07e Revert "Revert "Upgrade apm: update node to v0.10.12.""
This reverts commit 18c5c788d7.
2013-07-04 08:52:13 +08:00
Cheng Zhao
18c5c788d7 Revert "Upgrade apm: update node to v0.10.12."
This reverts commit 433beac9aa.
2013-07-04 08:37:59 +08:00
Cheng Zhao
433beac9aa Upgrade apm: update node to v0.10.12. 2013-07-03 18:23:41 +08:00
Nathan Sobo
5a9e45f9d8 Upgrade telepath 2013-06-28 04:39:31 -06:00
Kevin Sawicki
b439e6239d Add telepath as submodule 2013-06-28 04:39:28 -06:00
Kevin Sawicki & Nathan Sobo
9c95a4751b Return telepath documents from getWindowState() 2013-06-28 04:39:25 -06:00
Cheng Zhao
f45ce3a7ee Upgrade apm: update to node v0.10.12. 2013-06-27 10:59:09 +08:00
Kevin Sawicki
46eac52dbf Upgrade apm 2013-06-24 14:57:32 -07:00
Kevin Sawicki
d227d8794d Upgrade apm 2013-06-24 14:24:29 -07:00
Kevin Sawicki
cf936a8a02 Upgrade apm 2013-06-24 11:45:53 -07:00
Kevin Sawicki
8aeedb8971 Upgrade apm 2013-06-06 13:23:19 -07:00
Cheng Zhao
feab9862ac Update apm for node v0.10.9. 2013-06-06 09:57:03 +08:00
Kevin Sawicki
2b6a4365ac Upgrade apm 2013-06-03 09:34:53 -07:00
Corey Johnson & Kevin Sawicki
17a83933d4 Use two -f flags to clean all git dirs 2013-05-29 10:01:33 -07:00
Kevin Sawicki
617af68aeb Upgrade apm 2013-05-28 09:25:28 -07:00
Kevin Sawicki
6690598024 Use TextMate packages instead of vendoring bundles 2013-05-28 09:25:22 -07:00
Kevin Sawicki
61b5160d81 Move apm to github org. 2013-05-21 18:24:55 -07:00
Kevin Sawicki
5859ae6ba7 Upgrade apm 2013-05-17 15:37:21 -07:00
Kevin Sawicki
74c889062b Upgrade apm 2013-05-14 13:14:55 -07:00
Kevin Sawicki
851febd495 Use apm to install modules 2013-05-14 12:30:35 -07:00
probablycorey
2e61201f86 Update ruby TextMate bundle
Closes #541
2013-05-13 16:51:30 -07:00
Nathan Sobo
b70ff1b164 Don't assign window.jQuery in jasmine-jquery.js helper
I wrap it in a function wrapper to ensure that the assignment
`var jQuery` doesn't end up assigning a window global.
2013-04-26 15:36:13 -07:00
Kevin Sawicki
a720919dd8 Add hyperlink helper TextMate bundle 2013-04-23 08:39:25 -07:00
Nathan Sobo
9204836d70 Update grammars when grammars they include are added/removed
If the Ruby on Rails grammar depends on HTML, but it isn't loaded, its
syntax highlighting won't include HTMl tokens. If we later load HTML,
we should update any buffer with the Rails grammar to reflect the
change. This commit changes grammars to memoize their initial rule and
repository. If an included grammar is added or removed, we clear the
memoized rules and emit a 'grammar-updated' event. Any tokenized
buffer that points to this grammar can then retokenize to reflect the
newly available/unavailable included grammar.
2013-04-22 11:33:59 -06:00
Kevin Sawicki
faca7f091a Include PEG js bundle 2013-04-19 10:58:35 -07:00
Kevin Sawicki
ed9f46b39f Upgrade TextMate PHP bundle to current master 2013-04-19 10:58:33 -07:00
Kevin Sawicki
b4ab10403d Use lower case submodule paths
Lowercase the Go and Mustache bundle paths to be
consistent with all others.
2013-04-18 21:34:31 -07:00
Nathan Sobo
738fc31f56 Add twitter bootstrap submodule and put it on less search path 2013-04-15 20:45:54 -06:00
Nathan Sobo
2f008aa886 Use less NPM module instead of vendored less
We're currently using nathansobo's fork, which doesn't depend on
`window` being undefined to operate in Node mode.
2013-04-15 20:45:54 -06:00
Garen Torikian
b298f63e4c Merge master 2013-03-27 19:47:14 -07:00
Nathan Sobo
38924f5bb8 Upgrade to latest space pen, as an NPM 2013-03-27 11:06:49 -04:00
Garen Torikian
280e527f5a Remove unneeded vendor binarys 2013-03-26 15:03:10 -07:00
Kevin Sawicki
00fd7fc00f Add Go Textmate bundle as submodule 2013-03-26 17:11:26 -04:00
Kevin Sawicki
6e472064dd Add Mustache bundle as a submodule
Closes #398
2013-03-21 11:13:07 -07:00
Kevin Sawicki
77b7e71920 Move jasmine-helper from vendor/ to spec/ 2013-03-20 18:38:19 -07:00
Kevin Sawicki
8668998b1a Move jasmine-focused to spec folder
This JS file was previously loaded in the vendor folder
even though it was internally written.

It has also been converted to CoffeeScript.
2013-03-20 18:36:55 -07:00
Kevin Sawicki & Nathan Sobo
501dc9b76c Merge remote-tracking branch 'origin/master' into cefode
Conflicts:
	native/v8_extensions/native.mm
	spec/app/config-spec.coffee
	spec/app/window-spec.coffee
	spec/spec-helper.coffee
	spec/stdlib/fs-utils-spec.coffee
	src/app/atom-package.coffee
	src/app/config.coffee
	src/app/window.coffee
	src/packages/fuzzy-finder/lib/load-paths-handler.coffee
	src/packages/markdown-preview/lib/markdown-preview-view.coffee
	src/packages/tree-view/spec/tree-view-spec.coffee
	src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Nathan Sobo
4a203a9eb6 Use plist NPM instead of vendor/plist.js. Use new synch parsing api.
This also adds a `readObject` method to `fs-utils`, which loads the
file as cson if it ends with json/cson, and otherwise tries to load
it as a plist.

For now, we're using my fork which is tolerant to a node environment
with a `window` global and suppresses some logging of non-fatal
errors. If the upstream author accepts my pull requests we can switch
back.
2013-03-19 11:32:23 -06:00
Kevin Sawicki
2b35eaa414 Update python bundle to 70dd4be
Adds .gypi to file types
2013-03-13 08:42:23 -07:00
Kevin Sawicki
3a3f4e2ce6 Use pegjs node module 2013-03-12 17:41:18 -07:00
Kevin Sawicki
96a949983c Use fs.resolveOnLoadPath() instead of require.resolve() 2013-03-12 13:33:25 -07:00
Kevin Sawicki
2a78183a15 Use node's crypto API for pasteboard md5s 2013-03-11 19:07:08 -07:00
Kevin Sawicki
9139df5779 Remove unused vendor assert.js 2013-03-11 17:36:48 -07:00
Kevin Sawicki
5d8a40d240 Use d3 npm 2013-03-11 15:48:29 -07:00
Kevin Sawicki
03b32ec29c Use coffee-script node module
This required upgrading underscore which to fix issues
with _.isEqual working across objects created from different
documents.

The upgrade required adding a custom _.isEqual extension that
added back support for object's having an isEqual method that
was removed in underscore 1.4.0.
2013-03-11 13:39:17 -07:00
Kevin Sawicki
2212222c47 Use underscore node module 2013-03-11 11:22:36 -07:00
probablycorey
0b674978db Require will parse .less files into css 2013-03-11 10:02:18 -07:00
Nathan Sobo
8898f81fc3 Add $.fn.views method to space pane, which returns an array of views 2013-03-07 09:30:24 -08:00
Garen Torikian
6c389629b7 Add less tmbundle 2013-02-27 15:40:38 -08:00
Garen Torikian
18e089571c Add SASS TMBundle 2013-02-27 15:39:10 -08:00
Garen Torikian
318e86b821 Add Perl TMBundle 2013-02-27 15:38:22 -08:00
Garen Torikian
392b34e675 Add PHP TMBundle 2013-02-27 15:37:49 -08:00
Garen Torikian
f21318c3c7 Add Java TMBundle 2013-02-27 15:36:53 -08:00
Garen Torikian
519340a67c Add yaml submodule 2013-02-27 14:56:34 -08:00
Will Farrington
584c07b590 Add clojure tmbundle 2013-02-26 21:58:12 +11:00
Kevin Sawicki
9e1547afab Update python bundle to df88cd66d0 2013-02-20 20:53:01 -08:00
Corey Johnson
f7bc1186c5 Console spec reporter allows focused specs 2013-02-20 16:28:49 -08:00
Kevin Sawicki
e21fddc5e3 Upgrade CoffeeScript bundle to 32d285247
Includes commit to not include whitespace before function name
in function scope.
2013-02-15 10:32:32 -08:00
Corey Johnson
98cd5b46d1 Spec runner cleanup 2013-02-11 18:00:56 -08:00
Nathan Sobo
3e040f3f40 Upgrade vendored SpacePen to d9b6b4a2fe3fdeca07bb82e14e412718540f89f3 2013-02-06 16:40:19 -07:00
Nathan Sobo
6561d89e1c Upgrade vendored SpacePen to f6ef4ba2ffdc27b6c9a057560f1f527b1e0f3e8b 2013-02-06 11:40:46 -07:00
Corey Johnson
4e60bf6501 Fix focused spec bug 2013-02-01 14:54:26 -08:00
Corey Johnson
ab8537f317 Upgrade Jasmine to 1.3.1 2013-02-01 14:13:56 -08:00
Corey Johnson
a383c205b7 Make test output more readable 2013-01-31 15:33:15 -08:00
Kevin Sawicki
7a186b1ab6 Add python bundle as submodule 2013-01-29 18:21:38 -08:00
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