Commit Graph

31676 Commits

Author SHA1 Message Date
Nathan Sobo
bbbb629f70 Eliminate polling of overlay decoration dimensions
And remove pollDOM method entirely.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Nathan Sobo
549bce5637 Replace sampleBackgroundColors with background-color: inherit in CSS
Previously, the shadow boundary made this impossible, but the new CSS is
way simpler than the JS we’re replacing and removes another dependency
on DOM polling.
2017-05-03 14:21:24 +02:00
Nathan Sobo
8bb3ec1563 Synchronously sample font styling when global editor stylesheet changes
And don’t sample font styling in pollDOM, which we are aiming to
eliminate.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Nathan Sobo
0560ce7f18 Use window resize events to trigger measureWindowSize
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Nathan Sobo
0d8101b6c3 Synchronously call becameVisible if editor is visible when attached
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Nathan Sobo
cc4c437f3d Ensure 0-height editors are correctly detected as visible
This is unlikely but it’s easy enough to support

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Nathan Sobo
25db2bad04 Null guard destruction of intersection observer 2017-05-03 14:21:24 +02:00
Nathan Sobo
39ac7d99b9 Detect text editor resize via scroll event hack
This avoids needing to poll to detect resizes.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Nathan Sobo
1d8b9b84d1 Use IntersectionObserver to detect when editor becomes visible
This is an alternative to relying on pollDOM to detect when the editor
becomes visible. Our goal is to remove pollDOM in the next few commits.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2017-05-03 14:21:24 +02:00
Thomas Johansen
27db3bafda ⬆️ electron@1.4.15 2017-05-03 14:21:24 +02:00
Thomas Johansen
797abf96bd ⬆️ electron@1.4.14 2017-05-03 14:21:24 +02:00
Thomas Johansen
f6e5a46a85 ⬆️ electron@1.4.13 2017-05-03 14:21:24 +02:00
Thomas Johansen
e63b17a9fe ⬆️ electron-chromedriver 2017-05-03 14:21:24 +02:00
Thomas Johansen
575dc7e5b7 ⬆️ electron@1.4.12 2017-05-03 14:21:23 +02:00
Wliu
d5c13d15bf setZoomLevelLimits -> setVisualZoomLevelLimits 2017-05-03 14:21:23 +02:00
Wliu
dfa3ab1c6e process.versions.atom-shell -> process.versions.electron 2017-05-03 14:21:23 +02:00
Wliu
38c0f7b036 autoSubmit -> uploadToServer 2017-05-03 14:21:23 +02:00
Thomas Johansen
d23dff2a3c ⬆️ electron@1.4.11 2017-05-03 14:21:23 +02:00
Thomas Johansen
305fb2eac5 ⬆️ electron@1.4.10 2017-05-03 14:21:23 +02:00
Thomas Johansen
d446fb4130 ⬆️ electron@1.4.7 2017-05-03 14:21:23 +02:00
Wliu
c005f7564a Remove unneeded backgroundColor 2017-05-03 14:21:23 +02:00
Thomas Johansen
9bc214aa09 ⬆️ electron@1.4.6 2017-05-03 14:21:23 +02:00
Thomas Johansen
fc4178f460 ⬆️ electron@1.4.5 2017-05-03 14:21:23 +02:00
Thomas Johansen
ac088425a9 ⬆️ electron@1.4.4 2017-05-03 14:21:23 +02:00
Thomas Johansen
56e84e99a6 ⬆️ electron@1.4.3 2017-05-03 14:21:23 +02:00
Thomas Johansen
4391c4fec4 ⬆️ electron@1.4.2 2017-05-03 14:21:23 +02:00
Thomas Johansen
af3cb247c4 ⬆️ electron@1.4.1 2017-05-03 14:21:23 +02:00
Thomas Johansen
ceb05f03e2 💚 Make the "invalid" Babel fixture throw
Due to the V8 upgrade we need to tune the fixture to make it throw.
Using a generator function does the trick 
2017-05-03 14:21:23 +02:00
Thomas Johansen
35cfa4e2e0 ⬆️ electron@1.4.0 2017-05-03 14:21:23 +02:00
Damien Guard
d955f24b4a ⬆️ metrics 2017-05-02 17:02:06 -07:00
Ash Wilson
6e2dcff6a9 Merge pull request #14250 from smashwilson/aw-branch-builds
Only trigger branch builds on master and release branches
2017-05-02 16:14:49 -04:00
Antonio Scandurra
966af9c18b ⬆️ fuzzy-finder 2017-05-02 11:37:58 +02:00
Antonio Scandurra
07af99684e ⬆️ text-buffer 2017-05-01 11:22:43 +02:00
Michelle Tilley
107e830508 Merge pull request #14309 from atom/mkt-allow-tooltips-to-recalculate-their-positions
Recalculate Tooltip positions when their contents change
2017-04-30 08:38:58 -07:00
Michelle Tilley
211b486a6f Merge pull request #14269 from atom/mkt-upgrade-apm-to-use-async-keytar-with-libsecret
Update apm to use async keytar with libsecret
2017-04-30 08:35:46 -07:00
Antonio Scandurra
714d2bfe2c Merge pull request #14320 from atom/fb-hw-url-open
Unbreak URL handlers in Atom 1.17-beta
2017-04-28 20:53:38 +02:00
hansonw
b5eca7c429 Call PackageManager.initialize from URL handler 2017-04-28 13:22:23 -04:00
Michelle Tilley
241d758083 ⌨️ 2017-04-27 15:05:15 -07:00
Michelle Tilley
9a4234f49f Add libsecret to RedHat deps 2017-04-27 15:05:03 -07:00
Michelle Tilley
63920c2a78 🎨 2017-04-26 19:27:23 -07:00
Michelle Tilley
ca9054a4f8 👕 Fix linting errors 2017-04-26 16:01:43 -07:00
Michelle Tilley
dc6988c945 Reposition Tooltips when they mutate 2017-04-26 15:49:01 -07:00
Michelle Tilley
d56c1e292e Add Tooltip#recalculatePosition which resets the tooltip's position 2017-04-26 15:48:22 -07:00
Damien Guard
071ee3a060 Merge pull request #14287 from atom/dg-atom-win-from-wsl
Run Atom from Windows Subsystem for Linux
2017-04-25 14:51:47 -07:00
Antonio Scandurra
f4cfe7603f ⬆️ incompatible-packages 2017-04-25 17:34:14 +02:00
Michelle Tilley
dc8311d7c9 Merge pull request #14293 from atom/mkt-update-electron-1-3
Update Electron to 1.3.15
2017-04-24 20:01:09 -07:00
Michelle Tilley
81e5c15306 ⬆️ electron@1.3.15 2017-04-24 17:59:02 -07:00
Damien Guard
805d19cda8 Use uname-r instead to avoid msys2 incompatibility 2017-04-24 11:31:29 -07:00
Max Brunsfeld
f4a83b238d Merge pull request #14276 from atom/mb-fix-bundled-package-path-check
Fix bundled package path check to use path, not name
2017-04-21 11:13:41 -07:00
Max Brunsfeld
fb42ad36f0 Fix bundled package path check to use path, not name 2017-04-21 09:41:35 -07:00