Commit Graph

13990 Commits

Author SHA1 Message Date
Nathan Sobo
1f395a7e8c Remove mentions of benchmarks from the build, command palette 2015-09-18 20:48:50 -06:00
Nathan Sobo
43de55b179 Fix delegated tooltips 2015-09-18 20:48:50 -06:00
Nathan Sobo
3c58e221a2 Add custom tooltip implementation that doesn’t depend on jQuery 2015-09-18 20:48:49 -06:00
Nathan Sobo
3bc68b91ba Handle document/window commands via command registry 2015-09-18 20:48:49 -06:00
Nathan Sobo
69664fc77b Remove space-pen-extensions
Move the last remaining feature into the tooltip manager.
2015-09-18 20:48:49 -06:00
Nathan Sobo
7a5e441987 Don’t document SpacePen viets as valid gutter decoration items
We should really be retrieving the view for the item from the view
registry, but that can be done in a different PR.
2015-09-18 20:48:49 -06:00
Nathan Sobo
2fdd40bd05 Remove SpacePen from lines-component 2015-09-18 20:48:49 -06:00
Nathan Sobo
5f97de5647 Remove jQuery from keymap-extensions 2015-09-18 20:48:49 -06:00
Nathan Sobo
2a79eaf7c2 Remove space-pen require from text-editor-element 2015-09-18 20:48:48 -06:00
Nathan Sobo
a977d93b7c Remove compatibility shims from space-pen-extensions 2015-09-18 20:48:48 -06:00
Nathan Sobo
9e59ab1e45 Don’t use jQuery in window-event-handler or its spec 2015-09-18 20:48:48 -06:00
Nathan Sobo
938a8e5230 Remove unused require 2015-09-18 20:48:47 -06:00
Nathan Sobo
f263fbe0d8 Drop jQuery from command-registry 2015-09-18 20:48:47 -06:00
Nathan Sobo
c790f987d4 Drop space-pen-extensions from atom.coffee 2015-09-18 20:48:47 -06:00
Nathan Sobo
f77cb3786c Terminate all directory searches if any fail
@bolinfest: I was seeing exceptions after the test terminated due to
one of the searches still running. I think since the promise rejects
with “all” semantics that we should cancel any other searches when one
fails. I wouldn’t expect them to continue if the promise is no longer
unresolved.
2015-09-18 20:48:46 -06:00
Nathan Sobo
e343125486 Drop attach/remove hook support for legacy SpacePen views 2015-09-18 20:48:46 -06:00
Nathan Sobo
c7ecad5576 Remove EditorView 2015-09-18 20:48:45 -06:00
Nathan Sobo
03d13753ee Remove ScrollView 2015-09-18 20:48:45 -06:00
Nathan Sobo
3414b904a0 Remove SelectListView 2015-09-18 20:48:45 -06:00
Nathan Sobo
4c73395608 Remove PaneContainerView and PaneView SpacePen shims 2015-09-18 20:48:45 -06:00
Nathan Sobo
6fec11780b 🔫 WorkspaceView shim 2015-09-18 20:48:43 -06:00
Nathan Sobo
ccfa36d1b1 Preserve all event properties when dispatching commands
Fixes https://github.com/atom/vim-mode/issues/863
Fixes https://github.com/atom/atom/issues/8845

---

Re-applying this commit because it was accidentally merged from stable to
beta and master with `--strategy ours` (discarding the changes) instead of
`-X ours` (discarding conflicting changes).

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-09-18 15:53:44 -07:00
Nathan Sobo
cc27ca411b Preserve all event properties when dispatching commands
Fixes https://github.com/atom/vim-mode/issues/863
Fixes https://github.com/atom/atom/issues/8845

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-09-18 10:48:30 -06:00
Antonio Scandurra
7b95b9923a Start integrating the yardstick 2015-09-18 16:05:14 +02:00
Antonio Scandurra
7fafdbb6ab Implement ::getStateForMeasurements(screenRows) 2015-09-18 14:00:04 +02:00
Antonio Scandurra
be94b4da07 Use arrays instead of while loops 2015-09-18 12:42:37 +02:00
Antonio Scandurra
03507f7be3 Revert previous commit 2015-09-18 12:25:01 +02:00
Antonio Scandurra
b773b60c7b 🐛 Avoid creating a useless extra tile 2015-09-18 12:03:00 +02:00
Antonio Scandurra
96de78f264 🔥 Avoid computing top for line and line numbers 2015-09-18 11:36:18 +02:00
Antonio Scandurra
63db59e9ab Start refactoring the presenter to accommodate LinesYardstick 2015-09-18 11:31:35 +02:00
Antonio Scandurra
96d4bdb173 Revert changes to the presenter and the component 2015-09-18 10:35:29 +02:00
Antonio Scandurra
bf7d7e0d2a Improve LinesYardstick design
We have shifted the responsibility of orchestrating state updates and
measurements to the yardstick. The presenter still needs to be updated to make
use of these new capabilities.
2015-09-18 10:17:55 +02:00
Antonio Scandurra
5a2e4ba2aa Merge branch 'master' into as-double-reflow-measurements
# Conflicts:
#	src/text-editor-presenter.coffee
2015-09-18 09:02:50 +02:00
Nathan Sobo
6b66bf7b0a Fix use of _atomModuleCache in getNativeModuleDependencyPaths
Previously, we weren’t converting the relative path from the module
cache and the test wasn’t strong enough to detect this fact.
2015-09-17 17:21:52 -06:00
Nathan Sobo
0717c1d377 Merge PR #8826 into stable 2015-09-17 16:29:03 -06:00
Ivan Zuzak
7e1a295f07 Add method for cutting text to the end of the buffer line 2015-09-17 19:34:53 +02:00
Chen Shen
20dcdf77a4 update 2015-09-17 09:52:00 -07:00
Chen Shen
7ea141b376 add 2015-09-17 09:09:57 -07:00
Antonio Scandurra
63a282750a 📝 Fix typo 2015-09-17 17:17:14 +02:00
Antonio Scandurra
3575928cce Move continuous reflow setting into TextEditorElement 2015-09-17 17:14:00 +02:00
Antonio Scandurra
91bb8f518d Merge branch 'master' into as-continuous-reflow 2015-09-17 16:58:37 +02:00
Antonio Scandurra
8a0d029ad1 🎨 Rename to ::onWillNeedMeasurements 2015-09-17 16:34:57 +02:00
Antonio Scandurra
2ad336c649 💚 2015-09-17 16:26:55 +02:00
Antonio Scandurra
be843cc4df 🐎 Cache positions 2015-09-17 14:22:27 +02:00
Antonio Scandurra
65167727e7 Merge branch 'master' into as-double-reflow-measurements 2015-09-17 12:41:54 +02:00
Antonio Scandurra
fd1c20ed2a Explicit returns on DOMElementPool 2015-09-17 12:16:24 +02:00
Antonio Scandurra
80d872c4ac Avoid calling getBoundingClientRect twice for each line 2015-09-17 11:51:03 +02:00
Antonio Scandurra
d78c166d6b Merge branch 'master' into as-double-reflow-measurements 2015-09-17 11:32:26 +02:00
Antonio Scandurra
3fe34ed748 Merge pull request #8783 from atom/as-recycle-nodes
Recycle DOM nodes
2015-09-17 11:17:01 +02:00
Antonio Scandurra
42e58f1dd3 💚 Use tokenizedLine.id to refer to lines 2015-09-17 11:10:32 +02:00