Commit Graph

33007 Commits

Author SHA1 Message Date
Antonio Scandurra
7bd2c670e1 Merge pull request #15546 from atom/as-never-autoscroll-when-clicking-on-content
Don't autoscroll when using the mouse to add, delete or move selections
2017-09-06 02:12:15 -07:00
Antonio Scandurra
9bbd71219d Merge pull request #15550 from atom/as-fix-rendering-out-of-range-decorations
Don't render block decorations located outside the visible range
2017-09-06 02:11:16 -07:00
Joe Fitzgerald
e6e28c19c3 ⬆️ spell-check 0.72.2 2017-09-05 14:51:42 -06:00
Linus Eriksson
409fc1a4b8 ⬆️ command-palette@0.41.1 2017-09-05 21:56:10 +02:00
Wliu
8442e9e73f Fix those specs 2017-09-05 20:36:24 +02:00
Antonio Scandurra
5958ab8d5f 1.21.0-dev
We are undoing the rolling of the railcars because we would like to
release a hotfix on beta.
2017-09-05 19:49:31 +02:00
Wliu
1226b204e5 Merge pull request #15551 from atom/wl-update-language-coffee-script
Update language-coffee-script to v0.49.0
2017-09-05 19:30:00 +02:00
Wliu
968c0ede26 Try again 2017-09-05 18:46:02 +02:00
Wliu
62875aefcf ⬆️ language-html@0.47.5 2017-09-05 18:17:50 +02:00
Damien Guard
38d9c07284 Add test coverage for package-manager initialize paths 2017-09-05 09:12:26 -07:00
Antonio Scandurra
20ea98ad41 Don't render block decorations located outside the visible range
Previously, when trying to use block decorations on non-empty markers,
Atom could sometimes throw an error if such markers ended or started at
a position that was not currently rendered.

In fact, even if we already restricted the decoration query to markers
that intersected the visible row range, markers that were only partially
visible would still be considered for rendering. If, depending on the
`reversed` property, we decided to render the tail or head of the marker
in question and this was outside the viewport, Atom would throw the
aforementioned exception.

This commit addresses the above issue by explicitly ignoring block
decorations that are located on rows that are not yet rendered.
2017-09-05 18:05:35 +02:00
Damien Guard
e4e758110a Load non-dev packages in dev mode too, found by @as-cii 2017-09-05 08:44:09 -07:00
Antonio Scandurra
91bb1e12c7 Don't autoscroll when using the mouse to add, delete or move selections 2017-09-05 15:26:54 +02:00
Wliu
700fdc5922 ⬆️ language-coffee-script@0.49.0 2017-09-05 00:18:40 +02:00
Wliu
0d9dc47ef9 ⬇️ language-coffee-script@0.48.9 2017-09-04 18:23:46 +02:00
Wliu
cb433acefc ⬆️ language-coffee-script@0.49.0 2017-09-04 17:38:52 +02:00
Antonio Scandurra
acdf3b20bd Merge pull request #15528 from atom/as-fix-remeasuring-invalid-block-decorations
Don't remeasure invalid block decorations
2017-09-02 11:41:58 +02:00
Antonio Scandurra
6e919e7acd Don't remeasure invalid block decorations
This fixes an uncaught exception that was being thrown after
invalidating a marker and resizing the editor.
2017-09-02 11:11:27 +02:00
Damien Guard
f3161b06f7 Merge pull request #15522 from atom/dg-async-package-deactivation
Convert package-manager from Coffeescript to JavaScript
2017-09-01 12:34:20 -07:00
Damien Guard
e0606d5e2f 🎨 2017-09-01 10:04:13 -07:00
Damien Guard
c7e56d6366 Avoid ES6 because we run use this code in apm from node 2017-09-01 08:47:24 -07:00
Nathan Sobo
34b230b1cd ⬆️ command-palette 2017-09-01 08:35:51 -06:00
Damien Guard
098231caf9 Convert package-manager from Coffeescript to JavaScript 2017-08-31 19:34:16 -07:00
Bryant Ung
96b3af143d Merge pull request #15163 from atom/fb-wb-modal-focus
Automatically manage focus for modal panels
2017-08-31 17:09:02 -07:00
Ash Wilson
2a37d1e1c9 ⬆️ spell-check 2017-08-31 15:12:20 -04:00
Max Brunsfeld
b69636b8f2 ⬆️ text-buffer 2017-08-31 09:54:52 -07:00
Antonio Scandurra
6f7814a0c5 Merge pull request #15515 from atom/as-dont-move-cursor-when-clicking-on-scrollbar
Don't move the cursor when clicking on a scrollbar
2017-08-31 14:29:25 +02:00
Antonio Scandurra
53135c5d0d Call this.didMouseDown instead of props.didMouseDown in dummy scrollbars 2017-08-31 14:23:11 +02:00
Antonio Scandurra
5c54825f2d ⬆️ tabs 2017-08-31 11:30:26 +02:00
Antonio Scandurra
3e10a84d49 Merge pull request #15506 from atom/as-honor-scrollbar-visible-only-when-scrolling
Honor macOS "Show scrollbars only when scrolling" setting
2017-08-31 11:29:26 +02:00
Antonio Scandurra
f85deec482 Merge pull request #15503 from atom/as-fix-invalidated-block-decoration-markers
Fix rendering of block decorations for invalid markers
2017-08-31 11:29:14 +02:00
Antonio Scandurra
12e6740c9c Merge pull request #15487 from atom/as-scroll-sensitivity
Always honor scroll intent on mousewheel
2017-08-31 11:28:16 +02:00
Antonio Scandurra
ac9cc72845 Merge pull request #15486 from atom/as-highlights-outside-of-tiles
Move highlight decorations outside of tiles
2017-08-31 11:26:15 +02:00
ungb
7111dd3f87 Fix Build error 2017-08-30 17:48:13 -07:00
Bryant Ung
3bf8344519 Merge branch 'master' into fb-wb-modal-focus 2017-08-30 17:06:29 -07:00
Bryant Ung
9c3de72fcf Merge pull request #15380 from marceloatie/patch-1
Update README.md
2017-08-30 10:18:57 -07:00
Antonio Scandurra
50088b16c9 Honor macOS "Show scrollbars only when scrolling" setting
Previously, we were hiding scrollbars when their height/width was 0. On
macOS, however, users can decide to only show scrollbars while
scrolling, which causes Atom to detect scrollbars as being invisible
during measurements. As a result, we were mistakenly setting the
visibility property to `hidden` when this setting was on, thus
preventing users from seeing the scrollbar on scroll.

