Commit Graph

6494 Commits

Author SHA1 Message Date
Katrina Uychaco
4c1ebdf1b9 Merge branch 'master' into ku-pending-editor 2016-01-14 17:40:41 -08:00
Katrina Uychaco
44a648a9ea Destroy any existing pending pane item when adding a pending item 2016-01-14 17:21:48 -08:00
Antonio Scandurra
f81843d465 Merge branch 'master' into as-block-decorations 2016-01-14 09:30:06 -07:00
Katrina Uychaco
4fce3668b6 Update specs for pending item behavior 2016-01-13 21:40:32 -08:00
Katrina Uychaco
f3f29c876f Use __dirname in path.resolve for specs 2016-01-13 19:05:38 -08:00
Max Brunsfeld
57aa70cc87 Merge pull request #10395 from atom/mb-disable-babel-logging
Stop babel from logging to stderr during compilation
2016-01-13 09:40:45 -08:00
Antonio Scandurra
e6a1763f8c 💚 Give specs a final touch 2016-01-13 09:45:14 -07:00
Antonio Scandurra
1f0e6a0902 Don't calculate height for following decorations at beginning of tiles 2016-01-13 09:21:31 -07:00
Josh Abernathy
68fb9ab2cf Merge pull request #10361 from atom/mq-disable-package
Only disable a package if it isn't already disabled
2016-01-13 09:49:12 -05:00
Max Brunsfeld
aea9c5804a Improve terminate pending state tests.
Remove argument to remove pending state listeners.
2016-01-12 18:34:32 -08:00
Max Brunsfeld
680e123f88 Prevent babel from logging to stderr 2016-01-12 15:42:44 -08:00
Max Brunsfeld
bc69e1624b Don't rely on compile cache in babel compilation specs 2016-01-12 15:41:26 -08:00
Antonio Scandurra
6e5c3e0212 Insert following block decorations into the DOM 2016-01-12 12:51:29 -07:00
Antonio Scandurra
4499fa8d6f Split following and preceding block decorations
In TextEditorPresenter's state for lines.
2016-01-12 12:04:12 -07:00
Antonio Scandurra
5c5e108d9b Conform to the new LineTopIndex interface 2016-01-12 11:38:48 -07:00
Antonio Scandurra
63220f7ead Add presenter specs for block decorations *after* a row 2016-01-12 10:54:56 -07:00
Max Brunsfeld
b01e97be59 Explicitly guard against decorating destroyed markers
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-01-11 14:01:55 -08:00
Machiste Quintana
088b32f9d5 Unfocus spec 2016-01-11 13:44:27 -05:00
Machiste Quintana
e7f15d06e4 Add failing spec for disabling an already disabled package 2016-01-11 13:44:27 -05:00
Katrina Uychaco
4d0b58ff46 Add spec for serialzing/deserialzing pending state for editor 2016-01-10 13:01:01 -08:00
Katrina Uychaco
364205ca56 Ensure terminate handler is invoked only once 2016-01-09 18:10:28 -08:00
Katrina Uychaco
d0be1965f2 🎨 2016-01-09 17:26:44 -08:00
Katrina Uychaco
2d00163e18 Refactor pending item tests 2016-01-09 17:19:32 -08:00
Katrina Uychaco
43d933eca8 Change order of tests 2016-01-09 17:18:07 -08:00
Nathan Sobo
db74f4a8f0 Merge pull request #10178 from atom/ku-pending-editor
Open file in pending state on single click
2016-01-08 14:45:14 -07:00
Katrina Uychaco
5738b14eda 🎨 2016-01-08 13:39:46 -08:00
Max Brunsfeld
ec66a66bb3 Merge pull request #9990 from scv119/test
Add a core config `core.automaticallyUpdate` to disable Atom autoupdate.
2016-01-07 11:05:43 -08:00
Antonio Scandurra
8603ceb7e8 Make spec more comprehensive 2016-01-06 11:12:21 +01:00
joshaber
d224efb00d Just test the x coordinate, I suppose. 2016-01-05 14:40:09 -05:00
joshaber
740e8c660a Put it with its friends. 2016-01-05 14:08:09 -05:00
joshaber
f64878208f Really don't need this to be its own command. 2016-01-05 14:07:50 -05:00
Katrina Uychaco
67d49955f1 Add tests for pending pane items 2016-01-05 10:38:13 -08:00
joshaber
2a29e7d1f4 Revert "Revert "Integration test for new window offset.""
This reverts commit c8c8bc941e.
2016-01-05 12:48:34 -05:00
Antonio Scandurra
1376afe17e 🎨 2016-01-05 10:57:32 +01:00
Antonio Scandurra
c7a7f0c6dd 🐛 Ignore setting dimensions for destroyed decorations 2016-01-05 10:56:29 +01:00
Antonio Scandurra
0d28018127 🔥 Remove redundant setup in specs 2016-01-05 10:39:01 +01:00
Antonio Scandurra
4f0218c0a2 📝 Fix mistyped spec description 2016-01-05 10:35:33 +01:00
Chen Shen
f774e1ce21 add unittest 2016-01-04 17:41:42 -08:00
Nathan Sobo
6669703677 Force a sync render when measuring if we don’t have a DOM node for a row 2016-01-04 16:40:56 -07:00
Nathan Sobo
9f6fbacddd Don’t clip screen positions in yardstick
By clipping positions only in the TextEditorComponent, we can ensure
that we check for the presence of a rendered line for the clipped row
value.
2016-01-04 16:32:38 -07:00
Katrina Uychaco
def62fc6c7 Fix test: modified buffer terminates pending state 2015-12-24 21:42:00 -08:00
Katrina Uychaco
217e07530f Add test: modified buffer terminates pending state
Test not yet passing. ::insertText is not triggering terminatePendingState. Not sure why...
2015-12-24 18:43:57 -08:00
Katrina Uychaco
fa86d2d156 Add tests for pending status 2015-12-24 17:57:08 -08:00
Antonio Scandurra
e885497ebd Merge branch 'master' into as-block-decorations 2015-12-20 12:15:08 +01:00
Antonio Scandurra
eab70d9a95 Invalidate spliced block decorations' dimensions 2015-12-19 15:38:34 +01:00
Antonio Scandurra
5dfecf39ab Take margin top and margin bottom into account 2015-12-19 13:18:36 +01:00
Antonio Scandurra
dfb095b754 🔥 Remove TextEditor.prototype.addBlockDecorationForScreenRow 2015-12-19 13:00:47 +01:00
Antonio Scandurra
07234c5109 Resize all block decorations when width changes 2015-12-19 12:50:58 +01:00
Antonio Scandurra
5e0863c119 Write specs for moving markers manually 2015-12-19 12:02:49 +01:00
Antonio Scandurra
5fa9d3bc40 Splice LineTopIndex when DisplayBuffer changes
We invalidate whole screen lines accordingly to `DisplayBuffer`, so that we can
catch if there was any screen-only transformation and move block decorations
accordingly.
2015-12-19 11:21:50 +01:00