Commit Graph

32753 Commits

Author SHA1 Message Date
Antonio Scandurra
ca183dd693 Don't insert IME preview on next tick if composition has already ended 2017-08-12 10:06:56 +02:00
Nathan Sobo
54a6f0d29f Clear hidden input compositionstart on Chrome 56
We use the value of the hidden input to display a preview of the
composition, but it might already contain spaces from previous
keystrokes, since we don't call preventDefault when spaces are inserted.
2017-08-11 15:57:46 -06:00
Nathan Sobo
8667cfdd13 Work around incorrect data on compositionupdate events in Chrome 56 2017-08-11 15:47:37 -06:00
Linus Eriksson
b14c4a32c9 ⬆️ bracket-matcher@0.87.3 2017-08-11 21:26:31 +02:00
Nathan Sobo
b0622d224e Merge pull request #15244 from atom/ns-rows-per-page
Shim rowsPerPage property on Editor instances
2017-08-11 10:48:44 -06:00
Antonio Scandurra
a7358477d9 Merge pull request #15240 from atom/as-manual-highlight-updates
Create, update and destroy highlights manually
2017-08-11 11:26:15 +02:00
Nathan Sobo
7f8f184e96 Shim rowsPerPage property on Editor instances
Several packages were relying on a raw property rather than the getter
method. This isn't really supported, but may as well keep them working.
2017-08-10 12:55:41 -06:00
Wliu
e2ee2ee79d Merge pull request #15224 from atom/wl-multiline-is-important
Set multiline flags for out-of-Atom regex replacements
2017-08-10 14:15:50 -04:00
Wliu
8963cf4955 Only use multiline if the flag is passed in 2017-08-10 13:24:46 -04:00
Antonio Scandurra
00d27befe8 Create, update and destroy highlights manually
Etch's reconciliation routine causes elements to be sometimes
re-ordered. In order to move an element, however, Etch needs to first
detach it from the DOM and then re-append it at the right location.

This behavior is unacceptable for highlight decorations because it could
re-start CSS animations on a certain highlight decoration when a
completely different one is added or removed.

