Commit Graph

30139 Commits

Author SHA1 Message Date
Antonio Scandurra
e4274e57ed Include Atom version in deprecation message 2016-10-07 16:10:06 +02:00
Antonio Scandurra
d48c1e96d0 Tweak wording in TextEditorElement spec 2016-10-07 15:42:21 +02:00
Antonio Scandurra
901b0b17a3 Fix failing tests 2016-10-07 13:41:00 +02:00
Antonio Scandurra
07d56b23f0 Cache style sheet deprecated selectors transformations in StyleManager 2016-10-07 10:40:41 +02:00
Antonio Scandurra
4db895c731 Transform also more complex atom-text-editor selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
1091b0eb60 Fix decorations flashing more than once
When, after flashing a decoration, the decorated range moved, Atom was
showing an additional flash, even if the previous one had already been
consumed. This bug originated in `HighlightsComponent`, where we
maintained state about a certain highlight's flash count. The problem
with this approach, however, is that highlight objects in the component
are very volatile, and we could even have more than one for a single
decoration (i.e. when such decoration spans multiple tiles).

To fix this, we'll now maintain some additional state in
`TextEditorPresenter`, which will set a `needsFlash` attribute on the
highlight state objects, thereby preventing `HighlightsComponent` from
showing the flash animation more than once when the decorated range
changes.
2016-10-07 10:40:41 +02:00
Antonio Scandurra
51e186b656 Delete leftover ::shadow pseudo-selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
abef1f25f9 Exclude folded from deprecated syntax selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
91df848b8a Keep a backward compatible DOM structure for atom-text-editor contents 2016-10-07 10:40:41 +02:00
Antonio Scandurra
e94ea55d90 🎨 2016-10-07 10:40:41 +02:00
Antonio Scandurra
ae942b87ba Put back missing comment that was accidentally deleted with decaf 2016-10-07 10:40:41 +02:00
Antonio Scandurra
9c5bddaa69 Reimplement block decorations without the shadow DOM 2016-10-07 10:40:41 +02:00
Antonio Scandurra
35e45ef472 Improve selector deprecation message
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-10-07 10:40:41 +02:00
Antonio Scandurra
3147a2ce3d Fix wrong variable name causing style.width to be constantly re-assigned 2016-10-07 10:40:41 +02:00
Antonio Scandurra
8280fa9540 Rewrite LinesTileComponent in JavaScript 2016-10-07 10:40:41 +02:00
Antonio Scandurra
0f6e018804 Throw an error if there is any deprecation in a spec
Previously this logic lived in atom-reporter, but it seems more
reasonable to throw errors in spec-helper instead, so that the test
suite fails in CI as well whenever a deprecated method or stylesheet is
used.
2016-10-07 10:40:41 +02:00
Antonio Scandurra
f8a89ed99a Add backward compatible classes to TextEditorComponent's root node 2016-10-07 10:40:41 +02:00
Antonio Scandurra
895dbdfce2 Add StyleManager.prototype.{onDidUpdateDeprecations,getDeprecations} 2016-10-07 10:40:41 +02:00
Antonio Scandurra
80fc448b8d Transform deprecated shadow DOM selectors in StyleManager 2016-10-07 10:40:41 +02:00
Antonio Scandurra
92a3c2f4b2 Use a more accurate list for deprecated-syntax-selectors.js 2016-10-07 10:40:41 +02:00
Antonio Scandurra
7174b54139 Convert style-manager-spec to JavaScript 2016-10-07 10:40:41 +02:00
Antonio Scandurra
712e91b03c Convert StyleManager to JavaScript 2016-10-07 10:40:41 +02:00
Antonio Scandurra
ad39693719 🎨 2016-10-07 10:40:41 +02:00
Antonio Scandurra
93512ba174 Add deprecated syntax selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
2d553fae12 Return scopes prepended with --syntax from TokenizedBufferIterator 2016-10-07 10:40:41 +02:00
Antonio Scandurra
853130f581 Rewrite TokenizedBufferIterator in js 2016-10-07 10:40:41 +02:00
Antonio Scandurra
b71b412ede Transform deprecated shadow DOM selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
56a6510b25 Start on removing shadow DOM 2016-10-07 10:40:41 +02:00
Ian Olsen
b84a30069f ⬆️ whitespace@0.35.0 2016-10-06 17:05:12 -07:00
Ian Olsen
7a2b3b617f ⬆️ whitespace@0.34.0 2016-10-06 16:53:26 -07:00
Wliu
5cde93b6d3 ⬆️ tree-view@0.210.0 2016-10-06 19:10:27 -04:00
Wliu
7d283d0a00 ⬆️ markdown-preview@0.158.8 2016-10-06 18:24:30 -04:00
Max Brunsfeld
99dec68f02 ⬆️ find-and-replace 2016-10-06 12:31:19 -07:00
Damien Guard
d0d3bdb999 Merge pull request #12892 from atom/dg-emacs-defaults-off-on-win-linux
Move emacs editor bindings to Darwin to avoid Windows menu conflicts
2016-10-06 10:07:35 -07:00
Nathan Sobo
31678d7ad0 ⬆️ atom-keymap 2016-10-06 10:59:53 -06:00
Nathan Sobo
d8ad404b0e ⬆️ tabs 2016-10-06 10:35:57 -06:00
Wliu
5a8306352c Use svgs instead of pngs 2016-10-06 10:41:30 -04:00
Antonio Scandurra
62f740901d ⬆️ autocomplete-plus 2016-10-06 12:42:04 +02:00
simurai
ed0131c055 ⬆️ solarized-dark/light-syntax@v1.0.5 2016-10-06 15:57:18 +09:00
Damien Guard
bb3320e553 Move emacs alt-*/editor bindings to darwin to avoid menu conflicts on Win/Linux. Addresses some of #4057 2016-10-05 17:38:49 -07:00
Max Brunsfeld
26abbbd7cb Merge pull request #12883 from atom/mb-fix-maintain-grammar-return-value
Always return Disposable from maintain{Config,Grammar}
2016-10-05 12:49:02 -07:00
Max Brunsfeld
e6cac10a23 Always return Disposable from maintain{Config,Grammar} 2016-10-05 12:03:53 -07:00
Damien Guard
2486a122ac Fix fixture that gets modified as part of a test. 2016-10-04 17:01:56 -07:00
Damien Guard
1a97f97a54 Specs runner dev tools should also be ctrl-shift-i on Linux/Windows 2016-10-04 15:26:24 -07:00
Wliu
6064602c80 Merge pull request #12866 from mikezawitkowski/patch-1
Fix a typo and grammar error in CONTRIBUTING.md
2016-10-04 10:58:40 -04:00
Mike Zawitkowski
b5bec98ed3 Fix a typo and grammar error in CONTRIBUTING.md
[ci skip]
2016-10-04 01:26:26 -07:00
Damien Guard
745ab52df7 Rebind dev-tools to ctrl-shift-i on Windows as new keymap takes ctrl-alt-* 2016-10-03 16:00:39 -07:00
Lee Dohm
990c1030fb ⬆️ devtron@1.3.0 2016-10-03 13:23:14 -07:00
Max Brunsfeld
f58d70a8fd Merge pull request #12713 from Ingramz/copy-src
Use inline source maps when transpiling coffee-script
2016-10-01 14:52:43 -07:00
Wliu
1e78cf9a20 ⬆️ autocomplete-css@0.13.1 2016-09-30 23:37:06 -04:00