Commit Graph

31553 Commits

Author SHA1 Message Date
Antonio Scandurra
afdd8d2b6d Avoid creating line nodes twice in lines-yardstick-spec.coffee 2016-04-08 17:41:29 +02:00
Lee Dohm
c4f60d0d42 Merge pull request #11403 from atom/wl-fix-contributing-links
Fix dead atom.io/docs links in CONTRIBUTING.md
2016-04-07 19:04:11 -07:00
Wliu
6dd37761fe 📝 Fix dead atom.io/docs links
[ci skip]
2016-04-07 21:35:35 -04:00
Nathan Sobo
822e0c9510 ⬆️ fuzzy-finder 2016-04-07 15:51:38 -06:00
Wliu
5d8cd7bcc8 ⬆️ language-make@0.21.1 2016-04-07 17:38:16 -04:00
Damien Guard
421dbec1ed Git Shell now works fine, avoid paths with spaces 2016-04-07 14:30:33 -07:00
Nathan Sobo
9c601aad6f :arrow-up: status-bar 2016-04-07 14:49:40 -06:00
Josh Abernathy
618bba307c Merge pull request #11397 from atom/fix-reading-cached-status-from-within-callback
Defer the callback to the next tick.
2016-04-07 12:39:49 -04:00
joshaber
991e4e396a Merge branch 'master' into fix-reading-cached-status-from-within-callback 2016-04-07 11:34:12 -04:00
Josh Abernathy
29483a622e Merge pull request #11398 from atom/fix-lint
Fix build lint
2016-04-07 11:33:54 -04:00
joshaber
130c400758 Remove unnecessary fat arrow.
Looks like this was introduced in https://github.com/atom/atom/pull/11369. 
🙈
2016-04-07 11:25:00 -04:00
joshaber
db8e62315c Defer the callback to the next tick.
This gives GitRepository the chance to clear its path cache before the callback 
is invoked. Otherwise reads from the cached status state within the callback 
would be wrong.
2016-04-07 11:19:27 -04:00
Antonio Scandurra
94d6b6531d Merge branch 'master' into ns-use-display-layers 2016-04-07 14:51:16 +02:00
Antonio Scandurra
c3d03f4d57 ⬆️ find-and-replace 2016-04-07 14:50:57 +02:00
Antonio Scandurra
c23ef9a168 Stop using tokenizedLineForScreenRow in random-editor-spec.coffee 2016-04-07 13:54:29 +02:00
Antonio Scandurra
a532000af4 Handle only buffer coordinates in TokenIterator 2016-04-07 13:39:13 +02:00
Antonio Scandurra
b0c485c4ea 🔥 Remove TokenizedLine specs 2016-04-07 11:48:18 +02:00
Antonio Scandurra
00a69ead1d Merge branch 'master' into ns-use-display-layers 2016-04-07 10:58:10 +02:00
Antonio Scandurra
c08a5c3f54 ⬆️ spell-check 2016-04-07 10:57:51 +02:00
Antonio Scandurra
3bff9515f7 ⬆️ find-and-replace 2016-04-07 10:30:01 +02:00
Daniel Hengeveld
b5f0f846a9 ⬆️ exception-reporting@0.38.0 2016-04-07 10:06:13 +02:00
Lee Dohm
ffe33cb379 ⬆️ language-perl@0.34.0 2016-04-06 18:31:13 -07:00
Wliu
a084882cb1 📝 Minor cleanup for the new .tar.gz archive
[ci skip]
2016-04-06 19:23:26 -04:00
Nathan Sobo
917f20d1c4 ⬆️ tree-view 2016-04-06 16:05:43 -06:00
Ian Olsen
04787400dd Merge pull request #9554 from didrocks/linux-tar
Add a linux archive to distribute atom
2016-04-06 13:29:32 -07:00
Antonio Scandurra
e236b8c3be Avoid storing properties in selection markers
Previously we were storing a {type: ‘selection’} property, probably
leftover from the “pre-marker-layer” world. We were also storing
`Selection`’s `goalScreenRange` on the marker, which is now just an 
instance variable.
2016-04-06 20:00:08 +02:00
Antonio Scandurra
c2396396a5 📝 Update documentation for mark*Position 2016-04-06 19:20:05 +02:00
Antonio Scandurra
4f28f9f3f8 🔥 Remove defensive assertion
We're not throwing this exception anywhere else, so we might as well delete it 
from here.

