Commit Graph

33889 Commits

Author SHA1 Message Date
Antonio Scandurra
32f03c8a22 Delete unused code 2017-05-11 11:07:21 +02:00
Antonio Scandurra
39a5705e39 Re-enable a test that was previously failing 2017-05-11 11:06:35 +02:00
Antonio Scandurra
f3a96c968d Change editor.bufferRowsForScreenRows to include the supplied endScreenRow 2017-05-11 11:00:51 +02:00
Antonio Scandurra
a0ed201fe8 Fix blurring the editor when no hidden input is present 2017-05-11 10:52:56 +02:00
Antonio Scandurra
dc6653ffa6 Avoid creating a new timeout every time cursor blinking is paused 2017-05-11 10:39:52 +02:00
Michelle Tilley
b951e06623 Merge pull request #14372 from atom/zhu-li-do-the-thing
🎉
2017-05-11 10:03:29 +02:00
Michelle Tilley
eba6d07ff3 Re-add 'use strict' 2017-05-11 00:21:54 +02:00
Michelle Tilley
fb9fd2fbfc ⬆️ welcome@0.36.3 2017-05-10 23:27:57 +02:00
Michelle Tilley
befb725f9f Revert "Cat debug log at end of tests"
This reverts commit 351efe09b3.
2017-05-10 23:25:33 +02:00
Michelle Tilley
6b51d09459 ⬆️ github@0.0.6 2017-05-10 23:25:12 +02:00
Nathan Sobo
048a548462 Fix specs 2017-05-10 14:18:15 -06:00
Nathan Sobo
66609a1414 Act on active center items only when saving and closing
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2017-05-10 13:21:50 -06:00
Michelle Tilley
8a252dc903 Merge remote-tracking branch 'origin/master' into zhu-li-do-the-thing 2017-05-10 19:58:54 +02:00
Nathan Sobo
b478f192e1 Merge pull request #14386 from atom/ns-downgrade-text-buffer
Downgrade text-buffer to see if it helps our integration tests on CI
2017-05-10 11:51:14 -06:00
Nathan Sobo
ea8524ec1b Revert "⬆️ text-buffer"
This reverts commit 5d57ecb8ce.
2017-05-10 11:37:12 -06:00
Antonio Scandurra
3c87b7499e Optimize isFoldable
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-10 18:48:18 +02:00
Michelle Tilley
351efe09b3 Cat debug log at end of tests 2017-05-10 18:21:34 +02:00
Antonio Scandurra
58a9682a0d ⬆️ text-buffer 2017-05-10 17:54:58 +02:00
Antonio Scandurra
e89552ea75 Ignore mismatched tags between lines in TokenizedBufferIterator
Previously the DisplayLayer would have issues when closing tags that had
not been previously opened, requiring us to guard against mismatched
scopes at the frontier of asynchronous tokenization (see 5cfe9716 for
more information).

