Commit Graph

132 Commits

Author SHA1 Message Date
Nathan Sobo
c7605b8aa6 Move loadPackages to atom global. Handle '-tmbundle' in regex.
This simplifies the loading of TextMate bundles in the spec and benchmark helpers. Since `loadBundle` was already implemented on `atom`, it made sense to move this logic here. Config is now more focused on its core job of handling configuration, not loading bundles.
2012-12-20 21:34:07 -07:00
Corey Johnson
808559b25f default-config is no longer used 2012-12-20 10:02:09 -08:00
Nathan Sobo
3f6effcb51 Fix the benchmarks by assigning config defaults 2012-12-16 12:21:42 -08:00
Nathan Sobo
d89549c58a Load config from config.json. Set theme with config.core.theme. 2012-12-12 12:15:08 -08:00
Nathan Sobo
9c31ab3a79 Add global config object. Config#load loads user's atom.coffee. 2012-12-12 11:40:09 -08:00
Nathan Sobo
9bca73816c Only insert in the benchmark. Keeps it pure (but the line gets long) 2012-11-02 15:43:05 -06:00
Nathan Sobo
eebd312af9 Add Keymap benchmark for handling an event with no binding 2012-11-02 13:23:45 -06:00
Nathan Sobo
5e17a24009 Benchmark suite 💄 2012-10-31 12:50:28 -06:00
Nathan Sobo
c6cd484356 Add a benchmark for inserting / deleting at end of 9000-line file 2012-10-31 12:34:18 -06:00
Nathan Sobo
43d02b316c Eliminate benchmark for outdated OnigRegExp.getCaptureTree code 2012-10-31 12:33:47 -06:00
Nathan Sobo
b71fa308a3 Always run window.startup when window.coffee is required
When we actually want to attach the root view in window-bootstrap.coffee, we call `window.attachRootView(path)` instead of calling `window.startup(path)`. Having `startup` called automatically means we can be sure any code we add there runs in every environment (including benchmark and specs). This is where we do things like setup the global keymap, parse text mate bundles and themes, and establish the window close handler. Any globals other than the root view that we want to be available in all environments should be established here. Right now that's just the keymap, but soon I want to add a global pasteboard.
2012-10-24 12:34:45 -06:00
Corey Johnson
e2a917fcf3 Change tabText to tabLength 2012-10-18 11:31:39 -07:00
Corey Johnson
70e2badb6a Update benchmark suite 2012-09-24 15:47:33 -07: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
714a260f32 Require atom.coffee in spec-bootstrap and benchmark-bootstrap 2012-08-30 11:26:31 -06:00
Nathan Sobo
3cc2faf7c2 Add atom.showDevTools and replace calls to $native.showDevTools 2012-08-30 11:24:01 -06:00
Corey Johnson
6f99b61dd3 Now storing a window's state based on its rootDirectory (instead of on windowNumber) 2012-08-29 10:59:45 -07:00
Corey Johnson & Nathan Sobo
12b06ddf0c Get spec suite running (lots of failures) 2012-08-27 17:36:36 -05:00
Nathan Sobo
c2c8724ad0 Initial commit 2012-08-10 13:32:19 -06:00
Nathan Sobo
847b514164 Merge branch 'textmate'
Conflicts:
	benchmark/benchmark-helper.coffee
	benchmark/benchmark-suite.coffee
	src/app/language-mode.coffee