/cc: @nathansobo
2016-04-06 15:48:44 +02:00
Antonio Scandurra
ffd3b1829d Provide deprecation warnings for clipScreenPosition parameters
Based on a cursory search, there’s only one package using that API. Even though 
we could submit a PR, we’re introducing deprecations to ensure we're not missing 
any other package.
2016-04-06 15:42:53 +02:00
Antonio Scandurra
25b71b804d Un-document passing clip options to setCursorBufferPosition
…the marker’s screen position will be clipped automatically when
translating coordinates.
2016-04-06 14:44:26 +02:00
Antonio Scandurra
3ec1027d5c Remove clipDirection parameter in a call to cursor.setBufferPosition
We aren’t clipping in that code path, so we might as well avoid to pass
the parameter.
2016-04-06 14:38:53 +02:00
Antonio Scandurra
00f03fd614 📝 Document {clipDirection: 'closest'} 2016-04-06 14:21:06 +02:00
Antonio Scandurra
66b9383c4e Use clipDirection instead of the clip option 2016-04-06 14:20:27 +02:00
Lee Dohm
50c1bd34ca ⬆️ tabs@0.92.1 2016-04-05 19:00:34 -07:00
Nathan Sobo
af28fa0752 When copying, create selections marker layer on the *new* display layer
Previously, we were copying the selections marker layer into the current
editor’s display layer. This would work fine until the spatial mapping
drifted in the copied editor, and would then have counterintuitive
results.
2016-04-05 18:47:11 -06:00
Nathan Sobo
b922262871 Avoid internal deprecation warning on getHeight 2016-04-05 17:18:24 -06:00
Nathan Sobo
85ab86df10 Merge branch 'master' into ns-use-display-layers 2016-04-05 16:40:41 -06:00
Nathan Sobo
26ddee4a05 ⬆️ autocomplete-plus 2016-04-05 16:40:15 -06:00
Nathan Sobo
b3ea0a6494 ⬆️ bookmarks 2016-04-05 16:40:06 -06:00
Nathan Sobo
a790ae2158 Avoid deprecation warnings for methods that are now on TextEditor 2016-04-05 12:12:14 -06:00
Nathan Sobo
117a3fb1b5 Provide deprecated TextEditor.prototype.displayBuffer shim
Even though it was a private field, we used it in some of our packages
and it is widespread enough to warrant some effort to smooth the
transition.

Also, we added a couple methods that were formerly implemented on
DisplayBuffer to TextEditor itself because they were used in packages.
2016-04-05 12:11:55 -06:00
Antonio Scandurra
ebd9e71b0b Make serialization format backwards/forwards compatible
Also, introduce a serialization version so we can drop the compatibility
fallbacks in the future.
2016-04-05 11:27:15 -06:00
Antonio Scandurra
bef7539e34 Refactor DisplayBuffer to DecorationManager
This commit moves all the remaining concerns not related to decorations
out of `DisplayBuffer` and into `TextEditor`. This means the
`DisplayBuffer` is now free to be renamed to `DecorationManager`.
2016-04-05 18:43:08 +02:00
Nathan Sobo
2dea35e6fb Merge pull request #11369 from hellendag/text-input
🐎 Avoid setting hidden input value on textInput
2016-04-05 09:34:55 -06:00
Didier Roche
d50da12bca Add Linux archive installation and build instructions 2016-04-05 16:34:57 +02:00
Didier Roche
6a17b2dee8 Add the newly created archive to the publish-build task
This archive is created on an Ubuntu 64 bits machine, publish it if present
in the assets. The version contains the channel name, so don't append
channel name to it.
2016-04-05 16:34:52 +02:00
Didier Roche
4a51841159 Add the mktar task to linux CI 2016-04-05 16:33:51 +02:00
Didier Roche
47d374a09a 🐧 Add "mktar" gulp task to create an Linux binary archive
This archive in tar.gz format contains the whole Atom binary and resources
to enable multiple channels and versions to be installed on the same
distribution.
2016-04-05 16:33:47 +02:00
Antonio Scandurra
0cf0d6f587 🔥 Remove unused code
Now that `DisplayLayer` was fully implemented, we can start deleting those 
codepaths in `DisplayBuffer` that are now covered by this new abstraction.
2016-04-05 15:38:52 +02:00
Antonio Scandurra
712b1f1f88 Fix LanguageMode specs
Also, avoid creating folds twice for the same position when calling
`foldAll`.
2016-04-05 14:19:59 +02:00