Now the DisplayLayer gracefully handles closing tags that had not been
opened, meaning we can eliminate this costly logic.

Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-10 17:54:14 +02:00
Michelle Tilley
30ee14bd13 Revert "Don't run GitHub operations inline during script/test"
This reverts commit 7ccf465370.
2017-05-10 17:17:06 +02:00
Antonio Scandurra
c12882a371 ⬆️ etch 2017-05-10 16:25:53 +02:00
Antonio Scandurra
42b397e3b9 ⬆️ line-top-index 2017-05-10 16:24:55 +02:00
Michelle Tilley
7ccf465370 Don't run GitHub operations inline during script/test 2017-05-10 15:36:24 +02:00
Michelle Tilley
fa19e4c65e ⬆️ github@0.0.5 2017-05-10 15:35:47 +02:00
Antonio Scandurra
955cf98feb Use bufferRowsForScreenRows to compute line numbers 2017-05-10 13:45:19 +02:00
Michelle Tilley
f6945792cd Install devDeps inside root package folder during tests
Clean them up when we're done
2017-05-10 12:55:55 +02:00
Michelle Tilley
8d4376757a Allow ATOM_PACKAGES_TO_TEST env var to set which packages to run tests for 2017-05-10 12:55:10 +02:00
Antonio Scandurra
ab20fc3b19 Don't populate more screen rows than necessary
See 4eecf8d1a6.
2017-05-10 10:48:16 +02:00
Antonio Scandurra
ebf2aaa688 Avoid deopt when calling TokenizedLine.prototype.getTokenIterator 2017-05-10 10:44:19 +02:00
Michelle Tilley
1b165804c3 Run tests in the root node_modules package folder 2017-05-10 07:46:31 +02:00
Michelle Tilley
ae6101c2d5 Only install apm deps for packages with atomTestRunner defined 2017-05-10 07:09:04 +02:00
Michelle Tilley
1ec72d0362 Handle more htmlparser2 snapshot exceptions 2017-05-10 06:33:33 +02:00
Michelle Tilley
1c040d6593 ⬆️ github@0.0.4 2017-05-10 06:33:16 +02:00
Nathan Sobo
4eecf8d1a6 Don't change number of tiles based on block decorations
This means we may render more tiles than necessary when we have block
decorations, but it prevents changing the number of rendered tiles
during scrolling with certain combinations of line height and editor
height. If it ever becomes a problem we can get smarter about
subtracting the height of the visible block decorations from the editor
height, but for now this gives us more reliable performance for the
common case.
2017-05-09 15:09:14 -06:00
Antonio Scandurra
f2aba0afc2 ⬆️ etch 2017-05-09 19:37:26 +02:00
Lee Dohm
eea0367505 Merge pull request #14382 from atom/probot-stale
Add configuration for probot-stale
2017-05-09 10:26:24 -07:00
Lee Dohm
36a25bfc53 Add regression label to list of exemptions 2017-05-09 10:17:49 -07:00
Lee Dohm
afd74be736 Add configuration for probot-stale 2017-05-09 10:10:24 -07:00
Antonio Scandurra
f58fd749aa Dispose nodes associated with a LineComponent when replacing it 2017-05-09 18:30:44 +02:00
Antonio Scandurra
ca3395b1b2 Null out component when editor is destroyed to minimize leaks
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-09 18:24:24 +02:00
Antonio Scandurra
be2aaa0b22 Use explicit state to recycle tiles instead of modulo scheme
This avoids updating tiles unnecessarily when changing the number of
rendered tiles.

Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-09 17:46:29 +02:00
Antonio Scandurra
7f3794b12e Don't populate more screen rows than necessary
See 1c8847cb4f
2017-05-09 16:08:48 +02:00
Michelle Tilley
4cbff30446 Fix missing import in script/bootstrap 2017-05-09 15:25:53 +02:00
Michelle Tilley
b74cb80f19 Ensure script/tests runs package tests with devDeps installed 2017-05-09 15:21:26 +02:00
Antonio Scandurra
5be2db645a Delete more dead code 2017-05-09 08:57:34 +02:00
Max Brunsfeld
1c8847cb4f 🐎 Ensure rendered tile count is stable when scrolling
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-08 15:50:16 -07:00
Nathan Sobo
5d57ecb8ce ⬆️ text-buffer 2017-05-08 16:05:17 -06:00
Nathan Sobo
681a1cb015 ⬆️ text-buffer 2017-05-08 16:03:46 -06:00
Nathan Sobo
f76e850aa5 Fix rendering artifacts when resizing with soft wraps
Previously, we were accidentally depending on the state of the display
layer when forcing it to update its index. This caused us to not index
enough content to cover the visibile area, which meant we weren't
querying enough lines to fill the screen in some situations.
2017-05-08 10:58:33 -06:00
Bryant Ung
f464bb3579 Merge pull request #13947 from anatoli26/master
Make an option to always restore the last session
2017-05-08 09:33:23 -07:00