Even though we are still interested in restructuring etch's
reconciliation logic to prevent unwanted re-orderings, with this commit
we are switching to a custom routine to create/update/remove highlight
decorations that prevents unnecessary moves and, as a result, fixes the
undesired behavior described above.
2017-08-10 17:48:34 +02:00
Jason Rudolph
3967de1be2 Merge pull request #15234 from atom/jr-bring-master-up-to-speed-with-1-20-releases
Bring master up to date with recent changes in 1.20-release branch
2017-08-10 11:41:53 -04:00
Damien Guard
9fb4f0d9cd Create shorter temp path for Squirrel 2017-08-10 08:47:17 -04:00
Wliu
95b216f234 Add multiline spec 2017-08-09 23:15:33 -04:00
Wliu
2fa2feacaf Multiline is important, don't forget to set it 2017-08-09 22:52:39 -04:00
Ash Wilson
e48b980d41 Merge pull request #15208 from atom/aw-appveyor-matrix
Separate tests and installer creation on AppVeyor
2017-08-09 16:45:12 -04:00
Wliu
4876ae07e1 Merge pull request #15214 from atom/wl-update-language-javascript
Update language-javascript
2017-08-09 14:00:42 -04:00
Ash Wilson
ee0df014bc Less variable magic 2017-08-09 13:15:34 -04:00
Ash Wilson
ee12c1c7d2 Why does my brain always edit out the second % 2017-08-09 13:10:26 -04:00
Ash Wilson
0db8c9c3ec Don't build on non-release installer rows either 2017-08-09 13:01:40 -04:00
Wliu
2088143a90 Fix specs 2017-08-09 12:43:35 -04:00
Ash Wilson
4acd52a978 Skip installer build on non-release branches 2017-08-09 12:18:07 -04:00
Wliu
fbd4b688dd ⬆️ language-javascript@0.127.2 2017-08-09 11:17:48 -04:00
Ash Wilson
3a9872e809 YAML syntax tweaks 2017-08-09 10:02:24 -04:00
Ash Wilson
2d186820cf The matrix will be slightly prettier this way <_< >_> 2017-08-09 09:28:37 -04:00
Ash Wilson
1233bbccb0 Missing % 2017-08-09 09:20:52 -04:00
Ash Wilson
a09b634e1b Separate tests and installer creation on AppVeyor 2017-08-09 09:18:41 -04:00
Wliu
2f4c2fd45e Merge pull request #15198 from mrnonz/master
Update document with electron version
2017-08-09 09:14:47 -04:00
Nontawat Numor
9fe67290c5 Update document with electron version 🍵 2017-08-09 12:16:19 +07:00
Wliu
98296bf950 ⬆️ language-java@0.27.3 2017-08-08 21:29:22 -04:00
Ash Wilson
1b22c59c0c Merge pull request #15191 from smashwilson/aw-upgrade-github
Update github to 0.4.2
2017-08-08 19:43:14 -04:00
Ash Wilson
35a7ae6d2e ⬆️ github 2017-08-08 17:36:23 -04:00
Ash Wilson
276fcb9e96 ⬆️ electron-link 2017-08-08 16:52:38 -04:00
Bryant Ung
87edc89815 Merge pull request #15186 from atom/b3-caps-lock-issues
Upgrade atom-keymap to fix caps lock issues on Windows
2017-08-08 13:43:24 -07:00
Ash Wilson
ff608ab524 ⬆️ github 2017-08-08 15:32:24 -04:00
Ash Wilson
20fa0714b3 Revert "⬆️ github"
This reverts commit 2bb7746d3e.
2017-08-08 15:31:39 -04:00
Ash Wilson
2bb7746d3e ⬆️ github 2017-08-08 14:42:41 -04:00
Ash Wilson
fb0e29cf07 Merge pull request #14853 from atom/aw-filewatcher
Filesystem watcher API
2017-08-08 14:04:39 -04:00
Damien Guard
4c4e5fa3a1 Reliability of Windows Installer process on appveyor.yml 2017-08-08 10:37:55 -07:00
Ash Wilson
d920d20c2f :burn: diagnostic code 2017-08-08 12:42:01 -04:00
bene
7b70b177fa ⬆️ atom-keymap@8.2.3 2017-08-07 22:05:12 +02:00
Jason Rudolph
c850f38fee Merge pull request #15183 from atom/jr-is-there-anything-a-middle-click-CANT-do
Fix regression re: closing tabs via middle mouse click on Linux
2017-08-07 13:24:14 -04:00
Ian Olsen
6fb6ac70a2 1.21.0-dev 2017-08-07 10:21:20 -07:00
Jason Rudolph
3dc2e61990 Add comment explaining motivation for didPaste implemenation 2017-08-07 12:43:13 -04:00
Jason Rudolph
b9ace6a5b6 🎨 2017-08-07 12:31:04 -04:00
Jason Rudolph
47420761f5 Add basic test for TextEditorComponent::didPaste(event) 2017-08-07 11:32:57 -04:00
Ash Wilson
fc7ecb76d1 :burn: double word 2017-08-07 11:13:03 -04:00
Jason Rudolph
c7bfbc181c 🐛 Fix atom/tabs#461
On Linux, when the user performs a middle-button mouse click, Chromium
fires both a mouse-down event *and* a paste event. This commit teaches
the TextEditorComponent to ignore the paste event.

When the user performs a middle-mouse click on a tab, we get close the
tab and attempt to prevent Chromium's default processing for the event.
[1] This prevents Chromium's default processing for the *mouse down*
event, but then Chromium also fires a *paste* event, and that event
pastes the clipboard's current content into the newly-focused text
editor. 🙀

Since Atom already has its own logic for handling pasting, we
shouldn't (🤞) need to handle browser paste events. By ignoring the
browser paste events on Linux, we fix atom/tabs#461.

[1]
ce1d92e0ab/lib/tab-bar-view.coffee (L416-L418)
2017-08-07 10:19:08 -04:00
Ash Wilson
f270402c6b s/type/action/, s/changed/modified/, s/added/created/ 2017-08-07 10:04:00 -04:00
Ash Wilson
f623b03157 Documentation touchups 2017-08-07 10:04:00 -04:00
Wliu
f9cb81adc8 Merge pull request #15179 from Kreozot/patch-1
Fixed links in keymap.cson
2017-08-07 09:20:52 -04:00