With this commit we are changing the dummy scrollbar components to only
become invisible when the content is not scrollable rather than when the
scrollbars have zero width or height.

As part of this, we have also renamed the
`is{Horizontal,Vertical}ScrollbarVisible` functions to
`canScroll{Horizontally,Vertically}`, to better express their intent.
2017-08-30 17:11:40 +02:00
Antonio Scandurra
af42b4b86f Move DummyScrollbarComponent into its own GPU layer
This was fixed back in bac9922 and, due to the same reasons, not having
a separate layer causes the "Show scrollbars only when scrolling"
setting on macOS to not work properly.
2017-08-30 16:11:21 +02:00
Nathan Sobo
4ce9e1ca11 ⬆️ find-and-replace 2017-08-30 07:23:36 -06:00
Antonio Scandurra
9bf47f31cb Fix rendering of block decorations for invalid markers
Previously, when a marker became invalid we would delete the
corresponding block decoration from the DOM, without however removing it
from the `lineTopIndex`. Also, we had a similar issue when decorating a
marker that was already invalid: we would account for it in the index
without adding it to the DOM.

This commit addresses the above problems by ensuring that block
decorations are never added for invalid markers. At the same time, the
editor component will still keep track of changes on the marker that was
decorated, so that it can detect when its validity changes and render it
appropriately.
2017-08-30 14:25:20 +02:00
Antonio Scandurra
d70dcaf819 ⬆️ text-buffer
* Includes https://github.com/atom/text-buffer/pull/249
* Fixes https://github.com/atom/atom/issues/15441
2017-08-30 11:23:19 +02:00
Ian Olsen
bc72dff7e8 Merge pull request #15495 from atom/io-remove-extraneous-files
Remove unnecessary files from installers
2017-08-29 17:37:19 -07:00
Ian Olsen
b18ca74e49 put everything else back 2017-08-29 16:29:45 -07:00
Ian Olsen
09e98fe944 just libs and debugger files 2017-08-29 15:52:11 -07:00
Ian Olsen
9eca8ff4aa even more conservative 2017-08-29 15:30:51 -07:00
Ian Olsen
c7dcbeb0da put libgit2 back 2017-08-29 15:04:58 -07:00
Ian Olsen
c4d4ef0209 next guess 2017-08-29 14:48:51 -07:00
Ian Olsen
a0ebc21893 indentation fix for linter 2017-08-29 14:11:31 -07:00
Ian Olsen
d42326ea09 first guess 2017-08-29 14:00:26 -07:00
Ian Olsen
433bc6d874 baseline from Paul's changes 2017-08-29 13:33:09 -07:00