2012-08-09 18:57:59 -06:00
Nathan Sobo
c8154e4e8c Use Twilight theme stylesheet based on TextMateTheme 2012-08-08 16:55:34 -06:00
Corey Johnson & Nathan Sobo
221135a290 Fix broken benchmark 2012-08-08 13:19:28 -06:00
Corey Johnson & Nathan Sobo
93f21207ab Un-f benchmark suite 2012-08-08 11:05:01 -06:00
Corey Johnson & Nathan Sobo
5188d75772 Add benchmark for OnigRegExp 2012-08-07 13:09:01 -06:00
Nathan Sobo
b93ee2d876 Add benchmark for tokenization. 2012-08-07 12:12:47 -06:00
Nathan Sobo
a02af2a51f Add benchmark for TokenizedBuffer w/ new TextMateGrammar tokenization. SO SLOW! 2012-08-06 18:28:51 -06:00
Corey Johnson & Nathan Sobo
d36873f702 Rename Project.open to Project.buildEditSessionForPath 2012-07-18 11:20:13 -07:00
Nathan Sobo
bd5c1f8694 Rename RootView.activeEditor -> getActiveEditor 2012-07-02 19:46:33 -06:00
Corey Johnson
f8b5aa7f6e 💩 2012-06-29 15:53:55 -07:00
Corey Johnson
91c361e478 Fix benchmark suit 2012-06-29 15:51:11 -07:00
Corey Johnson
1059a6a495 Make dev tools work with specs 2012-06-26 16:41:13 -07:00
Nathan Sobo
396857660b Merge remote-tracking branch 'origin/project-refactor' 2012-06-20 16:51:40 -06:00
Nathan Sobo
2fe8ba41d0 Fix benchmarks by castrating loadUserConfiguration method correctly now that it's moved 2012-06-20 16:18:21 -06:00
Corey Johnson
c9b2535fac Fix setBuffer calls in benchmark-suite 2012-06-20 13:07:50 -07:00
Nathan Sobo
a32015f2e0 Un-F benchmark 2012-05-29 16:05:24 -06:00
Corey Johnson & Nathan Sobo
9b83ce6545 renderer tells editor when the gutter needs to be updated 2012-05-24 11:17:37 -07:00
Corey Johnson
00f11d86d6 Fix failing benchmark 2012-05-16 17:25:33 -07:00
Corey Johnson
8e808ae3c1 Clear rootViewStates after each benchmark 2012-05-16 12:17:01 -07:00
Corey Johnson
27f3d3d03d Use scrollView in benchmarks 2012-05-15 17:39:44 -07:00
Corey Johnson
e691f1e73a Errors thrown when running benchmarks are logged to the console 2012-05-15 17:39:23 -07:00
Corey Johnson
aed346cfcf Fail if the benchmarks fail 2012-05-15 17:00:54 -07:00
Corey Johnson
d9dbca122f Force benchmark ajax call to be synchronous 2012-05-15 16:59:06 -07:00
Corey Johnson
8cbd81b7ac don't fail build if benchmark fails 2012-05-15 10:22:47 -07:00
Corey Johnson
6515cada2d check to see if the build passes without the 9000-line-file.after-opening.move-to-beginning-of-word benchmark 2012-05-15 10:16:12 -07:00
Corey Johnson & Nathan Sobo
13553f79bc Benchmark movement of cursor that scrolls the editor's scroll view 2012-05-14 15:44:23 -06:00
Corey Johnson & Nathan Sobo
550bd0a979 Run more trials in benchmark that opens a 9k line file 2012-05-14 15:43:53 -06:00
Corey Johnson & Nathan Sobo
e8838b95fc Don't load user configuration for benchmark, since it changes the performance curve 2012-05-14 15:43:26 -06:00
Nathan Sobo
73c51583e6 Add benchmark for inserting newline in big file 2012-05-11 18:44:15 -06:00
Corey Johnson & Nathan Sobo
3f8654c76d Benchmark moving to eof 2012-05-10 11:31:35 -07:00
Nathan Sobo
1e2d333a15 WIP: working on only rendering on-screen lines. still half-baked. 2012-05-10 09:27:04 -06:00
Nathan Sobo
b369c09fa0 Benchmark method takes an optional repeat count after the description. Refactor benchmark helper. 2012-05-09 18:11:31 -06:00
Corey Johnson & Nathan Sobo
13f89f5d96 Benchmark opening large file 2012-05-09 16:22:07 -07:00
Corey Johnson & Nathan Sobo
cfd8d5bf8e Add benchmarkOnce 2012-05-09 16:11:35 -07:00
Corey Johnson & Nathan Sobo
faa0ec2199 log benchmark reports 2012-05-09 12:24:27 -07:00
Nathan Sobo
f2f44b9ab6 Can match key patterns with the '-' character
Add a parser to parse keystroke patterns instead of splitting on '-' with a regex
2012-05-09 10:56:31 -06:00
Corey Johnson & Nathan Sobo
69a76d1b47 Can move files from the tree view 2012-04-27 14:18:55 -07:00
Corey Johnson & Nathan Sobo
f652b4e357 Position autocomplete menu above cursor if there isn't room below 2012-04-20 17:18:07 -06:00
Nathan Sobo
e89a2255cf Tear down editors and unsubscribe from buffers on window unload to prevent exceptions when typing after reload 2012-04-18 11:01:30 -06:00
Nathan Sobo
77606b969c 💄 2012-04-09 15:53:33 -06:00
Nathan Sobo
7ded50c19d Add benchmark for moving to beginning of word at the end of a 9k line file 2012-04-09 15:52:08 -06:00
Corey Johnson & Nathan Sobo
98f9942367 Rename Editor.lastActiveEditor to Editor.activeEditor 2012-03-21 15:25:49 -07:00
Nathan Sobo
ec9b4ffcd1 Fix broken benchmarks suite. 2012-03-20 17:22:44 -06:00
Corey Johnson
f1003d1e3e Send benchmark data to graphite 2012-03-15 17:47:51 -07: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
ef9673a145 jasmine-atom-reporter doesn't output any console data 2012-03-15 08:55:09 -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
d30e183edb Add benchmark for inserting at the end of a file 2012-03-13 11:11:17 -06:00
Corey Johnson
11da15ac99 Exit app if exitAppWhenFinished is set 2012-03-12 16:40:38 -07:00
Corey Johnson
8e97fbd5ed document.title is set as the window title 2012-03-09 11:02:08 -08:00
Corey Johnson
1ce161504d Benchmark cascading syntax changes by adding a quote to file 2012-03-08 18:25:18 -08:00
Corey Johnson
e673f570cc We have to have pfbenchmark! I love the dan dan noodles. 2012-03-08 18:17:58 -08:00
Corey Johnson
095d2c0f19 un-f benchmark 2012-03-08 18:12:46 -08:00
Corey Johnson & Nathan Sobo
51c02f236c add fpbenchmark and fbenchmark 2012-03-08 18:11:40 -08:00
Corey Johnson & Nathan Sobo
ffeab94472 Do not use an Atom file in fixtures.
It makes things confusing when doing a global search.
2012-03-08 15:28:29 -08:00
Corey Johnson & Nathan Sobo
e04c3aeae8 Benchmark insert/delete in a medium sized file 2012-03-08 15:19:26 -08:00
Corey Johnson & Nathan Sobo
da8d30ab98 Call Editor.insertText directly instead of creating a TextInput event 2012-03-08 14:27:05 -08:00
Nathan Sobo
95e9b83694 Don't always show console, but bind a key for it and show when profiling 2012-03-08 13:04:07 -07:00
Nathan Sobo
4bfc09b18d Run benchmarks 100 times and other 💄 2012-03-07 19:43:59 -07:00
Corey Johnson & Nathan Sobo
f44a9df701 Add benchmark for inserting and deleting a character 2012-03-07 19:07:56 -07:00
Corey Johnson & Nathan Sobo
18c8c7e14f Add benchmark suite, which runs with ctrl-alt-meta-b 2012-03-07 18:21:17 -07:00