Commit Graph

32992 Commits

Author SHA1 Message Date
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
Linus Eriksson
e81678ad32 ⬆️ tree-view@0.217.8 2017-08-29 22:11:56 +02:00
Hubot
44e306c325 1.22.0-dev 2017-08-29 14:26:43 -05:00
Lee Dohm
64d9aaa970 🔥 inaccurate comment
Thanks @arcanemagus ... https://github.com/atom/atom/pull/15492#pullrequestreview-59336015
2017-08-29 11:24:26 -07:00
Lee Dohm
3dfd94c061 Merge pull request #15492 from atom/reduce-stale-window
Shrink probot-stale window to one year and close in two weeks
2017-08-29 11:20:32 -07:00
Lee Dohm
a6063b01e3 Shrink stale window to one year and close in two weeks 2017-08-29 11:01:28 -07:00
Max Brunsfeld
bd9570b165 Merge pull request #15446 from atom/mb-remove-runas
Use fs-admin instead of runas
2017-08-29 10:14:42 -07:00
Nathan Sobo
d016b09fb4 Merge pull request #15383 from atom/fb-wb-command-meta
[Commands] Add support for rich listener objects with first-class metadata
2017-08-29 09:54:41 -06:00
Antonio Scandurra
76e2e03139 Always honor scroll intent on mousewheel
This commit introduces a change in the way we respond to mousewheel
events. In particular, if `delta * scrollSensitivity` is less than 1 or
greater than -1, we will round it up or down in an attempt to honor the
user's scroll intent.
2017-08-29 13:39:11 +02:00
Antonio Scandurra
b486e3edda Move highlight decorations outside of tiles
As a consequence of https://github.com/atom/atom/pull/15378, we are now
able to render highlight decorations in a separate div, as opposed to
having an highlight container for each tile.

Code-wise this is much simpler, because highlights spanning multiple
tiles can be represented via a single region and don't need to be split
across the tiles they span anymore. As a byproduct, performance should
improve as well, because the number of nodes that need to be managed
should decrease significantly.

This also fixes https://github.com/atom/atom/issues/15449, and other
similar rendering artifacts, because highlight decoration DOM nodes
won't need to move between tiles anymore when their position changes.
2017-08-29 11:44:07 +02:00
Wliu
90f872ae1c ⬆️ language-yaml@0.30.2 2017-08-28 23:04:21 -04:00
simurai
b7a1443499 Merge pull request #14998 from atom/sm-dock-button-rendering
Fix dock button rendering issue
2017-08-29 10:01:21 +09:00
Will Binns-Smith
b7c328fd59 Clean up docs and comment wording 2017-08-28 14:49:54 -07:00
Wliu
8870cd97ee Merge pull request #15475 from atom/wl-update-autocompletions
Update autocompletions
2017-08-28 17:48:56 -04:00
Wliu
1acdd4acce Merge pull request #15474 from atom/wl-update-languages
Update languages
2017-08-28 17:48:48 -04:00
Wliu
7e622e0898 ⬆️ autocomplete-html@0.8.1 2017-08-28 16:25:33 -04:00