Antonio Scandurra
90c75fd6da
Delete specs testing previous behavior
...
When emitting the `did-change` event, `updateFoldableStatus` used to extend the
change region up and down to include all the lines that changed their
foldability status because of a buffer change. I assume this was supposed to
invalidate folds that *contained* the change whenever a line was edited in a way
that affected also the previous or subsequent ones.
That information, however, is not being used by `DisplayBuffer`, which does not
alter existing folded regions when they become invalid.
I believe the correct behavior should be to unfold the invalid region and
recompute those screen lines. Nonetheless, it seems reasonable to me to keep the
original (wrong) behavior and not address it in this branch, because it strays
from the original intent of this refactoring.
We should probably fix it once for all in another PR or when
integrating/implementing `DisplayLayer`.
2016-02-17 14:35:22 +01:00
Antonio Scandurra
a613fa5133
Adapt specs to use the new API
2016-02-17 11:17:24 +01:00
Antonio Scandurra
2c71a448b3
Put foldable specs back
2016-02-17 11:04:19 +01:00
Antonio Scandurra
d05dfa6efe
🐎 Update lines state only in pre-measurement phase
2016-02-17 10:34:21 +01:00
Antonio Scandurra
012fa354c4
Add TokenizedBuffer.prototype.foldableRowsForRowRange
2016-02-17 10:34:21 +01:00
Antonio Scandurra
0afa9bb21c
Don't update foldable status, ever
2016-02-17 10:34:21 +01:00
Antonio Scandurra
a87d620db3
Merge pull request #10835 from atom/as-cursors-for-screen-row-range
...
Add TextEditor.prototype.cursorsForScreenRowRange
2016-02-17 10:33:44 +01:00
Max Brunsfeld
41161dd462
Merge pull request #9627 from atom/wl-electron-35
...
Update to Electron 0.36
2016-02-16 14:08:22 -08:00
Max Brunsfeld
4bc969d1df
Merge branch 'master' into wl-electron-35
2016-02-16 13:16:13 -08:00
Katrina Uychaco
cfab689de1
Merge pull request #10605 from atom/ku-crash-recovery
...
(WIP) Periodically save state and store in indexedDB
2016-02-16 11:58:04 -08:00
Katrina Uychaco
c691dd05c5
⬆️ text-buffer
2016-02-16 11:57:35 -08:00
Damien Guard
d68a6e052a
Merge pull request #10818 from damieng/master
...
Register Atom for file associations in Windows
2016-02-16 10:44:58 -08:00
Katrina Uychaco
083f577889
Use more descriptive flag for clearing state - ‘clear-window-state’
2016-02-16 10:28:30 -08:00
Josh Abernathy
e80f544ddf
Merge pull request #10838 from atom/output-for-core-specs
...
Log output for core specs
2016-02-16 11:14:21 -05:00
joshaber
7f239560f8
Depending on the options passed through, we might not have stdout and stderr.
2016-02-16 10:16:39 -05:00
joshaber
a89257d474
Just inherit stdio if we're logging.
2016-02-16 10:16:21 -05:00
joshaber
5d9c5c51d3
We might wanna log the output.
2016-02-16 10:16:10 -05:00
Antonio Scandurra
63270f4174
Add TextEditor.prototype.cursorsForScreenRowRange
...
So that `TextEditorPresenter` can avoid to scan
through all the cursors to understand whether
they're visible on screen. This dramatically
reduces the calls to `getScreenRange` and, thus,
makes `updateCursorsState` faster for multi-cursor
edits.
2016-02-16 14:41:24 +01:00
Katrina Uychaco
702af8cd16
Use pre-released text-buffer version 8.3.1-0
2016-02-15 21:46:25 -08:00
Katrina Uychaco
bf264c6a6a
Merge branch 'master' into ku-crash-recovery
2016-02-15 21:40:59 -08:00
Katrina Uychaco
469dadf6da
Merge branch 'ku-clear-indexedDB' into ku-crash-recovery
2016-02-15 21:31:43 -08:00
Katrina Uychaco
47459948cf
Clear state in indexedDB if ‘clear-state’ command-line flag is passed
2016-02-15 21:28:25 -08:00
Josh Abernathy
73f497afe3
Merge pull request #10827 from atom/subdir-status-fixes
...
Port repository subdirectory status fixes to async repo
2016-02-15 21:43:42 -05:00
joshaber
e86ffa0d27
Merge branch 'master' into subdir-status-fixes
2016-02-15 20:33:09 -05:00
Josh Abernathy
6f7dffb7d7
Merge pull request #10828 from atom/fix-another-text-presenter-race
...
Fix another TextEditorPresenter spec race
2016-02-15 20:32:47 -05:00
joshaber
f0a179fdb5
Add the decoration after subscribing to state updates
...
Same fixe as #10792 .
2016-02-15 17:19:32 -05:00
joshaber
a87aac00e4
Port the fixes too.
2016-02-15 17:04:03 -05:00
joshaber
2e8569d7b3
Port failing tests.
...
Bring the failing tests over from
https://github.com/atom/atom/pull/10758 and
https://github.com/atom/atom/pull/10797 .
2016-02-15 17:03:09 -05:00
Damien Guard
f8ae09b112
Register Atom for file associations in Windows #6177 #4893 #6860
2016-02-14 15:10:07 -08:00
Lee Dohm
97205410d7
Merge pull request #10803 from atom/ld-bug-10783
...
Fix typo in function call
2016-02-12 21:15:06 -08:00
Lee Dohm
57ea5c0fc4
Fix typo in function call
2016-02-12 18:57:38 -08:00
Lee Dohm
0b13cb00e1
📝 Make the atom.workspace.open split documentation match behavior
2016-02-12 18:45:05 -08:00
Lee Dohm
6b24f4bfa7
📝 Fix atom.workspace.open split parameter mismatch
2016-02-12 18:36:12 -08:00
Katrina Uychaco
24dc4c6c73
Add command-line argument to clear state in IndexedDB
2016-02-12 15:18:41 -08:00
Josh Abernathy
9e073d807d
Merge pull request #10792 from atom/fix-test-timeout
...
Fix TextEditorPresenter spec timeout.
2016-02-12 17:24:29 -05:00
Max Brunsfeld
81c15bd8b4
Make --profile-startup flag work w/ async initializion
2016-02-12 14:19:09 -08:00
Katrina Uychaco
427dba57ad
Remove unused StorageFolder::store method (moved state to IndexedDB)
2016-02-12 14:07:21 -08:00
Katrina Uychaco
22c9fe7cb7
🔥 trailing white space
2016-02-12 14:06:06 -08:00
joshaber
cc3f6b888f
Don't need to duplicate this line.
2016-02-12 16:35:16 -05:00
joshaber
82860a12a0
Fix waitsForStateToUpdate proper like.
2016-02-12 16:35:10 -05:00
Max Brunsfeld
0ea06bad31
Merge branch 'master' into wl-electron-35
2016-02-12 12:57:54 -08:00
Max Brunsfeld
7ecdc390f2
⬆️ archive-view
2016-02-12 12:45:28 -08:00
Josh Abernathy
3e5c5e46c2
Merge pull request #10797 from atom/fix-status-with-multiple-paths
...
Fix status with multiple paths
2016-02-12 15:32:34 -05:00
joshaber
9fa766e01a
Don't use synchronous updates anymore.
2016-02-12 15:13:10 -05:00
joshaber
72f3d0b309
Unfocused.
2016-02-12 14:45:26 -05:00
joshaber
0e8161f30e
Always search the repo itself.
2016-02-12 14:45:21 -05:00
joshaber
25e58eb1a2
Stop logging.
2016-02-12 14:45:05 -05:00
joshaber
98a051080b
Failing test.
2016-02-12 14:43:55 -05:00
joshaber
6813bf50a0
Use waitsForStateToUpdateAsync in a bunch of places.
2016-02-12 14:00:47 -05:00
joshaber
272ff19d7b
Decrease the timeout interval.
2016-02-12 13:58:54 -05:00